| Summary: | FATAL [DatasourceConnectionProvider] Could not find datasource: java:/JbpmDS - seen on server startup - intermittent - timing issue? | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 4 | Reporter: | Len DiMaggio <ldimaggi> | ||||||
| Component: | Standalone Server | Assignee: | Len DiMaggio <ldimaggi> | ||||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 4.2 CP01 | ||||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 4.2 CP02 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| URL: | http://jira.jboss.org/jira/browse/SOA-510 | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: |
/opt/CP01/soa-4.2.0.GA_CP01.CR3.zip
/opt/CP01/standalone-soa-4.2.0.GA_CP01.CR3.zip
|
|||||||
| Last Closed: | 2008-06-10 09:03:59 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
The server.log was overwritten - here is stdout from the standalone server startup/shutdown. Attachment: Added: NameNotFoundException.txt The system was: cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 13 model name : Intel(R) Pentium(R) M processor 1.70GHz stepping : 6 cpu MHz : 600.000 cache size : 2048 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr mce cx8 mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe up est tm2 bogomips : 1199.41 Note: soa-510 and soa-511 did not happen at the same time. This was all on the same system - but on different startup sessions. This error:
2008-04-09 14:56:10,954 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{}
2008-04-09 14:56:10,956 FATAL [org.hibernate.connection.DatasourceConnectionProvider] Could not find datasource: java:/JbpmDS
javax.naming.NameNotFoundException: JbpmDS not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
Is not a regression in CP01 - it's also in the GA bits - see attached server log
Attachment: Added: server.log.gz This is a missing dependency from one of the MBean definitions Link: Added: This issue depends JBESB-1635 Attachment: Added: server.log.gz Attachment: Removed: server.log.gz This is a race caused by the missing dependency on the MBean, see linked JBESB issue. It has existed in GA. The workaround is to add the following to the JbpmService within jbpm-service.xml <depends>jboss.esb:service=JBPMDatabaseInitializer</depends> Link: Added: This issue is duplicated by SOA-505 Verified in CR1, config file modified |
Date of First Response: 2008-04-14 06:50:56 project_key: SOA This is an intermittent problem - probably a timing issue - I've seen this one in 10 tries today - with CP01_CR3 - on startup of the standalone/default server: 11:32:49,464 FATAL [DatasourceConnectionProvider] Could not find datasource: java:/JbpmDS javax.naming.NameNotFoundException: JbpmDS not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) Maybe the Job Exceutor thread is running before DS deployment/after undeployment?