RE: 500 - Internal server error

2005-07-13 Thread Ayyanar Inbamohan

 I used jmeter to test the performance, and i found
the  leak in the database connections, then i checked
the code and corrected it. then when i use 500 users
concurrently in jmeter to test my application running
in tomcat. i am getting this internal server error.

Is there is any way to increase the number of threads
in tomcat?

--- Allistair Crossley <[EMAIL PROTECTED]>
wrote:

> That's your answer then, give Tomcat more memory, or
> look for leaks in your code with a profiler.
> 
> > -Original Message-
> > From: Ayyanar Inbamohan
> [mailto:[EMAIL PROTECTED]
> > Sent: 13 July 2005 12:07
> > To: Tomcat Users List
> > Subject: Re: 500 - Internal server error
> > 
> > 
> > It is throwing out of memeory error
> > 
> > --- Tim Funk <[EMAIL PROTECTED]> wrote:
> > 
> > > You'll need to check the logs. When you have
> such a
> > > high load, it can be any 
> > > number of reasons.
> > > 
> > > -Tim
> > > 
> > > Ayyanar Inbamohan wrote:
> > > 
> > > > Hi all,
> > > > 
> > > >  My web application run in an intranet site, i
> > > used
> > > > jmeter for testing the Load and performance,
> > > >  when the concurrent user is set to 500  in
> jmeter
> > > to
> > > > test the application i am getting " 500 -
> Internal
> > > > server error "
> > > > 
> > > >  what is the cause for this problem,
> > > >  any solutions,
> > > >  
> > > 
> > >
> >
>
-
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > 
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> > 
> 
> 
>  
>
---
> QAS Ltd.
> Registered in England: No 2582055
> Registered in Australia: No 082 851 474
>
---
> 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 





Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
 

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



RE: 500 - Internal server error

2005-07-13 Thread Allistair Crossley
That's your answer then, give Tomcat more memory, or look for leaks in your 
code with a profiler.

> -Original Message-
> From: Ayyanar Inbamohan [mailto:[EMAIL PROTECTED]
> Sent: 13 July 2005 12:07
> To: Tomcat Users List
> Subject: Re: 500 - Internal server error
> 
> 
> It is throwing out of memeory error
> 
> --- Tim Funk <[EMAIL PROTECTED]> wrote:
> 
> > You'll need to check the logs. When you have such a
> > high load, it can be any 
> > number of reasons.
> > 
> > -Tim
> > 
> > Ayyanar Inbamohan wrote:
> > 
> > > Hi all,
> > > 
> > >  My web application run in an intranet site, i
> > used
> > > jmeter for testing the Load and performance,
> > >  when the concurrent user is set to 500  in jmeter
> > to
> > > test the application i am getting " 500 - Internal
> > > server error "
> > > 
> > >  what is the cause for this problem,
> > >  any solutions,
> > >  
> > 
> >
> -
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


 
---
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



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



Re: 500 - Internal server error

2005-07-13 Thread Ayyanar Inbamohan
It is throwing out of memeory error

--- Tim Funk <[EMAIL PROTECTED]> wrote:

> You'll need to check the logs. When you have such a
> high load, it can be any 
> number of reasons.
> 
> -Tim
> 
> Ayyanar Inbamohan wrote:
> 
> > Hi all,
> > 
> >  My web application run in an intranet site, i
> used
> > jmeter for testing the Load and performance,
> >  when the concurrent user is set to 500  in jmeter
> to
> > test the application i am getting " 500 - Internal
> > server error "
> > 
> >  what is the cause for this problem,
> >  any solutions,
> >  
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: 500 - Internal server error

2005-07-13 Thread Tim Funk
You'll need to check the logs. When you have such a high load, it can be any 
number of reasons.


-Tim

Ayyanar Inbamohan wrote:


Hi all,

 My web application run in an intranet site, i used
jmeter for testing the Load and performance,
 when the concurrent user is set to 500  in jmeter to
test the application i am getting " 500 - Internal
server error "

 what is the cause for this problem,
 any solutions,
 


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



500 - Internal server error

2005-07-12 Thread Ayyanar Inbamohan
Hi all,

 My web application run in an intranet site, i used
jmeter for testing the Load and performance,
 when the concurrent user is set to 500  in jmeter to
test the application i am getting " 500 - Internal
server error "

 what is the cause for this problem,
 any solutions,

 

thanks,
inr.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



HTTP: 500 Internal Server Error

2005-02-15 Thread Anand Pandey

Hi,
I'm getting HTTP:500 Inernal Server Error Problem, while uploading the 
XML
file.
The things that is getting strange to me is that uploading is done fine 
on
starting, but
system starts throwing this error as files are loaded concurrentlya and
Threads seems to be hanged.
I'm using Tomcat3.3.1 and JRE 1.2 .
Can any one help me out in this.

Many Thanks,
Anand


*
Disclaimer:
The contents of this E-mail (including the contents of the enclosure(s) or 
attachment(s) if any) are privileged and confidential material of MBT and 
should not be disclosed to, used by or copied in any manner by anyone other 
than the intended addressee(s).   In case you are not the desired addressee, 
you should delete this message and/or re-direct it to the sender.  The views 
expressed in this E-mail message (including the enclosure(s) or attachment(s) 
if any) are those of the individual sender, except where the sender expressly, 
and with authority, states them to be the views of MBT.

This e-mail message including attachment/(s), if any, is believed to be free of 
any virus.  However, it is the responsibility of the recipient to ensure that 
it is virus free and MBT is not responsible for any loss or damage arising in 
any way from its use
  


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



Re: HTTP: 500 Internal Server Error (Urjent)

2005-02-13 Thread Ben Souther
Anad, you've just hijacked someone else's thread.

When posting to the list, please start a new message.  Don't just reply
to an existing one.  It limits the number of people reading your
question.




On Sun, 2005-02-13 at 08:45, Anand Pandey wrote:
> Hi,
>   Can any one help me out in this serious case that I'm facing while
> uploading the files.
> " Getting HTTP: 500 Internal server Error, while uploading the XML file
> (5.44 KB approx).
> I'm using Tomcat3.3.1 and JRE ver 1.2.
> To upload the XML file request is sent to IIS thru which it is directed to
> Tomcat using Re-Director.
> What I'd observed is that file uploading is fine till Java memory
> utilization goes upto 80MB,
> after that HTTP: 500 Internal Server Error is thrown from the servlet (This
> is just my observation)."
> 
> Thanks & Regards,
> Anand
> 
> 
> *
> Disclaimer:
> The contents of this E-mail (including the contents of the enclosure(s) or 
> attachment(s) if any) are privileged and confidential material of MBT and 
> should not be disclosed to, used by or copied in any manner by anyone other 
> than the intended addressee(s).   In case you are not the desired addressee, 
> you should delete this message and/or re-direct it to the sender.  The views 
> expressed in this E-mail message (including the enclosure(s) or attachment(s) 
> if any) are those of the individual sender, except where the sender 
> expressly, and with authority, states them to be the views of MBT.
> 
> This e-mail message including attachment/(s), if any, is believed to be free 
> of any virus.  However, it is the responsibility of the recipient to ensure 
> that it is virus free and MBT is not responsible for any loss or damage 
> arising in any way from its use
>   
> 
> 
> -
> 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]



HTTP: 500 Internal Server Error (Urjent)

2005-02-13 Thread Anand Pandey

Hi,
Can any one help me out in this serious case that I'm facing while
uploading the files.
" Getting HTTP: 500 Internal server Error, while uploading the XML file
(5.44 KB approx).
I'm using Tomcat3.3.1 and JRE ver 1.2.
To upload the XML file request is sent to IIS thru which it is directed to
Tomcat using Re-Director.
What I'd observed is that file uploading is fine till Java memory
utilization goes upto 80MB,
after that HTTP: 500 Internal Server Error is thrown from the servlet (This
is just my observation)."

Thanks & Regards,
Anand


*
Disclaimer:
The contents of this E-mail (including the contents of the enclosure(s) or 
attachment(s) if any) are privileged and confidential material of MBT and 
should not be disclosed to, used by or copied in any manner by anyone other 
than the intended addressee(s).   In case you are not the desired addressee, 
you should delete this message and/or re-direct it to the sender.  The views 
expressed in this E-mail message (including the enclosure(s) or attachment(s) 
if any) are those of the individual sender, except where the sender expressly, 
and with authority, states them to be the views of MBT.

This e-mail message including attachment/(s), if any, is believed to be free of 
any virus.  However, it is the responsibility of the recipient to ensure that 
it is virus free and MBT is not responsible for any loss or damage arising in 
any way from its use
  


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



Re: Problem with mod_jk 1.2 - 500 Internal Server Error

2005-01-13 Thread Pat Maddox
Well, I managed to get it.  And I feel unbelievably stupid (as is the 
case with most problems).  The simple fix is
worker.list=default
rather than
workers.list=default

On Jan 13, 2005, at 11:03 AM, Mladen Turk wrote:
Pat Maddox wrote:
I'm using JBoss 4.0.1 with integrated Tomcat 5, and I'm trying to 
connect it to Apache 2.  Whenever I make a request to a resource that 
should be passed along to Tomcat, I get a 500 Internal Server error.  
Looking at the mod_jk.log shows:
[Thu Jan 13 13:45:34 2005]  [jk_worker.c (94)]: 
wc_get_worker_for_name, done did not find a worker
# Define worker
workers.list=default
worker.default.port=8009
worker.default.host=localhost
worker.default.type=ajp13

Can you resolve the 'localhost'?
See if you have localhost inside etc/hosts
or use 127.0.0.1 for host name.
Also, you can provide the mod_jk version used (1.2.8, etc.)
Mladen.
-
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: Problem with mod_jk 1.2 - 500 Internal Server Error

2005-01-13 Thread Mladen Turk
Pat Maddox wrote:
I'm using JBoss 4.0.1 with integrated Tomcat 5, and I'm trying to 
connect it to Apache 2.  Whenever I make a request to a resource that 
should be passed along to Tomcat, I get a 500 Internal Server error.  
Looking at the mod_jk.log shows:

[Thu Jan 13 13:45:34 2005]  [jk_worker.c (94)]: wc_get_worker_for_name, 
done did not find a worker

# Define worker
workers.list=default
worker.default.port=8009
worker.default.host=localhost
worker.default.type=ajp13
Can you resolve the 'localhost'?
See if you have localhost inside etc/hosts
or use 127.0.0.1 for host name.
Also, you can provide the mod_jk version used (1.2.8, etc.)
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Problem with mod_jk 1.2 - 500 Internal Server Error

2005-01-13 Thread Pat Maddox
I'm using JBoss 4.0.1 with integrated Tomcat 5, and I'm trying to 
connect it to Apache 2.  Whenever I make a request to a resource that 
should be passed along to Tomcat, I get a 500 Internal Server error.  
Looking at the mod_jk.log shows:

[Thu Jan 13 13:45:34 2005]  [jk_uri_worker_map.c (445)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Thu Jan 13 13:45:34 2005]  [jk_uri_worker_map.c (459)]: Attempting to 
map URI '/status'
[Thu Jan 13 13:45:34 2005]  [jk_uri_worker_map.c (473)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found an exact match default -> 
/status
[Thu Jan 13 13:45:34 2005]  [mod_jk.c (1689)]: Into handler 
r->proxyreq=0 r->handler=jakarta-servlet r->notes=140779720 
worker=default
[Thu Jan 13 13:45:34 2005]  [jk_worker.c (90)]: Into 
wc_get_worker_for_name default
[Thu Jan 13 13:45:34 2005]  [jk_worker.c (94)]: wc_get_worker_for_name, 
done did not find a worker
[Thu Jan 13 13:45:34 2005]  [jk_uri_worker_map.c (445)]: Into 
jk_uri_worker_map_t::map_uri_to_worker


So it looks like it maps to the correct worker, but then can't find the 
worker.  I've got no clue why this is happening.

Here's my workers.properties file:
# Define worker
workers.list=default
worker.default.port=8009
worker.default.host=localhost
worker.default.type=ajp13
And here's the section of httpd.conf where it's all set up
#
# mod_jk settings
#
JkWorkersFile "conf/workers.properties"
JkLogfile "logs/mod_jk.log"
JkLogLevel debug
JkMount /*.jsp default
JkMount /*.do default
JkMount /status default
# End of mod_jk settings
I'm really confused and frustrated with this...I'd appreciate any help.
Thanks, Pat
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error

2004-10-08 Thread Renan Galang
I believe so, actually other JSP pages on a different directory (different
application) run. We also have some java applications, and they run as well.
I don't understand what is causing the exception. Was the compiler executed
by jasper without any parameters? If that is the case, is there any reason
why it would be done so by jasper?

I have read some posts before that if a wrong option was passed, it would be
pointed out by the exception stack trace, but not in this case, because it
has no mention of erring parameters.

- Original Message - 
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Renan Galang"
<[EMAIL PROTECTED]>
Sent: Saturday, October 09, 2004 2:55 AM
Subject: RE: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error


>
> Hi,
> Is the JDK properly installed on your HPUX machine?
>
> Yoav Shapira
> Millennium Research Informatics
>
>
> >-Original Message-
> >From: Renan Galang [mailto:[EMAIL PROTECTED]
> >Sent: Friday, October 08, 2004 2:56 PM
> >To: Tomcat Users List
> >Subject: Re: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error
> >
> >Hello!
> >
> >Thanks for the reply. If you ask me, I am more than willing to
> upgrade
> >this setup, but that is not my decision to make. I seriously doubt too
> that
> >my Japanese managers will agree to changing the version of tomcat we
> are
> >using, since the Solaris and Linux versions of the software ran with
> Tomcat
> >4.0.4, without any problems. I will still try to convince them though,
> but
> >other than that -- do you have an idea what is causing this error?
> Thanks
> >so
> >much.
> >
> >Regards,
> >Renan Galang
> >
> >- Original Message -
> >From: "Shapira, Yoav" <[EMAIL PROTECTED]>
> >To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Renan
> Galang"
> ><[EMAIL PROTECTED]>
> >Sent: Saturday, October 09, 2004 2:49 AM
> >Subject: RE: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error
> >
> >
> >>
> >> Hi,
> >> Because 4.0.4 is an ancient release that was never stable, you will
> get
> >> limited (if any) support for it.  As a first step towards resolving
> your
> >> problem, I suggest updating to a more recent and stable tomcat
> release
> >> (5.0.28 is the best at the moment).
> >>
> >> Yoav Shapira
> >> Millennium Research Informatics
> >>
> >>
> >> >-Original Message-
> >> >From: Renan Galang [mailto:[EMAIL PROTECTED]
> >> >Sent: Friday, October 08, 2004 2:41 PM
> >> >To: [EMAIL PROTECTED]
> >> >Subject: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error
> >> >
> >> >Greetings,
> >> >
> >> >I am having problems running some of our JSP pages. Instead of the
> >> compiled
> >> >JSP page being displayed i get this on the page:
> >> >
> >> >
> >> >Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
> >> >
> >> >type Exception report
> >> >
> >> >message Internal Server Error
> >> >
> >> >description The server encountered an internal error (Internal
> Server
> >> >Error)
> >> >that prevented it from fulfilling this request.
> >> >
> >> >exception
> >> >
> >> >org.apache.jasper.JasperException: Unable to compile class for
> >> JSPUsage:
> >> >jsp->javac  
> >> >
> >> >where  includes:
> >> >  -g Generate all debugging info
> >> >  -g:noneGenerate no debugging info
> >> >  -g:{lines,vars,source} Generate only some debugging info
> >> >  -O Optimize; may hinder debugging or enlarge
> >> class
> >> >files
> >> >  -nowarnGenerate no warnings
> >> >  -verbose   Output messages about what the compiler is
> >> doing
> >> >  -deprecation   Output source locations where deprecated
> APIs
> >> are
> >> >used
> >> >  -classpath   Specify where to find user class files
> >> >  -sourcepath  Specify where to find input source files
> >> >  -bootclasspath   Override location of bootstrap class files
> >> >  -extdirs Override location of installed extensions
> >> >  -d  Specify whe

RE: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error

2004-10-08 Thread Shapira, Yoav

Hi,
Is the JDK properly installed on your HPUX machine?

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Renan Galang [mailto:[EMAIL PROTECTED]
>Sent: Friday, October 08, 2004 2:56 PM
>To: Tomcat Users List
>Subject: Re: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error
>
>Hello!
>
>Thanks for the reply. If you ask me, I am more than willing to
upgrade
>this setup, but that is not my decision to make. I seriously doubt too
that
>my Japanese managers will agree to changing the version of tomcat we
are
>using, since the Solaris and Linux versions of the software ran with
Tomcat
>4.0.4, without any problems. I will still try to convince them though,
but
>other than that -- do you have an idea what is causing this error?
Thanks
>so
>much.
>
>Regards,
>Renan Galang
>
>- Original Message -
>From: "Shapira, Yoav" <[EMAIL PROTECTED]>
>To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Renan
Galang"
><[EMAIL PROTECTED]>
>Sent: Saturday, October 09, 2004 2:49 AM
>Subject: RE: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error
>
>
>>
>> Hi,
>> Because 4.0.4 is an ancient release that was never stable, you will
get
>> limited (if any) support for it.  As a first step towards resolving
your
>> problem, I suggest updating to a more recent and stable tomcat
release
>> (5.0.28 is the best at the moment).
>>
>> Yoav Shapira
>> Millennium Research Informatics
>>
>>
>> >-Original Message-
>> >From: Renan Galang [mailto:[EMAIL PROTECTED]
>> >Sent: Friday, October 08, 2004 2:41 PM
>> >To: [EMAIL PROTECTED]
>> >Subject: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error
>> >
>> >Greetings,
>> >
>> >I am having problems running some of our JSP pages. Instead of the
>> compiled
>> >JSP page being displayed i get this on the page:
>> >
>> >
>> >Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
>> >
>> >type Exception report
>> >
>> >message Internal Server Error
>> >
>> >description The server encountered an internal error (Internal
Server
>> >Error)
>> >that prevented it from fulfilling this request.
>> >
>> >exception
>> >
>> >org.apache.jasper.JasperException: Unable to compile class for
>> JSPUsage:
>> >jsp->javac  
>> >
>> >where  includes:
>> >  -g Generate all debugging info
>> >  -g:noneGenerate no debugging info
>> >  -g:{lines,vars,source} Generate only some debugging info
>> >  -O Optimize; may hinder debugging or enlarge
>> class
>> >files
>> >  -nowarnGenerate no warnings
>> >  -verbose   Output messages about what the compiler is
>> doing
>> >  -deprecation   Output source locations where deprecated
APIs
>> are
>> >used
>> >  -classpath   Specify where to find user class files
>> >  -sourcepath  Specify where to find input source files
>> >  -bootclasspath   Override location of bootstrap class files
>> >  -extdirs Override location of installed extensions
>> >  -d  Specify where to place generated class
files
>> >  -encodingSpecify character encoding used by source
>> files
>> >  -target   Generate class files for specific VM
version
>> >
>> > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
>> > at
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
>> > at
>>
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(
>> JspS
>> >e
>> >rvlet.java:176)
>> > at
>>
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl
>> et.j
>> >a
>> >va:188)
>> > at
>>
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381
>> )
>> > at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
>> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>> > at
>>
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>> atio
>> >n
>> >FilterChain.java:247)
>> > at
>>
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>> terC
>> >h
>> >ain.java:193)
>> > at
>>
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrap

Re: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error

2004-10-08 Thread Renan Galang
Hello!

Thanks for the reply. If you ask me, I am more than willing to upgrade
this setup, but that is not my decision to make. I seriously doubt too that
my Japanese managers will agree to changing the version of tomcat we are
using, since the Solaris and Linux versions of the software ran with Tomcat
4.0.4, without any problems. I will still try to convince them though, but
other than that -- do you have an idea what is causing this error? Thanks so
much.

Regards,
Renan Galang

- Original Message - 
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Renan Galang"
<[EMAIL PROTECTED]>
Sent: Saturday, October 09, 2004 2:49 AM
Subject: RE: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error


>
> Hi,
> Because 4.0.4 is an ancient release that was never stable, you will get
> limited (if any) support for it.  As a first step towards resolving your
> problem, I suggest updating to a more recent and stable tomcat release
> (5.0.28 is the best at the moment).
>
> Yoav Shapira
> Millennium Research Informatics
>
>
> >-Original Message-
> >From: Renan Galang [mailto:[EMAIL PROTECTED]
> >Sent: Friday, October 08, 2004 2:41 PM
> >To: [EMAIL PROTECTED]
> >Subject: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error
> >
> >Greetings,
> >
> >I am having problems running some of our JSP pages. Instead of the
> compiled
> >JSP page being displayed i get this on the page:
> >
> >
> >Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
> >
> >type Exception report
> >
> >message Internal Server Error
> >
> >description The server encountered an internal error (Internal Server
> >Error)
> >that prevented it from fulfilling this request.
> >
> >exception
> >
> >org.apache.jasper.JasperException: Unable to compile class for
> JSPUsage:
> >jsp->javac  
> >
> >where  includes:
> >  -g Generate all debugging info
> >  -g:noneGenerate no debugging info
> >  -g:{lines,vars,source} Generate only some debugging info
> >  -O Optimize; may hinder debugging or enlarge
> class
> >files
> >  -nowarnGenerate no warnings
> >  -verbose   Output messages about what the compiler is
> doing
> >  -deprecation   Output source locations where deprecated APIs
> are
> >used
> >  -classpath   Specify where to find user class files
> >  -sourcepath  Specify where to find input source files
> >  -bootclasspath   Override location of bootstrap class files
> >  -extdirs Override location of installed extensions
> >  -d  Specify where to place generated class files
> >  -encodingSpecify character encoding used by source
> files
> >  -target   Generate class files for specific VM version
> >
> > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
> > at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
> > at
> >org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(
> JspS
> >e
> >rvlet.java:176)
> > at
> >org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl
> et.j
> >a
> >va:188)
> > at
> >org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381
> )
> > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
> atio
> >n
> >FilterChain.java:247)
> > at
> >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
> terC
> >h
> >ain.java:193)
> > at
> >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
> ve.j
> >a
> >va:243)
> > at
> >org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> ava:
> >5
> >66)
> > at
> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
> 472)
> > at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > at
> >org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> ve.j
> >a
> >va:190)
> > at
> >org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> ava:
> >5
> >66)
> > at
> >org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j
> ava:
> >2
> 

RE: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error

2004-10-08 Thread Shapira, Yoav

Hi,
Because 4.0.4 is an ancient release that was never stable, you will get
limited (if any) support for it.  As a first step towards resolving your
problem, I suggest updating to a more recent and stable tomcat release
(5.0.28 is the best at the moment).

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Renan Galang [mailto:[EMAIL PROTECTED]
>Sent: Friday, October 08, 2004 2:41 PM
>To: [EMAIL PROTECTED]
>Subject: Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error
>
>Greetings,
>
>I am having problems running some of our JSP pages. Instead of the
compiled
>JSP page being displayed i get this on the page:
>
>
>Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
>
>type Exception report
>
>message Internal Server Error
>
>description The server encountered an internal error (Internal Server
>Error)
>that prevented it from fulfilling this request.
>
>exception
>
>org.apache.jasper.JasperException: Unable to compile class for
JSPUsage:
>jsp->javac  
>
>where  includes:
>  -g Generate all debugging info
>  -g:noneGenerate no debugging info
>  -g:{lines,vars,source} Generate only some debugging info
>  -O Optimize; may hinder debugging or enlarge
class
>files
>  -nowarnGenerate no warnings
>  -verbose   Output messages about what the compiler is
doing
>  -deprecation   Output source locations where deprecated APIs
are
>used
>  -classpath   Specify where to find user class files
>  -sourcepath  Specify where to find input source files
>  -bootclasspath   Override location of bootstrap class files
>  -extdirs Override location of installed extensions
>  -d  Specify where to place generated class files
>  -encodingSpecify character encoding used by source
files
>  -target   Generate class files for specific VM version
>
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
> at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
> at
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(
JspS
>e
>rvlet.java:176)
> at
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl
et.j
>a
>va:188)
> at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381
)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
atio
>n
>FilterChain.java:247)
> at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terC
>h
>ain.java:193)
> at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.j
>a
>va:243)
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
>5
>66)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
472)
> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.j
>a
>va:190)
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
>5
>66)
> at
>org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j
ava:
>2
>46)
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
>5
>64)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
472)
> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23
47)
> at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:18
>0
>)
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
>5
>66)
> at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
alve
>.
>java:170)
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
>5
>64)
> at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a:17
>0
>)
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
>5
>64)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
472)
> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.jav
>a
>:174)
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
>5
>66)
> at
>org.apache.catalina.core.StandardPipeline.invoke(Sta

Apache Tomcat/4.0.4 - HTTP 505 - Internal Server Error

2004-10-08 Thread Renan Galang
Greetings,

I am having problems running some of our JSP pages. Instead of the compiled
JSP page being displayed i get this on the page:


Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error

type Exception report

message Internal Server Error

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

exception

org.apache.jasper.JasperException: Unable to compile class for JSPUsage:
jsp->javac  

where  includes:
  -g Generate all debugging info
  -g:noneGenerate no debugging info
  -g:{lines,vars,source} Generate only some debugging info
  -O Optimize; may hinder debugging or enlarge class
files
  -nowarnGenerate no warnings
  -verbose   Output messages about what the compiler is doing
  -deprecation   Output source locations where deprecated APIs are
used
  -classpath   Specify where to find user class files
  -sourcepath  Specify where to find input source files
  -bootclasspath   Override location of bootstrap class files
  -extdirs Override location of installed extensions
  -d  Specify where to place generated class files
  -encodingSpecify character encoding used by source files
  -target   Generate class files for specific VM version

 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
 at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:176)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:188)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
 at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
 at java.lang.Thread.run(Thread.java:536)

WEB.XML:




RelayCenter
vega.fw.ntf.mdl.appl.RelayCenter

detector
openbase.system.hb.server.EventDetectorImpl


Connection
WEB-INF/connection.cfg


1



RelayCenter
/RelayCenter



-1





I'd just like to ask if anybody has an idea (even if it is just a small
hint) what is causing this error. I just need something to start debugging
with. Odd thing is, this setup runs on our Solaris and Linux machines. We've
ported the system to HP-UX 11i., and this is the result. The servlet class
resides in a vega.jar file, and it is placed in the lib directory of
WEB-INF. If you need anymore information about the problem, I&

Re: Replace Internal Server Error Page with User Defined Page

2004-07-15 Thread Hugh Field-Richards
Hi Tim
It was a bit more than that - the following works for me
in my master sitemap ...
 




 
  

...
 

   
  
  
   
   
  
  
   
   
  
  
   

 

   
Many thanks for pointing me in the right direction though.
Hugh F-R
Dr Hugh S. Field-Richards
QinetiQ, St Andrew's Road, Malvern, Worcs, WR14 3PS, UK
Tel: ++1684 895075   Fax: ++1684 896113
Email: [EMAIL PROTECTED]
The views expressed above area are entirely those of the writer and
do not represent the views, policy or understanding of any other
person or official body.
On 14 Jul 2004, at 18:15, Tim Funk wrote:
Probably 500
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
-Tim
Hugh Field-Richards wrote:
Hi
Thanks for the reply.
I had seen that. But what is the error number (or whatever) that 
generates the
Internal Error Page with the type of errors that I have given? 
Exactly what
do I write in the error-code field?
TIA
Hugh F-R
Dr Hugh S. Field-Richards
QinetiQ, St Andrew's Road, Malvern, Worcs, WR14 3PS, UK
Tel: ++1684 895075   Fax: ++1684 896113
Email: [EMAIL PROTECTED]
The views expressed above area are entirely those of the writer and
do not represent the views, policy or understanding of any other
person or official body.
On 14 Jul 2004, at 17:43, Tim Funk wrote:
http://jakarta.apache.org/tomcat/faq/misc.html#error
-Tim
Hugh Field-Richards wrote:
Hi
How do I restrict the amount of information that is given
on the Internal Server Error Page? For example I get the
standard page
    Internal Server Error
Message: Unable to get transformer handler for file: 
Description: org.apache.cocoon.ProcessingException: Unable to 
get transformer handler for file: : 
org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in 
creating Transform Handler
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
Request URI
index-en.html
cause
org.apache.xml.utils.WrappedRuntimeException: Could not 
find variable with the name of .
request-uri

full exception chain stacktrace
etc
I want to be able to put out the minimum amount of information
here on the working system from my own error page. For
example: the requesting URI, a simple message to say a
failure has happened, and please contact the webmaster etc etc.
Any help here would be much appreciated. My apologies if this
has already been discussed. I have looked in the archives and
nothing was immediately obvious.

-
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: Replace Internal Server Error Page with User Defined Page

2004-07-14 Thread Tim Funk
Probably 500
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
-Tim
Hugh Field-Richards wrote:
Hi
Thanks for the reply.
I had seen that. But what is the error number (or whatever) that 
generates the
Internal Error Page with the type of errors that I have given? Exactly what
do I write in the error-code field?

TIA
Hugh F-R
Dr Hugh S. Field-Richards
QinetiQ, St Andrew's Road, Malvern, Worcs, WR14 3PS, UK
Tel: ++1684 895075   Fax: ++1684 896113
Email: [EMAIL PROTECTED]
The views expressed above area are entirely those of the writer and
do not represent the views, policy or understanding of any other
person or official body.
On 14 Jul 2004, at 17:43, Tim Funk wrote:
http://jakarta.apache.org/tomcat/faq/misc.html#error
-Tim
Hugh Field-Richards wrote:
Hi
How do I restrict the amount of information that is given
on the Internal Server Error Page? For example I get the
standard page
Internal Server Error
Message: Unable to get transformer handler for file: 
Description: org.apache.cocoon.ProcessingException: Unable to get 
transformer handler for file: : 
org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in 
creating Transform Handler
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
Request URI
index-en.html
cause
org.apache.xml.utils.WrappedRuntimeException: Could not find 
variable with the name of .
request-uri

full exception chain stacktrace
etc
I want to be able to put out the minimum amount of information
here on the working system from my own error page. For
example: the requesting URI, a simple message to say a
failure has happened, and please contact the webmaster etc etc.
Any help here would be much appreciated. My apologies if this
has already been discussed. I have looked in the archives and
nothing was immediately obvious.

-
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: Replace Internal Server Error Page with User Defined Page

2004-07-14 Thread Hugh Field-Richards
Hi
Thanks for the reply.
I had seen that. But what is the error number (or whatever) that 
generates the
Internal Error Page with the type of errors that I have given? Exactly 
what
do I write in the error-code field?

TIA
Hugh F-R
Dr Hugh S. Field-Richards
QinetiQ, St Andrew's Road, Malvern, Worcs, WR14 3PS, UK
Tel: ++1684 895075   Fax: ++1684 896113
Email: [EMAIL PROTECTED]
The views expressed above area are entirely those of the writer and
do not represent the views, policy or understanding of any other
person or official body.
On 14 Jul 2004, at 17:43, Tim Funk wrote:
http://jakarta.apache.org/tomcat/faq/misc.html#error
-Tim
Hugh Field-Richards wrote:
Hi
How do I restrict the amount of information that is given
on the Internal Server Error Page? For example I get the
standard page
Internal Server Error
Message: Unable to get transformer handler for file: 
Description: org.apache.cocoon.ProcessingException: Unable to get 
transformer handler for file: : 
org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in 
creating Transform Handler
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
Request URI
index-en.html
cause
org.apache.xml.utils.WrappedRuntimeException: Could not find 
variable with the name of .
request-uri

full exception chain stacktrace
etc
I want to be able to put out the minimum amount of information
here on the working system from my own error page. For
example: the requesting URI, a simple message to say a
failure has happened, and please contact the webmaster etc etc.
Any help here would be much appreciated. My apologies if this
has already been discussed. I have looked in the archives and
nothing was immediately obvious.

-
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: Replace Internal Server Error Page with User Defined Page

2004-07-14 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#error
-Tim
Hugh Field-Richards wrote:
Hi
How do I restrict the amount of information that is given
on the Internal Server Error Page? For example I get the
standard page
Internal Server Error
Message: Unable to get transformer handler for file: 
Description: org.apache.cocoon.ProcessingException: Unable to get 
transformer handler for file: : 
org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in 
creating Transform Handler

Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
Request URI
index-en.html
cause
org.apache.xml.utils.WrappedRuntimeException: Could not find 
variable with the name of .

request-uri

full exception chain stacktrace
etc
I want to be able to put out the minimum amount of information
here on the working system from my own error page. For
example: the requesting URI, a simple message to say a
failure has happened, and please contact the webmaster etc etc.
Any help here would be much appreciated. My apologies if this
has already been discussed. I have looked in the archives and
nothing was immediately obvious.
 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Replace Internal Server Error Page with User Defined Page

2004-07-14 Thread Hugh Field-Richards
Hi
How do I restrict the amount of information that is given
on the Internal Server Error Page? For example I get the
standard page
Internal Server Error
Message: Unable to get transformer handler for file: 
	Description: org.apache.cocoon.ProcessingException: Unable to get 
transformer handler for file: : 
	org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in 
creating Transform Handler

Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
Request URI
index-en.html
cause
		org.apache.xml.utils.WrappedRuntimeException: Could not find variable 
with the name of .

request-uri

full exception chain stacktrace
etc
I want to be able to put out the minimum amount of information
here on the working system from my own error page. For
example: the requesting URI, a simple message to say a
failure has happened, and please contact the webmaster etc etc.
Any help here would be much appreciated. My apologies if this
has already been discussed. I have looked in the archives and
nothing was immediately obvious.
TIA
Hugh F-R
Dr Hugh S. Field-Richards
QinetiQ, St Andrew's Road, Malvern, Worcs, WR14 3PS, UK
Tel: ++1684 895075   Fax: ++1684 896113
Email: [EMAIL PROTECTED]
The views expressed above area are entirely those of the writer and
do not represent the views, policy or understanding of any other
person or official body.


Re: internal server error

2004-02-06 Thread Paul
downgraded from
 jakarta-tomcat-4.1.29-LE-jdk14.exe
to
jakarta-tomcat-4.1.27-LE-jdk14.exe
and it worked.


- Original Message - 
From: "Filip Hanik" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 4:34 PM
Subject: Re: internal server error


> which version?
> - Original Message -
> From: "Paul" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, February 06, 2004 1:27 PM
> Subject: Re: internal server error
>
>
> Filip,
>   I have managed to solve my own problem by installing an earlier version
of
> Tomcat.
> Thanks, much appreciated,
> Paul
>
> - Original Message -
> From: "Filip Hanik" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, February 06, 2004 3:49 PM
> Subject: Re: internal server error
>
>
> > ok, the class that is trying to load it is
> > org/apache/jk/apr/TomcatStarter
> > this one sits in tomcat-jk2.jar
> >
> > > [Fri Feb 06 13:24:50 2004] [error] Can't find class
> > > org/apache/jk/apr/AprImpl
> > > java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
> >
> > this is strange, cause AprImpl sits in the same library as TomcatStarter
> > hmm, try adding tomcat-jk2.jar to your classpath
> >
> > Filip
> >
> > - Original Message -
> > From: "Paul" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, February 06, 2004 11:45 AM
> > Subject: Re: internal server error
> >
> >
> > only place i can find jmx jars is in Tomcat41/server/lib/ directory, so
i
> > modified workers2.properties as follows, adding mx4j-jmx.jar:
> >
> >
>
OPT=-Djava.class.path=c:/Tomcat41/bin/tomcat-jni.jar;c:/Tomcat41/server/lib/
> > commons-logging.jar;c:/Tomcat41/server/lib/mx4j-jmx.jar
> >
> > but, did not have any affect.  Hmmm.
> > -paul.
> >
> >
> > - Original Message -
> > From: "Filip Hanik" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, February 06, 2004 2:02 PM
> > Subject: Re: internal server error
> >
> >
> > > >java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
> > >
> > > the jmx jars are not in the classpath
> > >
> > > Filip
> > > - Original Message -
> > > From: "Paul" <[EMAIL PROTECTED]>
> > > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > > Sent: Friday, February 06, 2004 10:50 AM
> > > Subject: internal server error
> > >
> > >
> > > Does anyone recognize what the problem might be from the error log
given
> > > below:  Looks to me like it cannot find something, but what?
> > >
> > > my environment:
> > >  windows 2000,  java jdk 1.4,
> > >  jakarta-tomcat-4.1.29-LE-jdk14.exe
> > >  apache_2.0.48-win32-x86-no_ssl.msi
> > >  jk2 connector
> > >
> > > from error log, get:
> > > [Fri Feb 06 13:24:46 2004] [notice] Parent: Created child process 916
> > > [Fri Feb 06 13:24:46 2004] [notice] Child 916: Child process is
running
> > > [Fri Feb 06 13:24:46 2004] [notice] jk2_init() Found child 916 in
> > scoreboard
> > > slot 0
> > > [Fri Feb 06 13:24:46 2004] [notice] vm.init(): Jni lib: C:\Program
> > > Files\Java\j2re1.4.2\bin\client\jvm.dll
> > > [Fri Feb 06 13:24:49 2004] [notice] vm.open2() done
> > > [Fri Feb 06 13:24:49 2004] [notice] jni.validate() class=
> > > org/apache/jk/apr/TomcatStarter
> > > [Fri Feb 06 13:24:50 2004] [notice] Loaded
> org/apache/jk/apr/TomcatStarter
> > > [Fri Feb 06 13:24:50 2004] [error] Can't find class
> > > org/apache/jk/apr/AprImpl
> > > java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
> > >  at java.lang.ClassLoader.defineClass0(Native Method)
> > >  at java.lang.ClassLoader.defineClass(Unknown Source)
> > >  at java.security.SecureClassLoader.defineClass(Unknown Source)
> > >  at java.net.URLClassLoader.defineClass(Unknown Source)
> > >  at java.net.URLClassLoader.access$100(Unknown Source)
> > >  at java.net.URLClassLoader$1.run(Unknown Source)
> > >  at java.security.AccessController.doPrivileged(Native Method)
> > >  at java.net.URLClassLoader.findClass(Unknown Source)
> > >  at java.lang.ClassLoader.load

Re: internal server error

2004-02-06 Thread Filip Hanik
which version?
- Original Message -
From: "Paul" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 1:27 PM
Subject: Re: internal server error


Filip,
  I have managed to solve my own problem by installing an earlier version of
Tomcat.
Thanks, much appreciated,
Paul

- Original Message -
From: "Filip Hanik" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 3:49 PM
Subject: Re: internal server error


> ok, the class that is trying to load it is
> org/apache/jk/apr/TomcatStarter
> this one sits in tomcat-jk2.jar
>
> > [Fri Feb 06 13:24:50 2004] [error] Can't find class
> > org/apache/jk/apr/AprImpl
> > java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
>
> this is strange, cause AprImpl sits in the same library as TomcatStarter
> hmm, try adding tomcat-jk2.jar to your classpath
>
> Filip
>
> - Original Message -
> From: "Paul" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, February 06, 2004 11:45 AM
> Subject: Re: internal server error
>
>
> only place i can find jmx jars is in Tomcat41/server/lib/ directory, so i
> modified workers2.properties as follows, adding mx4j-jmx.jar:
>
>
OPT=-Djava.class.path=c:/Tomcat41/bin/tomcat-jni.jar;c:/Tomcat41/server/lib/
> commons-logging.jar;c:/Tomcat41/server/lib/mx4j-jmx.jar
>
> but, did not have any affect.  Hmmm.
> -paul.
>
>
> - Original Message -
> From: "Filip Hanik" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, February 06, 2004 2:02 PM
> Subject: Re: internal server error
>
>
> > >java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
> >
> > the jmx jars are not in the classpath
> >
> > Filip
> > - Original Message -
> > From: "Paul" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, February 06, 2004 10:50 AM
> > Subject: internal server error
> >
> >
> > Does anyone recognize what the problem might be from the error log given
> > below:  Looks to me like it cannot find something, but what?
> >
> > my environment:
> >  windows 2000,  java jdk 1.4,
> >  jakarta-tomcat-4.1.29-LE-jdk14.exe
> >  apache_2.0.48-win32-x86-no_ssl.msi
> >  jk2 connector
> >
> > from error log, get:
> > [Fri Feb 06 13:24:46 2004] [notice] Parent: Created child process 916
> > [Fri Feb 06 13:24:46 2004] [notice] Child 916: Child process is running
> > [Fri Feb 06 13:24:46 2004] [notice] jk2_init() Found child 916 in
> scoreboard
> > slot 0
> > [Fri Feb 06 13:24:46 2004] [notice] vm.init(): Jni lib: C:\Program
> > Files\Java\j2re1.4.2\bin\client\jvm.dll
> > [Fri Feb 06 13:24:49 2004] [notice] vm.open2() done
> > [Fri Feb 06 13:24:49 2004] [notice] jni.validate() class=
> > org/apache/jk/apr/TomcatStarter
> > [Fri Feb 06 13:24:50 2004] [notice] Loaded
org/apache/jk/apr/TomcatStarter
> > [Fri Feb 06 13:24:50 2004] [error] Can't find class
> > org/apache/jk/apr/AprImpl
> > java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
> >  at java.lang.ClassLoader.defineClass0(Native Method)
> >  at java.lang.ClassLoader.defineClass(Unknown Source)
> >  at java.security.SecureClassLoader.defineClass(Unknown Source)
> >  at java.net.URLClassLoader.defineClass(Unknown Source)
> >  at java.net.URLClassLoader.access$100(Unknown Source)
> >  at java.net.URLClassLoader$1.run(Unknown Source)
> >  at java.security.AccessController.doPrivileged(Native Method)
> >  at java.net.URLClassLoader.findClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClass(Unknown Source)
> >  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >  at java.lang.ClassLoader.defineClass0(Native Method)
> >  at java.lang.ClassLoader.defineClass(Unknown Source)
> >  at java.security.SecureClassLoader.defineClass(Unknown Source)
> >  at java.net.URLClassLoader.defineClass(Unknown Source)
> >  at java.net.URLClassLoader.access$100(Unknown Source)
> >  at java.net.URLClassLoader$1.run(Unknown Source)
> >  at java.security.AccessController.doPrivileged(Native Method)
> >  at java.net.URLClassLoader.findClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClass(Unknown Source)
> >  at sun.misc.Launch

Re: internal server error

2004-02-06 Thread Paul
Filip,
  I have managed to solve my own problem by installing an earlier version of
Tomcat.
Thanks, much appreciated,
Paul

- Original Message - 
From: "Filip Hanik" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 3:49 PM
Subject: Re: internal server error


> ok, the class that is trying to load it is
> org/apache/jk/apr/TomcatStarter
> this one sits in tomcat-jk2.jar
>
> > [Fri Feb 06 13:24:50 2004] [error] Can't find class
> > org/apache/jk/apr/AprImpl
> > java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
>
> this is strange, cause AprImpl sits in the same library as TomcatStarter
> hmm, try adding tomcat-jk2.jar to your classpath
>
> Filip
>
> - Original Message -
> From: "Paul" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, February 06, 2004 11:45 AM
> Subject: Re: internal server error
>
>
> only place i can find jmx jars is in Tomcat41/server/lib/ directory, so i
> modified workers2.properties as follows, adding mx4j-jmx.jar:
>
>
OPT=-Djava.class.path=c:/Tomcat41/bin/tomcat-jni.jar;c:/Tomcat41/server/lib/
> commons-logging.jar;c:/Tomcat41/server/lib/mx4j-jmx.jar
>
> but, did not have any affect.  Hmmm.
> -paul.
>
>
> ----- Original Message -
> From: "Filip Hanik" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, February 06, 2004 2:02 PM
> Subject: Re: internal server error
>
>
> > >java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
> >
> > the jmx jars are not in the classpath
> >
> > Filip
> > - Original Message -
> > From: "Paul" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, February 06, 2004 10:50 AM
> > Subject: internal server error
> >
> >
> > Does anyone recognize what the problem might be from the error log given
> > below:  Looks to me like it cannot find something, but what?
> >
> > my environment:
> >  windows 2000,  java jdk 1.4,
> >  jakarta-tomcat-4.1.29-LE-jdk14.exe
> >  apache_2.0.48-win32-x86-no_ssl.msi
> >  jk2 connector
> >
> > from error log, get:
> > [Fri Feb 06 13:24:46 2004] [notice] Parent: Created child process 916
> > [Fri Feb 06 13:24:46 2004] [notice] Child 916: Child process is running
> > [Fri Feb 06 13:24:46 2004] [notice] jk2_init() Found child 916 in
> scoreboard
> > slot 0
> > [Fri Feb 06 13:24:46 2004] [notice] vm.init(): Jni lib: C:\Program
> > Files\Java\j2re1.4.2\bin\client\jvm.dll
> > [Fri Feb 06 13:24:49 2004] [notice] vm.open2() done
> > [Fri Feb 06 13:24:49 2004] [notice] jni.validate() class=
> > org/apache/jk/apr/TomcatStarter
> > [Fri Feb 06 13:24:50 2004] [notice] Loaded
org/apache/jk/apr/TomcatStarter
> > [Fri Feb 06 13:24:50 2004] [error] Can't find class
> > org/apache/jk/apr/AprImpl
> > java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
> >  at java.lang.ClassLoader.defineClass0(Native Method)
> >  at java.lang.ClassLoader.defineClass(Unknown Source)
> >  at java.security.SecureClassLoader.defineClass(Unknown Source)
> >  at java.net.URLClassLoader.defineClass(Unknown Source)
> >  at java.net.URLClassLoader.access$100(Unknown Source)
> >  at java.net.URLClassLoader$1.run(Unknown Source)
> >  at java.security.AccessController.doPrivileged(Native Method)
> >  at java.net.URLClassLoader.findClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClass(Unknown Source)
> >  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >  at java.lang.ClassLoader.defineClass0(Native Method)
> >  at java.lang.ClassLoader.defineClass(Unknown Source)
> >  at java.security.SecureClassLoader.defineClass(Unknown Source)
> >  at java.net.URLClassLoader.defineClass(Unknown Source)
> >  at java.net.URLClassLoader.access$100(Unknown Source)
> >  at java.net.URLClassLoader$1.run(Unknown Source)
> >  at java.security.AccessController.doPrivileged(Native Method)
> >  at java.net.URLClassLoader.findClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClass(Unknown Source)
> >  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> > [Fri Feb 06 13:24:50 2004] [notice] vm.detach()

Re: internal server error

2004-02-06 Thread Filip Hanik
ok, the class that is trying to load it is
org/apache/jk/apr/TomcatStarter
this one sits in tomcat-jk2.jar

> [Fri Feb 06 13:24:50 2004] [error] Can't find class
> org/apache/jk/apr/AprImpl
> java.lang.NoClassDefFoundError: javax/management/MBeanRegistration

this is strange, cause AprImpl sits in the same library as TomcatStarter
hmm, try adding tomcat-jk2.jar to your classpath

Filip

- Original Message -
From: "Paul" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 11:45 AM
Subject: Re: internal server error


only place i can find jmx jars is in Tomcat41/server/lib/ directory, so i
modified workers2.properties as follows, adding mx4j-jmx.jar:

OPT=-Djava.class.path=c:/Tomcat41/bin/tomcat-jni.jar;c:/Tomcat41/server/lib/
commons-logging.jar;c:/Tomcat41/server/lib/mx4j-jmx.jar

but, did not have any affect.  Hmmm.
-paul.


- Original Message -
From: "Filip Hanik" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 2:02 PM
Subject: Re: internal server error


> >java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
>
> the jmx jars are not in the classpath
>
> Filip
> - Original Message -
> From: "Paul" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, February 06, 2004 10:50 AM
> Subject: internal server error
>
>
> Does anyone recognize what the problem might be from the error log given
> below:  Looks to me like it cannot find something, but what?
>
> my environment:
>  windows 2000,  java jdk 1.4,
>  jakarta-tomcat-4.1.29-LE-jdk14.exe
>  apache_2.0.48-win32-x86-no_ssl.msi
>  jk2 connector
>
> from error log, get:
> [Fri Feb 06 13:24:46 2004] [notice] Parent: Created child process 916
> [Fri Feb 06 13:24:46 2004] [notice] Child 916: Child process is running
> [Fri Feb 06 13:24:46 2004] [notice] jk2_init() Found child 916 in
scoreboard
> slot 0
> [Fri Feb 06 13:24:46 2004] [notice] vm.init(): Jni lib: C:\Program
> Files\Java\j2re1.4.2\bin\client\jvm.dll
> [Fri Feb 06 13:24:49 2004] [notice] vm.open2() done
> [Fri Feb 06 13:24:49 2004] [notice] jni.validate() class=
> org/apache/jk/apr/TomcatStarter
> [Fri Feb 06 13:24:50 2004] [notice] Loaded org/apache/jk/apr/TomcatStarter
> [Fri Feb 06 13:24:50 2004] [error] Can't find class
> org/apache/jk/apr/AprImpl
> java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
>  at java.lang.ClassLoader.defineClass0(Native Method)
>  at java.lang.ClassLoader.defineClass(Unknown Source)
>  at java.security.SecureClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.access$100(Unknown Source)
>  at java.net.URLClassLoader$1.run(Unknown Source)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.net.URLClassLoader.findClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>  at java.lang.ClassLoader.defineClass0(Native Method)
>  at java.lang.ClassLoader.defineClass(Unknown Source)
>  at java.security.SecureClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.access$100(Unknown Source)
>  at java.net.URLClassLoader$1.run(Unknown Source)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.net.URLClassLoader.findClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> [Fri Feb 06 13:24:50 2004] [notice] vm.detach() ok
> [Fri Feb 06 13:24:50 2004] [error] workerEnv.initWorkers() init failed for
> worker.jni:onStartup
> [Fri Feb 06 13:24:50 2004] [notice] jni.validate() class=
> org/apache/jk/apr/TomcatStarter
> [Fri Feb 06 13:24:50 2004] [notice] Loaded org/apache/jk/apr/TomcatStarter
> [Fri Feb 06 13:24:50 2004] [error] Can't find class
> org/apache/jk/apr/AprImpl
> java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
>  at java.lang.ClassLoader.defineClass0(Native Method)
>  at java.lang.ClassLoader.defineClass(Unknown Source)
>  at java.security.SecureClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.access$100(Unknown Source)
>  at java.net.URLClassLoader$1.run(Unknown Source)
&g

Re: internal server error

2004-02-06 Thread Paul
i am trying different versions of tomcat and apache, see if that makes a
difference

- Original Message - 
From: "Paul" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 2:45 PM
Subject: Re: internal server error


> only place i can find jmx jars is in Tomcat41/server/lib/ directory, so i
> modified workers2.properties as follows, adding mx4j-jmx.jar:
>
>
OPT=-Djava.class.path=c:/Tomcat41/bin/tomcat-jni.jar;c:/Tomcat41/server/lib/
> commons-logging.jar;c:/Tomcat41/server/lib/mx4j-jmx.jar
>
> but, did not have any affect.  Hmmm.
> -paul.
>
>
> - Original Message - 
> From: "Filip Hanik" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, February 06, 2004 2:02 PM
> Subject: Re: internal server error
>
>
> > >java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
> >
> > the jmx jars are not in the classpath
> >
> > Filip
> > - Original Message -----
> > From: "Paul" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, February 06, 2004 10:50 AM
> > Subject: internal server error
> >
> >
> > Does anyone recognize what the problem might be from the error log given
> > below:  Looks to me like it cannot find something, but what?
> >
> > my environment:
> >  windows 2000,  java jdk 1.4,
> >  jakarta-tomcat-4.1.29-LE-jdk14.exe
> >  apache_2.0.48-win32-x86-no_ssl.msi
> >  jk2 connector
> >
> > from error log, get:
> > [Fri Feb 06 13:24:46 2004] [notice] Parent: Created child process 916
> > [Fri Feb 06 13:24:46 2004] [notice] Child 916: Child process is running
> > [Fri Feb 06 13:24:46 2004] [notice] jk2_init() Found child 916 in
> scoreboard
> > slot 0
> > [Fri Feb 06 13:24:46 2004] [notice] vm.init(): Jni lib: C:\Program
> > Files\Java\j2re1.4.2\bin\client\jvm.dll
> > [Fri Feb 06 13:24:49 2004] [notice] vm.open2() done
> > [Fri Feb 06 13:24:49 2004] [notice] jni.validate() class=
> > org/apache/jk/apr/TomcatStarter
> > [Fri Feb 06 13:24:50 2004] [notice] Loaded
org/apache/jk/apr/TomcatStarter
> > [Fri Feb 06 13:24:50 2004] [error] Can't find class
> > org/apache/jk/apr/AprImpl
> > java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
> >  at java.lang.ClassLoader.defineClass0(Native Method)
> >  at java.lang.ClassLoader.defineClass(Unknown Source)
> >  at java.security.SecureClassLoader.defineClass(Unknown Source)
> >  at java.net.URLClassLoader.defineClass(Unknown Source)
> >  at java.net.URLClassLoader.access$100(Unknown Source)
> >  at java.net.URLClassLoader$1.run(Unknown Source)
> >  at java.security.AccessController.doPrivileged(Native Method)
> >  at java.net.URLClassLoader.findClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClass(Unknown Source)
> >  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >  at java.lang.ClassLoader.defineClass0(Native Method)
> >  at java.lang.ClassLoader.defineClass(Unknown Source)
> >  at java.security.SecureClassLoader.defineClass(Unknown Source)
> >  at java.net.URLClassLoader.defineClass(Unknown Source)
> >  at java.net.URLClassLoader.access$100(Unknown Source)
> >  at java.net.URLClassLoader$1.run(Unknown Source)
> >  at java.security.AccessController.doPrivileged(Native Method)
> >  at java.net.URLClassLoader.findClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClass(Unknown Source)
> >  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClass(Unknown Source)
> >  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> > [Fri Feb 06 13:24:50 2004] [notice] vm.detach() ok
> > [Fri Feb 06 13:24:50 2004] [error] workerEnv.initWorkers() init failed
for
> > worker.jni:onStartup
> > [Fri Feb 06 13:24:50 2004] [notice] jni.validate() class=
> > org/apache/jk/apr/TomcatStarter
> > [Fri Feb 06 13:24:50 2004] [notice] Loaded
org/apache/jk/apr/TomcatStarter
> > [Fri Feb 06 13:24:50 2004] [error] Can't find class
> > org/apache/jk/apr/AprImpl
> > java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
> >  at java.lang.ClassLoader.defineClass0(Native Method)
> >  at java.lang.ClassLoader.defineClass(Unknown Source)
> >  at java.security.SecureClassLoader.defineClass(Unknown Source)
> >  at java.net.URLClassLoader.defineClass(Unknown S

Re: internal server error

2004-02-06 Thread Paul
only place i can find jmx jars is in Tomcat41/server/lib/ directory, so i
modified workers2.properties as follows, adding mx4j-jmx.jar:

OPT=-Djava.class.path=c:/Tomcat41/bin/tomcat-jni.jar;c:/Tomcat41/server/lib/
commons-logging.jar;c:/Tomcat41/server/lib/mx4j-jmx.jar

but, did not have any affect.  Hmmm.
-paul.


- Original Message - 
From: "Filip Hanik" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 2:02 PM
Subject: Re: internal server error


> >java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
>
> the jmx jars are not in the classpath
>
> Filip
> - Original Message -
> From: "Paul" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, February 06, 2004 10:50 AM
> Subject: internal server error
>
>
> Does anyone recognize what the problem might be from the error log given
> below:  Looks to me like it cannot find something, but what?
>
> my environment:
>  windows 2000,  java jdk 1.4,
>  jakarta-tomcat-4.1.29-LE-jdk14.exe
>  apache_2.0.48-win32-x86-no_ssl.msi
>  jk2 connector
>
> from error log, get:
> [Fri Feb 06 13:24:46 2004] [notice] Parent: Created child process 916
> [Fri Feb 06 13:24:46 2004] [notice] Child 916: Child process is running
> [Fri Feb 06 13:24:46 2004] [notice] jk2_init() Found child 916 in
scoreboard
> slot 0
> [Fri Feb 06 13:24:46 2004] [notice] vm.init(): Jni lib: C:\Program
> Files\Java\j2re1.4.2\bin\client\jvm.dll
> [Fri Feb 06 13:24:49 2004] [notice] vm.open2() done
> [Fri Feb 06 13:24:49 2004] [notice] jni.validate() class=
> org/apache/jk/apr/TomcatStarter
> [Fri Feb 06 13:24:50 2004] [notice] Loaded org/apache/jk/apr/TomcatStarter
> [Fri Feb 06 13:24:50 2004] [error] Can't find class
> org/apache/jk/apr/AprImpl
> java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
>  at java.lang.ClassLoader.defineClass0(Native Method)
>  at java.lang.ClassLoader.defineClass(Unknown Source)
>  at java.security.SecureClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.access$100(Unknown Source)
>  at java.net.URLClassLoader$1.run(Unknown Source)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.net.URLClassLoader.findClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>  at java.lang.ClassLoader.defineClass0(Native Method)
>  at java.lang.ClassLoader.defineClass(Unknown Source)
>  at java.security.SecureClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.access$100(Unknown Source)
>  at java.net.URLClassLoader$1.run(Unknown Source)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.net.URLClassLoader.findClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> [Fri Feb 06 13:24:50 2004] [notice] vm.detach() ok
> [Fri Feb 06 13:24:50 2004] [error] workerEnv.initWorkers() init failed for
> worker.jni:onStartup
> [Fri Feb 06 13:24:50 2004] [notice] jni.validate() class=
> org/apache/jk/apr/TomcatStarter
> [Fri Feb 06 13:24:50 2004] [notice] Loaded org/apache/jk/apr/TomcatStarter
> [Fri Feb 06 13:24:50 2004] [error] Can't find class
> org/apache/jk/apr/AprImpl
> java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
>  at java.lang.ClassLoader.defineClass0(Native Method)
>  at java.lang.ClassLoader.defineClass(Unknown Source)
>  at java.security.SecureClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.access$100(Unknown Source)
>  at java.net.URLClassLoader$1.run(Unknown Source)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.net.URLClassLoader.findClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>  at java.lang.ClassLoader.defineClass0(Native Method)
>  at java.lang.ClassLoader.defineClass(Unknown Source)
>  at java.security.SecureClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.defineClass(Unknown Source)
>

Re: internal server error

2004-02-06 Thread Filip Hanik
>java.lang.NoClassDefFoundError: javax/management/MBeanRegistration

the jmx jars are not in the classpath

Filip
- Original Message -
From: "Paul" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 10:50 AM
Subject: internal server error


Does anyone recognize what the problem might be from the error log given
below:  Looks to me like it cannot find something, but what?

my environment:
 windows 2000,  java jdk 1.4,
 jakarta-tomcat-4.1.29-LE-jdk14.exe
 apache_2.0.48-win32-x86-no_ssl.msi
 jk2 connector

from error log, get:
[Fri Feb 06 13:24:46 2004] [notice] Parent: Created child process 916
[Fri Feb 06 13:24:46 2004] [notice] Child 916: Child process is running
[Fri Feb 06 13:24:46 2004] [notice] jk2_init() Found child 916 in scoreboard
slot 0
[Fri Feb 06 13:24:46 2004] [notice] vm.init(): Jni lib: C:\Program
Files\Java\j2re1.4.2\bin\client\jvm.dll
[Fri Feb 06 13:24:49 2004] [notice] vm.open2() done
[Fri Feb 06 13:24:49 2004] [notice] jni.validate() class=
org/apache/jk/apr/TomcatStarter
[Fri Feb 06 13:24:50 2004] [notice] Loaded org/apache/jk/apr/TomcatStarter
[Fri Feb 06 13:24:50 2004] [error] Can't find class
org/apache/jk/apr/AprImpl
java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(Unknown Source)
 at java.security.SecureClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.access$100(Unknown Source)
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClassInternal(Unknown Source)
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(Unknown Source)
 at java.security.SecureClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.access$100(Unknown Source)
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClassInternal(Unknown Source)
[Fri Feb 06 13:24:50 2004] [notice] vm.detach() ok
[Fri Feb 06 13:24:50 2004] [error] workerEnv.initWorkers() init failed for
worker.jni:onStartup
[Fri Feb 06 13:24:50 2004] [notice] jni.validate() class=
org/apache/jk/apr/TomcatStarter
[Fri Feb 06 13:24:50 2004] [notice] Loaded org/apache/jk/apr/TomcatStarter
[Fri Feb 06 13:24:50 2004] [error] Can't find class
org/apache/jk/apr/AprImpl
java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(Unknown Source)
 at java.security.SecureClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.access$100(Unknown Source)
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClassInternal(Unknown Source)
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(Unknown Source)
 at java.security.SecureClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.access$100(Unknown Source)
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClassInternal(Unknown Source)
[Fri Feb 06 13:24:50 2004] [notice] vm.detach() ok
[Fri Feb 06 13:24:50 2004] [error] workerEnv.initWorkers() init failed for
worker.jni:onShutdown
[Fri Feb 06 13:24:50 2004] [notice] workerEnv.init() ok
C:/Apache2/conf/workers2.properties
[Fri Feb 06 13:24:50 2004] [error] mod_jk child init 1 0
[Fri Feb 06 13:24:50 2004] [notice] Child 916: Acquired the start mutex.
[Fri Feb 06 13:24:50 2004] [notice] Child 916: Starting 250 worker threads.
[Fri Feb 06 13:28:04 2004] [notice] shm.createSlot() Create 

internal server error

2004-02-06 Thread Paul
13.service() failed to connect endpoint errno=61 
Unknown error
[Fri Feb 06 13:28:05 2004] [error] ajp13.service() Error  forwarding 
ajp13:localhost:8009 1 1
[Fri Feb 06 13:28:05 2004] [notice] ajp13.done() close endpoint ajp13:localhost:8009 
error_state 1
[Fri Feb 06 13:28:05 2004] [error] lb.service() worker failed 12 for 
ajp13:localhost:8009
[Fri Feb 06 13:28:05 2004] [error] lb.service() worker failed 12 for ajp13:jni
[Fri Feb 06 13:28:05 2004] [error] lb.service() unrecoverable error...
[Fri Feb 06 13:28:05 2004] [notice] vm.detach() ok
[Fri Feb 06 13:28:05 2004] [error] mod_jk.handler() Error connecting to tomcat 12

when type localhost or http://localhost/jkstatus into a browser, get page:  Internal 
Server Error

-paul.


RE: Customizing '500 Internal Server Error' when Tomcat is down in mod_jk configuration

2004-01-13 Thread Altankov Peter
ErrorDocument directive in apache's httpd.conf for 500

But there is 1 more interesting issue here. While TC is completely down u get 500 by 
mod_jk and apache can easyly handle it. 
You can easily set up an error page handlers per web-application in its web.xml.

The interesting part is when the TC is actually up, but it still havent loaded the 
requested context. Then the user gets a HTTP error issued by TC. How that can be 
handled? Any suggestions any1?


> -Original Message-
> From: Thierry Thelliez [mailto:[EMAIL PROTECTED] 
> Sent: 13 Януари 2004 г. 03:14
> To: [EMAIL PROTECTED]
> Subject: Customizing '500 Internal Server Error' when Tomcat 
> is down in mod_jk configuration
> 
> 
> In an Apache - mod_jk - Tomcat configuration we have Tomcat 
> occasionally going down. We then get the Internal Server 
> Error message. It would be very useful for our support staff 
> to have a more explicit message. Can this be done?
> 
>  
> 
> Thanks
> 
> Thierry
> 
> 

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



Customizing '500 Internal Server Error' when Tomcat is down in mod_jk configuration

2004-01-13 Thread Thierry Thelliez
In an Apache - mod_jk - Tomcat configuration we have Tomcat occasionally
going down. We then get the Internal Server Error message. It would be very
useful for our support staff to have a more explicit message. Can this be
done?

 

Thanks

Thierry



Re: Internal Server Error 500

2003-12-01 Thread Christopher Schultz
Asif,
I have apache running on linux with tomcat on NT.
Servlets work fine but when I try to load a JSP from the examples
It give Internal Server Error 500 Context not configured.
Is it an Apache error message or a Tomcat error message? What do you get 
in your Apache (or Tomcat) log file when this happens?

Linux 9.0
Right. Which one :)

It's very possible that the port over which Apache is trying to 
communicate with Tomcat is blocked by firewalls on either machine, or on 
an intermediate network link (like a router or h/w firewall). You should 
look into that, too.

-chris

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


Re: Internal Server Error 500

2003-11-28 Thread Ben Souther
Is your JAVA_HOME evironment variable set?
Have you installed a full j2sdk or are you running with just a JRE?



On Friday 28 November 2003 08:28 am, you wrote:
> Hi,
>
> I have apache running on linux with tomcat on NT.
> Servlets work fine but when I try to load a JSP from the examples
> It give Internal Server Error 500 Context not configured.
>
> Linux 9.0
> Apache 2.0
> Tomcat 4.1.27
>
> Any help is appreciated.
>
> -
> 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]



Internal Server Error 500

2003-11-28 Thread Asif Chowdhary
Hi,

I have apache running on linux with tomcat on NT.
Servlets work fine but when I try to load a JSP from the examples
It give Internal Server Error 500 Context not configured.

Linux 9.0
Apache 2.0
Tomcat 4.1.27

Any help is appreciated.

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



Internal Server Error, ErrorDocument does not work using mod_jk2 and servlet engine stopped

2003-10-22 Thread Bernhard Erdmann
Hi,

how can I customize Apache's error page if mod_jk2 does not get a usable
worker (Tomcat is down)?

Using Apache 2.0.47, mod_jk2 2.0.2 and Tomcat 4.1.24 running on Linux I
get an error message when the servlet engine is stopped (Tomcat is
down):


The servlet container is temporary unavailable or being upgraded
Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform
them of the time the error occurred, and anything you might have done
that may have caused the error.

More information about this error may be available in the server error
log.

Additionally, a 500 Internal Server Error error was encountered while
trying to use an ErrorDocument to handle the request.


httpd.conf defines:

ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var

This document (HTTP_INTERNAL_SERVER_ERROR.html.var) is shown when I try
to execute a CGI script missing its x-bit in filesystem access rights.


The first sentence ("The servlet container is temporary unavailable or
being upgraded") comes from mod_jk2
(jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/common/jk_worker_lb.c):

#define NO_WORKER_MSG "The servlet container is temporary unavailable or
being upgraded\n";


The next paragraphs are hardcoded into Apache
(httpd-2.0.47/modules/http/http_protocol.c, get_canned_error_string()):

default:/* HTTP_INTERNAL_SERVER_ERROR */
/*
 * This comparison to expose error-notes could be modified to
 * use a configuration directive and export based on that
 * directive.  For now "*" is used to designate an error-notes
 * that is totally safe for any user to see (ie lacks paths,
 * database passwords, etc.)
 */
if (((error_notes = apr_table_get(r->notes,
  "error-notes")) != NULL)
&& (h1 = apr_table_get(r->notes, "verbose-error-to")) !=
NULL
&& (strcmp(h1, "*") == 0)) {
return(apr_pstrcat(p, error_notes, "\n", NULL));
}
else {
return(apr_pstrcat(p,
   "The server encountered an internal "
   "error or\n"
   "misconfiguration and was unable to
complete\n"
   "your request.\n"
   "Please contact the server "
   "administrator,\n ",
   ap_escape_html(r->pool,
  r->server->server_admin),
   " and inform them of the time the "
   "error occurred,\n"
   "and anything you might have done that "
   "may have\n"
   "caused the error.\n"
   "More information about this error "
   "may be available\n"
   "in the server error log.\n",
   NULL));
}


The last sentence comes from ap_send_error_response() in
httpd-2.0.47/modules/http/http_protocol.c:

if (recursive_error) {
ap_rvputs_proto_in_ascii(r, "Additionally, a ",

status_lines[ap_index_of_response(recursive_error)],
  "\nerror was encountered while trying to use an "
  "ErrorDocument to handle the request.\n",
NULL);
}


Regards,
Bernie


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



RE: Internal Server Error

2003-10-20 Thread Shapira, Yoav

Howdy,
What does your JSP look like that's throwing this error?  Or is this
just thrown by a default tomcat installation with none of your personal
stuff?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Anson Zeall [mailto:[EMAIL PROTECTED]
>Sent: Monday, October 20, 2003 12:20 AM
>To: 'Tomcat Users List'
>Subject: Internal Server Error
>
>Hi guys,
>
>For some reason, my tomcat won't start. It says there's a 500
>Internal server error with:
>
>exception
>
>javax.servlet.ServletException: org/apache/naming/JndiPermission
>   at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
a
>tionFilterChain.java:247)
>   at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
t
>erChain.java:193)
>   at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
v
>e.java:256)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:643)
>   at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>80)
>   at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
v
>e.java:191)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:643)
>   at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>80)
>   at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24
1
>6)
>   at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a
>:180)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:643)
>   at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
a
>lve.java:171)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:641)
>   at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a
>:172)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:641)
>   at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>80)
>   at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.
>java:174)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:643)
>   at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>80)
>   at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>   at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:6
0
>1)
>   at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
C
>onnection(Http11Protocol.java:392)
>   at
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5
6
>5)
>   at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
l
>.java:619)
>   at java.lang.Thread.run(Thread.java:534)
>
>
>What does this mean?
>
>Anosn
>
>
>
>-
>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]



