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 1 0x52
0x522000
[Fri Feb 06 13:28:04 2004] [n

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]



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]



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]


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]


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]



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]



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]




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: 


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]  
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:   [EMAIL PROTECTED]
www:   http://www.clipsal.com &
 http://www.custompress.com.au
phone: 08 8269 0511 ext 313, fax: 08 8340 1212, mobile: 0403 164 617
 

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




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:

For additional commands, e-mail:



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




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:

For additional commands, e-mail:



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




RE: Internal Server Error with METHOD:POST

2002-02-26 Thread Reynir Hübner

Hi, 
there are few possibilities ... 

1. that you need to restart tomcat to get the servlet loaded. 
2. case sensitivity, is the taskserv in correct case ? 
3. is, that you're servlet is not compiled. (you only have .java under
WEB-INF/classes)

sounds like one of those, but it could always be something else.

hope it helps
[EMAIL PROTECTED]
 

> -Original Message-
> From: fusterjj [mailto:[EMAIL PROTECTED]]
> Sent: 26. febrúar 2002 19:26
> To: 'Tomcat Users List'
> Subject: Internal Server Error with METHOD:POST
> 
> 
> Hello everyone, 
> I am trying to do a simple servlet with an html form using 
> the POST method. The html form is just a simple input form 
> where the user enters 4 fields of data. The HTML invokes the 
> taskserv, wich is the servlet with the post method and the 
> driver connection to mysql database in order to insert the 
> data in the database. The problem is that I am getting an 
> Internal Server Error which says:
> Cannot allocate servlet instance for path /servlet/taskserv; 
> however the servlet is inside the WEB-INF directory and 
> inside the CLASSES folder, so it should not have any problem 
> to find the class. I have changed the code a couple of times 
> but I am getting the same error. Does anyone know why is this 
> happening?? Is there has to be with  my Tomcat configuration 
> or the web.xml or the code??? 
> I would really appreciate if you help me. If you are willing 
> I can send you the code and the Exception report to make it easier.
> 
>  Thank you all!!!
> 
> 
> 

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




Re: Internal Server Error (Apache/Tomcat/Jsp/Linux)

2001-09-16 Thread C.F.Morrison

Hi,
My claims of exercising due diligence are a crock! sorry!
My include of 'mod_jk.conf-local' was not at the end of  of httpd.conf
as I assumed. I forgot to comment out  plug-in directives for IBM WebSphere
that I'm also working with. These were obviously conflicting with Tomcat
directives. When I comment them out, Tomcat behaves like the 'cool cat' it
is.
cfm

- Original Message -
From: "C.F.Morrison" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 16, 2001 2:43 PM
Subject: Internal Server Error (Apache/Tomcat/Jsp/Linux)


> Hi,
> I am using Linux Red Hat 7.1, Apache 1.3.19 & Tomcat 3.2.3.
> I successfully run Tomcat under port 8080 to process servlets + jsps; with
> mod_jk & Apache I run the test servlets sucessfully. However (I swear due
> diligence was observed) I cannot get jsps to run under Apache.
> I get an Internal Server Error claiming misconfiguration. Looking at log
> mod_jk.log I get multiple mesages "jk_uri_worker_map_t::
map_uri_to_worker,
> done without a match".
> The same log earlier identifies the mappings (8) that are mapped to worker
> ajp13. These mappings seem o.k.
>
> I don't believe this is the 'tools.jar" problem that I have seen on this
> list; as I said no problems occur with port 8080.
> I downloaded "mod_jk-eapi.so" from the linux subdirectory of tomcat 3.2.3
> binary.
> (btw I have'nt been successful building it myself ... apxs problems +
> horrendously ambiguous instructions in the howto)
> My httpd.conf 'includes' a copy of mod_jk_conf.auto called
> mod_jk_conf.local; this is because Red Hat's distribution of Apache is a
bit
> scattered and necessitated a change to the LoadMoule directive. Tomcat &
> Apache load ok & give me no errors: servlet examples also work as expected
> so it seems my workers & context mappings are o.k.
>
> Has anyone got Tomcat(3.2.3) jsp examples to work with Apache(1.3.19)
under
> Linux RH 7.1 with the binary mod_jk-eapi.so supplied?
>
> I am a moderately good person but admit to homicidal(felicidal?) urges now
&
> again. Dogs are such nicer creatures!
> Thank you for reading  & more if you can help.
> c.f.morrison
>




