[JBoss Messaging] - Re: Scoped classloaders question
by clebert.suconicï¼ jboss.com
"georgesberscheid" wrote : Hmm, that WIKI entry confuses me a little. How would my deployed application be able to access the client libraries if they are deployed in a scoped classloader that's different from the application's?
|
| Indeed, I get the following exception when I try to open a JMS Topic Connection:
| TopicConnectionFactory factory = (TopicConnectionFactory) initialContext.lookup("ConnectionFactory");
| | topicConnection = factory.createTopicConnection();
| | topicConnection.start();
| java.lang.RuntimeException: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.client.container.ClosedInterceptor
| | at org.jboss.aop.advice.GenericAspectFactory.getClazz(GenericAspectFactory.java:141)
| | at org.jboss.aop.advice.GenericAspectFactory.createPerInstance(GenericAspectFactory.java:182)
| | at org.jboss.aop.InstanceAdvisorDelegate.initializeAspects(InstanceAdvisorDelegate.java:100)
| | at org.jboss.aop.InstanceAdvisorDelegate.initialize(InstanceAdvisorDelegate.java:72)
| | at org.jboss.aop.ClassInstanceAdvisor.<init>(ClassInstanceAdvisor.java:75)
| | at org.jboss.jms.client.delegate.ClientConnectionDelegate._getInstanceAdvisor(ClientConnectionDelegate.java)
| | at org.jboss.jms.client.delegate.ClientConnectionDelegate.start(ClientConnectionDelegate.java)
| | at org.jboss.jms.client.JBossConnection.start(JBossConnection.java:144)
|
| I'm using JBAS 4.0.5 and CallByValue is set to false in /server/default/deploy/naming.sar/META-INF/jboss-service.xml
|
| Thanks,
| Georges
That's why we ask JNDI set callByReference... then your client will get a handle to another class loaded in a different classLoader what should be okay.
This exception you're getting is a bug we are fixing early next week.. about classLoading isolations on aspects... if you download sources from the SP branch it should be already fixed... but we don't have a release yet...
this should be out over the weekend/early next week.!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031197#4031197
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031197
19Â years, 1Â month
[JBoss jBPM] - jBPM : Couldn't be that complicated...
by viniciuscarvalho
Hello there! For the last 6 hours I've been fighting again jBPM and the documentation (or total lack of it) regarding customizing an installation.
jBPM is an awesome product, no doubt of that, but only if you intend to use it with the starter kit.
We are a Red Hat Partner, and we have a real nice SOA prospect in hands. Im defining a process execution example/environment setup for the customer, and it's been a nightmare so far.
I'm trying to get the 3.2 ear version to work (I need to deploy on a standalone jboss), and I've spent the entire day looking at this forum. There's so many flaws on the docs regarding installation.
1st : The queues: If you plan to install the enterprise as standalone, there's no mention the the queues you have to create...
2nd: Database... I read the chapter 8, followed every single step, just to start, the scripts on the 3.2 simply does not work. After all tables get created, the values inserted into JBPM_ID_USER are not enough to grant you enough privileges, there's some relationship missing
I'm not the type that only throws rocks, I'd like to contribute, I'm still fighting against the deployment, and I'm volunteering to help in the wiki as soon as I figure out how to get jBPM 3.2 to work in a standalone jboss instance.
Could anyone tell me what else do I need after creating the users? Which other tables should I fill?
Regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031188#4031188
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031188
19Â years, 1Â month