Re: Need to make text field of date-time field in form widgets non editable
Does this do what you want? Cheers, Anne. 2009/8/13 Hemanth Kumar Kanamarlapudi : > Hi Users, > > Can any one help out if we can make the text field in date-time field used in > form widgets as non editable? > > Because of this I am forced to validate all the dates entered for valid check > in my events class. > (eg: modified date from 12-01-2010 to 00-00-) > > Present usage: > > > Thanks in advance. > > Regards > Hemanth > > > > http://www.mindtree.com/email/disclaimer.html > -- Coherent Software Australia Pty Ltd PO Box 2773 Cheltenham Vic 3192 Phone: (03) 9585 6788 Fax: (03) 9585 1086 Web: http://www.cohsoft.com.au/ Email: sa...@cohsoft.com.au
Need to make text field of date-time field in form widgets non editable
Hi Users, Can any one help out if we can make the text field in date-time field used in form widgets as non editable? Because of this I am forced to validate all the dates entered for valid check in my events class. (eg: modified date from 12-01-2010 to 00-00-) Present usage: Thanks in advance. Regards Hemanth http://www.mindtree.com/email/disclaimer.html
Re: Content Manager documentation
See if the following helps, http://docs.ofbiz.org/download/attachments/742/ManagerReferenceContent.pdf This is a little old; it was created and uploaded by David and Lee Austin at around end of 2006 On Sun, Aug 9, 2009 at 7:45 AM, Carsten Schinzer wrote: > ... and there's some of us working on a documentation. Including > translations to non-english. > > So if you want to contribute -- as the "first use" perspective drives the > (critical) emotional decision whether people like the software or not -- > you > are very welcome to post your requirements or any comments here or directly > to me (if you do not want to bother the list). > > From a business user point of view, your starting point may be here: > http://docs.ofbiz.org/display/OFBENDUSER/Content+Manager+Role > > While from a technical point of view, this is your entry point to > understanding some (not all) concepts: > http://docs.ofbiz.org/display/OFBENDUSER/Content+Management+Overview > > Regards > > > Carsten >
Purchasing services to process components, and receiving processed components
I have the same problem as this: 1. Create a product of type "service" named PAINTING, 2. Create a PO to purchase this service, 3. Attach to this PO an outgoing shipment ferrying my parts to my vendor, 4. Receive the PO and have my painted parts in my inventory rather than the product PAINTING. Is there anyone could help me? Thanks. http://www.nabble.com/Purchasing-services-to-process-components%2C-and-receiving-processed-components-tt8443719.html#a8453041 http://www.nabble.com/Purchasing-services-to-process-components%2C-and-receiving-processed-components-tt8443719.html#a8453041 -- View this message in context: http://www.nabble.com/Purchasing-services-to-process-components%2C-and-receiving-processed-components-tp24943855p24943855.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: ecommerce / CommonScreens.xml
Hi, - As you mentioned yourself there is no relation between VT_HDR_TMPLT_LOC and the Featured Products Window - Featured products come from the Category with the category type Promotions. So look at the Catalog that you are viewing from the eCommerce module and verify if there is a Category for promotions configured On Wed, Aug 12, 2009 at 4:36 AM, Schubi wrote: > > thanks for your help > > I found the variable. But I see no connection between the VT_HDR_TMPLT_LOC > witch is for the implementation of the header and the window from the > Featured products. Is there somethink special to look for? The used > header.ftl and headerHead.ftl are still the same in both applications i > just > changed the title part > -- > View this message in context: > http://www.nabble.com/ecommerce---CommonScreens.xml-tp24916251p24931864.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > >
Re: Need help in modelling requirements for a catering business
Hi Senthil, Good luck with your new product for the catering business. I believe you are heading in the right direction. Let me add my perspective to it Ofbiz has a Suite of back office applications including Party, Catalog, Accounting (AP, AR), Manufacturing, Order and the front office application which is eCommerce *Party* - - Configure your Company for Accounting - Configure customers (who is ordering food), or they could create a account online using the eCommerce Module - Configure Suppliers (for the raw materials like Wheat, Rice, Flour etc) or in some cases you will be buying finished products from outside party *Catalog* - - Add all your ingredients with the Product type Goods etc - Add your product to be delivered e.g. Thali etc as Finished good etc, You could create deliverable produts using the Manufacturing module using the ingredients that have configured in the previous step *Order Manager* - Purchase Order to your Suppliers for buying ingredients - Customers could place order using the phone and your Customer Support could add Sales Order on behalf of your customers if the customers call in by phone. *eCommerce* - Customers could place order directly using internet *Facility * - * *Configure your warehouse and Use the Receive Orders to manage your inventory in your warehouse. *Manufacturing * - Configure your Food production process using Manufacturing module. Track the inventory of the ingredients based on the food production process; You will be configuring your food production process namely time to produce the food, ingredients required for the food. When ever you need the food run the Production Job this will update your inventory, Work effort etc based on the configuration. Your questions - Your sales order is your catering order, but by setting up Manufacturing module for the food you could link your sales order with the inventory, work effort etc. - You may want to replenish your inventory based on the QOH and ATP and may be not wait for the sales order to come thru. I believe you may have to create purchase order manually based on the inventory level; I'm not aware of an automatic replenishment Regards Sakthi On Sun, Aug 9, 2009 at 5:09 AM, Anil Patel wrote: > Senthil, > Ofbiz demo data has sample of PIZZA product. You can order it from > ecommerce application. This simple example that will give you good start to > design your system. > > Regards > Anil Patel > > > > On Aug 8, 2009, at 8:59 PM, Senthil Saivam wrote: > > Hi, >> >> I am looking at building something for a catering business. I have looked >> at the demos of OFBiz and have seen what it offers for order, inventory, >> product and facility management. I need some suggestions on how to map my >> requirements to the features offered by OFBiz. >> >> The basic idea is that the system is fed with the fixed menu offered by >> the business and also the ingredients required to make each item in the >> menu. Somebody (event manager?) enters the order (lets call it catering >> order) for an event (say 200 dinners ...). This is used to create a >> corresponding order of the actual ingredients required and sent to the >> stores department. The stores department will need to see what is available >> in stock and procure the items not in stock. >> >> Based on my understanding of OFBiz, I think my requirements can be >> incorporated in the following manner: >> 1. Use the ecommerce application to accept the catering order from the >> items in the menu >> 2. Automatically create a sales order for the actual ingredients required >> to cook the catering order >> 3. Depending on the inventory, automatically create a purchase order for >> the ingredients not in stock >> 4. Use the "Receive Items" feature of the purchase order to update the >> inventory after procurment >> >> Following are the questions I have: >> 1. Is my design going in the right direction! >> 2. How would I model the menu items and the ingredients for each item? >> Menu items are used in the catering order and ingredients are used in the >> sales/purchase order. I guess the ingredients are the products in OFBiz. >> 3. Should the catering order be modelled as just another sales order? For >> every sales order, I will also need to keep track of the corresponding >> catering order. How would I do this? >> 4. Is there a way to automatically create a purchase order for all the >> missing items in the inventory required to fulfill all the approved sales >> orders at any point of time? >> >> Thanks for your help. >> >> cheers, >> senthil >> > >
Re: can we host this application inside webapps in tomacat server
Manish, you can set up several tomcat instances to run next to each other. basically what you will need to do is configuring separate listen ports for you new instance. http://azeditech.com/tomcat/multiple-tomcat-instances.html Note that I consider this to be purely a Tomcat issue (hence further issues NOT for this list for discussion but rather (if you want to make people happy) an update suggestion for existing OFBiz documentation as referenced earlier on this thread. Note also, that the typical Tomcat templates in OFBIZ_HOME/framework/appserver/templates/tomcat6 may not apply in the event it is the non-default-ports-Tomcat instance that you want to run with OFBiz. And your application will only be reachable at http://localhost:/ specified in the server/config.xml. In order to test, you may STOP your other Tomcat application and then startup the OFBiz one (just to see if things work out). However, mid term you will have to either separate physical hosts if you want to keep runing with default configs on both ends, or you wil have to change one of the two Tomcats to run on a different portset. Note that there is no issue to be expected once the port conflicts for the local Tomcats have been resolved. The two JVMs will run as isolated processes in your machine. Let me know if this resolves your startup issues (I hope so). Kind regards Carsten 2009/8/12 manish > Hi Carsten Schinzer; > > In my server there an application already running in tomcat, so my problem > is how I can install the ofbiz in that server, will the ofbiz application > effect my current running application. > > With Regards, > Manish.K > www.cevalsoft.com > > Go Green > Print only when necessary. > > > -Original Message- > From: Carsten Schinzer [mailto:c.schin...@googlemail.com] > Sent: Wednesday, August 12, 2009 7:26 PM > To: user@ofbiz.apache.org > Subject: Re: can we host this application inside webapps in tomacat server > > do you mean, another tomcat instance is already running with this very > configuration and you try to start another instance with the same > configuration? > > -- Best Carsten Schinzer Waisenhausstr. 53a 80637 München Germany
Portlets
Hi, *1. Does OFBiz have a **jsr-168 compliant portlet container?* I've found a thread on this which mentions some work is going around portlets. Is it jsr-168 compliant? And how much stable is the application? Can it be used in production environment? *2. Does OFBiz have a **OASIS compliant WSRP consumer?* I did not find any information on this in the web. Regards, Kaushik
RE: can we host this application inside webapps in tomacat server
Hi Carsten Schinzer; In my server there an application already running in tomcat, so my problem is how I can install the ofbiz in that server, will the ofbiz application effect my current running application. With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: Carsten Schinzer [mailto:c.schin...@googlemail.com] Sent: Wednesday, August 12, 2009 7:26 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server do you mean, another tomcat instance is already running with this very configuration and you try to start another instance with the same configuration?
Re: can we host this application inside webapps in tomacat server
do you mean, another tomcat instance is already running with this very configuration and you try to start another instance with the same configuration?
RE: can we host this application inside webapps in tomacat server
Hi; I have a doubt, is it possible to but the ofbiz application in a server where tomcat is already installed and an application is running in it. With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary.
Re: Deleting usernames?
Thanks for bringing up the PCI standard. It did not come to mind for me to be more specific about my post. I understand the this is important for users of ofbiz where credit card info is exchanged. I was really referring to usernames assocated with parties that are in the organization (ie. employees, consultants, etc). Given that is the scenario, does the PCI spec somehow explicitly prevent a system from deleting usernames or is it just a matter of being able to identify a particular party for auditing purposes. In other words, if the system can uniquely identify a party via a partyId/userLoginId combo, would this suffice for auditing purposes. Granted that for external users, I totally agree with you that a usernames should always be associated with a particular external user and username deletion should not be an option. Would a solution where parties working for the organization can be deleted and/or reassigned. Whereas parties that are considered external to the organization should not. Thanks David E Jones-4 wrote: > > > On Aug 7, 2009, at 9:28 PM, buzlite wrote: > >> >> As a followup to my last posting. Since a username is undeletable and >> unrecyclable. I think that this is a serious shortcoming of the >> system. > > Well, keep thinking. Maybe you'll loop back around to why this is a > good idea. As for the namespace, consider that with case-sensitive > alphanumeric characters you only need 6 letters to cover 56 billion > possibilities. This would include lots of inconvenient combinations, > but you get the idea... it's more than enough to cover all people in > the world, almost enough for 10 accounts for each person. > > In short, history and auditability is more important than deleting and > recycling users. In fact it's also something to watch out for if you > want to be compliant with PCI and other standards (aside from it just > being a good idea). > > -David > > >> One solution entails the creation of 2 additional fields, >> createdByPartyId >> and lastModifiedByPartyId, for each entity that stores references to >> the >> UserLogin Entity. This solution would places less emphasis on the >> userLoginId in favor of partyId for auditing purposes. This implies >> that >> createdByUserLogin and lastModifiedByUserLogin would be more for >> storing >> what the username was at the time representing the party that >> initiated the >> transaction for the entity in question. In other words, the >> createdByUserLogin and lastModifiedByUserLogin would simply be used >> for >> storing usernames rather than be used for referencing the the >> UserLogin >> Entity. Since the username might not even exist during a given time. >> Whereas >> the createdByPartyId and lastModifiedByPartyId would always be valid. >> >> This would permit the usernames to be deleted and even recycled for >> future >> use. >> >> The (createdByPartyId/createdByUserLogin/createdDate) triplet and >> (lastModifiedByPartyId/lastModifiedByUserLogin/lastModifiedDate) >> triple >> would be unique enough to identify the correct party for auditing >> purposes >> over the life of the ofbiz system. Given that in an ERP system, the >> party is >> not likely to be deleted. >> >> What are the Consequences? >> -This option requires a _lot_ of entities to be modified and hence >> potentially cause system instability. >> -creation of createdByPartyId and lastModifiedByPartyId and >> appropriate >> relations to Party Entity. >> -destruction of relations from affected entities to the UserLogin >> Entity >> (??? I don't know how the entity engine would react to this change???) >> -Code needs to be adapted to treat createdByUserLogin and >> lastModifiedUserLogin as username holders and use createdByPartyId and >> lastModifiedByPartyId to reference the Party Entity. >> >> How would it affect existing ofbiz customers? >> -After the new fields in the database is created, a "./ant" >> command would >> be run to populate the createdByPartyId and lastModifiedByPartyId >> fields >> >> >> This would seem like a pretty big job. :-( >> >> >> >> YinT wrote: >>> >>> I figured that was the reason why username deletions would be >>> discouraged >>> since this is an ERP system and auditing related matters are >>> essential. >>> >>> Given the fact that usernames are not deletable and can only be >>> disabled, >>> wouldn't it cause problems related to running out of usernames to >>> assign >>> to subsequent employees. I.e. over time, there would be less and >>> less >>> available usernames to assign to new employees. >>> >>> Also given that usernames cannot be recycled for another employee and >>> given that employees come and go, has no company ever encountered >>> such a >>> problem so far? >>> >>> Thanks >>> >>> >>> Carsten Schinzer wrote: Some reasoning: I think deletion is not recommended, because there are plenty references to
Re: I18n for Catalog
Hi Pavel, I agree with you, and BTW I just found the very same issue for ProductFeature and a possible extension of ProductFeature.name etc. to cope with i18n. I was thinking to then go an model the ProductFeatureContent entity myself and just do it similar to what I find in {OFBIZ_HOME}/applications/product/entity/entitymodel.xml However, there would not only be the entity model to change but also all the widgets in you ecommerce application (at least). My feeling is that while on the respective admin screens I/we could live with english naming conventions, the customers are not necessarily up to speed with other languages and would possibly need to be able to narrow product features down in their own language (so they finally narrow all choices down and get to the sellable product and do not end up with the virtual product screen and get stuck). For now I got simply afraid of the potential customisation effort and as the site will launch with a single language first and others only extended as we roll-up more markets, I have not started to work in that direction yet. Let me know your experiences. But having a i18n catalog selector on the ecommerce homepage does not sound like it's worth huge efforts either? Regards Carsten 2009/8/12 Pavel Drobushevich > Hi Carsten, > > Thanks, > but I saw this files. But DemoProductCategoriesI18nData show how I18n of > ProductCategory: update ProductCategoryContent table, which has FK to > ProductCategory entity. > DemoProductI18nData show how I18n of Product entity: update ProductContent > table, which has FK to Product entity. > > But I need I18n of ProdCatalog entity. I thought what OfBiz has also > similar way for ProdCatalog. > I'm understand what it's not difficult to create table ProdCatalogContent, > but at first I want to find standard way. > > Best Regards, > Pavel Drobushevich > mailto: p.drobushev...@gmail.com > icq: 450345393 > skype: pavel_drabushevich > > > On Fri, Aug 7, 2009 at 18:17, Carsten Schinzer > wrote: > >> Hi Pavel, >> >> I don't think I quite get your question. can you please explain. >> I am interested in i18n myself a lot and what I see in >> >> >> {OFBIZ_HOME}/specialpurpose/ecommerce/data/DemoProductCategoriesI18nData.xml >> {OFBIZ_HOME}/specialpurpose/ecommerce/data/DemoProductI18nData.xml >> >> makes good sense to me. I take that and extend the XML for my initial >> catalogue data. If you need another language, just add the elements. You >> will need to be somehow firm with the CMS concepts. >> And you will need your own naming conventions for the ID references. >> >> Are these comments somehow going the direction you want? Please share more >> details on your concrete issue. What do you want to achieve? >> >> Regards >> >> >> Carsten >> >> >> 2009/8/7 Pavel Drobushevich >> >> > Hi all, >> > >> > I have next problem. I see examples and tables (ProductCategoryContent, >> > ProductContent) for I18n of some category or product, but I didn't find >> > any similar methods to I18n catalogs. >> > Could you help me? >> > >> > Thanks in advance. >> > >> > Best Regards, >> > Pavel Drobushevich >> > mailto: p.drobushev...@gmail.com >> > icq: 450345393 >> > skype: pavel_drabushevich >> > >> >> >> >> -- >> >> Best >> >> Carsten Schinzer >> >> Waisenhausstr. 53a >> 80637 München >> Germany >> > > -- Best Carsten Schinzer Waisenhausstr. 53a 80637 München Germany
Re: can we host this application inside webapps in tomacat server
To me this problem seems to be at line 46. set JAVA_OPTS="%JAVA_OPTS% -Dofbiz.home=E:\ofbiz" I do not have Windows environment to test the script. Therefore, I suggest the following: Check you do not have spaces in environment variables. or Remove the JAVA_OPTS and try using the CATALINA_OPTS instead. It should not make difference though, just give it a try and see if error changes. or Instead of JAVA_OPTS or CATALINA_OPTS, try modifying the command line as given below: i. Define OFBIZ_HOME environment variable e.g set OFBIZ_HOME=E:\ofbiz ii. Modify the command line by adding the -Dofbiz.home=%OFBIZ_HOME%. Look at how -Dcatalina.home and -Dcataline.base are passed. Thanks, Raj manish wrote: Hi; Please check this link: http://pastebin.com/mcf39603 With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: Raj Saini [mailto:rajsa...@gmail.com] Sent: Wednesday, August 12, 2009 4:25 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server To me it looks like a wrong command line while running the Tomcat. You put the echo statements in catalina batch script and post the out put to get a idea what is going wrong. Thanks, Raj manish wrote: Hi; E:\>catalina run Using CATALINA_BASE: E:\apache-tomcat-6.0.18 Using CATALINA_HOME: E:\apache-tomcat-6.0.18 Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp Using JRE_HOME:C:\Java\jre6 Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E:\ofbiz Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:\ofbiz at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: Raj Saini [mailto:rajsa...@gmail.com] Sent: Wednesday, August 12, 2009 4:08 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server Try replacing the slash with the back slash in the ofbiz.home folder. Thanks, Raj manish wrote: Hi; C:\Documents and Settings\subash>catalina run Using CATALINA_BASE: E:\apache-tomcat-6.0.18 Using CATALINA_HOME: E:\apache-tomcat-6.0.18 Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp Using JRE_HOME:C:\Java\jre6 Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E:/ofbiz Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: BJ Freeman [mailto:bjf...@free-man.net] Sent: Wednesday, August 12, 2009 3:33 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server Dofbiz/home=E should specify the path to where the ofbiz.jar is located. manish sent the following on 8/12/2009 2:35 AM: Hi; What I got a new error: C:\>catalina run Using CATALINA_BASE: E:\apache-tomcat-6.0.18 Using CATALINA_HOME: E:\apache-tomcat-6.0.18 Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp Using JRE_HOME:C:\Java\jre6 Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: Raj Saini [mailto:rajsa...@gmail.com] Sent: Wednesday, August 12, 2009 2:14 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server As I pointed out before, log clearly tells about the problem i.e. "I
RE: can we host this application inside webapps in tomacat server
Hi; Please check this link: http://pastebin.com/mcf39603 With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: Raj Saini [mailto:rajsa...@gmail.com] Sent: Wednesday, August 12, 2009 4:25 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server To me it looks like a wrong command line while running the Tomcat. You put the echo statements in catalina batch script and post the out put to get a idea what is going wrong. Thanks, Raj manish wrote: > Hi; > > E:\>catalina run > Using CATALINA_BASE: E:\apache-tomcat-6.0.18 > Using CATALINA_HOME: E:\apache-tomcat-6.0.18 > Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp > Using JRE_HOME:C:\Java\jre6 > Exception in thread "main" java.lang.NoClassDefFoundError: > -Dofbiz/home=E:\ofbiz > Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:\ofbiz > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > > With Regards, > Manish.K > www.cevalsoft.com > > Go Green > Print only when necessary. > > > -Original Message- > From: Raj Saini [mailto:rajsa...@gmail.com] > Sent: Wednesday, August 12, 2009 4:08 PM > To: user@ofbiz.apache.org > Subject: Re: can we host this application inside webapps in tomacat server > > Try replacing the slash with the back slash in the ofbiz.home folder. > > Thanks, > > Raj > > manish wrote: > >> Hi; >> >> C:\Documents and Settings\subash>catalina run >> Using CATALINA_BASE: E:\apache-tomcat-6.0.18 >> Using CATALINA_HOME: E:\apache-tomcat-6.0.18 >> Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp >> Using JRE_HOME:C:\Java\jre6 >> Exception in thread "main" java.lang.NoClassDefFoundError: >> -Dofbiz/home=E:/ofbiz >> Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz >> at java.net.URLClassLoader$1.run(Unknown Source) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(Unknown Source) >> at java.lang.ClassLoader.loadClass(Unknown Source) >> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) >> at java.lang.ClassLoader.loadClass(Unknown Source) >> at java.lang.ClassLoader.loadClassInternal(Unknown Source) >> >> With Regards, >> Manish.K >> www.cevalsoft.com >> >> Go Green >> Print only when necessary. >> >> >> -Original Message- >> From: BJ Freeman [mailto:bjf...@free-man.net] >> Sent: Wednesday, August 12, 2009 3:33 PM >> To: user@ofbiz.apache.org >> Subject: Re: can we host this application inside webapps in tomacat server >> >> Dofbiz/home=E >> should specify the path to where the ofbiz.jar is located. >> >> manish sent the following on 8/12/2009 2:35 AM: >> >> >>> Hi; >>> >>> What I got a new error: >>> >>> C:\>catalina run >>> Using CATALINA_BASE: E:\apache-tomcat-6.0.18 >>> Using CATALINA_HOME: E:\apache-tomcat-6.0.18 >>> Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp >>> Using JRE_HOME:C:\Java\jre6 >>> Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E >>> Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz >>> at java.net.URLClassLoader$1.run(Unknown Source) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.net.URLClassLoader.findClass(Unknown Source) >>> at java.lang.ClassLoader.loadClass(Unknown Source) >>> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) >>> at java.lang.ClassLoader.loadClass(Unknown Source) >>> at java.lang.ClassLoader.loadClassInternal(Unknown Source) >>> >>> >>> With Regards, >>> Manish.K >>> www.cevalsoft.com >>> >>> Go Green >>> Print only when necessary. >>> >>> >>> -Original Message- >>> From: Raj Saini [mailto:rajsa...@gmail.com] >>> Sent: Wednesday, August 12, 2009 2:14 PM >>> To: user@ofbiz.apache.org >>> Subject: Re: can we host this application inside webapps in tomacat server >>> >>> As I pointed out before, log clearly tells about the problem i.e. >>> "Invalid initial heap size". I am not sure what is wrong there but >>> certainly this is the cause of the problem as reported by Java >>> executable. Does your system have enough RAM? Try removing the -Xms and >>> -Xmx VM arguments all together, run Tomcat and if it goes beyond this >>> point add them correctly. Also paste the part of the script where these >>> two are defined. >>> >>> >>> Could not create the
Re: can we host this application inside webapps in tomacat server
To me it looks like a wrong command line while running the Tomcat. You put the echo statements in catalina batch script and post the out put to get a idea what is going wrong. Thanks, Raj manish wrote: Hi; E:\>catalina run Using CATALINA_BASE: E:\apache-tomcat-6.0.18 Using CATALINA_HOME: E:\apache-tomcat-6.0.18 Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp Using JRE_HOME:C:\Java\jre6 Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E:\ofbiz Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:\ofbiz at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: Raj Saini [mailto:rajsa...@gmail.com] Sent: Wednesday, August 12, 2009 4:08 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server Try replacing the slash with the back slash in the ofbiz.home folder. Thanks, Raj manish wrote: Hi; C:\Documents and Settings\subash>catalina run Using CATALINA_BASE: E:\apache-tomcat-6.0.18 Using CATALINA_HOME: E:\apache-tomcat-6.0.18 Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp Using JRE_HOME:C:\Java\jre6 Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E:/ofbiz Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: BJ Freeman [mailto:bjf...@free-man.net] Sent: Wednesday, August 12, 2009 3:33 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server Dofbiz/home=E should specify the path to where the ofbiz.jar is located. manish sent the following on 8/12/2009 2:35 AM: Hi; What I got a new error: C:\>catalina run Using CATALINA_BASE: E:\apache-tomcat-6.0.18 Using CATALINA_HOME: E:\apache-tomcat-6.0.18 Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp Using JRE_HOME:C:\Java\jre6 Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: Raj Saini [mailto:rajsa...@gmail.com] Sent: Wednesday, August 12, 2009 2:14 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server As I pointed out before, log clearly tells about the problem i.e. "Invalid initial heap size". I am not sure what is wrong there but certainly this is the cause of the problem as reported by Java executable. Does your system have enough RAM? Try removing the -Xms and -Xmx VM arguments all together, run Tomcat and if it goes beyond this point add them correctly. Also paste the part of the script where these two are defined. Could not create the Java virtual machine. Invalid initial heap size: -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz Fatal error: Target VM failed to initialize.
RE: can we host this application inside webapps in tomacat server
Hi; E:\>catalina run Using CATALINA_BASE: E:\apache-tomcat-6.0.18 Using CATALINA_HOME: E:\apache-tomcat-6.0.18 Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp Using JRE_HOME:C:\Java\jre6 Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E:\ofbiz Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:\ofbiz at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: Raj Saini [mailto:rajsa...@gmail.com] Sent: Wednesday, August 12, 2009 4:08 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server Try replacing the slash with the back slash in the ofbiz.home folder. Thanks, Raj manish wrote: > Hi; > > C:\Documents and Settings\subash>catalina run > Using CATALINA_BASE: E:\apache-tomcat-6.0.18 > Using CATALINA_HOME: E:\apache-tomcat-6.0.18 > Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp > Using JRE_HOME:C:\Java\jre6 > Exception in thread "main" java.lang.NoClassDefFoundError: > -Dofbiz/home=E:/ofbiz > Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > > With Regards, > Manish.K > www.cevalsoft.com > > Go Green > Print only when necessary. > > > -Original Message- > From: BJ Freeman [mailto:bjf...@free-man.net] > Sent: Wednesday, August 12, 2009 3:33 PM > To: user@ofbiz.apache.org > Subject: Re: can we host this application inside webapps in tomacat server > > Dofbiz/home=E > should specify the path to where the ofbiz.jar is located. > > manish sent the following on 8/12/2009 2:35 AM: > >> Hi; >> >> What I got a new error: >> >> C:\>catalina run >> Using CATALINA_BASE: E:\apache-tomcat-6.0.18 >> Using CATALINA_HOME: E:\apache-tomcat-6.0.18 >> Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp >> Using JRE_HOME:C:\Java\jre6 >> Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E >> Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz >> at java.net.URLClassLoader$1.run(Unknown Source) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(Unknown Source) >> at java.lang.ClassLoader.loadClass(Unknown Source) >> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) >> at java.lang.ClassLoader.loadClass(Unknown Source) >> at java.lang.ClassLoader.loadClassInternal(Unknown Source) >> >> >> With Regards, >> Manish.K >> www.cevalsoft.com >> >> Go Green >> Print only when necessary. >> >> >> -Original Message- >> From: Raj Saini [mailto:rajsa...@gmail.com] >> Sent: Wednesday, August 12, 2009 2:14 PM >> To: user@ofbiz.apache.org >> Subject: Re: can we host this application inside webapps in tomacat server >> >> As I pointed out before, log clearly tells about the problem i.e. >> "Invalid initial heap size". I am not sure what is wrong there but >> certainly this is the cause of the problem as reported by Java >> executable. Does your system have enough RAM? Try removing the -Xms and >> -Xmx VM arguments all together, run Tomcat and if it goes beyond this >> point add them correctly. Also paste the part of the script where these >> two are defined. >> >> >>> Could not create the Java virtual machine. >>> Invalid initial heap size: -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz >>> >>> Fatal error: >>> Target VM failed to initialize. >>> >>> >> >> > >
Re: can we host this application inside webapps in tomacat server
Try replacing the slash with the back slash in the ofbiz.home folder. Thanks, Raj manish wrote: Hi; C:\Documents and Settings\subash>catalina run Using CATALINA_BASE: E:\apache-tomcat-6.0.18 Using CATALINA_HOME: E:\apache-tomcat-6.0.18 Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp Using JRE_HOME:C:\Java\jre6 Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E:/ofbiz Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: BJ Freeman [mailto:bjf...@free-man.net] Sent: Wednesday, August 12, 2009 3:33 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server Dofbiz/home=E should specify the path to where the ofbiz.jar is located. manish sent the following on 8/12/2009 2:35 AM: Hi; What I got a new error: C:\>catalina run Using CATALINA_BASE: E:\apache-tomcat-6.0.18 Using CATALINA_HOME: E:\apache-tomcat-6.0.18 Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp Using JRE_HOME:C:\Java\jre6 Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: Raj Saini [mailto:rajsa...@gmail.com] Sent: Wednesday, August 12, 2009 2:14 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server As I pointed out before, log clearly tells about the problem i.e. "Invalid initial heap size". I am not sure what is wrong there but certainly this is the cause of the problem as reported by Java executable. Does your system have enough RAM? Try removing the -Xms and -Xmx VM arguments all together, run Tomcat and if it goes beyond this point add them correctly. Also paste the part of the script where these two are defined. Could not create the Java virtual machine. Invalid initial heap size: -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz Fatal error: Target VM failed to initialize.
Re: I18n for Catalog
Hi Carsten, Thanks, but I saw this files. But DemoProductCategoriesI18nData show how I18n of ProductCategory: update ProductCategoryContent table, which has FK to ProductCategory entity. DemoProductI18nData show how I18n of Product entity: update ProductContent table, which has FK to Product entity. But I need I18n of ProdCatalog entity. I thought what OfBiz has also similar way for ProdCatalog. I'm understand what it's not difficult to create table ProdCatalogContent, but at first I want to find standard way. Best Regards, Pavel Drobushevich mailto: p.drobushev...@gmail.com icq: 450345393 skype: pavel_drabushevich On Fri, Aug 7, 2009 at 18:17, Carsten Schinzer wrote: > Hi Pavel, > > I don't think I quite get your question. can you please explain. > I am interested in i18n myself a lot and what I see in > > > {OFBIZ_HOME}/specialpurpose/ecommerce/data/DemoProductCategoriesI18nData.xml > {OFBIZ_HOME}/specialpurpose/ecommerce/data/DemoProductI18nData.xml > > makes good sense to me. I take that and extend the XML for my initial > catalogue data. If you need another language, just add the elements. You > will need to be somehow firm with the CMS concepts. > And you will need your own naming conventions for the ID references. > > Are these comments somehow going the direction you want? Please share more > details on your concrete issue. What do you want to achieve? > > Regards > > > Carsten > > > 2009/8/7 Pavel Drobushevich > > > Hi all, > > > > I have next problem. I see examples and tables (ProductCategoryContent, > > ProductContent) for I18n of some category or product, but I didn't find > > any similar methods to I18n catalogs. > > Could you help me? > > > > Thanks in advance. > > > > Best Regards, > > Pavel Drobushevich > > mailto: p.drobushev...@gmail.com > > icq: 450345393 > > skype: pavel_drabushevich > > > > > > -- > > Best > > Carsten Schinzer > > Waisenhausstr. 53a > 80637 München > Germany >
RE: can we host this application inside webapps in tomacat server
Hi; C:\Documents and Settings\subash>catalina run Using CATALINA_BASE: E:\apache-tomcat-6.0.18 Using CATALINA_HOME: E:\apache-tomcat-6.0.18 Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp Using JRE_HOME:C:\Java\jre6 Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E:/ofbiz Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: BJ Freeman [mailto:bjf...@free-man.net] Sent: Wednesday, August 12, 2009 3:33 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server Dofbiz/home=E should specify the path to where the ofbiz.jar is located. manish sent the following on 8/12/2009 2:35 AM: > Hi; > > What I got a new error: > > C:\>catalina run > Using CATALINA_BASE: E:\apache-tomcat-6.0.18 > Using CATALINA_HOME: E:\apache-tomcat-6.0.18 > Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp > Using JRE_HOME:C:\Java\jre6 > Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E > Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > > > With Regards, > Manish.K > www.cevalsoft.com > > Go Green > Print only when necessary. > > > -Original Message- > From: Raj Saini [mailto:rajsa...@gmail.com] > Sent: Wednesday, August 12, 2009 2:14 PM > To: user@ofbiz.apache.org > Subject: Re: can we host this application inside webapps in tomacat server > > As I pointed out before, log clearly tells about the problem i.e. > "Invalid initial heap size". I am not sure what is wrong there but > certainly this is the cause of the problem as reported by Java > executable. Does your system have enough RAM? Try removing the -Xms and > -Xmx VM arguments all together, run Tomcat and if it goes beyond this > point add them correctly. Also paste the part of the script where these > two are defined. > >> Could not create the Java virtual machine. >> Invalid initial heap size: -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz >> >> Fatal error: >> Target VM failed to initialize. >> > > > -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator.
Re: can we host this application inside webapps in tomacat server
Dofbiz/home=E should specify the path to where the ofbiz.jar is located. manish sent the following on 8/12/2009 2:35 AM: > Hi; > > What I got a new error: > > C:\>catalina run > Using CATALINA_BASE: E:\apache-tomcat-6.0.18 > Using CATALINA_HOME: E:\apache-tomcat-6.0.18 > Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp > Using JRE_HOME:C:\Java\jre6 > Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E > Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > > > With Regards, > Manish.K > www.cevalsoft.com > > Go Green > Print only when necessary. > > > -Original Message- > From: Raj Saini [mailto:rajsa...@gmail.com] > Sent: Wednesday, August 12, 2009 2:14 PM > To: user@ofbiz.apache.org > Subject: Re: can we host this application inside webapps in tomacat server > > As I pointed out before, log clearly tells about the problem i.e. > "Invalid initial heap size". I am not sure what is wrong there but > certainly this is the cause of the problem as reported by Java > executable. Does your system have enough RAM? Try removing the -Xms and > -Xmx VM arguments all together, run Tomcat and if it goes beyond this > point add them correctly. Also paste the part of the script where these > two are defined. > >> Could not create the Java virtual machine. >> Invalid initial heap size: -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz >> >> Fatal error: >> Target VM failed to initialize. >> > > > -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator.
RE: can we host this application inside webapps in tomacat server
Hi; What I got a new error: C:\>catalina run Using CATALINA_BASE: E:\apache-tomcat-6.0.18 Using CATALINA_HOME: E:\apache-tomcat-6.0.18 Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp Using JRE_HOME:C:\Java\jre6 Exception in thread "main" java.lang.NoClassDefFoundError: -Dofbiz/home=E Caused by: java.lang.ClassNotFoundException: -Dofbiz.home=E:.ofbiz at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: Raj Saini [mailto:rajsa...@gmail.com] Sent: Wednesday, August 12, 2009 2:14 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server As I pointed out before, log clearly tells about the problem i.e. "Invalid initial heap size". I am not sure what is wrong there but certainly this is the cause of the problem as reported by Java executable. Does your system have enough RAM? Try removing the -Xms and -Xmx VM arguments all together, run Tomcat and if it goes beyond this point add them correctly. Also paste the part of the script where these two are defined. > Could not create the Java virtual machine. > Invalid initial heap size: -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz > > Fatal error: > Target VM failed to initialize. >
Re: can we host this application inside webapps in tomacat server
As I pointed out before, log clearly tells about the problem i.e. "Invalid initial heap size". I am not sure what is wrong there but certainly this is the cause of the problem as reported by Java executable. Does your system have enough RAM? Try removing the -Xms and -Xmx VM arguments all together, run Tomcat and if it goes beyond this point add them correctly. Also paste the part of the script where these two are defined. Could not create the Java virtual machine. Invalid initial heap size: -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz Fatal error: Target VM failed to initialize.
Re: ecommerce / CommonScreens.xml
thanks for your help I found the variable. But I see no connection between the VT_HDR_TMPLT_LOC witch is for the implementation of the header and the window from the Featured products. Is there somethink special to look for? The used header.ftl and headerHead.ftl are still the same in both applications i just changed the title part -- View this message in context: http://www.nabble.com/ecommerce---CommonScreens.xml-tp24916251p24931864.html Sent from the OFBiz - User mailing list archive at Nabble.com.
RE: can we host this application inside webapps in tomacat server
Hi; I got this same bug again E:\apache-tomcat-6.0.18\bin>catalina debug Using CATALINA_BASE: E:\apache-tomcat-6.0.18 Using CATALINA_HOME: E:\apache-tomcat-6.0.18 Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp Using JAVA_HOME: C:\Java\jdk1.6.0_12 Initializing jdb ... > run run org.apache.catalina.startup.Bootstrap start VM start exception: VM initialization failed for: C:\Java\jdk1.6.0_12\jre\bin\java -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=E:\apache-tomcat-6.0.18\conf\logging.properties -Xms256M -Xmx512M -XX:MaxPermSi ze=512M -Djava.endorsed.dirs=E:\apache-tomcat-6.0.18\endorsed -classpath C:\Java\jdk1.6.0_12\lib\tools.jar;E:\apache-tomcat-6.0.18\bin\bootstrap.jar -Dcatalina.base=E:\apache-tomcat-6.0.18 -Dcatalina.home=E:\apache-tomcat-6.0.18 -Djava.io.tmpdir=E:\apache-tomcat-6.0.18\temp -Xdebug -Xrunjdwp:transpo rt=dt_shmem,address=javadebug16705,suspend=y org.apache.catalina.startup.Bootstrap start Could not create the Java virtual machine. Invalid initial heap size: -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz Fatal error: Target VM failed to initialize. With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: BJ Freeman [mailto:bjf...@free-man.net] Sent: Wednesday, August 12, 2009 12:54 PM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server java does not tolerate spaces in path. you still have spaces in your paths please check the log you sent. manish sent the following on 8/12/2009 12:12 AM: > Hi; > > > Hi; > Even after removing the white space I am getting same error: > > E:\apache-tomcat-6.0.18\bin>catalina debug > Using CATALINA_BASE: E:\apache-tomcat-6.0.18 > Using CATALINA_HOME: E:\apache-tomcat-6.0.18 > Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp > Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0_12 > Initializing jdb... >> run > run org.apache.catalina.startup.Bootstrap start > VM start exception: VM initialization failed for: C:\Program > Files\Java\jdk1.6.0_12\jre\bin\java -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > -Djava.util.logging.config.file=E:\apache-tomcat-6.0.18\conf\logging.properties > > -Xms256M -Xmx512M -XX:MaxPermSize=512M > -Djava.endorsed.dirs=E:\apache-tomcat-6.0.18\endorsed > -classpath C:\Program > Files\Java\jdk1.6.0_12\lib\tools.jar;E:\apache-tomcat-6.0.18\bin\bootstrap.jar > -Dcatalina.base=E:\apache-tomcat-6.0.18 > -Dcatalina.home=E:\apache-tomcat-6.0.18 > -Djava.io.tmpdir=E:\apache-tomcat-6.0.18\temp > -Xdebug -Xrunjdwp:transport=dt_shmem,address=javadebug54884,suspend=y > org.apache.catalina.startup.Bootstrap start > > Could not create the Java virtual machine. > Invalid initial heap size: -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz > > Fatal error: > Target VM failed to initialize. > > With Regards, > Manish.K > www.cevalsoft.com > > Go Green > Print only when necessary. > > -Original Message- > From: Carsten Schinzer [mailto:c.schin...@googlemail.com] > Sent: Wednesday, August 12, 2009 3:29 AM > To: user@ofbiz.apache.org > Subject: Re: can we host this application inside webapps in tomacat server > > Did you try Chuck's suggestion, i.e. getting rid of the spaces in your paths > for JVM startup? You should then also change your entire CATALINA_HOME > (which is C:\Program Files\Apache Software Foundation\Tomcat 6.0 from what I > see below) to include zero white spaces, not only the "C:\Program Files" > part of it. > > E.g. my CATALINA_HOME sits at D:\apache-tomcat-6.0.18, so no whitespace at > all. > > Regards > > > Carsten > > 2009/8/11 manish > >> Hi Carsten Schinzer; >> >> Again I got this error: >> >> run org.apache.catalina.startup.Bootstrap start >> VM start exception: VM initialization failed for: >> C:\Program Files\Java\jdk1.6.0_12\jre\bin\java -Xms256m -Xmx512m >> -Dofbiz.home=E:/ofbiz >> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager >> -Djava.util.logging.config.file=C:\Program Files\Apache Software >> Foundation\Tomcat 6.0\conf\logging.properties -Xms256M -Xmx512M >> -XX:MaxPermSize=512M >> -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat >> 6.0\endorsed -classpath C:\Program >> Files\Java\jdk1.6.0_12\lib\tools.jar;C:\Program Files\Apache Software >> Foundation\Tomcat 6.0\bin\bootstrap.jar -Dcatalina.base=C:\Program >> Files\Apache Software Foundation\Tomcat 6.0 -Dcatalina.home=C:\Program >> Files\Apache Software Foundation\Tomcat 6.0 -Djava.io.tmpdir=C:\Program >> Files\Apache Software Foundation\Tomcat 6.0\temp -Xdebug >> -Xrunjdwp:transport=dt_shmem,address=javadebug99833,suspend=y >> org.apache.catalina.startup.Bootstrap start >> >> Could not create the Java virtual machine. >> Invalid maximum heap size: -Xmx512m -Dofbiz.home=E:/ofbiz >> >> Fa
Re: can we host this application inside webapps in tomacat server
java does not tolerate spaces in path. you still have spaces in your paths please check the log you sent. manish sent the following on 8/12/2009 12:12 AM: > Hi; > > > Hi; > Even after removing the white space I am getting same error: > > E:\apache-tomcat-6.0.18\bin>catalina debug > Using CATALINA_BASE: E:\apache-tomcat-6.0.18 > Using CATALINA_HOME: E:\apache-tomcat-6.0.18 > Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp > Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0_12 > Initializing jdb... >> run > run org.apache.catalina.startup.Bootstrap start > VM start exception: VM initialization failed for: C:\Program > Files\Java\jdk1.6.0_12\jre\bin\java -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > -Djava.util.logging.config.file=E:\apache-tomcat-6.0.18\conf\logging.properties > > -Xms256M -Xmx512M -XX:MaxPermSize=512M > -Djava.endorsed.dirs=E:\apache-tomcat-6.0.18\endorsed > -classpath C:\Program > Files\Java\jdk1.6.0_12\lib\tools.jar;E:\apache-tomcat-6.0.18\bin\bootstrap.jar > -Dcatalina.base=E:\apache-tomcat-6.0.18 > -Dcatalina.home=E:\apache-tomcat-6.0.18 > -Djava.io.tmpdir=E:\apache-tomcat-6.0.18\temp > -Xdebug -Xrunjdwp:transport=dt_shmem,address=javadebug54884,suspend=y > org.apache.catalina.startup.Bootstrap start > > Could not create the Java virtual machine. > Invalid initial heap size: -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz > > Fatal error: > Target VM failed to initialize. > > With Regards, > Manish.K > www.cevalsoft.com > > Go Green > Print only when necessary. > > -Original Message- > From: Carsten Schinzer [mailto:c.schin...@googlemail.com] > Sent: Wednesday, August 12, 2009 3:29 AM > To: user@ofbiz.apache.org > Subject: Re: can we host this application inside webapps in tomacat server > > Did you try Chuck's suggestion, i.e. getting rid of the spaces in your paths > for JVM startup? You should then also change your entire CATALINA_HOME > (which is C:\Program Files\Apache Software Foundation\Tomcat 6.0 from what I > see below) to include zero white spaces, not only the "C:\Program Files" > part of it. > > E.g. my CATALINA_HOME sits at D:\apache-tomcat-6.0.18, so no whitespace at > all. > > Regards > > > Carsten > > 2009/8/11 manish > >> Hi Carsten Schinzer; >> >> Again I got this error: >> >> run org.apache.catalina.startup.Bootstrap start >> VM start exception: VM initialization failed for: >> C:\Program Files\Java\jdk1.6.0_12\jre\bin\java -Xms256m -Xmx512m >> -Dofbiz.home=E:/ofbiz >> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager >> -Djava.util.logging.config.file=C:\Program Files\Apache Software >> Foundation\Tomcat 6.0\conf\logging.properties -Xms256M -Xmx512M >> -XX:MaxPermSize=512M >> -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat >> 6.0\endorsed -classpath C:\Program >> Files\Java\jdk1.6.0_12\lib\tools.jar;C:\Program Files\Apache Software >> Foundation\Tomcat 6.0\bin\bootstrap.jar -Dcatalina.base=C:\Program >> Files\Apache Software Foundation\Tomcat 6.0 -Dcatalina.home=C:\Program >> Files\Apache Software Foundation\Tomcat 6.0 -Djava.io.tmpdir=C:\Program >> Files\Apache Software Foundation\Tomcat 6.0\temp -Xdebug >> -Xrunjdwp:transport=dt_shmem,address=javadebug99833,suspend=y >> org.apache.catalina.startup.Bootstrap start >> >> Could not create the Java virtual machine. >> Invalid maximum heap size: -Xmx512m -Dofbiz.home=E:/ofbiz >> >> Fatal error: >> Target VM failed to initialize. >> >> With Regards, >> Manish.K >> www.cevalsoft.com >> >> Go Green >> Print only when necessary. >> >> >> -Original Message- >> From: Carsten Schinzer [mailto:c.schin...@googlemail.com] >> Sent: Tuesday, August 11, 2009 7:37 PM >> To: user@ofbiz.apache.org >> Subject: Re: can we host this application inside webapps in tomacat server >> >> Well looking at your startup sequence, there definitely is conflicting info >> there, check your command line at the highlighted sections (sorry, this is >> just set bold, so if your mail agent does not do RTF, bad luck) ... >> >> VM start exception: VM initialization failed for: C:\Program >>> Files\Java\jdk1.6.0_12\jre\bin\java *-Xms256m >> -Xmx512m*-Dofbiz.home=E:/ofbiz >>> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager >>> -Djava.util.logging.config.file=C:\Program Files\Apache Software >>> Foundation\Tomcat 6.0\conf\loggi >>> ng.properties *-Xms512M -Xmx1024M* -XX:MaxPermSize=512M >>> -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat >>> 6.0\endorsed -classpath C:\Program >>> Files\Java\jdk1.6.0_12\lib\tools.jar;C:\Program Files\Apache Software >>> Foundation\Tomcat 6.0\bin\bootstrap.jar -Dcatalina.base=C:\Program Fi >>> les\Apache Software Foundation\Tomcat 6.0 -Dcatalina.home=C:\Program >>> Files\Apache Software Foundation\Tomcat 6.0 -Djava.io.tmpdir=C:\Program >>> Files\Apache Software Foundation\Tomcat 6.0\temp -Xdebug >>> -Xrunjdwp:transport
RE: can we host this application inside webapps in tomacat server
Hi; Hi; Even after removing the white space I am getting same error: E:\apache-tomcat-6.0.18\bin>catalina debug Using CATALINA_BASE: E:\apache-tomcat-6.0.18 Using CATALINA_HOME: E:\apache-tomcat-6.0.18 Using CATALINA_TMPDIR: E:\apache-tomcat-6.0.18\temp Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0_12 Initializing jdb... > run run org.apache.catalina.startup.Bootstrap start VM start exception: VM initialization failed for: C:\Program Files\Java\jdk1.6.0_12\jre\bin\java -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=E:\apache-tomcat-6.0.18\conf\logging.properties -Xms256M -Xmx512M -XX:MaxPermSize=512M -Djava.endorsed.dirs=E:\apache-tomcat-6.0.18\endorsed -classpath C:\Program Files\Java\jdk1.6.0_12\lib\tools.jar;E:\apache-tomcat-6.0.18\bin\bootstrap.jar -Dcatalina.base=E:\apache-tomcat-6.0.18 -Dcatalina.home=E:\apache-tomcat-6.0.18 -Djava.io.tmpdir=E:\apache-tomcat-6.0.18\temp -Xdebug -Xrunjdwp:transport=dt_shmem,address=javadebug54884,suspend=y org.apache.catalina.startup.Bootstrap start Could not create the Java virtual machine. Invalid initial heap size: -Xms256m -Xmx512m -Dofbiz.home=E:/ofbiz Fatal error: Target VM failed to initialize. With Regards, Manish.K www.cevalsoft.com Go Green Print only when necessary. -Original Message- From: Carsten Schinzer [mailto:c.schin...@googlemail.com] Sent: Wednesday, August 12, 2009 3:29 AM To: user@ofbiz.apache.org Subject: Re: can we host this application inside webapps in tomacat server Did you try Chuck's suggestion, i.e. getting rid of the spaces in your paths for JVM startup? You should then also change your entire CATALINA_HOME (which is C:\Program Files\Apache Software Foundation\Tomcat 6.0 from what I see below) to include zero white spaces, not only the "C:\Program Files" part of it. E.g. my CATALINA_HOME sits at D:\apache-tomcat-6.0.18, so no whitespace at all. Regards Carsten 2009/8/11 manish > Hi Carsten Schinzer; > > Again I got this error: > > run org.apache.catalina.startup.Bootstrap start > VM start exception: VM initialization failed for: > C:\Program Files\Java\jdk1.6.0_12\jre\bin\java -Xms256m -Xmx512m > -Dofbiz.home=E:/ofbiz > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > -Djava.util.logging.config.file=C:\Program Files\Apache Software > Foundation\Tomcat 6.0\conf\logging.properties -Xms256M -Xmx512M > -XX:MaxPermSize=512M > -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat > 6.0\endorsed -classpath C:\Program > Files\Java\jdk1.6.0_12\lib\tools.jar;C:\Program Files\Apache Software > Foundation\Tomcat 6.0\bin\bootstrap.jar -Dcatalina.base=C:\Program > Files\Apache Software Foundation\Tomcat 6.0 -Dcatalina.home=C:\Program > Files\Apache Software Foundation\Tomcat 6.0 -Djava.io.tmpdir=C:\Program > Files\Apache Software Foundation\Tomcat 6.0\temp -Xdebug > -Xrunjdwp:transport=dt_shmem,address=javadebug99833,suspend=y > org.apache.catalina.startup.Bootstrap start > > Could not create the Java virtual machine. > Invalid maximum heap size: -Xmx512m -Dofbiz.home=E:/ofbiz > > Fatal error: > Target VM failed to initialize. > > With Regards, > Manish.K > www.cevalsoft.com > > Go Green > Print only when necessary. > > > -Original Message- > From: Carsten Schinzer [mailto:c.schin...@googlemail.com] > Sent: Tuesday, August 11, 2009 7:37 PM > To: user@ofbiz.apache.org > Subject: Re: can we host this application inside webapps in tomacat server > > Well looking at your startup sequence, there definitely is conflicting info > there, check your command line at the highlighted sections (sorry, this is > just set bold, so if your mail agent does not do RTF, bad luck) ... > > VM start exception: VM initialization failed for: C:\Program > > Files\Java\jdk1.6.0_12\jre\bin\java *-Xms256m > -Xmx512m*-Dofbiz.home=E:/ofbiz > > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > > -Djava.util.logging.config.file=C:\Program Files\Apache Software > > Foundation\Tomcat 6.0\conf\loggi > > ng.properties *-Xms512M -Xmx1024M* -XX:MaxPermSize=512M > > -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat > > 6.0\endorsed -classpath C:\Program > > Files\Java\jdk1.6.0_12\lib\tools.jar;C:\Program Files\Apache Software > > Foundation\Tomcat 6.0\bin\bootstrap.jar -Dcatalina.base=C:\Program Fi > > les\Apache Software Foundation\Tomcat 6.0 -Dcatalina.home=C:\Program > > Files\Apache Software Foundation\Tomcat 6.0 -Djava.io.tmpdir=C:\Program > > Files\Apache Software Foundation\Tomcat 6.0\temp -Xdebug > > -Xrunjdwp:transport=dt_shmem,address=javadebug72599,suspend=y > > org.apache.catalina.startup.Bootstrap start > > > > so your "exploded" startup line (amended by the Tomcat scripts) specifies > two different initial and two different max Heap Sizes. > > I recommend two things: > * set -Xms512M to both and -Xmx1024M to both values > * if this is your