Internal Server Error

2003-10-19 Thread Anson Zeall
Hi guys,

For some reason, my tomcat won't start. It says there's a 500
Internal server error with:

exception

javax.servlet.ServletException: org/apache/naming/JndiPermission
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
6)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:60
1)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:392)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56
5)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:619)
at java.lang.Thread.run(Thread.java:534)


What does this mean?

Anosn



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



Re: Internal Server Error

2003-10-15 Thread John B. Moore
Found my problem...

  Since I had changed the default virtual host to "microps.com" in..


I also had to edit this line...



  that seem to fix it...

 (maybe a note in the server.xml to this effect...)

  Now I can uncross my eyes from staring at this file for the last 
hour...

  John...

John B. Moore wrote:

Just did a fresh install of 4.1.18 on NT4 Server (replacing a previous 
version that was working fine, but hey, I love spending hours beating 
my head against the wall, pulling out what few hairs I still have, so 
I get to figure this stuff out...)  Had followed John Turners 
install how-to to the letter with one exception.. I replaced the 
default virtual host "localhost" with "microps.com" (as I had it in 
the previous install) in server.xml.

  I was testing the /examples/jsp/num/numguess.jsp and am getting an 
"Internal Server Error".  Nothing is showing in any of the logs.  Not 
a hint... 
   I tested it under the "microps.com:8080" and it works fine.. only 
