can't see an application in webapps

2005-10-04 Thread Hugo Osorio
Hi everybody, i need help from you I am trying to install a webapp in Tomcat (AlovMap) , I have set up some others apps on it, but this time i dont know what is happening... i am using FreeBSD 4.11-STABLE with Tomcat 5.0.29 The application is a map server called Alov Map (http://alov.org) It

Re: Setting up HTTP Basic for a full Web-App

2005-10-04 Thread Mark Thomas
David, You post is missing some key information before anyone here is going to be able to help you. What happens that you don't expect to happen? What doesn't happen that you do expect to happen? Mark David Johnson wrote: Anyone have any thoughts on this? On 9/30/05, David Johnson [EMAIL

Tomcat JSP problem

2005-10-04 Thread Liubomir Dokov
Hi, I am using Tomcat and I have the following problem: when I develop and test my applications on my local computer everything is OK. But a few days ago, when I uploaded my .war file to the server where I host my domain something is wrong. A request to the first(index.jsp) page returns nothing in

Re: Tomcat JSP problem

2005-10-04 Thread Schalk Neethling
Liubomir I have experienced the same problem. Are you including any servlets in this JSP? Or are you using any filters? Any java type that has been pre-compiled locally, is what I am basically asking? If so, you will have a major/minor mismatch.Best to develop and compile to the same version

Where'd catalina.sh go in 5.5.x ?

2005-10-04 Thread Barnett, Brian W.
I am going through a tuturial on setting up JAAS with Tomcat. It says to modify $CATALINA_HOME/bin/catalina.sh or $CATALINA_HOME/bin/catalina.bat. The edit it suggests is something like this: JAVA_OPTS=-Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas-myfile .conf Where would a change

RE: Where'd catalina.sh go in 5.5.x ?

2005-10-04 Thread Caldarale, Charles R
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Subject: Where'd catalina.sh go in 5.5.x ? Where would a change like this be made in Tomcat 5.5.x? In the same places. However, the scripts are not included in the .exe download for some reason, but are in the .zip version. (I haven't

Re: Where'd catalina.sh go in 5.5.x ?

2005-10-04 Thread Larry Meadors
Hm, in my 5.5.9, it is in the bin directory... Larry On 10/4/05, Barnett, Brian W. [EMAIL PROTECTED] wrote: I am going through a tuturial on setting up JAAS with Tomcat. It says to modify $CATALINA_HOME/bin/catalina.sh or $CATALINA_HOME/bin/catalina.bat. The edit it suggests is something

RE: Where'd catalina.sh go in 5.5.x ?

2005-10-04 Thread Barnett, Brian W.
I do have the .exe download so this would explain it. I'm not sure what this means though. Does it mean all the .sh, .bat, .properties, .xml, etc., files are not needed? Does it mean that if I download the .zip and put them there that they will be used? Currently, I only have five files in

RE: Where'd catalina.sh go in 5.5.x ?

2005-10-04 Thread Caldarale, Charles R
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Subject: RE: Where'd catalina.sh go in 5.5.x ? Does it mean all the .sh, .bat, .properties, .xml, etc., files are not needed? Only the .bat and .sh files are missing from the .exe version. The others are all there, in their appropriate

RE: Asking again: index.jsp and virtual directories

2005-10-04 Thread David Thielen
That was it - thank you very much - dave David Thielen www.windwardreports.com 303-499-2544 -Original Message- From: andy gordon [mailto:[EMAIL PROTECTED] Sent: Thursday, September 22, 2005 10:27 AM To: Tomcat Users List Subject: Re: Asking again: index.jsp and virtual directories

Re: Where'd catalina.sh go in 5.5.x ?

2005-10-04 Thread Len Popp
I wish they'd put those files back in the .exe distribution, if only to save work for Chuck! -- Len On 10/4/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Subject: Where'd catalina.sh go in 5.5.x ? Where would a change like this be made

RE: Where'd catalina.sh go in 5.5.x ?

2005-10-04 Thread Barnett, Brian W.
OK. So when running Tomcat as a service, I go into the Configure Tomcat application and make the setting on the Java tab under Java Options. I'll try that. Thanks, Brian -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 4:50 PM To:

Problems mixin getReader and getParameter

2005-10-04 Thread Mauricio Nuñez
Hi all, I'm trying the following , with Tomcat 5.5.12 ( Also with 5.0.30 ) , and after reading the request.getReader(), the request.getParameter(param) is unusable, returning null. I'm trying setting a mark in the BufferedReader, but the result it's the same. Any hint? public void

Re: Setting environment variables in server.xml.

2005-10-04 Thread David Kerber
Nope, never heard of that one. I'll see if I can figure out how to get at that type. andy gordon wrote: David, Just in case you haven't done this yet, have you checked to see if the environment variable shows up as a catalina:type=Environment MBean? if so you should be able to access it.

Tomcat Threads hanging in read()

2005-10-04 Thread Eric Durand
Hello, I am using Tomcat 4.1.29, with Coyote HTTP Connector. After a few hours of uptime, I get an error on the log telling that all threads are busy. The workload is not high on the server. Getting a dump of Tomcat Threads I see that most of them are stuck in a read() method on the socket:

Re: Setting environment variables in server.xml.

2005-10-04 Thread andy gordon
if you are using 5.5x you can look at the mbean with jmxproxy which is part of the manager app. David Kerber [EMAIL PROTECTED] wrote:Nope, never heard of that one. I'll see if I can figure out how to get at that type. andy gordon wrote: David, Just in case you haven't done this yet, have

WebDAV characters bug?

2005-10-03 Thread Roland Rabben
I am using Tomcat 5.5.9 (on Windows XP) and WebDAV to upload files to my server. However it seems to be a bug or limitation in the Tomcat WebDAV that limits the use of some characters I frequently use. Unsupported characters are : ; (semicolon) + (plus) # (pound) I know these are reserved

RE: How to logout after login with JDBCRealm?

2005-10-03 Thread Raghupathy,Gurumoorthy
What type of authentication are you using ? FORM / BASIC ? If Basic then no you cant If form based then ( sesssion.invalidate() ) Guru -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 03 October 2005 03:08 To: Tomcat Users List Subject: How to logout after

http connector secure=true

2005-10-03 Thread Reynir Hubner
Hi, I'm trying to have one connector on tomcat open with secure=true with out it being SSL or https. I just want request.isSecure() return true. This is the setup for the connector : Connector port=9020 maxThreads=150 minSpareThreads=25 maxSpareThreads=75

Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-03 Thread Bob Hall
I'm getting a NoClassDefFoundError in a FOP class, PageViewport. At line 89, the code is attempting to do 'new Rectangle()'. The same code works fine on 3 other systems (2 Windows, and one Linux). It does not work on a Linux box. The two linux boxes have the same version of Java (1.4.2_08-b03)

Re: FAQ? shutdown.bat not killing java process on Windows

2005-10-03 Thread Jon Wingfield
Yep. It's a FAQ, but not in the FAQ. Tomcat not quitting generally means your webapp has started a non-daemon thread which does not exit when the webapp is destroyed. If so, shut them down in a ServletContextListener. If you aren't explicitly creating threads in your webapp then the usual

Re: FAQ? shutdown.bat not killing java process on Windows

2005-10-03 Thread David Delbecq
May i mention also the use of *java.util.Timer in forms other than new **java.util.Timer*(true); If used in any other form, it silently creates a non daemon thread. Jon Wingfield a écrit : Yep. It's a FAQ, but not in the FAQ. Tomcat not quitting generally means your webapp has started a

Re: Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-03 Thread David Delbecq
if it's *java.awt.Rectangle* and the computer you are trying to run fop on does not have graphical environment, maybe you should wonsider using headless java see http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless Bob Hall a écrit : I'm getting a NoClassDefFoundError in a FOP

Re: FAQ? shutdown.bat not killing java process on Windows

2005-10-03 Thread Larry Meadors
So, once you know the threads that are left, what is the cleanest way to kill them? I have had this problem too, but since it was on a *nix platform, and just used 'kill' to get rid of the parent process. Larry On 10/3/05, Jon Wingfield [EMAIL PROTECTED] wrote: Yep. It's a FAQ, but not in the

Re: FAQ? shutdown.bat not killing java process on Windows

2005-10-03 Thread David Delbecq
That's quite a problem ;) Actually your threads should be coded in such a way you may a send a notification in java telling him to finish his job. eg: myNonDaemonThreadICreatedMySelf.stopWorking(); which would set some flag in Thread and then code in your Thread reading the flag knows it has to

Re: FAQ? shutdown.bat not killing java process on Windows

2005-10-03 Thread Larry Meadors
Heh, I'll call IBM and have them do just that. ;-) It happens in their JT400 classes. Larry On 10/3/05, David Delbecq [EMAIL PROTECTED] wrote: That's quite a problem ;) Actually your threads should be coded in such a way you may a send a notification in java telling him to finish his job.

Re: Getting tomcat instance information into webapp

2005-10-03 Thread Kyle
David Kerber wrote: Then how do I isolate the instances of tomcat (and their respective server.xml's? Do I need multiple installations of tomcat on my disk? Start each 'instance' of tomcat with separate CATALINA_BASE env. vars. This enables a different server.xml for each instance

Re: Getting tomcat instance information into webapp

2005-10-03 Thread David Kerber
Thanks for the suggestions, Kyle! I think either one of those suggestions would be workable; I'll have to do some reading and testing to see which I like better. The only reason I wanted them to run on different ports is so that I don't have to change the url's they connect to during this

Why getting this error?

2005-10-03 Thread Ritchie Gillam
Do anyone out there know why I am getting this Tomcat error? SEVERE: Servlet.service() for servlet jsp threw exception javax.faces.el.EvaluationException: java.lang.OutOfMemoryError: PermGen space at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206) at

Tomcat + SSL problems!

2005-10-03 Thread Raueber Hotzenplotz
Hello I need my client to communicate with a servlet using secure xmlrpc. Using Apache's SecureWebServer works (got my own TrustManager, HostnameVerifier, selfsigned certificates/keystores for server/client). Accessing Tomcat with a browser (https://localhost:8443) works too (selfsigned

RE: Why getting this error?

2005-10-03 Thread Peter Crowther
From: Ritchie Gillam [mailto:[EMAIL PROTECTED] java.lang.OutOfMemoryError: PermGen space Although your Java virtual machine has enough memory allocated to it, something (probably the number of classes being loaded, or the number of times you're reloading the webapp) is causing the permanent

RE: Why getting this error?

2005-10-03 Thread Ritchie Gillam
Thanks Peter! Can you provide an example please? Is this defined somewhere in the server.xml file? Thanks Ritchie Gillam Programmer Analyst, Information Services, Halifax Regional Municipality Email: [EMAIL PROTECTED] Phone: (902) 490-6167 Fax: (902) 490-6583 [EMAIL PROTECTED] 10/03/05

RE: Why getting this error?

2005-10-03 Thread Peter Crowther
From: Ritchie Gillam [mailto:[EMAIL PROTECTED] Thanks Peter! Can you provide an example please? Is this defined somewhere in the server.xml file? You should be able to set JAVA_OPTS, either within $CATALINA_HOME/bin/catalina (from memory - CHECK! - it's too long since I had to configure

RE: Why getting this error?

2005-10-03 Thread Trung Nguyen
Ritchie, No, it's not in server.xml, It's in $TOMCAT_HOME/bin/catalina.sh, add this line below: JAVA_OPTS=-server -XX:MaxPermSize=256m Hope this help --Trung -Original Message- From: Ritchie Gillam [mailto:[EMAIL PROTECTED] Sent: Monday, October 03, 2005 9:34 AM To:

RE: Why getting this error?

2005-10-03 Thread Ritchie Gillam
Thanks, I will set the JAVA_OPTS variable. Is there a way to see what the Size is now before I change it? Thanks, Ritchie Gillam Programmer Analyst, Information Services, Halifax Regional Municipality Email: [EMAIL PROTECTED] Phone: (902) 490-6167 Fax: (902) 490-6583 [EMAIL PROTECTED]

RE: Why getting this error?

2005-10-03 Thread Trung Nguyen
If you haven't set this variable elsewhere within the box, PermGen defaults to 64MB, otherwise, you can see the size by using ps -avx command --Trung -Original Message- From: Ritchie Gillam [mailto:[EMAIL PROTECTED] Sent: Monday, October 03, 2005 9:48 AM To:

Re: log4j log viewer for tomcat

2005-10-03 Thread Partheeban Boopathy
You can specify your path to write your in log4j.properties file. Parthi On 10/1/05, matador [EMAIL PROTECTED] wrote: win200x tomcat 5.5.9 jdk 1.5.x log4j 1.2.9 (i think) standard log4j setup with logs going into logs dir under tomcat install. does anyone have any recommendations for a

Aliases for JNDI (JDBC) resources?

2005-10-03 Thread Lisa L. Woodring
I would like to create aliases for a JNDI (specifically, a JDBC) resource, such that I can use multiple names to connect to the same database -- and be able to use the same (i.e. only 1) connection pool for that database. I haven't been able to find anything on how/if this is possible. (I would

RE: Why getting this error?

2005-10-03 Thread Ritchie Gillam
This command don't seem to work? Is there another way to see all of the Parameters for the JVM? Ritchie Gillam Programmer Analyst, Information Services, Halifax Regional Municipality Email: [EMAIL PROTECTED] Phone: (902) 490-6167 Fax: (902) 490-6583 [EMAIL PROTECTED] 10/03/05 10:55 am If you

Re: Aliases for JNDI (JDBC) resources?

2005-10-03 Thread David Smith
To be honest, I think touching the server.xml is the only way to do this. Declare it as a global resource in server.xml and then declare a resource link in all the contexts that need access. --David Lisa L. Woodring wrote: I would like to create aliases for a JNDI (specifically, a JDBC)

Script to create tomcat service on windows?

2005-10-03 Thread David Kerber
Does anybody have a script to create a tomcat service on windows 2000? I'm trying to set my system up to run multiple copies of tomcat at the same time (on different ports, obviously), and can't get the service to create properly. Thanks! Dave

RE: Why getting this error?

2005-10-03 Thread Lisa Woodring
I get the java.lang.OutOfMemoryError: PermGen space error periodically when I use Tomcat Manager to deploy my web application (as opposed to re-starting Tomcat). It eventually runs out of memory on the deploy. However, since I only use the manager for development -- I just restart Tomcat when the

RE: Limiting the number of threads Tomcat 4.1 creates

2005-10-03 Thread Bovy, Stephen J
set sparethreads Stephen Bovy Computer Associates 6100 Center Drive Suite 700 Los Angeles, CA 90045 Tel: (310) 957-3930 Fax: (310) 957-3917 e-mail: [EMAIL PROTECTED] -Original Message- From: Rob Shields [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 2:31 PM To: Tomcat

RE: Script to create tomcat service on windows?

2005-10-03 Thread Caldarale, Charles R
From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Script to create tomcat service on windows? Does anybody have a script to create a tomcat service on windows 2000? Have you tried the service.bat script that's part of the standard download? - Chuck THIS COMMUNICATION MAY CONTAIN

Re: Script to create tomcat service on windows?

2005-10-03 Thread David Kerber
Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Script to create tomcat service on windows? Does anybody have a script to create a tomcat service on windows 2000? Have you tried the service.bat script that's part of the standard download? No, I didn't

Re: WebDAV characters bug?

2005-10-03 Thread Mark Thomas
Looks like a bug to me. Create a bugzilla entry for it and I'll try and take a look before the next release. Mark Roland Rabben wrote: I am using Tomcat 5.5.9 (on Windows XP) and WebDAV to upload files to my server. However it seems to be a bug or limitation in the Tomcat WebDAV that limits

Re: http connector secure=true

2005-10-03 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old

Catalina.out Message

2005-10-03 Thread Partheeban Boopathy
Hi I have two tomcat5.0.27 instance running in different machine(unix box). After i started my server i opened my catalina.out and i can see the difference in catalina.out file. I am not able to see the timestamp and class name(Bold messages) in one of the machine. I am not sure why its

Re: Script to create tomcat service on windows?

2005-10-03 Thread David Kerber
service.bat doesn't seem to be installed with 5.5.9. I searched the entire HD of two different machines which have that it installed, and that file was not found. I did find the html files with the description of service.bat, but not service.bat itself. Caldarale, Charles R wrote: From:

RE: Script to create tomcat service on windows?

2005-10-03 Thread Caldarale, Charles R
From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: Script to create tomcat service on windows? service.bat doesn't seem to be installed with 5.5.9. Get the .zip download, not the emasculated .exe version. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

RE: FAQ? shutdown.bat not killing java process on Windows

2005-10-03 Thread Phillip Qin
Why bother IBM. In my startup script, I clean up any java process: for i in `ps ax --format ppid,pid,cmd |grep java |egrep ^[[:space:]]*1[[:space:]] |tr -s ' ' |cut -f3 -d ` do echo killing $i... kill -9 $i done -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED]

Re: Script to create tomcat service on windows?

2005-10-03 Thread Seak, Teng-Fong
Yup, 5.5 is very different from 5.0 in that those *.bat files aren't needed/included. And 5.5 no longer needs JAVA_HOME environment variable. David Kerber wrote: service.bat doesn't seem to be installed with 5.5.9. I searched the entire HD of two different machines which have that it

Re: What to put into JAVA_HOME on Windows xp

2005-10-03 Thread Seak, Teng-Fong
It's necessary to stop and restart the service when Java home path is changed. Reboot the PC doesn't help either. I had talked about this in a previous mail but seems like it got passed without catching any attention:

Re: FAQ? shutdown.bat not killing java process on Windows

2005-10-03 Thread Charles Fineman
Thanks (to all). I had suspected this but all of the threads that were left over (used eclipse) seemed like system threads. Turns out the culprit was an RMI server object that was being exported by the webapp (you can browbeat me over that in a different thread... I kept it for backwards

RE: FAQ? shutdown.bat not killing java process on Windows

2005-10-03 Thread Caldarale, Charles R
From: Charles Fineman [mailto:[EMAIL PROTECTED] Subject: Re: FAQ? shutdown.bat not killing java process on Windows Is there another mechanism I ought to be using to initialize (arbitrary) resources for my webapp? A context listener might be what you're looking for. See the Lifecycle

ClassCastException while sharing objects accross applications

2005-10-03 Thread Surya Mishra
Hi, I am trying to share an object between 2 applications deployed on the same tomcat server. I have put the object in the ServletContext in my first application. I access the object using ServletContext.getContext(firstApp).getAttribute(object);. The object comes in fine but it won't let me cast

RE: NoSuchElementException in DeltaRequest

2005-10-03 Thread Steve Mactaggart
When do we expect 5.0.30 to be release as final? I need to deploy the fix to production and I'm a not able to deploy beta versions. Steve -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Saturday, 10 September 2005 8:41 PM To: Tomcat Users List Subject: Re:

Re: Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-03 Thread Bob Hall
Thanks, David. I'll try that. If that doesn't do the trick I plan to build fop.jar from source on the target machine. - Bob --- David Delbecq [EMAIL PROTECTED] wrote: if it's *java.awt.Rectangle* and the computer you are trying to run fop on does not have graphical environment, maybe you

Re: Script to create tomcat service on windows?

2005-10-03 Thread David Kerber
Do they still work? I want to create a separate tomcat service so I can run two instances at once (on different ports, obviously). Dave Seak, Teng-Fong wrote: Yup, 5.5 is very different from 5.0 in that those *.bat files aren't needed/included. And 5.5 no longer needs JAVA_HOME

JasperException: Unable to compile class for JSP

2005-10-03 Thread Goo GGooo
Hi all, I've got Tomcat 5.5.9 running on SUSE Linux 9.2, followed tutorial at http://www.coreservlets.com/Apache-Tomcat-Tutorial/ and got it up and running, can see the Tomcat mainpage and run all bundled examples. However when I try a trivial example with HTML forms Tomcat barfs: ===

Easy Servlet Question

2005-10-03 Thread Andrew Pierce
Hello. I realize this is about the stupidest question I could ask but, I've scoured the web, etc. and cannot get an easy example of making servlets actually work with Tomcat. I have written a few Hello World servlets and gotten them to work with Resin but I cannot get even the most simple

Re: JasperException: Unable to compile class for JSP

2005-10-03 Thread Goo GGooo
On 10/4/05, Wendy Smoak wrote: From: Goo GGooo [EMAIL PROTECTED] An error occurred at line: 1 in the jsp file: /name.jsp Generated servlet error: UserData cannot be resolved or is not a type === Files webapps/tut/name.jsp and webapps/tut/WEB-INF/classes/UserData.java are attached.

Re: Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-03 Thread Bob Hall
No joy with -Djava.awt.headless=true; looks a rebuild of FOP on the target system... though that *really* does not make sense. - Bob --- Bob Hall [EMAIL PROTECTED] wrote: Thanks, David. I'll try that. If that doesn't do the trick I plan to build fop.jar from source on the target machine.

Re: Easy Servlet Question

2005-10-03 Thread Andrew Pierce
OK. This was a bit of a simple one. Found my answer with the help of a couple of folks on IRC. Please disregard. Andrew Pierce wrote: Hello. I realize this is about the stupidest question I could ask but, I've scoured the web, etc. and cannot get an easy example of making servlets actually

RE: Script to create tomcat service on windows?

2005-10-03 Thread Caldarale, Charles R
From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: Script to create tomcat service on windows? Do they still work? Yes, they still work. (It probably would have taken you less time to try it than to e-mail the question.) I've never seen a justifiable explanation of why the scripts

Re: log4j log viewer for tomcat

2005-10-02 Thread Leon Rosenberg
lf5 regards Leon On 10/2/05, matador [EMAIL PROTECTED] wrote: win200x tomcat 5.5.9 jdk 1.5.x log4j 1.2.9 (i think) standard log4j setup with logs going into logs dir under tomcat install. does anyone have any recommendations for a webapp or workaround that allows me to view these files.

Tomcat 5.5.9 bugs?

2005-10-02 Thread Schalk
Greetings All Does anyone know of bugs in the 5.5.9 release of Tomcat with regards to recompiling Jsp's or incorrectly send SQL statements? The reason I ask is, I do some development of Jsp's in Dreamweaver and use the synchronization utility to synchronize my local files with the files

FAQ? shutdown.bat not killing java process on Windows

2005-10-02 Thread Charles Fineman
I started Tomcat using startup.bat. Everything goes fine. I use shutdown.batto bring it down. The server fields the request and shuts down a bunch of services (as evidenced by the messages I see). Sure enough, the server no longer responds to any requests. Unfortunately, the java process does not

Re: Stopping users from getting a directory listing

2005-10-02 Thread Graham Reeds
Caldarale, Charles R wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of Graham Reeds Subject: Stopping users from getting a directory listing What is the setting in the web.xml for stopping users from getting a directory listing? I'm pretty sure I've seen it somewhere before but I

Getting tomcat instance information into webapp

2005-10-02 Thread David Kerber
This question is part tomcat and part java; I'm running on a Windows 2000 server. I have a situation where I am going to need to run multiple instances of tomcat on a single machine, listening on different ports, but running the same application and hitting a different instance of an

Re: Getting tomcat instance information into webapp

2005-10-02 Thread Kyle
I may be misunderstanding the question, but it seems to me that this shouldn't really be an issue. You have multiple instances of tamcat running. This means you will have multiple server.xml's (meaning multiple Engines in which you can set up your multiple realms and direct each different

Re: Getting tomcat instance information into webapp

2005-10-02 Thread David Kerber
Kyle wrote: I may be misunderstanding the question, but it seems to me that this shouldn't really be an issue. It's more likely that I don't know enought about tomcat to ask an intelligent question! You have multiple instances of tamcat running. This means you will have multiple

Re: MyServlet as default servlet in tomcat 5.0.27

2005-10-02 Thread Parsons Technical Services
Rename your war to ROOT.war and deploy it. Or you can manually deploy the app and point the default Host element to the new appBase location. Doug - Original Message - From: Partheeban Boopathy [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Friday,

How to logout after login with JDBCRealm?

2005-10-02 Thread 梁炳場
The webapp is enabled with JDBCRealm. After login, how to logout without closing the browser? Thnx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Getting tomcat instance information into webapp

2005-10-02 Thread Kyle
Ah! Yes. See! I did mention I wasn't an expert. :) Yes, multiple instances, in my outlaid scenario equates to multiple installs. Whereas, multiple running instances doesn't necessarily. Sorry. Let me have a think about that for an hour or 4. How do you tell tomcat which port to listen

RE: Re: Stopping users from getting a directory listing

2005-10-02 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Graham Reeds Subject: Re: Stopping users from getting a directory listing I tried copying the default servlet definitions and when that failed, the proceeding filters, to the application specific web.xml but that causes an exception to be

Stopping users from getting a directory listing

2005-10-01 Thread Graham Reeds
What is the setting in the web.xml for stopping users from getting a directory listing? I'm pretty sure I've seen it somewhere before but I can't for the life of me find where. Thanks, Graham Reeds. - To unsubscribe,

Re: combining form based authentication with https

2005-10-01 Thread Mark Thomas
Peddireddy Srikanth wrote: Hi all, I have a basic doubt If there are any resoursec which will me on this please point me towards them. I will carry on from there. My question is how to combine the form based authentication, where we use jsecuritycheck , jusername etc with https. As far as I

Re: wrapper.properties is existing?

2005-10-01 Thread Mark Thomas
Matson, Sunny (GE Healthcare) wrote: Hi All, Is there any wrapper.properties file we can write in Tomcat 5.5 which is equivalent to jserv.properties in Jserv. If it is, how should I write this file and where I need to place it. Don't know. What does it do? Mark

Re: Charset configurations for JSP pages

2005-10-01 Thread Mark Thomas
Mieke Banderas wrote: Mark Thomas said: Read the spec. Where in the spec? JSP.4 Internationalization Issues would seem to be a blinding obvious place to start. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Reg form based authentication

2005-10-01 Thread Mark Thomas
sree kanth wrote: Hi all, i have been developing on JSP's for the last one year,but still i have never implemented form based authentication. Can any one help me in implenting form based authentication? Thank you all Sreekanth Very basic example: Put login.jsp and error.jsp in the root of your

RE: Stopping users from getting a directory listing

2005-10-01 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Graham Reeds Subject: Stopping users from getting a directory listing What is the setting in the web.xml for stopping users from getting a directory listing? I'm pretty sure I've seen it somewhere before but I can't for the life of me

Re: Newb question - How to install TomCat on MacOS Tiger 10.4

2005-10-01 Thread Werner Punz
Thomas K. Cheriyan Jr. wrote: Hey guys, Im trying to get the latest version of TomCat on my laptop which has has MacOS Tiger 10.4. I have also installed the latest version of Java. I read the installation guide on the Jakarta site as well as many others online and they haven't worked at

log4j log viewer for tomcat

2005-10-01 Thread matador
win200x tomcat 5.5.9 jdk 1.5.x log4j 1.2.9 (i think) standard log4j setup with logs going into logs dir under tomcat install. does anyone have any recommendations for a webapp or workaround that allows me to view these files. the obvious ways (e.g. ftp, ssh, etc) are not an option. thx

Re: SQL Server 2000: JDBC

2005-09-30 Thread MERT EREN ÜSTÜNKAYA
Hei, I used to have that problem i am not sure but this happens when you dont close the connections i guess. Use sp_who STORED procedure to check the logged on users to SQL2000.. sree kanth wrote: Hello lalit, we too had the problem of connection reset by peer and then we changed the

Re: Tomcat Alone or tomcat+IIS/Apache

2005-09-30 Thread Peddireddy Srikanth
Dear Chuck, your mail is very informative. We r facing a similar issue in our organization :: Tomcat or Apache+tomcat. And the supporters of Apache+tomcat are arguing that as Apache/IIS can make use of native OS (windows inour case) libraries for thread management , memory mangement etc, they

Re: Tomcat Alone or tomcat+IIS/Apache

2005-09-30 Thread Mladen Turk
Peddireddy Srikanth wrote: And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. Is this argument a valid one or just a

Installing Tomcat 5.5 on Fedora 4 via Yum

2005-09-30 Thread Rob Hills
Hi All, I'm a relative newbie to Linux but I've successfully managed to get TC 5.0 up and running with Sun's JDK 1.5 after much Googling. I've also managed to do this using Yum (thanks to JPackage) so far to make it easier to keep things up to date. However, I've so far been unsuccessful in

Re: Tomcat Alone or tomcat+IIS/Apache

2005-09-30 Thread Leon Rosenberg
We had the same discussion a year ago, as we switched to tomcat 5 and was testing whether we do need apache in front of it. Actually the only advantage for this solution left were apache mods like url-rewriting - http://mydomain - http://mydomain/myapp/mypath - better for some search engines and

RE: SQL Server 2000: JDBC

2005-09-30 Thread Karasek-XID, Nicolas
-Original Message- From: sree kanth [mailto:[EMAIL PROTECTED] Sent: vendredi 30 septembre 2005 05:27 To: Tomcat Users List; Lalit Batra Subject: Re: SQL Server 2000: JDBC Hello lalit, we too had the problem of connection reset by peer and then we changed the Driver.Now we are using

RE: session state preserved across different applications

2005-09-30 Thread Michal Kwiatek
Thanks a lot Bernhard, this is a pretty complete explanation! Michał. -Original Message- From: Bernhard Slominski [mailto:[EMAIL PROTECTED] Sent: Thursday, September 29, 2005 6:25 PM To: 'Tomcat Users List' Subject: AW: session state preserved across different applications Hi

Re: Asking Again: 5.5.12 Broke my 5.5.9 Config

2005-09-30 Thread Remy Maucherat
On 9/30/05, Bob Bronson [EMAIL PROTECTED] wrote: Hi all, I asked this question a couple days ago but received no helpful responses. I thought I'd try one more time. If anyone has had experience with this, please let me know. Thanks... I've just tried to upgrade from TC v5.5.9 to

TC 5.5.9 and IIS 6.0 connection

2005-09-30 Thread Julien Barnier
Hi to all, I have a problem trying to connect IIS 6.0 with Tomcat 5.5.9 using the 1.2.14 version of the isapi_redirect.dll file. (Yes, I know, I should really better connect it to Apache, and if I could I am sure I wouldn't have lost so many hours on this... Excuse me for this off-topic

Monitor and restart tomcat

2005-09-30 Thread Matteo Turra
Hi, I would like to write a monitoring script (linux shell) checking tomcat is alive and use the result to shutdown and restart tomcat if it does not respond. How can I detect if Tomcat is running? Kill proccess or shutdown? Thanks in advance. Matteo.

RE: Monitor and restart tomcat

2005-09-30 Thread Matteo Turra
More: if I use jsvc to launch tomcat as daemon, does jsvc -check provide information abuot tomcat status? -Original Message- From: Matteo Turra Sent: venerdì 30 settembre 2005 11.57 To: tomcat-user@jakarta.apache.org Subject: Monitor and restart tomcat Hi, I would like to

Apache and IIS

2005-09-30 Thread BAHLR2
I am trying to link Apache and IIS. I had already linked Apache and Tomcat for processing .jsp files. Now I want to run .asp and /or .htm files having in-code asp. Simple solution will do. I already tried LoadFile Perl58.dll available under Perl home and LoadModule mod_perl.so in httpd.conf. I am

FW: Apache and IIS

2005-09-30 Thread Raghupathy,Gurumoorthy
Proxy is may be on of the solution http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypass http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypassreverse Regards Guru -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 September 2005 11:59 To:

RE: Apache and IIS

2005-09-30 Thread BAHLR2
I want Apache to server .asp files, if possible rather than having IIS server to serve .asp files. -Original Message- From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: 30 September, 2005 4:32 PM To: 'Tomcat Users List' Subject: FW: Apache and IIS Importance: High Proxy is may

Reg form based authentication

2005-09-30 Thread sree kanth
Hi all, i have been developing on JSP's for the last one year,but still i have never implemented form based authentication. Can any one help me in implenting form based authentication? Thank you all Sreekanth

Re: Apache and IIS

2005-09-30 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: I want Apache to server .asp files, if possible rather than having IIS server to serve .asp files. Look for mod_asp, there are actually several implementations, ChillySoft was one of them, if memory serves. I think they are all based on mod_perl, so have that

<    1   2   3   4   5   6   7   8   9   10   >