URGENT! PLEASE..

2002-01-10 Thread Catalin



I have a jakarta tomcat 3.3m4 with an web apps with servlets. How can
I do to "tell " to my web app where is "javax" package (not to put it
everytime to \web-inf\classes)?

10x 2 all


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Urgent: Please Help!

2002-10-24 Thread Katsutoshi Rachi
Dear Sir/Madam,

We are running into setup problem when trying to run tomcat 4.0.3 with
IIS 5.0 on W2K Professional. The error message inside IIS log is

#Software: Microsoft Internet Information Services 5.0
#Version: 1.0
#Date: 2002-10-24 11:46:44
#Fields: time c-ip cs-method cs-uri-stem sc-status 
11:46:44 127.0.0.1 GET /jakarta/isapi_redirector.dll 401

We have tried many different versions on different machines. Some
machines accept tomcat 3.2.3 with IIS 5.0. But most of the newer
machines do not accept tomcat IIS combination.

This is very important to have smooth integration of both for our
project.

Please help. If you need more information to help us, please let us know.

Best Regards,

Rachi






--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Urgent!!Please Help!

2002-07-22 Thread Renato Romano

I find several occurrences of the following stackTrace in my
catalina_log_-MM-DD.txt log file; does someone know what causes it ?
Many Thanks

2002-07-22 12:09:18 HttpProcessor[80][14] process.invoke
java.lang.NullPointerException
at
org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherVa
lve.java:291)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:
368)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:1011)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
1106)
at java.lang.Thread.run(Thread.java:484)



Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial Al Molo Giano
16127 - GENOVA - ITALY

e-mail: [EMAIL PROTECTED]
Tel.:   +39 10 2712603
_


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: URGENT! PLEASE..

2002-01-10 Thread Larry Isaacs

What "javax" classes are you trying to access?

There are a lot of jars that include the javax package and
a lot of classes "under" this package.  servlet.jar contains
"javax.servlet" and is already available to all web
applications since is is located in lib/common.

Cheers,
Larry

> -Original Message-
> From: Catalin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 10, 2002 9:00 PM
> To: [EMAIL PROTECTED]
> Subject: URGENT! PLEASE..
> 
> 
> 
> 
> I have a jakarta tomcat 3.3m4 with an web apps with servlets. How can
> I do to "tell " to my web app where is "javax" package (not to put it
> everytime to \web-inf\classes)?
> 
> 10x 2 all
> 
> 
> --
> 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: URGENT! PLEASE..

2002-01-10 Thread Jean-Luc BEAUDET

Catalin a écrit :

> I have a jakarta tomcat 3.3m4 with an web apps with servlets. How can
> I do to "tell " to my web app where is "javax" package (not to put it
> everytime to \web-inf\classes)?
>
> 10x 2 all
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 

Well, could yu please be more explicit ?

Which env are yu runnin' under ?

Which javax classes ?

:O)



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: URGENT! PLEASE..

2002-01-10 Thread Mike Curwen

If you put the classes into the /lib directory, they should be
picked up when Tomcat is started.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Luc BEAUDET
Sent: Thursday, January 10, 2002 10:25 AM
To: Tomcat Users List
Subject: Re: URGENT! PLEASE..


Catalin a écrit :

> I have a jakarta tomcat 3.3m4 with an web apps with servlets. How can
> I do to "tell " to my web app where is "javax" package (not to put it
> everytime to \web-inf\classes)?
>
> 10x 2 all
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>

Well, could yu please be more explicit ?

Which env are yu runnin' under ?

Which javax classes ?

:O)



--
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: URGENT! PLEASE..

2002-01-10 Thread John M. Corro

You can place the jar package under "\web-inf\lib" if you want available to
that application only or you could also place it in the \lib
directory for all apps under Tomcat to access it.

Btw, what does "10x2 all" mean??

- Original Message -
From: "Catalin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 10, 2002 8:00 PM
Subject: URGENT! PLEASE..


>
>
> I have a jakarta tomcat 3.3m4 with an web apps with servlets. How can
> I do to "tell " to my web app where is "javax" package (not to put it
> everytime to \web-inf\classes)?
>
> 10x 2 all
>
>
> --
> 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: URGENT! PLEASE..

2002-01-10 Thread Justin Rowles

> Btw, what does "10x2 all" mean??

It means "thanks" as in "ten-x" (say it, then realise how lame it is).

I worry about the mental health of people who use that sort of thing
myself... ;-)

J.
-- 
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:   
For additional commands: 
Troubles with the list: 




URGENT !!! Please HELP !!!

2001-11-21 Thread Renato Romano

Hi,
I succesfully configured my webapp for login authentication, but I get
a "Page not Found" Error, when a user access DIRECTLY the login page,
(and not a protected area!!) and correctly gives his username and
password. Probably Tomcat simply doesn't know WHERE to forward the
user, because he didn't request a protected page!!
When using Tomcat 3.2 I solved this by looking at the
"tomcat.auth.originalLocation" parameter in the session object, and
then defining a "default" value for this attribute when it was not
set.
How to do this with Tomcat 4 ?? 
Thanks.
Renato


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Urgent please respond

2001-06-27 Thread Suresh Krishna M (RBIN/DBA-JOT)

Hello ALL,
  I have a problem regarding the Runtime.getRuntime().exec().
  I am trying to run a .bat file in a separate machine(the batch
file is in a separate machine in the same domain and i mapped the machine
with the batch file folder as T:\\).but when i use this
Runtime.getRuntime().exec("t:\\xxx.bat" ); The commands in the batch file
are running in my machine.But i dont wan't this.I want to run the batch file
in the machine where it is.
  Or is there any way on WINNT that my java program sitting on
machine A will be able to stop a specified process on the machine B/machine
C.It is understood that machine A's user will have the administrative powers
on Machine B,C.

  Please Help me...

Thanx in advance






RE: Urgent: Please Help!

2002-10-24 Thread Turner, John

In order to use Tomcat with IIS, you need a file called
isapi_redirector.dll.  Do you have this file?

John

> -Original Message-
> From: Katsutoshi Rachi [mailto:rachi@;imageone.co.jp]
> Sent: Thursday, October 24, 2002 7:56 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Urgent: Please Help!
> 
> 
> Dear Sir/Madam,
> 
> We are running into setup problem when trying to run tomcat 4.0.3 with
> IIS 5.0 on W2K Professional. The error message inside IIS log is
> 
> #Software: Microsoft Internet Information Services 5.0
> #Version: 1.0
> #Date: 2002-10-24 11:46:44
> #Fields: time c-ip cs-method cs-uri-stem sc-status 
> 11:46:44 127.0.0.1 GET /jakarta/isapi_redirector.dll 401
> 
> We have tried many different versions on different machines. Some
> machines accept tomcat 3.2.3 with IIS 5.0. But most of the newer
> machines do not accept tomcat IIS combination.
> 
> This is very important to have smooth integration of both for our
> project.
> 
> Please help. If you need more information to help us, please 
> let us know.
> 
> Best Regards,
> 
> Rachi
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
<mailto:tomcat-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




RE: Urgent!!Please Help!

2002-07-22 Thread Cox, Charlie

further down in the stack trace should be a 'root cause'. please post it as
this is the real error...

> -Original Message-
> From: Renato Romano [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 22, 2002 6:38 AM
> To: 'Tomcat Users List'
> Subject: Urgent!!Please Help!
> 
> 
> I find several occurrences of the following stackTrace in my
> catalina_log_-MM-DD.txt log file; does someone know what 
> causes it ?
> Many Thanks
> 
> 2002-07-22 12:09:18 HttpProcessor[80][14] process.invoke
> java.lang.NullPointerException
> at
> org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDi
> spatcherVa
> lve.java:291)
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherVa
> lve.java:180)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.ja
> va:564)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java
> :170)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.ja
> va:564)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
> e.java:462
> )
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.ja
> va:564)
> at
> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSi
> gnOn.java:
> 368)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.ja
> va:564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4
> 72)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.
> java:163)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.ja
> va:566)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4
> 72)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpP
> rocessor.j
> ava:1011)
> at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
> ssor.java:
> 1106)
> at java.lang.Thread.run(Thread.java:484)
> 
> 
> 
> Renato Romano
> Sistemi e Telematica S.p.A.
> Calata Grazie - Vial Al Molo Giano
> 16127 - GENOVA - ITALY
> 
> e-mail: [EMAIL PROTECTED]
> Tel.:   +39 10 2712603
> _
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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




RE: Urgent!!Please Help!

2002-07-22 Thread Renato Romano

There is no 'root cause'. I saw this in many other places, but not
here...


-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]] 
Sent: lunedì 22 luglio 2002 13.30
To: 'Tomcat Users List'
Subject: RE: Urgent!!Please Help!


further down in the stack trace should be a 'root cause'. please post it
as this is the real error...

> -Original Message-
> From: Renato Romano [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 22, 2002 6:38 AM
> To: 'Tomcat Users List'
> Subject: Urgent!!Please Help!
> 
> 
> I find several occurrences of the following stackTrace in my 
> catalina_log_-MM-DD.txt log file; does someone know what causes it

> ? Many Thanks
> 
> 2002-07-22 12:09:18 HttpProcessor[80][14] process.invoke 
> java.lang.NullPointerException
> at 
> org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDi
> spatcherVa
> lve.java:291)
> at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherVa
> lve.java:180)
> at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.ja
> va:564)
> at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java
> :170)
> at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.ja
> va:564)
> at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
> e.java:462
> )
> at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.ja
> va:564)
> at 
> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSi
> gnOn.java:
> 368)
> at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.ja
> va:564)
> at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4
> 72)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.
> java:163)
> at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.ja
> va:566)
> at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4
> 72)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at 
> org.apache.catalina.connector.http.HttpProcessor.process(HttpP
> rocessor.j
> ava:1011)
> at 
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
> ssor.java:
> 1106)
> at java.lang.Thread.run(Thread.java:484)
> 
> 
> 
> Renato Romano
> Sistemi e Telematica S.p.A.
> Calata Grazie - Vial Al Molo Giano
> 16127 - GENOVA - ITALY
> 
> e-mail: [EMAIL PROTECTED]
> Tel.:   +39 10 2712603
> _
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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



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




RE: Urgent!!Please Help!

2002-07-22 Thread Shapira, Yoav

Howdy,
An NPE doesn't necessarily have a root cause.  

I would guess that you have a misconfigured error handling tag in your
server.xml or web.xml.  Can you post them please?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Renato Romano [mailto:[EMAIL PROTECTED]]
>Sent: Monday, July 22, 2002 6:38 AM
>To: 'Tomcat Users List'
>Subject: Urgent!!Please Help!
>
>I find several occurrences of the following stackTrace in my
>catalina_log_-MM-DD.txt log file; does someone know what causes it
?
>Many Thanks
>
>2002-07-22 12:09:18 HttpProcessor[80][14] process.invoke
>java.lang.NullPointerException
>at
>org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherV
a
>lve.java:291)
>at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
a
>lve.java:180)
>at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
a
>va:564)
>at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a
>:170)
>at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
a
>va:564)
>at
>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:46
2
>)
>at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
a
>va:564)
>at
>org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java
:
>368)
>at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
a
>va:564)
>at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>72)
>at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.
>java:163)
>at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
a
>va:566)
>at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>72)
>at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>at
>org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.
j
>ava:1011)
>at
>org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java
:
>1106)
>at java.lang.Thread.run(Thread.java:484)
>
>
>
>Renato Romano
>Sistemi e Telematica S.p.A.
>Calata Grazie - Vial Al Molo Giano
>16127 - GENOVA - ITALY
>
>e-mail: [EMAIL PROTECTED]
>Tel.:   +39 10 2712603
>_
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:tomcat-user-
>[EMAIL PROTECTED]>


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




RE: Urgent!!Please Help!

2002-07-22 Thread Renato Romano

Here they are. I tried to find some mispelling, but I did not find them
!!
Thanks a lot.
Renato


Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial Al Molo Giano
16127 - GENOVA

e-mail: [EMAIL PROTECTED]
Tel.:   010 2712603
_


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] 
Sent: lunedì 22 luglio 2002 14.41
To: Tomcat Users List
Subject: RE: Urgent!!Please Help!


Howdy,
An NPE doesn't necessarily have a root cause.  

I would guess that you have a misconfigured error handling tag in your
server.xml or web.xml.  Can you post them please?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Renato Romano [mailto:[EMAIL PROTECTED]]
>Sent: Monday, July 22, 2002 6:38 AM
>To: 'Tomcat Users List'
>Subject: Urgent!!Please Help!
>
>I find several occurrences of the following stackTrace in my 
>catalina_log_-MM-DD.txt log file; does someone know what causes it
?
>Many Thanks
>
>2002-07-22 12:09:18 HttpProcessor[80][14] process.invoke 
>java.lang.NullPointerException
>at 
>org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherV
a
>lve.java:291)
>at 
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
a
>lve.java:180)
>at 
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
a
>va:564)
>at 
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a
>:170)
>at 
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
a
>va:564)
>at 
>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:46
2
>)
>at 
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
a
>va:564)
>at 
>org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java
:
>368)
>at 
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
a
>va:564)
>at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>72)
>at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>at 
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.
>java:163)
>at 
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
a
>va:566)
>at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>72)
>at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>at 
>org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.
j
>ava:1011)
>at 
>org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java
:
>1106)
>at java.lang.Thread.run(Thread.java:484)
>
>
>
>Renato Romano
>Sistemi e Telematica S.p.A.
>Calata Grazie - Vial Al Molo Giano
>16127 - GENOVA - ITALY
>
>e-mail: [EMAIL PROTECTED]
>Tel.:   +39 10 2712603
>_
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:tomcat-user- 
>[EMAIL PROTECTED]>


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











  

  
  

























  
  

  
  

  

  

  

  

  

  

  
  





	

















  
  
  
		  
  
  
  
  
usersa
password
driverClassName
  org.hsql.jdbcDriver
driverName
  jdbc:HypersonicSQL:database
  
  
  

  mail.smtp.host
  localhost

  


  



  

  

  
  






  
  

  
  



  






