Re: package javax.resource.spi.security does not exist

2009-01-11 Thread axiez
I downloaded Maven 2.0.9 and used it to compile my first sample project. It gave a compilation failure message "package javax.resource.spi.security" does not exist axiez wrote: > > I am trying to compile PasswordLoginModule.java but getting compilation > error that says "package javax.resource.s

How to get hold of a WorkManager in a web app?

2009-01-11 Thread fladimir
I've tried searching for this a lot, but I haven't found any documentation yet of any JNDI name for DefaultWorkManager or anything similar. Any advice? The WorkManager is to be used by a session bean. -- View this message in context: http://www.nabble.com/How-to-get-hold-of-a-WorkManager-in-a-w

Re: package javax.resource.spi.security does not exist

2009-01-11 Thread David Jencks
You haven't provided enough info for us to do more than guess. What class(es) are not compiling? What relationship do these classes have to javax.resource.spi.security? What are the dependencies of your maven project? btw that package is supplied by org.apache.geron

Re: How to get hold of a WorkManager in a web app?

2009-01-11 Thread David Jencks
I assume you are talking about the j2ca work manager we've had for a long time rather than a newer choice -- I think the ee concurrent spec may also have a work manager and I don't know about ejb 3.1. The default work manager isn't bound in jndi right now. To bind it you can include a bind

Re: package javax.resource.spi.security does not exist

2009-01-11 Thread axiez
It worked. How do I know the version of dependency geronimo-ejb_3.0_spec? Following entry in pom.xml generated compilation error org.apache.geronimo.specs geronimo-ejb_3.0_spec provided Where can I find this type of information for each package? axiez wrote: > > I am trying t

Re: package javax.resource.spi.security does not exist

2009-01-11 Thread David Jencks
On Jan 11, 2009, at 9:59 AM, axiez wrote: It worked. How do I know the version of dependency geronimo- ejb_3.0_spec? Following entry in pom.xml generated compilation error org.apache.geronimo.specs geronimo-ejb_3.0_spec provided Where can I find this type of information for

Re: package javax.resource.spi.security does not exist

2009-01-11 Thread axiez
I added but still I am getting the following compilation error: package javax.ejb does not exist axiez wrote: > > I am trying to compile PasswordLoginModule.java but getting compilation > error that says "package javax.resource.spi.security does not exist". > -- View this message in context:

Re: Maven build failed with missing WEB-INF/geronimo-web.xml

2009-01-11 Thread Shawn Jiang
It could be : <*plugins*> <*plugin*> org.apache.*maven*.*plugins* *maven*-XXX-*plugin* <*manifest*> false The XXX stands for war, jar, or ear. 2009/1/11 David Jencks > > On Jan 10, 2009, at 12:22 PM, bongosdude wrote: > > >> David, >> >> This is

How to Inject Datasource into session stateless bean?

2009-01-11 Thread bongosdude
Hi, I have created sucessfully a data pool name="jdbc/mydb" and below is my stateless ejb @Stateless(name="myslsb") @Local(ISessionLocal.class) @Remote(ISessionRemote.class) public class MySLSB implements ISessionLocal, ISessionRemote { @Resource(name="jdbc/mydb") private DataSource ds

Re: Geronimo Console

2009-01-11 Thread Jack Cai
Yes the admin console should honor the priority of user agent's language setting. I've created a JIRA to track this: https://issues.apache.org/jira/browse/GERONIMO-4507 Thanks for reporting this! -Jack 2009/1/10 cbkihong > > > > Donald Woods-2 wrote: > > > > What level of Geronimo are you usin

Re: package javax.resource.spi.security does not exist

2009-01-11 Thread axiez
I added the following dependency to pom.xml: org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0.1/geronimo-ejb_3.0_spec-1.0.1.jar Error message when I tried to compile it: Parse error reading POM. Unrecognized tag: 'uri djencks wrote: > > > On Jan 11, 2009, at 9:59 AM, axiez