[EJB 3.0] - java.lang.NoClassDefFoundError: org/quartz/SchedulerExceptio
by kristof_taveirne
Hi,
I installed JBoss 4.0.4GA and I used the "all" configuration.
I afterwards downloaded the EJB3-RC8-FD distribution and installed it according to the INSTALL howto included.
When I run the server I get the following error upon starting:
16:55:30,203 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/quartz-ra.rar
| 16:55:30,203 WARN [ServiceController] Problem starting service jboss.jca:servic
| e=RARDeployment,name='quartz-ra.rar'
| java.lang.NoClassDefFoundError: org/quartz/SchedulerException
| at java.lang.Class.getDeclaredConstructors0(Native Method)
| at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
| at java.lang.Class.getConstructor0(Class.java:2640)
| at java.lang.Class.newInstance0(Class.java:321)
| at java.lang.Class.newInstance(Class.java:303)
| at org.jboss.resource.deployment.ResourceAdapterFactory.createResourceAd
| apter(ResourceAdapterFactory.java:69)
| at org.jboss.resource.deployment.RARDeployment.startService(RARDeploymen
| t.java:108)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
| upport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
| eanSupport.java:245)
| at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBea
| nSupport.java:124)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
| 64)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
| ler.java:978)
| at $Proxy0.start(Unknown Source)
| ...
|
|
| 16:55:31,984 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.jca:service=RARDeployment,name='quartz-ra.rar'
| State: FAILED
| Reason: java.lang.NoClassDefFoundError: org/quartz/SchedulerException
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.jca:service=RARDeployment,name='quartz-ra.rar'
| State: FAILED
| Reason: java.lang.NoClassDefFoundError: org/quartz/SchedulerException
|
The schedulerException class is included in the quartz-all-1.5.2.jar file which is placed in the C:\jboss-4.0.4.GA\lib directory.
Somehow this file doesn't get loaded before the quartz-ra.rar file is being deployed.
Is there anyone who has any idea why this is, and how I can fix it?
Thanks alot!
Kristof Taveirne.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957768#3957768
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957768
19 years, 9 months
[Clustering/JBoss] - ClusteredSingleSignOn problem
by roberto
I try to setup a cluster with a SSO.
Cluster seem works fine, but SSO not.
Maybe i make some mistake in cfg..
I'm using Apache 2.0.58 + Mod_jk2 + Jboss 4.0.4
using sticky session
I start from "all" server cfg and set jmvRoute, useJK, loopback for UDP connection (i'm using a windows environment), and also set
to activate ClusteredSingleSignOn
My war contains distributable tag and use a FORM based authentication method (based on users and roles properties file).
The problem is that SSO doesn't works.
E.g.:
The user connect to my application (http://myapp:80/app)
This request is routed to node1 (node2 is running also)
The user execute login and works as usually
Now node1 died
When the user done a new request, the request is routed to node2 but the use must autheticate itself again .
On the log i can see this message: "SSO cookie is not present"
2006-07-13 15:34:38,781 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] SSO cookie is not present
2006-07-13 15:34:38,781 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] check to see if needs to store and replicate session with id eMgnAW0y81sbuSJGlhp4-g**.node1
2006-07-13 15:34:38,781 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] processSessionRepl(): session is dirty. Will increment version from: 21 and replicate.
so seems that SSO cookie is not propagated.. why? (my browser allow cookie)
Any idea?
Thank You
Roberto
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957765#3957765
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957765
19 years, 9 months