Building connection to com.ibm.lang.management MXBeans

Hello, I'm trying to build a jconsole-like application which is able to remote-monitor a jvm.. so far i've get it working for "every" sun-jvm..
now my boss wants me to monitor a ibm j9 jvm.. which doesn't work..
i have this simple test code:
    import java.io.IOException;
    import java.lang.management.ManagementFactory;
    import javax.management.MBeanServerConnection;
    import javax.management.remote.JMXConnector;
    import javax.management.remote.JMXConnectorFactory;
    import javax.management.remote.JMXServiceURL;
    import com.ibm.lang.management.MemoryMXBean;
    public class IBMConnection {
     public static void main(String[] args) throws IOException {
      JMXConnector jmxc;
      // create jmxserviceurl
      JMXServiceURL url = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://"
        + "myhost:1234" + "/jmxrmi");
      // connect to jmx service running application with the jmxurl
      jmxc = JMXConnectorFactory.connect(url, null);
      // create MBeanServerConnection with jmxconnection
      MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
      MemoryMXBean ibmOSMXBean;
      ibmOSMXBean =  ManagementFactory
        .newPlatformMXBeanProxy(mbsc, ManagementFactory.MEMORY_MXBEAN_NAME,
          MemoryMXBean.class);
      System.out.println(ibmOSMXBean.getMaxHeapSize());
    }i'm running the application on my local machine, (xp sp3, sun jre-6u16) and trying to connect to "myhost" (AIX 1 6 00CDAB5A4C00 running IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20081129).
it works if i start the application on the aix machine and connect "remote" to itself, but if i am doing it real-remote it throws me this exception:
    Exception in thread "main" java.lang.IllegalArgumentException: java.lang:type=Memory is not a platform MXBean
     at java.lang.management.ManagementFactory.newPlatformMXBeanProxy(Unknown Source)
     at IBMConnection.main(IBMConnection.java:32)so i thought: okay, objectname incorret, and changed ManagementFactory.MEMORY_MXBEAN_NAME to "com.ibm:type=Memory" and "com.ibm.lang:type=Memory", but thatd didn't help neither...
i have found no information on how to connect remote to the ibm mxbeans... i'm pretty desperate atm..
there is no firewall, i used the fully qualified domain name of "myhost", the port is open and accessible (says nmap, and jconsole is able to connect to the app.), the application (which should be monitored) is started with the correct parameters..
i'm running eclipse 3.5 and i have imported the jlm.jar archive from the ibm eclipse-package.. i can see all the methods from the package, but i'm not able to call them remotely through an mbeanproxy... please help me

