external WS configuration

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

external WS configuration

Esch, Guido
Hi All,

did any body get the java -jar ofbiz.jar -setup Tomcat6 working with the current trunk? Just tried to update the dependencies, but the command failed:

2011-05-18 20:22:24,546 (main) [ ComponentContainer.java:238:INFO ] Loading component : [crowd]
2011-05-18 20:22:24,563 (main) [ ComponentContainer.java:238:INFO ] Loading component : [ldap]
2011-05-18 20:22:24,580 (main) [ ComponentContainer.java:238:INFO ] Loading component : [webpos]
2011-05-18 20:22:24,581 (main) [ ComponentContainer.java:177:INFO ] Auto-Loading component directory : [/Volumes/ofbiz/temp/ofbiz_1103673/trunk/hot-deploy]
2011-05-18 20:22:24,599 (main) [ ComponentContainer.java:146:INFO ] All components loaded
2011-05-18 20:22:25,071 (main) [    ContainerLoader.java:224:INFO ] [Startup] Starting containers...
org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.appservers.GenerateContainer (Template location - -setup does not exist!)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:233)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:247)
at org.ofbiz.base.start.Start.start(Start.java:226)
at org.ofbiz.base.start.Start.main(Start.java:70)
org.ofbiz.base.container.ContainerException: Template location - -setup does not exist!
at org.ofbiz.appservers.GenerateContainer.getTemplates(GenerateContainer.java:386)
at org.ofbiz.appservers.GenerateContainer.generateFiles(GenerateContainer.java:117)
at org.ofbiz.appservers.GenerateContainer.start(GenerateContainer.java:96)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:231)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:247)
at org.ofbiz.base.start.Start.start(Start.java:226)
at org.ofbiz.base.start.Start.main(Start.java:70)
org.ofbiz.base.container.ContainerException: Template location - -setup does not exist!
at org.ofbiz.appservers.GenerateContainer.getTemplates(GenerateContainer.java:386)
at org.ofbiz.appservers.GenerateContainer.generateFiles(GenerateContainer.java:117)
at org.ofbiz.appservers.GenerateContainer.start(GenerateContainer.java:96)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:231)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:247)
at org.ofbiz.base.start.Start.start(Start.java:226)
at org.ofbiz.base.start.Start.main(Start.java:70)
2011-05-18 20:22:25,085 (Thread-1) [    ContainerLoader.java:247:INFO ] Shutting down containers


i tried to manually fix all the file not found issues, but for some reason the modules are not loaded when using the external tomcat. Everything worked for the 1057550. And i'm now using the 1103673. Maybe parameters have changed, i didn't get the idea behind the parameter handling when taking a short look into the containerLoader. Any idea is welcome, because currently the system is only running on the commandline. If anybody can provide the catalina.properties for tomcat6 it would be very helpful.

Best Regards,


Guido Esch


direkt gruppe

networks direkt GmbH
Griegstraße 75, Haus 2
22763 Hamburg
Fon: +49 (40) 88155-0
Fax: +49 (40) 88155-5200

mailto:[hidden email]
www.direkt-gruppe.de










________________________________

Rechtliche Hinweise:

networks direkt Gesellschaft fuer Informationstechnologie mbH * Geschaeftsfuehrer * Dipl.-Inform. (FH) Gerald Jenner * Dipl.-Ing. (FH) Kai Petersen * Dipl.-Inform. (FH) Nils Schultz * Sitz Hamburg * AG Hamburg HRB 83072 * USt-IdNr. DE812564499

solutions direkt Gesellschaft fuer Loesungsentwicklung mbH * Geschaeftsfuehrer * Dipl.-Inform. Markus Breilmann * Dipl.-Inform. (FH) Nils Schultz * Sitz Hamburg * AG Hamburg HRB 83605 * USt-IdNr. DE813614829

marketing solutions direkt Gesellschaft fuer innovatives Marketing mbH * Geschaeftsfuehrer * Karsten Kirsch * Kai Jasper Meifort * Sven Severin * Sitz Hamburg * AG Hamburg HRB 104217 * USt-IdNr. DE814956207

Anschrift * Griegstrasse 75, Haus 2 * 22763 Hamburg

Diese elektronische Nachricht enthaelt vertrauliche Informationen, die nur fuer die im Text bezeichneten Personen bestimmt sind. Die Nachricht ist durch das Briefgeheimnis geschuetzt und unterliegt gegebenenfalls den Regeln zum Schutz der Vertraulichkeit. Jede Benutzung, Versendung, Herstellung von Kopien oder Veroeffentlichung durch andere Personen ist ohne Zustimmung des Absenders untersagt. Wenn Sie diese Nachricht irrtuemlich erhalten haben, bitten wir Sie hoeflichst, sie auf Ihren Systemen zu loeschen und den Absender umgehend zu benachrichtigen.

This electronic mail transmission contains confidential information intended only for the person(s) named. It is subject to the laws of mail secrecy and may be protected by legal privileges. Any use, distribution, copying or disclosure by another person is strictly prohibited without the consent of the sender. If this transmission has been received in error, you are kindly requested to delete it from your system and to contact the sender immediately.
Reply | Threaded
Open this post in threaded view
|

Re: external WS configuration

alp_sehic
Hi Guido, the problem (in 11.04 release) is that ContainerLoader do not pass the parsed arguments to GenericContainer in the right order and as the ContainerLoader implementation in 11.04 quite different than 10.04, I modified (locally) GenericContainer to get the right arguments, but still after generating the relevant AS descriptors from templates, the unload() method in ContainerLoader (which is implementation of StartupLoader interface) is not called and further modification is needed, so etc.... This seems a clear bug (still I'm not sure, I also couldn't find any JIRA entry for this issue) or the way how to create relevant descriptors is changed ...