ordermgr error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
33 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: startofbiz.bat error

Jacopo Cappellato
Hi Kurtis,

what version of jdk are you using?

Jacopo

kurtis shipp wrote:

> did "ant clean" without error but "ant" gave the following and l guess something is missing somewhere:
>    
>    
>    classes:
>     [javac] Compiling 52 source files to C:\ofbiz\specialpurpose\pos\build\class
> es
>    [subant] Failure for target 'null' of: C:\ofbiz\specialpurpose\build.xml
>    [subant] The following error occurred while executing this line:
>    [subant] C:\ofbiz\specialpurpose\build.xml:63: The following error occurred w
> hile executing this line:
>    [subant] C:\ofbiz\specialpurpose\pos\build.xml:91: C:\ofbiz\applications\orde
> r\build\lib not found.
>    [subant] No sub-builds to iterate on
>      [echo] [build] ========== Done Building (Compile) ==========
>   BUILD SUCCESSFUL
>    
>  
> Thanks.
>    
>    
>  
> Scott Gray <[hidden email]> wrote:
>   How did the ant run-install go? Any errors/exceptions? Same as last time
> just run "ant clean" and "ant" and keep an eye out for problems.
>
> Regards
> Scott
>
> On 11/07/07, Adrian Crum wrote:
>> Kurtis,
>>
>> That's odd. It appears some of the classes are missing. Maybe try running
>> ant build on the main
>> build.xml file.
>>
>> -Adrian
>>
>> kurtis shipp wrote:
>>
>>> ok,I ignored the error and tried to access http://localhost:8080/catalogand found the following error
>>>
>>>
>>> :ERROR MESSAGE:
>>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://product/widget/catalog/CommonScreens.xml#main]:
>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://product/widget/catalog/CatalogCommonScreens.xml#main-decorator]:
>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://common/widget/CommonScreens.xml#GlobalDecorator]:
>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://product/widget/catalog/CommonScreens.xml#leftbar]:
>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://product/widget/catalog/CommonScreens.xml#sidedeepcategory]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at location
>> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at
>> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
>> line [42]: Sourced file:
>>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker : at Line: 42 : in file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : CategoryWorker .getCatalogTopCategory ( request , defaultTopCategoryId )
>>> (Sourced file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker) (Error running BSH script at
>> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
>> line [42]: Sourced file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker : at Line: 42 : in file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : CategoryWorker .getCatalogTopCategory ( request , defaultTopCategoryId )
>>> (Sourced file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker)) (Error running BSH script at location
>> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at
>> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
>> line [42]: Sourced file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker : at Line: 42 : in file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : CategoryWorker .getCatalogTopCategory ( request , defaultTopCategoryId )
>>> (Sourced file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker) (Error running BSH script at
>> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
>> line [42]: Sourced file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker : at Line: 42 : in file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : CategoryWorker .getCatalogTopCategory ( request , defaultTopCategoryId
>>>
>>>
>>>
>>>
>>> Also got the following error for http://localhost:8080/ordermgr
>>>
>>> :ERROR MESSAGE:
>>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://order/widget/ordermgr/OrderViewScreens.xml#OrderHeaderListView]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at location
>> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at
>> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
>> line [34]: Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState : at Line: 34 : in file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> OrderListState .getInstance ( request )
>>> (Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState) (Error running BSH script at
>> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
>> line [34]: Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState : at Line: 34 : in file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> OrderListState .getInstance ( request )
>>> (Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState)) (Error running BSH script at location
>> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at
>> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
>> line [34]: Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState : at Line: 34 : in file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> OrderListState .getInstance ( request )
>>> (Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState) (Error running BSH script at
>> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
>> line [34]: Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState : at Line: 34 : in file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> OrderListState .getInstance ( request )
>>> (Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState)))
>>>
>>>
>>>
>>>
>>>
>>> help is highly anticipated....
>>>
>>>
>>>
>>>
>>>
>>> Adrian Crum wrote:
>>> Kurtis,
>>>
>>> That error message has been popping up lately. The development team is
>> working on it. You can safely
>>> ignore that message.
>>>
>>> -Adrian
>>>
>>>
>>> kurtis shipp wrote:
>>>
>>>
>>>> Scott thanks so much for the patience and support,l got the download
>> right,also my regards to Jacopo.
>>>> After the "ant" and "ant-install",l tried starting ofbiz from the
>> console but l got the following error:
>>>> C:\ofbiz>startofbiz
>>>> C:\ofbiz>ECHO OFF
>>>> C:\ofbiz>"C:\Java\jdk1.5.0\bin\java" -Xms256M -Xmx512M -
>> Duser.language=en -jar ofbiz.jar 1>runtime\
>>>> logs\console.log
>>>> Exception in thread "Dispatcher-Thread-1" java.lang.NullPointerException
>>>> at java.lang.String.lastIndexOf(String.java:1654)
>>>> at java.lang.String.lastIndexOf(String.java:1636)
>>>> at org.apache.log4j.spi.LocationInfo.(LocationInfo.java:119)
>>>> at org.apache.log4j.spi.LoggingEvent.getLocationInformation(
>> LoggingEvent.java:191)
>>>> at
>> org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert(
>> PatternParser.jav
>>>> a:483)
>>>> at org.apache.log4j.helpers.PatternConverter.format(
>> PatternConverter.java:64)
>>>> at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
>>>> at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
>>>> at org.apache.log4j.RollingFileAppender.subAppend(
>> RollingFileAppender.java:236)
>>>> at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
>>>> at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
>>>> at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders
>> (AppenderAttachableI
>>>> mpl.java:65)
>>>> at org.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java:578)
>>>> at java.lang.Thread.run(Thread.java:595)
>>>>
>>>> suggestions on solution are welcomed
>>>>
>>>> thanks.
>>>>
>>>>
>>>>
>>>>
>>>> Scott Gray wrote:
>>>> Just open up a console window (Start > Run > cmd), goto wherever you
>> want
>>>> the ofbiz folder to install (C:\ is usually good enough)
>>>> and run the following command:
>>>> svn co http://svn.apache.org/repos/asf/ofbiz/branches/release4.0
>> ofbiz4.0
>>>> that will checkout ofbiz into a folder called ofbiz4.0
>>>>
>>>> Regards
>>>> Scott
>>>>
>>>> On 10/07/07, kurtis shipp wrote:
>>>>
>>>>
>>>>> hello scott,went to that site as directed.I downloaded subversion
>> client
>>>>> and really dunno how to use it to download from
>>>>> http://svn.apache.org/repos/asf/ofbiz/branches/release4.0 ofbiz4.0
>>>>>
>>>>> how do I get the download?am using a windows XP Operating System.
>>>>>
>>>>> thanks in anticipation.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Hi Kurtis
>>>>>
>>>>> Your best bet would be to checkout from the 4.0 release branch using
>> svn:
>>>>> svn co http://svn.apache.org/repos/asf/ofbiz/branches/release4.0
>> ofbiz4.0
>>>>> Regards
>>>>> Scott
>>>>>
>>>>> On 10/07/07, kurtis shipp wrote:
>>>>>
>>>>>
>>>>>> ok, thanks scott and Jacopo.
>>>>>>
>>>>>> Where can l download OFBIZ 3.0?
>>>>>>
>>>>>> thanks in anticipation.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Scott Gray wrote:
>>>>>> Yeah Jacopo's right, that's opentaps specific code.
>>>>>>
>>>>>> Regards
>>>>>> Scott
>>>>>>
>>>>>> On 10/07/07, Jacopo Cappellato wrote:
>>>>>>
>>>>>>
>>>>>>> Hi Kurtis,
>>>>>>>
>>>>>>> I'd suggest to post this log to the Opentaps forums
>>>>>>>
>>>>>>> Jacopo
>>>>>>>
>>>>>>> kurtis shipp wrote:
>>>>>>>
>>>>>>>
>>>>>>>> hello scott,thanks for the insight,I did "ant" build and extracted
>>>>> the
>>>>>
>>>>>
>>>>>>> following error:
>>>>>>>
>>>>>>>
>>>>>>>> classpath:
>>>>>>>> classes:
>>>>>>>> [javac] Compiling 2 source files to C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.
>>>>>>>
>>>>>>>
>>>>>>>> 0\hot-deploy\catalogexport\build\classes
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:18:
>>>>>
>>>>>
>>>>>>> package or
>>>>>>>
>>>>>>>
>>>>>>>> g.ofbiz.product.catalog does not exist
>>>>>>>> [javac] import org.ofbiz.product.catalog.CatalogWorker;
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:19:
>>>>>
>>>>>
>>>>>>> package or
>>>>>>>
>>>>>>>
>>>>>>>> g.ofbiz.product.product does not exist
>>>>>>>> [javac] import org.ofbiz.product.product.ProductContentWrapper;
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:20:
>>>>>
>>>>>
>>>>>>> package or
>>>>>>>
>>>>>>>
>>>>>>>> g.ofbiz.product.category does not exist
>>>>>>>> [javac] import org.ofbiz.product.category.CategoryContentWrapper;
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:77:
>>>>>
>>>>>
>>>>>>> cannot fin
>>>>>>>
>>>>>>>
>>>>>>>> d symbol
>>>>>>>> [javac] symbol : variable CatalogWorker
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] List prodCatalogCategories =
>>>>>>> CatalogWorker.getProdCatalogCat
>>>>>>>
>>>>>>>
>>>>>>>> egories(delegator, catalogId, "PCCT_BROWSE_ROOT");
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:120:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class CategoryContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
>>>>>>> CategoryCont
>>>>>>>
>>>>>>>
>>>>>>>> entWrapper(dispatcher, category, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:120:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class CategoryContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
>>>>>>> CategoryCont
>>>>>>>
>>>>>>>
>>>>>>>> entWrapper(dispatcher, category, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:157:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class CategoryContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
>>>>>>> CategoryContentW
>>>>>>>
>>>>>>>
>>>>>>>> rapper(dispatcher, category, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:157:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class CategoryContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
>>>>>>> CategoryContentW
>>>>>>>
>>>>>>>
>>>>>>>> rapper(dispatcher, category, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:180:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class CategoryContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
>>>>>>> CategoryContentW
>>>>>>>
>>>>>>>
>>>>>>>> rapper(dispatcher, category, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:180:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class CategoryContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
>>>>>>> CategoryContentW
>>>>>>>
>>>>>>>
>>>>>>>> rapper(dispatcher, category, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:222:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class ProductContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] ProductContentWrapper contentWrapper = new
>>>>>>> ProductConten
>>>>>>>
>>>>>>>
>>>>>>>> tWrapper(dispatcher, product, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:222:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class ProductContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] ProductContentWrapper contentWrapper = new
>>>>>>> ProductConten
>>>>>>>
>>>>>>>
>>>>>>>> tWrapper(dispatcher, product, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:314:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : variable CatalogWorker
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] List storeCatalogs = CatalogWorker.getStoreCatalogs
>>>>>>> (delegato
>>>>>>>
>>>>>>>
>>>>>>>> r, productStoreId);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:332:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class ProductContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] ProductContentWrapper contentWrapper = new
>>>>>>> ProductContentWra
>>>>>>>
>>>>>>>
>>>>>>>> pper(dispatcher, product, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:332:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class ProductContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] ProductContentWrapper contentWrapper = new
>>>>>>> ProductContentWra
>>>>>>>
>>>>>>>
>>>>>>>> pper(dispatcher, product, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:381:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class ProductContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] ProductContentWrapper contentWrapper = new
>>>>>>> ProductContentWra
>>>>>>>
>>>>>>>
>>>>>>>> pper(dispatcher, product, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:381:
>
> === message truncated ===
>
>        
> ---------------------------------
> Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.


Reply | Threaded
Open this post in threaded view
|

Re: startofbiz.bat error:resolved-Thanks

kurtis shipp
I think the problem was with the version of the jdk(I was using 1.5 before),I changed it to jdk1.4.Everything is now working perfectly.
   
  thanks all for the help rendered.
   
   
  Thanks.
   
 

Jacopo Cappellato <[hidden email]> wrote:
  Hi Kurtis,

what version of jdk are you using?

Jacopo

kurtis shipp wrote:

> did "ant clean" without error but "ant" gave the following and l guess something is missing somewhere:
>
>
> classes:
> [javac] Compiling 52 source files to C:\ofbiz\specialpurpose\pos\build\class
> es
> [subant] Failure for target 'null' of: C:\ofbiz\specialpurpose\build.xml
> [subant] The following error occurred while executing this line:
> [subant] C:\ofbiz\specialpurpose\build.xml:63: The following error occurred w
> hile executing this line:
> [subant] C:\ofbiz\specialpurpose\pos\build.xml:91: C:\ofbiz\applications\orde
> r\build\lib not found.
> [subant] No sub-builds to iterate on
> [echo] [build] ========== Done Building (Compile) ==========
> BUILD SUCCESSFUL
>
>
> Thanks.
>
>
>
> Scott Gray wrote:
> How did the ant run-install go? Any errors/exceptions? Same as last time
> just run "ant clean" and "ant" and keep an eye out for problems.
>
> Regards
> Scott
>
> On 11/07/07, Adrian Crum wrote:
>> Kurtis,
>>
>> That's odd. It appears some of the classes are missing. Maybe try running
>> ant build on the main
>> build.xml file.
>>
>> -Adrian
>>
>> kurtis shipp wrote:
>>
>>> ok,I ignored the error and tried to access http://localhost:8080/catalogand found the following error
>>>
>>>
>>> :ERROR MESSAGE:
>>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://product/widget/catalog/CommonScreens.xml#main]:
>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://product/widget/catalog/CatalogCommonScreens.xml#main-decorator]:
>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://common/widget/CommonScreens.xml#GlobalDecorator]:
>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://product/widget/catalog/CommonScreens.xml#leftbar]:
>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://product/widget/catalog/CommonScreens.xml#sidedeepcategory]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at location
>> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at
>> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
>> line [42]: Sourced file:
>>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker : at Line: 42 : in file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : CategoryWorker .getCatalogTopCategory ( request , defaultTopCategoryId )
>>> (Sourced file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker) (Error running BSH script at
>> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
>> line [42]: Sourced file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker : at Line: 42 : in file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : CategoryWorker .getCatalogTopCategory ( request , defaultTopCategoryId )
>>> (Sourced file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker)) (Error running BSH script at location
>> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at
>> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
>> line [42]: Sourced file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker : at Line: 42 : in file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : CategoryWorker .getCatalogTopCategory ( request , defaultTopCategoryId )
>>> (Sourced file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker) (Error running BSH script at
>> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
>> line [42]: Sourced file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : Attempt to resolve method: getCatalogTopCategory() on undefined variable
>> or class name: CategoryWorker : at Line: 42 : in file:
>> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>> : CategoryWorker .getCatalogTopCategory ( request , defaultTopCategoryId
>>>
>>>
>>>
>>>
>>> Also got the following error for http://localhost:8080/ordermgr
>>>
>>> :ERROR MESSAGE:
>>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://order/widget/ordermgr/OrderViewScreens.xml#OrderHeaderListView]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at location
>> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at
>> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
>> line [34]: Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState : at Line: 34 : in file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> OrderListState .getInstance ( request )
>>> (Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState) (Error running BSH script at
>> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
>> line [34]: Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState : at Line: 34 : in file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> OrderListState .getInstance ( request )
>>> (Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState)) (Error running BSH script at location
>> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at
>> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
>> line [34]: Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState : at Line: 34 : in file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> OrderListState .getInstance ( request )
>>> (Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState) (Error running BSH script at
>> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
>> line [34]: Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState : at Line: 34 : in file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> OrderListState .getInstance ( request )
>>> (Sourced file:
>> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>> Attempt to resolve method: getInstance() on undefined variable or class
>> name: OrderListState)))
>>>
>>>
>>>
>>>
>>>
>>> help is highly anticipated....
>>>
>>>
>>>
>>>
>>>
>>> Adrian Crum wrote:
>>> Kurtis,
>>>
>>> That error message has been popping up lately. The development team is
>> working on it. You can safely
>>> ignore that message.
>>>
>>> -Adrian
>>>
>>>
>>> kurtis shipp wrote:
>>>
>>>
>>>> Scott thanks so much for the patience and support,l got the download
>> right,also my regards to Jacopo.
>>>> After the "ant" and "ant-install",l tried starting ofbiz from the
>> console but l got the following error:
>>>> C:\ofbiz>startofbiz
>>>> C:\ofbiz>ECHO OFF
>>>> C:\ofbiz>"C:\Java\jdk1.5.0\bin\java" -Xms256M -Xmx512M -
>> Duser.language=en -jar ofbiz.jar 1>runtime\
>>>> logs\console.log
>>>> Exception in thread "Dispatcher-Thread-1" java.lang.NullPointerException
>>>> at java.lang.String.lastIndexOf(String.java:1654)
>>>> at java.lang.String.lastIndexOf(String.java:1636)
>>>> at org.apache.log4j.spi.LocationInfo.(LocationInfo.java:119)
>>>> at org.apache.log4j.spi.LoggingEvent.getLocationInformation(
>> LoggingEvent.java:191)
>>>> at
>> org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert(
>> PatternParser.jav
>>>> a:483)
>>>> at org.apache.log4j.helpers.PatternConverter.format(
>> PatternConverter.java:64)
>>>> at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
>>>> at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
>>>> at org.apache.log4j.RollingFileAppender.subAppend(
>> RollingFileAppender.java:236)
>>>> at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
>>>> at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
>>>> at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders
>> (AppenderAttachableI
>>>> mpl.java:65)
>>>> at org.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java:578)
>>>> at java.lang.Thread.run(Thread.java:595)
>>>>
>>>> suggestions on solution are welcomed
>>>>
>>>> thanks.
>>>>
>>>>
>>>>
>>>>
>>>> Scott Gray wrote:
>>>> Just open up a console window (Start > Run > cmd), goto wherever you
>> want
>>>> the ofbiz folder to install (C:\ is usually good enough)
>>>> and run the following command:
>>>> svn co http://svn.apache.org/repos/asf/ofbiz/branches/release4.0
>> ofbiz4.0
>>>> that will checkout ofbiz into a folder called ofbiz4.0
>>>>
>>>> Regards
>>>> Scott
>>>>
>>>> On 10/07/07, kurtis shipp wrote:
>>>>
>>>>
>>>>> hello scott,went to that site as directed.I downloaded subversion
>> client
>>>>> and really dunno how to use it to download from
>>>>> http://svn.apache.org/repos/asf/ofbiz/branches/release4.0 ofbiz4.0
>>>>>
>>>>> how do I get the download?am using a windows XP Operating System.
>>>>>
>>>>> thanks in anticipation.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Hi Kurtis
>>>>>
>>>>> Your best bet would be to checkout from the 4.0 release branch using
>> svn:
>>>>> svn co http://svn.apache.org/repos/asf/ofbiz/branches/release4.0
>> ofbiz4.0
>>>>> Regards
>>>>> Scott
>>>>>
>>>>> On 10/07/07, kurtis shipp wrote:
>>>>>
>>>>>
>>>>>> ok, thanks scott and Jacopo.
>>>>>>
>>>>>> Where can l download OFBIZ 3.0?
>>>>>>
>>>>>> thanks in anticipation.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Scott Gray wrote:
>>>>>> Yeah Jacopo's right, that's opentaps specific code.
>>>>>>
>>>>>> Regards
>>>>>> Scott
>>>>>>
>>>>>> On 10/07/07, Jacopo Cappellato wrote:
>>>>>>
>>>>>>
>>>>>>> Hi Kurtis,
>>>>>>>
>>>>>>> I'd suggest to post this log to the Opentaps forums
>>>>>>>
>>>>>>> Jacopo
>>>>>>>
>>>>>>> kurtis shipp wrote:
>>>>>>>
>>>>>>>
>>>>>>>> hello scott,thanks for the insight,I did "ant" build and extracted
>>>>> the
>>>>>
>>>>>
>>>>>>> following error:
>>>>>>>
>>>>>>>
>>>>>>>> classpath:
>>>>>>>> classes:
>>>>>>>> [javac] Compiling 2 source files to C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.
>>>>>>>
>>>>>>>
>>>>>>>> 0\hot-deploy\catalogexport\build\classes
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:18:
>>>>>
>>>>>
>>>>>>> package or
>>>>>>>
>>>>>>>
>>>>>>>> g.ofbiz.product.catalog does not exist
>>>>>>>> [javac] import org.ofbiz.product.catalog.CatalogWorker;
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:19:
>>>>>
>>>>>
>>>>>>> package or
>>>>>>>
>>>>>>>
>>>>>>>> g.ofbiz.product.product does not exist
>>>>>>>> [javac] import org.ofbiz.product.product.ProductContentWrapper;
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:20:
>>>>>
>>>>>
>>>>>>> package or
>>>>>>>
>>>>>>>
>>>>>>>> g.ofbiz.product.category does not exist
>>>>>>>> [javac] import org.ofbiz.product.category.CategoryContentWrapper;
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:77:
>>>>>
>>>>>
>>>>>>> cannot fin
>>>>>>>
>>>>>>>
>>>>>>>> d symbol
>>>>>>>> [javac] symbol : variable CatalogWorker
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] List prodCatalogCategories =
>>>>>>> CatalogWorker.getProdCatalogCat
>>>>>>>
>>>>>>>
>>>>>>>> egories(delegator, catalogId, "PCCT_BROWSE_ROOT");
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:120:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class CategoryContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
>>>>>>> CategoryCont
>>>>>>>
>>>>>>>
>>>>>>>> entWrapper(dispatcher, category, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:120:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class CategoryContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
>>>>>>> CategoryCont
>>>>>>>
>>>>>>>
>>>>>>>> entWrapper(dispatcher, category, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:157:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class CategoryContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
>>>>>>> CategoryContentW
>>>>>>>
>>>>>>>
>>>>>>>> rapper(dispatcher, category, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:157:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class CategoryContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
>>>>>>> CategoryContentW
>>>>>>>
>>>>>>>
>>>>>>>> rapper(dispatcher, category, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:180:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class CategoryContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
>>>>>>> CategoryContentW
>>>>>>>
>>>>>>>
>>>>>>>> rapper(dispatcher, category, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:180:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class CategoryContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
>>>>>>> CategoryContentW
>>>>>>>
>>>>>>>
>>>>>>>> rapper(dispatcher, category, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:222:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class ProductContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] ProductContentWrapper contentWrapper = new
>>>>>>> ProductConten
>>>>>>>
>>>>>>>
>>>>>>>> tWrapper(dispatcher, product, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:222:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class ProductContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] ProductContentWrapper contentWrapper = new
>>>>>>> ProductConten
>>>>>>>
>>>>>>>
>>>>>>>> tWrapper(dispatcher, product, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:314:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : variable CatalogWorker
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] List storeCatalogs = CatalogWorker.getStoreCatalogs
>>>>>>> (delegato
>>>>>>>
>>>>>>>
>>>>>>>> r, productStoreId);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:332:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class ProductContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] ProductContentWrapper contentWrapper = new
>>>>>>> ProductContentWra
>>>>>>>
>>>>>>>
>>>>>>>> pper(dispatcher, product, userLocale, null);
>>>>>>>> [javac] ^
>>>>>>>> [javac] C:\opentaps-
>>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>
>>>>> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:332:
>>>>>
>>>>>
>>>>>>> cannot fi
>>>>>>>
>>>>>>>
>>>>>>>> nd symbol
>>>>>>>> [javac] symbol : class ProductContentWrapper
>>>>>>>> [javac] location: class
>>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>
>>>>>>>
>>>>>>>> vices
>>>>>>>> [javac] ProductContentWrapper contentWrapper = new
>>>>>>> ProductContentWra
>>>>>>>
>>>>>>>
>>>>>>>> pper(dispatcher, product, userLocale, null);
>>>>>>>> [javac] ^

=== message truncated ===

       
---------------------------------
Got a little couch potato?
Check out fun summer activities for kids.
Reply | Threaded
Open this post in threaded view
|

Re: startofbiz.bat error:resolved-Thanks

Scott Gray
Thats strange you shouldn't normally have any problems running on 1.5, but
anyway glad you got it up and running.

Regards
Scott

On 12/07/07, kurtis shipp <[hidden email]> wrote:

>
> I think the problem was with the version of the jdk(I was using 1.5before),I changed it to
> jdk1.4.Everything is now working perfectly.
>
>   thanks all for the help rendered.
>
>
>   Thanks.
>
>
>
> Jacopo Cappellato <[hidden email]> wrote:
>   Hi Kurtis,
>
> what version of jdk are you using?
>
> Jacopo
>
> kurtis shipp wrote:
> > did "ant clean" without error but "ant" gave the following and l guess
> something is missing somewhere:
> >
> >
> > classes:
> > [javac] Compiling 52 source files to
> C:\ofbiz\specialpurpose\pos\build\class
> > es
> > [subant] Failure for target 'null' of: C:\ofbiz\specialpurpose\build.xml
> > [subant] The following error occurred while executing this line:
> > [subant] C:\ofbiz\specialpurpose\build.xml:63: The following error
> occurred w
> > hile executing this line:
> > [subant] C:\ofbiz\specialpurpose\pos\build.xml:91:
> C:\ofbiz\applications\orde
> > r\build\lib not found.
> > [subant] No sub-builds to iterate on
> > [echo] [build] ========== Done Building (Compile) ==========
> > BUILD SUCCESSFUL
> >
> >
> > Thanks.
> >
> >
> >
> > Scott Gray wrote:
> > How did the ant run-install go? Any errors/exceptions? Same as last time
> > just run "ant clean" and "ant" and keep an eye out for problems.
> >
> > Regards
> > Scott
> >
> > On 11/07/07, Adrian Crum wrote:
> >> Kurtis,
> >>
> >> That's odd. It appears some of the classes are missing. Maybe try
> running
> >> ant build on the main
> >> build.xml file.
> >>
> >> -Adrian
> >>
> >> kurtis shipp wrote:
> >>
> >>> ok,I ignored the error and tried to access
> http://localhost:8080/catalogand found the following error
> >>>
> >>>
> >>> :ERROR MESSAGE:
> >>> org.ofbiz.base.util.GeneralException: Error rendering screen
> >> [component://product/widget/catalog/CommonScreens.xml#main]:
> >> org.ofbiz.base.util.GeneralException: Error rendering screen
> >>
> [component://product/widget/catalog/CatalogCommonScreens.xml#main-decorator]:
> >> org.ofbiz.base.util.GeneralException: Error rendering screen
> >> [component://common/widget/CommonScreens.xml#GlobalDecorator]:
> >> org.ofbiz.base.util.GeneralException: Error rendering screen
> >> [component://product/widget/catalog/CommonScreens.xml#leftbar]:
> >> org.ofbiz.base.util.GeneralException: Error rendering screen
> >>
> [component://product/widget/catalog/CommonScreens.xml#sidedeepcategory]:
> >> org.ofbiz.base.util.GeneralException: Error running BSH script at
> location
> >>
> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh]:
> >> org.ofbiz.base.util.GeneralException: Error running BSH script at
> >>
> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
> >> line [42]: Sourced file:
> >>>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker : at Line: 42 : in file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : CategoryWorker .getCatalogTopCategory ( request ,
> defaultTopCategoryId )
> >>> (Sourced file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker) (Error running BSH script at
> >>
> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
> >> line [42]: Sourced file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker : at Line: 42 : in file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : CategoryWorker .getCatalogTopCategory ( request ,
> defaultTopCategoryId )
> >>> (Sourced file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker)) (Error running BSH script at location
> >>
> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh]:
> >> org.ofbiz.base.util.GeneralException: Error running BSH script at
> >>
> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
> >> line [42]: Sourced file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker : at Line: 42 : in file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : CategoryWorker .getCatalogTopCategory ( request ,
> defaultTopCategoryId )
> >>> (Sourced file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker) (Error running BSH script at
> >>
> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
> >> line [42]: Sourced file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker : at Line: 42 : in file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : CategoryWorker .getCatalogTopCategory ( request ,
> defaultTopCategoryId
> >>>
> >>>
> >>>
> >>>
> >>> Also got the following error for http://localhost:8080/ordermgr
> >>>
> >>> :ERROR MESSAGE:
> >>> org.ofbiz.base.util.GeneralException: Error rendering screen
> >>
> [component://order/widget/ordermgr/OrderViewScreens.xml#OrderHeaderListView]:
> >> org.ofbiz.base.util.GeneralException: Error running BSH script at
> location
> >>
> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh]:
> >> org.ofbiz.base.util.GeneralException: Error running BSH script at
> >>
> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
> >> line [34]: Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState : at Line: 34 : in file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> OrderListState .getInstance ( request )
> >>> (Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState) (Error running BSH script at
> >>
> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
> >> line [34]: Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState : at Line: 34 : in file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> OrderListState .getInstance ( request )
> >>> (Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState)) (Error running BSH script at location
> >>
> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh]:
> >> org.ofbiz.base.util.GeneralException: Error running BSH script at
> >>
> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
> >> line [34]: Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState : at Line: 34 : in file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> OrderListState .getInstance ( request )
> >>> (Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState) (Error running BSH script at
> >>
> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
> >> line [34]: Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState : at Line: 34 : in file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> OrderListState .getInstance ( request )
> >>> (Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState)))
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> help is highly anticipated....
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Adrian Crum wrote:
> >>> Kurtis,
> >>>
> >>> That error message has been popping up lately. The development team is
> >> working on it. You can safely
> >>> ignore that message.
> >>>
> >>> -Adrian
> >>>
> >>>
> >>> kurtis shipp wrote:
> >>>
> >>>
> >>>> Scott thanks so much for the patience and support,l got the download
> >> right,also my regards to Jacopo.
> >>>> After the "ant" and "ant-install",l tried starting ofbiz from the
> >> console but l got the following error:
> >>>> C:\ofbiz>startofbiz
> >>>> C:\ofbiz>ECHO OFF
> >>>> C:\ofbiz>"C:\Java\jdk1.5.0\bin\java" -Xms256M -Xmx512M -
> >> Duser.language=en -jar ofbiz.jar 1>runtime\
> >>>> logs\console.log
> >>>> Exception in thread "Dispatcher-Thread-1"
> java.lang.NullPointerException
> >>>> at java.lang.String.lastIndexOf(String.java:1654)
> >>>> at java.lang.String.lastIndexOf(String.java:1636)
> >>>> at org.apache.log4j.spi.LocationInfo.(LocationInfo.java:119)
> >>>> at org.apache.log4j.spi.LoggingEvent.getLocationInformation(
> >> LoggingEvent.java:191)
> >>>> at
> >> org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert
> (
> >> PatternParser.jav
> >>>> a:483)
> >>>> at org.apache.log4j.helpers.PatternConverter.format(
> >> PatternConverter.java:64)
> >>>> at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
> >>>> at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
> >>>> at org.apache.log4j.RollingFileAppender.subAppend(
> >> RollingFileAppender.java:236)
> >>>> at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
> >>>> at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java
> :230)
> >>>> at
> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders
> >> (AppenderAttachableI
> >>>> mpl.java:65)
> >>>> at org.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java
> :578)
> >>>> at java.lang.Thread.run(Thread.java:595)
> >>>>
> >>>> suggestions on solution are welcomed
> >>>>
> >>>> thanks.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> Scott Gray wrote:
> >>>> Just open up a console window (Start > Run > cmd), goto wherever you
> >> want
> >>>> the ofbiz folder to install (C:\ is usually good enough)
> >>>> and run the following command:
> >>>> svn co http://svn.apache.org/repos/asf/ofbiz/branches/release4.0
> >> ofbiz4.0
> >>>> that will checkout ofbiz into a folder called ofbiz4.0
> >>>>
> >>>> Regards
> >>>> Scott
> >>>>
> >>>> On 10/07/07, kurtis shipp wrote:
> >>>>
> >>>>
> >>>>> hello scott,went to that site as directed.I downloaded subversion
> >> client
> >>>>> and really dunno how to use it to download from
> >>>>> http://svn.apache.org/repos/asf/ofbiz/branches/release4.0 ofbiz4.0
> >>>>>
> >>>>> how do I get the download?am using a windows XP Operating System.
> >>>>>
> >>>>> thanks in anticipation.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> Hi Kurtis
> >>>>>
> >>>>> Your best bet would be to checkout from the 4.0 release branch using
> >> svn:
> >>>>> svn co http://svn.apache.org/repos/asf/ofbiz/branches/release4.0
> >> ofbiz4.0
> >>>>> Regards
> >>>>> Scott
> >>>>>
> >>>>> On 10/07/07, kurtis shipp wrote:
> >>>>>
> >>>>>
> >>>>>> ok, thanks scott and Jacopo.
> >>>>>>
> >>>>>> Where can l download OFBIZ 3.0?
> >>>>>>
> >>>>>> thanks in anticipation.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Scott Gray wrote:
> >>>>>> Yeah Jacopo's right, that's opentaps specific code.
> >>>>>>
> >>>>>> Regards
> >>>>>> Scott
> >>>>>>
> >>>>>> On 10/07/07, Jacopo Cappellato wrote:
> >>>>>>
> >>>>>>
> >>>>>>> Hi Kurtis,
> >>>>>>>
> >>>>>>> I'd suggest to post this log to the Opentaps forums
> >>>>>>>
> >>>>>>> Jacopo
> >>>>>>>
> >>>>>>> kurtis shipp wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>> hello scott,thanks for the insight,I did "ant" build and
> extracted
> >>>>> the
> >>>>>
> >>>>>
> >>>>>>> following error:
> >>>>>>>
> >>>>>>>
> >>>>>>>> classpath:
> >>>>>>>> classes:
> >>>>>>>> [javac] Compiling 2 source files to C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.
> >>>>>>>
> >>>>>>>
> >>>>>>>> 0\hot-deploy\catalogexport\build\classes
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:18:
> >>>>>
> >>>>>
> >>>>>>> package or
> >>>>>>>
> >>>>>>>
> >>>>>>>> g.ofbiz.product.catalog does not exist
> >>>>>>>> [javac] import org.ofbiz.product.catalog.CatalogWorker;
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:19:
> >>>>>
> >>>>>
> >>>>>>> package or
> >>>>>>>
> >>>>>>>
> >>>>>>>> g.ofbiz.product.product does not exist
> >>>>>>>> [javac] import org.ofbiz.product.product.ProductContentWrapper;
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:20:
> >>>>>
> >>>>>
> >>>>>>> package or
> >>>>>>>
> >>>>>>>
> >>>>>>>> g.ofbiz.product.category does not exist
> >>>>>>>> [javac] import org.ofbiz.product.category.CategoryContentWrapper;
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:77:
> >>>>>
> >>>>>
> >>>>>>> cannot fin
> >>>>>>>
> >>>>>>>
> >>>>>>>> d symbol
> >>>>>>>> [javac] symbol : variable CatalogWorker
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] List prodCatalogCategories =
> >>>>>>> CatalogWorker.getProdCatalogCat
> >>>>>>>
> >>>>>>>
> >>>>>>>> egories(delegator, catalogId, "PCCT_BROWSE_ROOT");
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:120:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class CategoryContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
> >>>>>>> CategoryCont
> >>>>>>>
> >>>>>>>
> >>>>>>>> entWrapper(dispatcher, category, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:120:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class CategoryContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
> >>>>>>> CategoryCont
> >>>>>>>
> >>>>>>>
> >>>>>>>> entWrapper(dispatcher, category, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:157:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class CategoryContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
> >>>>>>> CategoryContentW
> >>>>>>>
> >>>>>>>
> >>>>>>>> rapper(dispatcher, category, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:157:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class CategoryContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
> >>>>>>> CategoryContentW
> >>>>>>>
> >>>>>>>
> >>>>>>>> rapper(dispatcher, category, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:180:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class CategoryContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
> >>>>>>> CategoryContentW
> >>>>>>>
> >>>>>>>
> >>>>>>>> rapper(dispatcher, category, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:180:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class CategoryContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
> >>>>>>> CategoryContentW
> >>>>>>>
> >>>>>>>
> >>>>>>>> rapper(dispatcher, category, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:222:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class ProductContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] ProductContentWrapper contentWrapper = new
> >>>>>>> ProductConten
> >>>>>>>
> >>>>>>>
> >>>>>>>> tWrapper(dispatcher, product, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:222:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class ProductContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] ProductContentWrapper contentWrapper = new
> >>>>>>> ProductConten
> >>>>>>>
> >>>>>>>
> >>>>>>>> tWrapper(dispatcher, product, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:314:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : variable CatalogWorker
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] List storeCatalogs = CatalogWorker.getStoreCatalogs
> >>>>>>> (delegato
> >>>>>>>
> >>>>>>>
> >>>>>>>> r, productStoreId);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:332:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class ProductContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] ProductContentWrapper contentWrapper = new
> >>>>>>> ProductContentWra
> >>>>>>>
> >>>>>>>
> >>>>>>>> pper(dispatcher, product, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:332:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class ProductContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] ProductContentWrapper contentWrapper = new
> >>>>>>> ProductContentWra
> >>>>>>>
> >>>>>>>
> >>>>>>>> pper(dispatcher, product, userLocale, null);
> >>>>>>>> [javac] ^
>
> === message truncated ===
>
>
> ---------------------------------
> Got a little couch potato?
> Check out fun summer activities for kids.
Reply | Threaded
Open this post in threaded view
|

getting started with templates

kurtis shipp
Can some help on how to locate the right templates for each of the Tabs,so as to be able to edit the tabs in the header,l mean the one containing Accounting,Catalog,Content,Example,etc
   
  Also,how do l add to the subtabs,say for example;accounting subtabs(Agreement, Billing Account).in which folder is the template?
   
  In the Accounting Manager Main Page,where will l see the right folder that contains the mainpage template in order for me to edit the main page.
   
  Thanks.
   
 
 
   
   
   
 
Scott Gray <[hidden email]> wrote:
  Thats strange you shouldn't normally have any problems running on 1.5, but
anyway glad you got it up and running.

Regards
Scott

On 12/07/07, kurtis shipp wrote:

>
> I think the problem was with the version of the jdk(I was using 1.5before),I changed it to
> jdk1.4.Everything is now working perfectly.
>
> thanks all for the help rendered.
>
>
> Thanks.
>
>
>
> Jacopo Cappellato wrote:
> Hi Kurtis,
>
> what version of jdk are you using?
>
> Jacopo
>
> kurtis shipp wrote:
> > did "ant clean" without error but "ant" gave the following and l guess
> something is missing somewhere:
> >
> >
> > classes:
> > [javac] Compiling 52 source files to
> C:\ofbiz\specialpurpose\pos\build\class
> > es
> > [subant] Failure for target 'null' of: C:\ofbiz\specialpurpose\build.xml
> > [subant] The following error occurred while executing this line:
> > [subant] C:\ofbiz\specialpurpose\build.xml:63: The following error
> occurred w
> > hile executing this line:
> > [subant] C:\ofbiz\specialpurpose\pos\build.xml:91:
> C:\ofbiz\applications\orde
> > r\build\lib not found.
> > [subant] No sub-builds to iterate on
> > [echo] [build] ========== Done Building (Compile) ==========
> > BUILD SUCCESSFUL
> >
> >
> > Thanks.
> >
> >
> >
> > Scott Gray wrote:
> > How did the ant run-install go? Any errors/exceptions? Same as last time
> > just run "ant clean" and "ant" and keep an eye out for problems.
> >
> > Regards
> > Scott
> >
> > On 11/07/07, Adrian Crum wrote:
> >> Kurtis,
> >>
> >> That's odd. It appears some of the classes are missing. Maybe try
> running
> >> ant build on the main
> >> build.xml file.
> >>
> >> -Adrian
> >>
> >> kurtis shipp wrote:
> >>
> >>> ok,I ignored the error and tried to access
> http://localhost:8080/catalogand found the following error
> >>>
> >>>
> >>> :ERROR MESSAGE:
> >>> org.ofbiz.base.util.GeneralException: Error rendering screen
> >> [component://product/widget/catalog/CommonScreens.xml#main]:
> >> org.ofbiz.base.util.GeneralException: Error rendering screen
> >>
> [component://product/widget/catalog/CatalogCommonScreens.xml#main-decorator]:
> >> org.ofbiz.base.util.GeneralException: Error rendering screen
> >> [component://common/widget/CommonScreens.xml#GlobalDecorator]:
> >> org.ofbiz.base.util.GeneralException: Error rendering screen
> >> [component://product/widget/catalog/CommonScreens.xml#leftbar]:
> >> org.ofbiz.base.util.GeneralException: Error rendering screen
> >>
> [component://product/widget/catalog/CommonScreens.xml#sidedeepcategory]:
> >> org.ofbiz.base.util.GeneralException: Error running BSH script at
> location
> >>
> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh]:
> >> org.ofbiz.base.util.GeneralException: Error running BSH script at
> >>
> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
> >> line [42]: Sourced file:
> >>>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker : at Line: 42 : in file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : CategoryWorker .getCatalogTopCategory ( request ,
> defaultTopCategoryId )
> >>> (Sourced file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker) (Error running BSH script at
> >>
> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
> >> line [42]: Sourced file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker : at Line: 42 : in file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : CategoryWorker .getCatalogTopCategory ( request ,
> defaultTopCategoryId )
> >>> (Sourced file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker)) (Error running BSH script at location
> >>
> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh]:
> >> org.ofbiz.base.util.GeneralException: Error running BSH script at
> >>
> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
> >> line [42]: Sourced file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker : at Line: 42 : in file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : CategoryWorker .getCatalogTopCategory ( request ,
> defaultTopCategoryId )
> >>> (Sourced file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker) (Error running BSH script at
> >>
> [component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
> >> line [42]: Sourced file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : Attempt to resolve method: getCatalogTopCategory() on undefined
> variable
> >> or class name: CategoryWorker : at Line: 42 : in file:
> >>
> component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
> >> : CategoryWorker .getCatalogTopCategory ( request ,
> defaultTopCategoryId
> >>>
> >>>
> >>>
> >>>
> >>> Also got the following error for http://localhost:8080/ordermgr
> >>>
> >>> :ERROR MESSAGE:
> >>> org.ofbiz.base.util.GeneralException: Error rendering screen
> >>
> [component://order/widget/ordermgr/OrderViewScreens.xml#OrderHeaderListView]:
> >> org.ofbiz.base.util.GeneralException: Error running BSH script at
> location
> >>
> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh]:
> >> org.ofbiz.base.util.GeneralException: Error running BSH script at
> >>
> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
> >> line [34]: Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState : at Line: 34 : in file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> OrderListState .getInstance ( request )
> >>> (Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState) (Error running BSH script at
> >>
> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
> >> line [34]: Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState : at Line: 34 : in file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> OrderListState .getInstance ( request )
> >>> (Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState)) (Error running BSH script at location
> >>
> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh]:
> >> org.ofbiz.base.util.GeneralException: Error running BSH script at
> >>
> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
> >> line [34]: Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState : at Line: 34 : in file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> OrderListState .getInstance ( request )
> >>> (Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState) (Error running BSH script at
> >>
> [component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
> >> line [34]: Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState : at Line: 34 : in file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> OrderListState .getInstance ( request )
> >>> (Sourced file:
> >> component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
> >> Attempt to resolve method: getInstance() on undefined variable or class
> >> name: OrderListState)))
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> help is highly anticipated....
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Adrian Crum wrote:
> >>> Kurtis,
> >>>
> >>> That error message has been popping up lately. The development team is
> >> working on it. You can safely
> >>> ignore that message.
> >>>
> >>> -Adrian
> >>>
> >>>
> >>> kurtis shipp wrote:
> >>>
> >>>
> >>>> Scott thanks so much for the patience and support,l got the download
> >> right,also my regards to Jacopo.
> >>>> After the "ant" and "ant-install",l tried starting ofbiz from the
> >> console but l got the following error:
> >>>> C:\ofbiz>startofbiz
> >>>> C:\ofbiz>ECHO OFF
> >>>> C:\ofbiz>"C:\Java\jdk1.5.0\bin\java" -Xms256M -Xmx512M -
> >> Duser.language=en -jar ofbiz.jar 1>runtime\
> >>>> logs\console.log
> >>>> Exception in thread "Dispatcher-Thread-1"
> java.lang.NullPointerException
> >>>> at java.lang.String.lastIndexOf(String.java:1654)
> >>>> at java.lang.String.lastIndexOf(String.java:1636)
> >>>> at org.apache.log4j.spi.LocationInfo.(LocationInfo.java:119)
> >>>> at org.apache.log4j.spi.LoggingEvent.getLocationInformation(
> >> LoggingEvent.java:191)
> >>>> at
> >> org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert
> (
> >> PatternParser.jav
> >>>> a:483)
> >>>> at org.apache.log4j.helpers.PatternConverter.format(
> >> PatternConverter.java:64)
> >>>> at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
> >>>> at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
> >>>> at org.apache.log4j.RollingFileAppender.subAppend(
> >> RollingFileAppender.java:236)
> >>>> at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
> >>>> at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java
> :230)
> >>>> at
> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders
> >> (AppenderAttachableI
> >>>> mpl.java:65)
> >>>> at org.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java
> :578)
> >>>> at java.lang.Thread.run(Thread.java:595)
> >>>>
> >>>> suggestions on solution are welcomed
> >>>>
> >>>> thanks.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> Scott Gray wrote:
> >>>> Just open up a console window (Start > Run > cmd), goto wherever you
> >> want
> >>>> the ofbiz folder to install (C:\ is usually good enough)
> >>>> and run the following command:
> >>>> svn co http://svn.apache.org/repos/asf/ofbiz/branches/release4.0
> >> ofbiz4.0
> >>>> that will checkout ofbiz into a folder called ofbiz4.0
> >>>>
> >>>> Regards
> >>>> Scott
> >>>>
> >>>> On 10/07/07, kurtis shipp wrote:
> >>>>
> >>>>
> >>>>> hello scott,went to that site as directed.I downloaded subversion
> >> client
> >>>>> and really dunno how to use it to download from
> >>>>> http://svn.apache.org/repos/asf/ofbiz/branches/release4.0 ofbiz4.0
> >>>>>
> >>>>> how do I get the download?am using a windows XP Operating System.
> >>>>>
> >>>>> thanks in anticipation.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> Hi Kurtis
> >>>>>
> >>>>> Your best bet would be to checkout from the 4.0 release branch using
> >> svn:
> >>>>> svn co http://svn.apache.org/repos/asf/ofbiz/branches/release4.0
> >> ofbiz4.0
> >>>>> Regards
> >>>>> Scott
> >>>>>
> >>>>> On 10/07/07, kurtis shipp wrote:
> >>>>>
> >>>>>
> >>>>>> ok, thanks scott and Jacopo.
> >>>>>>
> >>>>>> Where can l download OFBIZ 3.0?
> >>>>>>
> >>>>>> thanks in anticipation.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Scott Gray wrote:
> >>>>>> Yeah Jacopo's right, that's opentaps specific code.
> >>>>>>
> >>>>>> Regards
> >>>>>> Scott
> >>>>>>
> >>>>>> On 10/07/07, Jacopo Cappellato wrote:
> >>>>>>
> >>>>>>
> >>>>>>> Hi Kurtis,
> >>>>>>>
> >>>>>>> I'd suggest to post this log to the Opentaps forums
> >>>>>>>
> >>>>>>> Jacopo
> >>>>>>>
> >>>>>>> kurtis shipp wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>> hello scott,thanks for the insight,I did "ant" build and
> extracted
> >>>>> the
> >>>>>
> >>>>>
> >>>>>>> following error:
> >>>>>>>
> >>>>>>>
> >>>>>>>> classpath:
> >>>>>>>> classes:
> >>>>>>>> [javac] Compiling 2 source files to C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.
> >>>>>>>
> >>>>>>>
> >>>>>>>> 0\hot-deploy\catalogexport\build\classes
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:18:
> >>>>>
> >>>>>
> >>>>>>> package or
> >>>>>>>
> >>>>>>>
> >>>>>>>> g.ofbiz.product.catalog does not exist
> >>>>>>>> [javac] import org.ofbiz.product.catalog.CatalogWorker;
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:19:
> >>>>>
> >>>>>
> >>>>>>> package or
> >>>>>>>
> >>>>>>>
> >>>>>>>> g.ofbiz.product.product does not exist
> >>>>>>>> [javac] import org.ofbiz.product.product.ProductContentWrapper;
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:20:
> >>>>>
> >>>>>
> >>>>>>> package or
> >>>>>>>
> >>>>>>>
> >>>>>>>> g.ofbiz.product.category does not exist
> >>>>>>>> [javac] import org.ofbiz.product.category.CategoryContentWrapper;
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:77:
> >>>>>
> >>>>>
> >>>>>>> cannot fin
> >>>>>>>
> >>>>>>>
> >>>>>>>> d symbol
> >>>>>>>> [javac] symbol : variable CatalogWorker
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] List prodCatalogCategories =
> >>>>>>> CatalogWorker.getProdCatalogCat
> >>>>>>>
> >>>>>>>
> >>>>>>>> egories(delegator, catalogId, "PCCT_BROWSE_ROOT");
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:120:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class CategoryContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
> >>>>>>> CategoryCont
> >>>>>>>
> >>>>>>>
> >>>>>>>> entWrapper(dispatcher, category, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:120:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class CategoryContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
> >>>>>>> CategoryCont
> >>>>>>>
> >>>>>>>
> >>>>>>>> entWrapper(dispatcher, category, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:157:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class CategoryContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
> >>>>>>> CategoryContentW
> >>>>>>>
> >>>>>>>
> >>>>>>>> rapper(dispatcher, category, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:157:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class CategoryContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
> >>>>>>> CategoryContentW
> >>>>>>>
> >>>>>>>
> >>>>>>>> rapper(dispatcher, category, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:180:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class CategoryContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
> >>>>>>> CategoryContentW
> >>>>>>>
> >>>>>>>
> >>>>>>>> rapper(dispatcher, category, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:180:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class CategoryContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] CategoryContentWrapper contentWrapper = new
> >>>>>>> CategoryContentW
> >>>>>>>
> >>>>>>>
> >>>>>>>> rapper(dispatcher, category, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:222:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class ProductContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] ProductContentWrapper contentWrapper = new
> >>>>>>> ProductConten
> >>>>>>>
> >>>>>>>
> >>>>>>>> tWrapper(dispatcher, product, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:222:
> >>>>>
> >>>>>
> >>>>>>> cannot fi
> >>>>>>>
> >>>>>>>
> >>>>>>>> nd symbol
> >>>>>>>> [javac] symbol : class ProductContentWrapper
> >>>>>>>> [javac] location: class
> >>>>>>> org.opentaps.product.catalog.export.CatalogExportSer
> >>>>>>>
> >>>>>>>
> >>>>>>>> vices
> >>>>>>>> [javac] ProductContentWrapper contentWrapper = new
> >>>>>>> ProductConten
> >>>>>>>
> >>>>>>>
> >>>>>>>> tWrapper(dispatcher, product, userLocale, null);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] C:\opentaps-
> >>>>>>> 1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
> >>>>>>>
> >>>>>
> rc\org\opentaps\product\catalog\export\CatalogExportServices.java:314:
> >>>>>
> >>>>>
> >>>>>>> cannot fi

=== message truncated ===

       
---------------------------------
Choose the right car based on your needs.  Check out Yahoo! Autos new Car Finder tool.
Reply | Threaded
Open this post in threaded view
|

Re: getting started with templates

Adrian Crum
Kurtis,

The main navigation bar can be found in framework\common\webcommon\includes\appbar.ftl.

Each component has its own copy of the application navigation bar - typically named appheader.ftl.
Those can be found in the component's webapp folder.

-Adrian

kurtis shipp wrote:

> Can some help on how to locate the right templates for each of the Tabs,so as to be able to edit the tabs in the header,l mean the one containing Accounting,Catalog,Content,Example,etc
>    
>   Also,how do l add to the subtabs,say for example;accounting subtabs(Agreement, Billing Account).in which folder is the template?
>    
>   In the Accounting Manager Main Page,where will l see the right folder that contains the mainpage template in order for me to edit the main page.
>    
>   Thanks.
>    
>  
>  
>    
>    
>    
>  
> Scott Gray <[hidden email]> wrote:
>   Thats strange you shouldn't normally have any problems running on 1.5, but
> anyway glad you got it up and running.
>
> Regards
> Scott
>
> On 12/07/07, kurtis shipp wrote:
>
>>I think the problem was with the version of the jdk(I was using 1.5before),I changed it to
>>jdk1.4.Everything is now working perfectly.
>>
>>thanks all for the help rendered.
>>
>>
>>Thanks.
>>
>>
>>
>>Jacopo Cappellato wrote:
>>Hi Kurtis,
>>
>>what version of jdk are you using?
>>
>>Jacopo
>>
>>kurtis shipp wrote:
>>
>>>did "ant clean" without error but "ant" gave the following and l guess
>>
>>something is missing somewhere:
>>
>>>
>>>classes:
>>>[javac] Compiling 52 source files to
>>
>>C:\ofbiz\specialpurpose\pos\build\class
>>
>>>es
>>>[subant] Failure for target 'null' of: C:\ofbiz\specialpurpose\build.xml
>>>[subant] The following error occurred while executing this line:
>>>[subant] C:\ofbiz\specialpurpose\build.xml:63: The following error
>>
>>occurred w
>>
>>>hile executing this line:
>>>[subant] C:\ofbiz\specialpurpose\pos\build.xml:91:
>>
>>C:\ofbiz\applications\orde
>>
>>>r\build\lib not found.
>>>[subant] No sub-builds to iterate on
>>>[echo] [build] ========== Done Building (Compile) ==========
>>>BUILD SUCCESSFUL
>>>
>>>
>>>Thanks.
>>>
>>>
>>>
>>>Scott Gray wrote:
>>>How did the ant run-install go? Any errors/exceptions? Same as last time
>>>just run "ant clean" and "ant" and keep an eye out for problems.
>>>
>>>Regards
>>>Scott
>>>
>>>On 11/07/07, Adrian Crum wrote:
>>>
>>>>Kurtis,
>>>>
>>>>That's odd. It appears some of the classes are missing. Maybe try
>>
>>running
>>
>>>>ant build on the main
>>>>build.xml file.
>>>>
>>>>-Adrian
>>>>
>>>>kurtis shipp wrote:
>>>>
>>>>
>>>>>ok,I ignored the error and tried to access
>>
>>http://localhost:8080/catalogand found the following error
>>
>>>>>
>>>>>:ERROR MESSAGE:
>>>>>org.ofbiz.base.util.GeneralException: Error rendering screen
>>>>
>>>>[component://product/widget/catalog/CommonScreens.xml#main]:
>>>>org.ofbiz.base.util.GeneralException: Error rendering screen
>>>>
>>
>>[component://product/widget/catalog/CatalogCommonScreens.xml#main-decorator]:
>>
>>>>org.ofbiz.base.util.GeneralException: Error rendering screen
>>>>[component://common/widget/CommonScreens.xml#GlobalDecorator]:
>>>>org.ofbiz.base.util.GeneralException: Error rendering screen
>>>>[component://product/widget/catalog/CommonScreens.xml#leftbar]:
>>>>org.ofbiz.base.util.GeneralException: Error rendering screen
>>>>
>>
>>[component://product/widget/catalog/CommonScreens.xml#sidedeepcategory]:
>>
>>>>org.ofbiz.base.util.GeneralException: Error running BSH script at
>>
>>location
>>
>>[component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh]:
>>
>>>>org.ofbiz.base.util.GeneralException: Error running BSH script at
>>>>
>>
>>[component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
>>
>>>>line [42]: Sourced file:
>>>>
>>component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>>
>>>>: Attempt to resolve method: getCatalogTopCategory() on undefined
>>
>>variable
>>
>>>>or class name: CategoryWorker : at Line: 42 : in file:
>>>>
>>
>>component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>>
>>>>: CategoryWorker .getCatalogTopCategory ( request ,
>>
>>defaultTopCategoryId )
>>
>>>>>(Sourced file:
>>>>
>>component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>>
>>>>: Attempt to resolve method: getCatalogTopCategory() on undefined
>>
>>variable
>>
>>>>or class name: CategoryWorker) (Error running BSH script at
>>>>
>>
>>[component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
>>
>>>>line [42]: Sourced file:
>>>>
>>
>>component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>>
>>>>: Attempt to resolve method: getCatalogTopCategory() on undefined
>>
>>variable
>>
>>>>or class name: CategoryWorker : at Line: 42 : in file:
>>>>
>>
>>component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>>
>>>>: CategoryWorker .getCatalogTopCategory ( request ,
>>
>>defaultTopCategoryId )
>>
>>>>>(Sourced file:
>>>>
>>component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>>
>>>>: Attempt to resolve method: getCatalogTopCategory() on undefined
>>
>>variable
>>
>>>>or class name: CategoryWorker)) (Error running BSH script at location
>>>>
>>
>>[component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh]:
>>
>>>>org.ofbiz.base.util.GeneralException: Error running BSH script at
>>>>
>>
>>[component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
>>
>>>>line [42]: Sourced file:
>>>>
>>
>>component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>>
>>>>: Attempt to resolve method: getCatalogTopCategory() on undefined
>>
>>variable
>>
>>>>or class name: CategoryWorker : at Line: 42 : in file:
>>>>
>>
>>component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>>
>>>>: CategoryWorker .getCatalogTopCategory ( request ,
>>
>>defaultTopCategoryId )
>>
>>>>>(Sourced file:
>>>>
>>component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>>
>>>>: Attempt to resolve method: getCatalogTopCategory() on undefined
>>
>>variable
>>
>>>>or class name: CategoryWorker) (Error running BSH script at
>>>>
>>
>>[component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
>>
>>>>line [42]: Sourced file:
>>>>
>>
>>component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>>
>>>>: Attempt to resolve method: getCatalogTopCategory() on undefined
>>
>>variable
>>
>>>>or class name: CategoryWorker : at Line: 42 : in file:
>>>>
>>
>>component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
>>
>>>>: CategoryWorker .getCatalogTopCategory ( request ,
>>
>>defaultTopCategoryId
>>
>>>>>
>>>>>
>>>>>
>>>>>Also got the following error for http://localhost:8080/ordermgr
>>>>>
>>>>>:ERROR MESSAGE:
>>>>>org.ofbiz.base.util.GeneralException: Error rendering screen
>>>>
>>[component://order/widget/ordermgr/OrderViewScreens.xml#OrderHeaderListView]:
>>
>>>>org.ofbiz.base.util.GeneralException: Error running BSH script at
>>
>>location
>>
>>[component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh]:
>>
>>>>org.ofbiz.base.util.GeneralException: Error running BSH script at
>>>>
>>
>>[component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
>>
>>>>line [34]: Sourced file:
>>>>component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>>>>Attempt to resolve method: getInstance() on undefined variable or class
>>>>name: OrderListState : at Line: 34 : in file:
>>>>component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>>>>OrderListState .getInstance ( request )
>>>>
>>>>>(Sourced file:
>>>>
>>>>component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>>>>Attempt to resolve method: getInstance() on undefined variable or class
>>>>name: OrderListState) (Error running BSH script at
>>>>
>>
>>[component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
>>
>>>>line [34]: Sourced file:
>>>>component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>>>>Attempt to resolve method: getInstance() on undefined variable or class
>>>>name: OrderListState : at Line: 34 : in file:
>>>>component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>>>>OrderListState .getInstance ( request )
>>>>
>>>>>(Sourced file:
>>>>
>>>>component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>>>>Attempt to resolve method: getInstance() on undefined variable or class
>>>>name: OrderListState)) (Error running BSH script at location
>>>>
>>
>>[component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh]:
>>
>>>>org.ofbiz.base.util.GeneralException: Error running BSH script at
>>>>
>>
>>[component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
>>
>>>>line [34]: Sourced file:
>>>>component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>>>>Attempt to resolve method: getInstance() on undefined variable or class
>>>>name: OrderListState : at Line: 34 : in file:
>>>>component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>>>>OrderListState .getInstance ( request )
>>>>
>>>>>(Sourced file:
>>>>
>>>>component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>>>>Attempt to resolve method: getInstance() on undefined variable or class
>>>>name: OrderListState) (Error running BSH script at
>>>>
>>
>>[component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
>>
>>>>line [34]: Sourced file:
>>>>component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>>>>Attempt to resolve method: getInstance() on undefined variable or class
>>>>name: OrderListState : at Line: 34 : in file:
>>>>component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>>>>OrderListState .getInstance ( request )
>>>>
>>>>>(Sourced file:
>>>>
>>>>component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
>>>>Attempt to resolve method: getInstance() on undefined variable or class
>>>>name: OrderListState)))
>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>help is highly anticipated....
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>Adrian Crum wrote:
>>>>>Kurtis,
>>>>>
>>>>>That error message has been popping up lately. The development team is
>>>>
>>>>working on it. You can safely
>>>>
>>>>>ignore that message.
>>>>>
>>>>>-Adrian
>>>>>
>>>>>
>>>>>kurtis shipp wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Scott thanks so much for the patience and support,l got the download
>>>>
>>>>right,also my regards to Jacopo.
>>>>
>>>>>>After the "ant" and "ant-install",l tried starting ofbiz from the
>>>>
>>>>console but l got the following error:
>>>>
>>>>>>C:\ofbiz>startofbiz
>>>>>>C:\ofbiz>ECHO OFF
>>>>>>C:\ofbiz>"C:\Java\jdk1.5.0\bin\java" -Xms256M -Xmx512M -
>>>>
>>>>Duser.language=en -jar ofbiz.jar 1>runtime\
>>>>
>>>>>>logs\console.log
>>>>>>Exception in thread "Dispatcher-Thread-1"
>>
>>java.lang.NullPointerException
>>
>>>>>>at java.lang.String.lastIndexOf(String.java:1654)
>>>>>>at java.lang.String.lastIndexOf(String.java:1636)
>>>>>>at org.apache.log4j.spi.LocationInfo.(LocationInfo.java:119)
>>>>>>at org.apache.log4j.spi.LoggingEvent.getLocationInformation(
>>>>
>>>>LoggingEvent.java:191)
>>>>
>>>>>>at
>>>>
>>>>org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert
>>
>>(
>>
>>>>PatternParser.jav
>>>>
>>>>>>a:483)
>>>>>>at org.apache.log4j.helpers.PatternConverter.format(
>>>>
>>>>PatternConverter.java:64)
>>>>
>>>>>>at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
>>>>>>at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
>>>>>>at org.apache.log4j.RollingFileAppender.subAppend(
>>>>
>>>>RollingFileAppender.java:236)
>>>>
>>>>>>at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
>>>>>>at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java
>>
>>:230)
>>
>>>>>>at
>>
>>org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders
>>
>>>>(AppenderAttachableI
>>>>
>>>>>>mpl.java:65)
>>>>>>at org.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java
>>
>>:578)
>>
>>>>>>at java.lang.Thread.run(Thread.java:595)
>>>>>>
>>>>>>suggestions on solution are welcomed
>>>>>>
>>>>>>thanks.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>Scott Gray wrote:
>>>>>>Just open up a console window (Start > Run > cmd), goto wherever you
>>>>
>>>>want
>>>>
>>>>>>the ofbiz folder to install (C:\ is usually good enough)
>>>>>>and run the following command:
>>>>>>svn co http://svn.apache.org/repos/asf/ofbiz/branches/release4.0
>>>>
>>>>ofbiz4.0
>>>>
>>>>>>that will checkout ofbiz into a folder called ofbiz4.0
>>>>>>
>>>>>>Regards
>>>>>>Scott
>>>>>>
>>>>>>On 10/07/07, kurtis shipp wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>hello scott,went to that site as directed.I downloaded subversion
>>>>
>>>>client
>>>>
>>>>>>>and really dunno how to use it to download from
>>>>>>>http://svn.apache.org/repos/asf/ofbiz/branches/release4.0 ofbiz4.0
>>>>>>>
>>>>>>>how do I get the download?am using a windows XP Operating System.
>>>>>>>
>>>>>>>thanks in anticipation.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>Hi Kurtis
>>>>>>>
>>>>>>>Your best bet would be to checkout from the 4.0 release branch using
>>>>
>>>>svn:
>>>>
>>>>>>>svn co http://svn.apache.org/repos/asf/ofbiz/branches/release4.0
>>>>
>>>>ofbiz4.0
>>>>
>>>>>>>Regards
>>>>>>>Scott
>>>>>>>
>>>>>>>On 10/07/07, kurtis shipp wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>ok, thanks scott and Jacopo.
>>>>>>>>
>>>>>>>>Where can l download OFBIZ 3.0?
>>>>>>>>
>>>>>>>>thanks in anticipation.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>Scott Gray wrote:
>>>>>>>>Yeah Jacopo's right, that's opentaps specific code.
>>>>>>>>
>>>>>>>>Regards
>>>>>>>>Scott
>>>>>>>>
>>>>>>>>On 10/07/07, Jacopo Cappellato wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>Hi Kurtis,
>>>>>>>>>
>>>>>>>>>I'd suggest to post this log to the Opentaps forums
>>>>>>>>>
>>>>>>>>>Jacopo
>>>>>>>>>
>>>>>>>>>kurtis shipp wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>hello scott,thanks for the insight,I did "ant" build and
>>
>>extracted
>>
>>>>>>>the
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>following error:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>classpath:
>>>>>>>>>>classes:
>>>>>>>>>>[javac] Compiling 2 source files to C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>0\hot-deploy\catalogexport\build\classes
>>>>>>>>>>[javac] C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>>>
>>>>>>>
>>rc\org\opentaps\product\catalog\export\CatalogExportServices.java:18:
>>
>>>>>>>
>>>>>>>>>package or
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>g.ofbiz.product.catalog does not exist
>>>>>>>>>>[javac] import org.ofbiz.product.catalog.CatalogWorker;
>>>>>>>>>>[javac] ^
>>>>>>>>>>[javac] C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>>>
>>>>>>>
>>rc\org\opentaps\product\catalog\export\CatalogExportServices.java:19:
>>
>>>>>>>
>>>>>>>>>package or
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>g.ofbiz.product.product does not exist
>>>>>>>>>>[javac] import org.ofbiz.product.product.ProductContentWrapper;
>>>>>>>>>>[javac] ^
>>>>>>>>>>[javac] C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>>>
>>>>>>>
>>rc\org\opentaps\product\catalog\export\CatalogExportServices.java:20:
>>
>>>>>>>
>>>>>>>>>package or
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>g.ofbiz.product.category does not exist
>>>>>>>>>>[javac] import org.ofbiz.product.category.CategoryContentWrapper;
>>>>>>>>>>[javac] ^
>>>>>>>>>>[javac] C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>>>
>>>>>>>
>>rc\org\opentaps\product\catalog\export\CatalogExportServices.java:77:
>>
>>>>>>>
>>>>>>>>>cannot fin
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>d symbol
>>>>>>>>>>[javac] symbol : variable CatalogWorker
>>>>>>>>>>[javac] location: class
>>>>>>>>>
>>>>>>>>>org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>vices
>>>>>>>>>>[javac] List prodCatalogCategories =
>>>>>>>>>
>>>>>>>>>CatalogWorker.getProdCatalogCat
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>egories(delegator, catalogId, "PCCT_BROWSE_ROOT");
>>>>>>>>>>[javac] ^
>>>>>>>>>>[javac] C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>>>
>>>>>>>
>>rc\org\opentaps\product\catalog\export\CatalogExportServices.java:120:
>>
>>>>>>>
>>>>>>>>>cannot fi
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>nd symbol
>>>>>>>>>>[javac] symbol : class CategoryContentWrapper
>>>>>>>>>>[javac] location: class
>>>>>>>>>
>>>>>>>>>org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>vices
>>>>>>>>>>[javac] CategoryContentWrapper contentWrapper = new
>>>>>>>>>
>>>>>>>>>CategoryCont
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>entWrapper(dispatcher, category, userLocale, null);
>>>>>>>>>>[javac] ^
>>>>>>>>>>[javac] C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>>>
>>>>>>>
>>rc\org\opentaps\product\catalog\export\CatalogExportServices.java:120:
>>
>>>>>>>
>>>>>>>>>cannot fi
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>nd symbol
>>>>>>>>>>[javac] symbol : class CategoryContentWrapper
>>>>>>>>>>[javac] location: class
>>>>>>>>>
>>>>>>>>>org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>vices
>>>>>>>>>>[javac] CategoryContentWrapper contentWrapper = new
>>>>>>>>>
>>>>>>>>>CategoryCont
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>entWrapper(dispatcher, category, userLocale, null);
>>>>>>>>>>[javac] ^
>>>>>>>>>>[javac] C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>>>
>>>>>>>
>>rc\org\opentaps\product\catalog\export\CatalogExportServices.java:157:
>>
>>>>>>>
>>>>>>>>>cannot fi
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>nd symbol
>>>>>>>>>>[javac] symbol : class CategoryContentWrapper
>>>>>>>>>>[javac] location: class
>>>>>>>>>
>>>>>>>>>org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>vices
>>>>>>>>>>[javac] CategoryContentWrapper contentWrapper = new
>>>>>>>>>
>>>>>>>>>CategoryContentW
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>rapper(dispatcher, category, userLocale, null);
>>>>>>>>>>[javac] ^
>>>>>>>>>>[javac] C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>>>
>>>>>>>
>>rc\org\opentaps\product\catalog\export\CatalogExportServices.java:157:
>>
>>>>>>>
>>>>>>>>>cannot fi
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>nd symbol
>>>>>>>>>>[javac] symbol : class CategoryContentWrapper
>>>>>>>>>>[javac] location: class
>>>>>>>>>
>>>>>>>>>org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>vices
>>>>>>>>>>[javac] CategoryContentWrapper contentWrapper = new
>>>>>>>>>
>>>>>>>>>CategoryContentW
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>rapper(dispatcher, category, userLocale, null);
>>>>>>>>>>[javac] ^
>>>>>>>>>>[javac] C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>>>
>>>>>>>
>>rc\org\opentaps\product\catalog\export\CatalogExportServices.java:180:
>>
>>>>>>>
>>>>>>>>>cannot fi
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>nd symbol
>>>>>>>>>>[javac] symbol : class CategoryContentWrapper
>>>>>>>>>>[javac] location: class
>>>>>>>>>
>>>>>>>>>org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>vices
>>>>>>>>>>[javac] CategoryContentWrapper contentWrapper = new
>>>>>>>>>
>>>>>>>>>CategoryContentW
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>rapper(dispatcher, category, userLocale, null);
>>>>>>>>>>[javac] ^
>>>>>>>>>>[javac] C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>>>
>>>>>>>
>>rc\org\opentaps\product\catalog\export\CatalogExportServices.java:180:
>>
>>>>>>>
>>>>>>>>>cannot fi
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>nd symbol
>>>>>>>>>>[javac] symbol : class CategoryContentWrapper
>>>>>>>>>>[javac] location: class
>>>>>>>>>
>>>>>>>>>org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>vices
>>>>>>>>>>[javac] CategoryContentWrapper contentWrapper = new
>>>>>>>>>
>>>>>>>>>CategoryContentW
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>rapper(dispatcher, category, userLocale, null);
>>>>>>>>>>[javac] ^
>>>>>>>>>>[javac] C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>>>
>>>>>>>
>>rc\org\opentaps\product\catalog\export\CatalogExportServices.java:222:
>>
>>>>>>>
>>>>>>>>>cannot fi
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>nd symbol
>>>>>>>>>>[javac] symbol : class ProductContentWrapper
>>>>>>>>>>[javac] location: class
>>>>>>>>>
>>>>>>>>>org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>vices
>>>>>>>>>>[javac] ProductContentWrapper contentWrapper = new
>>>>>>>>>
>>>>>>>>>ProductConten
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>tWrapper(dispatcher, product, userLocale, null);
>>>>>>>>>>[javac] ^
>>>>>>>>>>[javac] C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>>>
>>>>>>>
>>rc\org\opentaps\product\catalog\export\CatalogExportServices.java:222:
>>
>>>>>>>
>>>>>>>>>cannot fi
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>nd symbol
>>>>>>>>>>[javac] symbol : class ProductContentWrapper
>>>>>>>>>>[javac] location: class
>>>>>>>>>
>>>>>>>>>org.opentaps.product.catalog.export.CatalogExportSer
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>vices
>>>>>>>>>>[javac] ProductContentWrapper contentWrapper = new
>>>>>>>>>
>>>>>>>>>ProductConten
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>tWrapper(dispatcher, product, userLocale, null);
>>>>>>>>>>[javac] ^
>>>>>>>>>>[javac] C:\opentaps-
>>>>>>>>>
>>>>>>>>>1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
>>>>>>>>>
>>>>>>>
>>rc\org\opentaps\product\catalog\export\CatalogExportServices.java:314:
>>
>>>>>>>
>>>>>>>>>cannot fi
>
>
> === message truncated ===
>
>        
> ---------------------------------
> Choose the right car based on your needs.  Check out Yahoo! Autos new Car Finder tool.
Reply | Threaded
Open this post in threaded view
|

where is list content located?

kurtis shipp
hello,
   
  Concerning the templates I was able to edit the application header (appheader) by editing the file c:\ofbiz\application\webapp\accounting\included\commonscreens.xml,alongside this ,l edited commomonscreen.xml
   
  Also did some work with ......\accounting\webapp\accounting\main.ftl
   
  Now the question is:
  1. How do I edit the application navigation tab/bar that has Account,Catalog,Content,Example.....
   
  2. the list value for invoice for example, in the freemarker below:
   
  <#list invoiceTypes as invoiceType>
  <li><a href="<@ofbizUrl>findInvoices?LookupFlag=Y&invoiceTypeId=${invoiceType.invoiceTypeId}</@ofbizUrl>">${uiLabelMap.AccountingShowInvoices} ${invoiceType.get("description",locale)}</a></li>
  </#list>
   
  where is the content of the list-map populated from?for example in the case of the AccountingShowInvoices,the contents are
   
             
   
     
   Show Invoices Commission  
   Show Invoices Customer Return  
   Show Invoices Interest  
   Show Invoices Purchase Invoice  
   Show Invoices Sales Invoice
     
   Show Invoices Approved  
   Show Invoices Cancelled  
   Show Invoices In-Process  
   Show Invoices Paid  
   Show Invoices Ready for Posting  
   Show Invoices Received  
   Show Invoices Sent  
   Show Invoices Write Off

   
   

       
---------------------------------
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
Reply | Threaded
Open this post in threaded view
|

Re: where is list content located?

Krzysztof Podejma
see bsh files

2007/7/13, kurtis shipp <[hidden email]>:

>
> hello,
>
>   Concerning the templates I was able to edit the application header
> (appheader) by editing the file
> c:\ofbiz\application\webapp\accounting\included\commonscreens.xml,alongside
> this ,l edited commomonscreen.xml
>
>   Also did some work with ......\accounting\webapp\accounting\main.ftl
>
>   Now the question is:
>   1. How do I edit the application navigation tab/bar that has
> Account,Catalog,Content,Example.....
>
>   2. the list value for invoice for example, in the freemarker below:
>
>   <#list invoiceTypes as invoiceType>
>   <li><a href="<@ofbizUrl>findInvoices?LookupFlag=Y&invoiceTypeId=${
> invoiceType.invoiceTypeId}</@ofbizUrl>">${
> uiLabelMap.AccountingShowInvoices} ${invoiceType.get
> ("description",locale)}</a></li>
>   </#list>
>
>   where is the content of the list-map populated from?for example in the
> case of the AccountingShowInvoices,the contents are
>
>
>
>
>    Show Invoices Commission
>    Show Invoices Customer Return
>    Show Invoices Interest
>    Show Invoices Purchase Invoice
>    Show Invoices Sales Invoice
>
>    Show Invoices Approved
>    Show Invoices Cancelled
>    Show Invoices In-Process
>    Show Invoices Paid
>    Show Invoices Ready for Posting
>    Show Invoices Received
>    Show Invoices Sent
>    Show Invoices Write Off
>
>
>
>
>
> ---------------------------------
> Boardwalk for $500? In 2007? Ha!
> Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
> Games.
Reply | Threaded
Open this post in threaded view
|

Re: where is list content located?

Krzysztof Podejma
In reply to this post by kurtis shipp
in this case it is in CommonScreens.xml in screen main
                <entity-condition entity-name="InvoiceType"
list-name="invoiceTypes">
                    <order-by field-name="invoiceTypeId"/>
                </entity-condition>
but in most of screens this kind of data is in bsh files
Krzysztof

2007/7/13, kurtis shipp <[hidden email]>:

>
> hello,
>
>   Concerning the templates I was able to edit the application header
> (appheader) by editing the file
> c:\ofbiz\application\webapp\accounting\included\commonscreens.xml,alongside
> this ,l edited commomonscreen.xml
>
>   Also did some work with ......\accounting\webapp\accounting\main.ftl
>
>   Now the question is:
>   1. How do I edit the application navigation tab/bar that has
> Account,Catalog,Content,Example.....
>
>   2. the list value for invoice for example, in the freemarker below:
>
>   <#list invoiceTypes as invoiceType>
>   <li><a href="<@ofbizUrl>findInvoices?LookupFlag=Y&invoiceTypeId=${
> invoiceType.invoiceTypeId}</@ofbizUrl>">${
> uiLabelMap.AccountingShowInvoices} ${invoiceType.get
> ("description",locale)}</a></li>
>   </#list>
>
>   where is the content of the list-map populated from?for example in the
> case of the AccountingShowInvoices,the contents are
>
>
>
>
>    Show Invoices Commission
>    Show Invoices Customer Return
>    Show Invoices Interest
>    Show Invoices Purchase Invoice
>    Show Invoices Sales Invoice
>
>    Show Invoices Approved
>    Show Invoices Cancelled
>    Show Invoices In-Process
>    Show Invoices Paid
>    Show Invoices Ready for Posting
>    Show Invoices Received
>    Show Invoices Sent
>    Show Invoices Write Off
>
>
>
>
>
> ---------------------------------
> Boardwalk for $500? In 2007? Ha!
> Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
> Games.
Reply | Threaded
Open this post in threaded view
|

Re: where is list content located?

kurtis shipp

I checked through CommonScreen.xml but could not find exactly what I want,l only got to see header.ftl,appbar.ftl,messages.ftl and footer.ftl
   
  The scenario is this:
  In the Application Tab bar,there are menus for Accounting,Catalog,Content,Example,Facility,Manufacturing,Marketing,Order,Party,Webtools,WorkEffort
   
  and I need only Accounting,Catalog, Party and Webtools for my project.
   
  have extensively checked through related files but does not seem to be getting it.
   
  kind idea/suggestion is welcomed.
   
  Thanks.
   
   
   
   
 
Krzysztof Podejma <[hidden email]> wrote:
  in this case it is in CommonScreens.xml in screen main
list-name="invoiceTypes">


but in most of screens this kind of data is in bsh files
Krzysztof

2007/7/13, kurtis shipp :

>
> hello,
>
> Concerning the templates I was able to edit the application header
> (appheader) by editing the file
> c:\ofbiz\application\webapp\accounting\included\commonscreens.xml,alongside
> this ,l edited commomonscreen.xml
>
> Also did some work with ......\accounting\webapp\accounting\main.ftl
>
> Now the question is:
> 1. How do I edit the application navigation tab/bar that has
> Account,Catalog,Content,Example.....
>
> 2. the list value for invoice for example, in the freemarker below:
>
> <#list invoiceTypes as invoiceType>
>  
findInvoices?LookupFlag=Y&invoiceTypeId=${

> invoiceType.invoiceTypeId}">${
> uiLabelMap.AccountingShowInvoices} ${invoiceType.get
> ("description",locale)}
>
>
> where is the content of the list-map populated from?for example in the
> case of the AccountingShowInvoices,the contents are
>
>
>
>
> Show Invoices Commission
> Show Invoices Customer Return
> Show Invoices Interest
> Show Invoices Purchase Invoice
> Show Invoices Sales Invoice
>
> Show Invoices Approved
> Show Invoices Cancelled
> Show Invoices In-Process
> Show Invoices Paid
> Show Invoices Ready for Posting
> Show Invoices Received
> Show Invoices Sent
> Show Invoices Write Off
>
>
>
>
>
> ---------------------------------
> Boardwalk for $500? In 2007? Ha!
> Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
> Games.


       
---------------------------------
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
Reply | Threaded
Open this post in threaded view
|

Re: where is list content located?

Krzysztof Podejma
just remove security permission for apps that you don't want to use, and
these apps will be hidden.

Krzysztof

2007/7/13, kurtis shipp <[hidden email]>:

>
>
> I checked through CommonScreen.xml but could not find exactly what I
> want,l only got to see header.ftl,appbar.ftl,messages.ftl and footer.ftl
>
>   The scenario is this:
>   In the Application Tab bar,there are menus for
> Accounting,Catalog,Content,Example,Facility,Manufacturing,Marketing,Order,Party,Webtools,WorkEffort
>
>   and I need only Accounting,Catalog, Party and Webtools for my project.
>
>   have extensively checked through related files but does not seem to be
> getting it.
>
>   kind idea/suggestion is welcomed.
>
>   Thanks.
>
>
>
>
>
> Krzysztof Podejma <[hidden email]> wrote:
>   in this case it is in CommonScreens.xml in screen main
> list-name="invoiceTypes">
>
>
> but in most of screens this kind of data is in bsh files
> Krzysztof
>
> 2007/7/13, kurtis shipp :
> >
> > hello,
> >
> > Concerning the templates I was able to edit the application header
> > (appheader) by editing the file
> >
> c:\ofbiz\application\webapp\accounting\included\commonscreens.xml,alongside
> > this ,l edited commomonscreen.xml
> >
> > Also did some work with ......\accounting\webapp\accounting\main.ftl
> >
> > Now the question is:
> > 1. How do I edit the application navigation tab/bar that has
> > Account,Catalog,Content,Example.....
> >
> > 2. the list value for invoice for example, in the freemarker below:
> >
> > <#list invoiceTypes as invoiceType>
> >
> findInvoices?LookupFlag=Y&invoiceTypeId=${
> > invoiceType.invoiceTypeId}">${
> > uiLabelMap.AccountingShowInvoices} ${invoiceType.get
> > ("description",locale)}
> >
> >
> > where is the content of the list-map populated from?for example in the
> > case of the AccountingShowInvoices,the contents are
> >
> >
> >
> >
> > Show Invoices Commission
> > Show Invoices Customer Return
> > Show Invoices Interest
> > Show Invoices Purchase Invoice
> > Show Invoices Sales Invoice
> >
> > Show Invoices Approved
> > Show Invoices Cancelled
> > Show Invoices In-Process
> > Show Invoices Paid
> > Show Invoices Ready for Posting
> > Show Invoices Received
> > Show Invoices Sent
> > Show Invoices Write Off
> >
> >
> >
> >
> >
> > ---------------------------------
> > Boardwalk for $500? In 2007? Ha!
> > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
> > Games.
>
>
>
> ---------------------------------
> Be a better Globetrotter. Get better travel answers from someone who
> knows.
> Yahoo! Answers - Check it out.
Reply | Threaded
Open this post in threaded view
|

Re: where is list-map populated from?

kurtis shipp
hello,
   
  I commented out the permission in appbar.ftl and it generated the error below,I think this may not work cos of the structure of the list-map coupled with the permission.
   
  org.ofbiz.base.util.GeneralException: Error rendering screen [component://accounting/widget/CommonScreens.xml#main]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://accounting/widget/CommonScreens.xml#main-decorator]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included template at location [component://common/webcommon/includes/appbar.ftl]: freemarker.core.ParseException: Encountered "" at line 47, column 7.
Was expecting one of:
   
  in the CommonScreen.xml,there is appbar.ftl reference:
   
  <!-- render appbar -->
  <platform-specific><html><html-template location="component://assetmaint/webapp/assetmaint/includes/appbar.ftl"/></html></platform-specific>
  <container style="contentarea">
  <container style="${MainColumnStyle}">
   
  and having an indepth look at the appbar.ftl:
   
  <#if userLogin?has_content>
  <div id="main-navigation">
  <ul>
  <#list displayApps as display>
  <#assign thisApp = display.getContextRoot()>
  <#assign permission = true>
  <#assign selected = false>
  <#assign permissions = display.getBasePermission()>
  <#list permissions as perm>
  <#if (perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session))>
  <#assign permission = false>
  </#if>
  </#list>
  <#if permission == true>
  <#if thisApp == contextPath>
  <#assign selected = true>
  </#if>
  <li<#if selected> class="selected"</#if>><a href="${response.encodeURL(thisApp + "/control/main" + externalKeyParam)}" title=""><#if uiLabelMap?exists>${uiLabelMap[display.title]}<#else>${display.title}</#if></a></li>
  </#if>
  </#list>
  </ul>
  <br class="clear"/>
  </div>
  </#if>
   
  this shows that the appbar is built in a list-map.Now where is the list-map populated from?
   
  I did a "view source" on the page and extracted the following which is similar to the supposed content of the list-map above:
   
  <div id="main-navigation">
    <ul>
          <li class="selected"><a href="/accounting/control/main?externalLoginKey=EL70848341536" title="">Accounting</a></li>
          <li><a href="/catalog/control/main?externalLoginKey=EL70848341536" title="">Catalog</a></li>
          <li><a href="/content/control/main?externalLoginKey=EL70848341536" title="">Content</a></li>
          <li><a href="/example/control/main?externalLoginKey=EL70848341536" title="">Example</a></li>
          <li><a href="/facility/control/main?externalLoginKey=EL70848341536" title="">Facility</a></li>
          <li><a href="/manufacturing/control/main?externalLoginKey=EL70848341536" title="">Manufacturing</a></li>
          <li><a href="/marketing/control/main?externalLoginKey=EL70848341536" title="">Marketing</a></li>
          <li><a href="/ordermgr/control/main?externalLoginKey=EL70848341536" title="">Order</a></li>
          <li><a href="/partymgr/control/main?externalLoginKey=EL70848341536" title="">Party</a></li>
          <li><a href="/webtools/control/main?externalLoginKey=EL70848341536" title="">WebTools</a></li>
          <li><a href="/workeffort/control/main?externalLoginKey=EL70848341536" title="">WorkEffort</a></li>
    </ul>
    <br class="clear"/>
  </div>
<div class="centerarea">
   
   
  suggestion is highly welcomed.
   
  Thanks.
   
   
   
   
   
   
   
 
Krzysztof Podejma <[hidden email]> wrote:
  just remove security permission for apps that you don't want to use, and
these apps will be hidden.

Krzysztof

2007/7/13, kurtis shipp :

>
>
> I checked through CommonScreen.xml but could not find exactly what I
> want,l only got to see header.ftl,appbar.ftl,messages.ftl and footer.ftl
>
> The scenario is this:
> In the Application Tab bar,there are menus for
> Accounting,Catalog,Content,Example,Facility,Manufacturing,Marketing,Order,Party,Webtools,WorkEffort
>
> and I need only Accounting,Catalog, Party and Webtools for my project.
>
> have extensively checked through related files but does not seem to be
> getting it.
>
> kind idea/suggestion is welcomed.
>
> Thanks.
>
>
>
>
>
> Krzysztof Podejma wrote:
> in this case it is in CommonScreens.xml in screen main
> list-name="invoiceTypes">
>
>
> but in most of screens this kind of data is in bsh files
> Krzysztof
>
> 2007/7/13, kurtis shipp :
> >
> > hello,
> >
> > Concerning the templates I was able to edit the application header
> > (appheader) by editing the file
> >
> c:\ofbiz\application\webapp\accounting\included\commonscreens.xml,alongside
> > this ,l edited commomonscreen.xml
> >
> > Also did some work with ......\accounting\webapp\accounting\main.ftl
> >
> > Now the question is:
> > 1. How do I edit the application navigation tab/bar that has
> > Account,Catalog,Content,Example.....
> >
> > 2. the list value for invoice for example, in the freemarker below:
> >
> > <#list invoiceTypes as invoiceType>
> >
> findInvoices?LookupFlag=Y&invoiceTypeId=${
> > invoiceType.invoiceTypeId}">${
> > uiLabelMap.AccountingShowInvoices} ${invoiceType.get
> > ("description",locale)}
> >
> >
> > where is the content of the list-map populated from?for example in the
> > case of the AccountingShowInvoices,the contents are
> >
> >
> >
> >
> > Show Invoices Commission
> > Show Invoices Customer Return
> > Show Invoices Interest
> > Show Invoices Purchase Invoice
> > Show Invoices Sales Invoice
> >
> > Show Invoices Approved
> > Show Invoices Cancelled
> > Show Invoices In-Process
> > Show Invoices Paid
> > Show Invoices Ready for Posting
> > Show Invoices Received
> > Show Invoices Sent
> > Show Invoices Write Off
> >
> >
> >
> >
> >
> > ---------------------------------
> > Boardwalk for $500? In 2007? Ha!
> > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
> > Games.
>
>
>
> ---------------------------------
> Be a better Globetrotter. Get better travel answers from someone who
> knows.
> Yahoo! Answers - Check it out.


       
---------------------------------
Pinpoint customers who are looking for what you sell.
Reply | Threaded
Open this post in threaded view
|

Re: where is list-map populated from?

Krzysztof Podejma
dont change appbar.ftl, just delete some(related to apps that you don't want
to use) security permissions from security groups that are applied to user
logins

Krzysztof

2007/7/13, kurtis shipp <[hidden email]>:

>
> hello,
>
>   I commented out the permission in appbar.ftl and it generated the error
> below,I think this may not work cos of the structure of the list-map coupled
> with the permission.
>
>   org.ofbiz.base.util.GeneralException: Error rendering screen
> [component://accounting/widget/CommonScreens.xml#main]:
> org.ofbiz.base.util.GeneralException: Error rendering screen
> [component://accounting/widget/CommonScreens.xml#main-decorator]:
> org.ofbiz.base.util.GeneralException: Error rendering screen
> [component://common/widget/CommonScreens.xml#GlobalDecorator]:
> java.lang.RuntimeException: Error rendering included template at location
> [component://common/webcommon/includes/appbar.ftl]:
> freemarker.core.ParseException: Encountered "" at line 47, column 7.
> Was expecting one of:
>
>   in the CommonScreen.xml,there is appbar.ftl reference:
>
>   <!-- render appbar -->
>   <platform-specific><html><html-template
> location="component://assetmaint/webapp/assetmaint/includes/appbar.ftl"/></html></platform-specific>
>   <container style="contentarea">
>   <container style="${MainColumnStyle}">
>
>   and having an indepth look at the appbar.ftl:
>
>   <#if userLogin?has_content>
>   <div id="main-navigation">
>   <ul>
>   <#list displayApps as display>
>   <#assign thisApp = display.getContextRoot()>
>   <#assign permission = true>
>   <#assign selected = false>
>   <#assign permissions = display.getBasePermission()>
>   <#list permissions as perm>
>   <#if (perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW",
> session))>
>   <#assign permission = false>
>   </#if>
>   </#list>
>   <#if permission == true>
>   <#if thisApp == contextPath>
>   <#assign selected = true>
>   </#if>
>   <li<#if selected> class="selected"</#if>><a href="${response.encodeURL(thisApp
> + "/control/main" + externalKeyParam)}" title=""><#if
> uiLabelMap?exists>${uiLabelMap[display.title]}<#else>${display.title
> }</#if></a></li>
>   </#if>
>   </#list>
>   </ul>
>   <br class="clear"/>
>   </div>
>   </#if>
>
>   this shows that the appbar is built in a list-map.Now where is the
> list-map populated from?
>
>   I did a "view source" on the page and extracted the following which is
> similar to the supposed content of the list-map above:
>
>   <div id="main-navigation">
>     <ul>
>           <li class="selected"><a
> href="/accounting/control/main?externalLoginKey=EL70848341536"
> title="">Accounting</a></li>
>           <li><a
> href="/catalog/control/main?externalLoginKey=EL70848341536"
> title="">Catalog</a></li>
>           <li><a
> href="/content/control/main?externalLoginKey=EL70848341536"
> title="">Content</a></li>
>           <li><a
> href="/example/control/main?externalLoginKey=EL70848341536"
> title="">Example</a></li>
>           <li><a
> href="/facility/control/main?externalLoginKey=EL70848341536"
> title="">Facility</a></li>
>           <li><a
> href="/manufacturing/control/main?externalLoginKey=EL70848341536"
> title="">Manufacturing</a></li>
>           <li><a
> href="/marketing/control/main?externalLoginKey=EL70848341536"
> title="">Marketing</a></li>
>           <li><a
> href="/ordermgr/control/main?externalLoginKey=EL70848341536"
> title="">Order</a></li>
>           <li><a
> href="/partymgr/control/main?externalLoginKey=EL70848341536"
> title="">Party</a></li>
>           <li><a
> href="/webtools/control/main?externalLoginKey=EL70848341536"
> title="">WebTools</a></li>
>           <li><a
> href="/workeffort/control/main?externalLoginKey=EL70848341536"
> title="">WorkEffort</a></li>
>     </ul>
>     <br class="clear"/>
>   </div>
> <div class="centerarea">
>
>
>   suggestion is highly welcomed.
>
>   Thanks.
>
>
>
>
>
>
>
>
> Krzysztof Podejma <[hidden email]> wrote:
>   just remove security permission for apps that you don't want to use, and
> these apps will be hidden.
>
> Krzysztof
>
> 2007/7/13, kurtis shipp :
> >
> >
> > I checked through CommonScreen.xml but could not find exactly what I
> > want,l only got to see header.ftl,appbar.ftl,messages.ftl and footer.ftl
> >
> > The scenario is this:
> > In the Application Tab bar,there are menus for
> >
> Accounting,Catalog,Content,Example,Facility,Manufacturing,Marketing,Order,Party,Webtools,WorkEffort
> >
> > and I need only Accounting,Catalog, Party and Webtools for my project.
> >
> > have extensively checked through related files but does not seem to be
> > getting it.
> >
> > kind idea/suggestion is welcomed.
> >
> > Thanks.
> >
> >
> >
> >
> >
> > Krzysztof Podejma wrote:
> > in this case it is in CommonScreens.xml in screen main
> > list-name="invoiceTypes">
> >
> >
> > but in most of screens this kind of data is in bsh files
> > Krzysztof
> >
> > 2007/7/13, kurtis shipp :
> > >
> > > hello,
> > >
> > > Concerning the templates I was able to edit the application header
> > > (appheader) by editing the file
> > >
> >
> c:\ofbiz\application\webapp\accounting\included\commonscreens.xml,alongside
> > > this ,l edited commomonscreen.xml
> > >
> > > Also did some work with ......\accounting\webapp\accounting\main.ftl
> > >
> > > Now the question is:
> > > 1. How do I edit the application navigation tab/bar that has
> > > Account,Catalog,Content,Example.....
> > >
> > > 2. the list value for invoice for example, in the freemarker below:
> > >
> > > <#list invoiceTypes as invoiceType>
> > >
> > findInvoices?LookupFlag=Y&invoiceTypeId=${
> > > invoiceType.invoiceTypeId}">${
> > > uiLabelMap.AccountingShowInvoices} ${invoiceType.get
> > > ("description",locale)}
> > >
> > >
> > > where is the content of the list-map populated from?for example in the
> > > case of the AccountingShowInvoices,the contents are
> > >
> > >
> > >
> > >
> > > Show Invoices Commission
> > > Show Invoices Customer Return
> > > Show Invoices Interest
> > > Show Invoices Purchase Invoice
> > > Show Invoices Sales Invoice
> > >
> > > Show Invoices Approved
> > > Show Invoices Cancelled
> > > Show Invoices In-Process
> > > Show Invoices Paid
> > > Show Invoices Ready for Posting
> > > Show Invoices Received
> > > Show Invoices Sent
> > > Show Invoices Write Off
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------
> > > Boardwalk for $500? In 2007? Ha!
> > > Play Monopoly Here and Now (it's updated for today's economy) at
> Yahoo!
> > > Games.
> >
> >
> >
> > ---------------------------------
> > Be a better Globetrotter. Get better travel answers from someone who
> > knows.
> > Yahoo! Answers - Check it out.
>
>
>
> ---------------------------------
> Pinpoint customers who are looking for what you sell.
Reply | Threaded
Open this post in threaded view
|

Re: where is list content located?

BJ Freeman
In reply to this post by kurtis shipp
in the ofbiz-component.xml
add to the  <webapp name=
app-bar-display="false"


kurtis shipp sent the following on 7/13/2007 12:04 AM:

> I checked through CommonScreen.xml but could not find exactly what I want,l only got to see header.ftl,appbar.ftl,messages.ftl and footer.ftl
>    
>   The scenario is this:
>   In the Application Tab bar,there are menus for Accounting,Catalog,Content,Example,Facility,Manufacturing,Marketing,Order,Party,Webtools,WorkEffort
>    
>   and I need only Accounting,Catalog, Party and Webtools for my project.
>    
>   have extensively checked through related files but does not seem to be getting it.
>    
>   kind idea/suggestion is welcomed.
>    
>   Thanks.
>    
>    
>    
>    
>  
> Krzysztof Podejma <[hidden email]> wrote:
>   in this case it is in CommonScreens.xml in screen main
> list-name="invoiceTypes">
>
>
> but in most of screens this kind of data is in bsh files
> Krzysztof
>
> 2007/7/13, kurtis shipp :
>> hello,
>>
>> Concerning the templates I was able to edit the application header
>> (appheader) by editing the file
>> c:\ofbiz\application\webapp\accounting\included\commonscreens.xml,alongside
>> this ,l edited commomonscreen.xml
>>
>> Also did some work with ......\accounting\webapp\accounting\main.ftl
>>
>> Now the question is:
>> 1. How do I edit the application navigation tab/bar that has
>> Account,Catalog,Content,Example.....
>>
>> 2. the list value for invoice for example, in the freemarker below:
>>
>> <#list invoiceTypes as invoiceType>
>>  
> findInvoices?LookupFlag=Y&invoiceTypeId=${
>> invoiceType.invoiceTypeId}">${
>> uiLabelMap.AccountingShowInvoices} ${invoiceType.get
>> ("description",locale)}
>>
>>
>> where is the content of the list-map populated from?for example in the
>> case of the AccountingShowInvoices,the contents are
>>
>>
>>
>>
>> Show Invoices Commission
>> Show Invoices Customer Return
>> Show Invoices Interest
>> Show Invoices Purchase Invoice
>> Show Invoices Sales Invoice
>>
>> Show Invoices Approved
>> Show Invoices Cancelled
>> Show Invoices In-Process
>> Show Invoices Paid
>> Show Invoices Ready for Posting
>> Show Invoices Received
>> Show Invoices Sent
>> Show Invoices Write Off
>>
>>
>>
>>
>>
>> ---------------------------------
>> Boardwalk for $500? In 2007? Ha!
>> Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
>> Games.
>
>
>        
> ---------------------------------
> Be a better Globetrotter. Get better travel answers from someone who knows.
> Yahoo! Answers - Check it out.
12