Tomcat error

2001-04-24 Thread Chonsiu208



Hi everybody,
 

I'm using Poolman1.4.1 with tomcat3.2.It can be run smoothly 
at first, but after few hrs the tomcat will be shutdown and "Dr Wattson" promopt 
up an error box say:"java.exe error, Invalid Access(0xc005)".Do anybody know 
what's happening ? Also the poolman sometimes display "Invalid handle/General 
error" on the console of tomcat3.2...Can anybody tell me why this happen ? 
thx!


### TOMCAT ERROR:

2001-06-14 Thread Wils

i am use FreeBSD e like install tomcat
i installed
i receive this error in start prog.
/usr/local/etc/rc.d/tomcat.sh start
 tomcat
squid# SIGSEGV   11*  segmentation violation

Full thread dump:
NULL (TID:0x284730b0, sys_thread_t:0x805a800, state:R) prio=5 *current
thread*
Monitor Cache Dump:
Registered Monitor Dump:
Thread queue lock: 
Name and type hash table lock: 
String intern lock: 
JNI pinning lock: 
JNI global reference lock: 
BinClass lock: 
Class loading lock: 
Java stack lock: 
Code rewrite lock: 
Heap lock: 
Has finalization queue lock: 
Finalize me queue lock: 
Monitor IO lock: 
Child death monitor: 
Event monitor: 
I/O monitor: 
Alarm monitor: 
Memory allocation lock: 
Monitor registry: owner NULL (0x805a800, 1 entry)
Thread Alarm Q:
- Original Message -
From: "Jean-Etienne G." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 14, 2001 10:56 AM
Subject: SSL handshake failure URGENT


Hello,

 I get no responses for my previous mails... so maybe I did not contact the
good mailing list. Please give me an start of response...

 Hello,
 I have a cert importation problem

 here is the output of an openSSL client command [witch emulate a browser]
(openssl s_client -connect 127.0.0.1:8443 -cert cl_cert.pem -key
 cl_key.pem -state) :

 Enter PEM pass phrase:
 CONNECTED(0003)
 SSL_connect:before/connect initialization
 SSL_connect:SSLv2/v3 write client hello A
 SSL3 alert read:fatal:handshake failure
 SSL_connect:error in SSLv2/v3 read server hello A
 1993:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert
handshake failure:s23_clnt.c:453:

 Can someone help me ?
 Is it a way to make it work without installing apache ?
 Thanks for your answer




 I have this tomcat configuration :


 
 
 
 
 
 
 
 


 And that are all the lines procedure I entered to make it well work

 mkdir ./demoCA
 echo "" > ./demoCA/index.txt
 echo "01" > ./demoCA/serial

 # CA
 openssl req -new -out ca_req.pem -keyout ca_key.pem
 #pwd:pwd_ca
 #challenge_pwd:ch_ca
 #company name:THE_ORG

 # CLIENT
 openssl req -new -out cl_req.pem -keyout cl_key.pem
 #pwd:pwd_cl
 #ch_pwd:ch_cl
 #company name:THE_ORG
 # SERVER
 openssl req -new -out sr_req.pem -keyout sr_key.pem
 #pwd:pwd_sr
 #ch_pwd:ch_sr
 #company name:THE_ORG
 # CA AUTH
 echo "CA AUTH : enter CA password"
 openssl req -x509 -in ca_req.pem -key ca_key.pem -out ca_cert.pem
 #pwd:pwd_ca
 rm ./demoCA/index.txt
 rm ./demoCA/serial
 cat "" > ./demoCA/index.txt
 cat "01" > ./demoCA/serial

 # CLIENT AUTH BY CA
 echo "CL AUTH : enter CA password"
 openssl ca -cert ca_cert.pem -in cl_req.pem -out cl_cert.pem -keyfile
ca_key.pem -config /usr/local/ssl/openssl.cnf
 #pwd:pwd_ca

 # SERVER AUTH BY CA
 echo "SR AUTH : enter CA password"
 openssl ca -cert ca_cert.pem -in sr_req.pem -out sr_cert.pem -keyfile
ca_key.pem -config /usr/local/ssl/openssl.cnf
 #pwd:pwd_ca

 # CONVERT SERVER AUTH FROM PEM FORMAT TO DER FORMAT
 openssl x509 -inform PEM -in sr_cert.pem -outform DER -out sr_cert.der

 # REMOVE PREVIOUS KEYSTORE
 rm /opt/tomcat-3-2-2/tomcat/conf/keystore

 # IMPORT SERVER CERT IN TOMCAT KEYSTORE
 echo "IMPORT SR CERT : enter SR password"
 /usr/java/jdk1.3/bin/keytool -import -v -trustcacerts -alias tomcat -file
sr_cert.der -keystore /opt/tomcat-3-2-2/tomcat/conf/keystore
 #pwd:pwd_sr

 # CONVERTING CLIENT CERT INTO NETSCAPE PKCS12 FORMAT
 echo "CL CERT CONVERSION : PEM -> P12 : enter CL passwd"
 openssl pkcs12 -in cl_cert.pem -inkey cl_key.pem -export -out cl_cert.p12
 #pwd:pwd_cl
 #exp_pwd:pwd_cl

 # CONNECTION TO THE TOMCAT SERVER
 openssl s_client -connect 127.0.0.1:8443 -cert cl_cert.pem -key
cl_key.pem -state
__
Voila vous propose une boite aux lettres gratuite sur Voila Mail:
http://mail.voila.fr








TOMCAT error

2001-11-22 Thread Catalin

Hi 2 All,
Am new to Tomcat and I want to know if there is documentation of
errors  like this:
"
javax.servlet.ServletException
at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:455)
at 
Privacy675.RAP.archivio_list_dati_pers_1._jspService(archivio_list_dati_pers_1.java:471)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)
at org.apache.tomcat.core.Handler.service(Handler.java:223)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:865)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:778)
at 
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:150)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:435)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:505)
at java.lang.Thread.run(Thread.java:484)
Root cause:
java.lang.NullPointerException
at 
Privacy675.RAP.archivio_list_dati_pers_1._jspService(archivio_list_dati_pers_1.java:242)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)
at org.apache.tomcat.core.Handler.service(Handler.java:223)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:865)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:778)
at 
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:150)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:435)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:505)
at java.lang.Thread.run(Thread.java:484)


"
  

-- 
Best regards,
 Catalin  mailto:[EMAIL PROTECTED]



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




Tomcat Error

2001-02-18 Thread Don Quy Ha



Hi,
How could I fix the problem below?  Thanks.
Don Ha
 
 

Error: 500
Location: /jsp/num/numguess.jspInternal Servlet Error:org.apache.jasper.JasperException: Unable to compile class for JSPC:\Jakarta\jakarta-tomcat\work\localhost_8080%2Fjsp\_0002fnum_0002fnumguess_0002ejspnumguess_jsp_0.java:15: Class num.NumberGuessBean not found in import.
import num.NumberGuessBean;
   ^
1 error

	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:254)
	at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
	at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)




tomcat Error

2003-01-08 Thread Elif Akten

Hi,
anybody knows is error?

The requested method POST is not allowed for the URL /XX.jsp

infact this jsp file is working with IPlanet webServer


_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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



Tomcat error

2003-03-04 Thread Adam Denenberg
Has anyone seen this error before and know what it means?

 thanks
Adam

INFO: Initializing Coyote HTTP/1.1 on port 8080
ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with Ajp13Connector
at 
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:224)
at 
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
cleListe
ner.java:369)
at 
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
cleListe
ner.java:777)
at 
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
cleListe
ner.java:751)
at 
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
cleListe
ner.java:339)
at 
org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLife
cycleLis
tener.java:206)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:1
66)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2182)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone


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



tomcat error

2003-07-24 Thread Steven Garrett
Hi,

I'm getting the following error and I'm not sure how to fix it.

StandardServer.await: create[8005]: java.net.BindException: Cannot assign
requested address

I'm starting the server as root.  Running tomcat 4.1.24 on RH9.

Thanks,

Steve

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



tomcat-error

2005-06-03 Thread Christian Stalp
Hello together,
I have a problem, concerning the normal call of the Tomcat-Startpage. Each 
time I call the localhost:8180 ( 8180 is my port for tomcat, debian-tomcat )  
I get this weired output on my Browser. I don't understand this, the servelt 
were not compiled in runtime like a PHP or Perl-script!?!

This is it:

[quote]
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: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file



 at 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
 at 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:248)
 at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)
 at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
 at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
 at org.apache.catalina.core.ApplicationFilterChain.access$000
(ApplicationFilterChain.java:51)
 at 
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:129)
 at java.security.AccessController.doPrivileged(Native Method)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:125)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
 at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
 at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
 at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
 at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
 at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
 at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
 at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
 at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 at java.lang.Thread.run(Thread.java:534)

Apache Tomcat/4.1

[/quote]
Can anybody help me?

Thank you

Gruss Christian

-- 
Christian Stalp
Institut für Medizinische Biometrie, Epidemiologie und Informatik
Johannes-Gutenberg-Universität Mainz
Tel.: 06131 / 17-3107
E-Mail: [EMAIL PROTECTED]

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



tomcat error

2004-12-25 Thread Muhammad Hamizi Jaminan
hi,

i've succesfully setup tomcat on by rh9 box. when i try upload the file 
test.jsp to my boxm, i try to access my domain1 tomcat show the error 
404. but the files is exist in my host domain1. i try add 1 more host 
domain2 and upload it. it still same. when i put the test.jsp 
to /home/tomcat/servlet/ it ok.

how to set the server.xml to make my virtualhost can access the own 
file in the domain? i've tried to search in google but no aswer get... :
(




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



mod_jk & tomcat error pages (bug in tomcat error pages?)

2002-04-16 Thread rob

When tomcat displays error messages after an exception in the underlying 
application typically does some formatting on the error produced (ie 
adding styles).

I use mod_jk to run my application where the jsp/servlets function fine 
over the connector to tomcat.  However if an error occurs resulting in 
an exception the error message from tomcat is not formatted properly.  I 
end up seeing all the html and style elements in plain text which makes 
reading the error message quite annoying.

This does not however happen when exceptions occur and running tomcat in 
standalone mode.

Now one might think the connector is not working but unless an exception 
occurs the jsp and servlets work fine.

I believe when tomcat displays error messages that go over the connector 
the Content-Type header is being incorrectly specified to plain/text 
instead of text/html?

Can anyone comment on this?

Also, this may not be reproducable in internet explorer I've noticed IE 
sometimes ignores Content-Type headers and does what it wants.  You may
have to use Netscape or Mozilla to reproduce.


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




Tomcat error: JAVA.ENDORSED.DIRS

2002-10-13 Thread Eric Jackson

I am trying to run Tomcat 4.1.12 on Windows 98 2nd Edition 
 with JRE1.3.1.  After setting my JAVA_HOME and try to start 
 Tomcat, I get the following error
 
E:\tomcat\bin>startup
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
Using CATALINA_BASE:   E:\tomcat
Using CATALINA_HOME:   E:\tomcat
Using CATALINA_TMPDIR: E:\tomcat\temp
Using JAVA_HOME:   E:\j2re1.3.1
Invalid switch - -DJAVA.ENDORSED.DIRS=
E:\tomcat\bin>
 
 what is this error?  I got the same error with JRE1.4.1. How can I get rid of it and 
get my 
 Tomcat server started?
 
 Thanks,
Eric




RE: tomcat error

2002-06-20 Thread Turner, John


Have you restarted or otherwise executed your autoexec.bat file?  What
platform are you using?  The best way to set environment variables is to do
so through the Control Panel.  On Windows 2000, Control
Panel->System->Advanced->Environment Variables.

Have you verified that TOMCAT_HOME has a value?

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Halil AKINCI [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 12:05 PM
To: Tomcat Users List
Subject: tomcat error


Hi all,

I'm installed my computer jakarta-tomcat-3.3.1 and changed my
Autoexec.bat file (set java_home and tomcat_home). When I want to start
tomcat, I receive following error message

"\lib\tomcat.jar" not found. Unable to locate "\lib\tomcat.jar",
check the value of TOMCAT_HOME and/or TOMCAT_INSTALL.

What can I do?

thanks... 
   
   
 
 
 




Re: tomcat error

2002-06-20 Thread Yu Ye Zhou

After you change the autoexec.bat files, did you
execute it before you start tomcat? If you didn't,
your change won't take any effect.
 
--- Halil AKINCI <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I'm installed my computer
> jakarta-tomcat-3.3.1 and changed my Autoexec.bat
> file (set java_home and tomcat_home). When I want to
> start tomcat, I receive following error message
> 
> "\lib\tomcat.jar" not found. Unable to
> locate "\lib\tomcat.jar", check the value of
> TOMCAT_HOME and/or TOMCAT_INSTALL.
> 
> What can I do?
> 
> thanks... 
>
>
>  
>  
>  
> 
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




Tomcat error page

2001-09-12 Thread Alexandre Victoor

Hello again,
I would like to know if it is possible to configure tomcat to serve a 
static page (without the java stack trace) when an error 500 occurs.
Is there a tag like "" that I need to add in web.xml ?
Thanks for your help

Alexandre






About Tomcat error.

2001-12-04 Thread Chencf

Dear Sir,

I have installed Tomcat 3.3 and want to integrate into my IIS. My OS is Win2k SP2 
with IIS5.0. But after I follow the instruction of "Tomcat IIS Howto" article, I can 
not browse any page and find the Default Web Site stopped. The default web site is 
using port 80 and there is always warning "Address already in use" when I start the 
default web site.
The below error message is show in browser when I click 
http://localhost/examples/jsp/index.html. I hope your any idea and suggestions. Thanks 
in advance.

Browser Error

Your Browser sent a malformed request. You may need to configure your browser to use 
proxies, or you may need to change the port that your webserver is using. 

Yours, Jackie.




Stopping tomcat error

2002-03-13 Thread Chris Woods

I have no problem starting tomcat but when I try to stop tomcat using
shutdown.sh command I get this output:

[jakarta@linux lib]$
/var/jakarta/jakarta-tomcat/build/tomcat/bin/shutdown.sh 
Using classpath:
/var/jakarta/jakarta-tomcat/build/tomcat/bin/../lib/tomcat.jar
Using JAVA_HOME: /usr/java/jdk1.3.1_01
Using TOMCAT_HOME: /var/jakarta/jakarta-tomcat/build/tomcat
Stopping Tomcat.
Can't read /var/jakarta/jakarta-tomcat/build/tomcat/conf/ajp12.id
[jakarta@linux lib]$ 


Thanks.
Chris.


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




tomcat error messages

2001-07-22 Thread Pancham Singh

I am having hard time trying to figure out what does the two "nulls" =
mean when Tomcat sends a 404 response back:

2001-07-22 14:20:35 - Ctx(  ): 404 R(  + /servlet/wps + null) null.

Also, I never see tomcat.log file  in $TOMCAT_HOME/logs directory, even =
thogh tomcat is writing error messges on System.err. Is it a =
configuration issue?
Thanks,
Pancham.


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




RE: Tomcat error

2003-03-04 Thread Mike Jackson
Since you're using the legacy apj13 code you need to comment out the jmx
stuff from the server.xml file.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

> -Original Message-
> From: Adam Denenberg [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 04, 2003 9:32 AM
> To: Tomcat Users List
> Subject: Tomcat error
>
>
> Has anyone seen this error before and know what it means?
>
>  thanks
> Adam
>
> INFO: Initializing Coyote HTTP/1.1 on port 8080
> ServerLifecycleListener: createMBeans: MBeanException
> java.lang.Exception: ManagedBean is not found with Ajp13Connector
> at
> org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:224)
> at
> org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Se
> rverLifecy
> cleListe
> ner.java:369)
> at
> org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Se
> rverLifecy
> cleListe
> ner.java:777)
> at
> org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Se
> rverLifecy
> cleListe
> ner.java:751)
> at
> org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Se
> rverLifecy
> cleListe
> ner.java:339)
> at
> org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(
> ServerLife
> cycleLis
> tener.java:206)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifec
> ycleSuppor
> t.java:1
> 66)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2182)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
> pl.java:39
> )
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
> cessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> Starting service Tomcat-Standalone
>
>
> -
> 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: Tomcat error

