cross webapp access in Tomcat 5.x

2004-07-22 Thread Keshav Sarin
Is there a way to get access (e.g. forward request to a resource) to one webapp from another webapp deployed on the same TC server? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

URL forwarding in TC 5

2004-07-19 Thread Keshav Sarin
Can a URL be forwarded/redirected in TC5? E.g. If someone is trying to connect to a webapp called web1 on TC5, can I forward the request to another webapp called web2? Thanks Keshav - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: URL forwarding in TC 5

2004-07-19 Thread Keshav Sarin
would in any other servlet container (using a filter or servlet mapped to web1 which does response.sendRedirect to web2). Yoav Shapira Millennium Research Informatics -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Monday, July 19, 2004 1:19 PM To: [EMAIL PROTECTED

Tomcat 5 fails on serialized objects

2004-07-14 Thread Keshav Sarin
I have a class that implements Serializable. This class is put in a web app deployed under TC. when the webapp is accessed via a browser, an instance of this class is placed in the web session by the webapp. If an active session contains an instance of this class and if TC is restarted, when

RE: Tomcat 5 fails on serialized objects

2004-07-14 Thread Keshav Sarin
The error is inside the webapp. The error message is following: 20040714 01:43:46 ERROR - Exception Message [java.lang.NoClassDefFoundError at com.xxx.Manager.getUser(Manager.java:525) Line 525 in Manager.java has the following code: User user = new User(); The class User is a java bean

RE: Tomcat 5 fails on serialized objects

2004-07-14 Thread Keshav Sarin
a ClassNotFoundException. Is the CNFE in your own code? If so post the relevant chunk. Yoav Shapira Millennium Research Informatics -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 3:25 PM To: [EMAIL PROTECTED] Subject: Tomcat 5 fails on serialized objects I

Re: HTTPS on Tomcat

2004-03-12 Thread Keshav Sarin
You need to change the security constraint settings in the web.xml of the application that needs redirection. Read the web.xml DTD for more information. [EMAIL PROTECTED] 03/11/04 07:37PM Hi, I wanted to have the default page running on 80 port and when the user logs in, I need him to be

Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Keshav Sarin
Put the database driver in tomcat_home/common/lib directory and restart tomcat. [EMAIL PROTECTED] 02/02/04 09:35AM Hi , I am getting the following error in JDBC conn. Error log and other details are as follows: Please help !! Regards Abhay

RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Keshav Sarin
' Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT Importance: High Path of the dB driver is as follows: Still the same error C:\Tomcat\common\lib\ojdbc14.jar Abhay -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10

Re: Starting tomcat using ant

2004-01-28 Thread Keshav Sarin
It works, thanks for your help. [EMAIL PROTECTED] 01/27/04 04:57PM -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Keshav Sarin wrote: | Does anyone know how to start tomcat 5 using ant target? I do this: ~ target name=server.start depends=init ~ exec dir=${tool.tomcat} executable

Starting tomcat using ant

2004-01-27 Thread Keshav Sarin
Does anyone know how to start tomcat 5 using ant target? Thanks Keshav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: http to https how ?

2004-01-14 Thread Keshav Sarin
True. There should be http-method entry for each protected http method. [EMAIL PROTECTED] 01/14/04 06:24AM Did you know that specifying GET and POST means that the other http methods like DELETE and PUT will not be secure? On 01/13/2004 04:53 PMnbsp;Keshav Sarin wrote: Another way to secure

RE: RTFM

2004-01-14 Thread Keshav Sarin
Have you tried clearing the session before redirecting? [EMAIL PROTECTED] 01/14/04 03:41PM Hi, Yes, I have tried all manner of things - client and server. The problem is that while the desired destination URL is oresent in the address bar, the session remains from the original. Hence a

RE: http to https how ?

2004-01-13 Thread Keshav Sarin
Another way to secure resources is to define them in web.xml. Usually this setting has worked for me. security-constraint web-resource-collection web-resource-nameapp or resource name/web-resource-name url-pattern/*/url-pattern !-- define all url patterns that need

Re: MM:Tomcat with SSL

2004-01-13 Thread Keshav Sarin
Look for a .keystore file under the home directory of the user that generated the key. Make sure Tomcat is started by the same user. [EMAIL PROTECTED] 01/13/04 09:01AM GlacierDear guys; - I have Java 2 SDK 1.4.2 that come with JSSE - Apache Tomcat version 4.1 - I'm using Windows environment

RE: MM:Tomcat with SSL

2004-01-13 Thread Keshav Sarin
, and it starts by the same user. I'm doing all of this stuff on my own PC. Thanks Mohammad Musleh Software Architect and Developer Computer Science Dept., MUM Fairfield, IA 52557 USA Phone: (641) 472 7000 x 4326 -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Tuesday, January

RE: MM:Tomcat with SSL

2004-01-13 Thread Keshav Sarin
.CoyoteServerSocketFactory clientAuth=false protocol=TLS / /Connector Thanks Mohammad Musleh Software Architect and Developer Computer Science Dept., MUM Fairfield, IA 52557 USA Phone: (641) 472 7000 x 4326 -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Tuesday

RE: MM:Tomcat with SSL

2004-01-13 Thread Keshav Sarin
52557 USA Phone: (641) 472 7000 x 4326 -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 11:18 AM To: [EMAIL PROTECTED] Subject: RE: MM:Tomcat with SSL What version of Tomcat are you using? [EMAIL PROTECTED] 01/13/04 09:37AM Hi; Yes, when I

RE: MM:Tomcat with SSL

2004-01-13 Thread Keshav Sarin
) 472 7000 x 4326 -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 11:53 AM To: [EMAIL PROTECTED] Subject: RE: MM:Tomcat with SSL Try copying jsse.jar to the %tomcat_home%\common\lib folder. May be the jsse.jar is not seen by tomcat. [EMAIL

RE: MM:Tomcat with SSL

2004-01-13 Thread Keshav Sarin
is SEVERE: Error initializing endpoint java.io.IOException: Cannot recover key ... Mohammad Musleh Software Architect and Developer Computer Science Dept., MUM Fairfield, IA 52557 USA Phone: (641) 472 7000 x 4326 -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent

RE: Datasource - OK in app context - Fails in Global context

2004-01-12 Thread Keshav Sarin
on 5.0. If a developer wants to investigate and fix this flaw I'd be happy to do some test deploys to troubleshoot, if not, the workaround works just fine. Bruno. -Original Message- From: ext Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 4:23 PM To: [EMAIL PROTECTED

RE: Datasource - OK in app context - Fails in Global context

2004-01-12 Thread Keshav Sarin
interacts with the database on initialization. Which is why I got into the habit of shutting down before deploying, when a database is involved. -Original Message- From: ext Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 9:25 AM To: [EMAIL PROTECTED] Subject: RE

RE: communication issue between .jsp and servlet

2004-01-12 Thread Keshav Sarin
Try using request.getSession(false)...in the servlet and JSP. [EMAIL PROTECTED] 01/12/04 12:28PM session is an implicit object in a JSP page. Therefore, you should just reference session rather than getting it. Perhaps the get is creating a new session. Merrill

Re: Datasource - OK in app context - Fails in Global context

2004-01-09 Thread Keshav Sarin
Have you defined a reference to the global resource in the ResourceLink element of the application context ? [EMAIL PROTECTED] 01/09/04 10:38AM I have an Oracle JDBC datasource that I defined in the Tomcat5 context for an application (conf/Catalina/localhost/nwg.xml). Works fine, context file

RE: Datasource - OK in app context - Fails in Global context

2004-01-09 Thread Keshav Sarin
hair on this issue for almost a month. Bruno -Original Message- From: ext Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 3:22 PM To: [EMAIL PROTECTED]; Melloni Bruno (Nokia-BI/Dallas) Subject: Re: Datasource - OK in app context - Fails in Global context Have you

Invoking script from TC 5.0.16

2004-01-08 Thread Keshav Sarin
I have configured TC 5.0.16 on Linux. In a JSP, using RunTime.exec(), I'm trying to run a bash script that changes the mode of a file. I get the following exception in the logs: java.io.IOException: chmod : not found. If the chmod line is commented in the script or when the script is run from