RE: server error : tomcat 4.1.29 - mod_jk2 2.0.2 - apache 2.0.48

2004-01-30 Thread Yiannis Mavroukakis
Stick this into your workers2.properties
[shm]
file=/tmp/shm.file (or wherever else you'd like)
size=100

and try it again



-Original Message-
From: Matteo [mailto:[EMAIL PROTECTED]
Sent: 30 January 2004 15:29
To: Tomcat Users List
Subject: server error : tomcat 4.1.29 - mod_jk2 2.0.2 - apache 2.0.48


Hi all,

I'm develping a site using cocoon 2. It is deployed inside tomcat 4.1 and it
connected to apache 2 using mod_jk2.

This cocoon application works normally if accessed through Coyote HTTP1.1
Connnector, but if i try it using mod_jk2 i got sometime an error page:


-- error page starts ---

Internal Server Error

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

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

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



Apache/2.0.48 (Unix) mod_ssl/2.0.48 OpenSSL/0.9.7c PHP/4.3.3 mod_jk2/2.0.2
Server at localhost Port 80

-- error page ends ---


it is to be said that this applicarion works only some times,and i can't 
find out a logic in this.


this is the apache 2 error log at startup of the server :

- log starts 

[Fri Jan 30 15:43:21 2004] [warn] Init: Session Cache is not configured 
[hint: SSLSessionCache]
[Fri Jan 30 15:43:21 2004] [error] shm.init(): No file
[Fri Jan 30 15:43:21 2004] [error] shm.init(): No file
[Fri Jan 30 15:43:21 2004] [error] mod_jk child init 1 0
[Fri Jan 30 15:43:21 2004] [error] shm.init(): No file
[Fri Jan 30 15:43:21 2004] [error] jk2_init() Can't find child 7086 in 
scoreboard
[Fri Jan 30 15:43:21 2004] [error] shm.init(): No file
[Fri Jan 30 15:43:21 2004] [error] mod_jk child init 1 -2
[Fri Jan 30 15:43:21 2004] [notice] Apache/2.0.48 (Unix) mod_ssl/2.0.48 
OpenSSL/0.9.7c PHP/4.3.3 mod_jk2/2.0.2 configured -- resuming normal 
operations
[Fri Jan 30 15:43:21 2004] [error] shm.init(): No file
[Fri Jan 30 15:43:21 2004] [error] shm.init(): No file
- log ends 
--

this is the apache 2 error log when the error page above show (i tried 
many time, is is always the same, only numbers and time changes):

- log starts 

[Fri Jan 30 15:50:42 2004] [error] workerEnv.init() create slot epStat.4 
failed
[Fri Jan 30 15:50:42 2004] [error] lb.service() worker failed 12 for 
ajp13:localhost:10249
[Fri Jan 30 15:50:42 2004] [error] lb.service() unrecoverable error...
[Fri Jan 30 15:50:42 2004] [error] mod_jk.handler() Error connecting to 
tomcat 12
- log ends 
--


more in depth informations about my configuration follows:

software used:
- sun sdk se 1.4.2_03
- cocoon 2.1.3
- tomcat 4.1.29
- mod_jk2 2.0.2
- apache 2.0.48
- kernel 2.4.22-10mdk (linux mandrake 9.2)
all are built from source (no distro default fo apache).

For apache i use the default name virtual server on my machine ad the 
host to connect to tomcat.


my jk2.properties file is very simple (i only changed the ajp port, ad i 
use no default 8009):
- jk2.properites starts 

channelSocket.port=10249
- jk2.properties ends 



while workers2.properties is also very simple:
- workers2.properties starts 

[channel.socket:localhost:10249]
info=Ajp13 forwarding over socket
tomcatId=localhost:10249

[uri:/*]
info=Map the whole wepap
- workers2.properties ends 


thanks in advance for the help!

bye,

Matteo


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



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not t

Re: server error

2003-11-20 Thread Deepak Parbhoo
Check you have the log4j jar file in your classpath for your server...

Subramaniyam Hemalatha wrote:

hello ,

i get this following error when i run my jsp page.
will u be able to guide me.
thks

hema

Error 500--Internal Server Error 

java.lang.NoClassDefFoundError: org/apache/log4j/Category
at com.ncs.app.framework.service.LogService.(LogService.java:30)
at
com.ncs.app.servlet.AgServletCtrl.serviceGetOrPost(AgServletCtrl.java:73)
at com.ncs.app.servlet.AgServletCtrl.doGet(AgServletCtrl.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1053)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:387)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:6291)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3575)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2573)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
-
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: server error

2003-11-20 Thread Filip Hanik
this is a tomcat user group, you are running weblogic

Filip

- Original Message -
From: "Subramaniyam Hemalatha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, November 19, 2003 7:44 PM
Subject: server error




hello ,

i get this following error when i run my jsp page.
will u be able to guide me.

thks

hema

Error 500--Internal Server Error

java.lang.NoClassDefFoundError: org/apache/log4j/Category
at com.ncs.app.framework.service.LogService.(LogService.java:30)
at
com.ncs.app.servlet.AgServletCtrl.serviceGetOrPost(AgServletCtrl.java:73)
at com.ncs.app.servlet.AgServletCtrl.doGet(AgServletCtrl.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1053)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:387)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:6291)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3575)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2573)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)


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

2003-11-20 Thread James Ostad
check you packaging information in the file that your are using
category, in logservice.java.



-Original Message-
From: Subramaniyam Hemalatha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 10:44 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: server error




hello ,

i get this following error when i run my jsp page.
will u be able to guide me.

thks

hema

Error 500--Internal Server Error 

java.lang.NoClassDefFoundError: org/apache/log4j/Category
at com.ncs.app.framework.service.LogService.(LogService.java:30)
at
com.ncs.app.servlet.AgServletCtrl.serviceGetOrPost(AgServletCtrl.java:73
)
at
com.ncs.app.servlet.AgServletCtrl.doGet(AgServletCtrl.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvle
tStubImpl.java:1053)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java
:387)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java
:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(W
ebAppServletContext.java:6291)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etCo
ntext.java:3575)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java
:2573)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
 

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



<---In (14)




Out---> (3)



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