javax.servlet.ServletException: Wrapper cannot find servlet class - Need Help

2003-09-18 Thread Sarika N Inamdar
Hi, When I start tomcat 4.1.24, I see the below execption in localhost_log file. But am able to connect to the server and do all transactions. 2003-09-18 11:51:10 StandardContext[]: Servlet threw load() exception javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.str

Servlet Not Found in Tomcat 4.1.24

2003-09-18 Thread Nauman Khan
Hi, I have a problem to run Servlet on Tomcat 4.1.24,I have mentioned the whole problem,please let me know how could I resolve this issue. I have created a folder nauman and placed two files index.html and NKServlet.class with NKServlet.java in this way c:\tomcat4.1\webapps\nauman\index.html

WAR

2003-09-18 Thread Jerald Powel
Hello, Can anyone tell me, what is the purpose of the WAR file, how does one create / implement it? Where may I find doco about WAR please? thanks J. P.S Why WAR? What does it stand for? - Want to chat instantly with your online friends? Get the FREE

Re: vertial host apache/tomcat

2003-09-18 Thread Johan Louwers
Luke, I placed my httpd.conf in this mail. Hope you (or someone else) knows the answer. # --BEGIN HTTPD.CONF-- # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the

RE: Query on url-pattern element of web.xml file ??

2003-09-18 Thread Bikash Paul
Hi, First all thanks for your reply,can you please give me the link of archives so that I can serach there for my query. Regards Bikash --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Senor Wingfield pointed you at the right (and definitive) resource on this already. I just wanted to

Re: vertial host apache/tomcat

2003-09-18 Thread achana
What's the question? Johan Louwers wrote: Luke, I placed my httpd.conf in this mail. Hope you (or someone else) knows the answer. # --BEGIN HTTPD.CONF-- # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the

Re: WAR

2003-09-18 Thread Peter Harrison
On Thu, 18 Sep 2003 19:11, Jerald Powel wrote: Hello, Can anyone tell me, what is the purpose of the WAR file, how does one create / implement it? Where may I find doco about WAR please? A WAR file is a web application archive. Essentially its a compressed file with all the files you

Re: vertial host apache/tomcat

2003-09-18 Thread Johan Louwers
:-) I will post the message again that contains the original message. The question was: # --begin original message -- Ok, finaly have apache and tomcat running both on port 80. I have created the following dir's /export/home/www.someserver.com

Re: MySQL DBCP pool exausted error message

2003-09-18 Thread Adam Hardy
Hi Nathan, could you rephrase what the problem is? It's a bit ambiguous. Do you mean that each thread can only do one DB operation and then it gets the exception on its next DB operation, or on its next http request? Have you checked in bugzilla? I think there are some unresolved issues with

Re: Query on url-pattern element of web.xml file ??

2003-09-18 Thread Andoni
The mail from this list is archived here: http://marc.theaimsgroup.com/?l=tomcat-user The specification is a much easier thing to work with though in my opinion. Andoni. - Original Message - From: Bikash Paul [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday,

Re: MySQL DBCP pool exausted error message [SOLVED]

2003-09-18 Thread Adam Hardy
Guess you won't be needing my reply then, but looking at your code, it seems that your finally block could be improved slightly :) In the rare situation where statement.close() throws an exception, your connection won't be closed. Adam On 09/17/2003 10:20 PM Nathan Christiansen wrote: Sorry.

365 logfiles a year

2003-09-18 Thread P . van Kemenade
Hi http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/logger.html says The actual filenames of the log files are created from a configured prefix, the current date in -MM-DD format, and a configured suffix. nice feature ... (hm) .. can I also turn that off ? 1 logfile is enough.

Re: Character Set Issues (windows vs. Unix)

2003-09-18 Thread Chris Rolfe
InputStream and OutputStream Readers rely on platform default character encodings (unless you specify an encoding in the constructor). For example, a text file with German umlauts encoding in MacRoman translates without any further effort when read on an OS X server and printed to an ISO-8859-1

DefaultServlet throws a LOT of broken pipe exceptions on mp3s