http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>


	
		prova
		CICCIO
	
	
		
			BinServlet	
		
		
			com.set.util.BinServlet
		
		
			connectionName
			DAU
		
	
	
		
			istrpol
		
		
			com.set.util.IstrPol
		
		
			connectionName
			CONT_MSG_TRACK
		
	
	
		
			users
		
		
			com.set.util.UserServlet
		
	
	
		
			istrpol
		
		
			/istrpol/*
		
	
	
		
			users
		
		
			/users/*
		
	
	
		403
		/errorPages/err403.jsp
	
	
		404
		/errorPages/err404.jsp
	
	
		
			Area Protetta
			/registrati/sofid/*
			DELETE
			GET
			POST
			PUT
		
		
			bollette_sofid
		
	
	
		
			Area Protetta
			/registrati/cm/*
			DELETE
			GE

RE: Urgent!!Please Help!

2002-07-22 Thread Shapira, Yoav

Hi,
1. Why is your web.xml written to the 2.2 spec (and the 2.2 DTD)?  Tomcat 4.x expects 
the 2.3 DTD.  

2. Please try to write very simple static err403.html and err404.html error pages, and 
direct the server to use those instead of the JSPs you currently have configured to 
the error pages.  

My guess is the NPE comes from either the err403.jsp/err404.jsp pages or tomcat doing 
something for 2.3-spec  elements that isn't done for 2.2-spec ones.

Let us know what happens ;)

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Renato Romano [mailto:[EMAIL PROTECTED]]
>Sent: Monday, July 22, 2002 9:05 AM
>To: 'Tomcat Users List'
>Subject: RE: Urgent!!Please Help!
>
>Here they are. I tried to find some mispelling, but I did not find them
>!!
>Thanks a lot.
>Renato
>
>
>Renato Romano
>Sistemi e Telematica S.p.A.
>Calata Grazie - Vial Al Molo Giano
>16127 - GENOVA
>
>e-mail: [EMAIL PROTECTED]
>Tel.:   010 2712603
>_
>
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
>Sent: lunedì 22 luglio 2002 14.41
>To: Tomcat Users List
>Subject: RE: Urgent!!Please Help!
>
>
>Howdy,
>An NPE doesn't necessarily have a root cause.
>
>I would guess that you have a misconfigured error handling tag in your
>server.xml or web.xml.  Can you post them please?
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-Original Message-
>>From: Renato Romano [mailto:[EMAIL PROTECTED]]
>>Sent: Monday, July 22, 2002 6:38 AM
>>To: 'Tomcat Users List'
>>Subject: Urgent!!Please Help!
>>
>>I find several occurrences of the following stackTrace in my
>>catalina_log_-MM-DD.txt log file; does someone know what causes it
>?
>>Many Thanks
>>
>>2002-07-22 12:09:18 HttpProcessor[80][14] process.invoke
>>java.lang.NullPointerException
>>at
>>org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherV
>a
>>lve.java:291)
>>at
>>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
>a
>>lve.java:180)
>>at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
>a
>>va:564)
>>at
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
>a
>>:170)
>>at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
>a
>>va:564)
>>at
>>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:46
>2
>>)
>>at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
>a
>>va:564)
>>at
>>org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java
>:
>>368)
>>at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
>a
>>va:564)
>>at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
>4
>>72)
>>at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>at
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
>.
>>java:163)
>>at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
>a
>>va:566)
>>at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
>4
>>72)
>>at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>at
>>org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.
>j
>>ava:1011)
>>at
>>org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java
>:
>>1106)
>>at java.lang.Thread.run(Thread.java:484)
>>
>>
>>
>>Renato Romano
>>Sistemi e Telematica S.p.A.
>>Calata Grazie - Vial Al Molo Giano
>>16127 - GENOVA - ITALY
>>
>>e-mail: [EMAIL PROTECTED]
>>Tel.:   +39 10 2712603
>>_
>>
>>
>>--
>>To unsubscribe, e-mail:   <mailto:tomcat-user-
>>[EMAIL PROTECTED]>
>>For additional commands, e-mail: <mailto:tomcat-user-
>>[EMAIL PROTECTED]>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>


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




RE: Urgent!!Please Help!

2002-07-22 Thread Renato Romano

Ok. I made some tries and found the following:

1) my error-page clause in web.xml works fine for 404 error-code (Page
not found), but not for the 403 (Access denied). When, after successfull
authentication, I try to access a denied page, on the browser I get a
500 (Internal Server error) and in the catalina_log the NPE with the
stackTrace I initially posted. This is independant on the spec version
(2_2 or 2_3) and the use of html or jsp pages. 

2) I can't figure out how can this happen. There is no real difference
between the 403 and 404 pages, nor their spec in web.xml !! I noticed
this already some time ago, but couldn't get out of it and left all as
it was; now I realized that when I got the 500 error on the browser, I
also get this error on the log...

3) When not using the error-page clause for the 403 error, I get the
Tomcat 403 error page (the one with blu highlighted words...) as
expected. Same for 404


Any help is very appreciated ...
Renato


Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial Al Molo Giano
16127 - GENOVA

e-mail: [EMAIL PROTECTED]
Tel.:   010 2712603
_


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] 
Sent: lunedì 22 luglio 2002 15.09
To: Tomcat Users List
Subject: RE: Urgent!!Please Help!


Hi,
1. Why is your web.xml written to the 2.2 spec (and the 2.2 DTD)?
Tomcat 4.x expects the 2.3 DTD.  

2. Please try to write very simple static err403.html and err404.html
error pages, and direct the server to use those instead of the JSPs you
currently have configured to the error pages.  

My guess is the NPE comes from either the err403.jsp/err404.jsp pages or
tomcat doing something for 2.3-spec  elements that isn't
done for 2.2-spec ones.

Let us know what happens ;)

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Renato Romano [mailto:[EMAIL PROTECTED]]
>Sent: Monday, July 22, 2002 9:05 AM
>To: 'Tomcat Users List'
>Subject: RE: Urgent!!Please Help!
>
>Here they are. I tried to find some mispelling, but I did not find them

>!! Thanks a lot.
>Renato
>
>
>Renato Romano
>Sistemi e Telematica S.p.A.
>Calata Grazie - Vial Al Molo Giano
>16127 - GENOVA
>
>e-mail: [EMAIL PROTECTED]
>Tel.:   010 2712603
>_
>
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
>Sent: lunedì 22 luglio 2002 14.41
>To: Tomcat Users List
>Subject: RE: Urgent!!Please Help!
>
>
>Howdy,
>An NPE doesn't necessarily have a root cause.
>
>I would guess that you have a misconfigured error handling tag in your 
>server.xml or web.xml.  Can you post them please?
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-Original Message-
>>From: Renato Romano [mailto:[EMAIL PROTECTED]]
>>Sent: Monday, July 22, 2002 6:38 AM
>>To: 'Tomcat Users List'
>>Subject: Urgent!!Please Help!
>>
>>I find several occurrences of the following stackTrace in my 
>>catalina_log_-MM-DD.txt log file; does someone know what causes it
>?
>>Many Thanks
>>
>>2002-07-22 12:09:18 HttpProcessor[80][14] process.invoke 
>>java.lang.NullPointerException
>>at 
>>org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcher
>>V
>a
>>lve.java:291)
>>at 
>>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcher
>>V
>a
>>lve.java:180)
>>at 
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.
>>j
>a
>>va:564)
>>at 
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>>v
>a
>>:170)
>>at 
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.
>>j
>a
>>va:564)
>>at 
>>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:4
>>6
>2
>>)
>>at 
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.
>>j
>a
>>va:564)
>>at 
>>org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.jav
>>a
>:
>>368)
>>at 
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.
>>j
>a
>>va:564)
>>at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
>>:
>4
>>72)
>>at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>at 
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>>e
>.
>>java:163)
>>

RE: Urgent!!Please Help!

2002-07-22 Thread Shapira, Yoav

Hi,

>3) When not using the error-page clause for the 403 error, I get the
>Tomcat 403 error page (the one with blu highlighted words...) as
>expected. Same for 404

And do you get the NPE in the catalina log?

Yoav Shapira
Millennium ChemInformatics

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Urgent!!Please Help!

2002-07-22 Thread Renato Romano

No !!


Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial Al Molo Giano
16127 - GENOVA

e-mail: [EMAIL PROTECTED]
Tel.:   010 2712603
_


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] 
Sent: lunedì 22 luglio 2002 16.47
To: Tomcat Users List
Subject: RE: Urgent!!Please Help!


Hi,

>3) When not using the error-page clause for the 403 error, I get the 
>Tomcat 403 error page (the one with blu highlighted words...) as 
>expected. Same for 404

And do you get the NPE in the catalina log?

Yoav Shapira
Millennium ChemInformatics

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



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




RE: Urgent!!Please Help!

2002-07-22 Thread Cox, Charlie

it seems to me that there was a problem where tomcat was returning a 50x
error due to a NPE, but I don't see it in the release notes for 4.0.4, so I
don't know it was resolved or not. You may want to check bugzilla.

Charlie

> -Original Message-
> From: Renato Romano [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 22, 2002 11:00 AM
> To: 'Tomcat Users List'
> Subject: RE: Urgent!!Please Help!
> 
> 
> No !!
> 
> 
> Renato Romano
> Sistemi e Telematica S.p.A.
> Calata Grazie - Vial Al Molo Giano
> 16127 - GENOVA
> 
> e-mail: [EMAIL PROTECTED]
> Tel.:   010 2712603
> _
> 
> 
> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] 
> Sent: lunedì 22 luglio 2002 16.47
> To: Tomcat Users List
> Subject: RE: Urgent!!Please Help!
> 
> 
> Hi,
> 
> >3) When not using the error-page clause for the 403 error, I get the 
> >Tomcat 403 error page (the one with blu highlighted words...) as 
> >expected. Same for 404
> 
> And do you get the NPE in the catalina log?
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

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




Content-Encoding - URGENT Please

2002-04-08 Thread Mohammed Ibrahim

Hi,
I am having trouble setting the page content type and encoding on my JSP pages. 
The content on the JSP page is already in UTF-8 format and so we cannot use <%@ page 
%> tag to set content type and have to use HTML META TAG to set these headers. But 
tomcat alwasys sets the page encoding to western european ISO and browser is ignoring 
the META tag. The sam page works fine with Weblogic. Please help me resolve this 
problem.

Thanks
Gulshan




Urgent.. Please help me

2002-05-03 Thread Alvin Wang

Hi! I have an urgent question. Could any guru help me to diagnosis it?

I'm using tomcat 4.0. My servlet gets the DataSource from JNDI. However, it
raise the following exception:

javax.naming.NameNotFoundException: Name java:comp is not bound in this
Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at javax.naming.InitialContext.lookup(InitialContext.java:350)

That means the the whole "java:comp" cannot be found, which I think should
have nothing to do with my DataSource resource setup in my web application
context. Also I use

   javax.naming.NamingEnumeration ne = initCtx.list("");

I found there is nothing under JNDI root.

I think there is much some configuration not right. Can any gurus help?
thanks so much!

Alvin


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re[2]: URGENT! PLEASE..

2002-01-11 Thread Catalin

...and I worry about your english... Probably you don't belong to the native
people... That's all right, I understand this!

10x for your tip!!


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




URGENT PLEASE HELP ME........................................

2003-12-17 Thread Pinguti Sridevi
I could able to run servlets in tomcat 4.1. I created
a folder called webdev in webapps in that i created WEB-INF and 
classes. I stored web.xml in WEB-INF. as follows.
webapps/webdev/WEB-INF/classes
WEB-INF/web.xml
I configured web.xml with servletname,servletclass between webapps 
tags. After restarting the server when i say
http://localhost:8080/webdev/servlet/myservletfile
It showing 
404 Requested URI not found.
I tried like the below also
http://localhost:8080/webdev/myservletfile
But still it is not getting.
Let me tell anybody that tomcat4.1 have any bug in reading web.xml



-
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing

Re: Urgent please respond

2001-06-27 Thread Dmitri Colebatch

I cant see what this has to do with Tomcat, but essentially what you're 
asking for is RMI of a batch file.  If you want to give me some details of 
what it is you're trying to do I'm happy to try and help, but I'd suggest 
taking it offline as it is not related to this list.

cheers
dim

On Thu, 28 Jun 2001 13:17, you wrote:
> Hello ALL,
>   I have a problem regarding the Runtime.getRuntime().exec().
>   I am trying to run a .bat file in a separate machine(the batch
> file is in a separate machine in the same domain and i mapped the machine
> with the batch file folder as T:\\).but when i use this
> Runtime.getRuntime().exec("t:\\xxx.bat" ); The commands in the batch file
> are running in my machine.But i dont wan't this.I want to run the batch
> file in the machine where it is.
>   Or is there any way on WINNT that my java program sitting on
> machine A will be able to stop a specified process on the machine B/machine
> C.It is understood that machine A's user will have the administrative
> powers on Machine B,C.
>
>   Please Help me...
>
> Thanx in advance



Re: Urgent please respond

2001-06-27 Thread pete

Why not run an Perl or other CGI-type program to execute your batch 
file, and invoke it remotely. (ASP, AFAIK, lacks the 'exec' command or 
similar)?

You could do this equally well with servlets or most other web 
languages. Remeber to password-protect these scripts though.

-Pete

> I cant see what this has to do with Tomcat, but essentially what you're 
> asking for is RMI of a batch file.  If you want to give me some details of 
> what it is you're trying to do I'm happy to try and help, but I'd suggest 
> taking it offline as it is not related to this list.
> 
> cheers
> dim
> 
> On Thu, 28 Jun 2001 13:17, you wrote:
> 
>> Hello ALL,
>>   I have a problem regarding the Runtime.getRuntime().exec().
>>   I am trying to run a .bat file in a separate machine(the batch
>> file is in a separate machine in the same domain and i mapped the machine
>> with the batch file folder as T:\\).but when i use this
>> Runtime.getRuntime().exec("t:\\xxx.bat" ); The commands in the batch file
>> are running in my machine.But i dont wan't this.I want to run the batch
>> file in the machine where it is.
>>   Or is there any way on WINNT that my java program sitting on
>> machine A will be able to stop a specified process on the machine B/machine
>> C.It is understood that machine A's user will have the administrative
>> powers on Machine B,C.
>> 
>>   Please Help me...
>> 
>> Thanx in advance
> 





RE: Urgent please respond

2001-06-28 Thread Randy Layman


There is no way to start the execution of a batch file on one
machine and have it run in the context of another.  Microsoft does have
several solutions to this.  You probably want to look into their RConsole
(part of the NT Resource Kit).  A different approach might be to set up IIS
on the other machines and then install one of the freeware ASP service
restarters.  From Tomcat you would then call the URL (using something like
URLConnection) to achieve your service restarter.

Of course, you could create your own communication mechanism
(perhaps using RMI, like someone suggested).

Randy

> -Original Message-
> From: Suresh Krishna M (RBIN/DBA-JOT) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 27, 2001 11:18 PM
> To: [EMAIL PROTECTED]
> Subject: Urgent please respond
> 
> 
> Hello ALL,
>   I have a problem regarding the Runtime.getRuntime().exec().
>   I am trying to run a .bat file in a separate 
> machine(the batch
> file is in a separate machine in the same domain and i mapped 
> the machine
> with the batch file folder as T:\\).but when i use this
> Runtime.getRuntime().exec("t:\\xxx.bat" ); The commands in 
> the batch file
> are running in my machine.But i dont wan't this.I want to run 
> the batch file
> in the machine where it is.
>   Or is there any way on WINNT that my java program sitting on
> machine A will be able to stop a specified process on the 
> machine B/machine
> C.It is understood that machine A's user will have the 
> administrative powers
> on Machine B,C.
> 
>   Please Help me...
> 
> Thanx in advance
> 
> 
> 



Cookies and tomcat (URGENT PLEASE!)

2002-04-07 Thread paolo ciao

I know that servlet use cookies (if client support it)
to manage session id.
My question is quite simple: where this cookie is?
I need to understand this because I have to test my
application with Jmeter and I want to track
session...how can i do?

Thanks for any help.



__
Iscriviti al Club Nokia, è gratis!
http://it.yahoo.com/mail_it/foot/?http://www.club.nokia.it/

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Content-Encoding - URGENT Please

2002-04-08 Thread randy melder

Look at the servlet API. There is a set content type function. I'm
sorry, I don't have it in front of me. But the answer is using a Servlet
API function.

Good Luck,

.randy

/***
* Cheery Lynn Interactive, LLC
* http://www.cheerylynn.com/
* tel://602 279 0135
* Web Applications--
***/



