AW: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Regele, Manfred

Ups,

I had a similar problem with tomcat 4. I renamed classes.zip into
classes.jar.
Its the first time I read this with orion, though.

Manfred Regele 
ADIG Investment GmbH
22 MethodenTools
Richard-Reitzner-Allee 2
85540 Haar
Tel: 089/46268-308
mailto:[EMAIL PROTECTED]
http://www.adig.de

 -Ursprüngliche Nachricht-
 Von:  Dan Lee [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Mittwoch, 19. September 2001 18:44
 An:   Orion-Interest
 Betreff:  Stupid CLASSPATH and Oracle JDBC drivers. Need help!
 
 Hi All,
 
 I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed 
 my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it. 
 I've also tried previous posted suggestions of modifying the shell 
 $CLASSPATH variable and the library path located in the application.xml 
 file. I have no problems on my Intel Win 2000 platform running Java 2 
 SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC 
 platform running: Java(TM) 2 Runtime Environment, Standard Edition 
 (build 1.3.1.01-release-010816-12:37)
 Java HotSpot(TM) Server VM (build 1.3.1 
 1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).
 
 I'm also using the same classes12.zip on both machines. I get the 
 following error upon server startup:
 
Error initializing data-source 'jdbc/OracleDSCore': 
 DriverManagerDataSource driver 'oracle.jdbc.driverd.'
 
 Upon a login attempt to my app, which tries to use the Oracle 
 Datasource, I get the following:
2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR 
 java.lang.Class - SQL Exception during getting userinfo
 java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:537)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown 
 Source)
at 
 com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:29
 7) 
 
at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
at 
 com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
at 
 __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:8
 4) 
 
at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
at com.evermind._ah._rad(Unknown Source)
at com.evermind.server.http.JSPServlet.service(Unknown Source)
at com.evermind._cxb._abe(Unknown Source)
at com.evermind._cxb._uec(Unknown Source)
at com.evermind._io._twc(Unknown Source)
at com.evermind._io._gc(Unknown Source)
at com.evermind._if.run(Unknown Source)
 Database error, Please try again. br If problem persist please contact 
 administrator.
 
 Everything works OK if I unzip the JDBC drivers into the /lib 
 directory...but this is a hack would like to know why it won't pick up 
 my ZIP file. It works with other JARs I put inarghhg!
 
 Any help is MUCH appreciated.
 --Dan
 
 
 
 
 




Re: AW: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Stephen Davidson

Greetings.

I had to actually unpack the zip file, and repack the files using the
jar tool.  I am running Orion 1.5.2.

-Steve

Regele, Manfred wrote:
 
 Ups,
 
 I had a similar problem with tomcat 4. I renamed classes.zip into
 classes.jar.
 Its the first time I read this with orion, though.
 
 Manfred Regele
 ADIG Investment GmbH
 22 MethodenTools
 Richard-Reitzner-Allee 2
 85540 Haar
 Tel: 089/46268-308
 mailto:[EMAIL PROTECTED]
 http://www.adig.de
 
  -Ursprüngliche Nachricht-
  Von:  Dan Lee [SMTP:[EMAIL PROTECTED]]
  Gesendet am:  Mittwoch, 19. September 2001 18:44
  An:   Orion-Interest
  Betreff:  Stupid CLASSPATH and Oracle JDBC drivers. Need help!
 
  Hi All,
 
  I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed
  my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it.
  I've also tried previous posted suggestions of modifying the shell
  $CLASSPATH variable and the library path located in the application.xml
  file. I have no problems on my Intel Win 2000 platform running Java 2
  SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC
  platform running: Java(TM) 2 Runtime Environment, Standard Edition
  (build 1.3.1.01-release-010816-12:37)
  Java HotSpot(TM) Server VM (build 1.3.1
  1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).
 
  I'm also using the same classes12.zip on both machines. I get the
  following error upon server startup:
 
 Error initializing data-source 'jdbc/OracleDSCore':
  DriverManagerDataSource driver 'oracle.jdbc.driverd.'
 
  Upon a login attempt to my app, which tries to use the Oracle
  Datasource, I get the following:
 2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR
  java.lang.Class - SQL Exception during getting userinfo
  java.sql.SQLException: No suitable driver
 at java.sql.DriverManager.getConnection(DriverManager.java:537)
 at java.sql.DriverManager.getConnection(DriverManager.java:177)
 at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
  Source)
 at
  com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:29
  7)
 
 at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
 at
  com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
 at
  __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:8
  4)
 
 at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
 at com.evermind._ah._rad(Unknown Source)
 at com.evermind.server.http.JSPServlet.service(Unknown Source)
 at com.evermind._cxb._abe(Unknown Source)
 at com.evermind._cxb._uec(Unknown Source)
 at com.evermind._io._twc(Unknown Source)
 at com.evermind._io._gc(Unknown Source)
 at com.evermind._if.run(Unknown Source)
  Database error, Please try again. br If problem persist please contact
  administrator.
 
  Everything works OK if I unzip the JDBC drivers into the /lib
  directory...but this is a hack would like to know why it won't pick up
  my ZIP file. It works with other JARs I put inarghhg!
 
  Any help is MUCH appreciated.
  --Dan
 
 
 
 
 

-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208