when I come through Apache (2.0.43) "www.microps.com" do I get this 
error.. Obviously a configuration issue.. just need some hints...

   Does this ring any bells as to where I should be looking...???

Thanks..

John Moore

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


Internal Server Error

2003-10-15 Thread John B. Moore
Just did a fresh install of 4.1.18 on NT4 Server (replacing a previous 
version that was working fine, but hey, I love spending hours beating my 
head against the wall, pulling out what few hairs I still have, so I get 
to figure this stuff out...)  Had followed John Turners install 
how-to to the letter with one exception.. I replaced the default virtual 
host "localhost" with "microps.com" (as I had it in the previous 
install) in server.xml.

  I was testing the /examples/jsp/num/numguess.jsp and am getting an 
"Internal Server Error".  Nothing is showing in any of the logs.  Not a 
hint...  

   I tested it under the "microps.com:8080" and it works fine.. only 
when I come through Apache (2.0.43) "www.microps.com" do I get this 
error.. Obviously a configuration issue.. just need some hints...

   Does this ring any bells as to where I should be looking...???

Thanks..

John Moore

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


Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error

2003-08-14 Thread Bob Hacker
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
 
I am running Jbuilder 7, JBoss 3.0.2. When I touch a jsp I get the
following exception when trying to run it
 
javax.servlet.ServletException: sun/tools/javac/Main
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
3)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:1012)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
1107)
at java.lang.Thread.run(Thread.java:479)
root cause 
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
com.borland.jbuilder.webserverglue.tomcat.jsp.JasperSunJavaCompiler.comp
ile(Unknown Source)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:272)
at
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(J
spServlet.java:177)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.java:189)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
3)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext

