Chirag : SEVERE: Endpoint ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: java.net.SocketException: socket closed

2004-12-09 Thread Chirag
I have Internet Connection Initially I start the server and there are no Exception Afterwards I try to surf the Site By typing http://203.197.197.197:8080/ and The Server throws the following Exception There are no other servers running Dec 9, 2004 11:37:44 AM

[OT] Re: Tomcat mailing list is full of non tomcat topics

2004-12-09 Thread Roberto Cosenza
What I mean is that since, as somebody reminded, some of the users make confusion about what is tomcat and what is not, why don't we help them ? An idea, seen somewhere else, could be to post on a regular basic a short mailing list faq. Some days ago we had a 20 post about how to convert a char

xercesImpl.jar xerces.jar TC 5.0.19

2004-12-09 Thread Erika . Schoenmoser
Return Receipt Your xercesImpl.jar xerces.jar TC 5.0.19 document :

RE: Chirag : SEVERE: Endpoint ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: java.net.SocketException: socket closed

2004-12-09 Thread Arnab Chakravarty
Hey, Your previous instance of tomcat did not shutdown as the error clearly says: java.net.BindException: Address already in use: JVM_Bind:8080 You can check that using netstat command whether the port is already used by any instance of tomcat before starting a new instance. Hope this helps.

RE: Chirag : SEVERE: Endpoint ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: java.net.SocketException: socket closed

2004-12-09 Thread Chirag
Thanks Software Installed -- jakarta-tomcat-5.5.2 Windows 98SE IE6.0SP1 But I have checked using netstat and no such port is in use Besides this This Exception is not thrown in startup I mean this Exception is thrown When the Tomcat Server is

SV: Multiple domains on single machine

2004-12-09 Thread Swanthe Lindgren
I am using one physical machine to host both apache and tomcat with multiple domain names mapped to the same IP. Here is an extract of my configuration for apache, jk2 and tomcat. The only thing I havent got working 100% is the auto-deployment, but as its not to big a bother to manage by hand, I

Re: How to start multiple Tomcats

2004-12-09 Thread Wolfgang Hackl
Robert Lin wrote: We are trying to setup an automated J-Unit test from Ant using Cruise Control where we need multiple copies of tomcat servers running (by supplying different server.xml files). I suppose you want the same Tomcat binaries but different configuration per Tomcat instance.

Re: [OT] Re: Tomcat mailing list is full of non tomcat topics

2004-12-09 Thread Parsons Technical Services
Some days ago we had a 20 post about how to convert a char to an intvery legitimate question but very OT. And marked as such. Quote: sorry for posting this offtopic qns here And the subject: off topic - how do i convert an int to char Doug

Re: [OT] Re: Tomcat mailing list is full of non tomcat topics

2004-12-09 Thread QM
On Thu, Dec 09, 2004 at 09:31:41AM +0100, Roberto Cosenza wrote: : What I mean is that since, as somebody reminded, some of the users make : confusion about what is tomcat and what is not, why don't we help them ? : An idea, seen somewhere else, could be to post on a regular basic a : short

Re: [OT] Re: Tomcat mailing list is full of non tomcat topics

2004-12-09 Thread Roberto Cosenza
It's like those posters that remind people not to be rude with their cellphones in public places: the offenders hardly recognize themselves, so the posters are a waste. =) -QM That's a risk, but there is people who care but just needs to be informed -- Roberto Cosenza Infoflex Connect AB,

Re: [OT] Re: Tomcat mailing list is full of non tomcat topics

2004-12-09 Thread QM
On Thu, Dec 09, 2004 at 01:28:37PM +0100, Roberto Cosenza wrote: : That's a risk, but there is people who care but just needs to be informed You're welcome to get started. =) There's nothing to stop you from doing this post. Who knows, perhaps it will have an effect? In my experience (I've seen

RE: OutOfMemory! Tomcat meets sudden spikes of used memory sometimes.

2004-12-09 Thread Shapira, Yoav
Hi, I think it is a obvious memory leak because the number of request threads doesn't increase and the app hits just is normal when the inflexion of gc figure appreas. So there is a constant load and constant memory usage for a couple of days, and then under the same load the memory usage

RE: load balance standalone tomcat 4

