[JBoss Messaging] - Problem clustering of MDB on JBoss.
by ppt
Issue 1:
We have a cluster of 2 nodes with MDBs deployed in /jboss-4.0.5.GA/server/all/deploy, let's call the servers M1 and M2. They are listening on another cluster of 2 nodes hosting a JBossMQ queue, let's call them Q1 and Q2. So, there are 4 total Jboss AS running concurrently, M1, M2, Q1 and Q2.
1 JMS msg was put on the queue on Q1, the master node . Both MDBs, M1 and M2 consumed the same message and applied their business logic. How is that possible that 2 MDBs consumed the same JMS message? I thought either one of M1 or M2 would consume JMS, but not both.
In our setup, only one MDB has to do work. Is it possible to put the MDBs (ear file) on M1 and M2 in jboss-4.0.5.GA/server/all/deploy-hasingleton to act in singleton mode or are there other solutions?
Issue 2:
I copied ear file containing the MDB into deploy-hasingleton dir.
1) started M1 and M2, ear deployed in M1, but not M2 as expected
2) after shutting down M1, M2 does not become master (problem)
Is there anything else I have to configure to get ear file to work as a singleton?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124866#4124866
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124866
18 years, 2 months
I have the "big" problem with my Jboss in environment Cluster
by Claudemir Ferreira Franco
Hi people,
I have the "big" problem with my Jboss. My situation is:
I Have many applications running in cluster Jboss in the version 4.0.2 and sametimes my two nodes the cluster occurred the following error:
ERROR [org.apache.tomcat.util.threads.ThreadPool] All threads (400) are currently busy, waiting. Increase maxThreads (400) or check the servlet status.
I already analised the threaddump and I didn´t any things about "memory leak, deadlock and etc.." When this is ocurs my portal becomes unavailable. My configuration is:
*) 02 servers running linux version kernel 2.6
*) Version JBOSS is 4.0.2
*) Apache 1.3.37 + Mod_jk.1.2.25
workes.properties
#
# Servidor Jboss Producao 01
#
worker.dcpr0039.port=8009
worker.dcpr0039.host=192.168.0.5
worker.dcpr0039.type=ajp13
worker.dcpr0039.connection_pool_timeout=600
worker.dcpr0039.connection_pool_minsize=10
worker.dcpr0039.connect_timeout=60000 # (1 minute)
worker.dcpr0039.prepost_timeout=60000 # (1 minute)
worker.dcpr0039.lbfactor=1
#
# Servidor Jboss Producao 02
#
worker.dcpr0040.port=8009
worker.dcpr0040.host=192.168.0.6
worker.dcpr0040.type=ajp13
worker.dcpr0040.connection_pool_timeout=600
worker.dcpr0040.connection_pool_minsize=10
worker.dcpr0040.connect_timeout=60000 # (1 minute)
worker.dcpr0040.prepost_timeout=60000 # (1 minute)
worker.dcpr0040.lbfactor=1
server.xml (tomcat)
<!-- A AJP 1.3 Connector on port 8009 -->
<Connector port="8009" address="${jboss.bind.address}"
maxThreads="400" minSpareThreads="150" maxSpareThreads="175"
acceptCount="100"
emptySessionPath="true" enableLookups="false" redirectPort="8443"
protocol="AJP/1.3"/>
httpd.conf
MinSpareServers 5
MaxSpareServers 20
#
# Number of servers to start initially --- should be a reasonable ballpark
# figure.
#
StartServers 10
#
# Limit on total number of servers running, i.e., limit on the number
# of clients who can simultaneously connect --- if this limit is ever
# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
# It is intended mainly as a brake to keep a runaway server from taking
# the system with it as it spirals down...
#
MaxClients 500
Please, Someone could help me?
Thanks.
- - - - - - -
Claudemir Ferreira Franco
Analista Suporte Unix
BrasilTelecom Site III - CyberDatacenter
Tel: 41 3305-1657
HYPERLINK "mailto:claudemir.franco@b2br.com.br"claudemir.franco(a)b2br.com.br
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.16/1251 - Release Date: 30/1/2008 09:29
18 years, 2 months
[JBoss jBPM] - BPEL
by twallmey
Hi all,
I'm trying to install the "hello"-BPEL example for hours now. Would be great if someone could give me some hint where the problem is. Here is what I've done so far (just followed the getting started tutorial):
I've installed JBoss application server and jbpm-bpel (pls. see attached versions below). I can access the jBPM-web-console, could generated the database scheme - all without any problems. But when I try to deploy the "hello" example I get the following error message (stack trace) on jboss console (deployment is done with unchanged ant task "deploy.process"):
I'm looking forward to your responses and ideas!
17:20:46,742 INFO [DeploymentServlet] deployed process definition: HelloWorld
| 17:20:46,880 ERROR [[deploymentServlet]] Servlet.service() for servlet deploymen
| tServlet threw exception
| java.lang.NullPointerException
| at org.jbpm.bpel.tools.WscompileTool.getLocation(WscompileTool.java:240)
|
| at org.jbpm.bpel.tools.WscompileTool.formatClasspath(WscompileTool.java:
| 227)
| at org.jbpm.bpel.tools.WscompileTool.callWscompile(WscompileTool.java:19
| 7)
| at org.jbpm.bpel.tools.WscompileTool.generateJavaMappingImpl(WscompileTo
| ol.java:156)
| at org.jbpm.bpel.tools.WscompileTool.generateJavaMapping(WscompileTool.j
| ava:143)
| at org.jbpm.bpel.tools.WebModuleBuilder.callJavaMappingTool(WebModuleBui
| lder.java:264)
| at org.jbpm.bpel.tools.WebModuleBuilder.buildModuleImpl(WebModuleBuilder
| .java:102)
| at org.jbpm.bpel.tools.WebModuleBuilder.buildModule(WebModuleBuilder.jav
| a:84)
| at org.jbpm.bpel.web.DeploymentServlet.deployWebModule(DeploymentServlet
| .java:205)
| at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:99)
|
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
| 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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
| lter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
| icationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
| ilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
| alve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
| alve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
| yAssociationValve.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
| e.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
| ava:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
| ava:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC
| onnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
| ve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
| a:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
| :844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
| ss(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
| 6)
| at java.lang.Thread.run(Thread.java:619)
|
|
I'm using currently using:
- JBoss 4.2.2GA
- jbpm-bpel1.1GA
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124863#4124863
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124863
18 years, 2 months