Hello wonder,

Tuesday, May 28, 2002, 3:27:50 PM, you wrote:

ws> Well,
ws> here are my results for localhost:8082

ws> MBean View [JMX RI/1.0] 

ws> MBean Name:
ws> jboss.j2ee:service=EJB,jndiName=myrpg-atlas/UserSession

ws> MBean Java Class:
ws> org.jboss.ejb.StatelessSessionContainer 
ws> ...

ws> I change my code from:
ws> serSession = (
ws> (org.myrpg.atlas.ejb.UserSessionHome)jndiContext.lookup(
ws> "UserSession" ) ).create();

ws> to:
ws> serSession = (
ws> (org.myrpg.atlas.ejb.UserSessionHome)jndiContext.lookup(
ws> "myrpg-atlas/UserSession" ) ).create();

ws> then I've got a strange exception:
ws> java.lang.ClassCastException: $Proxy44
ws>         at
ws> org.apache.jsp.register$jsp._jspService(register$jsp.java:219)

Do you place interfaces for UserSession in the war lib directory? If
so, remove them from the war.

ws> What does it mean??? :)

ws> Wnder Sonic (with a headache)


ws>  --- Alex Loubyansky <[EMAIL PROTECTED]> a �crit�: >
ws> Hello wonder,
>> 
>> Possible variants:
>> 1. the bean wasn't bound to JNDI;
>> 2. you look it up with a wrong name;
>> 
>> Can you see it bound in JNDI View? (localhost:8082)
>> 
>> alex
>> 
>> Tuesday, May 28, 2002, 3:01:13 PM, you wrote:
>> 
>> ws> Hello everybody,
>> ws> I've got one error using Session beans
>> (UserSession)
>> ws> from a JSP and I've got the following error:
>> 
>> ws> ...
>> ws> javax.servlet.ServletException: UserSession not
>> bound
>> ws> ...
>> 
>> ws> Can someone tell me what can cause this error?
>> 
>> ws> thanks in advance,
>> ws> Wondersonic
>> 
>> 
>> 
>> ws>
>>
ws> ___________________________________________________________
>> ws> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite
>> et en fran�ais !
>> ws> Yahoo! Mail : http://fr.mail.yahoo.com
>> 
>> ws>
>>
ws> _______________________________________________________________
>> 
>> ws> Don't miss the 2002 Sprint PCS Application
>> Developer's Conference
>> ws> August 25-28 in Las Vegas --
>> http://devcon.sprintpcs.com/adp/index.cfm
>> 
>> ws> _______________________________________________
>> ws> JBoss-user mailing list
>> ws> [EMAIL PROTECTED]
>> ws>
>>
ws> https://lists.sourceforge.net/lists/listinfo/jboss-user
>> 
>> -- 
>> Best regards,
>>  Alex Loubyansky
>> 
>>  

ws> ___________________________________________________________
ws> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
ws> Yahoo! Mail : http://fr.mail.yahoo.com

-- 
Best regards,
 Alex Loubyansky



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to