2004-12-09 Thread Shapira, Yoav
Hi, You can do the load balancing with just BigIP (or a similar product) and Tomcat, without enabling any of the clustering features. Of course, what you get then is ONLY load balancing, i.e. no session affinity or session replication of any kind, which are required for dynamic failover. Yoav

RE: tomcat run app

2004-12-09 Thread Shapira, Yoav
Hi, You can look at the logs and fix any problems reported there. Yoav Shapira http://www.yoavshapira.com -Original Message- From: maged.shake [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 6:55 PM To: [EMAIL PROTECTED] Subject: tomcat run app hello , when i run

axis, realms and classloaders

2004-12-09 Thread Olve Hansen
I have successfully made a JAASRealm implementation, loosely based on JAASMemoryLoginModule (a simple jaas test class). My jaas implementation interfaces a .net user database over ssl for authentication purposes, and it works almost flawlessly. My problem occurs when I restart the context, the

RE: Tomcat synchronous shutdown?

2004-12-09 Thread Shapira, Yoav
Hi, Will tomcat wait until time consuming requests are completed before shutting down? No. Yoav Shapira http://www.yoavshapira.com This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or

RE: Tomcat synchronous shutdown?

2004-12-09 Thread Shapira, Yoav
Hi, Too long can be defined in a configuration file. It could be, and you're welcome to go ahead and do it. Waste of time. The major problem is that Tomcat can't do a 'restart'. For example with mysql I can do a /etc/init.d/mysql restart and it will block until stop runs... then start. If

RE: axis, realms and classloaders

2004-12-09 Thread Shapira, Yoav
Hi, java.lang.NullPointerException at org.apache.axis.client.Service.getEngineConfiguration(Service.java:802) at org.apache.axis.client.Service.getAxisClient(Service.java:104) I think we had a recent discussion on this exact NPE: you might want to search this list's archives (or

Session expiry and SessionListener problems with cluster

2004-12-09 Thread Christoph Kutzinski
Hi, I'm just playing with the Tomcat 5.5.4 cluster and encountered 2 oddities: a) If have left expireSessionsOnShutdown=false in the configuration I understand that this will expire the session in the local node but leave it alive in the other cluster nodes. However I found out that the session

XXX unknowon type 0 in catalina log of Tomcat 5.0.28

2004-12-09 Thread Michael Echerer
Hi, in our Tomcat 5.0.28 catalina log I've seen the following lines. (see below) The first part are GC logs, that's okay as it was set in the JVM_OPTS, but the XXX unknowon type 0 is quite strange. What's the reason for this. Does anyone know this kind of error message? I've just found out

RE: XXX unknowon type 0 in catalina log of Tomcat 5.0.28

2004-12-09 Thread Shapira, Yoav
Hi, Even thought I don't usually support the connectors, and certainly not mod_jk2 (which is now unsupported in case you missed the announcement), the sheer fascination with this XXX message prompted me to search the source code. The message is from org.apache.tomcat.util.bug.C2BConverter, a

RE: [OT] Re: Tomcat mailing list is full of non tomcat topics

2004-12-09 Thread Januski, Ken
And enjoyable reading for me. The fact is no one forces you to read an OT topic. I don't have time for more than one or two lists so my reading is pretty focused, sometimes moreso than I'd like. Sometimes reading an OT topic on Tomcat is a refreshing change from the normal questions. I don't think

RE: directory for compiled JSPs

2004-12-09 Thread Shapira, Yoav
Hi, Clarity mostly. No need to obfuscate something unless absolutely necessary for overriding reasons... It's a mistake to rely on any specific pattern under Tomcat's work directory: it's Tomcat's to manage. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Yu, John

Re: Tomcat mailing list is full of non tomcat topics

