From: Bugrahan A. <bug...@sr...> - 2005-10-27 11:24:55
|
Dear all, I have a problem about which I want to consult you. I have set up Omar Beta version 1 with JDK 1.5 and JWSDP-1.6. I want to use the JAXR client whose libraries and samples come with JWSDP-1.6. I have tried to run the "JAXRPublishScheme.java" class under the <jwsdp-1.6>\registry\samples\classification-schemes\src. I have made all the required settings as far as I can but I am still getting the following error; [java] [DEBUG] AbstractProperties - -java.class.version=49.0 [java] [DEBUG] AbstractProperties - -java.endorsed.dirs=C:\Sun\jdk1.5.0_05\jre\lib\endorsed [java] [DEBUG] AbstractProperties - -java.ext.dirs=C:\Sun\jdk1.5.0_05\jre\lib\ext [java] [DEBUG] AbstractProperties - -java.home=C:\Sun\jdk1.5.0_05\jre [java] [DEBUG] AbstractProperties - -java.io.tmpdir=C:\DOCUME~1\BUGRAH~1.ONE\LOCALS~1\Temp\ [java] [DEBUG] AbstractProperties - -java.library.path=C:\Sun\jdk1.5.0_05\jre\bin;.;C:\WINXP\System32;C:\WINXP;C :\Program Files\texmf\miktex\bin;C:\texmf\m iktex\bin;C:\WINXP\system32;C:\WINXP;C:\WINXP\System32\Wbem;C:\Program Files\Common Files\Adaptec Shared\System;C:\Program Files\SecureCRT 3.0;C:\Program Files\ Rational\common;C:\Sun\j2sdk1.4.2\bin;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Sun\jwsdp-1.6\jwsdp-shared\bin;C:\Sun\j2eesdk1.4_beta2\b in;C:\Sun\ j2eesdk1.4_beta2\share\bin;C:\Sun\j2sdk1.4.2_03\bin;C:\Sun\jakarta-ant-1.5\b in;C:\Program Files\SSH Communications Security\SSH Secure Shell [java] [DEBUG] AbstractProperties - -java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition [java] [DEBUG] AbstractProperties - -java.runtime.version=1.5.0_05-b05 [java] [DEBUG] AbstractProperties - -java.specification.name=Java Platform API Specification [java] [DEBUG] AbstractProperties - -java.specification.vendor=Sun Microsystems Inc. [java] [DEBUG] AbstractProperties - -java.specification.version=1.5 [java] [DEBUG] AbstractProperties - -java.vendor=Sun Microsystems Inc. [java] [DEBUG] AbstractProperties - -java.vendor.url=http://java.sun.com/ [java] [DEBUG] AbstractProperties - -java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi [java] [DEBUG] AbstractProperties - -java.version=1.5.0_05 [java] [DEBUG] AbstractProperties - -java.vm.info=mixed mode, sharing [java] [DEBUG] AbstractProperties - -java.vm.name=Java HotSpot(TM) Client VM [java] [DEBUG] AbstractProperties - -java.vm.specification.name=Java Virtual Machine Specification [java] [DEBUG] AbstractProperties - -java.vm.specification.vendor=Sun Microsystems Inc. [java] [DEBUG] AbstractProperties - -java.vm.specification.version=1.0 [java] [DEBUG] AbstractProperties - -java.vm.vendor=Sun Microsystems Inc. [java] [DEBUG] AbstractProperties - -java.vm.version=1.5.0_05-b05 [java] [DEBUG] AbstractProperties - -jaxr-ebxml.extensionclass.extrinsicobject.urn:uuid:2cad7eac-bc4d-42e8-9c98- d27982270496=org.freebxml.omar.client.xml.r egistry.example.CPP [java] [DEBUG] AbstractProperties - -jaxr-ebxml.home=C:/Documents and Settings/Bugrahan.ONE-T0UZAUQKRRK/omar/3.0-beta1/jaxr-ebxml [java] [DEBUG] AbstractProperties - -jaxr-ebxml.http.url=http://localhost:8080/omar/registry/http [java] [DEBUG] AbstractProperties - -jaxr-ebxml.registryBrowser.webBrowser.launch=mozilla -remote openURL ( $url ) [java] [DEBUG] AbstractProperties - -jaxr-ebxml.security.createSecureSession=true [java] [DEBUG] AbstractProperties - -jaxr-ebxml.security.guestPrincipalName=RegistryGuest [java] [DEBUG] AbstractProperties - -jaxr-ebxml.security.keypass=testuserpasswd [java] [DEBUG] AbstractProperties - -jaxr-ebxml.security.keystore=security/keystore.jks [java] [DEBUG] AbstractProperties - -jaxr-ebxml.security.providerappname=jaxr-ebxml-provider-3.0-beta1 [java] [DEBUG] AbstractProperties - -jaxr-ebxml.security.storepass=ebxmlrr [java] [DEBUG] AbstractProperties - -jaxr-ebxml.security.storetype=JKS [java] [DEBUG] AbstractProperties - -jaxr-ebxml.security.test.alias=testuser [java] [DEBUG] AbstractProperties - -jaxr-ebxml.security.test.keypass=testuserpasswd [java] [DEBUG] AbstractProperties - -jaxr-ebxml.soap.url=http://localhost:8080/omar/registry/soap [java] [DEBUG] AbstractProperties - -jaxr-ebxml.thinbrowser.jsp-extensions=urn:uuid:2cad7eac-bc4d-42e8-9c98-d279 82270496 [java] [DEBUG] AbstractProperties - -line.separator= [java] [DEBUG] AbstractProperties - -omar.client.admin.AdminShellFactory.adminShellClass=org.freebxml.omar.clien t.admin.SimpleAdminShell [java] [DEBUG] AbstractProperties - -omar.client.thinbrowser.cssFile=ebxml.css [java] [DEBUG] AbstractProperties - -omar.client.thinbrowser.defaultlocale=en_US [java] [DEBUG] AbstractProperties - -omar.client.thinbrowser.logoFile=images/freebxmlLogo.jpg [java] [DEBUG] AbstractProperties - -omar.client.thinbrowser.numSearchResults=10 [java] [DEBUG] AbstractProperties - -omar.client.thinbrowser.supportedlocales=en_US|fi|fr_CA|pt_BR [java] [DEBUG] AbstractProperties - -omar.home=C:/Documents and Settings/Bugrahan.ONE-T0UZAUQKRRK/omar/3.0-beta1 [java] [DEBUG] AbstractProperties - -org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog [java] [DEBUG] AbstractProperties - -org.apache.commons.logging.simplelog.log.org.freebxml.omar=all [java] [DEBUG] AbstractProperties - -org.apache.commons.logging.simplelog.showShortLogname=false [java] [DEBUG] AbstractProperties - -org.freebxml.omar.client.xml.registry.localCall=false [java] [DEBUG] AbstractProperties - -os.arch=x86 [java] [DEBUG] AbstractProperties - -os.name=Windows XP [java] [DEBUG] AbstractProperties - -os.version=5.1 [java] [DEBUG] AbstractProperties - -path.separator=; [java] [DEBUG] AbstractProperties - -sun.arch.data.model=32 [java] [DEBUG] AbstractProperties - -sun.boot.class.path=C:\Sun\jdk1.5.0_05\jre\lib\rt.jar;C:\Sun\jdk1.5.0_05\jr e\lib\i18n.jar;C:\Sun\jdk1.5.0_05\jre\lib\s unrsasign.jar;C:\Sun\jdk1.5.0_05\jre\lib\jsse.jar;C:\Sun\jdk1.5.0_05\jre\lib \jce.jar;C:\Sun\jdk1.5.0_05\jre\lib\charsets.jar;C:\Sun\jdk1.5.0_05\jre\clas ses [java] [DEBUG] AbstractProperties - -sun.boot.library.path=C:\Sun\jdk1.5.0_05\jre\bin [java] [DEBUG] AbstractProperties - -sun.cpu.endian=little [java] [DEBUG] AbstractProperties - -sun.cpu.isalist= [java] [DEBUG] AbstractProperties - -sun.desktop=windows [java] [DEBUG] AbstractProperties - -sun.io.unicode.encoding=UnicodeLittle [java] [DEBUG] AbstractProperties - -sun.jnu.encoding=Cp1254 [java] [DEBUG] AbstractProperties - -sun.management.compiler=HotSpot Client Compiler [java] [DEBUG] AbstractProperties - -sun.os.patch.level= [java] [DEBUG] AbstractProperties - -user.country=US [java] [DEBUG] AbstractProperties - -user.dir=C:\Sun\jwsdp-1.6\registry\samples\classification-schemes [java] Created connection to registry [java] [DEBUG] AbstractProperties - -user.home=C:\Documents and Settings\Bugrahan.ONE-T0UZAUQKRRK [java] [DEBUG] AbstractProperties - -user.language=en [java] [DEBUG] AbstractProperties - -user.name=Bugrahan [java] [DEBUG] AbstractProperties - -user.timezone= [java] [DEBUG] AbstractProperties - -user.variant= [java] [DEBUG] AbstractProperties - -================================================== [java] [DEBUG] ConnectionFactoryImpl - -Logging initialized [java] [INFO] LoginModuleManager - -LoginModuleManager using following keystore file: C:/Documents and Settings/Bugrahan.ONE-T0UZAUQKRRK/omar/3.0-beta1\jax r-ebxml\security/keystore.jks [java] java.lang.IllegalArgumentException [java] at javax.security.auth.x500.X500PrivateCredential.<init>(X500PrivateCredential. java:61) [java] at JAXRPublishScheme.getCredentialsFromKeystore(Unknown Source) [java] at JAXRPublishScheme.makeConnection(Unknown Source) [java] at JAXRPublishScheme.main(Unknown Source) [java] [INFO] InfomodelFactory - -Registered ExtrinsicObject extension class org.freebxml.omar.client.xml.registry.example.CPP for type urn:uuid:2cad7eac-b c4d-42e8-9c98-d27982270496. [java] Got registry service, query manager, and life cycle manager [java] [TRACE] SOAPMessenger - -requestString="<AdhocQueryRequest maxResults="-1" startIndex="0" id="urn:uuid:e37edef2-420a-4cc7-80a3-98f014e83cf9" xmlns=" urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> [java] <ns1:RequestSlotList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"> [java] <ns2:Slot name="urn:oasis:names:tc:ebxml-regrep:rs:AdhocQueryRequest:queryId" xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"> [java] <ns2:ValueList> [java] <ns2:Value>urn:oasis:names:tc:ebxml-regrep:query:GetCallersUser</ns2:Value> [java] </ns2:ValueList> [java] </ns2:Slot> [java] </ns1:RequestSlotList> [java] <ResponseOption returnComposedObjects="true" returnType="LeafClassWithRepositoryItem"/> [java] <ns3:AdhocQuery id="urn:uuid:9c44f32a-933d-4fde-aa84-9e19195ffd16" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"> [java] <ns3:QueryExpression queryLanguage="urn:oasis:names:tc:ebxml-regrep:QueryLanguage:SQL-92"/> [java] </ns3:AdhocQuery> [java] </AdhocQueryRequest>" [java] Request=<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header/ ><soap-env:Body><AdhocQueryRequest maxResults ="-1" startIndex="0" id="urn:uuid:e37edef2-420a-4cc7-80a3-98f014e83cf9" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"> [java] <ns1:RequestSlotList xmlns:ns1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"> [java] <ns2:Slot name="urn:oasis:names:tc:ebxml-regrep:rs:AdhocQueryRequest:queryId" xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"> [java] <ns2:ValueList> [java] <ns2:Value>urn:oasis:names:tc:ebxml-regrep:query:GetCallersUser</ns2:Value> [java] </ns2:ValueList> [java] </ns2:Slot> [java] </ns1:RequestSlotList> [java] <ResponseOption returnComposedObjects="true" returnType="LeafClassWithRepositoryItem"/> [java] <ns3:AdhocQuery id="urn:uuid:9c44f32a-933d-4fde-aa84-9e19195ffd16" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"> [java] <ns3:QueryExpression queryLanguage="urn:oasis:names:tc:ebxml-regrep:QueryLanguage:SQL-92"/> [java] </ns3:AdhocQuery> [java] </AdhocQueryRequest></soap-env:Body></soap-env:Envelope> [java] Response=<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/ ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>urn:oasis:names:tc:ebxmlregrep:rs :exception:java.lang.NoClassDefFoundError</faultcode><faultstring>NULL</faul tstring><detail><rs:StackTrace xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0">java.lang.NoClassDefFo undError [java] at org.freebxml.omar.server.interfaces.soap.RegistrySOAPServlet.onMessage(Regis trySOAPServlet.java:186) [java] at org.freebxml.omar.server.interfaces.common.SOAPServlet.doPost(SOAPServlet.ja va:207) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:237) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:157) [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) [java] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) [java] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)& #13; [java] at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext Valve.java:198) [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:152) [java] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) [java] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:462) [java] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:102) [java] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)& #13; [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137 ) [java] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117 ) [java] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:102) [java] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)& #13; [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :109) [java] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) [java] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535) 3; [java] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:102) [java] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)& #13; [java] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) [java] at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) [java] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)&# 13; [java] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:709) [java] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)&# 13; [java] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:644) [java] at java.lang.Thread.run(Thread.java:534) [java] </rs:StackTrace></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelop e> [java] [DEBUG] SOAPMessenger - -Call elapsed time in seconds: 0.27 [java] [DEBUG] SOAPMessenger - -[SOAP-ENV:Fault: null] [java] javax.xml.registry.RegistryException: javax.xml.registry.RegistryException: javax.xml.registry.RegistryException: Exception: java.lang.NoClassDefFou ndError Details: NULL [java] at org.freebxml.omar.common.QueryManagerSOAPProxy.submitAdhocQuery(QueryManager SOAPProxy.java:55) [java] at org.freebxml.omar.client.xml.registry.DeclarativeQueryManagerImpl.executeQue ry(DeclarativeQueryManagerImpl.java:180) [java] at org.freebxml.omar.client.xml.registry.DeclarativeQueryManagerImpl.executeQue ry(DeclarativeQueryManagerImpl.java:137) [java] at org.freebxml.omar.client.xml.registry.QueryManagerImpl.getCallersUser(QueryM anagerImpl.java:262) [java] at org.freebxml.omar.client.xml.registry.infomodel.RegistryObjectImpl.<init>(Re gistryObjectImpl.java:104) [java] at org.freebxml.omar.client.xml.registry.infomodel.RegistryEntryImpl.<init>(Reg istryEntryImpl.java:42) [java] at org.freebxml.omar.client.xml.registry.infomodel.ClassificationSchemeImpl.<in it>(ClassificationSchemeImpl.java:43) [java] at org.freebxml.omar.client.xml.registry.LifeCycleManagerImpl.createClassificat ionScheme(LifeCycleManagerImpl.java:400) [java] at org.freebxml.omar.client.xml.registry.LifeCycleManagerImpl.createClassificat ionScheme(LifeCycleManagerImpl.java:384) [java] at JAXRPublishScheme.executePublish(Unknown Source) [java] at JAXRPublishScheme.main(Unknown Source) [java] Caused by: javax.xml.registry.RegistryException: javax.xml.registry.RegistryException: Exception: java.lang.NoClassDefFoundError Details: NULL [java] at org.freebxml.omar.common.QueryManagerSOAPProxy.submitAdhocQueryInternal(Quer yManagerSOAPProxy.java:79) [java] at org.freebxml.omar.common.QueryManagerSOAPProxy.submitAdhocQuery(QueryManager SOAPProxy.java:49) [java] ... 10 more [java] Caused by: javax.xml.registry.RegistryException: Exception: java.lang.NoClassDefFoundError Details: NULL [java] at org.freebxml.omar.common.SOAPMessenger.createRegistryException(SOAPMessenger .java:341) [java] at org.freebxml.omar.common.SOAPMessenger.sendSoapRequest(SOAPMessenger.java:21 2) [java] at org.freebxml.omar.common.SOAPMessenger.sendSoapRequest(SOAPMessenger.java:10 9) [java] at org.freebxml.omar.common.QueryManagerSOAPProxy.submitAdhocQueryInternal(Quer yManagerSOAPProxy.java:68) [java] ... 11 more I would be very pleased if you can help me and send your suggestions. Thanks a lot, Bugrahan Akcay |