WSIT Webservices keystore/truststore config keeps generated in the wsit-aa.bb.cc.ServiceName.xml

My WEB-INF\classes\META-INF\wsit-org.aliabdelaziz.pis.PISServices.xml

keeps getting the following ws-policy keyStore
<sc:KeyStore wspp:visibility="private" type="JKS" storepass="changeit" alias="xws-security-server"/>

injected into my wsit-org.aliabdelaziz.pis.PISServices.xml and which causes a problem while trying to run my web application and generates the following stack trace

Nov 20, 2011 9:50:23 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Nov 20, 2011 9:50:51 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: java.lang.RuntimeException: WSSTUBE0028: Error in creating new instance of SecurityServerTube
	at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:139)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4681)
	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5184)
	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5179)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: WSSTUBE0028: Error in creating new instance of SecurityServerTube
	at com.sun.xml.wss.jaxws.impl.SecurityServerTube.(SecurityServerTube.java:197)
	at com.sun.xml.wss.provider.wsit.SecurityTubeFactory.createTube(SecurityTubeFactory.java:167)
	at com.sun.xml.ws.assembler.TubeCreator.createTube(TubeCreator.java:82)
	at com.sun.xml.ws.assembler.TubelineAssemblerFactoryImpl$MetroTubelineAssembler.createServer(TubelineAssemblerFactoryImpl.java:166)
	at com.sun.xml.ws.server.WSEndpointImpl.(WSEndpointImpl.java:157)
	at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:232)
	at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:505)
	at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
	at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
	at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:124)
	... 8 more
Caused by: java.lang.RuntimeException: WSSTUBE0014: KeyStore URL was obtained as NULL from ConfigAssertion.
	at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.populateKeystoreProps(SecurityTubeBase.java:1361)
	at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.populateConfigProperties(SecurityTubeBase.java:1312)
	at com.sun.xml.wss.jaxws.impl.SecurityServerTube.configureServerHandler(SecurityServerTube.java:817)
	at com.sun.xml.wss.jaxws.impl.SecurityServerTube.(SecurityServerTube.java:181)
	... 17 more
Nov 20, 2011 9:50:51 PM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Nov 20, 2011 10:12:00 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Nov 20, 2011 10:12:21 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: java.lang.RuntimeException: WSSTUBE0028: Error in creating new instance of SecurityServerTube
	at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:139)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4681)
	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5184)
	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5179)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: WSSTUBE0028: Error in creating new instance of SecurityServerTube
	at com.sun.xml.wss.jaxws.impl.SecurityServerTube.(SecurityServerTube.java:197)
	at com.sun.xml.wss.provider.wsit.SecurityTubeFactory.createTube(SecurityTubeFactory.java:167)
	at com.sun.xml.ws.assembler.TubeCreator.createTube(TubeCreator.java:82)
	at com.sun.xml.ws.assembler.TubelineAssemblerFactoryImpl$MetroTubelineAssembler.createServer(TubelineAssemblerFactoryImpl.java:166)
	at com.sun.xml.ws.server.WSEndpointImpl.(WSEndpointImpl.java:157)
	at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:232)
	at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:505)
	at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
	at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
	at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:124)
	... 8 more
Caused by: java.lang.RuntimeException: WSSTUBE0014: KeyStore URL was obtained as NULL from ConfigAssertion.
	at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.populateKeystoreProps(SecurityTubeBase.java:1361)
	at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.populateConfigProperties(SecurityTubeBase.java:1312)
	at com.sun.xml.wss.jaxws.impl.SecurityServerTube.configureServerHandler(SecurityServerTube.java:817)
	at com.sun.xml.wss.jaxws.impl.SecurityServerTube.(SecurityServerTube.java:181)
	... 17 more
Nov 20, 2011 10:12:21 PM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Nov 20, 2011 10:12:32 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Nov 20, 2011 10:12:54 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: java.lang.RuntimeException: WSSTUBE0028: Error in creating new instance of SecurityServerTube
	at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:139)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4681)
	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5184)
	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5179)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: WSSTUBE0028: Error in creating new instance of SecurityServerTube
	at com.sun.xml.wss.jaxws.impl.SecurityServerTube.(SecurityServerTube.java:197)
	at com.sun.xml.wss.provider.wsit.SecurityTubeFactory.createTube(SecurityTubeFactory.java:167)
	at com.sun.xml.ws.assembler.TubeCreator.createTube(TubeCreator.java:82)
	at com.sun.xml.ws.assembler.TubelineAssemblerFactoryImpl$MetroTubelineAssembler.createServer(TubelineAssemblerFactoryImpl.java:166)
	at com.sun.xml.ws.server.WSEndpointImpl.(WSEndpointImpl.java:157)
	at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:232)
	at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:505)
	at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
	at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
	at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:124)
	... 8 more
Caused by: java.lang.RuntimeException: WSSTUBE0014: KeyStore URL was obtained as NULL from ConfigAssertion.
	at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.populateKeystoreProps(SecurityTubeBase.java:1361)
	at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.populateConfigProperties(SecurityTubeBase.java:1312)
	at com.sun.xml.wss.jaxws.impl.SecurityServerTube.configureServerHandler(SecurityServerTube.java:817)
	at com.sun.xml.wss.jaxws.impl.SecurityServerTube.(SecurityServerTube.java:181)
	... 17 more
Nov 20, 2011 10:12:54 PM org.apache.catalina.core.ApplicationContext log

I have found the main reason that caused this, one of my sevices was having its "Secure Service" checkbox checked after unchecking this box everything works like charm and the <sc:KeyStore wspp:visibility="private" type="JKS" storepass="changeit" alias="xws-security-server"/> have been removed from my WEB-INF\classes\META-INF\wsit-org.aliabdelaziz.pis.PISServices.xml file.

and to get ride from this WEB-INF\classes\META-INF\wsit-org.aliabdelaziz.pis.PISServices.xml file all you need to do after un-checking the Secure Service check box is to remove this file from your WEB_APPLICATION/src/java/META-INF folder

Great at last our govt took

Great at last our govt took some measure steps in a health sector.
­­batman black
christian bale jacket
­

­

We think this keystore is

We think this keystore is very beneficial for us and now we are going to use in our  work. Thanks for sharing this information.

Regards

instructions

Hello,
I like your all the instructions and We offers some Apps and mobile wallets, and online solutions. car insurance

Powered by Drupal - Design by artinet