If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Cognos servlet deployment issue on sun one webserver 7

Started by BHADX001, 22 Dec 2011 03:42:51 AM

Previous topic - Next topic

BHADX001

We are getting below error on deploying Servlet Gateway on Sun Java System Web Server 7

WebModule[/cognos10]PWC1396: Servlet /cognos10 threw load() exception
java.lang.ClassCastException: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl cannot be cast to javax.xml.parsers.SAXParserFactory
        at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
        at com.cognos.accman.jcam.crypto.misc.Configuration.parseConfig(Configuration.java:220)
        at com.cognos.accman.jcam.crypto.misc.Configuration.getInstanceWithDefaultConfig(Configuration.java:114)
        at com.cognos.accman.jcam.crypto.misc.JVMEnvironment.isFIPSSupportedOS(JVMEnvironment.java:212)
        at com.cognos.accman.jcam.crypto.CAMFactory.checkFIPSSupport(CAMFactory.java:2814)
        at com.cognos.accman.jcam.crypto.CAMFactory.initialize(CAMFactory.java:125)
        at com.cognos.pogo.bibus.CryptoFacility.createCAMFactory(CryptoFacility.java:89)
        at com.cognos.pogo.bibus.CryptoFacility.getCAMFactory(CryptoFacility.java:229)
        at com.cognos.servletgateway.Gateway.init(Gateway.java:201)
        at com.cognos.pogo.isolation.ServletWrapper.initServlet(ServletWrapper.java:121)
        at com.cognos.pogo.isolation.ServletWrapper.init(ServletWrapper.java:101)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1165)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:994)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4731)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5125)
        at com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:235)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:924)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:917)
        at com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:70)
        at com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:491)
        at com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:304)

BHADX001

Have added the JVM Option to set the XML Parser and the webserver instance is failing to start with the below error

Configuration :reds
Node :localhost
ADMIN3603: Error while starting the server:
failure: CORE4007: Internal error: Unexpected Java exception thrown (javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found, Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found), stack: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:129)
at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:432)
at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:406)
at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:353)
at com.sun.webserver.config.serverbeans.Server.createGraph(Server.java:2946)
at com.sun.webserver.config.serverbeans.Server.createGraph(Server.java:2942)
at com.sun.webserver.init.ServerContextImpl.getConfigBean(ServerContextImpl.java:196)
at com.sun.webserver.init.J2EERunner.confPreInit(J2EERunner.java:195)
failure: CORE3186: Failed to set configuration
failure: server initialization failed