Thanks for the replies!
I am not using -b to start JBoss. And I am using JNDI.properties from the JBoss/server/default/conf folder. It has the following :
# DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING
| #
| java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
|
Is some other value required in JNDI.properties?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141293#4141293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141293
Hello!
I get a very strange error:
I have a class which implements java.io.Serializable. This class causes the following exception:
java.io.IOException: Field hash null is not available on current classPath for class at.myclasses.myclass
This exception is thrown in the readstream method of org.jboss.serial.classmetamodel.StreamingClass.
I have no idea what might be the reason that causes this exception to be thrown.
Does anyone of you have an idea?
Thanks for your answer!
E. Hofer
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141287#4141287
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141287
Hi,
1. I am using scopped class loader for my EAR file. jboss-app.xml configuration is as follows,
<jboss-app>
<loader-repository>package:loader=My.ear</loader-repository>
</jboss-app>
2. I have one ejb.jar file in this My.ear file. This jar contains stateless session bean & uses timer services.
3. For using timer services, I have injected SessionContext using @Resource annotation like,
@Resource
protected SessionContext context;
4. Injection works well if I dont use jboss-app.xml. But if use jboss-app.xml, SessionContext is not injected and I get NullPointerException.
Is there any entry that I have to make in application.xml for injecting resources? Or Is there any other way of getting this SessionContext referevce.
Thanks in advace for help
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141276#4141276
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141276