[java] org.ofbiz.base.start.StartupException: Cannot locate container class (org.ofbiz.jotm.container.JotmContainer) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:126) [java] at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) [java] at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) [java] at org.ofbiz.base.start.Start.init(Start.java:96) [java] at org.ofbiz.base.start.Start.main(Start.java:412) [java] java.lang.ClassNotFoundException: org.ofbiz.jotm.container.JotmContainer [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:199) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:187) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:289) [java] at org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170) [java] at org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124) [java] at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) [java] at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) [java] at org.ofbiz.base.start.Start.init(Start.java:96) [java] at org.ofbiz.base.start.Start.main(Start.java:412) [java] java.lang.ClassNotFoundException: org.ofbiz.jotm.container.JotmContainer [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:199) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:187) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:289) [java] at org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170) [java] at org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124) [java] at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) [java] at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) [java] at org.ofbiz.base.start.Start.init(Start.java:96) [java] at org.ofbiz.base.start.Start.main(Start.java:412)
Regards, Vinay Agarwal
_______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev |
This is fixed in SVN rev 7675. -David Vinay Agarwal wrote: > [java] org.ofbiz.base.start.StartupException: Cannot locate > container class (org.ofbiz.jotm.container.JotmContainer) > > [java] at > org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:126) > > [java] at > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) > > [java] at > org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) > > [java] at org.ofbiz.base.start.Start.init(Start.java:96) > > [java] at org.ofbiz.base.start.Start.main(Start.java:412) > > [java] java.lang.ClassNotFoundException: > org.ofbiz.jotm.container.JotmContainer > > [java] at > java.net.URLClassLoader$1.run(URLClassLoader.java:199) > > [java] at > java.security.AccessController.doPrivileged(Native Method) > > [java] at > java.net.URLClassLoader.findClass(URLClassLoader.java:187) > > [java] at > java.lang.ClassLoader.loadClass(ClassLoader.java:289) > > [java] at > org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170) > > [java] at > org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145) > > [java] at > org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124) > > [java] at > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) > > [java] at > org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) > > [java] at org.ofbiz.base.start.Start.init(Start.java:96) > > [java] at org.ofbiz.base.start.Start.main(Start.java:412) > > [java] java.lang.ClassNotFoundException: > org.ofbiz.jotm.container.JotmContainer > > [java] at > java.net.URLClassLoader$1.run(URLClassLoader.java:199) > > [java] at > java.security.AccessController.doPrivileged(Native Method) > > [java] at > java.net.URLClassLoader.findClass(URLClassLoader.java:187) > > [java] at > java.lang.ClassLoader.loadClass(ClassLoader.java:289) > > [java] at > org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170) > > [java] at > org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145) > > [java] at > org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124) > > [java] at > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) > > [java] at > org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) > > [java] at org.ofbiz.base.start.Start.init(Start.java:96) > > [java] at org.ofbiz.base.start.Start.main(Start.java:412) > > > > > > Regards, > > Vinay Agarwal > > > > > ------------------------------------------------------------------------ > > > _______________________________________________ > Dev mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/dev _______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev |
Dear David,
I have update my local build with rev.7675 and then I have done those steps: ant clean ant build ant run-install and everythings was ok but when I try to run the startofbiz.bat it gives to me this error: org.ofbiz.base.start.StartupException: null (Error reading the container config file: file:/C:/ofbiz/base/config/ofbiz-containers.xml (The string "--" is not pe rmitted within comments.)) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:67 ) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) at org.ofbiz.base.start.Start.init(Start.java:96) at org.ofbiz.base.start.Start.main(Start.java:412) org.ofbiz.base.container.ContainerException: Error reading the container config file: file:/C:/ofbiz/base/config/ofbiz-containers.xml (The string "--" is not pe rmitted within comments.) at org.ofbiz.base.container.ContainerConfig.<init>(ContainerConfig.java: 175) at org.ofbiz.base.container.ContainerConfig.getContainers(ContainerConfi g.java:85) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65 ) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) at org.ofbiz.base.start.Start.init(Start.java:96) at org.ofbiz.base.start.Start.main(Start.java:412) org.xml.sax.SAXParseException: The string "--" is not permitted within comments. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76) at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:239) at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:178) at org.ofbiz.base.container.ContainerConfig.<init>(ContainerConfig.java: 173) at org.ofbiz.base.container.ContainerConfig.getContainers(ContainerConfi g.java:85) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65 ) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) at org.ofbiz.base.start.Start.init(Start.java:96) at org.ofbiz.base.start.Start.main(Start.java:412) org.ofbiz.base.container.ContainerException: Error reading the container config file: file:/C:/ofbiz/base/config/ofbiz-containers.xml (The string "--" is not pe rmitted within comments.) at org.ofbiz.base.container.ContainerConfig.<init>(ContainerConfig.java: 175) at org.ofbiz.base.container.ContainerConfig.getContainers(ContainerConfi g.java:85) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65 ) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) at org.ofbiz.base.start.Start.init(Start.java:96) at org.ofbiz.base.start.Start.main(Start.java:412) org.xml.sax.SAXParseException: The string "--" is not permitted within comments. I think that the file ofbiz-containers.xml is well-formed, and it's not possible nest to different comment one inside the other. the part of the file that is wrong is this: <!-- RMI Service Dispatcher <!-- DEJ20060525 this will be put back in as soon as we get a JNDI server back in, should be very soon <container name="rmi-dispatcher" class="org.ofbiz.service.rmi.RmiServiceContainer"> <property name="bound-name" value="RMIDispatcher"/> <property name="bound-host" value="127.0.0.1"/> <property name="bound-port" value="1099"/> <property name="delegator-name" value="default"/> <property name="client-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/> <property name="server-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> <property name="ssl-client-auth" value="true"/> </container> --> --> <!-- RMI Service Dispatcher <!-- DEJ20060525 this will be put back in as soon as we get a JNDI server back in, should be very soon <container name="rmi-dispatcher" class="org.ofbiz.service.rmi.RmiServiceContainer"> <property name="bound-name" value="RMIDispatcher"/> <property name="bound-host" value="127.0.0.1"/> <property name="bound-port" value="1099"/> <property name="delegator-name" value="default"/> <property name="client-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/> <property name="server-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> <property name="ssl-client-auth" value="true"/> </container> --> --> I have tried to change this part in this way : <!-- RMI Service Dispatcher DEJ20060525 this will be put back in as soon as we get a JNDI server back in, should be very soon <container name="rmi-dispatcher" class="org.ofbiz.service.rmi.RmiServiceContainer"> <property name="bound-name" value="RMIDispatcher"/> <property name="bound-host" value="127.0.0.1"/> <property name="bound-port" value="1099"/> <property name="delegator-name" value="default"/> <property name="client-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/> <property name="server-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> <property name="ssl-client-auth" value="true"/> </container> --> and now works. Could you please do and try this changes and commit on the SVN if you have time to do it ? Thank a lot Marco Risaliti ----- Original Message ----- From: "David E. Jones" <[hidden email]> To: "OFBiz Project Development Discussion" <[hidden email]> Sent: Thursday, May 25, 2006 7:40 PM Subject: Re: [OFBiz] Dev - 7674: ant run-install-seed error > > This is fixed in SVN rev 7675. > > -David > > > Vinay Agarwal wrote: >> [java] org.ofbiz.base.start.StartupException: Cannot locate >> container class (org.ofbiz.jotm.container.JotmContainer) >> >> [java] at >> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:126) >> >> [java] at >> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) >> >> [java] at >> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) >> >> [java] at org.ofbiz.base.start.Start.init(Start.java:96) >> >> [java] at org.ofbiz.base.start.Start.main(Start.java:412) >> >> [java] java.lang.ClassNotFoundException: >> org.ofbiz.jotm.container.JotmContainer >> >> [java] at >> java.net.URLClassLoader$1.run(URLClassLoader.java:199) >> >> [java] at >> java.security.AccessController.doPrivileged(Native Method) >> >> [java] at >> java.net.URLClassLoader.findClass(URLClassLoader.java:187) >> >> [java] at >> java.lang.ClassLoader.loadClass(ClassLoader.java:289) >> >> [java] at >> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170) >> >> [java] at >> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145) >> >> [java] at >> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124) >> >> [java] at >> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) >> >> [java] at >> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) >> >> [java] at org.ofbiz.base.start.Start.init(Start.java:96) >> >> [java] at org.ofbiz.base.start.Start.main(Start.java:412) >> >> [java] java.lang.ClassNotFoundException: >> org.ofbiz.jotm.container.JotmContainer >> >> [java] at >> java.net.URLClassLoader$1.run(URLClassLoader.java:199) >> >> [java] at >> java.security.AccessController.doPrivileged(Native Method) >> >> [java] at >> java.net.URLClassLoader.findClass(URLClassLoader.java:187) >> >> [java] at >> java.lang.ClassLoader.loadClass(ClassLoader.java:289) >> >> [java] at >> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170) >> >> [java] at >> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145) >> >> [java] at >> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124) >> >> [java] at >> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) >> >> [java] at >> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) >> >> [java] at org.ofbiz.base.start.Start.init(Start.java:96) >> >> [java] at org.ofbiz.base.start.Start.main(Start.java:412) >> >> >> >> >> >> Regards, >> >> Vinay Agarwal >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> _______________________________________________ >> Dev mailing list >> [hidden email] >> http://lists.ofbiz.org/mailman/listinfo/dev > > _______________________________________________ > Dev mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/dev > _______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev |
It's working fine for me, and the file looks fine from SVN. Check to see if you had a merge conflict or something (svn st or whatever). -David Marco Libero wrote: > Dear David, > > I have update my local build with rev.7675 and then I have done those steps: > ant clean > ant build > ant run-install > > and everythings was ok but when I try to run the startofbiz.bat it gives to > me this error: > > org.ofbiz.base.start.StartupException: null (Error reading the container > config > file: file:/C:/ofbiz/base/config/ofbiz-containers.xml (The string "--" is > not pe > rmitted within comments.)) > at > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:67 > ) > at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) > at org.ofbiz.base.start.Start.init(Start.java:96) > at org.ofbiz.base.start.Start.main(Start.java:412) > org.ofbiz.base.container.ContainerException: Error reading the container > config > file: file:/C:/ofbiz/base/config/ofbiz-containers.xml (The string "--" is > not pe > rmitted within comments.) > at > org.ofbiz.base.container.ContainerConfig.<init>(ContainerConfig.java: > 175) > at > org.ofbiz.base.container.ContainerConfig.getContainers(ContainerConfi > g.java:85) > at > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65 > ) > at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) > at org.ofbiz.base.start.Start.init(Start.java:96) > at org.ofbiz.base.start.Start.main(Start.java:412) > org.xml.sax.SAXParseException: The string "--" is not permitted within > comments. > > at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) > at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) > at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76) > at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:239) > at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:178) > at > org.ofbiz.base.container.ContainerConfig.<init>(ContainerConfig.java: > 173) > at > org.ofbiz.base.container.ContainerConfig.getContainers(ContainerConfi > g.java:85) > at > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65 > ) > at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) > at org.ofbiz.base.start.Start.init(Start.java:96) > at org.ofbiz.base.start.Start.main(Start.java:412) > org.ofbiz.base.container.ContainerException: Error reading the container > config > file: file:/C:/ofbiz/base/config/ofbiz-containers.xml (The string "--" is > not pe > rmitted within comments.) > at > org.ofbiz.base.container.ContainerConfig.<init>(ContainerConfig.java: > 175) > at > org.ofbiz.base.container.ContainerConfig.getContainers(ContainerConfi > g.java:85) > at > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65 > ) > at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) > at org.ofbiz.base.start.Start.init(Start.java:96) > at org.ofbiz.base.start.Start.main(Start.java:412) > org.xml.sax.SAXParseException: The string "--" is not permitted within > comments. > > I think that the file ofbiz-containers.xml is well-formed, and it's not > possible nest to different comment one inside the other. > the part of the file that is wrong is this: > > <!-- RMI Service Dispatcher > <!-- DEJ20060525 this will be put back in as soon as we get a JNDI > server back in, should be very soon > <container name="rmi-dispatcher" > class="org.ofbiz.service.rmi.RmiServiceContainer"> > <property name="bound-name" value="RMIDispatcher"/> > <property name="bound-host" value="127.0.0.1"/> > <property name="bound-port" value="1099"/> > <property name="delegator-name" value="default"/> > <property name="client-factory" > value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/> > <property name="server-factory" > value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> > <property name="ssl-client-auth" value="true"/> > </container> --> > --> > > <!-- RMI Service Dispatcher > <!-- DEJ20060525 this will be put back in as soon as we get a JNDI > server back in, should be very soon > <container name="rmi-dispatcher" > class="org.ofbiz.service.rmi.RmiServiceContainer"> > <property name="bound-name" value="RMIDispatcher"/> > <property name="bound-host" value="127.0.0.1"/> > <property name="bound-port" value="1099"/> > <property name="delegator-name" value="default"/> > <property name="client-factory" > value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/> > <property name="server-factory" > value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> > <property name="ssl-client-auth" value="true"/> > </container> --> > --> > I have tried to change this part in this way : > > <!-- RMI Service Dispatcher DEJ20060525 this will be put back in as soon > as we get a JNDI server back in, should be very soon > <container name="rmi-dispatcher" > class="org.ofbiz.service.rmi.RmiServiceContainer"> > <property name="bound-name" value="RMIDispatcher"/> > <property name="bound-host" value="127.0.0.1"/> > <property name="bound-port" value="1099"/> > <property name="delegator-name" value="default"/> > <property name="client-factory" > value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/> > <property name="server-factory" > value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> > <property name="ssl-client-auth" value="true"/> > </container> --> > > and now works. > > Could you please do and try this changes and commit on the SVN if you have > time to do it ? > > Thank a lot > Marco Risaliti > > > ----- Original Message ----- > From: "David E. Jones" <[hidden email]> > To: "OFBiz Project Development Discussion" <[hidden email]> > Sent: Thursday, May 25, 2006 7:40 PM > Subject: Re: [OFBiz] Dev - 7674: ant run-install-seed error > > >> This is fixed in SVN rev 7675. >> >> -David >> >> >> Vinay Agarwal wrote: >>> [java] org.ofbiz.base.start.StartupException: Cannot locate >>> container class (org.ofbiz.jotm.container.JotmContainer) >>> >>> [java] at >>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:126) >>> >>> [java] at >>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) >>> >>> [java] at >>> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) >>> >>> [java] at org.ofbiz.base.start.Start.init(Start.java:96) >>> >>> [java] at org.ofbiz.base.start.Start.main(Start.java:412) >>> >>> [java] java.lang.ClassNotFoundException: >>> org.ofbiz.jotm.container.JotmContainer >>> >>> [java] at >>> java.net.URLClassLoader$1.run(URLClassLoader.java:199) >>> >>> [java] at >>> java.security.AccessController.doPrivileged(Native Method) >>> >>> [java] at >>> java.net.URLClassLoader.findClass(URLClassLoader.java:187) >>> >>> [java] at >>> java.lang.ClassLoader.loadClass(ClassLoader.java:289) >>> >>> [java] at >>> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170) >>> >>> [java] at >>> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145) >>> >>> [java] at >>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124) >>> >>> [java] at >>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) >>> >>> [java] at >>> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) >>> >>> [java] at org.ofbiz.base.start.Start.init(Start.java:96) >>> >>> [java] at org.ofbiz.base.start.Start.main(Start.java:412) >>> >>> [java] java.lang.ClassNotFoundException: >>> org.ofbiz.jotm.container.JotmContainer >>> >>> [java] at >>> java.net.URLClassLoader$1.run(URLClassLoader.java:199) >>> >>> [java] at >>> java.security.AccessController.doPrivileged(Native Method) >>> >>> [java] at >>> java.net.URLClassLoader.findClass(URLClassLoader.java:187) >>> >>> [java] at >>> java.lang.ClassLoader.loadClass(ClassLoader.java:289) >>> >>> [java] at >>> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170) >>> >>> [java] at >>> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145) >>> >>> [java] at >>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124) >>> >>> [java] at >>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) >>> >>> [java] at >>> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) >>> >>> [java] at org.ofbiz.base.start.Start.init(Start.java:96) >>> >>> [java] at org.ofbiz.base.start.Start.main(Start.java:412) >>> >>> >>> >>> >>> >>> Regards, >>> >>> Vinay Agarwal >>> >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [hidden email] >>> http://lists.ofbiz.org/mailman/listinfo/dev >> _______________________________________________ >> Dev mailing list >> [hidden email] >> http://lists.ofbiz.org/mailman/listinfo/dev >> > > > > _______________________________________________ > Dev mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/dev _______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev |
Yes, David you are right I had a conflict on ofbiz\build.xml and now it's
working correctly. Thanks Marco ----- Original Message ----- From: "David E. Jones" <[hidden email]> To: "OFBiz Project Development Discussion" <[hidden email]> Sent: Thursday, May 25, 2006 8:04 PM Subject: Re: [OFBiz] Dev - 7674: ant run-install-seed error > > It's working fine for me, and the file looks fine from SVN. Check to see > if you had a merge conflict or something (svn st or whatever). > > -David > > > Marco Libero wrote: >> Dear David, >> >> I have update my local build with rev.7675 and then I have done those >> steps: >> ant clean >> ant build >> ant run-install >> >> and everythings was ok but when I try to run the startofbiz.bat it gives >> to >> me this error: >> >> org.ofbiz.base.start.StartupException: null (Error reading the container >> config >> file: file:/C:/ofbiz/base/config/ofbiz-containers.xml (The string "--" is >> not pe >> rmitted within comments.)) >> at >> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:67 >> ) >> at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) >> at org.ofbiz.base.start.Start.init(Start.java:96) >> at org.ofbiz.base.start.Start.main(Start.java:412) >> org.ofbiz.base.container.ContainerException: Error reading the container >> config >> file: file:/C:/ofbiz/base/config/ofbiz-containers.xml (The string "--" is >> not pe >> rmitted within comments.) >> at >> org.ofbiz.base.container.ContainerConfig.<init>(ContainerConfig.java: >> 175) >> at >> org.ofbiz.base.container.ContainerConfig.getContainers(ContainerConfi >> g.java:85) >> at >> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65 >> ) >> at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) >> at org.ofbiz.base.start.Start.init(Start.java:96) >> at org.ofbiz.base.start.Start.main(Start.java:412) >> org.xml.sax.SAXParseException: The string "--" is not permitted within >> comments. >> >> at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) >> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown >> Source) >> at >> javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76) >> at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:239) >> at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:178) >> at >> org.ofbiz.base.container.ContainerConfig.<init>(ContainerConfig.java: >> 173) >> at >> org.ofbiz.base.container.ContainerConfig.getContainers(ContainerConfi >> g.java:85) >> at >> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65 >> ) >> at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) >> at org.ofbiz.base.start.Start.init(Start.java:96) >> at org.ofbiz.base.start.Start.main(Start.java:412) >> org.ofbiz.base.container.ContainerException: Error reading the container >> config >> file: file:/C:/ofbiz/base/config/ofbiz-containers.xml (The string "--" is >> not pe >> rmitted within comments.) >> at >> org.ofbiz.base.container.ContainerConfig.<init>(ContainerConfig.java: >> 175) >> at >> org.ofbiz.base.container.ContainerConfig.getContainers(ContainerConfi >> g.java:85) >> at >> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65 >> ) >> at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) >> at org.ofbiz.base.start.Start.init(Start.java:96) >> at org.ofbiz.base.start.Start.main(Start.java:412) >> org.xml.sax.SAXParseException: The string "--" is not permitted within >> comments. >> >> I think that the file ofbiz-containers.xml is well-formed, and it's not >> possible nest to different comment one inside the other. >> the part of the file that is wrong is this: >> >> <!-- RMI Service Dispatcher >> <!-- DEJ20060525 this will be put back in as soon as we get a JNDI >> server back in, should be very soon >> <container name="rmi-dispatcher" >> class="org.ofbiz.service.rmi.RmiServiceContainer"> >> <property name="bound-name" value="RMIDispatcher"/> >> <property name="bound-host" value="127.0.0.1"/> >> <property name="bound-port" value="1099"/> >> <property name="delegator-name" value="default"/> >> <property name="client-factory" >> value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/> >> <property name="server-factory" >> value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> >> <property name="ssl-client-auth" value="true"/> >> </container> --> >> --> >> >> <!-- RMI Service Dispatcher >> <!-- DEJ20060525 this will be put back in as soon as we get a JNDI >> server back in, should be very soon >> <container name="rmi-dispatcher" >> class="org.ofbiz.service.rmi.RmiServiceContainer"> >> <property name="bound-name" value="RMIDispatcher"/> >> <property name="bound-host" value="127.0.0.1"/> >> <property name="bound-port" value="1099"/> >> <property name="delegator-name" value="default"/> >> <property name="client-factory" >> value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/> >> <property name="server-factory" >> value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> >> <property name="ssl-client-auth" value="true"/> >> </container> --> >> --> >> I have tried to change this part in this way : >> >> <!-- RMI Service Dispatcher DEJ20060525 this will be put back in as >> soon >> as we get a JNDI server back in, should be very soon >> <container name="rmi-dispatcher" >> class="org.ofbiz.service.rmi.RmiServiceContainer"> >> <property name="bound-name" value="RMIDispatcher"/> >> <property name="bound-host" value="127.0.0.1"/> >> <property name="bound-port" value="1099"/> >> <property name="delegator-name" value="default"/> >> <property name="client-factory" >> value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/> >> <property name="server-factory" >> value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> >> <property name="ssl-client-auth" value="true"/> >> </container> --> >> >> and now works. >> >> Could you please do and try this changes and commit on the SVN if you >> have >> time to do it ? >> >> Thank a lot >> Marco Risaliti >> >> >> ----- Original Message ----- >> From: "David E. Jones" <[hidden email]> >> To: "OFBiz Project Development Discussion" <[hidden email]> >> Sent: Thursday, May 25, 2006 7:40 PM >> Subject: Re: [OFBiz] Dev - 7674: ant run-install-seed error >> >> >>> This is fixed in SVN rev 7675. >>> >>> -David >>> >>> >>> Vinay Agarwal wrote: >>>> [java] org.ofbiz.base.start.StartupException: Cannot locate >>>> container class (org.ofbiz.jotm.container.JotmContainer) >>>> >>>> [java] at >>>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:126) >>>> >>>> [java] at >>>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) >>>> >>>> [java] at >>>> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) >>>> >>>> [java] at org.ofbiz.base.start.Start.init(Start.java:96) >>>> >>>> [java] at org.ofbiz.base.start.Start.main(Start.java:412) >>>> >>>> [java] java.lang.ClassNotFoundException: >>>> org.ofbiz.jotm.container.JotmContainer >>>> >>>> [java] at >>>> java.net.URLClassLoader$1.run(URLClassLoader.java:199) >>>> >>>> [java] at >>>> java.security.AccessController.doPrivileged(Native Method) >>>> >>>> [java] at >>>> java.net.URLClassLoader.findClass(URLClassLoader.java:187) >>>> >>>> [java] at >>>> java.lang.ClassLoader.loadClass(ClassLoader.java:289) >>>> >>>> [java] at >>>> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170) >>>> >>>> [java] at >>>> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145) >>>> >>>> [java] at >>>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124) >>>> >>>> [java] at >>>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) >>>> >>>> [java] at >>>> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) >>>> >>>> [java] at org.ofbiz.base.start.Start.init(Start.java:96) >>>> >>>> [java] at org.ofbiz.base.start.Start.main(Start.java:412) >>>> >>>> [java] java.lang.ClassNotFoundException: >>>> org.ofbiz.jotm.container.JotmContainer >>>> >>>> [java] at >>>> java.net.URLClassLoader$1.run(URLClassLoader.java:199) >>>> >>>> [java] at >>>> java.security.AccessController.doPrivileged(Native Method) >>>> >>>> [java] at >>>> java.net.URLClassLoader.findClass(URLClassLoader.java:187) >>>> >>>> [java] at >>>> java.lang.ClassLoader.loadClass(ClassLoader.java:289) >>>> >>>> [java] at >>>> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170) >>>> >>>> [java] at >>>> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145) >>>> >>>> [java] at >>>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124) >>>> >>>> [java] at >>>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) >>>> >>>> [java] at >>>> org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) >>>> >>>> [java] at org.ofbiz.base.start.Start.init(Start.java:96) >>>> >>>> [java] at org.ofbiz.base.start.Start.main(Start.java:412) >>>> >>>> >>>> >>>> >>>> >>>> Regards, >>>> >>>> Vinay Agarwal >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [hidden email] >>>> http://lists.ofbiz.org/mailman/listinfo/dev >>> _______________________________________________ >>> Dev mailing list >>> [hidden email] >>> http://lists.ofbiz.org/mailman/listinfo/dev >>> >> >> >> >> _______________________________________________ >> Dev mailing list >> [hidden email] >> http://lists.ofbiz.org/mailman/listinfo/dev > > _______________________________________________ > Dev mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/dev > _______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev |
Free forum by Nabble | Edit this page |