[JBoss-user] [Beginners Corner] - Re: Help with lookng up a bean

2005-11-25 Thread simonnunn
Problem solved. It was a classloader problem. I had the interfaces in the .war and the ejbs jar. Removed all interfaces from the war and it works now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909115#3909115 Reply to the post : http://www.jboss.com/i

[JBoss-user] [Beginners Corner] - Re: Help with lookng up a bean

2005-11-25 Thread simonnunn
Jboss version is 4.0.3. I see the bean being bound: 14:34:43,265 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'Stegiuser' to jndi 'stegi/StegiuserLocalHome' The following code always fails with a classcast exception in getLocalHome: public static com.cei.stegi.server.beans.interfaces.S

[JBoss-user] [Beginners Corner] - Re: Help with lookng up a bean

2005-11-24 Thread simonnunn
Tried that...still didn't work. Is there something that I need to put into the WAR file? Some xml file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908949#3908949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908

[JBoss-user] [Beginners Corner] - Help with lookng up a bean

2005-11-23 Thread simonnunn
>From a servlet, I am looking up a bean. I always get back a $proxy### object >instead of the LocalHome interface. What am I doing wrong? The EJBs are >deployed successfully, and so is the war. I just can't seem to get the >localhome correctly. View the original post : http://www.jboss.com