[ http://jira.jboss.com/jira/browse/JBXB-4?page=history ] Scott M Stark closed JBXB-4: ----------------------------
Resolution: Done Externalized the choice of the XniJBossXBParser and SaxJBossXBParser with a ctor that accepts a flag to switch between them. Use of the XNI based parser is sensative to the xml parser implementation bundled with the jdk so the default when using the no-arg ctor is to use the SaxJBossXBParser. > JBossXBSchemaValidator IllegalAccessError under jrockit 1.5.0 > ------------------------------------------------------------- > > Key: JBXB-4 > URL: http://jira.jboss.com/jira/browse/JBXB-4 > Project: JBoss XML Binding (JBossXB) > Type: Bug > Environment: jrockit 1.5.0 from: > http://commerce.bea.com/products/weblogicjrockit/5.0/jr_50.jsp > [EMAIL PROTECTED] bin]$ /usr/java/jrockit-jdk1.5.0/bin/java -version > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) > BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, > GC: > System optimized over throughput (initial strategy singleparpar)) > Reporter: Scott M Stark > Assignee: Alexey Loubyansky > > > Starting the current Branch_4_0 code with jrocket 1.5.0, I'm seeing the > following error which looks like an integration problem with the xml parser > bundled with the jdk. This is using the run.sh script so the lib/endorsed > should be used. Validate whether this is an invalid assumption on our part or > a problem with the jrockit jdk. > 2005-03-02 04:15:30,659 DEBUG > [org.jboss.security.auth.login.XMLLoginConfigImpl] Failed to load config as > XML > java.lang.IllegalAccessError: handleStartElement > at > org.apache.xerces.impl.xs.JBossXBSchemaValidator.<init>(JBossXBSchemaValidator.java:20) > at > org.jboss.xml.binding.parser.xni.XniJBossXBParser$ParserConfiguration.configurePipeline(XniJBossXBParser.java:521) > at org.apache.xerces.parsers.DTDConfiguration.reset()V(Unknown Source) > at org.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(Unknown Source) > at > org.apache.xerces.parsers.DTDConfiguration.parse(Lorg.apache.xerces.xni.parser.XMLInputSource;)V(Unknown > Source) > at > org.apache.xerces.parsers.XMLParser.parse(Lorg.apache.xerces.xni.parser.XMLInputSource;)V(Unknown > Source) > at > org.jboss.xml.binding.parser.xni.XniJBossXBParser.parse(XniJBossXBParser.java:207) > at org.jboss.xml.binding.Unmarshaller.unmarshal(Unmarshaller.java:94) > at > org.jboss.security.auth.login.XMLLoginConfigImpl.loadXMLConfig(XMLLoginConfigImpl.java:307) > at > org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:273) > at > org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:253) > at > org.jboss.security.auth.login.XMLLoginConfig.startService(XMLLoginConfig.java:152) > at > org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) > at > org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) > at > jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown > Source) > at > java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown > Source) > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) > at > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:911) > at $Proxy0.start()V(Unknown Source) > at org.jboss.system.ServiceController.start(ServiceController.java:416) > at > jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown > Source) > at > java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown > Source) > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development