Re: tomact not staring

2002-06-06 Thread Ushakov, Sergey N
bad command suggests that most likely something is wrong with JAVA_HOME... But to make sure I can suggest the following: 1) modify catalina.bat so that the first line becomes echo on instead of @echo off 2) start Tomcat again and watch the batch file output 3) have a good look at the lines

RE: Classpaths

2002-06-06 Thread Shapira, Yoav
Howdy, How can i do for add classes to Tomcat Classpath?... i have an application The short answer: in many many ways ;) The long answer: depends on where you want the classes to be visible. If you just want them for one web-app, add them to that web-app's /WEB-INF/classes directory. Or

RE: Tomcat 4.0 keeps shutting itself down

2002-06-06 Thread Shapira, Yoav
Howdy, Tomcat 4 works fine when the service is running, but will time out at random during the day or night when not in use. If there is a timeout setting for this installation please let us know. Does the server process just completely stop? Is there anything interesting in the tomcat logs up

Re: can I get a directory listing in tomcat

2002-06-06 Thread Phillip Morelock
I don't know how it works these days, but I faced this back in like 3.2.2: Tomcat would not allow any access to the filesystem outside of the tomcat tree. Check out the SECURITY_MANAGER_HOWTO, I think, as a place to start. fillup On 6/6/02 2:17 PM, Ryan [EMAIL PROTECTED] wrote: Hello,

RE: Classpaths

2002-06-06 Thread Muñoz Ordenes Andrés (Casa Matriz)
-Mensaje original- De: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Enviado el: Thursday, June 06, 2002 4:39 PM Para: Tomcat Users List Asunto: RE: Classpaths Howdy, How can i do for add classes to Tomcat Classpath?... i have an application The short answer: in many many ways

Re: Question regarding Active Directory/LDAP

2002-06-06 Thread Chris Shen
i am trying to create a web front end using an ldap api to query and update the active directory so that i can pull out information on an user or create and update the info on an user in the active directory... Chris - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Tomcat 4.0.1 and memory usage

2002-06-06 Thread Tia Haenni
I have searched the archives for this topic, but I need more information to understand. I need to limit the amount of memory used by Tomcat. I have Tomcat 4.0.1 running as an nt service on a Windows 2000 server box with redirects coming from IIS 5.0. I heard of using java -verbosegc to

Re: Tomcat 4.0.1 and memory usage

2002-06-06 Thread Phillip Morelock
Just like you set CATALINA_HOME set CATALINA_OPTS to the string you want to feed the vm. so %CATALINA_OPTS% should be -Xmx### -Xms### fillup On 6/6/02 2:38 PM, Tia Haenni [EMAIL PROTECTED] wrote: I have searched the archives for this topic, but I need more information to understand. I

tomcat 4.0.3 servlet having problem loading class via rmi ?

2002-06-06 Thread java guru
Hi., I am trying to access a JINI service thru my servlet.. inspite of following Security Manager, Policy file and setting codebase etc, tomcat 4.0.3 repeatedly give following excption. The JINI service itself is working fine and other standalone clients can access it. Read somewhere that the

can I get a directory listing in tomcat

2002-06-06 Thread Ryan
Hello, I'm trying to get a directory listing as in the example below, but an exception is thrown saying the tomcat user does not have access to the /tmp directory. Is the tomcat itself not allowing access to the servers directory structure (i.e. the permissions on /tmp are completely open i.e.

Re: Tomcat 4.0.1 and memory usage

2002-06-06 Thread Tia Haenni
Ok, that's simple enough. Does that limit the amount of RAM Tomcat can use? Do you know the minimum it requires? Also, would the java -verbosegc also be set in this way? TIA Phillip Morelock wrote: Just like you set CATALINA_HOME set CATALINA_OPTS to the string you want to feed the vm. so

Re: can I get a directory listing in tomcat

2002-06-06 Thread Ryan
Phillip, Thanks for the reply, after some searching and debugging. I found you can add the following to the $CATALINA_HOME/conf/catalina.policy file (grant section) to add read permissions to everything . permission java.io.FilePermission ALL FILES, read; Thanks again, Ryan --- Phillip Morelock

jdk 1.4 and Oracle drivers

2002-06-06 Thread John Gregg
Hi all. Upon completing my most recent project I switched from jdk 1.3.1 to 1.4. However now I can't start Tomcat (4.0.1) because it can't find the Oracle jdbc driver class. When I first started using Oracle with Tomcat, I renamed the classes12.zip to classes12.jar. Now no matter where I put

Re: jdk 1.4 and Oracle drivers

2002-06-06 Thread Tia Haenni
Did you try adding the location of your classes12.jar to the Tomcat classpath? Look in tomcat_home/bin/setclasspath file. There should be a section near the bottom like one of the following depending on the OS: # Set standard CLASSPATH CLASSPATH=$JAVA_HOME/lib/tools.jar rem Set standard

RE: tomcat question

2002-06-06 Thread Keith Wannamaker
tomcat questionThere was a bug in j-t-c that was fixed a few days ago that caused requests to be chunked even if the content-length was known. You should build tomcat-util from jakarta-tomcat-connectors and replace the one in your tomcat install with it. Otherwise, you could always use the

Re: Tomcat 4.0.1 and memory usage

2002-06-06 Thread Phillip Morelock
Anything you would normally pass on the command line to java -- you put into CATALINA_OPTS At some point in the script that starts tomcat, you'll see a line like (*approximately*) $JAVACMD -classpath $SOMETHING $CATALINA_OPTS or something like that -- so you can see that $CATALINA_OPTS just

hp unix mod_jk error -help