-Original Message-
From: Mohammed Ibrahim [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 08, 2002 4:53 PM
To: [EMAIL PROTECTED]
Subject: Content-Encoding - URGENT Please

Hi,
I am having trouble setting the page content type and encoding on my
JSP pages. The content on the JSP page is already in UTF-8 format and so
we cannot use <%@ page %> tag to set content type and have to use HTML
META TAG to set these headers. But tomcat alwasys sets the page encoding
to western european ISO and browser is ignoring the META tag. The sam
page works fine with Weblogic. Please help me resolve this problem.

Thanks
Gulshan



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




Re: Content-Encoding - URGENT Please

2002-04-08 Thread Mohammed Ibrahim

Hi Randy,
Thanks for the quick response. I tried using

response.setContentType()

method but it works the same way as <%@ page %> tag and tried to convert the
page content to UTF. since the content is already in UTF it gets messed up.
Is there a way we can set the default encoding header sent by the server to
the browser to utf-8?

Thanks
Gulshan

- Original Message -
From: "randy melder" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 5:15 PM
Subject: RE: Content-Encoding - URGENT Please


> Look at the servlet API. There is a set content type function. I'm
> sorry, I don't have it in front of me. But the answer is using a Servlet
> API function.
>
> Good Luck,
>
> .randy
>
> /***
> * Cheery Lynn Interactive, LLC
> * http://www.cheerylynn.com/
> * tel://602 279 0135
> * Web Applications--
> ***/
>
>
>
> -Original Message-
> From: Mohammed Ibrahim [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 08, 2002 4:53 PM
> To: [EMAIL PROTECTED]
> Subject: Content-Encoding - URGENT Please
>
> Hi,
> I am having trouble setting the page content type and encoding on my
> JSP pages. The content on the JSP page is already in UTF-8 format and so
> we cannot use <%@ page %> tag to set content type and have to use HTML
> META TAG to set these headers. But tomcat alwasys sets the page encoding
> to western european ISO and browser is ignoring the META tag. The sam
> page works fine with Weblogic. Please help me resolve this problem.
>
> Thanks
> Gulshan
>
>
>
> --
> 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: Content-Encoding - URGENT Please

2002-04-09 Thread Taavi Tiirik

Strange... if you have example webapp then you should have this class
as well.

Look at http://cvs.apache.org/viewcvs/jakarta-tomcat-4.0/
and browse to webapps/examples/WEB-INF/classes/filters

The class is there.

with best wishes,
Taavi

> I could not find the specified class anywhere in the tomcat home
folder.
> Do i need to download something else for this class??
>
> Thanks
> Gulshan



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Content-Encoding - URGENT Please

2002-04-09 Thread Mohammed Ibrahim

Hi Taavi,
I could not find the specified class anywhere in the tomcat home folder.
Do i need to download something else for this class??

Thanks
Gulshan

- Original Message -
From: "Taavi Tiirik" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Cc: "Mohammed Ibrahim" <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 1:40 AM
Subject: Re: Content-Encoding - URGENT Please


> Gulshan,
>
> Please take a look at
>
/tomcat/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.
> java
> This filter should solve your problem. Documentation should be
> self-explanatory. If you
> get stuck anywhere do not hesitate to ask.
>
> with best wishes,
> Taavi
>
> > Hi Randy,
> > Thanks for the quick response. I tried using
> >
> > response.setContentType()
> >
> > method but it works the same way as <%@ page %> tag and tried to convert
> the
> > page content to UTF. since the content is already in UTF it gets messed
> up.
> > Is there a way we can set the default encoding header sent by the server
> to
> > the browser to utf-8?
> >
> > Thanks
> > Gulshan
>


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




Re: Content-Encoding - URGENT Please

2002-04-09 Thread Taavi Tiirik

Gulshan,

Please take a look at
/tomcat/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.
java
This filter should solve your problem. Documentation should be
self-explanatory. If you
get stuck anywhere do not hesitate to ask.

with best wishes,
Taavi

> Hi Randy,
> Thanks for the quick response. I tried using
>
> response.setContentType()
>
> method but it works the same way as <%@ page %> tag and tried to convert
the
> page content to UTF. since the content is already in UTF it gets messed
up.
> Is there a way we can set the default encoding header sent by the server
to
> the browser to utf-8?
>
> Thanks
> Gulshan



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Content-Encoding - URGENT Please

2002-04-09 Thread Mohammed Ibrahim

Hi Taavi,
Could you please verify the path again as i cannot see the "filters"
folder in classes? Also if you could please tell me what veresion of tomcat
you are using?

Thanks
Gulshan

- Original Message -
From: "Taavi Tiirik" <[EMAIL PROTECTED]>
To: "Mohammed Ibrahim" <[EMAIL PROTECTED]>
Cc: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 2:15 AM
Subject: Re: Content-Encoding - URGENT Please


> Strange... if you have example webapp then you should have this class
> as well.
>
> Look at http://cvs.apache.org/viewcvs/jakarta-tomcat-4.0/
> and browse to webapps/examples/WEB-INF/classes/filters
>
> The class is there.
>
> with best wishes,
> Taavi
>
> > I could not find the specified class anywhere in the tomcat home
> folder.
> > Do i need to download something else for this class??
> >
> > Thanks
> > Gulshan
>


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




Re: Content-Encoding - URGENT Please

2002-04-09 Thread Taavi Tiirik

> Could you please verify the path again as i cannot see the "filters"
> folder in classes? Also if you could please tell me what veresion of
tomcat
> you are using?

I am using 4.0.3. This filter may not be available for tomcat 3.2.x though.

Full path to SetCharacterEncodingFilter is as follows:

http://cvs.apache.org/viewcvs/jakarta-tomcat-4.0/webapps/examples/WEB-INF/cl
asses/filters/SetCharacterEncodingFilter.java

with best wishes,
Taavi



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Content-Encoding - URGENT Please

2002-04-10 Thread yilmaz

Marhaba Ibrahim,
I am not sure if someone else has already answered your question
If you are using JSP 1.2 or servlet 2.3 (if you use tomcat 4 ) then you can
use
response.setCharacterEncoding("UTF-8"); method.
I think this will work.
Cheers  :)
- Original Message -
From: "Mohammed Ibrahim" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 8:09 AM
Subject: Re: Content-Encoding - URGENT Please


> Hi Randy,
> Thanks for the quick response. I tried using
>
> response.setContentType()
>
> method but it works the same way as <%@ page %> tag and tried to convert
the
> page content to UTF. since the content is already in UTF it gets messed
up.
> Is there a way we can set the default encoding header sent by the server
to
> the browser to utf-8?
>
> Thanks
> Gulshan
>
> - Original Message -
> From: "randy melder" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Monday, April 08, 2002 5:15 PM
> Subject: RE: Content-Encoding - URGENT Please
>
>
> > Look at the servlet API. There is a set content type function. I'm
> > sorry, I don't have it in front of me. But the answer is using a Servlet
> > API function.
> >
> > Good Luck,
> >
> > .randy
> >
> > /***
> > * Cheery Lynn Interactive, LLC
> > * http://www.cheerylynn.com/
> > * tel://602 279 0135
> > * Web Applications--
> > *******/
> >
> >
> >
> > -Original Message-
> > From: Mohammed Ibrahim [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 08, 2002 4:53 PM
> > To: [EMAIL PROTECTED]
> > Subject: Content-Encoding - URGENT Please
> >
> > Hi,
> > I am having trouble setting the page content type and encoding on my
> > JSP pages. The content on the JSP page is already in UTF-8 format and so
> > we cannot use <%@ page %> tag to set content type and have to use HTML
> > META TAG to set these headers. But tomcat alwasys sets the page encoding
> > to western european ISO and browser is ignoring the META tag. The sam
> > page works fine with Weblogic. Please help me resolve this problem.
> >
> > Thanks
> > Gulshan
> >
> >
> >
> > --
> > 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: Urgent.. Please help me

2002-05-03 Thread Giorgio Ponza

please send some more, like the db JNDI definition,
i think is only a name problem
GIorgio

- Original Message -
From: "Alvin Wang" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, May 03, 2002 4:05 PM
Subject: Urgent.. Please help me


> Hi! I have an urgent question. Could any guru help me to diagnosis it?
>
> I'm using tomcat 4.0. My servlet gets the DataSource from JNDI. However,
it
> raise the following exception:
>
> javax.naming.NameNotFoundException: Name java:comp is not bound in this
> Context
> at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
> at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
> at javax.naming.InitialContext.lookup(InitialContext.java:350)
>
> That means the the whole "java:comp" cannot be found, which I think should
> have nothing to do with my DataSource resource setup in my web application
> context. Also I use
>
>javax.naming.NamingEnumeration ne = initCtx.list("");
>
> I found there is nothing under JNDI root.
>
> I think there is much some configuration not right. Can any gurus help?
> thanks so much!
>
> Alvin
>
>
> --
> 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: Urgent.. Please help me

2002-05-03 Thread James Williamson

Are you using the WARP connector by any chance?

Regards,

James Williamson
www.nameonthe.net
UK Tomcat Hosting
>
> - Original Message -
> From: "Alvin Wang" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, May 03, 2002 4:05 PM
> Subject: Urgent.. Please help me
>
>
> > Hi! I have an urgent question. Could any guru help me to diagnosis it?
> >
> > I'm using tomcat 4.0. My servlet gets the DataSource from JNDI. However,
> it
> > raise the following exception:
> >
> > javax.naming.NameNotFoundException: Name java:comp is not bound in this
> > Context
> > at
org.apache.naming.NamingContext.lookup(NamingContext.java:811)
> > at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
> > at javax.naming.InitialContext.lookup(InitialContext.java:350)
> >
> > That means the the whole "java:comp" cannot be found, which I think
should
> > have nothing to do with my DataSource resource setup in my web
application
> > context. Also I use
> >
> >javax.naming.NamingEnumeration ne = initCtx.list("");
> >
> > I found there is nothing under JNDI root.
> >
> > I think there is much some configuration not right. Can any gurus help?
> > thanks so much!
> >
> > Alvin
> >
> >
> > --
> > 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!!! 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:   
For additional commands: 
Troubles with the list: 




URGENT! PLEASE.. STRANGE COMPILING ERROR

2002-02-26 Thread Catalin

Hello everyone!


I have installed Apache_Tomcat_4.0 (on a win2k OS and jdk1.3.1 support). I have a web
application with servlets. I can't compile any more servlets (I
usually compile with an IDE). The main errors are:

C:\Apache_Tomcat_4.0\webapps\ROOT\WEB-INF\classes\myServlet.java:4: package 
javax.servlet does not exist
import javax.servlet.*;
^
C:\Apache_Tomcat_4.0\webapps\ROOT\WEB-INF\classes\myServlet.java:5: package 
javax.servlet.http does not exist
import javax.servlet.http.*;
^

line 4 and 5 of my servlet are:

import javax.servlet.*;
import javax.servlet.http.*;

The strange thing is that the "javax" package (and all the classes)
are in the same directory with myServlet.java and I can compile
other java applications that servlets.
I don't see how this is happening.!!!
I compiled in text mode (javac myServlet.java) the same errors. I
uninstalled the jdk1.3.1 and I'have installed again, I verified the
system variables and they are correct. The erors persists.
A few days ago this error wasn't on compiling the very same servlet.
 I have another PC with exactly the same settings like my machine and
 all is OK on that PC
What happened? Please can anyone help me?

Thanks for any tip!

Catalin


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Urgent .Please help me out

2004-09-22 Thread Shanti Priya
Hi !!
   I have deployed an application on tomcat 4.1.18. I do get the
following exception .I am using IE6 as my webbrowser.



HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: Cannot find bean userObject in scope null
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
48)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:550)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)


root cause

javax.servlet.ServletException: Cannot find bean userObject in scope null
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:530)
at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
at o

Urgent !! Please help me out.

2004-09-22 Thread Shanti Priya
HI!!
 I get the following error when i try to run my application on
tomcat.
The message in the server is as follows.

ERROR [2004-09-22 12:36:07,275] [Thread-5] [GSEITBaseAction.java:166] -
Error in
 actionPerform:
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
at
oracle.jdbc.driver.OracleConnection.(OracleConnection.java:246)

at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at
com.bitmechanic.sql.ConnectionPool.createDriverConnection(ConnectionPool.jav
a:468)
at
com.bitmechanic.sql.ConnectionPool.getConnection(ConnectionPool.java:407)
at
com.cisco.ea.apparch.framework.db.DBPool.borrowConnection(DBPool.java:91)
at
com.cisco.ea.apparch.framework.db.DBPoolManager.borrowConnection(DBPoolManag
er.java:300)
at
com.cisco.gseit.db.ConnectionFactory.getConnection(ConnectionFactory.java:20
6)
at
com.cisco.gseit.db.ObjectLoader.getConnection(ObjectLoader.java:957)
at
com.cisco.gseit.db.ObjectLoader.getCollectionFromStoredProcedure(ObjectLoade
r.java:1238)
at
com.cisco.asit.grm.user.UserDAO.getUserFromLoginName(UserDAO.java:61)
at
com.cisco.asit.grm.struts.common.action.GROWBaseAction.performPreActionSetup
(GROWBaseAction.java:100)
at
com.cisco.gseit.struts.common.action.GSEITBaseAction.perform(GSEITBaseAction
.java:108)
at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1787)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)

Thanks & Regards,
Shanti Priya Sunkara

Location: Pune, India
Email   : [EMAIL PROTECTED]



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



RE: URGENT PLEASE HELP ME........................................

2003-12-17 Thread George Sexton
Try reading the documentation. The default invoker is disabled in 4.1.x.
Either re-enable it, or create servlet/servlet mapping pairs in the
web.xml file.

