1 2 Previous Next 18 Replies Latest reply on Mar 24, 2011 4:15 PM by pmccarty

    CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150

    makjason
      I'm trying to install CC&B 2.3.1 on 64 bit CentOS 5.1 with WebLogic. Everything in the installation process appears to execute without errors now. When starting up CC&B, the SPLWeb deployment fails to start. The WebLogic Admin Console is available and the SPLService deployment is "Active". From the logs, the only error messages (in order of appearance) seems to be

      ClassNotFoundException: org.open.spml.v2.transport.RPCServlet
      ...
      Sorry unable to load libcobjvm_sun_150
      ...
      Unable to establish connection on port 6506 after waiting 20 seconds

      Port 6506 is open.
      "./splenviron -e demo1" at the command line executes without throwing the "Sorry unable to load" message. Using "ldd -v" at the command prompt shows that libcobjvm_sun_150.so can link all the required libraries.

      I'm at a loss as to how to resolve the above issues so that SPLWeb deployment starts successfully.

      I'm more than happy to post log snippets of anything that might be relevant to resolving this issue, I'm just unfamiliar with what log snippets would be relevant for this issue.

      Jason
        • 1. Re: CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150
          Luckys
          This may be of help on Metalink, Doc. ID: 802374.1, although it's for release 2.1.0 to 2.2.0, but the solution would be the same for 2.3.1
          1 person found this helpful
          • 2. Re: CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150
            makjason
            I was missing the SPL runtime directory from the LD_LIBRARY_PATH but unfortunately that was either not the problem or not the entire problem. Thank you for pointing me to that particular metalink note.

            From the metalink note, it said to use 32 bit Java 1.5, check that libstdc++ and compat-libstdc++ is install and that the SPL runtime directory is in the LD_LIBRARY_PATH.

            Here are verification snipets copied from the command line (maybe I've been looking at this too long):
            java -version
            java version "1.5.0_24"
            Java(TM) Platform, Standard Edition for Business (build 1.5.0_24-b02)
            Oracle JRockit(R) (build R28.1.0-123-138454-1.5.0_24-20101014-1350-linux-ia32, compiled mode)

            yum install libstdc++
            Loaded plugins: fastestmirror
            Loading mirror speeds from cached hostfile
            * addons: yum.singlehop.com
            * base: mirror.trouble-free.net
            * extras: mirror.trouble-free.net
            * updates: ftp.usf.edu
            Setting up Install Process
            Package libstdc++-4.1.2-48.el5.x86_64 already installed and latest version
            Package libstdc++-4.1.2-48.el5.i386 already installed and latest version
            Nothing to do

            yum install compat-libstdc++-33
            Loaded plugins: fastestmirror
            Loading mirror speeds from cached hostfile
            * addons: yum.singlehop.com
            * base: mirror.trouble-free.net
            * extras: mirror.trouble-free.net
            * updates: ftp.usf.edu
            Setting up Install Process
            Package compat-libstdc++-33-3.2.3-61.x86_64 already installed and latest version
            Package compat-libstdc++-33-3.2.3-61.i386 already installed and latest version
            Nothing to do

            echo $LD_LIBRARY_PATH
            /opt/SPLcobAS51/lib:/u01/app/spl/demo1/runtime:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/i386/native_threads:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/i386:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/i386/jrockit

            *./splenviron.sh -e demo1*
            BEADIR=/u01/app/oracle/product/10.3.2/middleware
            Java version = 1.5.0_24
            Java vendor = Oracle Corporation
            Java OS name = Linux
            Java OS arch = i386
            Java OS version = 2.6.18-194.32.1.el5
            Version ................ (SPLVERSION) : V2.2.0
            Database Type ............... (SPLDB) : oracle
            ORACLE_SID ............. (ORACLE_SID) : makccb01
            NLS_LANG ................. (NLS_LANG) : AMERICAN_AMERICA.UTF8
            Environment Name ....... (SPLENVIRON) : demo1
            Environment Code Directory (SPLEBASE) : /u01/app/spl/demo1
            App Output Dir - Logs ... (SPLOUTPUT) : /u01/app/spl/sploutput/demo1
            Build Directory .......... (SPLBUILD) : /u01/app/spl/demo1/cobol/build
            Runtime Directory .......... (SPLRUN) : /u01/app/spl/demo1/runtime

            Any other ideas?
            • 3. Re: CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150
              makjason
              I found a better/different description of why it can't create the socket in the logs and it appears to deal with Unix Domain Sockets.

              - 2011-02-07 11:02:16,460 [pool-2-thread-1] ERROR (cobol.host.SocketStrategy) Unable to establish connection on port 6506 after waiting 20 seconds.
              java.net.ConnectException: Cannot connect to socket caused by: No such file or directory

              at com.splwg.base.support.cobol.host.sockets.UnixDomainSocketNative.connectDomainSocket(Native Method)
              ..
              at java.lang.Thread.run(Thread.java:619)

              From the logs, I can see that there is a child JVM setting of "-Dspl.runtime.socket.file.dir=/spl/demo1/runtime ". I found a pre-existing socket file "splSocket6504" in this directory. I wrote a test program to see if the unix user "cissys" could open a domain socket in this directory and the test was successful. I was able to create a socket file "splSock6505" in "/spl/demo1/runtime".

              I'm still not sure if this is the problem or the symptom of another problem.
              • 4. Re: CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150
                Luckys
                can you paste the entire exception stack trace along with the output of env?

                I am also assuming that the installed JRockit version is 32-bit.
                1 person found this helpful
                • 5. Re: CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150
                  makjason
                  Yes, it is 32 bit java.

                  WerbLogic version: 10.3.2
                  Oracle Database version: 11.2.0.1.0

                  Environment
                  uname -a
                  Linux lithium 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

                  cobjrun32 -version
                  java version "1.5.0_24"
                  Oracle JRockit(R) (compiled mode)

                  env
                  _=*25659*/usr/bin/env
                  BEADIR=/u01/app/oracle/product/10.3.2/middleware
                  BEA_HOME=/u01/app/oracle/product/10.3.2/middleware
                  C3P0_JAR_DIR=/u01/app/c3po/lib
                  CLASSPATH=/opt/SPLcobAS51/lib/mfcobol.jar:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/rt.jar:/u01/app/oracle/product/10.3.2/middleware/wlserver/server/lib/weblogic.jar
                  COBCPY=/opt/SPLcobAS51/cpylib
                  COBDIR=/opt/SPLcobAS51
                  COLORTERM=gnome-terminal
                  CVS_RSH=ssh
                  DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-dOUch8VbVe,guid=75822bfa64fbe31043b0ec004d502342
                  DESKTOP_SESSION=default
                  DESKTOP_STARTUP_ID=
                  DISPLAY=:0.0
                  GDMSESSION=default
                  GDM_XSERVER_LOCATION=local
                  GNOME_DESKTOP_SESSION_ID=Default
                  GNOME_KEYRING_SOCKET=/tmp/keyring-pR0PEl/socket
                  GTK_RC_FILES=/etc/gtk/gtkrc:/home/cissys/.gtkrc-1.2-gnome2
                  G_BROKEN_FILENAMES=1
                  HIBERNATE_JAR_DIR=/u01/app/hibernate
                  HISTSIZE=1000
                  HOME=/home/cissys
                  HOSTNAME=lithium
                  INPUTRC=/etc/inputrc
                  JAVA_HOME=/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32
                  JAVA_HOME_32=/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32
                  JAVA_HOME_64=/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1
                  JH=/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1
                  JROCKIT_HOME=/u01/app/jrrt-3.1.2-1.6.0
                  LANG=en_US.UTF-8
                  LD_LIBRARY_PATH=/opt/SPLcobAS51/lib:/spl/demo1/runtime:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/i386/native_threads:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/i386:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/i386/jrockit
                  LESSOPEN=|/usr/bin/lesspipe.sh %s
                  LOGNAME=cissys
                  LS_COLORS=
                  MAIL=/var/spool/mail/cissys
                  ORACLE_HOME=/u01/app/oracle/product/11.2.0/db
                  ORACLE_HOSTNAME=lithium
                  ORACLE_SID=makccb01
                  PATH=/u01/app/oracle/product/11.2.0/db/perl/bin://usr/kerberos/bin:/u01/app/oracle/product/11.2.0/db/bin:/opt/SPLcobAS51/bin:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
                  PWD=/home/cissys
                  SESSION_MANAGER=local/lithium:/tmp/.ICE-unix/16622
                  SHELL=/bin/ksh
                  SHLVL=0
                  SSH_AGENT_PID=16658
                  SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
                  SSH_AUTH_SOCK=/tmp/ssh-JhBlx16622/agent.16622
                  TERM=xterm
                  USER=cissys
                  USERNAME=cissys
                  WINDOWID=22044475
                  WL_HOME=/u01/app/oracle/product/10.3.2/middleware/wlserver

                  perl -v
                  This is perl, v5.10.0 built for x86_64-linux-thread-multi
                  Copyright 1987-2007, Larry Wall

                  Errors from screen output
                  When processing WebService module 'XAIApp.war'. Failed to load servlet Class: org.openspml.v2.transport.RPCRouterServlet
                  Ignoring: unable to load class:java.lang.ClassNotFoundException: org.openspml.v2.transport.RPCRouterServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
                  When processing WebService module 'XAIApp.war'. Failed to load servlet Class: org.openspml.v2.transport.RPCRouterServlet
                  Ignoring: unable to load class:java.lang.ClassNotFoundException: org.openspml.v2.transport.RPCRouterServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)

                  - 2011-02-07 14:10:16,238 [pool-2-thread-1] ERROR (cobol.host.SocketStrategy) Unable to establish connection on port 6506 after waiting 20 seconds.
                  java.net.ConnectException: Cannot connect to socket caused by: No such file or directory

                  at com.splwg.base.support.cobol.host.sockets.UnixDomainSocketNative.connectDomainSocket(Native Method)
                  at com.splwg.base.support.cobol.host.sockets.UnixDomainSocket.connectDomainSocket(UnixDomainSocket.java:87)
                  at com.splwg.base.support.cobol.host.sockets.UnixDomainSocketStrategy.openSocket(UnixDomainSocketStrategy.java:40)
                  at com.splwg.base.support.cobol.host.SocketStrategy.unsafeOpen(SocketStrategy.java:119)
                  at com.splwg.base.support.cobol.host.SocketStrategy.open(SocketStrategy.java:104)
                  at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.createNewHolder(OptimizedRemoteExecuterStub.java:169)
                  at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.getStreamHolder(OptimizedRemoteExecuterStub.java:132)
                  at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.invoke(OptimizedRemoteExecuterStub.java:52)
                  at com.splwg.base.support.cobol.host.RemoteRunnerImpl.invoke(RemoteRunnerImpl.java:111)
                  at com.splwg.base.support.cobol.host.RemoteJVMConnectionImpl.createRemoteRunner(RemoteJVMConnectionImpl.java:157)
                  at com.splwg.base.support.cobol.host.RemoteJVMConnectionImpl.<init>(RemoteJVMConnectionImpl.java:76)
                  at com.splwg.base.support.cobol.host.RemoteJVMFactoryImpl.addConnection(RemoteJVMFactoryImpl.java:89)
                  at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider$ConnectionMonitor.addNecessaryConnections(RotatingCommandRunnerProvider.java:401)
                  at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider$ConnectionMonitor.doHousekeeping(RotatingCommandRunnerProvider.java:330)
                  at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider$ConnectionMonitor.run(RotatingCommandRunnerProvider.java:323)
                  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                  at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
                  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
                  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
                  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
                  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                  at java.lang.Thread.run(Thread.java:619)
                  - 2011-02-07 14:10:16,268 [pool-2-thread-1] ERROR (cobol.host.SocketStrategy) Unable to create socket for inter JVM communication on port 6506
                  - 2011-02-07 14:10:16,270 [pool-2-thread-1] INFO (cobol.host.RemoteJVMConnectionImpl) Connection to JVM 1 being shunned
                  - 2011-02-07 14:10:16,271 [pool-2-thread-1] ERROR (cobol.host.RemoteJVMConnectionImpl) An exception has occurred calling the remote JVM
                  - 2011-02-07 14:10:16,273 [pool-2-thread-1] ERROR (cobol.host.RotatingCommandRunnerProvider) Caught exception in Remote JVM connection housekeeper: com.splwg.shared.common.LoggedException:
                  The following stacked messages were reported as the LoggedException was rethrown:
                  com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.getStreamHolder(OptimizedRemoteExecuterStub.java:132): An exception has occurred calling the remote JVM
                  com.splwg.base.support.cobol.host.SocketStrategy.unsafeOpen(SocketStrategy.java:124): Unable to create socket for inter JVM communication on port 6506

                  The root LoggedException was: Unable to establish connection on port 6506 after waiting 20 seconds.
                  - 2011-02-07 14:10:17,440 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) JVMCHILD : <info> COBDIR = /opt/SPLcobAS51
                  - 2011-02-07 14:10:17,541 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) JVMCHILD : <info> SPLENVIRON = demo1
                  - 2011-02-07 14:10:17,643 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) JVMCHILD : <info> JAVA_HOME = /u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32
                  - 2011-02-07 14:10:17,744 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) JVMCHILD : <info> SPLEBASE = /spl/demo1
                  - 2011-02-07 14:10:17,846 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) JVMCHILD : <info> COBMODE=32
                  - 2011-02-07 14:10:17,948 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) JVMCHILD : <info> PATH=/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/bin:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/bin:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/bin:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/bin:/opt/SPLcobAS51/bin:/spl/demo1/runtime:/usr/ccs/bin:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/bin:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/bin:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/bin:/spl/demo1/bin:/spl/demo1/product/apache-ant-1.7.0/bin:/u01/app/oracle/product/11.2.0/db/bin:/opt/pdk/bin:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
                  - 2011-02-07 14:10:18,050 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) JVMCHILD : <info> LD_LIBRARY_PATH=/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/amd64/server:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/amd64/native_threads:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/i386:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/i386/server://u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/i386/native_threads:/u01/app/oracle/product/11.2.0/db/lib32:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/i386:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/i386/server://u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/i386/native_threads:/spl/demo1/runtime:/opt/SPLcobAS51/lib:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib
                  - 2011-02-07 14:10:18,152 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) JVMCHILD : <info> CLASSPATH=/opt/SPLcobAS51/lib/mfcobol.jar:/opt/SPLcobAS51/lib/mfimtk.jar:/spl/demo1/splapp/standalone/lib/antlr-2.7.6.jar:/spl/demo1/splapp/standalone/lib/xalan-2.7.0.jar:/spl/demo1/splapp/standalone/lib/serializer-2.7.0.jar:/spl/demo1/splapp/standalone/lib/ojdbc5-11.1.0.7.0.jar:/u01/app/jrrt-3.1.2-1.6.0/lib/tools.jar:/u01/app/oracle/product/10.3.2/middleware/wlserver_10.0/server:/u01/app/oracle/product/10.3.2/middleware/wlserver_10.0/server/lib/weblogic_sp.jar:/u01/app/oracle/product/10.3.2/middleware/wlserver_10.0/server/lib/weblogic.jar:.:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/rt.jar:/u01/app/jrockit-jdk1.5.0_24-R28.1.0-4.0.1_32/jre/lib/rt.jar:/u01/app/oracle/product/10.3.2/middleware/wlserver/server/lib/weblogic.jar:/opt/SPLcobAS51/lib:/spl/demo1/runtime::
                  - 2011-02-07 14:10:18,254 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) JVMCHILD : <info> sun_150
                  - 2011-02-07 14:10:18,355 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) JVMCHILD : <info> Executing cobjrun32 -DSPLENV=demo1 with the following Arguments
                  - 2011-02-07 14:10:18,457 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) JVMCHILD : <info> -Xmx256m -Dcom.microfocus.cobol.cobjvm=sun_150 -Dspl.runtime.socket.file.dir=/spl/demo1/runtime -Dfile.encoding=ISO8859_1 -cp /spl/demo1/splapp/standalone/config:/spl/demo1/splapp/standalone/lib/activation_api-1.1.jar:/spl/demo1/splapp/standalone/lib/coherence-3.5.2.jar:/spl/demo1/splapp/standalone/lib/coherence-work-3.5.2.jar:/spl/demo1/splapp/standalone/lib/commonj-3.5.2.jar:/spl/demo1/splapp/standalone/lib/commons-beanutils-core-1.7.0.jar:/spl/demo1/splapp/standalone/lib/commons-cli-1.1.jar:/spl/demo1/splapp/standalone/lib/commons-codec-1.3.jar:/spl/demo1/splapp/standalone/lib/commons-collections-2.1.1.jar:/spl/demo1/splapp/standalone/lib/commons-fileupload-1.2.jar:/spl/demo1/splapp/standalone/lib/commons-httpclient-2.0.2.jar:/spl/demo1/splapp/standalone/lib/commons-io-1.3.2.jar:/spl/demo1/splapp/standalone/lib/commons-lang-2.2.jar:/spl/demo1/splapp/standalone/lib/commons-logging-1.0.4.jar:/spl/demo1/splapp/standalone/lib/concurrent-1.3.4.jar:/spl/demo1/splapp/standalone/lib/dom4j-1.6.1.jar:/spl/demo1/splapp/standalone/lib/hibernate-3.2.7.jar:/spl/demo1/splapp/standalone/lib/icu4j-3.6.1.jar:/spl/demo1/splapp/standalone/lib/jaxen-1.1.1.jar:/spl/demo1/splapp/standalone/lib/jcip-annotations.jar:/spl/demo1/splapp/standalone/lib/jta.jar:/spl/demo1/splapp/standalone/lib/jtds-1.2.jar:/spl/demo1/splapp/standalone/lib/log4j-1.2.15.jar:/spl/demo1/splapp/standalone/lib/mail_api-1.4.jar:/spl/demo1/splapp/standalone/lib/mfcobol.jar:/spl/demo1/splapp/standalone/lib/ojdbc5-11.1.0.7.0.jar:/spl/demo1/splapp/standalone/lib/orai18n-collation.jar:/spl/demo1/splapp/standalone/lib/orai18n-mapping.jar:/spl/demo1/splapp/standalone/lib/orai18n-utility.jar:/spl/demo1/splapp/standalone/lib/orai18n.jar:/spl/demo1/splapp/standalone/lib/serializer-2.7.0.jar:/spl/demo1/splapp/standalone/lib/spl-base-2.2.0.jar:/spl/demo1/splapp/standalone/lib/spl-ccb-2.3.1.jar:/spl/demo1/splapp/standalone/lib/spl-servicebeaninterface-2.2.0.jar:/spl/demo1/splapp/standalone/lib/spl-serviceclient-2.2.0.jar:/spl/demo1/splapp/standalone/lib/spl-shared-2.2.0.jar:/spl/demo1/splapp/standalone/lib/spl-spml-2.2.0.jar:/spl/demo1/splapp/standalone/lib/spl-web-2.2.0.jar:/spl/demo1/splapp/standalone/lib/spl-xai-2.2.0.jar:/spl/demo1/splapp/standalone/lib/stax-api-1.0.1.jar:/spl/demo1/splapp/standalone/lib/stax2.jar:/spl/demo1/splapp/standalone/lib/staxmate-0.9.1.jar:/spl/demo1/splapp/standalone/lib/wstx-asl-3.2.1.jar:/spl/demo1/splapp/standalone/lib/xalan-2.7.0.jar:/spl/demo1/splapp/standalone/lib/xmlparserv2.jar:/spl/demo1/splapp/standalone/lib/xquery.jar:/spl/demo1/splapp/standalone/lib/xstream-1.2.1.jar:/spl/demo1/splapp/standalone/lib/yjp-controller-api-redist.jar:/spl/demo1/splapp/standalone/lib/geronimo-spec-j2ee-1.4-rc4.jar com.splwg.base.support.cobol.host.RemoteJVM 2 6505 6506 2
                  - 2011-02-07 14:10:18,559 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) Sorry unable to load libcobjvm_sun_150
                  - 2011-02-07 14:10:18,661 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger)
                  - 2011-02-07 14:10:18,762 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) If libcobjvm_sun_150 is on shared library PATH, then ensure
                  - 2011-02-07 14:10:18,864 [JVM 2 INFO logger] INFO (cobol.host.ProcessLogger) 'libjava' and 'java' are found on the PATH/Shared Library PATH.
                  • 6. Re: CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150
                    761421
                    I think I have the same problem, when I start cc&b, weblogic failed to deploy SPLWeb.ear (I know it's due to SPLApp.war because I deployed succesfully all the other wars seperately).

                    in weblogic_current.log :

                    Failed to load servlet Class: org.openspml.v2.transport.RPCRouterServletIgnoring: unable to load class:java.lang.ClassNotFoundException: org.openspml.v2.transport.RPCRouterServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)

                    then :

                    - 2011-02-16 00:26:45,691 [pool-2-thread-1] ERROR (cobol.host.SocketStrategy) Unable to establish connection on port 6506 after waiting 20 seconds.
                    java.net.ConnectException: Cannot connect to socket caused by: No such file or directory

                         at com.splwg.base.support.cobol.host.sockets.UnixDomainSocketNative.connectDomainSocket(Native Method)
                         at com.splwg.base.support.cobol.host.sockets.UnixDomainSocket.connectDomainSocket(UnixDomainSocket.java:87)
                         at com.splwg.base.support.cobol.host.sockets.UnixDomainSocketStrategy.openSocket(UnixDomainSocketStrategy.java:40)
                         at com.splwg.base.support.cobol.host.SocketStrategy.unsafeOpen(SocketStrategy.java:119)
                         at com.splwg.base.support.cobol.host.SocketStrategy.open(SocketStrategy.java:104)
                         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.createNewHolder(OptimizedRemoteExecuterStub.java:169)
                         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.getStreamHolder(OptimizedRemoteExecuterStub.java:132)
                         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.invoke(OptimizedRemoteExecuterStub.java:52)
                         at com.splwg.base.support.cobol.host.RemoteRunnerImpl.invoke(RemoteRunnerImpl.java:111)
                         at com.splwg.base.support.cobol.host.RemoteJVMConnectionImpl.createRemoteRunner(RemoteJVMConnectionImpl.java:157)
                         at com.splwg.base.support.cobol.host.RemoteJVMConnectionImpl.<init>(RemoteJVMConnectionImpl.java:76)
                         at com.splwg.base.support.cobol.host.RemoteJVMFactoryImpl.addConnection(RemoteJVMFactoryImpl.java:89)
                         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider$ConnectionMonitor.addNecessaryConnections(RotatingCommandRunnerProvider.java:401)
                         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider$ConnectionMonitor.doHousekeeping(RotatingCommandRunnerProvider.java:330)
                         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider$ConnectionMonitor.run(RotatingCommandRunnerProvider.java:323)
                         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
                         at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
                         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
                         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
                         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:146)
                         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:170)
                         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
                         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
                         at java.lang.Thread.run(Thread.java:595)
                    - 2011-02-16 00:26:45,696 [pool-2-thread-1] ERROR (cobol.host.SocketStrategy) Unable to create socket for inter JVM communication on port 6506
                    - 2011-02-16 00:26:45,697 [pool-2-thread-1] INFO (cobol.host.RemoteJVMConnectionImpl) Connection to JVM 1 being shunned
                    - 2011-02-16 00:26:45,697 [pool-2-thread-1] ERROR (cobol.host.RemoteJVMConnectionImpl) An exception has occurred calling the remote JVM
                    - 2011-02-16 00:26:45,698 [pool-2-thread-1] ERROR (cobol.host.RotatingCommandRunnerProvider) Caught exception in Remote JVM connection housekeeper: com.splwg.shared.common.LoggedException:
                    The following stacked messages were reported as the LoggedException was rethrown:
                    com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.getStreamHolder(OptimizedRemoteExecuterStub.java:132): An exception has occurred calling the remote JVM

                    consequence :
                    It tries to do this for the remote JVM 1/ remote JVM 2 and remote JVM 3, it takes more than 60 seconds (20 + 20 + 20),
                    and then :

                    The following stacked messages were reported as the LoggedException was rethrown:
                    com.splwg.base.api.service.ServiceDispatcher$13.execute(ServiceDispatcher.java:535): Caught exception from SessionExecutable.execute()
                    com.splwg.base.support.service.JavaPageReadService$1.execute(JavaPageReadService.java:26): Rollback: Read failed
                    com.splwg.base.web.common.WebInstallationDataHelper.outputInstallationData(WebInstallationDataHelper.java:64): Error retrieving Installation Data
                    com.splwg.base.support.service.cobol.CobolPageRereadHelper.read(CobolPageRereadHelper.java:34): Encountered exception, session marked for rollback

                    The root LoggedException was: Exceeded maximum timeout of 60 secs while attempting to obtain a RemoteJVMConnection.
                    com.splwg.shared.common.LoggedException:
                    The following stacked messages were reported as the LoggedException was rethrown:
                    com.splwg.base.api.service.ServiceDispatcher$13.execute(ServiceDispatcher.java:535): Caught exception from SessionExecutable.execute()
                    com.splwg.base.support.service.JavaPageReadService$1.execute(JavaPageReadService.java:26): Rollback: Read failed
                    com.splwg.base.web.common.WebInstallationDataHelper.outputInstallationData(WebInstallationDataHelper.java:64): Error retrieving Installation Data
                    com.splwg.base.support.service.cobol.CobolPageRereadHelper.read(CobolPageRereadHelper.java:34): Encountered exception, session marked for rollback

                    Is it the same issue ?

                    I don't have any problem with libcobjvm_sun_150
                    • 7. Re: CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150
                      paul brown - oracle
                      We had the following issue when installing CC&B on Oracle Enterprise linux 64 bit and IBM AIX 64 bit environments.

                      If you are getting the
                      Sorry unable to load libcobjvm_ibm_150 error
                      It is because the COBMODE environment variable is set to 32
                      COBMODE=32

                      The best way around this is as follows:
                      after you extract the framework
                      edit the splenviron.sh file so the COBMODE is set to 64
                      COBMODE=64

                      here is the change for linux
                      Linux ) export LD_LIBRARY_PATH=`removeFromVar $LD_LIBRARY_PATH "$CUSTCOBDIR"`;
                      export COBMODE=32 ;;
                      to
                      Linux ) export LD_LIBRARY_PATH=`removeFromVar $LD_LIBRARY_PATH "$CUSTCOBDIR"`;
                      export COBMODE=64 ;;

                      This may not fix everything. If that is the case then
                      1. Extract the framework
                      2. make the changes above to the splenviron.sh file
                      3. re install the framework.
                      • 8. Re: CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150
                        761421
                        Thank you,
                        That resolves the problem with libcobjvm_sun_150.
                        I still have a problem when I try to deploy SPLWeb.

                        INFO (web.common.WebInstallationDataHelper) Retrieving extra Installation Data from service 'CILTINCP'
                        ERROR (cobol.host.SocketStrategy) Unable to establish connection on port 6506 after waiting 20 seconds.
                        java.net.ConnectException: Cannot connect to socket caused by: No such file or directory

                        This error appears when asking the first cobol service.

                        Maybe is it only the consequence of the first error :

                        Failed to load servlet Class: org.openspml.v2.transport.RPCRouterServletIgnoring: unable to load class:java.lang.ClassNotFoundException: org.openspml.v2.transport.RPCRouterServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)Failed to load servlet Class: org.openspml.v2.transport.RPCRouterServletIgnoring: unable to load class:java.lang.ClassNotFoundException: org.openspml.v2.transport.RPCRouterServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
                        • 9. Re: CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150
                          paul brown - oracle
                          There is an issue with the mfcobol.jar files supplied with CC&B v2.3.1. See patch 10138809 on http://support.oracle.com
                          BACKUP YOUR ENVIRONMENT FIRST
                          The manual steps to resolve this are:
                          *1. Expand the environment*
                          attach to your environment
                          #> /CCB_231_DEV/bin/splenviron.sh -e CCB_231_DEV
                          execute configureEnv.sh
                          #> configureEnv.sh
                          Set option for expanded/archive directories to true:
                          Exploded directory (true) or archive format (false): true
                          enter 'P' to process
                          execute initalSetup.sh
                          #> initialSetup.sh
                          reinitialize the environment:
                          #> splenviron.sh -e $SPLENVIRON
                          *2. copy the mf cobol jar files to your environment*
                          cd $COBDIR/lib
                          cp -rp mfcobol.jar $SPLEBASE/splapp/applications/XAIApp/WEB-INF/lib
                          cp -rp mfcobol.jar $SPLEBASE/splapp/applications/root/WEB-INF/lib
                          cp -rp mfcobol.jar $SPLEBASE/splapp/businessapp
                          cp -rp mfcobol.jar $SPLEBASE/splapp/standalone/lib
                          *3. Compress environment*
                          execute configureEnv.sh
                          #> configureEnv.sh
                          Set option for expanded/archive directories to false:
                          Exploded directory (true) or archive format (false): false
                          enter 'P' to process
                          execute initalSetup.sh
                          #> initialSetup.sh
                          reinitialize the environment:
                          #> splenviron.sh -e $SPLENVIRON

                          Your environment should start now.
                          • 11. Re: CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150
                            761421
                            I have exactly the same behavior when I delete all the components in $COBDIR.
                            • 12. Re: CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150
                              paul brown - oracle
                              When changing the COBMODE from 32 to 64 did you follow the instructions.
                              1 Extract the framework
                              2 Change the splenviron.sh file
                              3 reinstall the framework.
                              What FW and CC&B Service packs are you insrtalling.
                              When you had the original error about the cobol errors when you installed the framework did you stop at that point or did you continue to install CC&B on top of the framework.
                              The process that I followed was
                              1. Installed the framework (got the error)
                              2. Fix the framework as above.
                              3. Installed CC&B (got the next cobol error)
                              4. Copied the correct mfcobol.jar files (bug 10138809)

                              The other issue you may have encountered is incorrect version of hibernate. V2.3.1 has version 3.2.7. If you had an error for this then follow these instructions:
                              install Hibernate 3.2.5.ga (the previous version), and set HIBERNATE_JAR_DIR
                              2) install the FW
                              3) install Hibernate 3.2.7.ga and update HIBERNATE_JAR_DIR
                              4) delete 9384543 and 9080333 from installed_fixes.txt
                              5) install 9384543 and 9080333
                              • 13. Re: CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150
                                761421
                                I didn't have installed ksh
                                yum installed ksh.x86_64
                                resolved my problem,

                                splcobjrun.sh is a ksh script, If ksh is not installed, there is no error
                                but the socket doesn't start, and then, the application can't connect to the remote jvm.

                                All is ok now
                                • 14. Re: CC&B Install issue:ClassNotFound RPCRouterServlet & libcobjvm_sun_150
                                  chesplay
                                  Hi, i am installing CCB2.3.1 on windows 64 bit machine , but facing the same problem SPLWEB.war fail to deploy in the weblogic admin console and the error what i see on the command prompt is

                                  - 2011-02-23 21:19:24,468 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.ke
                                  rnel.Default (self-tuning)'] ERROR (web.common.FieldMetaDataRepository) Did not
                                  find base field 'EXT_REFERENCE_ID' pointed to by field 'C1_EXT_REFERENCE_ID'
                                  com.splwg.shared.common.LoggedException: Did not find base field 'EXT_REFERENCE_
                                  ID' pointed to by field 'C1_EXT_REFERENCE_ID'
                                  at com.splwg.shared.common.LoggedException.raised(LoggedException.java:6
                                  5)
                                  at com.splwg.base.web.common.FieldMetaDataRepository$FieldRetriever.crea
                                  teFieldMD(FieldMetaDataRepository.java:145)
                                  at com.splwg.base.web.common.FieldMetaDataRepository$FieldRetriever.popu
                                  lateFieldMetaData(FieldMetaDataRepository.java:135)
                                  at com.splwg.base.web.common.FieldMetaDataRepository$FieldRetriever.exec
                                  ute(FieldMetaDataRepository.java:127)
                                  at com.splwg.base.web.common.FieldMetaDataRepository$FieldRetriever.exec
                                  ute(FieldMetaDataRepository.java:99)
                                  at com.splwg.base.support.context.SessionExecutable.doInReadOnlySession(
                                  SessionExecutable.java:98)
                                  at com.splwg.base.support.context.SessionExecutable.doAsReadOnlyInCurren
                                  <Feb 23, 2011 9:19:24 PM PST> <Error> <Deployer> <BEA-149231> <Unable to set the
                                  activation state to true for the application 'SPLWeb'.
                                  weblogic.application.ModuleException:
                                  at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.jav
                                  a:975)
                                  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
                                  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
                                  teDriver.java:204)
                                  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
                                  river.java:26)
                                  at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
                                  eDriver.java:60)
                                  Truncated. see log file for complete stacktrace
                                  com.splwg.shared.common.LoggedException:
                                  The following stacked messages were reported as the LoggedException was rethrown
                                  :
                                  com.splwg.base.web.startup.PreloadLoginInfo.preloadFieldMetaData(PreloadLoginInf
                                  o.java:150): Unable to preload navigation keys and web pages
                                  com.splwg.base.support.context.SessionExecutable.doAsReadOnlyInCurrentSessionIfA
                                  vailable(SessionExecutable.java:54): Error caching field metainfo
                                  com.splwg.base.web.common.FieldMetaDataRepository$FieldRetriever.execute(FieldMe
                                  taDataRepository.java:99): Caught exception from SessionExecutable.execute()

                                  The root LoggedException was: Did not find base field 'EXT_REFERENCE_ID' pointed
                                  to by field 'C1_EXT_REFERENCE_ID'
                                  at com.splwg.shared.common.LoggedException.raised(LoggedException.java:6
                                  5)
                                  at com.splwg.base.web.common.FieldMetaDataRepository$FieldRetriever.crea
                                  teFieldMD(FieldMetaDataRepository.java:145)
                                  at com.splwg.base.web.common.FieldMetaDataRepository$FieldRetriever.popu
                                  lateFieldMetaData(FieldMetaDataRepository.java:135)
                                  at com.splwg.base.web.common.FieldMetaDataRepository$FieldRetriever.exec
                                  ute(FieldMetaDataRepository.java:127)
                                  at com.splwg.base.web.common.FieldMetaDataRepository$FieldRetriever.exec
                                  ute(FieldMetaDataRepository.java:99)
                                  Truncated. see log file for complete stacktrace
                                  <Feb 23, 2011 9:19:27 PM PST> <Notice> <WebLogicServer> <BEA-000331> <Started We
                                  bLogic Admin Server "myserver" for domain "splapp" running in Development Mode>

                                  <Feb 23, 2011 9:19:27 PM PST> <Warning> <Server> <BEA-002611> <Hostname "127.0.0
                                  .1", maps to multiple IP addresses: 10.244.102.170, 2001:0:4137:9e76:286b:ac4:f5
                                  0b:9955, fe80:0:0:0:51c9:e5ab:1775:3ef9%11, fe80:0:0:0:0:5efe:af4:66aa%12, fe80:
                                  0:0:0:286b:ac4:f50b:9955%13, 127.0.0.1>
                                  <Feb 23, 2011 9:19:27 PM PST> <Warning> <Server> <BEA-002611> <Hostname "CCBWLS2
                                  31SRV.MOALAJAH.AE", maps to multiple IP addresses: 10.244.102.170, 2001:0:4137:9
                                  e76:286b:ac4:f50b:9955, fe80:0:0:0:51c9:e5ab:1775:3ef9%11, fe80:0:0:0:0:5efe:af4
                                  :66aa%12, fe80:0:0:0:286b:ac4:f50b:9955%13, 127.0.0.1>
                                  <Feb 23, 2011 9:19:27 PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
                                  te changed to RUNNING>
                                  <Feb 23, 2011 9:19:27 PM PST> <Notice> <WebLogicServer> <BEA-000360> <Server sta
                                  rted in RUNNING mode>
                                  <Feb 23, 2011 9:19:35 PM PST> <Warning> <Server> <BEA-002611> <Hostname "fe80:0:
                                  0:0:0:5efe:af4:66aa%12", maps to multiple IP addresses: 10.244.102.170, 2001:0:4
                                  137:9e76:286b:ac4:f50b:9955, fe80:0:0:0:51c9:e5ab:1775:3ef9%11, fe80:0:0:0:0:5ef
                                  e:af4:66aa%12, fe80:0:0:0:286b:ac4:f50b:9955%13, 127.0.0.1>

                                  Server has succesfully started but not sure about the error "The root LoggedException was: Did not find base field 'EXT_REFERENCE_ID' pointed
                                  to by field 'C1_EXT_REFERENCE_ID'." is that i am missing out some database patch? Any suggestions appreciated.

                                  Edited by: chesplay on Feb 26, 2011 9:53 PM
                                  1 2 Previous Next