[jboss-user] [JBoss jBPM] - Re: Help with Timers

gygerl do-not-reply at jboss.com
Mon Oct 16 11:30:38 EDT 2006


Hi.
Got the same problem.
I changed config in file "default.jbpm.cfg.xml"

  | <string name="resource.hibernate.cfg.xml" value="oracle/hibernate.cfg.xml" />
  | 
and it worked.
Got another error so : 

  | 17:12:37,667 [JbpmScheduler] INFO  ConnectionProviderFactory : Initializing connection provider: org.hibernate.connection.DatasourceConnectionProvider
  | 17:12:37,682 [JbpmScheduler] INFO  NamingHelper : JNDI InitialContext properties:{}
  | 17:12:37,713 [JbpmScheduler] FATAL DatasourceConnectionProvider : Could not find datasource: java:/OracleDS
  | javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
  | 	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
  | 	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
  | 	at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284)
  | 	at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | 	at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
  | 	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
  | 	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
  | 	at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
  | 	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
  | 	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
  | 	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
  | 	at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
  | 	at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
  | 	at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
  | 	at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:243)
  | 	at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:425)
  | 	at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
  | 	at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
  | 
any idea ?
Thanks in advance.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978574#3978574

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978574



More information about the jboss-user mailing list