2003-03-04 Thread Jacob Kjome
Either use the Coyote connector for AJP (the one configured for port 8009) 
and comment out the Ajp13Connector config or keep using the Ajp13Connector 
config and comment out the  stuff near the top of 
server.xml.  Either will solve the problem.  Or, you can just ignore the error.

Jake

At 12:31 PM 3/4/2003 -0500, you wrote:
Has anyone seen this error before and know what it means?

 thanks
Adam
INFO: Initializing Coyote HTTP/1.1 on port 8080
ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with Ajp13Connector
at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:224)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
cleListe
ner.java:369)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
cleListe
ner.java:777)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
cleListe
ner.java:751)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
cleListe
ner.java:339)
at
org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLife
cycleLis
tener.java:206)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:1
66)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2182)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat error

2003-03-04 Thread Harry Gehring
Can I ask a follow on question to this, if you use mod_jk.dll do you have to use the 
Ajp13Connector, and the Coyote connector should only be used for mod_jk2.dll?
 
Because I have installed Apache 2.0.44 and Tomcat 4.1.18 and when I use 
mod_jk-2.0.43.dll, Apache starts fine, but if I use mod_jk2-2.0.43.dll, I get the 
following error and Apache does not start:  
 
Syntax error on line 990 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
Can't locate API module structure `jk_module' in file C:/Program Files/Apache 
Group/Apache2/modules/mod_jk2-2.0.43.dll: No error
 
My really issue here is that I cannot get a .jsp file to work through Apache.  I get 
an Internal Server Error everytime I hit a .jsp file, but the same file works fine if 
I hit it directly from Tomcat.
 
Harry

 

-Original Message- 
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: Tue 3/4/2003 3:26 PM 
To: Tomcat Users List 
Cc: 
Subject: Re: Tomcat error




Either use the Coyote connector for AJP (the one configured for port 8009)
and comment out the Ajp13Connector config or keep using the Ajp13Connector
config and comment out the  stuff near the top of
server.xml.  Either will solve the problem.  Or, you can just ignore the error.

Jake

At 12:31 PM 3/4/2003 -0500, you wrote:
>Has anyone seen this error before and know what it means?
>
>  thanks
>Adam
>
>INFO: Initializing Coyote HTTP/1.1 on port 8080
>ServerLifecycleListener: createMBeans: MBeanException
>java.lang.Exception: ManagedBean is not found with Ajp13Connector
> at
>org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:224)
> at
>org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
>cleListe
>ner.java:369)
> at
>org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
>cleListe
>ner.java:777)
> at
>org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
>cleListe
>ner.java:751)
> at
>org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
>cleListe
>ner.java:339)
> at
>org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLife
>cycleLis
>tener.java:206)
> at
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
>t.java:1
>66)
> at
>org.apache.catalina.core.StandardServer.start(StandardServer.java:2182)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>)
> at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>Starting service Tomcat-Standalone
>
>
>-
>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: Tomcat error

2003-03-04 Thread Jacob Kjome
The CoyoteConnector is compatible with both mod_jk and jk2.  And if you are 
using mod_jk, then you should have mod_jk.dll in apache's modules 
directory, not the jk2 dll.

Since I can't see your mod_jk configuration, you will have to double check 
that everything is ok there.

Jake



At 03:34 PM 3/4/2003 -0500, you wrote:
Can I ask a follow on question to this, if you use mod_jk.dll do you have 
to use the Ajp13Connector, and the Coyote connector should only be used 
for mod_jk2.dll?

Because I have installed Apache 2.0.44 and Tomcat 4.1.18 and when I use 
mod_jk-2.0.43.dll, Apache starts fine, but if I use mod_jk2-2.0.43.dll, I 
get the following error and Apache does not start:

Syntax error on line 990 of C:/Program Files/Apache 
Group/Apache2/conf/httpd.conf:
Can't locate API module structure `jk_module' in file C:/Program 
Files/Apache Group/Apache2/modules/mod_jk2-2.0.43.dll: No error

My really issue here is that I cannot get a .jsp file to work through 
Apache.  I get an Internal Server Error everytime I hit a .jsp file, but 
the same file works fine if I hit it directly from Tomcat.

Harry



-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tue 3/4/2003 3:26 PM
To: Tomcat Users List
Cc:
    Subject: Re: Tomcat error


Either use the Coyote connector for AJP (the one configured for 
port 8009)
and comment out the Ajp13Connector config or keep using the 
Ajp13Connector
config and comment out the  stuff near the top of
server.xml.  Either will solve the problem.  Or, you can just 
ignore the error.

Jake

At 12:31 PM 3/4/2003 -0500, you wrote:
>Has anyone seen this error before and know what it means?
>
>  thanks
>Adam
>
>INFO: Initializing Coyote HTTP/1.1 on port 8080
>ServerLifecycleListener: createMBeans: MBeanException
>java.lang.Exception: ManagedBean is not found with Ajp13Connector
> at
 >org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:224)
> at
 >org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
>cleListe
>ner.java:369)
> at
 >org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
>cleListe
>ner.java:777)
> at
 >org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
>cleListe
>ner.java:751)
> at
 >org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
>cleListe
>ner.java:339)
> at
 >org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLife
>cycleLis
>tener.java:206)
> at
 >org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
>t.java:1
>66)
> at
 >org.apache.catalina.core.StandardServer.start(StandardServer.java:2182)
> at 
org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> at 
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> at 
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
> at

 >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>)
> at
 >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>Starting service Tomcat-Standalone
>
>

 >-
>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: Tomcat error

2003-03-04 Thread Harry Gehring
Jake,
 