Re: internal server error

2001-09-01 Thread Craig R. McClanahan



On Tue, 28 Aug 2001, Scott Knight wrote:

> Date: Tue, 28 Aug 2001 08:23:05 -0400
> From: Scott Knight <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: internal server error
>
>   I have a question that hopefully someone on this list can help with. I use
> the startup.sh and shutdown.sh scripts to start and stop tomcat. If i stop
> tomcat and then bring it back up and go and try to view a servlet I get an
> internal server error from apache, like tomcat really isnt up yet or
> something. But if i then hit refresh on my brower like 7 or 8 times tomcat
> will start responding like normal. I saw a message on the same topic of
> this in the mail archives but I didnt see a definite answer. Anyone know
> why this is? And is there any way to stop this?
>

Without details of the server components you are running (Apache version?
Tomcat version?) and the actual servlet being tested, and the *actual*
error messages and/or stack traces you are receiving, it is impossible for
*anyone* to give you any substantive help on this.

> Second question is about auto reloading. I use ant to create my war files
> so they are of the standard directory layout. After tomcat starts and
> unpacks the war I should be able to copy recompiled classes into the
> MyProject/WEB-INF/classes directory and have tomcat auto reload (server.xml
> says that auto reload is default to true ) This works most of the time. But
> sometimes i swear it wont reload my servlet until i stop tomcat, remove the
> unpacked war directory and restart tomcat. This doesn't make any sense to me?
>

What Tomcat are you running?  Tomcat 3.2.x has lots of problems
recognizing updated classes that are not themselves servlets -- Tomcat 4.0
fixes this particular issue.

> Also one last semi related question. Can someone tell me how tomcat decides
> what servlets to cache in memory?

*All* Java classes that are your servlets (or are referenced by your
servlets) are loaded once by the appropriate class loader.  This is a Java
thing, not a Tomcat thing.

> If it is really auto reloaded servlets,
> if i delete all my class files i shouldnt be able to get to any servlets
> correct?

No.  If you have referenced a particular class *once*, it will have
already been loaded into the JVM.  The existence or non-existence of the
".class" file where this class was loaded from is not relevant.

> But i have deleted all my class files and still can get to certain
> servlets in my web app. So how does tomcat choose what servlets to cache or
> not?
>
> Any and all information that can help with these three questions would be
> greatly apprecaited. Thanks in advance.
>
>   Scott Knight
>
>
Craig





Re: internal server error

2001-08-28 Thread Scott Knight

At 07:02 PM 08/28/2001 +0530, you wrote:
>Scott,
>
>I may be wrong but here's what I think with respect to your problems:-
>
>Question 1 : - I really don't know :)

I checked in the archive again and this one I think was recently answered. 
When running apache and tomcat seperately you have to restart apache when 
you restart tomcat, or like someone else said just wait and define a nice 
friendly error page, which is a good idea.


>Question 2: - Though u have mentioned auto reload to "true" try the follwing:-
>Make a new Context entry in the Server.xml with your application and set 
>the reload value to true and see of you observations repeat. We had done a 
>similar observation and it defaults to  auto-reload=false if u don't 
>mention it explicitly ion server.xml


Tried this and it still doesnt seem to work. Unless im doing something 
wrong. I have my webapps directory, then myapp.war and the unpacked myapp 
directory If i then go somewhere else javac my one servlet and move the 
class file into webapps/myapp/WEB-INF/classes it is not auto reloaded. 
Strangely enough even after restarting tomcat i dont see my changes. I dont 
belive that though, it must be something Im doing but still i would think 
it would be simple.


