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
 
 
 
 
 




(my) problem locating a textfile from a Servlet

2001-06-26 Thread Regele, Manfred

Hi,

I wanted to port a (running) application from tomcat to orion. It seems
my coding is not proper/portable.

In my war-archive included (in WEB-INF subdirectory) are several
text config files (yes I know JNDI is a better way -but its lowest common
functionality) - and these files I want to access in my servlet code.

Following servlet code does not find these files running in orion while 
working fine with tomcat 3.2. 

For a beginner: whats the correct way to load such files ?




package de.adig.vbh.wc.controller;
...
public class UIMain extends HttpServlet {
...
file1 = getServletContext().getResource(WEB-INF/log4j.xml);

file2 =
getServletContext().getResource(WEB-INF/wc-config.xml);




== both files are null in orion, but found in tomcat.

files are in dir WEB-INF/ that is in a war-archive that is in an
ear-archive.
they got successfully unpacked by orion and can be seen in orionconsole

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





AW: Java ftp

2001-03-02 Thread Regele, Manfred


Multithreaded FTP-Bean (OpenSource IBM). Would not reccommend it in a
EJB-Class,
since it seems to be multithreaded.

http://www10.software.ibm.com/developerworks/opensource/cvs/ftp/

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

 -Ursprngliche Nachricht-
 Von:  John Miller [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Freitag, 2. Mrz 2001 10:48
 An:   Orion-Interest
 Betreff:  Java ftp
 
 Off topic, but does anyone know a way of using Java for FTP'ing?
 
 Johnny
 
 
 BUY YOUR 2001 ISA AT INTERACTIVE INVESTOR'S NEW ISA CENTRE - visit 
 http://www.iii.co.uk/isa for a choice of 400+ funds, market leading
 discounts 
 and access to expert advice. 
 
 FANCY A FREE ISA? Enter our competition now at http://www.iii.co.uk/isa 
 Terms and Conditions apply and are available online. 
 Issued by Interactive Investor Trading Limited, regulated by the SFA.




AW: Using Log4j With Orion

2001-02-19 Thread Regele, Manfred

Sorry if this is already answered

Log4J ist on www.apache.org (Subproject jakarta).

One thing to mention: there is diskussion to include a
similar-featured logging api in SUN Java JDK 1.4 - has 
anyone seen this api ?

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

 -Ursprngliche Nachricht-
 Von:  Steven Gardell [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Samstag, 17. Februar 2001 14:36
 An:   Orion-Interest
 Betreff:  Re: Using Log4j With Orion
 
 And could someone provide a valid pointer to Log4j proper?
 Can't seem to get to it at IBM's web site.
 Thanks
 
 Steven Gardell
 Iperia, Inc.
 - Original Message -
 From: Hee Meng, Poh [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, February 15, 2001 8:50 PM
 Subject: Using Log4j With Orion
 
 
  Hi,
 
  Anyone uses Log4j with Orion? Think of providing logging facilites for
 both
  web and ejb components.
  What's the good way to specify a PropertyConfigurator?
 
  Thanks for any info.
 
  Regards