Deploying on a Remote Tomcat Servers

2008-01-10 Thread Richard G. Reyes
Hi Guys, May I ask how you guys deploy on a remote tomcat servers? Is there a way to automate deployment? Regards, Richard - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Deploying on a Remote Tomcat Servers

2008-01-10 Thread david delbecq
There are several way to automate it. One is to install on that remote tomcat, the tomcat manager webapp, which let you deploy war. There is also a ant task that can be used with it to submit the compiled war file to that manager. Another is to install lambdaprobe, which can also do

Tomcat/Mod_jk on Redhat

2008-01-10 Thread Jacob Rhoden
Hi Guys, We are trying to introduce Java technology in our workplace (all the staff have been recently re-trained in Java). As far as I can tell, our System Administrators are really only resourced to be able to install standard Redhat packages. I initially thought we could install a clean

Modify JDBC Realm

2008-01-10 Thread JasDA
Hi, I want to authenticate users in my web application using the JDBC realm. Unfortunately the user tables already exist and don't match the standard configuration for the realm. Loading the users works fine but I have an additional user-role-relation table. So I have to modify the following

Re: Deploying on a Remote Tomcat Servers

2008-01-10 Thread Jacob Rhoden
Richard G. Reyes wrote: May I ask how you guys deploy on a remote tomcat servers? Is there a way to automate deployment? The most common way is to use an ant build file. One task to build the war, and another task to deploy it. Its quite simple once you know how. I don't have time to write

Tomcat 5.5 and loading of native libraries