Thanks for the images - that clarifies things a bit.
MaxHeapSize is not part of the standard management interface of MemoryMXBean:
[http://java.sun.com/javase/6/docs/api/java/lang/management/MemoryMXBean.html|http://java.sun.com/javase/6/docs/api/java/lang/management/MemoryMXBean.html]
This is probably an OS/Vendor specific extension.
I do not understand why newPlatformMXBean gives you an exception - this is strange - and should
probably be reported as a bug to the implementor of that MBean.
To get the MaxHeapSize, I suggest you use
mbsc.getAtttribute(ObjectName, String /*property name*/) as I suggested earlier.
-- daniel
Edited by: dfuchs on Dec 7, 2009 4:51 PM

Similar Messages

  • Difference between MBean Inspector and management MXBeans

    Hi everyone,
    I had some suspect behaviour using the java.lang.management MXBeans (MemoryMXBean, ThreadMXBean, ...). I want to monitor my JBoss Server and for example for the memory heap usage, I found differents values and it depends if I get the HeapMemoryUsage in the JMX Console by the HTML Adaptor or by using my MXBeans. I don't understand why !
    Cordially
    Antoine Verger

    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!

  • LiveCycle ES Connector for IBM Content Manager connection problem

    I've recently installed Adobe LiveCycle ES 8.2.1 and we're trying to get the Connector for IBM CM working. First off here's what software levels we're using:
    LiveCycle ES 8.2.1
    WebSphere Network Deployment 6.1.0.21
    IBM HTTP Server 6.1.0.21
    IBM DB2 UDB 9.1(FP 6a)
    IBM Content Manager 8.4
    IBM Information Integrator for Content 8.4
    Java JRE 1.5(SR 8a)
    Our application(s) connect to our databases remotely. The DBs reside on our z/OS(which is at level 8.1)
    When I try and enter in the database/datastore info in the Connector fields under services I get this error in LiveCycle
    Failed to save settings.
    Error: Not able to validate the connection with the IBM CM. Either credentials or database is wrong.For more information see the exception stack trace.
    and I see the following in the SystemOut.log
    [3/30/09 9:51:44:516 EDT] 00000039 IBMConnection E com.adobe.livecycle.connectorforibmcm.config.ejb.IBMConnectionInfoSessionBean testCEConnection ALC-DSC-003-
    000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:152)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    As well as the following:
    [3/30/09 9:51:44:547 EDT] 00000039 ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "setConnectionInf
    o" on bean "BeanId(LiveCycle8#adobe-ibmcmconnector-config-ejb.jar#IBMConnectorConfigEJB, null)". Exception data: java.rmi.RemoteException: Unable to save the
    configuration settings in Database; nested exception is:
    com.adobe.livecycle.connectorforibmcm.config.IBMConnectionInfoException
    at com.adobe.livecycle.connectorforibmcm.config.ejb.IBMConnectionInfoSessionBean.setConnecti onInfo(IBMConnectionInfoSessionBean.java:120)
    at com.adobe.livecycle.connectorforibmcm.config.intfs.EJSRemoteStatelessIBMConnectorConfigEJ B_019262e6.setConnectionInfo(Unknown Source)
    at com.adobe.livecycle.connectorforibmcm.config.intfs._IBMConnectionInfoRemote_Stub.setConne ctionInfo(_IBMConnectionInfoRemote_Stub.java:347)
    at com.adobe.livecycle.connectorforibmcm.admin.FsUiConfigBean.initFS(FsUiConfigBean.java:58)
    The server can connect via DB2/command line to the z/OS without a problem and the datasources within WebSphere test connect to the databases without any problem as well. Any help is much appreciated. I can provide any additional details upon request.
    Thank you in advance
    ~Regards
    Nick

    Nick,
    I am getting the exact same error. I have tried installing Adobe Livecycle 8 on two separate machines and they both give the same problem. In viewing at the logs, it seems that the IBM CM jar files are not being recognized by the Adobe installation. For me, I get the following logs as well in addition to what you see.
    Caused by: java.lang.NoClassDefFoundError: com.ibm.mm.sdk.common.DKDDO
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java:59)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
    at com.adobe.livecycle.connectorforibmcm.dsc.crc.CRCServiceDelegate.testIBMCMConnection(CRCS erviceDelegate.java:58)
    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.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    ... 70 more
    [4/20/09 19:34:56:339 CDT] 00
    The DKDDO class is in the jar files that are inside II4C installation folder. I think that the file "adobe-component-ext.properties" that they ask us to create to reference the IBM CM jars is not being picked up by the Adobe Connectors for IBM CM. Do you see the " java.lang.NoClassDefFoundError" in your logs? Any resolutions you had regarding this.
    I even tried to copy the ibm jars to various paths and copied the props files ad various different locations. I am under the impression that the documentation may not have been updated for this change.

  • DB2 Connection Problem - Can't find - COM.ibm.db2.jdbc.app.DB2Driver

    Hi All,
    when executing an application and attempting to connect to DB2 I get;
    error java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.app.DB2Driver
    I've added the 'db2java.zip' library to the java.conf file (and the native db2 libs) and can make db2 connections using the database connect via the IDE. But not when executing my application - what am I missing.
    TIA
    Bill

    Hi Deepak,
    I added the db2java.zip to the
    project properties/libraries/classpath
    and it works fine. (well my code fails - but that's another problem <g>.)
    Thanks for all your help.
    Bill

  • Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.boots

    When attempting to create a new Account in siebel integrated with OEDQ the following error occurs.
    ERROR
    Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.bootstrap.library.path)(SBL-APS-00118)
    STEPS
    The issue can be reproduced at will with the following steps:
    1) from EDQ director we have imported the EDQ_CDS,EDQ-REFERENCE DATA & EDQ_HISTORICAl DATA packages sucessfully.
    2) Created dnd.param file in SIebel server SDQCOnnector folder.
    3) Copied the libdnd.so file to siebsrvr lib directory(32 bit)
    3) In dnd.param file we have mentioned the javalib file and instllation directory path(<Siebsrvr roo>/dnd/install)
    4) Unzipped the EDQ-Siebel Connector files in dnd/install folder
    5) Copied the dnd.properties file in dnd/install directory and modified it accordingly to point to installed EDQ instance.
    6) Configured the Siebel components for EDQ integration.
    7) Realtime EDQ jobs are running.
    8) Create a new Account
    Env details are
    On : 8.2.2.14 [IP2014] version, Client Functionality
    EDQ 11.1.1.7.4
    IBM JDK 1.7 32 bit
    Using Open UI
    Any Champ have faced this issue and overcame it please let me know the resolution steps. your help is
    Regards
    Monoj Dey
    9007554589

    Hi Monoj,
    A few questions:
    - What OS is Siebel running on?
    - What version of the Siebel connector are you using?
    - Which libdnd.so file are you using?
    - What's the contents of your dnd.parms file?
    thanks,
    Nick

  • 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

  • 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.

  • 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

  • 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)

  • JMSClientExceptions:055142 when connecting to external IBM MQ Topic

    I am attempting to send a message from my application residing on WL 10.3 to a topic on a IBM MQ 7 process running on another server. The application is Java/Spring, and the connection is actually working because I can debug it just before the send message and see the topic string from the MQ topic. However when I attempt to 'send' the message, I get the following:
    weblogic.common.InvalidDestinationException: [JMSClientExceptions:055142}Foreign Destination, topic://my/topic
    at weblogic.jms.common.Destination.checkDetinationType(Destination.java:105)
    at weblogic.jms.client.JMSSession.setupJMSProducer(JMSSession.java:2830)
    ..etc.
    The crux of the matter appears to be that weblogic is checking the destination type on this foreign service then throwing the error.
    The topic is defined in WL as a destination within a foreign JMS server.
    Is there an attribute I can set on this destination that will get me beyond this? Or some other solution?

    Here's what I have. The connection strings came from IBM.
    Foreign Servier Configuration
    JNDI Initial Context Factory: com.ibm.mq.jms.context.WMQInitialContextFactory
    JNDI Connection URL: <servierid>:1417/SYSTEM.DEF.SVRCONN
    (my queue manager is running on 1417)
    Foreign Destination
    Name: TopicName
    Local JNDI Name: MY.TOPIC
    Remote JNDI Name: REMOTE_TOPIC
    I see the topic string from the topic in the exception, so I know I have a connection, however I get this when I send:
    (my exception stack trace)
    caused by: weblogic.jms.common.InvalidDestinationException: JMSClientExceptions:055142] Foreign Destination, topic//(string from remote topic)
    at weblogic.jms.common.Destination.checkDestinationType(Destination.java.105)
    at weblogic.jms.client.JMSSession.setupJMSProducer(JMSSession.java.2830)
    at weblogic.jms.client.JMSSession.createProducer(JMSSession.java.2858)
    at weblogic.jms.client.JMSSession.createProducer(JMSSession.java.2822)
    at weblogic.jms.client.WLSessionImpl.createProducer(WLSessionImpl.java.827)
    at org.springframework.jms.core.JmsTemplate.doCreateProducer(JmsTemplate.java:971)
    etc...

  • IBM Content Manager metadata problem

    Hi Experts,
    I have a problem...
    I have a requirement to store TIF images on the IBM Content Manager. This is done via ArchiveLink and IBM Common Store. Not sure how though. I'm using 2 function modules to achieve this: ALINK_DOCUMENTS_CREATE_DIALOG and ARCHIV_CONNECTION_INSERT.
    This works fine and the images are store on Content Manager.
    However, the CM people are saying that the metadata is not stored for the images and the Archive doc ID is not sufficient.
    I need to know where and how this metadata is populated and how it is passed from SAP to IBM CM.
    Thanks for any input.

    Nick,
    I am getting the exact same error. I have tried installing Adobe Livecycle 8 on two separate machines and they both give the same problem. In viewing at the logs, it seems that the IBM CM jar files are not being recognized by the Adobe installation. For me, I get the following logs as well in addition to what you see.
    Caused by: java.lang.NoClassDefFoundError: com.ibm.mm.sdk.common.DKDDO
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java:59)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
    at com.adobe.livecycle.connectorforibmcm.dsc.crc.CRCServiceDelegate.testIBMCMConnection(CRCS erviceDelegate.java:58)
    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.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    ... 70 more
    [4/20/09 19:34:56:339 CDT] 00
    The DKDDO class is in the jar files that are inside II4C installation folder. I think that the file "adobe-component-ext.properties" that they ask us to create to reference the IBM CM jars is not being picked up by the Adobe Connectors for IBM CM. Do you see the " java.lang.NoClassDefFoundError" in your logs? Any resolutions you had regarding this.
    I even tried to copy the ibm jars to various paths and copied the props files ad various different locations. I am under the impression that the documentation may not have been updated for this change.

  • 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.

  • Com.ibm.db2.jcc.DB2Driver

    I'm using db2 and eclipse and I created dynamic web project. I wanna connect to db2 with dinamic web project and I wanna execute query.. how I do it ?
    This is my code
    <%@ page import="javax.sql.*" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="javax.naming.*" %>
    <%     
    System.out.println("sistem");
         Connection connection = null;
         String dbName = "EMPLOYEE";
         String userid = "";
         String password = "";
         String url = "jdbc:db2://localhost:50001/" + dbName;
         String driver = "com.ibm.db2.jcc.DB2Driver";
         try {          
              Class.forName(driver).newInstance();
              connection = DriverManager.getConnection(url, userid, password);
         } catch(Exception e) {
              e.printStackTrace();
    %>
    error
    java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver

    First of all: Never, ever write DB access code in a JSP! It's a terribly bad idea! Instead, put you business logic (including database access) into Servlets (or Actions, if you happen to use one of the many web frameworks) and use the JSPs only to present information that you created/extracted in your Servlets/Actions.
    Next: You need to provide the DB2 JDBC driver .jar to your web application. Either ensure that the servlet container has it (by putting it in some common lib directory) or provide it in your web applications' WEB-INF/lib directory.

  • No Suitable Driver Exception and COM.ibm.db2.jdbc.app.DB2Driver

    Greetings,
    I am attempting to connect to a DB2 UDB (6.1) on an AIX (4.x) box from a win95 box and have cobbled some code together to do this. Despite loading and verifying that the driver loads, I get nothing but the SQLException: "No Suitable Driver". My Java code follows for comment. Thanks in advance...
    import java.lang.reflect.*;
    import java.sql.*;
    import java.io.*;
    class db2JDBCtest
    static Driver driver = null;
    static final String url = "jdbc:db2//1xx.x.x4x.xx/";
    public static void main(String args[]) {
    Connection con = null;
    // GET CONNECTION
    try
    driver = (Driver)Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
    System.out.println(driver);
    if (args.length == 3) {
    con = DriverManager.getConnection(url + args[0], args[1], args[2]);
    else{
    System.out.println("\nUsage: java db2JDBCtest [databasealias username password]\n");
    System.exit( - 1 );}
    // GET CONNECTION WARNINGS
    SQLWarning warning = null; {   
    warning = con.getWarnings();
    if (warning == null){
    System.out.println("No Warnings");
    return; }
    while (warning != null) {
    System.out.println("Warning: "+warning);
    warning = warning.getNextWarning();
    // CREATE PREPARED STATEMENT
    PreparedStatement prepstmt;
    prepstmt = con.prepareStatement("select * from MDM.DEALER where 1=0");
    // GET RESULTS !
    ResultSet resultset = prepstmt.executeQuery();
    System.out.println(resultset);
    prepstmt.close();
    catch
    (Exception e){
    System.out.println(e);
    }

    1)IBM document says that you use COM.ibm.jdbc.net.DB2Driver when you use Applets
    2)For applications use COM.ibm.jdbc.app.DB2Driver
    3)Both these files are in db2java.zip file
    4)db2java.zip is the DB2 driver just like classes111.zip is the driver for Oracle
    6)You need to put db2java.zip in your classpath.
    5)If you are using COM.ibm.jdbc.net.DB2Driver and you are getting "COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0616E Error opening socket
    . SQLSTATE=08S01 "
    you need to run "db2jstrt" on the target host(machine running DB2) with the specified port as the parameter
    6)If you are using COM.ibm.jdbc.app.DB2Driver and getting " java.sql.SQLException: No suitable driver ", most probably db2java.zip is not in classpath.
    7)Note : you need to install DB2 client software on the application machine, just putting the zip file does not work.
    8)There is a Java file at IBM that walks you thru the connection.
    ftp://ftp.software.ibm.com/software/websphere/info/tools/jdbctest
    Just download in into the client machine, compile and run it.

  • 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

Maybe you are looking for