How to define multiple sites

2002-03-22 Thread Alexander Höglind
Hi, I've just installed Tomcat 4.03 on a win2k server and IIS used as primary web server. Everything works fine with the example files and there would be no problem to map tomcat to another folder (like inetpub\wwwroot). But since I have multiple sites defined with different application

RE: Startup Message

2002-03-22 Thread Andy Eastham
Gurmeet, By default (on Tomcat 4 anyway) there are two services that start - Tomcat Standalone and Apache Tomcat. You control these from server.xml in the Tomcat/conf directory. If one of these is not coming up, it could be because you've broken it with your SSL installation. If it's not the

Re: AW: Debian Woody / Tomcat / Example JSPs

2002-03-22 Thread majobu
Hello Ralph, Maybe this is a stupid question, but how I check the classpath and fix it permanently? With 'env | grep CLASSPATH' I get no result (done as root and tomcat-user) I looked around on my system and found rt.jar in /usr/lib/j2sdk1.3/jre/lib. The Tomcat startscript in /etc/init.d/ says

Tomcat wierdness - sometimes a page is there sometimes its note

2002-03-22 Thread Mohr James
Hi All! I am trying to set up a secure environment using JSP on Win2k with MIIS 4, so UI have been playing around with examples/jsp/security/login/login.jsp According to the Tomcat homepage, users are configured in the conf/tomcat-users.xml file. I make a change the this file, such as

Tomcat 4.0 IIS Connectors

2002-03-22 Thread David LAGARDERE
Hello. I've been trying to make Jni connector and Warp connector work with Tomcat 4.0 and IIS 5 without success. Moreover, I cannot find some relevant documentation dealing with it. Do I have to use only Ajp connctors for the time being ? Thanks in advance. David LAGARDERE

AW: AW: Debian Woody / Tomcat / Example JSPs

2002-03-22 Thread Ralph Einfeldt
So far that looks correct to me. Some further guesses: - the jar file is not readable for the user that runs tomcat - the jar file is corrupt Verify if the user that runs tomcat can read the jar file: login as the user that runs tomcat and do /usr/lib/j2sdk1.3/bin/jar -tvf

RE: Tomcat 4.0 IIS Connectors

2002-03-22 Thread Carlos Martins
I have it working fine with the Ajp connector... seems to work fine, so why not use it? -Original Message- From: David LAGARDERE [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 22 de Março de 2002 10:32 To: [EMAIL PROTECTED] Subject: Tomcat 4.0 IIS Connectors Hello. I've been trying to

RE: How to apply SSH in Tomcat???

2002-03-22 Thread Manu Kumar
read SSL How - To its a good reference. Manu -Original Message- From: Wiwi Wiwi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 3:35 PM To: [EMAIL PROTECTED] Subject: How to apply SSH in Tomcat??? Hi. Have somebody know how to apply SSH (Secure Socket Header) in Tomcat

RE: Tomcat 4.0 IIS Connectors

2002-03-22 Thread David LAGARDERE
Hello Carlos. Jakarta project developers recommend to test the connectors which bring best performances to your application. Now I've tried with Ajp (which worked fine indeed), I would like to compare it with a Jni solution as it doesn't use TCP/IP for IPC at all. Have you tried it ? David

Re: AW: AW: Debian Woody / Tomcat / Example JSPs

2002-03-22 Thread majobu
Ralph, thanks for your help :) /usr/lib/j2sdk1.3/bin/jar -tvf /usr/lib/j2sdk1.3/jre/lib/rt.jar java/beans This worked perfect... Test.java import java.bean.Bean; public class Test { public Test() { System.out.println(Test: + Bean.isDesignTime()); } } When I try to

AW: AW: AW: Debian Woody / Tomcat / Example JSPs