2004-12-09 Thread Dakota Jack
Hi, Roberto, Understanding a problem before solving it is good policy, I think. If the problem is noise (and I don't thnk so) on the list, then maybe the following would be helpful. These attempts at monitoring the hallways are seemingly always the longest threads. I also don't believe the 30%

Performace differences when running application in Tomcat and JBuilder

2004-12-09 Thread Alex Pointer
I have a problem to do with the performance of a server process I developed when used in Tomcat, in comparison with running it in JBuilder X I have a JAR file that is the server process, that when a method is called from Tomcat takes 35 seconds to run, while the same method called in JBuilder

RE: Performace differences when running application in Tomcat and JBuilder

2004-12-09 Thread Shapira, Yoav
Hi, Benchmarking code running inside an IDE is worse than useless: it's both misleading and a waste of time. IDEs can do a lot of things (pre-caching, pre-creating threads, getting DB connections, etc) that skew results. Test the performance of something as you would run it in production. If

Re: Performace differences when running application in Tomcat and JBuilder

2004-12-09 Thread Wade Chandler
Alex Pointer wrote: I have a problem to do with the performance of a server process I developed when used in Tomcat, in comparison with running it in JBuilder X I have a JAR file that is the server process, that when a method is called from Tomcat takes 35 seconds to run, while the same method

Re: Tomcat mailing list is full of non tomcat topics

2004-12-09 Thread Dakota Jack
The first thing I do when someone starts a thread about list noise is to run that persons name through my gmail search engine and see what their posts are like. I always find this to be revealing. Indeed, I run my own name through and get equally embarrassed about what an ass I can be. If we

Problem with Sessions...is this a Tomcat bug?

2004-12-09 Thread Gabriel Belingueres
Hi, I just discovered a weird thing: I have a Tomcat 4.1.12 running in my machine, which is called ale2000, and I test my app using http://localhost:8080/xx as the url (not the machine name configured in Windows) When some of the html page make a request to the app, using

Tomcat 5.5 Webapp logging.

2004-12-09 Thread Dale, Matt
Title: Tomcat 5.5 Webapp logging. Hi, We have a 3rd party application which has a nasty habit of chucking out a load of messages to stdout and stderr. Up until tomcat 5 we used a console Logger with swallowOutput turned on to catch all that output so it didnt end up in catalina.out.

Re: Problem with Sessions...is this a Tomcat bug?

2004-12-09 Thread Christoph Kutzinski
Gabriel Belingueres wrote: Hi, I just discovered a weird thing: I have a Tomcat 4.1.12 running in my machine, which is called ale2000, and I test my app using http://localhost:8080/xx as the url (not the machine name configured in Windows) When some of the html page make a request to the app,

RE: Tomcat 5.5 Webapp logging.

2004-12-09 Thread Shapira, Yoav
Hi, The example in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html is a decent start. Since your goal is to reduce messages being output to the log, at least for this 3rd party application, add a line like log4j.logger.rootPackageOf3rdPartyApp = WARN to the sample file at the

RE: Problem with Sessions...is this a Tomcat bug?

2004-12-09 Thread Shapira, Yoav
Hi, Yup, definitely not a Tomcat bug. You might want to sync up your network configuration with your server.xml, but that's your call. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Christoph Kutzinski [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 10:17

Re: Performace differences when running application in Tomcat and JBuilder

2004-12-09 Thread Laconia Data Systems
Alex The first thing I would look at is the delta JBuilder if I remember is like JDeveloper and contains it's own embedded appserver and web server Caching turned off on one webserver ( Tomcat )and then turned on with another webserver (JBuilder) would by default cause the former webserver

Re: Problem with Sessions...is this a Tomcat bug?

2004-12-09 Thread Wade Chandler
Gabriel Belingueres wrote: Hi, I just discovered a weird thing: I have a Tomcat 4.1.12 running in my machine, which is called ale2000, and I test my app using http://localhost:8080/xx as the url (not the machine name configured in Windows) When some of the html page make a request to the app,

RE: Tomcat 5.5 Webapp logging.

2004-12-09 Thread Dale, Matt
That's the one I tried but never got too far. I'll give it a another whirl and it should cut down on the errors from the 3rd party app in the short term and as long as they aren't in catalina.out i'll be happy. Ta Matt -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]

RE: Tomcat 5.5 Webapp logging.

2004-12-09 Thread Dale, Matt
Hi, I can't even get it to create the log file and see no log4j related messages in the catalina.out. Below is my log4j.properties which is in common/classes log4j.rootLogger=debug, R log4j.appender.R=org.apache.log4j.RollingFileAppender

RE: Tomcat 5.5 Webapp logging.

