Bug 110342

Summary: 'ccm load' doesn't pick up the classes12.jar
Product: [Retired] Red Hat Web Application Framework Reporter: Daniel Berrange <berrange>
Component: otherAssignee: Dennis Gregorovic <dgregor>
Status: CLOSED RAWHIDE QA Contact: Jon Orris <jorris>
Severity: medium Docs Contact:
Priority: medium    
Version: nightlyCC: steve.etherington
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-12-03 19:45:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 109665    

Description Daniel Berrange 2003-11-18 17:33:09 UTC
Description of problem:

The stop & start scripts for servlet containers automatically pick up
the $ORACLE_HOME and stuff classes12.zip into the appropriate place
(IIRC, java.ext.dirs). The ccm-run script, however, doesn't seem to do
the same. So when running 'ccm load' it is unable to find the Oracle
JDBC driver:

Exception in thread "main"
com.arsdigita.util.UncheckedWrapperException (root cause:
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver)
        at com.arsdigita.util.Classes.loadClass(Classes.java:50)
        at
com.arsdigita.util.jdbc.Connections.acquire(Connections.java:64)
        at com.arsdigita.packaging.Load.run(Load.java:232)
        at com.arsdigita.packaging.MasterTool.main(MasterTool.java:100)
Root cause: java.lang.ClassNotFoundException:
oracle.jdbc.driver.OracleDriver
        at java.net.URLClassLoader.findClass(URLClassLoader.java:240)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:514)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:441)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:446)
        at java.lang.Class.forName1(Native Method)
        at java.lang.Class.forName(Class.java:142)
        at com.arsdigita.util.Classes.loadClass(Classes.java:48)
        at
com.arsdigita.util.jdbc.Connections.acquire(Connections.java:64)
        at com.arsdigita.packaging.Load.run(Load.java:232)
        at com.arsdigita.packaging.MasterTool.main(MasterTool.java:100)
[arturo@staging01 aplaws-camden]$ echo $ORACLE_HOME 
/opt/oracle/product/9.2.0
[arturo@staging01 aplaws-camden]$ ls $ORACLE_HOME/jdbc/lib/classes12.jar 
/opt/oracle/product/9.2.0/jdbc/lib/classes12.jar
[arturo@staging01 aplaws-camden]$ 


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel Berrange 2003-11-21 14:54:50 UTC
*** Bug 110573 has been marked as a duplicate of this bug. ***

Comment 2 Dennis Gregorovic 2003-11-21 16:13:00 UTC
@38203

Comment 3 Jon Orris 2003-12-01 16:02:34 UTC
Marking QA Ready.
Dan, can you comment on whether the solution is OK, as you opened the
ticket?


Comment 4 Daniel Berrange 2003-12-01 16:21:02 UTC
Yeah, looks ok to me.