2002-03-22 Thread Ralph Einfeldt
Did you use the classpath to compile the class ? /usr/lib/j2sdk1.3/jre/lib/rt.jar:/usr/lib/j2sdk1.3/lib/tools.jar:/usr/sh are/tomcat/lib/tomcat.jar To get a better comparable error message change Test.java to: public class Test { public Test() { System.out.println(Test: +

RE: Startup Message

2002-03-22 Thread Gurmeet
Andy, there does not seem to be any error with the log files. Anyway I have attached these here. Gurmeet -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 2:57 PM To: Tomcat Users List Subject: RE: Startup Message Gurmeet, By default (on

NotSerializableException

2002-03-22 Thread Talbi Aziz
Hi everyone, i use tomcat3.3, i got the following Exceotion when i was trying to Serialize an Object that is a subclass from Hashtable, this Object use the java.lang.reflect.Constructor. the Exception : ERROR [Error was occured while writing the Dispatcher into DataBase ]:

Re: AW: AW: Debian Woody / Tomcat / Example JSPs

2002-03-22 Thread Jean-Luc BEAUDET
[EMAIL PROTECTED] a écrit : Ralph, thanks for your help :) /usr/lib/j2sdk1.3/bin/jar -tvf /usr/lib/j2sdk1.3/jre/lib/rt.jar java/beans This worked perfect... Test.java import java.bean.Bean; public class Test { public Test() { System.out.println(Test: +

Processing Concurrent SOAP Requests On Tomcat

2002-03-22 Thread Richard Day
Hi, I am sending a SOAP request to Tomcat with the SOAP Apache package installed. When I submit two concurrent requests I get strange results. The first request processes successfully and returns the correct data but the second appears to process OK but it does not return I am expecting. In

Tomcat Transmission module

2002-03-22 Thread Jesus Saez
Hi: I'm making a little project and i would like to modify the transmission module. Which is its name?. Where can i find it? Is it possible? Thanks -jesus- -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL

Re: AW: AW: AW: Debian Woody / Tomcat / Example JSPs

2002-03-22 Thread majobu
I only did 'javac Test.java' without any option. Now, after your question for the classpath I changed Test.java as below and tried: 1.) javac Test.java Test.java:3: cannot resolve symbol symbol : class Bean location: package best System.out.println(Test: +

RE: Tomcat 4.0 IIS Connectors

2002-03-22 Thread Carlos Martins
Hi David, I'm afraid you're talking to somewhat of a rookie here, because i seem to be far behind your techincal knowledge. The app i setup with tomcat runs based on servlets alone. I don't use JSPs, so i think there's no need for the ontime compiler in my case. I don't know if there is any

RE: Startup Message

2002-03-22 Thread Andy Eastham
Gurmeet, As you have not attached a Apache_log.2002-03-22.txt, I assume it's the apache-tomcat service that is not starting, and is failing before it gets chance to start logging (unless of course you've deliberately disabled it. Try starting Tomcat directly from the command line - (I've

java.lan.OutOfMemoryError

2002-03-22 Thread Robert Douglass
Hi all, When I run my webapp from localhost, everything seems to be fine. When I put a link to in on my website and try running accessing it from there, I get: 2002-03-22 12:47:12 - Ctx( /RobertDouglass ): Exception in: R( /RobertDouglass + /img/Beetle8.jpg + null) - java.lang.OutOfMemoryError

RE: ssl and windows 2000

2002-03-22 Thread Manu Kumar
read SSL how to of Tomcat 4 . Its A good reference. Manu -Original Message- From: Mehmet Ugur Kuzu (LinkPlus) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 11:10 PM To: 'Tomcat Users List' Subject: ssl and windows 2000 Hi, Do you know a detailed description of how can i

RE: java.lan.OutOfMemoryError

2002-03-22 Thread Robert Douglass
I also get this error: 2002-03-22 12:59:29 - Ctx( /RobertDouglass ): IllegalStateException in: R( /Robe rtDouglass + /img/Beetle5.jpg + null) Current state = FLUSHED, new state = CODIN G but once again, only when I try to access it from the link on my webpage, not when I run localhost:8080

RE: java.lan.OutOfMemoryError

2002-03-22 Thread Robert Douglass
Sorry, I have to revise my earlier statement... I produced the same behavior from localhost. That doesn't seem to have anything to do with it. Eventually, the error buffer fills up so completely that it keeps scrolling through them for a couple of seconds after I close Tomcat: 2002-03-22

RE: java.lan.OutOfMemoryError

2002-03-22 Thread Robert Douglass
I'm using Tomcat 3.2.3, by the way. -Original Message- From: Robert Douglass [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 1:01 PM To: Tomcat Users List Subject: RE: java.lan.OutOfMemoryError I also get this error: 2002-03-22 12:59:29 - Ctx( /RobertDouglass ):

DocBase, Path, and WARs

2002-03-22 Thread Ken Ramirez
I have a quick question regarding WARs and Tomcat 4.x, which I hope someone can give me a straight answer for: I created a WAR file containing a servlet, and a few JSPs. I put all of the necessary stuff into the web.xml, and created the appropriate structure in the WAR file. According to the

how to place System.out.println messages in a different file?

2002-03-22 Thread Leila Lappin
Hello all, I'm porting an application that I developed and tested using JRun. I'm not able to see my diagnostics messages in the log file that's managed and produced by the Logger. Could someone please help me get my messages? thanks in advance Leila

Re: coyote httpconnector design

2002-03-22 Thread peter lin
thanks for responding to my post remy. I started looking at the connector coyote last week, but I haven't gone through all of it yet. Remy Maucherat wrote: There's the source code at this point ;-) j-t-c/coyote, j-t-c/http11 and of course j-t-c/util. coyote is an adapter for Tomcat

RE: JDBCRealm Debug Logging

2002-03-22 Thread PELOQUIN,JEFFREY (Non-HP-Boise,ex1)
I got that error yesterday while installing a jdbc realm for the first time. We had to put the Database Driver Jars in CatalinaRoot/common/lib and the connection worked fine. Putting the jars in Catalina/lib did not work. -Original Message- From: Eric Grace [mailto:[EMAIL PROTECTED]]

NoSerializableException

2002-03-22 Thread Talbi Aziz
Hi everyone, i use tomcat3.3, i got the following Exception when i was trying to Serialize an Object that is a subclass from Hashtable, within this Object i use the java.lang.reflect.Constructor. the Exception is : ERROR [Error was occured while writing the Dispatcher into DataBase ]:

Re: Off Topic: Free J2EE IDE: Which one?

2002-03-22 Thread @Basebeans.com
Subject: Re: Off Topic: Free J2EE IDE: Which one? From: [EMAIL PROTECTED] (Matthew Chestnut) === And here is how to make it all work together: http://www.purposesolutions.com/Resources/EclipseJ2EE.html On Wed, 20 Mar 2002 22:32:35 +0100, Dom [EMAIL PROTECTED] wrote: Hi You can try Eclipse at

webappclassloader problem

2002-03-22 Thread Jean-pierre Cartal
Hi, I've a webapp which contains has some jar files located in WEB-INF/lib. One of this jar file contains a class that is using class.forname method to instantiate another class located in the same jar file. Unfortunately, this gives me a java.lang.NoClassDefFoundError. As I read that

SSL problem, UnrecoverableKeyException

2002-03-22 Thread Xiao Juguang
Hi, guys. I am runing Tomcat 4.0 on Windows 2000 Server and JDK 1.4. Followed Tomcat HOWTO-SSL document to setup ssl. After using keytool to create a key and modify the server.xml file, I restart tomcat. I am sure tomcat can find the .keystore and password is correct. I met the error message on

RE: Startup Message

2002-03-22 Thread Andy Eastham
All, Sorry to anyone who got a virus report from this message - it contained a .bat file in a zip and I got nasty messages from accelio.com, acsfss.com and sd61.bc.ca. I have rechecked checked that the zipped .bat file (which simply launched Catalina from the command line) did not contain a

Re: How to define multiple sites

2002-03-22 Thread Bernhard Wraase
there would be no problem to map tomcat to another folder (like inetpub\wwwroot). But since I have multiple sites defined with different application requirements I would like to be able to map tomcat to multiple folders like inetpub\mysite1, intepub\mysite2. What I can read in the

Re: webappclassloader problem

2002-03-22 Thread Jean-pierre Cartal
I found the problem. I was trying to instantiate a class that was located in a jar in common/lib, however this class was implementing an interface located in a jar in WEB-INF/lib, and thus the signature could not be found :-( [EMAIL PROTECTED] wrote: Hi, I've a webapp which contains has

Cannot run Tomcat 4 on IIS/W2K server

2002-03-22 Thread A. Lai
I have installed jakarta-tomcat-4.0.3-LE-jdk14.exe on W2K server. Everything is fine. I have no problem seeing http://localhost:8080/examples/jsp/index.html However, when I clicked on the exmaple page. All the JSP I got the following messages: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal

Re: re-deploying a web app

2002-03-22 Thread Jeff Larsen
I've experimented with several versions (3.2, 3.3, 4.0) of Tomcat and none of them have handled updating of application files with any grace. The documentation on this is pretty sparse so I've never been sure whether it's a bug or the intended behavior. The only way to make sure things get

how to redirect System.out, or a relevant link please

2002-03-22 Thread Leila Lappin
Hello everyone, Could someone please send me a link to find information on redirecting system.out and system.err. I've been to http://www.jguru.com/faq/view.jsp?EID=302980 they suggested reading the relevant discussion on the archived mailing list

Re: how to redirect System.out, or a relevant link please

2002-03-22 Thread Sanjay Bahal
Try this: System.setOut(new PrintStream(new FileOutputStream(filename,true))); System.setErr(new PrintStream(new FileOutputStream(filename,true))); --- Leila Lappin [EMAIL PROTECTED] wrote: Hello everyone, Could someone please send me a link to find information on

RE: how to redirect System.out, or a relevant link please

2002-03-22 Thread Furmaniak Christophe
you want to see the trace of your System.out.print? nothing in catalina.out? CF -Message d'origine- De : Leila Lappin [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 22 mars 2002 19:51 À : Tomcat Users List Objet : how to redirect System.out, or a relevant link please Hello

Re: Load Balacing Apache-Tomcat

2002-03-22 Thread Jesus Gerardo Velez Reynaga
This article explain hot to get load balancing using apache+tomcat http://www.ubeans.com/tomcat/index.html I hope it help you regards On Thursday 21 March 2002 05:54 am, you wrote: mod_jk from jakarta-tomcat-connectors should do the trick with the lb worker. When the lb-factor is set to

Re: how to redirect System.out, or a relevant link please

2002-03-22 Thread Leila Lappin
Thanks , I see it in catalina.out. Not to whine about it but I couldn't find any easy reference to this little answer anywhere in the documentation. thanks again Leila - Original Message - From: Furmaniak Christophe [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent:

Re: Cannot run Tomcat 4 on IIS/W2K server

2002-03-22 Thread rsequeira
You need to have tools.jar in your classpath. RS A. Lai [EMAIL PROTECTED] on 03/22/2002 09:41:30 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Cannot run Tomcat 4 on IIS/W2K server I have installed jakarta-tomcat-4.0.3-LE-jdk14.exe on W2K

Re: Cannot run Tomcat 4 on IIS/W2K server

2002-03-22 Thread A. Lai
Sorry, anyone kind enough to point out where I can get the tools.jar? Can't find it in the jdk folder. You need to have tools.jar in your classpath. RS A. Lai [EMAIL PROTECTED] on 03/22/2002 09:41:30 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Got It - Cannot run Tomcat 4 on IIS/W2K server

2002-03-22 Thread A. Lai
I put d:\java and all is well now. Thanks. you need to actually specify the jar filename in the classpath. Something like this: set classpath=d:\java\lib\tools.jar RS A. Lai [EMAIL PROTECTED] on 03/22/2002 10:29:59 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat

Tomcat 3.2 and JDOM -b8

2002-03-22 Thread David Provencher
Hello, Anybody manage to use JDOM-b8 with tomcat 3.2? Here the layout of what I'm doing. I have a pakage toolkit that have 2 class in it: XMLManipulator and Communicator - XMLManipulator import jdom pakage - Communicator use XMLManipulator and never use jdom. Then I have a JSP

JSP on IIS 5.0

2002-03-22 Thread A. Lai
Anyone has some luck in getting Tomcat 4 to run with IIS? After installing everything according to http://www.vacodi.com/howto/tomcat/iisnt/index.html and set up all ISAPI filters. Looks like JSP is not kicking in while it's well alive on port 8080. I have checked ALL IIS mapping, registry key

REPOST: mod_jk.log question

2002-03-22 Thread Cindy Ballreich
I'm using mod_jk with Tomcat 4.0.1 and Apache 1.3.19 on a Redhat 7.0 system. Looking at my mod_jk.log file, it appears that mod_jk is trying to map every request that comes to my server, regardless of whether it should be handled by Tomcat or Apache. This seems very inefficient to me and I'm

RE: JSP on IIS 5.0

2002-03-22 Thread Randy Layman
What errors are you getting (500 Internal Server Error, 404 Page Not Found, 403 Permission Denied, etc) and what is generating them (Tomcat, IIS)? You probably want to look at your log files (IIS, isapi_redirect.log, and Tomcat's) and you will probably be able to determine the

RE: Servlet Deploy Problem Help

2002-03-22 Thread Lance Smith
Sanjay, If I understand you're request what you want is /search/hello /search/abc /search/def with hello, abc, and def all being servlets. Then you want to be able to reach each servlet with the url http://.../search/servletName. If this is the case I think you will end up adding a

Any links for JavaScript issues with Tomcat and netscape 6.2?

2002-03-22 Thread Leila Lappin
Hello all, I made a little progress in my efforts to port my application from NT to tomcat but now I'm really worried. My first JavaScript in the application doesn't work the way it used to. I know it sounds strange but the application works on NT/JRun with both iexplorer and Netscape

Re: Any links for JavaScript issues with Tomcat and netscape 6.2?

2002-03-22 Thread Micael Padraig Og mac Grene
Leila, If you JavaScript does not work, you need to contact someone who focuses in that area, i.e. a different list. I don't mean to be rude, but whether or not JavaScript works obviously has nothing really to do with the server. Micael At 12:39 PM 3/22/02 -0800, you wrote: Hello all, I

Re: JSP on IIS 5.0

2002-03-22 Thread A. Lai
Problem is I am NOT getting any error. I can get the page like http://localhost/jsp/cal/cal1.jsp However, all the JSP's are not parsed. the iis_redirect.log is empty. I did get something in the system log for W2K that said The HTTP filiter DLL d:\tomcat4\bin\native\isapi_redirect.dll failed

Re: java.lan.OutOfMemoryError

2002-03-22 Thread David Hamilton
'java.lan.OutOfMemoryError' Coo - is your whole LAN out of memory? Wow! (Sorry couldn't resist.) Seriously: You using JDK 1.4? We found that TC 3.2.3 with JDK 1.4 was giving us a recursive IllegalStateException which locked up the server and eventually fell over. Reason: Any cancelled or

RE : many java processes

2002-03-22 Thread Gregor Kovaè
Hi! I think that this is because threads are represented like processes under Linux. Best regards, Kovi At 18:25 22.3.2002 +0100, you wrote: I am running Tomcat 4.0.3 with j2sdk1.4.0, Apache 1.3 with a webapp connector on a Cobalt Raq4 server (kernel 2.2.16C28_III). I don't

RE: JSP on IIS 5.0

2002-03-22 Thread Randy Layman
This error message indicates one of: 1. isapi_redirect.dll is not at the file path listed 2. the user trying to start IIS (the System Account usually) doesn't have permissions to access the dll 3. There is some configuration that is very wrong making

Re: Any links for JavaScript issues with Tomcat and netscape 6.2?

2002-03-22 Thread Gregor Kovaè
Hi! Hmm, maybe you should look at http://www.jguru.com ? Or you don't have your path's set up right ? Best regards, Kovi P.S.: Just saying that things don't work isn't usually enough for people helping solve problems. At 09:46 22.3.2002 -0800, you wrote: Leila, If you JavaScript

RE: java.lan.OutOfMemoryError

2002-03-22 Thread Robert Douglass
Thanks David! I'll probably be back on the list with questions about geting TC 4.01 set up, but that answers MANY questions. After all, the application worked fine a half year ago when it was developed. I've fiddled with things in the meantime, and I thought maybe the configuration or code was

RE: JSP on IIS 5.0

2002-03-22 Thread Spencer, Sean
I suggest checking your workers.properties file. I've noticed some inconsistencies when this file is referenced. Make sure iis_redirect.reg references this file as workers.properties. (notice the S at the end of workers, i.e.- plural) Also make sure your file is named workers.properties AND NOT

RE: Servlet Deploy Problem Help

2002-03-22 Thread Sanjay Bahal
Lance, Yes- that is what I want to do: http://.../search/servletName or its mapping. for each servlet I want to map and call it. Lets say I have 5 different servlets- I want to have 5 mappings and call them all by their names. what is this Front Controller pattern- you have some kind of an

Re: coyote httpconnector design

2002-03-22 Thread Remy Maucherat
Since include directive is like C include. I originally though include directive would always perform better than action include. For one thread, include directive does perform better, but 2 threads action include is twice as fast. One interesting observation with coyote include directive

RE : RE : many java processes

2002-03-22 Thread Vincent Lambert
I know that but my question is why do i have so many thread. I set up my configuration with 10 maxProcessor so I should have 10 java threads. -Message d'origine- De : Gregor Kovae [mailto:[EMAIL PROTECTED]] Envoye : vendredi 22 mars 2002 19:00 A : Tomcat Users List Objet : RE : many

RE : java.lan.OutOfMemoryError

2002-03-22 Thread Vincent Lambert
I encounter similar problem and i am running TC4.0.3 with JDK 1.4. -Message d'origine- De : David Hamilton [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 22 mars 2002 18:59 À : Tomcat Users List; [EMAIL PROTECTED] Objet : Re: java.lan.OutOfMemoryError 'java.lan.OutOfMemoryError' Coo -

RE: RE : java.lan.OutOfMemoryError

2002-03-22 Thread Robert Douglass
Darn, I had my hopes up for an easy solution! -Original Message- From: Vincent Lambert [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 7:10 PM To: 'Tomcat Users List' Subject: RE : java.lan.OutOfMemoryError I encounter similar problem and i am running TC4.0.3 with JDK 1.4.

Re: coyote httpconnector design

2002-03-22 Thread peter lin
Remy Maucherat wrote: Since include directive is like C include. I originally though include directive would always perform better than action include. For one thread, include directive does perform better, but 2 threads action include is twice as fast. One interesting observation

RE : RE : java.lan.OutOfMemoryError

2002-03-22 Thread Vincent Lambert
How thread runs on your systèm ? -Message d'origine- De : Robert Douglass [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 22 mars 2002 19:16 À : Tomcat Users List Objet : RE: RE : java.lan.OutOfMemoryError Darn, I had my hopes up for an easy solution! -Original Message- From:

RE: RE : RE : java.lan.OutOfMemoryError

2002-03-22 Thread Robert Douglass
It is single thread. -Original Message- From: Vincent Lambert [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 7:17 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE : RE : java.lan.OutOfMemoryError How thread runs on your systèm ? -Message d'origine- De :

Re: Any links for JavaScript issues with Tomcat and netscape 6.2?

2002-03-22 Thread Leila Lappin
I was just asking if anyone knows of any links for that set of issues. - Original Message - From: Micael Padraig Og mac Grene [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 22, 2002 9:46 AM Subject: Re: Any links for JavaScript issues with Tomcat and

Re: REPOST: mod_jk.log question

2002-03-22 Thread Jeff Larsen
It all depends on the relevant Alias and JkMount directives in your Apache configuration. You'll need to post them in order for us to make any useful analysis. Here's an example of my config where Apache serves the static content. The servlet context is /online. # tell Apache where my app

RE: Servlet mapping question

2002-03-22 Thread Sean LeBlanc
-Original Message- From: Sean LeBlanc [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 11:25 AM To: [EMAIL PROTECTED] Subject: Servlet mapping question I want to have a servlet listen at the top level of my app for urls of this type: http://www.myserver.com/foo

Re: RE : java.lan.OutOfMemoryError

2002-03-22 Thread Jeff Larsen
Actually, changing java versions is easier than changing Tomcat versions. I've made it my policy to NEVER use a Java 1.x.0 version. It never pays to be on the bleeding edge. If you've ever spent any time hanging out in the Java Developer's Connection 'Bug Parade', you'll know that they rarely get

Re: Servlet mapping question

2002-03-22 Thread Jeff Larsen
You haven't said anything about your Tomcat configuration. What version? Are you running it standalone or through Apache? Basically, it sounds like you need to create a Context in your server.xml which maps the root (/) to your servlet. In the default Tomcat config, look at how they map the

wildcards in context path (webhosting setup)

2002-03-22 Thread Ralf Praschak
hello! i´ve a little configuring problem under tomcat 4.03 on redhat linux 7.1 i have a structure like this: - webapps + projects + project_1 + project_2 + students + student_1 + student_2 to deploy servlets under projects or students is no problem (of course not). but i

RE : RE : RE : java.lan.OutOfMemoryError

2002-03-22 Thread Vincent Lambert
Which system (windows /linux / solaris) ? If linux : ps -aux | grep java -Message d'origine- De : Robert Douglass [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 22 mars 2002 19:23 À : Tomcat Users List Objet : RE: RE : RE : java.lan.OutOfMemoryError It is single thread. -Original

RE: RE : java.lan.OutOfMemoryError

2002-03-22 Thread Andy Eastham
Jeff, That's pretty harsh on Sun. How many major software vendors do you know that get it completely right first time? At least Sun have the decency to inform it's customers (many of whom use their products for free) of what the current bugs are. And they also ask which are causing the most

Re: RE : java.lan.OutOfMemoryError

2002-03-22 Thread Jeff Larsen
OK, so I missed the part where they found that it was a Tomcat problem. But I stand by my point on avoiding first edition JDK releases. And I'm not necessarily flaming Sun here. If I didn't think Java was a godsend, I wouldn't be reading this list. It's just the reality of software that new major

RE: Servlet mapping question

2002-03-22 Thread Craig R. McClanahan
On Fri, 22 Mar 2002, Sean LeBlanc wrote: To add even more to this - I can't even get the pattern like this to work: url-pattern/c*/url-pattern anything typed doesn't seem to get recognized and used by the servlet. Any ideas would be welcome. You might start by consulting the Servlet

Tomcat bug, Java Bug, or neither?

2002-03-22 Thread Brandon Cruz
Using Tomcat 3.2.4, has anyone noticed an error if you attempt to use jsp:forward to forward requests to a page that also uses a jsp:forward tag? It seems that this never works and results in a 404 error. Is there some spec that does not allow this, is it a tomcat bug, or is it just a java bug?

JavaBeans Classpath

2002-03-22 Thread Faisal Shareef
Dear All, I am really struggling in configuring the classpath for JavaBeans in Tomcat 3.2.4. I've already spent a whole week in solving this puzzle but cannot get to anywhere. Please help me giving some advice about the variables and classpaths to be added/modified in Tomcat Batch files. I

Re: REPOST: mod_jk.log question

2002-03-22 Thread Cindy Ballreich
Thanks for your reply! Here is my mod_jk.conf which is referenced from httpd.conf... IfModule !mod_jk.c LoadModule jk_module libexec/mod_jk.so /IfModule JkWorkersFile /usr/local/java/catalina/conf/jk/workers.properties JkLogFile /usr/local/java/catalina/logs/mod_jk.log JkLogLevel warn Alias

Re: java.lan.OutOfMemoryError

2002-03-22 Thread David Hamilton
You sure? I only ask because if you are I have to got back to my team member who reported 4.01 fixed it and get him to a) double check with 4.01 and b) find if 4.03 is different. david - Original Message - From: Vincent Lambert [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL

RE: IllegalAccessException when using Java in XSLT

2002-03-22 Thread Larry Isaacs
This turns out to be caused by the fact that the HttpSessionFacade class wasn't declared public. This will be fixed in the Tomcat 3.3.1 release. Cheers, Larry -Original Message- From: Wout Neirynck [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 9:45 AM To: [EMAIL

mod_jk

2002-03-22 Thread Roberto Lo Giacco
I've a problem trying to integrate Tomcat4 with Apache 1.3: everything seems going well, tomcat starts correctly and creates the mod_jk.conf, the workers.properties is set up correctly, or at least I think so, but when I start up apache a warning is issued telling me that the mod_jk is not

Re: RE : java.lan.OutOfMemoryError

2002-03-22 Thread David Hamilton
That was my evaluation. The error handling looked distinctly fragile to me. To be honest, it looks like Sun have tightened up their state-checking with the nio package (good) and exposed some weaknesses in the tomcat code (bad). But then I have strong opinions on error handling (i.e. you should

Re: REPOST: mod_jk.log question

2002-03-22 Thread Jeff Larsen
I don't see anything in your setup that looks wrong. Just for kicks, I set my test server's log level for mod_jk to warn and I didn't see any messages relating to non-servlet document requests. Something is fishy on your system. Are non-servlet requests being properly returned to the browser?

problem with a servlet

2002-03-22 Thread Cybersystem
hello, i installed jakarta tomcat 4.0.3 last week, and now i wanna install a servlet, but when i'll start the servlet, comes this error: type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from

Re: java.lan.OutOfMemoryError

2002-03-22 Thread David Hamilton
I know that IllegalStateException with TC 4.0x was reported on this list a few weeks ago - but IIRC the evaluation of it indicated that it was due to another reason than the one I described below (was it servlet forwarding, or something like that?) Is your similar problem occurring recursively,

File Download

2002-03-22 Thread Reto Badertscher
Hello, i'm downloading a file from a servlet. So far all is OK, besides that IE5 displays the URL in the save dialog. I have a problem when using the compress filter - my file is no longer stored with the correct MIME type (in this case 'mdb'). How can i download a zipped application file and

RE: java.lan.OutOfMemoryError

2002-03-22 Thread Robert Douglass
The problem occurs repeatedly. It handles light traffic alright, but as soon as it has to handle more than one or two page requests per second, the error log overflows. That is very likely why it is out of memory. When I shut Tomcat down, the error log needs another MINUTE or two to display all

RE: RE : RE : RE : java.lan.OutOfMemoryError

2002-03-22 Thread Robert Douglass
I'm running W2K. -Original Message- From: Vincent Lambert [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 7:29 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE : RE : RE : java.lan.OutOfMemoryError Which system (windows /linux / solaris) ? If linux : ps -aux | grep

Tomcat on Mac OS X, please help!

2002-03-22 Thread apache
The players: * Mac OS 10.1.3 * JDK 1.3.1 * Tomcat 4.0.2 * Apache * webapp-module-1.0-tc40 (for Mac) The problems: * Running Tomcat standalone or with Apache, I get 404 errors on the example links. * When trying to use webapp-module, I get this error: Syntax error on line 288 of

RE: Servlet mapping question

2002-03-22 Thread Sanjay Bahal
I have a similar issue- albeit simpler. I have two servlets in one subdir. I have mapped it with something like- servlet-mapping servlet-nameSearchServlet/servlet-name url-pattern/search/*/url-pattern /servlet-mapping As a result of which /search/anything calls the SearchServlet. How

RE: java.lan.OutOfMemoryError

2002-03-22 Thread Robert Douglass
I changed the JDK back to 1.3.1 (which is what my class files were compiled with) and the error message: 2002-03-22 22:17:32 - Ctx( /RobertDouglass ): IOException in: R( /Robert + /img/Beetle4.gif + null) Connection aborted by peer: socket write err is still there every time it loads an image,

Re: java.lan.OutOfMemoryError

2002-03-22 Thread David Hamilton
Kind of like this? ;-) [DEBUG,EmbeddedTomcatServiceSX] 2002-03-22 21:15:25 - Ctx( /financity ): IllegalStateException in: R( /financity + /fintools/networth.jsp + null) Current state = FLUSHED, new state = CODING [DEBUG,EmbeddedTomcatServiceSX] 2002-03-22 21:15:25 - Ctx( /financity ):

Re: java.lan.OutOfMemoryError

2002-03-22 Thread David Hamilton
No, AFAIK it is because the IOException is handled differently from the IllegalStateException: The IllegalStateException causes a recursive error handling trap to occur that gradually fills up the stack and blows the system. Because you've got a number of requests happening it hides the fact

mod_jk mod_userdir and home directories

2002-03-22 Thread Neil Streeter
Hi everyone! I am having a problem getting mod_jk to redirect servlet and jsp request when it is made to home directories using mod_userdir *Note: I have the examples working with an alias... but I don't want to alias home directories one at a time... that's a nightmare... this is what I

Re: REPOST: mod_jk.log question

2002-03-22 Thread Cindy Ballreich
Jeff, As far as I can tell, all requests (servlet or non-servlet) are being served properly. I tried changing the log levels in the configuration. info - nothing is being logged at all as far as I can see. warn - tons of logging, including non-servlet items debug - same as warn with some more

RE: java.lan.OutOfMemoryError

2002-03-22 Thread Robert Douglass
You can see more code in my app here: http://forum.java.sun.com/thread.jsp?forum=45thread=233298 -Original Message- From: David Hamilton [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 6:59 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: java.lan.OutOfMemoryError

tomcat does not support JavaScript

2002-03-22 Thread Leila Lappin
Hi all, I found this interesting bit of information on http://www.jguru.com/forums/view.jsp?EID=398307. This may be useful for web application developers who're planning to use tomcat as their application server. Leila

Limit one session from one user

2002-03-22 Thread Mihai Gheorghiu
I want to limit the access of any regular user of the system to only one session open at a certain moment. Any suggestions will be highly appreciated. Thank you all. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list:

  1   2   >