[Tomcat, HTTPD, Servlets & JSP] - Pb with apache/Tomcat
by soussou97
Hello,
I have installed a server with: Apache/2.0.49 + mod_jk2/2.0.5-dev + Tomcat/5.0.27 + Jboss under Linux on the same machine
The server is great when the traffic is maximum, 40 transactions to the minute, but when the server have low charge and low traffic... ...CRASH!
In the error_log of apache and mod_jk I have the following messages :
Logs errors (apache):
[23/May/2008:15:24:51] [Information] SiteMinder Agent
SiteMinder agent is running.
mod_jk: Error flushing !
[Fri May 23 16:44:31 2008] [notice] child pid 25175 exit signal Segmentation fault (11)
mod_jk: Error flushing !
mod_jk: Error flushing !
Logs mod-jk :
[Fri May 23 16:50:03 2008] [error] ajp_service::jk_ajp_common.c (1673): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=cmdmoaprjworker failed errno = 111
[Fri May 23 16:50:31 2008] [error] ajp_service::jk_ajp_common.c (1659): Client connection aborted or network problems
[Fri May 23 16:50:44 2008] [error] ajp_service::jk_ajp_common.c (1673): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=cmdmoaprjworker failed errno = 111
[Fri May 23 16:50:47 2008] [error] ajp_service::jk_ajp_common.c (1673): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=cmdmoaprjworker failed errno = 111
[Fri May 23 16:50:55 2008] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (933): ERROR: can't receive the response message from tomcat, network problems or tomcat is down (10.196.128.11:9009), err=-1
[Fri May 23 16:50:55 2008] [error] ajp_get_reply::jk_ajp_common.c (1432): Tomcat is down or network problems. No response has been sent to the client (yet)
What is this ? Probably, this error cause the crash?
Someone can help me?
Thanks advance...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153227#4153227
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153227
17 years, 11 months
[EJB/JBoss] - Re: Problem by jndi-lookup from Tomcat to JBoss
by thomas2008ch
In the console I got followings. Seems it has problem with the jndi-lookup.
| INFO: Deploying web application archive TestXDocletWeb.war
| javax.naming.NameNotFoundException: Name Tiger is not bound in this Context
| at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
| at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at com.zoo.TigerUtil.lookupHome(TigerUtil.java:22)
| at com.zoo.TigerUtil.getHome(TigerUtil.java:42)
| at org.apache.jsp.index_jsp._jspService(index_jsp.java:77)
| at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
| .java:393)
| at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
| 20)
| at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
| icationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
| ilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
| alve.java:233)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
| alve.java:175)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
| ava:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
| ava:102)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
| ve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
| a:263)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
| :844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
| ss(Http11Protocol.java:584)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
| 7)
| at java.lang.Thread.run(Thread.java:595)
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153226#4153226
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153226
17 years, 11 months
[EJB/JBoss] - Re: Problem by jndi-lookup from Tomcat to JBoss
by thomas2008ch
In the log file I got the full stack trace:
| SCHWERWIEGEND: Servlet.service() for servlet jsp threw exception
| java.lang.NullPointerException
| at org.apache.jsp.index_jsp._jspService(index_jsp.java:87)
| at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
| at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
| at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:595)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153224#4153224
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153224
17 years, 11 months
[EJB/JBoss] - Re: Problem by jndi-lookup from Tomcat to JBoss
by thomas2008ch
Surely you are right.
Here is the exceptions I got in the browser:
| exception
|
| org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 29
|
| 26: exception.printStackTrace();
| 27: }
| 28: %>
| 29: <b><%= tiger.roar() %></b>
| 30:
| 31:
| 32: </body>
|
|
| Stacktrace:
| org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
| org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
| org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
| org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
|
|
| root cause
|
| java.lang.NullPointerException
| org.apache.jsp.index_jsp._jspService(index_jsp.java:87)
| org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
| org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
| org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153223#4153223
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153223
17 years, 11 months
[JBoss jBPM] - Add functionality to the GPD
by SidKennedy
Hello to all,
I decided to open a new thread because I think my issue is a little bit another direction than the one where I made a post. So I'll explain my problem:
I want to add some functionality to the Graphical Process Designer (GPD) Plugin. I don't want to rewrite that plugin because I
want that my plugin can be used with future versions of the GPD. The GPD
has an Outline View and I want to add some nodes there. Is it possible
to hook into an existing view and add some own nodes?
In an Eclipse-newsgroup I got this answer:
anonymous wrote :
| It all depend on how the GPD plug-in was created (which, I suspect,
| nobody on this list is familiar with).
|
| Do you know what kind of object is being displayed the list? You may be
| able to provide an objectContribution for it.
|
| This question might get more (and better) answers on a JBoss jBPM forum.
And that's why I'm here. So can anybody help me?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153222#4153222
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153222
17 years, 11 months
[JBoss Portal] - Images not loading inside jsp
by daedalus
I know this has been talked about before, but:
I modified the HelloWorldJspExample, and I want to display an image like this:
In the war I have the resources dir and the inside it the 2.jpg file, but the image never gets displayed.
When I acces any jsp I get this error in the console:
16:09:22,859 ERROR [STDERR] May 25, 2008 4:09:22 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-iden
tity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
16:09:22,906 ERROR [STDERR] May 25, 2008 4:09:22 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-iden
tity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
16:09:22,906 ERROR [STDERR] May 25, 2008 4:09:22 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-iden
tity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
16:09:22,953 ERROR [STDERR] May 25, 2008 4:09:22 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-iden
tity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
16:09:22,968 ERROR [STDERR] May 25, 2008 4:09:22 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-iden
tity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
16:09:22,968 ERROR [STDERR] May 25, 2008 4:09:22 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-iden
tity.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml
16:09:23,531 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using de
fault value true
16:09:23,531 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensio
nsFilter are disabled now.
16:09:23,531 INFO [MyfacesConfig] Starting up Tomahawk on the RI-JSF-Implementation.
16:09:23,531 INFO [MyfacesConfig] Starting up Tomahawk on the MyFaces-JSF-Implementation
16:09:23,531 ERROR [MyfacesConfig] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-
implementations.
I don't need JSF at all, what jars should I delete???
Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153220#4153220
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153220
17 years, 11 months