WAS 5: Adding keys to com.ibm.ejs.resources.seriousMessages  TraceNLS?

In my servlet's init method I'm loading a configuration file. If the configuration file cannot be found (or is fubared), I throw an UnavailableException with a description of the problem and how to resolve it.
The result of throwing this exception out of init gives in stdout:
6ab39d49 TraceNLS u No message text associated with key Servlet.is.unavailable,.because.the.root.configuration.could.not.be.loaded.
To.fix,.insert.root.properties.into.the.classpath. in bundle com.ibm.ejs.resources.seriousMessages
This is ugly and I'd like to remove this warning. I can convert my message text to a key, but how/where can I map my key to some text so that I won't get this warning from TraceNLS?
Googling TraceNLS and com.ibm.ejs.resources.seriousMessages just brought up a bunch of pages of people with problems who copy/pasted their entire output.
Thanks for your help.

This error is caused by $(node.name) variables in the application server descriptors of the nodes not being replaced with the node name.
Simply open the server.xml file for each node and replace $(node.name) with the specific node name of each node. This can also be done at the dmgr level for each application server so that it syncs in the future.
See this topic for a similar error involving security.xml:
http://www-1.ibm.com/support/docview.wss?uid=swg21221268

Similar Messages

  • BPEL on WAS getting faultstring com.ibm.ejs.container.HomeDisabledExceptio

    I've been seeing lots of HomeDisabledExceptions in the WAS log files (SystemOut.log), but according to IBM's web site, that's not a real problem and it can be ignored.
    The problem I'm having now is that whenever I run any process from the BPEL console, I'm just getting this back:
    <Faulthttp://schemas.xmlsoap.org/soap/envelope/>
    <faultcode>soapenv:Server.userException</faultcode>
    <faultstring>com.ibm.ejs.container.HomeDisabledException: CollaxaWebApplications-esbspqapp02cdc#ejb_ob_engine.jar#CubeEngineBean</faultstring>
    <detail>
    <hostnamehttp://xml.apache.org/axis/>esbspqapp02cdc</hostname>
    </detail>
    </Fault>
    Anybody have any ideas?
    Thanks in advance!
    David

    recycling the websphere server helped and now the bpel processes are going thru fine.
    Guess it had somethign to do with the websphere server.

  • NoClassDefFoundError WsnInitialContextFactory com/ibm/ejs/ras/Tr

    This is a very well known question.
    I try to call datasource from a POJO.
    My code is:
    Hashtable properties = new Hashtable();
    properties.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
    properties.put(Context.PROVIDER_URL, "iiop://localhost:myPortNumber);
    Context context = new InitialContext(properties);
    DataSource ds = (DataSource) context.lookup("jdbc/myDS");
    Line: Context context = new InitialContext(properties); throws Exception as shown below:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/ejs/ras/Tr at com.ibm.websphere.naming.WsnInitialContextFactory.<clinit>(WsnInitialContextFactory.java:68).null(Unknown Source)
    I have following jar files in build path of the project in following sequence:
    idl.jar, iwsorb.jar,j2ee.jar,naming.jar, namingclient.jar,rt.jar, additinal jars in WebSphere v5.1JRE.
    Do I need additional jar files?
    There is no good documentation on the required jar files.

    Hello ,my friend.Thank you for your kindness to see my question
    This is my log on my websphere console
    I want deploy my project from a weblogic to a websphere , Now I try to use Jbuilder and websphere to deploy my code ,but I met a lot of question ,Can you help me? Thank you
    Exception in thread "main" java.lang.NoClassDefFoundError: com.ibm.ejs.ras.Tr
         at com.ibm.ws.util.ImplFactory.<clinit>(ImplFactory.java:77)
         at java.lang.J9VMInternals.initializeImpl(Native Method)
         at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
         at com.ibm.ws.runtime.WsServer.<clinit>(WsServer.java:51)
         at java.lang.J9VMInternals.initializeImpl(Native Method)
         at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:615)
         at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)

  • While calling method exception:-com.ibm.ejs.container.UncheckedException: ;

    frnds!
    while calling a method from statelesssession bean the exception is thrown:--
    Error 500
    An error has occured while processing request:http://192.168.1.61/MyApp/TradeSession/TradeClient.jsp
    Message: Server caught unhandled exception from servlet [JSP 1.1 Processor]: RemoteException occurred in server thread; nested exception is: com.ibm.ejs.container.UncheckedException: ; nested exception is: java.lang.NullPointerException
    Target Servlet: JSP 1.1 Processor
    StackTrace:
    Root Error-1: RemoteException occurred in server thread; nested exception is: com.ibm.ejs.container.UncheckedException: ; nested exception is: java.lang.NullPointerException---------------------------------
    can anybody tell the cause and the way out!!
    paw

    Paw,
    Did you already find a solution for this ?
    I am facing exactly the same problem ...
    Gert C.

  • JMS Receiver Adapter - com.ibm.websphere.naming.WsnInitialContextFactory

    Hello experts,
    I am trying to configure JMS Adapter to Access Websphere Application Server via JNDI. The configuration is as follow:
    Initial Context Factory: com.ibm.websphere.naming.WsnInitialContextFactory
    Connection Factory: jms/messageQueueCF
    Server URL: iiop://ammtnode.iubs.intra:2809/
    Queue Name: jms/EXT_INPUT_QUEUE
    I deployed all required jar files but Iu2019m still unable to connect to WAS because adapter cannot initialize ORB:
    javax.naming.NamingException: Failed to initialize the ORB
    I wrote a small java class to check where the problem was:
    ============================================================================
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,"com.ibm.websphere.naming.WsnInitialContextFactory");
    env.put(Context.PROVIDER_URL, "iiop://ammtnode.iubs.intra:2809/");
    env.put("java.naming.corba.orb",org.omg.CORBA.ORB.init((String[])null,null));
    Context jndiContext = null;
    try {
    jndiContext = new InitialContext(env);
    ConnectionFactory connectionFactory = (ConnectionFactory) jndiContext.lookup("jms/messageQueueCF");
    Connection qConn = connectionFactory.createConnection();
    Session qSession = qConn.createSession(false,Session.AUTO_ACKNOWLEDGE);
    Queue q = (Queue) jndiContext.lookup("jms/EXT_INPUT_QUEUE");
    MessageProducer producer = qSession.createProducer(q);
    TextMessage message = qSession.createTextMessage();
    message.setText(text);
    producer.send(message);
    producer.close();
    qSession.close();
    qConn.close();
    } catch (Exception e) {
         e.printStackTrace();
    ============================================================================
    I got the same error until I wrote this line:
    env.put("java.naming.corba.orb",org.omg.CORBA.ORB.init((String[])null,null));
    And everything worked fine. Now I want to do the same in my JMS Receiver adapter but I donu2019t know how to introduce this line in the Initial Context Environment. I tried as JMS additional parameters and additional properties as well. However, nothing worked. Does anybody know what Iu2019m doing wrong?
    Thank you in advance!

    Here I post the entire error:
    0#0#Warning##Java###Catching #1#com.sap.aii.adapter.jms.api.connector.ConnectorException: Error looking up connection fact
    oryjms/messageQueueCF, for profile: ConnectionProfile of channel: CC_I002_AMM_JmsReceiveron node: 5949650 having object id: 0
    360697bc61b3666aba07a2708ca095a: javax.naming.NamingException: Failed to initialize the ORB
            at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createConnectionFactory(JndiConnectorImpl.java:134)
            at com.sap.aii.adapter.jms.core.connector.ConnectorImpl.doConnect(ConnectorImpl.java:247)
            at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.doConnect(JndiConnectorImpl.java:185)
            at com.sap.aii.adapter.jms.core.connector.ConnectorImpl.connectIfDisconnected(ConnectorImpl.java:170)
            at com.sap.aii.adapter.jms.core.connector.ConnectorImpl.connect(ConnectorImpl.java:153)
            at com.sap.aii.adapter.jms.core.channel.ChannelImpl.doStart(ChannelImpl.java:279)
            at com.sap.aii.adapter.jms.core.channel.ChannelImpl.start(ChannelImpl.java:166)
            at com.sap.aii.adapter.jms.core.channel.AdapterImpl$1.run(AdapterImpl.java:411)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused by: javax.naming.NamingException: Failed to initialize the ORB [Root exception is java.lang.ClassCastException: class
    com.sap.engine.system.ORBProxy:sun.misc.Launcher$AppClassLoaderAT5d0385c1 incompatible with class com.ibm.CORBA.iiop.ORB:libra
    ry:com.sap.aii.adapter.libATcom.sap.engine.boot.loader.ResourceMultiParentClassLoaderAT131b92e6ATalive]
            at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:364)
            at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:421)
            at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:123)
            at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:798)
            at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
            at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
            at javax.naming.InitialContext.lookup(InitialContext.java:351)
            at javax.naming.InitialContext.lookup(InitialContext.java:351)
            at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createConnectionFactory(JndiConnectorImpl.java:130)
            ... 11 more
    Caused by: java.lang.ClassCastException: class com.sap.engine.system.ORBProxy:sun.misc.Launcher$AppClassLoaderAT5d0385c1 incom
    patible with class com.ibm.CORBA.iiop.ORB:library:com.sap.aii.adapter.libATcom.sap.engine.boot.loader.ResourceMultiParentClass
    LoaderAT131b92e6ATalive
            at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:92)
            at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:179)
            at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:83)
            at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:59)
            at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:102)
            at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:356)
            ... 19 more
    Caused by:
    javax.naming.NamingException: Failed to initialize the ORB [Root exception is java.lang.ClassCastException: class com.sap.eng
    ine.system.ORBProxy:sun.misc.Launcher$AppClassLoaderAT5d0385c1 incompatible with class com.ibm.CORBA.iiop.ORB:library:com.sap.
    aii.adapter.libATcom.sap.engine.boot.loader.ResourceMultiParentClassLoaderAT131b92e6ATalive]
            at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:364)
            at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:421)
            at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:123)
            at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:798)
            at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
            at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
            at javax.naming.InitialContext.lookup(InitialContext.java:351)
            at javax.naming.InitialContext.lookup(InitialContext.java:351)
            at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createConnectionFactory(JndiConnectorImpl.java:130)
            ... 11 more
    Caused by: java.lang.ClassCastException: class com.sap.engine.system.ORBProxy:sun.misc.Launcher$AppClassLoaderAT5d0385c1 incom
    patible with class com.ibm.CORBA.iiop.ORB:library:com.sap.aii.adapter.libATcom.sap.engine.boot.loader.ResourceMultiParentClass
    LoaderAT131b92e6ATalive
            at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:92)
            at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:179)
            at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:83)
            at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:59)
            at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:102)
            at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:356)
            ... 19 more
    Caused by:
    javax.naming.NamingException: Failed to initialize the ORB [Root exception is java.lang.ClassCastException: class com.sap.eng
    ine.system.ORBProxy:sun.misc.Launcher$AppClassLoaderAT5d0385c1 incompatible with class com.ibm.CORBA.iiop.ORB:library:com.sap.
    aii.adapter.libATcom.sap.engine.boot.loader.ResourceMultiParentClassLoaderAT131b92e6ATalive]
            at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:364)
            at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:421)
            at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:123)
            at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:798)
            at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
            at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
            at javax.naming.InitialContext.lookup(InitialContext.java:351)
            at javax.naming.InitialContext.lookup(InitialContext.java:351)
            at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createConnectionFactory(JndiConnectorImpl.java:130)
            at com.sap.aii.adapter.jms.core.connector.ConnectorImpl.doConnect(ConnectorImpl.java:247)
            at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.doConnect(JndiConnectorImpl.java:185)
            at com.sap.aii.adapter.jms.core.connector.ConnectorImpl.connectIfDisconnected(ConnectorImpl.java:170)
            at com.sap.aii.adapter.jms.core.connector.ConnectorImpl.connect(ConnectorImpl.java:153)
            at com.sap.aii.adapter.jms.core.channel.ChannelImpl.doStart(ChannelImpl.java:279)
            at com.sap.aii.adapter.jms.core.channel.ChannelImpl.start(ChannelImpl.java:166)
            at com.sap.aii.adapter.jms.core.channel.AdapterImpl$1.run(AdapterImpl.java:411)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused by: java.lang.ClassCastException: class com.sap.engine.system.ORBProxy:sun.misc.Launcher$AppClassLoaderAT5d0385c1 incom
    patible with class com.ibm.CORBA.iiop.ORB:library:com.sap.aii.adapter.libATcom.sap.engine.boot.loader.ResourceMultiParentClass
    LoaderAT131b92e6ATalive
            at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:92)
            at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:179)
            at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:83)
            at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:59)
            at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:102)
            at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:356)
            ... 19 more

  • Cannot load driver COM.ibm.db2.jdbc.app.DB2Driver

    Hi ,
    I need help on this matter and will really appreciate.
    I have installed Jdeveloper 11g and Weblogic 11gR1 on windows. I am trying to configure my weblogic server for JDBC-Datasourse to connect to DB2 and get this error.
    cannot load driver COM.ibm.db2.jdbc.app.DB2Driver
    This is how my classpath and path looks
    classpath :.;C:\Program Files\JDEdwards\BPMBroker\JRE\1.3\lib\ext\QTJava.zip;C:\Program Files\Java\jdk1.6.0_20\lib\tools.jar;C:\Program Files\Java\jdk1.6.0_20\lib\dt.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Sun\db2java.zip;C:\Sun\COM\ibm\db2\jdbc\app\DB2Driver.class;C:\Program Files\IBM\WebSphere\AppServer\derby\lib\deprecated\db2jcc.jar;C:\Program Files\IBM\WebSphere\AppServer\derby\lib\deprecated\db2jcc_license_cu.jar;
    path : C:\Program Files\Java\jdk1.6.0_20\bin;C:\Sun\db2java.zip;
    I don't know what to do and everytime i try to test my connection i get this error .
    Please help.
    Thank you

    I added Driver Classname =com.ibm.db2.jcc.DB2Driver
    and now it no longer gives me cannot load driver COM.ibm.db2.jdbc.app.DB2Driver.
    But now i am getting
    Execution failed due to a distribution protocol error that caused deallocation of the conversation. A DRDA Data Stream Syntax Error was detected. Reason: 0x1 DB2ConnectionCorrelator: null
    com.ibm.db2.jcc.b.cb.l(cb.java:1207)
    com.ibm.db2.jcc.b.cb.c(cb.java:357)
    com.ibm.db2.jcc.b.cb.v(cb.java:1440)
    com.ibm.db2.jcc.b.db.a(db.java:42)
    com.ibm.db2.jcc.b.b.e(b.java:1165)
    com.ibm.db2.jcc.b.b.b(b.java:1090)
    com.ibm.db2.jcc.b.b.q(b.java:925)
    com.ibm.db2.jcc.b.b.a(b.java:665)
    com.ibm.db2.jcc.b.b.a(b.java:654)
    com.ibm.db2.jcc.b.b.<init>(b.java:293)
    com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:165)
    com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:505)
    com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:450)
    sun.reflect.GeneratedMethodAccessor196.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
    org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
    org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
    org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
    Please help.
    Thanks

  • Code of Conduct - Saving was canceled , error key: RFC_ERROR_SYSTEM_FAILURE

    Hi all,
    we configured all kinds of ESS scenarions in EP 7.0 Portal.
    I get an error, when I try to to this in the Portal:
    ESS --> Corporate Information --> Code of Conduct -->
    then I check the "I accept..." Button and click on review. Now, when I click Send on the next screen, i get the error message:
    Saving was canceled                                                 , error key: RFC_ERROR_SYSTEM_FAILURE:
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException:      Saving was canceled                                                 , error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callRFCIsrProcessEvent(FcISRProcessEvent.java:828)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callIsrProcessEvent(FcISRProcessEvent.java:380)
         at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEvent.callIsrProcessEvent(InternalFcISRProcessEvent.java:1234)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEventInterface.callIsrProcessEvent(FcISRProcessEventInterface.java:127)
         at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEventInterface.callIsrProcessEvent(InternalFcISRProcessEventInterface.java:409)
         at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEventInterface$External.callIsrProcessEvent(InternalFcISRProcessEventInterface.java:577)
         at com.sap.pcui_gp.isr.isrprocessevent.buttonsreview.VcISRButtonsReview.onEvent(VcISRButtonsReview.java:254)
         at com.sap.pcui_gp.isr.isrprocessevent.buttonsreview.wdp.InternalVcISRButtonsReview.onEvent(InternalVcISRButtonsReview.java:196)
         at com.sap.pcui_gp.isr.isrprocessevent.buttonsreview.VcISRButtonsReviewInterface.onEvent(VcISRButtonsReviewInterface.java:164)
         at com.sap.pcui_gp.isr.isrprocessevent.buttonsreview.wdp.InternalVcISRButtonsReviewInterface.onEvent(InternalVcISRButtonsReviewInterface.java:148)
         at com.sap.pcui_gp.isr.isrprocessevent.buttonsreview.wdp.InternalVcISRButtonsReviewInterface$External.onEvent(InternalVcISRButtonsReviewInterface.java:228)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:533)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:437)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$600(FPMComponent.java:78)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseSaveEvent(FPMComponent.java:951)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.raiseSaveEvent(FPMComponent.java:1114)
         at com.sap.pcui_gp.isr.isrprocessevent.buttonsreview.VcISRButtonsReview.submitForm(VcISRButtonsReview.java:233)
         at com.sap.pcui_gp.isr.isrprocessevent.buttonsreview.wdp.InternalVcISRButtonsReview.submitForm(InternalVcISRButtonsReview.java:188)
         at com.sap.pcui_gp.isr.isrprocessevent.buttonsreview.ButtonsReviewView.onActionSubmit(ButtonsReviewView.java:151)
         at com.sap.pcui_gp.isr.isrprocessevent.buttonsreview.wdp.InternalButtonsReviewView.wdInvokeEventHandler(InternalButtonsReviewView.java:161)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:779)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:714)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
         at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1255)
         at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:826)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.aii.proxy.framework.core.BaseProxyException:      Saving was canceled                                                 , error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
         at com.sap.pcui_gp.isr.isrprocessevent.model.IsrModel.isr_Process_Event_Wd(IsrModel.java:406)
         at com.sap.pcui_gp.isr.isrprocessevent.model.Isr_Process_Event_Wd_Input.doExecute(Isr_Process_Event_Wd_Input.java:137)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
         ... 65 more
    Can anyone help us out with this problem??
    Many thanks and best regards,
    Jasmin

    hi
    jasmin,
    Could you check if the RFC user in R\3. and the connection that exists b/w EP and R\3.
    You are getting this error due to the connection error between the two system.
    Check if this is configured correctly and is working.
    Thanks
    Santoshi

  • Com.ibm.ws.Transaction.IllegalResourceIn2PCTransactionException

    Following is the stack trace. Please let me know what could be the issue and what needs to be done to resolve the same
    com.ibm.ws.Transaction.IllegalResourceIn2PCTransactionException
         at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:1761)
         at com.ibm.ws.Transaction.JTA.TranManagerSet.enlistOnePhase(TranManagerSet.java:525)
         at com.ibm.ejs.j2c.LocalTransactionWrapper.enlist(LocalTransactionWrapper.java:517)
         at com.ibm.ejs.j2c.ConnectionEventListener.interactionPending(ConnectionEventListener.java:753)
         at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processInteractionPendingEvent(WSRdbManagedConnectionImpl.java:1505)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:385)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:1516)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:1487)
         at com.opensymphony.user.provider.jdbc.JDBCCredentialsProvider.handles(JDBCCredentialsProvider.java:127)
         at com.opensymphony.user.UserManager.getProvider(UserManager.java:312)
         at com.opensymphony.user.UserManager.getEntity(UserManager.java:298)
         at com.opensymphony.user.UserManager.getUser(UserManager.java:192)
         at com.opensymphony.workflow.util.OSUserGroupCondition.passesCondition(OSUserGroupCondition.java:28)
         at com.opensymphony.workflow.AbstractWorkflow.passesCondition(AbstractWorkflow.java:768)
         at com.opensymphony.workflow.AbstractWorkflow.passesConditions(AbstractWorkflow.java:796)
         at com.opensymphony.workflow.AbstractWorkflow.getAvailableActionsForStep(AbstractWorkflow.java:604)
         at com.opensymphony.workflow.AbstractWorkflow.getAvailableActions(AbstractWorkflow.java:155)
         at equicom.offline.workflow.WorkflowSessionBean.stepToVO(WorkflowSessionBean.java:1125)
         at equicom.offline.workflow.WorkflowSessionBean.getCurrentStepAsVO(WorkflowSessionBean.java:1149)
         at equicom.offline.workflow.WorkflowSessionBean.createNewWorkItem(WorkflowSessionBean.java:1080)
         at equicom.offline.workflow.EJSRemoteStatelessWorkflowSession_d8cfeee0.createNewWorkItem(Unknown Source)
         at equicom.offline.workflow._WorkflowSession_Stub.createNewWorkItem(_WorkflowSession_Stub.java:1231)
         at equicom.offline.order.ejb.OrderSessionBean.createRequestWorkItem(OrderSessionBean.java:1358)
         at equicom.offline.order.ejb.OrderSessionBean.createSubmitRequest(OrderSessionBean.java:342)
         at equicom.offline.order.ejb.EJSRemoteStatelessOrderSession_7072af3f.createSubmitRequest(Unknown Source)
         at equicom.offline.order.ejb._OrderSession_Stub.createSubmitRequest(_OrderSession_Stub.java:411)
         at equicom.web.admin.offline.manualorder.ManualOrderProcessor.saveOrderAndCreateWI(ManualOrderProcessor.java:543)
         at equicom.web.admin.offline.manualorder.ManualOrderAction.saveOrderAndCreateWI(ManualOrderAction.java:358)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    I'm not familiar with IBM's implementation, but this kind of error typically happens when more than one non-XA transactional resource is accessed from within a single global transaction. Double-check that the jdbc datasources are configured with XA-capable jdbc drivers. Probably best to consult IBM's support site for further details.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • EJb 3.0 com.ibm.mq.jms.MQQueueConnectionFactory

    Hi All
    I see this error
    [EJB:011013]The Message-Driven EJB attempted to connect to the JMS connection fa
    ctory with the JNDI name:xxxx.ccerqcf. However, the object with th
    e JNDI name xxxx.ccerqcf is not a JMS connection factory. NestedEx
    ception Message is :com.ibm.mq.jms.MQQueueConnectionFactory
    When using MDB/ EJB 3.0 in WLS 10.0 Mp2
    When I use EJB 2.x I don't see the issue, can ejb 3.o read weblogic-ejb-jar.xml for its connection factory?
    Is there any debug flag to see a better exception
    This is a MDB intended to listen to message from IBM MQ server using a foreign server configured in the console
    Edited by: user12297324 on Mar 15, 2010 3:47 PM
    Edited by: user12297324 on Mar 15, 2010 4:04 PM

    EJB 2.0
    import javax.ejb.*;
    import javax.jms.*;
    public class FOTSysInqMsgBean implements MessageDrivenBean, MessageListener
    //     private static Logger logger = Logger.getLogger(FOTSysInqMsgBean.class);
         MessageDrivenContext messageDrivenContext;
         public void ejbActivate(){}
         public void ejbRemove(){}
         public void ejbPassivate(){}
         public void ejbCreate() throws CreateException {}
         // This is the key onMessage method
         public void onMessage(Message msg)
              //if (logger.isInfoEnabled()) logger.info("Enter MDB onMessage");
    //          byte buf[] = new byte[1000];
    //          int      length      = 0;
              String      inString = null;
              String jmsMsgId = null;
              try
                   if(msg instanceof TextMessage)
                        TextMessage tm = (TextMessage) msg;
                        inString = tm.getText();
                        jmsMsgId = tm.getJMSMessageID();
                        System.out.print(inString);
                        //MQMessageFormatter.parse(inString, jmsMsgId);
                   //else
                        //System.out.println("Is not instanceOf TextMessage");
                   //     if (logger.isInfoEnabled()) logger.info("Not instanceOf TextMessage");
         catch(Exception ex)
              System.out.println("Error IncomingMessage is *********************" +ex);
              //if (logger.isInfoEnabled())
              //     logger.info("FOTSysInqMsgBean === " + ex + " === in Bean class Message method");
         //if (logger.isInfoEnabled()) logger.info("IncomingMessage:" + inString);
         //     if (logger.isInfoEnabled()) logger.info("Exit MDB onMessage");
              //System.out.println("IncomingMessage is *********************" +inString);
         public void setMessageDrivenContext(MessageDrivenContext messageDrivenContext)
              this.messageDrivenContext = messageDrivenContext;
    EJB 3.0
    package foo;
    import javax.annotation.Resource;
    //import javax.ejb.*;
    import javax.ejb.MessageDriven;
    import javax.ejb.ActivationConfigProperty;
    import javax.ejb.MessageDrivenContext;
    import javax.ejb.TransactionAttribute;
    import javax.ejb.TransactionAttributeType;
    import javax.jms.MessageListener;
    import javax.jms.Message;
    import javax.jms.TextMessage;
    * MDB asynchronously feeds the new added reviews to subscribers.
    @MessageDriven
    ( name = "FOTSysInqMsgBean3", //,mappedName = "wholesale.ccer.fjms.maint.rsps.q1",
    activationConfig = {
    @ActivationConfigProperty(propertyName = "destinationType",
              propertyValue = "javax.jms.Queue")
    EJB 3.0
    public class FOTSysInqMsgBean3 implements MessageListener
    //     MessageDrivenContext messageDrivenContext;
         @Resource MessageDrivenContext messageDrivenContext;
         //public void ejbActivate(){}
         //public void ejbRemove(){}
         //public void ejbPassivate(){}
         //public void ejbCreate() throws CreateException {}
         // This is the key onMessage method
         public void onMessage(Message msg)
         //     if (logger.isInfoEnabled()) logger.info("Enter MDB onMessage");
    //          byte buf[] = new byte[1000];
    //          int      length      = 0;
              String      inString = null;
              String jmsMsgId = null;
              try
                   if(msg instanceof TextMessage)
                        TextMessage tm = (TextMessage) msg;
                        inString = tm.getText();
                        jmsMsgId = tm.getJMSMessageID();
                   //     if (logger.isInfoEnabled()) logger.info("MQ Message Class:" + msg.getClass());
              //          if (logger.isInfoEnabled()) logger.info("MQ Message Object:" + msg);
              //          if (logger.isInfoEnabled()) logger.info("MQ Message Id:" + jmsMsgId);
                   //     MQMessageFormatter.parse(inString, jmsMsgId);
                   else
                        //System.out.println("Is not instanceOf TextMessage");
              //          if (logger.isInfoEnabled()) logger.info("Not instanceOf TextMessage");
         catch(Exception ex)
              //System.out.println("Error IncomingMessage is *********************" +ex);
              //if (logger.isInfoEnabled())
         //          logger.info("FOTSysInqMsgBean === " + ex + " === in Bean class Message method");
    //     if (logger.isInfoEnabled()) logger.info("IncomingMessage:" + inString);
         //     if (logger.isInfoEnabled()) logger.info("Exit MDB onMessage");
              //System.out.println("IncomingMessage is *********************" +inString);
         /*public void setMessageDrivenContext(MessageDrivenContext messageDrivenContext)
              this.messageDrivenContext = messageDrivenContext;
    both uses the same weblogic-ejb-jar.xml

  • Class not found error for COM.ibm.db2.jdbc.app.DB2Driver

    i have written this code:
    import java.io.*;
    import java.sql.*;
    public class tryjdbc
    {  public static void main (String args[])
    {  try
    {  Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");  }
    catch (java.lang.ClassNotFoundException e)
    {  System.out.print(e.getMessage());  }
    and once i try to run it, it gives out a class not found exception error.
    I haven't changed anything with the classpath since I don't think the problem is with the classpath. I have read in the IBM Developer Kit for Java documentaton that the AS/400 Developer Kit for Java automatically adds the db2_class.jar file to the classpath. So why do I get a class not found exception error?

    I was using Web Spehere 4.0.3 and trying to connect to a database on DB2 7.2. I was just following a tutorial and trying to get a handle on Web Sphere. I am running all of these on a Windows 2000 Operating System. Here are some of my observations :
    a. db2java.zip packaged under %DB2ROOT%\SQLLIB\JAVA, does not work.
    b. CLASSPATH needs to be set to %DB2ROOT%\sqllib\java12\db2java.zip
    c. Include this as one of the packages in the package defined in
    WebSphere, using the Java Perspective.
    d. Ensure that case sensitivity is respected. All though the package
    shows up as COM.ibm.db2.jdbc.app.DB2Driver, for some reason, it
    will only accept com.ibm.db2.jdbc.app.DB2Driver.
    With these settings, I was able to connect to a db2 database.
    I am a little puzzled on the following. I did not include java.io package, but still it could print the messages. Did anybody have a similar experience
    Thanks for this posting.

  • Error message: The data for filename was already added to the form

    I recently modified an existing data-collection PDF - only mod was to add some additional pull-down menu options in two fields. I went thru the Distribution wizard, tested the revised form, added the PDF to the Responses file...everything seemed fine. Next day, I distributed the revised form, and had 22 submissions. When adding the 22 submissions to the Response file, 6 or 7 bounced with the error message "The data for <filename> was already added to the form", even though that was not true. I went back, cleared all, and added one of the "bad" files to the response form. It went in OK, but I could not add another "bad one". Although several of the forms may be submitted by the same person, the data is different in all of the submissions, plus, we've been doing this procdure for over a year and never had an issue until now.
    The original form may have been created in Acrobat X, and I have Acrobat 9 Pro. Not sure if that is part or all of the answer. Thanks for any insights...I saw a posting in the Reader side, but I can't see any answers.

    Hi
    According to your error message, we need to verify if Microsoft SQL Server Compact appears in the
    Change Data Source dialog. If not, you need to install
    SQL Server Compact components for Visual Studio firstly, and if you choose to install SQL Server Compact 4.0 , you should note that SQL Server Compact 4.0 supports in Visual Studio 2010 Service Pack 1 or later versions. I recommend you to install the latest
    Service Pack (SP) of SQL Server Compact, and latest SP of Visual Studio, then check if the error still occurs. For more information, see:
    http://blogs.msdn.com/b/sqlservercompact/archive/2011/03/15/sql-server-compact-4-0-tooling-support-in-visual-studio-2010-sp1-and-visual-web-developer-express-2010-sp1.aspx
    However if there is no problem with the installation of SQL Server Compact, it will be an issue that regards ASP.NET and website deployment. I suggest you to post the question in the ASP.NET forums at
    http://forums.asp.net/ . It is appropriate and more experts will assist you.
    In addition, you can review the following link:
    Working with SQL Server Compact in Visual Studio:http://msdn.microsoft.com/en-us/library/gg606540(v=vs.100).aspx
    Thanks
    Lydia Zhang

  • Class com.ibm.jsse.be configured for a TrustManagerFactory : Help needed

    Hi
    I am getting the following runtime error when trying for a HTTPS connection from my java code.
    Runtime Error : Class com.ibm.jsse.be configured for a TrustManagerFactory: not a TrustManagerFactory Action: 4 Class: com.americanexpress.teen.common.fis.FISInterface Method: getFISTestData(String fisURL) Exception:java.net.SocketException: Class com.ibm.jsse.be configured for a TrustManagerFactory: not a TrustManagerFactory
         at javax.net.ssl.DefaultSSLSocketFactory.createSocket(Unknown Source)
         at com.ibm.net.ssl.www.protocol.https.b.b(Unknown Source)
         at com.ibm.net.ssl.www.protocol.http.bs.a(Unknown Source)
         at com.ibm.net.ssl.www.protocol.http.bs.o(Unknown Source)
         at com.ibm.net.ssl.www.protocol.https.b.<init>(Unknown Source)
         at com.ibm.net.ssl.www.protocol.https.b.a(Unknown Source)
         at com.ibm.net.ssl.www.protocol.https.b.a(Unknown Source)
         at com.ibm.net.ssl.www.protocol.https.b.a(Unknown Source)
         at com.ibm.net.ssl.www.protocol.https.p.b(Unknown Source)
         at com.ibm.net.ssl.www.protocol.https.p.connect(Unknown Source)
         at com.ibm.net.ssl.www.protocol.http.bw.getInputStream(Unknown Source)
         at com.ibm.net.ssl.www.protocol.http.bw.getHeaderField(Unknown Source)
         at com.ibm.net.ssl.www.protocol.http.bw.getResponseCode(Unknown Source)
         at com.ibm.net.ssl.internal.www.protocol.https.HttpsURLConnection.getResponseCode(Unknown Source)
         at com.americanexpress.teen.common.fis.FISInterface.getFISTestData(FISInterface.java:2238)
         at org.apache.jsp._fisTestPage._jspService(_fisTestPage.java:112)
         at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:669)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:767)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:61)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
    My application is trying to a https://xyz.com from java code and i am getting the above exception.
    I tried connecting to "https://xyz.com " from my workspace via Websphere 5.1 server and my server is throwing the above exception. I have extened the ibmjsse provided by WAS 5.1 and using it for connecting to the HTTPS URL.
    I feel the above problem might be due to network issues. Please help me in resolving the same.
    Thanks in advance !!!!!

    Steps i have done to ensure the connectivity :
    Method A :
    1) I imported the pfx and CA certificates given by xyz.com in my web browser (IE)
    2) After that, I tried connecting to "https://xyz.com" from browser and getting a proper response.
    Method B :
    1) I updated the jre cacert with CA certificate given by xyz.com
    2) Loaded the pfx keystore from my java client code program and ran it as a java standalone code and got the proper response.
    My java code
    import java.io.*;
    import java.net.*;
    import javax.net.ssl.HttpsURLConnection;
    import javax.net.ssl.*;
    import java.security.*;
    import java.sql.Time;
    public class HTTPSConnect{
         public static void main(String[] args)
                   URL url;
                   StringBuffer buffer;
                   String line;
                   int responseCode=0;
                   HttpsURLConnection connection = null;
                   InputStream input;
                   BufferedReader dataInput;
                   //FIS Sample URL
                   String fisURL = "https://xyz.com";
                   String fisResp = "";
                   try
                   Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                   System.setProperty("javax.net.debug", "all");
                   String path = "F:\\MyCertificate.pfx";
                   String type = "pkcs12";
                   String password = "abc123";
                   System.setProperty("javax.net.ssl.keyStoreType", type);
                   System.setProperty("javax.net.ssl.keyStore",path);
                   System.setProperty("javax.net.ssl.keyStorePassword",password);
                        url = new URL(fisURL);
                        //Create the connection
                        connection = (HttpsURLConnection) url.openConnection();
                        connection.setUseCaches(false);
                        //Get the response code for the HTTPS connection
                        responseCode = connection.getResponseCode();
                   if (200 == responseCode)
                        buffer = new StringBuffer();
                        //Getting the FIS Response XML using the Stream reader
                        input = connection.getInputStream();
                        dataInput = new BufferedReader(new InputStreamReader(input));
                             while ((line = dataInput.readLine()) != null)
                                  buffer.append(line);
                                  buffer.append('\n');
                        fisResp = (String) buffer.toString().trim();
                   else
                        System.out.println("HTTP Status-Code : " + responseCode);
                   catch (MalformedURLException mue)
                        System.out.println("Exception in URL : " + mue.getMessage() );
                        mue.printStackTrace();
                   catch (IOException ioe)
                        System.out.println("IO Exception : " + ioe.getMessage() );
                        ioe.printStackTrace();
                   catch (Exception e)
                        System.out.println("Exception : " + e.getMessage() );
                        e.printStackTrace();
                   System.out.println("FIX XML Response : " + fisResp);
                   System.out.println("Response Code of HTTPS Connection : " + responseCode);
    Please let me know if i am missing something :)

  • InitializeUpdate function of the class CardManager from com.ibm.jc

    Hi,
    I am currently trying to create an Applet loader for JavaCard and I am getting in trouble with the initializeUpdate function of the class CardManager. Bellow is the code I write to initialize the communication with the javacard/reader...
              //list all the readers with a card present
              readers = TerminalFactory.getDefault().terminals().list(State.CARD_PRESENT);     
              if(readers.isEmpty()){
                   return;
              //establish connection with the reader
              term = (PCSCJCTerminal)JCTerminal.getInstance("PCSC",readers.get(0).toString().substring(15));
              term.open();
              atr = new ATR(term.waitForCard(2000));
              //connect to card
              System.out.println("Getting card ...");
              card = new JCard(term,atr,2000);
              //select Cardmanager
              System.out.println("Selecting card manager ...");
              cardmanager = new CardManager(card, CardManager.daid);
              cardmanager.select();
              //setup keys
              byte[] dfltKey = c2b("404142434445464748494a4b4c4d4e4f");
              cardmanager.setKey(new OPKey(1, 1, OPKey.DES_ECB, dfltKey));
              cardmanager.setKey(new OPKey(1, 2, OPKey.DES_ECB, dfltKey));
              cardmanager.setKey(new OPKey(1, 3, OPKey.DES_ECB, dfltKey));
              //authenticate to cardmanager
              System.out.println("Authenticate to card manager ...\n");
    *          cardmanager.initializeUpdate(1, 0,CardManager.SCP_01_05);*
              cardmanager.externalAuthenticate(OPApplet.APDU_CLR);
    When I am launching the program, everything goes well until the initializeUpdate function which throw the exeption:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/jc/CL3
         at com.ibm.jc.OPApplet.initializeUpdate(Unknown Source)
         at com.jnet.tools.LoadApplet.initConnection(LoadApplet.java:80)
         at com.jnet.tools.LoadApplet.load(LoadApplet.java:88)
         at com.jnet.benchmarks.ClientBenchs.runTest(ClientBenchs.java:636)
         at com.jnet.benchmarks.ClientBenchs.main(ClientBenchs.java:485)
    Caused by: java.lang.ClassNotFoundException: com.ibm.jc.CL3
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Since I am quiet new in Java, I don't know what this exception means. I think that all the parameters of the function are good since I am using the same when I load "manually" the Applets on the card with the same parameters and it works. My JRE is 1.6 (but I also tried in 1.5), and the JCOP tools version is 3.2.7.
    I also tried with a different card with a different AID and different SCP parameter but I always have the same error.
    Thank in advance for the future replier

    862087 wrote:
    Hi,
    I am currently trying to create an Applet loader for JavaCard and I am getting in trouble with the initializeUpdate function of the class CardManager. Bellow is the code I write to initialize the communication with the javacard/reader...
              //list all the readers with a card present
              readers = TerminalFactory.getDefault().terminals().list(State.CARD_PRESENT);     
              if(readers.isEmpty()){
                   return;
              //establish connection with the reader
              term = (PCSCJCTerminal)JCTerminal.getInstance("PCSC",readers.get(0).toString().substring(15));
              term.open();
              atr = new ATR(term.waitForCard(2000));
              //connect to card
              System.out.println("Getting card ...");
              card = new JCard(term,atr,2000);
              //select Cardmanager
              System.out.println("Selecting card manager ...");
              cardmanager = new CardManager(card, CardManager.daid);
              cardmanager.select();
              //setup keys
              byte[] dfltKey = c2b("404142434445464748494a4b4c4d4e4f");
              cardmanager.setKey(new OPKey(1, 1, OPKey.DES_ECB, dfltKey));
              cardmanager.setKey(new OPKey(1, 2, OPKey.DES_ECB, dfltKey));
              cardmanager.setKey(new OPKey(1, 3, OPKey.DES_ECB, dfltKey));
              //authenticate to cardmanager
              System.out.println("Authenticate to card manager ...\n");
    *          cardmanager.initializeUpdate(1, 0,CardManager.SCP_01_05);*
              cardmanager.externalAuthenticate(OPApplet.APDU_CLR);When I am launching the program, everything goes well until the initializeUpdate function which throw the exeption:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/jc/CL3
         at com.ibm.jc.OPApplet.initializeUpdate(Unknown Source)
         at com.jnet.tools.LoadApplet.initConnection(LoadApplet.java:80)
         at com.jnet.tools.LoadApplet.load(LoadApplet.java:88)
         at com.jnet.benchmarks.ClientBenchs.runTest(ClientBenchs.java:636)
         at com.jnet.benchmarks.ClientBenchs.main(ClientBenchs.java:485)
    Caused by: java.lang.ClassNotFoundException: com.ibm.jc.CL3
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)Since I am quiet new in Java, I don't know what this exception means. I think that all the parameters of the function are good since I am using the same when I load "manually" the Applets on the card with the same parameters and it works. My JRE is 1.6 (but I also tried in 1.5), and the JCOP tools version is 3.2.7.
    I also tried with a different card with a different AID and different SCP parameter but I always have the same error.
    Thank in advance for the future replierRepost with code tags

  • Com.ibm.db2.jcc.b.DisconnectException

    Hi all,
    we have a crm app build on spring, db2, and tomcat6.
    Recently I am getting the following error,
    com.ibm.db2.jcc.b.DisconnectException: A communication error has been detected. Communication protocol being used: T4Agent.sendRequest(). Communication API being used: OutputStream.flush(). Location where the error was detected: Connection timed out. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS
    But , still i can able to connect the db2 outside the app.
    I google it and I am getting some info saying that it would happen becoz of firewall. But I am not getting clear ans.
    How can I rectify this error?
    Give me u r advice.
    Thank you.

    repost of [http://forums.sun.com/thread.jspa?threadID=5380963]
    Locking.

  • Applet using COM.ibm.db2.jdbc.app.DB2Driver

    Hi,
    I have an applet that is downloaded from a webserver which then needs to access the local db2java.zip file. It was my understanding if you use the COM.ibm.db2.jdbc.app.DB2Driver it would allow you to access the local copy of that file in your classpath. I also understand that if you use COM.ibm.db2.jdbc.net.DB2Driver you can access the db2java.zip on the server. I unfortunately need to access the local db2java.zip file. I am upgrading from Java 1.2.2 to Java 1.3.1 and it is not allowing this connection. I also changed my java.policy file and have created my own certificate as well, I understand all that.
    Here is the section of my code that fails...
    java.sql.Driver d = (java.sql.Driver) Class.forName(getDriver()).newInstance();
    WHSConnection.con = DriverManager.getConnection(getURL(), getUser(), getPassword());
    WHSConnection.con.setAutoCommit(true);
    System.out.println("Database Connection Successful");
    } catch (java.lang.Throwable except) {
    except.printStackTrace();
    System.out.println("Database Connection Failed");
    Any suggestions would be appreciated. Thanks ~A

    Yes, I forgot to mention that I stopped all DB2 Services and ran the file "runjdbc2.bat"... When I run Java 1.2.2 everything works great. When I run 1.3.1 it attempts to locate the db2java.zip classes on the server and not locally... Here is the error message I receive...
    java.lang.ClassNotFoundException: java.io.FileNotFoundException: http://www.example.com/Java131/COM/ibm/db2/jdbc/app/DB2Driver.class
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.checkCookieHeader(Unknown Source)
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at Serverlet.WHSConnection.getConnection(WHSConnection.java:159)
         at Serverlet.MainApplet.onOk(MainApplet.java:522)
         at Serverlet.MainApplet.connEtoM1(MainApplet.java:60)
         at Serverlet.MainApplet.actionPerformed(MainApplet.java:29)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Database Connection Failed

Maybe you are looking for

  • How to give delay in switch on digital output lines

    Hello All, I am working on PCI-6514 Digital IO card, I am writing a sequence to my application using DAQmax for  Digital input and output lines I want to switch on one output line0 and after a delay 5sec switch on line1 output and after a delay of 3s

  • Account Determination Error - Discounts - ERS

    Dear All, When I am releasing my Billing Document, I am getting the "Account Determination Error". My Requirement: Sales Discounts should not post to ERS Account Key. Price          -     PR00 - 10000 ERL GL Account (10000) Discount    -     K004 - 1

  • Capture runtime std output and error to logfile using dbms_scheduler

    Hi, I am trying to replace my cron jobs with dbms_scheduler. can we capture output of a job from DBMS_SCHEDULER to a logfile similar to cron. As in cron, we capture output in logfile. 30 18 * * * test.ksh > /home/someuser/cronlogs/clean_tmp_dir.log 2

  • Gigabeat controls frozen

    I have a gigabeat MEGF10 and haven't used it in a long time (maybe 4 years or more) and charged it up and was listening to some music and tried to use the Plus touch controls and they wouldn't work. I turned the battery off waited and turned it back

  • Sharing music between accounts

    I have two separate itunes accounts, each on separate computers, two separate itunes id's. My iphone is synced with one account. Can I transfer music from the other account to my iphone?