Bug 304873 - Target <weblogic-setup> in weblogic.xml failed to create datasource connecting to Apache Derby Network Server 10.5.3.0
Summary: Target <weblogic-setup> in weblogic.xml failed to create datasource connectin...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard: derby
Keywords: test
Depends on:
Blocks:
 
Reported: 2010-03-05 14:52 EST by Edwin Tang CLA
Modified: 2022-06-09 10:20 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edwin Tang CLA 2010-03-05 14:52:43 EST
Target <weblogic-setup> in jpa/eclipselink.jpa.test/weblogic.xml failed to create datasource connecting to Apache Derby Network Server 10.5.3.0

Error Message:
==============
server-setup:

weblogic-setup:
 [wlconfig] Ok
 [wlconfig] Ok
 [wlconfig] Ok
 [wlconfig] Ok
 [wlconfig] Ok
 [wlconfig] Ok
 [wlconfig] Ok
 [wlconfig] 
 [wlconfig] weblogic.management.DistributedManagementException : Distributed Management [1 exceptions] 
 [wlconfig] 

BUILD FAILED
/net/qaott07.ca.oracle.com/scratch/aime/eclipselink/org.eclipse.persistence/trunk/jpa/eclipselink.jpa.test/build.xml:1391: The following error occurred while executing this line:
/net/qaott07.ca.oracle.com/scratch/aime/eclipselink/org.eclipse.persistence/trunk/jpa/eclipselink.jpa.test/weblogic.xml:135: Error invoking MBean command: javax.management.MBeanException

Total time: 6 seconds
Comment 1 Michael OBrien CLA 2010-03-11 10:59:18 EST
>see additional info setting up a local server Derby 10.5.3.0 datasource for an EclipseLink based EAR via the WebLogic console.
http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial#Derby_JTA_Datasource_Setup
Comment 2 Kevin Yuan CLA 2010-06-03 14:33:27 EDT
This bug fix did not make the cut off for 2.1. We are deferring the bugs to
Future where we can properly sort them all together and severity. And then
assign them accordingly to future patch sets and releases.
Comment 3 Kevin Yuan CLA 2011-05-10 09:34:41 EDT
Since Derby need to provide database name and server name (host) except database URL, so not like other database (e.g. Oracle, MySQL, DB2, SQLServer, etc) only need database URL. 
Fix this issue by providing special Python scripts for Derby (wls_derby_setup.py).
Verified by running JPA LRG on WLS 10.3.4 against Derby 10.

Code reviewed by Edwin Tang.
Checked in trunk (2.3).
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:20:35 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink