JMX in clustering
hi all,
i was wondering one thing. When u deploy a web application, BEA's MBeans allows
you to change values in the web.xml descript or files. i have changed some values
thru the console, and i have noticed that if the change is done meanwhile the
user is logged in, the user's ession will be invalidated and hte user has to re-login.
What happens in a clustered environment? is it so that the session will be invalidated
for all the servers in the cluster?
What happens if, using the plain old approachinstead of JMX, i shut down the servers
part of the clusters one at a time meanwhile the user is logged in? will hte user
lose its Session also in this case?
regards
marco
My reference for Websphere 5.1 is the "IBM WebSphere Application Server V5.1 System Management and Configuration" redbook, number SG24-6195-01. It has a section about page 780 and onwards about JMX, in the context of administration and scripting.
Presumably there's a similar reference for WS 5.0.
Similar Messages
-
Behaviour of JMX in clustering
hi all,
i want to write my Custom MBean to monitor some part of my web applications
(such as logging variables), and i wanted to know what is the behaviour of JMX
in a cluster.
Suppose that i write my CustomMBean to monitor properties of some components of
my webapplication.
If i use my MBean to change the properties of one component, will the change
affec all teh cluster if teh webapp is deployed in the cluster?
thanx in advance and regards
marco
Thanks for your response Patrick.
Your suggestion should work too but I am curious as to why 'NOT IN' is not working now.
As I mentioned earlier that '<>' or NOT EXIST can work, but if I have to make this change then I
would have to do it in the entire codebase; just to be sure that I do not encounter this issue again.
Tarun -
hi all,
i am little confused about how weblogic 'behaves' in following situation:
- i have one adminserver and 4 managed servers in a clustered environment
- i deploy an application on all the servers in the cluster
the application (servlet based) registers an MBean with adminserver.
question that i would like to ask is the following:
if my app is deployed in a cluster with 4 servers,does it mean that i will have
at least 4
registrations of the same MBean? because in this case i'¨ll have to handle exceptions
in case same objectname has been registered.
can anyone clarify me?
thanx in advance and regards
marco
Is your configuration any different in the clustered environment? Are you using cache-coordination/synchronization in TopLink?
Any idea of what the application is doing that leads to the server running out of memory?
You may wish to use a memory profiler such as JProfiler or JProbe on the server to determine the cause of the memory leak. -
Can single JMX manage two clusters
Hi
Just want to check that is that possible to manage 2 cluster on same machine with one JMX node..
Thanks,
GauravNo. The management/jmx mode is a member of the cluster, as such it can't be a member of another cluster.
-
Q: Hidden clustered jmx execute functionality?
Hello,
In my dev environment I have a cluster of two servers plus a node manager.
I have deployed an ear to the cluster using the console. The ear has a
servlet that registers an MBean.
The interesting thing is that with a third party MC4j JMX utility I can
execute a JMX method on serverA and somehow WebLogic 8.1SP3 replicates
calling this method on serverB.
I can verify this because MC4J shows an attribute has changed on serverB but
I never called the JMX method on serverB.
I've Google'd and read the WLS docs and haven't found this described so I'm
not sure what the limitations are.
Any pointers to documentation or comments on this behaviour would be most
welcome. It seems too good to be true, and I'm likely missing something if
I can't find documentation about such a powerful feature.
Cheers.Hello Mark,
It indeed seems too good to be true. Perhaps its a bug, or shall I call it a feature :-).
I will try to reproduce this on my environment and see if I can reproduce.
Thanks,
-satya -
Hi,
I installed OAS 10g (10.1.3.5.0) on Red Hat Enterprise Linux 5.5 and I am trying to do one cluster with session replication options.
I created the cluster, but when I try to replicate user session (with database option), it throws next exception on start oc4j application:
11/05/17 13:13:57 javax.naming.NamingException: IO Error: Error sending to cluster: Message publishing attempt failed; nested exception is:
java.io.IOException: Message publishing attempt failed [Root exception is java.io.IOException: Message publishing attempt failed]
11/05/17 13:13:57 at com.evermind.server.rmi.RMIContext.rebind(RMIContext.java:165)
11/05/17 13:13:57 at com.evermind.server.ApplicationContext.rebind(ApplicationContext.java:436)
11/05/17 13:13:57 at com.evermind.server.ApplicationContext.rebind(ApplicationContext.java:425)
11/05/17 13:13:57 at com.evermind.server.ApplicationContext.rebind(ApplicationContext.java:448)
11/05/17 13:13:57 at javax.naming.InitialContext.rebind(InitialContext.java:371)
11/05/17 13:13:57 at org.jconfig.mbean.ConfigHandler.rebind(ConfigHandler.java:285)
11/05/17 13:13:57 at org.jconfig.mbean.ConfigHandler.load(ConfigHandler.java:192)
11/05/17 13:13:57 at org.jconfig.mbean.ConfigHandler.setResourceName(ConfigHandler.java:113)
11/05/17 13:13:57 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11/05/17 13:13:57 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
11/05/17 13:13:57 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
11/05/17 13:13:57 at java.lang.reflect.Method.invoke(Method.java:592)
11/05/17 13:13:57 at com.sun.jmx.mbeanserver.StandardMetaDataImpl.setAttribute(StandardMetaDataImpl.java:750)
11/05/17 13:13:57 at com.sun.jmx.mbeanserver.StandardMetaDataImpl.setAttribute(StandardMetaDataImpl.java:360)
11/05/17 13:13:57 at com.sun.jmx.mbeanserver.MetaDataImpl.setAttribute(MetaDataImpl.java:206)
11/05/17 13:13:57 at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.setAttribute(DefaultMBeanServerInterceptor.java:737)
11/05/17 13:13:57 at com.sun.jmx.mbeanserver.JmxMBeanServer.setAttribute(JmxMBeanServer.java:722)
11/05/17 13:13:57 at oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.setAttribute(ApplicationStateFilterMBeanServer.java:523)
11/05/17 13:13:57 at oracle.oc4j.admin.jmx.shared.UserMBeanServer.setAttribute(UserMBeanServer.java:597)
11/05/17 13:13:57 at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.setAttribute(LocalizationFilterMBeanServer.java:528)
11/05/17 13:13:57 at com.altana.xf.cargador.XFLoader.initJMXMBeans(XFLoader.java:148)
11/05/17 13:13:57 at es.altana.cws.cargadores.ComponentConfiguration.configXF(ComponentConfiguration.java:189)
11/05/17 13:13:57 at es.altana.cws.cargadores.ComponentConfiguration.init(ComponentConfiguration.java:113)
11/05/17 13:13:57 at com.altana.xf.webflow.GestorAppWeb.init(GestorAppWeb.java:48)
11/05/17 13:13:57 at com.altana.xf.webflow.XFServlet.init(XFServlet.java:96)
11/05/17 13:13:57 at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2528)
11/05/17 13:13:57 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5006)
11/05/17 13:13:57 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
11/05/17 13:13:57 at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
11/05/17 13:13:57 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
11/05/17 13:13:57 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
11/05/17 13:13:57 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
11/05/17 13:13:57 at com.evermind.server.Application.getHttpApplication(Application.java:592)
11/05/17 13:13:57 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
11/05/17 13:13:57 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
11/05/17 13:13:57 at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:701)
11/05/17 13:13:57 at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:308)
11/05/17 13:13:57 at com.evermind.server.http.HttpServer.setSites(HttpServer.java:280)
11/05/17 13:13:57 at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:180)
11/05/17 13:13:57 at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2541)
11/05/17 13:13:57 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1058)
11/05/17 13:13:57 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
11/05/17 13:13:57 at java.lang.Thread.run(Thread.java:595)
11/05/17 13:13:57 Caused by: java.io.IOException: Message publishing attempt failed
11/05/17 13:13:57 at com.evermind.server.rmi.JGroupJndiNamespaceReplicationService.sendContextValueUpdate(JGroupJndiNamespaceReplicationService.java:88)
11/05/17 13:13:57 at com.evermind.server.rmi.RMIServer.bindInCluster(RMIServer.java:707)
11/05/17 13:13:57 at com.evermind.server.rmi.RMIServer.rebind(RMIServer.java:696)
11/05/17 13:13:57 at com.evermind.server.rmi.RMIContext.rebind(RMIContext.java:162)
11/05/17 13:13:57 ... 42 more
11/05/17 13:13:57 Caused by: oracle.j2ee.clustering.MessageDispatchException: Cannot publish to unknown group
11/05/17 13:13:57 at oracle.j2ee.clustering.JGroupsMessageDispatcher.publishMessage(JGroupsMessageDispatcher.java:73)
11/05/17 13:13:57 at com.evermind.server.rmi.JGroupJndiNamespaceReplicationService.sendContextValueUpdate(JGroupJndiNamespaceReplicationService.java:83)
11/05/17 13:13:57 ... 45 more
11/05/17 13:13:57 javax.naming.NamingException: IO Error: Error sending to cluster: Message publishing attempt failed; nested exception is:
java.io.IOException: Message publishing attempt failed [Root exception is java.io.IOException: Message publishing attempt failed]
11/05/17 13:13:57 at com.evermind.server.rmi.RMIContext.rebind(RMIContext.java:165)
11/05/17 13:13:57 at com.evermind.server.ApplicationContext.rebind(ApplicationContext.java:436)
11/05/17 13:13:57 at com.evermind.server.ApplicationContext.rebind(ApplicationContext.java:425)
11/05/17 13:13:57 at com.evermind.server.ApplicationContext.rebind(ApplicationContext.java:448)
11/05/17 13:13:57 at javax.naming.InitialContext.rebind(InitialContext.java:371)
11/05/17 13:13:57 at org.jconfig.mbean.ConfigHandler.rebind(ConfigHandler.java:285)
11/05/17 13:13:57 at org.jconfig.mbean.ConfigHandler.load(ConfigHandler.java:192)
11/05/17 13:13:57 at org.jconfig.mbean.ConfigHandler.setConfigurationName(ConfigHandler.java:100)
11/05/17 13:13:57 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11/05/17 13:13:57 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
11/05/17 13:13:57 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
11/05/17 13:13:57 at java.lang.reflect.Method.invoke(Method.java:592)
11/05/17 13:13:57 at com.sun.jmx.mbeanserver.StandardMetaDataImpl.setAttribute(StandardMetaDataImpl.java:750)
11/05/17 13:13:57 at com.sun.jmx.mbeanserver.StandardMetaDataImpl.setAttribute(StandardMetaDataImpl.java:360)
11/05/17 13:13:57 at com.sun.jmx.mbeanserver.MetaDataImpl.setAttribute(MetaDataImpl.java:206)
11/05/17 13:13:57 at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.setAttribute(DefaultMBeanServerInterceptor.java:737)
11/05/17 13:13:57 at com.sun.jmx.mbeanserver.JmxMBeanServer.setAttribute(JmxMBeanServer.java:722)
11/05/17 13:13:57 at oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.setAttribute(ApplicationStateFilterMBeanServer.java:523)
11/05/17 13:13:57 at oracle.oc4j.admin.jmx.shared.UserMBeanServer.setAttribute(UserMBeanServer.java:597)
11/05/17 13:13:57 at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.setAttribute(LocalizationFilterMBeanServer.java:528)
11/05/17 13:13:57 at com.altana.xf.cargador.XFLoader.initJMXMBeans(XFLoader.java:148)
11/05/17 13:13:57 at es.altana.cws.cargadores.ComponentConfiguration.configXF(ComponentConfiguration.java:189)
11/05/17 13:13:57 at es.altana.cws.cargadores.ComponentConfiguration.init(ComponentConfiguration.java:113)
11/05/17 13:13:57 at com.altana.xf.webflow.GestorAppWeb.init(GestorAppWeb.java:48)
11/05/17 13:13:57 at com.altana.xf.webflow.XFServlet.init(XFServlet.java:96)
11/05/17 13:13:57 at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2528)
11/05/17 13:13:57 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5006)
11/05/17 13:13:57 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
11/05/17 13:13:57 at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
11/05/17 13:13:57 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
11/05/17 13:13:57 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
11/05/17 13:13:57 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
11/05/17 13:13:57 at com.evermind.server.Application.getHttpApplication(Application.java:592)
11/05/17 13:13:57 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
11/05/17 13:13:57 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
11/05/17 13:13:57 at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:701)
11/05/17 13:13:57 at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:308)
11/05/17 13:13:57 at com.evermind.server.http.HttpServer.setSites(HttpServer.java:280)
11/05/17 13:13:57 at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:180)
11/05/17 13:13:57 at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2541)
11/05/17 13:13:57 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1058)
11/05/17 13:13:57 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
11/05/17 13:13:57 at java.lang.Thread.run(Thread.java:595)
11/05/17 13:13:57 Caused by: java.io.IOException: Message publishing attempt failed
11/05/17 13:13:57 at com.evermind.server.rmi.JGroupJndiNamespaceReplicationService.sendContextValueUpdate(JGroupJndiNamespaceReplicationService.java:88)
11/05/17 13:13:57 at com.evermind.server.rmi.RMIServer.bindInCluster(RMIServer.java:707)
11/05/17 13:13:57 at com.evermind.server.rmi.RMIServer.rebind(RMIServer.java:696)
11/05/17 13:13:57 at com.evermind.server.rmi.RMIContext.rebind(RMIContext.java:162)
11/05/17 13:13:57 ... 42 more
11/05/17 13:13:57 Caused by: oracle.j2ee.clustering.MessageDispatchException: Cannot publish to unknown group
11/05/17 13:13:57 at oracle.j2ee.clustering.JGroupsMessageDispatcher.publishMessage(JGroupsMessageDispatcher.java:73)
11/05/17 13:13:57 at com.evermind.server.rmi.JGroupJndiNamespaceReplicationService.sendContextValueUpdate(JGroupJndiNamespaceReplicationService.java:83)
11/05/17 13:13:57 ... 45 more
could anybody help me?
Thank you very much!.
-
Getting error while deploying in active active clustering
Hi All,
i am trying to deploy j2ee application in active to active clustered OAS 10g 10.1.3.3 at the time of deploying i am getting the following error
08/10/23 22:22:45 WARNING: Application.setConfig Application: Security is in failed state as initialization failed.
java.lang.NoClassDefFoundError
08/10/23 22:22:45 oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: Security is in failed state as initialization failed
08/10/23 22:22:45 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:515)
08/10/23 22:22:45 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
08/10/23 22:22:45 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
08/10/23 22:22:45 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
08/10/23 22:22:45 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
08/10/23 22:22:45 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
08/10/23 22:22:45 at java.lang.Thread.run(Thread.java:595)
08/10/23 22:22:45 Caused by: java.lang.InstantiationException: Application: Security is in failed state as initialization failed
08/10/23 22:22:45 at com.evermind.server.Application.setConfig(Application.java:496)
08/10/23 22:22:45 at com.evermind.server.Application.setConfig(Application.java:339)
08/10/23 22:22:45 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1895)
08/10/23 22:22:45 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
08/10/23 22:22:45 ... 6 more
08/10/23 22:22:45 Caused by: java.lang.NoClassDefFoundError
08/10/23 22:22:45 at org.jgroups.JChannel.<init>(JChannel.java:109)
08/10/23 22:22:45 at com.oracle.jgroups.AbstractGroup.<init>(AbstractGroup.java:71)
08/10/23 22:22:45 at com.oracle.bricks.Manager.<init>(Manager.java:156)
08/10/23 22:22:45 at com.oracle.bricks.j2ee.SessionManager.<init>(SessionManager.java:47)
08/10/23 22:22:45 at com.oracle.bricks.j2ee.SessionManagerPrototypeImpl.create(SessionManagerPrototypeImpl.java:42)
08/10/23 22:22:45 at com.oracle.bricks.SessionManagerFactory.createManager(SessionManagerFactory.java:159)
08/10/23 22:22:45 at com.oracle.bricks.SessionManagerFactory.getManager(SessionManagerFactory.java:143)
08/10/23 22:22:45 at com.oracle.bricks.SessionManagerFactory.create(SessionManagerFactory.java:112)
08/10/23 22:22:45 at com.oracle.bricks.SessionManagerFactory.create(SessionManagerFactory.java:101)
08/10/23 22:22:45 at com.evermind.server.ejb.JGroupEJBService.<init>(JGroupEJBService.java:63)
08/10/23 22:22:45 at com.evermind.server.ejb.EJBContainer.initReplicationService(EJBContainer.java:124)
08/10/23 22:22:45 at com.evermind.server.ejb.EJBContainer.preInit(EJBContainer.java:152)
08/10/23 22:22:45 at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:170)
08/10/23 22:22:45 at com.evermind.server.Application.setConfig(Application.java:438)
08/10/23 22:22:45 ... 9 more
08/10/23 22:22:45 WARNING: DeployerRunnable.run java.lang.InstantiationException: Application: Security is in failed state as initialization failedoracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: Security is in failed state as initialization failed
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InstantiationException: Application: Security is in failed state as initialization failed
at com.evermind.server.Application.setConfig(Application.java:496)
at com.evermind.server.Application.setConfig(Application.java:339)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1895)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: java.lang.NoClassDefFoundError
at org.jgroups.JChannel.<init>(JChannel.java:109)
at com.oracle.jgroups.AbstractGroup.<init>(AbstractGroup.java:71)
at com.oracle.bricks.Manager.<init>(Manager.java:156)
at com.oracle.bricks.j2ee.SessionManager.<init>(SessionManager.java:47)
at com.oracle.bricks.j2ee.SessionManagerPrototypeImpl.create(SessionManagerPrototypeImpl.java:42)
at com.oracle.bricks.SessionManagerFactory.createManager(SessionManagerFactory.java:159)
at com.oracle.bricks.SessionManagerFactory.getManager(SessionManagerFactory.java:143)
at com.oracle.bricks.SessionManagerFactory.create(SessionManagerFactory.java:112)
at com.oracle.bricks.SessionManagerFactory.create(SessionManagerFactory.java:101)
at com.evermind.server.ejb.JGroupEJBService.<init>(JGroupEJBService.java:63)
at com.evermind.server.ejb.EJBContainer.initReplicationService(EJBContainer.java:124)
at com.evermind.server.ejb.EJBContainer.preInit(EJBContainer.java:152)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:170)
at com.evermind.server.Application.setConfig(Application.java:438)
... 9 more
Please help me out
Thanks in Advance
Regards
RamsCheck all the dimensions to see if any one of them is enabled for WF. Also, please paste the exact error message that you receive. Have you deployed this app before?
-
Failed to Deploy Workflow on Clustered SOA
Hi,
We have developed a custom workflow which is working fine in the test environment which is a non clustered environment. However, now when we are deploying the same workflow on live SOA environment which is clustered, we are getting the error below. Can anyone guide how to fix this or identify which class path variables are creating problems. Does this have to do anything with clustering or not?
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "ApprovalProcess" of composite "default/AprvlByOrgTypeAndExtOrg!1.0*soa_b262b8fb-b416-49e7-989f-29d8dd4aaf1c"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:896)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:128)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:242)
... 27 more
Caused by: ORABPEL-01005
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "ApprovalProcess" of composite "default/AprvlByOrgTypeAndExtOrg!1.0*soa_b262b8fb-b416-49e7-989f-29d8dd4aaf1c"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.compile(CubeProcessGenerator.java:304)
at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generate(CubeProcessGenerator.java:164)
at com.collaxa.cube.lang.compiler.BPEL1Processor.transform(BPEL1Processor.java:257)
at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:161)
at com.collaxa.cube.lang.compiler.BPEL1Processor.build(BPEL1Processor.java:514)
at com.collaxa.cube.lang.compiler.BPEL1Processor.handleLoadProblems(BPEL1Processor.java:485)
at com.collaxa.cube.lang.compiler.BPEL1Processor.loadProcess(BPEL1Processor.java:431)
at com.collaxa.cube.lang.compiler.BPEL1Processor.createCubeProcess(BPEL1Processor.java:367)
at com.collaxa.cube.engine.deployment.CubeProcessFactory.create(CubeProcessFactory.java:64)
at com.collaxa.cube.engine.deployment.CubeProcessLoader.create(CubeProcessLoader.java:111)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:240)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployComponent(DeploymentManager.java:185)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean._deployOrLoadComponent(CubeServerManagerBean.java:818)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean.deployComponent(CubeServerManagerBean.java:119)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean.deployComponent(BPELServerManagerBean.java:87)
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.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
at sun.reflect.GeneratedMethodAccessor911.invoke(Unknown Source)
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.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
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.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
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 $Proxy315.deployComponent(Unknown Source)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean_bp05wg_ICubeServerManagerLocalBeanImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean_bp05wg_ICubeServerManagerLocalBeanImpl.deployComponent(Unknown Source)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:885)
... 29 more
[2013-04-20T12:15:34.218+03:00] [soa_server1] [NOTIFICATION] [] [oracle.integration.platform.blocks.deploy.coordinator] [tid: ReplicatedCache:oimdomain_soa_clusterCacheService:EventDispatcher] [userId: <anonymous>] [ecid: 0000JsZEXoe0zkWFLzZR8A1HSNT7000002,0] [APP: soa-infra] Deployment updated: {id=8688c59a-1ed4-40d9-a38f-2b9fecd4a1b4, forceDefault=true, node=Member(Id=1, Timestamp=2013-04-19 19:58:02.795, Address=192.168.30.15:8088, MachineId=30223, Location=machine:idmnode02,process:4745, Role=WeblogicServer), isAutodeploy=false, status=rollback, command=deploy, state=on, compositeDN=default/AprvlByOrgTypeAndExtOrg!1.0*soa_b262b8fb-b416-49e7-989f-29d8dd4aaf1c, mode=active}
[2013-04-20T12:15:34.230+03:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.engine] [tid: ReplicatedCache:oimdomain_soa_clusterCacheService:EventDispatcher] [userId: <anonymous>] [ecid: 0000JsZEXoe0zkWFLzZR8A1HSNT7000002,0] [APP: soa-infra] unloading component default/AprvlByOrgTypeAndExtOrg!1.0*soa_b262b8fb-b416-49e7-989f-29d8dd4aaf1c/ApprovalProcess
[2013-04-20T12:15:34.231+03:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.engine] [tid: ReplicatedCache:oimdomain_soa_clusterCacheService:EventDispatcher] [userId: <anonymous>] [ecid: 0000JsZEXoe0zkWFLzZR8A1HSNT7000002,0] [APP: soa-infra] CubeServiceEngine=> undeploy component default/AprvlByOrgTypeAndExtOrg!1.0*soa_b262b8fb-b416-49e7-989f-29d8dd4aaf1c/ApprovalProcess
[2013-04-20T12:15:34.244+03:00] [soa_server1] [NOTIFICATION] [] [oracle.integration.platform.blocks.deploy.coordinator] [tid: ReplicatedCache:oimdomain_soa_clusterCacheService:EventDispatcher] [userId: <anonymous>] [ecid: 0000JsZEXoe0zkWFLzZR8A1HSNT7000002,0] [APP: soa-infra] Removing command lock for 8688c59a-1ed4-40d9-a38f-2b9fecd4a1b4
[2013-04-20T12:15:34.248+03:00] [soa_server1] [NOTIFICATION] [] [oracle.integration.platform.blocks.deploy.mds] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 5a6d66b5d0343155:45756851:13e23382f32:-8000-00000000000002a9,1:32230:4] [APP: soa-infra] SOA-21561
[2013-04-20T12:15:34.260+03:00] [soa_server1] [ERROR] [SOA-21537] [oracle.integration.platform.blocks.deploy.servlet] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 5a6d66b5d0343155:45756851:13e23382f32:-8000-00000000000002a9,1:32230:4] [APP: soa-infra] Sending back error message: There was an error deploying the composite on soa_server1: Operation failed - Member(Id=1, Timestamp=2013-04-19 19:58:02.795, Address=192.168.30.15:8088, MachineId=30223, Location=machine:idmnode02,process:4745, Role=WeblogicServer):Error occurred during deployment of component: ApprovalProcess to service engine: implementation.bpel, for composite: AprvlByOrgTypeAndExtOrg: ORABPEL-01005[[
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "ApprovalProcess" of composite "default/AprvlByOrgTypeAndExtOrg!1.0*soa_b262b8fb-b416-49e7-989f-29d8dd4aaf1c"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
; . Please see the server diagnostic logs on soa_server1 for details..
UZthe issue was resolved by removing an unnecessary call to jmx library
-
Error in accessing Processes in a Clustered WLS Environment
Hi all,
We are running a clustered deployment of OBPM in WLS. The cluster is behaving properly execpt published and deployed projects are displaying the following error when accessing the workspace:
The Process '/FooRequestProcess#Default-1.0' is not available.
The Process '/FooCenterRequestProcess#Default-1.0' is not available. Caused by: Process '/FooRequestProcess#Default-1.0' not available. Caused by: Cannot reach engine 'bpmQAengine' at URL: ''. Caused by: While trying to lookup 'engines.bpmQAengine' didn't find subcontext 'engines'. Resolved ''
Now, there was an issue with the JDBC Data Source in WLS which has since been fixed otherwise neither the engine or workspace would have come up. I have rebuilt and redeployed the engine, and I have undeployed and unplished the project then republished and redeployed it yet I still see this error.
The XA definitions are correct. Does anyone have a clue as to the cause of this?
TIA,
IGSHi,
Am getting the same error
The Process '/ExpenseReport#Default-1.0' is not available.
The Process '/ExpenseReport#Default-1.0' is not available. Caused by: Process '/ExpenseReport#Default-1.0' not available. Caused by: Cannot reach engine 'Engine3' at URL: ''. Caused by: While trying to lookup 'engines.Engine3' didn't find subcontext 'engines'. Resolved ''
When i tried checking --reload from directory am getting the following error
Error Caused by: JMX connection for J2EE_WEBLOGIC could not be established. URL: service:jmx:t3://cdi-server1.apac.apl.com:8101/jndi/weblogic.management.mbeanservers.runtime. Caused by: User: weblogic, failed to be authenticated.
Am not sure of this error... Please advice how to recitfy.. I have given the host and port correctly (pointed to one of the managed server)
The most interesting part is I have configured cluster in distributed environment. I have deployed the project to a cluster with two managed servers. one managed server is configured to another physical server..
When i try the workspace with server1:9001\workspace am able to see the deployed processes without any errors/exceptions
but when i try the workspace with server2:9002\workspace am getting process unavailable error..
server1:9001 -- managed server1 of the cluster to which the process is deployed
server2:9002 - managed server2 of the cluster to which the process is deployed
Kindly help
Thanks,
Charan
Edited by: charan27 on May 26, 2010 5:24 AM -
BlazeDS clustering with JBoss AS
Greetings,
I'm currently working on a system that uses Adobe Flex 3 and BlazeDS. It works fine in the actual TomCat standalone server, but we got plans to upgrade our infrastructure to a cluster environment running JBoss AS.
I got really concern when I begin to read many articles and forum posts about BlazeDS issues with clustering.
Is this a risk to my project ? Should I quit using BlazeDS ?
Thanks is advance,
Daniel CheidaHi Mauricio,
I installed OCMS in JBOSS AS 4.0.5.GA installation mode.I m facing the same problem on ocms startup, i.e., proxyregistrar war file is not deployed properly. OCMS not working properly with JBOSS AS 4.2.1 GA and JBOSS AS 4.2.2 GA too i.e., OCMS MBeans are not shown in the jmx-console page and the oc is not getting connected to the ocms, traffic.log file shows that application proxyregistrar is not found. Please help me out in solving this issue.
Regards,
Harini Dhanasekaran. -
Specifications of deployment and lifecycle of JMX beans in a JEE server
Hello,
one colleague of mine is developping a service that uses an MBean to mimick a singleton (the MBean is not used for instrumentation or administration, it just holds a pool of shared non-standard resources) within a Glassfish server.
I fought this idea (as I found a static utility would be both straightforward and easy to implement), but I took it, from this forum in particular, that it is a recommended way to use an MBean to serve as a shared resource holder. Point taken (I'm not concerned with clustering yet, I mean it's OK if the singleton is not cluster-wide)
The problem is, my colleague warns that he witnesses "strange deployment behavior" with regard to the MBEan: in particular, it seems that the MBean is not unregistered upon EAR undeployment, and not redeployed upon EAR re-deployment. In particular updates to the MBean code (currently packaged within the EAR) require a server restart to take effect.
From what I understand, the MBean is registered in a JVM-wide registry (the MBean server), and its classs and instances have a different lifecycle from the EAR, which has (some sort of, obviously more complex in the details) class-loader scope.
I admit I'm making that up, from various observation -> my main problem is that I can't find an appserver-agnostic specification of the MBean lifecycle in a JEE environement. The EJB3 specification do not mention JMX (but as I understand it EJB3 alters none of the way JMX works).
There seems however to be a J2EE-specific way of handling MBean - presumably because the hot-deployment-without-JVM-restart expands the MBean lifecycle beyond the EAR lifecycle.
Could you point me to authoritative references on JMX used in JEE servers. In particular specification of the lifecycle and deployment is extremely welcome.
I'm sorry for asking pointers: my own web searches turn up non-specifying docs.
And if I search on JMX and Glassfish together, I find articles on either:
- how Glassfish uses JMX to implement a lot of stuff, but not how Glassfish implements "JMX lifecycle" (if that expression even means something).
- how to extend Glassfish's adminsitration capabilites writing custom MBeans
Thanks in advance,
J.The location of the registration code is thus the key to all this. e.g If you register manually in some startup class, you can unload/load the required versions of the MBean code.That's what we do (using a RegistryServlet and init()/destroy() callbacks).
Sketchy description from what I understand of the developer's code: the init() indeed looks up the MBean and unregisters it if it exists, then registers it anew. Sometimes, the unregistering will fail (I haven't witnessed that), which triggered this topic.
We have to investigate it further (with more rigorous archiving and analysis of the error logs). I'll post updates if any.
If the MBeans are configured to be registered by the server itself (common) then the server would need to be restarted for the changes to be picked.OK. I have no idea how to configure where the MBeans are registered, time now to confess I have used JMX only in trivial cases so far.
It is my sincere hope that you won't need to use the techniques of chapter 8 of [this specification|http://java.sun.com/javase/6/docs/technotes/guides/jmx/JMX_1_4_specification.pdf] .
Indeed!
Probably my lack of JMX knowledge, but I have no idea what the "Mlet service" is in my scenario, and I suspect I won't want to know :o)
Overall this suggests that using JMX introduces unforeseen complexities, that may be overkill in our scenario (but I'm biased as I defended a couple of other alternatives).
Thanks for your help so far; I'm still looking for some document that would clarify how the JEE server, or how Glassfish specifically, handles MBean lifecycle. -
How to get node's JMX port?
How to get assigned node's JMX agent port from admin node in weblogic 9.2.2 clustered env?
1 Get an mbeanserverconnection
* http://e-docs.bea.com/wls/docs92/jmx/accessWLS.html
2 Use this connection to lookup the listen port:
ObjectName service = new ObjectName("com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean");
ObjectName serverConfiguration = (ObjectName) connection.getAttribute(service, "ServerConfiguration");
int port = Integer.parseInt(connection.getAttribute(serverConfiguration,"ListenPort").toString());
I hope this helps -
JMX configuration for Websphere in Process Administrator
How to set up the security credential information for JMX configuration in Process Admistrator for Websphere clustered environment? Is there any document which give instructions on the key store/trust store set up for JMX?
Thanksyou have to call a WF during teh saving of the infotype, probably you need to code in tje standard programme
no standard logic is there -
hi everybody,
I dont know why this is happening??. when i try to solve this problem, someones says that it is a problem of netbeans 5.5. I dont think so. My erorr is
deployed with moduleid = testJMS
ADM1082:Creating the application reference failed - Detailed Message:
com.sun.enterprise.deployment.backend.IASDeploymentException: Application reference testJMS already exists in server instance server.
at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.getAndValidateDeploymentTarget(DeploymentServiceUtils.java:1024)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.associate(PEDeploymentService.java:402)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.createApplicationReference(ApplicationsConfigMBean.java:668)
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:585)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:353)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:336)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:448)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:77)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:56)
at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:142)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:109)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
|#]
Undeployment of component [testJMS] failed. Application testJMS is referenced by server and must be referenced by no server instances or clusters.
can anyone help me???Hi,
Looks like all three questions posted by you are related to this error:
Undeployment of component [testJMS] failed. Application testJMS is referenced by server and must be referenced by no server instances or clusters.
This error message indicates your application is still referenced by other server instances and therefore could not be undeployed.
Have you deployed your application to multiple server instances and use asadmin undeploy command to undeploy from one server instance?
When an application is deployed/referenced on multiple server instances, and you want to remove one reference from a particular server instance, you cannot use "asadmin undeploy --target [server_instance] foo", you have to use the "asadmin delete-application-ref --target [server_instance] foo". -
Problem with tomcat 5 clustering
Hi all,
I am having one problem while performing tomcat clustering..
its showing one exception while starting the tomcat... i would be grateful if somebody help me out....
Feb 13, 2006 9:44:41 AM org.apache.catalina.cluster.tcp.SimpleTcpCluster start
INFO: Cluster is about to start
Feb 13, 2006 9:44:41 AM org.apache.catalina.cluster.tcp.SimpleTcpCluster start
INFO: Sleeping for 2000 secs to establish cluster membership
Feb 13, 2006 9:44:41 AM org.apache.catalina.cluster.tcp.SimpleTcpCluster start
SEVERE: Unable to start cluster.
java.lang.NullPointerException
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
sLoader.java:804)
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
sLoader.java:756)
at org.apache.catalina.cluster.MembershipFactory.getMembershipService(Me
mbershipFactory.java:93)
at org.apache.catalina.cluster.tcp.SimpleTcpCluster.start(SimpleTcpClust
er.java:517)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1115)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518
at org.apache.catalina.core.StandardService.start(StandardService.java:5
19)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:234
5)
at org.apache.catalina.startup.Catalina.start(Catalina.java:598)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Feb 13, 2006 9:44:41 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Feb 13, 2006 9:44:41 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:D:\tomcat50\conf\Catalina\l
ocalhost\admin.xml
Feb 13, 2006 9:44:42 AM org.apache.struts.util.PropertyMessageResources <init>
thanks and regardsjava.lang.NoSuchMethodError: org.apache.naming.resources.ProxyDirContext.lookupCache(Ljava/lang/String;)Lorg/apache/naming/resources/CacheEntry; org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:663)
Looks to me like you're running with a mix-n-match version of classes. The serveResource method is expecting that you have the correct version of the org.apache.naming.resources.ProxyDirContext class which has that lookupCache method with that signature, but it is not there. I don't know how to tell you to fix your installation, but it is goofed up.
Maybe you are looking for
-
I am trying to assign a device (HP OfficeJet Pro 8500 printer/fax/Scanner) to Image Capture. Using browse the device is listed, however I do not seem to be able to get it assigned so that Image Capture will use it. What am I doing wrong. Thanks! JB
-
How To Fix Charging is not supported with this accessory
This started happening to me after upgrading to the latest software. I have 3 different cables and none work. I think Apple purposely planted the bug. As if there aren't enought problems with these things
-
Hello I'm a novice user of LiveCycle and I'm trying to see if there's a solution for this issue we've come across. We've used LiveCycle to redesign human resource/payroll forms in our organization. One of the items we use is the current date field, w
-
Tax code and price list not appear automatic
Hi My Dear, i work in R12.1.1 (solution beacon) -I assigned tax out classification code to an item from the master item,when navigate to sales order and enter the item,the tax code dose not joined with item ,it should be selected from the LOV - also
-
No thumbnails in Theme Chooser for my created themes?
I just upgraded to a new MBPro with Snow Leopard. I moved my Keynote themes from the old PowerBook (running Tiger) to the new laptop, and they all seem to work... except that in the Theme Chooser, where I had been seeing thumbnail previews of my user