2004-12-09 Thread Shapira, Yoav
Hi, Also need commons-logging.jar (not commons-logging-api.jar) in common/lib for this to work. The docs have already been patched in CVS. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 11:00 AM

Re: Tomcat 5.5 Webapp logging.

2004-12-09 Thread Viorel Dragomir
Maybe the problem is not what the log4j.properties contains but if it is found by the package. Try to put this file in System.getProperties().get(user.dir) [ the package itself is located in WEB-INF/lib ] Viorel Dragomir . ..

Problems With Configuring IP

2004-12-09 Thread Scott Purcell
Tomcat Running on Win2000, Tomcat 4.1.3 1. Tomcat is running on port 80 independent of Apache. 2. I have changed the server.xml file as below; !-- Define the default virtual host -- Host name=my_IP_address debug=0 appBase=webapps unpackWARs=true autoDeploy=true 3. When I run netstat -an

SEVERE: Error filterStart. BUT, it runs fine with Sun's 8 RI.

2004-12-09 Thread Nat Gross
Hi; I just dl'd 5.0.30 and tried to deploy an app which I have running fine on Sun's 8 server. Tomcat doesn't like my filter setting. Can you please point out the problem (below)? Thanks. -nat filter filter-nameLogtrackFilter/filter-name

RE: Tomcat 5.5 Webapp logging.

2004-12-09 Thread Dale, Matt
Once again you are the man. The solution was probably somewhere in the archives, if so I apologise as I'm having a lazy day and it's easier to ask. I'm actually getting something now and just need to tweak the properties file to get what I want. Thanks again -Original Message- From:

RE: SEVERE: Error filterStart. BUT, it runs fine with Sun's 8 RI.

2004-12-09 Thread Shapira, Yoav
Hi, This web.xml snippet looks fine, but of course it's far from all the required information to properly diagnose and debug this issue. What is the exact and complete message in the logs? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Nat Gross [mailto:[EMAIL

RE: Problems With Configuring IP

2004-12-09 Thread Shapira, Yoav
Hi, My specific IP address never shows up as listening. Does anyone know how I can get around this? Assuming you're using the Coyote HTTP/1.1 connector, use its address attribute (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html) to indicate which IP address to listen on.

RE: Problems With Configuring IP

2004-12-09 Thread Scott Purcell
No I am not using Apache as a front end, I am using just Tomcat. Is this bad? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 10:18 AM To: Tomcat Users List Subject: RE: Problems With Configuring IP Hi, My specific IP address never

RE: Problems With Configuring IP

2004-12-09 Thread Shapira, Yoav
Hi, I didn't say anything about Apache. And it's fine that you're not using it. (What's not fine is using Tomcat v4.1.3 -- bad and ancient version, and you should upgrade when you get a chance). Yoav Shapira http://www.yoavshapira.com -Original Message- From: Scott Purcell

RE: Chirag : SEVERE: Endpoint ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: java.net.SocketException: socket closed

