Re: Tomcat 4.06, JK ISAPI redirector plugin 1.2.15.0, IIS 6.0 on Wind ows Server 2003 How To

2005-12-14 Thread Mladen Turk
Sue Roe wrote: Did you get any response to your question I wonder? We are looking at the same issues The most important thing is that after adding the filter to the 'Default Web Site' (like for IIS 5.x) you will need to add the Web Service Extension. Click on 'Web Service Extensions',

Re: Too many sockets on mod_jk

2005-12-14 Thread Mladen Turk
Benjamin Cuthbert wrote: All I have an apache 1.3.37 and mod_jk 1.2.12 setup . When my apache connects to my Jboss tomcat server i see about 90 open socket connections. Is there a way to track how many sockets get opened in mod_jk, as this is happening for each client that logs onto the

WEB APPS OUTSIDE TOMCAT ENV 5.X

2005-12-14 Thread Karthik
HI FORM IN TOMCAT4.X EXTERNAL WEB APPLICATIONS CAN BE LOADED OUT OF TOMCAT ENV BY APPLN.XML FILE BE PLACED IN TOMCAT4.X/CONF/ HOW TO ACHIEVE THE SAME IN CASE OF TOMCAT5.X [ IS THIS FEATURE ABSENT FROM TOMCAT5.X ONWARDS ] WITH REGARDS kARTHIK

Re: WEB APPS OUTSIDE TOMCAT ENV 5.X

2005-12-14 Thread Viorel Dragomir
1.Place the file in tomca/conf/Catalina/localhost/ instead of tomcat/conf There are things that were changed so you must take a look at the tomcat's webpage. 2.Always use lower case in email messages. Viorel Dragomir . ..

Antwort: WEB APPS OUTSIDE TOMCAT ENV 5.X

2005-12-14 Thread Jan Behrens
Stil much the same, but as from TC5 onwards it is discouraged to place your context elements directly into your server.xml, you will have to put an appropriate appname.xml under Catalina_Home/conf/SERVICENAME/HOSTNAME/ (e.g. conf/Catalina/localhost/). This should contain your context

RV: How to reload jsp using ant in Tomcat 5.5

2005-12-14 Thread Guillermo Sobrino
I have set development to true and modificationTestInterval to 0 but I can not get the file $CATALINA_HOME/webapps/mywebapp/test.jsp updated automatically by Tomcat. I change it in my install_home (outside Tomcat) from wich the webapp is deployed but Tomcat does not seem to realize that it

RE: How to access webapps class path as env variable.