>Question 3:  Tomcat's web applications are loaded using an adaptive /web 
>app class loader but it too is a class loader. So once a class is laoded 
>by the class loader it wont load it again until the class has changed( as 
>per your previous question) so removing your classes would not probably 
>affect the Classes.

Does anyone here on the list (a lurking developer maybe ) know what exactly 
what tomcat checks to determine if a class should be reloaded. Is it just 
the date time or what?


>Hope that helps
>
>Anand
>
>
>At 08:23 AM 8/28/01 -0400, you wrote:
>> I have a question that hopefully someone on this list can help 
>> with. I use the startup.sh and shutdown.sh scripts to start and stop 
>> tomcat. If i stop tomcat and then bring it back up and go and try to 
>> view a servlet I get an internal server error from apache, like tomcat 
>> really isnt up yet or something. But if i then hit refresh on my brower 
>> like 7 or 8 times tomcat will start responding like normal. I saw a 
>> message on the same topic of this in the mail archives but I didnt see a 
>> definite answer. Anyone know why this is? And is there any way to stop this?
>>
>>Second question is about auto reloading. I use ant to create my war files 
>>so they are of the standard directory layout. After tomcat starts and 
>>unpacks the war I should be able to copy recompiled classes into the 
>>MyProject/WEB-INF/classes directory and have tomcat auto reload 
>>(server.xml says that auto reload is default to true ) This works most of 
>>the time. But sometimes i swear it wont reload my servlet until i stop 
>>tomcat, remove the unpacked war directory and restart tomcat. This 
>>doesn't make any sense to me?
>>
>>Also one last semi related question. Can someone tell me how tomcat 
>>decides what servlets to cache in memory? If it is really auto reloaded 
>>servlets, if i delete all my class files i shouldnt be able to get to any 
>>servlets correct? But i have deleted all my class files and still can get 
>>to certain servlets in my web app. So how does tomcat choose what 
>>servlets to cache or not?
>>
>>Any and all information that can help with these three questions would be 
>>greatly apprecaited. Thanks in advance.
>>
>> Scott Knight
>




RE: internal server error

2001-08-28 Thread Michael Weissenbacher

