Bug 779955 (SOA-2315)

Summary: SOA-P 5.1 - schema tool fails to configure riftsaw deployment/datasources
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Len DiMaggio <ldimaggi>
Component: Tooling, Build ProcessAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.1.0.ER1   
Target Milestone: ---   
Target Release: 5.1.0 GA, 5.1.0.ER2   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2315
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-11 04:09:31 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:
Description Flags
server.log
none
persistence.xml none

Description Len DiMaggio 2010-09-13 20:38:07 UTC
project_key: SOA

See attached server.log - these errors are seen at server start:


2010-09-13 13:04:33,319 ERROR [org.jboss.soa.bpel.runtime.engine.ode.BPELEngineImpl] (main) DAO INSTANTIATION FAILED: org.apache.ode.dao.jpa.hibernate.BpelDAOConnectionFactoryImpl and org.apache.ode.dao.jpa.hibernate.ConfStoreDAOConnectionFactoryImpl
javax.persistence.PersistenceException: invalid persistence.xml
  
---------------------------------------------

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "jboss.esb.vfsfile:/jboss/local/51_ER1_temp/jboss-soa-p.5/jboss-as/server/production/deploy/riftsaw.esb/" is missing the following dependencies:
    Dependency "<UNKNOWN jboss.esb.vfsfile:/jboss/local/51_ER1_temp/jboss-soa-p.5/jboss-as/server/production/deploy/riftsaw.esb/>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'jboss.bpel:service=BPELEngine' **")

DEPLOYMENTS IN ERROR:
  Deployment "BPELEngine" is in error due to the following reason(s): org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'persistence'.
  Deployment "<UNKNOWN jboss.esb.vfsfile:/jboss/local/51_ER1_temp/jboss-soa-p.5/jboss-as/server/production/deploy/riftsaw.esb/>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jboss.bpel:service=BPELEngine' **

Comment 1 Len DiMaggio 2010-09-13 20:39:39 UTC
Attachment: Added: server.log


Comment 2 Julian Coleman 2010-09-14 13:50:25 UTC
Unpacking:

  .../server/<profile>/deploy/riftsaw.sar/lib/riftsaw-dao-jpa-*.jar

and replacing the file:

  META-INF/persistence.xml

with the attached replacement works around this.

Comment 3 Julian Coleman 2010-09-14 13:50:25 UTC
Attachment: Added: persistence.xml


Comment 4 Brian Fitzpatrick 2010-09-15 21:56:42 UTC
Len, we have Julian's workaround for this one. Is this still an issue?

Comment 5 Anne-Louise Tangring 2010-09-21 18:29:59 UTC
Candidate for SOA 5.1.0.

Comment 6 Julian Coleman 2010-10-12 15:24:13 UTC
This issue no longer shows up in tests with SOA ER2.

Comment 7 Len DiMaggio 2010-10-25 15:20:38 UTC
Verified resolved in 5.1 ER3 build

Comment 8 David Le Sage 2011-02-11 04:08:49 UTC
Temporarily reopening to update release note info.

Comment 9 David Le Sage 2011-02-11 04:09:20 UTC
Release Notes Docs Status: Added: Not Required