PJA Toolkit and Tomcat

2002-06-08 Thread Steve Kuo
I'm trying configure PJA Toolkit 2.4 with Tomcat 4.0.3 (running under Windows 2000). In addition to making pja.jar accessible, I need to apply the following parameters to the java command line (or equivalent): -Xbootclasspath/a:pja.jar -Dawt.toolkit=com.eteks.awt.PJAToolkit

how can I close a session

2002-06-08 Thread Anibal Constante Brito
how can I close a session in JSP? or something like this. to desconect the user, that the user have to log again. Best Regards. Owen. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: /etc/profile :Urgent

2002-06-08 Thread Nikola Milutinovic
Galbayar wrote: Hello I'm changed etc/profile file. after reboot Linux linux could not start how to solve this? That should have nothing to do with Linux startup. ?etc/profile is a global login script for Bourne-class shells. Linux should boot, but you might be banned from logging in. The

Configuration problem

2002-06-08 Thread P.V.Sankar
Hello, I have installed tomcat 4.0.3 on my solaris system,and copied the binary mod_webapp.so to $APACHE_HOME/libexec.I updated the neccessary parameters in httpd.conf like: LoadModule webapp_module libexec/mod_webapp.so AddModule mod_webapp.c IfModule mod_webapp.c WebAppConnection conn

RE: how can I close a session

2002-06-08 Thread Dennis van den Berg
Try session.invalidate(); Dennis. -Original Message- From: Anibal Constante Brito [mailto:[EMAIL PROTECTED]] Sent: zaterdag 8 juni 2002 10:06 To: Tomcat Subject: how can I close a session how can I close a session in JSP? or something like this. to desconect the user, that the user

RE: Newbie help

2002-06-08 Thread Dennis van den Berg
One important difference would be that tomcat does not implement an EJB-container. Dennis. -Original Message- From: Srinivas N. Battula [mailto:[EMAIL PROTECTED]]On Behalf Of sbattul Sent: zaterdag 8 juni 2002 0:39 To: [EMAIL PROTECTED] Subject: Newbie help Hi all, Can any one

RE: secure aplications with JDBCRealm

2002-06-08 Thread Dennis van den Berg
Just to be sure, probably did that already. Did you set put the MySQL dirver in your classpath? For example in the /lib dir of tomcat? Dennis. -Original Message- From: Urtzi Larrazabal [mailto:[EMAIL PROTECTED]] Sent: vrijdag 7 juni 2002 12:41 To: Tomcat Users List (E-mail) Subject:

changing Tomcat's Document Root

2002-06-08 Thread Chris Ruegger
I want to deploy a web app to an arbitrary directory on my machine that is *not* under the Tomcat installation directory. What is the proper way to do this? Is it by setting CATALINA_BASE to the directory before I start Tomcat? Is there a doc out there that describes how to to this? Thanks, Chris

Re: changing Tomcat's Document Root

2002-06-08 Thread Markus Kirsten
Hi Chris, Just set the docBase attribute for that particular webapp context to your arbitrary directory. Hope this helps! Markus On lördag, juni 8, 2002, at 02:46 , Chris Ruegger wrote: I want to deploy a web app to an arbitrary directory on my machine that is *not* under the Tomcat

Re: Tomcat 4.0.3 Apache 1.3.x and Mod_WebApp on MacOSX (unpackWAR mod_webapp)

