Re: Two Tomcat installations on one server in Windows 2K3

2004-12-13 Thread Tino Schöllhorn
Hi, as far as I know you can't run the installer twice. To run several identical instances of tomcat you can use the information of the follwoing url: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt It helped me a lot. Tino footh wrote: I have a server with several IP addresses and

Re: access log question

2004-12-13 Thread Trond G. Ziarkowski
Running linux? webalizer $CATALINA_HOME/logs/acces_log.`date +%F`.txt should do the trick Trond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Do not allow browsing the root directory to tomcat

2004-12-13 Thread inr
Hi, You can set the Directory listing to false in Web.xml file in order to avoid displaying Directory contents. Use the Param-name element to servlet servlet-namedefault/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class init-param

Please help me

2004-12-13 Thread Rajesh
Hai all, i have a doubt please help me. in my tomcat server, am developing a online shopping site. the site is live, i periodically upload updated pages, when uploading i donot want to down the server, i use a way that creating 2 webapps, one will run, i upload the updated pages to webapp 2

RE: access log question

2004-12-13 Thread Guy Katz
hi; so combined is just more information? so i guess webalizer knows how to deal with that format also right? also, can you please ellaborate on 'Use the copy or move command to a name webalizer likes.' what i currently have is seperate accesslog files created by tomcat each day. i want webalizer

Re: Please help me

2004-12-13 Thread VTR Ravi Kumar
I dont think u would have to shut down the server to upload files. The context must be reloadable ie., set the reloadable = true in the context using the admin page VTR BHEL haridwar - Original Message - From: Rajesh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 13,

Re: Please help me

2004-12-13 Thread Rajesh
i tryed but sometimes it gives error when i restart(restarting webapp) it works good or is it possible to display a page for any request to the server or a perticular webapp that site is under maintanance please visit in few minutes is it possible? Rajesh VTR Ravi Kumar wrote: I dont think u

Re: StandardWrapperValve[jsp]: Servlet.service()

2004-12-13 Thread Tim Funk
Look at MyLogin.jsp since its throwing the exception. - Root Cause - javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536) at org.apache.jsp.MyLogin_jsp._jspService(MyLogin_jsp.java:141) -Tim [EMAIL

TC4.1.30: AccessLogValve

2004-12-13 Thread Lemke, Michael IZ/HZA-IOR
Hi, I've got TC 4.1.30 running. How can make the AccessLogValve report the bytes *received* for PUT/POST requests? Or is there another way to log it? Thanks, Michael

Re: TC4.1.30: AccessLogValve

2004-12-13 Thread Tim Funk
%{Content-Length}i -Tim Lemke, Michael IZ/HZA-IOR wrote: Hi, I've got TC 4.1.30 running. How can make the AccessLogValve report the bytes *received* for PUT/POST requests? Or is there another way to log it? Thanks, Michael

problem starting tomcat 5.5 /jdk1.3.1_11

2004-12-13 Thread birendar . waldiya
I just installed tomcat5.5 i am getting following error, Im using jdk1.3.1_11 can any body help me thanks rgds Exception in thread main java.lang.UnsupportedClassVersionError: org/apache/catalina/startup/Bootstrap (Unsupport ed major.minor version 48.0) at

New Babie query - pls pls help me

2004-12-13 Thread Manisha Sathe
Hi, I am totally totally new to Servlet/Tomcat. I wrote a very simple HelloWorld servlet. I could compile it and could create the HelloWorld.class file. But how to test it thr Tomat web server ? I put the class inside servlet example dir

RE: problem starting tomcat 5.5 /jdk1.3.1_11

2004-12-13 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] I just installed tomcat5.5 i am getting following error, [...] Im using jdk1.3.1_11 Tomcat 5.5 requires *at least* JDK1.4.2, and even that needs some extra configuration to make it work. Upgrade your JDK or use an older version of Tomcat,

Re: New Babie query - pls pls help me

2004-12-13 Thread Antony Paul
You need to create a mapping in web.xml to invoke the servlet. Look at the elements servlet and servlet-mapping elements in the example/WEB-INF/web.xml. Create a similar one and restart Tomcat. rgds Antony Paul On Mon, 13 Dec 2004 21:09:07 +0800, Manisha Sathe [EMAIL PROTECTED] wrote: Hi,