-Original Message-
From: Pinguti Sridevi [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 17, 2003 1:22 AM
To: anand; javagroup; parvez; tomcat
Subject: URGENT PLEASE HELP ME


I could able to run servlets in tomcat 4.1. I created
a folder called webdev in webapps in that i created WEB-INF and 
classes. I stored web.xml in WEB-INF. as follows.
webapps/webdev/WEB-INF/classes
WEB-INF/web.xml
I configured web.xml with servletname,servletclass between webapps 
tags. After restarting the server when i say
http://localhost:8080/webdev/servlet/myservletfile
It showing 
404 Requested URI not found.
I tried like the below also
http://localhost:8080/webdev/myservletfile
But still it is not getting.
Let me tell anybody that tomcat4.1 have any bug in reading web.xml



-
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing


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



RE: URGENT PLEASE HELP ME........................................

2003-12-17 Thread Schalk
Pinguti

Can you post the xml code here or somewhere on the web where we can have a
look at it. I have not had any problems with Tomcat and web.xml.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Pinguti Sridevi [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, December 17, 2003 10:22 AM
:: To: anand; javagroup; parvez; tomcat
:: Subject: URGENT PLEASE HELP ME
:: 
:: I could able to run servlets in tomcat 4.1. I created
:: a folder called webdev in webapps in that i created WEB-INF and
:: classes. I stored web.xml in WEB-INF. as follows.
:: webapps/webdev/WEB-INF/classes
:: WEB-INF/web.xml
:: I configured web.xml with servletname,servletclass between webapps
:: tags. After restarting the server when i say
:: http://localhost:8080/webdev/servlet/myservletfile
:: It showing
:: 404 Requested URI not found.
:: I tried like the below also
:: http://localhost:8080/webdev/myservletfile
:: But still it is not getting.
:: Let me tell anybody that tomcat4.1 have any bug in reading web.xml
:: 
:: 
:: 
:: -
:: Do you Yahoo!?
:: New Yahoo! Photos - easier uploading and sharing



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



Re: URGENT PLEASE HELP ME........................................

2003-12-17 Thread qi zhang
You should change your server.xml, adding another context like




Try to see if it will help.


> I could able to run servlets in tomcat 4.1. I created
> a folder called webdev in webapps in that i created WEB-INF and
> classes. I stored web.xml in WEB-INF. as follows.
> webapps/webdev/WEB-INF/classes
> WEB-INF/web.xml
> I configured web.xml with servletname,servletclass between webapps
> tags. After restarting the server when i say
> http://localhost:8080/webdev/servlet/myservletfile
> It showing
> 404 Requested URI not found.
> I tried like the below also
> http://localhost:8080/webdev/myservletfile
> But still it is not getting.
> Let me tell anybody that tomcat4.1 have any bug in reading web.xml
>
>
>
> -
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing




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



Re: URGENT PLEASE HELP ME........................................

2003-12-17 Thread Ben Souther
If his app is directly under the webapps directory, he shouldn't need to 
alter server.xml.

AutoDeploy will pick it up.

You will, however need to create a mapping for your servlet in your web.xml 
file under WEB-INF in your app's directory.





On Wednesday 17 December 2003 11:05 am, qi zhang wrote:
> You should change your server.xml, adding another context like
>
>  reloadable="true" crossContext="true">
> 
>
> Try to see if it will help.
>
> > I could able to run servlets in tomcat 4.1. I created
> > a folder called webdev in webapps in that i created WEB-INF and
> > classes. I stored web.xml in WEB-INF. as follows.
> > webapps/webdev/WEB-INF/classes
> > WEB-INF/web.xml
> > I configured web.xml with servletname,servletclass between webapps
> > tags. After restarting the server when i say
> > http://localhost:8080/webdev/servlet/myservletfile
> > It showing
> > 404 Requested URI not found.
> > I tried like the below also
> > http://localhost:8080/webdev/myservletfile
> > But still it is not getting.
> > Let me tell anybody that tomcat4.1 have any bug in reading web.xml
> >
> >
> >
> > -
> > Do you Yahoo!?
> > New Yahoo! Photos - easier uploading and sharing
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Ben Souther
F.W. Davison & Company, Inc.



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



( URGENT Please ) tomcat connection refused

2005-07-27 Thread Abdullah Abdullah

Dear all

I am trying to create a secure connection between tomcat server and a 
browser. I have done exactly the same as the instructions on


http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html

but when I tried to connect on the port   https://localhost:8443  , an alert 
popped up saying (( The connection was refused when attepting to contact 
localhost:8443 .


So, I would be very grateful if anyone can let me know what is the problem 
??


Thanks in advance

Abdullah

_
It's fast, it's easy and it's free. Get MSN Messenger 7.0 today! 
http://messenger.msn.co.uk



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



Another Newbie Question -- Urgent Please!

2001-02-07 Thread Rezaul H. Safiuddin



How come I am not being able to compile a HelloWorldServlet.java with
jdk1.3 ? Its giving me hundreds of compiler errors. I need to compile this
file and create the .class file . Do I need something  especial for
compiling servlets ? I already installed the TomCat 3.2.1 . Any Help would
be appreciated. But I am able to run the SnoopServlet.java that comes with
TomCat in the classes directory. Do I have to configure something else if
I wanna add a new servlet class ?

Kash


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




Re: Cookies and tomcat (URGENT PLEASE!)

2002-04-07 Thread Daniel Hinojosa



paolo ciao wrote:

>I know that servlet use cookies (if client support it)
>to manage session id.
>My question is quite simple: where this cookie is?
>I need to understand this because I have to test my
>application with Jmeter and I want to track
>session...how can i do?
>
>Thanks for any help.
>
>
>
>__
>Iscriviti al Club Nokia, è gratis!
>http://it.yahoo.com/mail_it/foot/?http://www.club.nokia.it/
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>
>
I believe that it is managed by tomcat and is not in any context.  To 
retreive the cookies you can call Cookie[] cookies = 
request.getCookies();  I think the reason why this is for security 
reasons (that is really a guess).

-- 
Daniel Hinojosa
Java & XML: Consultant | Developer | Instructor
P.O. Box 4675
Albuquerque, NM 87196-4675
(505) 363-5832






--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




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:   
For additional commands: 
Troubles with the list: 




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




RE: URGENT! PLEASE.. STRANGE COMPILING ERROR

2002-02-26 Thread Jan Søgaard

Hi

This is proberly a problem with your javac class path.
jar files are not automaticly appended to the class path, so try to add
the jar file to you class path.

BR Jan.

-Original Message-
From: Catalin [mailto:[EMAIL PROTECTED]]
Sent: 26. februar 2002 21:52
To: [EMAIL PROTECTED]
Subject: URGENT! PLEASE.. STRANGE COMPILING ERROR


Hello everyone!


I have installed Apache_Tomcat_4.0 (on a win2k OS and jdk1.3.1 support).
I have a web
application with servlets. I can't compile any more servlets (I
usually compile with an IDE). The main errors are:

C:\Apache_Tomcat_4.0\webapps\ROOT\WEB-INF\classes\myServlet.java:4:
package javax.servlet does not exist
import javax.servlet.*;
^
C:\Apache_Tomcat_4.0\webapps\ROOT\WEB-INF\classes\myServlet.java:5:
package javax.servlet.http does not exist
import javax.servlet.http.*;
^

line 4 and 5 of my servlet are:

import javax.servlet.*;
import javax.servlet.http.*;

The strange thing is that the "javax" package (and all the classes)
are in the same directory with myServlet.java and I can compile
other java applications that servlets.
I don't see how this is happening.!!!
I compiled in text mode (javac myServlet.java) the same errors. I
uninstalled the jdk1.3.1 and I'have installed again, I verified the
system variables and they are correct. The erors persists.
A few days ago this error wasn't on compiling the very same servlet.
 I have another PC with exactly the same settings like my machine and
 all is OK on that PC
What happened? Please can anyone help me?

Thanks for any tip!

Catalin


--
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: URGENT! PLEASE.. STRANGE COMPILING ERROR

2002-02-26 Thread Dmitry Nikelshpur

Try adding the path to servlet.jar to your CLASSPATH.
I believe that should fix your problem.

Dmitry

Catalin wrote:

>Hello everyone!
>
>
>I have installed Apache_Tomcat_4.0 (on a win2k OS and jdk1.3.1 support). I have a web
>application with servlets. I can't compile any more servlets (I
>usually compile with an IDE). The main errors are:
>
>C:\Apache_Tomcat_4.0\webapps\ROOT\WEB-INF\classes\myServlet.java:4: package 
>javax.servlet does not exist
>import javax.servlet.*;
>^
>C:\Apache_Tomcat_4.0\webapps\ROOT\WEB-INF\classes\myServlet.java:5: package 
>javax.servlet.http does not exist
>import javax.servlet.http.*;
>^
>
>line 4 and 5 of my servlet are:
>
>import javax.servlet.*;
>import javax.servlet.http.*;
>
>The strange thing is that the "javax" package (and all the classes)
>are in the same directory with myServlet.java and I can compile
>other java applications that servlets.
>I don't see how this is happening.!!!
>I compiled in text mode (javac myServlet.java) the same errors. I
>uninstalled the jdk1.3.1 and I'have installed again, I verified the
>system variables and they are correct. The erors persists.
>A few days ago this error wasn't on compiling the very same servlet.
> I have another PC with exactly the same settings like my machine and
> all is OK on that PC
>What happened? Please can anyone help me?
>
>Thanks for any tip!
>
>Catalin
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>
>



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




AW: Urgent .Please help me out

2004-09-22 Thread dp
your db is down or unreachable

-Ursprüngliche Nachricht-
Von: Shanti Priya [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 22. September 2004 09:13
An: Tomcat-User
Betreff: Urgent .Please help me out


Hi !!
   I have deployed an application on tomcat 4.1.18. I do get the
following exception .I am using IE6 as my webbrowser.



HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: Cannot find bean userObject in scope null
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
48)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:550)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)


root cause

javax.servlet.ServletException: Cannot find bean userObject in scope null
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:530)
at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896)
at

Re: Urgent !! Please help me out.

2004-09-22 Thread Antony Paul
This is because the oracle dll is not found int the PATH environment
variable. For this you should have Oracle client installed. Or you can use
Oracle thin driver which dont need Oracle installed

rgds
Antony Paul

- Original Message -
From: "Shanti Priya" <[EMAIL PROTECTED]>
To: "Tomcat-User" <[EMAIL PROTECTED]>
Sent: Wednesday, September 22, 2004 12:45 PM
Subject: Urgent !! Please help me out.


> HI!!
>  I get the following error when i try to run my application on
> tomcat.
> The message in the server is as follows.
>
> ERROR [2004-09-22 12:36:07,275] [Thread-5] [GSEITBaseAction.java:166] -
> Error in
>  actionPerform:
> java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
> at java.lang.Runtime.loadLibrary0(Runtime.java:788)
> at java.lang.System.loadLibrary(System.java:834)
> at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
> at
> oracle.jdbc.driver.OracleConnection.(OracleConnection.java:246)
>
> at
>
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
> at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
> at java.sql.DriverManager.getConnection(DriverManager.java:512)
> at java.sql.DriverManager.getConnection(DriverManager.java:171)
> at
>
com.bitmechanic.sql.ConnectionPool.createDriverConnection(ConnectionPool.jav
> a:468)
> at
> com.bitmechanic.sql.ConnectionPool.getConnection(ConnectionPool.java:407)
> at
> com.cisco.ea.apparch.framework.db.DBPool.borrowConnection(DBPool.java:91)
> at
>
com.cisco.ea.apparch.framework.db.DBPoolManager.borrowConnection(DBPoolManag
> er.java:300)
> at
>
com.cisco.gseit.db.ConnectionFactory.getConnection(ConnectionFactory.java:20
> 6)
> at
> com.cisco.gseit.db.ObjectLoader.getConnection(ObjectLoader.java:957)
> at
>
com.cisco.gseit.db.ObjectLoader.getCollectionFromStoredProcedure(ObjectLoade
> r.java:1238)
> at
> com.cisco.asit.grm.user.UserDAO.getUserFromLoginName(UserDAO.java:61)
> at
>
com.cisco.asit.grm.struts.common.action.GROWBaseAction.performPreActionSetup
> (GROWBaseAction.java:100)
> at
>
com.cisco.gseit.struts.common.action.GSEITBaseAction.perform(GSEITBaseAction
> .java:108)
> at
>
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
> va:1787)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
> at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
>
> Thanks & Regards,
> Shanti Priya Sunkara
>
> Location: Pune, India
> Email   : [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: Urgent !! Please help me out.

2004-09-22 Thread prashant chavan
Hi Shanti
 
Your error seems to be a databse connection error. Tell me r u using oracle as your 
database for the application. Then you need to check the entries for db connectivity 
files - driverproperties.properties. Reply me with detailed info sot that i can help 
in a much better way.
 
Regards
Prashant

Shanti Priya <[EMAIL PROTECTED]> wrote:
HI!!
I get the following error when i try to run my application on
tomcat.
The message in the server is as follows.

ERROR [2004-09-22 12:36:07,275] [Thread-5] [GSEITBaseAction.java:166] -
Error in
actionPerform:
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
at
oracle.jdbc.driver.OracleConnection.(OracleConnection.java:246)

at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at
com.bitmechanic.sql.ConnectionPool.createDriverConnection(ConnectionPool.jav
a:468)
at
com.bitmechanic.sql.ConnectionPool.getConnection(ConnectionPool.java:407)
at
com.cisco.ea.apparch.framework.db.DBPool.borrowConnection(DBPool.java:91)
at
com.cisco.ea.apparch.framework.db.DBPoolManager.borrowConnection(DBPoolManag
er.java:300)
at
com.cisco.gseit.db.ConnectionFactory.getConnection(ConnectionFactory.java:20
6)
at
com.cisco.gseit.db.ObjectLoader.getConnection(ObjectLoader.java:957)
at
com.cisco.gseit.db.ObjectLoader.getCollectionFromStoredProcedure(ObjectLoade
r.java:1238)
at
com.cisco.asit.grm.user.UserDAO.getUserFromLoginName(UserDAO.java:61)
at
com.cisco.asit.grm.struts.common.action.GROWBaseAction.performPreActionSetup
(GROWBaseAction.java:100)
at
com.cisco.gseit.struts.common.action.GSEITBaseAction.perform(GSEITBaseAction
.java:108)
at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1787)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)

Thanks & Regards,
Shanti Priya Sunkara

Location : Pune, India
Email : [EMAIL PROTECTED]



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


 

 

 


-
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.

RE: Urgent !! Please help me out.

2004-09-22 Thread Shanti Priya

javax.servlet.ServletException: Cannot find bean userObject in scope null
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:530)
at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:550)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)


-Original Message-
From: prashant chavan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 4:49 PM
To: Tomcat Users List
Subject: Re: Urgent !! Please help me out.


Hi Shanti

Your error seems to be a databse connection error. Tell me r u using oracle
as your database for the application. Then you need to check the entries for
db connectivity files - driverproperties.properties. Reply me with detailed
info sot that i can help in a much better way.

Regards
Prashant

Shanti Priya <[EMAIL PROTECTED]> wrote:
HI!!
I get the following error when i try to 

Re: Urgent !! Please help me out.

2004-09-22 Thread Marek Wójtowicz
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)
root cause
javax.servlet.ServletException: Cannot find bean userObject in scope null
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:530)
at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:550)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)
-Original Message-
From: prashant chavan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 4:49 PM
To: Tomcat Users List
Subject: Re: Urgent !! Please help me out.
Hi Shanti
Your error seems to be a databse connection error. Tell me r u using oracle
as your database for the application. Then you need to check the entries for
db connectivity files - driverproperties.properties. Reply me with detailed
info sot that i can help in a

RE: Urgent .Please help me out

2004-09-22 Thread Robert Shields
Hi

Can you read this please:
http://www.catb.org/~esr/faqs/smart-questions.html

And then consider the following:
- This seems like a servlet or JSP question rather than a Tomcat question.
http://www.catb.org/~esr/faqs/smart-questions.html#forum

- There is no explanation of the cirumstances surrounding the problem, or any source 
code to look at.
http://www.catb.org/~esr/faqs/smart-questions.html#beprecise

- The subject line contains "urgent" and doesn't describe the problem.
http://www.catb.org/~esr/faqs/smart-questions.html#urgent
http://www.catb.org/~esr/faqs/smart-questions.html#bespecific

Regards,
Rob


