When is the lookup being done? Is it done when the server is starting up? Or is it after the deployment of your application has been done successfully?
anonymous wrote : javax.naming.NameNotFoundException: MyWorkerBean not bound
How are you packaging the application? Is it just a jar file or an ear? If it's an ear then you will have to prefix the name of the ear file to the JNDI name. For example, if your application is MyApp.ear and the bean implementation classname is MyWorkerBean and your are looking up the remote interface, then the default lookup string will be:
| MyWorker myWorker = (MyWorker) context.lookup("MyApp/MyWorkerBean/remote");
And the most important thing to do when you run into a NameNotFoundException is to look at the JNDI tree through the jmx-console of JBoss. That will show you the exact lookup string you have to use. For more details, you can refer http://jaitechwriteups.blogspot.com/2007/10/why-do-i-get-namenotfoundexce...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112163#4112163
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112163
anonymous wrote : java.lang.ClassNotFoundException: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory (no security manager: RMI class loader disabled)]
All you have to do is, make sure that the standalone client has the appropriate JBoss jar file(s) in its classpath. You dont have to do anything related to the security manager. I usually place the jbossall-client.jar (present in %JBOSS_HOME%/client folder) file in a standalone client's classpath. I am not sure which jar file this org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory class belongs to. You might have to search through the jboss jar files and find the appropriate one.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112162#4112162
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112162
talk about bad luck:)
well, I'm looking forward to the new release coming soon, so I'll be patient and wait:)
By the way, somewhere it was described that a chapter about basic Richfaces Portlers should be written, but when I browsed the documentation yesterday I couldn't find anything but Sun RI implementation and Myfaces documentation. It's about using the new JSR-301 generic portlet bridge.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112151#4112151
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112151