I have checked all the config files and I must just be missing something.  Any help 
you could give me would be deeply appreciated.  The issue I have is that alone, both 
Apache and Tomcat work fine, but when I try to run one of the Tomcat examples from 
Apache I get an Internal Server Error (http://localhost/examples/jsp.date.jsp), but 
nothing gets written to the logs to show that Tomcat is even being contacted by Apache.
 
Here is all the info: 
I am running apache2.0.44, tomcat4.1.18, and mod_jk-2.0.43.dll on a windows 2000 box.
 
I have set up the config files as follows:
 
http.conf  -- added the following lines to the end of the file
 
# Including Tomcat to the Apache server
LoadModule jk_module modules/mod_jk-2.0.43.dll
JkWorkersFile "C:/apps/Tomcat4.1/conf/jk/workers.properties"
JkLogFile "C:/apps/Tomcat4.1/logs/mod_jk.log"
Include "C:/apps/Tomcat4.1/conf/auto/mod_jk.conf"
 
server.xml
 



  
  
  
  
  






  
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
  
  
pathname
conf/tomcat-users.xml
  

  
  
  




 



   


  
  
  
  
  
  



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

  mail.smtp.host
  localhost

  
  

  

  

 
 
mod_jk.conf
 
## Auto generated on Tue Mar 04 16:31:21 EST 2003##

  LoadModule jk_module "C:/Program Files/Apache 
Group/Apache2/modules/mod_jk-2.0.43.dll"

JkWorkersFile "C:/apps/Tomcat4.1/conf/jk/workers.properties"
JkLogFile "C:/apps/Tomcat4.1/logs/mod_jk.log"
JkLogLevel info

ServerName localhost
 localhost:/examples 
# Static files
Alias /examples "C:/apps/Tomcat4.1/webapps/examples"

Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp


# Deny direct access to WEB-INF and META-INF
#

AllowOverride None
deny from all


AllowOverride None
deny from all

#
# Use Directory too. On Windows, Location doesn't work unless case matches
#

AllowOverride None
deny from all


AllowOverride None
deny from all

JkMount /examples/jsp/security/protected/j_security_check  ajp13
JkMount /examples/snoop  ajp13
JkMount /examples/servlet/*  ajp13
JkMount /examples/CompressionTest  ajp13
JkMount /examples/*.jsp  ajp13
JkMount /examples/servletToJsp  ajp13
JkMount /examples/SendMailServlet  ajp13

 
workers.properties
 
#  Setting Tomcat & Java home
workers.tomcat_home="C:\apps\Tomcat4.1"
workers.java_home="C:\j2sdk1.4.1_02"
ps=\
workers.list=ajp13
# Setting for ajp13 worker
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
 
 
Thanks,
 
Harry
 
 

-Original Message- 
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
    Sent: Tue 3/4/2003 4:27 PM 
To: Tomcat Users List 
Cc: 
Subject: RE: Tomcat error




The CoyoteConnector is compatible with both mod_jk and jk2.  And if you are
using mod_jk, then you should have mod_jk.dll in apache's modules
directory, not the jk2 dll.

Since I can't see your mod_jk configuration, you will have to double check
that everything is ok there.

Jake



At 03:34 PM 3/4/2003 -0500, you wrote:
>Can I ask a follow on question to this, if you use mod_jk.dll do you have
>to use the Ajp13Connector, and the Coyote connector should only be used
>for mod_jk2.dll?
>
>Because I have installed Apache 2.0.44 and Tomcat 4.1.18 and when I use
>mod_jk-2.0.43.dll, Apache starts fine, but if I use mod_jk2-2.0.43.dll, I
>get the following error and Apache does not start:
>
>Syntax error on line 990 of C:/Program Files/Apache
>Group/Apache2/conf/httpd.conf:
>Can't locate API module structure `jk_module' in file C:/Program
>Files/Apache Group/Apache2/modules/mod_jk2-2.0.43.dll: No error
>
>My really issue here is that I cannot get a .jsp file to work through
>Apache.  I get an Internal Server Error everytime I hit a .jsp file, but
>the same file works fine if I hit it directly from Tomcat.
>
>Harry
>
>
>

Re: tomcat error

2003-07-24 Thread John Turner
The address Tomcat is trying to use to startup does not exist on the 
machine.

This can happen if you are using NAT or have some other address 
masking/forwarding going on.

Are you sure that the IP address Tomcat is using exists on the machine? 
 If you've given Tomcat a hostname, does the IP address that the 
hostname resolves to exist on the machine?

What hostname are you using?

John

Steven Garrett wrote:

Hi,

I'm getting the following error and I'm not sure how to fix it.

StandardServer.await: create[8005]: java.net.BindException: Cannot assign
requested address
I'm starting the server as root.  Running tomcat 4.1.24 on RH9.

Thanks,

Steve

-
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: tomcat error

2003-07-24 Thread Steven Garrett
The IP address resolves to the hostname and vice versa.  There is no masking
going on.  and this box is not natted.  What is really strange is that my
tomcat instance was working just fine yesterday, then we rebooted this box
(it's a development server, gets rebooted all the time) and now it doesn't
work and I continue to get that error.

The hostname is md11

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 3:32 PM
To: Tomcat Users List
Subject: Re: tomcat error



The address Tomcat is trying to use to startup does not exist on the 
machine.

This can happen if you are using NAT or have some other address 
masking/forwarding going on.

Are you sure that the IP address Tomcat is using exists on the machine? 
  If you've given Tomcat a hostname, does the IP address that the 
hostname resolves to exist on the machine?

What hostname are you using?

John

Steven Garrett wrote:

> Hi,
> 
> I'm getting the following error and I'm not sure how to fix it.
> 
> StandardServer.await: create[8005]: java.net.BindException: Cannot assign
> requested address
> 
> I'm starting the server as root.  Running tomcat 4.1.24 on RH9.
> 
> Thanks,
> 
> Steve
> 
> -
> 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]



RE: tomcat error

2003-07-24 Thread Mike Curwen
RH has a version of Tomcat that installs with the 'default' install of
RH.  Is this one already running (and so won't allow another TC to
start).

> -Original Message-
> From: Steven Garrett [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 24, 2003 2:36 PM
> To: 'Tomcat Users List'
> Subject: RE: tomcat error
> 
> 
> The IP address resolves to the hostname and vice versa.  
> There is no masking going on.  and this box is not natted.  
> What is really strange is that my tomcat instance was working 
> just fine yesterday, then we rebooted this box (it's a 
> development server, gets rebooted all the time) and now it 
> doesn't work and I continue to get that error.
> 
> The hostname is md11
> 
> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2003 3:32 PM
> To: Tomcat Users List
> Subject: Re: tomcat error
> 
> 
> 
> The address Tomcat is trying to use to startup does not exist on the 
> machine.
> 
> This can happen if you are using NAT or have some other address 
> masking/forwarding going on.
> 
> Are you sure that the IP address Tomcat is using exists on 
> the machine? 
>   If you've given Tomcat a hostname, does the IP address that the 
> hostname resolves to exist on the machine?
> 
> What hostname are you using?
> 
> John
> 
> Steven Garrett wrote:
> 
> > Hi,
> > 
> > I'm getting the following error and I'm not sure how to fix it.
> > 
> > StandardServer.await: create[8005]: java.net.BindException: Cannot 
> > assign requested address
> > 
> > I'm starting the server as root.  Running tomcat 4.1.24 on RH9.
> > 
> > Thanks,
> > 
> > Steve
> > 
> > 
> -
> > 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]
> 


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



Re: tomcat error

2003-07-24 Thread John Turner
"ifconfig -a" shows you the IP address you expect?  Sounds to me like 
DHCP got switched on somehow, then when you rebooted it picked up a new 
IP address and it isn't the one you expect.

John

Steven Garrett wrote:

The IP address resolves to the hostname and vice versa.  There is no masking
going on.  and this box is not natted.  What is really strange is that my
tomcat instance was working just fine yesterday, then we rebooted this box
(it's a development server, gets rebooted all the time) and now it doesn't
work and I continue to get that error.
The hostname is md11

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 3:32 PM
To: Tomcat Users List
Subject: Re: tomcat error


The address Tomcat is trying to use to startup does not exist on the 
machine.

This can happen if you are using NAT or have some other address 
masking/forwarding going on.

Are you sure that the IP address Tomcat is using exists on the machine? 
  If you've given Tomcat a hostname, does the IP address that the 
hostname resolves to exist on the machine?

What hostname are you using?

John

Steven Garrett wrote:


Hi,

I'm getting the following error and I'm not sure how to fix it.

StandardServer.await: create[8005]: java.net.BindException: Cannot assign
requested address
I'm starting the server as root.  Running tomcat 4.1.24 on RH9.

Thanks,

Steve

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


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


RE: tomcat error

2003-07-24 Thread Steven Garrett
default version is uninstalled by me a while ago

-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 3:40 PM
To: 'Tomcat Users List'
Subject: RE: tomcat error


RH has a version of Tomcat that installs with the 'default' install of
RH.  Is this one already running (and so won't allow another TC to
start).

> -Original Message-
> From: Steven Garrett [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 24, 2003 2:36 PM
> To: 'Tomcat Users List'
> Subject: RE: tomcat error
> 
> 
> The IP address resolves to the hostname and vice versa.  
> There is no masking going on.  and this box is not natted.  
> What is really strange is that my tomcat instance was working 
> just fine yesterday, then we rebooted this box (it's a 
> development server, gets rebooted all the time) and now it 
> doesn't work and I continue to get that error.
> 
> The hostname is md11
> 
> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2003 3:32 PM
> To: Tomcat Users List
> Subject: Re: tomcat error
> 
> 
> 
> The address Tomcat is trying to use to startup does not exist on the 
> machine.
> 
> This can happen if you are using NAT or have some other address 
> masking/forwarding going on.
> 
> Are you sure that the IP address Tomcat is using exists on 
> the machine? 
>   If you've given Tomcat a hostname, does the IP address that the 
> hostname resolves to exist on the machine?
> 
> What hostname are you using?
> 
> John
> 
> Steven Garrett wrote:
> 
> > Hi,
> > 
> > I'm getting the following error and I'm not sure how to fix it.
> > 
> > StandardServer.await: create[8005]: java.net.BindException: Cannot 
> > assign requested address
> > 
> > I'm starting the server as root.  Running tomcat 4.1.24 on RH9.
> > 
> > Thanks,
> > 
> > Steve
> > 
> > 
> -
> > 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]
> 


-
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: tomcat error

2003-07-24 Thread Steven Garrett
no dhcp, it has a hardcoded ip address and the loopback address looks normal
127.0.0.1 netmask 255.0.0.0

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 3:43 PM
To: Tomcat Users List
Subject: Re: tomcat error



"ifconfig -a" shows you the IP address you expect?  Sounds to me like 
DHCP got switched on somehow, then when you rebooted it picked up a new 
IP address and it isn't the one you expect.

John

Steven Garrett wrote:

> The IP address resolves to the hostname and vice versa.  There is no
masking
> going on.  and this box is not natted.  What is really strange is that my
> tomcat instance was working just fine yesterday, then we rebooted this box
> (it's a development server, gets rebooted all the time) and now it doesn't
> work and I continue to get that error.
> 
> The hostname is md11
> 
> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2003 3:32 PM
> To: Tomcat Users List
> Subject: Re: tomcat error
> 
> 
> 
> The address Tomcat is trying to use to startup does not exist on the 
> machine.
> 
> This can happen if you are using NAT or have some other address 
> masking/forwarding going on.
> 
> Are you sure that the IP address Tomcat is using exists on the machine? 
>   If you've given Tomcat a hostname, does the IP address that the 
> hostname resolves to exist on the machine?
> 
> What hostname are you using?
> 
> John
> 
> Steven Garrett wrote:
> 
> 
>>Hi,
>>
>>I'm getting the following error and I'm not sure how to fix it.
>>
>>StandardServer.await: create[8005]: java.net.BindException: Cannot assign
>>requested address
>>
>>I'm starting the server as root.  Running tomcat 4.1.24 on RH9.
>>
>>Thanks,
>>
>>Steve
>>
>>-
>>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]
> 



-
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: tomcat error

2003-07-24 Thread John Turner
/etc/hosts hasn't changed?  It still has an entry for 
loopback/localhost?  It has an entry for itself?

Otherwise I'm stumped.

John

Steven Garrett wrote:

no dhcp, it has a hardcoded ip address and the loopback address looks normal
127.0.0.1 netmask 255.0.0.0
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 3:43 PM
To: Tomcat Users List
Subject: Re: tomcat error


"ifconfig -a" shows you the IP address you expect?  Sounds to me like 
DHCP got switched on somehow, then when you rebooted it picked up a new 
IP address and it isn't the one you expect.

John



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


RE: tomcat error

2003-07-24 Thread srevilak
>>> StandardServer.await: create[8005]: java.net.BindException: Cannot
>>> assign requested address

Is there something else that's already bound to the port?


>> The hostname is md11

If you do

  $ telnet md11 PORT

where PORT is the port number tomcat wants to use, do you get a
"connected" message?  If you -- that's your problem.


-- 
Steve

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



RE: Tomcat error

2004-08-04 Thread Schalk Neethling
Hey there all
I get the following line when running my servlet on Tomcat version 5.0.25:
java.lang.UnsupportedClassVersionError: org/volume4/searchEngine/lawSearch 
(Unsupported major.minor version 49.0)
What exactly does this mean and how do I go about fixing this? Thanks!
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
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.

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


RE: Tomcat error

2004-08-04 Thread Shapira, Yoav

Hi,
Make sure you compile the class with JDK 1.4 or earlier, not JDK 1.5.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Schalk Neethling [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 04, 2004 8:16 AM
>To: Tomcat Users List
>Subject: RE: Tomcat error
>
>Hey there all
>
>I get the following line when running my servlet on Tomcat version
5.0.25:
>
>java.lang.UnsupportedClassVersionError:
org/volume4/searchEngine/lawSearch
>(Unsupported major.minor version 49.0)
>
>What exactly does this mean and how do I go about fixing this? Thanks!
>
>
>--
>Kind Regards
>Schalk Neethling
>Web Developer.Designer.Programmer.President
>Volume4.Development.Multimedia.Branding
>emotionalize.conceptualize.visualize.realize
>Tel: +27125468436
>Fax: +27125468436
>email:[EMAIL PROTECTED]
>web: www.volume4.co.za
>
>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.
>
>
>
>-
>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]



Re: Tomcat error

2004-08-04 Thread David Smith
Off handed guess -- it means your classes were compiled with a version 
of a JDK not compatible with the JDK running your Tomcat install.  
Recompile with the same JDK you're using with Tomcat and the whole issue 
should be solved.

--David
Schalk Neethling wrote:
Hey there all
I get the following line when running my servlet on Tomcat version 
5.0.25:

java.lang.UnsupportedClassVersionError: 
org/volume4/searchEngine/lawSearch (Unsupported major.minor version 49.0)

What exactly does this mean and how do I go about fixing this? Thanks!

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


Re: Tomcat error

2004-08-04 Thread QM
On Wed, Aug 04, 2004 at 02:16:20PM +0200, Schalk Neethling wrote:
: I get the following line when running my servlet on Tomcat version 5.0.25:
: 
: java.lang.UnsupportedClassVersionError: org/volume4/searchEngine/lawSearch 
: (Unsupported major.minor version 49.0)
: 
: What exactly does this mean and how do I go about fixing this? Thanks!

Likely, there's a version mismatch between the compiler used to build
the servlet and the runtime environment in which it's executing.

Did you forget to rebuild your servlet when you moved to Tomcat 5?
Did you perhaps build Tomcat from source with an older compiler?

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



RE: Tomcat error

2004-08-04 Thread Shapira, Yoav

Hi,
You can have as many versions of the JDK installed on your system as you
want.  Tomcat will use the one pointed out by the JAVA_HOME variable.
Whatever JDK Tomcat uses should be the same or a later version than the
JDK you use to compile your class.  Class version 49.0 is JDK 1.5 I
believe, so if you compile your classes with JDK 1.5 you have to set
Tomcat to use JDK 1.5 as well (which is officially not supported yet but
actually works fine).

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Schalk Neethling [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 04, 2004 9:40 AM
>To: Shapira, Yoav
>Subject: Re: Tomcat error
>
>Yoav
>
>Thanks, I assume I can have more then one version of the jdk installed
>on my system correct? Is this error caused by Tomcat or that there is
an
>older version of the jdk on the server?
>
>Shapira, Yoav wrote:
>
>>Hi,
>>Make sure you compile the class with JDK 1.4 or earlier, not JDK 1.5.
>>
>>Yoav Shapira
>>Millennium Research Informatics
>>
>>
>>
>>
>>>-Original Message-
>>>From: Schalk Neethling [mailto:[EMAIL PROTECTED]
>>>Sent: Wednesday, August 04, 2004 8:16 AM
>>>To: Tomcat Users List
>>>Subject: RE: Tomcat error
>>>
>>>Hey there all
>>>
>>>I get the following line when running my servlet on Tomcat version
>>>
>>>
>>5.0.25:
>>
>>
>>>java.lang.UnsupportedClassVersionError:
>>>
>>>
>>org/volume4/searchEngine/lawSearch
>>
>>
>>>(Unsupported major.minor version 49.0)
>>>
>>>What exactly does this mean and how do I go about fixing this?
Thanks!
>>>
>>>
>>>--
>>>Kind Regards
>>>Schalk Neethling
>>>Web Developer.Designer.Programmer.President
>>>Volume4.Development.Multimedia.Branding
>>>emotionalize.conceptualize.visualize.realize
>>>Tel: +27125468436
>>>Fax: +27125468436
>>>email:[EMAIL PROTECTED]
>>>web: www.volume4.co.za
>>>
>>>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.
>>>
>>>
>>>
>>>-
>>>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.
>>
>>
>>
>>
>
>--
>Kind Regards
>Schalk Neethling
>Web Developer.Designer.Programmer.President
>Volume4.Development.Multimedia.Branding
>emotionalize.conceptualize.visualize.realize
>Tel: +27125468436
>Fax: +27125468436
>email:[EMAIL PROTECTED]
>web: www.volume4.co.za
>
>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.
>




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]



RE: Tomcat error

2004-08-04 Thread Caldarale, Charles R
> From: Schalk Neethling [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat error
> 
> java.lang.UnsupportedClassVersionError: 
> org/volume4/searchEngine/lawSearch (Unsupported major.minor 
> version 49.0)
> 
> What exactly does this mean and how do I go about fixing this? Thanks!

Looks like someone has compiled a class using JDK 1.5 (and targetting 1.5) and are now 
trying to run it under an older JVM.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and 
is thus for use only by the intended recipient. If you received this in error, please 
contact the sender and delete the e-mail and its attachments from all computers.

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



Re: Tomcat error

2004-08-04 Thread Jon Wingfield
The 49.0 is a magic number within the class bytecode. This type of error 
typically means the class was compiled using a newer version of the jdk 
than the runtime that is interpreting the bytecode. So, did you, say, 
compile the lawSearch class using jdk 1.5 but are running Tomcat against 
 jdk 1.4?

Resolution: recompile lawSearch against jdk 1.4
http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#75883
HTH,
Jon
Schalk Neethling wrote:
Hey there all
I get the following line when running my servlet on Tomcat version 5.0.25:
java.lang.UnsupportedClassVersionError: 
org/volume4/searchEngine/lawSearch (Unsupported major.minor version 49.0)

What exactly does this mean and how do I go about fixing this? Thanks!


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


Re: Tomcat error

2004-08-04 Thread Sunitha Kumar
Yoav:
For Run time, can JDK 1.5 work with tomcat 5.0.25 or 5.0.19?
thanks,
-sunitha
Shapira, Yoav wrote:
Hi,
Make sure you compile the class with JDK 1.4 or earlier, not JDK 1.5.
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 8:16 AM
To: Tomcat Users List
Subject: RE: Tomcat error
Hey there all
I get the following line when running my servlet on Tomcat version
   

5.0.25:
 

java.lang.UnsupportedClassVersionError:
   

org/volume4/searchEngine/lawSearch
 

(Unsupported major.minor version 49.0)
What exactly does this mean and how do I go about fixing this? Thanks!
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
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.

-
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: Tomcat error

2004-08-04 Thread Schalk Neethling
Thanks for your reply, I understand. This is definitely the cause.
Shapira, Yoav wrote:
Hi,
You can have as many versions of the JDK installed on your system as you
want.  Tomcat will use the one pointed out by the JAVA_HOME variable.
Whatever JDK Tomcat uses should be the same or a later version than the
JDK you use to compile your class.  Class version 49.0 is JDK 1.5 I
believe, so if you compile your classes with JDK 1.5 you have to set
Tomcat to use JDK 1.5 as well (which is officially not supported yet but
actually works fine).  

Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 9:40 AM
To: Shapira, Yoav
Subject: Re: Tomcat error
Yoav
Thanks, I assume I can have more then one version of the jdk installed
on my system correct? Is this error caused by Tomcat or that there is
   

an
 

older version of the jdk on the server?
Shapira, Yoav wrote:
   

Hi,
Make sure you compile the class with JDK 1.4 or earlier, not JDK 1.5.
Yoav Shapira
Millennium Research Informatics

 

-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 8:16 AM
To: Tomcat Users List
Subject: RE: Tomcat error
Hey there all
I get the following line when running my servlet on Tomcat version
   

5.0.25:
 

java.lang.UnsupportedClassVersionError:
   

org/volume4/searchEngine/lawSearch
 

(Unsupported major.minor version 49.0)
What exactly does this mean and how do I go about fixing this?
   

Thanks!
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
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.

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


 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
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.
   



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]
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
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.

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


RE: Tomcat error

2004-08-04 Thread Dale, Matt

Not officially but it should work. Why not use 5.0.27 too as this is the latest stable 
release.

Ta
Matt

-Original Message-
From: Sunitha Kumar [mailto:[EMAIL PROTECTED]
Sent: 04 August 2004 18:23
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: Tomcat error


Yoav:
For Run time, can JDK 1.5 work with tomcat 5.0.25 or 5.0.19?
thanks,
-sunitha

Shapira, Yoav wrote:

>Hi,
>Make sure you compile the class with JDK 1.4 or earlier, not JDK 1.5.
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>  
>
>>-Original Message-
>>From: Schalk Neethling [mailto:[EMAIL PROTECTED]
>>Sent: Wednesday, August 04, 2004 8:16 AM
>>To: Tomcat Users List
>>Subject: RE: Tomcat error
>>
>>Hey there all
>>
>>I get the following line when running my servlet on Tomcat version
>>
>>
>5.0.25:
>  
>
>>java.lang.UnsupportedClassVersionError:
>>
>>
>org/volume4/searchEngine/lawSearch
>  
>
>>(Unsupported major.minor version 49.0)
>>
>>What exactly does this mean and how do I go about fixing this? Thanks!
>>
>>
>>--
>>Kind Regards
>>Schalk Neethling
>>Web Developer.Designer.Programmer.President
>>Volume4.Development.Multimedia.Branding
>>emotionalize.conceptualize.visualize.realize
>>Tel: +27125468436
>>Fax: +27125468436
>>email:[EMAIL PROTECTED]
>>web: www.volume4.co.za
>>
>>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.
>>
>>
>>
>>-
>>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]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


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

RE: Tomcat error

2004-08-04 Thread Shapira, Yoav

Hi,
Give it a shot ;)  It should work fine.  It won't be officially
supported until JDK 1.5 final is out of course.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Sunitha Kumar [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 04, 2004 1:23 PM
>To: Tomcat Users List
>Cc: [EMAIL PROTECTED]
>Subject: Re: Tomcat error
>
>Yoav:
>For Run time, can JDK 1.5 work with tomcat 5.0.25 or 5.0.19?
>thanks,
>-sunitha
>
>Shapira, Yoav wrote:
>
>>Hi,
>>Make sure you compile the class with JDK 1.4 or earlier, not JDK 1.5.
>>
>>Yoav Shapira
>>Millennium Research Informatics
>>
>>
>>
>>
>>>-Original Message-
>>>From: Schalk Neethling [mailto:[EMAIL PROTECTED]
>>>Sent: Wednesday, August 04, 2004 8:16 AM
>>>To: Tomcat Users List
>>>Subject: RE: Tomcat error
>>>
>>>Hey there all
>>>
>>>I get the following line when running my servlet on Tomcat version
>>>
>>>
>>5.0.25:
>>
>>
>>>java.lang.UnsupportedClassVersionError:
>>>
>>>
>>org/volume4/searchEngine/lawSearch
>>
>>
>>>(Unsupported major.minor version 49.0)
>>>
>>>What exactly does this mean and how do I go about fixing this?
Thanks!
>>>
>>>
>>>--
>>>Kind Regards
>>>Schalk Neethling
>>>Web Developer.Designer.Programmer.President
>>>Volume4.Development.Multimedia.Branding
>>>emotionalize.conceptualize.visualize.realize
>>>Tel: +27125468436
>>>Fax: +27125468436
>>>email:[EMAIL PROTECTED]
>>>web: www.volume4.co.za
>>>
>>>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.
>>>
>>>
>>>
>>>-
>>>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]




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]



Tomcat - Error Handler

2000-11-16 Thread Sumit Vohra

Hi guys, 

  I have been trying to replace the JSDK web server backend with Tomcat,
and I have a message brokering servlet which works fine on JSDK when
applications connect to it. This servlet brokers both plain and multipart
messages. Now, as I mentioned it works fine on JSDK, on Tomcat, only
multipart messages are going through, plain messages are not. And, also
when I try to connect the monitoring application for the servlet to the
servlet, to get status information  it gives exceptions which it
did not at all on JSDK web server. The exception on server is: 
==
ERROR: can't find default error handler or error in default error page
java.lang.IllegalStateException: Write is already being used for this
request 
at 
org.apache.tomcat.core.ResponseImpl.getOutputStream(ResponseImpl.java:458)
at 
org.apache.tomcat.core.HttpServletResponseFacade.getOutputStream(HttpServl
etResponseFacade.java:144)
 :
 :


Could anybody please tell me why this is happening and what is the
difference in JSDK Web Server and Tomcat's message handling techniques
regarding multipart and plain. 

I appreciate it. 
Thanks in advance
-sumit 


-Sumit Vohra ([EMAIL PROTECTED])




tomcat error page

2004-12-29 Thread alis asma alias
When there is an error in our web application, Tomcat
will produce and error page that list down all the
Exception stack trace and also THe version of the
Apache Tomcat. To avoid displaying the default error
page and to customize the error page, where should we
configure it? 



__ 
Do you Yahoo!? 
Send holiday email and support a worthy cause. Do good. 
http://celebrity.mail.yahoo.com

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



Strange Tomcat Error

2005-03-15 Thread Larry Johnson
Hi all,

Recently I lost the hard drive on one of my production tomcat servers. I've
since reinstalled and setup the effected machine to mirror the configuration
of one of my other servers that I know to be working fine. I know for a fact
that my servlet code is fine and that the tomcat configuration I'm using is
valid as both were copied from another running server. However despite its
identical configuration, the repaired machine now freezes somewhere between
querying the database for data and the XSL transformation of the XML
generated by my servlets. No error messages are written to catalina.out, the
terminal or localhost.log and the server is unable to process additional
requests after this happens. Additionally, following the error tomcat will
not respond to the execution of shutdown.sh and it seems the only way I can
abort the process is by issuing a kill -9 command to the process number of
tomcat's jvm. 

Has anyone ever experienced anything like this before? And if so what did
you do to fix it.

Here's some information on my execution environment:

OS: Redhat Linux 9
Kernel: i686 2.4.20-28.9smp
Tomcat: 5.0.28
Database: Oracle 9i
JVM: 1.5.0_01

Thanks,

Larry


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



Tomcat Error Log

2005-04-05 Thread Vaneet Sharma

Hello all,

I am running centos 3.4

I am using Apacher Web Server 2.0.46 .. And running tomcat 5.5.4 with
jakarta-tomcat-connector-1.2.10

Well,   Apache and tomcat are communicating .. ... well. :)

But ... when I see the logs,

I see the this log generated in my custom log file (
mywebapps\logs\thesystemgui.log)

DEBUG JspRuntimeContext - Parent class loader is: WebappClassLoader
  delegate: false
  repositories:
/WEB-INF/classes/
--> Parent Classloader:
[EMAIL PROTECTED]

2005-04-05 15:24:07,758 [main] DEBUG JspServlet - Scratch dir for the
JSP engine is: /usr/local/jakarta-tomcat-5.5.4/work/Catalina/w
ww.therestaurant.name/therestaurant

Can some one tell me : why it is not loading the WebappClass loader. 

I commented out  connector element in server.xml. 
I am using AJP1.3 to handle servlet requests


   


Well, basically, my application is connected to a GSM modem at
/dev/ttyS0

Before.. When tomcat was running standalone, GSM modem was connecting
well but now 
After Apache and Tomcat are runing using mod_jk.so. GSM modem is not
connecting.
IN my worker.properties file, I have commented out all directives
related to sockets.

#worker.ajp13Worker.cachesize=10
#worker.ajp13Worker.cache_timeout=600
#worker.ajp13Worker.socket_keepalive=1
#worker.ajp13Worker.socket_timeout=300 


Well, any help will be great. 

Kind Regards
Vaneet



Vaneet Sharma
executive manager   
iDeasTank Limited   
an iwg business
dolphins' court po 388
valletta, m-malta/europe
mobile:  +356 9943 8263
skype:   CALLVANEET
fax: +356 9952 
phone:   +356 9942 

[EMAIL PROTECTED]
call me on www.skype.com - my ID is CALLVANEET

Want a signature like this? - www.plaxo.com\signature

iwg is a global e-mobile company creating, building and growing new businesses. 
 iwg founders are pioneers in creating multi-billion dollar mobile and Internet 
businesses in Europe, Asia and the US.

www.iWG.info
www.countryprofiler.com/iWG
www.visitmalta.com
www.mfc.com.mt


Privileged/Confidential Information may be contained in this message.  If you 
are not the addressee indicated in this message (or responsible for delivery of 
the message to such person), you may not copy or deliver this message to 
anyone. In such case, you should destroy this message and kindly notify the 
sender by reply email.

Re: mod_jk & tomcat error pages (bug in tomcat error pages?)

2002-04-16 Thread Pascal Forget

In Apache's httpd.conf, replace:

DefaultType text/plain

with:

DefaultType text/html



rob wrote:

> When tomcat displays error messages after an exception in the 
> underlying application typically does some formatting on the error 
> produced (ie adding styles).
>
> I use mod_jk to run my application where the jsp/servlets function 
> fine over the connector to tomcat.  However if an error occurs 
> resulting in an exception the error message from tomcat is not 
> formatted properly.  I end up seeing all the html and style elements 
> in plain text which makes reading the error message quite annoying.
>
> This does not however happen when exceptions occur and running tomcat 
> in standalone mode.
>
> Now one might think the connector is not working but unless an 
> exception occurs the jsp and servlets work fine.
>
> I believe when tomcat displays error messages that go over the 
> connector the Content-Type header is being incorrectly specified to 
> plain/text instead of text/html?
>
> Can anyone comment on this?
>
> Also, this may not be reproducable in internet explorer I've noticed 
> IE sometimes ignores Content-Type headers and does what it wants.  You 
> may
> have to use Netscape or Mozilla to reproduce.
>
>
> -- 
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>
>




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




Tomcat Error - taglibrary URI

2002-11-08 Thread Brian Radovich
Howdy

We have built a custom install for tomcat, it has worked fine for the past
few months, but suddenly giving this error:

Error:
Unable to open taglibrary /Tag : Parse Error in the tag library descriptor:
Relative URI "./webapps/StorageProfiler/WEB-INF/web-jsptaglib_1_1.dtd"; can
not be resolved without a document URI.

Tomcat 3.2.4 on Solaris 8.  Our install on Windows using the same dtd and
web.xml works fine.

Brian



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




Customize Tomcat error pages

2002-06-11 Thread Markus Kirsten

How do I configure standard error pages like 403, 404 etc. for Tomcat?

I've gone through the Tomcat documentation breifly but can't find 
anything about it.


Markus


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




Re: Tomcat error page

2001-09-12 Thread Craig R. McClanahan



On Wed, 12 Sep 2001, Alexandre Victoor wrote:

> Date: Wed, 12 Sep 2001 16:43:58 +0200
> From: Alexandre Victoor <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Tomcat error page
>
> Hello again,
> I would like to know if it is possible to configure tomcat to serve a
> static page (without the java stack trace) when an error 500 occurs.
> Is there a tag like "" that I need to add in web.xml ?
> Thanks for your help
>

If you were to read the servlet specification
<http://java.sun.com/products/servlet/download.html>, you would find that
there is indeed such a tag, and it is even called .  You will
also find out about some request attributes that the container sets to let
your error page know what the error was.

> Alexandre
>

Craig




RE: About Tomcat error.

2001-12-04 Thread Larry Isaacs

If starting the "Default Web Site" from the management
console says "Address already in use" for port 80, you
need find out what program is already using port 80 and
shut it down or switch it to a different port.

You can still test the Tomcat side of the IIS+Tomcat
combination by starting Tomcat 3.3 and testing it directly,
i.e.: <http://localhost:8080/examples/jsp/index.html>

If you aren't getting proper operation accessing
Tomcat directly, you won't get any better behavior
accessing it through IIS.

Cheers,
Larry

> -Original Message-
> From: Chencf [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 12:46 PM
> To: [EMAIL PROTECTED]
> Subject: About Tomcat error.
> 
> 
> Dear Sir,
> 
> I have installed Tomcat 3.3 and want to integrate into my 
> IIS. My OS is Win2k SP2 with IIS5.0. But after I follow the 
> instruction of "Tomcat IIS Howto" article, I can not browse 
> any page and find the Default Web Site stopped. The default 
> web site is using port 80 and there is always warning 
> "Address already in use" when I start the default web site.
> The below error message is show in browser when I click 
> http://localhost/examples/jsp/index.html. I hope your any 
> idea and suggestions. Thanks in advance.
> 
> Browser Error
> 
> Your Browser sent a malformed request. You may need to 
> configure your browser to use proxies, or you may need to 
> change the port that your webserver is using. 
> 
> Yours, Jackie.
> 
> 

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




Re: Stopping tomcat error

2002-03-13 Thread rsequeira


Larry answered this question. Check the morning archives.

According to him, you could shutdown like this:
[jakarta@linux lib]$
/var/jakarta/jakarta-tomcat/build/tomcat/bin/shutdown.sh port=8007

RS






Chris Woods <[EMAIL PROTECTED]> on 03/13/2002 01:56:26 PM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   Tomcat Users List <[EMAIL PROTECTED]>
cc:

Subject:  Stopping tomcat error

I have no problem starting tomcat but when I try to stop tomcat using
shutdown.sh command I get this output:

[jakarta@linux lib]$
/var/jakarta/jakarta-tomcat/build/tomcat/bin/shutdown.sh
Using classpath:
/var/jakarta/jakarta-tomcat/build/tomcat/bin/../lib/tomcat.jar
Using JAVA_HOME: /usr/java/jdk1.3.1_01
Using TOMCAT_HOME: /var/jakarta/jakarta-tomcat/build/tomcat
Stopping Tomcat.
Can't read /var/jakarta/jakarta-tomcat/build/tomcat/conf/ajp12.id
[jakarta@linux lib]$


Thanks.
Chris.


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




tomcat error on https

2002-04-23 Thread M.Hanizan

HI, good day Gurus :)

I am new in the list. I have a problem running tomcat (.jsp file) with apache 
+ mod_ssl.

I had configure the httpd.conf inside  segment by 
adding a few lines (as i followed most of tomcat + apache + mod_ssl 
documentation).

The problem is, the .jsp file not run when I call it inside https:// is not 
working. For example https://mylocalhost/examples/servlet/HelloWorldExample
However when I use without ssl, eg: 
http://mylocalhost/examples/servlet/HelloWorldExample it work.

Is it because of my httpd.conf wrong (the order of the module). 

Do you guys have a good documentation on how to configure tomcat + apache + 
mod_ssl?

Thanks and regard :)
M.Hanizan

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




Re: tomcat error messages

2001-07-22 Thread Dmitri Colebatch

Hi,

AFAIK the first null is the parameters, and in your case the second is
because tomcat was unable to serve the request.

tomcat.log will only exist if you configure it as such.  open up
server.xml and search for tomcat.log, you'll find a comment telling you
how to have tomcat output go to the log file rather than stderr.

cheers
dim


On Mon, 23 Jul 2001, Pancham Singh wrote:

> I am having hard time trying to figure out what does the two "nulls" =
> mean when Tomcat sends a 404 response back:
> 
> 2001-07-22 14:20:35 - Ctx(  ): 404 R(  + /servlet/wps + null) null.
> 
> Also, I never see tomcat.log file  in $TOMCAT_HOME/logs directory, even =
> thogh tomcat is writing error messges on System.err. Is it a =
> configuration issue?
> Thanks,
> Pancham.
> 
> 
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> 
> 




Re: tomcat error messages

2001-07-23 Thread Pancham Singh


Thanks a lot!!!
Even if I pass parameters to the request the first 'null' is still there. 
Any ideas?
Thanks again,
Pancham.
>From: Dmitri Colebatch <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: tomcat error messages
>Date: Mon, 23 Jul 2001 14:28:16 +1000
>
>Hi,
>
>AFAIK the first null is the parameters, and in your case the second is
>because tomcat was unable to serve the request.
>
>tomcat.log will only exist if you configure it as such.  open up
>server.xml and search for tomcat.log, you'll find a comment telling you
>how to have tomcat output go to the log file rather than stderr.
>
>cheers
>dim
>
>
>On Mon, 23 Jul 2001, Pancham Singh wrote:
>
> > I am having hard time trying to figure out what does the two "nulls" =
> > mean when Tomcat sends a 404 response back:
> >
> > 2001-07-22 14:20:35 - Ctx(  ): 404 R(  + /servlet/wps + null) null.
> >
> > Also, I never see tomcat.log file  in $TOMCAT_HOME/logs directory, even 
>=
> > thogh tomcat is writing error messges on System.err. Is it a =
> > configuration issue?
> > Thanks,
> > Pancham.
> >
> >
> > _
> > Get your FREE download of MSN Explorer at 
>http://explorer.msn.com/intl.asp
> >
> >
>


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Re: tomcat error messages

2001-07-23 Thread Dmitri Colebatch

Sorry - I should apologise, it was only an assumption on my part (o:  Open
up the code and see if you cn find it... might take a while, there's not
much of a string to search for there.

sorry,
dim

On Mon, 23 Jul 2001, Pancham Singh wrote:

> 
> Thanks a lot!!!
> Even if I pass parameters to the request the first 'null' is still there. 
> Any ideas?
> Thanks again,
> Pancham.
> >From: Dmitri Colebatch <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: tomcat error messages
> >Date: Mon, 23 Jul 2001 14:28:16 +1000
> >
> >Hi,
> >
> >AFAIK the first null is the parameters, and in your case the second is
> >because tomcat was unable to serve the request.
> >
> >tomcat.log will only exist if you configure it as such.  open up
> >server.xml and search for tomcat.log, you'll find a comment telling you
> >how to have tomcat output go to the log file rather than stderr.
> >
> >cheers
> >dim
> >
> >
> >On Mon, 23 Jul 2001, Pancham Singh wrote:
> >
> > > I am having hard time trying to figure out what does the two "nulls" =
> > > mean when Tomcat sends a 404 response back:
> > >
> > > 2001-07-22 14:20:35 - Ctx(  ): 404 R(  + /servlet/wps + null) null.
> > >
> > > Also, I never see tomcat.log file  in $TOMCAT_HOME/logs directory, even 
> >=
> > > thogh tomcat is writing error messges on System.err. Is it a =
> > > configuration issue?
> > > Thanks,
> > > Pancham.
> > >
> > >
> > > _
> > > Get your FREE download of MSN Explorer at 
> >http://explorer.msn.com/intl.asp
> > >
> > >
> >
> 
> 
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> 
> 




RE: tomcat error messages

2001-07-24 Thread Loïc Lefèvre

Hemm the second question is:
But what could be the reason(s) for a such error ?

-Message d'origine-
De : Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 23 juillet 2001 06:28
À : [EMAIL PROTECTED]
Objet : Re: tomcat error messages


Hi,

AFAIK the first null is the parameters, and in your case the second is
because tomcat was unable to serve the request.

tomcat.log will only exist if you configure it as such.  open up
server.xml and search for tomcat.log, you'll find a comment telling you
how to have tomcat output go to the log file rather than stderr.

cheers
dim


On Mon, 23 Jul 2001, Pancham Singh wrote:

> I am having hard time trying to figure out what does the two "nulls" =
> mean when Tomcat sends a 404 response back:
>
> 2001-07-22 14:20:35 - Ctx(  ): 404 R(  + /servlet/wps + null) null.
>
> Also, I never see tomcat.log file  in $TOMCAT_HOME/logs directory, even =
> thogh tomcat is writing error messges on System.err. Is it a =
> configuration issue?
> Thanks,
> Pancham.
>
>
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>




Re: tomcat error messages

2001-07-24 Thread Loïc Lefèvre

Oups, I forgot my question.
> Hello,
> Could someone explain me what does this line mean ?
>
> 24-07-2001 05:51:14 - Ctx( /adfront ): 404 R( /adfront +
/servlet/com.fivia.adfront.sales.AdFront + null) null
>
> Thanks in advance
>
> Loïc Lefèvre

-Message d'origine-
De : Loïc Lefèvre [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 24 juillet 2001 18:56
À : [EMAIL PROTECTED]
Objet : RE: tomcat error messages


Hemm the second question is:
But what could be the reason(s) for a such error ?

-Message d'origine-
De : Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 23 juillet 2001 06:28
À : [EMAIL PROTECTED]
Objet : Re: tomcat error messages


Hi,

AFAIK the first null is the parameters, and in your case the second is
because tomcat was unable to serve the request.

tomcat.log will only exist if you configure it as such.  open up
server.xml and search for tomcat.log, you'll find a comment telling you
how to have tomcat output go to the log file rather than stderr.

cheers
dim


On Mon, 23 Jul 2001, Pancham Singh wrote:

> I am having hard time trying to figure out what does the two "nulls" =
> mean when Tomcat sends a 404 response back:
>
> 2001-07-22 14:20:35 - Ctx(  ): 404 R(  + /servlet/wps + null) null.
>
> Also, I never see tomcat.log file  in $TOMCAT_HOME/logs directory, even =
> thogh tomcat is writing error messges on System.err. Is it a =
> configuration issue?
> Thanks,
> Pancham.
>
>
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>




shutting down tomcat, Error

2003-11-20 Thread Sunitha Kumar
Folks,
Any pointers to this.thanks,
Stopping service Tomcat-Standalone
Nov 20, 2003 1:18:50 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stoping http11 protocol on 4040 Catalina:type=ThreadPool,name=http4040
Nov 20, 2003 1:18:50 AM org.apache.jk.common.ChannelSocket destroy
INFO: Error shutting down the channel 8009 
java.net.UnknownHostException: dhcp-255-19: dhcp-255-19

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


Overidding Tomcat error pages

2004-07-14 Thread EXT-Patel, Rajesh M
I would like to override tomcats' error messages for
all webapps.  I added the following to conf/web.xml:

503
/error/error.jsp


404
/error/error.jsp


Then I added /error/error.jsp to the ROOT application.
404 errors work fine, however 503 errors default
back to tomcats error page.

Am I doing something wrong?

Raj

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



Re: Tomcat - Error Handler

2000-11-21 Thread Jeff Turner

Hi,

I get the same exception when using the JSP error handler after a
, eg:

 index.jsp 
<%@ page errorPage="error.jsp" %>

<% if (true) throw new RuntimeException("An exception"); %>
---

 error.jsp 
<%@ page isErrorPage="true" %>
Error page
--

(foo.html can be blank)

Now when I go to index.jsp, I get the following exception:

Error: 500

Location:/index.jsp

Internal Servlet Error:

java.lang.IllegalStateException: Cannot forward as OutputStream or Writer
has already been obtained
at
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java,
Compiled Code)
at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java,
Compiled Code)
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java,
Compiled Code)
at
_0002findex_0002ejspindex_jsp_9._jspService(_0002findex_0002ejspindex_jsp_9.java,
Compiled Code)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java,
Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java,
Compiled Code)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java,
Compiled Code)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java,
Compiled Code)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java,
Compiled Code)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.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)


--Jeff


On Thu, 16 Nov 2000, Sumit Vohra wrote:

> Hi guys, 
> 
>   I have been trying to replace the JSDK web server backend with Tomcat,
> and I have a message brokering servlet which works fine on JSDK when
> applications connect to it. This servlet brokers both plain and multipart
> messages. Now, as I mentioned it works fine on JSDK, on Tomcat, only
> multipart messages are going through, plain messages are not. And, also
> when I try to connect the monitoring application for the servlet to the
> servlet, to get status information  it gives exceptions which it
> did not at all on JSDK web server. The exception on server is: 
> ==
> ERROR: can't find default error handler or error in default error page
> java.lang.IllegalStateException: Write is already being used for this
> request 
> at 
> org.apache.tomcat.core.ResponseImpl.getOutputStream(ResponseImpl.java:458)
> at 
> org.apache.tomcat.core.HttpServletResponseFacade.getOutputStream(HttpServl
> etResponseFacade.java:144)
>  :
>  :
> 
> 
> Could anybody please tell me why this is happening and what is the
> difference in JSDK Web Server and Tomcat's message handling techniques
> regarding multipart and plain. 
> 
> I appreciate it. 
> Thanks in advance
> -sumit 
> 
>   
>   -Sumit Vohra ([EMAIL PROTECTED])
> 





Re: Tomcat - Error Handler

2000-11-21 Thread Jeff Turner


Doh, was running on 3.2b6. It's fixed in 3.2b8. Sorry for wasting your
time.

--Jeff

On Wed, 22 Nov 2000, Jeff Turner wrote:

> Hi,
> 
> I get the same exception when using the JSP error handler after a
> , eg:
> 
>  index.jsp 
> <%@ page errorPage="error.jsp" %>
> 
> <% if (true) throw new RuntimeException("An exception"); %>
> ---
> 
>  error.jsp 
> <%@ page isErrorPage="true" %>
> Error page
> --
> 
> (foo.html can be blank)
> 
> Now when I go to index.jsp, I get the following exception:
> 
> Error: 500
> 
> Location:/index.jsp
> 
> Internal Servlet Error:
> 
> java.lang.IllegalStateException: Cannot forward as OutputStream or Writer
> has already been obtained
> at
> org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java,
> Compiled Code)
> at
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java,
> Compiled Code)
> at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java,
> Compiled Code)
> at
> _0002findex_0002ejspindex_jsp_9._jspService(_0002findex_0002ejspindex_jsp_9.java,
> Compiled Code)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java,
> Compiled Code)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java,
> Compiled Code)
> at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java,
> Compiled Code)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java,
> Compiled Code)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
> Compiled Code)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java,
> Compiled Code)
> at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.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)
> 
> 
> --Jeff
> 
> 
> On Thu, 16 Nov 2000, Sumit Vohra wrote:
> 
> > Hi guys, 
> > 
> >   I have been trying to replace the JSDK web server backend with Tomcat,
> > and I have a message brokering servlet which works fine on JSDK when
> > applications connect to it. This servlet brokers both plain and multipart
> > messages. Now, as I mentioned it works fine on JSDK, on Tomcat, only
> > multipart messages are going through, plain messages are not. And, also
> > when I try to connect the monitoring application for the servlet to the
> > servlet, to get status information  it gives exceptions which it
> > did not at all on JSDK web server. The exception on server is: 
> > ==
> > ERROR: can't find default error handler or error in default error page
> > java.lang.IllegalStateException: Write is already being used for this
> > request 
> > at 
> > org.apache.tomcat.core.ResponseImpl.getOutputStream(ResponseImpl.java:458)
> > at 
> > org.apache.tomcat.core.HttpServletResponseFacade.getOutputStream(HttpServl
> > etResponseFacade.java:144)
> >  :
> >  :
> > 
> > 
> > Could anybody please tell me why this is happening and what is the
> > difference in JSDK Web Server and Tomcat's message handling techniques
> > regarding multipart and plain. 
> > 
> > I appreciate it. 
> > Thanks in advance
> > -sumit 
> > 
> > 
> > -Sumit Vohra ([EMAIL PROTECTED])
> > 
> 
> 




Customizing Tomcat error page

2004-10-14 Thread Rick Wong
Hi,
I am trying to replace the default Tomcat error page for my web 
applications.  I understand that I can specify  in the 
web.xml deployment descriptor, but that would require me to do that for 
every single error code.  Looking at the HTTP response code, there is a 
potentially long list of code that I might be interested in handling.

Is there a simple way to trap these errors and redirect to my specific 
error page?

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


Re: tomcat error page

2004-12-29 Thread Ben Souther
On Wed, 2004-12-29 at 21:33, alis asma alias wrote:
> When there is an error in our web application, Tomcat
> will produce and error page that list down all the
> Exception stack trace and also THe version of the
> Apache Tomcat. To avoid displaying the default error
> page and to customize the error page, where should we
> configure it? 
 
In your app's web.xml file, just after the welcome-file list.
Example:

  
404
/404-error.jsp
  



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



Re: Tomcat Error: java.lang.NoClassDefFoundError:

2005-01-24 Thread Kathie Manson
Hi QM,

Thanks for your response.  In between Tomcat working and breaking, I
had installed Cactus.  I think that actually changed something,
somewhere on the classpath which wasn't actually in tomcat's directory
structure.  When I reinstalled tomcat, I did completely remove it,
then reinstall.

I've managed to fix the problem now, by removing my Java SDK and
reinstalling that.  Not the world's greatest solution, but it worked.
And, yes, that was the full stack trace from catalina.out.  The "root
cause" was the java.lang.NoClassDefFoundError.

Thanks for your help,
Kathie.



> 
> -- Forwarded message --
> From: QM <[EMAIL PROTECTED]>
> To: Tomcat Users List 
> Date: Thu, 20 Jan 2005 05:55:09 -0600
> Subject: Re: Tomcat Error: java.lang.NoClassDefFoundError: 
> org/apache/naming/JndiPermission
> On Thu, Jan 20, 2005 at 10:01:18AM +1100, Kathie Manson wrote:
> : Up until yesterday, I was happily running tomcat 4.1.30.  Then, for
> : some reason, I started getting this error.  I'm not sure why.  It's
> : likely that I somehow changed the class path, or installed something
> : else that affected some other java classes, but I just don't know how
> : to fix it.
> 
> At the risk of sounding flippant, try to think of what has changed
> recently.  Can you check your backups and compare that list of JAR files
> (or even /classes dirs) to what's installed on the server?
> 
> -and when you say you "reinstalled" Tomcat, how dod you do it?  Did you
> remove the old version, then replace it with the new version? or did you
> overwrite the old with the new?  In the latter case, any rogue (extra) JARs
> that are lying around won't be affected.
> 
> Finally, are you certain that's the full stack trace?  Those usually
> come with a "Root Cause" section that can be quite helpful.
> 
> -QM
> 
> --
> 
> software  -- http://www.brandxdev.net
> tech news -- http://www.RoarNetworX.com
> 
>

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



SSL Config on Tomcat (Error)

2002-11-13 Thread Manoj Kithany
Hi Experts:

I want to Configure my TOMCAT for SSL and was reading the SSL Config How-To 
posted at 
"http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html#Edit%20the%20Tomcat%20Configuration%20File";

I made all the changes as was mentioned above and when excute Catalina I get 
following error--->
-
# ./catalina.sh run
Using CATALINA_BASE:   /tom
Using CATALINA_HOME:   /tom
Using CATALINA_TMPDIR: /tom/temp
Using JAVA_HOME:   /usr/java130
Starting service Tomcat-Standalone
Apache Tomcat/4.0.4
Error unable to create jar cache in /tmp directory : 
java.util.zip.ZipException: error in opening zip file
Error unable to create jar cache in /tmp directory : 
java.util.zip.ZipException: error in opening zip file
Starting service Tomcat-Apache
Apache Tomcat/4.0.4
StandardServer.await: create[8005]: java.net.BindException: The socket name 
is already in use.
java.net.BindException: The socket name is already in use.
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:414)
   at java.net.ServerSocket.(ServerSocket.java:182)
   at 
org.apache.catalina.core.StandardServer.await(StandardServer.java:277)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:794)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
   at java.lang.reflect.Method.invoke(Native Method)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
-

Thanks!






_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


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



SSL Config on Tomcat (Error)

2002-11-13 Thread Manoj Kithany
Hi:
Here is the transcripts of my SERVER.XML file:
---

	
	




	


	
   
	   
	  
		
		
	  
	


---




-Original Message-
From: Peter Romianowski [mailto:megapero@;gmx.de]
Sent: Wednesday, November 13, 2002 11:53 AM
To: 'Tomcat Users List'
Subject: RE: SSL Config on Tomcat (Error)


The error message you got indicates that there is already a service
listening on that port. Please send your server.xml for further
investigation and try to figure out what listens on which port and if
you have other software running (like apache) that might listen to a
port specified in your server.xml.

Peter

> -Original Message-
> From: Manoj Kithany [mailto:manojkithany108@;hotmail.com]
> Sent: Wednesday, November 13, 2002 5:23 PM
> To: [EMAIL PROTECTED]
> Subject: SSL Config on Tomcat (Error)
>
>
> Hi Experts:
>
> I want to Configure my TOMCAT for SSL and was reading the SSL
> Config How-To
> posted at
> "http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.htm
> l#Edit%20the%20Tomcat%20Configuration%20File"
>
> I made all the changes as was mentioned above and when excute
> Catalina I get
> following error--->
> --
> ---
> # ./catalina.sh run
> Using CATALINA_BASE:   /tom
> Using CATALINA_HOME:   /tom
> Using CATALINA_TMPDIR: /tom/temp
> Using JAVA_HOME:   /usr/java130
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.4
> Error unable to create jar cache in /tmp directory :
> java.util.zip.ZipException: error in opening zip file
> Error unable to create jar cache in /tmp directory :
> java.util.zip.ZipException: error in opening zip file
> Starting service Tomcat-Apache
> Apache Tomcat/4.0.4
> StandardServer.await: create[8005]: java.net.BindException:
> The socket name
> is already in use.
> java.net.BindException: The socket name is already in use.
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:414)
> at java.net.ServerSocket.(ServerSocket.java:182)
> at
> org.apache.catalina.core.StandardServer.await(StandardServer.java:277)
> at
> org.apache.catalina.startup.Catalina.start(Catalina.java:794)
> at
> org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
> at
> org.apache.catalina.startup.Catalina.process(Catalina.java:179)
> at java.lang.reflect.Method.invoke(Native Method)
> at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
> --
> ---
>
> Thanks!



_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


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



Re: Customize Tomcat error pages

2002-06-11 Thread Tim Funk

Its part of the Servlet Specification and not unique to Tomcat. Place 
this snippet into web.xml to redirect page not found errors to 
/errorpage_404.jsp.


   404
   /errorpage_404.jsp


-Tim

Markus Kirsten wrote:
> How do I configure standard error pages like 403, 404 etc. for Tomcat?
> 
> I've gone through the Tomcat documentation breifly but can't find 
> anything about it.
> 
> 
> Markus 


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




Netscape server 3.5.1 & tomcat error

2001-05-11 Thread Hassan Siddiqui

Hi

I'm pretty much a newbie with regards to using tomcat, and to this mailing
list, so forgive me if this has already been covered.

I've built a nsapi_redirector.so using Jose Zuleta's advice in a prev email
on this mailing list (8 Feb 2001), and configured my Netscape Server obj.conf
file according to Gal Shachor's Tomcat Netscape How-To. The relevant entries
to my obj.conf file read:

Init fn="load-modules" funcs="jk_init,jk_service"
shlib="/usr4/users/hsiddiqu/tmp/TOMCAT-NS/jakarta/jakarta-tomcat/src/native/netscape/nsapi_redirector.so"
Init fn="jk_init"
worker_file="/usr4/users/hsiddiqu/FIRST/Web/servlet/tomcat/test/3_2_1/jakarta-tomcat-3.2.1/conf/workers.properties"
log_level="debug"
log_file="/usr4/users/hsiddiqu/FIRST/Web/servlet/tomcat/test/3_2_1/jakarta-tomcat-3.2.1/nsapi.log"
 

NameTrans fn="assign-name" from="/servlet/*" name="servlet"
NameTrans fn="assign-name" from="/examples/*" name="servlet"

 
ObjectType fn=force-type type=text/plain 
Service fn="jk_service" worker="ajp12" 
 


When I try to restart Netscape Server
I get the following errors:

Status:
[https-firstws1]: pclose() failed. (2: unknown early startup error)
[https-firstws1]: conf_init: Error running init function(late) jk_init:
unknown error 
[https-firstws1]: server exit: status 1 

Any ideas as to what the error could be?



tomcat error when compile [urgent!]

2002-03-18 Thread Nancy Crisostomo Martinez

HI!

Because I need to run tomcat in a headless mode, I had tried to apply all the
advice that some of you gave me to run graphics under Solaris.  I just want to ask
why isn't it possible to me? I had tried  but it doesn't works and always the same
error appear:
/tomcat.sh: TOMCAT_OPTS=-Djava.awt.headless=true: is not an identifier

Is this a valid mode only for Tomcat 4.x? ... I'm using Tomcat 3.3, jdk 1.4.0 and
Solaris 8
Could you help me?? Please!

Regards,
Nancy




 Randy Layman wrote:

 > For Tomcat 3.3 change CATALINA_OPTS to TOMCAT_OPTS.  Otherwise
 the
 > directions quoted are correct.  If you insist on modifying the .sh
 file then
 > add this command as the second line of the sh file.
 >
 > Randy
 >
 > > -Original Message-
 > > From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]]
 > > Sent: Friday, March 15, 2002 3:17 PM
 > > To: Tomcat Users List
 > > Subject: Re: Charts in Jsp doesn't work [urgent!]
 > >
 > >
 > > Do somebody know how to set Java to run in headless mode  in
 > > Tomcat 3.3 ?
 > >
 > > Do you want give me a hint?
 > > I really tried to modify the tomcat.sh script but I
 > > couldn't.. It's very
 > > hard to understand!!!
 > > Could you please help me?
 > >
 > >
 > >
 > >
 > > "Christopher K.St.John" wrote:
 > >
 > > > Andy Eastham wrote:
 > > > >
 > > > > 1) To run in headless mode, you do need to modify tomcat.sh,
 > > > >
 > > >
 > > >$ export CATALINA_OPTS="-Djava.awt.headless=true"
 > > >$ bin/startup.sh
 > > >
 > > >  No need to actually modify the catalina.sh code, it will
 > > > automatically pick up the environment variable.
 > > >
 > >
 > > Andy Eastham wrote:
 > >
 > > > Nancy,
 > > >
 > > > You either need X windows or (if your server has no graphics
 card):
 > > >
 > > > 1) Use j2se1.4 and run it in "headless" mode - the JAva VM
 > > needs to be
 > > > started with the
 > > > -Djava.awt.headless=true option in the Tomcat startup scripts.
 > > >
 > > > 2) Get the virtual frame buffer (VFB) version of X windows and run

 > > > that.  (I
 > > > know we did this at my previous company but I'm afraid I
 > > can't remember
 > > > how
 > > > to set it up).  Try typing "xwindows virtual frame buffer" into
 your
 > > > favourite search engine.
 > > >
 > > > Andy
 > > >
 > > > > -Original Message-
 > > > > From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]]

 > > > > Sent: 14 March 2002 16:48
 > > > > To: Tomcat Users List
 > > > > Subject: Charts in Jsp doesn't work
 > > > >
 > > > >
 > > > > Hi Everybody!
 > > > >
 > > > > Do you know what is X Windows System for?
 > > > > Do I need to install it to work with charts?.. I mean, I
 > > couldn't see
 > > >
 > > > > the charts displayed and someone told me that I need to install
 X
 > > > Window
 > > > > System... Is that true?
 > > > > The jsp wich displays a chart are placed in a Solaris Sparc
 server
 > > > > running on Tomcat 3.3, but I want to see the charts in a
 > > Windows PC
 > > > and
 > > > > I couldn't
 > >
 > > >
 > > > --
 > > > Christopher St. John [EMAIL PROTECTED]
 > > > DistribuTopia http://www.distributopia.com
 > > >
 > > > --
 > > > To unsubscribe:
 > > 
 > > > For additional commands:
 > > 
 > > > Troubles with the list:
 > > 
 > >
 > >
 > > --
 > > To unsubscribe:
 
 > > For additional commands:
 
 > > Troubles with the list:
 
 > >
 >
 > --
 > To unsubscribe:   
 > For additional commands: 
 > Troubles with the list: 



Help: IIS-Tomcat error 403

2001-07-12 Thread Baohua Wang



I followed "Tomcat IIS HowTo". I can ran http://localhost:8080/examples/jsp/index.html but 
got an HTTP 403 error for http://localhost/examples/jsp/index.html.  
The virtual directory /jakarta/ does have an execution permission and the last 
message from iis_redirect.log is "[jk_isapi_plugin.c (461)]: HttpFilterProc 
check if [/examples/jsp/index.html] is pointes to the web-inf 
directory."
 
Thanks in advance for any help,
Baohua


Is this a tomcat error?

2003-03-12 Thread pcampaigne
Has anyone seen this error before?  I can access the Postgresql database from  the 
command line.

"Error accessing the database Backend start-up failed:FATAL: Database"nba" does not 
exist in the system catalog."

thanks,
Phil Campaigne


Tomcat error message with EspressReport

2003-06-10 Thread Chad Lemmen
I'm trying to set up a servlet with EspressReport.  EspressReport is a
report writer that connects to a database and generates a report.  I'm
using Tomcat 3.2.1 and Apache 1.3.19.  Tomcat is writing this error on my
screen when I try to load the EspressReport servlet in a browser.  The
EspressReport report is not being returned to the browser.



java.lang.IllegalAccessException: Class
quadbase.reportdesigner.ReportAPI.QbReport can not access a member of
class org.apache.tomcat.facade.HttpServletRequestFacade with modifiers
"public"


What does this mean?  If it would help I can post the code of the class
file for this servlet.

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



Tomcat error on the console?

2000-10-31 Thread David Knaack

I attempted to open a page in the form of:
machine.domain.com/servlet/

and the following error appeared on the console:

HANDLER THREAD PROBLEM: java.lang.NullPointerException
java.lang.NullPointerException
at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:644)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:566)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:156)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
at java.lang.Thread.run(Thread.java:484)

The web browser just sat there waiting for the page
(connected to the server, but not receiving data).

What does this indicate?

Thanks
DK




RE: Customizing Tomcat error page

2004-10-15 Thread Shapira, Yoav

Hi,
You can use  to catch a broad class of exceptions (such
as java.lang.Exception for example ;)  Or maybe
javax.servlet.ServletException).  If you use the error-code approach,
you have to list them individually, which you're right is verbose and
time-consuming.  There might be a visual web.xml editor out there that
can help you.

Yoav Shapira http://www.yoavshapira.com


>-Original Message-
>From: Rick Wong [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 14, 2004 8:43 PM
>To: Tomcat Users List
>Subject: Customizing Tomcat error page
>
>Hi,
>
>I am trying to replace the default Tomcat error page for my web
>applications.  I understand that I can specify  in the
>web.xml deployment descriptor, but that would require me to do that for
>every single error code.  Looking at the HTTP response code, there is a
>potentially long list of code that I might be interested in handling.
>
>Is there a simple way to trap these errors and redirect to my specific
>error page?
>
>Thanks,
>--
>Rick
>
>-
>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]



Re: Customizing Tomcat error page

2004-10-15 Thread Rick Wong
Unfortunately, the  does not catch return code.  I 
already have one java.lang.Exception 
which is a good umbrella for all exception an alike.  However, it does 
not catch 404, for example.  It seems like Tomcat catches it and handles 
it separately.  Due to the modula nature of my application, I have > 40 
web applications.  I really don't look forward to managing a long list 
of  for each error code in 40+ web.xml files.

I wonder if I can use a filter to catch the setting of a status code > 
200 and does a page forward there 

--
Rick
Shapira, Yoav wrote:
Hi,
You can use  to catch a broad class of exceptions (such
as java.lang.Exception for example ;)  Or maybe
javax.servlet.ServletException).  If you use the error-code approach,
you have to list them individually, which you're right is verbose and
time-consuming.  There might be a visual web.xml editor out there that
can help you.
Yoav Shapira http://www.yoavshapira.com
 

-Original Message-
From: Rick Wong [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 8:43 PM
To: Tomcat Users List
Subject: Customizing Tomcat error page
Hi,
I am trying to replace the default Tomcat error page for my web
applications.  I understand that I can specify  in the
web.xml deployment descriptor, but that would require me to do that for
every single error code.  Looking at the HTTP response code, there is a
potentially long list of code that I might be interested in handling.
Is there a simple way to trap these errors and redirect to my specific
error page?
Thanks,
--
Rick
-
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: Customizing Tomcat error page

2004-10-15 Thread Shapira, Yoav

Hi,


>Unfortunately, the  does not catch return code.  I

I didn't say it does ;)  I was just offering an alternative, and it
looks like you'd already taken advantage of it, so that's a good thing.

>web applications.  I really don't look forward to managing a long list
>of  for each error code in 40+ web.xml files.

Higher maintenance is always nearly a cost associated with higher
modularity.  One might also have N build files, N war files, etc for N
modules.

>I wonder if I can use a filter to catch the setting of a status code >
>200 and does a page forward there 

You could, and then you can use whatever rules (regex, etc.) to decide
on the error page.

Yoav



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]



Re: Customizing Tomcat error page

2004-10-16 Thread Lukas Bradley
Unfortunately, the  does not catch return code.  I 
already have one java.lang.Exception 
which is a good umbrella for all exception an alike.  However, it does 
not catch 404, for example.  
Try this in your web.xml

400
/400.jsp
 
401 and 403 are trickier, but this should solve most your your needs.
Lukas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Embedded Tomcat error (tomcat 5.5.4)

2004-11-21 Thread Peik Feng
Hi,
  I'm getting the following error when trying to run Embedded tomcat
v5.5.4 (I have modified Embedded.java to print out the error)

java.lang.NullPointerException
at org.apache.tomcat.util.IntrospectionUtils.setProperty(IntrospectionUt
ils.java:267)
at org.apache.catalina.startup.Embedded.createConnector(Embedded.java:41
6)
at org.apache.catalina.startup.Embedded.createConnector(Embedded.java:35
7)

  When I furthur trace Embedded.java, I found that the error is cause
by the following if else statement where it do not consider the case
for protocol.equals("http"), causing connector remain as null

public Connector createConnector(String address, int port,
 String protocol) {
...
if (protocol.equals("ajp")) {
connector = new
Connector("org.apache.jk.server.JkCoyoteHandler");
} else if (protocol.equals("memory")) {
connector = new
Connector("org.apache.coyote.memory.MemoryProtocolHandler");
} else if (protocol.equals("https")) {
connector = new Connector();
connector.setScheme("https");
connector.setSecure(true);
// FIXME  SET SSL PROPERTIES
}
...
}

  As a workaround, I have added the following and it works properly: 

else if (protocol.equals("http")) {
connector = new Connector();
connector.setScheme("http");
connector.setSecure(false);
}


  Hope to get advice from all tomcat user regarding the issue and the
resolution.

  Thank you

-- 
Regards,
Peik Feng

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



RE: SSL Config on Tomcat (Error)

2002-11-13 Thread Peter Romianowski
  first, please don't send messages to the list with the list-address in
bcc
(this breaks filtering in most email-clients).


  The error message you got indicates that there is already a service
listening on that port. Please send your server.xml for further
investigation and try to figure out what listens on which port and if
you have other software running (like apache) that might listen to a
port specified in your server.xml.

Peter

> -Original Message-
> From: Manoj Kithany [mailto:manojkithany108@;hotmail.com] 
> Sent: Wednesday, November 13, 2002 5:23 PM
> To: [EMAIL PROTECTED]
> Subject: SSL Config on Tomcat (Error)
> 
> 
> Hi Experts:
> 
> I want to Configure my TOMCAT for SSL and was reading the SSL 
> Config How-To 
> posted at 
> "http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.htm
> l#Edit%20the%20Tomcat%20Configuration%20File"
> 
> I made all the changes as was mentioned above and when excute 
> Catalina I get 
> following error--->
> --
> ---
> # ./catalina.sh run
> Using CATALINA_BASE:   /tom
> Using CATALINA_HOME:   /tom
> Using CATALINA_TMPDIR: /tom/temp
> Using JAVA_HOME:   /usr/java130
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.4
> Error unable to create jar cache in /tmp directory : 
> java.util.zip.ZipException: error in opening zip file
> Error unable to create jar cache in /tmp directory : 
> java.util.zip.ZipException: error in opening zip file
> Starting service Tomcat-Apache
> Apache Tomcat/4.0.4
> StandardServer.await: create[8005]: java.net.BindException: 
> The socket name 
> is already in use.
> java.net.BindException: The socket name is already in use.
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:414)
> at java.net.ServerSocket.(ServerSocket.java:182)
> at 
> org.apache.catalina.core.StandardServer.await(StandardServer.java:277)
> at 
> org.apache.catalina.startup.Catalina.start(Catalina.java:794)
> at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
> at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:179)
> at java.lang.reflect.Method.invoke(Native Method)
> at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
> --
> ---
> 
> Thanks!
> 
> 
> 
> 
> 
> 
> _
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> http://join.msn.com/?page=features/virus
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> [EMAIL PROTECTED]>
> 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: Netscape server 3.5.1 & tomcat error

2001-05-11 Thread Jesse Reynolds

At 13:11 +0200 11/5/2001, Hassan Siddiqui wrote:

>I've built a nsapi_redirector.so using Jose Zuleta's advice in a prev email
>on this mailing list (8 Feb 2001), and configured my Netscape Server obj.conf
>file according to Gal Shachor's Tomcat Netscape How-To. The relevant entries
>to my obj.conf file read:

Is there any chance you could repost Jose Zuleta's advice from 8 Feb 
2001 on building nsapi_redirector.so ??? I am trying to work out how 
to get tomcat and nes working on solaris, as are a whole bunch of 
people who have been asking this question on this list lately...

Then maybe i'll run into the same problem you're now having ;-)

Cheers

Jesse

-- 

   Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au
  jesse (at) va.com.au



Can anyone decipher this Tomcat error?

2001-02-26 Thread Conrad Gustafson



Hello 
there,
 
Configuring Tomcat 
with IIS, I get an http 404 error when trying to hit http://localhost/examples/jsp/index.html.  

 
Do the following 
debug lines from the command prompt window mean anything to any Tomcat gurus out 
there?
 
I know about the 
"Socket write error" problem between IE and Tomcat.  I don't know if this 
is what is happening, however, as I still get the http404 error with netscape or 
with IE after I have cleared the cache. 
 
2001-02-26 10:22:40 
- Ctx(  ): IOException in: R(  + /index.html + null) Connection 
aborted by peer: socket write error2001-02-26 10:22:40 - Ctx(  ): 
IOException in: R(  + /tomcat-power.gif + null) Connection aborted by 
peer: socket write error2001-02-26 10:22:43 - Ctx( /examples ): IOException 
in: R( /examples + /servlets/index.html + null) Connection aborted by peer: 
socket write error2001-02-26 10:22:53 - Ctx( /examples ): IOException in: R( 
/examples + /jsp/index.html + null) Connection aborted by peer: socket write 
error2001-02-26 10:45:07 - Ctx(  ): IOException in: R(  + 
/index.html + null) Connection aborted by peer: socket write 
error
 
Furthermore, if this 
is a problem with images specifically, why can I not hit a page with no 
images?  I get the same http error and isapi.log looks 
like:
 
[jk_isapi_plugin.c (429)]: In HttpFilterProc test 
redirection of /examples/jsp/index2.html[jk_uri_worker_map.c (344)]: Into 
jk_uri_worker_map_t::map_uri_to_worker[jk_uri_worker_map.c (406)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a match 
ajp12[jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index2.html] 
is a servlet url - should redirect to ajp12[jk_isapi_plugin.c (461)]: 
HttpFilterProc check if [/examples/jsp/index2.html] is points to the web-inf 
directory
Other people have 
gotten Tomcat to work with iis5 on win2K, so it must be 
possible.
 
Thank you very 
much.
 
Conrad


Re: Tomcat error message with EspressReport

2003-06-11 Thread Chad Lemmen
Upgrading to Tomcat 4.1.24 fixed my problem.


On Tue, 10 Jun 2003, Chad Lemmen wrote:

> I'm trying to set up a servlet with EspressReport.  EspressReport is a
> report writer that connects to a database and generates a report.  I'm
> using Tomcat 3.2.1 and Apache 1.3.19.  Tomcat is writing this error on my
> screen when I try to load the EspressReport servlet in a browser.  The
> EspressReport report is not being returned to the browser.
>
>
>
> java.lang.IllegalAccessException: Class
> quadbase.reportdesigner.ReportAPI.QbReport can not access a member of
> class org.apache.tomcat.facade.HttpServletRequestFacade with modifiers
> "public"
>
>
> What does this mean?  If it would help I can post the code of the class
> file for this servlet.
>

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



Re: Embedded Tomcat error (tomcat 5.5.4)

2004-11-23 Thread Vy Ho
Yes, I see this error before myself, and did the same tracing.  Instead 
of patching the code, I just created the connector externally (instead 
of calling createConnector). That may not be the right thing to do 
though.  Strangely that so many things that works with the version 5.028 
is broken in 5.5.4 (in term of source compatibility).  I think the 
problem with developers is lack of concrete documentation on this area.  
I am not sure if there is anything that I missed, but I couldn't find 
much information, other than API.  Searching the web, you'll find a few 
tutorials on how to do this. However, these stuff are very basic, and 
all based on 5.0x versions.  I am afraid of the amount of testing and 
the number of people is using the embedded is low.  If an "http" 
protocal is missed from an http web container, then what else could be 
missed?

Peik Feng wrote:
Hi,
 I'm getting the following error when trying to run Embedded tomcat
v5.5.4 (I have modified Embedded.java to print out the error)
java.lang.NullPointerException
   at org.apache.tomcat.util.IntrospectionUtils.setProperty(IntrospectionUt
ils.java:267)
   at org.apache.catalina.startup.Embedded.createConnector(Embedded.java:41
6)
   at org.apache.catalina.startup.Embedded.createConnector(Embedded.java:35
7)
 When I furthur trace Embedded.java, I found that the error is cause
by the following if else statement where it do not consider the case
for protocol.equals("http"), causing connector remain as null
public Connector createConnector(String address, int port,
 String protocol) {
...
   if (protocol.equals("ajp")) {
   connector = new
Connector("org.apache.jk.server.JkCoyoteHandler");
   } else if (protocol.equals("memory")) {
   connector = new
Connector("org.apache.coyote.memory.MemoryProtocolHandler");
   } else if (protocol.equals("https")) {
   connector = new Connector();
   connector.setScheme("https");
   connector.setSecure(true);
   // FIXME  SET SSL PROPERTIES
   }
...
}
 As a workaround, I have added the following and it works properly: 

else if (protocol.equals("http")) {
   connector = new Connector();
   connector.setScheme("http");
   connector.setSecure(false);
   }
 Hope to get advice from all tomcat user regarding the issue and the
resolution.
 Thank you
 


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


RE: Embedded Tomcat error (tomcat 5.5.4)

2004-11-23 Thread Shapira, Yoav

Hi,

>I think the
>problem with developers is lack of concrete documentation on this area.

As always, your (and anyone else's) help is welcome.  Feel free to
submit documentation and code patches to your heart's content.  Or
alternatively, feel free to pay people to write documentation for you ;)


We do make an effort, but during an early phase of a major release
branch like 5.5, it is anticipated that the code moves and matures
faster than the docs.  Now that 5.5.4 is stable, more attention has
already been paid to the docs.

>I am afraid of the amount of testing and
>the number of people is using the embedded is low.

Maybe you've heard of this one thing using Embedded Tomcat, it's called
JBoss ;)  You're far from alone.

Yoav Shapira http://www.yoavshapira.com




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]



Re: Embedded Tomcat error (tomcat 5.5.4)

2004-11-23 Thread Remy Maucherat
On Tue, 23 Nov 2004 10:31:07 -0500, Shapira, Yoav <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> >I think the
> >problem with developers is lack of concrete documentation on this area.
> 
> As always, your (and anyone else's) help is welcome.  Feel free to
> submit documentation and code patches to your heart's content.  Or
> alternatively, feel free to pay people to write documentation for you ;)
> 
> We do make an effort, but during an early phase of a major release
> branch like 5.5, it is anticipated that the code moves and matures
> faster than the docs.  Now that 5.5.4 is stable, more attention has
> already been paid to the docs.

The connector creation issue was a bug in 5.5.4 (fixed in CVS).

> >I am afraid of the amount of testing and
> >the number of people is using the embedded is low.
> 
> Maybe you've heard of this one thing using Embedded Tomcat, it's called
> JBoss ;)  You're far from alone.

Well, actually, it's JMX for embedding in JBoss, so we don't use
Embedded. Sun doesn't use Embedded anymore either, as far as I know.

The only reason why I am confident supporting it is because of
Costin's refactoring some time ago, where the main Catalina class is
an extension of Embedded. So the code is actually used and (more or
less) tested that way ;)

-- 
x
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
x

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



Write file to browser tomcat error

2005-03-02 Thread Gia Thornton
Hi,
I am using the code below in a jsp to write a jar file to the browser so that 
user can download it. However, after the user hit download to save the file, 
the tomcat server display an error caused by flushing the buffer. Does anyone 
know why it happens? Thank you for your help

---
try{
String disHeader = "Attachment;Filename=\"" + jarName +"\"";
response.setHeader("Content-Disposition", disHeader);
response.setContentType("APPLICATION/OCTET-STREAM"); 

FileInputStream fileInputStream = new FileInputStream(jarFile);

int i;
while ((i=fileInputStream.read())!=-1)
{
out.write(i);
}
fileInputStream.close();
out.close(); //This line gives the problem
}

catch(Exception e) // file IO errors
{
System.out.println("# file error");
e.printStackTrace();
}


error:

org.apache.jasper.runtime.PageContext: Internal error flushing the buffer in 
release() 


-
Celebrate Yahoo!'s 10th Birthday! 
 Yahoo! Netrospective: 100 Moments of the Web 

How to specify Tomcat error encoding?

2005-08-31 Thread Hiroshi Iwatani
Our environment is LANG=ja_JP.UTF-8 on Linux Fedora Core 3.

--below are copies from browser screen--

Tomcat error output for JSP page is garbled for Japanese:
[Tomcat(5.0.19) with javac]--compiler error mesg part quoted:
/usr/jakarta-tomcat-5.0.19/work/Catalina/localhost/testapp/org/apache/jsp/index_jsp.java:45:
??
:  sendRedirect(java.lang.String)
??: javax.servlet.http.HttpServletRequest ? ???
 request.sendRedirect("/testapp/redir.html");
^

while Resin(3.0.14) displays correct Japanese for compiler error mesg:
[Resin with javac]
jsp.java:45: シンボルを見つけられません。
シンボル: メソッド sendRedirect(java.lang.String)
場所: javax.servlet.http.HttpServletRequest の インタフェース
 request.sendRedirect("/testapp/redir.html");
^

[Resin with jikes]--jikis doesn't emit Japanese error mesg, that's OK.
/index.jsp:6: Semantic Error: No accessible method with signature
"sendRedirect(java.lang.String)"
was found in type "javax.servlet.http.HttpServletRequest".

My question is: how could we have Tomcat display correct Japanese error
message when JSP java code has errors for java compiler et al?

Thanks in advance.

-- 
Hiroshi Iwatani

*stop cruelty* Annual number of institutionally euthanized cats and dogs
including kittens and puppies: US 5 million, JP 500 thousand. How about
your country? *for our better karma*
-

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



RE: Apache+Tomcat Error (No Context configured)

2002-09-18 Thread Manoj Kithany

Hi Experts,

With reference to John's last email, I created the CONTEXT in SERVER.XML 
file and added a following CONTEXT:


Also, my Directory structure is as follows:
/kithany
/kithany/META-INF/application.xml
/kithany/WEB-INF/web.xml
/kithany/foo.jsp
/kithany/index.html
/kithany/kithany.war

I have my APPLICATION.XML file as follows:
-


KITHANY


kithany.war
/kithany



-

And, my WEB.XML file is as:
-

http://java.sun.com/dtd/web-app_2_3.dtd";>



30




index.jsp


index.html


index.htm



-

I then creat WAR file as follows:
-
#pwd
#/kithany
#jar -cvfM kithany.war .
-

Which I then, put it into /jboss/server/default/deploy and then start my 
JBOSS(Tomcat/Catalina) Server and then on browser, I type following:
http://MY_IP_ADDR_ESS:8080/kithany
http://MY_IP_ADDR_ESS:8080/kithany/index.html

but it gives still gives following message.
Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process 
this request

Experts, could you please guide me on to this.

THANKS to you and to John.

Manoj G. Kithany



>From: "Turner, John" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: 'Tomcat Users List' <[EMAIL PROTECTED]>
>Subject: RE: Apache+Tomcat+JBoss Error (No Context configured)
>Date: Tue, 17 Sep 2002 08:15:38 -0400
>
>
>There are plenty of servlet and JSP examples, with source, in the examples
>directory of Tomcat, including a HelloWorld servlet.
>
>Your error message seems self-explanatory to me.  With all due respect, I
>must suggest to you again (as others have) that you READ the documentation
>available before posting questions to the list.  You cannot just create a
>directory and drop a WAR file in it and expect Tomcat to work.  As your
>error message says, you need a Context element in server.xml for that file.
>Please consult the documentation and server.xml itself for help on how to
>setup a Context element (hint: do the same thing as done for the /examples
>Context).  Setting up a Context is basic issue #1 in Tomcat configuration,
>it's worth learning.  If you configure your Context, and still cannot 
>access
>your application, then post back to the list with the error messages you
>get.
>
>John
>


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




RE: Apache+Tomcat Error (No Context configured)

2002-09-19 Thread Turner, John


OK, this is the last time I am going to reply.  

First, let me respectfully suggest (again) that you read the documentation
available.

Second, do you have an appBase parameter in your Host element?  You cannot
use a docBase of "kithany", which is a relative path, without a
corresponding appBase parameter in your Host element.  This is CLEARLY
stated in the Tomcat 4.0.x documentation.

John

> -Original Message-
> From: Manoj Kithany [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 18, 2002 4:47 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Apache+Tomcat Error (No Context configured)
> 
> 
> Hi Experts,
> 
> With reference to John's last email, I created the CONTEXT in 
> SERVER.XML 
> file and added a following CONTEXT:
> 
> 
> Also, my Directory structure is as follows:
> /kithany
> /kithany/META-INF/application.xml
> /kithany/WEB-INF/web.xml
> /kithany/foo.jsp
> /kithany/index.html
> /kithany/kithany.war
> 
> I have my APPLICATION.XML file as follows:
> --
> ---
> 
> 
> KITHANY
> 
> 
> kithany.war
> /kithany
> 
> 
> 
> --
> ---
> 
> And, my WEB.XML file is as:
> --
> ---
> 
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
> 
> 
> 30
> 
> 
> 
> 
> index.jsp
> 
> 
> index.html
> 
> 
> index.htm
> 
> 
> 
> --
> ---
> 
> I then creat WAR file as follows:
> --
> ---
> #pwd
> #/kithany
> #jar -cvfM kithany.war .
> --
> ---
> 
> Which I then, put it into /jboss/server/default/deploy and 
> then start my 
> JBOSS(Tomcat/Catalina) Server and then on browser, I type following:
> http://MY_IP_ADDR_ESS:8080/kithany
> http://MY_IP_ADDR_ESS:8080/kithany/index.html
> 
> but it gives still gives following message.
> Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured 
> to process 
> this request
> 
> Experts, could you please guide me on to this.
> 
> THANKS to you and to John.
> 
> Manoj G. Kithany
> 
> 
> 
> >From: "Turner, John" <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: 'Tomcat Users List' <[EMAIL PROTECTED]>
> >Subject: RE: Apache+Tomcat+JBoss Error (No Context configured)
> >Date: Tue, 17 Sep 2002 08:15:38 -0400
> >
> >
> >There are plenty of servlet and JSP examples, with source, 
> in the examples
> >directory of Tomcat, including a HelloWorld servlet.
> >
> >Your error message seems self-explanatory to me.  With all 
> due respect, I
> >must suggest to you again (as others have) that you READ the 
> documentation
> >available before posting questions to the list.  You cannot 
> just create a
> >directory and drop a WAR file in it and expect Tomcat to 
> work.  As your
> >error message says, you need a Context element in server.xml 
> for that file.
> >Please consult the documentation and server.xml itself for 
> help on how to
> >setup a Context element (hint: do the same thing as done for 
> the /examples
> >Context).  Setting up a Context is basic issue #1 in Tomcat 
> configuration,
> >it's worth learning.  If you configure your Context, and 
> still cannot 
> >access
> >your application, then post back to the list with the error 
> messages you
> >get.
> >
> >John
> >
> 
> 
> _
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 
> --
> 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]>




Jakarta Tomcat Error Message Information Disclosure Vulnerability?

2002-02-20 Thread Jonathan Eric Miller

Does anyone know if this vulnerability still exists? It says that 4.0.1
suffers from this vulnerability, but, I don't see anything out of the
ordinary when I try it on mine.

http://online.securityfocus.com/cgi-bin/vulns-item.pl?section=info&id=3199

Jon



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




Tomcat error when starting after enabling Ajp13Connector

2003-03-20 Thread QJian

All

I am trying to plugin tomcat with IIS 5 using jk1.0 which requires enabling
org.apache.ajp.tomcat4.Ajp13Connector. I commented out the
org.apache.coyote.tomcat4.CoyoteConnector and uncommented
org.apache.ajp.tomcat4.Ajp13Connector. Then I got a exception below when
tomcat started. What's wrong with that ? Thanks.

Mar 20, 2003 10:48:16 AM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Mar 20, 2003 10:48:16 AM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Mar 20, 2003 10:48:17 AM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Mar 20, 2003 10:48:17 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with Ajp13Connector
at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:225
)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:369)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:777)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:751)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:339)
at
org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(Ser
verLifecycleListener.java:206)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:218
2)
at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12
Mar 20, 2003 10:48:22 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080

Tim (Qinjian) Jian

3833 Farragut Ave.
Kensington, MD 20895

Email: [EMAIL PROTECTED]




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



JDBC, SQL Server 2000 and Tomcat Error

2003-09-04 Thread Jeremy Lewis

I'm currently experiencing a strange error with some JSP pages that have
been built in Dreamweaver MX. The pages retrieve data from a SQL Server 2000
database using the Sun JDBC-ODBC driver. I currently get the following error
message reported by Tomcat when I try to display more than 6 data items on a
JSP page.

org.apache.jasper.JasperException: [Microsoft][ODBC SQL Server
Driver]Invalid Descriptor Index

The data is being retrieved using recordsets within Dreamweaver. If I
display less than 6 data items, even if the recordset those items are from
contains more than 6 data elements, the pages work fine.

Can anybody shed any light onto the likely cause of the problem. I suspect
it is configuration related, but I have run out of ideas.

Thanks

Jeremy.



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



Tomcat error when accessing Apache Web Manager

2004-01-08 Thread Alicia Forsythe


Netware 6.5
Apache/2.0.48 
mod_jk/1.2.5 
Tomcat/4.1.28
When using the Apache Web Manager, some pages are inaccessible due to 500 errors (exact error follows...).  None of the files for Web Admin have been modified nor has Tomcat or Apache.  One day it worked, the next it didn't.  
 
Error:

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
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
	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.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.java:191)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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:2416)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.invokeNext(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:193)
	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:309)
	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:386)
	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
	at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
	at java.lang.Thread.run(Thread.java:534)


root cause java.lang.ClassCastException
	at org.apache.jsp.SingleServerStatus_jsp._jspService(SingleServerStatus_jsp.java:49)
	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:210)
	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.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.java:191)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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:2416)
	at 

Tomcat Error: java.lang.NoClassDefFoundError: org/apache/naming/JndiPermission

2005-01-19 Thread Kathie Manson
Hi,

Up until yesterday, I was happily running tomcat 4.1.30.  Then, for
some reason, I started getting this error.  I'm not sure why.  It's
likely that I somehow changed the class path, or installed something
else that affected some other java classes, but I just don't know how
to fix it.

So, the full trace in catalina.out is:

*
Starting service Tomcat-Standalone
Apache Tomcat/4.1.30
- End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:385)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:819)
at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)Caused
by: java.lang.NoClassDefFoundError: org/apache/naming/JndiPermission
at 
org.apache.naming.resources.DirContextURLStreamHandler.openConnection(DirContextURLStreamHandler.java:135)
at java.net.URL.openConnection(URL.java:896)
at 
sun.net.www.protocol.jar.JarURLConnection.(JarURLConnection.java:64)
at sun.net.www.protocol.jar.Handler.openConnection(Handler.java:24)
at java.net.URL.openConnection(URL.java:896)
at 
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:903)
at 
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3587)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at 
org.apache.catalina.core.StandardHostDeployer.addChild(Stand

RE: How to specify Tomcat error encoding?

2005-08-31 Thread Hildegard Bronkhorst XH (ZA/ESA)
I never asked anybody to subscribe me to your web site / service.  Please 
delete my details IMMEDIATELY!

> Hildegard Bronkhorst
> Senior Facilities Manager
> Kagiso Integrated Services (Pty) Ltd.
> Tel: +27 11 844 2015
> Fax: +27 11 844 2130
> Mobile: +27 83 212 4303
> <<mailto:[EMAIL PROTECTED]>> 
> 
> E-mail disclaimer
> 
> This communication is confidential and intended solely for the addressee(s).  
> Any unauthorized review; use, disclosure, or distribution is prohibited.  If 
> you believe this message has been sent to you in error, please notify the 
> sender by replying to this transmission and delete the message without 
> disclosing it.  Thank you.  E-mail including attachments is susceptible to 
> data corruption, interruption, unauthorized amendment, tampering and viruses, 
> and we only send and receive e-mails on the basis that we are not liable for 
> any such corruption, interception, amendment, tampering or viruses or any 
> consequences thereof.
> 


-Original Message-
From: Hiroshi Iwatani [mailto:[EMAIL PROTECTED]
Sent: 01 September 2005 05:24
To: Tomcat Users List
Subject: How to specify Tomcat error encoding?


Our environment is LANG=ja_JP.UTF-8 on Linux Fedora Core 3.

--below are copies from browser screen--

Tomcat error output for JSP page is garbled for Japanese:
[Tomcat(5.0.19) with javac]--compiler error mesg part quoted:
/usr/jakarta-tomcat-5.0.19/work/Catalina/localhost/testapp/org/apache/jsp/index_jsp.java:45:
??
:  sendRedirect(java.lang.String)
??: javax.servlet.http.HttpServletRequest ? ???
 request.sendRedirect("/testapp/redir.html");
^

while Resin(3.0.14) displays correct Japanese for compiler error mesg:
[Resin with javac]
jsp.java:45: シンボルを見つけられません。
シンボル: メソッド sendRedirect(java.lang.String)
場所: javax.servlet.http.HttpServletRequest の インタフェース
 request.sendRedirect("/testapp/redir.html");
^

[Resin with jikes]--jikis doesn't emit Japanese error mesg, that's OK.
/index.jsp:6: Semantic Error: No accessible method with signature
"sendRedirect(java.lang.String)"
was found in type "javax.servlet.http.HttpServletRequest".

My question is: how could we have Tomcat display correct Japanese error
message when JSP java code has errors for java compiler et al?

Thanks in advance.

-- 
Hiroshi Iwatani

*stop cruelty* Annual number of institutionally euthanized cats and dogs
including kittens and puppies: US 5 million, JP 500 thousand. How about
your country? *for our better karma*
-

-
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: How to specify Tomcat error encoding?

2005-09-01 Thread Hildegard Bronkhorst XH (ZA/ESA)
I  never asked anybody to subscribe me to your web site / service.  Please 
delete my details IMMEDIATELY!

> Hildegard Bronkhorst
> Senior Facilities Manager
> Kagiso Integrated Services (Pty) Ltd.
> Tel: +27 11 844 2015
> Fax: +27 11 844 2130
> Mobile: +27 83 212 4303
> <<mailto:[EMAIL PROTECTED]>> 
> 
> E-mail disclaimer
> 
> This communication is confidential and intended solely for the addressee(s).  
> Any unauthorized review; use, disclosure, or distribution is prohibited.  If 
> you believe this message has been sent to you in error, please notify the 
> sender by replying to this transmission and delete the message without 
> disclosing it.  Thank you.  E-mail including attachments is susceptible to 
> data corruption, interruption, unauthorized amendment, tampering and viruses, 
> and we only send and receive e-mails on the basis that we are not liable for 
> any such corruption, interception, amendment, tampering or viruses or any 
> consequences thereof.
> 


-Original Message-
From: Hildegard Bronkhorst XH (ZA/ESA) [mailto:[EMAIL PROTECTED]
Sent: 01 September 2005 08:59
To: Tomcat Users List
Subject: RE: How to specify Tomcat error encoding?


I never asked anybody to subscribe me to your web site / service.  Please 
delete my details IMMEDIATELY!

> Hildegard Bronkhorst
> Senior Facilities Manager
> Kagiso Integrated Services (Pty) Ltd.
> Tel: +27 11 844 2015
> Fax: +27 11 844 2130
> Mobile: +27 83 212 4303
> <<mailto:[EMAIL PROTECTED]>> 
> 
> E-mail disclaimer
> 
> This communication is confidential and intended solely for the addressee(s).  
> Any unauthorized review; use, disclosure, or distribution is prohibited.  If 
> you believe this message has been sent to you in error, please notify the 
> sender by replying to this transmission and delete the message without 
> disclosing it.  Thank you.  E-mail including attachments is susceptible to 
> data corruption, interruption, unauthorized amendment, tampering and viruses, 
> and we only send and receive e-mails on the basis that we are not liable for 
> any such corruption, interception, amendment, tampering or viruses or any 
> consequences thereof.
> 


-Original Message-
From: Hiroshi Iwatani [mailto:[EMAIL PROTECTED]
Sent: 01 September 2005 05:24
To: Tomcat Users List
Subject: How to specify Tomcat error encoding?


Our environment is LANG=ja_JP.UTF-8 on Linux Fedora Core 3.

--below are copies from browser screen--

Tomcat error output for JSP page is garbled for Japanese:
[Tomcat(5.0.19) with javac]--compiler error mesg part quoted:
/usr/jakarta-tomcat-5.0.19/work/Catalina/localhost/testapp/org/apache/jsp/index_jsp.java:45:
??
:  sendRedirect(java.lang.String)
??: javax.servlet.http.HttpServletRequest ? ???
 request.sendRedirect("/testapp/redir.html");
^

while Resin(3.0.14) displays correct Japanese for compiler error mesg:
[Resin with javac]
jsp.java:45: シンボルを見つけられません。
シンボル: メソッド sendRedirect(java.lang.String)
場所: javax.servlet.http.HttpServletRequest の インタフェース
 request.sendRedirect("/testapp/redir.html");
^

[Resin with jikes]--jikis doesn't emit Japanese error mesg, that's OK.
/index.jsp:6: Semantic Error: No accessible method with signature
"sendRedirect(java.lang.String)"
was found in type "javax.servlet.http.HttpServletRequest".

My question is: how could we have Tomcat display correct Japanese error
message when JSP java code has errors for java compiler et al?

Thanks in advance.

-- 
Hiroshi Iwatani

*stop cruelty* Annual number of institutionally euthanized cats and dogs
including kittens and puppies: US 5 million, JP 500 thousand. How about
your country? *for our better karma*
-

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



RE: How to specify Tomcat error encoding?

2005-09-01 Thread pacea
Send an email to this link to unsubscribe . . .
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


> I  never asked anybody to subscribe me to your web site / service.  Please 
> delete my details IMMEDIATELY!
> 
> > Hildegard Bronkhorst
> > Senior Facilities Manager
> > Kagiso Integrated Services (Pty) Ltd.
> > Tel: +27 11 844 2015
> > Fax: +27 11 844 2130
> > Mobile: +27 83 212 4303
> > <<mailto:[EMAIL PROTECTED]>> 
> > 
> > E-mail disclaimer
> > 
> > This communication is confidential and intended solely for the 
> > addressee(s).  
> Any unauthorized review; use, disclosure, or distribution is prohibited.  If 
> you 
> believe this message has been sent to you in error, please notify the sender 
> by 
> replying to this transmission and delete the message without disclosing it.  
> Thank you.  E-mail including attachments is susceptible to data corruption, 
> interruption, unauthorized amendment, tampering and viruses, and we only send 
> and receive e-mails on the basis that we are not liable for any such 
> corruption, 
> interception, amendment, tampering or viruses or any consequences thereof.
> > 
> 
> 
> -Original Message-
> From: Hildegard Bronkhorst XH (ZA/ESA) 
> [mailto:[EMAIL PROTECTED]
> Sent: 01 September 2005 08:59
> To: Tomcat Users List
> Subject: RE: How to specify Tomcat error encoding?
> 
> 
> I never asked anybody to subscribe me to your web site / service.  Please 
> delete 
> my details IMMEDIATELY!
> 
> > Hildegard Bronkhorst
> > Senior Facilities Manager
> > Kagiso Integrated Services (Pty) Ltd.
> > Tel: +27 11 844 2015
> > Fax: +27 11 844 2130
> > Mobile: +27 83 212 4303
> > <<mailto:[EMAIL PROTECTED]>> 
> > 
> > E-mail disclaimer
> > 
> > This communication is confidential and intended solely for the 
> > addressee(s).  
> Any unauthorized review; use, disclosure, or distribution is prohibited.  If 
> you 
> believe this message has been sent to you in error, please notify the sender 
> by 
> replying to this transmission and delete the message without disclosing it.  
> Thank you.  E-mail including attachments is susceptible to data corruption, 
> interruption, unauthorized amendment, tampering and viruses, and we only send 
> and receive e-mails on the basis that we are not liable for any such 
> corruption, 
> interception, amendment, tampering or viruses or any consequences thereof.
> > 
> 
> 
> -Original Message-
> From: Hiroshi Iwatani [mailto:[EMAIL PROTECTED]
> Sent: 01 September 2005 05:24
> To: Tomcat Users List
> Subject: How to specify Tomcat error encoding?
> 
> 
> Our environment is LANG=ja_JP.UTF-8 on Linux Fedora Core 3.
> 
> --below are copies from browser screen--
> 
> Tomcat error output for JSP page is garbled for Japanese:
> [Tomcat(5.0.19) with javac]--compiler error mesg part quoted:
> /usr/jakarta-tomcat-5.0.19/work/Catalina/localhost/testapp/org/apache/jsp/index_
> jsp.java:45:
> ??
> :  sendRedirect(java.lang.String)
> ??: javax.servlet.http.HttpServletRequest ? ???
>  request.sendRedirect("/testapp/redir.html");
> ^
> 
> while Resin(3.0.14) displays correct Japanese for compiler error mesg:
> [Resin with javac]
> jsp.java:45: $B%7%s%\%k$r8+$D$1$i$l$^$;$s!#(J
> $B%7%s%\%k(J: $B%a%=%C%I(J sendRedirect(java.lang.String)
> $B>l=j(J: javax.servlet.http.HttpServletRequest $B$N(J 
> $B%$%s%?%U%'!<%9(J
>  request.sendRedirect("/testapp/redir.html");
> ^
> 
> [Resin with jikes]--jikis doesn't emit Japanese error mesg, that's OK.
> /index.jsp:6: Semantic Error: No accessible method with signature
> "sendRedirect(java.lang.String)"
> was found in type "javax.servlet.http.HttpServletRequest".
> 
> My question is: how could we have Tomcat display correct Japanese error
> message when JSP java code has errors for java compiler et al?
> 
> Thanks in advance.
> 
> -- 
> Hiroshi Iwatani
> 
> *stop cruelty* Annual number of institutionally euthanized cats and dogs
> including kittens and puppies: US 5 million, JP 500 thousand. How about
> your country? *for our better karma*
> -
> 
> -
> 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]
> 

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



Re: How to specify Tomcat error encoding?

2005-09-01 Thread Volker Krebs
Hi there,

Hiroshi Iwatani wrote:
> Our environment is LANG=ja_JP.UTF-8 on Linux Fedora Core 3.
> 
> My question is: how could we have Tomcat display correct Japanese error
> message when JSP java code has errors for java compiler et al?
> 
> Thanks in advance.
> 
We have the same problem.

IMO the encoding form
org.apache.coyote.Constants.DEFAULT_CHARACTER_ENCODING should be used.
Which we haved patched that it is UTF-8.
But it doesent work for us as well.

Can anybody else help ?

Volker


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



RE: Jakarta Tomcat Error Message Information Disclosure Vulnerability?

2002-02-20 Thread Ricky Leung

The link that you send already has the answer to the problem, just some
people might not implement it and therefore give it away how things are
organized/setup.

-Original Message-
From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 4:34 PM
To: Tomcat User List
Subject: Jakarta Tomcat Error Message Information Disclosure
Vulnerability?


Does anyone know if this vulnerability still exists? It says that 4.0.1
suffers from this vulnerability, but, I don't see anything out of the
ordinary when I try it on mine.

http://online.securityfocus.com/cgi-bin/vulns-item.pl?section=info&id=3199

Jon



--
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: Jakarta Tomcat Error Message Information Disclosure Vulnerability?

2002-02-20 Thread Jonathan Eric Miller

What I'm saying is that the page that is displayed by default doesn't seem
to be displaying any information of any value aside from the name and
version of the Web server.

Jon

- Original Message -
From: "Ricky Leung" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 3:44 PM
Subject: RE: Jakarta Tomcat Error Message Information Disclosure
Vulnerability?


> The link that you send already has the answer to the problem, just some
> people might not implement it and therefore give it away how things are
> organized/setup.
>
> -Original Message-
> From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 20, 2002 4:34 PM
> To: Tomcat User List
> Subject: Jakarta Tomcat Error Message Information Disclosure
> Vulnerability?
>
>
> Does anyone know if this vulnerability still exists? It says that 4.0.1
> suffers from this vulnerability, but, I don't see anything out of the
> ordinary when I try it on mine.
>
> http://online.securityfocus.com/cgi-bin/vulns-item.pl?section=info&id=3199
>
> Jon
>
>
>
> --
> 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]>




  1   2   >