Configuring tomcat with soap and log4j

2001-09-05 Thread Ram, Kumar
Hi, I am trying to configure log4j with tomcat and soap. The log4j.properties file is in my C:\soap-2.1\webapps\soap\WEB-INF\classes as stated in the manual.html file that comes with the package. I have tomcat installed in C:\jakarta-tomcat-3.2.1The soap service works properly and gives

Re: Limits on the size of the web.xml file?

2001-09-05 Thread Jim Cheesman
At 05:57 PM 04/09/01, you wrote: On Tue, 4 Sep 2001, Jim Cheesman wrote: RTFAPI ;) This acronym will *definitely* come in handy! :-) Something good comes out of my ignorance, then... -- * Jim Cheesman * Trabajo: [EMAIL PROTECTED] -

Re: JSP Performance

2001-09-05 Thread Jim Cheesman
At 09:48 PM 04/09/01, you wrote: Hi, I have a JSP file and it takes nearly 25 seconds to run for the first time. Is there a way to make JSP's fast on first execution? The first call will always (*) take longer, as tomcat has to translate and compile your page - you can see the final result

RE: NT Service Problem

2001-09-05 Thread Rasmus Aaen
This is a known bug. It is corrected in JDK 1.3.1 /Rasmus -Original Message- From: Karthik Gopal [mailto:[EMAIL PROTECTED]] Sent: 5. september 2001 07:25 To: [EMAIL PROTECTED] Subject: NT Service Problem Hi, I installed Tomcat as an NT Service in a Win2k Server. While am logged in the

Re: Book

2001-09-05 Thread Dmitri Colebatch
On 4 Sep 2001, Chris Beggy wrote: Does the working group have a website? not sure which project is being referred to, but tomcatbook is at sourceforge.net/projects/tomcatbook - the book is at a crossroads at the moment, as very little has been happening, so if anyone has time to write some

Re: mod_jk initialized twice???

2001-09-05 Thread jean-frederic clere
[EMAIL PROTECTED] wrote: Hi, Some of you might have seens mail from me before... I'm still trying to get apache and tomcat to work together. Requests are handled by apache, but never reach tomcat, the JSP source code is shown instead. And when you connect to TC directly? During my

i need help for mod_webapp/TCb7

2001-09-05 Thread Francis Lapique
Tomcat b7 + mod_webapp How in apache do get numguess.jsp to be executed correctly? http://mysite/examples/jsp/num/numguess.jsp Here my apache_log 2001-09-05 11:24:01 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket java.io.IOException: Premature packet header end

Re: mod_webapp.so: invalid ELF header

2001-09-05 Thread jean-frederic clere
Chris Gokey wrote: I attached the output of the build process, although I don't see any errors.. But that doesn't mean anything :) The error is in the Makefile - I will fix it - Thanks for responding and taking a look. Chris On Wed, 5 Sep 2001, Pier Fumagalli wrote: Chris

Apache + mod_ssl === Tomcat + JSSE

2001-09-05 Thread Ricardo
Hi, I have created a CA with openssl and I generate client and server certificates. I install this certificates in Apache (directories /ssl.cert and /ssl.key) and it works, but how can i do the same in tomcat (keytool) to use this certificates... My question is how can import certificate and key

how to connect tomcat with apache running on different m/c

2001-09-05 Thread atif umar
hi , guess this is a very dumb question but i am having some problems in running tomcat and apache on different m/c's i guess that i have to make some changes in the 1) server.xml 2) worker.properties and in httpd.conf could any one tell me exactly what changes i have to make

RE: Apache + mod_ssl === Tomcat + JSSE

2001-09-05 Thread Eirik Yksnøy
try to import the certificates into your kaystore file with keytool -import -trustcacerts ++ -Original Message- From: Ricardo [mailto:[EMAIL PROTECTED]] Sent: 5. september 2001 12:02 To: [EMAIL PROTECTED] Subject: Apache + mod_ssl === Tomcat + JSSE Hi, I have created a CA

Re: Strange NullPointerException Error in t4.0b7

2001-09-05 Thread Paul Kofon
Hi Craig, Thanks for the insight. I know I can't assume that all application servers will have a webapps directory so actually, I have a properties file that provides the absolute path (depending on the platform) to the home directory of my web application. However, before I apply any

RE: Configuring tomcat with soap and log4j

