[EJB 3.0] - Re: JBoss 5 deployment error
by jhsingle
anonymous wrote : Instead of injecting the bean with a @Resource, try injecting it with a @EJB. Tried that with no improvement.
anonymous wrote : I now have to say, self injection won't work in the current version. I spoke with the developer and they couldn't recall why they did this, it was probably a relic of some earlier refactoring. So we took out all the local injections and just made them into local method calls. Deployment still fails with the same error.
I tried changing logging to TRACE on org.jboss.deployers and saw a bunch of "not relevant" messages including this:
2009-01-06 16:41:25,417 TRACE [org.jboss.deployers.plugins.deployers.DeployersImpl] Deployer org.jboss.deployment.EjbClassLoaderDeployer@eafe8d not relevant for vfszip:/home/jhsingl/pkg/jboss-5.0.0.GA/server/default/deploy/workflow.ear/workflow-ejb-2.7.0.jar
| 2009-01-06 16:41:25,417 TRACE [org.jboss.deployers.plugins.deployers.DeployersImpl] Deployer org.jboss.deployment.EjbClassLoaderDeployer@eafe8d not relevant for vfszip:/home/jhsingl/pkg/jboss-5.0.0.GA/server/default/deploy/workflow.ear/usermgmt-ejb-2.7.0.jar
| 2009-01-06 16:41:25,417 TRACE [org.jboss.deployers.plugins.deployers.DeployersImpl] Deployer org.jboss.deployment.EjbClassLoaderDeployer@eafe8d not relevant for vfszip:/home/jhsingl/pkg/jboss-5.0.0.GA/server/default/deploy/workflow.ear/workflow-war-2.7.0.war
| 2009-01-06 16:41:25,417 TRACE [org.jboss.deployers.plugins.deployers.DeployersImpl] Deployer org.jboss.deployment.EjbClassLoaderDeployer@eafe8d not relevant for vfszip:/home/jhsingl/pkg/jboss-5.0.0.GA/server/default/deploy/workflow.ear/usermgmt-war-2.7.0.war
| 2009-01-06 16:41:25,417 TRACE [org.jboss.deployers.plugins.deployers.DeployersImpl] Deployer org.jboss.deployment.EjbClassLoaderDeployer@eafe8d not relevant for vfszip:/home/jhsingl/pkg/jboss-5.0.0.GA/server/default/deploy/workflow.ear
| What (if anything) is this telling me?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199928#4199928
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199928
17 years, 3 months
[JBoss jBPM] - Re: Problem persisting tasks
by kukeltje
Nowhere in the docs, examples etc.. it is mentioned that you should create a context... None of the examples you can find in the source do this.... I've not heard anybody do it... so I *don't* think the docs are the problem here..
and
anonymous wrote : I had to use
| jbpmContext.getSession().save(newTaskInstance);
| and not jbpmContext.save( ..); because if I use this one on the close it gives me "object references an unsaved transient instance" exception will probably disappear if you remove the additional context
anonymous wrote : I'm doing TaskNode.addTask Before create the process instance, when I building the process definition.
| But that is something totally different from what you do on your initial post
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199926#4199926
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199926
17 years, 3 months
[JBoss Messaging] - Re: JBM Topic Pub-Sub
by bdaye42
Please forgive me for posting what may be trivial questions but I have not found the answers to any questions that I have on the web.
Using the above approach, the consumer that takes active control of the subscription would have to poll to retrieve the messages published while it was offline ( consumer.receive() )? When disconnected, the MessageListener's asynchronous nature is eliminated.
I am trying to accomplish something pretty simply but I have yet to find a simple solution. I would like to create message consumers for various topics. The message consumers will be created upon an HTTP request (the socket will be closed and will not wait). So, a particular request could generate a couple of message consumers. What is the correct way to manage them, durable non-durable? If non-durable, store the message consumers in memory?
As you have noticed, I am a JMS newbie and am not aware of existing patterns. If you could provide me with external links or examples, that would be very helpful.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199917#4199917
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199917
17 years, 3 months