JBoss Community

Re: JBPM5 integration with oracle

created by Arun Prasath siva thanu pillai in jBPM - View the full discussion

Hi,

 

Now jboss has started. The issue is because of the port number in jboss server in build.xml. Previously it was 8180 which was blocked by firewall, so modified to 8080.its working now. But i am getting the following error.  Though I copied the oracle driver "ojdbc6_11.2.0.1.jar" in jbpm runtime folder and set the classpath for this jar file. I am still getting this error. Please help me to solve this issue.

 

Here I havent commented out the dependancy of "start.human.task" in "start.demo" target.

 

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

 

D:\jbpm-5.0.0-installer-full_old\jbpm-installer>ant start.demo
Buildfile: D:\jbpm-5.0.0-installer-full_old\jbpm-installer\build.xml

start.jboss:

start.human.task:
    [javac] D:\jbpm-5.0.0-installer-full_old\jbpm-installer\build.xml:523: warning: 'includeantruntime' was not set, def
aulting to build.sysclasspath=last; set to false for repeatable builds
     [java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
     [java] SLF4J: Defaulting to no-operation (NOP) logger implementation
     [java] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
     [java] Exception in thread "main" javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable t
o build EntityManagerFactory
     [java]     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)
     [java]     at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126)
     [java]     at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
     [java]     at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
     [java]     at org.jbpm.DemoTaskService.main(Unknown Source)
     [java] Caused by: org.hibernate.HibernateException: JDBC Driver class not found: oracle.jdbc.OracleDrive
     [java]     at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.ja
va:89)
     [java]     at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.ja
va:137)
     [java]     at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29)

     [java]     at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89)
     [java]     at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
     [java]     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
     [java]     at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
     [java]     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
     [java]     ... 4 more
     [java] Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDrive
     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     [java]     at java.security.AccessController.doPrivileged(Native Method)
     [java]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
     [java]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:169)
     [java]     at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:123)
     [java]     at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.ja
va:84)
     [java]     ... 11 more
     [java] Java Result: 1

start.demo:

Reply to this message by going to Community

Start a new discussion in jBPM at Community