question 1: this is perfectly normal behavior. as long as tomcat isn't up
(the ajp connector isn't started) you'll get an internal server error. if
you don't hit reload all the time and simply wait 30 seconds everything will
work ok. however, there is a way to change the error page by setting the
following in your httpd.conf:
ErrorDocument 500 /friendly_tomcat_error.html
it belongs to the section "Customizable error response"

michael

-Original Message-
From: Scott Knight [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 2:23 PM
To: [EMAIL PROTECTED]
Subject: internal server error


I have a question that hopefully someone on this list can help with.
I use 
the startup.sh and shutdown.sh scripts to start and stop tomcat. If i stop 
tomcat and then bring it back up and go and try to view a servlet I get an 
internal server error from apache, like tomcat really isnt up yet or 
something. But if i then hit refresh on my brower like 7 or 8 times tomcat 
will start responding like normal. I saw a message on the same topic of 
this in the mail archives but I didnt see a definite answer. Anyone know 
why this is? And is there any way to stop this?

Second question is about auto reloading. I use ant to create my war files 
so they are of the standard directory layout. After tomcat starts and 
unpacks the war I should be able to copy recompiled classes into the 
MyProject/WEB-INF/classes directory and have tomcat auto reload (server.xml 
says that auto reload is default to true ) This works most of the time. But 
sometimes i swear it wont reload my servlet until i stop tomcat, remove the 
unpacked war directory and restart tomcat. This doesn't make any sense to
me?

Also one last semi related question. Can someone tell me how tomcat decides 
what servlets to cache in memory? If it is really auto reloaded servlets, 
if i delete all my class files i shouldnt be able to get to any servlets 
correct? But i have deleted all my class files and still can get to certain 
servlets in my web app. So how does tomcat choose what servlets to cache or 
not?

Any and all information that can help with these three questions would be 
greatly apprecaited. Thanks in advance.

Scott Knight




Re: internal server error

2001-08-28 Thread Anand B N

Scott,

I may be wrong but here's what I think with respect to your problems:-

Question 1 : - I really don't know :)

Question 2: - Though u have mentioned auto reload to "true" try the follwing:-
Make a new Context entry in the Server.xml with your application and set 
the reload value to true and see of you observations repeat. We had done a 
similar observation and it defaults to  auto-reload=false if u don't 
mention it explicitly ion server.xml

Question 3:  Tomcat's web applications are loaded using an adaptive /web 
app class loader but it too is a class loader. So once a class is laoded by 
the class loader it wont load it again until the class has changed( as per 
your previous question) so removing your classes would not probably affect 
the Classes.

Hope that helps

Anand


At 08:23 AM 8/28/01 -0400, you wrote:
> I have a question that hopefully someone on this list can help 
> with. I use the startup.sh and shutdown.sh scripts to start and stop 
> tomcat. If i stop tomcat and then bring it back up and go and try to view 
> a servlet I get an internal server error from apache, like tomcat really 
> isnt up yet or something. But if i then hit refresh on my brower like 7 
> or 8 times tomcat will start responding like normal. I saw a message on 
> the same topic of this in the mail archives but I didnt see a definite 
> answer. Anyone know why this is? And is there any way to stop this?
>
>Second question is about auto reloading. I use ant to create my war files 
>so they are of the standard directory layout. After tomcat starts and 
>unpacks the war I should be able to copy recompiled classes into the 
>MyProject/WEB-INF/classes directory and have tomcat auto reload 
>(server.xml says that auto reload is default to true ) This works most of 
>the time. But sometimes i swear it wont reload my servlet until i stop 
>tomcat, remove the unpacked war directory and restart tomcat. This doesn't 
>make any sense to me?
>
>Also one last semi related question. Can someone tell me how tomcat 
>decides what servlets to cache in memory? If it is really auto reloaded 
>servlets, if i delete all my class files i shouldnt be able to get to any 
>servlets correct? But i have deleted all my class files and still can get 
>to certain servlets in my web app. So how does tomcat choose what servlets 
>to cache or not?
>
>Any and all information that can help with these three questions would be 
>greatly apprecaited. Thanks in advance.
>
> Scott Knight





Re: Internal Server Error on first couple requests

2001-08-16 Thread Denis Haskin

You're right, it looks like that's only true for ajp13 and only with 
Tomcats prior to 3.3.  See 
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html#s10, 
4th item.

dwh

Dmitri Colebatch wrote:

>is this true?  where is it documented - I've never had to restart apache
>when restarting tomcat...
>





Re: Internal Server Error on first couple requests

2001-08-16 Thread Dmitri Colebatch

On Thu, 16 Aug 2001, Denis Haskin wrote:

> If you're using ajp, you must start Apache and Tomcat together, because 
> of the persistent connections.  That is, if you shut down Tomcat, you 
> have to shut down Apache also, and vice-versa.  This is documented...

is this true?  where is it documented - I've never had to restart apache
when restarting tomcat...

cheers
dim




Re: Internal Server Error on first couple requests

2001-08-16 Thread Denis Haskin

What exactly do you mean by 'startup'?

If you're using ajp, you must start Apache and Tomcat together, because 
of the persistent connections.  That is, if you shut down Tomcat, you 
have to shut down Apache also, and vice-versa.  This is documented...

Or do you mean to say that when you start both of them up like this, you 
get Internal Server Errors on the first few requests?  If so, does it 
matter how long after startup you try this?  I certainly find if I try 
to access Apache/Tomcat before Tomcat has finished loading, I can 
sometimes get that error.

dwh

Mike Tinnes wrote:

> We're using Tomcat 3.2.2 with Apache 1.3.20 and are experiencing 
> problems with jsp's not loading correctly on startup. The first couple 
> requests return back an 'Internal Server Error'  from Apache. After a 
> couple more hits it seems to come back. I've read where this may be 
> due to ajp connector sockets not being shutdown correctly, and if 
> tomcat is killed and immediately restarted the connector is not 
> immediately able to communicate. Has anyone else delt with this issue, 
> and if so any remedies?






Re: Internal Server Error

2001-05-30 Thread Boris Niyazov

Is your Login.class is in %TOMCAT_HOME\webapps\web\WEB-INF\classes\VC
folder?

*
* Boris NiyazovPh:  212-854-4094  Fax: 212-854-1749 *
* Systems Manager  Email: [EMAIL PROTECTED] * 
* Columbia Law School  URL: http://www.law.columbia.edu *
*  
 




>Sir ,
>
> I'm working on a JSP project , i'm facing the following problem
>
> I was able to access all the jsp's ,jpegs, htm,html's etc
>
> There was an Internal Servlet Error: when i try to access session
>variable(from the next pages) after creating the session variable 
>in the home page.
>
>whenever  i try to access the other pages the following error is reported 
>
>(HERE: Login and TimeSpent are session variables , which are created 
> in the home page )
>
>
>But these class files are created in the work directory automatically 
>created by TomCat server.
>
> 
>
>===
>Error: 500
>
>Location: /web/VC/vc2.jsp
>
>Internal Servlet Error:
>
>org.apache.jasper.JasperException: Unable to compile class for JSPerror: File
>C:\jakarta-tomcat\work\localhost_8080%2Fweb\VC\Login.class does not contain
>type VC.Login as expected, but type Login. Please remove the file, or make
>sure it appears in the correct subdirectory of the class path.
>C:\jakarta-tomcat\work\localhost_8080%2Fweb\_0002fVC_0002fvc_00032_0002ejspvc2_
jsp_0.java:67:
>Class VC.Login not found.
>Login lo=(Login)session.getValue("login");
>^
>C:\jakarta-tomcat\work\localhost_8080%2Fweb\_0002fVC_0002fvc_00032_0002ejspvc2_
jsp_0.java:67:
>Class VC.Login not found.
>Login lo=(Login)session.getValue("login");
>  ^
>error: File C:\jakarta-tomcat\work\localhost_8080%2Fweb\VC\TimeSpent.class
>does not contain type VC.TimeSpent as expected, but type TimeSpent. Please
>remove the file, or make sure it appears in the correct subdirectory of the
>class path.
>C:\jakarta-tomcat\work\localhost_8080%2Fweb\_0002fVC_0002fvc_00032_0002ejspvc2_
jsp_0.java:90:
>Class VC.TimeSpent not found.
>TimeSpent ts=(TimeSpent)session.getValue("time");
>^
>C:\jakarta-tomcat\work\localhost_8080%2Fweb\_0002fVC_0002fvc_00032_0002ejspvc2_
jsp_0.java:90:
>Class VC.TimeSpent not found.
>TimeSpent ts=(TimeSpent)session.getValue("time");
>  ^
>Note:
>C:\jakarta-tomcat\work\localhost_8080%2Fweb\_0002fVC_0002fvc_00032_0002ejspvc2_
jsp_0.java
>uses or overrides a deprecated API.  Recompile with "-deprecation" for
>details.
>6 errors, 1 warning
>
>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:247)
>at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
>at
>org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServl
et.java:149)
>at
>org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:
161)
>at
>org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
>at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>at
>org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
>at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>at
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConn
ectionHandler.java:160)
>at
>org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
>at java.lang.Thread.run(Unknown Source)
>
>
>
>
>Get free email and a permanent address at http://www.netaddress.com/?N=1