2004-12-09 Thread Caldarale, Charles R
From: Chirag [mailto:[EMAIL PROTECTED] Subject: RE: Chirag : SEVERE: Endpoint ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: java.net.SocketException: socket closed Software Installed -- jakarta-tomcat-5.5.2 Windows 98SE IE6.0SP1

Re: Multiple domains on single machine

2004-12-09 Thread Mayuresh Kshirsagar
Thanks all for the pointers. I solved the issue using the following way: TOMCAT_HOME\conf\apps-vhosts.xml: ?xml version=1.0 encoding=ISO-8859-1? Server Host name=admin Context path= docBase=E:/admin.support.cp.net/html debug=0/ /Host Host name=support Context path=

Re: Tomcat 5.5 Webapp logging.

2004-12-09 Thread Jacob Kjome
So, you want System.out stuff to go to the stdout, is that right? Just set up a console appender. Note that if you want to log to Tomcat's specially named localhost and context loggers, you'll need to use a log4j.properties file rather than log4j.xml because the naming pattern violates the XML

Re: Apache locks up

2004-12-09 Thread Dola Woolfe
Everything is locked up, including the static resources! __ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com - To unsubscribe, e-mail: [EMAIL

RE: Apache locks up

2004-12-09 Thread Shapira, Yoav
Hi, Oh no! Call the Apache police! Seriously though, if you give some details we might be able to help ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: Dola Woolfe [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 12:05 PM To: Tomcat Users List Subject:

RE: Apache locks up

2004-12-09 Thread Dola Woolfe
This was a reply to a previous thread. I guess I should not have deleted the contents from the email. This is not a news group after all... --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, Oh no! Call the Apache police! Seriously though, if you give some details we might be able to help

RE: Apache locks up

2004-12-09 Thread Wick, Daniel
Reboot your windows machine switch to Linux, BSD, or commercial unix.hee hee hee! Seriously though, what's in the error log? -Original Message- From: Dola Woolfe [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 11:05 AM To: Tomcat Users List Subject: Re: Apache locks up

RE: Apache locks up

2004-12-09 Thread Wick, Daniel
Whoops! Sorry Dola, I accused you of using Apache on windows. I sincerely apoligize! -Original Message- From: Dola Woolfe [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 11:12 AM To: Tomcat Users List Subject: RE: Apache locks up This was a reply to a previous thread. I

RE: Tomcat 5.5 Webapp logging.

2004-12-09 Thread Dale, Matt
This sounds like kind of what I want but you've confused me. I basically want the System.out and stdout from a particular webapp to go to a specific log file that is rotated and seperate for each webapp. I've now got log4j working with a log4j.properties in common/classes. Everything is now

RE: XXX unknowon type 0 in catalina log of Tomcat 5.0.28

2004-12-09 Thread Michael Echerer
Hi, Hi, Even thought I don't usually support the connectors, and certainly not mod_jk2 (which is now unsupported in case you missed the announcement), Read this, but currently everything runs smooth except some not really perfectly 1:1 balanced load, thus we'll migrate back to mod_jk1.2 later.

Enabling ROOT context for Tomcat5.0.28/Apache 2.0.x

2004-12-09 Thread Dwayne Ghant
I have successfully install both tomcat and apache. And they work find together. What I would like to do now is re-enable the ROOT context so I can view the ROOT applications. I have tried the code below (thinking that is all I would have to do), but it didn't work. Context path= docBase=ROOT

5.0.28 errors on startup of web apps

2004-12-09 Thread Julie McCabe
Hello, I'm using Tomcat 5.0.28, Java 1.4.2_02 and Red Hat linux 9. I was able to start Tomcat ok but when deployed a web application and added the following to the conf/server.xml Connector className=org.globus.tomcat.coyote.net.HTTPSConnector port=8443 maxThreads=150

RE: 5.0.28 errors on startup of web apps

2004-12-09 Thread Shapira, Yoav
Hi, Before I even start dissecting this, where did you get the documentation that led you down this path? I don't see any mention of HTTPSValve on the Tomcat (or FWIW, the entire apache.org) site. A general Google search shows only one place with this mention: the Globus site. I see that

Re: 5.0.28 errors on startup of web apps

2004-12-09 Thread Julie McCabe
On Thursday 09 December 2004 17:38, Shapira, Yoav wrote: Hi, Before I even start dissecting this, where did you get the documentation that led you down this path? I don't see any mention of HTTPSValve on the Tomcat (or FWIW, the entire apache.org) site. A general Google search shows only

RE: Tomcat 5.5 Webapp logging.

2004-12-09 Thread Jacob Kjome
Quoting Dale, Matt [EMAIL PROTECTED]: This sounds like kind of what I want but you've confused me. I basically want the System.out and stdout from a particular webapp to go to a specific log file that is rotated and seperate for each webapp. I'm not sure how you would separate System.out

Re: Apache locks up

2004-12-09 Thread Laconia Data Systems
Sounds suspiciously as if you are assign ports that already being used try netstat -a Tomcat usually likes port 8080 to listen on unless configured differently in server.xml Apache and any other webserver listen on 80 as a default Also be sure to check the latest jakarta-service (spelling?).log in

Re: SEVERE: Error filterStart. BUT, it runs fine with Sun's 8 RI.

2004-12-09 Thread Nat Gross
Thanks for the quick comeback. The following are the relevant lines: --- 09/12/2004 10:50:00 org.apache.catalina.core.StandardContext start SEVERE: Error filterStart 09/12/2004 10:50:00 org.apache.catalina.core.StandardContext start SEVERE: Context startup failed due to previous errors

RE: Chirag : SEVERE: Endpoint ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: java.net.SocketException: socket closed

2004-12-09 Thread Chirag
If there was a port Problem then that Problem should had occured in startup but instead of that it is starting normally and it throws Exception After the Server is Accessed According to me there is SocketException due to some reason and after that it again tries to gain the socket but cannot do

RE: Chirag : SEVERE: Endpoint ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: java.net.SocketException: socket closed

2004-12-09 Thread Chirag
Now I got the Exact Problem I asked one of my friend to surf the site from his place and found out that the site is working well enough the only problem is that it can't be surfed from the Server.I mean the Machine where the Server is running So how to do that I mean I should be able to host

[OT]Internal Netbeans Tomcat server

2004-12-09 Thread Chris Cherrett
I am trying to test my webapp under the tomcat server in netbeans. after logging on the the app I am recieving 404 errors. It seems to find the uinitial pages but wont redirect to any other pages. Any help? - To unsubscribe,

prevent multiple form posts using only servlets

2004-12-09 Thread Elihu Smails
Is there a way to prevent multiple form posts from the same page/user/session using only servlets? I have a page where users can upload files, but I do not want them to keep smashing the upload button if their files are large, and the user becomes impatient. thank you.

Re: deleteOnExit() doesn't work in Tomcat on temp files

2004-12-09 Thread Shankar Unni
Noel J. Bergman wrote: Instead, use the PhantomReference-based code that I contributed to Jakarta Commons. The main reason why people (misguidedly) use deleteOnExit() is to be able to generate temporary files that you can return URLs for (e.g. you generate a .PDF report, and generate an HTTP

Re: prevent multiple form posts using only servlets

2004-12-09 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Elihu Smails wrote: | Is there a way to prevent multiple form posts from the | same page/user/session using only servlets? I have a | page where users can upload files, but I do not want | them to keep smashing the upload button if their files | are

Re: prevent multiple form posts using only servlets

2004-12-09 Thread Roberto Cosenza
Yes there is. But the problem is not really related to a servlet just to web architecture. A strategy is to put an object token in the session when you show the form and remove it when the user clicks upload. You will then deny uploads if you don't have the token in the session . Spring forms

Re: [OT]Internal Netbeans Tomcat server

2004-12-09 Thread Chris Cherrett
java.lang.IllegalStateException: Cannot forward after response has been committed is the error message in the console. Why do I get this error in the internal server and not in the external tomcat server? On December 9, 2004 11:57 am, Chris Cherrett wrote: I am trying to test my webapp under

Tomcat 5.0.28 won't start??????????????

2004-12-09 Thread Dwayne Ghant
Runing tomcat 5.0.27 I get this error list below for the first time. I think is because I have j2ee.jar is in the classpath which was causing java.lang.reflect.InvocationTargetException. Pleaese advise??? [user]# ./catalina.sh run . . . Dec 9, 2004 2:57:16 PM org.apache.commons.digester.Digester

RE: Tomcat 5.0.28 won't start??????????????

2004-12-09 Thread Shapira, Yoav
Hi, Runing tomcat 5.0.27 I get this error list below for the first time. I think is because I have j2ee.jar is in the classpath which was causing java.lang.reflect.InvocationTargetException. Pleaese advise??? Advice: don't have j2ee.jar anywhere in your Tomcat installation. Advice: search the

Re: [OT]Internal Netbeans Tomcat server

2004-12-09 Thread Laconia Data Systems
Stuff Im assuming you have Proxy Forward and Reverse already configured for your webapp within Apache HTTP Server HTTPD.conf? Once you have reached $TOMCAT_HOME/YourWebapp you will need to relatively path to your classes either by $TOMCAT_HOME/YourWebApp/WEB-INF/classes/PackageName/*.class or jar

Re: Apache locks up

2004-12-09 Thread Wade Chandler
Dola Woolfe wrote: Everything is locked up, including the static resources! __ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com - To unsubscribe, e-mail: [EMAIL

Limit size of tomcat_out.log?

2004-12-09 Thread fzlists
Is it possible, and if so how, to limit the size of the tomcat_out.og file? I have a development box that is running out of space sometimes because the log grows rather large when a lot of users are testing. Thanks all! Frank W. Zammetti Chief Software Architect Omnytex Technologies

Re: [OT]Internal Netbeans Tomcat server

2004-12-09 Thread Chris Cherrett
I am not using HTTPD.conf. I am only using tomcat. On December 9, 2004 12:45 pm, Laconia Data Systems wrote: Stuff Im assuming you have Proxy Forward and Reverse already configured for your webapp within Apache HTTP Server HTTPD.conf? Once you have reached $TOMCAT_HOME/YourWebapp you will

RE: Limit size of tomcat_out.log?

2004-12-09 Thread Shapira, Yoav
Hi, Is it possible, and if so how, to limit the size of the tomcat_out.og file? I have a development box that is running out of space sometimes because the log grows rather large when a lot of users are testing. Thanks all! What Tomcat versions are you using? Tomcat's Loggers (version 5.0 and

Re: Tomcat 5.0.28 won't start??????????????

2004-12-09 Thread David Smith
On the exception reported -- run your server.xml file and all your context.xml files through an xml validator. It'll point out where you have some invalid xml syntax. --David Shapira, Yoav wrote: Hi, Runing tomcat 5.0.27 I get this error list below for the first time. I think is because I

Re: prevent multiple form posts using only servlets

2004-12-09 Thread Mark
Try this one: http://java.sun.com/developer/EJTechTips/2003/tt0114.html look on Preventing Repeated Operations Mark. --- Roberto Cosenza [EMAIL PROTECTED] wrote: Yes there is. But the problem is not really related to a servlet just to web architecture. A strategy is to put an object token

Re: Apache locks up

2004-12-09 Thread Dola Woolfe
--- Wade Chandler [EMAIL PROTECTED] wrote: Dola Woolfe wrote: Everything is locked up, including the static resources! __ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com

Re: Tomcat 5.0.28 won't start??????????????

2004-12-09 Thread Dwayne Ghant
Absolutly correct that is exactly what I did and everything is fine. It seems that I have written one of my context tags the wronge way in attemps to get the ROOT jakarta applications working under Apache. What I would like to do now is re-enable the ROOT context so I can view the ROOT

RE: Limit size of tomcat_out.log?

2004-12-09 Thread fzlists
I am on Tomcat 5.0.29. Can you point me at some documentation on configuring it? I'm not sure about the rotating... is that a configurable option? (I assume so). The log I just looked as was almost 2GB, and I would assume it would rotate before them. But, I have done quite a bit of

RE: Limit size of tomcat_out.log?

2004-12-09 Thread Shapira, Yoav
Hi, I am on Tomcat 5.0.29. Can you point me at some documentation on configuring it? As I said, not much of this is done in Tomcat. It's not Tomcat's job to worry about you running out of disk space. The only Tomcat option relevant to this discussion is swallowOutput, which is a Context

Re: Tomcat synchronous shutdown?

2004-12-09 Thread Kevin A. Burton
Shapira, Yoav wrote: The semantic of restart only if you feel like it is useless IMHO. You either want a restart or you don't. If there's an error serious enough to prevent shutdown, you want to look into it anyways. But since your use-case apparently calls for this functionality, go ahead, do

Re: Apache locks up

2004-12-09 Thread Wade Chandler
Dola Woolfe wrote: --- Wade Chandler [EMAIL PROTECTED] wrote: Dola Woolfe wrote: Everything is locked up, including the static resources! __ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com

Tomcat Running out of Memory

2004-12-09 Thread Richey, Ross
My tomcat process runs out of memory (unless rebooted) approximately every three days. Vital Statistics: -Our consultant-designed website consists of approximately 5000 JSP pages. None of these pages pull from a backend, the java was merely used to provide a persistent border. -Max heap size is

Re: Tomcat Running out of Memory

2004-12-09 Thread Ben Souther
There was a memory leak in j2sdk1.4.1xxx, I believe. Is that the one you're using? On Thu, 2004-12-09 at 15:45, Richey, Ross wrote: My tomcat process runs out of memory (unless rebooted) approximately every three days. Vital Statistics: -Our consultant-designed website consists of

trustStore details in server.xml

2004-12-09 Thread Sunitha Kumar
Hi , Is there a way we could mention this in server.xml? Similar to the keyStore. thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Classloading issue

2004-12-09 Thread Yu, John
Hi, I'm using Struts plugin, however, I think the issue mostly related to Tomcat ClassLoading. I have a class (in a jar) under WEB-INF/lib, which loads properties from a file located under WEB-INF/classes. ClassLoader cl = getClass().getClassLoader(); InputStream stream =

Re: Enabling ROOT context for Tomcat5.0.28/Apache 2.0.x

2004-12-09 Thread Dwayne Ghant
Does anyone want to take shot at that question. I know it's simple but for some reason I seem to be having some kind of problem!!! PLEASE HELP. Dwayne Ghant wrote: I have successfully install both tomcat and apache. And they work find together. What I would like to do now is re-enable the ROOT

RE: Tomcat Running out of Memory

2004-12-09 Thread Richey, Ross
Sorry should have been more specific, the JDK is: 1.4.2 (the install bin is: j2sdk-1_4_2-nb-3_5_1-bin-linux.bin) I seem to remember looking into that, and deciding that couldn't be it, because it was a different version. Ross -Original Message- From: Ben Souther [mailto:[EMAIL

RE: Enabling ROOT context for Tomcat5.0.28/Apache 2.0.x

2004-12-09 Thread Caldarale, Charles R
From: Dwayne Ghant [mailto:[EMAIL PROTECTED] Subject: Re: Enabling ROOT context for Tomcat5.0.28/Apache 2.0.x Does anyone want to take shot at that question. I know it's simple but for some reason I seem to be having some kind of problem!!! Two things: 1) Make sure you don't have more

Re: Classloading issue

2004-12-09 Thread Wade Chandler
Yu, John wrote: Hi, I'm using Struts plugin, however, I think the issue mostly related to Tomcat ClassLoading. I have a class (in a jar) under WEB-INF/lib, which loads properties from a file located under WEB-INF/classes. ClassLoader cl = getClass().getClassLoader(); InputStream

RE: How to detect expired session vs. no session? (Solved)

2004-12-09 Thread Steve Kirk
By default: 1. getSession(true)!=null 2. getSession(false)!=null But if a JSP page contains the tag %@ page session=false %, then: 1. getSession(true)!=null 2. getSession(false)==null In the last of these 4 cases, do you mean that the implicit JSP session object returns null, or that

[OT] Re: prevent multiple form posts using only servlets

2004-12-09 Thread Dennis Payne
Use javascript to disable or remove the button. [EMAIL PROTECTED] 12-09-2004 12:12 Is there a way to prevent multiple form posts from the same page/user/session using only servlets? I have a page where users can upload files, but I do not want them to keep smashing the upload button if their

RE: Classloading issue

2004-12-09 Thread Yu, John
Wade, Thanks for sharing. When you say using package, you mean for resource files? One specific thing you didn't mention is where the calling class is located. In my case, it's a class from within a jar in lib. That really made the difference. My conclusion so far is similar: when using /, CL

log4j and tomcat 5.5

2004-12-09 Thread Marcelo Moreira
Hello, This is sure a newbie question, but I have been having a lot of trouble trying to get logging to work on tomcat 5.5 with log4j. I got everything working (I think...) but I have been wondering about something... Would anybody know why I still have to put a copy of commons-logging.jar +

Re: Classloading issue

2004-12-09 Thread Wade Chandler
Yu, John wrote: Wade, Thanks for sharing. When you say using package, you mean for resource files? One specific thing you didn't mention is where the calling class is located. In my case, it's a class from within a jar in lib. That really made the difference. My conclusion so far is similar:

Re: log4j and tomcat 5.5

2004-12-09 Thread Jacob Kjome
Are you trying to enable logging for Tomcat, your webapp, or both? You will need to add both log4j.jar and commons-logging.jar (not commons-logging-api.jar) to common/lib to enable Log4j logging for Tomcat-5.5.x itself. For your own app, do you use actually use the commons-logging api or just

  1   2   >