-
1. Re: Trying to access ejb in jboss
jsk Sep 10, 2001 3:51 AM (in response to weetat)Hi Weetat
What is assigned to jndiname?
Is the bean deployed correctly?
Jesper -
2. Re: Trying to access ejb in jboss
seven Sep 10, 2001 4:50 AM (in response to weetat)I think u should change the line
props.put(Context.PROVIDER_URL, "localhost:1099");
to
props.put(Context.PROVIDER_URL, "the_host_where_jboss_is_located:1099"); -
3. Re: Trying to access ejb in jboss
weetat Sep 10, 2001 5:03 AM (in response to weetat)Hi seven ,
I have done that. However when my jsp tried to call the ejb from jboss container , it display error message below :
javax.naming.CommunicationException : Root exception is java.io.StreamCorruptedException : Type code out of range , is 125
at java.io.ObjecInputStream.peekCode(ObjectInputStream.java:1276)
.........................
..
Do you have any ideas why i have the error message ??
Thanks russell. -
4. Re: Trying to access ejb in jboss
bdturne Dec 6, 2001 10:30 AM (in response to weetat)Damn - I've got this exact problem - and I thought the answer was going to be here !
Has anyone had this problem / anyone got any idea how to FIX this problem ?
Ben