Re: Users - 7650: Startup Error-How to Reproduce and Makeit Work

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

Re: Users - 7650: Startup Error-How to Reproduce and Makeit Work

Jacopo Cappellato
Done in rev. 7652

Jacopo

Vinay Agarwal wrote:
> Could someone with commit authority commit this patch? Thanks.
> Vinay
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7650: Startup Error-How to Reproduce and Makeit Work

Charles Johnson-4


Jacopo Cappellato wrote:

>Done in rev. 7652
>
>Jacopo
>
>Vinay Agarwal wrote:
>  
>
>>Could someone with commit authority commit this patch? Thanks.
>>Vinay
>>
>>    
>>
>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>
>  
>
Has the latest revision been tested for build *and* run? (See below):

C:\ofbiz7655\ofbiz>"C:\j2sdk1.4.2_09\bin\java" -Xms64M -Xmx128M -jar
ofbiz.jar
Set OFBIZ_HOME to - C:/ofbiz7655/ofbiz
Admin socket not configured; set to port 0
09:37:15,001 (main) [    ContainerLoader.java:57 :INFO ] [Startup]
Loading containers...
09:37:17,054 (main) [            UtilXml.java:646:ERROR] XmlFileLoader:
File file:/C:/ofbiz7655/ofbiz/base/config/ofbiz-cont
ainers.xml process fatal error. Line: 51. Error message: The content of
elements must consist of well-formed character data
or markup.
org.ofbiz.base.start.StartupException: null (Error reading the container
config file: file:/C:/ofbiz7655/ofbiz/base/config/o
fbiz-containers.xml (The content of elements must consist of well-formed
character data or markup.))
        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:/ofbiz7655/ofbiz/base/config/o
fbiz-containers.xml (The content of elements must consist of well-formed
character data or markup.)
        at
org.ofbiz.base.container.ContainerConfig.<init>(ContainerConfig.java:175)
        at
org.ofbiz.base.container.ContainerConfig.getContainers(ContainerConfig.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 content of elements must consist of
well-formed character data or markup.
        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(ContainerConfig.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:/ofbiz7655/ofbiz/base/config/o
fbiz-containers.xml (The content of elements must consist of well-formed
character data or markup.)
        at
org.ofbiz.base.container.ContainerConfig.<init>(ContainerConfig.java:175)
        at
org.ofbiz.base.container.ContainerConfig.getContainers(ContainerConfig.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 content of elements must consist of
well-formed character data or markup.
        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(ContainerConfig.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 content of elements must consist of
well-formed character data or markup.
        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(ContainerConfig.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)

C:\ofbiz7655\ofbiz>REM This one is for more of a debugging mode

C:\ofbiz7655\ofbiz>REM "C:\j2sdk1.4.2_09\bin\java" -Xms256M -Xmx512M
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transp
ort=dt_socket,server=y,suspend=n,address=5005 -jar ofbiz.jar
C:\ofbiz7655\ofbiz>

CJ
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7650: Startup Error-How to Reproduce and Makeit Work

Jacopo Cappellato
Charles,

yes, I've tested it and it works fine.

My first guess is that you have a conflict in
/base/config/ofbiz-containers.xml

Get a clean copy of it from the SVN and the error should go away.

Jacopo


Charles Johnson wrote:

>
> Has the latest revision been tested for build *and* run? (See below):
>
> C:\ofbiz7655\ofbiz>"C:\j2sdk1.4.2_09\bin\java" -Xms64M -Xmx128M -jar
> ofbiz.jar
> Set OFBIZ_HOME to - C:/ofbiz7655/ofbiz
> Admin socket not configured; set to port 0
> 09:37:15,001 (main) [    ContainerLoader.java:57 :INFO ] [Startup]
> Loading containers...
> 09:37:17,054 (main) [            UtilXml.java:646:ERROR] XmlFileLoader:
> File file:/C:/ofbiz7655/ofbiz/base/config/ofbiz-cont
> ainers.xml process fatal error. Line: 51. Error message: The content of
> elements must consist of well-formed character data
> or markup.
> org.ofbiz.base.start.StartupException: null (Error reading the container
> config file: file:/C:/ofbiz7655/ofbiz/base/config/o
> fbiz-containers.xml (The content of elements must consist of well-formed
> character data or markup.))
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:67)

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7650: Startup Error-How to Reproduce and Makeit Work

Hans Bakker
In reply to this post by Charles Johnson-4
On Monday 22 May 2006 15:52, Charles Johnson wrote:
> Has the latest revision been tested for build *and* run? (See below):

you probably have a svn merge conflict in the file:
C:/ofbiz7655/ofbiz/base/config/ofbiz-containers.xml

You can also do:
svn revert C:/ofbiz7655/ofbiz/base/config/ofbiz-containers.xml

the file in svn is correct....

--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7650: Startup Error-How to Reproduce and Makeit Work

Charles Johnson-4


Hans Bakker wrote:

>On Monday 22 May 2006 15:52, Charles Johnson wrote:
>  
>
>>Has the latest revision been tested for build *and* run? (See below):
>>    
>>
>
>you probably have a svn merge conflict in the file:
>C:/ofbiz7655/ofbiz/base/config/ofbiz-containers.xml
>
>You can also do:
>svn revert C:/ofbiz7655/ofbiz/base/config/ofbiz-containers.xml
>
>the file in svn is correct....
>
>  
>
>------------------------------------------------------------------------
>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>

Thanks for that Hans and thank you *too* Jacopo. Unfortunately i now
seem to have network-related errors (See 'TCP errors posting)

CJ
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users