Re: Servlet fails to deploy

2007-02-01 Thread Tim Davidson
hmmm taking your advice and moving the JAR to the root of the EAR and updating the manifest class-path accordingly fixed the problem. So this got me thinking and I tried it again, using a dot in front of the path (./lib/ MyServeltJAR.jar) and it worked ok, this was a difficult one to spot!

[Geronimo]Adding Apache Ode into Geronimo Server

2007-02-01 Thread Jiang Liu
Hi all I tried to add Apache Ode's generated war archive to Geronimo server, but when starting the server i got follow exceptions: Module 28/28 default/ode/1170299817122/war Fe b 1, 2007 4:28:07 PM org.apache.catalina.realm.RealmBase start INFO: This Realm has already been started Feb 1, 2007

Re: ActiveMQ Reference/Dependencies

2007-02-01 Thread John
I am now using activemq instead of activemq-broker. Does it matter what JVM I use? I was originally using Java 5, but have reverted to the latest Java 1.4.2 release even though it seems to me I should be able to use newer JVMs. The result of these two changes is that it is no longer

Re: ActiveMQ Reference/Dependencies

2007-02-01 Thread John
SendReceiveQueue appears to be defined in the same place as DefaultActiveMQConnectionFactory. I'll try using a queue I have created myself, including a separate dependency to it. Thanks, John - Original Message From: Aaron Mulder [EMAIL PROTECTED] To: user@geronimo.apache.org Sent:

Re: ActiveMQ Reference/Dependencies

2007-02-01 Thread Aaron Mulder
On 2/1/07, John [EMAIL PROTECTED] wrote: SendReceiveQueue appears to be defined in the same place as DefaultActiveMQConnectionFactory. I'll try using a queue I have created myself, including a separate dependency to it. Oh, didn't realize that. Looking again, I think the problem may be

Re: ActiveMQ reference

2007-02-01 Thread Nirav Mehta
Hi Aaron, This worked! Thanks :) - Nirav

using OpenJPA in EJB2.1 application (was: ejb2.1 to Geronimo2.0 migration strategy)

2007-02-01 Thread Hans J. Prueller
Hi together, I decided that it would be a valuable way to migrate existing CMP2.1 EJBs to OpenJPA, as this should also work OUTSIDE a Java EE 5 (and therefore inside EJB2.1) container. The problem I see is that I have to provide the OpenJPA mappings as Java5 annotations, and EJB2.1 projects

Re: Servlet init params not being picked up

2007-02-01 Thread David Jencks
On Feb 1, 2007, at 2:18 AM, John Hawkins wrote: Ah - that did it - thankyou ! This works in other servers - is this a feature? Not sureI thought we were relying on the jetty and tomcat behavior here rather than trying to override it. Any clue if I can override the servlet params

Re: using OpenJPA in EJB2.1 application (was: ejb2.1 to Geronimo2.0 migration strategy)

2007-02-01 Thread David Jencks
On Feb 1, 2007, at 7:41 AM, Hans J. Prueller wrote: Hi together, I decided that it would be a valuable way to migrate existing CMP2.1 EJBs to OpenJPA, as this should also work OUTSIDE a Java EE 5 (and therefore inside EJB2.1) container. The problem I see is that I have to provide the

Re: ActiveMQ Reference/Dependencies

2007-02-01 Thread John
I'd like to thank everyone who helped me out with this. The servlet finally deploys, starts, and (seems to ) put messages on the queue! The relevant pieces to the solution were, for anyone who finds this in Google later when having the same problem: 1. dependency on activemq, not

WANTED: example of accessing a JCA from servlet

2007-02-01 Thread John Hawkins
I'm having fun trying to get a JCA from a servlet. I deploy the JCA first then the servlet next. I believe that I have to have a resource ref in the geronimo-war.xml of the servlet so that it can see it in JNDI - Has anyone got an example geronimo-web.xml that shows me how to do this? many

AW: using OpenJPA in EJB2.1 application (was: ejb2.1 to Geronimo2.0 migration strategy)

2007-02-01 Thread Hans J. Prueller
david, thank you for your comments. please note: our problem is that we have to migrate a project consisting of about 70 CMP/CMR'ed entity beans (ejb2.1). it will be impossible for us to migrate the whole app at once from ejb2.1 to openJPA or something else. so what my plan is, is to

Re: AW: using OpenJPA in EJB2.1 application (was: ejb2.1 to Geronimo2.0 migration strategy)

2007-02-01 Thread David Jencks
On Feb 1, 2007, at 10:48 AM, Hans J. Prueller wrote: david, thank you for your comments. please note: our problem is that we have to migrate a project consisting of about 70 CMP/CMR’ed entity beans (ejb2.1). it will be impossible for us to migrate the whole app at once from ejb2.1

Re: Servlet fails to deploy

2007-02-01 Thread Aman Nanner/MxI Technologies
Is this supposed to work the same way when manipulating the Class-Path entry of a Manifest file in an EJB JAR file, rather than a WAR? It seems that I'm unable to reference any libraries that I put in the root of the EAR file. I have to place the library JARS directly in the EJB module and

AW: AW: using OpenJPA in EJB2.1 application (was: ejb2.1 to Geronimo2.0 migration strategy)

2007-02-01 Thread Hans J. Prueller
However I suspect if you can convince the other app server to run under jdk 1.5 openjpa will be able to deal with annotations just as it does in geronimo. fine. I think the major problem you are likely to run into is that unless there's container managed persitence contexts your

Re: Servlet fails to deploy

2007-02-01 Thread Aman Nanner/MxI Technologies
Interesting, I changed the Class-Path references from ./lib/library.jar to ../lib/library.jar (double period instead of single period), and it worked. So it seems that the initial base directory for Manifest classpath references for an EJB module is the EJB module itself, whereas for WAR files,

Re: Servlet fails to deploy

2007-02-01 Thread Dario Andrade
for me, if you put Class-Path: library.jar directly (without path info) in the MANIFEST.MF and the jar itself in the root of the ear, it will work Cheers, Dario Andrade Aman Nanner/MxI Technologies escreveu: Is this supposed to work the same way when manipulating the Class-Path entry of

Re: Servlet fails to deploy

2007-02-01 Thread Aman Nanner/MxI Technologies
Hmm...I had tried that and it didn't work for me. I'm using Geronimo 1.2-beta. Is that the same version that you were using? Dario Andrade [EMAIL PROTECTED] wrote on 02-01-2007 03:28:18 PM: for me, if you put Class-Path: library.jar directly (without path info) in the MANIFEST.MF and the

Re: Servlet fails to deploy

2007-02-01 Thread Dario Andrade
Actually, I am doing that for an J2EE application client and it does work the way I mentioned. I have not tried anything with an EJB jar, maybe a bug in ejbdeployer? Why don´t you try filing a bug with a test case. In theory it should work. I am using geronimo 1.1.1. Regards, Dario