[EJB 3.0] - how to enable RMI class loading
by avogt_sundn
Let me try to make that question short:
I get
| Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: palmyra.baustein.geschaeftsverwaltung.antrag.ProtokollVBeanEjb (no security manager: RMI class loader disabled)
|
WAIT, I resolved that by enabling security policy that allows for RMI class loading.
Now I still get java.lang.ClassNotFoundException, but without the RMI hint.
I'd like to actually use RMI class loading. From what I read, there is nothing more to to (in JBoss 4.2.2) but to go to deploy/ejb3.deployer/META-INF/jboss-service.xml and have:
| <mbean code="org.jboss.remoting.transport.Connector"
| name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
| <depends>jboss.aop:service=AspectDeployer</depends>
| <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873/</attribute>
|
changed to
<mbean code="org.jboss.remoting.transport.Connector"
| name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
| <depends>jboss.aop:service=AspectDeployer</depends>
| <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873/?loaderport=4873</attribute>
|
I'd really like to achieve having ie. a standalone client application without my EJBs interfaces in the class path to successfully make a lookup on my ejb.
1) Is it supposed to work at all?
2) How is it configured?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142838#4142838
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142838
18 years
[Messaging, JMS & JBossMQ] - Re: QueueBrowser not returning anything in Enumerator
by adrian@jboss.org
"tim.shaw" wrote :
| I suggest that if an FAQ continues to get asked, then the FAQ section is at fault.
|
The FAQ is a WIKI. If you think it is wrong, misleading or hard to use,
you can fix it yourself. I've got no idea why you think it is wrong, you do.
I'm not psychic.
anonymous wrote :
| Just quoting a correct search term, a URL or even a terse message saying it was covered in the FAQ would have been sufficient - but judging from your previous posts your patience and tolerance levels
|
I have zero tolerance for people that pollute the search index with redundant
repeat questions especially when they then complain that they can't find anything.
anonymous wrote :
| are rather below what I would expect from a professional spokesperson.
|
At jboss.org I'm not an official spokesperson, I'm just another member
of the community answering questions for free.
I'm just one that posts LARTs to try to stop this forum
filling up with lazy/repeat questions making it impossible for other
members of the community to find where a question was actually answered.
Like I always say. If you want to be lazy use the newbies forum.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142832#4142832
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142832
18 years
[JBoss Tools (users)] - Re: unabled to run jboss tools
by phanorcoll
its working now, well the visual page editor..but now i have a different problem, when i create a Seam Project using the jbosstools , it works fine, but when i deploy the project to the jboss AS, it doesn't deploy the necessary libraries to the projectName-ear.ear folder under server/default/deploy
These are the missing libraries
antlr-runtime.jar
drools-compiler.jar
drools-core.jar
jboss-el.jar
jboss-seam.jar
jbpm-jpdl.jar
mvel14.jar
richface-api.jar
in fact, none of these jar appears in the build path of the project.
im i doing something wrong?!!, in windows it works fine,when i create a seam project,all of the necessary libraries are loaded to the project structure and when i build and deploy, all of these libraries are loaded to the correct folder in the AS.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142823#4142823
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142823
18 years