Bug 1309559

Summary: BPMS installer create invalid XA datasource configuration
Product: [Retired] JBoss BPMS Platform 6 Reporter: Abhijit humbe <abhumbe>
Component: InstallerAssignee: Miroslav Sochurek <msochure>
Status: CLOSED EOL QA Contact: Dominik Hanak <dhanak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:04:22 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:
Embargoed:

Description Abhijit humbe 2016-02-18 06:18:54 UTC
Description of problem:

If we create an XA datasource using the BPMS installer, serve startup fails with below exception:
=========
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (MSC service thread 1-1) IJ000604: Throwable while attempting to get a new connection: null: javax.resource.ResourceException: Could not create connection
	at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:525)
	at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:434)
. . . 	
Caused by: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
==========

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Try to install BPMS using jar installer, in "Configure runtime environment" panel, select "perform advanced configuration" 
2.Select the option 'Install Business-Central Datasource' 
3. Configure XA-Datasource, and try to start server instance after completion of installation.


Additional info:
Installer created datasource with invalid parameter "Url"
~~~
<xa-datasource-property name="Url">
    jdbc:oracle:thin:@HostName:1521:orcl
</xa-datasource-property>
~~~

To start server successfully we have to change this property like as:

~~~
<xa-datasource-property name="URL">
    jdbc:oracle:thin:@HostName:1521:oracl
</xa-datasource-property>
~~~