2003-09-18 Thread Chris Rolfe
Hi, My app logs are filled to bursting with stack traces from broken pipes while serving embedded mp3 (~100k) files. The files serve ok (status 200), but the log clutter is hiding everything else. Strange thing is these aren't the biggest files. 400k jpg's, etc., no problem. The broken pipe

need your help

2003-09-18 Thread Eng r Perry P Santos
gud day, greetings from the philippines. pls help me out with this one. after executing the batch file.. d:\tomcat\jakarta-tomcat-4.1.27-src\catalina\src\binstartup.bat i will encounter this error Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

Re: 365 logfiles a year

2003-09-18 Thread Tim Funk
The access logs are configureable to turn this off but the other Loggers are not. See the javadocs for AccessLogValve on how to turn it off. -Tim P.van Kemenade wrote: Hi http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/logger.html says The actual filenames of the log files are created

Re: DefaultServlet throws a LOT of broken pipe exceptions on mp3s

2003-09-18 Thread Tim Funk
Broken pipe means the client the aborted the request which is normal for mp3 since users probably stop listening to the song early. -Tim Chris Rolfe wrote: Hi, My app logs are filled to bursting with stack traces from broken pipes while serving embedded mp3 (~100k) files. The files serve ok

Trying to get off this list

2003-09-18 Thread Ronaldo Quispe
Hello, How does one get off this list? I tried the by sending email as described in the web site but that does not work. Is there a moderator that can help? Ronaldo Q. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Please help! Error reading server.xml

2003-09-18 Thread Yang Soon Chiao
Dear Alll, Anyone have any ideas of this? ERROR reading /usr/local/jakarta-tomcat-4.1.27/conf/server.xml At line 24 /Server/Listener/ className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0 Catalina.start:java.lang.ClassNotFoundException:

Re: Trying to get off this list

2003-09-18 Thread Adam Hardy
you have to answer the confirm email it sends you. On 09/18/2003 01:29 PM Ronaldo Quispe wrote: Hello, How does one get off this list? I tried the by sending email as described in the web site but that does not work. Is there a moderator that can help? Ronaldo Q.

Another E-Mail about Applet Client Access

2003-09-18 Thread Philip . Millard
Hi all, I'm relatively new to Tomcat so please excuse any silly errors. I've installed Tomcat/4.1.24 onto a 2k platform and have been building an Intranet site. I've kept the installation standard so it lives in the Tomcat_Home/Webapps/ROOT folder(s). The site now includes JavaScript and

Re: DefaultServlet throws a LOT of broken pipe exceptions on mp3s

2003-09-18 Thread Chris Rolfe
That's what I thought at first, but this happens 80-90% of the time on the 100k+ files. There are two files on the same page, one 100-200k dialog, and a 10-30k sentence. It seems to me unlikely the users are hitting stop that quickly and that often. These are reasonably fast university

Re: DefaultServlet throws a LOT of broken pipe exceptions on mp3s

2003-09-18 Thread Tim Funk
I think in 4.1.24 those messages have been eliminated. Do you get the same errors with wget or similar? It could be the player is sending wacky requests. Otherwise - at 4.0.4 - I'm out of ideas. -Tim Chris Rolfe wrote: That's what I thought at first, but this happens 80-90% of the time on

Re: DefaultServlet throws a LOT of broken pipe exceptions on mp3s

2003-09-18 Thread Remy Maucherat
Chris Rolfe wrote: That's what I thought at first, but this happens 80-90% of the time on the 100k+ files. There are two files on the same page, one 100-200k dialog, and a 10-30k sentence. It seems to me unlikely the users are hitting stop that quickly and that often. These are reasonably fast

JMX / mx4j -- deployment problems