2008-01-10 Thread Filipe David Manana
Hi, I am using Tomcat 5.5.23 and I have a webapp which uses a library (more specifically, Oracle's JDBC) that loads a native library on my system ( libocijdbc10.so ). Whenever I redeploy my webapp into tomcat, I get the exception java.lang.UnsatisfiedLinkError, since the native library was

Problem with application installation in Tomcat 5.5.

2008-01-10 Thread rajendra_sakpal
Hi Folks, I am new to Tomcat WEB applications deployment/development. I have been facing some problems in getting the application up in Tomcat 5.5. I am using JDK 1.6.0_03. Somehow, the WEB interface for the application doesn't show up. NETSTAT -A does show that the server is

RE: Tomcat 5.5 and loading of native libraries

2008-01-10 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On To: Tomcat Users List Subject: Tomcat 5.5 and loading of native libraries Is there anyway to force tomcat to use the same class loader for all webapps Put the JDBC driver jar in common/lib, rather than in each webapp's WEB-INF/lib.

Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Thomas Chang
Hi all, I installed the Tomcat 5.5.17. After I set the java-agent in ther catalina.bat as follow: set JAVA_OPTS=%JAVA_OPTS% -javaagent:%CATALINA_BASE%\server\lib\spring-agent.jar After that I can't start the Tomcat anymore. Somebody knows why? Regards Thomas

Re: Tomcat 5.5 and loading of native libraries

2008-01-10 Thread Wesley Schwengle
On 10.01.08 13:22 Filipe David Manana wrote: I am using Tomcat 5.5.23 and I have a webapp which uses a library (more specifically, Oracle's JDBC) that loads a native library on my system ( libocijdbc10.so ). Is did you put the library files in your war file? I experienced similair problems

RE: Problem with application installation in Tomcat 5.5.

2008-01-10 Thread Caldarale, Charles R
From: rajendra_sakpal [mailto:[EMAIL PROTECTED] Subject: Problem with application installation in Tomcat 5.5. The appBase is outside of the default webapps directory. Not possible; appBase defines where the default webapps directory. Do you mean docBase? The application is bundled as a

RE: Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Caldarale, Charles R
From: Thomas Chang [mailto:[EMAIL PROTECTED] Subject: Problem by starting Tomcat after setting the spring-agent.jar After that I can't start the Tomcat anymore. Somebody knows why? Not without some real information, such as the contents of the various Tomcat logs. Watch out for spaces in

RE: Problem with application installation in Tomcat 5.5.

2008-01-10 Thread rajendra_sakpal
Hi Charles, Thanks for your reply. We have followed the same procedure to deploy the application in Tomcat 5.5 as we did in Tomcat 4.X. The application worked properly in Tomcat 4.X i.e. The application jar was in the classpath as set in the TOMCAT/bin/setclasspath.sh. Here's the entry in

RE: Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Caldarale, Charles R
From: Thomas Chang [mailto:[EMAIL PROTECTED] Subject: Re: Problem by starting Tomcat after setting the spring-agent.jar The problem is: As I double click the startup.bat, the cmd-console just come out very short a disappear. Stop trying to debug with a GUI. Start a command prompt, cd

Re: Problem with application installation in Tomcat 5.5.

2008-01-10 Thread Gregor Schneider
Seems as if you lack the basic knowledge of what a ServletContainer (aka Tomcat) is about. I got no idea why you want to deploy a jar-file within Tomcat - are you trying something like Webstart? What is you application, anyways.? Is it a Servlet / JSP? If so, then the your deployment was already

RE: Problem with application installation in Tomcat 5.5.

2008-01-10 Thread rajendra_sakpal
I suspect that there's a change in the way we should be deploying the application in Tomcat 5.5. What worked for Tomcat 4.X doesn't seem to work with Tomcat 5.5. Thanks regards, Rajendra -Original Message- From: rajendra_sakpal [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10,

Re: Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Thomas Chang
The problem is: As I double click the startup.bat, the cmd-console just come out very short a disappear. Even worse, there is nothing wrote into the log. I am quite stranged. :-( I copy the spring-agent.jar under the /server/lib. If I commend out the set JAVA_OPTS=..., Tomcat can be started.

RE: Problem with application installation in Tomcat 5.5.

2008-01-10 Thread Caldarale, Charles R
From: rajendra_sakpal [mailto:[EMAIL PROTECTED] Subject: RE: Problem with application installation in Tomcat 5.5. We have followed the same procedure to deploy the application in Tomcat 5.5 as we did in Tomcat 4.X. Configuration and deployment are somewhat different in 5.5; read the docs.

Re: Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Thomas Chang
I don't understand so much you wrote. I haven't deployed any war but just want to start the Tomcat. Where to find the /WEB-INF/applicationContext-jpa.xml? [EMAIL PROTECTED] schrieb: The load time weaver is a property of entityManagerFactory http://java.sys-con.com/read/366275_2.htm Please

Re: Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Thomas Chang
I start it in cmd-console but it's the same. :-( Vinu Varghese [EMAIL PROTECTED] schrieb: Don't double click, type startup from a console - I mean command prompt, You'll see some thing in the console :-) Vinu Varghese *I use mozilla Thunderbird. Do you ?* Thomas Chang wrote: The

RE: Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Thomas Chang
I did what you said and here is the message. Can you understand what it is? C:\Programme\Apache\apache-tomcat-5.5.17\bincatalina.bat run Using CATALINA_BASE: C:\Programme\Apache\apache-tomcat-5.5.17 Using CATALINA_HOME: C:\Programme\Apache\apache-tomcat-5.5.17 Using CATALINA_TMPDIR:

Re: Tomcat/Mod_jk on Redhat

2008-01-10 Thread Julio Cesar Leiva
Check this page http://apache.mirror.rafal.ca/tomcat/ Actually we have a Suse version 10.1 we managed to install a generic tomcat(version6.0.14, apache 2.26 and mod_jk1.2.26) So I don't see any probem doing the same thing in readhat Jacob Rhoden wrote: Hi Guys, We are trying to

JDTCompiler and Classloading issues

2008-01-10 Thread Rasha
Hello, I am trying to compile a jsp page which contains references to classes loaded in memory (not on physical location): i.e. I have my classes in my Thread.currentThread.getContextClassLoader. I tried to mimic what the JspServlet is doing. After setting my classloader: ClassLoader cl =

Tomcat Java Wrapper problems under T4.1.18, jdk1.3.1

2008-01-10 Thread tim.fulcher
Hi I'm attempting to use the Tomcat Wrapper (http://people.apache.org/~fhanik/wrapper.html) on our elderly set-up - Tomcat 4.1.18 Java JDK 1.3.1 Since its the only way I can see to ever obtain thread dumps of Tomcat running as a service. As far as I can tell, the code in ThreadDumpWrapper

Re: Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Martin Gainty
2 situations which would prevent Tomcat from starting properly would be the engine is being fed parameters it cannot interpret you are using configuration parameters which cannot be resolved Most web applications have a WEB-INF for web specific configurations with libraries located in /LIB and

Can you call an MBean programatically from the command line?

2008-01-10 Thread Dan
Hi, I use JProfiler amongst other tools and this has some useful MBeans which i'd like to activate at a given point from a scheduled job. All sounds very simple. However I cannot find a command line tool, perhaps similar to JConsole which allows me to execute a given MBean. Surely such a tool

Re: Tomcat/Mod_jk on Redhat

2008-01-10 Thread Tom Robinson
Hi Jacob, I've been administering Red Hat, Apache, Tomcat setups for about 5 years using jpackage. http://jpackage.org. It works great for me. Regards, Tom Jacob Rhoden wrote: Hi Guys, We are trying to introduce Java technology in our workplace (all the staff have been recently re-trained

RE: Why use a Web Server over Tomcat?

2008-01-10 Thread Bárbara Vieira
Hi everyone! David, imagine that you are developing a web application to provide services like internet banking. What network architecture would you propose? How will you implement a DMZ? Probably you put a firewall between Web Server and Database Server!! Or not? Regards, Bárbara Vieira

RE: Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Caldarale, Charles R
From: Thomas Chang [mailto:[EMAIL PROTECTED] Subject: RE: Problem by starting Tomcat after setting the spring-agent.jar Error opening zip file: C:\Programme\Apache\apache-tomcat-5.5.17\server\lib\spri ng-agent.jar -Djava.util.logging.manager Error occurred during initialization of VM

Re: Deploying on a Remote Tomcat Servers

2008-01-10 Thread Richard Reyes
Thanks. david delbecq wrote: There are several way to automate it. One is to install on that remote tomcat, the tomcat manager webapp, which let you deploy war. There is also a ant task that can be used with it to submit the compiled war file to that manager. Another is to install

RE: Why use a Web Server over Tomcat?

2008-01-10 Thread Bárbara Vieira
Hi Mikolaj! Thanks for your help. But my question isn't just about design a DMZ. It's much more. And answering your question: yes, google is not enough. There are certain questions that google doesn't answer. Regards, Bárbara Vieira -Original Message- From: Mikolaj Rydzewski

tomcat5 not start with -security flag

2008-01-10 Thread rakel
Hi, I am using tomcat5 installed from FC4 installation CD. It was working fine with default JVM - jre-1.4.2-gcj. I have installed new JVM from SUN - jre-1.5.0-sun-update14 following instructions on http://fedoranews.org/mediawiki/index.php/JPackage_Java_for_FC4. I have doing this because deploy

Re: Why use a Web Server over Tomcat?

2008-01-10 Thread Mikolaj Rydzewski
Bárbara Vieira wrote: David, imagine that you are developing a web application to provide services like internet banking. What network architecture would you propose? How will you implement a DMZ? Probably you put a firewall between Web Server and Database Server!! Or not? Am I right that

RE: Deploying on a Remote Tomcat Servers

2008-01-10 Thread M T
Hi Richard, Depending on your specific requirements, you may consider NGASI AppServer Manager. The website is http://www.ngasi.com Richard G. Reyes wrote: Hi Guys, May I ask how you guys deploy on a remote tomcat servers? Is there a way to

Re: mod_jk and Host matches server name

2008-01-10 Thread Dmitry Beransky
Just want to document the solution for folks facing the same problem in the future. Actually, it turned out to be quite nasty, in part because I wasn't paying much attention to the logs which were giving warnings that the AJP port was already bound. Being used to Tomcat failing to start when it

Tomcat Shutdown error transport error 202: bind failed

2008-01-10 Thread varunsuresh
Allways getting this error message while shutting down tomcat. Please use html tags to format code blocks. ERROR: transport error 202: bind failed: Address already in use [transport.c,L41] ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) [debugInit.c,L500] JDWP exit

First JSP page, Can't get Tomcat to show jsp-pages

2008-01-10 Thread Fredrik Bonander
Hi, I ran quickly in to a problem with my first JSP page under Tomcat. I've also been browsing google and java forums and can't seem to find any solution. I'm running Tomcat 6, and trying to show an simple Hello World JSP page. htmlbodyHello world !!/body/html But it keeps giving me

RE: First JSP page, Can't get Tomcat to show jsp-pages

2008-01-10 Thread Propes, Barry L
sounds like you're either missing a jar file or have it in the wrong location. -Original Message- From: Fredrik Bonander [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 10:30 AM To: users@tomcat.apache.org Subject: First JSP page, Can't get Tomcat to show jsp-pages Hi, I ran

Re: First JSP page, Can't get Tomcat to show jsp-pages

2008-01-10 Thread Fredrik Bonander
Any idea which jar i might be? In the my web-app I have only the test.jsp and WEB-INF/web.xml. ..fredrik On Jan 10, 2008, at 5:34 PM, Propes, Barry L wrote: sounds like you're either missing a jar file or have it in the wrong location. -Original Message- From: Fredrik Bonander

RE: problem with data input

2008-01-10 Thread Steve Ingraham
-Original Message- From: Steve Ingraham [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 09, 2008 7:30 PM To: Tomcat Users List Subject: RE: problem with data input -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wed 1/9/2008 5:02

Re: tomcat5 not start with -security flag

2008-01-10 Thread rakel
Here is the catalina.out output when trying tomcat5 start -security java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at

Re: Tomcat 5.5 and loading of native libraries

2008-01-10 Thread Filipe David Manana
That was it. I had ojdbc14.jar in the WAR archive. I just moved it into CATALINA_HOME/common/lib/ and it works now :) By the way, is any of you using plain Oracle JDBC or with an ORM? On 1/10/08, Wesley Schwengle [EMAIL PROTECTED] wrote: On 10.01.08 13:22 Filipe David Manana wrote: I am

Opening and Closing Sockets used in Http request and responses

2008-01-10 Thread James Johnson
I have a Spring based application that is running in Tomcat 5.5.12. Tomcat is integrated with Apache. Apache host JavaScript client side code that makes Http asynchronous calls to the Spring based application. I'm getting an error reported from Apache as follows: Too many open files: apr_accept:

RE: problem with data input

2008-01-10 Thread Caldarale, Charles R
From: Steve Ingraham [mailto:[EMAIL PROTECTED] Subject: RE: problem with data input I have checked the WEB-INF/lib for other duplicated .jar files. I have not seen any. Good. What is the next step for troubleshooting the problem? You'll need to trace what's going on in the webapp and

How to get tomcat to decode %26

2008-01-10 Thread Vackar
Hi, Does anyone know how to get tomcat to interpret %26 as an ampersand character () Thanks, Vackar -- View this message in context: http://www.nabble.com/How-to-get-tomcat-to-decode--26-tp14738575p14738575.html Sent from the Tomcat - User mailing list archive at Nabble.com.

RE: problem with data input

2008-01-10 Thread Steve Ingraham
-Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 11:00 AM To: Tomcat Users List Subject: RE: problem with data input From: Steve Ingraham [mailto:[EMAIL PROTECTED] Subject: RE: problem with data input I have checked

RE: problem with data input

2008-01-10 Thread Caldarale, Charles R
From: Steve Ingraham [mailto:[EMAIL PROTECTED] Subject: RE: problem with data input If you have the time to walk me through this could you direct me on where and how I turn on debugging for the webapp and/or the database? Sorry, all that depends on the actual webapp and the DB you're

Re: org.apache.commons.digester.Digester endElement (Q A)

2008-01-10 Thread Albretch Mueller
David, ~ sorry for my delay . . . ~ there is nothing to be shown. it is a config issue which you could reproduce by: ~ 1) downloading tc 4.1.36 ~ 2) giving it a first run to make sure everything is OK ~ 2) writing, within the admin.xml or manage.xml conf files, something like ~ Context

RE: Tomcat + HttpClient + SSL + tcnative-1.dll issues?

2008-01-10 Thread stacjohn
Hi Mark, As Jim mentioned, thanks again for the find! We have tested with the latest source code and the issue is indeed solved. Do you happen to know when the new tcnative-1.dll will be available? Or is there a mailer I could track or an online release schedule? Stacy Jim Brikman

Re: org.apache.commons.digester.Digester endElement (Q A)

2008-01-10 Thread David Smith
Sorry but you're still posting only a partial context.xml file and it still looks like invalid XML. Get a XML validator and check your files. I know NetBeans has one built-in. To illustrate the whole valid vs. invalid point: Valid xml -- note the invalid xml fragment wrapped in a comment

Re: Can you call an MBean programatically from the command line?

2008-01-10 Thread Peter Rossbach
HI, use groovy with JMX. http://groovy.codehaus.org/Groovy+and+JMX http://jagger.berlios.de/ Regards Peter Am 10.01.2008 um 16:08 schrieb Dan: Hi, I use JProfiler amongst other tools and this has some useful MBeans which i'd like to activate at a given point from a scheduled job. All

FOLLOW-UP: Re: Tomcat 6 UTF-8 GET and POST - please Help..

2008-01-10 Thread Aleksandar Matijaca
I have tested the stuff below on JETTY, and both GET and POST work fine. Thanks again, a.m. On Jan 10, 2008 2:06 PM, Aleksandar Matijaca [EMAIL PROTECTED] wrote: Hi there, I am having some issue with submitting foreign language fonts in HTML form to Tomcat. If I set up the FORM with

Re: Tomcat 6 UTF-8 GET and POST - please Help..

2008-01-10 Thread David Delbecq
As you might infer, URIEncoding=UTF-8 only work on the Uri part, and thus affect only GET. The post is decoded using the browser provided content-encoding. Most borwser don't bother to set that header. Behaviour of tomcat is to then use some default (ISO-8859-1). Best way to ensure tomcat will

Re: Tomcat 6 UTF-8 GET and POST - please Help..

2008-01-10 Thread Aleksandar Matijaca
I will try the filter, and let you know -- I don't think that Struts is too worried about the encoding, while debugging, I saw that things go wrong much earlier, above struts, in the regular servlet layer on which Struts Action sits... Thanks for the suggestion.. You know, it is really

Re: Modify JDBC Realm

2008-01-10 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Is there eny smart possibility to modify this method or is there even another solution for my problem? Use a view for the roles table. Mark - To start a new topic, e-mail: users@tomcat.apache.org

RE: problem with data input

2008-01-10 Thread Steve Ingraham
-Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 12:18 PM To: Tomcat Users List Subject: RE: problem with data input From: Steve Ingraham [mailto:[EMAIL PROTECTED] Subject: RE: problem with data input If you have

Re: Tomcat Shutdown error transport error 202: bind failed

2008-01-10 Thread Mark Thomas
varunsuresh wrote: These are my debug options -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=,server=y,suspend=n How are you setting these? Using JPDA_TRANSPORT etc works for me. Mark -

Re: How to get tomcat to decode %26

2008-01-10 Thread Mark Thomas
Vackar wrote: Hi, Does anyone know how to get tomcat to interpret %26 as an ampersand character () It does. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Tomcat + HttpClient + SSL + tcnative-1.dll issues?

2008-01-10 Thread Mark Thomas
stacjohn wrote: Hi Mark, As Jim mentioned, thanks again for the find! We have tested with the latest source code and the issue is indeed solved. Great. Do you happen to know when the new tcnative-1.dll will be available? Soon... Or is there a mailer I could track or an online release

Error when shutting down Tomcat

2008-01-10 Thread Jim Brikman (ybrikman)
If I start Tomcat and let it run for ~30 seconds (ie, let my webapp load completely), I can shut it down without any errors. However, if I start Tomcat and very shortly after try to shut it down again (before my webapp has finished loading), I get the following error in the logs: : : Oct 26 2007

Re: Tomcat 6 UTF-8 GET and POST - please Help..

2008-01-10 Thread Aleksandar Matijaca
The Filter worked -- now it works well with the POST as well as the GET. David thank you so much... Here is the filter.. nice and simple.. Maybe somebody else may need this code one day... But you know, from a Philosophical Perspective, I should not have to create extra code, to get around

Re: Why use a Web Server over Tomcat?

2008-01-10 Thread Johnny Kewl
Hi Barbara, Sorry still on holiday, not reading email every day... Read this articlae by one of the tomcat gurus... nice and academic, has calcs on load factors etc... That Secure generic configuration... is how I was thinking but a bank will genearlly be even more paranoid. Like for example

How to specify attributes for Resource

2008-01-10 Thread Pulkit Singhal
Hello, I would like to specify the following attribute in the server.xml file in windows: url=jdbc:derby:net://ip:port/path/to/database;retrieveMessagesFromServerOnGetMessage=true; But the problem is that I can't figure out the right way to escape the path to the database in windows.

RE: Tomcat 6 UTF-8 GET and POST - please Help..

2008-01-10 Thread Jim Brikman (ybrikman)
I found this guide to be very helpful in getting Tomcat to work with UTF-8: http://cagan327.blogspot.com/2006/05/utf-8-encoding-fix-tomcat-jsp-etc.html . It includes the filter code as well as other possible gotchas. It is indeed a bit of a painful process and it would be nice if it could be

Re: Why use a Web Server over Tomcat?

2008-01-10 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm The best application server on earth --- - Original Message - From: Johnny Kewl [EMAIL

Re: Tomcat Java Wrapper problems under T4.1.18, jdk1.3.1

2008-01-10 Thread Filip Hanik - Dev Lists
hi Tim, ThreadDumpWrapper, you have the source code for that, so you can modify it any way you want, including compiling it for JDK 1.3.1 but the class Bootstrap is in 4.1, it should be in TC_HOME/bin/bootstrap.jar Filip [EMAIL PROTECTED] wrote: Hi I'm attempting to use the Tomcat Wrapper

comet client doesn't receive server response

2008-01-10 Thread Peter Warren
I posted this question along with some others recently. I'm re-posting it in its own thread with some additional information. I have a comet client app that works on all the machines I've tested except one. The failing machine sends a comet request to the server and then waits indefinitely for

Re: First JSP page, Can't get Tomcat to show jsp-pages

2008-01-10 Thread Dmitriy Fitisov
Set a breakpoint in your's servlet init() in Eclipse. Another thing - show your jsp page how it looks like. Dmitriy. On Thu, 2008-01-10 at 17:36 +0100, Fredrik Bonander wrote: Any idea which jar i might be? In the my web-app I have only the test.jsp and WEB-INF/web.xml. ..fredrik

Re: Tomcat 6 UTF-8 GET and POST - please Help..

2008-01-10 Thread david delbecq
Aleksandar Matijaca a écrit : I will try the filter, and let you know -- I don't think that Struts is too worried about the encoding, while debugging, I saw that things go wrong much earlier, above struts, in the regular servlet layer on which Struts Action sits... Well, you saw it using

Re: Error when shutting down Tomcat

2008-01-10 Thread david delbecq
Tomcat use a localhost binded port to receive SHUTDOWN request. However, i think it does start listening on that port only after the startup sequence is finished. What you see is not a message from the running tomcat, but a message from the shutdown script, that says it can't connect to tomcat

Re: Opening and Closing Sockets used in Http request and responses

2008-01-10 Thread Giancarlo Frison
Hi James, Maybe the webapp clients exceed the maximun allowed by OS. You have to increase the number of open files for tomcat launch user. add ulimit -n 32000 into tomcat's launch script. hope this is helpful James Johnson ha scritto: I have a Spring based application that is running in

Tomcat sometimes loses HttpSession when 2 mod_jk workers have different hosts

2008-01-10 Thread David Crane
Has anyone had problems with Tomcat losing the HttpSession when Apache uses mod_jk configured with 2 normal workers connected to *different* hosts? I have boiled down to the following test case: worker.list=customers,staff worker.customers.type=ajp13

Re: How to get tomcat to decode %26

2008-01-10 Thread Szabolcs Márton
Hi try apache commons package, Stringutils somewhere. It has a lot of encode decode function already. 2008/1/10, Mark Thomas [EMAIL PROTECTED]: Vackar wrote: Hi, Does anyone know how to get tomcat to interpret %26 as an ampersand character () It does. Mark

RE: web.xml configured correctly, but still getting'404...resourcenot found'

2008-01-10 Thread cuco2772
Thanks a lot, Chuck. So I think I can infer from what youre saying is that for the other 2 context.xml's, if you want Tomcat to behave a certain way for a particular webapp, you could edit context.xml files to get something different from the default behaviour. In what type of situation might you

RE: web.xml configured correctly, but stillgetting'404...resourcenot found'

2008-01-10 Thread Caldarale, Charles R
From: cuco2772 [mailto:[EMAIL PROTECTED] Subject: RE: web.xml configured correctly, but stillgetting'404...resourcenot found' if you want Tomcat to behave a certain way for a particular webapp, you could edit context.xml files to get something different from the default behaviour.

emptySessionPath and new session id

2008-01-10 Thread Nahor
Hi, I want my webapp to use nice URL for a user's homepage (e.g. http://server/user;). Because of that, I need to have an empty path in the session cookie. So far, I've been using emptySessionPath. However, emptySessionPath uses the session id from a cookie when creating a brand new

Preferred setup

2008-01-10 Thread Morten Matras
How would you set an environment up for the following case: - 20 independent (non related) webapplications with low traffic 200 unique (real) visitors per day per webapplication - Application architecture: Hibernate, Java 1.5 and Stripes under the hood. I've set the system up with 1 tomcat

Stopping / undeploying application doubles memory allocation

2008-01-10 Thread Morten Matras
Case: I've deployed an application on a Tomcat 6.0 (current release). The application is a Hibernate / Stripes application. Almost no memory is allocated due to the deployed application. Setting: -Xmx64m -XX:MaxPermSize=128m Tomcat without application uses: 27,5M (real memory) and 349M

Re: Opening and Closing Sockets used in Http request and responses

2008-01-10 Thread Bill Barker
By default, Tomcat and mod_jk leave the Sockets open between them indefinitely. The usual way to work around this is to configure a connectionTimeout in the Connector / element, and possibly enable cping/cpong on the Apache side. In any case, Tomcat doesn't expose the socket to the webapp,

Re: org.apache.commons.digester.Digester endElement (Q A)

2008-01-10 Thread Albretch Mueller
OK, my conf files were like that: ~ !-- Context configuration file for the Tomcat Manager Web App $Id: manager.xml 287893 2002-04-08 17:46:08Z craigmcc $ Context Linux Box: path=/manager docBase=/media/sda2/inst/sw/java/TC/tc4.1/apache-tomcat-4.1.36/server/webapps/manager Windows

Re: Tomcat/Mod_jk on Redhat

2008-01-10 Thread Ben Stringer
On Thu, 2008-01-10 at 22:52 +1100, Jacob Rhoden wrote: Hi Guys, We are trying to introduce Java technology in our workplace (all the staff have been recently re-trained in Java). As far as I can tell, our System Administrators are really only resourced to be able to install standard

doubt in clustering with sticky sessions

2008-01-10 Thread Shiby Maria John
Hi, This is a bit of documentation from the Load balancing page of the Apache site. sticky_session specifies whether requests with SESSION ID's should be routed back to the same Tomcat worker.

Error: server\webapps\manager does not exist or is not a readable directory...

2008-01-10 Thread Thomas Chang
Hi all, I copy the whole dir of the Tomcat 5.5.17 which runs quite well at home to the computer in my office. As I start the Tomcat, I got error as follow. Though I can open the first page of Tomcat, but as I want to open the Manager link I got error of HTTP Status 404 - /manager/html

Re: How to get tomcat to decode %26

2008-01-10 Thread David Delbecq
%XX in the url requested by a browser are already converted by tomcat to their corresponding characters, according to the http specs. You don't have to do anything special for that. En l'instant précis du 10/01/08 18:02, Vackar s'exprimait en ces termes: Hi, Does anyone know how to get tomcat

Re: Error: server\webapps\manager does not exist or is not a readable directory...

2008-01-10 Thread David Delbecq
Did you actually install the admin webapp? It must be downloaded and installed separately. En l'instant précis du 11/01/08 08:15, Thomas Chang s'exprimait en ces termes: Hi all, I copy the whole dir of the Tomcat 5.5.17 which runs quite well at home to the computer in my office. As I start