2002-06-06 Thread Paula_J_Bosch
Apache 2 Tomcat 4 Does anyone know why I am getting this error? I compiled mod_jk using hp-unix.sh. I received no errors. When I try to test httpd.conf I get the following... $ apachectl configtest Syntax error on line 251 of /opt/apache2/etc/httpd.conf: Cannot load

Re: Tomcat 4.0.1 and memory usage

2002-06-06 Thread Tia Haenni
ok, just one more question, if i pass an argument for -verbosegc or any other stuff that would normally go to the standard output (the console), but with running tomcat as a service there is no console window, where does it go? does it get dumped in a log or what? Tia Phillip Morelock wrote:

Re: Tomcat 4.0.1 and memory usage

2002-06-06 Thread Phillip Morelock
yes, i believe so. there's a real answer to this, but I don't remember it. ;) As a test, write a load-on-startup servlet that prints a bunch of stuff in init() and check it out in /logs. There may be something you have to set in server.xml or whatever, but I am at least 50% sure you don't have

can't find ressources

2002-06-06 Thread noel . jean-baptiste
Hi, in my servlet Java i do : ServletContext servletContext = getServletContext(); String pathXml = servletContext.getRealPath(file.xxx); the result is pathXml = /usr/nameUsers/public_hmtl/file.xxx The WebServeur can't acces by this way. How can i do to access to my hostname/~nameUsers from

RE: Switching isapi configuration from jk to jk2

2002-06-06 Thread Ignacio J. Ortega
De: Robert Priest [mailto:[EMAIL PROTECTED]] Enviado el: 6 de junio de 2002 22:01 Para: 'Tomcat Users List' Asunto: RE: Switching isapi configuration from jk to jk2 Besides my other questions, does the registry entry still remain the same? [HKEY_LOCAL_MACHINE\SOFTWARE\Apache

authentication based on linux user accounts

2002-06-06 Thread lloyd
How can I set up tomcat to authenticate against linux user accounts, and to tie roles to linux groups? thx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Tomcat 3.2.3, WEB-INF/lib, JAXP 1.2 and JAXM 1.0.1

2002-06-06 Thread Ben Starr
Is it possible to get a web app in Tomcat 3.2.3 to work with JAXP 1.2 and/or JAXM 1.0.1 without having to place the JARs in the $TOMCAT_HOME/lib directory? (ie: by placing them in the WEB-INF/lib directory) It works fine on Tomcat 4.0.1 but I can only get it to work with Tomcat 3.2.3 by placing

RE: authentication based on linux user accounts

2002-06-06 Thread Tomasz . Ciolek
look at tomcat's PAM integration... -- Tomasz M. Ciolek Systems Administrator - CSIRO Entomology Phone: 02-62464391 * Fax: 02-62464000 -Original Message- From: lloyd [mailto:[EMAIL PROTECTED]] Sent: Friday, 07 June 2002 09:57 To: tomcat-user Subject: authentication based on

Re: Classpaths

2002-06-06 Thread Ushakov, Sergey N
I understand this is not the answer you expect, and I would like to know the right answer to your question also, but still... If moving the classes is too crude, can you afford making a copy of your .jar(s) or class tree(s) ? :))) I have been doing it this way till now... Regards, Sergey

RE: Servlet / Tomcat question

2002-06-06 Thread Scott Seidl
Thanks for the help, but I'm still having problems. The package of the servlet I'm trying to access is ltshoppingcart and the servlet name is Login. So I have tried accessing the servlet by going to http://localhost:8080/lt2001/servlet/ltshoppingcart.Login and all I get is a message from Tomcat

tomcat probs

2002-06-06 Thread Gordon L. Mc Lellan
Greetings... I'm having a newbie related issue with tomcat, but I feel it is more related to the J2RE than to tomcat itself. I have tried installing tomcat on 3 systems today, and although the install appears to be successfull, whenever I try to execute any of the enclosed JSP examples, I get a

RE: Classpaths

2002-06-06 Thread Ushakov, Sergey N
To Andrés Muñoz: I believe this is the right answer for your question. It is for Tomcat 4, but perhaps if you examine in you 3.x how tomcat.bat calls cpappend.bat you'll find your way... Regards, Sergey - Original Message - From: Tia Haenni [EMAIL PROTECTED] To: Tomcat Users List

Re: tomcat probs

2002-06-06 Thread Phillip Morelock
Ummdid you say J2RE?? You must have the jdk installed to use Tomcat. It needs a compiler to compile the JSP's. fillup On 6/6/02 9:05 PM, Gordon L. Mc Lellan [EMAIL PROTECTED] wrote: Greetings... I'm having a newbie related issue with tomcat, but I feel it is more related to the

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Nikola Milutinovic
Oh and you'll probably want to define: JAVA_HOME CATALINA_HOME (or TOMCAT_HOME as appropriate) directly inside of tomcat.sh or catalina.sh Has anyone had problems with this? I'm experiencing startup problems. The script is all setup *that* way and running it manually when the

RE: Servlet / Tomcat question

2002-06-06 Thread Jacob Kjome
the /servlet/ mapping is only available off the root of the context. It should work if you go to: http://localhost:8080/servlet/ltshoppingcart.Login Jake At 11:02 PM 6/6/2002 -0500, you wrote: Thanks for the help, but I'm still having problems. The package of the servlet I'm trying to access

AW: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread Ralph Einfeldt
Depending on how good you wan't to disable access from the outside and what the outside is (other departments, internet) there are at least the following options: - Use org.apache.catalina.valves.RemoteHostValve or org.apache.catalina.valves.RemoteAddrValve To allow/block certain Hosts/IP's.

<    1   2