JMS run in jdk1.1.8

I have difficulty to upgrade my jdk 1.1.8 to upper version in AIX. Which version of JMS can support 1.1.8?

http://www.amazon.com/exec/obidos/tg/detail/-/0471327565/qid=1041654401/sr=8-2/ref=sr_8_2/102-3586239-8845758?v=glance&s=books&n=507846
has an implementation, for $8, it is a steal although dated.

Similar Messages

  • Deploy app on standalone OC4J running on jdk1.6.0_04

    Hi all!
    I am trying to deploy an application on standalone OC4J running on jdk1.6.0_04. The application runs well when started on embedded oc4j (which is running on java 1.6). I know that jdk1.6 is not supported, but the application works smoother and faster on 1.6 and I want to try and find the reason why it won't work on standalone oc4j. When I start the server (start_oc4j.bat with JAVA_HOME set to c:\Program Files\Java\jdk1.6.0_04) I get these messages:
    Starting OC4J with command: "c:\Program Files\Java\jdk1.6.0_04\bin\java.exe" -XX
    :MaxPermSize=256m -Xmx512m -XX:+DisableExplicitGC -XX:+UseParallelGC -Xss128k -j
    ar oc4j.jar
    Jan 28, 2008 4:55:26 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Jan 28, 2008 4:55:26 PM oracle.oc4j.util.SystemLog logNoStack
    WARNING: Could not initialize thread locals accessor: java.lang.ThreadLocal$Thre
    adLocalMap.get(java.lang.ThreadLocal)
    08/01/28 16:55:31 WARNING: ApplicationServer.enableOC4JDocumentChangeNotifier Al
    ternate DocumentChangeNotifier in use!
    08/01/28 16:55:32 JMS server will listen on port 9127.
    08/01/28 16:55:33 oracle.j2ee.jms.oc4j.JMSServer startup complete
    08/01/28 16:55:35 Don't know how to map non-serializable type: interface javax.m
    anagement.j2ee.statistics.Stats to Open MBean Type.
    08/01/28 16:55:36 WARNING: J2EE JNDI-00002
    08/01/28 16:55:36 WARNING: No javax.jms.ConnectionFactory found at null
    08/01/28 16:55:38 WARNING: oracle.j2ee.jmsrouter.RouterException: JMS Destinatio
    n, {0}, does not exist
    08/01/28 16:55:39 Oracle Containers for J2EE 11g (11.1.1.0.0) initialized.
    When I try to deploy the application, I get the following error:
    Operation failed with error:
    oracle.oc4j.admin.deploy.spi.exceptions.DeploymentRuntimeException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
    ; nested exception is:
         oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.doDeploy(InternalDeployer.java:328)
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.theRun(InternalDeployer.java:274)
         at oracle.oc4j.admin.deploy.spi.InternalRunner.run(InternalRunner.java:178)
         at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:305)
    Caused by: oracle.oc4j.rmi.OracleRemoteException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
    ; nested exception is:
         oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:150)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:590)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:532)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:26)
         at __Proxy2.invoke(Unknown Source)
         at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.invoke(MBeanServerEjbRemoteSynchronizer.java:104)
         at oracle.oc4j.admin.management.mejb.MEjb.invoke(MEjb.java:606)
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.uploadFile(InternalDeployer.java:385)
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.doDeploy(InternalDeployer.java:299)
         ... 3 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2134)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1699)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1655)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1640)
         at oracle.classloader.ClassLoaderQuery.loadClassFromUserDefinedOrMainLoader(ClassLoaderQuery.java:613)
         at com.evermind.util.ClassUtils.findClass(ClassUtils.java:298)
         at oracle.oc4j.rmi.MethodSpecification.getMethod(MethodSpecification.java:69)
         at oracle.oc4j.rmi.ServerRmiMethodCache.readMethodSpecification(ServerRmiMethodCache.java:101)
         at oracle.oc4j.rmi.ServerRmiMethodCache.getNewMethodSpec(ServerRmiMethodCache.java:70)
         at oracle.oc4j.rmi.ServerRmiMethodCache.readMethod(ServerRmiMethodCache.java:44)
         at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation(ServerRmiMessageHandler.java:591)
         at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest(ServerRmiMessageHandler.java:339)
         at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest(ServerRmiMessageHandler.java:302)
         at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand(RMIServerConnection.java:169)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:150)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:126)
         at com.evermind.server.rmi.RMIServerConnection.listenForOrmiCommands(RMIServerConnection.java:235)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:105)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
         at java.lang.Thread.run(Thread.java:619)
         at com.evermind.server.rmi.RMICall.warningExceptionOriginatesFromTheRemoteServer(RMICall.java:112)
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:136)
         ... 13 more
    oracle.oc4j.rmi.OracleRemoteException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:150)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:590)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:532)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:26)
         at __Proxy2.invoke(Unknown Source)
         at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.invoke(MBeanServerEjbRemoteSynchronizer.java:104)
         at oracle.oc4j.admin.management.mejb.MEjb.invoke(MEjb.java:606)
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.uploadFile(InternalDeployer.java:385)
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.doDeploy(InternalDeployer.java:299)
         at oracle.oc4j.admin.deploy.spi.InternalDeployer.theRun(InternalDeployer.java:274)
         at oracle.oc4j.admin.deploy.spi.InternalRunner.run(InternalRunner.java:178)
         at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:305)
         Nested exception is:
    oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: [Ljava.io.Serializable;
         Dependent class: oracle.classloader.ClassLoaderQuery
         Loader: sun.misc.Launcher$AppClassLoader@28980466
         Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
         Configuration: unknown
    This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2124) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1699) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1655) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1640) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
         at oracle.classloader.ClassLoaderQuery.loadClassFromUserDefinedOrMainLoader (ClassLoaderQuery.java:613) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
         at com.evermind.util.ClassUtils.findClass (ClassUtils.java:298) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at oracle.oc4j.rmi.MethodSpecification.getMethod (MethodSpecification.java:69) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at oracle.oc4j.rmi.ServerRmiMethodCache.readMethodSpecification (ServerRmiMethodCache.java:101) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at oracle.oc4j.rmi.ServerRmiMethodCache.getNewMethodSpec (ServerRmiMethodCache.java:70) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at oracle.oc4j.rmi.ServerRmiMethodCache.readMethod (ServerRmiMethodCache.java:44) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation (ServerRmiMessageHandler.java:591) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest (ServerRmiMessageHandler.java:339) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest (ServerRmiMessageHandler.java:302) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand (RMIServerConnection.java:169) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.RMIConnection.handleCommand (RMIConnection.java:150) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands (RMIConnection.java:126) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.RMIServerConnection.listenForOrmiCommands (RMIServerConnection.java:235) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at com.evermind.server.rmi.RMIConnection.run (RMIConnection.java:105) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:885) [jre bootstrap, by jre.bootstrap:1.6.0_04]
         at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:907) [jre bootstrap, by jre.bootstrap:1.6.0_04]
         at java.lang.Thread.run (Thread.java:619) [jre bootstrap, by jre.bootstrap:1.6.0_04]
    #### Deployment incomplete. #### Jan 28, 2008 5:08:47 PM
    Deployment Failed
    Can anyone help me, am I doing something wrong?
    Thanks,
    Pedja

    Running into the same issues; been juggling between JDK 5/6, Embedded and Standalone OC4J on various platforms; still no answer...
    Here's what I do know:
    OC4J on TN is for TP1 only, JDeveloper is for TP3 or later, so you must use the bundled OC4J with JDeveloper cross platform as well - including all patches like SOA and friends.
    JDK 6u4 is very bad; use anything but that; u5 seems good.
    A good start might be to go with the Emedded OC4J, take a look at the classpath and startup commands given by the IDE for the server in the logs and simply match with some bat file if you can - from the looks of it the Standalone OC4J is behind thus the reason it's only released for TP1.
    I'm not bothering with this till they pair a release with a Standalone OC4J.

  • The MessagePerformanceUtils:totalTime issue in Flex 4 (rpc.swc) using LCDS 3.1 running under JDK1.6

    We are facing an issue while using LCDS 3.1 running under JDK1.6 in Sun Solaris v5.10 OS & Adobe Flex 4.
    Scenario :-
    ===================================
    As part of our Flex-based client-server application (with Java backend) we have a performance report generation module. Following flex framework class is used to calculate the performance of various layer of a typical server-based request-response cycle.
    ; (available in rpc.swc library file)
    (for example : server time, cairngorm time, UI screen rendering time, UI event generation time etc).
    The totalTime was working properly before upgrading the rpc.swc to Flex 4 ; However it broke after migrating to Flex SDK 4; The totalTime is now coming as negative junk value.
    As we understand that the above Flex framework class method works in conjunction with LCDS running at server side on JDK.
    We suspect that the new rpc.swc taken from Flex SDK 4 is causing the issue !
    System information :
    Web Server : Weblogic 11G
    Operating System : Sun Solaris v5.10 OS running on Sparc hardware.
    Flex : Adobe Flex sdk 4.0
    Flash player : Adobe Flash Player 10
    Browser : Internet Explorer 8
    LCDS : 3.1
    JDK : JDK 1.6.0_14
    ===================================
    Has anyone faced similar problem before ? Any help or direction would be highly appreciated.
    Thanks in advance,
    Rabi
     mx.messaging.messages.MessagePerformanceUtils :totalTime

    Nothing has changed in the Flex SDK sources for this class since sometime around 2008. Are you running against the same LCDS server as you were before you updated to Flex 4?  This certainly seems strange (and bad).  Do you see the same behavior with Flex 4.5?  What was the version of Flex you were using before switching to Flex 4.0?
    If you can provide the additional information, we will look in to this.  A reproducable case that was a simple mxml application along with a simple destination config would help us narrow the problem.
    Sorry for the problems!
    Tom

  • How Dom parser in jdk1.4 could not  run in jdk1.5?

    Hi,guys,I've wrote a class to parse XML file some easily for me , such as
    package eisen.util;
    * <p>Title: E-Future Pos Software</p>
    * <p>Description: A new version for E-Future Pos software on Linux text terminal and Windows GUI.</p>
    * <p>Copyright: E-Future Copyright (c) 2002</p>
    * <p>Company: E-Future</p>
    * @author Eisen Wang
    * @version 1.0
    import java.util.*;
    //import org.apache.xerces.parsers.*;
    import java.io.*;
    import javax.xml.parsers.*;
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    import org.w3c.dom.*;
    public class Configurator
          * Constructor. Build by a xml file containing infomations about the node
          * @param fileName a String point to the XML file
         public Configurator(String fileName)
              try
                   DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();
                   DocumentBuilder parser = factory.newDocumentBuilder();
                   document = parser.parse(fileName).getFirstChild() ;
              }catch(Exception e)
                   e.printStackTrace() ;
                   return;
    //          document = parser.getDocument() ;
               * Now we get the real root node of whole document, but it's not
               * the actual first availble node . So we have to proceed the 1st child
               * node of it.
              NodeList nl = document.getChildNodes() ;
              document = nl.item(0) ;
         * constructor.build a confgurator by the root node
         * @param node root node of the configuration file.
         public Configurator(Node node)
              document = node;
         * constructor. copy another configurator object to itself
         * @param c the original Configurator object
         public Configurator(Configurator c)
              document = c.document;
         * get the name of the root node.
         * @return String the name of root of whole document
         public String getName()
              String strTemp = document.getNodeName() ;
              return(strTemp);
         * get the string content of the node property
         * @param flag a string point to the corresponds property
         * @return a string of the property content or null if flag is not existed.
         public String getString(String flag)
              NamedNodeMap nm = document.getAttributes() ;
              if (nm==null) return(null);
              Node node = nm.getNamedItem(flag);
              if (node==null) return(null);
              String str = node.getNodeValue() ;
              return (str);
          * get the integer value of the node property
          * @param flag a string point to the corresponds property
          * @return the value of the property
         public int getInt(String flag)
              NamedNodeMap nm = document.getAttributes() ;
              Node node = nm.getNamedItem(flag);
              int val ;
              if (node!=null) val = Integer.parseInt(node.getNodeValue())  ;
              else val = 0;
              return (val);
          * get the succeeding XML configuration file
          * @return the filename recording in the XML file of the node.
         public Configurator getProfile()
              Configurator conf;
              try
                   Node profile = document.getFirstChild() ;
                   String filename = null;
                   if (profile.getNodeType() == Node.TEXT_NODE )
                        filename = profile.getNodeValue() ;
                   conf=new Configurator(filename);
              }catch(Exception e)
                   conf = null;
              return (conf);
         * get all the Element child nodes of the root node usually the
         * child components of the container.
         * @return a Vector contains all the Configurators made by children nodes
         public Vector getChilds()
              if ((getString("profile")!=null)&&(getString("profile").toUpperCase() .equals("YES") ))
                   Configurator conf = getProfile();
                   if (conf != null) return(conf.getChilds() );
                   else return(null);
              else
                   Vector nl;
                   nl = new Vector();
                   NodeList nltemp = document.getChildNodes() ;
                   for (int i=0;i<nltemp.getLength() ;i++)
                        Node node = nltemp.item(i) ;
                        if (node.getNodeType() == node.ELEMENT_NODE ) nl.add(new Configurator(node));
                   return (nl);
          * get all the Element child nodes named of 'name' of the root node usually the
          * child components of the container.
          * @param name the assigned name of selected nodes
          * @return all the Configurators made by children nodes named of 'name'
         public Vector getChilds(String name)
              if ((getString("profile")!=null)&&(getString("profile").toUpperCase() .equals("YES") ))
                   Configurator conf = getProfile();
                   if (conf != null) return(conf.getChilds() );
                   else return(null);
              else
                   Vector nl;
                   nl = new Vector();
                   NodeList nltemp = document.getChildNodes() ;
                   for (int i=0;i<nltemp.getLength() ;i++)
                        Node node = nltemp.item(i) ;
                        if ((node.getNodeType() == node.ELEMENT_NODE)&&(node.getNodeName() .equals(name))) nl.add(new Configurator(node));
                   return (nl);
         public Configurator getChild(int no)
              Vector nltemp = getChilds();
              Configurator temp = (Configurator)nltemp.get(no) ;
              return (temp);
          * a Node of the configuration point to the actual root.
         private Node document;
    }This class could run well on jdk1.4, but while using jdk1.5, compling report no error but it would report "java.lang.VerifyError: (class: com/future/DataCommit, method: <init> signature: ()V) Incompatible object argument for function call" in run-time. I don't know how to solve it, and checked out all the file on internet I found-- can't find what error in my code. Please help me to correct it . Thanks a lot.

    Yeah .of course. the error occurs while init the DataCommit object in main(),and the error message is *"java.lang.VerifyError: (class: com/future/DataCommit, method: <init> signature: ()V) Incompatible object argument for function call"*
    package com.future;
    import java.io.*;
    import java.util.*;
    import eisen.util.*;
    public class DataCommit
         protected Configurator m_config = null;
         protected String m_ip = null;
         protected int    m_port = 21;
         protected String m_localfolder = System.getProperty("user.dir");
         protected String m_localbackupfolder = System.getProperty("user.dir")+File.pathSeparator+"bak";
         protected String m_Store = null;
         public DataCommit()
              m_config = new Configurator("d:\\temp\\future.xml");
    //          Configurator temp = (Configurator)m_config.getChilds("site").get(0);
    //          m_ip = temp.getString("ip");
    //          m_port = temp.getInt("port");
    //          temp = (Configurator)m_config.getChilds("folder").get(0);
    //          m_localfolder = temp.getString("local");
    //          m_localbackupfolder = temp.getString("backup");
    //          temp=(Configurator)m_config.getChilds("shop").get(0);
    //          m_Store = temp.getString("id");
         public static void main(String[] args)
              DataCommit dataCommit1 = new DataCommit();
         public void commit()
    }Edited by: Eisen on Oct 27, 2008 10:03 PM

  • GUI does not run under JDK1.4

    Hello,
    hope you may help me. I've a big problem with JDK1.4. I can't run
    any GUI under it on my laptop. With JDK1.3 everything works fine but
    with the new Version I not even can start a simple Frame. If I start
    a GUI my cpu runs with full capacity but nothing happings.
    Can anyone tell me why this is so?
    thanks and regards,
    Tobi

    I don't know exactly about your problem. but there are many problems of jdk1.4 . Any applet compiled in jdk1.4 doesn't run in a browser of the machine which has jdk1.3 . This I have experienced.

  • Personalization Server running with JDK1.2.2?

    We installed Commerce Server 3.2 with an instance of WebLogic Server 5.1 running
    with JDK 1.3, as asked for by the BEA Installation Documentation (see http://e-docs.bea.com/wlcs/docs32/install/install.htm).
    Now after having endless meetings about how this will work with our current JDK
    1.2.2 architecture a BEA Senior Systems Engineer told us that Commerce Server
    3.2 does run with JDK 1.2.2 and is not even certified to run with JDK 1.3.
    This is an important issue for us, does anyone know for sure. The BEA Documentation
    clearly suggests that JDK 1.3 is needed.
    Thanks
    Chris Plenio

    Hi Chris,
    You didn't mention which operating system you're using. The certified JDK
    for WLCS 3.2 is the Java 2 SDK 1.3.0 (HotSpot) for Windows 2000, Windows NT
    4.0, and Sun Solaris 7 and 8. For IBM AIX 4.3.3, you need Classic VM, Build
    1.3.0, J2RE 1.3.0.
    For Compaq Tru64 UNIX 5.0 systems, you need Java 2 SDK 1.2.2-4.
    You can find the list of certified platforms at
    http://e-docs.bea.com/wlcs/docs32/relnotes/relnotes.htm#platforms.
    I hope this helps!
    - Ginny
    "Chris Plenio" <[email protected]> wrote in message
    news:3addf945$[email protected]..
    >
    We installed Commerce Server 3.2 with an instance of WebLogic Server 5.1running
    with JDK 1.3, as asked for by the BEA Installation Documentation (seehttp://e-docs.bea.com/wlcs/docs32/install/install.htm).
    Now after having endless meetings about how this will work with ourcurrent JDK
    1.2.2 architecture a BEA Senior Systems Engineer told us that CommerceServer
    3.2 does run with JDK 1.2.2 and is not even certified to run with JDK 1.3.
    This is an important issue for us, does anyone know for sure. The BEADocumentation
    clearly suggests that JDK 1.3 is needed.
    Thanks
    Chris Plenio

  • JMS- Iplanet 6.0 connection.

    Hi,
    I'm running iPlanet 6.0 WebServer and SwiftMQ router for JMS connectivity. Both the versions are running on JDK1.3.1, now when the JDK version is changed in iPlanet to JDK1.4.2, the webserver & Messaging router are unable to communicate. I'm unable to guess anything with the error messages thrown.
    Kindly help. The swiftMQ Router needs to be in JDK1.3.1, since it requires a license purchase in the later versions.
    Thanks in advance.

    Hi,
    I found the issue. The code was having traces of JVM Timestamp. Hence I changed them to System Timestamp.
    Thanks

  • HTTPS from JDK1.2.1 to JDK 1.4.1

    We are trying to connect application running on JDK1.2.1 to application in JDK 1.4.1. Both applications are in Oracle 9ias application server but with different JDK and different physical machines.
    We are getting following error while trying to access to application on JDK 1.4.1
    java.lang.ArrayStoreException
    at java.lang.System.arraycopy(System.java)
    at java.util.Vector.copyInto(Vector.java)
    at com.sun.net.ssl.internal.www.protocol.https.ChunkedInputStream.c(DashoA6275)
    at
    com.sun.net.ssl.internal.www.protocol.https.ChunkedInputStream.<init>(DashoA6275
    at com.sun.net.ssl.internal.www.protocol.https.HttpClient.b(DashoA6275)
    at com.sun.net.ssl.internal.www.protocol.https.HttpClient.a(DashoA6275)
    at
    com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream(Da
    shoA6275)
    at Perc939CallServlet.callServlet(Perc939CallServlet.java:103)
    We are using Entrust certificate and we already put cacerts file from jdk1.4 to jdk1.2.1 in jdk/jre/lib/security.
    This application was working till we upgraded version from 1.3.1 to 1.4.1.
    Is this is problem of 1.4.1 and how do we resolve this?
    Small code that will help is as follows
    //Dynamic registration of SunJSSE provider
    System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    System.setProperty("ssl.SocketFactory.provider", "com.sun.net.ssl.internal.ssl.Provider");
    //Create a URL object from the sURL String representation.
    uRemoteURL = new URL(sURL);
    //Get a connection to the remote object referred to by the URL
    ucConn = uRemoteURL.openConnection();
    //Set the DoOutput flag to true to use the URL connection for output
    ucConn.setDoOutput(true);
    ucConn.setRequestProperty("Pragma", "no-cache");
    oosToWrite = new ObjectOutputStream(ucConn.getOutputStream());
    //Write sInputString to the OutputStream which will be read from the remote servlet
    oosToWrite.writeObject(sInputString);
    oosToWrite.flush();
    oosToWrite.close();
    ucConn.connect();
    System.out.println("Connection " + ucConn.toString());
    if(ucConn==null)
         System.out.println("Connection is Null");
    System.out.println("getInputStream " + ucConn.getInputStream());
    if(ucConn.getInputStream()==null)
         System.out.println("ucConn.getInputStream() is Null");
    // Read the string object from the InputStream and return
    oisToRead = new ObjectInputStream(ucConn.getInputStream());
    Object oReadObject = oisToRead.readObject();
    sOutputString = oReadObject.toString();
    oisToRead.close();
    return (sOutputString);

    Basically ArrayStoreException comes :
    Indicate that an attempt has been made to store the wrong type of object into an array of objects.
    But in jdk1.4.1 it is said that
    No usage of java.lang.ArrayStoreException
    it may be problem of jdk1.4.1 and try to upgrade to 1.4.2
    Regards,
    Anand

  • Internal frame dragging perfermance problem in JDK1.4.1

    Hi there,
    When using internal frame with outline(not faster or LIVE_DRAG_MODE) property with JDK 1.4.1_01 (windows), the speed of internal frame dragging is terrible(very very slow).
    The same code runs fine with JDK1.3.X, and it's performance(dragging speed) is acceptable(not very good, so so) when using JDK 1.4.0_X.
    I've tried both motheds to set the property as follow, and got the same result:
    desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
    desktop.putClientProperty("JDesktopPane.dragMode", "outline");
    But, after I commented the line: g.setXORMode(Color.white); //line Num: 279
    in the class javax.swing.DefaultDesktopManager.java, the speed of dragging is very well(as same as when running with JDK1.3.X).
    My qestions are:
    - How can I improve the internal frame dragging performance in JDK 1.4.1_01(windows)?
    - Does my testing mean to a bug in the implementation of the abstract method Graphics.setXORMode() in the JDK 1.4.1_01 windows version ?
    TIA
    In terms of the test case, we may just use the follows:
    http://java.sun.com/docs/books/tutorial/uiswing/components/example-swing/InternalFrameDemo.java
    http://java.sun.com/docs/books/tutorial/uiswing/components/example-swing/MyInternalFrame.java

    Anyone know if this is registered as a bug? I couldn't find it.

  • Does oracle 8.1.6.0 jdbc thin driver support jdk1.3 and oracle 8.0.5 database ?

    I have downloaded oracle 8.1.6.0 jdbc thin driver(named classes12.zip) to run with jdk1.3 to access oracle 8.0.5, but when I compile and run the jdbccheckup.java downloaded from oracle website like this:
    javac -classpath d:\jdbc\classes12.zip jdbccheckup.java
    (compile succeed)
    java -classpath d:\jdbc\classes12.zip jdbccheckup
    an error occured:
    Exception in thread "main" java.lang.NoClassDefFoundError:jdbccheckup
    Why??????

    Try this isntead.
    java -classpath d:\jdbc\classes12.zip;. jdbccheckup
    an error occured:
    Exception in thread "main" java.lang.NoClassDefFoundError:jdbccheckup
    Why??????

  • How to install Oracle AS JMS Adapter on Websphere (or any J2EE server)

    Hi,
    We have a requirement in which the client wants to connect to the OC4J JMS running in SOA Suite (Oracle Application Server 10.1.3.4).
    They are using Websphere. We are exploring ways by which they can connect from Websphere application to Oracle AS OC4J JMS.
    One option is - deploy the Oracle AS JMS adapter in Websphere and then use it to connect to the OC4J JMS.
    Please let us know if this is the right approach. Also, if so, kindly point to the documentation regarding how to install the JMS adapter on 3rd party J2EE servers such as websphere.
    Rgds,
    Amit

    While searching the knowledge base I found the following note, which seems to suggest that Oracle Adapters are not deployble on other J2EE application servers:
    Support For Jca Adapter In Other Application Servers Like Jboss [ID 1114738.1]
    ==============================================
    From the statements in documentation it may be implied that jca adapter should be deployable on any application server that is compliant with j2ee/jca. Please note that this cannot be implied at this time and jca adapter cannot be deployed on other application servers than OAS in BRM 731 due to some technical constraints. So currently we can support only OAS and not JBoss or another application server , in BRM 731. The documentation will be updated accordingly to reflect this.

  • "Error running javac.exe compiler" when using ant to compile Eclipse plugin

    Hi
    I encounter an error "Error running C:\jdk1.5.0_06\bin\javac.exe compiler" when building my project using ant1.7.
    My project has 10 eclipse plugins, and each plugin is compiled by invoking following ant target
    <!-- ===================================================================
    Compile specified plugin
         target parameters:
              param.plugin.dir: the plugin directory
              param.plugin.targetJarFile: the name of jar file for the given plugin
              param.plugin.src.dir: the folder name of source codes. Note: it is relative path name
              param.fork: indicate if another process is forked to run javac
    =================================================================== -->
    <target name="compilePlugin">
         <!-- Prepare compile environment -->
         <!-- Delete obsolete build folder -->
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
         <!-- Delete obsolete jar file -->
         <delete file="${param.plugin.dir}/${param.plugin.targetJarFile}" quiet="true"/>
         <mkdir dir="${param.plugin.dir}/${build.dir}"/>
         <!-- Compile source codes -->
         <javac      srcdir="${param.plugin.dir}/${param.plugin.src.dir}"
                   destdir="${param.plugin.dir}/${build.dir}"
                   failonerror="${javacFailOnError}"
                   verbose="${javacVerbose}"
                   debug="${javacDebugInfo}"
                   deprecation="${javacDeprecation}"
              optimize="${javacOptimize}"
                   source="${javacSource}"
                   target="${javacTarget}"     
                   fork="${param.fork}" memoryInitialSize="256m" memoryMaximumSize="512m">
              <classpath refid="compile.classpath" />
         </javac>
         <!-- Create plugin jar file -->
         <copy todir="${param.plugin.dir}/${build.dir}" failonerror="true">
              <fileset dir="${param.plugin.dir}/${param.plugin.src.dir}" excludes="**/*.java, **/package.htm*" />
         </copy>
         <jar jarfile="${param.plugin.dir}/${param.plugin.targetJarFile}" basedir="${param.plugin.dir}/${build.dir}"/>
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
    </target>
    Since each of first 9 plugins contains less than 500 java source files, we always set "param.fork" to false when invoking this ant target.
    For the 10th plugin, it has about 1000 source files. If we set "param.fork" to false, we will get the error "Error running javac.exe compiler". So we have to set "param.fork" to true when compiling it. This week, this plugin contains about 1250 files and we get the same error again when compiling it. I tried to increase the "memoryMaximumSize" to "768", but still couldn't get through it.
    BTW, There are about 150 jar files in our classpath for compiling plugins. Do many jar files cause this problem?
    Any help is highly appreciated.
    Many thanks
    Oceanman

    I encountered a very similar error and I was able to resolve it by removing the following parameters from the javac task:
    fork="${param.fork}"
    memoryInitialSize="256m"
    memoryMaximumSize="512m"My values were not the same as yours, before I removed them, the values were set to:
    fork="true"
    memoryInitialSize="256m"
    memoryMaximumSize="256m" Not sure why this fixed my problem but it did. I was using Ant 1.7 and Java 1.6_07 hope this helps.

  • Desktop app startup GUI Grey out using JDK1.5 using -Xmx1152m

    Hi,
    We have a desktop swing app which works with JVM max heap size -Xmx1152m in JDK 1.4.2 without any problems. But using JDK 1.5, the GUI shows up in GREY and not repaint itseld even if we force repaint by minimising or being another windows over it.
    However, there is no problem if we reduce the -Xmx size from 1152m to about 512m and this problem does not show up on all machines.
    Is this problem anyway related to the following bug ?
    http://forum.java.sun.com/thread.jspa?forumID=32&threadID=554377
    We would appreciate if someone can help us fix this problem.
    We compiled our source code with JDK 1.5 and run with JDK1.5 and we do not use any JDK 1.5 features. We want to use JDk 1.5 for our memory and performance improvements. Ours is a heaby memory usage app so we can not afford to reduce -Xmx to 512m from 1152m.
    Thanks

    It could be to a corrupt Video Driver or Microsoft DirectX driver on that machine and 1.5 is taking advantage of some new directx methods to speed up video rendering. May 1.5 is using more vram than 1.4. You could also try downloading and installing/or reinstalling the latest Microsoft DirectX drivers and the latetest video drivers for the Dell Optiplex GX280. After that carefully read the link I provided, it might provide you with some clue as to what is going wrong and you could experiment with other ddraw properties.

  • Web Service Client - SOAP/jms: Specific response queue (not default queue)?

    Hi @ll
    I try to define a specific jms response queue for a web service client that communicates SOAP/jms, running on a WLS 9.2. The web service itself runs also on a WLS 9.2 where also the request and response queues are located. By default the client receives the responses from a temporary response queue. Is there a way to define a specific response queue e.g. setting the JMSReplyTo property in the request on the client side?
    /cheers&greetz
    Dani

    WLS do not have a light SOAP client with callbacks yet. It is
    not a planed feature for 7.0, but we will considering this for
    post 7.0.
    regards,
    -manoj
    "markhu" <[email protected]> wrote in message
    news:[email protected]..
    Hi, guys:
    I have a system : client written in Java/Swing, HTTPS authentication,
    and then subscribes to a WLS 61. SP2 based JMS Topic and also has the
    ability to send message to a Queue, since I can not bring down the size of
    the client side WLS JMS dependency lib, I am thinking about using SOAP /
    web service as the communication tier between my client and server, so the
    question is: since the client need get the price updates in a real time
    mode, I need build a server side based PUSH for all the new price updates
    which come into the JMS Topic, and broadcast as SOAP messages to client,is
    this mean that I have to build the Call - Back for the Java Swing Client,so
    it can automatically get the new price updates as it's getting from JMS
    Topic now ? Any Idea on how to build server side PUSH based SOAP message
    center as web service ?? Thanks a lot.
    regards,
    mark
    FYI:
    I need the same PUSH service for my .NET based client as well.

  • Import myclass; Not Work in JDK1.4 Why?

    Dear friends
    I make one Bean in which i import one class
    import EnquiryPK;
    This statement works fine in JDK1.3 but Now i shifted to jdk1.4 So during compilation i got following error
    EnquiryBean.java [10:1] '.' expected
    import EnquiryPK;
    So can u give me soution to avoid this error
    Thanks
    Mausam
    [email protected]

    Hi
    Thanks For Ur Reply Actually I develop one Entity Bean with Primary Key Class . The Return type of ejbCreate is Primary Key Class
    lets
    Entity Bean is EnquiryBean
    Primary Key class is EnquiryPK
    and in Enquiry Bean I my code is
    import EnquiryPK;
    public EnquiryPK ejbCreate(...)
    This code Compile and run with Jdk1.3 but in Jdk1.4 it gives me error
    I am not using any package Still my Pk class and Bean class file in same folder
    Regards
    Mausam

Maybe you are looking for

  • Aiport Extreme (N) & Video Playback

    Hi there, I have an external HD hooked up to my Airport Extreme base station. I have my iTunes library as well as some movies. When playing songs in iTunes wirelessly from the base station I do not have a problem, no loss, music plays smooth. However

  • InDesign to PDF (Not printing black

    Hi, I created a document for a booklet I am putting together. I have exported it as a PDF in High Quality Print with all the crop marks on it. But when it is printed, it comes out as a cyan color which is not what I want. Can someone help me fix this

  • I need to return to 10.0.9

    After upgrading a few days ago to Mavericks on my laptop, I found my FCPX was updated to 10.1. Unfortunately, my main computer, a Mac Pro, is still running Mountain Lion (with FCPX 10.0.9) and I need to stay on that for the time being. Today I receiv

  • Can no longer send pictures in text that I once did. "Unsupported file type"

    The other day my phone began saying I could not longer send pictures in MMS. Pictures I sent the previous week are now an unsupport file type.  They are .jpg and .pngs.  I have to take a screenshot of them all now, crop out the excess stuff, and then

  • Can't open PDFs in Firefox

    All of a sudden I can't open PDFs on my website when using Firefox, works in IE though - any idea?