RE: Internal Server Error

2001-05-30 Thread Randy Layman


Your problem is that you didn't import the class.  When Tomcat
generates the classes, it puts them into packages according to your
directory structure.  All classes therefore have a package and any classes
that are not in a package are not accessible unless each is explicitly
imported.  You need to add something like:
<%@ page import="Login,TimeSpent" %>
to your JSP.

Incidentally, it appears that you are trying to do some
authentication.  You might looking into the SimpleRealm and JDBCRealm
classes of Tomcat, which are extensible for your own purposes.

Randy


> -Original Message-
> From: Nidhish Abraham [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 30, 2001 2:16 AM
> To: [EMAIL PROTECTED]
> Subject: Internal Server Error 
> 
> 
> Sir ,
> 
>  I'm working on a JSP project , i'm facing the following problem
> 
>  I was able to access all the jsp's ,jpegs, htm,html's etc
> 
>  There was an Internal Servlet Error: when i try to access session
> variable(from the next pages) after creating the session variable 
> in the home page.
> 
> whenever  i try to access the other pages the following error 
> is reported 
> 
> (HERE: Login and TimeSpent are session variables , which are created 
>  in the home page )
> 
> 
> But these class files are created in the work directory automatically 
> created by TomCat server.
> 
>  
> 
> ==
> =
> Error: 500
> 
> Location: /web/VC/vc2.jsp
> 
> Internal Servlet Error:
> 
> org.apache.jasper.JasperException: Unable to compile class 
> for JSPerror: File
> C:\jakarta-tomcat\work\localhost_8080%2Fweb\VC\Login.class 
> does not contain
> type VC.Login as expected, but type Login. Please remove the 
> file, or make
> sure it appears in the correct subdirectory of the class path.
> C:\jakarta-tomcat\work\localhost_8080%2Fweb\_0002fVC_0002fvc_0
> 0032_0002ejspvc2_jsp_0.java:67:
> Class VC.Login not found.
> Login lo=(Login)session.getValue("login");
> ^
> C:\jakarta-tomcat\work\localhost_8080%2Fweb\_0002fVC_0002fvc_0
> 0032_0002ejspvc2_jsp_0.java:67:
> Class VC.Login not found.
> Login lo=(Login)session.getValue("login");
>   ^
> error: File 
> C:\jakarta-tomcat\work\localhost_8080%2Fweb\VC\TimeSpent.class
> does not contain type VC.TimeSpent as expected, but type 
> TimeSpent. Please
> remove the file, or make sure it appears in the correct 
> subdirectory of the
> class path.
> C:\jakarta-tomcat\work\localhost_8080%2Fweb\_0002fVC_0002fvc_0
> 0032_0002ejspvc2_jsp_0.java:90:
> Class VC.TimeSpent not found.
> TimeSpent 
> ts=(TimeSpent)session.getValue("time");
> ^
> C:\jakarta-tomcat\work\localhost_8080%2Fweb\_0002fVC_0002fvc_0
> 0032_0002ejspvc2_jsp_0.java:90:
> Class VC.TimeSpent not found.
> TimeSpent 
> ts=(TimeSpent)session.getValue("time");
>   ^
> Note:
> C:\jakarta-tomcat\work\localhost_8080%2Fweb\_0002fVC_0002fvc_0
> 0032_0002ejspvc2_jsp_0.java
> uses or overrides a deprecated API.  Recompile with "-deprecation" for
> details.
> 6 errors, 1 warning
> 
> at 
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:247)
> at 
> org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
> at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfN
> ecessary(JspServlet.java:149)
> at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
> (JspServlet.java:161)
> at
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet
> .java:261)
> at 
> org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
> at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWra
> pper.java:503)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> at
> org.apache.tomcat.service.http.HttpConnectionHandler.processCo
> nnection(HttpConnectionHandler.java:160)
> at
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEnd
> point.java:338)
> at java.lang.Thread.run(Unknown Source)
> 
> 
> 
> 
> Get free email and a permanent address at 
> http://www.netaddress.com/?N=1
> 



