Very very urgent, tomcat 4.1.17, JDBC cannot load

2003-02-17 Thread Nandish A
Hi all,
I have a application and i created a war file using jar -cf JSPCode.war *, 
and put it in the webapps folder. when i started the tomcat(4.1.17) the war was self 
extracted. in the server.xml i have the context as listed below
 Context path=\JSPCode docBase=JSPCode appBase=webapps 
cachingAllowed=true 
charsetMapperClass=org.apache.catalina.util.CharsetMapper 
cookies=true 
crossContext=false debug=0  privileged=true reloadable=false 
swallowOutput=false useNaming=true
Resource name=jdbc/CGS auth=SERVLET
type=javax.sql.DataSource/
  Resource name=jdbc/CGS auth=Container type=javax.sql.DataSource/
  ResourceParams name=jdbc/CGS
parameter
   namefactory/name
   valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
/parameter
parameter
   namemaxActive/name
   value5000/value
/parameter
parameter
   namemaxIdle/name
   value5000/value
/parameter
parameter
   namemaxWait/name
   value1000/value
/parameter
parameter
   nameusername/name
   valuemetauser/value
/parameter

parameter
   namepassword/name
   valuemetauser/value
/parameter
parameter
   namedriverClassName/name
   valuesun.jdbc.odbc.JdbcOdbcDriver/value
/parameter
 parameter
nameurl/name
valuejdbc:odbc:metauser/value
 /parameter
  /ResourceParams
/Context i am on windows 95, when i enter the url 
http://localhost:8080/JSPCode/MainPage.jsp; teh page open but says cannot load the 
JDBC Driver and never connects to the DB
Please help very urgent, 
thanks to all

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




VERY VERY URGENT!!! PLEASE HELP!!!

2001-12-20 Thread Jayashree Gopal

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.

Thanks!
Jayashree.



=
Best Regards,
Jayashree

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: VERY VERY URGENT!!! PLEASE HELP!!!

2001-12-20 Thread James Williamson


- 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!!!

2001-12-20 Thread Craig R. McClanahan



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]




VERY VERY URGENT!!!!

2001-12-19 Thread Catalin



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]




AW: VERY VERY URGENT!!!!

2001-12-19 Thread Teinert, Arndt

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]




RE: VERY VERY URGENT!!!!

2001-12-19 Thread Justin Rowles

 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]




AW: VERY VERY URGENT!!!!

2001-12-19 Thread Lauer, Oliver

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]




RE: VERY VERY URGENT!!!!

2001-12-19 Thread Randy Layman


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!!!!

2001-12-19 Thread Hunter Hillegas

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!!!!

2001-12-19 Thread Dave Cramer

#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]




very very urgent!!!

2000-11-15 Thread Rasika



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. 


Re: very very urgent!!!

2000-11-15 Thread Rama Venkata Kunapuli


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.