[Tomcat, HTTPD, Servlets & JSP] - mod_jk - Broken Pipe error
by meet_nagi
Hi,
In my production system we have a set up of Clustered environment with two nodes of JBOSS-4.0.5.GA, two apache mod_jk 1.2.23 and Cisco load balancer. We also have a firewall inbetween apache and jboss.
When users are trying to access the web pages its loading too long and after some time we are getting the below "Broken Pipe" error.
We also set socket_keepalive=1 in workers.properties but it didn't help.
Any suggestions will be greatly appreciated.
Error:
2007-08-03 01:01:26,003 WARN [org.apache.jk.core.MsgContext] Error sending end packet
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531)
at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:112)
at org.apache.jk.core.MsgContext.action(MsgContext.java:293)
at org.apache.coyote.Response.action(Response.java:182)
at org.apache.coyote.Response.finish(Response.java:304)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:204)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
2007-08-03 01:01:26,007 WARN [org.apache.jk.common.ChannelSocket] processCallbacks status 2
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070881#4070881
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070881
18Â years, 8Â months
[Messaging, JMS & JBossMQ] - MDB fails to deploy InstanceNotFoundException
by MrForms
When starting JBoss all container, I get an error when it tries to deploy one of my MDB:
ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=obp-stats.ear,jar=obp-stats-ejb.jar,name=StatisticListener,service=EJB3 state=Create
org.jboss.deployment.DeploymentException: Unable to create activation spec ra=jboss.jca:service=RARDeployment,name='jms-ra.rar' messaging-type=javax.jms.MessageListener properties={destination=ActivationConfigProperty(destination=queue/StatisticQueue), acknowledgeMode=ActivationConfigProperty(acknowledgeMode=Auto-acknowledge), destinationType=ActivationConfigProperty(destinationType=javax.jms.Queue)}
Caused by: javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='jms-ra.rar' is not registered.
It seems JBoss wants to deploy the MDB before the proper JMS service is properly registered. If I hot deploy the EAR, it works of course cause by then the service is loaded in the proper order.
I tried adding a @Depends({"jboss.jca:service=RARDeployment,name=jms-ra.rar"}), but I get another error:
-> {Described:** UNRESOLVED AbstractDemandMetaData$DemandDependencyItem@9403b0{name=jboss.j2ee:ear=obp-stats.ear,jar=obp-stats-ejb.jar,name=StatisticListener,service=EJB3 dependsOn=null whenRequired=Described resolved=false demand=jboss.jca:service=RARDeployment,name=jms-ra.rar} **}
So, my question is, how do I make sure the MDBs are loaded after the JMS service is activated ? How can I make the @Depends annotation work?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070878#4070878
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070878
18Â years, 8Â months