-Original Message-
From: Shanti Priya [mailto:[EMAIL PROTECTED]
Sent: Wed 9/22/2004 8:12 AM
To: Tomcat-User
Subject: Urgent .Please help me out
 
Hi !!
   I have deployed an application on tomcat 4.1.18. I do get the
following exception .I am using IE6 as my webbrowser.

(snip)

Thanks & Regards,
Shanti Priya Sunkara

Location: Pune, India
Email   : [EMAIL PROTECTED]



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

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



AW: Urgent .Please help me out

2004-09-22 Thread Prabhjot Sodhi

Return Receipt
   
Your  AW: Urgent .Please help me out   
document   
:  
   
was   Prabhjot Sodhi/Australia/Contr/IBM   
received   
by:
   
at:   23/09/2004 09:07:51  
   





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



RE: ( URGENT Please ) tomcat connection refused

2005-07-27 Thread David Shapiro
Did you generate the RSA key with the changeit password?  Did you uncomment
the section with 8443 port configuration?  Did you wait long enough for the
server to start (tail -f the catalina.out log and wait for it to see 8443
has started).  What is in the catalina.out log?  Any errors?  On IBM AIX I
had to change the protocol to IbmX503 and use SSL instead of TLS.  Try
changing TLS to SSL (see the section for configuring 8443 to do this).  

David 

-Original Message-
From: Abdullah Abdullah [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 27, 2005 1:10 PM
To: tomcat-user@jakarta.apache.org; tomcat-dev@jakarta.apache.org
Subject: ( URGENT Please ) tomcat connection refused

Dear all

I am trying to create a secure connection between tomcat server and a
browser. I have done exactly the same as the instructions on

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html

but when I tried to connect on the port   https://localhost:8443  , an alert

popped up saying (( The connection was refused when attepting to contact
localhost:8443 .

So, I would be very grateful if anyone can let me know what is the problem
??

Thanks in advance

Abdullah

_
It's fast, it's easy and it's free. Get MSN Messenger 7.0 today! 
http://messenger.msn.co.uk


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




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



RE: Info Required : Very urgent please !

2001-06-25 Thread Randy Layman


There is no cost for distributing Tomcat (although you need to be
careful about distributing a JDK from Sun).

As far as I know, there are no companies that are selling support
for Tomcat, although I think a few individuals on the tomcat-user list are
providing contract support for other companies.

Randy

> -Original Message-
> From: manju [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 23, 2001 11:43 AM
> To: Larry Isaacs
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Info Required : Very urgent please !
> 
> 
> Larry,
> 
> We have just finished the development of a business critical 
> application to
> run on JSP/tomcat and SuSe Linux and are implementing it. We need
> confirmation whether we can release a commercial application 
> on 'tomcat' and
> if we need any support, does any company offer support at cost.
> 
> Please reply ASAP as we need to take the decision soon.
> 
> Thanks,
> 
> Manju
> 
> 



RE: Info Required : Very urgent please !

2001-06-25 Thread Michael Wentzel

> We have just finished the development of a business critical 
> application to
> run on JSP/tomcat and SuSe Linux and are implementing it. 

??? You finished development but NOW your implementing it???
Sounds confusing to me.  Do you mean your deploying it?

> We need confirmation whether we can release a commercial application 
> on 'tomcat' and if we need any support, does any company offer 
> support at cost.

As far as whether you can release a commercial app with tomcat.
Take a look at the license.  Hint: It's the standard Apache license
if that gives you any ideas.

For support, I believe that this user group, along with several sites
around the web( do a google search ) for tomcat provide enough support
for just about any possible problem out there.  Take a look at the
list archive.  Pretty much every question that could be asked has
been asked; 99.9...% of which have been answered promptly by
other users.  Free support, who can beat that!


---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com



RE: Another Newbie Question -- Urgent Please!

2001-02-07 Thread Erik LaBianca

Do you have the servlet api's in your compilers classpath?

--erik

-Original Message-
From: Rezaul H. Safiuddin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 10:09 PM
To: [EMAIL PROTECTED]
Subject: Another Newbie Question -- Urgent Please!




How come I am not being able to compile a HelloWorldServlet.java with
jdk1.3 ? Its giving me hundreds of compiler errors. I need to compile this
file and create the .class file . Do I need something  especial for
compiling servlets ? I already installed the TomCat 3.2.1 . Any Help would
be appreciated. But I am able to run the SnoopServlet.java that comes with
TomCat in the classes directory. Do I have to configure something else if
I wanna add a new servlet class ?

Kash


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

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




RE: Another Newbie Question -- Urgent Please!

2001-02-07 Thread Rezaul H. Safiuddin


OK...I am totally Confused..please Help!

I have jdk 1.3, Apache Web Server and TomCat 3.2Where is the javax
package ? I finally downloaded jsdk 2.1 and the javax directory is
there..I pointed the classpath to that directory or its parent directory
in many ways.. - but it never finds it.

Shouldn't the servlet API's come with TomCat or do I have to download Java
Web Server or whatever ? 

These are the errors I am getting :

HelloWorldServlet.java:3: package javax.servlet does not exist
import javax.servlet.*;
^
HelloWorldServlet.java:4: package javax.servlet.http does not exist
import javax.servlet.http.*;

Help please...Thanks.

Kash


On Wed, 7 Feb 2001, Erik LaBianca wrote:

> Do you have the servlet api's in your compilers classpath?
> 
> --erik
> 
> -Original Message-
> From: Rezaul H. Safiuddin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 07, 2001 10:09 PM
> To: [EMAIL PROTECTED]
> Subject: Another Newbie Question -- Urgent Please!
> 
> 
> 
> 
> How come I am not being able to compile a HelloWorldServlet.java with
> jdk1.3 ? Its giving me hundreds of compiler errors. I need to compile this
> file and create the .class file . Do I need something  especial for
> compiling servlets ? I already installed the TomCat 3.2.1 . Any Help would
> be appreciated. But I am able to run the SnoopServlet.java that comes with
> TomCat in the classes directory. Do I have to configure something else if
> I wanna add a new servlet class ?
> 
> Kash
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 


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




RE: Another Newbie Question -- Urgent Please!

2001-02-07 Thread Scott Walter

No you don't have to download anything extra.  The
classes are included with tomcat in the servlet.jar
file, which is located in the lib directory under your
tomcat install.

FYI--When specifying a classpath for jar files you
can't just specify the directory in which the jar file
exist in, you must include the full path.  Below is an
example to compile a servlet that needs servlet.jar:

javac -classpath c:\tomcat\lib\servlet.jar
MyServlet.java

scott.
--- "Rezaul H. Safiuddin" <[EMAIL PROTECTED]>
wrote:
> 
> OK...I am totally Confused..please Help!
> 
> I have jdk 1.3, Apache Web Server and TomCat
> 3.2Where is the javax
> package ? I finally downloaded jsdk 2.1 and the
> javax directory is
> there..I pointed the classpath to that directory or
> its parent directory
> in many ways.. - but it never finds it.
> 
> Shouldn't the servlet API's come with TomCat or do I
> have to download Java
> Web Server or whatever ? 
> 
> These are the errors I am getting :
> 
> HelloWorldServlet.java:3: package javax.servlet does
> not exist
> import javax.servlet.*;
> ^
> HelloWorldServlet.java:4: package javax.servlet.http
> does not exist
> import javax.servlet.http.*;
> 
> Help please...Thanks.
> 
> Kash
> 
> 
> On Wed, 7 Feb 2001, Erik LaBianca wrote:
> 
> > Do you have the servlet api's in your compilers
> classpath?
> > 
> > --erik
> > 
> > -Original Message-
> > From: Rezaul H. Safiuddin
> [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 07, 2001 10:09 PM
> > To: [EMAIL PROTECTED]
> > Subject: Another Newbie Question -- Urgent Please!
> > 
> > 
> > 
> > 
> > How come I am not being able to compile a
> HelloWorldServlet.java with
> > jdk1.3 ? Its giving me hundreds of compiler
> errors. I need to compile this
> > file and create the .class file . Do I need
> something  especial for
> > compiling servlets ? I already installed the
> TomCat 3.2.1 . Any Help would
> > be appreciated. But I am able to run the
> SnoopServlet.java that comes with
> > TomCat in the classes directory. Do I have to
> configure something else if
> > I wanna add a new servlet class ?
> > 
> > Kash
> > 
> > 
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, email:
> [EMAIL PROTECTED]
> > 
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, email:
> [EMAIL PROTECTED]
> > 
> > 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
> 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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




RE: Another Newbie Question -- Urgent Please!

2001-02-07 Thread Erik LaBianca

The easiest thing to do is just to copy the servlet.jar file into your 
c:\jdk1.3\jre\lib\ext folder.

I think thats the "official" place for extension api's. It is automatically
checked for jars to be added to the classpath.

--erik

-Original Message-
From: Scott Walter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 12:02 AM
To: [EMAIL PROTECTED]
Subject: RE: Another Newbie Question -- Urgent Please!


No you don't have to download anything extra.  The
classes are included with tomcat in the servlet.jar
file, which is located in the lib directory under your
tomcat install.

FYI--When specifying a classpath for jar files you
can't just specify the directory in which the jar file
exist in, you must include the full path.  Below is an
example to compile a servlet that needs servlet.jar:

javac -classpath c:\tomcat\lib\servlet.jar
MyServlet.java

scott.
--- "Rezaul H. Safiuddin" <[EMAIL PROTECTED]>
wrote:
> 
> OK...I am totally Confused..please Help!
> 
> I have jdk 1.3, Apache Web Server and TomCat
> 3.2Where is the javax
> package ? I finally downloaded jsdk 2.1 and the
> javax directory is
> there..I pointed the classpath to that directory or
> its parent directory
> in many ways.. - but it never finds it.
> 
> Shouldn't the servlet API's come with TomCat or do I
> have to download Java
> Web Server or whatever ? 
> 
> These are the errors I am getting :
> 
> HelloWorldServlet.java:3: package javax.servlet does
> not exist
> import javax.servlet.*;
> ^
> HelloWorldServlet.java:4: package javax.servlet.http
> does not exist
> import javax.servlet.http.*;
> 
> Help please...Thanks.
> 
> Kash
> 
> 
> On Wed, 7 Feb 2001, Erik LaBianca wrote:
> 
> > Do you have the servlet api's in your compilers
> classpath?
> > 
> > --erik
> > 
> > -Original Message-
> > From: Rezaul H. Safiuddin
> [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 07, 2001 10:09 PM
> > To: [EMAIL PROTECTED]
> > Subject: Another Newbie Question -- Urgent Please!
> > 
> > 
> > 
> > 
> > How come I am not being able to compile a
> HelloWorldServlet.java with
> > jdk1.3 ? Its giving me hundreds of compiler
> errors. I need to compile this
> > file and create the .class file . Do I need
> something  especial for
> > compiling servlets ? I already installed the
> TomCat 3.2.1 . Any Help would
> > be appreciated. But I am able to run the
> SnoopServlet.java that comes with
> > TomCat in the classes directory. Do I have to
> configure something else if
> > I wanna add a new servlet class ?
> > 
> > Kash
> > 
> > 
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, email:
> [EMAIL PROTECTED]
> > 
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, email:
> [EMAIL PROTECTED]
> > 
> > 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
> 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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

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




RE: Another Newbie Question -- Urgent Please!

2001-02-08 Thread Rezaul H. Safiuddin



Now I have a really stupid question ;-) ... 

Ok When I run the apache server it shows the following :

F:\Program Files\Apache Group\Apache>apache
[Wed Feb 07 20:41:46 2001] [alert] apache: Could not determine the
server's full
y qualified domain name, using 127.0.0.1 for ServerName
Apache/1.3.14 (Win32) tomcat/1.0 running...

QUESTION :
Why does it say TomCat 1.0..I have TomCat 3.2  ?

Next, How can I be sure that my requests are being served via the Apache
and TomCat and not only  stand alone TomCat ?

I mean when I do this following request..it lets me fill out the form and
responds properly... :

http://127.0.0.1/servlet/PhoneBook

But How do I know whether it actually goes through Apache to Tomcat or
just Tomcat ? Cause I need to use Tomcat with Apache, not standalone for
my purpose. 

Next Question :
I did not mess with the web.xml or server.xml at all to change any config
in the TomCat...When do I need to do that ? Is that application specific ?


I will appreciate your help and answers. Thanks very much.

Kash

On Wed, 7 Feb 2001, Scott Walter wrote:

> No you don't have to download anything extra.  The
> classes are included with tomcat in the servlet.jar
> file, which is located in the lib directory under your
> tomcat install.
> 
> FYI--When specifying a classpath for jar files you
> can't just specify the directory in which the jar file
> exist in, you must include the full path.  Below is an
> example to compile a servlet that needs servlet.jar:
> 
> javac -classpath c:\tomcat\lib\servlet.jar
> MyServlet.java
> 
> scott.
> --- "Rezaul H. Safiuddin" <[EMAIL PROTECTED]>
> wrote:
> > 
> > OK...I am totally Confused..please Help!
> > 
> > I have jdk 1.3, Apache Web Server and TomCat
> > 3.2Where is the javax
> > package ? I finally downloaded jsdk 2.1 and the
> > javax directory is
> > there..I pointed the classpath to that directory or
> > its parent directory
> > in many ways.. - but it never finds it.
> > 
> > Shouldn't the servlet API's come with TomCat or do I
> > have to download Java
> > Web Server or whatever ? 
> > 
> > These are the errors I am getting :
> > 
> > HelloWorldServlet.java:3: package javax.servlet does
> > not exist
> > import javax.servlet.*;
> > ^
> > HelloWorldServlet.java:4: package javax.servlet.http
> > does not exist
> > import javax.servlet.http.*;
> > 
> > Help please...Thanks.
> > 
> > Kash
> > 
> > 
> > On Wed, 7 Feb 2001, Erik LaBianca wrote:
> > 
> > > Do you have the servlet api's in your compilers
> > classpath?
> > > 
> > > --erik
> > > 
> > > -Original Message-
> > > From: Rezaul H. Safiuddin
> > [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, February 07, 2001 10:09 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Another Newbie Question -- Urgent Please!
> > > 
> > > 
> > > 
> > > 
> > > How come I am not being able to compile a
> > HelloWorldServlet.java with
> > > jdk1.3 ? Its giving me hundreds of compiler
> > errors. I need to compile this
> > > file and create the .class file . Do I need
> > something  especial for
> > > compiling servlets ? I already installed the
> > TomCat 3.2.1 . Any Help would
> > > be appreciated. But I am able to run the
> > SnoopServlet.java that comes with
> > > TomCat in the classes directory. Do I have to
> > configure something else if
> > > I wanna add a new servlet class ?
> > > 
> > > Kash
> > > 
> > > 
> > >
> >
> -
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, email:
> > [EMAIL PROTECTED]
> > > 
> > >
> >
> -
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, email:
> > [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> >
> -
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, email:
> > [EMAIL PROTECTED]
> > 
> 
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35 
> a year!  http://personal.mail.yahoo.com/
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 



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




RE: Another Newbie Question -- Urgent Please!

2001-02-08 Thread Randy Layman

See responses mixed in below

-Original Message-
From: Rezaul H. Safiuddin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 11:14 AM
To: [EMAIL PROTECTED]
Subject: RE: Another Newbie Question -- Urgent Please! 




Now I have a really stupid question ;-) ... 

Ok When I run the apache server it shows the following :

F:\Program Files\Apache Group\Apache>apache
[Wed Feb 07 20:41:46 2001] [alert] apache: Could not determine the
server's full
y qualified domain name, using 127.0.0.1 for ServerName
Apache/1.3.14 (Win32) tomcat/1.0 running...

QUESTION :
Why does it say TomCat 1.0..I have TomCat 3.2  ?


I believe that 1.0 is the HTTP protocol version that the server is using.
Tomcat only supports HTTP 1.0.  Tomcat 4 will support 1.1.  I don't believe
that there is a draft for version 1.2 yet.  Apache supports 1.1.



Next, How can I be sure that my requests are being served via the Apache
and TomCat and not only  stand alone TomCat ?

I mean when I do this following request..it lets me fill out the form and
responds properly... :

http://127.0.0.1/servlet/PhoneBook

But How do I know whether it actually goes through Apache to Tomcat or
just Tomcat ? Cause I need to use Tomcat with Apache, not standalone for
my purpose. 



In your server.xml file, check for your ports on PoolTcpConnectors.  By
default these are 8080 and 8007 - the ports that Tomcat will listen to.  In
your Apache configuration file there will be a like like "Listen 80" by
default (I'm really fuzzy on this, its been a long time since I configured
Apache).  This is the port that Apache will listen on.  Good so far?  Tomcat
8080 and 8007.  Apache 80.  Now you need to know that the default HTTP port
is 80.  So, if you don't specify a port in the URL you're talking to port
80.  (To use port 8080 it would be http://127.0.0.1:8080/servlet/PhoneBook)




Next Question :
I did not mess with the web.xml or server.xml at all to change any config
in the TomCat...When do I need to do that ? Is that application specific ?




As to what to chagne it really depends upon what you want to do.  If
you want to use Tomcat behind Apache you probably want to remove the
PoolTcpConnector for port 8080 (make the users go through Apache).  You also
probably want to remove some of the extra contexts that Tomcat installed by
default (examples for example).

Lastly, you will want to create a context for your application,
which means creating a new directory, adding a WEB-INF directory, and adding
a web.xml file and your content.

As to when, if you have everything working like it seems you do,
you're ready to develop your application.


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




RE: Another Newbie Question -- Urgent Please!

2001-02-08 Thread Stefan Langer

Hi 

I think what you are seeing is apache telling you that mod_jk is installed. (Correct 
me if I'm wrong)
But it doesn't mean that tomcat is actually running. Unless you changed the startup 
script tomcat has to be started seperatly. 
To check if Tomcat is running just log onto port 8080 as localhost and you should see 
the tomcat-index page, from there you can test the example servlets and jsp-pages. 

Stefan


Very Important and Urgent, please help

2001-01-16 Thread Yogesh Bhandarkar



Hello, All
 
I'm Using tomcat 3.2.1 on Redhat Linux 6.2, with 
apache 1.3.9. Problem here I'm facing is that, I'm not able to execute JSP 
files, when I try execute any JSP, it returns following error. 
 

Error: 500
Location: /examples/jsp/include/include.jspInternal Servlet 
Error:java.lang.NoSuchMethodError: javax.servlet.ServletException: method getRootCause()Ljava/lang/Throwable; not found
	at org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java, Compiled Code)
	at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.handleError(ContextManager.java, Compiled Code)
	at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java, Compiled Code)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code)
	at java.lang.Thread.run(Thread.java, Compiled Code)In any example it returns the same error. Please let me know the solution. Regards Yogesh Bhandarkar



Re[2]: URGENT! PLEASE.. STRANGE COMPILING ERROR

2002-02-26 Thread Catalin

thanks Jan!


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Very Important and Urgent, please help

2001-01-16 Thread GOMEZ Henri

Could you give us more info :

CLASSPATH, JDK


"Pour la plupart des hommes, se corriger consiste à changer de défauts."
-- Voltaire 
-Original Message-
From: Yogesh Bhandarkar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 2:46 PM
To: [EMAIL PROTECTED]
Subject: Very Important and Urgent, please help


Hello, All

I'm Using tomcat 3.2.1 on Redhat Linux 6.2, with apache 1.3.9. Problem here
I'm facing is that, I'm not able to execute JSP files, when I try execute
any JSP, it returns following error. 

Error: 500
Location: /examples/jsp/include/include.jsp
Internal Servlet Error:

java.lang.NoSuchMethodError: javax.servlet.ServletException: method
getRootCause()Ljava/lang/Throwable; not found
at
org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java,
Compiled Code)
at org.apache.tomcat.core.Handler.service(Handler.java, Compiled
Code)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled
Code)
at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java,
Compiled Code)
at org.apache.tomcat.core.Handler.service(Handler.java, Compiled
Code)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled
Code)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java,
Compiled Code)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled
Code)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java, Compiled Code)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
In any example it returns the same error. Please let me know the solution.
 
