[jboss-user] [JBossWS] - Re: Secure Webservice

2007-09-06 Thread rbellia
I have the same probelm with JBoss AS 4.2.1 ... The endpoint: | @Stateless @WebService | @RolesAllowed({"clerk"}) | public class CalculatorBean implements CalculatorRemote, CalculatorLocal { | | @Resource SessionContext sessionCtx; | | public Integer sum(Integer a, Integer

[jboss-user] [EJB 3.0] - Re: Why is injection not working in AS 4.0 and 4.2 (servlets

2007-08-23 Thread rbellia
JBoss 4.2.1 doen´t seem to support JPA Injection in servlets either. Trying the same WAR i have tryed with 5 beta2, I´m facing the following problems: The Persistence Unit is not considered automatically. I had to manually start the EMFactory up from a Filter.init or some ServletContextListener

[jboss-user] [EJB 3.0] - Re: Why is injection not working in AS 4.0 and 4.2 (servlets

2007-08-23 Thread rbellia
I´m trying to do JPA Injection in a WAR module with JBoss 5 beta2. I´m configuring the persistence.xml according to http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/entityconfig.html Here is my persistence.xml: http://java.sun.com/xml/ns/persistence"; | xmlns:xsi="http:/