[JBoss Messaging] - WARNING [sun.rmi.transport.tcp] (RMI TCP Accept-0) RMI TCP Accept-0: accept loop for
by Ravi Samavedula
Ravi Samavedula [https://community.jboss.org/people/samavedulark] created the discussion
"WARNING [sun.rmi.transport.tcp] (RMI TCP Accept-0) RMI TCP Accept-0: accept loop for"
To view the discussion, visit: https://community.jboss.org/message/760890#760890
--------------------------------------------------------------
Hi,
I am using Jboss 5.1.0 on a 64 bit Windows R2 machine. We have JCA implementation and JMS also. It gets messages on TCP endpoint and post it to topic.
messages to the TCP port comes at a pace of 20/sec. So JCA handles it using Threads. But we are facing an issues, below is the error it logs.
2012-09-21 20:06:44,182 WARNING [sun.rmi.transport.tcp] (RMI TCP Accept-0) RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=3420] throws
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:597)
at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:727)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:384)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
at java.lang.Thread.run(Thread.java:619)
Is JCA is unable to handle or manage threads?
1 gb Xmx is allocated and 256m for permsize. Machine has total of 4 gb.
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/760890#760890]
Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[JBoss Web Services] - Migrating JBoss AS 5.1 webservice to AS 7.1 failed - IllegalStateException
by Helmut Neubauer
Helmut Neubauer [https://community.jboss.org/people/h.neubauer] created the discussion
"Migrating JBoss AS 5.1 webservice to AS 7.1 failed - IllegalStateException"
To view the discussion, visit: https://community.jboss.org/message/760860#760860
--------------------------------------------------------------
We are migrating our application from JBoss AS 5.1 to AS 7.1. Actually all works fine, except our webservice.
Our webservice is part of a jar deployed in an ear in our standalone deployments folder. After starting our JBoss, there is no error logged, the WSDL can be called without failure and all seems to be fine. But if we are calling the webservice by out webservice client (still deployed in an JBoss AS 5.1) an exception is thrown in our AS 7.1 log:
WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (http--10.9.0.5-8080-1) Application { http://www.dummy.de/dummy/Server/Webservice http://www.dummy.de/dummy/Server/Webservice}dataExchangeService#{ http://www.dummy.de/dummy/Server/Webservice http://www.dummy.de/dummy/Server/Webservice}notifyAboutData has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault
at org.jboss.wsf.stack.cxf.JBossWSInvoker.createFault(JBossWSInvoker.java:246)
at org.jboss.wsf.stack.cxf.JBossWSInvoker._invokeInternal(JBossWSInvoker.java:207)
at org.jboss.wsf.stack.cxf.JBossWSInvoker.invoke(JBossWSInvoker.java:127)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_26]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_26]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_26]
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207)
at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:91)
at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:169)
at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:87)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:108)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:135)
at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140) [jbossws-spi-2.0.3.GA.jar:2.0.3.GA]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
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:368)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]
Caused by: java.lang.IllegalStateException
at org.jboss.as.webservices.invocation.AbstractInvocationHandlerEJB.getEJBMethod(AbstractInvocationHandlerEJB.java:138)
at org.jboss.as.webservices.invocation.AbstractInvocationHandlerEJB.invoke(AbstractInvocationHandlerEJB.java:103)
at org.jboss.wsf.stack.cxf.JBossWSInvoker._invokeInternal(JBossWSInvoker.java:181)
... 32 more
Looking in http://grepcode.com/file/repository.jboss.org/nexus/content/repositories/... source of getEJBMethod and debugging, it seems our method isn't part of the allowed methods, but we don't know why. The webservice worked perfectly in JBoss AS 5.1, all necessary interfaces, etc. are created using predefined WSDL with wsconsume.
Is there anyone who has an idea what the problem is? If you need further information tell me. Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/760860#760860]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[jBPM] - Multiple dynamic human tasks in jbpm process
by nbd
nbd [https://community.jboss.org/people/nbd] created the discussion
"Multiple dynamic human tasks in jbpm process"
To view the discussion, visit: https://community.jboss.org/message/760812#760812
--------------------------------------------------------------
Hello,
I want to manage in a Jbpm process the following thing:
At some point I want to read a dynamic list of users and send all the users an email with a link that would resolve a form
that will ask them to confirm something. So at the time of process definition, I don't know how many users will be there,
and what ids thay would have.
Later on, I have a scheduler that will trigger counting how many users confirmed the form and who they are.
I imagine the form for each user should be a separate human task with actorId specified for each user.
I can't come up with a jbpm mechanism to do such a thing using and graphical BPMN editor. Is there a way
to do this or maybe the only solution is to create the process dynamically using the Process API?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/760812#760812]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[jBPM] - Tomcat6 + Spring + JBPM5.3 integration
by Houssem Salah
Houssem Salah [https://community.jboss.org/people/soyeur] created the discussion
"Tomcat6 + Spring + JBPM5.3 integration"
To view the discussion, visit: https://community.jboss.org/message/753537#753537
--------------------------------------------------------------
Hello
I have a web application configured to work in tomcat using spring . I'm trying to add JBPM workflow engine to my application.
I have configured persistence to work with MySql and JPA 2.0 in persistence.xml. and I have added a spring bean contaning transaction manager and EntityManagerFactory.
My probleme is I got the error saying *could not parse knowledge* when running the following:
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("process/Evaluation.bpmn"), ResourceType.BPMN2);
KnowledgeBuilderErrors errors = kbuilder.getErrors();
KnowledgeBase kbase = kbuilder.newKnowledgeBase();
The line in green check if there is any errors. it contain [ProcessLoadError: unable to parse xml : Exception class java.lang.NullPointerException : null]
Any help will be great
Thinx
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/753537#753537]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[jBPM] - Process design help needed
by nbd
nbd [https://community.jboss.org/people/nbd] created the discussion
"Process design help needed"
To view the discussion, visit: https://community.jboss.org/message/760797#760797
--------------------------------------------------------------
Hi,
I've integrated Jbpm 5.3 with my webapp and PostgreSQL persistence and Mina human task server working on sockets.
I'm fresh in jbpm and currently I'd like to do my first real life process that will run every week and wonder how can I do something like this:
1. Every week I want to create a list uf users in my application (users log to the application and register themselves on the list).
2. Then the registered users can go to a particular person and make a payment. The person taking the payment should register who made a payment.
3. At a particular time in time (e.g. every Sunday morning) I want to send an email to all the users from the list.
4. People that receive the email, get a link to a form where they can make a decision.
5. At a particular time in time, the number of people who made a particular decision is counted and the information about all those peple is send via email somewhere.
I'd like to know what is the best way to desing such a process, for example - part 1. - it has to rerun several times and I don't know how many times it would happen.
Initially I tried to make an event and trigger the event every time a new user registers, but actually how to do such a thing that the process will listen for the event all the time
and fire a script every time the event is signaled (not once, but unknown number of times).
Another issue - 4. People receive email and make a decision - I suppose it should be handled by human task server, but I don't know how many human tasks node
I need, and what actorId should be specified in each of them, since the number and actor ids are decided on runtime.
I'll be thankfull for your suggestions about the design.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/760797#760797]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[jBPM] - Problems with jbpm demo
by Franck cdsosi
Franck cdsosi [https://community.jboss.org/people/cdsosi] created the discussion
"Problems with jbpm demo"
To view the discussion, visit: https://community.jboss.org/message/750409#750409
--------------------------------------------------------------
Hi everyone,
I am new to BPM world so I am starting to have interest with open source BPM solutions including jBPM of course ;)
Before dealing with complex business processes, I am starting playing with the Sample Demo but encounter some problems.
I succeed in executing the demo under eclipse till complete process completion (john + mary Start / Complete jobs) so no problem.
I am playing now with the jBPM console to do the same :
1- log in with krisv and start a new Evaluation process
2- able to see in Personal Task the task just started and click on View to Complete
3- log out
4- log in as john but impossible to get any task displaying in john's Personal Task View even with clicking on Refresh button...
5- log out
6- log in as mary but same as step 4. In the Messages log area i always have a "[INFO ] Loaded 0 tasks"
7- log out
8- log in as krisv, delete the process instance running and start a new one and now no Personal Task displaying with krisv :(
In the log area i have :
2012-07-26 11:30:58,217 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/tasks/krisv http://localhost:8080/gwt-console-server/rs/tasks/krisv
2012-07-26 11:31:18,261 [DEBUG] parse {"tasks":[]}
2012-07-26 11:31:18,277 [INFO ] Loaded 0 tasks
or sometimes
2012-07-26 11:18:33,597 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/tasks/krisv http://localhost:8080/gwt-console-server/rs/tasks/krisv
2012-07-26 11:18:46,536 [FATAL] Uncaught Exception:
java.lang.IllegalArgumentException:
*must be positive*
at Unknown.$fillInStackTrace(StackTraceCreator.java:147)
at Unknown.fillInStackTrace(StackTraceCreator.java:387)
at Unknown.IllegalArgumentException_1(Throwable.java:46)
at Unknown.$schedule(Timer.java:106)
at Unknown.run_26(ClientMessageBusImpl.java:961)
at Unknown.fire(Timer.java:141)
at Unknown.anonymous(Timer.java:60)
at Unknown.entry0(Impl.java:214)
at Unknown.anonymous(Impl.java:57)
2012-07-26 11:18:53,636 [DEBUG] parse {"tasks":[]}
2012-07-26 11:18:53,649 [INFO ] Loaded 0 tasks
Any idea on what's going wrong or what i am doing wrong actually?
I am testing with the jbpm-5.3.0.Final-installer-full version.
Regards
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/750409#750409]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months