Internal server error only on first run tomcat 4.x + apache 2.0x + modjk2 + winxp

2003-03-29 Thread Henry Tang
Hi, I am getting this error below only on the first service for apache.
After this error, all other pages served will be fine.  Error is produced
after the server hangs for a while around 2 minutes.  Anyone experiencing
the same problem?

thanks
henry

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform
them of the time the error occurred, and anything you might have done that
may have caused the error.
More information about this error may be available in the server error log.



Apache/2.0.44 (Win32) mod_jk2/2.0.0 Server at localhost Port 80


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



Re: internal server error

2003-03-21 Thread Tim Funk
Make sure you have as many tomcat workers(maxProcessors) as apache workers.

-Tim

Adrian Epuras wrote:
I'm using tomcat 4.1.18 and apache 2.0.44 with JK2 on Slackware 8.1.
And from time to time I get something like this:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Apache/2.0.44 (Unix) DAV/2 mod_jk2/2.0.3-dev Server at 192.168.1.1 Port 80
On refresh the error is gone.
In the apache error_log this error looks like:
[Fri Mar 21 18:44:16 2003] [error] lb.getWorker() reenable
ajp13:localhost:8009
[Fri Mar 21 18:44:16 2003] [error] workerEnv.init() create slot epStat.4
failed
[Fri Mar 21 18:44:16 2003] [error] lb.service() worker failed 12 for
ajp13:localhost:8009
[Fri Mar 21 18:44:16 2003] [error] lb.service() unrecoverable error...
[Fri Mar 21 18:44:16 2003] [error] mod_jk.handler() Error connecting to
tomcat 12
Can anybody tell me what's going on??
Adrian.
-
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]


internal server error

2003-03-21 Thread Adrian Epuras
I'm using tomcat 4.1.18 and apache 2.0.44 with JK2 on Slackware 8.1.
And from time to time I get something like this:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Apache/2.0.44 (Unix) DAV/2 mod_jk2/2.0.3-dev Server at 192.168.1.1 Port 80

On refresh the error is gone.
In the apache error_log this error looks like:

[Fri Mar 21 18:44:16 2003] [error] lb.getWorker() reenable
ajp13:localhost:8009
[Fri Mar 21 18:44:16 2003] [error] workerEnv.init() create slot epStat.4
failed
[Fri Mar 21 18:44:16 2003] [error] lb.service() worker failed 12 for
ajp13:localhost:8009
[Fri Mar 21 18:44:16 2003] [error] lb.service() unrecoverable error...
[Fri Mar 21 18:44:16 2003] [error] mod_jk.handler() Error connecting to
tomcat 12

Can anybody tell me what's going on??
Adrian.


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



Re: Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error

2003-03-18 Thread Tim Funk
Make sure you are using a JDK and not JRE. It looks like there is no 
java compiler available.

-Tim

lunasahu wrote:
This is the error during jsp execution.
How to solve this error;
 

Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error



type Exception report

message Internal Server Error

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

exception 

javax.servlet.ServletException: sun/tools/javac/Main
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:484)
 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:243)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
 at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
 at java.lang.Thread.run(Unknown Source)


root cause 

java.lang.NoClassDefFoundError: sun/tools/javac/Main
 at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:271)
 at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
 at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
 at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
 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:243)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
 at

AW: Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error

2003-03-18 Thread Janz, Alexander
hi,

look for tools.jar. This file must be in the classpath.

greetings
alexander



> -Ursprüngliche Nachricht-
> Von:  lunasahu [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Dienstag, 18. März 2003 09:44
> An:   [EMAIL PROTECTED]
> Betreff:  Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server
> Error
> 
> This is the error during jsp execution.
> How to solve this error;
> 
> 
>  
> 
> 
> Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
> 
> 
> --
> --
> 
> 
> type Exception report
> 
> 
> message Internal Server Error
> 
> 
> description The server encountered an internal error (Internal Server
> Error) that prevented it from fulfilling this request.
> 
> 
> exception 
> 
> 
> javax.servlet.ServletException: sun/tools/javac/Main
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:484)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> onFilterChain.java:247)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> Chain.java:193)
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> java:243)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java
> :566)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472
> )
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> java:201)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java
> :566)
>  at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBa
> se.java:472)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java
> :564)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472
> )
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
>  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> 64)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java
> :566)
>  at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValv
> e.java:170)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java
> :564)
>  at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> 70)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java
> :564)
>  at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java
> :564)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472
> )
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja
> va:163)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java
> :566)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472
> )
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.jav
> a:1011)
>  at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:11
> 06)
>  at java.lang.Thread.run(Unknown Source)
> 
> 
> 
> root cause 
> 
> 
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
>  at
> org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:12
> 8)
>  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:271)
>  at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
>  at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Jsp
> Servlet.java:177)
>  at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.
> java:189)
>  at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> onFilterChain.java:247)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> Chain.java:193)
>  at

Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error

2003-03-18 Thread lunasahu
This is the error during jsp execution.
How to solve this error;


 


Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error





type Exception report


message Internal Server Error


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


exception 


javax.servlet.ServletException: sun/tools/javac/Main
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:484)
 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:243)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
 at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
 at java.lang.Thread.run(Unknown Source)



root cause 


java.lang.NoClassDefFoundError: sun/tools/javac/Main
 at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:271)
 at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
 at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
 at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
 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:243)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
 at org.apache.catalina.core.StandardPipeline.invokeNext

Re: HTTP 500-Internal Server Error

2003-03-11 Thread pcampaigne
Eric,
Thanks for your help!
Phil
- Original Message -
From: "Erik Price" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 10:20 AM
Subject: Re: HTTP 500-Internal Server Error


>
>
> pcampaigne wrote:
> > Thanks Matt.
> > I had my servlets in the "src" directory under WEB-INF so I creates a
> > classes directory under WEB-INF and moved them there.
> >
> > However, I still get a 500 error but the root cause is different:
> > "NoClassDefinitionFoundError: com/op/test/LoginServlet  (wrong name:
> > LoginServlet)
> >
> > It seems to me that the web.xml entry should  resolve this.  I still
don't
> > get it.
>
> Your directory hierarchy should look something like this, where each
> item followed by a slash is a directory:
>
> -/
>-any JSP or HTML files you are using are probably here
>-WEB-INF/
>  -lib/
>-any JAR files you are using go here
>  -classes/
>-com/
>   -op/
>-test/
>  - LoginServlet
>
>
>
> Erik
>
>
> -
> 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: HTTP 500-Internal Server Error

2003-03-11 Thread Erik Price


pcampaigne wrote:
Thanks Matt.
I had my servlets in the "src" directory under WEB-INF so I creates a
classes directory under WEB-INF and moved them there.
However, I still get a 500 error but the root cause is different:
"NoClassDefinitionFoundError: com/op/test/LoginServlet  (wrong name:
LoginServlet)
It seems to me that the web.xml entry should  resolve this.  I still don't
get it.
Your directory hierarchy should look something like this, where each 
item followed by a slash is a directory:

-/
  -any JSP or HTML files you are using are probably here
  -WEB-INF/
-lib/
  -any JAR files you are using go here
-classes/
  -com/
 -op/
  -test/
- LoginServlet


Erik

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


Re: HTTP 500-Internal Server Error

2003-03-11 Thread pcampaigne
Thanks Matt.
I had my servlets in the "src" directory under WEB-INF so I creates a
classes directory under WEB-INF and moved them there.

However, I still get a 500 error but the root cause is different:
"NoClassDefinitionFoundError: com/op/test/LoginServlet  (wrong name:
LoginServlet)

It seems to me that the web.xml entry should  resolve this.  I still don't
get it.
Phil
- Original Message -
From: "Matthew Oatham" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 8:37 AM
Subject: Re: HTTP 500-Internal Server Error


> Is LoginServlet.class in WEB-INF/classes ?
>
> Does LoginServlet.class import any helper classes from third party
> aplications? If so are these JAR files in WEB-INF/lib ?
>
> If you are using the specified context is your application under the dir
> webapps/Test ?
>
> Are you accessing the servlet on http://domain:port/Test/LoginServlet ?
>
> Not sure if any of this will help but younever know!!!
>
> Matt.
>
>
> - Original Message -
> From: "pcampaigne" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, March 11, 2003 4:13 PM
> Subject: Re: HTTP 500-Internal Server Error
>
>
> > Hi,
> > I found some more information about my problem, the root cause is
> > ClassNotFoundException: com.op.test.LoginServlet
> > but I have the web.xml entry shown below, and also the following context
> > entry in server.xml
> >
> > 
> >  > debug="100" privileged="true"/>
> >
> > I don't get it??
> > Phil
> > - Original Message -
> > From: "pcampaigne" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Tuesday, March 11, 2003 6:59 AM
> > Subject: HTTP 500-Internal Server Error
> >
> >
> > Hi,
> > I'm trying to setup database access with a simple test application using
> > tomcat 4.0.6.
> > When my servlet gets executed I get the 500 browser error,
> > "Wrapper cannot find servlet class com.op.test.LoginServlet or a class
it
> > depends on"
> > 1. Does anyone know why?
> > 2. Is there any way to get more useful error messages?
> > Thanks,
> > Phil Campaigne
> >
> > I have the following entry in my web.xml file to address this:
> >
> > "
> > LoginServlet
> > LoginServlet
> > com.op.test.LoginServlet
> > debug
> > 2
> > 
> > 
> >
> > 
> > LoginServlet
> > LoginServlet
> > 
> >
> >
> >
> > -
> > 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: HTTP 500-Internal Server Error

2003-03-11 Thread Matthew Oatham
Is LoginServlet.class in WEB-INF/classes ?

Does LoginServlet.class import any helper classes from third party
aplications? If so are these JAR files in WEB-INF/lib ?

If you are using the specified context is your application under the dir
webapps/Test ?

