Re: Classpath : Orion On Linux
On Mon, Sep 28, 1998, Mr Shailesh Joshi wrote: FROM WHERE ORION TAKES THE CLASSPATH ? No need to shout. Put your .jar in orion-root/lib -- Etienne BERNARD [EMAIL PROTECTED] Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
RE: Classpath : Orion On Linux
Title: RE: Classpath : Orion On Linux -Original Message- From: Mr Shailesh Joshi [mailto:[EMAIL PROTECTED]] I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName( ); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? You shouldn't be using Class.forName(). You should be defining a DataSource in Orion's configuration and getting that DataSource via its JNDI name and asking that DataSource for a Connection. That's the correct J2EE method of getting a database connection. FROM WHERE ORION TAKES THE CLASSPATH ? Orion's classpath only includes it's own jar files. You can't modify that. It finds your EJBs and servlets and stuff using a different mechanism to the normal Java classpath (as do most EJB servers). Ciao, Gordon
RE: Classpath : Orion On Linux
I guess you need to put your driver under orion-root/lib directory. stas@ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mr Shailesh Joshi Sent: Monday, September 28, 1998 4:14 PM To: Orion-Interest Subject: Classpath : Orion On Linux Hi All I have installed Orion 1.3.8 on Linux server. I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName(" "); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? FROM WHERE ORION TAKES THE CLASSPATH ? With regards Shailesh
RE: Classpath : Orion On Linux
Title: RE: Classpath : Orion On Linux hi, Try putting it in the orion-root/lib directory. regards santosh s :) -Original Message- From: Mr Shailesh Joshi [mailto:[EMAIL PROTECTED]] Sent: Monday, September 28, 1998 5:44 PM To: Orion-Interest Subject: Classpath : Orion On Linux Hi All I have installed Orion 1.3.8 on Linux server. I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName( ); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? FROM WHERE ORION TAKES THE CLASSPATH ? With regards Shailesh
Re: Classpath : Orion On Linux
What exactly do you want to do?, loading forName method. Claudio Mr Shailesh Joshi wrote: Hi All I have installed Orion 1.3.8 on Linux server. I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName(" "); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? FROM WHERE ORION TAKES THE CLASSPATH ? With regards Shailesh
Re: Classpath : Orion On Linux
First, I suspect the driver you are talking about is for JDBC? Next, if yes, then your application needs to know the path to it, but typically you will setup a JDBC path statement such as this: JDBCDriver=com.inet.tds.TdsDriver This tells your application to look for the com directory [the root of the JDBC package] somewhere in classpath. I can only recommend that you make sure you are setup properly in light of this information. Jas Mr. Shailesh Joshi wrote: Hi All I have installed Orion 1.3.8 on Linux server. I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName(" "); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? FROM WHERE ORION TAKES THE CLASSPATH ? With regards Shailesh
RE: Classpath : Orion On Linux
The classpath is not an Orion problem but the issue with the JDK 1.2 and up. If you deploy Orion with the following command line, the classpath is taken from the Manifest file in orion.jar: java -jar orion.jar If you want that the classpath set in environment settings be used, the following command can be used: java com.evermind.server.ApplicationServer You'll have to make sure that all the files in orion directory are atleast in the classpath. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 28, 2000 5:47 AM To: Orion-Interest Subject: SV: Classpath : Orion On Linux CLASSPATH variable is worthless in orion... You have to copy your jar to [orion]/lib directory, then it will be in your classpath automatically. Hope this helps :) Klaus Myrseth Telenor Mobil AS -Opprinnelig melding- Fra: Mr Shailesh Joshi [mailto:[EMAIL PROTECTED]] Sendt: 28. september 1998 14:14 Til: Orion-Interest Emne: Classpath : Orion On Linux Hi All I have installed Orion 1.3.8 on Linux server. I have deployed beans and running clients successfully. The problem is the server can't get the Driver in Class.forName(" "); I have copied driver class in the orion-root directory; set the classpath . But still the server is not able to get the class ? FROM WHERE ORION TAKES THE CLASSPATH ? With regards Shailesh