ClassNotFoundException in Cluster

Hello,
          I have 8 instances of weblogic6.1sp1 running on aix. running
          physically on 2 seperate machines(4 instances on 1 physically
          machine). I have a .ear that is deployed to the master. in the .ear is
          a .jar with some third party libaries.
          i can find the third party libary on the instances where the .ear is
          physically. but i can.t find the third party libary on the other
          physically cluster. there i get a classnotfoundexception.
          do i have to forgot something ? or do i have do deploy the .ear on the
          other machine ?
          where can i found some docs about this topic.
          thank you.
          robert
          

Yes Instance A and Instance B will also be installed in the second node.
Just go to configuration manager in the other node, you will see those instances in stopped state.
Assume I install Instance A in a 2 node cluster with node A and Node B, it installs instanceA binaries in both nodes, What it does when failover is shutdown Instance A in Node A, move the disks to node B and start the instance A in the node B. Its basically
the same instance.
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com
Oh I get you.. 
The missing bit on the puzzle is that the binaries are installed on both nodes at the same time.
Thanks,
Ben
Mr Shaw

Similar Messages

  • ClassNotFoundException on cluster when calling Stateless EJB

    Using Weblogic 10.3.2 on Linux
    and Oracle HTTP Server as the loadbalancer
    I have an applicaiton that works if deployed to a standalone server.
    When testing the application on a cluster with two nodes I get a ClassNotFoundException.
    This is occuring on a call to a class that is called from a class that is called from an EJB.
    So the class not found "classC" is called from "classB" with is used by "EJB-A". All are part of the same ejb jar.
    The class not found (classC) is in the same package as "classB" in the jar.
    The error is with org.apache.commons.digester.ObjectCreateRule not finding the class.
    Any thoughts or ideas what could be going wrong? Is this a cluster setup issue?
    Here is the error:
    ####<Aug 3, 2010 3:34:54 PM CDT> <Error> <org.apache.commons.digester.Digester> <localhost.localdomain> <Node2Server> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-0000480BF0F8B173A146> <> <1280867694379> <BEA-000000> <Begin event threw exception
    java.lang.ClassNotFoundException: com.myco.framework.server.MyConfig
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:205)
         at org.apache.commons.digester.Rule.begin(Rule.java:175)
         at org.apache.commons.digester.Digester.startElement(Digester.java:1453)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1745)
         at com.myco.framework.common.util.XmlUtil.parse(Unknown Source)
    at com.myco.framework.server.ServerContext.initServerActionMap(Unknown Source)
         at com.myco.framework.server.ServerContext.init(Unknown Source)
         at com.myco.framework.server.ServerContext.<init>(Unknown Source)
         at com.myco.framework.server.ServerContext.getInstance(Unknown Source)
         at com.myco.framework.server.ejb.MyStatelessEJBBean.initServerActionMap(Unknown Source)
         at com.myco.framework.server.ejb.MyStatelessEJBBean.doServerAction(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:55)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy160.doServerAction(Unknown Source)
         at com.myco.framework.server.ejb.MyStatelessEJBBean_vqyexu_MyStatelessEJBBeanImpl.doServerAction(MyStatelessEJBBean_vqyexu_MyStatelessEJBBeanImpl.java:142)
    Edited by: ora_R_n_R on Aug 4, 2010 2:15 PM
    Edited by: ora_R_n_R on Aug 4, 2010 2:17 PM
    Edited by: ora_R_n_R on Aug 4, 2010 2:31 PM

    How are you deploying your application as an EAR, which has been targeted to the cluster?

  • Cluster jndi error

              Hi:
              we have deploye samples cluster ejb teller and account to a cluster environment..one
              admin server and one manager server in the same machine(use multi-ip)..another
              manager server on another machine..two manager server join a cluster,we use weblogic6.0sp2,when
              we want see manager server's jndi tree .got the error messages..and I read from
              bea's online document..in a cluster environment ..any join cluster's manager server
              have the same jndi tree..but if admin server not in the cluster ,it's jndi tree
              will the same with the other manager servers?and how to deploye ejb to the cluster
              correclly?should i set call-by-reference to false in weblogic-ejb.xml?thanks your
              comment...
              javax.naming.CommunicationException. Root exception is java.rmi.UnmarshalException:
              failed to unmarshal interfa
              ce javax.naming.NamingEnumeration; nested exception is:
              java.lang.ClassNotFoundException: examples.cluster.ejb.teller.TellerBeanEOImpl_WLStub:
              This error could
              indicate that a component was deployed on a cluster member but not other members
              of that cluster. Make sure th
              at any component deployed on a server that is part of a cluster is also deployed
              on all other members of that cl
              uster
              java.lang.ClassNotFoundException: examples.cluster.ejb.teller.TellerBeanEOImpl_WLStub:
              This error could indicat
              e that a component was deployed on a cluster member but not other members of that
              cluster. Make sure that any c
              omponent deployed on a server that is part of a cluster is also deployed on all
              other members of that cluster
              at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:143)
              at weblogic.rjvm.MsgAbbrevInputStream.resolveClassOverride(MsgAbbrevInputStream.java:84)
              at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectI
              nputStream.java:276)
              at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:918)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
              at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
              at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
              at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
              at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
              at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1142)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:374)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
              at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:106)
              at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:122)
              at weblogic.jndi.internal.BindingEnumeration.readExternal(BindingEnumeration.java:55)
              at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:103)
              at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:114)
              at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:47)
              at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.java:136)
              at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:251)
              at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:225)
              at weblogic.jndi.internal.ServerNamingNode_WLStub.listBindings(ServerNamingNode_WLStub.java:374)
              at weblogic.jndi.internal.WLContextImpl.listBindings(WLContextImpl.java:293)
              at javax.naming.InitialContext.listBindings(InitialContext.java:399)
              at weblogic.management.console.pages._jndi._nav.printContext(_nav.java:74)
              at weblogic.management.console.pages._jndi._nav.printContext(_nav.java:80)
              at weblogic.management.console.pages._jndi._nav.printContext(_nav.java:80)
              at weblogic.management.console.pages._jndi._nav.printContext(_nav.java:80)
              

              Just the same happens to me. I think the problem is that the management server
              can not download the ejb stub from the other server. If you deploy the ejb also
              in the management server you solve the problem, but that's not the way it should
              work... I think this is a bug of weblogic.
              I've also found another nice one like that. I have 2 machines in cluster, and
              a third one out of the cluster, all of them running weblogic. A class running
              in this last weblogic makes a call to a bean that is deployed in the cluster (wants
              to act just as a client, like if you were testing your ejb from your machine against
              the servers). Then the same problem occurs, the client can not download the class
              as any RMI client does, showing you the same error. Actually any client not running
              within weblogic can do that, but when the weblogic classloader is in the middle
              that does not work.
              "weber" <[email protected]> wrote:
              >
              >Hi:
              > we have deploye samples cluster ejb teller and account to a cluster
              >environment..one
              >admin server and one manager server in the same machine(use multi-ip)..another
              >manager server on another machine..two manager server join a cluster,we
              >use weblogic6.0sp2,when
              >we want see manager server's jndi tree .got the error messages..and I
              >read from
              >bea's online document..in a cluster environment ..any join cluster's
              >manager server
              >have the same jndi tree..but if admin server not in the cluster ,it's
              >jndi tree
              >will the same with the other manager servers?and how to deploye ejb to
              >the cluster
              >correclly?should i set call-by-reference to false in weblogic-ejb.xml?thanks
              >your
              >comment...
              >
              >
              >
              >
              >
              >
              >javax.naming.CommunicationException. Root exception is java.rmi.UnmarshalException:
              >failed to unmarshal interfa
              >ce javax.naming.NamingEnumeration; nested exception is:
              >java.lang.ClassNotFoundException: examples.cluster.ejb.teller.TellerBeanEOImpl_WLStub:
              >This error could
              >indicate that a component was deployed on a cluster member but not other
              >members
              >of that cluster. Make sure th
              >at any component deployed on a server that is part of a cluster is also
              >deployed
              >on all other members of that cl
              >uster
              >java.lang.ClassNotFoundException: examples.cluster.ejb.teller.TellerBeanEOImpl_WLStub:
              >This error could indicat
              >e that a component was deployed on a cluster member but not other members
              >of that
              >cluster. Make sure that any c
              >omponent deployed on a server that is part of a cluster is also deployed
              >on all
              >other members of that cluster
              >at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:143)
              >at weblogic.rjvm.MsgAbbrevInputStream.resolveClassOverride(MsgAbbrevInputStream.java:84)
              >at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectI
              >nputStream.java:276)
              >at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:918)
              >at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
              >at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
              >at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
              >at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
              >at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
              >at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
              >at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
              >at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
              >at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1142)
              >at java.io.ObjectInputStream.readObject(ObjectInputStream.java:374)
              >at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
              >at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:106)
              >at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:122)
              >at weblogic.jndi.internal.BindingEnumeration.readExternal(BindingEnumeration.java:55)
              >at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:103)
              >at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:114)
              >at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:47)
              >at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.java:136)
              >at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:251)
              >at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:225)
              >at weblogic.jndi.internal.ServerNamingNode_WLStub.listBindings(ServerNamingNode_WLStub.java:374)
              >at weblogic.jndi.internal.WLContextImpl.listBindings(WLContextImpl.java:293)
              >at javax.naming.InitialContext.listBindings(InitialContext.java:399)
              >at weblogic.management.console.pages._jndi._nav.printContext(_nav.java:74)
              >at weblogic.management.console.pages._jndi._nav.printContext(_nav.java:80)
              >at weblogic.management.console.pages._jndi._nav.printContext(_nav.java:80)
              >at weblogic.management.console.pages._jndi._nav.printContext(_nav.java:80)
              >
              

  • Cluster: lookup throw ClassNotFoundException when MyObject was bind

    I have problem with lookup MyObject (whitch implements serializable) from InitialContext on cluster machine 1, when I bind it on machine 2.
    Lookup throw:
    binding java.lang.ClassNotFoundException: MyObject
    java.lang.Class com.evermind.naming.ContextClassLoader.findClass(java.lang.String)
    ContextClassLoader.java:456
    second time lookup return object not found. On Machine where i bind object lookup work good.
    With standard objects (String, HashMap,...) this bind an lookup work on both machines perfect.
    Aplication is deployed as distributable, and i configured RMI replication.
    Can you help me?
    AppServer: OC4J 9.0.3
    JDK: 1.3.1

    I doubt you'll get much response on an Oracle specific question concerning naming in a clustered configuration.
    This forum is concerned with Sun's J2EE 1.4 SDK and related technologies.
    Perhaps you could post this question in an Oracle specific resource:
    http://otn.oracle.com/tech/java/oc4j/index.html

  • Starting One of managed server in cluster SOA Suite(11.1.1.4.0) fails

    Oracle Soa Suite (11.1.1.4.0)
    Weblogic (10.3.4).
    Operating System : Red Hat Linux 5.5
    I have installed and configured Oracle Soa Suite (11.1.1.4.0) with 1 Admin Server(host1) and 2 Managed Severs (host1,host2). Deployed wsm-pm (cluster), wsm*.*.seedpolicies* (cluster).
    I was able to start the Admin Server , Started the Node Managers in both (host1) & (host2). I made sure to run the pack & unpack utility from $ORACLE_HOME/oracle_common/common/bin folder while i moved from one host to another.
    Also i ran $ORACLE_HOME/oracle_common/common/bin/./setNMProps.sh on both host1 & host2. Made sureto check on both the nodemanager running on host1 & host2 has "StartScriptEnabled=true".
    Now when i start Managed Server 1 in host1(Admin server run on same host) -- It started just fine.
    When i Started Managed Server 2 in host2 , it started with ADMIN State and i tailed the logs and found the exception below.
    I also made sure the os level permissions are not an issue here. I can see those artifacts in the folder structure mentioned and available. So not sure what am I missing here.
    Any help solving this exception would be appreciated.
    <Feb 18, 2011 3:09:50 PM PST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JRF Startup Class", java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup
    java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Truncated. see log file for complete stacktrace
    >
    <Feb 18, 2011 3:09:50 PM PST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JPS Startup Class", java.lang.ClassNotFoundException: oracle.security.jps.wls.JpsWlsStartupClass
    java.lang.ClassNotFoundException: oracle.security.jps.wls.JpsWlsStartupClass
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Truncated. see log file for complete stacktrace
    >
    <Feb 18, 2011 3:09:50 PM PST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "ODL-Startup", java.lang.ClassNotFoundException: oracle.core.ojdl.weblogic.ODLConfiguration
    java.lang.ClassNotFoundException: oracle.core.ojdl.weblogic.ODLConfiguration
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Truncated. see log file for complete stacktrace
    >
    <Feb 18, 2011 3:09:50 PM PST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "AWT Application Context Startup Class", java.lang.ClassNotFoundException: oracle.jrf.AppContextStartup
    java.lang.ClassNotFoundException: oracle.jrf.AppContextStartup
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Truncated. see log file for complete stacktrace
    >
    <Feb 18, 2011 3:09:50 PM PST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JMX Framework Startup Class", java.lang.ClassNotFoundException: oracle.as.jmx.framework.wls.spi.StartupListener
    java.lang.ClassNotFoundException: oracle.as.jmx.framework.wls.spi.StartupListener
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Truncated. see log file for complete stacktrace
    >
    <Feb 18, 2011 3:09:50 PM PST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "Web Services Startup Class", java.lang.ClassNotFoundException: oracle.j2ee.ws.server.WebServiceServerStartup
    java.lang.ClassNotFoundException: oracle.j2ee.ws.server.WebServiceServerStartup
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Truncated. see log file for complete stacktrace
    >
    <Feb 18, 2011 3:09:50 PM PST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JOC-Startup", java.lang.ClassNotFoundException: oracle.ias.cache.Startup
    java.lang.ClassNotFoundException: oracle.ias.cache.Startup
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Truncated. see log file for complete stacktrace
    >
    <Feb 18, 2011 3:09:50 PM PST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "DMS-Startup", java.lang.ClassNotFoundException: oracle.dms.wls.DMSStartup
    java.lang.ClassNotFoundException: oracle.dms.wls.DMSStartup
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Edited by: karpra on Feb 18, 2011 3:22 PM

    Ravi,
    Thanks for your reply.
    Yes I did pretty standard stuff on pack and unpack. I did the same in SOA Suite 11gR1 PS1 and it works fine.
    I tried to do the same with PS2 which had issues clustering the osb. But soa suite ran fine using nodemanager and startManagedServer.
    I am trying the same procedure and it failed in 11.1.1.4.0 version.
    When i checked the classpath between the managed server on hosta and hostb it looks different.
    hosta
    [email protected]_11.1.1.4.0_oracle_common_ORACLE_HOME/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:@oracle.integration.soainfra_11.1.1.4.0_Oracle_SOA1_ORACLE_HOME/soa/modules/user-patch.jar:@oracle.integration.soainfra_11.1.1.4.0_Oracle_SOA1_ORACLE_HOME/soa/modules/soa-startup.jar::@oracle.osb.top_11.1.1.4.0_Oracle_OSB1_ORACLE_HOME/lib/osb-server-modules-ref.jar:/data/u01/app/oracle/Middleware/patch_wls1034/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/data/u01/app/oracle/jrockit-jdk1.6.0_20-R28.1.0-4.0.1/lib/tools.jar:/data/u01/app/oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/data/u01/app/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/data/u01/app/oracle/Middleware/modules/features/weblogic.server.modules_10.3.4.0.jar:/data/u01/app/oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/data/u01/app/oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/data/u01/app/oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:@oracle.as.jrf_11.1.1.4.0_oracle_common_ORACLE_HOME/soa/modules/commons-cli-1.1.jar:@oracle.as.jrf_11.1.1.4.0_oracle_common_ORACLE_HOME/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:@oracle.as.soa.top_11.1.1.4.0_Oracle_SOA1_ORACLE_HOME/soa/modules/oracle.soa.common.adapters_11.1.1/oracle.soa.common.adapters.jar:@oracle.sdp.messaging_11.1.1.4.0_Oracle_SOA1_ORACLE_HOME/communications/modules/usermessaging-config_11.1.1.jar:@oracle.as.jrf_11.1.1.4.0_oracle_common_ORACLE_HOME/modules/oracle.xdk_11.1.0/xsu12.jar:/data/u01/app/oracle/Middleware/modules/features/weblogic.server.modules.xquery_10.3.1.0.jar:@oracle.integration.soainfra_11.1.1.4.0_Oracle_SOA1_ORACLE_HOME/soa/modules/db2jcc4.jar:/data/u01/app/oracle/Middleware/user_projects/domains/ofmPrdDomain/config/soa-infra:@oracle.integration.soainfra_11.1.1.4.0_Oracle_SOA1_ORACLE_HOME/soa/modules/fabric-url-handler_11.1.1.jar:@oracle.integration.soainfra_11.1.1.4.0_Oracle_SOA1_ORACLE_HOME/soa/modules/quartz-all-1.6.5.jar:@oracle.integration.soainfra_11.1.1.4.0_Oracle_SOA1_ORACLE_HOME/soa/modules/oracle.soa.fabric_11.1.1/oracle.soa.fabric.jar:@oracle.integration.soainfra_11.1.1.4.0_Oracle_SOA1_ORACLE_HOME/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime-ext-wls.jar:@oracle.integration.soainfra_11.1.1.4.0_Oracle_SOA1_ORACLE_HOME/soa/modules/oracle.soa.adapter_11.1.1/oracle.soa.adapter.jar:@oracle.integration.soainfra_11.1.1.4.0_Oracle_SOA1_ORACLE_HOME/soa/modules/oracle.soa.b2b_11.1.1/oracle.soa.b2b.jar:@oracle.as.jrf_11.1.1.4.0_oracle_common_ORACLE_HOME/modules/oracle.jrf_11.1.1/jrf.jar:@oracle.osb.top_11.1.1.4.0_Oracle_OSB1_ORACLE_HOME/lib/version.jar:@oracle.osb.top_11.1.1.4.0_Oracle_OSB1_ORACLE_HOME/lib/alsb.jar:@oracle.osb.top_11.1.1.4.0_Oracle_OSB1_ORACLE_HOME/3rdparty/lib/j2ssh-ant.jar:@oracle.osb.top_11.1.1.4.0_Oracle_OSB1_ORACLE_HOME/3rdparty/lib/j2ssh-common.jar:@oracle.osb.top_11.1.1.4.0_Oracle_OSB1_ORACLE_HOME/3rdparty/lib/j2ssh-core.jar:@oracle.osb.top_11.1.1.4.0_Oracle_OSB1_ORACLE_HOME/3rdparty/lib/j2ssh-dameon.jar:@oracle.osb.top_11.1.1.4.0_Oracle_OSB1_ORACLE_HOME/3rdparty/classes:@oracle.osb.top_11.1.1.4.0_Oracle_OSB1_ORACLE_HOME/lib/external/log4j_1.2.8.jar:/data/u01/app/oracle/Middleware/user_projects/domains/ofmPrdDomain/config/osb:/data/u01/app/oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/data/u01/app/oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar
    hostb
    CLASSPATH=/data/u01/app/oracle/Middleware/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/data/u01/app/oracle/Middleware/Oracle_SOA1/soa/modules/user-patch.jar:/data/u01/app/oracle/Middleware/Oracle_SOA1/soa/modules/soa-startup.jar::/data/u01/app/oracle/Middleware/Oracle_OSB1/lib/osb-server-modules-ref.jar:/data/u01/app/oracle/Middleware/patch_wls1034/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/data/u01/app/oracle/jrockit-jdk1.6.0_20-R28.1.0-4.0.1/lib/tools.jar:/data/u01/app/oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/data/u01/app/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/data/u01/app/oracle/Middleware/modules/features/weblogic.server.modules_10.3.4.0.jar:/data/u01/app/oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/data/u01/app/oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/data/u01/app/oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/data/u01/app/oracle/Middleware/oracle_common/soa/modules/commons-cli-1.1.jar:/data/u01/app/oracle/Middleware/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/data/u01/app/oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.common.adapters_11.1.1/oracle.soa.common.adapters.jar:/data/u01/app/oracle/Middleware/Oracle_SOA1/communications/modules/usermessaging-config_11.1.1.jar:/data/u01/app/oracle/Middleware/oracle_common/modules/oracle.xdk_11.1.0/xsu12.jar:/data/u01/app/oracle/Middleware/modules/features/weblogic.server.modules.xquery_10.3.1.0.jar:/data/u01/app/oracle/Middleware/Oracle_SOA1/soa/modules/db2jcc4.jar:/data/u01/app/oracle/Middleware/user_projects/domains/ofmPrdDomain/config/soa-infra:/data/u01/app/oracle/Middleware/Oracle_SOA1/soa/modules/fabric-url-handler_11.1.1.jar:/data/u01/app/oracle/Middleware/Oracle_SOA1/soa/modules/quartz-all-1.6.5.jar:/data/u01/app/oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.fabric_11.1.1/oracle.soa.fabric.jar:/data/u01/app/oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime-ext-wls.jar:/data/u01/app/oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.adapter_11.1.1/oracle.soa.adapter.jar:/data/u01/app/oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.b2b_11.1.1/oracle.soa.b2b.jar:/data/u01/app/oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/data/u01/app/oracle/Middleware/Oracle_OSB1/lib/version.jar:/data/u01/app/oracle/Middleware/Oracle_OSB1/lib/alsb.jar:/data/u01/app/oracle/Middleware/Oracle_OSB1/3rdparty/lib/j2ssh-ant.jar:/data/u01/app/oracle/Middleware/Oracle_OSB1/3rdparty/lib/j2ssh-common.jar:/data/u01/app/oracle/Middleware/Oracle_OSB1/3rdparty/lib/j2ssh-core.jar:/data/u01/app/oracle/Middleware/Oracle_OSB1/3rdparty/lib/j2ssh-dameon.jar:/data/u01/app/oracle/Middleware/Oracle_OSB1/3rdparty/classes:/data/u01/app/oracle/Middleware/Oracle_OSB1/lib/external/log4j_1.2.8.jar:/data/u01/app/oracle/Middleware/user_projects/domains/ofmPrdDomain/config/osb:/data/u01/app/oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/data/u01/app/oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar
    I noticed the jar files in both classpath are same , but its denoted different in hosta which runs fine like "@oracle....*.jar" but in hostb its denoted as /data/..../*.jar.
    Not sure if something is missing or should be run between them to work fine.

  • WebLogic 10.3.5 ClassNotFoundException (jar file is available in classpath)

    Hi, I'm facing a problem on WLS10.3.5 + Spring 3.1 + Hibernate 3.6.7 connecting to Apache Derby 10.8.1.2.
    The Spring ContextLoaderListener configured in the web.xml is failing since the the entityManagerFactory creation failed - since the derby datasource defined in WLS could not be created. Root cause - ClassNotFoundException by the weblogic.utils.classloaders.GenericClassLoader. I've tried adding derbyclient.jar in all locations - WLS server lib, domain lib, WEB-INF/lib, VM_HOME/jre/lib/ext, and also tried setting PRE_CLASSPATH. Also tried keeping a duplicate copy of the jar in all the locations at the same time. No luck.
    Caused By: java.lang.ClassNotFoundException: org.apache.derby.client.am.ConnectionCallbackInterface
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    Truncated. see log file for complete stacktrace
    The datasource is created successfully from the console so there's no problem with the jar file. I could also load the above class using a test JSP from another bare WAR deployed into the same domain.
    I'm out of ideas and need some options to explore. btw, I specified in the weblogic.xml that the antlr.* classes should be taken from the application. Also tried this option for org.apache.derby.* classes.
    This looks like a buggy class loader problem. Any ideas or solution please?

    "The datasource is created successfully from the console so there's no problem with the jar file."
    Did you also test the data source when you created it?
    - when yes then WebLogic can indeed find the derbyclient.jar as the driver org.apache.derby.jdbc.ClientDriver is part of it.
    "I specified in the weblogic.xml that the antlr.* classes should be taken from the application. Also tried this option for org.apache.derby.* classes."
    Have you only defined a
    <prefer-application-packages>
        <package-name>antlr.*</package-name>
        <package-name>org.apache.derby.*</package-name>
    </prefer-application-packages>in weblogic.xml or did you also turn on prefer-web-inf-classes?
    It is smart to start from scratch and delete all the jar files in all the directories. To make the derbyclient.jar part of the WebLogic classpath you can do the following:
    - edit setDomainEnv: When you open setDomainEnv there is an entry like "SET THE CLASSPATH". Just before - if [ "${JAVA_VENDOR}" != "BEA" ] ; then
    you can put something like: CLASSPATH=${CLASSPATH}${CLASSPATHSEP}location/derbyclient.jar
    If the class must be available on every server in a cluster, you can edit the commEnv file (located in the ${WL_HOME}/common/bin directory)
    Search for the entry "set up WebLogic Server's class path". And below the WEBLOGIC_CLASSPATH you can add something like:
    WEBLOGIC_CLASSPATH=${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}location/derbyclient.jar
    Hope this helps you a little

  • ClassNotFoundException in EJB's and Threads (Classloader issue)

    A very interesting bug has cropped up in WebLogic 6.1. When a J2EE
    application packaged appropriately, a client application running in a
    user-created Thread will always throw a ClassNotFoundException when
    attempting to get back a user-created object from an EJB living on
    another cluster. This error does not happen when the call is being made
    from outside a Thread.
    Sounds strange, I know, so I'll try to give everyone as much detail as
    possible so they can avoid this bug, and so that the folks at BEA can
    fix it.
    * A java class running inside a clustered WL6.1 server is attempting to
    reference an EJB on another clustered WL 6.1 server. Accessing the bean
    is not a problem, the client class is able to obtain a remote reference
    to the bean and make method calls on it. Calling a method causes the
    following stack trace:
    2002-01-11 10:36:57,331 [Thread-4] ERROR
    wpni.app.mywp.display.DisplayJobs$JobsMonitor -
    wpni.app.mywp.display.DisplayJobs$JobsMonitor.run: Error checking Jobs
    status.
    java.rmi.UnmarshalException: failed to unmarshal class
    wpni.app.jobs.JobsData; nested exception is:
    java.lang.ClassNotFoundException: wpni.app.jobs.JobsData: This
    error could indicate that a component was deployed on a cluster member
    but not other members of that cluster. Make sure that any component
    deployed on a server that is part of a cluster is also deployed on all
    other members of that cluster
    java.lang.ClassNotFoundException: wpni.app.jobs.JobsData: This error
    could indicate that a component was deployed on a cluster member but
    not other members of that cluster. Make sure that any component deployed
    on a server that is part of a cluster is also deployed on all other
    members of that cluster
    at
    weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:146)
    at
    weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInputStream.java:211)
    at
    weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readClassDescriptor(ChunkedObjectInputStream.java:290)
    at
    java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:906)
    at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
    at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
    at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:107)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:115)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at
    weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.java:230)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:254)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:220)
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy140.getJobsData(Unknown Source)
    at
    wpni.app.mywp.display.DisplayJobs$JobsMonitor.run(DisplayJobs.java:48)
    at java.lang.Thread.run(Thread.java:484)
    * The class that is not found (JobsData) is definitely in the EAR file
    on both the client cluster and the server cluster, and in the
    appropriate location.
    * When we attempted to run the code outside of a Thread, everything
    worked perfectly, so it was definitely the Thread that was causing the
    problem.
    * Deploying the EJB on the client cluster did not do anything to solve
    the problem.
    * Adding the JobsData to the System CLASSPATH at the startup of the
    WebLogic server DID solve the problem. But of course that defeats the
    purpose of packaging everything in the EAR file.
    So, the conclusion seems to be that when DisplayJobs$JobsMonitor kicked
    off the Thread, the Thread should have been created in either the WAR's
    classloader or the JAR's classloader (wouldn't matter, since the
    JobsData class is in the JAR's classloader, which is a parent of the
    WAR's classloader). But instead, the Thread is being created in the
    System classloader, which can't find the JobsData class!
    We believe that any Thread created by a class living within an EAR's
    classloader should remain within that same classloader, and not migrate
    to any other classloader, in order to avoid situations like this. We're
    opening a case with BEA to attempt to get this resolved. In the
    meantime, we recommend to developers that if they have to make
    cross-cluster RMI calls from inside user-created Threads, that they only
    attempt to receive primitive types or standard JDK objects. Otherwise,
    you'll have to add the classes to the System CLASSPATH at startup of the
    WebLogic instance.
    Thanks,
    Erin
    * "[White House spokeperson Ari] Fleischer
    * warned Democrats this morning against
    * investigations into the Bush administration's
    * dealings with Enron. 'The American people
    * are tired of partisan witch hunts and endless
    * investigations,' he said." [Ed.: Uh... ]
    * www.washingtonpost.com/wp-dyn/articles/A25159-2002Jan10.html
    * Erin Reid Myers, Chief Architect
    * WashingtonPost.Newsweek Interactive
    * [email protected]
    * Work: (703) 469-3154
    * Cell: (703) 725-3050
    [att1.html]

    Things can go seriously wrong if your application uses user threads (violating
    EJB spec programming restrictions and BEA recommendations).
    I'm curious, does it work if you enable network classloading on the server
    which invokes remote EJB (in config.xml -
    <Server NetworkClassLoadingEnabled="true" ...
    </Server>
    Erin Reid Myers <[email protected]> wrote:
    A very interesting bug has cropped up in WebLogic 6.1. When a J2EE
    application packaged appropriately, a client application running in a
    user-created Thread will always throw a ClassNotFoundException when
    attempting to get back a user-created object from an EJB living on
    another cluster. This error does not happen when the call is being made
    from outside a Thread.
    Sounds strange, I know, so I'll try to give everyone as much detail as
    possible so they can avoid this bug, and so that the folks at BEA can
    fix it.
    * A java class running inside a clustered WL6.1 server is attempting to
    reference an EJB on another clustered WL 6.1 server. Accessing the bean
    is not a problem, the client class is able to obtain a remote reference
    to the bean and make method calls on it. Calling a method causes the
    following stack trace:
    2002-01-11 10:36:57,331 [Thread-4] ERROR
    wpni.app.mywp.display.DisplayJobs$JobsMonitor -
    wpni.app.mywp.display.DisplayJobs$JobsMonitor.run: Error checking Jobs
    status.
    java.rmi.UnmarshalException: failed to unmarshal class
    wpni.app.jobs.JobsData; nested exception is:
    java.lang.ClassNotFoundException: wpni.app.jobs.JobsData: This
    error could indicate that a component was deployed on a cluster member
    but not other members of that cluster. Make sure that any component
    deployed on a server that is part of a cluster is also deployed on all
    other members of that cluster
    java.lang.ClassNotFoundException: wpni.app.jobs.JobsData: This error
    could indicate that a component was deployed on a cluster member but
    not other members of that cluster. Make sure that any component deployed
    on a server that is part of a cluster is also deployed on all other
    members of that cluster
    at
    weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:146)
    at
    weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInputStream.java:211)
    at
    weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readClassDescriptor(ChunkedObjectInputStream.java:290)
    at
    java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:906)
    at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
    at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
    at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:107)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:115)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at
    weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.java:230)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:254)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:220)
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy140.getJobsData(Unknown Source)
    at
    wpni.app.mywp.display.DisplayJobs$JobsMonitor.run(DisplayJobs.java:48)
    at java.lang.Thread.run(Thread.java:484)
    * The class that is not found (JobsData) is definitely in the EAR file
    on both the client cluster and the server cluster, and in the
    appropriate location.
    * When we attempted to run the code outside of a Thread, everything
    worked perfectly, so it was definitely the Thread that was causing the
    problem.
    * Deploying the EJB on the client cluster did not do anything to solve
    the problem.
    * Adding the JobsData to the System CLASSPATH at the startup of the
    WebLogic server DID solve the problem. But of course that defeats the
    purpose of packaging everything in the EAR file.
    So, the conclusion seems to be that when DisplayJobs$JobsMonitor kicked
    off the Thread, the Thread should have been created in either the WAR's
    classloader or the JAR's classloader (wouldn't matter, since the
    JobsData class is in the JAR's classloader, which is a parent of the
    WAR's classloader). But instead, the Thread is being created in the
    System classloader, which can't find the JobsData class!
    We believe that any Thread created by a class living within an EAR's
    classloader should remain within that same classloader, and not migrate
    to any other classloader, in order to avoid situations like this. We're
    opening a case with BEA to attempt to get this resolved. In the
    meantime, we recommend to developers that if they have to make
    cross-cluster RMI calls from inside user-created Threads, that they only
    attempt to receive primitive types or standard JDK objects. Otherwise,
    you'll have to add the classes to the System CLASSPATH at startup of the
    WebLogic instance.
    Thanks,
    Erin
    * "[White House spokeperson Ari] Fleischer
    * warned Democrats this morning against
    * investigations into the Bush administration's
    * dealings with Enron. 'The American people
    * are tired of partisan witch hunts and endless
    * investigations,' he said." [Ed.: Uh... ]
    * www.washingtonpost.com/wp-dyn/articles/A25159-2002Jan10.html
    * Erin Reid Myers, Chief Architect
    * WashingtonPost.Newsweek Interactive
    * [email protected]
    * Work: (703) 469-3154
    * Cell: (703) 725-3050
    Dimitri

  • Java.lang.ClassNotFoundException

    Hi All,
    Does any 1 know the cause of this error?.. I'm facing this when i try to use a new Function module. proper reimport of model, restart of server is done several times.
    500   Internal Server Error
      SAP NetWeaver Application Server 7.00/Java AS 7.00 
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.ClassNotFoundException: model2.kmd.dk.Zhjm0001_Document_Id -
    Loader Info -
    ClassLoader name: [kmd.dk/hjmhjm0001_models] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/tcwddispwda sap.com/tcwdcorecomp service:webdynpro service:sld service:tcsecwssecservice library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:com.sap.aii.util.misc library:tccmi Resources: D:\usr\sap\DPX\JC01\j2ee\cluster\server0\apps\kmd.dk\hjmhjm0001_models\webdynpro\public\lib\kmd.dkhjmhjm0001_models.jar D:\usr\sap\DPX\JC01\j2ee\cluster\server0\apps\kmd.dk\hjm~hjm0001_models\src.zip Loading model: {parent,references,local} -
        at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:382)
        at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:409)
        at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:222)
        at model2.kmd.dk.Z_Hjm0033_Get_Merged_Document_Input.<init>(Z_Hjm0033_Get_Merged_Document_Input.java:51)
        at kmd.dk.CC_ViewOrderStatus.wdDoInit(CC_ViewOrderStatus.java:191)
        ... 46 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; InfoPath.1)
    Version null
    DOM version null
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0014.20071210061512.0000 (release=645_VAL_REL, buildtime=2007-12-10:05:23:29[UTC], changelist=470565, host=pwdfm101), build date: Tue May 06 22:13:40 CEST 2008
    J2EE Engine 7.00 patchlevel 35354.450
    Java VM Java HotSpot(TM) 64-Bit Server VM, version:1.4.2_14-b05, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: amd64
    Session & Other
    Session Locale da
    Time of Failure Fri Jul 25 17:42:53 CEST 2008 (Java Time: 1217000573331)
    Web Dynpro Code Generation Infos
    kmd.dk/hjm~hjm0003_viewstatuspo
    SapDictionaryGenerationCore 7.0010.20061002105236.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:52:59[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates 7.0010.20061002105236.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:53:17[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapGenerationFrameworkCore 7.0010.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:40:44[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0010.20061002110128.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:58:51[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:39[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:32[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0010.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:50:36[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0010.20061002110156.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:55:32[UTC], changelist=419397, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0010.20061016112122.0000 (release=645_VAL_REL, buildtime=2006-10-21:16:19:13[UTC], changelist=421181, host=pwdfm101)
    SapWebDynproGenerationCore 7.0010.20061002110128.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:59:00[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0010.20061016112122.0000 (release=645_VAL_REL, buildtime=2006-10-21:16:19:13[UTC], changelist=421181, host=pwdfm101)
    sap.com/tcwddispwda
    No information available null
    kmd.dk/hjm~hjm0001_models
    SapDictionaryGenerationCore 7.0010.20061002105236.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:52:59[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates 7.0010.20061002105236.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:53:17[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapGenerationFrameworkCore 7.0010.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:40:44[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0010.20061002110128.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:58:51[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:39[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:32[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0010.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:50:36[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0010.20061002110156.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:55:32[UTC], changelist=419397, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0010.20061016112122.0000 (release=645_VAL_REL, buildtime=2006-10-21:16:19:13[UTC], changelist=421181, host=pwdfm101)
    SapWebDynproGenerationCore 7.0010.20061002110128.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:59:00[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0010.20061016112122.0000 (release=645_VAL_REL, buildtime=2006-10-21:16:19:13[UTC], changelist=421181, host=pwdfm101)
    sap.com/tcwdcorecomp
    No information available null
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: model2.kmd.dk.Zhjm0001_Document_Id
    Loader Info -
    ClassLoader name: [kmd.dk/hjm~hjm0001_models]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:cross
       interface:ejbserialization
       sap.com/tcwddispwda
       sap.com/tcwdcorecomp
       service:webdynpro
       service:sld
       service:tcsecwssec~service
       library:tcddicddicservices
       library:com.sap.aii.proxy.framework
       library:tcgraphicsigs
       library:com.sap.mw.jco
       library:com.sap.lcr.api.cimclient
       library:sapxmltoolkit
       library:com.sap.aii.util.rb
       library:com.sap.util.monitor.jarm
       library:tcddicddicruntime
       library:com.sap.aii.util.xml
       library:com.sap.aii.util.misc
       library:tc~cmi
    Resources:
       D:\usr\sap\DPX\JC01\j2ee\cluster\server0\apps\kmd.dk\hjmhjm0001_models\webdynpro\public\lib\kmd.dkhjm~hjm0001_models.jar
       D:\usr\sap\DPX\JC01\j2ee\cluster\server0\apps\kmd.dk\hjm~hjm0001_models\src.zip
    Loading model: {parent,references,local}
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:422)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:222)
         at model2.kmd.dk.Z_Hjm0033_Get_Merged_Document_Input.<init>(Z_Hjm0033_Get_Merged_Document_Input.java:51)
         at kmd.dk.CC_ViewOrderStatus.wdDoInit(CC_ViewOrderStatus.java:191)
         at kmd.dk.wdp.InternalCC_ViewOrderStatus.wdDoInit(InternalCC_ViewOrderStatus.java:2080)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingCustomController.doInit(DelegatingCustomController.java:73)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:449)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:387)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:416)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:83)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:125)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:121)
         at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:215)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: java.lang.ClassNotFoundException: model2.kmd.dk.Zhjm0001_Document_Id
    Loader Info -
    ClassLoader name: [kmd.dk/hjm~hjm0001_models]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:cross
       interface:ejbserialization
       sap.com/tcwddispwda
       sap.com/tcwdcorecomp
       service:webdynpro
       service:sld
       service:tcsecwssec~service
       library:tcddicddicservices
       library:com.sap.aii.proxy.framework
       library:tcgraphicsigs
       library:com.sap.mw.jco
       library:com.sap.lcr.api.cimclient
       library:sapxmltoolkit
       library:com.sap.aii.util.rb
       library:com.sap.util.monitor.jarm
       library:tcddicddicruntime
       library:com.sap.aii.util.xml
       library:com.sap.aii.util.misc
       library:tc~cmi
    Resources:
       D:\usr\sap\DPX\JC01\j2ee\cluster\server0\apps\kmd.dk\hjmhjm0001_models\webdynpro\public\lib\kmd.dkhjm~hjm0001_models.jar
       D:\usr\sap\DPX\JC01\j2ee\cluster\server0\apps\kmd.dk\hjm~hjm0001_models\src.zip
    Loading model: {parent,references,local}
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:382)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:409)
         ... 49 more
    Thanks & Regards,
    Kavitha

    Hi James, Yes i do know that the class is not found during run time. The actual place where i need to use this function module is a different DC. But as i face this problem, for testing purpose i tried using it in the same DC where the model exists. I get the exception there too.
    It occurs exactly in the line where i bind the function module in my init method.
    Line 191 in my init method is this,
    //     bind the "get document" FM
    Z_Hjm0033_Get_Merged_Document_Input document = new Z_Hjm0033_Get_Merged_Document_Input();
    wdContext.nodeZ_Hjm0033_Get_Merged_Document_Input().bind(document);
    For your information, the class not found Zhjm0001_Document_Id is a data element to which one of the function module's (Z_Hjm0033_Get_Merged_Document) import parameter is associated with.
    I could not locate the constructor which you are asking for. I searched in gen_ddic and gen_wdp. Can you help?
    Thanks,
    Kavitha
    Edited by: Kavitha Gopinathan on Jul 28, 2008 6:01 PM

  • Common Agent Container Problem on New Solaris Cluster 3.2 (1/09)

    Hi,
    I have just installed Solaris Cluster 3.2 u2. Getting following error when run cluster check or sccheck -v 2:
    cluster check
    cacaocsc: unable to connect: Connection refused by peer
    cluster check: (C704199) unable to reach Common Agent Container
    sccheck -v 2
    sccheck: Requesting explorer data and node report from node1.
    sccheck: Requesting explorer data and node report from node1-cl.
    sccheck: node1: Additional explorer arguments: -w !default,cluster,disks,etc,messages,nbu,netinfo,patch,pkg,sds,lvm,sonoma,sysconfig,var,vxvm,vxfs,vxfsextended -c "/usr/cluster/lib/sccheck/vfstab-global-mount-points" -c "/usr/cluster/lib/sccheck/netapp-nas-quorum-devices"
    sccheck: node1: WARNING: EXP_CONTRACT_ID not set!
    sccheck: node1: WARNING: EXP_REPLY not set!
    sccheck: node1:
    sccheck: node1: 2 warnings found in /etc/opt/SUNWexplo/default/explorer
    sccheck: node1:
    sccheck: node1: Mar 07 21:56:15 node1[5519] explorer: ERROR explorer
    sccheck: node1: Mar 07 21:56:15 node1[5519] explorer: ERROR Module or alias sds does not exist.
    sccheck: node1: Explorer run failed:
    sccheck: node1-cl: Additional explorer arguments: -w !default,cluster,disks,etc,messages,nbu,netinfo,patch,pkg,sds,lvm,sonoma,sysconfig,var,vxvm,vxfs,vxfsextended -c "/usr/cluster/lib/sccheck/vfstab-global-mount-points" -c "/usr/cluster/lib/sccheck/netapp-nas-quorum-devices"
    sccheck: node1-cl: WARNING: EXP_CONTRACT_ID not set!
    sccheck: node1-cl: WARNING: EXP_REPLY not set!
    sccheck: node1-cl:
    sccheck: node1-cl: 2 warnings found in /etc/opt/SUNWexplo/default/explorer
    sccheck: node1-cl:
    sccheck: node1-cl: Mar 07 21:56:15 node1-cl[3851] explorer: ERROR explorer
    sccheck: node1-cl: Mar 07 21:56:15 node1-cl[3851] explorer: ERROR Module or alias sds does not exist.
    sccheck: node1-cl: Explorer run failed:
    sccheck: node1 error: Unexpected early return from server.
    sccheck: node1-cl error: Unexpected early return from server.
    sccheck: Unable to run checks on: node1,node1-cl
    Even when I try to run Cluster Manager from web I am getting following error:
    "A communication problem was encountered by the system"
    Following is the version I am using:
    root@node1 #
    root@node1 # cacaoadm -V
    2.2.0.1
    root@node1 #
    root@node1 # smcwebserver -V
    Version 3.1
    root@node1 #
    root@node1 #
    root@node1 # svcs -a | grep container
    online 21:30:30 svc:/application/management/common-agent-container-1:default
    root@node1 #
    root@node1 #
    root@node1 # svcs -a | grep webconsole
    online 21:20:29 svc:/system/webconsole:console
    root@node1 #
    root@node1 #
    root@node1 #
    root@node1 # cat /etc/release
    Solaris 10 5/08 s10s_u5wos_10 SPARC
    Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 24 March 2008
    root@node1 #
    root@node1 #
    root@node1 # cat /etc/cluster/release
    Sun Cluster 3.2u2 for Solaris 10 sparc
    Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
    root@node1 #
    root@node1 #
    Do you have any idea or tips to solve this problem?
    Thanks
    Edited by: shmozumder on Mar 8, 2009 1:50 AM

    Hi Tim,
    Yes - it's running:
    default instance is ENABLED at system startup.
    Smf monitoring process:
    29410
    29411
    Uptime: 0 day(s), 0:14
    dssdbgen03p1 # svcs -a |grep -i comm
    disabled 17:03:06 svc:/network/rpc/mdcomm:default
    online 13:20:53 svc:/application/management/common-agent-container-2:default
    uninitialized 16:58:32 svc:/application/management/common-agent-container-1:default
    I also get messages like the following in the /var/adm/messages file when starting cacaoadm :
    Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.rmi.impl.RMIModule in module com.sun.cacao.rmi
    Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.invoker.impl.InvokerModule in module com.sun.cacao.invoker
    Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.snmpv3adaptor.SnmpV3AdaptorModule in module com.sun.cacao.snmpv3_adaptor
    Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.dtrace.impl.DTraceModule in module com.sun.cacao.dtrace
    Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.rbac.impl.RbacModule in module com.sun.cacao.rbac
    Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.instrum.impl.InstrumModule in module com.sun.cacao.instrum
    Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.commandstream.CommandStreamAdaptorModule in module com.sun.cacao.command_stream_adaptor

  • Lookup form standalone client  fails with java.lang.ClassNotFoundException

    Hi,
    I have an issue under Weblogic 11g when a standalone client tries to lookup for an ejb deployed in an ear.
    The ear is correclty deployed without any errors and the EJB is correctly defined in the jndi tree (i see it using the jndi browser through the weblogic console).
    When my client tries to lookup the EJB using its correct JNDI name, the client receives the following exception :
    java.lang.AssertionError: java.lang.ClassNotFoundException: com.gemalto.contactless.securearm.services.api.IRepositoryServiceRemote
         at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:57)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.readObject(RemoteBusinessIntfProxy.java:205)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
         at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:193)
         at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:240)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:392)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at com.gemalto.contactless.securearm.client.SarmProv.main(SarmProv.java:167)
    Caused by: java.lang.ClassNotFoundException: com.gemalto.contactless.securearm.services.api.IRepositoryServiceRemote
         at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.loadClass(RemoteBizIntfClassLoader.java:116)
         at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:54)
         ... 26 more
    No error found in the server logs !
    If you have an idea that can helps mee ....
    Thank you
    Franck.

    Yes it is in my classpath. You can take a look at my command line generated by my IDE :
    D:\bea11g\jdk160_11\bin\java -Xrunjdwp:transport=dt_socket,address=127.0.0.1:15251,suspend=y,server=n -Dfile.encoding=windows-1252 -classpath "D:\bea11g\jdk160_11\jre\lib\charsets.jar;D:\bea11g\jdk160_11\jre\lib\deploy.jar;D:\bea11g\jdk160_11\jre\lib\javaws.jar;D:\bea11g\jdk160_11\jre\lib\jce.jar;D:\bea11g\jdk160_11\jre\lib\jsse.jar;D:\bea11g\jdk160_11\jre\lib\management-agent.jar;D:\bea11g\jdk160_11\jre\lib\plugin.jar;D:\bea11g\jdk160_11\jre\lib\resources.jar;D:\bea11g\jdk160_11\jre\lib\rt.jar;D:\bea11g\jdk160_11\jre\lib\ext\dnsns.jar;D:\bea11g\jdk160_11\jre\lib\ext\localedata.jar;D:\bea11g\jdk160_11\jre\lib\ext\sunjce_provider.jar;D:\bea11g\jdk160_11\jre\lib\ext\sunmscapi.jar;D:\bea11g\jdk160_11\jre\lib\ext\sunpkcs11.jar;_D:\cless2009\classes\production\SecureARM_;D:\cless2009\classes\production\Util;D:\cless2009\classes\production\Shared;D:\cless2009\CoreBuild\res\gemalto\telecom\FRWK\v4.0\FRWK_4.0_patch07\api\FRWK\ci_api.jar;D:\glassfish\domains\domain1\lib\ext\vbsec.jar;D:\glassfish\domains\domain1\lib\ext\common.jar;D:\glassfish\domains\domain1\lib\ext\container.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\FRWK\v4.0\FRWK_4.0_patch07\api\FRWK\ci_extends.jar;D:\glassfish\domains\domain1\lib\ext\lm.jar;D:\glassfish\domains\domain1\lib\ext\vbjorb.jar;D:\glassfish\domains\domain1\lib\ext\basesystem.jar;D:\cless2009\CoreBuild\res\ext\Log4j\v1.2.13\lib\log4j-1.2.13.jar;D:\cless2009\CoreBuild\res\ext\commons-lang\v2.3\commons-lang-2.3.jar;D:\cless2009\CoreBuild\res\ext\junit\v4.1\junit-4.1.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_cmdmgr-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\tools\oti_linqusconnector-mock.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\install\OTA_IPInfra_1.0.2.0016_sun.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_history-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\core\OTAIPInfra.ear;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_connectivity-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_shared-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_notification-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\core\libext.zip;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_loginmodule-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\core\domain.zip;D:\cless2009\CoreBuild\ECLIPSE_LIB\oti-linqusconnector-jmx-custom.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_otagateway-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_trigsms-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\main\mmserver_ref.zip;D:\bea11g\user_projects\domains\cless\lib\wllog4j.jar;D:\bea11g\user_projects\domains\cless\lib\ojdbc14.jar;D:\bea11g\wlserver_10.3\server\lib;D:\bea11g\user_projects\domains\cless\lib\eclipselink.jar;D:\bea11g\user_projects\domains\cless\lib\log4j-1.2.14.jar;D:\cless2009\classes\production\SharedCustom;D:\cless2009\CoreBuild\res\gemalto\telecom\REUSE\v1.0\REUSE_1_0_b0148_071211_1059\lib\reuse.jar;D:\cless2009\CoreBuild\res\gemplus\telecomtlvtools\v1.0\build1\tlvtools.jar;D:\bea11g\wlserver_10.3\server\lib\wlfullclient.jar;D:\bea11g\wlserver_10.3\server\lib\wljmxclient.jar;C:\Program Files\JetBrains\IntelliJ IDEA 8.1.3\lib\idea_rt.jar" com.gemalto.contactless.securearm.client.SarmProv

  • OIM9.1.0.1 in Cluster mode installation issue

    Hello,
    I am facing some issues to setup OIM9.1.0.1 with JBoss Application Server (Cluster mode). After installation of OIM, when I try to start application server, then it is not getting stated. Below are the some initial JBoss AS errors
    2008-12-18 12:14:59,625 ERROR [org.apache.commons.digester.Digester] Begin event threw exception
    java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn
         at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
         at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
    2008-12-18 12:15:00,656 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/C:/thcOIMSetup/jboss-4.2.3.GA/server/all/deploy/jboss-web.deployer/ROOT.war/
    org.jboss.deployment.DeploymentException: URL file:/C:/thcOIMSetup/jboss-4.2.3.GA/server/all/deploy/jboss-web.deployer/ROOT.war/ deployment failed at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:386)
    2008-12-18 12:15:00,703 ERROR [org.jboss.deployment.MainDeployer] DeploymentException while trying to deploy a package with a new deployer
    org.jboss.deployment.DeploymentException: URL file:/C:/thcOIMSetup/jboss-4.2.3.GA/server/all/deploy/jboss-web.deployer/ROOT.war/ deployment failed
    The environment details are
    •     OIM 9.1.0.1
    •     jdk1.6.0
    •     JBoss-4.2.3.GA
    •     Apache Web Server 2.2
    •     Oracle11g
    I am referring OIM 9.1.0 documentation; “Deploying in a Clustered JBoss Application Server Configuration“. I am not able to figure out the root cause of the problem. Please provide me some pointer to handle this problem.
    Any help would be greatly appreciated!
    Regards,
    Hardew

    Hi,
    I was able to resolve this issue, it looked like the main Tomcat deployer wasn't working i.e. the xlWebApp wasn't getting loaded, infact none of the webapps were getting loaded, i checked it out and found the classloader was trying to load the classes which jboss 4.2.3GA version doesn't even recognize at first place and hence the root.war deployment was failing and which triggered the failure for all the other deployment.
    I changed the classloader to load the classes which were right for jboss 4.2.3GA, for e.g.
    "org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn" to "org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn"
    "org.jboss.web.tomcat.tc5.jca.CachedConnectionValve" to "org.jboss.web.tomcat.service.jca.CachedConnectionValve"
    after changing this the main tomcat deployer worked and deployed Root.war and after that everything else got deployed.
    You can change this by changing these values in the jboss-web.deployer/server.xml or do the custom classloading using a separate custom classloader if you don't want to touch the jboss 4.2.3GA setup after OIM 9101 install.
    Thanks
    Shivam
    Edited by: Blue Divided on Jan 9, 2009 1:05 PM

  • ClassNotFound Exception accessing EJBs in a cluster

    I am experiencing some weird behavior when attempting to access EJBs in a
              Weblogic 5.1.0 cluster. The cluster nodes startup fine, and the EJBs are
              correctly deployed. However, when my test client attempts to access them I
              get the ClassNotFoundException listed below. This same client can access the
              same EJBs deployed in a non-clustered environment without any problems, so
              it's definitely related to my cluster configuration. The problem seems to be
              that the client is not receiving the client-side stub. To confim this, I put
              the stub in the client's classpath, and did NOT get the
              ClassNotFoundException. Has anyone else seen this error?
              BTW, I have compiled the EJB both with and without the <home-is-clusterable>
              flag set to true. I get the same exception either way.
              Thanks for any assistance,
              Jason Donnell
              javax.naming.CommunicationException. Root exception is
              java.lang.ClassNotFoundException: class
              com.landacorp.maxmc.ejb.security.ProviderSecurityBeanHomeImpl_ServiceStub
              previously not found
              at weblogic.rjvm.MsgAbbrev.read(MsgAbbrev.java:184)
              at weblogic.socket.JVMAbbrevSocket.readMsgAbbrevs(JVMAbbrevSocket.java:505)
              at weblogic.rjvm.MsgAbbrevInputStream.prime(MsgAbbrevInputStream.java:134)
              at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:700)
              at
              weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient.jav
              a:34)
              at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
              at weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
              at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:355)
              at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
              at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
              --------------- nested within: ------------------
              weblogic.rmi.UnmarshalException: Unmarshalling return
              - with nested exception:
              [java.lang.ClassNotFoundException: class
              com.landacorp.maxmc.ejb.security.ProviderSecurityBeanHomeImpl_ServiceStub
              previously not found]
              at
              weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(BasicWLContext_WLStub.jav
              a:256)
              at weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java:545)
              at javax.naming.InitialContext.lookup(InitialContext.java:350)
              at
              com.landacorp.maxmc.ejb.security.ClusterSecurityTest.main(ClusterSecurityTes
              t.java:52)
              

    Just a side note: I setup the cluster using the WebLogic recommended
              directory structure (see
              http://www.weblogic.com/docs51/cluster/setup.html#676105) and I no longer
              get the exception. I'm still interested in hearing, though, if anyone has a
              scheme for setting up the cluster in a directory that isn't directly under
              the weblogic installation directory.
              Jason
              "Jason Donnell" <[email protected]> wrote in message
              news:[email protected]...
              > My current idea is that our directory structure is not properly supported
              by
              > WebLogic. We are NOT putting everything under the weblogic install
              > directory, as the documentation suggests. Instead, it looks something like
              > this (on an NT box):
              >
              > \weblogic_install\<Weblogic 5.1.0 installation here>
              >
              > \our_weblogic\startWeblogicNode1.cmd
              > \our_weblogic\startWeblogicNode2.cmd
              > \our_weblogic\weblogic.properties (cluster-wide)
              > \our_weblogic\public_html\
              > \our_weblogic\our_cluster_name\
              > \our_weblogic\our_cluster_name\all_ejbs\<compiled beans are here>
              > \our_weblogic\our_cluster_name\server_node1\
              > \our_weblogic\our_cluster_name\server_node1\weblogic.properties
              > (server-specific)
              > \our_weblogic\our_cluster_name\server_node2\
              > \our_weblogic\our_cluster_name\server_node2\weblogic.properties
              > (server-specific)
              >
              > So, on the command line in our per-server startup scripts, we set the
              > weblogic.system.home=\our_weblogic,
              weblogic.cluster.name=our_cluster_name,
              > and weblogic.system.name=server_nodeX.
              >
              > Now, I want to emphasize that the server claims to start up just fine. It
              > claims the EJBs have been deployed. However, it is unable to deliver
              classes
              > dynamically, as we found by trying the
              > http://yourweblogic..../classes/some/class/name.class suggestion noted
              > previously.
              >
              > We had a similar directory structure for a single server, and it worked
              just
              > fine. However, in that case we obviously did not have the extra level of
              the
              > \our_cluster_name\ directory. It would seem that in the cluster
              > configuration, we cannot do it this way. I would be VERY interested to
              hear
              > if anyone else has setup a cluster in a directory that is not under the
              > weblogic installation directory.
              >
              > Hopefully this may shed some light on your problem. Feel free to contact
              me
              > if you need any additional information (or if you solve the problem!).
              >
              > Jason Donnell
              > [email protected]
              >
              >
              > "Chad" <[email protected]> wrote in message
              > news:[email protected]...
              > > I am very interested in this thread - I am having the same behavior:
              > >
              > > javax.naming.CommunicationException. Root exception is
              > > java.lang.ClassNotFoundException: class
              > > healthecare.drug.ejb.DrugAlternateBeanHomeImpl_ServiceStub previously
              > > not found
              > > at weblogic.rjvm.MsgAbbrev.read(MsgAbbrev.java:181)
              > > at
              > weblogic.socket.JVMAbbrevSocket.readMsgAbbrevs(JVMAbbrevSocket.java:505)
              > > at
              weblogic.rjvm.MsgAbbrevInputStream.prime(MsgAbbrevInputStream.java:134)
              > > at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:630)
              > > at
              >
              weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient.jav
              > a:34)
              > > at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
              > > at weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
              > > at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:355)
              > > at
              > weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
              > > at
              > weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
              > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
              > >
              > > --------------- nested within: ------------------
              > > weblogic.rmi.UnmarshalException: Unmarshalling return
              > > - with nested exception:
              > > [java.lang.ClassNotFoundException: class
              > > healthecare.drug.ejb.DrugAlternateBeanHomeImpl_ServiceStub previously
              > > not found]
              > > at
              >
              weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(BasicWLContext_WLStub.jav
              > a:256)
              > > at weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java:545)
              > > at javax.naming.InitialContext.lookup(InitialContext.java:350)
              > > at healthecare.util.EJBBase.findHomeInterface(EJBBase.java:178)
              > >
              > > One additional bit of information that I can add is that when I
              > > getInitialContext() like this:
              > >
              > > public static Context getInitialContext() throws Exception
              > > {
              > > String providerURL =
              > > "t3://" + CommonUtil.getProperty("ejb.server.name") +
              > > ":" + CommonUtil.getProperty("ejb.server.port");
              > >
              > > Hashtable ht = new Hashtable();
              > > ht.put(Context.INITIAL_CONTEXT_FACTORY,
              > > "weblogic.jndi.WLInitialContextFactory");
              > > ht.put(Context.PROVIDER_URL, providerURL);
              > >
              > > return new InitialContext(ht);
              > > }
              > >
              > > When the "ejb.server.name" property is one server, like "serverName1",
              > > the code works. But when the "ejb.server.name" property is clustered,
              > > like "serverName1, serverName2", the code throws the exception above.
              > >
              > > I'll definitely re-post if I come up with anything.
              > >
              > > thanks,
              > > chad small
              > >
              > > "Jason Donnell" <[email protected]> wrote in message
              > news:<[email protected]>...
              > > > Well, that was a good test. I discovered I am unable to download
              classes
              > > > from the clustered server when pointing my browser at it. Any ideas
              what
              > > > kind of misconfiguration on my part would cause that behavior?
              > > >
              > > > Thanks,
              > > > Jason Donnell
              > > >
              > > > "Dimitri Rakitine" <[email protected]> wrote in message
              > > > news:[email protected]...
              > > > > Try to point your browser to make sure you can actually download
              > classes
              > > > from it
              > > > > (point it to http://yourweblogic..../classes/some/class/name.class)
              > > > >
              > > > > Jason Donnell <[email protected]> wrote:
              > > > > > Yes, I know. That's the behavior that I had always seen before. Do
              > you
              > > > know
              > > > > > of any directory configurations or properties file settings that
              > could
              > > > make
              > > > > > the stub not be downloaded correctly, even though the EJB is
              > deployed on
              > > > the
              > > > > > server?
              > > >
              > > > > > "Tao Xie" <[email protected]> wrote in message
              > > > > > news:[email protected]...
              > > > > >> That's weird, Replica-aware stub should be downloaded to the
              client
              > > > except
              > > > > >> the client is on another Weblogic server.
              > > > > >>
              > > > > >> "Jason Donnell" <[email protected]> wrote in message
              > > > > >> news:[email protected]...
              > > > > >> | I am experiencing some weird behavior when attempting to access
              > EJBs
              > > > in
              > > > a
              > > > > >> | Weblogic 5.1.0 cluster. The cluster nodes startup fine, and the
              > EJBs
              > > > are
              > > > > >> | correctly deployed. However, when my test client attempts to
              > access
              > > > them
              > > > I
              > > > > >> | get the ClassNotFoundException listed below. This same client
              can
              > > > access
              > > > the
              > > > > >> | same EJBs deployed in a non-clustered environment without any
              > > > problems,
              > > > so
              > > > > >> | it's definitely related to my cluster configuration. The
              problem
              > > > seems
              > > > to
              > > > be
              > > > > >> | that the client is not receiving the client-side stub. To
              confim
              > > > this, I
              > > > put
              > > > > >> | the stub in the client's classpath, and did NOT get the
              > > > > >> | ClassNotFoundException. Has anyone else seen this error?
              > > > > >> |
              > > > > >> | BTW, I have compiled the EJB both with and without the
              > > > <home-is-clusterable>
              > > > > >> | flag set to true. I get the same exception either way.
              > > > > >> |
              > > > > >> | Thanks for any assistance,
              > > > > >> | Jason Donnell
              > > > > >> |
              > > > > >> |
              > > > > >> | javax.naming.CommunicationException. Root exception is
              > > > > >> | java.lang.ClassNotFoundException: class
              > > > > >> |
              > > > > >
              > > >
              > com.landacorp.maxmc.ejb.security.ProviderSecurityBeanHomeImpl_ServiceStub
              > > > > >> | previously not found
              > > > > >> |
              > > > > >> | at weblogic.rjvm.MsgAbbrev.read(MsgAbbrev.java:184)
              > > > > >> |
              > > > > >> | at
              > > > > >>
              > > >
              > weblogic.socket.JVMAbbrevSocket.readMsgAbbrevs(JVMAbbrevSocket.java:505)
              > > > > >> |
              > > > > >> | at
              > > >
              weblogic.rjvm.MsgAbbrevInputStream.prime(MsgAbbrevInputStream.java:134)
              > > > > >> |
              > > > > >> | at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:700)
              > > > > >> |
              > > > > >> | at
              > > > > >> |
              > > > > >>
              > > > > >
              > > >
              >
              weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient.jav
              > > > > >> | a:34)
              > > > > >> |
              > > > > >> | at
              > > > weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
              > > > > >> |
              > > > > >> | at
              > > > weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
              > > > > >> |
              > > > > >> | at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:355)
              > > > > >> |
              > > > > >> | at
              > > > > >>
              > > >
              > weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
              > > > > >> |
              > > > > >> | at
              > > > > >>
              > > >
              > weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
              > > > > >> |
              > > > > >> | at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
              > > > > >> |
              > > > > >> |
              > > > > >> |
              > > > > >> | --------------- nested within: ------------------
              > > > > >> |
              > > > > >> | weblogic.rmi.UnmarshalException: Unmarshalling return
              > > > > >> | - with nested exception:
              > > > > >> | [java.lang.ClassNotFoundException: class
              > > > > >> |
              > > > > >
              > > >
              > com.landacorp.maxmc.ejb.security.ProviderSecurityBeanHomeImpl_ServiceStub
              > > > > >> | previously not found]
              > > > > >> |
              > > > > >> | at
              > > > > >> |
              > > > > >>
              > > > > >
              > > >
              >
              weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(BasicWLContext_WLStub.jav
              > > > > >> | a:256)
              > > > > >> |
              > > > > >> | at
              > > > weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java:545)
              > > > > >> |
              > > > > >> | at javax.naming.InitialContext.lookup(InitialContext.java:350)
              > > > > >> |
              > > > > >> | at
              > > > > >> |
              > > > > >>
              > > > > >
              > > >
              >
              com.landacorp.maxmc.ejb.security.ClusterSecurityTest.main(ClusterSecurityTes
              > > > > >> | t.java:52)
              > > > > >> |
              > > > > >> |
              > > > > >> |
              > > > > >> |
              > > > > >>
              > > > > >>
              > > > >
              > > > >
              > > > >
              > > > > --
              > > > > Dimitri
              >
              >
              >
              >
              >
              >
              

  • JSF/Tiles: [java.lang.ClassNotFoundException: org.apache.tiles.servlets.Til

    Hi,
    I am working on JSF1.2 in SAP NetWeaver CE and I am using Tiles. Please help me to resolve the following issues.
    ~~~~~~~~~~~~~~~~~~~
    1. File:G:\ws_wd\ce_ws.jdi\LocalDevelopment\DCs\demo.sap.com\lbsjsf\ear\_comp\gen\default\deploy\demo.sap.com~lbsjsf~ear.ear
         Name:lbsjsf~ear
         Vendor:demo.sap.com
         Location:localDevelopment
         Version:20090402105707
         Deploy status:Warning
         Version:NEW
         Description:
              1. Warning occurred on server 4585250 during deploy demo.sap.com/lbsjsf~ear : Web Class Existence Test: servlet class "org.apache.tiles.servlets.TilesServlet" cannot be found in the application class path. Possible reasons: 1) package or class name not correct; 2) missing referenced component (application or library); 3) missing reference to component (application or library)., file: demo.sap.com~lbsjsf~web.war#WEB-INF/web.xml, column 0, line 0, severity: warning
    Warning occurred on server 4585250 during deploy demo.sap.com/lbsjsf~ear : Web Class Existence Test: The servlet "com.cg.lbs.ui.controller.StartupConfigurationServlet" must implement "javax.servlet.Servlet"., file: demo.sap.com~lbsjsf~web.war#WEB-INF/web.xml, column 0, line 0, severity: warning
              2. Warning exception has been returned while the 'demo.sap.com/lbsjsf~ear' was starting. Warnings:
    Warning occurred on server 4585250 during startApp demo.sap.com/lbsjsf~ear : Cannot load servlet [org.apache.tiles.servlets.TilesServlet]. Error is: [java.lang.ClassNotFoundException: org.apache.tiles.servlets.TilesServlet
    ------------------------- Loader Info -------------------------
    ClassLoader name: [demo.sap.com/lbsjsf~ear]
    Living status: alive
    Direct parent loaders:
    [system:Frame]
    [service:servlet_jsp]
    [service:ejb]
    Resources:
    F:\usr\sap\CE1\J00\j2ee\cluster\apps\demo.sap.com\lbsjsf~ear\servlet_jsp\lbsjsf\root\WEB-INF\classes
    ++++++++++++++below is my web.xml+++++++++
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         id="WebApp_ID" version="2.5">
         <display-name>
              LocalDevelopment~LocalDevelopment~lbsjsf(2fweb~demo.sap.com
         </display-name>
         <filter>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <filter-class>
                   org.apache.myfaces.webapp.filter.ExtensionsFilter
              </filter-class>
              <init-param>
                   <param-name>maxFileSize</param-name>
                   <param-value>20m</param-value>
              </init-param>
         </filter>
         <!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages -->
         <filter-mapping>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry -->
              <servlet-name>Faces Servlet</servlet-name>
         </filter-mapping>
         <!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) -->
         <filter-mapping>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
         </filter-mapping>
         <!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages -->
         <filter-mapping>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <url-pattern>*.jsf</url-pattern>
         </filter-mapping>
         <servlet>
              <servlet-name>Tiles Servlet</servlet-name>
              <servlet-class>
                   org.apache.tiles.servlets.TilesServlet
              </servlet-class>
              <init-param>
                   <param-name>definitions-config</param-name>
                   <param-value>/WEB-INF/tiles.xml</param-value>
              </init-param>
              <load-on-startup>3</load-on-startup>
         </servlet>
         <servlet>
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>2</load-on-startup>
         </servlet>
         <servlet>
              <servlet-name>StartupConfiguration</servlet-name>
              <servlet-class>
                   com.cg.lbs.ui.controller.StartupConfigurationServlet
              </servlet-class>
              <init-param>
                   <param-name>log4j-init-file</param-name>
                   <param-value>sswblog4j.xml</param-value>
              </init-param>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.faces</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
         </welcome-file-list>
    </web-app>

    That's a pretty decent error message. Have you eliminated the potential causes which were listed in the message?

  • Please help urgently Failed to deserialize statedump from server in Cluster

    Dear All,
    Appreciate a help on this urgently..... I am new to weblogic server & this technologies ... we created IPM,UCM,SOA clusters on one domain (my_domain), all the servers of all the clusters in 1st machine started .... but IPM server is not starting on the 2nd machine (other servers - SOA and UCM started on the 2nd machine)
    I am getting the following error. could anyone help to solve this problem...
    ####<Jan 20, 2011 9:37:29 PM IST> <Info> <Cluster> <machine2.domain.com> <IPM_server2> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1295539649529> <BEA-000128> <Updating -2575471700288226143S:10.1.7.1:[16000,16000,-1,-1,-1,-1,-1]:my_domain:IPM_server1 in the cluster.>
    ####<Jan 20, 2011 9:37:29 PM IST> <Error> <Cluster> <machine2.domain.com> <IPM_server2> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1295539649554> <BEA-000140> <Failed to deserialize statedump from server -2575471700288226143S:10.1.7.1:[16000,16000,-1,-1,-1,-1,-1]:my_domain:IPM_server1 with java.lang.ClassNotFoundException: oracle.imaging.input.inputagent.InputAgent.
    java.lang.ClassNotFoundException: oracle.imaging.input.inputagent.InputAgent
    at weblogic.application.internal.AppClassLoaderManagerImpl.loadApplicationClass(AppClassLoaderManagerImpl.java:135)
    at weblogic.common.internal.ProxyClassResolver.resolveProxyClass(ProxyClassResolver.java:68)
    at weblogic.common.internal.WLObjectInputStream.resolveProxyClass(WLObjectInputStream.java:76)
    at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at weblogic.common.internal.WLObjectInputStream.readObjectWL(WLObjectInputStream.java:98)
    at weblogic.cluster.BasicServiceOffer.readExternal(BasicServiceOffer.java:172)
    at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at java.util.ArrayList.readObject(ArrayList.java:593)
    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at weblogic.common.internal.WLObjectInputStream.readArrayList(WLObjectInputStream.java:116)
    at weblogic.cluster.StateDumpMessage.readExternal(StateDumpMessage.java:53)
    at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
    when I check the error number BEA-000140, it says
    Cause - Server failed to deserialize object since it does not have the class definition. This usually happens if your application classes are not deployed on all the nodes in the cluster. It is preferable to deploy beans to all the nodes of the cluster.
    Action - Make sure all the classes are available on all the nodes of the cluster.
    Could any one give steps as how to do this or the solution to this problem.... I am new to weblogic..
    Thanks in advance.
    Edited by: user599937 on Jan 20, 2011 8:32 AM
    Edited by: user599937 on Jan 20, 2011 8:37 AM

    This is definitely the problem:
    java.lang.ClassNotFoundException: oracle.imaging.input.inputagent.InputAgent
    The cause is likely that the configuration during installation of IPM went wrong somehow or the particular way you are starting the server is missing the IPM libraries. This is not so much a WebLogic Server issue as an IPM issue. I recommend you try posting in one of the Content Mgmt forums like WebCenter Content or open a support case with the IPM team.

  • Cluster and commons-logging jar LogConfigurationException

    Hi,
    My configuration:
    -OAS 10.1.3.1 on 2 machines with oracle cluster configuration (discovery).
    My app:
    -ear which includes simple ejb3 module with commons-logging-1.1.jar lib (Jakarta commons logging)
    -clustering and replication is configured (in orion-application.xml):
    <cluster allow-colocation="false">
         <replication-policy trigger="onSetAttribute" scope="allAttributes" />
         <flow-control-policy enabled="false" />
         <protocol>
              <peer>
                   <opmn-discovery />
              </peer>
         </protocol>
    </cluster>
    When I'm trying to deploy my application I always get an error during deployment:
    [19-Jun-2007 16:46:44] Initializing ClassLoader(s)
    [01-Jan-1970 01:00:00] Error deserializing return-value: org.apache.commons.logging.LogConfigurationException; nested exception is: java.lang.ClassNotFoundException: org.apache.commons.logging.LogConfigurationException
    It doesn't matter if I try to deploy it on one or both machines. The exception is always the same on each machine.
    When I get rid of clustering/replication configuration (from orion-application.xml or during deployment) application is deployed without any problem.
    Also when I remove commons-logging-1.1.jar application is deployed.
    I know that there is already apache.commons.logging 1.0.4 in OAS shared libraries by it's not selected in "Configure Class Loading" by default.
    I also tried use the same version (1.0.4) in my app - didn't help.
    I can also deploy without any problem war file or ear file with web module, which has commons-logging-1.1.jar. But not ejb!
    Any advice?
    Thanks
    darek

    Hey Darek -- I just gave it a quick try -- the ListQueries query works as expected.
    This is how I executed it and the results it returned.
    d:\java\oc4j-10131-prod\j2ee\home>java -Doc4j.start.query=ListQueries+Exit -jar oc4j.jar
    07/06/25 00:51:41 Shutting down OC4J...
    AuditLoader - Performs various diagnostics on the contents of the speci
    fied loader(s).
    Callers - List all classes that call the specified method(s).
    ClassLoadMetrics - Report metrics from specified loader(s) or all if none specified.
    ClassPath - List the code-sources in use.
    Dependencies - List the dependencies of the specified class.
    Depends - List all classes that depend on the specified class(s).
    DuplicateClasses - List duplicate classes, both loaded and in code-sources.
    DuplicateCodeSources - List code-sources that have more than 1 subscriber, or the same name.
    Exit - Exits the process (does shutdown if system is running).
    FindResource - List the code-sources containing the specified resource.
    GetResource - Call getResource() or getResources() on a specified loader and report the results.
    HttpSessions - View summary of active HttpSessions for deployed applications.
    LeakedLoaders - Control detection of class loader leaks and inspect results.
    ListQueries - List built-in subclasses of the "oracle.classloader.query.Query" class.
    LoadClass - Call loadClass() or Class.forName() using a specified loader and report the results.
    LoadedClasses - List the names of all loaded classes (if available).
    LoaderTree - List the class loader tree.
    Packages - List the package names contained within the specified code-source(s).
    SharedLibraries - List shared-libraries and the loaders that have imported them.
    SystemProperties - List or set System properties.
    ThreadPools - List application server related thread for the current VM.
    Threads - List thread info for the current VM.
    UnusedCodeSources - List any code-sources from which no classes or resources have been loaded.
    Uptime - Report how long the system has been running.
    VMStat - List statistic info for the current VM.
    Specify the query name for a full description, or use the '-l' option to see ful
    l descriptions for all.

Maybe you are looking for

  • Time machine kills Wifi network!!

    I had recently posted a thread on TC forum "Weird shut down of TC" that my TC just shuts down routinely. I have a 1TB TC that has been working very well. I bought the new unibody MBP and the Time machine has been backing up quite nicely for past one

  • Can I use old version adobe acrobat 7.0 Professional for my macbook pro. I just bought this software and is non returnable.

    I just bought this software from RAFT teacher resources and it's non returnable. I don't know that it doesn't support macbook pro.  Is there anyway can you help me if you can. I don't want to waste it.  Thanks.  Best regards, Vivian.

  • WCS 5.0.56.2 Auto-Provisioning

    In WCS 5.0 Cisco introduces Auto provisioning of WLCs. Unfortunately there is not much documentation available, except for option explanation. If i understood this right, Auto-Provisioning takes care of the initial setup of an out-of-the-box WLC. A v

  • Does anyone have any details about Wi-Fi- DAQ?

    Hello Everyone,                       Does anybody know how to use the Wifi DAQ?? Do I need a wireless network already set up where I should place this wifi DAQ and then use it? I see the protocol is 802.11 b/g... so, would it require a modem/router 

  • Entry of Configured Star item in sales order line

    Hi All, We have a requirement to enter a Configured item(STAR Item) into a sales order line and facing pricing issues. The Configured item will be imported from a legacy system(client's equivalent of i-store) along with all the option class and optio