Re: Internal Server Error when restarting Tomcat

2001-03-07 Thread Carole Hébrard

Hi Lee,

I think Apache can re-etablish the connection. In fact, Apache do it after several
unsuccessful access. With AJP1.2, the problem does not occur so I think it is a
problem in AJP1.3.

Carole.

lee fellows wrote:

> Hi Carole,
>
>   Don't know if anyone else has attempted to help you yet, but you
> cannot shutdown
> Tomcat and restart it without cycling Apache as well if Apache is
> talking to Tomcat.
> When you shutdown Tomcat with Apache listening to the port, Apache will
> not re-establish
> the connection without being restarted.
>
> Carole Hébrard wrote:
> >
> > Hi.
> >
> > I am using Apache 1.3.14, Tomcat 3.2.1 and AJP13 on Linux.
> > I stop and restart Tomcat without stopping Apache. When I try to access
> > a page, I've got the following error:
> >
> > 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/1.3.14 Server at xxx.netcelo.com Port 8443
> >
> > After some reloads of the page, I've got the page.
> >
> > Any ideas?
> >
> > Carole.
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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




Re: Internal Server Error when restarting Tomcat

2001-03-07 Thread lee fellows

Hi Carole,

  Don't know if anyone else has attempted to help you yet, but you
cannot shutdown
Tomcat and restart it without cycling Apache as well if Apache is
talking to Tomcat.
When you shutdown Tomcat with Apache listening to the port, Apache will
not re-establish
the connection without being restarted.



