https://bugzilla.novell.com/show_bug.cgi?id=221420 Summary: org.xml.sax.driver property not carrying to thread when using Sun's JVM Invoke Interface Product: openSUSE 10.2 Version: Beta 1 Platform: i386 OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jluciani@novell.com QAContact: qa@suse.de My program executes a java class from a native thread after attaching the thread to the Sun 1.5 JVM, this results in the following exception: Exception in thread "Thread-0" javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:104) at org.apache.axis.utils.XMLUtils.getDOMFactory(XMLUtils.java:221) at org.apache.axis.utils.XMLUtils.access$000(XMLUtils.java:75) at org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder.initialValue(XMLUtils.java:98) at java.lang.ThreadLocal$ThreadLocalMap.getAfterMiss(ThreadLocal.java:374) at java.lang.ThreadLocal$ThreadLocalMap.get(ThreadLocal.java:347) at java.lang.ThreadLocal$ThreadLocalMap.access$000(ThreadLocal.java:225) at java.lang.ThreadLocal.get(ThreadLocal.java:127) at org.apache.axis.utils.XMLUtils.getDocumentBuilder(XMLUtils.java:237) at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:337) at org.apache.axis.message.SOAPDocumentImpl.<init>(SOAPDocumentImpl.java:70) at org.apache.axis.SOAPPart.<init>(SOAPPart.java:1020) at org.apache.axis.Message.setup(Message.java:377) at org.apache.axis.Message.<init>(Message.java:246) at com.novell.casa.authtoksvc.AuthToken.<init>(AuthToken.java:158) at com.novell.casa.authtoksvc.AuthToken.validate(AuthToken.java:318) This exception does not occur if I execute the java class from the main thread. This exception normally occurs if the org.xml.sax.driver property is not set correctly. This leads me to believe that the issue is related to it. Please note that the same code works without any issue when executed using IBM's JVM. I hava attached a tar file with a sample test program and supporting files which demonstrate the problem. The source code is in the file: server-sun.cpp. To run the program execute ./run_test.sh. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.