Re: New Babie query - pls pls help me

2004-12-13 Thread Ben Souther
Welcome aboard. The first thing you should do is find yourself a good book or tutorial. There is a good one here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html If you just want a simple servlet example that you can drop into a running instance of Tomcat and run you can find

Re: Tomcat as standalone

2004-12-13 Thread Jon Doe
Putting Apache on an Internet-visible network, and having this route its traffic to Tomcat on a local network on your website (eg a 10, 172 or 192.168 address) can improve your security no end. There is no direct way to your Tomcat server. As long as you have tightend your code for SQL and HTML

RE: error-page not working properly

2004-12-13 Thread Shapira, Yoav
Hi, It works fine for me. You might be having other errors which are clouding this problem. By the way, error pages like this are part of the Spec, and as such covered both by our internal tests and the Servlet/JSP TCKs which are run independently on every Tomcat release. Yoav Shapira

Re: Tomcat as standalone

2004-12-13 Thread Ben Souther
When done right, true. Apache has a long, proven track record when it comes to safety. But also remember, if you have two servers running, you have to servers to secure and monitor. You'll have to keep on top of any new exploits for Tomcat AND Apache. On Mon, 2004-12-13 at 08:38, Jon Doe

RE: JNDI object not shared among TC instances

2004-12-13 Thread Shapira, Yoav
Hi, Tomcat's JNDI implementation does not support sharing for that matter even external connections. (This is in the FAQ by the way). If you want to share an object among multiple Tomcat instances via JNDI, you must use a JNDI provider that supports this. Yoav Shapira

RE: log4j and tomcat 5.5

2004-12-13 Thread Shapira, Yoav
Hi, -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Sunday, December 12, 2004 5:22 PM To: Tomcat Users List Subject: RE: log4j and tomcat 5.5 Hopefully I explained things better and piqued your curiosity about repostiory selectors in Log4j-1.3 :-) You certainly

RE: change conf directory

2004-12-13 Thread Shapira, Yoav
Hi, It's possible to specify whatever location you want for server.xml, via the -config command-line switch. The rest of the files are to be $CATALINA_HOME/conf. Depending on your usage of Tomcat, you might not need any of them, though. Yoav Shapira http://www.yoavshapira.com -Original

RE: TC4.1.30: AccessLogValve

2004-12-13 Thread Lemke, Michael IZ/HZA-IOR
Thanks, that'll probably do it. But how do I code it in the server.xml file? My first experiments aren't liked by tomcat: Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=AccessLog. suffix= rotatable=true

Re: TC4.1.30: AccessLogValve

2004-12-13 Thread Tim Funk
I would try single quotes: pattern='%h %l %u %t %r %s %b %{Referer}i %{User-Agent}i' -Tim Lemke, Michael IZ/HZA-IOR wrote: Thanks, that'll probably do it. But how do I code it in the server.xml file? My first experiments aren't liked by tomcat: Valve

RE: Query with 404 error processing -- Tomcat 5.0.19

2004-12-13 Thread Shapira, Yoav
Hi, Because this processing servlet of yours itself had an error. A JSP file by default is processed by Tomcat's JSP servlet, not your Router servlet. Accordingly, it's not subject to your custom error handling mechanism. A more standard way to do this is declare an error-page for 404's in

RE: problem starting tomcat 5.5 /jdk1.3.1_11

2004-12-13 Thread birendar . waldiya
Thanks peter ! Birendar Singh Waldiya Peter Crowther [EMAIL PROTECTED] 12/13/2004 06:33 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject RE: problem starting tomcat 5.5 /jdk1.3.1_11 From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Strange problem

2004-12-13 Thread Shapira, Yoav
Hi, I'm running Tomcat 5.0.30 on FC2 with SUN 1.4.1_02 Try JDK 1.4.2. 2. If I recall correctly, you'll need a copy of tools.jar in $CATALINA_HOME/common/lib No. Yoav Shapira http://www.yoavshapira.com This e-mail, including any attachments, is a confidential business communication,

RE: Tomcat 5.5.4 App Deploy Problem.