2001-09-05 Thread Shay Mandel
Hi, You must initialize the log4j system (as the error says). This means you must have a class of yourself, which is called before you create the first instance of a category. This class should do something like this: String log4jConfigFileName = log4j.properties; try { // do the

Re: Apache + mod_ssl === Tomcat + JSSE

2001-09-05 Thread Ricardo
I can import the certificate... but what about the key ?? When your configure tomcat to work with SSL you have to execute --- keytool -genkey -alias tomcat ... I would like to import my key (or something ???) with this alias. Thanks a lot, Ricardo Borillo Domenech

Re: Repost -- tomcat-4.0-b7 startup failure (can't find org.apache.catalina.connector.warp.WarpConnector)

2001-09-05 Thread Clifford Lang
Still no responses. Does this mean no one else has had this problem? How can I track it down? Is there something in my CLASSPATH, JAVA_HOME that is messing this up? Please help - I need to get this running and have wiped-out/re-installed TC4.0-b7 several times. TIA, Cliff At 10:08 AM

Re: Message status - delivered

2001-09-05 Thread jochen mader
Could anyone please do something about those mails By the wqy: The enhydra-enterpriselist is also flooded with that crap!

COMPAQ V300

2001-09-05 Thread Joe Sutherland (UKI)
Hi Guys, I've installed RH7.1 on a COMPAQ V300, nice and easy does it (except little problems with gnome gui - later!).. I've installed the binary version of TOMCAT (3.2.2), set the environment variables and tried to start it to test it.. it finds Java binaries, then stops and doesnt set up the

newbie question

2001-09-05 Thread echaiguer abderrahim
Hi , I just decided to move to the J2EE architecture. I was previously working with Apache / Jserv . I was wondering if there is an easy to migrate all my servlets to Tomcat with a lot of code manipulation. Thanks, Abde

RE: Configuring tomcat with soap and log4j

2001-09-05 Thread Ram, Kumar
Hi, Thanx a lot for the info. This is one way of using log4j. The second way to configure is set the tomcat_opts variable in tomcat.bat to the exact location of the log4j.xml file. However this has a restriction, that all applications using this tomcat are automatically configured or

Re: mod_webapp.so: invalid ELF header

2001-09-05 Thread jean-frederic clere
Clere, Jean-Frederic wrote: Chris Gokey wrote: I attached the output of the build process, although I don't see any errors.. But that doesn't mean anything :) The error is in the Makefile - I will fix it - I have fixed it. Thanks for responding and taking a look. Chris

TOMCAT 4 - passing parameters to servlets

2001-09-05 Thread paul
Hi The orginal message section below answers my question posted some time ago but I am not sure, could you please verify? This is a shame because one of the reasons I went over to tomcat 4 is because I thought it might solve this problem. I have a servlet in a context that needs to be accessed

Re: JSP Performance

2001-09-05 Thread Luc Vanlerberghe
Jim Cheesman wrote: At 09:48 PM 04/09/01, you wrote: Hi, I have a JSP file and it takes nearly 25 seconds to run for the first time. Is there a way to make JSP's fast on first execution? The first call will always (*) take longer, as tomcat has to translate and compile your page -

Re: Where is that cache?

2001-09-05 Thread Pier Fumagalli
Catalin Palsu [EMAIL PROTECTED] wrote: salut! O problema similara am avut shi eu cu un jsp. Nu sunt sigur dc in cazul tau e la fel, dar eu m-am dus in \jakarta-tomcat-3.3-m4\work\DEFAULT\myapplication shi am shters toti servletzii pe care ii crease jsp-ul (evident folosesc un

RE: COMPAQ V300

2001-09-05 Thread Joe Sutherland (UKI)
Hi Guys, I'm adding more info to my own message (does this seem silly or what?).. I've just loaded RH6.2 onto the same COMPAQ V300 and TOMCAT (3.2.2) works... so I can now isolate the problem as something RH 7.1 specific... Rgds Joe Sutherland -Original Message- From: Joe Sutherland

Re: i need help for mod_webapp/TCb7

2001-09-05 Thread Pier Fumagalli
Francis Lapique [EMAIL PROTECTED] wrote: Tomcat b7 + mod_webapp How in apache do get numguess.jsp to be executed correctly? http://mysite/examples/jsp/num/numguess.jsp I don't see anything wrong in those log files... What happens? Pier

RE: COMPAQ V300

2001-09-05 Thread Randy Layman
If I had to guess, I would say that Java isn't running. In RH 7 they changed some of the .so files around and the Java binary doesn't link anymore. Our Linux guy said that he made about 6 sym links from old file name to new files to get it to work. You might want to check a more

Re: Repost -- tomcat-4.0-b7 startup failure (can't findorg.apache.catalina.connector.warp.WarpConnector)

2001-09-05 Thread Pier Fumagalli
Clifford Lang [EMAIL PROTECTED] wrote: Still no responses. Does this mean no one else has had this problem? Exactly... How can I track it down? Is there something in my CLASSPATH, JAVA_HOME that is messing this up? Nope... CLASSPATH is completely ignored by the startup scripts...

RE: ipchains - apache - tomcat - Help!!!

2001-09-05 Thread Navarro, Jose
David, Jean-Frederic, Thanks to both for your help. Finally I solved it. A comment from David was the final hint: your running ipchains on your system ***and denying access to the ports Apache and Tomcat use to talk to each other*** Well, I simply opened the corresponding ports on lo to

how is a session identified

2001-09-05 Thread Wouter Boers
Hello, I have a question reguarding the session. What is this session based on? How is a client browser uniquely identified by tomcat to map that session to its own context. I'm looking for the data that is required to identify the client browser and the identification process. I would love to

how to connect tomcat with apache running on different m/c

2001-09-05 Thread atif umar
hi, guessthis is a very dumb question but me being new to tomcat/apache am unable to sort it out pls tell me what changes do i have to make i guess i'll have to modify server.xml (tomcat) and httpd.conf (apache) but what are the exact changes pls tell i have been able to run this

RE: COMPAQ V300

2001-09-05 Thread Joe Sutherland (UKI)
Hi Randy, Very many thanks for the email. I'll try this, but... if this was the case then it wouldnt work on any of the other machines I've installed successfully on. Rgds Joe Sutherland -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: 05 September 2001 12:18 To:

mod_jk and URL mapping problem?

2001-09-05 Thread Paul Downs
Hi, Greetings all, first post to this list from a Tomcat newbie(ish). I have been setting up tomcat, using mod_jk on Linux, on quite a few machines and have this problem: Each virtual host has quite a few different domains in ServerAliases e.g.: VirtualHost 217.158.17.27:80

Re: Limits on the size of the web.xml file?

2001-09-05 Thread Dmitri Colebatch
Craig, I would have thought RTFS would have been more to your liking... given your regular points to the spec (o: On Tue, 4 Sep 2001, Craig R. McClanahan wrote: On Tue, 4 Sep 2001, Jim Cheesman wrote: RTFAPI ;) This acronym will *definitely* come in handy! :-) Craig

RE: COMPAQ V300

2001-09-05 Thread Randy Layman
Silly me, I assumed that you were running a different OS on the other computers (here developers have 2000 and production varies between Linux, NT, and 2000). I would try creating a quick Hello World java program and testing if that runs under 7.1. If so, there is something in your Tomcat

Re: COMPAQ V300

2001-09-05 Thread Pier Fumagalli
Joe Sutherland (UKI) [EMAIL PROTECTED] wrote: Hi Guys, I'm adding more info to my own message (does this seem silly or what?).. I've just loaded RH6.2 onto the same COMPAQ V300 and TOMCAT (3.2.2) works... so I can now isolate the problem as something RH 7.1 specific... Rgds Joe

Re: how to connect tomcat with apache running on different m/c

2001-09-05 Thread Paul Downs
Hi, i guess i'll have to modify server.xml (tomcat) and httpd.conf (apache) but what are the exact changes pls tell As far as I am aware the folling format for ApJServMount is allowed, or at least it is if you are using mod_jserv: ApJServMount /examples ajpv12://hostname:port/root As

Tomcat URL Problem

2001-09-05 Thread Ross Allard
We have a tool which generates a website which, as usual, consists of a directory tree of html and other files. Our file naming convention makes heavy use of the plus sign, +, as a separator. E.g. file0+1, file1+2. This apparently causes an error when deployed on Tomcat. The plus sign

RE: mod_jk and URL mapping problem?

2001-09-05 Thread Larry Isaacs
Hi Paul, I assume you are using a version of Tomcat 3.2.x. If you are willing to give Tomcat 3.3 a try, Tomcat 3.3b2 has support for virtual host aliases. The syntax is: server host name=www.domain.org address=217.158.17.27:80 alias name=domain.org / alias

newbie question

2001-09-05 Thread echaiguer abderrahim
Hi , I just decided to move to the J2EE architecture. I was previously working with Apache / Jserv . I was wondering if there is an easy to migrate all my servlets to Tomcat without a lot of code manipulation. Thanks, Abde

RE: newbie question

2001-09-05 Thread David DELGRANCHE
Hi, There is no manipulation to do to your servlets if you want to migrate from JServ to Tomcat. Tomcat is just a application server. You need to install Tomcat and configure Apache to work with it by default. After, just create a directory for your servlets and put them

Re: newbie question

2001-09-05 Thread Roland Carlsson
Hi! Perhaps if you have put all non gui-stuff in beans you can fairly easy write wrappers to these beans and then you only have to rewrite the calls to the beans to the new ejb instead of the old bean. If you have written scriptlets then you have to rewrite. But you should first think if you

RE: COMPAQ V300

2001-09-05 Thread Joe Sutherland (UKI)
Hi Randy, Ta again for the email. Its a 'default' install, nothing changed on the threads, just setup Linux from the CD's, the usual config/path changes, then it hangs - doing nothing different with the V300 than I did on the Compaq (or should I now say HP) Deskpro and Toshiba. I've now got

CPU goes to 100%

2001-09-05 Thread Murthy, Anand
Hi, We have a big application using Tomcat v3.2.1 and we are doing alot of Database connections. It is running on Windows 2000 server and we are using Sun's Java 1.3. Most of the day the CPU stays at 0%, but for some reason every afternoon it goes to 100% and application slows down to a crawl.

RE: Tomcat URL Problem

2001-09-05 Thread Andy Bailey
Hi Ross, if you want to use + signs in a URL (inadvisable really) then you will need to encode them such that the + sign is converted to its %XXX equivalent. The + sign is used to denote spaces in GET method URL's so it would appear that Tomcat is doing the right thing. Use the - sign instead,

RE: CPU goes to 100%

2001-09-05 Thread Andy Bailey
Have you checked the Server to make sure that it isn't something else that is causing the crawl? Open Task Manager and check to see which process is eating the CPU, it might be something else other than Tomcat and your App. -Original Message- From: Murthy, Anand [mailto:[EMAIL

Develop Application

2001-09-05 Thread Roberto B.
I use a linux (debian) box with no graphical interface (x-window..). On this system I installed Apache, Tomcat 3.2.3 with some virtual host. I have moreover a win 2000 server box with Tomcat 3.2.3 installed, which works as stand alone server on port 8080. I want to develop (and test) my sites on

Re: Develop Application

2001-09-05 Thread Roland Carlsson
If you encounters a bug in any of the jdk/jre you might encounter problems. But if both are implemented correctly it should give you no problem. This is under the assumption that you wont do any native calls but stick to pure java. Regards Roland - Original Message - From: Roberto B.

Re: Develop Application

2001-09-05 Thread Roberto B.
Yes.. I have installed the same thing on win, and on linux (jdk, tomcat, javamail, jaf ...) But my question was more specific... that is... I was thinking of the addresses in the link of the jsp file.. the includes... ect... R - Original Message - From: Roland Carlsson [EMAIL PROTECTED]

tomcat with IIS on NT4

2001-09-05 Thread Georges Boutros
hi, i installed tomcat for IIS on an NT4 machine. i can't access tomcat without writing it's port number (8080) http://localhost:8080/examples/servlet/HelloWorldExample i do not want to write the port number to access tomcat. I wanna be able to do this

RE: CPU goes to 100%

2001-09-05 Thread Joe Sutherland (UKI)
Hi Anand, Just a suggestion check to see that you are clearing memory (=nothing) after instantiating objects, otherwise 2000/NT keeps hold of it and only releases it it after a refualt period (say 30 mins...) - and this can build quite quickly after each user leaves the app. I dont know that

Tomcat 4 and DbConnectionBroker

2001-09-05 Thread Jim Urban
I am trying to migrate my application from Tomcat 3.2.1 to Tomcat 4.0. When my main servlet loads it hangs instantiating the class DbConnectionBroker. No exceptions are thrown, the call to new DbConnectionBroker(... never returns (I put a System.err.println call before and after the call to new

RE: CPU goes to 100%

2001-09-05 Thread Victor Martinez
We have a big application using Tomcat v3.2.1 and we are doing alot of Database connections. It is running on Windows 2000 server and we are using Sun's Java 1.3. Most of the day the CPU stays at 0%, but for some reason every afternoon it goes to 100% and application slows down to a crawl.

Re: mod_webapp.so: invalid ELF header

2001-09-05 Thread jean-frederic clere
Chris Gokey wrote: Ok, I checked out the source again for jakarta-tomcat-connectors/webapps and apr and now I get this error. Oops - Sorry there was a typo ($ missing). - [cgokey@cgokey webapp]$ ./support/buildconf.sh [cgokey@cgokey webapp]$ ./configure

RE: CPU goes to 100%

2001-09-05 Thread Murthy, Anand
Thanks Joe, I will try to do this. I will tell you if it works. -Original Message- From: Joe Sutherland (UKI) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 05, 2001 11:21 AM To: '[EMAIL PROTECTED]' Subject: RE: CPU goes to 100% Hi Anand, Just a suggestion check to see

RE: Tomcat URL Problem

2001-09-05 Thread Ross Allard
Thanks Andy, http://www.w3.org/Addressing/rfc1738.txt http://www.w3.org/Addressing/URL/uri-spec.html In both the URI and URL BNF, + seems to be a legitimate path forming character. There's nothing to suggest it's implementation dependent. -Original Message- From: Andy Bailey

RE: newbie question

2001-09-05 Thread echaiguer abderrahim
David, I did that and just copied across all my servlets from /opt/jserv to ../webapps/servlets Either I try to execute them from the dev port 8080 or webserser 80 nothing make I have a error Not Found (404) What am I missing ? Thanks Abde At 04:37 PM 9/5/2001 +0200, David DELGRANCHE

Does someone hurt my Tomcat on regular basis?

2001-09-05 Thread Andrey Myatlyuk
Hello Tomcat people, Sometimes in my Tomcat 3.2.3 log I can see messages like this: java.io.IOException: The filename, directory name, or volume label syntax is incorrect at java.io.Win32FileSystem.canonicalize(Native Method) at java.io.File.getCanonicalPath(File.java:440)

Re: Limits on the size of the web.xml file?

2001-09-05 Thread Craig R. McClanahan
On Wed, 5 Sep 2001, Dmitri Colebatch wrote: Date: Wed, 5 Sep 2001 08:21:44 +1000 From: Dmitri Colebatch [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Limits on the size of the web.xml file? Craig, I would have thought RTFS would have been more to

Re: how is a session identified

2001-09-05 Thread Jonathan Eric Miller
I think it's basically just a random number that is stored either in a cookie or using URL rewriting. You can call HttpSession.getId() to get the value. Jon - Original Message - From: Wouter Boers [EMAIL PROTECTED] To: Tomcat-User@Jakarta. Apache. Org [EMAIL PROTECTED] Sent: Wednesday,

Re: Repost -- tomcat-4.0-b7 startup failure (can't findorg.apache.catalina.connector.warp.WarpConnector)

2001-09-05 Thread Craig R. McClanahan
On Wed, 5 Sep 2001, Pier Fumagalli wrote: Date: Wed, 05 Sep 2001 12:58:06 +0100 From: Pier Fumagalli [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Repost -- tomcat-4.0-b7 startup failure (can't find org.apache.catalina.connector.warp.WarpConnector)

Re: newbie question

2001-09-05 Thread Craig R. McClanahan
On Wed, 5 Sep 2001, echaiguer abderrahim wrote: Date: Wed, 05 Sep 2001 15:32:28 +0200 From: echaiguer abderrahim [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: newbie question Hi , I just decided to move to the J2EE architecture. I was previously

Re: Tomcat 4 and DbConnectionBroker

2001-09-05 Thread Craig R. McClanahan
On Wed, 5 Sep 2001, Jim Urban wrote: Date: Wed, 5 Sep 2001 10:19:22 -0500 From: Jim Urban [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat 4 and DbConnectionBroker I am trying to migrate my application from Tomcat 3.2.1 to Tomcat 4.0. When my main

TC4.0b7 Apache webapp mapping problem

2001-09-05 Thread Jim Handwerk
I'm sure this is out there somewhere, but I'll be a monkey's uncle if I can find it. Is there a way to connect Apache 1.3 to TC4 so that particular web app will be default rather than an index.html. I currently have in my httpd.conf LoadModule webapp_module libexec/mod_webapp.so

RE: Tomcat3.2.1 - dynamic classpath in wrapper.properties

2001-09-05 Thread Ratnakar Palle
Haven't heard anything on this, so, sending it out again... Sorry for the inconvenience. Thanks, -Ratnakar -Original Message- From: Ratnakar Palle [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 5:32 PM To: [EMAIL PROTECTED] Subject: Tomcat3.2.1 - dynamic classpath in

Re: Intermittent UnsatisfiedLinkError

2001-09-05 Thread Jonathan Eric Miller
John, I'm running into the same exact problem. Were you ever able to resolve this? The reason it is intermittent is it happens when you update a servlet and auto servlet reloading happens and you don't restart the server. The work around that I've been using is to just restart the server after

Where to place native code called by JNI?

2001-09-05 Thread Jonathan Eric Miller
Not sure if this is a FAQ or not, but, is there a recommended location where to put native code that is called by a servlet? Currently, I put code similar to the following in startup.sh to tell it where to look. LD_LIBRARY_PATH=/path/to/native/code export LD_LIBRARY_PATH Is this what everyone

JServ Fault tolerance

2001-09-05 Thread Richard Bedard
Hi, This question is related to mod_jserv. I use apache as a web server that load-balance the query on 2 jserv. When one of my jserv crash when processing a query, mod_jserv detect the broken socket and resend the query to the other jserv, good, but since the size of the content of the request

RE: Re: mod_webapp.so: invalid ELF header

2001-09-05 Thread Peter Shankey
I ran into this. I got around it bey using apache 1.3.20 jean-frederic clere [EMAIL PROTECTED] wrote: Chris Gokey wrote: Ok, I checked out the source again for jakarta-tomcat-connectors/webapps and apr and now I get this error. Oops - Sorry there was a typo ($ missing). -

SocketException : Software caused connection abort

2001-09-05 Thread Mapoteca Rio
Hi all, I have been experiencing the problem below using Tomcat 3.1 (+ Apache 1.3.12 using mod_jserv) under Solaris 8 and jdk 1.3.1. java.net.SocketException: Software caused connection abort at java.net.PlainSocketImpl.socketAccept(Native Method) at

Multiple Tomcat Instances

2001-09-05 Thread Abhijat Thakur
Hi, I need to run multiple instances of Tomcat on Apache. As mentioned in documentation i have the two server.xml files specifying two different ports. Tomcat starts fine with the two server.xml files. I might be wrong when it comes to changes in Apache configuration that need to be done when

Odd header when starting TC-4.0-b7

2001-09-05 Thread Clifford Lang
OS: NT2000 Why do I get the following header when I startup TC-4.0-b7? Shouldn't it be b7? -First lines after CLASSPATH-- Starting service Tomcat-Standalone Apache Tomcat/4.0-b1 Easy + Automatic = EMATIC E-commerce enable your web site AND sell your product on ours.

Finding config files in Tomcat 4.0/Catalina

2001-09-05 Thread Steve Hemminger
What is the proper way to find configuration files in Tomcat 4.0? With Tomcat-3.x our server used java.lang.getResourceAsStream to retrieve the configuration files from any location defined in the CLASSPATH. A common method was to put configuration files in $TOMCAT_HOME/classes. This doesn't

Pass arguments to jsp file

2001-09-05 Thread Ruben Domene
How can i pass parameters from one link to a JSP file? For example for this link: a href=editreg.jsp target=_parentEdit/a How can i say to editreg.jsp that reg it has to editing? Thank you.

ThreadPool: Pool exhausted with 100 threads

2001-09-05 Thread ...amy.nanninga...
Hello, We are seeing many many 'ThreadPool: Pool exhausted with 100 threads' errors. Ive seen that you can modify the server.xml to customize threadpool access (max_threads value=x max_spare_threads vaule=x, min_spare_threads value=x), but Ive also heard that its hard coded in

reference to internal tomcat object (get # of sessions)

2001-09-05 Thread chiuming
Hi tomcat developers, Please help me out on getting a reference to internal tomcat object and find out total number sessions now exist in tomcat instance (JVM). The following code will return number of sessions in a Context(web app) but not all the sessions in the whole JVM (tomcat instance).

Re: Odd header when starting TC-4.0-b7

2001-09-05 Thread Craig R. McClanahan
On Wed, 5 Sep 2001, Clifford Lang wrote: Date: Wed, 05 Sep 2001 15:52:59 -0400 From: Clifford Lang [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Odd header when starting TC-4.0-b7 OS: NT2000 Why do I get the following header when I startup TC-4.0-b7?

Re: Finding config files in Tomcat 4.0/Catalina

2001-09-05 Thread Craig R. McClanahan
On Wed, 5 Sep 2001, Steve Hemminger wrote: Date: Wed, 5 Sep 2001 12:39:14 -0700 From: Steve Hemminger [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Finding config files in Tomcat 4.0/Catalina What is the proper way to find configuration

Re: Tomcat 4.0 and Session

2001-09-05 Thread Craig R. McClanahan
, and request.getRequestedSessionId() always returns the same value. If you happened to try last night's nightly build of Tomcat 4 (dated 20010905), you just ran into a bug that was fixed today and will be fixed in tonight's nightly build (20010906). Cookie-based sessions also work just fine in nightly builds prior

JNDIRealm docs to be released soon?

2001-09-05 Thread Jonathan Eric Miller
Craig, A week or so ago, you mentioned that you are in the process of re-writing the docs on how to configure Realms. I'm wondering if you've had a chance to do that yet? When you do, please let me know, as I'm interested in trying to get JNDIRealm to work. Thanks, Jon

RE: Tomcat 4.0 and Session

2001-09-05 Thread Jim Urban
working again. BTW, we are using cookies to store the session ID, and request.getRequestedSessionId() always returns the same value. If you happened to try last night's nightly build of Tomcat 4 (dated 20010905), you just ran into a bug that was fixed today and will be fixed in tonight's nightly

browsing web pages served by Tomcat 3.2.3 using a MACINTOSH ?

2001-09-05 Thread Henry Yeh
has anyone accessed webpages served by tomcat, using IE or Netscape ? I tried to access a simple JSP page served by tomcat 3.2.3 and in IE, I got back the page without images, and on Netscape I got the actual JSP file ! any ideas ? thanks, Henry

Another issue with tc4.0-b7 webapp and Apache 1.3.20 access filesin another location

2001-09-05 Thread Peter Shankey
Solaris sparc 8 Tomcat 4.0 b7 Apache 1.3.20 webapp module 1.0 for tc4.0-b7 I am trying to use a location to install the web application (war) files other than $CATALINA_HOME. Currently I am working with the default files which are installed when the Tomcat application is compiled. I can get it

No one answering my question (security realted problem)

2001-09-05 Thread Sukhwinder Singh
Hello, This is the third time I am sending email. No one is replying. I have downloaded tomcat version 3.2.3 source code and compiled it on my windows 95 machine with Sun JDk 1.3.1. I also had to download JSSE because there was no option to compile without ssl support. If these

Incompatible object argument for function call

2001-09-05 Thread Gabriel J Zimmerman
Hi, I am having trouble with an error Incompatible object argument for function call. What could it signify? I was compiling a JSP tag library at the time of the error. Below is the stack trace: Thanks, Gabe Internal Servlet Error: javax.servlet.ServletException: (class:

Re: Is there a way to get the docBase property from within aservlet?

2001-09-05 Thread Rick Mann
on 9/1/01 9:48 PM, Craig R. McClanahan at [EMAIL PROTECTED] wrote: Is there a Servlet spec-compliant way to get the webapp's directory's path programmatically, from within a servlet? No. Something like calling ServletConfig.getInitParameter(docBase), but something that's standard, and

java.net.SocketException

2001-09-05 Thread Pankaj Chhaparwal
Hi , I get a java.net.SocketException frequently on Sun Solaris. I am using Apache1.3.12 and Tomcat 3.2.2. mod_jk is the connector. I dont get the exception on Windows 2000 with the same configuration. This exeption does not create any problems also. But I want to know the reason for this.

Re: Where is that cache?

2001-09-05 Thread Mihai Gheorghiu
Multumesc mult! Stii vorba cu intins degetul si luat mana. Acum am dat in alta aia. Am structura tomcathome/webapps/development/WEB-INF/classes/Test In development am test.html, pagina de start, care incarca un applet, TestApplet.class, care e in Test. Nu reusesc sa potrivesc parametrii code si

Re: JNDIRealm docs to be released soon?

2001-09-05 Thread Craig R. McClanahan
On Wed, 5 Sep 2001, Jonathan Eric Miller wrote: Date: Wed, 5 Sep 2001 15:49:43 -0500 From: Jonathan Eric Miller [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat User List [EMAIL PROTECTED] Subject: JNDIRealm docs to be released soon? Craig, A week or so ago, you mentioned that

Re: Is there a way to get the docBase property from within aservlet?

2001-09-05 Thread Craig R. McClanahan
On Wed, 5 Sep 2001, Rick Mann wrote: Date: Wed, 05 Sep 2001 14:38:07 -0700 From: Rick Mann [EMAIL PROTECTED] To: tomcat user jakarta.apache.org [EMAIL PROTECTED], Craig R. McClanahan [EMAIL PROTECTED] Subject: Re: Is there a way to get the docBase property from within a servlet?

mod_webapp build problem (Related to earlier mapping problem question)

2001-09-05 Thread Jim Handwerk
I managed to find an earlier missive in the archives about the problem I was having and Pier responded that there was a patch for the source. Whether this works or not, I'm still trying to find out. I can't seem to build the module with the instructions in the readme for the WebApp library.

context path with subdirectories in Tomcat 3.3 beta 2

2001-09-05 Thread John Paul Lorenti
I am having trouble creating a context whose path attribute has a subdirectory in it. JSP's don't seem to work. For example: ?xml version=1.0 encoding=ISO-8859-1? webapps Context path=/myapp/Registration docBase=webapps/registration debug=0 reloadable=true

Problem with URLs

2001-09-05 Thread Andrés Bernal
Hi, I have Apache 1.3.20 + Tomcat 3.2.3 + JBoss 2.4. The problem is that sometimes (not all the time) when clicking URLs (well written: http://host.com/page.html) in generated JSP pages, Tomcat answers with 404 File Not Found http:/host.com/page.html (Note that is http:/ and not http://) and in

using a central repository for servlets

2001-09-05 Thread Joao Carlos
I've searched in many many many places an answer for this before asking. There are some answers, but it didn't get clear for me. I'm using JServ for a long time, and i'm trying, for a long time too, to migrate my servers for using Apache+Tomcat. The problem is that i really can't

Multiple Tomcat Instances

2001-09-05 Thread Abhijat Thakur
Hi, I need to run multiple instances of Tomcat on Apache. As mentioned in documentation i have the two server.xml files specifying two different ports. Tomcat starts fine with the two server.xml files. I might be wrong when it comes to changes in Apache configuration that need to be done when

Apache + Tomcat Virtual Host not loading web.xml

2001-09-05 Thread Neil Aggarwal
Hello: I am trying to set-up a virtual host on my set-up with apache and tomcat. Here is what I did: I added this to the htpd.conf file: VirtualHost [IP Address] DocumentRoot /home/myhost/public-html ServerName myhost.JAMMConsulting.com JkMount /*.jsp ajp13 JkMount /servlet/* ajp13

Struts-Tomcat 'register' DTD Message

2001-09-05 Thread Calvin Lau
I just installed Tomcat4.0-b7 and have the examples working. I tried running my Struts webapp that ran fine under Tomcat3.2 and it gives me these errors when Tomcat starts: Starting service Tomcat-Standalone Apache Tomcat/4.0-b7 register('-//Apache Software Foundation//DTD Struts Configuration

Re: Struts-Tomcat 'register' DTD Message

2001-09-05 Thread Craig R. McClanahan
Tomcat 4 does *not* make any XML parser visible to your web applications. See the release notes document in the top-level directory of Tomcat 4 (it will be the latest file named RELEASE-NOTES-4.0-B*.txt) for instructions on how to solve this. Craig On Wed, 5 Sep 2001, Calvin Lau wrote: Date:

Re: Upcoming Tomcat 4.0 Final Release

2001-09-05 Thread BlyonsJ2EE
Craig, Something interesting happening over here with Tomcat Beta 7 that might interest you, or perhaps you can provide a solution for the problem I am experiencing. After installing Tomcat 4, I built a very simple servlet for testing purposes. This particular servlet compiled and executed

Re: Upcoming Tomcat 4.0 Final Release

2001-09-05 Thread Craig R. McClanahan
To *compile* a servlet, you need to have the servlet.jar file (from inside the $CATALINA_HOME/common/lib directory) on your class path. Without this, none of the servlet API classes will be recognized -- which is exactly the error you got. After you get over your learning curve, you'll find it

RE: COMPAQ V300

2001-09-05 Thread Aravind Naidu
Sorry... Not to start an OS war or something like that. (As mentioned before it could be a JDK problem) We have Tomcat 3.2.3 running on RedHat 7.1 with IBM JDK 1.3 (latest) quite nicely thank you. It was a default Linux install with no tuning applied and we have stress tested it successfully

  1   2   >