Are you accessing the servlet on http://domain:port/Test/LoginServlet ?

Not sure if any of this will help but younever know!!!

Matt.


- Original Message -
From: "pcampaigne" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 4:13 PM
Subject: Re: HTTP 500-Internal Server Error


> Hi,
> I found some more information about my problem, the root cause is
> ClassNotFoundException: com.op.test.LoginServlet
> but I have the web.xml entry shown below, and also the following context
> entry in server.xml
>
> 
>  debug="100" privileged="true"/>
>
> I don't get it??
> Phil
> - Original Message -
> From: "pcampaigne" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, March 11, 2003 6:59 AM
> Subject: HTTP 500-Internal Server Error
>
>
> Hi,
> I'm trying to setup database access with a simple test application using
> tomcat 4.0.6.
> When my servlet gets executed I get the 500 browser error,
> "Wrapper cannot find servlet class com.op.test.LoginServlet or a class it
> depends on"
> 1. Does anyone know why?
> 2. Is there any way to get more useful error messages?
> Thanks,
> Phil Campaigne
>
> I have the following entry in my web.xml file to address this:
>
> "
> LoginServlet
> LoginServlet
> com.op.test.LoginServlet
> debug
> 2
> 
> 
>
> 
> LoginServlet
> LoginServlet
> 
>
>
>
> -
> 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: HTTP 500-Internal Server Error

2003-03-11 Thread pcampaigne
Hi,
I found some more information about my problem, the root cause is
ClassNotFoundException: com.op.test.LoginServlet
but I have the web.xml entry shown below, and also the following context
entry in server.xml




I don't get it??
Phil
- Original Message -
From: "pcampaigne" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 6:59 AM
Subject: HTTP 500-Internal Server Error


Hi,
I'm trying to setup database access with a simple test application using
tomcat 4.0.6.
When my servlet gets executed I get the 500 browser error,
"Wrapper cannot find servlet class com.op.test.LoginServlet or a class it
depends on"
1. Does anyone know why?
2. Is there any way to get more useful error messages?
Thanks,
Phil Campaigne

I have the following entry in my web.xml file to address this:

"
LoginServlet
LoginServlet
com.op.test.LoginServlet
debug
2




LoginServlet
LoginServlet




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



HTTP 500-Internal Server Error

2003-03-11 Thread pcampaigne
Hi,
I'm trying to setup database access with a simple test application using tomcat 4.0.6.
When my servlet gets executed I get the 500 browser error,
"Wrapper cannot find servlet class com.op.test.LoginServlet or a class it depends on"
1. Does anyone know why?
2. Is there any way to get more useful error messages?
Thanks,
Phil Campaigne

I have the following entry in my web.xml file to address this:

"
LoginServlet
LoginServlet
com.op.test.LoginServlet
debug
2




LoginServlet
LoginServlet



tomcat+apache+mod_jk2 and Internal Server Error

2003-03-08 Thread Jinesh Varia
hello

 am getting Internal Server Error.when I tried to access and execute any servlet/jsp

at the end. I am attaching on what I did

But my apache is running damn cutebut it is not allowing me to execute any servlet

the access_log says:
[Fri Mar 07 18:01:51 2003] [error] [client 141.158.216.102] client denied by server 
configuration:
/usr/local/apache2/jakarta-tomcat-4.1.18/webapps/examples/WEB-INF/index.html

there is something wrong in mapping...

I just can access http://dblpseer.ist.psu.edu/examples/ to get the list of directories 
then when I
click on jsp/servlets...I get the examples page...but I am not able to execute any 
servlets

