users@jaxb.java.net

Re: Need help to use Jaxb early access version with Redhat Linux8.0

From: Thomas John Kincaid <Tom.Kincaid_at_sun.com>
Date: Sun, 02 Mar 2003 22:45:37 -0500

You may get a response from somebody on this list who can offer some
help. However, now that the FCS is available SUN no longer supports or
encourages the use of JAXB EA. You really need to migrate to the FCS
version of JAXB.

Tom



Andrew Zou wrote:

>Dear support people,
> I have a web application using Jaxb early access version which it can
>run on windows 2000 with Tomcat4.0 and later version. While I moved it to a
>Readhat Linux8.0 platform, the unMarshal method can not work. It throws
>exceptions as following attached message.
> I switch this application with different JDKs(1.3, 1.4, 1.4.1 etc and
>Tomcats 1.4, 1.4.1.18, 1.4.06). All these work as same error as above.
> I even rebuild all that jaxb classes in Linux platform which are needed
>by our application. It did not help any.
> Could any support guy please teach me how to make my application work
>on the Linux platform with the Jaxb early access version?
>
> Thanks.
>
> Andrew
>
>//////////////////////////////////
>Tomcat exception
>
>javax.servlet.ServletException: Servlet execution threw an exception
> at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>FilterChain.java:269)
> at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>ain.java:193)
> at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>va:260)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:643)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
>va:191)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:643)
> at
>org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
>.java:493)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:641)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
> at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
>)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:643)
> at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
>java:170)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:641)
> at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
>)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:641)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
>:174)
> at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:643)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java)
> at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>ction(Http11Protocol.java)
> at
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
> at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>a:530)
> at java.lang.Thread.run(Thread.java:536)
>
>root cause
>Java Exception
>
>java.lang.InternalError
> at com.sun.xml.sp.Parser.parseSystemId(Parser.java:1674)
> at com.sun.xml.sp.Parser.maybeExternalID(Parser.java:1642)
> at com.sun.xml.sp.Parser.maybeDoctypeDecl(Parser.java:799)
> at com.sun.xml.sp.Parser.prologue(Parser.java:2281)
> at com.sun.xml.sp.Parser.parse(Parser.java:2295)
> at com.sun.xml.sp.StreamingParserImpl.parse(StreamingParserImpl.java:102)
> at javax.xml.marshal.StreamScanner.next(StreamScanner.java:60)
> at javax.xml.marshal.StreamScanner.(StreamScanner.java:46)
> at javax.xml.marshal.XMLScanner.open(XMLScanner.java:138)
> at
>com.slb.sis.ws.mdataadmin.xmlparser.datasource.jaxb.datasourcetype.JaxbDataS
>ourceTypeDefinition.unmarshal(JaxbDataSourceTypeDefinition.java:153)
> at
>com.slb.sis.ws.mdataadmin.util.JAXBGenericComponent.unMarshaller(JAXBGeneric
>Component.java:60)
>
>
>Anqin (Andrew) Zou
>Software Architect
>Schlumberger Web Solution Architect team
>Suite 900, 5444 Westheimer
>Houston, TX, 77056
>
>
>