2003-09-18 Thread petra staub
hi tomcat-users, I am making my first steps with JMX or mx4j respectively. I saw that Tomcat 4.1 is able to register MBeans and I saw in the documentation the example descriptor...however, I still dont understand how to proceed. For testing I only wanted to register a simple MBean (from the mx4j

RE: Benefits of increasing bufferSize in server.xml

2003-09-18 Thread Shapira, Yoav
Howdy, Why wonder when you can use JMeter? Personally I haven't played enough with bufferSize to conclusively answer your question, but clearly the need for tuning that parameter is directly related to the contents of your webapp, so only you can tune if for your webapp ;) Yoav Shapira

RE: Servlet Not Found in Tomcat 4.1.24

2003-09-18 Thread Shapira, Yoav
Howdy, You need a servlet mapping element for NKServlet in your web.xml. You should declare a DTD in your web.xml. Loko at your tomcat log, where it's probably telling you it doesn't like your web.xml and is deploying your webapp with default properties, i.e. no mapping for NKServlet. Yoav

RE: Setting JVM properties via Tomcat config

2003-09-18 Thread Shapira, Yoav
Howdy, Your could put the property as a context-param in your web.xml, then in a ServletContextListener's contextInitialied method get the context param value and use System.setProperty to set the system property your 3rd party library needs. That said, I wouldn't do the above, but instead use

Re: Benefits of increasing bufferSize in server.xml

2003-09-18 Thread Dirk Griesbach
Hi Hakan, Servlet 2.2 specs provide a method HttpServletResponse.setBufferSize(int size) http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletRespon se.html which I use to handle larger responses. (But I didn't yet measure its influence on response performance) Dirk -

Re: Trying to get off this list

2003-09-18 Thread Ida Kalley
Nope! That does not get me also off this list Ida [EMAIL PROTECTED] 09/18/03 07:38AM you have to answer the confirm email it sends you. On 09/18/2003 01:29 PM Ronaldo Quispe wrote: Hello, How does one get off this list? I tried the by sending email as described in the web site but that

JMX / mx4j -- deployment problems

2003-09-18 Thread Petra Staub
hi tomcat-users, I am making my first steps with JMX or mx4j respectively. I saw that Tomcat 4.1 is able to register MBeans and I saw in the documentation the example descriptor...however, I still dont understand how to proceed. For testing I only wanted to register a simple MBean (from the mx4j

Re: Tomcat Crashing...

2003-09-18 Thread Paridhi Bansal
If you could tell me where to look for that System.exit call??I mean in the tomcat scripts??? Paridhi Try finding a rogue System.exit call :). On Tue, 16 Sep 2003, Paridhi Bansal wrote: Hi I am using tomcat4.0.6 as a standalone server for my servlet -applet based application.The

Re: Tomcat Crashing...

2003-09-18 Thread Tim Funk
When someone (forget who) suggested looking for System.exit - they meant it might be in *your* code, not the tomcat code. Here is an easy way to look for System.exit: find . -name '*.java' | grep System.exit OR find . -type f | grep System.exit -Tim Paridhi Bansal wrote: If you could tell

RE: Tomcat Crashing...

2003-09-18 Thread Shapira, Yoav
Hi, It wouldn't be in the tomcat scripts, it'd be in your code. Yoav Shapira Millennium ChemInformatics -Original Message- From: Paridhi Bansal [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 2:17 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat Crashing... If you could tell

RE: Trying to get off this list

2003-09-18 Thread Jenice Smith
If you find out let me know - I don't know how I got on his stupid list but I get 100 emails a day! -Original Message- From: Ronaldo Quispe [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 6:30 AM To: [EMAIL PROTECTED] Subject: Trying to get off this list Hello, How does

RE: Trying to get off this list

2003-09-18 Thread Jeremy Nix
1) Send an email to [EMAIL PROTECTED] 2) An email will be sent back to you, simply reply to the email and send 3) Your off the list _ Jeremy Nix Senior Application Developer Southwest Financial Ltd. [EMAIL PROTECTED] (513) 621-6699 ext 1158 -Original Message- From:

RE: Trying to get off this list

2003-09-18 Thread Phillip Qin
The only problem I have encountered before is my employer changed our email addresses, i.e., [EMAIL PROTECTED] to [EMAIL PROTECTED] Unsubscribe won't work. Be sure to use exactly the same address you subscribed to the list to unsubscribe. -Original Message- From: Jeremy Nix

FW: Delivery problems: RE: Trying to get off this list