I am able to access and execute the servlets properly if I use lynx terminal on the 
same server
(http://localhost:8080/examples) But I cannot access when I publicly access it as
http:/dblpseer.ist.psu.edu/examples/ Is there any not open ports problem? that my 
machine has
restricted any connection from outside? how to fix that.

Jinesh


Configuration of apache 2.0.4 with Tomcat 4.1.18 using mod_jk2 connector
refered : http://www.johnturner.com/howto/rh72-howto.html

1. Installing tomcat
previously installed apache on /usr/local/apache2
installed tomcat on /usr/local/apache2/jakarta-tomcat-4.1.18 or similar.
CATALINA_HOME=/usr/local/apache2/jakarta-tomcat-4.1.18 
JAVA_HOME=/export/pkg/java/j2sdk1.4.1_01

2. Jk2 connector 
Download mod_jk-2.0.43.so from apache web
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/bin/linux/i386/.
 
and saved it under /usr/local/apache2/modules/

3.created workers2.properties 
create a file workers2.properties into /usr/local/apache2/conf and place this content 
into it:

# shared memory handling
[shm]
file=/usr/local/apache2/jakarta-tomcat-4.1.18/work/jk2.shm 
size=1048576

#Define the communication channel
[channel.socket:130.203.156.242:8009] 
info=Ajp13 forwarding over socket
tomcatId=130.203.156.242:8009 

#Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp

4. jk2.properties
uncommented the line in /usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties
shm.file=${jkHome}/work/jk2.shm

5.server.xml
look for a line that says "Server" and has a port of 8005. Add the following directly 
below: 
  

6. server.xml
added in the host
  



7.httpd.conf
httpd.conf in APACHE_HOME/conf. Scroll down to where you see a bunch of lines that say
"LoadModule". At the end of this list, added a line that says: 
LoadModule jk_module modules/mod_jk-2.0.43.so 

8.httpd.conf
 adding the following line at the very end: 
Include /usr/local/tomcat/conf/auto/mod_jk.conf 









--- Dani <[EMAIL PROTECTED]> wrote:
> Hello Jin.
> Yes, I'd those problems (and more). I'll try to help you (because it was
> terrible the time I was looking for the solution).
> 
> I've got Red Hat Linux 7.2 installed on my server machine.
> 
> These are the steps:
> * I supose you've installed apache on /usr/local/apache2 or something like
> that and tomcat on /usr/local/jakarta-tomcat-4.1.18 or similar. I supose
> you've got a CATALINA_HOME=/usr/local/jakarta-tomcat-4.1.18 and a JAVA_HOME,
> CLASSPATH.
> 
> * Download mod_jk-2.0.43.so from apache web. I don't remember exactly where
> this module is ubicated. You'll have to look for  it. You have to copy it
> into /usr/local/apache2/modules (or similar directory where you've installed
> apache)
> 
> * You must create a file workers2.properties into /usr/local/apache2/conf
> and place this content into it:
> # shared memory handling
> [shm]
> file=/usr/local/jakarta-tomcat-4.1.18/work/jk2.shm ***(YOU MUST CREATE THIS
> EMPTY FILE INTO THIS DIRECTORY)***
> 
> size=1048576
> 
> #Define the communication channel
> [channel.socket:192.168.5.1:8009]  *** PUT THE IP SERVER YOU'RE USING ***
> info=Ajp13 forwarding over socket
> tomcatId=192.168.5.1:8009 *** PUT THE IP SERVER YOU'RE USING ***
> 
> 
> #Map the Tomcat examples webapp to the Web server uri space
> [uri:/examples/*]
> info=Map the whole webapp
> 
> 
> * You must create (or modify) a file into
> /usr/local/jakarta-tomcat-4.1.18/conf jk2.properties with this content:
> shm.file=${jkHome}/work/jk2.shm
> 
> * Modify server.xml on /usr/local/jakarta-tomcat-4.1.18/conf  this way:
> ...
> 
> ...
> 
> I think that's all, folks :-). You must restart tomcat (with command
> "/usr/local/jakarta-tomcat-4.1.18/bin/catalina start" you wil start tomcat).
> It's very important saying the Lord's Prayer while you're doing all  this
> and it will work.
> 
> good luck.
> 
> 
> - Original Message -
> From: Jinesh Varia <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 06, 2003 10:21 PM
> Subject: tomcat 4 and apache 2
> 
> 
> > Hi Dani,
> >
> > I am also having the EXACT same problem you are facing,
> > 1. cannot find apache-tomcat.conf file that is suppsed to be generated
> > 2. using Tomcat 4.1.18 on apache2
> > 3. apache works fine
> > 4. tomcat when I start it starts : but I canno

Re: tomcat+apache+mod_jk2 and Internal Server Error

2003-03-07 Thread Chong Yu Meng
Hi Jinesh,
If you're using an rpm-based Linux like Red Hat, UnitedLinux, etc. , 
I've written a short tutorial on it. See :
http://www.linux-sxs.org/internet_serving/tomcat-apache.html#6

Regards,
pascal chong


Jinesh Varia wrote:

hello

am getting Internal Server Error.when I tried to access and execute any servlet/jsp

at the end. I am attaching on what I did

But my apache is running damn cutebut it is not allowing me to execute any servlet

the access_log says:
[Fri Mar 07 18:01:51 2003] [error] [client 141.158.216.102] client denied by server 
configuration:
/usr/local/apache2/jakarta-tomcat-4.1.18/webapps/examples/WEB-INF/index.html
there is something wrong in mapping...

I just can access http://dblpseer.ist.psu.edu/examples/ to get the list of directories 
then when I
click on jsp/servlets...I get the examples page...but I am not able to execute any 
servlets
I am able to access and execute the servlets properly if I use lynx terminal on the 
same server
(http://localhost:8080/examples) But I cannot access when I publicly access it as
http:/dblpseer.ist.psu.edu/examples/ Is there any not open ports problem? that my 
machine has
restricted any connection from outside? how to fix that.
Jinesh

Configuration of apache 2.0.4 with Tomcat 4.1.18 using mod_jk2 connector
refered : http://www.johnturner.com/howto/rh72-howto.html
1. Installing tomcat
previously installed apache on /usr/local/apache2
installed tomcat on /usr/local/apache2/jakarta-tomcat-4.1.18 or similar.
CATALINA_HOME=/usr/local/apache2/jakarta-tomcat-4.1.18 
JAVA_HOME=/export/pkg/java/j2sdk1.4.1_01

2. Jk2 connector 
Download mod_jk-2.0.43.so from apache web
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/bin/linux/i386/. 
and saved it under /usr/local/apache2/modules/

3.created workers2.properties 
create a file workers2.properties into /usr/local/apache2/conf and place this content into it:

# shared memory handling
[shm]
file=/usr/local/apache2/jakarta-tomcat-4.1.18/work/jk2.shm 
size=1048576

#Define the communication channel
[channel.socket:130.203.156.242:8009] 
info=Ajp13 forwarding over socket
tomcatId=130.203.156.242:8009 

#Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
4. jk2.properties
uncommented the line in /usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties
shm.file=${jkHome}/work/jk2.shm
5.server.xml
look for a line that says "Server" and has a port of 8005. Add the following directly below: 

modJk="/usr/local/apache2/modules/mod_jk.so" />  

6. server.xml
added in the host
 

7.httpd.conf
httpd.conf in APACHE_HOME/conf. Scroll down to where you see a bunch of lines that say
"LoadModule". At the end of this list, added a line that says: 
LoadModule jk_module modules/mod_jk-2.0.43.so 

8.httpd.conf
adding the following line at the very end: 
Include /usr/local/tomcat/conf/auto/mod_jk.conf 





=
-
Jinesh Varia
Graduate Student, Information Systems
Pennsylvania State University
Email: [EMAIL PROTECTED]
-
'Self is the author of its actions.'
__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-
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+apache+mod_jk2 and Internal Server Error

2003-03-07 Thread Raphael Michel
Hello,

I think you should use the AJP connector. 
So .. 
In your server.xml : (with mod_jk2)



for mod_jk, it's the same without the protocolHandlerClassName line ...

Then, in the "$CATALINA_HOME/conf/jk/workers.properties" file :
example :

workers.tomcat.home=/usr/java/tomcat4
workers.java.home=/usr/java/j2sdk1.4.1
ps=/

worker.list = testWorker1

worker.testWorker1.port=8009
worker.testWorker1.host=localhost
worker.testWorker1.type=ajp13

Now we'll configure tomcat to automatically generate the mod_jk.conf (An
apache configuration file) 

To do so, just add the following lines immediately after the  declaration



for creating the appropriate mappings for apache  entries
in the resultant mod_jk.conf file, add a listener below each 
entry in your server.xml file. 

Example :



...


This corresponds to the entire tomcat installation but we can choose
single tomcat contexts by adding the listener after the  entry
we are interested in.

Once we do this, the mod_jk.conf file will automatically reflect the
corresponding mapping.

(You could also have edited your httpd.conf and add the appropriate
lines by hand)

Finally we'll create an alias for the tomcat context so that Apache
automatically serves any static resources it contains. Using this alias,
apache will forward all requests that map to a jsp page/Servlet under
this context to the appropriate tomcat instance.

in httpd.conf :

#create the alias
Alias /examples/ "/usr/java/tomcat4/webapps/examples/"

#allow access 

  Options Indexes FollowSymLinks
  AllowOverride None
  Order allow,deny
  Allow from all


#prevent the unauthorized access to WEB-INF

  AllowOverride None
  Deny from all


And last but not least, insert the automatically generated mod_jk.conf
file by appending this line to your httpd.conf

Include /usr/java/tomcat4/conf/auto/mod_jk.conf


You'll certainly have to adapt all this to your pathes but that should
do the trick. 

Good luck ;)

Backslash 
[EMAIL PROTECTED]

Le sam 08/03/2003 à 00:34, Jinesh Varia a écrit :
> I juse john turners how tos...please refer my steps based on john turners.
> did I do it correctway?  Its in my previos email
> 
> I tried using coyote connector but it was same...thought jk2 would solve it...but it 
> also did
> not..
> 
> PLEASE HELP
> 
> any HELP will be worshiped
> 
> jinesh
> --- Filip Hanik <[EMAIL PROTECTED]> wrote:
> > www.johnturner.com/howto/
> > 
> > I think you want to be using the coyote connector
> > 
> > Filip
> > 
> 
> 
> =
> -
> Jinesh Varia
> Graduate Student, Information Systems
> Pennsylvania State University
> Email: [EMAIL PROTECTED]
> -
> 'Self is the author of its actions.'
> 
> __
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
> 
> -
> 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+apache+mod_jk2 and Internal Server Error

2003-03-07 Thread Jinesh Varia
I juse john turners how tos...please refer my steps based on john turners.
did I do it correctway?  Its in my previos email

I tried using coyote connector but it was same...thought jk2 would solve it...but it 
also did
not..

PLEASE HELP

any HELP will be worshiped

jinesh
--- Filip Hanik <[EMAIL PROTECTED]> wrote:
> www.johnturner.com/howto/
> 
> I think you want to be using the coyote connector
> 
> Filip
> 


=
-
Jinesh Varia
Graduate Student, Information Systems
Pennsylvania State University
Email: [EMAIL PROTECTED]
-
'Self is the author of its actions.'

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



RE: tomcat+apache+mod_jk2 and Internal Server Error

2003-03-07 Thread Filip Hanik
www.johnturner.com/howto/

I think you want to be using the coyote connector

Filip

-Original Message-
From: Jinesh Varia [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 3:19 PM
To: [EMAIL PROTECTED]
Subject: tomcat+apache+mod_jk2 and Internal Server Error


hello

 am getting Internal Server Error.when I tried to access and execute any servlet/jsp

at the end. I am attaching on what I did

But my apache is running damn cutebut it is not allowing me to execute any servlet

the access_log says:
[Fri Mar 07 18:01:51 2003] [error] [client 141.158.216.102] client denied by server 
configuration:
/usr/local/apache2/jakarta-tomcat-4.1.18/webapps/examples/WEB-INF/index.html

there is something wrong in mapping...

I just can access http://dblpseer.ist.psu.edu/examples/ to get the list of directories 
then when I
click on jsp/servlets...I get the examples page...but I am not able to execute any 
servlets

I am able to access and execute the servlets properly if I use lynx terminal on the 
same server
(http://localhost:8080/examples) But I cannot access when I publicly access it as
http:/dblpseer.ist.psu.edu/examples/ Is there any not open ports problem? that my 
machine has
restricted any connection from outside? how to fix that.

Jinesh


Configuration of apache 2.0.4 with Tomcat 4.1.18 using mod_jk2 connector
refered : http://www.johnturner.com/howto/rh72-howto.html

1. Installing tomcat
previously installed apache on /usr/local/apache2
installed tomcat on /usr/local/apache2/jakarta-tomcat-4.1.18 or similar.
CATALINA_HOME=/usr/local/apache2/jakarta-tomcat-4.1.18 
JAVA_HOME=/export/pkg/java/j2sdk1.4.1_01

2. Jk2 connector 
Download mod_jk-2.0.43.so from apache web
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/bin/linux/i386/.
 
and saved it under /usr/local/apache2/modules/

3.created workers2.properties 
create a file workers2.properties into /usr/local/apache2/conf and place this content 
into it:

# shared memory handling
[shm]
file=/usr/local/apache2/jakarta-tomcat-4.1.18/work/jk2.shm 
size=1048576

#Define the communication channel
[channel.socket:130.203.156.242:8009] 
info=Ajp13 forwarding over socket
tomcatId=130.203.156.242:8009 

#Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp

4. jk2.properties
uncommented the line in /usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties
shm.file=${jkHome}/work/jk2.shm

5.server.xml
look for a line that says "Server" and has a port of 8005. Add the following directly 
below: 
  

6. server.xml
added in the host
  



7.httpd.conf
httpd.conf in APACHE_HOME/conf. Scroll down to where you see a bunch of lines that say
"LoadModule". At the end of this list, added a line that says: 
LoadModule jk_module modules/mod_jk-2.0.43.so 

8.httpd.conf
 adding the following line at the very end: 
Include /usr/local/tomcat/conf/auto/mod_jk.conf 






=
-
Jinesh Varia
Graduate Student, Information Systems
Pennsylvania State University
Email: [EMAIL PROTECTED]
-
'Self is the author of its actions.'

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



tomcat+apache+mod_jk2 and Internal Server Error

2003-03-07 Thread Jinesh Varia
hello

 am getting Internal Server Error.when I tried to access and execute any servlet/jsp

at the end. I am attaching on what I did

But my apache is running damn cutebut it is not allowing me to execute any servlet

the access_log says:
[Fri Mar 07 18:01:51 2003] [error] [client 141.158.216.102] client denied by server 
configuration:
/usr/local/apache2/jakarta-tomcat-4.1.18/webapps/examples/WEB-INF/index.html

there is something wrong in mapping...

I just can access http://dblpseer.ist.psu.edu/examples/ to get the list of directories 
then when I
click on jsp/servlets...I get the examples page...but I am not able to execute any 
servlets

I am able to access and execute the servlets properly if I use lynx terminal on the 
same server
(http://localhost:8080/examples) But I cannot access when I publicly access it as
http:/dblpseer.ist.psu.edu/examples/ Is there any not open ports problem? that my 
machine has
restricted any connection from outside? how to fix that.

Jinesh


Configuration of apache 2.0.4 with Tomcat 4.1.18 using mod_jk2 connector
refered : http://www.johnturner.com/howto/rh72-howto.html

1. Installing tomcat
previously installed apache on /usr/local/apache2
installed tomcat on /usr/local/apache2/jakarta-tomcat-4.1.18 or similar.
CATALINA_HOME=/usr/local/apache2/jakarta-tomcat-4.1.18 
JAVA_HOME=/export/pkg/java/j2sdk1.4.1_01

2. Jk2 connector 
Download mod_jk-2.0.43.so from apache web
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/bin/linux/i386/.
 
and saved it under /usr/local/apache2/modules/

3.created workers2.properties 
create a file workers2.properties into /usr/local/apache2/conf and place this content 
into it:

# shared memory handling
[shm]
file=/usr/local/apache2/jakarta-tomcat-4.1.18/work/jk2.shm 
size=1048576

#Define the communication channel
[channel.socket:130.203.156.242:8009] 
info=Ajp13 forwarding over socket
tomcatId=130.203.156.242:8009 

#Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp

4. jk2.properties
uncommented the line in /usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties
shm.file=${jkHome}/work/jk2.shm

5.server.xml
look for a line that says "Server" and has a port of 8005. Add the following directly 
below: 
  

6. server.xml
added in the host
  



7.httpd.conf
httpd.conf in APACHE_HOME/conf. Scroll down to where you see a bunch of lines that say
"LoadModule". At the end of this list, added a line that says: 
LoadModule jk_module modules/mod_jk-2.0.43.so 

8.httpd.conf
 adding the following line at the very end: 
Include /usr/local/tomcat/conf/auto/mod_jk.conf 






=
-
Jinesh Varia
Graduate Student, Information Systems
Pennsylvania State University
Email: [EMAIL PROTECTED]
-
'Self is the author of its actions.'

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



RE: Internal Server Error

2003-03-03 Thread Turner, John

What happens if you delete the lbfactor line?  It's not necessary, and may
be confusing things.

John

> -Original Message-
> From: Adam Denenberg [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 01, 2003 9:51 AM
> To: Tomcat Users List
> Subject: Re: Internal Server Error
> 
> 
> Still tested this 100 times and it still only works directly 
> to  tomcat at
> 8080 but not through mod_jk.  Are there any additions to the 
> server.xml file
> that need to be made to make this work properly?
>  
>  It doesn¹t appear the connection even gets to tomcat since 
> the logs don¹t
> show anything.  I am still unlcear why mod_jk is unable to 
> "find a worker"
> as it complains about? Anyone know what would cause that?
> 
>  thanks
> Adam
> 
> On 2/28/03 5:29 PM, "Adam Denenberg" <[EMAIL PROTECTED]> wrote:
> 
> > Hey ,
> > 
> > I am using apache 1.3.X with tomcat 4.1.18 on solaris 7 and 
> sun JDK 1.4.
> > 
> > I am getting an internal server error with the folloing jk 
> error in my
> > mod_jk.log file
> > 
> > [Fri Feb 28 17:15:43 2003]  [jk_uri_worker_map.c (558)]
> > jk_uri_worker_map_t::map_uri_to_worker, Found a suffix 
> match ajp13 ->
> > *.jsp
> > [Fri Feb 28 17:15:43 2003]  [jk_worker.c (132)]: Into 
> wc_get_worker_for_name
> > ajp13
> > [Fri Feb 28 17:15:43 2003]  [jk_worker.c (136)]: 
> wc_get_worker_for_name,
> > done did not found a worker
> > 
> > My workers.properties file is
> > 
> > workers.tomcat_home=/usr/local/tomcat
> > workers.java_home=/usr/local/java
> > ps=/
> > worker.list=ajp13
> > worker.ajp13.port=8009
> > worker.ajp13.host=localhost
> > worker.ajp13.type=ajp13
> > worker.ajp13.lbfactor=1
> > 
> > and my httpd.conf section is
> > 
> > JkWorkersFile /usr/local/apache/conf/workers.properties
> >Alias /examples /usr/local/tomcat/webapps/examples
> >JkLogFile  logs/jk.log
> >JkLogLevel debug
> >JkMount /examples/*.jsp ajp13
> >JkMount /*.jsp ajp13
> > 
> > And server.xml relevant  is ..
> > 
> >  >  port="8009" minProcessors="5" maxProcessors="75"
> >  acceptCount="10" debug="0"/>
> > 
> > The jk2/coyote on 8009  connector was commented out.
> > 
> > Static content looks fine, however when trying to access a 
> .jsp file, it
> > fails with an internal server error and the message above.
> > 
> > Anyone seen this problem or can diagnose why I would get 
> it?  I cant figure
> > it for the life of me.
> > 
> > thanks
> > Adam
> > 
> > 
> > 
> > 
> > 
> -
> > 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: Internal Server Error

2003-03-01 Thread Adam Denenberg
Still tested this 100 times and it still only works directly to  tomcat at
8080 but not through mod_jk.  Are there any additions to the server.xml file
that need to be made to make this work properly?
 
 It doesn¹t appear the connection even gets to tomcat since the logs don¹t
show anything.  I am still unlcear why mod_jk is unable to "find a worker"
as it complains about? Anyone know what would cause that?

 thanks
Adam

On 2/28/03 5:29 PM, "Adam Denenberg" <[EMAIL PROTECTED]> wrote:

> Hey ,
> 
> I am using apache 1.3.X with tomcat 4.1.18 on solaris 7 and sun JDK 1.4.
> 
> I am getting an internal server error with the folloing jk error in my
> mod_jk.log file
> 
> [Fri Feb 28 17:15:43 2003]  [jk_uri_worker_map.c (558)]
> jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 ->
> *.jsp
> [Fri Feb 28 17:15:43 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
> ajp13
> [Fri Feb 28 17:15:43 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
> done did not found a worker
> 
> My workers.properties file is
> 
> workers.tomcat_home=/usr/local/tomcat
> workers.java_home=/usr/local/java
> ps=/
> worker.list=ajp13
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
> 
> and my httpd.conf section is
> 
> JkWorkersFile /usr/local/apache/conf/workers.properties
>Alias /examples /usr/local/tomcat/webapps/examples
>JkLogFile  logs/jk.log
>JkLogLevel debug
>JkMount /examples/*.jsp ajp13
>JkMount /*.jsp ajp13
> 
> And server.xml relevant  is ..
> 
>   port="8009" minProcessors="5" maxProcessors="75"
>  acceptCount="10" debug="0"/>
> 
> The jk2/coyote on 8009  connector was commented out.
> 
> Static content looks fine, however when trying to access a .jsp file, it
> fails with an internal server error and the message above.
> 
> Anyone seen this problem or can diagnose why I would get it?  I cant figure
> it for the life of me.
> 
> thanks
> Adam
> 
> 
> 
> 
> -
> 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: Internal Server Error

2003-02-28 Thread Adam Denenberg
Yeah sorry should have included that.  Everything works fine on the normal
tomcat port of 8080. Its going through mod_jk that it breaks.

 thanks
Adam

On 2/28/03 5:30 PM, "Mike Jackson" <[EMAIL PROTECTED]> wrote:

> I'll ask the obvious question, is tomcat running?
> 
> --mikej
> -=-
> mike jackson
> [EMAIL PROTECTED]
> 
>> -Original Message-
>> From: Adam Denenberg [mailto:[EMAIL PROTECTED]
>> Sent: Friday, February 28, 2003 2:29 PM
>> To: [EMAIL PROTECTED]
>> Subject: Internal Server Error
>> 
>> 
>> Hey ,
>> 
>>  I am using apache 1.3.X with tomcat 4.1.18 on solaris 7 and sun JDK 1.4.
>> 
>> I am getting an internal server error with the folloing jk error in my
>> mod_jk.log file
>> 
>> [Fri Feb 28 17:15:43 2003]  [jk_uri_worker_map.c (558)]
>> jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 ->
>> *.jsp
>> [Fri Feb 28 17:15:43 2003]  [jk_worker.c (132)]: Into
>> wc_get_worker_for_name
>> ajp13
>> [Fri Feb 28 17:15:43 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
>> done did not found a worker
>> 
>> My workers.properties file is
>> 
>> workers.tomcat_home=/usr/local/tomcat
>> workers.java_home=/usr/local/java
>> ps=/
>> worker.list=ajp13
>> worker.ajp13.port=8009
>> worker.ajp13.host=localhost
>> worker.ajp13.type=ajp13
>> worker.ajp13.lbfactor=1
>> 
>>  and my httpd.conf section is
>> 
>>  JkWorkersFile /usr/local/apache/conf/workers.properties
>>  Alias /examples /usr/local/tomcat/webapps/examples
>>  JkLogFile  logs/jk.log
>>  JkLogLevel debug
>>  JkMount /examples/*.jsp ajp13
>>  JkMount /*.jsp ajp13
>> 
>> And server.xml relevant  is ..
>> 
>> >port="8009" minProcessors="5" maxProcessors="75"
>>acceptCount="10" debug="0"/>
>> 
>> The jk2/coyote on 8009  connector was commented out.
>> 
>>  Static content looks fine, however when trying to access a .jsp file, it
>> fails with an internal server error and the message above.
>> 
>>  Anyone seen this problem or can diagnose why I would get it?  I
>> cant figure
>> it for the life of me.
>> 
>>  thanks
>> Adam
>> 
>>  
>> 
>> 
>> -
>> 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: Internal Server Error

2003-02-28 Thread Mike Jackson
I'll ask the obvious question, is tomcat running?

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

> -Original Message-
> From: Adam Denenberg [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 2:29 PM
> To: [EMAIL PROTECTED]
> Subject: Internal Server Error
> 
> 
> Hey ,
> 
>  I am using apache 1.3.X with tomcat 4.1.18 on solaris 7 and sun JDK 1.4.
> 
> I am getting an internal server error with the folloing jk error in my
> mod_jk.log file
> 
> [Fri Feb 28 17:15:43 2003]  [jk_uri_worker_map.c (558)]
> jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 ->
> *.jsp
> [Fri Feb 28 17:15:43 2003]  [jk_worker.c (132)]: Into 
> wc_get_worker_for_name
> ajp13
> [Fri Feb 28 17:15:43 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
> done did not found a worker
> 
> My workers.properties file is
> 
> workers.tomcat_home=/usr/local/tomcat
> workers.java_home=/usr/local/java
> ps=/
> worker.list=ajp13
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
> 
>  and my httpd.conf section is
> 
>  JkWorkersFile /usr/local/apache/conf/workers.properties
>  Alias /examples /usr/local/tomcat/webapps/examples
>  JkLogFile  logs/jk.log
>  JkLogLevel debug
>  JkMount /examples/*.jsp ajp13
>  JkMount /*.jsp ajp13
> 
> And server.xml relevant  is ..
> 
> port="8009" minProcessors="5" maxProcessors="75"
>acceptCount="10" debug="0"/>
> 
> The jk2/coyote on 8009  connector was commented out.
> 
>  Static content looks fine, however when trying to access a .jsp file, it
> fails with an internal server error and the message above.
> 
>  Anyone seen this problem or can diagnose why I would get it?  I 
> cant figure
> it for the life of me.
> 
>  thanks
> Adam
> 
>  
> 
> 
> -
> 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]



Internal Server Error

2003-02-28 Thread Adam Denenberg
Hey ,

 I am using apache 1.3.X with tomcat 4.1.18 on solaris 7 and sun JDK 1.4.

I am getting an internal server error with the folloing jk error in my
mod_jk.log file

[Fri Feb 28 17:15:43 2003]  [jk_uri_worker_map.c (558)]
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 ->
*.jsp
[Fri Feb 28 17:15:43 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
ajp13
[Fri Feb 28 17:15:43 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
done did not found a worker

My workers.properties file is

workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/local/java
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

 and my httpd.conf section is

 JkWorkersFile /usr/local/apache/conf/workers.properties
 Alias /examples /usr/local/tomcat/webapps/examples
 JkLogFile  logs/jk.log
 JkLogLevel debug
 JkMount /examples/*.jsp ajp13
 JkMount /*.jsp ajp13

And server.xml relevant  is ..



The jk2/coyote on 8009  connector was commented out.

 Static content looks fine, however when trying to access a .jsp file, it
fails with an internal server error and the message above.

 Anyone seen this problem or can diagnose why I would get it?  I cant figure
it for the life of me.

 thanks
Adam

 


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



RE: Internal Server Error

2003-02-24 Thread Shapira, Yoav

Howdy,

>Apologies in advance - newbie here.

Don't apologize for that ;)

>Running Tomcat 4.0.6 on 2000 box, using JDK 1.3.1_02, and Apache 1.3.
I'm

Cool.  Suggest you update JDK to 1.4.1 if you can, as 1.3x has numerous
bugs and 1.4.1 is faster.

>(pasted below).  From looking through the threads, I belive I have some
>type of XML parser error - but I'm too new at this to be sure.  Any
ideas

Your hunch is right.

>root cause
>
>java.lang.VerifyError: (class:
org/apache/xerces/jaxp/DocumentBuilderImpl,
>method: parse signature:
(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;)
>Incompatible object argument for function call
>   at
>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Do
cume
>ntBuilderFactoryImpl.java:88)

This indicates a mismatch between the version of JAXP and the version of
Xerces that are on your classpath.  Are you using tomcat 4.0.6-LE or the
full 4.0.6 distribution?  What are the names and versions of all the
jars containing the org.apache.xerces and org.xml.sax/org.w3c.dom
packages throughout your tomcat distribution?  Look in
$CATALINA_HOME/common/lib, your webapps WEB-INF/lib directories, and
$CATALINA_HOME/server/lib.  Also see release notes section on XML
Parsers.

Chances are you will have to remove/replace one or more of the XML
parser-related (either the JAXP API or the xerces implementation) jars
in your webapp directory.

Yoav Shapira
Millennium ChemInformatics



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]



Internal Server Error

2003-02-23 Thread John Ferrigan
All -

Apologies in advance - newbie here.

Running Tomcat 4.0.6 on 2000 box, using JDK 1.3.1_02, and Apache 1.3.  I'm 
able to run the Tomcat examples, no problem.  However, when I go to run the 
examples from O'Reilly's JSP Book (Version 2), I get the same type of errors 
(pasted below).  From looking through the threads, I belive I have some type 
of XML parser error - but I'm too new at this to be sure.  Any ideas or 
pointers?  Thank you!

Errors:
javax.servlet.ServletException: Servlet.init() for servlet jsp threw 
exception
	at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:946)
	at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
	at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
	at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
	at java.lang.Thread.run(Thread.java:484)

root cause

java.lang.VerifyError: (class: org/apache/xerces/jaxp/DocumentBuilderImpl, 
method: parse signature: (Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;) 
Incompatible object argument for function call
	at 
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:88)
	at 
org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:198)
	at 
org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:165)
	at 
org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
	at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:350)
	at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
	at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:918)
	at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
	at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.valves.ErrorDispa

Re: Tomcat 4.1.18 Internal Server Error

2003-02-21 Thread Mark Baumann
Hello!

On Fri, Feb 21, 2003 at 11:28:58AM -0500, Shapira, Yoav wrote:
> 
> Howdy,
> Are you running tomcat with a security manager, and if so what does your
> policy file look like?
Sorry but what's a secutrty manager?
I am new to Tomcat, Java ... and I was happy to get Tomcat running.

I solved the problem in an other way. I copied the *.jar (xerces symlink) 
files from the /usr/share/tomcat4/common dir to /usr/share/tomcat4/common/lib.
That fixed the problem. And after 3 days my servlet is working;-))

Thanks for the fast reply:)

Mark



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




RE: Tomcat 4.1.18 Internal Server Error

2003-02-21 Thread Shapira, Yoav

Howdy,
Are you running tomcat with a security manager, and if so what does your
policy file look like?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Mark Baumann [mailto:[EMAIL PROTECTED]]
>Sent: Friday, February 21, 2003 11:27 AM
>To: Tomcat Users List
>Subject: Tomcat 4.1.18 Internal Server Error
>
>Hello!
>
>I get this error message and don#t know what the problem could be:
>
>java.security.AccessControlException: access denied
>(java.lang.RuntimePermission getClassLoader)
>at
>java.security.AccessControlContext.checkPermission(AccessControlContext
.jav
>a:270)
>at
>java.security.AccessController.checkPermission(AccessController.java:40
1)
>at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
>at java.lang.ClassLoader.getParent(ClassLoader.java:701)
>at
>org.apache.catalina.loader.WebappClassLoader.toString(WebappClassLoader
.jav
>a:888)
>at java.lang.String.valueOf(String.java:2177)
>at java.lang.StringBuffer.append(StringBuffer.java:361)
>
>
>
>The error occurs while I try to create a DOMParser.
>
>Is this a problem due to some configuration problem??
>Any help is greatly appreciated
>
>I use Tomcat 4.1.18 on Debian/GnuLinux.
>JDK1.4.
>
>--
>Mit freundlichen Gruessen/best regards
>
>Mark Baumann
>
>-
>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 4.1.18 Internal Server Error

2003-02-21 Thread Mark Baumann
Hello!

I get this error message and don#t know what the problem could be:

java.security.AccessControlException: access denied (java.lang.RuntimePermission 
getClassLoader)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.ClassLoader.getParent(ClassLoader.java:701)
at org.apache.catalina.loader.WebappClassLoader.toString(WebappClassLoader.java:888)
at java.lang.String.valueOf(String.java:2177)
at java.lang.StringBuffer.append(StringBuffer.java:361)



The error occurs while I try to create a DOMParser.

Is this a problem due to some configuration problem??
Any help is greatly appreciated

I use Tomcat 4.1.18 on Debian/GnuLinux.
JDK1.4.

-- 
Mit freundlichen Gruessen/best regards

Mark Baumann

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




RE: Internal Server Error nullPointerException

2003-02-18 Thread Ralph Einfeldt
Without the source for TestConnectionServlet.java
it's hard to help.

> -Original Message-
> From: sophie seillier [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 6:37 PM
> To: [EMAIL PROTECTED]
> Subject: Internal Server Error nullPointerException
> 
> 
> java.lang.NullPointerException
>   at 
> connection.test.TestConnectionServlet.runConnection(TestConnec
> tionServlet.java:136)
>   at 

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




Internal Server Error nullPointerException

2003-02-18 Thread sophie seillier
Hi ,

my environment is the following :
Tomcat 4.0.1
jdk1.3.1_02

My application (GINA.war) does bind and search on an ldap server.
I have the following error in my browser :

*type* Exception report

*message* _Internal Server Error_

*description* _The server encountered an internal error (Internal Server 
Error) that prevented it from fulfilling this request._

*exception*

java.lang.NullPointerException
	at connection.test.TestConnectionServlet.runConnection(TestConnectionServlet.java:136)
	at connection.test.TestConnectionServlet.doGet(TestConnectionServlet.java:112)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
	at or [...]

I haven't this problem with Tomcat 4.1.12, jdk1.4.1_01.
Any idea ?

Thanks fo your help.

Sophie.




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



Re: The page cannot be displayed, HTTP 500 - Internal server error

2002-12-03 Thread Nikola Milutinovic
Tomislav Miladinovic wrote:

Hi,

After so many tries to get Tomcat 4.1.12 works (get home page) I am still experiencing error (after browsing http://localhost:8080). I try change Catalina port to 80 (server.xml) but no difference.

The page cannot be displayed, HTTP 500 - Internal server error 

I didn't have this error with Tomcat 4.0.3 . Any help will be greatly appreciated.

Is Tomcat setup to serve requests on port TCP:80? Is it binding to that port at 
all? Try "netstat -a".

Nixie.



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



The page cannot be displayed, HTTP 500 - Internal server error

2002-12-03 Thread Tomislav Miladinovic
Hi,

After so many tries to get Tomcat 4.1.12 works (get home page) I am still experiencing 
error (after browsing http://localhost:8080). I try change Catalina port to 80 
(server.xml) but no difference.

The page cannot be displayed, HTTP 500 - Internal server error 

I didn't have this error with Tomcat 4.0.3 . Any help will be greatly appreciated.



Tomislav










Re: sites suddenly give internal server error

2002-10-23 Thread Albert Csaba
Yes, I started configuring it to support SSL, but I had no time to finish
it.
I removed the line where I specified the 8443 port, and it works fine again.

Thanks for your help and response,

Csaba


- Original Message -
From: "Robert L Sowders"
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 01:36
Subject: Re: sites suddenly give internal server error


> Hmmm,
>
> Can't really say what's definitely wrong.  Are you preloading any new JSPs
> or servlet'.  Something has changed, if you had a working system one day
> and the next it goes off like this.  Have you upgraded anything lately,
> JSDK, JRE?  Have the class paths been changed in anyway?
>
> rls
>
>
>
>
>
>
> "Albert Csaba"
> 10/22/2002 03:37 AM
> Please respond to "Tomcat Users List"
>
>
> To:     "Tomcat Users List" <[EMAIL PROTECTED]>
> cc:
> Subject:Re: sites suddenly give internal server error
>
>
> Yes, you're right, it stops. I found this error in catalina.out
>
> Exception during startup processing
> java.lang.reflect.InvocationTargetException:
> java.lang.NoClassDefFoundError:
> javax/net/ServerSocketFactory
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:115)
> at
> org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java:616)
> at
> org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412)
> at
> org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java:91)
> at
>
org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:329)
> at
> org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
> at
>
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
> or.java:1284)
> at
>
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
> r.java:1806)
> at
>
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
> LDocumentScanner.java:1182)
> at
>
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
> java:381)
> at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
> at
> org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:362)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:301)
> at
> org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
> 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)
>
> What does this mean?
>
> Csaba
>
>
> - Original Message -
> From: "Robert L Sowders"
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, October 22, 2002 11:28
> Subject: Re: sites suddenly give internal server error
>
>
> > Looks like Tomcat is not running.  Look for the process with ps.  Those
> > old versions had memory leaks if my memory hasn't leaked it that is :-)
> >
> > rls
> >
> >
> >
> >
> >
> > "Albert Csaba"
> > 10/22/2002 03:15 AM
> > Please respond to "Tomcat Users List"
> >
> >
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > cc:
> > Subject:sites suddenly give internal server error
> >
> > Hi,
> >
> > I've setuped a few month ago on a Linux box
> > jakarta-tomcat-4.0.4
> > jdk1.3.1_04
> > jakarta-ant-1.4
> > mod_jk
> > on apache 1.3.6 with virtualhosts.
> >
> > It worked fine, till a few days ago, when suddenly started giving the
> > error
> > "The server encountered an internal error or misconfiguration and was
> > unable to complete your request." upon accessing the Java sites.
> >
> > What could it be? As I understood from the logs, from the mod_jk log, it
> > can't connect to Tomcat process.
> > ...
> > [Tue Oct 22 11:57:08 2002]  [jk_connect.c (115)]: jk_open_socket, try to
> > connect socket = 8
> > [Tue Oct 22 11:57:08 2002]  [jk_connect.c (124)]: jk_open_socket, after
> > connect ret = -1
> > [Tue Oct 22 11:57:08 2002]  [jk_connect.c (143)]:

mod_jk Internal Server Error

2002-10-22 Thread chris . hanrahan
Greetings,

I am running Apache 1.3.27 and Tomcat 3.3.1 under Red Hat Linux.

Apache is on one server, and Tomcat is on a different server.

I have configured apache to send all requests for .jsp files to the Tomcat
server.  Here is the workers.properties file from the apache server:

worker.baluxas01.port=8009
worker.baluxas01.host=10.179.16.53
worker.baluxas01.type=ajp13
worker.baluxas01.lbfactor=1

In httpd.conf on the apache server, I have:

JkMount /*.jsp baluxas01

Whenever I access any jsp file, I receive an Apache "Internal Error"
message via the web browser.  There are no other details listed, no Java or
other errors.  There is also nothing in the Apache error log, the mod_jk
error log, or the Tomcat error log.  No console messages appear on the
server running Tomcat.

If I install Tomcat on the same server as Apache, and reconfigure the
workers.properties file so that :

worker.baluxas01.host=10.179.16.53

is set to

worker.baluxas01.host=localhost

then everything works correctly and the jsp pages appear like they are
supposed to.  It is when I try to connect to a Tomcat container running on
another machine that I run into problems.

I have searched the Internet and the mail list archives without much
success.  Most people are running Apache and Tomcat on the same physical
server.  Is the setup I described supported ?  Am I missing something in my
configuration ?

Any help would be appreciated.

Thanks very much,

Chris Hanrahan




**Disclaimer**
This  Memo and any attachments, may be confidential and legally privileged.
If  you  are  not  the  intended recipient and have received this in error,
kindly  destroy  this  message  and  notify the sender.  Thank you for your
assistance.


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




Re: sites suddenly give internal server error

2002-10-22 Thread Robert L Sowders
Hmmm,

Can't really say what's definitely wrong.  Are you preloading any new JSPs 
or servlet'.  Something has changed, if you had a working system one day 
and the next it goes off like this.  Have you upgraded anything lately, 
JSDK, JRE?  Have the class paths been changed in anyway?

rls

 




"Albert Csaba" <[EMAIL PROTECTED]>
10/22/2002 03:37 AM
Please respond to "Tomcat Users List"

 
To: "Tomcat Users List" <[EMAIL PROTECTED]>
cc: 
    Subject:Re: sites suddenly give internal server error


Yes, you're right, it stops. I found this error in catalina.out

Exception during startup processing
java.lang.reflect.InvocationTargetException: 
java.lang.NoClassDefFoundError:
javax/net/ServerSocketFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:115)
at
org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java:616)
at
org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412)
at
org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java:91)
at
org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:329)
at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java:1284)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
r.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1182)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
at 
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:362)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:301)
at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
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)

What does this mean?

Csaba


- Original Message -
From: "Robert L Sowders"
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 11:28
Subject: Re: sites suddenly give internal server error


> Looks like Tomcat is not running.  Look for the process with ps.  Those
> old versions had memory leaks if my memory hasn't leaked it that is :-)
>
> rls
>
>
>
>
>
> "Albert Csaba"
> 10/22/2002 03:15 AM
> Please respond to "Tomcat Users List"
>
>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> cc:
> Subject:sites suddenly give internal server error
>
> Hi,
>
> I've setuped a few month ago on a Linux box
> jakarta-tomcat-4.0.4
> jdk1.3.1_04
> jakarta-ant-1.4
> mod_jk
> on apache 1.3.6 with virtualhosts.
>
> It worked fine, till a few days ago, when suddenly started giving the
> error
> "The server encountered an internal error or misconfiguration and was
> unable to complete your request." upon accessing the Java sites.
>
> What could it be? As I understood from the logs, from the mod_jk log, it
> can't connect to Tomcat process.
> ...
> [Tue Oct 22 11:57:08 2002]  [jk_connect.c (115)]: jk_open_socket, try to
> connect socket = 8
> [Tue Oct 22 11:57:08 2002]  [jk_connect.c (124)]: jk_open_socket, after
> connect ret = -1
> [Tue Oct 22 11:57:08 2002]  [jk_connect.c (143)]: jk_open_socket,
> connect() failed errno = 111
> [Tue Oct 22 11:57:08 2002]  [jk_ajp13_worker.c (196)]: In
> jk_endpoint_t::connect_to_tomcat, failed errno = 111
> [Tue Oct 22 11:57:08 2002]  [jk_ajp13_worker.c (635)]: Error connecting 
to
> the Tomcat process.
> ...
>
> What could be wrong?
>
> Csaba
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>
>
>




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





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




Re: sites suddenly give internal server error

2002-10-22 Thread Albert Csaba

Yes, you're right, it stops. I found this error in catalina.out

Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError:
javax/net/ServerSocketFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:115)
at
org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java:616)
at
org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412)
at
org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java:91)
at
org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:329)
at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java:1284)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
r.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1182)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:362)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:301)
at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
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)

What does this mean?

Csaba


- Original Message -
From: "Robert L Sowders"
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 11:28
Subject: Re: sites suddenly give internal server error


> Looks like Tomcat is not running.  Look for the process with ps.  Those
> old versions had memory leaks if my memory hasn't leaked it that is :-)
>
> rls
>
>
>
>
>
> "Albert Csaba"
> 10/22/2002 03:15 AM
> Please respond to "Tomcat Users List"
>
>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> cc:
> Subject:sites suddenly give internal server error
>
> Hi,
>
> I've setuped a few month ago on a Linux box
> jakarta-tomcat-4.0.4
> jdk1.3.1_04
> jakarta-ant-1.4
> mod_jk
> on apache 1.3.6 with virtualhosts.
>
> It worked fine, till a few days ago, when suddenly started giving the
> error
> "The server encountered an internal error or misconfiguration and was
> unable to complete your request." upon accessing the Java sites.
>
> What could it be? As I understood from the logs, from the mod_jk log, it
> can't connect to Tomcat process.
> ...
> [Tue Oct 22 11:57:08 2002]  [jk_connect.c (115)]: jk_open_socket, try to
> connect socket = 8
> [Tue Oct 22 11:57:08 2002]  [jk_connect.c (124)]: jk_open_socket, after
> connect ret = -1
> [Tue Oct 22 11:57:08 2002]  [jk_connect.c (143)]: jk_open_socket,
> connect() failed errno = 111
> [Tue Oct 22 11:57:08 2002]  [jk_ajp13_worker.c (196)]: In
> jk_endpoint_t::connect_to_tomcat, failed errno = 111
> [Tue Oct 22 11:57:08 2002]  [jk_ajp13_worker.c (635)]: Error connecting to
> the Tomcat process.
> ...
>
> What could be wrong?
>
> Csaba
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>
>
>




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




Re: sites suddenly give internal server error

2002-10-22 Thread Robert L Sowders
Looks like Tomcat is not running.  Look for the process with ps.  Those 
old versions had memory leaks if my memory hasn't leaked it that is :-)

rls





"Albert Csaba" <[EMAIL PROTECTED]>
10/22/2002 03:15 AM
Please respond to "Tomcat Users List"

 
To: "Tomcat Users List" <[EMAIL PROTECTED]>
cc: 
    Subject:    sites suddenly give internal server error

Hi,

I've setuped a few month ago on a Linux box 
jakarta-tomcat-4.0.4
jdk1.3.1_04
jakarta-ant-1.4
mod_jk 
on apache 1.3.6 with virtualhosts.

It worked fine, till a few days ago, when suddenly started giving the 
error
"The server encountered an internal error or misconfiguration and was 
unable to complete your request." upon accessing the Java sites.

What could it be? As I understood from the logs, from the mod_jk log, it 
can't connect to Tomcat process.
...
[Tue Oct 22 11:57:08 2002]  [jk_connect.c (115)]: jk_open_socket, try to 
connect socket = 8
[Tue Oct 22 11:57:08 2002]  [jk_connect.c (124)]: jk_open_socket, after 
connect ret = -1
[Tue Oct 22 11:57:08 2002]  [jk_connect.c (143)]: jk_open_socket, 
connect() failed errno = 111
[Tue Oct 22 11:57:08 2002]  [jk_ajp13_worker.c (196)]: In 
jk_endpoint_t::connect_to_tomcat, failed errno = 111
[Tue Oct 22 11:57:08 2002]  [jk_ajp13_worker.c (635)]: Error connecting to 
the Tomcat process.
...

What could be wrong?

Csaba



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




sites suddenly give internal server error

2002-10-22 Thread Albert Csaba
Hi,

I've setuped a few month ago on a Linux box 
jakarta-tomcat-4.0.4
jdk1.3.1_04
jakarta-ant-1.4
mod_jk 
on apache 1.3.6 with virtualhosts.

It worked fine, till a few days ago, when suddenly started giving the error
"The server encountered an internal error or misconfiguration and was unable to 
complete your request." upon accessing the Java sites.

What could it be? As I understood from the logs, from the mod_jk log, it can't connect 
to Tomcat process.
...
[Tue Oct 22 11:57:08 2002]  [jk_connect.c (115)]: jk_open_socket, try to connect 
socket = 8
[Tue Oct 22 11:57:08 2002]  [jk_connect.c (124)]: jk_open_socket, after connect ret = 
-1
[Tue Oct 22 11:57:08 2002]  [jk_connect.c (143)]: jk_open_socket, connect() failed 
errno = 111
[Tue Oct 22 11:57:08 2002]  [jk_ajp13_worker.c (196)]: In 
jk_endpoint_t::connect_to_tomcat, failed errno = 111
[Tue Oct 22 11:57:08 2002]  [jk_ajp13_worker.c (635)]: Error connecting to the Tomcat 
process.
...

What could be wrong?

Csaba


Re: Internal Server Error - Still a newbie.

2002-10-18 Thread Mark Eggers
Curt,

> [Thu Oct 17 15:16:23 2002]  [jk_connect.c (143)]:
> jk_open_socket, connect()
> failed errno = 111

This probably indicates that a socket connection could
not be made.  Although I don't have a C compiler
installed on my current machine (hence no errno.h,
hence no error information), I suspect that there is a
problem with your workers.properties file.

I have a slightly different setup than what you are
using, so the file I am including will have to be
modified to fit your installation.  I've added some
comments in order to help you through that process.

If this file does not help, then we'll need a bit more
information (probably your uriworkermap.properties
file and the JkMount portion of your httpd.conf file)
to be of help.

In general, Tomcat and the Apache web server come with
a good set of default configuration files.  Most of
the time you can simply use the supplied defaults or
remove some comments in order to get up and running.

Once you are up and running with the defaults, you can
go back and start changing things to fit your
particular needs.

1. Back up current configuration files
2. Make a single change - add copious comments
3. Test
4. Take notes

If you are doing a lot of modifications try using RCS
to manage the configuration files.  Versioning
configuration files is in general a good thing, since
you can keep logs, determine what you changed, and
roll back to the last known working configuration.

/mde/

just my two cents . . .

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
#
# general stuff
#
# workers.tomcat_home - root of tomcat installation
# workers.java_home   - root of java installation
# ps  - path separator (/ for unix, \ for Windows)
#
workers.tomcat_home=c:\tomcat
workers.java_home=c:\jdk1.3.1_04
ps=\

#
# workers list
# list of connector types - can include ajp12, ajp13, jni
#
worker.list=ajp12, ajp13

#
# ajp12 communicates on port 8007
#
# worker.[workername].port - port that this worker uses
# worker.[workername],host - where this resource connects to
# worker.[workername].type - one of the names from worker.list
# worker.[workername].lbfactor - load balancing factor (bigger number means use more)
#
# please note that [workername] does not have to equal type.  I just do this
# for convenience (as does the original Tomcat workers.properties file does)
#
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1

#
# ajp13 connector communicating on port 8009
#
# worker.[workername].port - port that this worker uses
# worker.[workername],host - where this resource connects to
# worker.[workername].type - one of the names from worker.list
# worker.[workername].lbfactor - load balancing factor (bigger number means use more)
#
# please note that [workername] does not have to equal type.  I just do this
# for convenience (as does the original Tomcat workers.properties file does)
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

#
# load balancing - round robin with sticky sessions
#
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13, ajp12

#
# The JVM that we are about to use
# Unix users will probably use libjvm.so at the end
# classic could possibly be replaced with hotspot as well
#
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll

#
# Setting the place for the stdout and stderr of tomcat
#
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr


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


Internal Server Error - Still a newbie.

2002-10-18 Thread Curt LeCaptain
Using Tomcat 4.0.6, Apache 1.3.27, connected via mod_jk:

I get an internal server error when attempting to execute a JSP.  Upon
reading my mod_jk.log, this's what I see:

[Thu Oct 17 15:16:23 2002]  [jk_connect.c (143)]: jk_open_socket, connect()
failed errno = 111
[Thu Oct 17 15:16:23 2002]  [jk_ajp13_worker.c (196)]: In
jk_endpoint_t::connect_to_tomcat, failed errno = 111
[Thu Oct 17 15:16:23 2002]  [jk_ajp13_worker.c (635)]: Error connecting to
the Tomcat process.
[Thu Oct 17 15:16:23 2002]  [jk_ajp13_worker.c (848)]: In
jk_endpoint_t::service, send_request failed in send loop 0
[Thu Oct 17 15:16:23 2002]  [jk_connect.c (143)]: jk_open_socket, connect()
failed errno = 111
[Thu Oct 17 15:16:23 2002]  [jk_ajp13_worker.c (196)]: In
jk_endpoint_t::connect_to_tomcat, failed errno = 111
[Thu Oct 17 15:16:23 2002]  [jk_ajp13_worker.c (635)]: Error connecting to
the Tomcat process.
[Thu Oct 17 15:16:23 2002]  [jk_ajp13_worker.c (848)]: In
jk_endpoint_t::service, send_request failed in send loop 1
[Thu Oct 17 15:16:23 2002]  [jk_connect.c (143)]: jk_open_socket, connect()
failed errno = 111
[Thu Oct 17 15:16:23 2002]  [jk_ajp13_worker.c (196)]: In
jk_endpoint_t::connect_to_tomcat, failed errno = 111
[Thu Oct 17 15:16:23 2002]  [jk_ajp13_worker.c (635)]: Error connecting to
the Tomcat process.
[Thu Oct 17 15:16:23 2002]  [jk_ajp13_worker.c (848)]: In
jk_endpoint_t::service, send_request failed in send loop 2

I'm not exactly sure why it's saying this.

DocumentRoot: /data/www/docs/examples

Is there something I need to set in the server.xml file?

Thanks


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




500 Internal Server Error

2002-10-01 Thread Sigurður Bjarnason

Hi all
 
I have a website.. witch is in frames, the site is run with Tomcat 4.0.4 and Apache 
1.3.
 
The site works fine.. for all parts.. except on frame.. it is a login frame that shows 
this error.. ( 500 internel Server Error ) although the rest of the site is ok ?!
This .. happens.. once in a while.. not all the time.. ? 
 
Have anyone info on this.. is this frames related.. or something else..
 
regards
Siggi
 

-Original Message- 
From: Raj Saini [mailto:[EMAIL PROTECTED]] 
Sent: þri. 1.10.2002 08:21 
To: Tomcat Users List 
Cc: 
Subject: Re: excessive cpu use with 4.0.4



Hi,

I am using the Tomcat 4.0.3 in a very big site. I have few hundereds of
JSP, around 15 servlets, integrated with JBoss with my own framework
(which consists around 500 class files. You can think of it a complete
J2EE implementation of a commercial business application.

Off late, I have been facing the huge memory usage by the tomcat and due
to this very reason, I need to restart the tomcat every day. I have
allocated 384 MB of maximum RAM to the tomcat.

Since I did not profile my application, I cant say yet, which one is
real culprit, tomcat and my application.

I will report back my findings after profiling my application.

Raj Saini
Seb B wrote:
> Hi,
>
> I'm running a stand-alone Tomcat 4.0.4 (not using jsp, so no need
> to upgrade to 4.0.5) on Linux RedHat 7.3, with IBM's 1.3.1 jvm.
> There is very little static content to serve and the server
> doesn't have to listen on port 80, so I haven't tried learning
> how to configure it behind Apache.
>
> Everything works great in the lab, so I'm now experimenting in
> our production system (whose servers are running other servlet
> containers so far), behind a load balancer.
>
> On the last run, 4 of the java threads started taking all of the
> cpu. I stopped sending traffic to tomcat, and those 4 went on
> taking all the cpu they could (for several days). So it looked
> like they were stuck in some infinite loop somewhere. Of course,
> I suspect this would come from our code. I tried enabling all
> sorts of logging in our code, but couldn't get anything from the
> process.
>
> As a last resort, I sent the process a "SEGV" signal, which leads
> the jvm to print stack traces. All 4 threads (I knew their PID
> from ps/top) had the following stack trace:
> "HttpProcessor[9090][44]" (TID:0x100502B8,
> sys_thread_t:0x46DCDD98, state:R, native ID:0x10442) prio=5
> at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcesso
> r.java:1125)
> at java.lang.Thread.run(Thread.java:512)
>  PID: 8013
> None of the other HttpProcessor threads were on that same line
> (1125), all those I looked at were (as they should be I guess):
> "HttpProcessor[9090][43]" (TID:0x10050300,
> sys_thread_t:0x46DCD918, state:CW, native ID:0x10041) prio=5
> at java.lang.Object.wait(Native Method)
> at java.lang.Object.wait(Object.java(Compiled Code))
> at
> org.apache.catalina.connector.http.HttpProcessor.await(HttpProces
> sor.java(Compiled Code))
> at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcesso
> r.java:1119)
> at java.lang.Thread.run(Thread.java:512)
>  PID: 8012
> So *if* the stack traces from the jvm are worthwhile, this would
> point to a tomcat problem.
>
> I'm posting to this list and not the developer list, as I'm
> wondering whether anyone has experienced such a problem before.
> This has happened in only one of my test runs, I don't know how
> reproduceable it will be.
>
> Also, this has been asked already, but I didn't see many answers:
> is there any sort of real-world benchmark of what load I can
> expect in such a set-up ? I understand it depends a lot on what
> the servlets do, so I'm wondering how big the biggest sites using
> tomcat are; John Turner mentioned >500k for his, is anyone doing
> anything bigger ?
>
> Thanks a lot,
>
> Seb
>
>
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
>



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

Re: HTTP Status 500 - Internal Server Error

2002-09-27 Thread Glinn Cortez

Thanks Mark!...Now it's working already.

by the way, I've added you in my yahoo list.



r/gli





Mark Eggers wrote:
> 
> tools.jar should be in JAVA_HOME/lib (jdk 1.3.1_04).
> 
> Mine is also in TOMCAT_HOME/common/lib.
> 
> I don't know where it would be if you are using jdk
> 1.4.
> 
> Make sure that your JAVA_HOME environment variable
> points to the root of your JDK installation.  For
> example, mine is at C:\jdk1.3.1_04.
> 
> Make sure that JAVA_HOME/bin is also in your path.  If
> you are using a Windows platform, I would install it
> in your System PATH variable instead of just your user
> path variable.
> 
> /mde/
> 
> just my two cents . . . .
> 
> __
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 


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


Re: HTTP Status 500 - Internal Server Error

2002-09-27 Thread Mark Eggers

tools.jar should be in JAVA_HOME/lib (jdk 1.3.1_04).

Mine is also in TOMCAT_HOME/common/lib.

I don't know where it would be if you are using jdk
1.4.

Make sure that your JAVA_HOME environment variable
points to the root of your JDK installation.  For
example, mine is at C:\jdk1.3.1_04.

Make sure that JAVA_HOME/bin is also in your path.  If
you are using a Windows platform, I would install it
in your System PATH variable instead of just your user
path variable.

/mde/

just my two cents . . . .

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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




Re: HTTP Status 500 - Internal Server Error

2002-09-27 Thread Glinn Cortez

Thanks Mark for the reply...

Where can I find tools.jar?..I've tried searching that file in Tomcat
directory but I failed.

Yes, I do have JDK installed in JAVA_HOME environment variable has been
set.

Any more idea Mark?...


r/gli




Mark Eggers wrote:
> 
> Glinn,
> 
> It looks like tools.jar is not in your classpath.  Do
> you have the jdk (not jre) installed, and is your
> JAVA_HOME environment variable set to point at the
> root directory of the jdk installation?
> 
> /mde/
> 
> just my two cents . . . .
> 
> __
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 


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


Re: HTTP Status 500 - Internal Server Error

2002-09-27 Thread Mark Eggers

Glinn,

It looks like tools.jar is not in your classpath.  Do
you have the jdk (not jre) installed, and is your
JAVA_HOME environment variable set to point at the
root directory of the jdk installation?

/mde/

just my two cents . . . .

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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




HTTP Status 500 - Internal Server Error

2002-09-27 Thread Glinn Cortez

Please help me on this. Everytime I'm trying to run the sample .jsp
file, this page is displayed. Why is this so?


type Exception report

message Internal Server Error

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

exception 

javax.servlet.ServletException: sun/tools/javac/Main
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481)
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:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)



root cause 

java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
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:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline


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


RE: Internal Server Error when changing class file

2002-09-12 Thread Mathew Pole

Hi ,

Recently I stopped the MyHttpServlet class implementing the
javax.servlet.SingleThreadModel, and servlets appear to reload okay now when
changing the class file.

Hopefully this helps someone.

Regards,
   Mathew

--
Mathew Pole 
Web Architect, Gerard Industries
email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
www: http://www.clipsal.com, http://www.clipsalmoeller.com.au,
http://www.aes-pl.com, www.tungali.com
phone: 08 8269 0511 ext 313, fax: 08 8340 1212, mobile: 0403 164 617



-Original Message-
From: Mathew Pole 
Sent: Wednesday, 4 September 2002 5:01 PM
To: [EMAIL PROTECTED]
Subject: Internal Server Error when changing class file


Hi ,
 
During development I have defined the following context to enable reloading
of servlets when I change code:




Unfortunately every change to code generates a "HTTP Status 500 - Internal
Server Error", with the following stack trace:
java.lang.NullPointerException
 at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:678)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2397)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
 at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
 at java.lang.Thread.run(Thread.java:536)

I'm running Apache Tomcat/4.1.10-LE-jdk14 on Windows 2000. On startup the
error "ServerLifecycleLIstener: createMBeans: MBeanException is reported,
but I'm under the impression that this is not important.
 
Does anyone have suggestions on how to fix this (if it is possible)?
 
Thanks,
Mathew
--
Mathew Pole 
Web Architect, Gerard Industries
email:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
www:  <http://www.clipsal.com/> http://www.clipsal.com &
<http://www.custompress.com.au/> http://www.custompress.com.au
phone: 08 8269 0511 ext 313, fax: 08 8340 1212, mobile: 0403 164 617
 

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




Internal Server Error

2002-09-12 Thread Michael Timpe

Hi,

I get an "Internal Server Error" very often after an idle time of some 
minutes. What can I do?

Platform:

- Win NT / Win 2000
- Apache 1.3.26
- mod_jk
- Tomcat 4.0.3

(P.S.: on a linux system it is stable and we have no problems! This 
error occurs only on Windows machines).

Greetings

Michael




-- 
---
Michael Timpe
eMail: [EMAIL PROTECTED]
---


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




Internal Server Error when changing class file

2002-09-04 Thread Mathew Pole

Hi ,
 
During development I have defined the following context to enable reloading
of servlets when I change code:




Unfortunately every change to code generates a "HTTP Status 500 - Internal
Server Error", with the following stack trace:
java.lang.NullPointerException
 at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:678)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2397)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
 at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
 at java.lang.Thread.run(Thread.java:536)

I'm running Apache Tomcat/4.1.10-LE-jdk14 on Windows 2000. On startup the
error "ServerLifecycleLIstener: createMBeans: MBeanException is reported,
but I'm under the impression that this is not important.
 
Does anyone have suggestions on how to fix this (if it is possible)?
 
Thanks,
Mathew
--
Mathew Pole 
Web Architect, Gerard Industries
email:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
www:  <http://www.clipsal.com/> http://www.clipsal.com &
<http://www.custompress.com.au/> http://www.custompress.com.au
phone: 08 8269 0511 ext 313, fax: 08 8340 1212, mobile: 0403 164 617
 



HTTP Status 500 - Internal Server Error

2002-08-16 Thread Vishal Mukherjee

Hi all,

Having deployed Tomcat 4.0.4 in IIS 4.0

When I try to run a java bean program I get following error.

* testbean.jsp **

 <%@ page language="Java" import="java.sql.*"  session="true" %>
<%@ page  import="java.util.*" %>



  <%
 Connection con=null;
 out.println("enter 1");
   try
   {
   out.println("enter 2");
 //the pull is not initailized
 if(pool.getDriver()==null)
 {
   //initialize the pool
  pool.setDriver("sun.jdbc.odbc.JdbcOdbcDriver");
  pool.setURL("jdbc:odbc:oradsn");
  pool.setUsername("paytest");
  pool.setPassword("paytest");
  pool.setSize(5);
  pool.initializePool();
 }

  //get a connection from the connection pool
  con = pool.getConnection();

out.println("connection is " +con);
  //create the statement
  Statement statement1 =con.createStatement();

  }
  catch (Exception e )
 {System.out.println("CException :" + e.getMessage());
}
%>
* End Of testbean.jsp **

* ERROR  **
Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error

--------


type Exception report

message Internal Server Error

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

exception

java.lang.ClassCastException: examples.connectionpool.ConnectionPool
at org.apache.jsp.testbean$jsp._jspService(testbean$jsp.java:73)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:475)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424)
at java.lang.Thread.run(Unknown Source)



* END OF ERROR  **
Thanks & Regards
Vishal Mukherjee


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




RE: Internal server Error - Read of HTTP Request POST parameters failed

2002-07-31 Thread François Gauvin

Thanks for your help, it was really appreciate.


François Gauvin
Programmeur Web

Wanted Technologies Inc.
350, boul. Charest Est, 4ème Étage
Québec (Québec)
Canada G1K 3H5

Téléphone   : (418) 523-6663, #233

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 9:58 AM
To: Tomcat Users List
Subject: AW: Internal server Error - Read of HTTP Request POST parameters
failed

That means tomcat couldn't read as many bytes from a
post request as where declared in the header of the
request.

I guess from the log messages that you run tomcat
standalone. In this case this normally indicates that
the client had an error or was stopped while sending
the request. If I'm wrong and you have a connector
it could also be an error in the connector.

Ralph Einfeldt
Uptime Internet Solution Center GmbH
Hamburg, Germany
Hosting, Content Management, Java Consulting
http://www.uptime-isc.de

> -Ursprüngliche Nachricht-
> Von: François Gauvin [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 31. Juli 2002 15:50
> An: Tomcat User List
> Betreff: Internal server Error - Read of HTTP Request POST parameters
> failed
>
>
> I've got this exception on our company web server.
> =
> java.lang.RuntimeException: Read of HTTP Request POST
> parameters failed:
> read < content length
>
> Can someone have an idea about what is the cause of this exception.
>
> Here's all the stack trace :
> org.apache.catalina.connector.HttpRequestBase.parseParameters(
> HttpRequestBase.java:658)
> org.apache.catalina.connector.HttpRequestBase.getParameter(Htt
> pRequestBase.java:691)

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




AW: Internal server Error - Read of HTTP Request POST parameters failed

2002-07-31 Thread Ralph Einfeldt

That means tomcat couldn't read as many bytes from a 
post request as where declared in the header of the 
request. 

I guess from the log messages that you run tomcat 
standalone. In this case this normally indicates that 
the client had an error or was stopped while sending
the request. If I'm wrong and you have a connector
it could also be an error in the connector.

Ralph Einfeldt
Uptime Internet Solution Center GmbH
Hamburg, Germany
Hosting, Content Management, Java Consulting
http://www.uptime-isc.de

> -Ursprüngliche Nachricht-
> Von: François Gauvin [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 31. Juli 2002 15:50
> An: Tomcat User List
> Betreff: Internal server Error - Read of HTTP Request POST parameters
> failed
> 
> 
> I've got this exception on our company web server.
> =
> java.lang.RuntimeException: Read of HTTP Request POST 
> parameters failed:
> read < content length
> 
> Can someone have an idea about what is the cause of this exception.
> 
> Here's all the stack trace :
> org.apache.catalina.connector.HttpRequestBase.parseParameters(
> HttpRequestBase.java:658)
> org.apache.catalina.connector.HttpRequestBase.getParameter(Htt
> pRequestBase.java:691)

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




Internal server Error - Read of HTTP Request POST parameters failed

2002-07-31 Thread François Gauvin

I’ve got this exception on our company web server.
=
java.lang.RuntimeException: Read of HTTP Request POST parameters failed:
read < content length

Can someone have an idea about what is the cause of this exception.

Here's all the stack trace :
org.apache.catalina.connector.HttpRequestBase.parseParameters(HttpRequestBas
e.java:658)
org.apache.catalina.connector.HttpRequestBase.getParameter(HttpRequestBase.j
ava:691)

org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:
160)
 com.wanted.wjo.util.WJOUtilities.isLogged(WJOUtilities.java:28)  THE FIRST
METHOD INVOKE IN OUR JSP CONTROLLER
 org.apache.jsp.search$jsp._jspService(search$jsp.java:549) THE JSP
CONTROLLER PAGE
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:201)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)

org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
 java.lang.Thread.run(Thread.java:536)



François Gauvin
Programmeur Web

Wanted Technologies Inc.
350, boul. Charest Est, 4ème Étage
Québec (Québec)
Canada G1K 3H5

Téléphone   : (418) 523-6663, #233




RE: Internal Server Error with tomcat 4 - org.apache.catalina.connector

2002-07-26 Thread François Gauvin

For the Exception that caused the stacktrace I didn't know it because we
made an automatic that send us an email when an Exception of type
"Exception" is throw.
I will put the exception type in the automatic mail next time I'll put our
web site online.

Here's all the stack trace :
org.apache.catalina.connector.HttpRequestBase.parseParameters(HttpRequestBas
e.java:658)
org.apache.catalina.connector.HttpRequestBase.getParameter(HttpRequestBase.j
ava:691)

org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:
160)
 com.wanted.wjo.util.WJOUtilities.isLogged(WJOUtilities.java:28)  THE FIRST
METHOD INVOKE IN OUR JSP CONTROLLER
 org.apache.jsp.search$jsp._jspService(search$jsp.java:549) THE JSP
CONTROLLER PAGE
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:201)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)

org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
 java.lang.Thread.run(Thread.java:536)


François Gauvin
Programmeur Web

Wanted Technologies Inc.
350, boul. Charest Est, 4ème Étage
Québec (Québec)
Canada G1K 3H5

Téléphone   : (418) 523-6663, #233

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 10:33 AM
To: Tomcat Users List
Subject: AW: Internal Server Error with tomcat 4 -
org.apache.catalina.connector

Please provide the Exception that caused this stacktrace.

A bit more of the stacktrace would also be helpfull.

> -Ursprüngliche Nachricht-
> Von: François Gauvin [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 26. Juli 2002 16:31
> An: [EMAIL PROTECTED]
> Betreff: Internal Server Error with tomcat 4 -
> org.apache.catalina.connector
>
> Here's an example of the lines I've got.:
>
> org.apache.catalina.connector.HttpRequestBase.parseParameters(
> HttpRequestBas
> e.java:658)
> org.apache.catalina.connector.HttpRequestBase.getParameter(Htt
> pRequestBase.j
> ava:691)
> org.apache.catalina.connector.RequestFacade.getParameter(Reque
> stFacade.java:
> 160)

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




Internal Server Error with tomcat 4 - org.apache.catalina.connector

2002-07-26 Thread François Gauvin

I catch a lot of  “Internal Server Error” from the
org.apache.catalina.connector on our website.

Here’s an example of the lines I’ve got.:

org.apache.catalina.connector.HttpRequestBase.parseParameters(HttpRequestBas
e.java:658)
org.apache.catalina.connector.HttpRequestBase.getParameter(HttpRequestBase.j
ava:691)
org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:
160)
…

That error happen when the first method of a JSP page is invoke.

Can someone as any advise on this?


François Gauvin
Programmeur Web

Wanted Technologies Inc.
350, boul. Charest Est, 4ème Étage
Québec (Québec)
Canada G1K 3H5

Téléphone   : (418) 523-6663, #233




Internal Server Error - Error 500....Help!!!

2002-07-25 Thread Nishant_Awasthi

Hey guys...
Everything was working fine until I restarted my computer and now I cannot
have my JSP examples
of tomcat running.

Before restarting my computer JSP examples and my own example were running
great. Now when I
try to run JSP example at http://localhost:8080 it gives following error:

StandardContext[/manager]: Servlet /manager threw load()
exception
javax.servlet.ServletException: Servlet.init() for servlet jsp threw
exception
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)

at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3266)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
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)
- Root Cause -
java.lang.NoSuchMethodError
at
org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:202)

at
org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:139)

at
org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:345)

at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)

at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3266)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
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)

I tried to re=install the tomcat but now this error is persistent
Can any guru help me with that.

Thanks



Nishant Awasthi
Corporate Systems Development
Progressive Insurance





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




Newbie: Internal server error

2002-07-24 Thread Polly Poon

Hi,

I have a problem with xalan and xerces installation for xml parsing.

org.apache.jasper.compiler.CompileException:
C:\jakarta-tomcat-3.2.4\webapps\student\jsp\student.jsp(2,1) Unable to load
class org.apache.taglibs.xsl.ApplyTag
at
org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:129
)
at
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspPa
rseEventListener.java:759)
at
org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventL
istener.java:138)
at
org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEven
tListener.java:909)
at
org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListe
ner.java:194)
at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:825)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80
6)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:536)

I have already set the CLASSPATH and environment variables but error still
occur.
Your help is appreciated!
From,
Polly P.



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




RE: Tomcat 4.0.3-HTTP Status 500-Internal Server Error

2002-07-06 Thread Kevin Passey

Are you referencing the page as x.jsp or just 

That caught me out a couple of times. Additionally check the servlet entries
in your web.XML file.

Regards

Kevin

-Original Message-
From: John and Alicia Scott [mailto:[EMAIL PROTECTED]]
Sent: 05 July 2002 20:19
To: [EMAIL PROTECTED]
Subject: Tomcat 4.0.3-HTTP Status 500-Internal Server Error


Hi,

I've just started to use Tomcat 4.0.3.  All of the applications in the
\webapps\examples file that came with Tomcat run correctly.  I added a new
folder, \webapps\examples\jsp\forms, that contains form.jsp.  This file
sends/receives data from a javabean that I put in the
\webapps\examples\WEB_INF\classes\forms folder.  The bean is named
FormBean.java.  When I try to run the jps page from my browser, I get the
following error message: Tomcat 4.0.3-HTTP Status 500-Internal Server Error.
I copies part of the long root cause output below.
java.lang.ClassNotFoundException: com.jguru.FormBean
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1394)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1243)
at
org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:18
1)
at
org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato
r.java:102)
at
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J
spParseEventListener.java:834)
at
org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi
stener.java:241)
at
org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE
ventListener.java:197)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:215)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:177)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:189)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
This appears to be a classpath problem, but I can't identify what is wrong
with my configuration, if anything.  Do you have suggestions
on how to correct this problem?
Thanks,
John


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




Re: Tomcat 4.0.3-HTTP Status 500-Internal Server Error

2002-07-06 Thread Arshad Mahmood

Can you attach the JSP you are using. And the precise location you have put
"FormBean.class" (you should have compiled it already).

Regards.
- Original Message -
From: "John and Alicia Scott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 05, 2002 10:58 PM
Subject: Fw: Tomcat 4.0.3-HTTP Status 500-Internal Server Error


> Thanks for the suggestion.  I did have the wrong path in the jsp:useBean.
I
> corrected this, but now I get the same error with the correct path.  The
> error is below.   Now what?
>
> John
>
> java.lang.ClassNotFoundException: examples.WEB-INF.classes.forms.FormBean
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
> a:1394)
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
> a:1243)
> at
>
org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:18
> 1)
> at
>
org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato
> r.java:102)
> at
>
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J
> spParseEventListener.java:834)
> at
>
org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi
> stener.java:241)
> at
>
org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE
> ventListener.java:197)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:215)
> at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> rvlet.java:177)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:189)
>
>
> - Original Message -
> From: "Arshad Mahmood" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, July 05, 2002 2:22 PM
> Subject: Re: Tomcat 4.0.3-HTTP Status 500-Internal Server Error
>
>
> > Because you have put your bean in "com.jguru", you need to duplicate
this
> > under WEB-INF/classes. Your bean should then reside as
> > "WEB-INF/classes/com/jguru/FormBean.class".
> >
> > Regards.
> >
> > - Original Message -
> > From: "John and Alicia Scott" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, July 05, 2002 8:19 PM
> > Subject: Tomcat 4.0.3-HTTP Status 500-Internal Server Error
> >
> >
> > Hi,
> >
> > I've just started to use Tomcat 4.0.3.  All of the applications in the
> > \webapps\examples file that came with Tomcat run correctly.  I added a
new
> > folder, \webapps\examples\jsp\forms, that contains form.jsp.  This file
> > sends/receives data from a javabean that I put in the
> > \webapps\examples\WEB_INF\classes\forms folder.  The bean is named
> > FormBean.java.  When I try to run the jps page from my browser, I get
the
> > following error message: Tomcat 4.0.3-HTTP Status 500-Internal Server
> Error.
> > I copies part of the long root cause output below.
> > java.lang.ClassNotFoundException: com.jguru.FormBean
> > at
> >
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
> > a:1394)
> > at
> >
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
> > a:1243)
> > at
> >
>
org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:18
> > 1)
> > at
> >
>
org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato
> > r.java:102)
> > at
> >
>
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J
> > spParseEventListener.java:834)
> > at
> >
>
org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi
> > stener.java:241)
> > at
> >
>
org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE
> > ventListener.java:197)
> > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:215)
> > at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
> > at
> >
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> > rvlet.java:177)
> > at
> >
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> > va:189)
> > at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
> > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > This appears to be a classpath problem, but I can't identify what is
wrong
> > with my configuration, if anything.  Do you have suggestions
> > on how to correct this problem?
> > Thanks,
> > John
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Fw: Tomcat 4.0.3-HTTP Status 500-Internal Server Error

2002-07-05 Thread John and Alicia Scott

Thanks for the suggestion.  I did have the wrong path in the jsp:useBean.  I
corrected this, but now I get the same error with the correct path.  The
error is below.   Now what?

John

java.lang.ClassNotFoundException: examples.WEB-INF.classes.forms.FormBean
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1394)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1243)
at
org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:18
1)
at
org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato
r.java:102)
at
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J
spParseEventListener.java:834)
at
org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi
stener.java:241)
at
org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE
ventListener.java:197)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:215)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:177)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:189)


- Original Message -
From: "Arshad Mahmood" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, July 05, 2002 2:22 PM
Subject: Re: Tomcat 4.0.3-HTTP Status 500-Internal Server Error


> Because you have put your bean in "com.jguru", you need to duplicate this
> under WEB-INF/classes. Your bean should then reside as
> "WEB-INF/classes/com/jguru/FormBean.class".
>
> Regards.
>
> - Original Message -
> From: "John and Alicia Scott" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 05, 2002 8:19 PM
> Subject: Tomcat 4.0.3-HTTP Status 500-Internal Server Error
>
>
> Hi,
>
> I've just started to use Tomcat 4.0.3.  All of the applications in the
> \webapps\examples file that came with Tomcat run correctly.  I added a new
> folder, \webapps\examples\jsp\forms, that contains form.jsp.  This file
> sends/receives data from a javabean that I put in the
> \webapps\examples\WEB_INF\classes\forms folder.  The bean is named
> FormBean.java.  When I try to run the jps page from my browser, I get the
> following error message: Tomcat 4.0.3-HTTP Status 500-Internal Server
Error.
> I copies part of the long root cause output below.
> java.lang.ClassNotFoundException: com.jguru.FormBean
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
> a:1394)
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
> a:1243)
> at
>
org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:18
> 1)
> at
>
org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato
> r.java:102)
> at
>
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J
> spParseEventListener.java:834)
> at
>
org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi
> stener.java:241)
> at
>
org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE
> ventListener.java:197)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:215)
> at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> rvlet.java:177)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:189)
> at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> This appears to be a classpath problem, but I can't identify what is wrong
> with my configuration, if anything.  Do you have suggestions
> on how to correct this problem?
> Thanks,
> John
>
>
>
>
> --
> 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]>




  1   2   >