Regards
 
Yogesh Bhandarkar

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




AW: Very Important and Urgent, please help

2001-01-16 Thread Wenz Christian

please no HTML posts!
besides, check your CLASSPATH, I think you didn't include all necessary
files.

Regards
Christian

-Ursprüngliche Nachricht-
Von: Yogesh Bhandarkar [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 16. Januar 2001 14:46
An: [EMAIL PROTECTED]
Betreff: Very Important and Urgent, please help


I'm Using tomcat 3.2.1 on Redhat Linux 6.2, with apache 1.3.9. Problem here
I'm facing is that, I'm not able to execute JSP files, when I try execute
any JSP, it returns following error. 

Error: 500

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




RE: Very Important and Urgent, please help

2001-01-16 Thread G.Nagarajan



try it 
with jdk1.3, tools.jar in the classpath. ensure that you have set the JAVA_HOME 
environment variable.

  -Original Message-From: Yogesh Bhandarkar 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, January 16, 2001 
  2:46 PMTo: [EMAIL PROTECTED]Subject: Very 
  Important and Urgent, please help
  Hello, All
   
  I'm Using tomcat 3.2.1 on Redhat Linux 6.2, with 
  apache 1.3.9. Problem here I'm facing is that, I'm not able to execute JSP 
  files, when I try execute any JSP, it returns following error. 
   
  
  Error: 500
  Location: /examples/jsp/include/include.jspInternal Servlet 
  Error:java.lang.NoSuchMethodError: javax.servlet.ServletException: method getRootCause()Ljava/lang/Throwable; not found
	at org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java, Compiled Code)
	at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.handleError(ContextManager.java, Compiled Code)
	at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java, Compiled Code)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code)
	at java.lang.Thread.run(Thread.java, Compiled Code)In any example it returns the same error. Please let me know the solution. Regards Yogesh Bhandarkar



RE: Very Important and Urgent, please help

2001-01-16 Thread Michael Wentzel

> I'm Using tomcat 3.2.1 on Redhat Linux 6.2, with apache 1.3.9. Problem
here I'm facing is that, I'm 
> not able to execute JSP files, when I try execute any JSP, it returns
following error. 
>
> Error: 500
> Location: /examples/jsp/include/include.jsp
> Internal Servlet Error:
>
> java.lang.NoSuchMethodError: javax.servlet.ServletException: method
getRootCause()
> Ljava/lang/Throwable; not found
>   at
org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java,
Compiled Code)


Old version of servlet.jar?

Check to make sure you don't have multiple copies of servlet.jar sitting
around and check the version of the servlet.jar file you're using.

I echo the sentiment of Wenz Christian regarding HTML messages(plain text
please).

 ---
Michael Wentzel
Software Developer
http://www.aswethink.com">Software As We Think
mailto:[EMAIL PROTECTED]">Michael Wentzel

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




Re: Very Important and Urgent, please help

2001-01-16 Thread karanmalhi



please check if you have put some other older 
version of servlet.jar in your classpath or in java_home\jre\lib\ext folder. if 
yes then remove it and the problem will be solved

  - Original Message - 
  From: 
  Yogesh Bhandarkar 
  To: [EMAIL PROTECTED] 
  Sent: Tuesday, January 16, 2001 7:16 
  PM
  Subject: Very Important and Urgent, 
  please help
  
  Hello, All
   
  I'm Using tomcat 3.2.1 on Redhat Linux 6.2, with 
  apache 1.3.9. Problem here I'm facing is that, I'm not able to execute JSP 
  files, when I try execute any JSP, it returns following error. 
   
  
  Error: 500
  Location: /examples/jsp/include/include.jspInternal Servlet 
  Error:java.lang.NoSuchMethodError: javax.servlet.ServletException: method getRootCause()Ljava/lang/Throwable; not found
	at org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java, Compiled Code)
	at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.handleError(ContextManager.java, Compiled Code)
	at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java, Compiled Code)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code)
	at java.lang.Thread.run(Thread.java, Compiled Code)In any example it returns the same error. Please let me know the solution. Regards Yogesh Bhandarkar



Urgent please, what does this error mean( IncompatibleClassChangeError)?

2003-07-16 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi guys,
the following error message have been coming since my (servlet) controller
started to deal with an optional multipart-form/data . Any kind of help
would be appreciated.
Regards, Euclides.


java.lang.IncompatibleClassChangeError
at BancoServlet.init(BancoServlet.java:50)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
4)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at org.apache.catalina.core.StandardPipeline

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



URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi gurus,
a little helping hand, please! I have updated my bean and so, i have put
this new bean version  in right package. However, the problem begins
whenever a new  bean object is created (instanced) by a servlet and captured
by a jsp later. The browser returns me error - 500. Probably, i guess my
TomCat 4.1.18 is working with old bean version, instead of the newer. What
should i do?
Euclides.

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



RE: server.xml and configuring connection pools (URGENT: please look)

2002-09-10 Thread Donie Kelly

Hi all
Simple problem I guess. I'm trying to limit tomcat to 20 threads max but
still accept connections using the acceptCount parameter of Connector in
server.xml.

My problem is that the application will accept up to 20 connections and give
connection refused for everything else. What am I doing wrong? I thought I
would have to make 120 active connections before I would get connection
refused?

My config is below
Thanks
Donie




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: server.xml and configuring connection pools (URGENT: please look)

2002-09-10 Thread Bill Barker

The "acceptCount" is nearly useless (unless you *really* know what you are
doing), since it only sets the TCP/IP "backlog" (which is one of those
things, that if you don't know what it is, you don't need it :).

There is a one-to-one mapping of socket connections to threads, so setting
"maxProcessors" to 20 means that Tomcat will only accept 20 socket
connections.  This could be from 20 different IPs, or much less if some
clients aren't using keep-alive.  On the other hand increasing the number of
threads doesn't really cost you anything, since the unused ones are blocked
until a request comes in.

What the "acceptCount" is doing for you is allowing each client to stack up
100 different requests in the queue.  I don't know of any client that would
even think of trying something like this, which is why it's not that useful.

"Donie Kelly" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all
> Simple problem I guess. I'm trying to limit tomcat to 20 threads max but
> still accept connections using the acceptCount parameter of Connector in
> server.xml.
>
> My problem is that the application will accept up to 20 connections and
give
> connection refused for everything else. What am I doing wrong? I thought I
> would have to make 120 active connections before I would get connection
> refused?
>
> My config is below
> Thanks
> Donie
>
>  port="80" minProcessors="5" maxProcessors="20"
>enableLookups="true" redirectPort="443" acceptCount="100"
> debug="0" connectionTimeout="6"/>





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: server.xml and configuring connection pools (URGENT: please look)

2002-09-11 Thread Donie Kelly

Thanks Bill

I understand you answer. Thank you for that. I was hoping it was different
but now that I know what it's doing I'm happier.

Donie


-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]]
Sent: 11 September 2002 06:13
To: [EMAIL PROTECTED]
Subject: Re: server.xml and configuring connection pools (URGENT: please
look)

The "acceptCount" is nearly useless (unless you *really* know what you are
doing), since it only sets the TCP/IP "backlog" (which is one of those
things, that if you don't know what it is, you don't need it :).

There is a one-to-one mapping of socket connections to threads, so setting
"maxProcessors" to 20 means that Tomcat will only accept 20 socket
connections.  This could be from 20 different IPs, or much less if some
clients aren't using keep-alive.  On the other hand increasing the number of
threads doesn't really cost you anything, since the unused ones are blocked
until a request comes in.

What the "acceptCount" is doing for you is allowing each client to stack up
100 different requests in the queue.  I don't know of any client that would
even think of trying something like this, which is why it's not that useful.

"Donie Kelly" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all
> Simple problem I guess. I'm trying to limit tomcat to 20 threads max but
> still accept connections using the acceptCount parameter of Connector in
> server.xml.
>
> My problem is that the application will accept up to 20 connections and
give
> connection refused for everything else. What am I doing wrong? I thought I
> would have to make 120 active connections before I would get connection
> refused?
>
> My config is below
> Thanks
> Donie
>
>  port="80" minProcessors="5" maxProcessors="20"
>enableLookups="true" redirectPort="443" acceptCount="100"
> debug="0" connectionTimeout="6"/>





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

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




Re: Urgent please, what does this error mean( IncompatibleClassChangeError)?

2003-07-16 Thread Rick
You might need to recompile all of your classes. 

- Original Message - 
From: "Jose Euclides da Silva Junior - DATAPREVRJ" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 16, 2003 4:29 PM
Subject: Urgent please, what does this error mean( IncompatibleClassChangeError)?


> Hi guys,
> the following error message have been coming since my (servlet) controller
> started to deal with an optional multipart-form/data . Any kind of help
> would be appreciated.
> Regards, Euclides.
> 
> 
> java.lang.IncompatibleClassChangeError
> at BancoServlet.init(BancoServlet.java:50)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
> 4)
> at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:214)
> at org.apache.catalina.core.StandardPipeline
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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



RE: Urgent please, what does this error mean( IncompatibleClassChangeError)?

2003-07-17 Thread Shapira, Yoav

Howdy,
What are you using (if a 3rd party package) to handle file uploads?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Jose Euclides da Silva Junior - DATAPREVRJ
>[mailto:[EMAIL PROTECTED]
>Sent: Wednesday, July 16, 2003 7:30 PM
>To: '[EMAIL PROTECTED]'
>Subject: Urgent please, what does this error mean(
>IncompatibleClassChangeError)?
>
>Hi guys,
>the following error message have been coming since my (servlet)
controller
>started to deal with an optional multipart-form/data . Any kind of help
>would be appreciated.
>Regards, Euclides.
>
>
>java.lang.IncompatibleClassChangeError
>   at BancoServlet.init(BancoServlet.java:50)
>   at
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.ja
va:9
>3
>4)
>   at
>org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:
666)
>   at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.j
>a
>va:214)
>   at org.apache.catalina.core.StandardPipeline
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RES: Urgent please, what does this error mean( IncompatibleClassChangeError)?

2003-07-17 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Thank you! This is the real problem...
Euclides.

-Mensagem original-
De: Rick [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 16 de julho de 2003 23:50
Para: Tomcat Users List
Assunto: Re: Urgent please, what does this error mean(
IncompatibleClassChangeError)?


You might need to recompile all of your classes. 

- Original Message - 
From: "Jose Euclides da Silva Junior - DATAPREVRJ"
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 16, 2003 4:29 PM
Subject: Urgent please, what does this error mean(
IncompatibleClassChangeError)?


> Hi guys,
> the following error message have been coming since my (servlet) controller
> started to deal with an optional multipart-form/data . Any kind of help
> would be appreciated.
> Regards, Euclides.
> 
> 
> java.lang.IncompatibleClassChangeError
> at BancoServlet.init(BancoServlet.java:50)
> at
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
> 4)
> at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:214)
> at org.apache.catalina.core.StandardPipeline
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

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



RES: Urgent please, what does this error mean( IncompatibleClassChangeError)?

2003-07-17 Thread Jose Euclides da Silva Junior - DATAPREVRJ
No, iam using Jakarta-commons/fileupload ! I found out that it only runs if
i work with DiskFileUpload class, instead of FileUpload ( I got a
nullexception ). Very strange, isnt it? I have to deal with this problem,
since i have just to persist streams on DB. 
Regarding the problem described bellow, i have fixed it by recompiling my
classes.
Thanks Yoav,
Euclides. 

-Mensagem original-
De: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 17 de julho de 2003 09:47
Para: Tomcat Users List
Assunto: RE: Urgent please, what does this error mean(
IncompatibleClassChangeError)?



Howdy,
What are you using (if a 3rd party package) to handle file uploads?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Jose Euclides da Silva Junior - DATAPREVRJ
>[mailto:[EMAIL PROTECTED]
>Sent: Wednesday, July 16, 2003 7:30 PM
>To: '[EMAIL PROTECTED]'
>Subject: Urgent please, what does this error mean(
>IncompatibleClassChangeError)?
>
>Hi guys,
>the following error message have been coming since my (servlet)
controller
>started to deal with an optional multipart-form/data . Any kind of help
>would be appreciated.
>Regards, Euclides.
>
>
>java.lang.IncompatibleClassChangeError
>   at BancoServlet.init(BancoServlet.java:50)
>   at
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.ja
va:9
>3
>4)
>   at
>org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:
666)
>   at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.j
>a
>va:214)
>   at org.apache.catalina.core.StandardPipeline
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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

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



Session Problem with Tomcat and Apache - URGENT - Please help!!!!

2002-05-10 Thread Rajesh Harikrishnan

Hi All,

 I am having a problem with the session objects, let me first explain how we have used 
the session object in our application

we have an application which is initalizing an 'SESSION' object when the user log's 
into the system. 
This object is used to store three attributes, 
1) we have used 'session.setAttribute()' and 'session.setValue()' methods for creating 
key pair value objects in the session.
2) We have also used the 'session.getAttribute()' and 'session.getValue()' for 
retriving the data from the session object.
3) We have not used the 'session.removeAttribute()' any where in our application.
4) But in all pages, to check the session object validity, we have used 
'request.getSession()'.

Does calling this creates a attribute set in a old session object to be incorrectly 
re-written?.

The problem:
We are getting this following problem randomly,

The session object exists, but the attributes inside the session object unbinds and 
returns a null value!!.


We are using 'Apache1.3.20+Tomcat3.2.2+JDK1.3.1+WINDOWS NT 4.0' for our application. 
we have also set our 'setMaxInactiveInterval(3)' when creating the session object 
for the first time.

What is the cause of the attributes being removed from the session object, or in case 
is the session object itself is created as a new object during 'request.getSession()' 
calls and causing this problem.

Have you people faced similar problems??.

Please post your reply on this issue, this is a very urgent issue to be solved.

Thanks in advance

