juan pablo [http://community.jboss.org/people/jplistero] created the discussion
"Servlet.service() for servlet jsp threw exception" To view the discussion, visit: http://community.jboss.org/message/550007#550007 -------------------------------------------------------------- Hi all, I have a client soap web service with ws-security ...My problem is when I call for second time the code of the client, throw this exception (First time works perfect). I ' am using Jboss 4.0.5 + jdk 6, some jars for jbossws-native for the client soap. My Client code ... * System.setProperty("org.jboss.ws.wsse.keyStore", "/datos/store/keystore.jks");* * System.setProperty("org.jboss.ws.wsse.keyStorePassword", "12345"); * * System.setProperty("org.jboss.ws.wsse.keyStoreType", "jks");* * System.setProperty("org.jboss.ws.wsse.trustStore", "/datos/store/client.trustore");* * System.setProperty("org.jboss.ws.wsse.trustStorePassword", "123456");* * System.setProperty("org.jboss.ws.wsse.trustStoreType", "jks"); * *Service service = new Service(); * *Port port = service.getServicePort(); // <--- frezee here!* *((StubExt) port).setConfigName("Standard WSSecurity Client");* [[jsp]] Servlet.service() for servlet jsp threw exception java.lang.NoSuchMethodError: javax.xml.parsers.DocumentBuilderFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/parsers/DocumentBuilderFactory; at org.jboss.wsf.common.DOMUtils$1.initialValue(DOMUtils.java:106) at org.jboss.wsf.common.DOMUtils$1.initialValue(DOMUtils.java:86) at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141) at java.lang.ThreadLocal.get(ThreadLocal.java:131) at org.jboss.wsf.common.DOMUtils.getDocumentBuilder(DOMUtils.java:187) at org.jboss.wsf.common.DOMUtils.parse(DOMUtils.java:212) at org.jboss.ws.metadata.config.JBossWSConfigFactory.getNamespaceURI(JBossWSConfigFactory.java:128) at org.jboss.ws.metadata.config.JBossWSConfigFactory.parse(JBossWSConfigFactory.java:82) at org.jboss.ws.metadata.config.JBossWSConfigFactory.getConfig(JBossWSConfigFactory.java:151) at org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfigMetaData(EndpointMetaData.java:923) at org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfig(EndpointMetaData.java:899) at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.rebuildEndpointMetaData(JAXWSClientMetaDataBuilder.java:300) at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:234) at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:543) at javax.xml.ws.Service.getPort(Service.java:92) any idea to fix this ? thanks a lot! -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/550007#550007] Start a new discussion in JBoss Web Services at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user