2002-06-08 Thread Alexander Hartner
Thanks. I played with this a little bit, and i got it working with Context path=/XyloWeb.war docBase=XyloWeb.war debug=0 reloadable=true/ and WebAppDeploy XyloWeb.war conn /XyloWeb Thanks Alex On Thursday, June 6, 2002, at 08:34 PM, Pier Fumagalli wrote: Alexander Hartner [EMAIL

context param is null outside doGet

2002-06-08 Thread Mike Millson
Why is it that context parameters are null outside the doGet block of a servlet? For example, suppose I have the following in web.xml: context-param param-namebasepath/param-name param-valuebob/param-value /context-param Why does Servlet 1 below print out bob while Sevlet 2

RE: context param is null outside doGet

2002-06-08 Thread jon wingfield
With out looking at the HttpServlet source to confirm i would guess that: In servlet 2 the member variable basepath is assigned a value after the super class (HttpServlet) constructor returns but before the servlets init(...) method is called by the servlet container. Therefore at the time of

Re: changing Tomcat's Document Root

2002-06-08 Thread puneet sachar
Hi friends, this is my 4th mail regarding my single complain.. I have install the tomcat 4.0.3 and its doing fine as far .html files are concern but no .class and .jsp files are running on it I have asked 9-10 times abt same question again and again and I got nothing from u guys there Plz help

problem..plz help me out

2002-06-08 Thread puneet sachar
Hi friends, this is my 4th mail regarding my single complain.. I have install the tomcat 4.0.3 and its doing fine as far .html files are concern but no .class and .jsp files are running on it I have asked 9-10 times abt same question again and again and I got nothing from u guys there Plz help

Re: problem..plz help me out

2002-06-08 Thread pducuron \(kgb\)
If you are in a Windows environment, make sure your /WEB-INF directory is in uppercase. Tomcat 4 works different as Tomcat 3 regarding this. gl, Pablo. - Original Message - From: puneet sachar [EMAIL PROTECTED] To: Xinji Gu [EMAIL PROTECTED] Sent: Saturday, 8. June 2002 12:22

Problem with encodeRedirectURL

2002-06-08 Thread Ujjwala Thakar
Hello, I refered this URL http://archive.covalent.net/jakarta/tomcat-user/2001/08/0111.xml Did you get the solution for this? I am having the same problem. If you got the solution, please answer. [EMAIL PROTECTED] _ Join the

Re: problem..plz help me out

2002-06-08 Thread Markus Kirsten
Does the example servlets and JSP work? Which platform do you use? Markus On lördag, juni 8, 2002, at 09:22 , puneet sachar wrote: Hi friends, this is my 4th mail regarding my single complain.. I have install the tomcat 4.0.3 and its doing fine as far .html files are concern but no

Re: problem..plz help me out

2002-06-08 Thread Sankar Kondur
OK. lets work on this. 1. first i made some changes inthe server.xml I removed the whole Engine /Engine tag that you added and added the 'sachar' context just above the manager context. 2. remove the servlet tags fromt he web.xml and invoke the servlet with the class name. lets see if it will

RE: problem..plz help me out

2002-06-08 Thread Scott Seidl
I have been having the same problem. The only difference I have is that I have not made any changes, or use, server.xml or web.xml. Let me know how the suggestions work. Scott -Original Message- From: puneet sachar [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 08, 2002 2:22 PM To:

Re: tomcat question

2002-06-08 Thread Ben Cox
Keith, et.al, Is there any way to do disable chunking on Tomcat 3.0? We are running a somewhat older application on it with jdk1.2.2, and Apache 1.3.12, on Red Hat Linux (kernel 2.4.17). We've ended up in a bit of a time crunch, need to get rid of chunking, and would be spared some time

Re: problem..plz help me out

2002-06-08 Thread Adam Pfeiffer
Have you gotten the problem resolved?? Adam --- puneet sachar [EMAIL PROTECTED] wrote: Hi friends, this is my 4th mail regarding my single complain.. I have install the tomcat 4.0.3 and its doing fine as far .html files are concern but no .class and .jsp files are running on it I have

RE: tomcat question

2002-06-08 Thread James Ward
Ben, I am not sure if this works, but on one of my servers that has a very similar configuration to yours (Tomcat Apache) we might have fixed this. We are doing this in a Virtual Host: BrowserMatch Mozilla/2 nokeepalive downgrade-1.0 force-response-1.0 You could adapt that to always force the

Tomcat/Apache/mod_webapp

2002-06-08 Thread Catherine Shepherd
Hi, We've done extensive searching of the archives and the web but failed to come up with a solution that works. Anybody cast some light on this? We're trying to get a multiple-webapp installation of Tomcat 4.0.3 on RedHat 7.2 with Apache 1.3 and mod_webapp (and JDK 1.4). Apache works fine,

Re: tomcat question

2002-06-08 Thread Ben Cox
This is very helpful. Seems to work quite well. I put in: BrowserMatch .* nokeepalive downgrade-1.0 force-response-1.0 which even works for telnet if you put a User-Agent header in there. Interestingly, we'd tried: Location /servlets SetEnv downgrade-1.0 force-response-1.0

logout?

2002-06-08 Thread Anibal Constante Brito
How can I put some buttom in the form and when the user push it the session end? I tried to do with that: Script function CloseSession() { session.invalidate(); } /Script but don't work? and in the JavaBeans I don't have session? Best Regards. Owen. -- To unsubscribe,

RE: Tomcat/Apache/mod_webapp

2002-06-08 Thread Catherine Shepherd
For more info, the [tomcat_home]/logs/apache_log.2002-06-09.txt shows the following when we try to connect to either of the pages: [WarpConnection] Exception on socket java.io.IOException: Premature packet header end ... So it appears that the connections are working ok initially but failing?

RE: logout?

2002-06-08 Thread Catherine Shepherd
HttpSession is not implicit in JavaScript. You would need to trigger session.invalidate() from the JSP, in which HttpSession IS implicit. Try something like this (quick and dirty): at the top of the body tag of your form page: % String logout = (String)request.getAttribute(logout); if

web.xml parsing error on startup.

2002-06-08 Thread beelzabeb
Hello, I am using JDK1.4 and Tomcat 4.0.3, lately, I've been having this problems: Starting service Tomcat-Standalone Apache Tomcat/4.0.3 PARSE error at line 29 column 11 org.xml.sax.SAXParseException: The content of element type web-app must match

Tomcat 4.0.3 and Mod JK problem

2002-06-08 Thread Subir Sengupta
Hi, I have Tomcat running on my dev box, with no problems. I moved tomcat over to another server and I now start getting this error: StandardEngine[Walmart]: Mapping server name '172.28.101.132' StandardEngine[Walmart]: Trying a direct match StandardEngine[Walmart]: Trying an alias match

Re: problem..plz help me out

2002-06-08 Thread Jacob Kjome
2 things I see wrong with your scenario. 1. When you refer to a servlet, you don't append .class to the end of the servlet name. For instance, you wrote: http://localhost:80/examples/servlet/abc.class which should be: http://localhost:80/examples/servlet/abc 2. You are going through port

mail list of JSP?

2002-06-08 Thread Anibal Constante Brito
Hello people: Any of you know a mail list of JSP for ask some question? Best Regards. Owen. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Tomcat Performance Counters

2002-06-08 Thread Mohammed Omar
Dear All I run tomcat 4 under windows 2000 with IIS5. I run stability test . Is there a performance counters belongs to tomcat? for example , when I install SQL server or some email servers on Windows2000 , I found that some performance counters are installed by default . is there something