Regards
H.Rajesh
([EMAIL PROTECTED])
SSPL,India



RE: URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Shapira, Yoav

Howdy,
You should post the logs with the full error and your relevant source
code.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Jose Euclides da Silva Junior - DATAPREVRJ
>[mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 25, 2003 10:40 AM
>To: '[EMAIL PROTECTED]'
>Subject: URGENT, PLEASE. The old Bug with bean cache?
>
>Hi gurus,
>a little helping hand, please! I have updated my bean and so, i have
put
>this new bean version  in right package. However, the problem begins
>whenever a new  bean object is created (instanced) by a servlet and
>captured
>by a jsp later. The browser returns me error - 500. Probably, i guess
my
>TomCat 4.1.18 is working with old bean version, instead of the newer.
What
>should i do?
>Euclides.
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RES: URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Jose Euclides da Silva Junior - DATAPREVRJ
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)


HERE IS WHERE TOMCAT SHOWS THE ERROR.

The  bean name is dica. I made a test, putting a line with a condition like
this:
if (dica == null) // NEW !
  System.out.println("valorrr"+dica.getteDescricaodica());
and this condition is true when this app runs!!! Why?

_

 System.out.println(" passei no getatribute " + autorizacao);
 
  for(int i = 0;pega.hasNext()&&i<10;i++)
  {
dica = (Dica)pega.next();
int limite = 0;
if (dica == null) // NEW !
  System.out.println("valorrr"+dica.getteDescricaodica());
if (dica.getteDescricaodica().length() <= 40 )
  limite = dica.getteDescricaodica().length(); 
else
   limite = 40;
if (limite == 0) limite = 1;
  

if ( autorizacao == null )

{ %>
<%=dica.getnomeDica()%>
 
<%
} 
 else   
{ %>
   <%=dica.getnomeDica()%><
/a>
<%
} %>
 <%=dica.getNmAutor()%>

 
 <%=dica.getteDescricaodica().substring(0,limite)%>...

 
   
<%
  } 


-Mensagem original-
De: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 25 de setembro de 2003 11:53
Para: Tomcat Users List
Assunto: RE: URGENT, PLEASE. The old Bug with bean cache?



Howdy,
You should post the logs with the full error and your relevant source
code.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Jose Euclides da Silva Junior - DATAPREVRJ
>[mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 25, 2003 10:40 AM
>To: '[EMAIL PROTECTED]'
>Subject: URGENT, PLEASE. The old Bug with bean cache?
>
>Hi gurus,
>a little helping hand, please! I have updated my bean and so, i have
put
>this new bean version  in right package. However, the problem begins
>whenever a new  bean object is created (instanced) by a servlet and
>captured
>by a jsp later. The browser returns me error - 500. Probably, i guess
my
>TomCat 4.1.18 is working with old bean version, instead of the newer.
What
>should i do?
>Euclides.
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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

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



RE: URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Mike Curwen
Well uhh

if (dica == null) // NEW !
  System.out.println("valorrr"+dica.getteDescricaodica());

You check an object, determine it is null, and then try to call a method
(gettDescricaodica()) on that object.. but you just determined it was
null!!
 
That's why you get java.lang.NullPointerException as the root cause of
your servlet exception.



> -Original Message-
> From: Jose Euclides da Silva Junior - DATAPREVRJ 
> [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 25, 2003 10:01 AM
> To: 'Tomcat Users List'; '[EMAIL PROTECTED]'
> Subject: RES: URGENT, PLEASE. The old Bug with bean cache?
> 
> 
> HERE IS THE ERROR MESSAGE . Thanks in advance, Euclides.
> 
> The server encountered an internal error () that prevented it 
> from fulfilling this request.
> 
> exception 
> 
> org.apache.jasper.JasperException
>   at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> Wrapper.java:2
> 48)
>   at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> .java:295)
>   at 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat
> ionDispatcher.
> java:684)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(Appli
> cationDispatch
> er.java:432)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.forward(Applica
> tionDispatcher
> .java:356)
>   at BancoServlet.recuperaDicaTopico(BancoServlet.java:370)
>   at BancoServlet.service(BancoServlet.java:228)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Application
> FilterChain.java:247)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterCh
> ain.java:193)
>   at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
> va:260)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> va:191)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2415)
>   at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
> )
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> java:170)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>   at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:172
> )
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
> :174)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
> java:223)
>   at
> org.apache.coyote.http11.Http11Processor.process(Http11Process
> or.java:432)
>   at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.processConne
> ction(Http11Protocol.java:386)
>   at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:534)
>   at 

RES: URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Dont worry about that! The condition statement is just a test that i have
included in my the original code...
The real problem is why the dica object doesnt exist?!
Euclides.

-Mensagem original-
De: Mike Curwen [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 25 de setembro de 2003 12:10
Para: 'Tomcat Users List'
Assunto: RE: URGENT, PLEASE. The old Bug with bean cache?


Well uhh

if (dica == null) // NEW !
  System.out.println("valorrr"+dica.getteDescricaodica());

You check an object, determine it is null, and then try to call a method
(gettDescricaodica()) on that object.. but you just determined it was
null!!
 
That's why you get java.lang.NullPointerException as the root cause of
your servlet exception.



> -Original Message-
> From: Jose Euclides da Silva Junior - DATAPREVRJ 
> [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 25, 2003 10:01 AM
> To: 'Tomcat Users List'; '[EMAIL PROTECTED]'
> Subject: RES: URGENT, PLEASE. The old Bug with bean cache?
> 
> 
> HERE IS THE ERROR MESSAGE . Thanks in advance, Euclides.
> 
> The server encountered an internal error () that prevented it 
> from fulfilling this request.
> 
> exception 
> 
> org.apache.jasper.JasperException
>   at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> Wrapper.java:2
> 48)
>   at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> .java:295)
>   at 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat
> ionDispatcher.
> java:684)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(Appli
> cationDispatch
> er.java:432)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.forward(Applica
> tionDispatcher
> .java:356)
>   at BancoServlet.recuperaDicaTopico(BancoServlet.java:370)
>   at BancoServlet.service(BancoServlet.java:228)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Application
> FilterChain.java:247)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterCh
> ain.java:193)
>   at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
> va:260)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> va:191)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2415)
>   at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
> )
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> java:170)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>   at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:172
> )
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
> :174)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
> java:2

RE: URGENT, PLEASE. The old Bug with bean cache?

2003-09-25 Thread Mike Curwen
No WORRY about that. It's incredibly bad coding practice, it is what
is throwing the NullPointerException. 
 
What you have to do is investigate:
dica = (Dica)pega.next();

What is pega?  What populates the pega objects with dica objects?  Look
in *that* code.


> -Original Message-
> From: Jose Euclides da Silva Junior - DATAPREVRJ 
> [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 25, 2003 10:13 AM
> To: 'Tomcat Users List'; '[EMAIL PROTECTED]'
> Subject: RES: URGENT, PLEASE. The old Bug with bean cache?
> 
> 
> Dont worry about that! The condition statement is just a test 
> that i have included in my the original code... The real 
> problem is why the dica object doesnt exist?! Euclides.
> 
> -Mensagem original-
> De: Mike Curwen [mailto:[EMAIL PROTECTED]
> Enviada em: quinta-feira, 25 de setembro de 2003 12:10
> Para: 'Tomcat Users List'
> Assunto: RE: URGENT, PLEASE. The old Bug with bean cache?
> 
> 
> Well uhh
> 
> if (dica == null) // NEW !
>   System.out.println("valorrr"+dica.getteDescricaodica());
> 
> You check an object, determine it is null, and then try to 
> call a method
> (gettDescricaodica()) on that object.. but you just 
> determined it was null!!
>  
> That's why you get java.lang.NullPointerException as the root 
> cause of your servlet exception.
> 
> 
> 
> > -Original Message-
> > From: Jose Euclides da Silva Junior - DATAPREVRJ
> > [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, September 25, 2003 10:01 AM
> > To: 'Tomcat Users List'; '[EMAIL PROTECTED]'
> > Subject: RES: URGENT, PLEASE. The old Bug with bean cache?
> > 
> > 
> > HERE IS THE ERROR MESSAGE . Thanks in advance, Euclides.
> > 
> > The server encountered an internal error () that prevented it
> > from fulfilling this request.
> > 
> > exception
> > 
> > org.apache.jasper.JasperException
> > at
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> > Wrapper.java:2
> > 48)
> > at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> > .java:295)
> > at 
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at 
> > org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat
> > ionDispatcher.
> > java:684)
> > at 
> > org.apache.catalina.core.ApplicationDispatcher.doForward(Appli
> > cationDispatch
> > er.java:432)
> > at 
> > org.apache.catalina.core.ApplicationDispatcher.forward(Applica
> > tionDispatcher
> > .java:356)
> > at BancoServlet.recuperaDicaTopico(BancoServlet.java:370)
> > at BancoServlet.service(BancoServlet.java:228)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at 
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> > er(Application
> > FilterChain.java:247)
> > at 
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> > cationFilterCh
> > ain.java:193)
> > at 
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValve.ja
> > va:260)
> > at 
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at 
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValve.ja
> > va:191)
> > at 
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > t.java:2415)
> > at 
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > Valve.java:180
> > )
> > at 
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > at 
> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
>

RE: Session Problem with Tomcat and Apache - URGENT - Please help!!!!

2002-05-10 Thread Martin van den Bemt

Do you actually create a session somewhere. Since you are only using
request.getSession(). This will get the session if it is there, or null if
it is not there. As safe bet is to use request.getSession(true); 

Mvgr,
Martin

> -Original Message-
> From: Rajesh Harikrishnan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 14:29
> To: Tomcat Users List
> Subject: Session Problem with Tomcat and Apache - URGENT - Please
> help
>
>
> Hi All,
>
>  I am having a problem with the session objects, let me first
> explain how we have used the session object in our application
>
> we have an application which is initalizing an 'SESSION' object
> when the user log's into the system.
> This object is used to store three attributes,
> 1) we have used 'session.setAttribute()' and 'session.setValue()'
> methods for creating key pair value objects in the session.
> 2) We have also used the 'session.getAttribute()' and
> 'session.getValue()' for retriving the data from the session object.
> 3) We have not used the 'session.removeAttribute()' any where in
> our application.
> 4) But in all pages, to check the session object validity, we
> have used 'request.getSession()'.
>
> Does calling this creates a attribute set in a old session object
> to be incorrectly re-written?.
>
> The problem:
> We are getting this following problem randomly,
>
> The session object exists, but the attributes inside the session
> object unbinds and returns a null value!!.
>
>
> We are using 'Apache1.3.20+Tomcat3.2.2+JDK1.3.1+WINDOWS NT 4.0'
> for our application. we have also set our
> 'setMaxInactiveInterval(3)' when creating the session object
> for the first time.
>
> What is the cause of the attributes being removed from the
> session object, or in case is the session object itself is
> created as a new object during 'request.getSession()' calls and
> causing this problem.
>
> Have you people faced similar problems??.
>
> Please post your reply on this issue, this is a very urgent issue
> to be solved.
>
> Thanks in advance
>
> Regards
> H.Rajesh
> ([EMAIL PROTECTED])
> SSPL,India
>


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




Urgent please -crazy error when turnning tomcat a NT4.0 Servi c e

2003-10-20 Thread Jose Euclides da Silva Junior - DATAPREVRJ

Hi Guys,
i am still having problems since Tomcat 4.1.18 was configured as a NT 4.0's
service. This error (showed below) always happens whenever my app try to
work with the result set. Is it a hint? Of course, if i stop  making TomCat
a NT service, the problem doesnt happen anymore and my app runs fine...
A hint: no logs are generated by NT and the Tomcat service is UP!
Thanks in advance, Euclides.  

-Mensagem original-
De: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 21:19
Para: 'Tomcat Users List'
Assunto: RES: Urgent help -crazy error when turnning tomcat a NT4.0
Servi ce

Hi guys,
BELOW IS SHOWED THE ERROR! The problems happens at my Servlet, whenever it
tries to deal with the result set.Very strange! Another problem: since i
remove tool.jar from classpath, neither static nor dinamics pages are
loaded.
Still needing help.





HTTP Status 500 - 




type Exception report

message 

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception 

java.lang.NullPointerException
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache


-Mensagem original-
De: John Corrigan [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 21:00
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


If Jose is using a 4.1.x version of Tomcat and using the tools which are
included with Tomcat for running it as a service then environment variables
are irrelevant other than during the service installation process.  To
change CLASSPATH or any other Java environment settings, he would have to
edit the registry.

It is not clear as to whether by "dynamic" pages he is referring to JSPs,
servlets, or those which access the database.  If it is only JSPs which
fail, then I would suspect that the jvm.dll pointed to is incorrect (common
problem with 4.1.24).  If it is only database access (which the original
post implied) then I would stick with my original hunch that it is a
permissions issue, depending upon the database/driver.

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:51 PM
To: Jose Euclides da Silva Junior - DATAPREVRJ; 'Tomcat Users List'
Subject: Re: Urgent help -crazy error when turnning tomcat a NT4.0
Service


no, set your

JAVA_HOME=c:\j2sdk1.4.1_01

nothing else
then set

PATH=%JAVA_HOME%\bin;%PATH%

in your computer environments, not the user environment

- Original Message -
From: "Jose Euclides da Silva Junior - DATAPREVRJ"
<[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, October 17, 2003 4:40 PM
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0 Service


I ve put tools.jar at my JAVA HOME - like that -->
c:\j2sdk1.4.1_01\lib\tools.jar. Unfortunatelly, this problem goes on
I am s

RE: Urgent please -crazy error when turnning tomcat a NT4.0 Servi ce

2003-10-20 Thread Mike Curwen
what database are you using?
 
If it's MSAccess, then make sure you set up your DSN to be a 'system'
DSN.

> -Original Message-
> From: Jose Euclides da Silva Junior - DATAPREVRJ 
> [mailto:[EMAIL PROTECTED] 
> Sent: Monday, October 20, 2003 11:24 AM
> To: '[EMAIL PROTECTED]'
> Subject: Urgent please -crazy error when turnning tomcat a 
> NT4.0 Servi ce
> 
> 
> 
> Hi Guys,
> i am still having problems since Tomcat 4.1.18 was configured 
> as a NT 4.0's service. This error (showed below) always 
> happens whenever my app try to work with the result set. Is 
> it a hint? Of course, if i stop  making TomCat a NT service, 
> the problem doesnt happen anymore and my app runs fine... A 
> hint: no logs are generated by NT and the Tomcat service is 
> UP! Thanks in advance, Euclides.  
> 
> -Mensagem original-
> De: Jose Euclides da Silva Junior - DATAPREVRJ 
> [mailto:[EMAIL PROTECTED]
> Enviada em: sexta-feira, 17 de outubro de 2003 21:19
> Para: 'Tomcat Users List'
> Assunto: RES: Urgent help -crazy error when turnning tomcat a 
> NT4.0 Servi ce
> 
> Hi guys,
> BELOW IS SHOWED THE ERROR! The problems happens at my 
> Servlet, whenever it tries to deal with the result set.Very 
> strange! Another problem: since i remove tool.jar from 
> classpath, neither static nor dinamics pages are loaded. 
> Still needing help.
> 
> 
> 
> 
> 
> HTTP Status 500 - 
> 
> --
> --
> 
> 
> type Exception report
> 
> message 
> 
> description The server encountered an internal error () that 
> prevented it from fulfilling this request.
> 
> exception 
> 
> java.lang.NullPointerException
>   at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
>   at BancoServlet.service(BancoServlet.java:249)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Application
> FilterChain.java:247)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterCh
> ain.java:193)
>   at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
> va:260)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> va:191)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2415)
>   at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
> )
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> java:170)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>   at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:172
> )
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at org.apache
> 
> 
> -Mensagem original-
> De: John Corrigan [mailto:[EMAIL PROTECTED]
> Enviada em: sexta-feira, 17 de outubro de 2003 21:00
> Para: Tomcat Users List
> Assunto: RE: Urgent help -crazy error when turnning tomcat a 
> NT4.0 Service
> 
> 
> If Jose is using a 4.1.x version of Tomcat and using the 
> tools which are included with Tomcat for running it as a 
> service then environment variables are irrelevant other than 
> during the service installation process.  To change CLASSPATH 
> or any other Java environment settings, he would have to edit 
> the registry.
> 
> It is not clear as to whether by "dynamic" pages he is 
> referring to JSPs, servlets, or those which access the 
> da

RE: Urgent please -crazy error when turnning tomcat a NT4.0 Servi ce

2003-10-20 Thread Wade Chandler
I would say it is a permissions error.  You are getting a
NullPointerException.  Which probably means something was not found.  It
could even be a targeting error.  The service is probably being ran as a
user with no permissions.  What are you doing on the lines in the code
from here:
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
This is the link to your problem.  It is not actually because of Tomcat.
I don't believe.  It is permissions and system administration.  Paste
your code.  We could help you better.  What type of database are you
using?  Are you accessing any files or directories?  That is the key to
your problem.

Wade

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2003 12:24 PM
To: '[EMAIL PROTECTED]'
Subject: Urgent please -crazy error when turnning tomcat a NT4.0 Servi
ce



Hi Guys,
i am still having problems since Tomcat 4.1.18 was configured as a NT
4.0's service. This error (showed below) always happens whenever my app
try to work with the result set. Is it a hint? Of course, if i stop
making TomCat a NT service, the problem doesnt happen anymore and my app
runs fine... A hint: no logs are generated by NT and the Tomcat service
is UP! Thanks in advance, Euclides.  

-Mensagem original-
De: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 21:19
Para: 'Tomcat Users List'
Assunto: RES: Urgent help -crazy error when turnning tomcat a NT4.0
Servi ce

Hi guys,
BELOW IS SHOWED THE ERROR! The problems happens at my Servlet, whenever
it tries to deal with the result set.Very strange! Another problem:
since i remove tool.jar from classpath, neither static nor dinamics
pages are loaded. Still needing help.





HTTP Status 500 - 





type Exception report

message 

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception 

java.lang.NullPointerException
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tion
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
5)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at org.apache


