RE: JDBCReal / MySql /server.xml problem

2002-09-05 Thread khozaima shakir
Hi Howard, I am writing this direct since, its little of topic. I too had similar problems, what i did was that in the jdbc realm howto document, there is connectionPassword and connectionNAme attributes so I removed the attributes from connectionURL and had the atributes separately (in

Re: Tomcat Installation on Linux SuSe

2002-08-28 Thread khozaima shakir
Hi all, Tomcat crashes on linux Suse when I set JAVA_HOME env variable to jdk1.3.1 directory. However it doesn't crash when I set the variable to j2sdk1.4.1... works fine with it. This just for information Any comments why so ? Thanks Shakir

Tomcat installation on Linux Suse

2002-08-27 Thread khozaima shakir
Hi Randall, Peter, I tried out the suggestions, sh -x ./shutdown.sh shutdown.txt but the output doesn't say anything, infact I noticed by ps -ef|grep java , there is no process, ie tomcat didn't even start. Somewhere I read , jdk1.3.X doesn't work for tomcat on Linux Suse 7.2, is that true?

Re: Tomcat Installation on linux

2002-08-26 Thread khozaima shakir
: 26 Aug 2002 09:49:07 +0200 - == khozaima shakir [EMAIL PROTECTED] writes: - Should a startup window open? It didn't open. No, if you are running tomcat from a shell. Or did you run it from a Windows emulator? - When I try to shutdown the tomcat, it gives segmentation fault. How do

Re: Tomcat Installation on linux

2002-08-26 Thread khozaima shakir
At 04:21 2002-08-26, khozaima shakir wrote: Hi Jhair, yes, I am running tomcat from shell. About shoutdown, I shutdown tomcat by : shutdown.sh Thanks Shakir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED

Tomcat Installation on linux

2002-08-25 Thread khozaima shakir
Hi all, I am trying to setup tomcat 4.0.4 on linux. I have installed the tomcat direcory as : /users/userName/jakarta-tomcat-4.0.4 Then from /jarakarta-tomact-4.0.4/bin, it set JAVA_HOME to /usr/local/jdk1.3.1_01 Next I ran the startup.sh comand, I get message as Using Catalina_home, base,

JDBC Realm Error --Cant access database

2002-08-12 Thread khozaima shakir
Hi all, need help, please! I am trying to set up JDBCRealm. I edit server.xml as:- Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://mysql.wpi.edu/EMSDATA?user=skhuzema;password=pPqrAb

RE: JDBC Realm Error --Cant access database

2002-08-12 Thread khozaima shakir
(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) - Andrew -Original Message- From: khozaima shakir [mailto:[EMAIL

Reading from files in servlet from Tomcat-4.0.4

2002-08-10 Thread khozaima shakir
Hi all, I am trying to read from a file : filename Where should i put this file in tomcat 4.0.4 directory structure? I tried putting the file in directories: webapps/ROOT, webapps/ROOT/WEB-INF, webapps/ROOT/WEB-INF/classes in each instance i get the error message The system cannot find the file

JDBC Realm - Can't start TC4.0.4 !!

2002-08-09 Thread khozaima shakir
I am trying to configure JDBCRealm. I can't understand the error, since the same username and password was successfully used to access the database using servlet-jdbc in my webapp, without configuring JDBCrealm. Can anyone please advise? Thanks, skhuzema I have edited server.xml realm as

Database access through JDBC-SERVLET

2002-08-02 Thread khozaima shakir
I am a student and new user of tomcat, and am working on a project that involves accessing database through servlet. The code that i have written compiles and when i run it on tomcat 4.0.4, the statment till the try{... gets executed, but the connection to the database is not made. I would

Connecting to JDBC mysql database in a servlet

2002-08-01 Thread khozaima shakir
Hi all! I am trying to connect to JDBC in a servlet, the html page gets displayed the try statement and i find that the connection is not made. I am using tomact 4.0.4 and have deployed the class file in \webapps\ROOT\WEB-INF\classes directory. Can anyone please suggest a path forward? In

servlet class deployment

2002-07-11 Thread khozaima shakir
I have installed Tomcat version 4.0.4 and have set Java_home, to my jdk1.3.1_02 directory. To run my servlet, where do i have to load the classes. i am confused since there are 2 web_inf directories, structures as 1) webapps/ROOT/WEB_INF ( there is no classes directory, do i have to make it?)

servlet class deployment

2002-07-11 Thread khozaima shakir
I have installed Tomcat version 4.0.4 and have set Java_home, to my jdk1.3.1_02 directory. To run my servlet, where do i have to load the classes. i am confused since there are 2 web_inf directories, structures as 1) webapps/ROOT/WEB_INF ( there is no classes directory, do i have to make it?)