2004-12-13 Thread Shapira, Yoav
Hi, The process has changed: put ptcs.xml in $CATALINA_HOME/conf/Catalina/localhost, not in webapps. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Bob Carpenter [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 12:54 AM To: [EMAIL PROTECTED] Subject: Tomcat

Re: Books on Tomcat

2004-12-13 Thread Dwayne Ghant
Here's a pretty good link. http://www.javaworld.com/javaworld/jw-03-2003/jw-0328-servlet.html QM wrote: On Fri, Dec 10, 2004 at 08:50:00AM -0500, Shapira, Yoav wrote: : The danger with these books is that Tomcat's development : pace is faster than the book publishing pace, so any Tomcat-specific :

Re: TC4.1.30: AccessLogValve

2004-12-13 Thread Tim Funk
No can do with the existing logger. You can instead use a filter to place the value you desire into the ServletRequest. Then you can pull the value from the access log via %{foo}r (Or whatever you call the variable). -Tim Lemke, Michael IZ/HZA-IOR wrote: Perfect, that did the trick. Last

RE: TC4.1.30: AccessLogValve

2004-12-13 Thread Lemke, Michael IZ/HZA-IOR
Perfect, that did the trick. Last question. How does the conditional logging work? I tried it analogous to the Apache docs as %201{Content-Length}i but that didn't work. The comments in the source aren't to helpful. What I want is %{Content-Length}i if status code is 201 else %b Thanks,

RE: Problems whith admin application and users management

2004-12-13 Thread Shapira, Yoav
Hola, configuration in admin webapp: if I click on any element under Users definition in the tree on the left pane I got this error message: Error retrieving attribute users. [Exception shown at bottom] It works for me (with the default, out-of-the-box everything) on Tomcat 5.5.6-alpha. Try

RE: problem starting tomcat 5.5 /jdk1.3.1_11

2004-12-13 Thread birendar . waldiya
What else is need to configure tomcat5.5 where eill i get info about that ?? Birendar Singh Waldiya Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com [EMAIL PROTECTED] 12/13/2004 07:44 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To

RE: log4j and tomcat 5.5

2004-12-13 Thread Dale, Matt
Hi, Shameless plug accepted, is there somewhere I can download it or do I need to get it from CVS? Ta Matt -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 13 December 2004 14:02 To: Tomcat Users List Subject: RE: log4j and tomcat 5.5 Hi, -Original

RE: log4j and tomcat 5.5

2004-12-13 Thread Shapira, Yoav
Hi, Shameless plug accepted, is there somewhere I can download it or do I need to get it from CVS? The download page: http://logging.apache.org/site/binindex.html. Yoav Shapira http://www.yoavshapira.com This e-mail, including any attachments, is a confidential business communication, and

RE: log4j and tomcat 5.5

2004-12-13 Thread Dale, Matt
ignore that, found the binary download. Ta Matt -Original Message- From: Dale, Matt Sent: 13 December 2004 14:37 To: Tomcat Users List Subject: RE: log4j and tomcat 5.5 Hi, Shameless plug accepted, is there somewhere I can download it or do I need to get it from CVS? Ta Matt

Re: Problems whith admin application and users management

2004-12-13 Thread fzlists
Hey thanks Hassan! I was lurking, but this thread caught my eye because I recently upgraded Tomcat and for the first time decided to use the admin app, and I had this very problem. Your solution solved it because I did basically the same thing, I started with minimal.xml and put in just what

RE: 5.0 vs 5.5

2004-12-13 Thread Dale, Matt
Might as well go to 5.5.4 as it is stable and the way forwards. Management of the 2 is very similar. Ta Matt -Original Message- From: Dola Woolfe [mailto:[EMAIL PROTECTED] Sent: 13 December 2004 15:20 To: Tom Cat Subject: 5.0 vs 5.5 So I decided to upgrade my Tomcat (and go with the

Re: 5.0 vs 5.5

2004-12-13 Thread Ben Souther
Should I go with 5.0 or 5.5? I'd go with 5.5. Are there many differences in management? Logging has changed, the manager app is no longer shipped as part of the core install. On Mon, 2004-12-13 at 10:19, Dola Woolfe wrote: So I decided to upgrade my Tomcat (and go with the standalone).

war not deploying

2004-12-13 Thread Cumbers
Hey guys I am trying to use ant with cactus to deploy my app to Tomcat and then test. I can run the ant tasks on the examples, i tested the servlet example that comes with the cactus download and it creates its own Tomcat instance, puts the cactified war file under the webapps dir and, most

RE: 5.0 vs 5.5

2004-12-13 Thread Shapira, Yoav
Hi, Are there many differences in management? Logging has changed, the manager app is no longer shipped as part of the core install. Manager IS still shipped, admin isn't. Yoav Shapira http://www.yoavshapira.com This e-mail, including any attachments, is a confidential business

What is Broken-out tags?

2004-12-13 Thread Zerol Tib
Howdy, As the JSP spec 2.4 says, following tags are Broken-out tags, Woud someone tell me what does Broken-out mean? env-entry, ejb-ref, ejb-local-ref, resource-ref, resource-env-ref, jsp-config, and their children - To

RE: 5.0 vs 5.5

2004-12-13 Thread birendar . waldiya
Can anyone tell me how can i install tomcat 5.5 with admin i have downloaded both the sources but don't know how to integrate the code what i did was looked upon the tomcat 4.2.30 and copied the folder in same structure can anyone guide me to reference document for the same .. thanks

RE: war not deploying

2004-12-13 Thread Phillip Qin
Have you created /tmp/cactus/tomcat5x/webapps/? -Original Message- From: Cumbers [mailto:[EMAIL PROTECTED] Sent: December 13, 2004 10:38 AM To: Tomcat Users List Subject: war not deploying Hey guys I am trying to use ant with cactus to deploy my app to Tomcat and then test. I can run

What does this mean? (Tomcat manager)

2004-12-13 Thread Hollerman Geralyn M
In using the Tomcat manager app with 5.0.16, we got some odd results when our backend database started acting funny and then crashed; I'm just curious as to whether the results we saw on the Tomcat manager indicate that there's something I should be looking at. Specifically, what I saw was that

RE: Tomcat Administration Application

2004-12-13 Thread Montz, James C. (James Tower)
Bare with me, I usually work with Tomcat 4.5 on Linux. My first stab at Tomcat 5.5 is on Windows. Anyway, was looking at the files for the tar.gz release of the admin tools. Verify that you do indeed have a conf\Catalina\localhost\admin.xml (double check file permissions as well) This is what

Does TC 5.5 have some type of farm deployer?

2004-12-13 Thread Norris Shelton
I ran across this document, but have not been able to find out any additional information. http://tomcat.objektpark.org/pdf/Proposal-HostConfig-Deployer.pdf = Norris Shelton Software Engineer Sun Certified Java 1.1 Programmer Appriss, Inc. ICQ# 26487421 AIM NorrisEShelton YIM norrisshelton

RE: Tomcat JK2 Connector/IIS Slowdown

2004-12-13 Thread Robert Walther
OK, I did not try the test under ssl. I'll let you know what happens. Thanks, Rob -Original Message- From: Peter Lauri [mailto:[EMAIL PROTECTED] Sent: Sunday, December 12, 2004 10:29 PM To: 'Tomcat Users List' Subject: SV: Tomcat JK2 Connector/IIS Slowdown Try some buffertstream. On

Re: Problems whith admin application and users management

2004-12-13 Thread fmancini
Thank you so much. Your're right! Perhaps the minimal configuration was too much minimal... Thanks to anyone who has looked for this problem too. Enjoy your life, --- Hassan Schroeder [EMAIL PROTECTED] wrote: Shapira, Yoav wrote: I'm using the minimal server config xml file and sha for

RE: Does TC 5.5 have some type of farm deployer?

2004-12-13 Thread Shapira, Yoav
Hi, This proposal is from Peter Rossbach, who's since become a Tomcat committer. I don't think the proposal was ever formally raised and discussed: this is the first time I've seen it. So it's certainly not been implemented, and highly unlikely to be in a Tomcat release any time soon, but if

Manually Populate Request Object Name/Value Parameters?

2004-12-13 Thread Joe Reger, Jr.
The scenario is a timed-out login session: The user writes a wonderful something in a web page form. They finally submit it but I have to redirect to the login page to collect credentials because the session has timed out. Question: Is there any way to restore that original request (with the

RE: error-page not working properly

2004-12-13 Thread Mike Curwen
As written by you, it's true. for HTTP error codes, you need error-code, not exception-type error-page error-code404/error-code location/error/404.jsp/location /error-page That's a snip from our (working) web.xml in TC5.0.29 -Original

RE: war not deploying

2004-12-13 Thread Phillip Qin
Your context.xml is fine. Check your cactus. -Original Message- From: Cumbers [mailto:[EMAIL PROTECTED] Sent: December 13, 2004 11:10 AM To: Tomcat Users List Subject: Re: war not deploying Here is the error message: INFO: Processing Context configuration file URL

Re: New Babie query - pls pls help me

2004-12-13 Thread Jon Wingfield
Argh. Triple hijack! This thread started as JSP expressions are displayed as string, became Do not allow browsing the root directory to tomcat, then problem starting tomcat 5.5/jdk1.3.1_11 and now New Babie query - pls pls help me. For the sake of the archives and those of us using

Re: Does TC 5.5 have some type of farm deployer?

2004-12-13 Thread Remy Maucherat
On Mon, 13 Dec 2004 11:09:43 -0500, Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, This proposal is from Peter Rossbach, who's since become a Tomcat committer. I don't think the proposal was ever formally raised and discussed: this is the first time I've seen it. So it's certainly not been

Re: war not deploying

2004-12-13 Thread Cumbers
Ok found the problem. With my application deployment I have under the jsp dir a META-INF dir that contains a context.xml file. This contains a resource link for my JNDI database connection pool. This describes the context as /rms-dev this should be /rms-dev-cactified Removing this file allows

RE: Struts application

2004-12-13 Thread Shapira, Yoav
Hi, succesfully served. Something important: I used J2SE 5.0, since it's a REQUISITE for running v5.5 (and I haven't been able to find the famous RUNNING.txt file - or any other document, for what it matters - where those details for using v5.5 along with Java v1.4 are professedly explained).

Re: Two Tomcat installations on one server in Windows 2K3

2004-12-13 Thread footh
Thanks, I already read that but didn't quite understand how I could use that information for my setup. First off, I want to run Tomcat as a service and that seems to talk about running multiple instances with the startup script. Second, item number 4 more or less says for multiple instances you

webapp's log4j config acting wonky

2004-12-13 Thread Mike Curwen
Hi all, I've been using log4j for some time and like it quite a bit. My configs are probably naieve, but they work for me. But now, another developer has pointed something out to me, and yup.. something's busted. I'm posting this to tomcat-user because I'm thinking it might be a TC/mywebapp

RE: What does this mean? (Tomcat manager)

2004-12-13 Thread Shapira, Yoav
Hi, The display of those values has no significance to Tomcat itself, so it's fine. It has meaning to the server administrators who might see these values as an indication something else is wrong, and check their logs, e.g. the database log ;) Yoav Shapira http://www.yoavshapira.com

Re: war not deploying

2004-12-13 Thread Cumbers
Hey Yeah that gets created, and in there is the war file. I am unsure how much info to give out, as this could be a cactus problem, I am still hacking at it and trawling google searches! Cheers Rich Phillip Qin wrote: Have you created /tmp/cactus/tomcat5x/webapps/? -Original Message-

Tomcat 5.5.4 Ant Task

2004-12-13 Thread Gregg
I recently migrated from Tomcat 5.0.x to 5.5.4. Everything seems to work great except the Ant Tasks. Deploy works just fine but when I do the undeploy task the folder that contains my webapp does not get removed. So when I go to deploy again, it says it can't because the context already

OutOfMemory Errors

2004-12-13 Thread Asim Alp
I'm trying to solve an OOME on our Tomcat. We profiled our application using JProfiler and there are no memory leakages on our end. Currently, I'm focusing on some system resource problems such as file descriptors. Would this be a valid problem on Windows Server 2003? And if so, how can I

RE: OutOfMemory Errors

2004-12-13 Thread Peter Crowther
From: Asim Alp [mailto:[EMAIL PROTECTED] I'm trying to solve an OOME on our Tomcat. Tomcat version? JVM version and settings? Application characteristics? Other libraries in use (eg JDBC)? We profiled our application using JProfiler and there are no memory leakages on our end. Currently,

JK 1.2.7 Problem?

2004-12-13 Thread Allistair Crossley
Hi, I'm afraid I cannot tell you too much about this. I have no idea why or how I am generating these errors. I'm just stepping around my test web site and and every now and again this error is dumped into stdout. I think it may be the JK 1.2.7 beta 2. It's running as an IIS 5 ISAPI filter to

ssi including cgi with query args is broken

2004-12-13 Thread Brian Hill
Using an SSI directive to include a cgi script works under Apache but fails under Tomcat because the query arguments are not being handled the same way. Under Tomcat 5.5.4, the query args are being searched for as if they were part of the filename. [I made a previous post on this subject but was

Re: JK 1.2.7 Problem?

2004-12-13 Thread Mladen Turk
Allistair Crossley wrote: Hi, I'm afraid I cannot tell you too much about this. I have no idea why or how I am generating these errors. I'm just stepping around my test web site and and every now and again this error is dumped into stdout. I think it may be the JK 1.2.7 beta 2. It's running as

RE: OutOfMemory Errors

2004-12-13 Thread Dale, Matt
Perhaps you just arent allocating enough memory for your application and there is no leak. As always i recommend getting a hold of jvmstat from sun and it'll give you some visual clues as to what is going on. -Original Message- From: Asim Alp [mailto:[EMAIL PROTECTED] Sent: 13 December

A Resource ObjectFactory as LifecycleListener ?

2004-12-13 Thread Seth Ladd
Hello, I've setup a ObjectFactory for Tomcat's JNDI and Resource system. I'd like that that ObjectFactory to respond to the Tomcat Server shutting down. It appears that a new ObjectFactory is created for every request for the Object, so ObjectFactory itself is not a singleton. That's OK for

Re: Please help me

2004-12-13 Thread Hari Mailvaganam
You can load balance between the two instances. cheers, Hari Mailvaganam On Mon, 13 Dec 2004 16:29:16 +0530, Rajesh [EMAIL PROTECTED] wrote: i tryed but sometimes it gives error when i restart(restarting webapp) it works good or is it possible to display a page for any request to the

RE: A Resource ObjectFactory as LifecycleListener ?

2004-12-13 Thread Shapira, Yoav
Hi, Why go through all this? The point of the JNDI Resources part of the Servlet Specification is to allow portable interaction with external resources. Your approach loses all the portability (it's Tomcat-specific) without gaining much of anything. You could do the same stuff in your webapp,

RE: Tomcat Administration Application

2004-12-13 Thread Kelly, Steve
James, Thanks for that. That's done the trick. Dunno why there was not a valid admin.xml file as there is on the Windows install. However, I still have a problem. I'd expect to see a tree a bit like this when I get into the admin application: Tomcat Server Service (Catalina) Host

Re: Tomcat 5.5.4 Ant Task

2004-12-13 Thread Remy Maucherat
On Mon, 13 Dec 2004 11:34:08 -0600, Gregg [EMAIL PROTECTED] wrote: I recently migrated from Tomcat 5.0.x to 5.5.4. Everything seems to work great except the Ant Tasks. Deploy works just fine but when I do the undeploy task the folder that contains my webapp does not get removed. So when I

Re: A Resource ObjectFactory as LifecycleListener ?

2004-12-13 Thread Seth Ladd
Shapira, Yoav wrote: Hi, Why go through all this? The point of the JNDI Resources part of the Servlet Specification is to allow portable interaction with external resources. Your approach loses all the portability (it's Tomcat-specific) without gaining much of anything. You could do the same

RE: JK 1.2.7 Problem?

2004-12-13 Thread Allistair Crossley
Will do. I am off now so it will be tomorrow before I can post anything. Cheers, Allistair, -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 13 December 2004 18:02 To: Tomcat Users List Subject: Re: JK 1.2.7 Problem? Allistair Crossley wrote: Hi, I'm

RE: A Resource ObjectFactory as LifecycleListener ?

2004-12-13 Thread Shapira, Yoav
Hi, So while we could put all the classes into common/lib and use a singleton pattern, I wouldn't have a way to cleanly shut down the service on app server shutdown (I could be wrong here). You could use a JVM shutdown hook. At least that's portable and not Tomcat-specific. Another

Re: A Resource ObjectFactory as LifecycleListener ?

2004-12-13 Thread Seth Ladd
Shapira, Yoav wrote: Hi, So while we could put all the classes into common/lib and use a singleton pattern, I wouldn't have a way to cleanly shut down the service on app server shutdown (I could be wrong here). You could use a JVM shutdown hook. At least that's portable and not Tomcat-specific.

RE: OutOfMemory Errors

2004-12-13 Thread George Sexton
You probably have a resource leak in your application. You might want to run FindBugs on it: http://findbugs.sourceforge.net/ George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Asim Alp [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: webapp's log4j config acting wonky

2004-12-13 Thread Jacob Kjome
Quoting Mike Curwen [EMAIL PROTECTED]: Hi all, I've been using log4j for some time and like it quite a bit. My configs are probably naieve, but they work for me. But now, another developer has pointed something out to me, and yup.. something's busted. I'm posting this to tomcat-user

maxActive in server.xml's ResourceParams

2004-12-13 Thread Stephen Charles Huey
In Tomcat 4's server.xml, one of the ResourceParams elements is maxActive (set to 20 by default). I'm wondering if there's any reason why I wouldn't set this very high if I have a virtually unlimited number of users for our Oracle database...I'm not sure how much this applies to us since I don't

Using mailing lists

2004-12-13 Thread Charlie Yates
I have tried to get an index of messages but have been unsuccessful. I used the mailng address of [EMAIL PROTECTED] to see if I could get anything but got zero results. How should I use the mailing list to get an index of messages. Thanks, Charlie

WAR files and Eclipse

2004-12-13 Thread Daniel Watrous
Hello All, I am new to WAR files and eclipse. Many searches on google bring me to the sysdeo tomcat plugin, which I have installed. I want to know if there is some standard way to generate a WAR file for deployment. I have found that I can export a JAR file and change its name, but in the

Tomcat 5.5.6 Admin Package

2004-12-13 Thread Charlie Yates
Hello, Is there any documentation available that describes how to install and configure the Admin webapp now that it needs to be downloaded separately from Tomcat? Thank you, Charlie Yates

RE: Using mailing lists

2004-12-13 Thread Mark Thomas
To get messages 123 through 145 (a maximum of 100 per request), mail: [EMAIL PROTECTED] To get an index with subject and author for messages 123-456 , mail: [EMAIL PROTECTED] They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all

Re: Tomcat 5.5.6 Admin Package

2004-12-13 Thread Hassan Schroeder
Charlie Yates wrote: Is there any documentation available that describes how to install and configure the Admin webapp ... put both tar files in the same directory; untar them. Done. :-) OK, you also need to add a user whose roles include 'admin' to $CATALINA_HOME/conf/tomcat-users.xml And if

Re: OutOfMemory Errors

2004-12-13 Thread Asim Alp
Thank you for the suggestion. Actually, we have upgraded from JDK 1.4.x to JDK 1.5.0 hoping to solve the problem, so I doubt that it is JDK related. On Mon, 13 Dec 2004 19:38:14 -0200, Ivan F. Martinez [EMAIL PROTECTED] wrote: On Mon, 13 Dec 2004 13:31:50 -0500 Asim Alp [EMAIL PROTECTED]

Re: OutOfMemory Errors

2004-12-13 Thread Ivan F. Martinez
On Mon, 13 Dec 2004 13:31:50 -0500 Asim Alp [EMAIL PROTECTED] wrote: AA Hello Peter, AA AA Sorry. My system config is: AA AA Windows Server 2003 AA Apache 2.0.49 (Win32) mod_ssl/2.0.51 OpenSSL/0.9.7d DAV/2 AA mod_jk/1.2.6 Tomcat 5.5.4 AA sun jdk 1.5.0-b64 Have you tried with JDK 1.4.x ? I

Re: WAR files and Eclipse

2004-12-13 Thread Rhino
It's actually very easy to do what you want to do. Assuming you have correctly installed and configured Sysdeo, you will need to tell Eclipse where the War file for your Tomcat project should be generated. This is done on a *project* basis, i.e. you have to repeat this step once for each Tomcat

Re: Tomcat Administration Application

2004-12-13 Thread Peter Johnson
I have 5.5.4 and the admin apps tree navigation appears unusable. Could it have something to do with the following DEBUG http-8080-Processor25 org.apache.struts.util.ModuleUtils - Get module name for path /setUpTree.do DEBUG http-8080-Processor25 org.apache.struts.util.ModuleUtils - Module

Re: Two Tomcat installations on one server in Windows 2K3

2004-12-13 Thread Wolfgang Hackl
footh wrote: [running more than one Tomcat on a single machine] First off, I want to run Tomcat as a service and that seems to talk about running multiple instances with the startup script. It is likely that you want to use one version of Tomcat to run your web sites. So, I assume you have

Tomcat Admin Tool Server::Service Drop Down not Populating (was RE: Tomcat Administration Application)

2004-12-13 Thread Montz, James C. (James Tower)
Unfortunately, my installation exhibits the same behavior. Typically, the Service (Catalina) menu option shows a drop down of configured Hosts, Valves, and Connectors. Clicking the Drop Down (Magnifying glass?) returns nothing under the branch. Going to the Actions Drop Down, and choosing

RE: WebDAV servlet bug for UTF-8 characters

2004-12-13 Thread Mark Thomas
Sorry for the delayed reply. You need to set URIEncoding=UTF-8 in the connector. Mark -Original Message- From: Garret Wilson [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 11:52 PM To: Tomcat Users List Subject: WebDAV servlet bug for UTF-8 characters I have a file

Re: Tomcat Administration Application

2004-12-13 Thread Peter Johnson
Ok so it looks like it has always been called test PJ Peter Johnson wrote: I have 5.5.4 and the admin apps tree navigation appears unusable. Could it have something to do with the following DEBUG http-8080-Processor25 org.apache.struts.util.ModuleUtils - Get module name for path /setUpTree.do

Re: Tomcat Administration Application

2004-12-13 Thread Peter Johnson
Ok so it looks like it has always been called test PJ Peter Johnson wrote: I have 5.5.4 and the admin apps tree navigation appears unusable. Could it have something to do with the following DEBUG http-8080-Processor25 org.apache.struts.util.ModuleUtils - Get module name for path /setUpTree.do

Re: JNDI object not shared among TC instances

2004-12-13 Thread John Smith
Hmm! I beg your pardon, but I will have to ask you a very basic question, indeed :-) Which FAQ do you mean? Tomcat's, JNDI's or Java's? I went off crazy looking for it and I couldn't find it. I thought I had exhausted all other ways to understand this problem . . . and thanks for sheding

Debugging missing web.xml on V5.5.4

2004-12-13 Thread alan . sinclair
Hi, I see there has been some traffic on this issue in the past but it has not helped me resolve my problem. I cannot automatically deploy a war file on Tomcat 5.5.4 I can successfully deploy the same war if I manually extract the war contents into the webapps directory. When the running

RE: Query with 404 error processing -- Tomcat 5.0.19

2004-12-13 Thread Jon Doe
Hi, Because this processing servlet of yours itself had an error. A JSP file by default is processed by Tomcat's JSP servlet, not your Router servlet. Accordingly, it's not subject to your custom error handling mechanism. A more standard way to do this is declare an error-page for 404's in your

Re: Tomcat 5.5.4 Ant Task

2004-12-13 Thread Siarhei Dudzin
Yes, antiJARLocking and antiResourceLocking are not enabled by default. Unfortunately, non of them (together and separately) did not help to solve my problems... I recently migrated from Tomcat 5.0.x to 5.5.4. Everything seems to work great except the Ant Tasks. Deploy works just fine but

Re: WAR files and Eclipse

2004-12-13 Thread Jonathan Wilson
I tried eclipse, but man was it hard to get configured properly. I wanted to use Eclipse/MyEclipse since I do Perl/C/C++ work as well and thought one tool that binds them all, yada yada yada. I then tried NetBeans and it worked for my environment 'out-of-the-box'. It took zero configuration

Re: JNDI object not shared among TC instances

2004-12-13 Thread John Smith
Thanks Joav and for the other people stumbling on the same rock and by the way why don't they use a search box at http://jakarta.apache.org/tomcat/faq/ ? I had to click in, search and and click out of it again for every faq topic!!!??? OK, I found the answer here:

Tomcat 5.5 / Admin How ?

2004-12-13 Thread birendar . waldiya
Can any one guide me or point me to the documents where i will get the steps to assimilate the admin with tomcat ?? Birendar Singh Waldiya DISCLAIMER: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are

  1   2   >