-Mensagem original-
De: John Corrigan [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 21:00
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


If Jose is using a 4.1.x version of Tomcat and using the tools which are
included with Tomcat for running it as a service then environment
variables are irrelevant other than during the service installation
process.  To change CLASSPATH or any other Java environment settings, he
would have to edit the registry.

It is not clear as to whether by "dynamic" pages he is referring to
JSPs, servlets, or those which access the database.  If it is only JSPs
which fail, then I would suspect that the jvm.dll pointed to is
incorrect (com

RE: Urgent please -crazy error when turnning tomcat a NT4.0 Servi ce

2003-10-20 Thread Wade Chandler
Jose,

I understand that the error is occuring on line 413 from this
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)

But what that fails to tell me is the exact call it is failing on.  Can
you paste that actual code to the list.  Then we could pin point the
issue.  As in, soon after the statement rs.next()...are you calling
getString or getFloat or some ResultSet method, are you calling new
java.io.File(pathToFile) then some other functions for some reason?
What is the exact call on line 413?  That is where it is failing.  The
code is the key to gettting help in this situation.  Maybe you can post
a whole block around the failing line.  That would be more helpful.

Wade

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2003 1:36 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: ENC: Urgent please -crazy error when turnning tomcat a NT4.0
Servi ce


Answering your question...
DataBase: Oracle 8i - ORACLE THIN DRIVER / SERVER: WINDOWS NT 4.0 SP6.0a
Place where the error occurs: line 413 --> soon after the statement
rs.next()

con.prepareStatement(query);
  rs = pstmt.executeQuery();
  if ( !rs.next() ) 
LINE 413->  {

If you have any other doubt let me know,
Regards, Euclides.

-Mensagem original-
De: Wade Chandler [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 20 de outubro de 2003 13:50
Para: 'Tomcat Users List'
Assunto: RE: Urgent please -crazy error when turnning tomcat a NT4.0
Servi ce


I would say it is a permissions error.  You are getting a
NullPointerException.  Which probably means something was not found.  It
could even be a targeting error.  The service is probably being ran as a
user with no permissions.  What are you doing on the lines in the code
from here:
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
This is the link to your problem.  It is not actually because of Tomcat.
I don't believe.  It is permissions and system administration.  Paste
your code.  We could help you better.  What type of database are you
using?  Are you accessing any files or directories?  That is the key to
your problem.

Wade

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2003 12:24 PM
To: '[EMAIL PROTECTED]'
Subject: Urgent please -crazy error when turnning tomcat a NT4.0 Servi
ce



Hi Guys,
i am still having problems since Tomcat 4.1.18 was configured as a NT
4.0's service. This error (showed below) always happens whenever my app
try to work with the result set. Is it a hint? Of course, if i stop
making TomCat a NT service, the problem doesnt happen anymore and my app
runs fine... A hint: no logs are generated by NT and the Tomcat service
is UP! Thanks in advance, Euclides.  

-Mensagem original-
De: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 21:19
Para: 'Tomcat Users List'
Assunto: RES: Urgent help -crazy error when turnning tomcat a NT4.0
Servi ce

Hi guys,
BELOW IS SHOWED THE ERROR! The problems happens at my Servlet, whenever
it tries to deal with the result set.Very strange! Another problem:
since i remove tool.jar from classpath, neither static nor dinamics
pages are loaded. Still needing help.





HTTP Status 500 - 





type Exception report

message 

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception 

java.lang.NullPointerException
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tion
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.cat

RE: Urgent please -crazy error when turnning tomcat a NT4.0 Servi ce

2003-10-20 Thread Mike Curwen
You've posted code for:
recuperaDicaTopico
but the stack trace shows the problem is in:
recuperaTopicoAssunto



> -Original Message-
> From: Jose Euclides da Silva Junior - DATAPREVRJ 
> [mailto:[EMAIL PROTECTED] 
> Sent: Monday, October 20, 2003 1:41 PM
> To: 'Tomcat Users List'; '[EMAIL PROTECTED]'
> Subject: RES: Urgent please -crazy error when turnning tomcat 
> a NT4.0 Servi ce
> 
> 
> Ok, here it is:
> 
>  private void recuperaDicaTopico( String topico1 , String id, 
> HttpServletRequest request, HttpServletResponse response, 
> DataSource ds)
> throws ServletException,IOException
> {
> try
>  {
>   //  NOVO Connection con = null;
>   this.ds = ds;
>   //con = ds.getConnection();
>   PreparedStatement pstmt = null;
>   ResultSet rs = null;
>   String topico2 = topico1;
>   System.out.println( topico1 );
>   ArrayList al = new ArrayList();
>   String query = "Select * FROM DICAS WHERE ID_TOPICO = " 
> + topico2;
>   pstmt = con.prepareStatement(query);
>   rs = pstmt.executeQuery();
>   if ( !rs.next() ) 
>  {   // --> THIS IS LINE 413 <--
> fechaconection( pstmt,rs,con);
> chamadevolta = 
> getServletContext().getRequestDispatcher("/semconteudo.jsp");
> chamadevolta.forward(request,response);
>  }
>   else 
> {
>do 
>  {
> Dica total = getDica(rs);
> al.add(total);
>  } while (rs.next());
>  System.out.println ( "passei query");
>  //fechaconection( con,pstmt,rs);
>  fechaconection( pstmt,rs,con);
>  String resultado1 = "Resultado da consulta pelo 
> Topico --> " + vetorTopico[Integer.parseInt(topico2)];
>  request.setAttribute("origem",resultado1);
>  request.setAttribute("array",al);   
>  chamadevolta = 
> getServletContext().getRequestDispatcher("/rodrigo2.jsp");
>  chamadevolta.forward(request,response);
> 
> }
> }
> 
> catch(SQLException se)
>     {
>   System.out.println( "Erro na consulta a dicas: 
> BancoServlet " +  se);
> }
>}
> 
> t0
> -Mensagem original-
> De: Wade Chandler [mailto:[EMAIL PROTECTED]
> Enviada em: segunda-feira, 20 de outubro de 2003 15:34
> Para: 'Tomcat Users List'
> Assunto: RE: Urgent please -crazy error when turnning tomcat 
> a NT4.0 Servi ce
> 
> 
> Jose,
> 
> I understand that the error is occuring on line 413 from this
>   at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
>   at BancoServlet.service(BancoServlet.java:249)
> 
> But what that fails to tell me is the exact call it is 
> failing on.  Can you paste that actual code to the list.  
> Then we could pin point the issue.  As in, soon after the 
> statement rs.next()...are you calling getString or getFloat 
> or some ResultSet method, are you calling new
> java.io.File(pathToFile) then some other functions for some 
> reason? What is the exact call on line 413?  That is where it 
> is failing.  The code is the key to gettting help in this 
> situation.  Maybe you can post a whole block around the 
> failing line.  That would be more helpful.
> 
> Wade
> 
> -Original Message-
> From: Jose Euclides da Silva Junior - DATAPREVRJ 
> [mailto:[EMAIL PROTECTED] 
> Sent: Monday, October 20, 2003 1:36 PM
> To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
> Subject: ENC: Urgent please -crazy error when turnning tomcat 
> a NT4.0 Servi ce
> 
> 
> Answering your question...
> DataBase: Oracle 8i - ORACLE THIN DRIVER / SERVER: WINDOWS NT 
> 4.0 SP6.0a Place where the error occurs: line 413 --> soon 
> after the statement
> rs.next()
> 
> con.prepareStatement(query);
>   rs = pstmt.executeQuery();
>   if ( !rs.next() ) 
> LINE 413->  {
> 
> If you have any other doubt let me know,
> Regards, Euclides.
> 
> -Mensagem original-
> De: Wade Chandler [mailto:[EMAIL PROTECTED]
> Enviada em: segunda-feira, 20 de outubro de 2003 13:50
> Para: 'Tomcat Users List'
> Assunto: RE: Urgent please -crazy error when turnning tomcat 
> a NT4.0 Servi ce
> 
> 
> I would say it is a permissions error.  You are getting a 
> NullPointerException.  Which probably means something was not 
> found.  It could even be a targeting error.  The service is 
> probably being ran as a user with no permissions.  What

RES: Urgent please -crazy error when turnning tomcat a NT4.0 Ser vi ce

2003-10-20 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Oracle 8i - Oracle Thin driver

what database are you using?
 
If it's MSAccess, then make sure you set up your DSN to be a 'system'
DSN.

> -Original Message-
> From: Jose Euclides da Silva Junior - DATAPREVRJ 
> [mailto:[EMAIL PROTECTED] 
> Sent: Monday, October 20, 2003 11:24 AM
> To: '[EMAIL PROTECTED]'
> Subject: Urgent please -crazy error when turnning tomcat a 
> NT4.0 Servi ce
> 
> 
> 
> Hi Guys,
> i am still having problems since Tomcat 4.1.18 was configured 
> as a NT 4.0's service. This error (showed below) always 
> happens whenever my app try to work with the result set. Is 
> it a hint? Of course, if i stop  making TomCat a NT service, 
> the problem doesnt happen anymore and my app runs fine... A 
> hint: no logs are generated by NT and the Tomcat service is 
> UP! Thanks in advance, Euclides.  
> 
> -Mensagem original-
> De: Jose Euclides da Silva Junior - DATAPREVRJ 
> [mailto:[EMAIL PROTECTED]
> Enviada em: sexta-feira, 17 de outubro de 2003 21:19
> Para: 'Tomcat Users List'
> Assunto: RES: Urgent help -crazy error when turnning tomcat a 
> NT4.0 Servi ce
> 
> Hi guys,
> BELOW IS SHOWED THE ERROR! The problems happens at my 
> Servlet, whenever it tries to deal with the result set.Very 
> strange! Another problem: since i remove tool.jar from 
> classpath, neither static nor dinamics pages are loaded. 
> Still needing help.
> 
> 
> 
> 
> 
> HTTP Status 500 - 
> 
> --
> --
> 
> 
> type Exception report
> 
> message 
> 
> description The server encountered an internal error () that 
> prevented it from fulfilling this request.
> 
> exception 
> 
> java.lang.NullPointerException
>   at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
>   at BancoServlet.service(BancoServlet.java:249)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Application
> FilterChain.java:247)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterCh
> ain.java:193)
>   at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
> va:260)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> va:191)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2415)
>   at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
> )
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>   at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> java:170)
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>   at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:172
> )
>   at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>   at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>   at org.apache
> 
> 
> -Mensagem original-
> De: John Corrigan [mailto:[EMAIL PROTECTED]
> Enviada em: sexta-feira, 17 de outubro de 2003 21:00
> Para: Tomcat Users List
> Assunto: RE: Urgent help -crazy error when turnning tomcat a 
> NT4.0 Service
> 
> 
> If Jose is using a 4.1.x version of Tomcat and using the 
> tools which are included with Tomcat for running it as a 
> service then environment variables are irrelevant other than 
> during the service installation process.  To change CLASSPATH 
> or any other Java environment settings, he would have to edit 
> the registry.
> 
> It is not clear as to whether by "dynamic" pages he is 
> referring to JSPs, servlets, or 

RES: Urgent please -crazy error when turnning tomcat a NT4.0 Ser vi ce

2003-10-20 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Answering your question...
DataBase: Oracle 8i - ORACLE THIN DRIVER / SERVER: WINDOWS NT 4.0 SP6.0a
Place where the error occurs:
line 413 --> soon after the statement rs.next()

con.prepareStatement(query);
  rs = pstmt.executeQuery();
  if ( !rs.next() ) 
LINE 413->  {

If you have any other doubt let me know,
Regards, Euclides.

-Mensagem original-
De: Wade Chandler [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 20 de outubro de 2003 13:50
Para: 'Tomcat Users List'
Assunto: RE: Urgent please -crazy error when turnning tomcat a NT4.0
Servi ce


I would say it is a permissions error.  You are getting a
NullPointerException.  Which probably means something was not found.  It
could even be a targeting error.  The service is probably being ran as a
user with no permissions.  What are you doing on the lines in the code
from here:
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
This is the link to your problem.  It is not actually because of Tomcat.
I don't believe.  It is permissions and system administration.  Paste
your code.  We could help you better.  What type of database are you
using?  Are you accessing any files or directories?  That is the key to
your problem.

Wade

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2003 12:24 PM
To: '[EMAIL PROTECTED]'
Subject: Urgent please -crazy error when turnning tomcat a NT4.0 Servi
ce



Hi Guys,
i am still having problems since Tomcat 4.1.18 was configured as a NT
4.0's service. This error (showed below) always happens whenever my app
try to work with the result set. Is it a hint? Of course, if i stop
making TomCat a NT service, the problem doesnt happen anymore and my app
runs fine... A hint: no logs are generated by NT and the Tomcat service
is UP! Thanks in advance, Euclides.  

-Mensagem original-
De: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 21:19
Para: 'Tomcat Users List'
Assunto: RES: Urgent help -crazy error when turnning tomcat a NT4.0
Servi ce

Hi guys,
BELOW IS SHOWED THE ERROR! The problems happens at my Servlet, whenever
it tries to deal with the result set.Very strange! Another problem:
since i remove tool.jar from classpath, neither static nor dinamics
pages are loaded. Still needing help.





HTTP Status 500 - 





type Exception report

message 

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception 

java.lang.NullPointerException
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tion
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
5)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at org.apache


-Mensagem original-
De: John Corrigan [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 17 de outubro de 2003 21:00
Para: Tomcat Users List
Assunto: RE: Urgent 

  1   2   >