Carole Hébrard wrote:
> 
> Hi.
> 
> I am using Apache 1.3.14, Tomcat 3.2.1 and AJP13 on Linux.
> I stop and restart Tomcat without stopping Apache. When I try to access
> a page, I've got the following error:
> 
> 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/1.3.14 Server at xxx.netcelo.com Port 8443
> 
> After some reloads of the page, I've got the page.
> 
> Any ideas?
> 
> Carole.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

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




Re: Internal server error.

2001-02-13 Thread nickm



Where do you set the port in Tomcat?
 
Your not reffering to the ApjServDefaultport, 
right?
 
This port is set to 8007 in both Apache and 
Tomcat.
 
 


RE: Internal server error.

2001-02-13 Thread micky



you 
can not use two programs to run on the same port. setup tomcat on port 8080 and 
apache on 80 or 8040
 
/===\| Micky 
Mimo    
|| Systems 
Specialist    
|| (781) 457 - 
1317  
|| [EMAIL PROTECTED] 
===\|There was once a young man from Wight  
       ||Who could travel 
faster than the speed of light.  ||He went out one day    
    
    
    
       ||In a relative way 
     
    
    
       ||And returned home 
the previous night.      
   
|\==/

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, February 13, 2001 10:07 
  AMTo: [EMAIL PROTECTED]Subject: Internal 
  server error.
  Hi:
   
  I have installed Apache with not problem where it 
  is running with port 8040. I installed tomcat and appended the httpd.conf file 
  as instructed. Both Tomcat and Apache are set to use port 8007 to talk to each 
  other. I start Tomcat first then apache and all seems to be oka. But when I 
  try to access say: http://localhost:8040/examples/jsp/index.html 
  I get the internal server error in my browser? I checked the mod_jserv.log and 
  I get this:
  
  [13/02/2001 17:54:14:605] (EMERGENCY) ajp12: can not connect to host 
  127.0.0.1:8007
  [13/02/2001 17:54:14:605] (EMERGENCY) ajp12: connection fail
  [13/02/2001 17:54:14:605] (ERROR) an error returned handling request via 
  protocol "ajpv12"
  So this is the likely problem, now what exactly is this 
  and can I do to fix it?
   
   


Re: Internal server error.

2001-02-13 Thread John Golubenko
Title: Re: Internal server error.




The configuration isn't correct. Thus if you using it with Apache in
anyway,double check the *.o's on Linux or *.dll's on win, make sure
they are when they should be.Try do not mess with configs for the
first time, and load it on 8080 port. (Tomcat). If that will work,
then install it with Apache.Good luck,
John.

