Hi Aneesh ,,.. ...... i'm waiting 4 ur reply.....what i configured in myApp if the server is running on my machine only ..... is below....
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
env.put(Context.URL_PKG_PREFIXES,
"=org.jboss.naming:org.jnp.interfaces");
env.put(Context.PROVIDER_URL, "jnp://localhost:1099");
....................
But if i'm using the server which is running in another machine then how can i configure that server.
if i tried like below it shows an error....
....
....
env.put(Context.PROVIDER_URL, "jnp://192.116.23.25:1099");
So plz tell me or post the code and tell me what configuraion (if required) i have to make in the server machine.....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149297#4149297
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149297
Have solved the problem.
Actually job.class was out in server\all\lib and also in e1 EAR.
So when I was checking for isAssignableFrom , the class versions were different as classloaders were different and isolation ear was enabled using jboss_app.xml.
I removed job.class from e1 ear and now have just one copy in lib and no other module will have it.
isAssignableFrom is returning correct value.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149296#4149296
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149296