RE: Multiple Webbapps, single login.jsp??

2005-12-30 Thread Daniel Blumenthal
Why would you want separate webapps for this? Why not one webapp, one login page, and then one (or more) screens with content created dynamically based on the login ID? > -Original Message- > From: Rob Hills [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 31, 2005 12:39 AM > To: Tom

RE: Multiple Webbapps, single login.jsp??

2005-12-30 Thread Daniel Blumenthal
Yes you can, but the problem is that each webapp is going to have a different session object. There are a couple of ways you can get around this, each of which would take a little bit of code (but not necessarily a huge amount). The first step would be to create a very simple webapp - all it woul

Re: Multiple Webbapps, single login.jsp??

2005-12-30 Thread Rob Hills
Hi Mark, On 30 Dec 2005 at 13:12, Mark Thomas wrote: > Rob Hills wrote: > > Hi All, > > > > In July 2004, Jonathan asked the question above and described my > > problem exactly: > > > > "Is it possible to use a single login.jsp for multiple webapps? > > Yes and no. You only have to write it

Re: Multiple Webbapps, single login.jsp??

2005-12-30 Thread vineesh kumar
It's not possible for u to simply write an index.jsp which automatically redirect the user to the login page? regards vineesh On 12/30/05, DeFreitas, Nigel <[EMAIL PROTECTED]> wrote: > Also, look up the JSTL import directive - it let's you include a > resource from the same web application, a

HAPPY NEW YEAR

2005-12-30 Thread Nehal Sangoi
Wishing everyone in Tomcat Group, a very Happy and Prosperous New Year 2oo6. Regards, Nehal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat not displaying (or logging) runtime exceptions for STRUTS !!

2005-12-30 Thread bana lakshmi narayana reddy
first copy the sturts related .jar files in /WEB-INF/lib folder and set the environment path... and try in this way it resolves the problem Mon Cab <[EMAIL PROTECTED]> wrote: Please help. It seems that Tomcat is no longer displaying (or logging) runtime errors. I have in a jsp, and no ta

Re: Suggestion for SSL

2005-12-30 Thread Bill Barker
"Jack , Zhan Hua Ping" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > buddy, > > Please don't hate me too much. I don't know how to organize messages into > a thread for a mail list. > So you must have seen many related messages not organized from me. > > I have a suggestion

Re: tomcat error

2005-12-30 Thread Martin Gainty
Good Evening James- If you do not set $catalina_base then $catalina_base defaults to $catalina_home $catalina_tmpdir is supposed to default to $catalina_base/temp but I would need confirmation on which versions support that (BEST practice says specifically set all these variables in your .profi

Tomcat not displaying (or logging) runtime exceptions for STRUTS !!

2005-12-30 Thread Mon Cab
Please help. It seems that Tomcat is no longer displaying (or logging) runtime errors. I have in a jsp, and no tags surrounding this. If I call this jsp without the var parameter, Tomcat just returns a page with the following source: Thats it! No exceptions or anything! So theres no

Re: Getting list of all deployed web applications

2005-12-30 Thread Martin Gainty
Good Call- Thanks Bill, Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribu

Re: Help me to run tomcat in cygwin.

2005-12-30 Thread Hassan Schroeder
Andrew.du wrote: > How to? Just Do It :-) Seriously, what's the question? Set CATALINA_HOME, JAVA_HOME, use $CATALINA_HOME/bin/catalina.sh instead of catalina.bat. That should be all it takes... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-

Re: users Digest of: get.137891

2005-12-30 Thread Marco Rossi
Hi Warren, Thanks for your script in tomcat users archive. I'm using a plain fedora core 4 with shipped tomcat 5.0.30. Due to jdk release problems mentioned in Fedora Core realese note (RPM Package from SUN overlap namespaces in fedora: I prefer reading it, Fedora overlaps names of Sun sdk rp

RE: Help me to run tomcat in cygwin.

2005-12-30 Thread George Sexton
More to the point, why would you want to do this? George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Andrew.du [mailto:[EMAIL PROTECTED] > Sent: Friday, December 30, 2005 3:45 AM > To: users@tomcat.apache.org > Subject: Help me

Suggestion for SSL

2005-12-30 Thread Jack , Zhan Hua Ping
Hi, buddy, Please don't hate me too much. I don't know how to organize messages into a thread for a mail list. So you must have seen many related messages not organized from me. I have a suggestion. Somebody really understand Tomcat, please write an article about SSL on tomcat discussing the

Solution for SSL on tomcat

2005-12-30 Thread Jack , Zhan Hua Ping
The problem result from native code. For windows: delete tcnative_1.dll under bin. Then you will see much log information. so you have to indicate the keystoreFile. After that, everything is OK. On http://issues.apache.org/ with url: http://issues.apache.org/bugzilla/show_bug.cgi?id=37455 Th

ssl on tomcat

2005-12-30 Thread Jack , Zhan Hua Ping
Hi, buddy, Sorry to bother you. You said that you can use ssl on tomcat. However, for me, it doesn't work. I set http on 80 or 8080, doesn't matter. then I uncommented the ssl connector, and i generate the self-signed certificate in default keystore with keytool. then https://localhost/ no c

unprotected data transfer on SSL port

2005-12-30 Thread Jack , Zhan Hua Ping
Hi, everyone, SSL connector is defined on 8443 for my tomcat 5.5.12. https://localhost:8443/ no response for long time, however, http://localhost:8443/ I got everything, same as http://localhost/ [EMAIL PROTECTED] _ Don't just Se

SSL causes Exception

2005-12-30 Thread Jack , Zhan Hua Ping
Thank you for reading this and trying to help me. This morning, I checked log again, I found one, the only one: in stdout_20051228.log Exception in thread "http-8443-2" java.lang.IllegalMonitorStateException: current thread not owner at java.lang.Object.notifyAll(Native Method)

SSL problem on 5.5.12

2005-12-30 Thread Jack , Zhan Hua Ping
Hi, guys, Thank you for your time to read this & trying to help me! I followed the instruction of SSL Howto. my http on 80, uncomment ssl connector, keep on 8443. I create a selfsigned tomcat in the default keystore as required. restart tomcat, https://127.0.0.1:8443/ https://192.168.1.99:8443

2 mistakes in 5.5.12 document

2005-12-30 Thread Jack , Zhan Hua Ping
1. http://192.168.1.99/tomcat-docs/config/realm.html at the end of the file, when it is talking about users definition file. the attribute names: name password roles The "name" should be changed to "username". 2. http://192.168.1.99/tomcat-docs/realm-howto.html Under MemoryRealm section, there

RE: Multiple Webbapps, single login.jsp??

2005-12-30 Thread DeFreitas, Nigel
Also, look up the JSTL import directive - it let's you include a resource from the same web application, a separate web application in the same container, or an external server using HTTP (URL). Nigel -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, December 3

Re: Shutting down tomcat from Servlet

2005-12-30 Thread Wolfgang Egger
Servus Mark, Mark Thomas schrieb: > I am guessing that you haven't flushed and closed the output stream > >before calling System.exit() The following code works without error >for me. > > Thanks a lot!!!, it works for me too Wolfgang --

Re: Multiple Webbapps, single login.jsp??

2005-12-30 Thread Mark Thomas
Rob Hills wrote: > Hi All, > > In July 2004, Jonathan asked the question above and described my problem > exactly: > > "Is it possible to use a single login.jsp for multiple webapps? Yes and no. You only have to write it once but it must be deployed with each webapp. You should be able to use

Re: Shutting down tomcat from Servlet

2005-12-30 Thread Mark Thomas
Wolfgang Egger wrote: > Servus, > > I have a web-application, running from CD-ROM and I want the user to > stop tomcat by klicking a link within this web-app. Tomcat is started as > a embedded version from a Java-Application, but I don't want, that this > start-application has a GUI. The only GUI

Re: Cluster Administration - Hitless upgrade

2005-12-30 Thread Wolfgang Hackl
> I would like to remove a Tomcat node from the cluster without first > shutting it down to allow any requests in progess to complete. Is it > possible to instruct Apache to stop routing requests to the node and > failover another node yet allow all requests in progress to complete. You can do th

Multiple Webbapps, single login.jsp??

2005-12-30 Thread Rob Hills
Hi All, In July 2004, Jonathan asked the question above and described my problem exactly: "Is it possible to use a single login.jsp for multiple webapps? Basically I have a V-Domain setup using /www/mydomain.com/ as it's docroot. I want to deploy multiple web apps (forums app, image galle

Shutting down tomcat from Servlet

2005-12-30 Thread Wolfgang Egger
Servus, I have a web-application, running from CD-ROM and I want the user to stop tomcat by klicking a link within this web-app. Tomcat is started as a embedded version from a Java-Application, but I don't want, that this start-application has a GUI. The only GUI I want to present the user, is the

Help me to run tomcat in cygwin.

2005-12-30 Thread Andrew.du
How to? Thanks. -- [EMAIL PROTECTED]

GET request instead of POST

2005-12-30 Thread khan.sajid
Hi All, We are using Apache as the web server and tomcat as the servlet container using mod_jk.From the applets we are making HttpURLConnection to a servlet using POST method ( we set using setRequestMethod("POST") of HttpURLConnection). In the servlet,we have implemented the doPost method and in