2003-09-18 Thread Phillip Qin
Title: FW: Delivery problems: RE: Trying to get off this list Here comes another naughty subscriber! -Original Message- From: MAILER-DAEMON [mailto:[EMAIL PROTECTED]] Sent: September 18, 2003 9:36 AM To: [EMAIL PROTECTED] Subject: Delivery problems: RE: Trying to get off this list

Re: FW: Delivery problems: RE: Trying to get off this list

2003-09-18 Thread Tim Funk
I emailed [EMAIL PROTECTED] to request to unsub that user. -Tim (Tired of that bounce notice too) Phillip Qin wrote: Here comes another naughty subscriber! -Original Message- From: MAILER-DAEMON [mailto:[EMAIL PROTECTED] Sent: September 18, 2003 9:36 AM To: [EMAIL PROTECTED] Subject:

howto monitor dbcp connection usage?

2003-09-18 Thread Marco Baiguera
i'd like to monitor (log) dbcp connection pool usage. i'm using tomcat 4.1.27 with dbcp 1.0 and mysql (j-connector 3.0.8 - mysql 3.23) i'm investigating if my db refuses or closes the connection in fact calling datasource.getconnection sometimes returns a closed conn (?) any hint? thanks

Re: howto monitor dbcp connection usage?

2003-09-18 Thread Peter Lin
what I've done in the past is write a dbmanager that uses the underlying driver. my dbmanager then implements simple logging and is configurable through web.xml. peter Marco Baiguera [EMAIL PROTECTED] wrote: i'd like to monitor (log) dbcp connection pool usage. i'm using tomcat 4.1.27

RE: FW: Delivery problems: RE: Trying to get off this list

2003-09-18 Thread Phillip Qin
I can think of another reason why people can't unsubscribe. People are let go immediately so they won't have chance to unsubscribe. Sad, hope it won't happen on me. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: September 18, 2003 9:39 AM To: Tomcat Users List Subject:

Desperation! Tomcat crashing inexplicably. :- Fresh ideas needed.

2003-09-18 Thread Andoni
Hello, I am trying to put live a new version of my web site. The biggest change in this version is that it uses DBCP connection pooling. The problem I am having is that after a while of being live Tomcat just crashes with no warning. What are the groups experiences with Tomcat crashing?

RE: Desperation! Tomcat crashing inexplicably. :- Fresh ideas n eeded.

2003-09-18 Thread Phillip Qin
Be more specific. Describe crash. -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: September 18, 2003 10:55 AM To: Tomcat Users List Subject: Desperation! Tomcat crashing inexplicably. :- Fresh ideas needed. Hello, I am trying to put live a new version of my web site.

Re: peer not authenticated

2003-09-18 Thread Kleber
Hi Bill, For a test, I created a new keystore file that use the keytool from java: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA the password is: kleber My server.xml file is like this: Connector className=org.apache.coyote.tomcat4.CoyoteConnector redirectPort=443 bufferSize=2048

RE: Desperation! Tomcat crashing inexplicably. :- Fresh ideas needed.

2003-09-18 Thread Peter Guyatt
Hi, Have you tried moving to a new version of Tomcat? We had problems with earlier versions crashing, We also moved from JDK1.2 to 1.3.1_07 Thanks Pete -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: 18 September 2003 15:55 To: Tomcat Users List Subject: Desperation!

Where should I put properties files

2003-09-18 Thread Michael D. Spence
I have a web service (call it XYZ) which requires a .properties file. I had been putting it in %CATALINA_HOME%\webapps\axis\services\XYZ, with the classes in %CATALINA_HOME%\webapps\axis\services\WEB_INF\classes and using this to open the properties file. File PFile = new File(webapps +

Where should I put properties files (corrected, sorry)

2003-09-18 Thread Michael D. Spence
I have a web service (call it XYZ) which requires a .properties file. I had been putting it in %CATALINA_HOME%\webapps\axis\services\XYZ, with the classes in %CATALINA_HOME%\webapps\axis\services\WEB_INF\classes and using this to open the properties file. File PFile = new File(webapps +

Re: Desperation! Tomcat crashing inexplicably. :- Fresh ideas needed.

2003-09-18 Thread Andoni
That's the problem. I can't be more specific. One moment I was clicking through the site and the next I get an Apache error saying it could not find the file. Then when I looked at the server processes Tomcat was down. Unfortunately the log file is locked so I cannot see it until I bring the

RE: Where should I put properties files

2003-09-18 Thread Shapira, Yoav
Howdy, This is a FAQ, you could read the archives, but here's a summary of the two commons solutions: - Place properties file on classpath, use the Class#getResource or Class#getResourceAsStream method. - Please properties file anywhere under your webapp's root, and use

RE: Desperation! Tomcat crashing inexplicably. :- Fresh ideas needed.

2003-09-18 Thread Peter Guyatt
We did on our last project. But it was the JVM crashing and taking Tomcat down with it. We just moved to a newer version just to make sure. Try and upgrade the JVM, what version are you using ? -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: 18 September 2003 16:12 To:

RE: Desperation! Tomcat crashing inexplicably. :- Fresh ideas needed.

2003-09-18 Thread Shapira, Yoav
Howdy, Regardless, a setup where you can't inspect log files until the end of the day is unacceptable for more people/organizations ;) Try to get that corrected... Yoav Shapira Millennium ChemInformatics -Original Message- From: Peter Guyatt [mailto:[EMAIL PROTECTED] Sent: Thursday,

Problems with HttpSessionListener ..

2003-09-18 Thread Mufaddal Khumri
Hi, I am trying to implement the HttpSessionListener (the same class implements ServletContextListener). The code for which is below. 1. I open a browser window , use MyWebApp after logging in it. 2. I open the tomcat manager and reload my MyWebApp. I go to the console at this point and see

RE: Problems with HttpSessionListener ..

2003-09-18 Thread Shapira, Yoav
Howdy, Hypothetically speaking, would your listener code works if sessions were persisted by the container prior to the contextDestroyed event? ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17,

Port 443 request not forwarded to Tomcat from Apache

2003-09-18 Thread Ramanan Ramadoss
Hi, I am trying to configure apache 2.0.46 to accept request on port 443 and route it to tomcat 4.1.27 using mod_jk. I am not using ssl yet, but it looks like calls are not forwarded to Tomcat from Apache. I am following step 1 of the following URL.

Re: Problems with HttpSessionListener ..

2003-09-18 Thread Mufaddal Khumri
No, it would not . But if i understand it right .. .the code below in server.xml should not persist any sessions. Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=false maxActiveSessions=-1

Re: Problems with HttpSessionListener ..

2003-09-18 Thread Mufaddal Khumri
From my tests so far , i found that the user browser is storing cookies. So even when the container is not persisting sessions , the client browser tries to use the old session stored in the cookie. I was under the impression that if the user has an old session and tries to reach MyWebApp ,

Re: howto monitor dbcp connection usage?

2003-09-18 Thread Marco Baiguera
what I've done in the past is write a dbmanager that uses the underlying driver. my dbmanager then implements simple logging and is configurable through web.xml. can you explain and/or give an example? thx - Original Message - From: Peter Lin [EMAIL PROTECTED] To: Tomcat Users List

Re: howto monitor dbcp connection usage?

2003-09-18 Thread Peter Lin
I'm kinda swamped today. a high level description is this. 1. log4j for logging 2. added configuration keys to web.xml 3. implement a database abstraction layer I. reads connection parameters from web.xml II. use connection pooling driver III. create a datasource interface for

Re: WAR

2003-09-18 Thread Micael
Try Java in a Nutshell. At 08:11 AM 9/18/2003 +0100, Jerald Powel wrote: Hello, Can anyone tell me, what is the purpose of the WAR file, how does one create / implement it? Where may I find doco about WAR please? thanks J. P.S Why WAR? What does it stand for?

Re: WAR

2003-09-18 Thread Ajay Arora
The war file is a jar file with your web-files (and classes for servlets and other stuff you put in web-inf/classes/ ). You can use define war target in ant tool and can create a war file from it. I havn't used personally but you can serach on the net and will find lot of document. Ajay

Where To Put Resource Bundles?

2003-09-18 Thread Michael Duffy
I'd like to externalize my exception messages in a resource bundle. Where is the generally-accepted place to put them? Thanks - MOD __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

RE: Where To Put Resource Bundles?

2003-09-18 Thread Lee, Paul NYC
The jvm will look through your classpath for resource bundles. So either add the path in your classpath or stick in a place already specified in your existing classpath. -Paul -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 1:46 PM

Coyote Performance

2003-09-18 Thread David Morris
I did some profiling of a slow page (Struts based) on a site using the Coyote connector. This site does not use Apache. It appeared that a java.net.SocketInputStream.read being invoked from org.apache.coyote.http11.InternalInputBuffer.parseRequestLine() was causing a bottleneck. In this case

Re: Coyote Performance

2003-09-18 Thread Remy Maucherat
David Morris wrote: I did some profiling of a slow page (Struts based) on a site using the Coyote connector. This site does not use Apache. It appeared that a java.net.SocketInputStream.read being invoked from org.apache.coyote.http11.InternalInputBuffer.parseRequestLine() was causing a

RE: Desperation! Tomcat crashing inexplicably. :- Fresh ideas n eeded.

2003-09-18 Thread Cox, Charlie
you didn't provide your platform, but since *nix has tail, I'm assuming you have windows. Under windows I've never had a tomcat log file that I couldn't view, but you may not be able to use your favorite editor. Notepad has always brought the file up for me where other editors(including wordpad)

RE: Where should I put properties files

2003-09-18 Thread Michael D. Spence
-Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 11:09 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Where should I put properties files Howdy, This is a FAQ, you could read the archives, but here's a summary of

RE: Coyote Performance

2003-09-18 Thread Mike Curwen
In exactly what manner was David completely wrong? In his identification of the bottleneck? In identifying the old connector as faster? Or is there a fundamental mistake in his whole post? -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: Thursday, September

RE: WAR

2003-09-18 Thread Schalk
WAR stands for Web Archive Resource, it is basically a .jar file containing all the files of your web-app. If you use an IDE such as NetBeans it is very easy to create, simple right click the root folder and select Generate WAR, choose your target location to save the war file to and that is it.

Re: Coyote Performance

2003-09-18 Thread Peter Lin
I'm not totally clear on how you profiled the page. Did you use OptimizeIt/JProbe, or simply added a start time at the beginning and at the end. from first hand experience, I doubt the connector is the cause, but I could be wrong. What in your struts page is causing it to take 35 seconds?

Re: Desperation! Tomcat crashing inexplicably. :- Fresh ideas n eeded.

2003-09-18 Thread Jon Wingfield
You could always try Vim on windows. http://www.vim.org/ You'll never use Notepad again (well, maybe ;)) JEdit has a plug-in (LogViewer) that is effectively a GUI tail. http://www.jedit.org Or go the whole hog and install Cygwin for a bash shell with tail, vi and all manner of *nix utilities.

RE: Desperation! Tomcat crashing inexplicably. :- Fresh ideas n eeded.

2003-09-18 Thread Sjoerd van Leent
Or something like Eclipse... It has to many plug-ins to name http://www.eclipse.org Also Open-Source Sjoerd -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: donderdag 18 september 2003 20:37 To: Tomcat Users List You could always try Vim on windows.

RE: Desperation! Tomcat crashing inexplicably. :- Fresh ideas n eeded.

2003-09-18 Thread Michael Duffy
Sjoerd might be a common name in NL, but I have to ask: Did you ever work for a company called The Allied Group in CT, USA? - MOD --- Sjoerd van Leent [EMAIL PROTECTED] wrote: Or something like Eclipse... It has to many plug-ins to name http://www.eclipse.org Also Open-Source Sjoerd

RE: CPU usage 100%

2003-09-18 Thread Ravi Puthiyattil
Hi, I was not using -server option. Now i changed it to -server option and also increased heap size to 512m. Still i have 100%CPU problem. When this problem occurs i can't access any page. I have to do a kill -9 on jvm and then restart the server. What should i try next. Thanks in advance

RE: Where To Put Resource Bundles?

2003-09-18 Thread Michael Duffy
Thanks, Paul, I'll have to look at the docs. What I'd really like to do is put them in a WAR file and have the servlet find them in there. I COULD put them in WEB-INF/classes, as you've pointed out, but I'd really rather have them as a resource input stream that could be discovered anywhere I

RE: CPU usage 100%

2003-09-18 Thread Shapira, Yoav
Howdy, Look for infinite loops... Yoav Shapira Millennium ChemInformatics -Original Message- From: Ravi Puthiyattil [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 2:47 PM To: Tomcat Users List Subject: RE: CPU usage 100% Hi, I was not using -server option. Now i

RE: Where should I put properties files

2003-09-18 Thread Shapira, Yoav
Howdy, I hate to be totally ignorant, but I can't seem to discover how my web service class gets access to ServletContext. I'm sure there's some static method in Axis that I can call, but I've just been rooting around in the source for about two hours, to no avail. It depends what your web

Auto Form Based Logins

2003-09-18 Thread Mark Pfeifer
I was wondering if people had thoughts on the following - Is there already a way for a developer to create a session and automatically log someone in. For example, if I already know the user id and password (e.g. from another system), I would like to avoid the lazy authentication J2EE process

RE: Benefits of increasing bufferSize in server.xml

2003-09-18 Thread Kilic, Hakan
Thanks for your help! -Hakan Kilic [EMAIL PROTECTED] + Check out PDF Converter for Microsoft® Word which lets you open PDF files right from within Microsoft Word, automatically converting them into formatted Word documents you can edit. PDF Converter is an inexpensive and simple

Re: Coyote Performance

2003-09-18 Thread Remy Maucherat
Mike Curwen wrote: In exactly what manner was David completely wrong? In his identification of the bottleneck? In identifying the old connector as faster? Or is there a fundamental mistake in his whole post? Well, the different is so huge, it is not consistent at all with any measurement I've

RE: Auto Form Based Logins

2003-09-18 Thread Matt Raible
I've implemented remember me functionality using cookies and filters for form-based authentication. You could probably do the same thing - if you can get your servers are in the same domain (and therefore you cookies can persist b/w applications).

init servlet loaded twice

2003-09-18 Thread Phillip Qin
I was looking at my webapp log this afternoon. I use tomcat + log4j + struts. In the log, I found that my InitServlet was loaded twice. One under Thread-xxx, the other under HostConfig[localhost]. Could any body please explain? PQ

RE: init servlet loaded twice

2003-09-18 Thread Shapira, Yoav
Howdy, How many declarations do you have for that servlet in your web.xml? Yoav Shapira Millennium ChemInformatics -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 3:39 PM To: '[EMAIL PROTECTED]' Subject: init servlet loaded twice I was

Re: vertial host apache/tomcat

2003-09-18 Thread Luke Vanderfluit
Hi Johan, Are the domains correctly configured in a dns somewhere? That is: when your browser requests a fqdn (fully qualified domain name), the dns needs to translate it to an IP address. You should have a DNS entry for these domains - on a dns server somewhere on the internet

RE: init servlet loaded twice

2003-09-18 Thread Phillip Qin
One. Is it because of using tomcat manager app? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: September 18, 2003 3:41 PM To: Tomcat Users List Subject: RE: init servlet loaded twice Howdy, How many declarations do you have for that servlet in your web.xml?

RE: init servlet loaded twice

2003-09-18 Thread Shapira, Yoav
Howdy, Reloading a webapp will cause another init of load-on-startup servlets, yes. Yoav Shapira Millennium ChemInformatics -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 3:55 PM To: 'Tomcat Users List' Subject: RE: init servlet loaded

RE: init servlet loaded twice

2003-09-18 Thread Phillip Qin
Yeah. If I start tomcat, my init Servlet only loads once (main thread). If I deploy my webapp, my ini Servlet loads twice. So it is caused by tomcat manager app. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: September 18, 2003 4:00 PM To: Tomcat Users List

change of context prefix

2003-09-18 Thread Frank Liu
is it possible (use mod_jk) to change the context prefix? say, http://server/my_test_site - mod_jk - test_server:8009/my_site ? Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: init servlet loaded twice

2003-09-18 Thread Shapira, Yoav
Howdy, That's proper behavior by tomcat. Yoav Shapira Millennium ChemInformatics -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 4:04 PM To: 'Tomcat Users List' Subject: RE: init servlet loaded twice Yeah. If I start tomcat, my init

RE: change of context prefix

2003-09-18 Thread Shapira, Yoav
Howdy, mod_jk is not like Apache's mod_rewrite, so no. But there are other ways to accomplish this, such as a simple filter deployed at my_test_site that forwards all requests to my_site. Yoav Shapira Millennium ChemInformatics -Original Message- From: Frank Liu [mailto:[EMAIL

RE: change of context prefix

2003-09-18 Thread Frank Liu
Thanks for the quick reply! I was using weblogic in the past and hoping Tomcat would have similiar things as weblogic's PathTrim, PathPrepend for the plugin. Frank On Thu, 18 Sep 2003, Shapira, Yoav wrote: Howdy, mod_jk is not like Apache's mod_rewrite, so no. But there are other ways to

RE: change of context prefix

2003-09-18 Thread Shapira, Yoav
Howdy, Nope... Those extensions are not in the servlet spec so you're not likely to find them in tomcat ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Frank Liu [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 4:45 PM To: Tomcat Users List Subject: RE:

Disabling session management (FAQ not enough)

2003-09-18 Thread Greg Ward
I would like to completely disable Tomcat session management. I'm in the process of porting a legacy app with homebrew session management from JServ to Tomcat, and I want to keep using that homebrew session management for the time being. (I'm using Tomcat 4.1.24, JDK 1.4.0.) Currently, Tomcat's

RE: Getting Dynamic Container information

2003-09-18 Thread Neil Aggarwal
Hello: Yoav Shapira posted this message: If you want to do it with tomcat4, search the archives: I answered this question and gave a code example (getting the Server, then the Hosts, etc.), about a month ago. It should be in the list archives. I have searched the archives extensively

Re: DefaultServlet throws a LOT of broken pipe exceptions on mp3s

2003-09-18 Thread Chris Rolfe
Thanks for both responses. I've got a better idea now what to test. Remy's suggestion of extra bytes being written might plausible, espec. as these are Mac OS files. Sometimes the Apple resource fork messes with little server minds. In the near future, I'll also upgrade to 5.x and move audio +

Re: init servlet loaded twice

2003-09-18 Thread Chris Rolfe
I've noticed that load-on-startup also causes an extra instances of jsps. I came across another thread on multiple inits (Sun forum?). The gist was that it's legitimate for the container to instantiate several of your class. Makes sense if you think about it. It's a class after all. Chris on

Re: Disabling session management (FAQ not enough)

2003-09-18 Thread Greg Ward
On 18 September 2003, Greg Ward said: Surely someone has written a dummy session manager class that does nothing... OK, I took a crack at this. My first attempt at DummySessionManager looked like this: import org.apache.catalina.Manager; class DummySessionManager implements Manager {

RE: Where should I put properties files

2003-09-18 Thread Michael D. Spence
I'm sorry, I'm still struggling with this. I've changed my service class to extend AxisServlet and can do the getResourceAsStream, but it always appears to return a null pointer. I've tried putting my properties file in the JAR, and the whole Tomcat tree is positively littered with copies (to

Re: Coyote Performance

2003-09-18 Thread David Morris
I hope this is a simple configuration issue. Here is my setup for the Coyote and HTTP connectors: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=95 enableLookups=true redirectPort=8443 acceptCount=10 debug0 connectionTimeout=6

Re: Coyote Performance

2003-09-18 Thread Peter Lin
that is truly bizzar. Are you using any request filters? The only thing I can think of is if some request filter is processing the inputstream. By any chance, did you try the same profiling with a super simple hello_world.jsp. If you see the same exact behavior from hello_world.jsp, then it

  1   2   >