Re: Need Help Programmatically Loading Servlets in StandardContext subclass

2005-08-23 Thread Philip Weaver
I give up. MVC baby! On Aug 21, 2005, at 7:24 PM, Philip Weaver wrote: How can I programmatically load servlets and servlet mappings in Tomcat? I'm using Tomcat 5.0.28. I'm trying to extend StandardContext to automatically map/assign a batch of servlets from a specified jar at startup.

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Mohd. Jeffry
I'm not using the war. This is an Unpacked deployment. On 8/1/05, Lintang JP [EMAIL PROTECTED] wrote: Hi Jeffry, are you trying to deploy a .war file ? maybe U should use the tomcat manager, usually it's located at http://localhost:8080/manager/html, U can deploy your .war files from that

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Lintang JP
any log file ? On 8/1/05, Mohd. Jeffry [EMAIL PROTECTED] wrote: I'm not using the war. This is an Unpacked deployment. On 8/1/05, Lintang JP [EMAIL PROTECTED] wrote: Hi Jeffry, are you trying to deploy a .war file ? maybe U should use the tomcat manager, usually it's located at

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Mohd. Jeffry
my application name is sd. This is my catalina.out . . . INFO: Processing Context configuration file URL file:/etc/tomcat5/Catalina/localhost/balancer.xml Aug 1, 2005 11:21:31 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /sd from URL

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Lintang JP
Servlet mapping specifies an unknown servlet name invoker Maybe you try to map a servlet name that's not declared yet on web.xml ? How about your web.xml file ? On 8/1/05, Mohd. Jeffry [EMAIL PROTECTED] wrote: my application name is sd. This is my catalina.out . . . INFO: Processing

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Mohd. Jeffry
which one? tomcat or my application web.xml ? On 8/1/05, Lintang JP [EMAIL PROTECTED] wrote: Servlet mapping specifies an unknown servlet name invoker Maybe you try to map a servlet name that's not declared yet on web.xml ? How about your web.xml file ? On 8/1/05, Mohd. Jeffry

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Lintang JP
you app.specific web.xml, at WEB-INF On 8/1/05, Mohd. Jeffry [EMAIL PROTECTED] wrote: which one? tomcat or my application web.xml ? On 8/1/05, Lintang JP [EMAIL PROTECTED] wrote: Servlet mapping specifies an unknown servlet name invoker Maybe you try to map a servlet name that's not

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Mohd. Jeffry
I don't think its a good idea to post it here. The files got thousands of lines.. perhaps there are specific parts that I should be look in to? On 8/1/05, Lintang JP [EMAIL PROTECTED] wrote: you app.specific web.xml, at WEB-INF On 8/1/05, Mohd. Jeffry [EMAIL PROTECTED] wrote: which one?

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Lintang JP
1. try to match the servlet-name part with the servlet-mapping, maybe there's some unmatch item there 2. If U just migrate to tomcat 5, U shd also look the DTD item at the top of your web.xml file, which dtd is used by web.xml in tomcat 5 I guess that's all ? On 8/1/05, Mohd. Jeffry [EMAIL

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-07-31 Thread Lintang JP
Hi Jeffry, are you trying to deploy a .war file ? maybe U should use the tomcat manager, usually it's located at http://localhost:8080/manager/html, U can deploy your .war files from that tools. On 8/1/05, Mohd. Jeffry [EMAIL PROTECTED] wrote: I'm migrating form Tomcat 4.1.2 to Tomcat 5.0.

Re: need help

2005-04-25 Thread Nikola Milutinovic
Robert U. Chan wrote: Good day! Hope somebody can help me with my current problem in tomcat. I have been seeing an 'error in getDescSql in StaticMethod' in the console of tomcat. Can somebody help me know the cause and solution to this problem. This could be some SQL code in your web app. For

RE: Need help exporting contexts not under webapps/

2005-04-19 Thread Raghupathy,Gurumoorthy
Not clear what you want. Send me the details Where is your static document ( The directory ) How do want to access it ? ( the URL ) Which version of TOMCAT YOU ARE USING Send me your server.xml Regards Guru -Original Message- From: J. Ryan Earl

RE: Need help exporting contexts not under webapps/

2005-04-19 Thread Fritz Schneider
To: 'Tomcat Users List' Subject: RE: Need help exporting contexts not under webapps/ Not clear what you want. Send me the details Where is your static document ( The directory ) How do want to access it ? ( the URL ) Which version of TOMCAT YOU ARE USING Send me

RE: Need help exporting contexts not under webapps/

2005-04-19 Thread Raghupathy,Gurumoorthy
13:25 To: 'Tomcat Users List' Subject: RE: Need help exporting contexts not under webapps/ Guru, Earl isn't the only one trying to do this. Here are the details for my attempts which may or may not be similar to his: - Running TC 5.5.8, JVM 1.5.0_02-b09 under Win XP Pro SP2 - I have a set

RE: Need help exporting contexts not under webapps/

2005-04-19 Thread Fritz Schneider
subdirectories under c:\www showed up on the server, including aegean. Other contexts continue to be recognized as deployed apps. Fritz -Original Message- From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 5:45 AM To: 'Tomcat Users List' Subject: RE: Need help

RE: Need help exporting contexts not under webapps/

2005-04-19 Thread J. Ryan Earl
/Context Context docBase=/mnt/CMFiles/DOCS privileged=true antiResourceLocking=false antiJARLocking=false /Context -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 8:30 PM To: Tomcat Users List Subject: Re: Need help exporting contexts not under

Re: Need help exporting contexts not under webapps/

2005-04-19 Thread Gurumoorthy
Did you manage to get it right ? I would recommend that you use lower case context path name Regards Guru - Original Message - From: J. Ryan Earl [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, April 19, 2005 6:56 PM Subject: RE: Need help exporting

RE: Need help exporting contexts not under webapps/

2005-04-19 Thread J. Ryan Earl
To: Tomcat Users List Subject: Re: Need help exporting contexts not under webapps/ Did you manage to get it right ? I would recommend that you use lower case context path name Regards Guru - Original Message - From: J. Ryan Earl [EMAIL PROTECTED] To: Tomcat Users List tomcat-user

Re: Need help exporting contexts not under webapps/

2005-04-18 Thread QM
On Mon, Apr 18, 2005 at 01:16:04PM -0500, J. Ryan Earl wrote: : So my question is, in short, given a directory structure of static files, : how do you get Tomcat to serve said static content off of an arbitrary URI? So, are you trying to 1/ have a Tomcat-run webapp serve content that exists

Re: Need Help w. Servlet Images.

2005-03-31 Thread QM
On Thu, Mar 31, 2005 at 02:42:10PM -0500, Steve R. Burrus wrote: : Can someone/somebody please tell me just how exactly I go about viewing an image using both of the FileInputStream and the FileOutputStream classes in connection with the method getRealPath()?? Share your code, and we can help

RE: Need help for case insensitive deployment

2004-09-29 Thread Willy Lin
, but it is working now. May be things are better in Tomcat 5.0. Thank you for your help. Willy -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 5:58 PM To: Tomcat Users List Subject: Re: Need help for case insensitive deployment From

RE: Need help for case insensitive deployment

2004-09-28 Thread Willy Lin
Hi: Can someone tell me whether my question is posted or not? Am I having problem with my mail server? Thanks. Willy -Original Message- From: Willy Lin Sent: Tuesday, September 28, 2004 10:39 AM To: 'Tomcat Users List' Subject: Need help for case insensitive

Re: Need help for case insensitive deployment

2004-09-28 Thread Wendy Smoak
From: Willy Lin [EMAIL PROTECTED] Can someone tell me whether my question is posted or not? Am I having problem with my mail server? We got it the first time. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html I don't see any reference to 'caseSensitive' there, do you? It's

Re: Need help for case insensitive deployment

2004-09-28 Thread QM
On Tue, Sep 28, 2004 at 10:39:19AM -0700, Willy Lin wrote: : I need to server up some pages through Tomcat4 that are case : insensitive. Time for some creative Filter action, then? -or even not-so-creative Filter action...? -QM -- software -- http://www.brandxdev.net tech news --

RE: Need help for case insensitive deployment

2004-09-28 Thread Willy Lin
- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 5:18 PM To: Tomcat Users List Subject: Re: Need help for case insensitive deployment From: Willy Lin [EMAIL PROTECTED] Can someone tell me whether my question is posted or not? Am I having problem with my mail server

Re: Need help for case insensitive deployment

2004-09-28 Thread Wendy Smoak
From: Willy Lin [EMAIL PROTECTED] Thank you. Now, I know I am not talking to myself. You are right that there is no mention of case sensitivity at the context level in Tomcat 4.0, but it is mentioned at the resource level. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/resources.html

Re: Need Help

2004-09-03 Thread QM
On Fri, Sep 03, 2004 at 02:16:26PM +0800, Venu wrote: : I am trying to execute my jsp's servlets from my remote server : from /home/httpd/vhosts/domainname.com dir : : It works fine for the Html's but when try to execute my jsp's servlets : it is not able to execute and even doesnt displays an

RE: Need help with Log4j and Tomcat5

2004-07-23 Thread Shapira, Yoav
Hi, Just what's mentioned in the log4j manual: - Place log4j.jar in WEB-INF/lib - Place log4j code in your JSPs as you wish - Place log4j.properties in WEB-INF/classes or configure log4j programmatically. Yoav Shapira Millennium Research Informatics -Original Message- From: Tonte

RE: Need help with Log4j and Tomcat5

2004-07-23 Thread Tonte Pouncil
Thanks I will try this... I had my log4j.properties in web-inf/config/ instead of web-inf/classes Thanks again. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 7:50 AM To: Tomcat Users List Subject: RE: Need help with Log4j and Tomcat5 Hi

RE: Need help with Log4j and Tomcat5

2004-07-23 Thread Tonte Pouncil
Thanks a lot. I was successful at logging my debug statements. Thanks a bunch! tp -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 7:50 AM To: Tomcat Users List Subject: RE: Need help with Log4j and Tomcat5 Hi, Just what's mentioned

RE: Need help with Log4j and Tomcat5

2004-07-23 Thread Bill Harrelson
/debug classpath, in which case it only picks up the first jar and I only get one logger. Has anybody else run into this? Anybody have any idea what to do next? TIA, Bill Send reply to: Tomcat Users List [EMAIL PROTECTED] Subject:RE: Need help with Log4j and Tomcat5 Date

RE: Need help with Log4j and Tomcat5

2004-07-23 Thread Tonte Pouncil
So you have different log4j jar files? If so why, why not just use one? -Original Message- From: Bill Harrelson [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 9:37 AM To: Tomcat Users List Subject: RE: Need help with Log4j and Tomcat5 This works fine for me under Tomcat

RE: Need help with Log4j and Tomcat5

2004-07-23 Thread Bill Harrelson
find anyone that has been able to help. TIA Bill Send reply to: Tomcat Users List [EMAIL PROTECTED] Subject:RE: Need help with Log4j and Tomcat5 Date sent: Fri, 23 Jul 2004 09:50:28 -0500 From: Tonte Pouncil [EMAIL PROTECTED] To: Tomcat Users

RE: Need help with Log4j and Tomcat5

2004-07-23 Thread Shapira, Yoav
Informatics -Original Message- From: Bill Harrelson [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 11:20 AM To: Tomcat Users List Subject: RE: Need help with Log4j and Tomcat5 I have multiple applications, say app1 and app2. I want separate logging for each application. log4j creates

RE: Need help building JK/JK2 for Netscape (Sun ONE) on Solaris

2004-04-19 Thread Benjamin Armintor
AFAIK, you won't be able to get an NSAPI connector for JK2. We're using JK 1.2.5 and Netscape, but I built it with good ol' make. What were the actual error messages you got? Benjamin J. Armintor Systems Analyst ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562

Re: Need help - Data Source problem

2004-03-03 Thread Philipp Taprogge
Hi! Mathew wrote: For me it looks like my program is not able to read tags in server.xml to get driver class info. Any help is really appreciated. If sure looks that way, but without further information one can't be sure. It would really help matters if you could post the relevant parts of your

RE: Need help - Data Source problem

2004-03-03 Thread Mike Curwen
Supply more information. What does your server.xml and web.xml look like? (don't post the whole file, just relevant parts). Where is your driver jar located? (it should be common/lib) That class of error (class '' for URL 'null') is fairly common, and normally it's mis-configuration.

RE: Need help - Data Source problem

2004-03-03 Thread Mathew
Thak you for your response.. I appreciate your time .. This is my server.xml --- Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path=sunil docBase=sunil

RE: Need help - Data Source problem

2004-03-03 Thread Mathew
I am still trying to fix this problem. I looked at TOMCAT_HOME/commons/lib dircory and found out that I have commons-dbcp-1.1.jar instead of commons-dbcp.jar. Do Ihave to remane to commons-dbcp.jar. Same thing for commons-pool-1.1.jar too. I am using TOMCAT 5.0.19 and Apache 1.3.x. I

RE: Need help - Data Source problem

2004-03-03 Thread Mike Curwen
where is the oracle connection driver jar file ? It needs to be in common/lib as well -Original Message- From: Mathew [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 2:18 PM To: [EMAIL PROTECTED] Subject: RE: Need help - Data Source problem I am still trying

RE: Need help - Data Source problem

2004-03-03 Thread Mike Curwen
here. ;) -Original Message- From: Mathew [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 2:18 PM To: [EMAIL PROTECTED] Subject: RE: Need help - Data Source problem I am still trying to fix this problem. I looked at TOMCAT_HOME/commons/lib dircory and found out

RE: Need help - Data Source problem

2004-03-03 Thread Mathur, Arun
thoughts as to what else I can do to troubleshoot this problem further? I am running Tomcat-4.1.27. Thanks, Arun -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 3:31 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: Need help

RE: Need help - Data Source problem

2004-03-03 Thread Shapira, Yoav
Hi, same import statement, and it worked fine. Does anyone have any thoughts as to what else I can do to troubleshoot this problem further? I am running Tomcat-4.1.27. I have a thought: start your own thread for your question and don't hijack other peoples' ;) Yoav Shapira This e-mail,

RE: Need help - Data Source problem

2004-03-03 Thread Mathur, Arun
My apologies. I forgot to change the subject before posting. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 4:04 PM To: Tomcat Users List Subject: RE: Need help - Data Source problem Hi, same import statement, and it worked fine

RE: Need help - Data Source problem

2004-03-03 Thread Mathew
: RE: Need help - Data Source problem I am still trying to fix this problem. I looked at TOMCAT_HOME/commons/lib dircory and found out that I have commons-dbcp-1.1.jar instead of commons-dbcp.jar. Do Ihave to remane to commons-dbcp.jar. Same thing for commons-pool-1.1.jar too. I am using

Re: Need Help in Session Management !!!

2004-02-29 Thread shanmugampl
I think you can get the user name by getting the Principal object from request and then getting the name from it like String userName = request.getUserPrincipal().getName(); -Shanmugam- amit varshney wrote: I want to use tomcat user authentication in my application. for that i am using

RE: need help adding classpath to Tomcat 5.0.18 NT Service

2004-02-06 Thread Robert Ensinger
Hi folks. I'm still unsuccessful at adding an explicit classpath to Tomcat when running as a service via the -Djava.class.path= switch detailed below. Can someone confirm or deny that this is the proper way to add an explicit classpath to the service? If so, I'll log the bug. Thanks, -R

RE: need help adding classpath to Tomcat 5.0.18 NT Service

2004-02-06 Thread Bodycombe, Andrew
If you moved engine.jar from the shared/lib folder to the common/lib folder, would that remove the need to explicitly set the classpath? -Original Message- From: Robert Ensinger [mailto:[EMAIL PROTECTED] Sent: 06 February 2004 16:49 To: 'Tomcat Users List' Subject: RE: need help adding

RE: need help adding classpath to Tomcat 5.0.18 NT Service

2004-02-06 Thread Robert Ensinger
tomcat utility. -Original Message- From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 12:00 PM To: 'Tomcat Users List' Subject: RE: need help adding classpath to Tomcat 5.0.18 NT Service If you moved engine.jar from the shared/lib folder to the common/lib

RE: need help adding classpath to Tomcat 5.0.18 NT Service

2004-02-03 Thread Filip Hanik \(lists\)
why don't you just add the files to /common/endorsed/ that way they will get automatically added to the tomcat classpath without you setting any variables. also, setting up tomcat in a file system with spaces in the paths, can be a debug pain in the butt, I would try to avoid doing that Filip

Re: Need Help - Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2 + Windows 2000 Server ( No IIS)

2003-12-26 Thread Mark Eggers
Check http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb and see if that information helps. /mde/ just my two cents . . . . __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/

RE: Need help with Virtual Host Directive

2003-12-19 Thread Shapira, Yoav
Howdy, So you want to disallow access based on local, rather than remote (the request's), IP address? Remote address filtering is easy: see the Valve How-To page section on RemoteAddressValve. Local address filtering is also not very difficult, but requires you to write some code. Namely,

RE: Need help with Virtual Host Directive

2003-12-19 Thread Wehner, Terry
: Friday, December 19, 2003 2:38 PM To: Tomcat Users List Subject: RE: Need help with Virtual Host Directive Howdy, So you want to disallow access based on local, rather than remote (the request's), IP address? Remote address filtering is easy: see the Valve How-To page section

RE: Need help with Virtual Host Directive

2003-12-19 Thread Shapira, Yoav
accessible. Yoav Shapira Terry -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 2:38 PM To: Tomcat Users List Subject: RE: Need help with Virtual Host Directive Howdy, So you want to disallow access based on local, rather than remote

RE: Need help with Virtual Host Directive

2003-12-19 Thread Wehner, Terry
Thanks, In the interim I got it to work :-) -Terry -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 3:04 PM To: Tomcat Users List Subject: RE: Need help with Virtual Host Directive Howdy, Your alternative suggestion sounds

RE: Need help to study thread dump

2003-12-15 Thread Shapira, Yoav
Howdy, It's a classic thread safety issue. Dump your homebrew connection pooling implementation in favor of a 3rd party one like DBCP that is better tested against these race conditions. Yoav Shapira Millennium ChemInformatics -Original Message- From: Vikas [mailto:[EMAIL PROTECTED]

RE: Need help with connectors

2003-12-12 Thread Yansheng Lin
I am assuming you downloaded apache, tomcat, and mod_jk_2.X.X.dll Try: 1) rename mod_jk_2.X.X.dll to mod_jk2.dll, and place it under $APACHE_HOME/modules/ 2) In apache httpd.conf # Using mod_jk2.dll to redirect dynamic calls to Tomcat

RE: Need help with connectors

2003-12-12 Thread Asif Chowdhary
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler / -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 5:33 PM To: 'Tomcat Users List' Subject: RE: Need help with connectors I am assuming you downloaded apache

RE: Need help with connectors

2003-12-12 Thread Yansheng Lin
PM To: Tomcat Users List Subject: RE: Need help with connectors This should solve your problem httpd.conf: just one single row like this: LoadModule jk2_module modules/mod_jk2-2.0.43.dll Then I added a worker2.properties in Apache/conf/ like this: [logger] level=DEBUG file=c:/programme/apache

RE: Need help with connectors

2003-12-12 Thread Asif Chowdhary
YES the default port is 8009. It should be 8009 in server.xml file as well -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 6:02 PM To: 'Tomcat Users List' Subject: RE: Need help with connectors Just one quick question(I am just playing

Re: Need Help getting SSL to work with HttpsURLConnections

2003-12-04 Thread Mike Kellstrand
never get a reply about it in the mail-group. cranky this morning, Mike - Original Message - From: Mike Kellstrand [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 4:40 PM Subject: Re: Need Help getting SSL to work with HttpsURLConnections I

Re: Need Help getting SSL to work with HttpsURLConnections

2003-12-04 Thread John Kammer
-group. cranky this morning, Mike - Original Message - From: Mike Kellstrand [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 4:40 PM Subject: Re: Need Help getting SSL to work with HttpsURLConnections I just came across a similar

Re: Need Help getting SSL to work with HttpsURLConnections

2003-12-03 Thread John Kammer
An update and a correction... I was able to get the HttpsURLConnection to work by replacing: import javax.net.ssl.*; with: import com.sun.net.ssl.*; Contrary to what I had said below there is an java.lang.ClassCastException being thrown when making the call :

Re: Need Help getting SSL to work with HttpsURLConnections

2003-12-03 Thread Mike Kellstrand
= (HttpsURLConnection) url.openConnection(); Anybody know what is going on? Thanks, Mike - Original Message - From: John Kammer [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 4:02 PM Subject: Re: Need Help getting SSL to work with HttpsURLConnections

RE: Need Help getting SSL to work with HttpsURLConnections

2003-12-03 Thread Trenton D. Adams
I don't think this subject is really on topic for the tomcat list... import javax.net.ssl.*; import java.net.*; public class HTTPTest { public static void main (String args[]) { try { URLConnection myConnection = (new

Re: need help

2003-11-03 Thread Kwok Peng Tuck
Make sure you have a JDK in your machine and that JAVA_HOME env variable points to it. Then click on the startup script to run tomcat. Should be able to run. S.Gokul wrote: Hi, I have installed tomcat 5 in my machine running windows 98. Is it compatible with 98 or do I have to do anything else

Re: need help

2003-11-03 Thread S.Gokul
- Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 03, 2003 1:46 PM Subject: Re: need help Make sure you have a JDK in your machine and that JAVA_HOME env variable points to it. Then click on the startup script

Re: need help

2003-11-03 Thread Kwok Peng Tuck
:46 PM Subject: Re: need help Make sure you have a JDK in your machine and that JAVA_HOME env variable points to it. Then click on the startup script to run tomcat. Should be able to run. S.Gokul wrote: Hi, I have installed tomcat 5 in my machine running windows 98. Is it compatible

Re: need help

2003-11-03 Thread Basavaraju P. Banakar
Subject: Re: need help Hello Gokul, It's helpful if we can see the exception, so you might want to run the script file catalina.bat located in the bin directory. Run it with:catalina run This makes tomcat run in the current window and you will be able to see the exceptions. I'm

Re: need help

2003-11-03 Thread Kwok Peng Tuck
] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 03, 2003 2:20 PM Subject: Re: need help Hello Gokul, It's helpful if we can see the exception, so you might want to run the script file catalina.bat located in the bin directory. Run it with:catalina run This makes tomcat

Re: need help

2003-11-03 Thread Peter Harrison
On Mon, 03 Nov 2003 21:42, S.Gokul wrote: Hi, I do have jdk1.3 installed and I have made the changes in the startup.bat file in the tomcat bin folder. But still I am not able to run it. It starts up and then after a few seconds it closes the tomcat window. I think its throwing some java

Re: need help

2003-11-03 Thread Jean-Francois Arcand
requires JDK 1.4 I remember reading that java.nio packages are used from JDK1.4 - Basu.. - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 03, 2003 2:20 PM Subject: Re: need help Hello Gokul, It's

Re: need help in apache tomcat 4.0

2003-08-29 Thread John Turner
This describes exactly where you should put files: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html And you also might find the ClassLoader HOWTO helpful: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html John sheba Tasaduque wrote: hi

Re: Need Help

2003-08-14 Thread John Turner
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html http://jakarta.apache.org/tomcat/faq/ http://jakarta.apache.org/tomcat/faq/misc.html#invoker John Yogesh wrote: Hello, I was using Tomcat 3.1 on old server and we have shifted to new server now. we were using URL

Re: Need help : how to shutdown restart Tomcat, how to reload servlet

2003-08-14 Thread Aurele Venet
Hello Vincent, fro problem 1: you are using the correct procedure, but it looks like your server was never started in the first place. The connection refused is due to the fact that it tries to connect to a port (for shutdown procedure) which is not open. Alternatively, tomcat can some time

Re: Need Help For Iplanet Tomcat Configuration

2003-07-25 Thread Eric J. Pinnell
Hi, I'm not sure if cross posting like that was such a good idea... But since I just had to figure this out last week I will share what I learned. I had to play with this a bit befor I was able to get it to work. I was using Solaris so I can't help you with the correct version of the redirector

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-13 Thread Tom Parker
On Sat, 2003-07-12 at 08:08, [EMAIL PROTECTED] wrote: We are currently starting up with -Xmx256M. Java is currently using about 327MB and has been that way for hours. I haven't really seen any fluxuations at all, which leans me away from the garbage collection issue. Constant memory usage

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-12 Thread Eric J. Pinnell
ditto. There is no sure fire way from the system aspect (CPU, run queue, etc) that will tell you what's going on. You need to peek inside the VM and see what it's doing. -e On Fri, 11 Jul 2003, John Turner wrote: Like I said, I'm no guru. Sounds like you need to bust out a profiler. John

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread Matt Swensson
Are these results occurring when tested on a local area network as well? I have had an issue like that, but it turned out to be a networking issue..not tomcat. --- [EMAIL PROTECTED] wrote: With Tomcat 4.1.x We've recently run into an issue where some of our pages either a) take a really

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread tomcat-question
Yes, these occur internally and externally. There does not appear to be any network traffic that is causing this (according to the network people...). We're also seeing this on two different environments on two distinct networks. After some more digging, there is just NOTHING happening on the

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread John Turner
In a situation like that, the two things I check first are: 1) DNS lookup failing, especially a reverse lookup..do you have Tomcat trying to look up a hostname for access logging, perhaps? 2) database connection timing out Also, I would look at garbage collection, but I doubt that's it. John

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread Simon Pabst
Could be a Memory Leak/Garbage Collection issue (we had a similar problem with a memory intensive app), maybe your heap is too small and java is running many Full GC's. Start java with -verbose:gc and look in tomcat/logs/catalina.out for Garbage Collections. (set Environment Variables JAVA_OPTS

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread tomcat-question
I don't believe that the host lookup or db connection is the issue. The page we are serving up is the login page. I will create a test hello world jsp to see if the problem still occurs with that page. -- Dave In a situation like that, the two things I check first are: 1) DNS lookup

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread tomcat-question
We are currently starting up with -Xmx256M. Java is currently using about 327MB and has been that way for hours. I haven't really seen any fluxuations at all, which leans me away from the garbage collection issue. I created a hello.jsp, which is completely separate from our application. Same

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread tomcat-question
Another followup. If we try to access the root context of the server, which is not available, the same thing happens. I get back a 500 error immediately, but then the page doesn't finish loading (i.e. get all the response back from the server) for another 20 seconds or so. This seems like a

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread John Turner
I'm certainly no guru, but if you are setting a max of 256 and then your app is soaking up 327 with no load whatsoever, I'd say you have a problem. Have you tried a max of 512? John On Fri, 11 Jul 2003 20:08:10 +, [EMAIL PROTECTED] wrote: We are currently starting up with -Xmx256M. Java

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread tomcat-question
I definitely don't know enough about how the memory settings in java to be of much use on this part. I do not know if we've tried 512. We probably should. As for the 327, is that actually unreasonable? The mx setting specfies the maximum heap size. Can the thread stack (specified using

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread John Turner
I have no idea, but based on past experience, if you are using more RAM than you've allocated, then you have a swap situation. If the max setting wasn't an actual max, and you could blow past it whenever you needed it, why on earth would you need it in the first place? John On Fri, 11 Jul

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread tomcat-question
But again, the mx is only setting the heap size, not the whole JVM. The thread stack is controlled with an entirely different parameter for example. I found this with a quick search: The -Xmx setting controls the maximum size of the Java heap. However, the Java heap represents only part of

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread Simon Pabst
If your application is running on same Tomcat/JVM then blocking GC calls could still lead to that effect for hello.jsp too. Are you using Apache/mod_jk/Tomcat or Tomcat standalone? HTTPS Connections? Does the Problem occur only with IE or with other Browsers (Mozilla) too? I read once something

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread John Turner
Like I said, I'm no guru. Sounds like you need to bust out a profiler. John On Fri, 11 Jul 2003 20:34:40 +, [EMAIL PROTECTED] wrote: But again, the mx is only setting the heap size, not the whole JVM. The thread stack is controlled with an entirely different parameter for example. I

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread tomcat-question
Yes, still running on the same tomcat, which is standalone BTW. The problem occurs with both IE and mozilla, but a little differently. Mozilla tends to render the results immediately, then sit there for 20 seconds. IE will wait a bit, render the results, then sit there. I'm assuming the

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread Simon Pabst
Tomcat 4.1 processes need some extra memory besides the heap i believe, so the total process memory will always be bigger than the maximum specified heap (unless this isn't a bug or a misunderstanding of me of course :-) Our Tomcat 4.1.24 on Redhat Linux with 1GB heapsize consumes about 1,25GB

RE: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread Lars Hellgren
of magnitude. I suspect that there is an issue with the way Jasper created servlets use the out.write()/out.print() methods. Lars -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 1:38 PM To: Tomcat Users List Subject: Re: Need help with performance

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread Simon Pabst
-verbose:gc may affect performance a bit (cpu/disk), but since your system doesn't run so well anyway, oh well :-) Using a higher acceptCount doesn't hurt much (needs maybe 1k memory for each queue place i think) On earlier Java Versions there is a switch to turn on incremental Garbage

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread Marc Palmer
On Fri, 11 Jul 2003 19:22:41 +, [EMAIL PROTECTED] wrote: When I submit my request to get the login page (not to process the login, just to serve the login page), I couple of the java threads will spin up and take maybe 3% of the cpu, but it still takes over 30 seconds to get the page.

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-11 Thread Bill Barker
I'm surprised that nobody else has asked this (since it would be one of the first things that I would try if this was happening to me): What is the response from just using telnet? [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] With Tomcat 4.1.x We've recently run into an issue

RE: Need help on deploying application

2003-06-23 Thread Shapira, Yoav
Howdy, Look at the tomcat logs: what errors are in there? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 11:20 AM To: [EMAIL PROTECTED] Subject: Need help on deploying application I have

RE: Need help on deploying application

2003-06-23 Thread Roberts, Eric
Sounds like the JDK 1.4.1 not liking spaces in the directory paths. Try putting tomcat in D:\Tomcat4.1 HTH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 23 June 2003 17:20 To: [EMAIL PROTECTED] Subject: Need help on deploying application I have installed

RE: RE: Need help on deploying application

2003-06-23 Thread cknell
] - email -Original Message- From: Shapira, Yoav [EMAIL PROTECTED] Sent: Mon, 23 Jun 2003 11:22:07 -0400 To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Need help on deploying application Howdy, Look at the tomcat logs: what errors are in there? Yoav Shapira

  1   2   3   4   >