Ugrade document - tomcat 3.2.23 to 4.1.24

2003-07-24 Thread Sarika Inamdar
Hi All, We are upgrading tomcat from 3.2.23 to tomcat 4.1.24. Is there any upgrade document which we could refer to? We see a lot of changes from 3.2 version to 4.1.24 . Please help us on this. Thanks, Sarika - To

AW: No printers when run as service.

2003-07-24 Thread Hamidene, Anis Ben
Hi, i am having problems too with tomcat when run as a service. Which other reply do you mean? Best regrads Anis B.H. -Ursprüngliche Nachricht- Von: Anthony Cunningham [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 24. Juli 2003 06:14 An: Tomcat Users List Betreff: Re: No

Re: AW: No printers when run as service.

2003-07-24 Thread Anthony Cunningham
The one about PrintService and Tomcat being a previous thread If you are using NT/2000 in the services list you can select Apache Tomcat. In NT double clicking the Apache Tomcat service will give you a property dialog for the service. Here you can choose a user to run as. You should choose one

Re: Pb Form authentication

2003-07-24 Thread v.siguier
Thanks for your help ! I understand what is wrong : on error page I must recall the entry page of my web site. Vincent Here is your problem. You can't do this. You are navigating directly to login.jsp. a href='%= response.encodeURL(login.jsp) %'again/a. Rick v.siguier wrote: I

tomcat connection/port problem

2003-07-24 Thread Astrid Wagner
Hi, I use tomcat 4.1.24, jdk 1.4.0 and Apache 1.3 on Solaris 8. I am able to run a servlet with my configuration but when I submit in this first page I receive an errror. The catalina.out log file simply says: Jul 24, 2003 8:53:58 AM org.apache.commons.modeler.Registry loadRegistry INFO: Loading

NT Service with jvm options

2003-07-24 Thread Jean-Louis
Hello, I have created a NT Service to run Tomcat 4.1.24 on Windows NT with this command : %CATALINA_HOME%\tomcat.exe -install Tomcat-4.1.24 %JAVA_HOME%\jre\bin\hotspot\jvm.dll -showversion -verbose:gc -Xmx200M -Xms64M -Xrs

FW: question

2003-07-24 Thread Vansant Kris
Question : I've made a servlet and I can run it when I type the url : http://server.mynetwork.be:8080 http://server.mynetwork.be:8080 The URL will automatically switch to https://server.mynetwork.be:8443/index.html https://server.mynetwork.be:8443/index.html , this is ok. But if anyone types

jk2/apache2 ignores apache virtual hosts

2003-07-24 Thread Baldur Norddahl
Hi, We have a setup with multiple tomcat4 servers and a single apache2 acting as a front for them. VirtualHost *:81 ServerName vacuum1.xentive.com:81 ServerAlias xentive.com ServerAlias www.xentive.com DocumentRoot /var/www/apache2-default/ Location

mod_rewrite and mod_jk

2003-07-24 Thread Aviv Eliezer
I've seen many posts on the subject, yet none helped me. I've got a tomcat 4.1.24 webapp, connected via mod_jk to apache 2.0.46. for some reason, mod_jk takes precedence over mod_rewrite, for all urls mapped to mod_jk with JkMount directives. I tried switching the order of the LoadModules (jk

Re: HOW TO INSTALL THE JDBC FOR TOMCAT

2003-07-24 Thread Zach Gatu
Don't forget to put the jdbc jar file in your CATALINA_HOME/webapps/YOUR_CONTEXT/WEB-INF/lib directory. epyonne wrote: Since you are using MySQL, you can download the Connector-J from MySQL site. It is the JDBC driver. Hope this helps. - Original Message - From: frankie

Tomcat 5.0.4 fails to serve form-login-error page properly

2003-07-24 Thread Oleg S. Estehin
Hi I am porting my application from Tomcat 4.1.24 to Tomcat 5.0.4 (i.e. porting from Servlets 2.3/JSP 1.2 to Servlets 2.4/JSP 2.0). I have a servlet mapped to /auth that produces the page with login form. Form based authentication is set with the following fragment of the deployment descriptor:

Re: Problems with dir structure

2003-07-24 Thread bernd pier
hi, you can put servlets in every dir you have create.it had to be this structure /webapps/WEB-INF/classes and there must be a web.xml file. look into the webapps/examples dir as a template.this question is often discussed in this list. Lenandlar Singh schrieb: Hello, where do i put static

startup problems part 1

2003-07-24 Thread Bradley Haughn
I have a weird error.=20 I 'had' tomcat installed (4.1.24) and it was working fine. I had to = uninstall my java versions though and reinstall the latest 1.3 version = (1.3.1_08) for work. Thus tomcat wouldn't work. No worries. I = uninstalled it to reinstall (it would find my new java) and I got

startup problems part 2

2003-07-24 Thread Bradley Haughn
If I remove the admin.xml, I don't get these errors on startup, but the = startup window hangs around and anytime I try and open a jsp I get = another long list of errors, that are mostly the same. But just in case = they aren't when opening http://localhost:8080/index.jsp

tomcat startup problem

2003-07-24 Thread Gayathrie Gunawardene
Hi, I get the following message when I run startup command. Using CATALINA_BASE: E:\TomCat4.1 Using CATALINA_HOME: E:\TomCat4.1 Using CATALINA_TMPDIR: E:\TomCat4.1\temp Using JAVA_HOME: E:\jdk1.4 I see a tomcat window open and suddenly disappear. No matter how hard I tried to run,

Re: Problem with Dir Structure...

2003-07-24 Thread bernd pier
hi, i think this should be your servlet mapping: servlet-mapping servlet-nameShowParameters/servlet-name url-pattern/testapp/ShowParameters/url-pattern /servlet-mapping and so far as i know you had to do in html action='ShowParameters' method='.. and so on. Lenandlar Singh

JDK Issue

2003-07-24 Thread Hari Om
I installed IBMJava2SDK on my IBM Power PC which has Red Hat Linux on it. I installed it under /usr/downloads/IBMJava2-ppc64-141 directory. Later when I check the version by typing and executing java -version it shows Cannot find java So I added the directory in PATH and CLASSPATH but then it

JDK Installation Problems

2003-07-24 Thread Hari Om
I have problems on installing JDK on Red Hat Linux 7.1 power PC. I downloaded j2sdk-1_4_1_03-linux-i586-rpm.bin - Linux RPM in self extracting file and followed the insturctions on Installation page. 1) # chmod a+x j2sdk-1_4_1_03-linux-i586-rpm.bin 2) ./j2sdk-1_4_1_03-linux-i586-rpm.bin ...it

Creating a custom realm (I don't know how?)

2003-07-24 Thread Hung San
Hi there, How do I create my own custom realm and plug it into Tomcat for my web application? I created CustomRealm that implements Realm. But when I added a realm element in my context.xml and loaded up my application, it complained that CustomRealm could not be found (ClassNotFoundException).

Re: Tomcat 4.1.24 causes refresh problem ... 4.1.18 does not.

2003-07-24 Thread Zach Gatu
This is what I use to prevent caching and it has worked for me: % response.setHeader(Cache-Control,no-store); // HTTP 1.1 response.setHeader(Pragma,no-cache); // HTTP 1.0 response.setDateHeader (Expires, 0); // prevents caching at the proxy server % I think the first setting is more important

Re: LifecycleListener Do not work

2003-07-24 Thread Zach Gatu
Have a look at this tech tip: http://developer.java.sun.com/developer/EJTechTips/2003/tt0626.html#2 Adi Katz wrote: Hello, I implemented org.apache.catalina.LifecycleListener and registered it in server.xml in the following way: Context path=/myapp ... ... Listener

Re: Probs running tomcat 4.1.24 + jdk 1.4.1_02 on debian

2003-07-24 Thread Zach Gatu
You need to use the JDK not the JRE. So if, for example, you downloaded the jdk 1.4.2 and unpacked it into /usr/java/j2sdk1.4.2, your JAVA_HOME entry should read JAVA_HOME=/usr/java/j2sdk1.4.2 Zach. Christian Platzer wrote: Hi there. I have a problem while starting the Tomcat Server. On my

Re: Help needed in configuring tomcat 4.1.24

2003-07-24 Thread Zach Gatu
Make sure the your Connector directive ends with / or /Connector, i.e. make sure that it's a valid xml tag. Also take out !-- WEB_PORT -- from within Connector ... / Restart Tomcat and see if you can shut it down without errors. Zach. Sarika Inamdar wrote: Hi All, We need to start tomcat

startup error

2003-07-24 Thread Bradley Haughn
I found someone had posted the same error that I'm having but I'm having trouble finding the answer. Heres what Yakov Belov had posted: Dear All, when I try to start up tomcat I receive the following exception: Exception during startup processing java.lang.reflect.InvocationTargetException:

Re: Probs running tomcat 4.1.24 + jdk 1.4.1_02 on debian

2003-07-24 Thread Zach Gatu
You need j2sdk1.4.2-linux-i586.bin not j2re1.4.2-linux-i586.bin. Try also adding JAVA_HOME/bin to your PATH, if you haven't already. Zach. Christian Platzer wrote: Nothing. Always the same problem I try to execute 'export JAVA_HOME', before catalina.sh or startup.sh, but always the same

JDK for Linux on Power PC

2003-07-24 Thread Hari Om
where can I find JDK for Linux on Power PC _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail - To

JDK Problems - libjava.so

2003-07-24 Thread Hari Om
I downloaded and installed j2sdk-1.3.1-02b-FCS-linux-ppc.bin from the penguinppc.org web site and followed the instructions. I was able to INSTALL under /usr/local and also changed my PATH variable.but later when I test my java version it gives following error - wonder why

Creating a custom realm [I don't know how]

2003-07-24 Thread Hung San
Hi there, How do I create my own custom realm and plug it into Tomcat for my web application? I created CustomRealm that implements Realm. But when I added a realm element in my context.xml and loaded up my application, it complained that CustomRealm could not be found (ClassNotFoundException).

need Help

2003-07-24 Thread Prashant Kadam
I have installed tomcat 4.1.6 I have created Prashant folder under webApps My Folder structure is webapps- |_Prashant |_Web-inf |_Classes- |_ web.xml |_myservlet in server.xml. I added context

IIS and isapi_redirect.dll

2003-07-24 Thread scolson
Wow, here's a topic that has been hashed and rehashed... unfortunately after countless hours of list archives and googling around, I haven't found an answer to why I can't get IIS to play nice with tomcat. Here's the skinny: W2k server SP3 (5.00.2195) IIS 5 Tomcat 4.1.24 j2sdk 1.4.2 installed

IIS and the isapi_redirect.dll

2003-07-24 Thread scolson
Sorry if this was posted twice, my email client was not behaving. Well, here's a topic that has been hashed and rehashed before on this list... unfortunately after countless hours of reading the archives and googling around,

RE: TOMCAT problem

2003-07-24 Thread dr.ahab
haifeng, to ask a couple of stupid questions... have you reloaded your webapp or restarted tomcat after your changes? was the original version of the webapp deployed through a .war file and same is still in catalina_homewebapps/ ? if so, remove that and reload your app once more. jan

[Q] Form-based authentication with DatasourceRealm

2003-07-24 Thread Riaan Oberholzer
Hi, I'm trying to use Realms for the first time. The documentation of Tomcat is pretty straight foward and everything is clear (and surprisingly simple), except how I must name the action=??? paramaters for my form in which the authentication is done. The Tomcat example is: form method=POST

RE: Probs running tomcat 4.1.24 + jdk 1.4.1_02 on debian

2003-07-24 Thread Vansant Kris
Hello, How the h*ll do I unsubscribe from this list ? I already sended 5 mails to [EMAIL PROTECTED] but I keep receiving a mail every 30 secs !! -Original Message- From: Zach Gatu [mailto:[EMAIL PROTECTED] Sent: woensdag 23 juli 2003 12:16 To: Tomcat Users List Subject: Re: Probs

Re: JDK Issue

2003-07-24 Thread Kris Wolff
what says whereis java and find / -name java ??? Kris Am 22 Jul 2003 um 20:12 hat Hari Om geschrieben: I installed IBMJava2SDK on my IBM Power PC which has Red Hat Linux on it. I installed it under /usr/downloads/IBMJava2-ppc64-141 directory. Later when I check the version by

RE: Creating a custom realm (I don't know how?)

2003-07-24 Thread Andrew Liles
There are some tricky issues due to do with scope of classes that Tomcat needs to see (to operate your Realm for you) and what normal web applications can see (they normally don't need to see the internals of the Servlet/JSP implementation). It is described here:

RE: tomcat startup problem - tomcat window disappears

2003-07-24 Thread Andrew Liles
Edit tomcat/bin/startup.bat in one of the last lines change the keyword start to run. Then go into a DOS box and run startup.bat. This time any faults will remain on the screen and you can start debugging from there. -Original Message- From: Gayathrie Gunawardene [mailto:[EMAIL

Re: Tomcat deployment problem: Exception processing TLD--SOLVED

2003-07-24 Thread Aurele Venet
I am putting this in case some one refers to it in the future... I found the error by scanning old archives, basically the web.xml file in the module that was deployed contained references to tag-libs even though they were not used. This is because the developer of that perticular moduled

RE: [Q] Form-based authentication with DatasourceRealm

2003-07-24 Thread Andrew Liles
This is a three part problem. First you have a process that does the challenging of access. In the case of Form Based Authentication this means redirecting the user to a login page. Second you have a scheme to take the credentials the user provides and validate them. This is the job of the

[Q] Extending a Realm

2003-07-24 Thread Riaan Oberholzer
Is it possible to extend the standard Realms, or do you have to re-do it from scratch by implementing the interface again? I want everything the Datasource Realm provides, except when the authentication succeeds, I want to update the user db table to indicate the date/time this occurred. Can it

Session persistance after server restart: a bug?

2003-07-24 Thread Aurele Venet
Hello, I am having a strange effect with my tomcat server. My web app sends a session cookie (JSESSIONID) to the browser for session tracking. This keeps a boolean flag to say wether or not a user is logged in. I find that when I stop and restart the server, the cookie is sent back from

RE: tomcat connection/port problem

2003-07-24 Thread Ralph Einfeldt
What makes you so shure that you have a port problem ? I think that you are searching in the wrong direction. As I understand the log message mod_jk complains about not getting an answer from tomcat after it successfully sent a request to tomcat. At this point I cann't imagine a port problem

To PEM or not to PEM in OpenSSL ???

2003-07-24 Thread achana
Hi. My quixotic tilt at mod_ssl continues... I am into my second book on this subject matter. Okay, let's put that in that too-hard basket for the moment. Let's make OpenSSL work first. It does. It asks me whether I want to DER or PEM. I take PEM. Then it tells me not enough random data. So I did

RE: JDK Problems - libjava.so

2003-07-24 Thread reitinger franz
This is not really a jdk-problem - it is more or less a natter of configuration. Like other Unix-systems Linux uses shared libs and an environment variable (LD_LIBRARY_PATH) informs the system about the pathes for the shared libs. Therefore you only have to modify your LD_LIBRARY_PATH environment

Re: mod_jk2 with jni+pcre, what for?

2003-07-24 Thread Nicolas
Hi I'm trying different setups of mod_jk2 for our JSP application with Apache 2.0 acting as frontend. With the help of apachewiki and Simon Pabst I've succesfuly setup Tomcat 4.1.24 with Apache 2.0.47, running Sun JDK 1.4.1 with mod_jk2 2.0.2 (jni and pcre enabled), using Unix sockets (not

Re: Session persistance after server restart: a bug?

2003-07-24 Thread Jon Wingfield
Not a bug. Standard behaviour. Chack out the Manager element in the server.xml http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/manager.html If you haven't got a Manager explicitly added in the server.xml a default is used (stores serialized sessions in a file SESSIONS.ser under the

Get rid of socket write error

2003-07-24 Thread Feltesse Julien
Hi, We're using Tomcat 4.1.18. Our problem is that when a client hits the stop button in his browser, or double-click links, we can see in the logs : StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: Connection reset by peer: socket

Re: tomcat connection/port problem

2003-07-24 Thread Astrid Wagner
Yes you are rigth. The resource property was not found in in the resource file that's why it crashed. I simply thought I would get some java error (and not only that tomcat was shut down) that would have made it easier for me to debug. Sorry for the confusion. Astrid Ralph Einfeldt wrote: What

AW: tomcat startup problem - tomcat window disappears

2003-07-24 Thread Fischer, Ilona
Alternative: open a cmd-line go to your Tomcat-Installation-Path ( E:\TomCat4.1) change to bin ( E:\TomCat4.1\bin) call catalina.bat run :o) Ilona -Ursprüngliche Nachricht- Von: Andrew Liles [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 24. Juli 2003 11:05 An: 'Tomcat Users List'

Re: To PEM or not to PEM in OpenSSL ???

2003-07-24 Thread Simon Pabst
1. Generate a private key: openssl genrsa -des3 -out privkey.pem 2048 (this should prompt you for a passphrase)http://www.openssl.org/docs/HOWTO/keys.txt 2. a) Generate a self-signed test certificate: openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095 2. b) If you want to use a

how to change this example JSP and servlet?

2003-07-24 Thread tommy stone
Hi.. I have a example JSP javamail page.. the sendmail.jsp (see below for the full syntax), it prompt us to input 1)From which email 2)To which email 3)Subject 4) Content But now, I want to fix , it can only send to my email [EMAIL PROTECTED], how do I fix it?? See below, the point to

RE: War files don't work

2003-07-24 Thread EPugh
I'm joining this thread late, but I posted a couple weeks ago the same problem.. I am running JDK1.4.2 and Tomcat 4.1.24. If I have a context specified in server.xml, then the war file DOESN'T unpack. If I don't have a context specified, then it DOES unpack. Setting the docBase to fortius.war

Re: Where is mod_jk2?

2003-07-24 Thread Simon Pabst
Latest (source) releases with mod_jk2 (from oldest to newest) : http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.24/src/jakarta-tomcat-connectors-4.1.24-src.tar.gz http://jakarta.apache.org/builds/jakarta-tomcat-connectors/release/v1.1M1/

RE: War files don't work

2003-07-24 Thread Bodycombe, Andrew
You need to make sure that you delete the webapps/nsfs directory before starting tomcat, or tomcat won't unpack the .war file. Place the .war file directly in the webapps directory. From: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html Copy the web application archive

Re: FW: question

2003-07-24 Thread Simon Pabst
At 10:42 24.07.2003 +0200, you wrote: Question : I've made a servlet and I can run it when I type the url : http://server.mynetwork.be:8080 http://server.mynetwork.be:8080 The URL will automatically switch to https://server.mynetwork.be:8443/index.html https://server.mynetwork.be:8443/index.html

problem finding css

2003-07-24 Thread Astrid Wagner
Hi, I am using Apache 1.3 with tomcat 4.1.24. When I use netscape 7 to run my web application everything works fine. When I use e.g netscape 4 the style sheets can not be found. How do I have to configure Apache/tomcat ? In the html page the source is refered to as: link href=/main.css

Diff betw ssh and my OpenSSL server.key and ca.key ?

2003-07-24 Thread achana
In RH7.1 under /etc/ssh there are several ssh_host_* keys and config files. They seem to be for remote client logins. Would my newly generated OpenSSL keys and certificate conflict with them ??? What's the difference between the two ??? Sorry for the newbie questions... Simon Pabst wrote: 1.

Re: Installing mod_ssl on Apache2+Tomcat+mod_jk setup...

2003-07-24 Thread Simon Pabst
Hmm i guess $APACHE_HOME points to Redhats Apache Home or where? The make should be done in the source directory, not in the Apache installation home. Just forget about the Redhat Apache and build apache completely from source, here's a step by step list (YMMV):

Re: mod_jk2 with jni+pcre, what for?

2003-07-24 Thread Simon Pabst
Unix sockets are a bit faster because the connection to Tomcat doesn't have to go through the whole tcp/ip layers. However with current hardware the difference with unix sockets is not so noticeable in most cases (your requests may get served one-two seconds faster), and using Jni/unix sockets

Re: Diff betw ssh and my OpenSSL server.key and ca.key ?

2003-07-24 Thread Simon Pabst
SSL Web-Server Certificates have nothing to do with ssh_host keys, since SSH is something entirely different than HTTP(S)... ssh_host keys are used for verifying that remote machines can be trusted, when doing remote connections to other machines using SSH. The pem files you generated

RE: problem finding css

2003-07-24 Thread Ralph Einfeldt
I would expect that you have to use link href=/html/main.css ... to get the file. Otherwise the alias directive won't match. -Original Message- From: Astrid Wagner [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 12:35 PM To: [EMAIL PROTECTED] Subject: problem finding css

Re: problem finding css

2003-07-24 Thread Simon Pabst
href=/main.css looks like wrong syntax, either use: href=main.css (if your html files linking to that css file are in the same directory) or: href=/html/main.css (if your html files are somewhere else, you need to specify the URI to the CSS file, i.e. the local part of the URL without the Host-

Re: problem finding css

2003-07-24 Thread Astrid Wagner
No I forgot to state that http.conf has also: DocumentRoot /home/minerva/servers/upolu//ipr_files/static_html otherwise it wouldn't find it in any case. I assume the main.css is looked up in /home/oraedt/app/oracle/product/9iAS_1.0.2.2/jakarta-tomcat-4.1.24/webapps/iprweb because of my:

Re: [Q] Extending a Realm

2003-07-24 Thread Tim Funk
Yup - as long as the methods your extending are not declared as final. Just make sure your class lives in the /server/ classloader. -Tim Riaan Oberholzer wrote: Is it possible to extend the standard Realms, or do you have to re-do it from scratch by implementing the interface again? I want

how to use SSL. (apache)

2003-07-24 Thread Anil Garg
Hi, I installed apache_1.3.27.tgz . I want to make ssl run from browser. Which additional package do i need to install? OR some changes in httpd.conf will enable ssl. Thanks and regads anil. - To unsubscribe, e-mail: [EMAIL

Tomcat user list

2003-07-24 Thread Yves Lambert
As the tomcat user list does not tag the subject line, please don't blind copy to the list. CC or To but not BCC -- free.fr.commentaires.signatures le groupe mythique * TagZilla 0.041 - To unsubscribe, e-mail: [EMAIL PROTECTED]

Forwarding with parameters

2003-07-24 Thread Gil Hauer
Hello, I have code in a servlet that, based on transaction status, forwards to another target page. The code snippet is: String target = /index.jsp; ServletContext c = getServletContext(); RequestDispatcher d = c.getRequestDispatcher(target);

Re: how to use SSL. (apache)

2003-07-24 Thread Simon Pabst
Download http://www.modssl.org/source/mod_ssl-2.8.14-1.3.27.tar.gz and follow the included INSTALL instructions. At 16:35 24.07.2003 +0530, you wrote: Hi, I installed apache_1.3.27.tgz . I want to make ssl run from browser. Which additional package do i need to install? OR some changes in

RE: problem finding css

2003-07-24 Thread Ralph Einfeldt
Now your are confusing me. This is what I believe to be true: Any request can just be served from one DocumentRoot. Which DocumentRoot is used, is defined by the way you configure apache If the request contains a server name that matches a given virtual host, the setting for

Re: problem finding css

2003-07-24 Thread Astrid Wagner
For my purposes it was wrong to use the VirtualHost directive because my web appl. runs on same host /port. I just left the JkMount directive and it works with old and new netscape version. The mapping to the web appl. doc root is done by workers.properties and server.xml and I thought I have to

Re: [Q] Extending a Realm

2003-07-24 Thread Martin Jacobson
Riaan Oberholzer wrote: Is it possible to extend the standard Realms, or do you have to re-do it from scratch by implementing the interface again? I want everything the Datasource Realm provides, except when the authentication succeeds, I want to update the user db table to indicate the date/time

Re: how to change this example JSP and servlet?

2003-07-24 Thread bernd pier
hi tommy, what you see is the html side of the servlet. you can go to tomcat/webapps/examples/WEB-INF/classes there you`ll find the SendMailServlet. you`ll see to files one end with .java and one with .class. when you open the .java file you`ll see the source of the java serlvet which you can

Problems with Jakarta Tomcat as Windows Service

2003-07-24 Thread Christoph . Mehne
Hi everybody, I got a problem running my Tomcat 3.2.4 Version as a service under WinNT4.0 SP6 + OptionPack. Installing Tomcat as a service was no problem. All pathes I use, i.e. as stated in wrapper.properties are on local harddisk drives. But starting the service didn't work. The command

Re: IIS and the isapi_redirect.dll

2003-07-24 Thread Nathan Ward
What does your jk_iis.log file and also your IIS log file (in c:\winnt\system32\LogFiles\W3SVC1 directory) show? I'll include a copy of mine at the end of this message. The jk_iis.log file should show that it accesses the registry and reads the workers.properties and uriworkermap.properties files,

Re: [Q] Extending a Realm

2003-07-24 Thread Riaan Oberholzer
/server/ classloader? What does this mean... I have to have the custom Realm available to a wider context than just in my application .war? --- Tim Funk [EMAIL PROTECTED] wrote: Yup - as long as the methods your extending are not declared as final. Just make sure your class lives in the

Re: [Q] Extending a Realm

2003-07-24 Thread Riaan Oberholzer
That's a good idea, thanks Can you also e.g. in this method add the user object to the session so that jsp's have instant access to it? --- Martin Jacobson [EMAIL PROTECTED] wrote: Riaan Oberholzer wrote: Is it possible to extend the standard Realms, or do you have to re-do it from

Re: [Q] Extending a Realm

2003-07-24 Thread Riaan Oberholzer
Just thought about it having a session doesn't mean you are successfully logged in, does it? The moment you open the browser and gets directed to the logon JSP, you have a session, right? That does not mean you have logged in successfully... or what am I missing here? --- Martin Jacobson

Re: IIS and the isapi_redirect.dll

2003-07-24 Thread Nathan Ward
Here's the log files that I meant to include before. Also, what url did you go to test the configuration? Welcome pages won't be displayed when accessed via IIS, e.g. http://localhost/examples doesn't work but http://localhost/examples/servlet/index.html does work. What is in your

RE: HELP! Client Authentication in Tomcat 4.1.24

2003-07-24 Thread Farrell, Patrick
That's what I thought. I'm not using Tomcat with Apache/IIS/SunONE, but rather standalone. You mentioned that I need to be using the MemoryRealm. I looked in my server.xml file and found the following lines .. which would seem to indicate that the UserDatabaseRealm is being used instead of

Re: [Q] Extending a Realm

2003-07-24 Thread Tim Funk
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html -Tim Riaan Oberholzer wrote: /server/ classloader? What does this mean... I have to have the custom Realm available to a wider context than just in my application .war? --- Tim Funk [EMAIL PROTECTED] wrote: Yup - as long

RE: Forwarding with parameters

2003-07-24 Thread René Vangsgaard ML
You cannot change protocol inside a reuqest. To change protocol you have to send a redirect to the browser. -Original Message- From: Gil Hauer To: Tomcat Users List Sent: 24-07-03 13:44 Subject: Forwarding with parameters Hello, I have code in a servlet that, based on transaction

Re: mod_rewrite and mod_jk

2003-07-24 Thread John Turner
Did you try putting [PT] on your rewrite rules? There was a thread on this just yesterday, as well as a couple of weeks ago. John Aviv Eliezer wrote: I've seen many posts on the subject, yet none helped me. I've got a tomcat 4.1.24 webapp, connected via mod_jk to apache 2.0.46. for some

Re: Session persistance after server restart: a bug?

2003-07-24 Thread Aurele Venet
could not find the SESSION.ser file anywhere, however declaring a Manager within my context tag worked and allowed me to fine tune the session persist. Many thanks for your help! vrta Jon Wingfield wrote: Not a bug. Standard behaviour. Chack out the Manager element in the server.xml

Re: tomcat startup problem - tomcat window disappears

2003-07-24 Thread John Turner
Better yet, don't change anything, and execute catalina.bat run instead of startup.bat. John Andrew Liles wrote: Edit tomcat/bin/startup.bat in one of the last lines change the keyword start to run. Then go into a DOS box and run startup.bat. This time any faults will remain on the screen

Re: Newbie : Probs tomcat 4.1.24 with apache 1.3 (sunOS)

2003-07-24 Thread srevilak
From: Olivier Marie [EMAIL PROTECTED] Subject: Newbie : Probs tomcat 4.1.24 with apache 1.3 (sunOS) Tomcat works alone (port 8080) Apache works too. When i try to display a JSP page, i obtain in mod_jserv.log : (EMERGENCY) ajp12[1]: cannot scan servlet headers (500) (ERROR) an error

Re: tomcat startup problem

2003-07-24 Thread John Turner
Run catalina.bat run instead of startup.bat. Have you checked the log files? John Gayathrie Gunawardene wrote: Hi, I get the following message when I run startup command. Using CATALINA_BASE: E:\TomCat4.1 Using CATALINA_HOME: E:\TomCat4.1 Using CATALINA_TMPDIR: E:\TomCat4.1\temp

Extending a Realm

2003-07-24 Thread Jan Bodey
Hi I have just joined this list, and I notice that there is already a thread going on subject Extending a Realm. I myself wish to do this. I have extended JAASRealm to my own class. I have put the jar containing this class into the server/lib directory. However, whenever I try to start my

Re: logs of tomcat

2003-07-24 Thread John Turner
Make sure your JkMount statements aren't something like /* and are instead something like /*.jsp and /servlet/*. John Dionisio Ruiz de Zarate wrote: Hello. In my tomcat log file (mod_jk.og) appears a lot of lines as the next line: [Wed Jul 23 23:20:58 2003] [jk_uri_worker_map.c (477)]:

Re: Get rid of socket write error

2003-07-24 Thread John Turner
1. Figure out why there is slow response time and fix it. 2. Train your users to only click once. 3. Rotate your logs every 24 hours using logrotate. 4. Use log4j and tell your developers to stop using System.out.println for printing stack traces when they have an exception. John Feltesse

Re: Extending a Realm

2003-07-24 Thread Tim Funk
When creating your own Realm/Valve, you also need add an mbean_descriptor ... http://jakarta.apache.org/tomcat/tomcat-4.1-doc/mbeans-descriptor-howto.html -Tim Jan Bodey wrote: Hi I have just joined this list, and I notice that there is already a thread going on subject Extending a Realm. I

Re: JDK Problems - libjava.so

2003-07-24 Thread Reginald Oake
Hi. One of the things that typically gives a 'can't find *.so' error the problem is that the path to the so (shared object) file is not in the LD_LIBRARY_PATH environment variable. You can check this by bringing up a terminal window and entering the following command... set | grep

IIS and isapi_redirect

2003-07-24 Thread Stephen Colson
I may be posting this for the second or third time, and if this is the case, my humble apologies. I don't believe the webmail application I was using actually sent the prior attempts to post to this list, and I haven't seen my post(s) or any subsequent replies, so here it goes again. If either

Logfile for isapi_redirector2.dll?

2003-07-24 Thread Nathan Ward
Does isapi_redirector2.dll write a log file? If so, where does it put the file? I don't see any registry settings in the documentation that specifies the log file location. Nathan

RE: HOWTO obtain UserDatabase from a servlet? [SOLVED]

2003-07-24 Thread Andrew Liles
I am going to answer my own question, for the benefit of anyone else who has the same question. The question arose because I wanted to permit a webapp to change password in the Memory database that backed the authentication scheme I was using. server.xml: in the context your code will run in,

RE: Forwarding with parameters

2003-07-24 Thread Shapira, Yoav
Howdy, Yup, use sendRedirect. Or add a filter with a servlet request wrapper mapped to index.jsp that checks and adds parameters as needed. Yoav Shapira Millennium ChemInformatics -Original Message- From: René Vangsgaard ML [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 8:34

RE: Problem with Dir Structure...

2003-07-24 Thread Shapira, Yoav
Howdy, i think this should be your servlet mapping: servlet-mapping servlet-nameShowParameters/servlet-name url-pattern/testapp/ShowParameters/url-pattern /servlet-mapping No: url-pattern is relative to the app docBase and should not include the app name. (The above

RE: Tomcat training

2003-07-24 Thread Shapira, Yoav
Howdy, The best is this list ;) ;) ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Norris Shelton [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 4:38 PM To: [EMAIL PROTECTED] Subject: Tomcat training I saw the e-mail about the tomcat training offered by

running as diff. account

2003-07-24 Thread Astrid Wagner
Hi, This may be off topic but maybe someone else had this requirement: I need to call a system call running in a different account than the account the web application runs: E.g All web applications etc. run as accountA but my web application needs to call a rsh command (via native interface) run

Re: running as diff. account

2003-07-24 Thread John Turner
Use the -l command option for rsh to designate the remote username that should be used. John Astrid Wagner wrote: Hi, This may be off topic but maybe someone else had this requirement: I need to call a system call running in a different account than the account the web application runs: E.g

Re: running as diff. account

2003-07-24 Thread Juan Nin
From: Astrid Wagner [EMAIL PROTECTED] This may be off topic but maybe someone else had this requirement: I need to call a system call running in a different account than the account the web application runs: E.g All web applications etc. run as accountA but my web application needs to call a

  1   2   3   >