2005-12-14 Thread Caldarale, Charles R
From: marju jalloh [mailto:[EMAIL PROTECTED] Subject: Re: How to access webapps class path as env variable. make an enviroment variable WEBAPPS-PATH in your profile an call String strDir = System.getProperty(WEBAPPS-PATH); Besides being unnecessary, the above advice is simply wrong.

RE: Deploying in Tomcat 5

2005-12-14 Thread Caldarale, Charles R
From: Sesha Shayan Nandyal [mailto:[EMAIL PROTECTED] Subject: Deploying in Tomcat 5 I created an app.xml in the $CATALINA_HOME/conf/Catalina/localhost/ sub-directory, with the following settings: Context path= docBase=/app/docs debug=0 crossContext=true privileged=true

RE: Problem with mod_jk Connector

2005-12-14 Thread Michael Andreas Omerou
Hi Martin, Thanks for your message and I apologise for the late reply but I have been so busy with so many other things. Before I proceed with using forwardAll as you suggested I would like to ask you whether using forwardAll will still allow me to use JkUnmount. Thanks, Michael -Original

RE: tomcat userdir and context

2005-12-14 Thread Caldarale, Charles R
From: bhaskar karambelkar [mailto:[EMAIL PROTECTED] Subject: tomcat userdir and context But it seems that the webapps directory is a single web app in itself and not a container for multiple webapps. Each immediate subdirectory of webapps contains an independent app, but not any deeper

Problems ip based virtual hosting apache2+tomcat5.0.19

2005-12-14 Thread Jens Werdin
Hi all, I have an apache 2.0.49 with some ip based virual hosts. What i try to do is giving each virtual host its own webapplication. Apache and tomcat are working. its working if I try with localhost. when i try the ip address of a virtual hosts i always get the answer. no host matches server

RE: How to reload jsp using ant in Tomcat 5.5

2005-12-14 Thread Wade Chandler
--- Guillermo Sobrino [EMAIL PROTECTED] wrote: I am using no context.xml so I do not set any parameter, including antiResourceLocking. Thanks anyway. Guillermo -Mensaje original- De: Jan Behrens [mailto:[EMAIL PROTECTED] Enviado el: lunes, 12 de

RE: Normal behavior when autodeploying???

2005-12-14 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
No one has ran into this before? Or am I missing something obvious in the docs? == Scott Batchelor Web Services Administrator [EMAIL PROTECTED] (317)510-7389 -Original Message- From: BATCHELOR, SCOTT

multiple Tomcat5 service-how

2005-12-14 Thread Chris Pat
Hello I have three sites I want to publish w/cc transactions with Tomcat5. Is it possible to do it with one installation of TC and three separate certificates and three separate static IPs? I assume I would create three Services. However I cannot see where to hardcode in the specific IP and

RE: How to reload jsp using ant in Tomcat 5.5 - SOLVED

2005-12-14 Thread Guillermo Sobrino
After a lot of tries and searching in the web inspired by your comentaries I found a solution. I use this to deploy the webapp: deploy url=${manager.url} username=${manager.username} password=${manager.password} path=${app.path}

Using OpenID for authentication.

2005-12-14 Thread Carl Howells
I'm working on a basic OpenID (http://openid.net/, http://www.openidenabled.com/) library for java. It is clear, however, that a simple OpenID library won't be too useful in the java world, unless there is additional code for making it easy to integrate into a servlet/JSP environment. I

Re: Tomcat, IIS, Integrated Windows Authentication, and request.getRemoteUser()

2005-12-14 Thread Michael Neel
Okay, I found out that I needed the virtual directory pointing at the redirect dll to also have windows auth enabled. As a follow-up question, I went looking for documentation on this setup and other possible features there maybe I can use and couldn't find any. Does anyone have a link to

Re: administration applications install instructions

2005-12-14 Thread James T. Studebaker
I downloaded jakarta-tomcat-5.5.9-admin.tar.gz. Used gunzip to get jakarta-tomcat-5.5.9-admin.tar. Used command tar -xvf jakarta-tomcat-5.5.9-admin.tar to untar the archive file. No files were created on the server/webapps directory. Admin app did not install. I am stuck again. Thank you

Re: Problem with mod_jk Connector

2005-12-14 Thread Martin Gainty
Good Afternoon Michael The Tomcat ajp connector configuration available at http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html states that when the attribute forwardAll=true ALL requests go to tomcat to quote the doc a.. forwardAll - If true, forward all requests to Tomcat. This helps

RE: administration applications install instructions

2005-12-14 Thread Caldarale, Charles R
From: James T. Studebaker [mailto:[EMAIL PROTECTED] Subject: Re: administration applications install instructions Used command tar -xvf jakarta-tomcat-5.5.9-admin.tar to untar the archive file. No files were created on the server/webapps directory. Admin app did not install. Did you

Re: Tomcat 5 error 404

2005-12-14 Thread Bliesner, Christopher P
Hello, I am currently using Tomcat 5.0.28 on Unix and I have been able to get the Tomcat web up and running but when I select 'Status' or 'Tomcat Manager', I get the following error: HTTP Status 404 - /manager/html type Status report message /manager/html description The requested resource

Access Denied Error

2005-12-14 Thread Asad Habib
Hello. I am receiving the following error when trying to use the Struts HTML tag library. Has anyone experienced something similar? I have provided the stack trace below. Thanks. - Asad Dec 14, 2005 7:21:17 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service()

Re: Tomcat 5 error 404

2005-12-14 Thread David Smith
You should be able to find more info for this problem in the logs. Catalina.out in particular should be able to shed some light. Take a look and post any relevant exceptions. --David Bliesner, Christopher P wrote: Hello, I am currently using Tomcat 5.0.28 on Unix and I have been able to

RE: Tomcat 5 error 404

2005-12-14 Thread Bliesner, Christopher P
Yes, Here is the URL I'm trying: //eptest01:8080/manager/html which uses the direct port. And I copied the same tomcat-users.xml from Tomcat 4.1.12 which works great. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 1:52 PM To:

RE: Tomcat 5 error 404

2005-12-14 Thread Bliesner, Christopher P
David--Good idea and I've checked but there is not much there except the fact that certain web.xml's are not being loaded and some are. In the old Tomcat 4.1.12, the Local Admin host was created under the logs directory but not so in the new Tomcat 5. Chris Dec 14, 2005 11:44:14 AM

Re: Tomcat 5 error 404

2005-12-14 Thread David Smith
Curious it isn't mentioned at all -- not even as a deploy failure. Is there a manager.xml file in conf/Catalina/localhost? If it's missing, that could explain this behavior. Also check to see if the manager webapp is installed in server/webapps. --David Bliesner, Christopher P wrote:

RE: Tomcat 5 error 404

2005-12-14 Thread Caldarale, Charles R
From: Bliesner, Christopher P [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 5 error 404 Here is the URL I'm trying: //eptest01:8080/manager/html which uses the direct port. And I copied the same tomcat-users.xml from Tomcat 4.1.12 which works great. There should be a file manager.xml

RE: Tomcat 5 error 404

2005-12-14 Thread Bliesner, Christopher P
Hi Dave, Yes, a manager.xml exists in localhost. Plus, the 'manager' webapp does exist there. Very strange. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 2:25 PM To: Tomcat Users List Subject: Re: Tomcat 5 error 404 Curious it

FW: Specifying an appBase on a shared disc

2005-12-14 Thread Svante Kumlien
-Original Message- From: Svante Kumlien Sent: Wed 12/14/2005 10:35 PM To: Tomcat Users List Subject: RE: Specifying an appBase on a shared disc Hi. I solved it on my XP machine by assigning the same account to the service as I´m using when logging in normally. Weird thing is that it

RE: Tomcat 5 error 404

2005-12-14 Thread Bliesner, Christopher P
Hi Chuck, Here is the web.xml file..seems to be okay. servlet servlet-nameHTMLManager/servlet-name servlet-classorg.apache.catalina.manager.HTMLManagerServlet/servlet-c lass init-param param-namedebug/param-name param-value2/param-value /init-param /servlet servlet

RE: Tomcat 5 error 404

2005-12-14 Thread Bliesner, Christopher P
Here is what I found there...looks okay..do you see anything? !-- Define the Manager Servlet Mapping -- servlet-mapping servlet-nameManager/servlet-name url-pattern/list/url-pattern /servlet-mapping servlet-mapping servlet-nameManager/servlet-name

RE: inserting data (A weird problem)

2005-12-14 Thread Richard Mixon
Claudio, I'm sorry but I have a bit of trouble following your explanation (I just do not know your object model/domain well enough to follow the explanation). But I'm still wondering if this is not a problem of ill-formed JavaBeans. Are you aware of the rules for naming JavaBeans classes and

RE: Tomcat 5 error 404

2005-12-14 Thread Caldarale, Charles R
From: Bliesner, Christopher P [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 5 error 404 Here is what I found there...looks okay..do you see anything? Nope, it all looks good to me. Does the regular manager app work? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

RE: Tomcat 5 error 404

2005-12-14 Thread Bliesner, Christopher P
Not sure which one that is? But Chuck, my other webapps run which I copied straight over from Tomcat 4.1.12. The only problem with them is that I can't see any data, like maybe the servlet isn't talking or ? Sounds like the same 404 problem there as well... I sure appreciate your help though...

RE: Tomcat 5 error 404

2005-12-14 Thread Caldarale, Charles R
From: Bliesner, Christopher P [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 5 error 404 Not sure which one that is? Try this: http://host:port/manager/manager-howto.html But Chuck, my other webapps run which I copied straight over from Tomcat 4.1.12. Be careful there, because I think

Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Stas Ostapenko
Maybe this can help (Embed with Tomcat) ? http://www.vsj.co.uk/articles/display.asp?id=319 On 12/15/05, Oleg Lebedev [EMAIL PROTECTED] wrote: Hello, I am trying to configure, start and then shutdown Tomcat from my Java class. I am planning to have all the jars required by Tomcat on the

RE: Tomcat 5 error 404

2005-12-14 Thread Warren Pace
Just a shot in the dark . . . is TC4 still listening on port 8080? On Wed, 2005-12-14 at 17:32 -0600, Bliesner, Christopher P wrote: Yes, I will check on that...thanks for the direction and the link below has the same 404 effect. -Original Message- From: Caldarale, Charles R

RE: Tomcat 5 error 404

2005-12-14 Thread Bliesner, Christopher P
Good thinking...well the TC4 installation is currently not running...I've got the TC5 listening on port 8080 though... -Original Message- From: Warren Pace [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 4:40 PM To: Tomcat Users List Subject: RE: Tomcat 5 error 404 Just a

Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Wendy Smoak
On 12/14/05, Oleg Lebedev [EMAIL PROTECTED] wrote: I am trying to configure, start and then shutdown Tomcat from my Java class. No idea if it will do what you want, but that requirement made me think of Cargo: http://cargo.codehaus.org/ -- Wendy

Reloading property object from property file

2005-12-14 Thread Mufaddal Khumri
I have a property file that I want to monitor for changes. If the property file changes, I want to reload the property object with the new properties from the property file without reloading my webapp. For doing this I have a written a utility class that wakes up every N seconds and checks to

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
Stas, This looks like a great article, and will help me to get embedded Tomcat working. But how do I stop a running Tomcat instance from java? Thanks. Oleg -Original Message- From: Stas Ostapenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 4:28 PM To: Tomcat Users

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
Thanks, Wendy. I looked at cargo and it seems that it requires the container to be installed on the local machine in order to be able to start or stop it. In my case I have Tomcat running on some machine with a known IP address and port number. I need to be able to send a shutdown command to

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread Iannis Hanen
Hi Oleg, The piece of code you just mentioned is what lies behind the server tag in the server.xml file. You can set the server tag this way: Server port=1234 shutdown=myShutdown If you connect to port 1234 on the tomcat machine and type in the myShutdown password, tomcat will shutdown.

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
Great, sending that shutdown command to a Tomcat server started with server.xml file on the disk worked. But how can I specify what the server shutdown command is when I start the server in embedded mode on a certain port? (See code below) private static void startTomcat(){

Re: administration applications install instructions

2005-12-14 Thread James T. Studebaker
I use Fedora Linux core 2 os. I used the tar command with jakarta-tomcat-5.5.9-admin.tar file both in the home directory for tomcat (tomcat install directory). The verbose output listed all the files in the jakarta-tomcat-5.5.9-admin.tar file. I just discovered the problem: I untared the file

Tomcat 5.0.28 - How to save thread dump on Windows?

2005-12-14 Thread KwonNam Son
Hello, I run tomcat 5.0.28 on windows, Sometimes tomcat does nor response to browser's request. Maybe I made some mistakes in thread related codes. So I want to get thread dump of tomcat, but when I press Ctrl-Break, the thread dump is not saved to a file(like catalina.out before). How can I

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread andy gordon
There is an MBean for the Server and I believe that you can specify the command there. Oleg Lebedev [EMAIL PROTECTED] wrote: Great, sending that shutdown command to a Tomcat server started with server.xml file on the disk worked. But how can I specify what the server shutdown command is when

Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Bill Barker
Urm, something like: tomcat.stop(); where 'tomcat' is your Embedded instance? Oleg Lebedev [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I am trying to configure, start and then shutdown Tomcat from my Java class. I am planning to have all the jars required by Tomcat on

Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Wade Chandler
--- Bill Barker [EMAIL PROTECTED] wrote: Urm, something like: tomcat.stop(); where 'tomcat' is your Embedded instance? Oleg Lebedev [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I am trying to configure, start and then shutdown Tomcat from my Java class. I

RE: Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
Yes, that would work if I had a handle to the embedded instance. The thing is that embedded tomcat is running in a separate VM and I need to be able to shut it down. I don't really need to use Embedded class if only I could get Bootstrap or Catalina classes to work without having to have the

JKMountFile ignored

2005-12-14 Thread Andreas Sachs
Hello, i'm trying to use JKMountFile to announce my mount-points to apache. Apache does not redirect the specified addresses to tomcat and returns an 404 error message. With JKMount everything works fine. JKMountFile is inside a virtualhost-section. To debug the problem i raised JkLogLevel to

Re: Problems ip based virtual hosting apache2+tomcat5.0.19

2005-12-14 Thread Jens Werdin
Hi Chris, thank you for your help. I made a test and it seems to work fine. Jens Am Mittwoch 14 Dezember 2005 17:08 schrieb Chris Lear: * Jens Werdin wrote (14/12/05 15:28): Hi all, I have an apache 2.0.49 with some ip based virual hosts. What i try to do is giving each virtual host

Tomcat stops answering requests

2005-12-14 Thread Sondre Engell
Hi. We are experiencing some problems with our Tomcat. We are currently running Apache 2.0.54, Tomcat 4.1.30, Axis 1.2.final on RedHat 9.0 with kernel 2.4.27. We have some web-services deployed under Axis and these services become unavailable during normal operation. It seems that this

RE: Tomcat 5 error 404

2005-12-14 Thread Jan Behrens
Just taking a couple of guesses: - If you are running on Posix, have you checked access permissions? - Have you created new context files for each of your webapps under /conf/Service/Host/webappname.xml instead of putting them into server.xml? (Putting Context/ within your server.xml is