[jboss-user] [jBPM] - Error while deploying the JBPM project from eclipse

Sameer Tiwari do-not-reply at jboss.com
Wed Apr 21 12:48:39 EDT 2010


Sameer Tiwari [http://community.jboss.org/people/sameerlt1983] replied to the discussion

"Error while deploying the JBPM project from eclipse"

To view the discussion, visit: http://community.jboss.org/message/538818#538818

--------------------------------------------------------------
Hi Maurice,

Thanks for your response ihave been waiting for this since long time. The error is gone but seems o be givin me some other error now.
I think i did not mak my self clear in my question what i have done.

Step 1 : I have taken the Jboss 4.2.4 GA server and set my JBOSS_HOME in the environment variable
Step 2 : Then install the jbpm-2.3.5 sp1.jar which has created aa jbpm folder in the deploy folder of my JBoss server.
Step 3 : Then i set my JBPM_Home as the one which is created while installing the jar file in step2.
Step 4: In my eclipse i have set my runtime as the jbpm_home.
Step 5: I create a new JBPM process project and try to deploy the archive. It gives me an error "an unexpected error occured" and on the Jboss console its giving me follwing exception.

java.lang.IncompatibleClassChangeError: class org.jbpm.job.ExecuteActionJob has interface org.jbpm.job.Job as super class
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:690)
        at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:670)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:200)
        at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
        at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:527)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
        at java.lang.Class.getDeclaredMethods(Class.java:1791)
        at org.hibernate.property.BasicPropertyAccessor.getterMethod(BasicPropertyAccessor.java:317)
        at org.hibernate.property.BasicPropertyAccessor.getGetterOrNull(BasicPropertyAccessor.java:297)
        at org.hibernate.property.BasicPropertyAccessor.getGetterOrNull(BasicPropertyAccessor.java:304)
        at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:280)
        at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:275)
        at org.hibernate.util.ReflectHelper.getter(ReflectHelper.java:80)
        at org.hibernate.util.ReflectHelper.reflectedPropertyClass(ReflectHelper.java:71)
        at org.hibernate.mapping.SimpleValue.setTypeUsingReflection(SimpleValue.java:276)
        at org.hibernate.cfg.HbmBinder.bindSimpleId(HbmBinder.java:401)
        at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:334)
        at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:273)
        at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:144)
        at org.hibernate.cfg.Configuration.add(Configuration.java:669)
        at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:504)
        at org.hibernate.cfg.Configuration.addResource(Configuration.java:566)
        at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1587)
        at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1555)
        at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1534)


Please let e know if i am doing the integration of JBPM and Jboss correctly. Or shouId i use the jbpm suite which i have downloaded from source forge.net site.

Thanks in advance
Sameer

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/538818#538818]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100421/9e9ff167/attachment.html 


More information about the jboss-user mailing list