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

2001-09-19 Thread Mike Fontenot

We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
recognized on Win2K and solaris. We never figured out why this is the case.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
Sent: Wednesday, September 19, 2001 10:44 AM
To: Orion-Interest
Subject: 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:297)

   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:84)

   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: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread The elephantwalker

How do you start orion?

should be

java -jar orion.jar

anything else may defeat the orion.jar class loader, which actually loads
the *.jar and *.zip from the orion/lib directory.

regards,

the elephantwalker
www.elephantwalker.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot
Sent: Wednesday, September 19, 2001 10:34 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
recognized on Win2K and solaris. We never figured out why this is the case.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
Sent: Wednesday, September 19, 2001 10:44 AM
To: Orion-Interest
Subject: 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:297)

   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:84)

   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: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Mike Fontenot

Using:

java -server -Xincgc -Xms70m -Xmx128m -jar ./orion.jar -out ./orion.log

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of The
elephantwalker
Sent: Wednesday, September 19, 2001 11:56 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


How do you start orion?

should be

java -jar orion.jar

anything else may defeat the orion.jar class loader, which actually loads
the *.jar and *.zip from the orion/lib directory.

regards,

the elephantwalker
www.elephantwalker.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot
Sent: Wednesday, September 19, 2001 10:34 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
recognized on Win2K and solaris. We never figured out why this is the case.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
Sent: Wednesday, September 19, 2001 10:44 AM
To: Orion-Interest
Subject: 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:297)

   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:84)

   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: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread The elephantwalker

got it...you need to be in the orion directory, the lib directory is pointed
to by a relative directory, so its looking at your starting directory/lib
instead of orion/lib.

I always navigate to the orion directory to start it... 'cause it always
works.

That could be it.

Regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot
Sent: Wednesday, September 19, 2001 11:41 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


Using:

java -server -Xincgc -Xms70m -Xmx128m -jar ./orion.jar -out ./orion.log

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of The
elephantwalker
Sent: Wednesday, September 19, 2001 11:56 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


How do you start orion?

should be

java -jar orion.jar

anything else may defeat the orion.jar class loader, which actually loads
the *.jar and *.zip from the orion/lib directory.

regards,

the elephantwalker
www.elephantwalker.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot
Sent: Wednesday, September 19, 2001 10:34 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
recognized on Win2K and solaris. We never figured out why this is the case.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
Sent: Wednesday, September 19, 2001 10:44 AM
To: Orion-Interest
Subject: 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:297)

   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:84)

   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: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Michael J. Cannon

It's because of the search functions detailed here:
http://java.sun.com/j2se/1.3/docs/tooldocs/findingclasses.html

This was supposed to be deprecated in the various J2EE implementations and
in the v.1.3 JDK, but it wasn't.  Not Sun's fault, not Java's and certainly
not Orion's or Oracle's.

Keep in mind that all these folks are businesses, the J2EE initial
implementation spec only became real and approved on the 4th of this month,
and that everybody has 'optimized' the code.  Also, keep in mind that with
Oracle, you're dealing with (in the out-of-the-box implementation) a
JSP/Servlet server that still hasn't been patched to be secure, a Web server
that is in the same boat, and they deprecated all the additional
functionality they could have gotten by just fully implementing Orion,
without Apache/Tomcat.

Michael J. Cannon
hsqldb.org, Incorporated
PM/COO
- Original Message -
From: Mike Fontenot [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, September 19, 2001 12:33 PM
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


 We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
 recognized on Win2K and solaris. We never figured out why this is the
case.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
 Sent: Wednesday, September 19, 2001 10:44 AM
 To: Orion-Interest
 Subject: 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:297)

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:84)

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