[JBoss Messaging] - JBoss 6: Can't connect to JMS before server has started up completely
by Jack van Ooststroom
Jack van Ooststroom [http://community.jboss.org/people/oosie] created the discussion
"JBoss 6: Can't connect to JMS before server has started up completely"
To view the discussion, visit: http://community.jboss.org/message/587517#587517
--------------------------------------------------------------
It seems that with JBoss AS 6.0.0.Final I can't connect to JMS before the application server itself has started up completely. I'm using the InitialContext approach as I can't use Message Driven Beans in the project.
I created a JMS Topic in [jboss-home]/server/default/deploy/hornetq/hornetq-jms.xml as follows:
<topic name="MyTopic">
<entry name="/topic/test"/>
</topic>
Next I'm trying to connect to JMS from my JMSServlet's init(ServletConfig) method, but that seems to fail when executing the JMS detection on the original thread (that is the thread supplied by the application server) as follows:
Unable to validate user: null for check type CREATE_NON_DURABLE_QUEUE for address jms.topic.MyTopic
I'd prefer not having to specify the user/password, but even if I do it fails in a similar fashion:
Unable to validate user: guest for check type CREATE_NON_DURABLE_QUEUE for address jms.topic.MyTopic
When I do the detection of JMS on a seperate thread it eventually seems to work, as long as the application server started up completely. However, timing is then a bit undeterministic. When running this test on earlier versions of JBoss AS, namely 5 and 4, or other application servers the detection seems to succeed on the first try on the original thread.
Why does JBoss AS 6.0.0.Final behave differently? Is there some configuration I am missing? Is this a potential bug?
I'll attach my JMS Test application which tries to connect to JMS using 6 different strategies:
* On original thread
* On original thread after sleep
* On spawned thread with await/signal
* On spawned thread with await/signal after sleep
* On spawned thread without await/signal
* On spawned thread without await/signal after sleep
The source is included in the jmstest.war file.
Regards,
Jack
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/587517#587517]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[jBPM] - Advice on using the jBPM console as an end user application
by cs1
cs1 [http://community.jboss.org/people/cs1] created the discussion
"Advice on using the jBPM console as an end user application"
To view the discussion, visit: http://community.jboss.org/message/586787#586787
--------------------------------------------------------------
Hi,
I'm in the process of orienting myself in the BPM world for the fist time, and have a limited understanding of the implementation details.
I'm looking for an application to present task forms to end users, give them a place to manage their task queues, as well as start new tasks; it looks like the jBPM console can do this, but I'm not entirely sure if it's more for developer testing or if it's something intended for an end user (in a medium sized company). Looking at the jBPM5 manual, the discussion on form generation is fairly light and the input validation seems to be minimal. So is the idea here that you would write a more full featured task form using the included form framework? Or is the console more intended as a back end interface that provides some basic task managment and servers as a sample application, and you would normally just write your own application front end?
Any information appreciated, sorry if my question is a bit vague...
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/586787#586787]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[JBoss Tools] - JBoss tools 3.2B1 sometimes doesn't deploy classes in web module
by arjan tijms
arjan tijms [http://community.jboss.org/people/atijms] created the discussion
"JBoss tools 3.2B1 sometimes doesn't deploy classes in web module"
To view the discussion, visit: http://community.jboss.org/message/570116#570116
--------------------------------------------------------------
Hi,
I'm using JBoss Tools 3.2 beta 1 with Eclipse 3.6.1 on Ubuntu 10.10 (64 bits) on JDK6U21. I have an EAR project that is deployed to JBoss AS 5.1. This initially works correctly, but after I stop the server, make some changes to my files, pull in new changes from Mercurial etc I restart the server.
I then get class not found errors, and when I inspect the deployment in JBoss AS it seems that there are most classes are missing in the web module's WEB-INF directory. Strangely however, there are some classes that are deployed and for some classes that are missing, the package folder is there but it's empty.
The "Server Log" view for the JBoss 5.1 Runtime Server mentions under the Publishing node:
1 files modified in module my_main_ejb 31 minutes, 2 seconds ago
81 files modified in module my_main_web 31 minutes, 2 seconds ago
The 31 minutes exactly corresponds with the time I started the server and the classes where missing. The Modified time of the files that are present in the WEB-INF/classes also corresponds with this.
I did notice that there are some suspect events in the log, but these are dated a couple of hours back where the deploy did work. It is:
No publisher found for module DeletedModule[saxon9.jar,org.eclipse.jst.jee.server:/binary:/home/myuser/workspace/my_main/libraries/saxon9.jar.
This did happen a couple of time before, and I could fix it by closing and re-opening the EAR and it's associated web and EJB projects and cleaning, restarting, etc (don't know exactly in which order). I remember a very similar bug in JBoss tools 3.1 where sometimes only the most recently touched files where deployed.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/570116#570116]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[jBPM] - two versions of jbpm in an application
by Jacek Koziel
Jacek Koziel [http://community.jboss.org/people/cage] created the discussion
"two versions of jbpm in an application"
To view the discussion, visit: http://community.jboss.org/message/587483#587483
--------------------------------------------------------------
Hello,
Is there possibility to use two different versions of jBPM in the same application? has anybody tried this?
I have an application using jBPM 3.2.2 (app was developed few years ago). Recently there is a need to extend it with some new business processes - i'd like to use jBPM 4.4, as it is faster, simpler and has clear db schema. Anyway there is not much time, and i would like to skip migration of old ones (plenty of processes, regression testing needed etc and jBPM4 is not fully backwards compatibile). What i would like to do, is to use the old features as they are, and to implement new processes with jBPM 4.4. I guess i could write my own classloaders to prevent version conflict or use OSGi. Did anyone have such a try? I know that it's not the best idea, but the decision is not up to me. Greets.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/587483#587483]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months