[Clustering/JBoss] - Re: Clustering begginner..please HELP
by davewebb
You need to do a few things.
1) Check your log files when the server starts to make sure the instances see each other and join the cluster.
2) Try deploying you WAR file in the farm directory of one server and if #1 above is working, then your WAR file will automatically get copied over the the farm dir of the other server.
3) To test the clustering, you have to have a load balancing facility in place in front of the 2 Jboss servers. I uses Apache with mod_jk 1.2 for one app and we use apache with the newer ajp module for some other apps. If you configure apache _without_ sticky session, then your requests will get ditrbuted to the 2 servers. If you test a use case that uses the HTTPSession object, then you will know right away if your session replication is successful.
Good luck.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013692#4013692
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013692
19Â years, 2Â months
[JBoss jBPM] - Re: BPEL Installation Question
by jgreiner
Well I took a few steps back to get this working. I decided that I would deploy the bpel engine to the jboss server that comes with the jbpm starter kit. I get it compiled and deployed but get a error.
| 08:56:45,571 INFO [STDOUT] java.lang.NoClassDefFoundError: org/jbpm/bpel/wsdl/Property
| 08:56:45,571 INFO [STDOUT] at java.lang.Class.getDeclaredMethods0(Native Method)
| 08:56:45,571 INFO [STDOUT] at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
| 08:56:45,571 INFO [STDOUT] at java.lang.Class.getDeclaredMethods(Class.java:1763)
| 08:56:45,571 INFO [STDOUT] at org.hibernate.property.BasicPropertyAccessor.getterMethod(BasicPropertyAccessor.java:317)
| 08:56:45,571 INFO [STDOUT] at org.hibernate.property.BasicPropertyAccessor.getGetterOrNull(BasicPropertyAccessor.java:297)
| 08:56:45,571 INFO [STDOUT] at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:280)
| 08:56:45,571 INFO [STDOUT] at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:275)
| 08:56:45,571 INFO [STDOUT] at org.hibernate.util.ReflectHelper.getter(ReflectHelper.java:86)
| 08:56:45,571 INFO [STDOUT] at org.hibernate.util.ReflectHelper.reflectedPropertyClass(ReflectHelper.java:77)
| 08:56:45,571 INFO [STDOUT] at org.hibernate.mapping.ToOne.setTypeUsingReflection(ToOne.java:58)
| 08:56:45,571 INFO [STDOUT] at org.hibernate.cfg.HbmBinder.createProperty(HbmBinder.java:2022)
| 08:56:45,571 INFO [STDOUT] at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:2007)
| 08:56:45,571 INFO [STDOUT] at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1897)
| 08:56:45,571 INFO [STDOUT] at org.hibernate.cfg.HbmBinder.bindSubclass(HbmBinder.java:779)
| 08:56:45,602 INFO [STDOUT] at org.hibernate.cfg.HbmBinder.handleSubclass(HbmBinder.java:2068)
| 08:56:45,602 INFO [STDOUT] at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1967)
| 08:56:45,602 INFO [STDOUT] at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1897)
| 08:56:45,602 INFO [STDOUT] at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:325)
| 08:56:45,602 INFO [STDOUT] at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:239)
| 08:56:45,602 INFO [STDOUT] at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:110)
| 08:56:45,602 INFO [STDOUT] at org.hibernate.cfg.Configuration.add(Configuration.java:379)
| 08:56:45,602 INFO [STDOUT] at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:418)
| 08:56:45,602 INFO [STDOUT] at org.hibernate.cfg.Configuration.addResource(Configuration.java:473)
| 08:56:45,602 INFO [STDOUT] at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1414)
| 08:56:45,602 INFO [STDOUT] at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1382)
| 08:56:45,602 INFO [STDOUT] at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1363)
| 08:56:45,618 INFO [STDOUT] at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1339)
| 08:56:45,618 INFO [STDOUT] at org.hibernate.cfg.Configuration.configure(Configuration.java:1259)
| 08:56:45,618 INFO [STDOUT] at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:91)
| 08:56:45,618 INFO [STDOUT] at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:69)
| 08:56:45,618 INFO [STDOUT] at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
| 08:56:45,618 INFO [STDOUT] at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94)
| 08:56:45,618 INFO [STDOUT] at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98)
| 08:56:45,634 INFO [STDOUT] at org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersistenceService.java:281)
| 08:56:45,634 INFO [STDOUT] at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:526)
| 08:56:45,634 INFO [STDOUT] at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:109)
| 08:56:45,634 INFO [STDOUT] at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56)
|
Does anyone know why I would be getting this? I look in the jbpm-bpel.jar that gets packaged in the jbpm-bpel.sar and see the class there.
Thanks
Jason
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013687#4013687
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013687
19Â years, 2Â months