You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by K Grindley <ea...@merseymail.com> on 2007/09/19 18:27:21 UTC

Problems parsing Configurqation.xml

Hi,

I am using JaxMe-0.5.2 and have encountered a problem when trying to use
the supplied Configuration.xml file. When I try to unmarshall an Xml file I
get the following message:

[19/09/07 17:07:27:230 BST] 6bbae7fd SystemErr R Exception catched in
org.apache.ws.jaxme.impl.JAXBContextImpl.createContext().
[19/09/07 17:07:27:230 BST] 6bbae7fd SystemErr R Set
org.apache.ws.jaxme.impl.JAXBContextImpl.verbose = false to suppress this
message.
[19/09/07 17:07:27:230 BST] 6bbae7fd SystemErr R
javax.xml.bind.JAXBException: Failed to parse config file
file:/D:/work/e-suite/Satellite/Aircell/Product Catalog/1.0/00/Product
Catalog/Product Catalog
Impl/bin/com/mdsuk/aircell/productcatalog/data/Configuration.xml at line 2,
column 465: null
[19/09/07 17:07:27:230 BST] 6bbae7fd SystemErr R at
org.apache.ws.jaxme.impl.JAXBContextImpl.init(JAXBContextImpl.java:368)
[19/09/07 17:07:27:230 BST] 6bbae7fd SystemErr R at org.apache.ws.jaxme.imp
l.JAXBContextImpl.createContext(JAXBContextImpl.java:432)
[19/09/07 17:07:27:230 BST] 6bbae7fd SystemErr R at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

I realise that a similar problem has been encountered before in jira 43,
but this scenario appears to be different.

The class � ClassB - that attempts the unmarshalling is invoked by a Web
Service SOAP BindingImpl class running on a local Web Sphere application
server. I have written a basic Java application to invoke ClassB from
outside of the application server and the Configuration.xml file appears to
be validated fine. Next I checked the CLASSPATH and it is appears to have
all of the JaxMe2 libraries and plus xercesImpl and xml-apis-1.3.02. The
same libraries are also accessible by the app. Server.

I am now at a loss as to why the Configuration.xml parsing fails in the
app. Server environment but works in the Web Sphere IDE environment. I am
concerned that I may have overlooked a library .. ? I�d be very grateful if
someone could point me in the right direction here: many thanks.



--------------------------------------------------------------------
Get your free email address at http://www.merseymail.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


Re: Problems parsing Configurqation.xml

Posted by Jochen Wiedmann <jo...@gmail.com>.
Hi,

first of all, please subscribe to the mailing list. I had to approve
your mail, because you aren't subscribed and it is likely, that I miss
some mails in the flood of spam mails.

Second: Did you post the complete stack trace? It doesn't look so, and
I believe that the most interesting parts should be below the part you
posted.

Jochen

-- 
Look, that's why there's rules, understand? So that you think before
you break 'em.

    -- (Terry Pratchett, Thief of Time)

---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org