[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2009-02-16 Thread jlward4
jlward4 wrote : I'm having the same problem with JBoss 5.0.0 GA. I've updated my web.xml and it's still not injecting the EJB into my servlet. Any other ideas? Do I need any configuration files other than META-INF/application.xml in my ear? Do I need a jboss-web.xml file? Thanks! I got

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2009-02-11 Thread jlward4
I'm having the same problem with JBoss 5.0.0 GA. I've updated my web.xml and it's still not injecting the EJB into my servlet. Any other ideas? Do I need any configuration files other than META-INF/application.xml in my ear? Do I need a jboss-web.xml file? Thanks! View the original post :

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2009-02-03 Thread bryan.kearney
Should the use of JBossWS-Metro cause this not to work? I have a simple POJO exposed as a web service. It is deployed into a Jboss5 App Server with JbossWS-Metro installed. The POJO references an @EJB and I get NullPointerExceptions when accessing hte instance variable. -- bk View the

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2008-10-02 Thread jaikiran
Wait, i just noticed this in your web.xml: | web-app xmlns=http://java.sun.com/xml/ns/j2ee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee | http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; |

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2008-10-02 Thread rickcr
You're a GENIUS ! That was it! I would have never thought it was my web.xml descriptor!! Man, I tried so many different things !!! argghh. Oh well, hopefully this might help someone else in the future that runs into the same issue. I really appreciate you having taken the time to help! I'll

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2008-10-02 Thread jaikiran
Glad to know that worked :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4179957#4179957 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4179957 ___ jboss-user mailing list

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2008-10-01 Thread jaikiran
Which version of JBoss and Java do you use? Please post the entire exception stacktrace and the console logs when you deploy your application with the following annotation in the servlet: @EJB(mappedName=user-administration/UserServiceBean/local) | private UserService userService; |

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2008-10-01 Thread rickcr
jaikiran wrote : Which version of JBoss and Java do you use? Please post the entire exception stacktrace and the console logs when you deploy your application with the following annotation in the servlet: | | @EJB(mappedName=user-administration/UserServiceBean/local) | | private

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2008-10-01 Thread jaikiran
rickcr wrote : Maybe someone could try the actual ear in their deployment? I put it out here.. http://dl-client.getdropbox.com/u/86998/user-administration.ear (after it deploys try http://localhost:8080/lt-web/hello ) | | I could have tried it, but i am away from my work place and dont

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2008-10-01 Thread rickcr
Thanks again for trying to help. (I have the feeling it's going to be something really stupid that I'm not doing correctly in my maven build. I've looked over the exploded ear though and it seems ok?) Anyway, the EJB seems to deploy ok. I can access it fine grabbing it by the jndi name from

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2008-10-01 Thread jaikiran
The application, the logs and the jndi-tree all look good to me. No obvious issues. I don't see a reason why the bean should not be injected. In your web.xml, you have marked the servlet as load-on-startup: load-on-startup0/load-on-startup Could you try removing this load-on-startup and see