Could not initialize class weblogic.wsee.jaxws.spi.WLSProvider

Hi,
I'm new in WebLogic . I created some jee projects (usually simple) before, but only in glassfish or tomcat. I read simple netbeans tutorial http://netbeans.org/kb/docs/websvc/jax-ws.html , but when i run this project in WebLogic i had the error:
java.lang.NoClassDefFoundError: Could not initialize class weblogic.wsee.jaxws.spi.WLSProvider
- WebLogic 12c, Java 7.0_15
Any ideas?

Do I have to add wseeclient.jar to classpath when i create web service ? It is not a client appplication.

Similar Messages

  • Java.lang.ClassCastException: weblogic.wsee.jaxws.spi.WLSProvider

    My wlserver_10.3 throws the following 500 exception on the attempt to create an Endpoint. I'm using cxf-2.3.x which uses geronimo-jaxws_2.2_spec-1.0.jar where the the line Provider.java:43 simply calls "return (Provider) FactoryFinder.find(JAXWSPROVIDER_PROPERTY, DEFAULT_JAXWSPROVIDER);"
    LINE 42 - public static Provider provider() {
    LINE 43 - return (Provider) FactoryFinder.find(JAXWSPROVIDER_PROPERTY, DEFAULT_JAXWSPROVIDER);
    LINE 44 - }
    It appeared the different ClassLoader's cause issues with casting itself. I appreciate any suggestion in resolving this ...
    Exception thrown by wlserver_10.3 ...
    java.lang.ClassCastException: weblogic.wsee.jaxws.spi.WLSProvider
         at javax.xml.ws.spi.Provider.provider(Provider.java:43)
         at javax.xml.ws.Endpoint.create(Endpoint.java:41)
         at javax.xml.ws.Endpoint.create(Endpoint.java:37)
         at com.ttdev.ss.SimpleServlet.loadBus(Unknown Source)
         at org.apache.cxf.transport.servlet.AbstractCXFServlet.init(AbstractCXFServlet.java:84)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3686)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    I attached here my weblogic-application.xml for reference ...
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-application xmlns="http://xmlns.oracle.com/weblogic/weblogic-application">
         <application-param>
              <param-name>webapp.encoding.default</param-name>
              <param-value>UTF-8</param-value>
         </application-param>
         <prefer-application-packages>
              <package-name>org.apache.*</package-name>
              <package-name>javax.jws.*</package-name>
              <package-name>javax.xml.ws.*</package-name>
              <package-name>org.xmlsoap.schemas.wsdl.*</package-name>
         </prefer-application-packages>
    </weblogic-application>
    Edited by: user13468901 on Dec 29, 2010 1:22 PM

    Thank you ... The ClassCastException has gone after I removed the entry but I got another exception below that also seems to do w/ using the wrong class. Please let me know if there is a configuration I should tweak for this?
    Another the question I have is if removing the file $WL_HOME/server/lib/weblogic.jar!/META-INF/services/javax.xml.ws.spi.Provider (or any similar file) from weblogic.jar will affect any of wlserver_10.3 internal/built-in functionality?
    Thanks,
    Interceptor for {http://ttdev.com/ss}SecureService#{http://ttdev.com/ss}concat has thrown exception, unwinding now
    java.lang.UnsupportedOperationException: This class does not support SAAJ 1.1
    at weblogic.webservice.core.soap.SOAPPartImpl.createElementNS(SOAPPartImpl.java:820)
    at org.apache.cxf.staxutils.W3CDOMStreamWriter.writeStartElement(W3CDOMStreamWriter.java:132)
    at org.apache.cxf.staxutils.StaxUtils.writeStartElement(StaxUtils.java:527)
    at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:465)
    at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:453)
    at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:435)
    at org.apache.cxf.binding.soap.saaj.SAAJInInterceptor.handleMessage(SAAJInInterceptor.java:113)
    at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.getSOAPMessage(WSS4JInInterceptor.java:130)
    at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:168)
    at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:81)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)
    at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99)
    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:461)
    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:188)
    at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:180)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:104)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3686)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

  • NoClassDefFoundError: weblogic.wsee.jaxws.spi.WLSProvider

    Hello,
    I am getting NoClassDefFoundError: weblogic.wsee.jaxws.spi.WLSProvider,
    when running webservice client.
    please........................
    Thank you.

    As u have mentioned that u are facing this issue while Accessing the WebService from Client side....Then better you should add the "wlfullclient.jar" file t the client side...which is recommended as well....
    How to create the "wlfullclient.jar" ...please refer to http://jaysensharma.wordpress.com/2010/02/03/building-wlfullclient-jar/

  • NullPointerExceptionat weblogic.wsee.jaxws.spi.ClientIdentityRegimeMBean()

    I have a JEE application which consumes a service in Windows. JEE application sends xml message via http. I uses javax.xml.ws.Service as following:
    String url = "http://abc/efg.asp";
    QName qname = new QName("", "");
    Service service = Service.create(qname);
    service.addPort(qname, HTTPBinding.HTTP_BINDING, url);             
    Dispatch<Source> dispatcher = service.createDispatch(qname,  Source.class, Service.Mode.MESSAGE); //Problem comes from here!!
    Map<String, Object> requestContext = dispatcher.getRequestContext();
    requestContext.put(MessageContext.HTTP_REQUEST_METHOD, "POST");
    I successfully passed JUnit test with Glassifish libaries, but I got following exception after I deployed it in Weblogic 10.3.3:
    Weblogic tries to add a Client Identity?? Can anyone help?
    Thanks in advance.
    8-Jul-2010 9:36:07 AM com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl invoke
    SEVERE: null
    java.lang.NullPointerException
            at weblogic.wsee.jaxws.spi.ClientIdentityRegistry.internalAddClientRunti
    meMBean(ClientIdentityRegistry.java:470)
            at weblogic.wsee.jaxws.spi.ClientIdentityRegistry.addClientRuntimeMBean(
    ClientIdentityRegistry.java:424)
            at weblogic.wsee.jaxws.tubeline.standard.WseeClientTube.register(WseeCli
    entTube.java:54)
            at weblogic.wsee.jaxws.tubeline.standard.WseeClientTube.<init>(WseeClien
    tTube.java:35)
            at weblogic.wsee.jaxws.tubeline.standard.StandardTubelineDeploymentListe
    ner$1.createClient(StandardTubelineDeploymentListener.java:52)
            at weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl
    .createClient(WLSTubelineAssemblerFactory.java:148)
            at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDeleg
    ate.java:467)
            at com.sun.xml.ws.client.WSServiceDelegate.createDispatch(WSServiceDeleg
    ate.java:409)
            at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.internalCreateDis
    patch(WLSProvider.java:671)
            at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate$DispatchClientIns
    tanceFactory.createClientInstance(WLSProvider.java:938)
            at weblogic.wsee.jaxws.spi.ClientInstancePool.takeSimpleClientInstance(C
    lientInstancePool.java:621)
            at weblogic.wsee.jaxws.spi.ClientInstancePool.take(ClientInstancePool.ja
    va:486)
            at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.createDispatch(WL
    SProvider.java:595)
            at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.createDispatch(WL
    SProvider.java:551)
            at com.sun.xml.ws.client.WSServiceDelegate.createDispatch(WSServiceDeleg
    ate.java:420)
            at com.sun.xml.ws.client.WSServiceDelegate.createDispatch(WSServiceDeleg
    ate.java:402)
            at javax.xml.ws.Service.createDispatch(Service.java:325)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstance
    Resolver.java:92)
            at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstance
    Resolver.java:74)
            at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:151)
            at com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl.invoke(EndpointMe
    thodHandlerImpl.java:265)
            at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTub
    e.java:100)
            at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
            at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
            at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
            at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
            at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:37
    3)
            at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdap
    ter.java:524)
            at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:255
            at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAd
    apter.java:140)
            at weblogic.wsee.jaxws.WLSServletAdapter.handle(WLSServletAdapter.java:2
    08)
            at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServl
    etAdapter.java:310)
            at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:2
    23)
            at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:124)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:79)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:300)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:183)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.doIt(WebAppServletContext.java:3686)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3650)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2268)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2174)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1446)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: user7094530 on 8-Jul-2010 11:44 AM

    exclude sun implementions of the following jars jaxws-api-2.1.jar, jaxb-impl-2.1.7.jar, jaxws-api-2.1.jar и jaxws-rt-2.1.4.jar. Use Weblogic implemention which provides with weblogic server. These should fix the error.

  • Could not initialize class com.bea.security.quark.ASIParserProxy in ADF

    Hi Everyone,
    I am trying to learn ADF Skinning.I am using Jdeveloper 11.1.2.3.0 version.I am practicing ADF Skinning Doc, "Changing an Application's Look and Feel by Using Skins" in Jdeveloper tutorials.
    While i am downloaded ADF Skin Sample Example and running Home.jspx page i am getting the following error and it is fail to deploy into integrated weblogic server.
    <LoggerHelper> <log> Error during preRegister for MBean oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=ADFSkinSample
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy
         at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalPreRegister(LoggingMBeanInterceptor.java:663)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.preRegister(OracleStandardEmitterMBean.java:619)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1010)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:445)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:462)
         at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor$1.run(PrivilegedMBeanServerInterceptor.java:55)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor.registerMBean(PrivilegedMBeanServerInterceptor.java:60)
         at oracle.mds.internal.lcm.MDSLifecycleListenerImpl.start(MDSLifecycleListenerImpl.java:163)
         at oracle.mds.lcm.weblogic.WLLifecycleListener.preStart(WLLifecycleListener.java:73)
         at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
         at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:62)
         at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:283)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy
         at oracle.security.jps.az.internal.runtime.entitymanager.ExtensionsManagerImpl.init(ExtensionsManagerImpl.java:227)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initWithAppPolicyEntry(ApplicationPolicyImpl.java:322)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initAppPolicy(ApplicationPolicyImpl.java:274)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:575)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:556)
         at oracle.security.jps.internal.policystore.PolicyUtil.getGrantedAppRoles(PolicyUtil.java:2876)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$5.run(JpsAbsSubjectResolver.java:497)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$5.run(JpsAbsSubjectResolver.java:487)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getApplicationRoles(JpsAbsSubjectResolver.java:487)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.createJpsSubject(JpsAbsSubjectResolver.java:334)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getAuthenticatedSubject(JpsAbsSubjectResolver.java:328)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveJpsSubject(JpsAbsSubjectResolver.java:263)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveSubject(JpsAbsSubjectResolver.java:214)
         at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalPreRegister(JpsJmxInterceptor.java:461)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPreRegister(DefaultMBeanInterceptor.java:81)
         at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalPreRegister(ContextClassLoaderMBeanInterceptor.java:150)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPreRegister(DefaultMBeanInterceptor.java:81)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.generic.spi.interceptors.BasePublicMBeanInterceptor.internalPreRegister(BasePublicMBeanInterceptor.java:110)
         at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalPreRegister(LoggingMBeanInterceptor.java:633)
         ... 45 more
    <Jan 17, 2013 12:33:46 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1358406226826' for task '9'. Error is: 'java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy'
    java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy
         at oracle.security.jps.az.internal.runtime.entitymanager.ExtensionsManagerImpl.init(ExtensionsManagerImpl.java:227)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initWithAppPolicyEntry(ApplicationPolicyImpl.java:322)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initAppPolicy(ApplicationPolicyImpl.java:274)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:575)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy
         at oracle.security.jps.az.internal.runtime.entitymanager.ExtensionsManagerImpl.init(ExtensionsManagerImpl.java:227)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initWithAppPolicyEntry(ApplicationPolicyImpl.java:322)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initAppPolicy(ApplicationPolicyImpl.java:274)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:575)
         Truncated. see log file for complete stacktrace
    >
    <Jan 17, 2013 12:33:47 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'ADFSkinSample'.>
    <Jan 17, 2013 12:33:47 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy
         at oracle.security.jps.az.internal.runtime.entitymanager.ExtensionsManagerImpl.init(ExtensionsManagerImpl.java:227)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initWithAppPolicyEntry(ApplicationPolicyImpl.java:322)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initAppPolicy(ApplicationPolicyImpl.java:274)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:575)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy
         at oracle.security.jps.az.internal.runtime.entitymanager.ExtensionsManagerImpl.init(ExtensionsManagerImpl.java:227)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initWithAppPolicyEntry(ApplicationPolicyImpl.java:322)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initAppPolicy(ApplicationPolicyImpl.java:274)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:575)
         Truncated. see log file for complete stacktrace
    >
    [12:33:47 PM] Deployment cancelled.
    [12:33:47 PM] ---- Deployment incomplete ----.
    [12:33:47 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application ADFSkinSample due to error deploying to IntegratedWebLogicServer.
    [Application ADFSkinSample stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Could any one help on this.
    Best Regards

    I have deployed CF 9 on WebLogic 10.3.4. 
    The K2Encrypt error occured when I was accessing the CF Admin page and I would get blank pages.  The workaround to that was to change the adminconfig.xml setting of <unsetupwizard> to false.  Everything seemed to work, but then when I accessed the Coldfusion Collections page then I would again see a blank page and the K2Encrypt error in the exception log.
    The K2Encrypt class is provided by the verity.jar which was being picked up, although not properly it seems, by ColdFusion in its class path.
    As of 8/15, support at Adobe confirmed that this was an issue after they replicated the same problem.  They stated that they have escalated this to their engineering department.

  • Could not initialize class com.verity.security.k2.K2Encrypt

    I have error message see below when select Verity collections in the Data and Services coldfusion menu.
    My config:
    window 2008, IIS 7, Coldfusion MX 7,0,2,142559
    Java Home                        C:\Program Files (x86)\Java\jdk1.6.0_22\jre
    Java Class  Path
    CF Classpath
    ;C:/CFusionMX7/runtime/../lib/ant-launcher.jar;   C:/CFusionMX7/runtime/../lib/ant.jar;   C:/CFusionMX7/runtime/../lib/axis.jar;   C:/CFusionMX7/runtime/../lib/backport-util-concurrent.jar;   C:/CFusionMX7/runtime/../lib/bcel.jar;   C:/CFusionMX7/runtime/../lib/cdo.jar;   C:/CFusionMX7/runtime/../lib/cdohost.jar;   C:/CFusionMX7/runtime/../lib/cf4was.jar;   C:/CFusionMX7/runtime/../lib/cf4was_ae.jar;   C:/CFusionMX7/runtime/../lib/cfmx-ssl.jar;   C:/CFusionMX7/runtime/../lib/cfusion.jar;   C:/CFusionMX7/runtime/../lib/commons-beanutils-1.5.jar;   C:/CFusionMX7/runtime/../lib/commons-collections-2.1.jar;   C:/CFusionMX7/runtime/../lib/commons-digester-1.7.jar;   C:/CFusionMX7/runtime/../lib/commons-discovery-0.2.jar;   C:/CFusionMX7/runtime/../lib/commons-discovery.jar;   C:/CFusionMX7/runtime/../lib/commons-logging-1.0.2.jar;   C:/CFusionMX7/runtime/../lib/commons-logging-api-1.0.2.jar;   C:/CFusionMX7/runtime/../lib/commons-net-1.2.2.jar;   C:/CFusionMX7/runtime/../lib/crystal.jar;   C:/CFusionMX7/runtime/../lib/flashgateway.jar;   C:/CFusionMX7/runtime/../lib/flashremoting_update.jar;   C:/CFusionMX7/runtime/../lib/flex-assemblerservice.jar;   C:/CFusionMX7/runtime/../lib/flex-messaging-common.jar;   C:/CFusionMX7/runtime/../lib/flex-messaging-opt.jar;   C:/CFusionMX7/runtime/../lib/flex-messaging-req.jar;   C:/CFusionMX7/runtime/../lib/flex-messaging.jar;   C:/CFusionMX7/runtime/../lib/httpclient.jar;   C:/CFusionMX7/runtime/../lib/ib61patch.jar;   C:/CFusionMX7/runtime/../lib/ib6addonpatch.jar;   C:/CFusionMX7/runtime/../lib/ib6core.jar;   C:/CFusionMX7/runtime/../lib/ib6swing.jar;   C:/CFusionMX7/runtime/../lib/ib6util.jar;   C:/CFusionMX7/runtime/../lib/im.jar;   C:/CFusionMX7/runtime/../lib/iText.jar;   C:/CFusionMX7/runtime/../lib/iTextAsian.jar;   C:/CFusionMX7/runtime/../lib/izmado.jar;   C:/CFusionMX7/runtime/../lib/jakarta-oro-2.0.6.jar;   C:/CFusionMX7/runtime/../lib/java2wsdl.jar;   C:/CFusionMX7/runtime/../lib/jaxrpc.jar;   C:/CFusionMX7/runtime/../lib/jdom.jar;   C:/CFusionMX7/runtime/../lib/jeb.jar;   C:/CFusionMX7/runtime/../lib/jintegra.jar;   C:/CFusionMX7/runtime/../lib/ldap.jar;   C:/CFusionMX7/runtime/../lib/ldapbp.jar;   C:/CFusionMX7/runtime/../lib/log4j.jar;   C:/CFusionMX7/runtime/../lib/macromedia_drivers.jar;   C:/CFusionMX7/runtime/../lib/mail.jar;   C:/CFusionMX7/runtime/../lib/msapps.jar;   C:/CFusionMX7/runtime/../lib/pbclient42RE.jar;   C:/CFusionMX7/runtime/../lib/pbembedded42RE.jar;   C:/CFusionMX7/runtime/../lib/pbserver42RE.jar;   C:/CFusionMX7/runtime/../lib/pbtools42RE.jar;   C:/CFusionMX7/runtime/../lib/poi-2.5.1-final-20040804.jar;   C:/CFusionMX7/runtime/../lib/poi-contrib-2.5.1-final-20040804.jar;   C:/CFusionMX7/runtime/../lib/ri_generic.jar;   C:/CFusionMX7/runtime/../lib/saaj.jar;   C:/CFusionMX7/runtime/../lib/smack.jar;   C:/CFusionMX7/runtime/../lib/smpp.jar;   C:/CFusionMX7/runtime/../lib/STComm.jar;   C:/CFusionMX7/runtime/../lib/tools.jar;   C:/CFusionMX7/runtime/../lib/tt-bytecode.jar;   C:/CFusionMX7/runtime/../lib/vadmin.jar;   C:/CFusionMX7/runtime/../lib/verity.jar;   C:/CFusionMX7/runtime/../lib/vparametric.jar;   C:/CFusionMX7/runtime/../lib/vsearch.jar;   C:/CFusionMX7/runtime/../lib/wc50.jar;   C:/CFusionMX7/runtime/../lib/webchartsJava2D.jar;   C:/CFusionMX7/runtime/../lib/wsdl2java.jar;   C:/CFusionMX7/runtime/../lib/wsdl4j-1.5.1.jar;   C:/CFusionMX7/runtime/../lib/wsdl4j.jar;   C:/CFusionMX7/runtime/../lib/xalan.jar;   C:/CFusionMX7/runtime/../lib/xercesImpl.jar;   C:/CFusionMX7/runtime/../lib/xml-apis.jar;   C:/CFusionMX7/runtime/../lib/;   C:/CFusionMX7/runtime/../gateway/lib/examples.jar;   C:/CFusionMX7/runtime/../gateway/lib/flex-messaging-gateway.jar;   C:/CFusionMX7/runtime/../gateway/lib/;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/batik-awt-util.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/batik-css.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/batik-ext.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/batik-transcoder.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/batik-util.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/commons-discovery.jar;    C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/commons-logging.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/concurrent.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/flex.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/jakarta-oro-2.0.7.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/jcert.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/jnet.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/jsse.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/oscache.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/;  C:/Program  Files (x86)/Java/jdk1.6.0_22/src.zip;  C:/Program Files  (x86)/Java/jdk1.6.0_22/; 
    Server Classpath
    C:\CFusionMX7\runtime\servers\lib; 
    C:\CFusionMX7\runtime\servers\lib\jrun-patch.jar;
    C:\CFusionMX7\runtime\..\lib\macromedia_drivers.jar; 
    C:\CFusionMX7\runtime\lib\cfmx_mbean.jar;
    C:\CFusionMX7\runtime\lib; 
    C:\CFusionMX7\runtime\lib\cfmx_mbean.jar;
    C:\CFusionMX7\runtime\lib\instutil.jar; 
    C:\CFusionMX7\runtime\lib\java2wsdl.jar;
    C:\CFusionMX7\runtime\lib\jrun-ant-tasks.jar; 
    C:\CFusionMX7\runtime\lib\jrun-xdoclet.jar;
    C:\CFusionMX7\runtime\lib\jrun.jar; 
    C:\CFusionMX7\runtime\lib\jspc.jar;
    C:\CFusionMX7\runtime\lib\migrate.jar; 
    C:\CFusionMX7\runtime\lib\oem-xdoclet.jar;
    C:\CFusionMX7\runtime\lib\sniffer.jar; 
    C:\CFusionMX7\runtime\lib\webservices.jar;
    C:\CFusionMX7\runtime\lib\wsconfig.jar; 
    C:\CFusionMX7\runtime\lib\wsdl2java.jar;
    C:\CFusionMX7\runtime\lib\xmlscript.jar; 
    C:\CFusionMX7\runtime\lib\jrun.jar
    Java Ext Dirs
    C:\Program Files  (x86)\Java\jdk1.6.0_22\jre\lib\ext;C:\Windows\Sun\Java\lib\ext 
    Error Message:
    Could not initialize class com.verity.security.k2.K2Encrypt The specific  sequence of files included or processed is:  C:\inetpub\wwwroot\CFIDE\administrator\verity\index.cfm, line: 227
    Do you have the solution.
    Thanks

    I have deployed CF 9 on WebLogic 10.3.4. 
    The K2Encrypt error occured when I was accessing the CF Admin page and I would get blank pages.  The workaround to that was to change the adminconfig.xml setting of <unsetupwizard> to false.  Everything seemed to work, but then when I accessed the Coldfusion Collections page then I would again see a blank page and the K2Encrypt error in the exception log.
    The K2Encrypt class is provided by the verity.jar which was being picked up, although not properly it seems, by ColdFusion in its class path.
    As of 8/15, support at Adobe confirmed that this was an issue after they replicated the same problem.  They stated that they have escalated this to their engineering department.

  • SOAP Axis - Could not initialize class OperationDesc error in Receiver SOAP

    Hi,
    We are facing a issue in receiver soap scenario with NTLM Authentication.
    We have deployed the necessary jar files needed for Axis framework. But we are geting an error 'Could not initialize class org.apache.axis.description.OperationDesc'.
    Any idea how to overcome this error?
    Edited by: Aarthi on Apr 27, 2010 8:29 AM

    Yes. I checked.
    In addition to the mandatory files, we have deployed the below 3 files for NTLM.
    Jakarta-Commons Codec
    Found: org.apache.commons.codec.Encoder at D:\usr\sap\DGX\DVEBMGS00\j2ee\cluster\bin\ext\com.sap.aii.af.axisproviderlib\lib\commons-codec-1.3.jar
    Jakarta-Commons Net
    Found: org.apache.commons.net.SocketFactory at D:\usr\sap\DGX\DVEBMGS00\j2ee\cluster\bin\ext\com.sap.aii.af.axisproviderlib\lib\commons-net-1.0.0-dev.jar
    Jakarta-Commons HttpClient
    Found: org.apache.commons.codec.Encoder at D:\usr\sap\DGX\DVEBMGS00\j2ee\cluster\bin\ext\com.sap.aii.af.axisproviderlib\lib\commons-codec-1.3.jar

  • Linux Issue  - Could not initialize class sun.print.CUPSPrinter

    Afternoon All,
    I am using the latest CR4Ev2.
    Java 1.6 (Am very sure but will double check)
    My Windows enviroment is all working perfectly and so have moved my application over to a Linux setup.
    After solving all my case-sensitivity issues I have managed to get my reports almost working. (I hope almost)
    When the following code is run:
    reportClientDocument = new ReportClientDocument();
    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
    reportClientDocument.open(reportFilePath,OpenReportOptions._openAsReadOnly);
    I get the below error messages in my logging.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Could not initialize class sun.print.CUPSPrinter---- Error code:-2147467259 Error code name:failed
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:286)
         at com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43)
         at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(SourceFile:703)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(SourceFile:504)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(SourceFile:669)
    Now it could just be as simple as we dont have a printer setup on that box.
    Is this a definate requirement. Does the server have to have a printer setup, even if we are only exporting to PDF files.
    I am still doing some testing and since it is the first time getting this far on Linux it might be mistakes on my side,
    but thought I would ask the wide world and see what replies I get back.
    Cheers
    Darren
    Edited by: Darren Jackson on Mar 10, 2010 11:12 AM
    Sorry for the bump but wanted to change the subject to something more enticing

    After many many hours of reading and pulling my hair out I have found a solution to my problem,
    Whether it is a valid solution or a workaround or a cheat I am hoping someone can tell me.
    If I run my application with the switch
    java -jar -Djava.awt.headless=true MyApp.jar
    It works.
    Now I am still doing some investigation on what exactly this headless switch is doing. But it works so I am happy.
    If anyone can give me a technical and or a laymans explanation that would be great.
    All I have to do now is solve my Font issue
    Cheers
    Darren

  • Could not initialize class sun.awt.X11.XToolkit

    hi all
    String fileName = "c:/test/one.jpg";
    Image imgg = Toolkit.getDefaultToolkit().getImage(fileName);
         ImageIcon img = new ImageIcon(imgg);
         imgDim = ""+img.getIconHeight();
    when i run this code in linux machine am getting the error Could not initialize class sun.awt.X11.XToolkit....but its runnig on windows machine.. is there anything wrong wiht my code........pl help me any1 out of dis

    here http://rapid-i.com/rapidforum/index.php?topic=366.0
    they talk about adding to the JVM options a "-Djava.awt.headless=true"

  • Could not initialize class coldfusion.runtime.report.Report

    I have inherited an application that contains a number of
    reports. This application was developed on our CF7 server, and when
    we upgraded, the application was copied to 8, but not fully tested.
    Now, when we request the reports, we get the following errors (this
    is a Flex application):
    (mx.rpc::Fault)#0
    errorID = 0
    faultCode = "Server.Processing"
    faultDetail = (null)
    faultString = "Could not initialize class
    coldfusion.runtime.report.Report"
    message = "faultCode:Server.Processing faultString:'Could
    not initialize class coldfusion.runtime.report.Report'
    faultDetail:'null'"
    name = "Error"
    rootCause = (null)
    My searching for a solution has not been successful on
    Google. Has anyone experienced this error and been able to fix it?
    I'm at a loss on what to do next, and as the app is in production,
    I have some upset clients over this.
    Thanks!!
    Jenn

    I can't find anything further on this error after much
    research. I'm getting the problem when I try to run any report on a
    live web server (hosted site), even though it runs fine in the
    development environment. My hosting company could only suggest that
    the problem could lie with the fact they have RDS disabled;
    however, although the Report Builder requires RDS, running uploaded
    .cfr reports from the cfreport tag shouldn't. If anyone solves this
    I'd be most grateful for the information to be posted.

  • RDS server message: could not initialize class com.adobe.rds.core.services.Messages

    I just moved to a new host with my own dedicated cloud server.  Using CF9.  Everything seems to be working fine with the server, but i get the following error when connecting to it via RDS through CF Builder 2.
    RDS server message: could not initialize class com.adobe.rds.core.services.Messages
    I get it when i first connect to the server, then if i try to access it again, it will let me in.  I also get an error when i try to open the first file.  Then its ok.
    I have no idea what it can be, i have not run into this on any other server that I have connected to.

    Hello,
    After 2 months of it not working for love or money.  I got a new machine and ColdFusion Builder 2 and started over.  It worked for a while.  Then when the trial version timed out a few days ago it killed it again.  With the same error.  So it is definitely something that gets “switched” within the code or configuration settings.   Rebooting about 3x seemed to fix it this time after entering the license number. 
    Yes to answer your questions below.  Yes, I did all those things below. Re-checked and checked numerous times.  Keep in mind the installation there worked for over a year then all of a sudden stopped.   I hadn’t changed anything at all.  And it just stopped dead, started throwing up that error. 
    I asked all the experts in my office.  One guy knows CF and Java inside and out and could not figure it out.  I searched the web and the issue is listed many times but with no real answers. 
    Thanks for getting back to me.  I am up and running with new machine.  But since I’ve seen the error on this machine now, I live in fear it will reappear and stop working.  So if you come up with any thoughts I would appreciate it. 
    Thanks,
    -Lyle

  • Jdeveloper - Could not initialize class javax.swing.KeyStroke

    I am trying to install jdeveloper on a new machine, I have installed latest JDK from sun and downloaded the jdevstudiobase101033.zip file, however once I have followed the instructions to install on linux (Fedora core 11 - 64bit) and try to fire jdev up using jdev/bin/jdev I get the following error message:
    Oracle JDeveloper 10g 10.1.3.3
    Copyright 1997, 2007 Oracle. All Rights Reserved
    java.lang.NoClassDefFoundError: Could not initialize class javax.swing.KeyStroke
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at oracle.ide.IdeCore.class$(IdeCore.java:98)
         at oracle.ide.IdeCore.startupImpl(IdeCore.java:816)
         at oracle.ide.Ide.startup(Ide.java:674)
         at oracle.ideimpl.Main.start(Main.java:49)
         at oracle.ideimpl.Main.main(Main.java:25)
    I have trawled through google and forums at oracle with no joy, could someone kindly give me some pointers as to what I have missed or what may be wrong ?
    Thanks
    Ian

    It is running the 32 bit JDK, the 64 bit threw up errors even earlier in the startup porcedure.
    Ian

  • Could not initialize class com.crystaldecisions.reports.dataengine.DataSour

    Dear All,
    I am getting nuts and frustrated with Crystal Reports currently. One day or the other some problem
    is coming where there is no reference how to solve it. The support is very slow for java developers.
    Anyhow, i made to work the formula, i was working on yesterday with the PREVIEW inside Eclipse
    Helios.
    Now when i generated the JSP for it, i have started getting strange error, here is it given
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Could not initialize class com.crystaldecisions.reports.dataengine.DataSourceManager---- Error code:-2147467259 Error code name:failed
    I dont now what to do, i am in fix, please help.
    Prithvi

    That file is found in CrystalReportsRuntime.jar

  • Could not initialize class com.crystaldecisions.reports.formatter.export2.E

    i m using Eclipse 3.4.1 Crystal Reports development tool. I have tried to develop a report. On preview it's working fine. when i host the application into tomcat6.0 and tried to open the link, web page provides an Error like "Could not initialize class com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx"
    1 hr before it was worked but not now. i had tried in all the way but getting same problem.
    Anyone help me to solve this issue.
    Thanks in advance.
    Regards,
    Ram

    Thanks Ted. Can u help me on changing the datasource.
    Actually i need to change the datasource from development environment to production server. i had configured the JNDI informations like the following:
    <Context path="/RFT" docBase="RFT" reloadable="true">
            <Resource
              auth="Container"
              type="javax.sql.DataSource"
              driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
              validationQuery="select 1"
              name="jdbc/datasource"
              username="sa"
              password="$m1sbag$"
              maxIdle="-1"
                     maxActive="0"
              maxWait="5000"
                url="jdbc:microsoft:sqlserver://172.24.151.149:1433;databaseName=Projectgold" />
               <WatchedResource>WEB-INF/web.xml</WatchedResource>
    </Context>
    and mentioned the JNDI Connection Name as 'jdbc/datasource'. but still getting the same connection which one is configured during the report design. need your help to resolve this...
    Thanks,
    Ram

  • Could not initialize class DataSourceManager

    Could not initialize class com.crystaldecisions.reports.dataengine.DataSourceManager
    i'm getting that exception running the next code on a servlet:
    try{
    String REPORT_NAME = "C:\\test.rpt";
    ReportClientDocument reportClientDoc = new ReportClientDocument();
    reportClientDoc.open(REPORT_NAME, 0);
    // set up a viewer
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setOwnPage(true);
    viewer.setOwnForm(true);
    viewer.setPrintMode(CrPrintMode.PDF);
    // pass it the report source
    viewer.setReportSource(reportClientDoc.getReportSource());
    //Render the report.
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
            }catch(Exception ex){
                out.print("error: "+ex.getMessage());
    i already downloaded and imported(only these) the lastest runtime jars for eclipe(i'm using netbeans 6.8, JDK 1.6.0), copied the crystalreportsviewers to webapp directory and created this crconfig.xml on web-inf/classes folder:
    <?xml version="1.0" encoding="utf-8" ?>
    - <CrystalReportEngine-configuration>
      <reportlocation>../reports</reportlocation>
      <timeout>0</timeout>
    - <ExternalFunctionLibraryClassNames>
      <classname />
      </ExternalFunctionLibraryClassNames>
      </CrystalReportEngine-configuration>
    that's all i have set up
    my rpt(bult on CR2008 12.0.0.683 developer edition), just shows a "hello world test" message...
    thanks
    Edited by: TheJez on Nov 5, 2010 8:19 PM

    Thanks so much D Pavan K.
    It's work now. 

Maybe you are looking for

  • Simple question about iPhone backups and password

    I can't remember the password to my iPhone-backup in iTunes. But, phew, I haven't lost any data, as I have my iPhone with all data intact. So I deleted the backup in iTunes, and tried to start a fresh backup with a new password. But alas, that doesn'

  • Create a WM managed storage location

    I have created a new Storage location which I would like to use to transfer materials to a warehouse storage bin. How do I make it so that a storage location is connected to my warehouse?  This is so that I can use MIG to transfer materials from a no

  • Help! can't get itunes to install on my computer

    I recently got my own computer and installed Windows 7 on it. Now, I'm trying to put my music on it and i need to install itunes. it won't work. I click on the Download iTunes button, and it sends me to the "Thank you for downloading!" page and NOTHI

  • Inserting new Account Contacts  puzzling error

    For some reason, inserting a contact with a random ContactLastName returns an error. See example below: SOAP Request: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="urn:crmondemand/ws/ecbs/account/10/2004" xml

  • OnClick Javascript Error in DW CS4

    Hi. I can't do roll overs. Whenever I try to select the first image, this alertbox appears with this message, "While Executing onClick in Rollover.htm, the following Javascript Error Occurred: In file "Rollover": exception thrown in native function.