Re: VERY VERY URGENT!!! PLEASE HELP!!!
- Original Message - From: Jayashree Gopal [EMAIL PROTECTED] Hello, I have Tomcat version 4.0 installed which supports servlet 2.3 API and JSP 1.2 specifications. I am writing a servlet which creates a session and includes the username and password inside this session. I am passing the session ID to the other html pages generated thru a servlet. However when i try to compile the first servlet which creates a session,It gives me a compilation error at the putAttribute() methods. The putAttribute() method is a replacement No, setAttribute is, check out the API: http://java.sun.com/j2ee/sdk_1.3/techdocs/api/index.html for the putValue() method in Servlet 1.2. Is not putValue is deprecated, although the compiler will print a warning about using a deprecated API during compiliation (but won't prevent it). servlet.jar in tomcat 4.0 the servlet 2.3 .class files. Please let me know how do i rectify this error. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: VERY VERY URGENT!!! PLEASE HELP!!!
On Thu, 20 Dec 2001, Jayashree Gopal wrote: Date: Thu, 20 Dec 2001 00:15:01 -0800 (PST) From: Jayashree Gopal [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: VERY VERY URGENT!!! PLEASE HELP!!! Hello, I have Tomcat version 4.0 installed which supports servlet 2.3 API and JSP 1.2 specifications. I am writing a servlet which creates a session and includes the username and password inside this session. I am passing the session ID to the other html pages generated thru a servlet. However when i try to compile the first servlet which creates a session,It gives me a compilation error at the putAttribute() methods. The putAttribute() method is a replacement for the putValue() method in Servlet 1.2. Is not servlet.jar in tomcat 4.0 the servlet 2.3 .class files. Please let me know how do i rectify this error. You probably have the wrong servlet.jar file in your CLASSPATH at compile time. It should be the one that came with Tomcat 4. Note that this is totally independent of what Tomcat actually uses when it runs. Thanks! Jayashree. Craig -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: VERY VERY URGENT!!!!
1. I want the Jakarta service keep functioning when an user logoff from NT (now it is stopping). Start -Settings -Control Panel -Services -Jakarta -Settings (or something like that) -Run as... Enter administrator and the admin password. Then it will run as admin and continue when you log off. NOTE: If the admin password is changed the services will not start until the password is changed as above to match. This is because NT doesn't really have suid root. Justin. -- You're only jealous cos the little penguins are talking to me. *** For more information on Ordnance Survey products and services, visit our web site at http://www.ordnancesurvey.co.uk *** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: VERY VERY URGENT!!!!
I would suggest that you read the mailing list archives, since this is a common problem with an easy solution (even though those presented so far are not correct). Hint, it involves editing the wrapper.properties file to include the command line switch that Sun provides to avoid this feature from JDK 1.3.0. Randy -Original Message- From: Lauer, Oliver [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 8:40 AM To: 'Tomcat Users List' Subject: AW: VERY VERY URGENT Yes, I start it as administrator and it stays alive even if I log off. AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148 31277 Fax: +49 221 148 43963 Mobil: +49 179 59 064 59 e-Mail: [EMAIL PROTECTED] _ -Ursprüngliche Nachricht- Von: Teinert, Arndt [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 19. Dezember 2001 14:36 An: 'Tomcat Users List' Betreff: AW: VERY VERY URGENT Hi, you can control the session-timeout via the web.xml file: web-app ... session-config session-timeout10/session-timeout /session-config ... /web-app this sets session timeout to 10 minutes. You can also use: HttpSession.getMaxInactiveInterval(); With the service problem: Perhaps you have to modify the rights for the user who starts the service. Perhaps its enough to start the service as an administrator. Bye Arndt -Ursprungliche Nachricht- Von: Catalin [mailto:[EMAIL PROTECTED]] Gesendet: Wednesday, December 19, 2001 10:14 PM An: [EMAIL PROTECTED] Betreff: VERY VERY URGENT Hi to all! I have an problem and I'm running out of time: I have an jakarta-tomcat-3.3-m4 running as an service on an NT 4.0 server. 1. I want the Jakarta service keep functioning when an user logoff from NT (now it is stopping). 2. I want to set the timeout of the session to 1 hour or more (now, if I let any webappication open without doing nothing, after 30 minutes I loose the server session and all the variables from it). Thanks 2 all for any suggestion you may have! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht ist ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen. For legal and security reasons the information provided in this e-mail is not legally binding. Upon request we would be pleased to provide you with a legally binding confirmation in written form. Any form of unauthorised use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. This message is exclusively for the person addressed or their representative. If you are not the intended recipient of this message and its contents, please notify the sender immediately. --- -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: VERY VERY URGENT!!!!
Can't comment on #1 but #2 is set in your Web Apps war file. From: Catalin [EMAIL PROTECTED] Organization: Quattrosoft International Reply-To: Tomcat Users List [EMAIL PROTECTED] Date: Wed, 19 Dec 2001 15:14:28 -0800 To: [EMAIL PROTECTED] Subject: VERY VERY URGENT Hi to all! I have an problem and I'm running out of time: I have an jakarta-tomcat-3.3-m4 running as an service on an NT 4.0 server. 1. I want the Jakarta service keep functioning when an user logoff from NT (now it is stopping). 2. I want to set the timeout of the session to 1 hour or more (now, if I let any webappication open without doing nothing, after 30 minutes I loose the server session and all the variables from it). Thanks 2 all for any suggestion you may have! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: VERY VERY URGENT!!!!
#1) This is a well documented problem with sun's jdk. Have a look on their website, the bottom line is that you need a new jdk Dave -Original Message- From: Hunter Hillegas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 11:43 AM To: Tomcat User List Subject: Re: VERY VERY URGENT Can't comment on #1 but #2 is set in your Web Apps war file. From: Catalin [EMAIL PROTECTED] Organization: Quattrosoft International Reply-To: Tomcat Users List [EMAIL PROTECTED] Date: Wed, 19 Dec 2001 15:14:28 -0800 To: [EMAIL PROTECTED] Subject: VERY VERY URGENT Hi to all! I have an problem and I'm running out of time: I have an jakarta-tomcat-3.3-m4 running as an service on an NT 4.0 server. 1. I want the Jakarta service keep functioning when an user logoff from NT (now it is stopping). 2. I want to set the timeout of the session to 1 hour or more (now, if I let any webappication open without doing nothing, after 30 minutes I loose the server session and all the variables from it). Thanks 2 all for any suggestion you may have! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: very very urgent!!!
Rasika: Please see Tomcat development documentation in jakarta-tomcat\doc\appdev. It has excellent approach to build your servlet/jsp applications. In short you should make a directory for your application. Say c:\test\cusinf where cusinf is the application. cd test\cusinf mkdir src mkdir etc mkdir lib mkdir web copy/build web.xml into etc ( See sample directory listed in documentation) copy/build build.xml and build.bat files for compilations in c:\test\cusinf area copy your servlet java files into src run build.bat file in the c:\test\cusinf It should build the applications move your directory tree into webapps. Cheers, Rk From: "Rasika" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: very very urgent!!! Date: Thu, 16 Nov 2000 11:43:28 +0800 I have installed Apache3.1 and TOMCAT 3.1 Inside Apache\donf\httpd.conf I have included reference to tomcat-apache.conf file. I have also downloaded apachemodulejserv.dll But I'm not able to run my servlets stored inside tomcat\webapps\root\web-inf\classes directory. I'm able to run servlets created inside tomcat\webapps\examples\web-inf\classes directory. Please tell me what configuration I need to do in order to run servlets from tomcat root??? Thanks. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.