RE: Where is javax.sql

2002-10-05 Thread Kunal Shah
That's in Oracle's JDBC classes file (named classes12.jar for my installation), not in Tomcat. Make sure you install this file for your Oracle connections to work (put it in your $TOMCAT_HOME/lib directory). It can be downloaded from Oracle. Kenny It is java.sql which gives you

Tomcat Problem

2002-10-05 Thread Uma Maheswar
Hello, I cannot view the Tomcat Console. I am using Tomcat 4.0 on Win XP. Also, I cannot start the Tomcat from Start - Programmes - Apache Tomcat. I need to go to the Control Panel - Admin Tools - Services and then start the Tomcat over there. Can any one tell me what is wrong? I am also using

I need to run a servlet periodically

2002-10-05 Thread Filip Rachunek
Hello, is it possible to have a servlet in Tomcat container which is invoked automatically each gived time period? [e.g. each 10 minutes] And I would also need this special servlet to access other resources of my web application [connection pool, ...]. Thanks. Filip Rachunek

Re: Tomcat Problem

2002-10-05 Thread Andreas Probst
Hi Uma, it seems you installed Tomcat as a service. You could deinstall this service or set it to manual start. Then you should be able to start Tomcat manually from the script. On Sun, 29 Sep 2002 19:30:50 -0500 there was a message from Jacob Kjome (Subject: Re: Need Help ASAP w. Tomcat

Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar
Hi Probst, Sorry, I did that. Not helpful. Any other way? Uma - Original Message - From: Andreas Probst [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, October 05, 2002 12:56 PM Subject: Re: Tomcat Problem Hi Uma, it seems you installed Tomcat as a

tomcat installation

2002-10-05 Thread madhur jain
hi! i installed Tomcat4.1.12 the Tomacat 4.1 dir. is on the desktop. and my autoexec.bat is set JAVA_HOME=C:\jdk1.3.0_02 set CATALINA_HOME=c:\WINDOWS\DESKTOP\ __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More

Re: download 4.0.3?

2002-10-05 Thread Remy Maucherat
Ricky Leung wrote: Why don't you use 4.0.5? That should be the release that you should be using, which has the most bug fixes and a security fix. With 4.1.12, you might have to do additional testing to ensure that your application is working. Old releases can be downloaded from the

RE: Tomcat Problem

2002-10-05 Thread Reynir Hübner
Well, the error message might be helpful, but if you try starting it by going into command line and browse to C:\$yourtomcathome\bin And run from there \ catalina run you should see a stacktrace of why tomcat doesn't startup. It usually has something to do with bad formed server.xml Hope it

RE: Getting the name of the context

2002-10-05 Thread Reynir Hübner
You could try ServletContext sc = getServletContext(); http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/javax/servlet/GenericServlet.html#getServletContext() And then: String contextname = sc.getServletContextName(); Hope it helps -reynir -Original Message- From:

RE: auto deploy WAR + embedded tomcat

2002-10-05 Thread Reynir Hübner
Ok how come someone is sending emails with my name on it (in the from address) ? -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: 5. október 2002 09:23 To: [EMAIL PROTECTED] Subject: auto deploy WAR + embedded tomcat Hello Tomcat community! Quick

What is InvocationTargetException?

2002-10-05 Thread Ola Tuvesson
Can someone enlighten me as to what this error I get in the localhost log means? I haven't got a clue even where to start troubleshooting this... Tnx Ola Tuvesson 2002-10-05 10:26:07 HostConfig[localhost]: Deploying configuration descriptor admin.xml 2002-10-05 10:26:15

RE: What is InvocationTargetException?

2002-10-05 Thread Reynir Hübner
You are using the reflection mechanism, and the error is occuring where you are trying to invoke an object. Look in the TunnelServlet.java line 63 Hope it helps -reynir -Original Message- From: Ola Tuvesson [mailto:[EMAIL PROTECTED]] Sent: 5. október 2002 09:36 To: Tomcat

RE: What is InvocationTargetException?

2002-10-05 Thread Ola Tuvesson
Thanks Reynir! Was possibly a problem with the servlet not finding its logfile directory. I've changed it to use stderr.log and stdout.log instead but now I get a different error, this time in stderr.log: Created catalinaLoader in: C:\Tomcat\server\lib 05-Oct-2002 10:54:17

Re: Form Based Authentication, getting login and password

2002-10-05 Thread Nikola Milutinovic
Externo wrote: Sorry by my English. How I can guess login and password strings of an user, from error page (JSP) using Form Based Authentication of Tomcat? I need know it to lock the count each 3 error tries (if login is ok but password is bad, insteed). Something like enhanced

Re: Connection pool DBCP

2002-10-05 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: I have been seen that nobody is able to answer to this question, I presume it's interesting for anybody, for a few days. I wish I knew if DBCP is able to find when db is restarted and reconnect. I'd like to use the jakarta instrument DBCP because all the

Re: Shared JSP taglibs

2002-10-05 Thread Nikola Milutinovic
Craig R. McClanahan wrote: In my experience, the (small) memory savings of putting classes into /shared/lib (or /common/lib) is not worth the hassles it brings: What about building a server-wide environment? Suppose you have a set of Tag Libraries that you either trust or wish to enforce

Tomcat4.1.12 + Apache2.0.35 + jk2

2002-10-05 Thread Malachi de AElfweald
I have Tomcat running successfully Standalone, but I am trying to link it via jk2/jni to Apache to speed it up a bit (even locally it is slow). I set it up as best I could via the documents on the www.apache.org website, but alas, I am stuck. [it is FreeBSd 4.6] LoadModule jk_module

Re: I need to run a servlet periodically

2002-10-05 Thread Nikola Milutinovic
Filip Rachunek wrote: Hello, is it possible to have a servlet in Tomcat container which is invoked automatically each gived time period? [e.g. each 10 minutes] And I would also need this special servlet to access other resources of my web application [connection pool, ...]. You're making

Re: I need to run a servlet periodically

2002-10-05 Thread Malachi de AElfweald
Unless you are just trying to do refresh, in which case you could use the meta-tags to do auto-refresh and server-push. If you were trying to do a servlet that managed something always running, then you would want a daemon that could handle live-updates. Please be more clear on the usage.

Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar
Hi Reynir, I do not have any error message. If I need to start the Tomcat in my PC running on Win XP, I need to go to Start - Control Panel - Admin Tools - Services and then start the Tomcat. There is no other option for me than this. Now the Tomcat gets started if I do so. But I wanted to view

RE: Tomcat Problem

2002-10-05 Thread Reynir Hübner
Ok go to : Start - run - cmd C:\cd jakarta tomcat C:\jakarta tomcat\ cd bin C:\jakarta tomcat\bin\ catalina run Just try it. You could also try starting the startup.bat in the same folder. -Original Message- From: Uma Maheswar [mailto:[EMAIL PROTECTED]] Sent: 5. október 2002

Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar
Hi Reynir, I tried it, I got this messages C:\PROGRA~1\Apache Tomcat 4.0\bincatalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CLASSPATH: ..\bin\bootstrap.jar;c:/j2sdk1.4.0/bin;\lib\tools.jar Using JAVA_HOME: c:/j2sdk1.4.0/bin; The system cannot find the path specified.

Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar
Reynir, I tried this and it gave me some error messages. Can you suggest me now? Uma C:\PROGRA~1\Apache Tomcat 4.0\bincatalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CLASSPATH: ..\bin\bootstrap.jar;c:/j2sdk1.4.0/bin;\lib\tools.jar Using JAVA_HOME: c:/j2sdk1.4.0/bin;

RE: Tomcat Problem

2002-10-05 Thread Reynir Hübner
Yes, In server.xml you have specified a WARP connector. It seems to me like you have an extra space in here : org.apache.catalina.connector. warp.WarpConnector ^ Fix it, and try again . -hope it helps Reynir -Original Message- From: Uma Maheswar

Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar
Reynir, I never changed the server.xml file. I dont know that stuff. Can you tell me how to change WARP? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Tomcat Problem

2002-10-05 Thread Reynir Hübner
Just open it up (tomcat/conf/server.xml) and read the instructions. -reynir -Original Message- From: Uma Maheswar [mailto:[EMAIL PROTECTED]] Sent: 5. október 2002 11:25 To: Tomcat Users List Subject: Re: Tomcat Problem Reynir, I never changed the server.xml file. I dont

IBM HTTP Server, Tomcat 4.1.12, mod_jk and the IBM GSK [Windows NT]

2002-10-05 Thread Jens Andersen
Hi all, I have a question regarding the usage of Tomcat together with IBM Http Server 1.3.19 (which is based on Apache httpd 1.3.20). I uses the http server for handling static pages and redirect servlet and jsp requests to tomcat through mod_jk.dll and it works fine for port 80 but when I

About WARP, HELP

2002-10-05 Thread Uma Maheswar
Can any one tell me about WARP? Please help me. My problem is listed below. Thanks Uma C:\PROGRA~1\Apache Tomcat 4.0\bincatalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CLASSPATH: ..\bin\bootstrap.jar;c:/j2sdk1.4.0/bin;\lib\tools.jar Using JAVA_HOME:

RE: About WARP, HELP

2002-10-05 Thread Sexton, George
Edit the server.xml file. search the text file for: org.apache.catalina.connector. warp.WarpConnector change it to: org.apache.catalina.connector.warp.WarpConnector -Original Message- From: Uma Maheswar [mailto:[EMAIL PROTECTED]] Sent: 05 October, 2002 7:47 AM To: Tomcat Users List

Re: About WARP, HELP

2002-10-05 Thread Uma Maheswar
Hi, Its already same in the server.xml file. I am attaching the file for your review. Please check it Uma !-- Example Server Configuration File -- !-- Note that component elements are nested corresponding to their parent-child relationships with each other -- !-- A Server is a singleton

sendRedirect not working

2002-10-05 Thread Jared Reeve
Using Apache Tomcat/4.1.12 I have my application under the webapps directory. When I do a sendRedirect to /servlet/MyServlet I get an HTTP Status 404 - The requested resource (/servlet/MyServlet) is not available. The correct path should be /MyApp/servlet/MyServlet. It appears it is not

RE: About WARP, HELP

2002-10-05 Thread Sexton, George
This server.xml did not cause the exception you gave in your initial email. -Original Message- From: Uma Maheswar [mailto:[EMAIL PROTECTED]] Sent: 05 October, 2002 8:26 AM To: Tomcat Users List Subject: Re: About WARP, HELP Hi, Its already same in the server.xml file. I am attaching

Re: About WARP, HELP

2002-10-05 Thread Uma Maheswar
George, Then which server.xml file is this taking? I got this file from tomcat/conf/server.xml. Please advice. Uma -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Chicken and the egg

2002-10-05 Thread Michael Riess
Hi there, Situation: I built a working configuration of Apache 2.0.35, Tomcat 4.0.4 and mod_jk, now I want to update my system. I downloaded Apache 2.0.43, downloaded mod_jk2 binary ... just for 2.0.42, so I downloaded the source ... libtool doesn't know -lapr ... tried to default to mod_jk ...

Re: Tomcat4.1.12 + Apache2.0.35 + jk2

2002-10-05 Thread Malachi de AElfweald
Does everyone else have jk2 working? Malachi 10/5/2002 3:46:33 AM, Malachi de AElfweald [EMAIL PROTECTED] wrote: I have Tomcat running successfully Standalone, but I am trying to link it via jk2/jni to Apache to speed it up a bit (even locally it is slow). I set it up as best I could via the

Re: Problem invoking CGIs that are EXE files

2002-10-05 Thread Stephan Orme
I posted something on this earlier - can you get *any* cgi to work when it's included? Here's my previous post: I'm using Tomcat 4.0.3 to serve dynamic and static pages. I can get includes to work and I can get CGI's to work but I can't get included CGI's to work. you can pick your friends, you

HOWTO for Apache 2.0.43 and Tomcat 4.1.12 using mod_jk2

2002-10-05 Thread Michael Riess
Helped myself ... used mod_jk2 for 2.0.42 for Apache 2.0.43 and it didn't work, so I built mod_jk2.so myself. For anyone trying to use Tomcat with Apache 2.0 I suggest the following way for fast results: 1. Obtain the source for jakarta-tomcat-connectors. try building the whole thing using ant

trivial question...

2002-10-05 Thread Padhu Vinirs
Tomcat 4.1... I print all the header values. Then I set a new header value ( response. setHeader ) in the service method. When I refresh the page shouldnt the set header value be part of the printed header values ??? I am not seeing this value. Arent header values persisted for the session

Re: HOWTO for Apache 2.0.43 and Tomcat 4.1.12 using mod_jk2

2002-10-05 Thread Malachi de AElfweald
I did step 1, and even went into the jk directory and did ant native as well (per the jk/README.txt) just in case... I did step 2... Step 3 will not work on Apache2 according to the Apache2 documentation http://httpd.apache.org/docs-2.0/upgrading.html : The AddModule and ClearModuleList

FW: tomcat pass-through to embedded web server withno JSP support or notion of session state

2002-10-05 Thread John T. Vrab
Is it possible to use Tomcat as a front-end to an embedded web-server which does not support JSP or the notion of a session? Can tomcat somehow be used as a HTTP pass-through to the embedded server while leveraging session state? Thanks is advance for any direction. -John V -- To unsubscribe,

AW: HOWTO for Apache 2.0.43 and Tomcat 4.1.12 using mod_jk2

2002-10-05 Thread Michael Riess
Sorry, of course it's LoadModule not AddModule ... I did it on RedHat Linux 7.2, which might explain your pthread problem. Unfortunately I don't have any experience with FreeBSD. maybe you should try going to the jk/native2 directory and use buildconf.sh - configure - make ... but that didn't

Tomcat with multiple virtual hosts

2002-10-05 Thread David Kleinman
I have a directory that contains all web related files, organized in subdirectories. The one that contains the files relevant to regular HTTP connections (port 80) are inside the www subdirectory. The files relevant to SSL connections (port 443) are under the ssl subdirectory. I want to

Re: AW: HOWTO for Apache 2.0.43 and Tomcat 4.1.12 using mod_jk2

2002-10-05 Thread Malachi de AElfweald
yeah, I just tried the jk/native2/configure script... it detected BSD ok, and the linux JVM died at first on ltconfig saying that you had to specify a hostname with --no-verify. I put $ac_hostname after the --no-verify in the configure script, and ltconfig said that

Re: AW: HOWTO for Apache 2.0.43 and Tomcat 4.1.12 using mod_jk2

2002-10-05 Thread Malachi de AElfweald
Ok, I think I might have figured out WHAT the problem is, if someone can lead me in the right direction to try it... it appears that you have to do gcc -pthread on BSD to link to pthreads (as per 'man 3 pthread') Does this mean I have to reinstall Apache with this option, or that I need to

RE: Chicken and the egg

2002-10-05 Thread Michael Schulz
Tomcat 4.1.x does support mod_jk as well as mod_jk2. You just have to enable the correct connector in your server.xml file. In fact, I would claim that if you are currently using Tomcat 4.0.4 in production, I would not upgrade to 4.1.x (yet) -- I would use 4.0.5 instead. There have been enough

Re: AW: HOWTO for Apache 2.0.43 and Tomcat 4.1.12 using mod_jk2

2002-10-05 Thread Malachi de AElfweald
Ok, rebuilt Apache up to 2.0.42 (not sure where I got 43 from... it was an older version). This immediately made about 4 of the mods not work. jk2 still didn't work. so deleted and redid the connectors... modified all the build.properties files... did ant in the main directory evidentally, that

Default Context

2002-10-05 Thread glen
In tomcat3.x, a URL like http:/mycomputer/servlet/someservlet would be redirected to http:/mycomputer/ROOT/servlet/someservlet or to whatever was defined as the default context. So far I have not been able to get this behavious in tomcat4.x. Redirect and Rewrite won't work because most of our

Re: IBM HTTP Server, Tomcat 4.1.12, mod_jk and the IBM GSK [Windows NT]

2002-10-05 Thread jjnfg
Jens, Sorry I can't help you on your question. I would like to know where do you run your tomcat 4.1.12 ? I couldn't get it to work under IBM's os/390. The bug was reported at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13014 If you do get it to work under os/390 I would like to know how.

RE: Tomcat stop when exit telnet session

2002-10-05 Thread Robert Parker
Members Equity Email System The following bug may be of interest here... Bug : 4755829 JVM 1.3.1-04 and Pre-release of JVM 1.3.1-05 ignoring nohup(1) command -Original Message- From: fong [mailto:[EMAIL PROTECTED]] Sent: Saturday, 5 October 2002 12:11PM To: Tomcat Users List Subject: