Hello wonder,

I'd remove these from the war:
       jaas.jar
       jboss-client.jar
       jboss-j2ee.jar
       jbosssx-client.jar
       jnp-client.jar


Tuesday, May 28, 2002, 3:41:04 PM, you wrote:

ws> Hmmm, here is my war tree:
ws> / (root)
ws> |   administratorLogin.jsp
ws> |   atlas.jsp
ws> |   checkAdministratorLogin.jsp
ws> |   index.jsp
ws> |   register.jsp
ws> |   user_registration.jsp
ws> |
ws> +---css
ws> |       general.css
ws> |
ws> +---data
ws> |       data.jar
ws> |       hicare-kernel.jar
ws> |       hicare-version.jar
ws> |       jaas.jar
ws> |       jboss-client.jar
ws> |       jboss-j2ee.jar
ws> |       jbosssx-client.jar
ws> |       jnp-client.jar
ws> |       myrpg-atlas-client.jar
ws> |
ws> +---download_hicare
ws> |       hicare.jar
ws> |
ws> +---images
ws> |       banner.jpg
ws> |       myrpgbiglogo.jpg
ws> |
ws> +---META-INF
ws> |       MANIFEST.MF
ws> |
ws> +---static
ws> |       bottom.html
ws> |       howto.html
ws> |       intro.html
ws> |       menu.html
ws> |       top.html
ws> |
ws> +---WEB-INF
ws>     |   jboss-web.xml
ws>     |   web.xml
ws>     |
ws>     +---classes
ws>         +---org
ws>             +---myrpg
ws>                 +---atlas
ws>                         Atlas.class

ws> And the my EJBs interfaces are located in a jar file
ws> in
ws> the ear file.

ws> strange isn't it?
ws> I think I'm making something wrong but I can't find
ws> it... :(

ws> thanks for your quick answer :)
ws> wonder Sonic

ws>  --- Alex Loubyansky <[EMAIL PROTECTED]> a �crit�: >
ws> 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>
>>
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>
>>
ws> (org.myrpg.atlas.ejb.UserSessionHome)jndiContext.lookup(
>> ws> "UserSession" ) ).create();
>> 
>> ws> to:
>> ws> serSession = (
>> ws>
>>
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>
>>
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> ___________________________________________________________
>> >> ws> Do You Yahoo!? -- Une adresse @yahoo.fr
>> gratuite
>> >> et en fran�ais !
>> >> ws> Yahoo! Mail : http://fr.mail.yahoo.com
>> >> 
>> >> ws>
>> >>
>> 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>
>>
ws> https://lists.sourceforge.net/lists/listinfo/jboss-user
>> >> 
>> >> -- 
>> >> Best regards,
>> >>  Alex Loubyansky
>> >> 
>> >>  
>> 
>> ws>
>>
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
>> 
>>  

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