Original Message dated 2/13/01, 7:07:09
AM
Author: [EMAIL PROTECTED]
Re: Internal server error.:



Hi:
 
I have installed Apache with not
problem where it is running with port 8040. I installed tomcat and
appended the httpd.conf file as instructed. Both Tomcat and Apache are
set to use port 8007 to talk to each other. I start Tomcat first then
apache and all seems to be oka. But when I try to access say:
http://localhost:8040/examples/jsp/index.html
I get the internal server error in my browser? I checked the
mod_jserv.log and I get this:
[13/02/2001 17:54:14:605] (EMERGENCY) ajp12: can not
connect to host 127.0.0.1:8007
[13/02/2001 17:54:14:605] (EMERGENCY) ajp12: connection
fail
[13/02/2001 17:54:14:605] (ERROR) an error returned
handling request via protocol "ajpv12"
So this is the likely problem, now
what exactly is this and can I do to fix it?
 
 


NOTICE:  This communication may contain confidential or other privileged information.  If you are not the intended recipient, or believe that you have received this communication in error, please do not print, copy, retransmit, disseminate, or otherwise use the information.  Also, please indicate to the sender that you have received this email in error, and delete the copy you received.  Any communication that does not relate to official Columbia business is that of the sender and is neither given nor endorsed by Columbia.  Thank you.



Re: Internal Server Error

2000-12-07 Thread Jan Labanowski

Which Apache you use? If you use 1.3.X, comment out all these inprocess
things, since you do not do inprocess stuff. You can do inprocess only
with Apache 2.X which is still alpha...

Jan
[EMAIL PROTECTED]

On Thu, 7 Dec 2000 [EMAIL PROTECTED] wrote:

> I'm running Tomcat 3.2 using mod_jk and apache.  It appears that sometimes
> when Apache forwards a request to Tomcat either TC wasnt ready for the
> connection or something strange because I get an immediate "Internal Server
> Error" issued by Apache.
> 
> It's so immediate I can tell that Apache isn't passing the connection over
> to Tomcat or something... here is what my mod_jk.conf and
> workers.properties files look like.  Any help would be appreciated...
> 
> # mod_jk.conf #
> 
> LoadModule jk_module libexec/mod_jk.so
> 
> JkWorkersFile
> /raid/home/intadmin/integration/tomcat/conf/workers.properties
> JkLogFile /raid/home/intadmin/integration/tomcat/logs/mod_jk.log
> JkLogLevel error
> 
> JkMount /*.jsp ajp13
> JkMount /servlet/* ajp13
> 
> Alias /admin "/raid/home/intadmin/integration/tomcat/webapps/admin"
> 
> Options Indexes FollowSymLinks
> 
> 
> JkMount /admin/servlet/* ajp13
> JkMount /admin/*.jsp ajp13
> 
> 
> AllowOverride None
> deny from all
> 
> 
> 
> AllowOverride None
> deny from all
> 
> 
> # workers.properties #
> 
> workers.tomcat_home=/raid/home/intadmin/integration/tomcat
> workers.java_home=/usr/java
> ps=/
> 
> worker.list=ajp12, ajp13
> 
> worker.ajp12.port=8007
> worker.ajp12.host=localhost
> worker.ajp12.type=ajp12
> worker.ajp12.lbfactor=1
> 
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
> 
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=ajp12, ajp13
> 
> worker.inprocess.type=jni
> 
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jar
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jar
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib
> $(ps)webserver.jar
> worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar
> 
> worker.inprocess.cmd_line=-config
> worker.inprocess.cmd_line=$(workers.tomcat_home)/conf/jni_server.xml
> worker.inprocess.cmd_line=-home
> worker.inprocess.cmd_line=$(workers.tomcat_home)
> 
> worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic
> $(ps)jvm.dll
> worker.inprocess.stdout=$(workers.tomcat_home)$(ps)inprocess.stdout
> worker.inprocess.stderr=$(workers.tomcat_home)$(ps)inprocess.stderr
> worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home)
>