Pre-Compiling

2008-02-26 Thread Mark Aufdencamp
Hi All,

It's been a while since I posted to the list.  I've been working with
Geronimo 1.1 on an application for the last year.  It's finally grown
large enough that I'd like to pre-compile my JSP's and Struts Action
Servlets prior to deploying them. How does one accomplish this?  I
googled and didn't find anything real definitive.  I'd prefer utilizing
Ant over Maven, as it already exists in my development environment.

Also, I've attempted an initial deployment of my EAR to Geronimo 2, but
it didn't like my deployment descriptor.  I'm guessing I just need to
change the xmlns:sys from deployment-1.1 to deployment-2.0, but would
like to confirm that.  Any info on porting from 1.1 to 2 is welcome.

TIA
Mark Aufdencamp
[EMAIL PROTECTED]



Re: Pre-Compiling

2008-02-26 Thread Jason Warner
Hi Mark,

I don't know anything about pre-compiling, but I can tell you that the
appropriate deployment descriptor is deployment-1.2

On Tue, Feb 26, 2008 at 1:07 PM, Mark Aufdencamp [EMAIL PROTECTED]
wrote:

 Hi All,

 It's been a while since I posted to the list.  I've been working with
 Geronimo 1.1 on an application for the last year.  It's finally grown
 large enough that I'd like to pre-compile my JSP's and Struts Action
 Servlets prior to deploying them. How does one accomplish this?  I
 googled and didn't find anything real definitive.  I'd prefer utilizing
 Ant over Maven, as it already exists in my development environment.

 Also, I've attempted an initial deployment of my EAR to Geronimo 2, but
 it didn't like my deployment descriptor.  I'm guessing I just need to
 change the xmlns:sys from deployment-1.1 to deployment-2.0, but would
 like to confirm that.  Any info on porting from 1.1 to 2 is welcome.

 TIA
 Mark Aufdencamp
 [EMAIL PROTECTED]




-- 
~Jason Warner


Re: Pre-Compiling

2008-02-26 Thread Dan Becker

Mark Aufdencamp wrote:

It's been a while since I posted to the list.  I've been working with
Geronimo 1.1 on an application for the last year.  It's finally grown
large enough that I'd like to pre-compile my JSP's and Struts Action
Servlets prior to deploying them. How does one accomplish this?  I
googled and didn't find anything real definitive.  I'd prefer utilizing
Ant over Maven, as it already exists in my development environment.


Hi Mark,

I think pre-compilation of your JSPs is a function of which JSP engine 
you run and your build environment.


One useful link for Tomcat is given here which shows you how to do it 
with Ant:

http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html

--
Thanks, Dan Becker


RE: Pre-Compiling

2008-02-26 Thread Mark Aufdencamp
Thanks for the pointers on pre-compiling.

  Original Message 
 Subject: Pre-Compiling
 From: Mark Aufdencamp [EMAIL PROTECTED]
 Date: Tue, February 26, 2008 1:07 pm
 To: user@geronimo.apache.org
 
 
 Hi All,
 
 It's been a while since I posted to the list.  I've been working with
 Geronimo 1.1 on an application for the last year.  It's finally grown
 large enough that I'd like to pre-compile my JSP's and Struts Action
 Servlets prior to deploying them. How does one accomplish this?  I
 googled and didn't find anything real definitive.  I'd prefer utilizing
 Ant over Maven, as it already exists in my development environment.
 
 Also, I've attempted an initial deployment of my EAR to Geronimo 2, but
 it didn't like my deployment descriptor.  I'm guessing I just need to
 change the xmlns:sys from deployment-1.1 to deployment-2.0, but would
 like to confirm that.  Any info on porting from 1.1 to 2 is welcome.
 
 TIA
 Mark Aufdencamp
 [EMAIL PROTECTED]



Re: Pre-Compiling

2008-02-26 Thread Kevan Miller


On Feb 26, 2008, at 1:07 PM, Mark Aufdencamp wrote:


Hi All,

It's been a while since I posted to the list.  I've been working with
Geronimo 1.1 on an application for the last year.  It's finally grown
large enough that I'd like to pre-compile my JSP's and Struts Action
Servlets prior to deploying them. How does one accomplish this?  I
googled and didn't find anything real definitive.  I'd prefer  
utilizing

Ant over Maven, as it already exists in my development environment.


We (Geronimo) use the maven Jspc plugin -- http://mojo.codehaus.org/jspc-maven-plugin/ 
 -- in our build (check our pom.xml for more details).


For ant-based compilation, suggest you use Tomcat 6 precompilation  
support. Look for 'Web App Compilation' in http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html


Looks like Jason answered your other question.

--kevan


Re: Geronimo v2.1 Plan Creator = Deploy Liferay 4.1.1

2008-02-26 Thread Jim Foster

Hi David,

My responses are in-line.


djencks wrote:
 
 I got the archetypes sort of working and made some progress on liferay.
 
 See https://issues.apache.org/jira/browse/GERONIMO-3871 and the attached
 jar which contains the projects I came up with and some notes on what I
 did.
 
 It would be great if you could imitate what I did to see if my
 instructions make sense. I'm planning to write up something like this in
 the docs.
 


Yes, your instructions make sense...up to the archetype part, particularly
what you mean by Edit the poms and plans..

It may just be my lack of familiarity with Geronimo deployment plans, but in
the command line for the war file, you specify
  
  groupId=com.liferay
  artifactId=liferay-portal
  version=4.4.1
  packaging=war

...but looking at your editiion of geronimo-web.xml I see this:

  moduleId
groupIdliferay/groupId
artifactIdliferay-portal-tomcat/artifactId
version4.4.1/version
typecar/type
  /moduleId

Shouldn't these by in sync? (meaning the artifactId)


The only thing I don't see covered was the required derby-pool, but I think
we might agree that Shiva has that well covered.

Eventually, what is really needed is an example of how to use a database
like MySQL or Oracle so one may use the Liferay database scripts to populate
it.


Here is the writeup of my experience as feedback. Hopefully, this may also
help your documentation effort.

I would greatly appreciate your comments/corrections.


Summary:

I did the same as you outlined in the file 
  
  LIFERAY-README.txt

found in your liferay-sample-project.jar of 

  https://issues.apache.org/jira/browse/GERONIMO-3871
  
except that I used 

  Console  Repository = deploy the dependencies (jars)
  Console  Deploy New = deploy the war

Deployment of the liferay-portal-geronimo-derby-pool-4.4.1.car was via the
deploy tool.

See Details, below.


Result:

Security-related issues were resolved if your geronimo-web.xml file is
modified to point to where j2ee-security lives (see [4] below).
However, a new problem emerges (see bottom of [4] below).

See Details, below.


Details:
-
The rest of this post details what is summarized above.
I'm going to be verbose in outlining my steps-taken so as to be sure we are
staying in sync as to full context/assumptions.

Sections below:

  [1] versions
  [2] liferay-portal-dependencies-4.4.1.zip
  [3] liferay-portal-geronimo-derby-pool-4.4.1.car
  [4] liferay-portal-4.4.1.war

Bottom of post:

  [geronimo-plugin.xml]
  [geronimo-web.xml]
  

[1] versions

• Geronimo version: The offical 2.1 release found at
http://geronimo.apache.org/downloads.html
• OS: Windows XP, SP2, current with all hotfixes
• Apache version: 2.2.4
• Java version: 1.5.0_14


[2] liferay-portal-dependencies-4.4.1.zip

• Used Console  Repository to deploy

- portal-kernel.jar
- portal-service.jar
  
• Group/Artifact/Version/Type was specified the same as you stated in
your LIFERAY-README.txt,
  so added to the repository were:

com/liferay/
portal-kernel/4.4.1/portal-kernel-4.4.1.jar
portal-service/4.4.1/portal-service-4.4.1.jar


[3] liferay-portal-geronimo-derby-pool-4.4.1.car

• Downloaded from
http://sourceforge.net/project/showfiles.php?group_id=49260

• Extracted contents of the car file

• Modified the META-INF/geronimo-plugin.xml file as discussed in Shiva's
post of Feb 22, 2008; 05:14am
 
(http://www.nabble.com/Geronimo-v2.1-Plan-Creator-%3D%3E-Deploy-Liferay-4.1.1-tt15437773s134.html)
  File contents is at bottom of this post. See [geronimo-plugin.xml].

• Regenerated the car file:

jar -cf liferay-portal-geronimo-derby-pool-4.4.1.car *

• Deployed that car file via the command line:

deploy --user system --password manager install-plugin
liferay-portal-geronimo-derby-pool-4.4.1.car

  Console output was:
  
   
---
Using GERONIMO_BASE:   D:\Geronimo\geronimo-tomcat6-javaee5-2.1
Using GERONIMO_HOME:   D:\Geronimo\geronimo-tomcat6-javaee5-2.1
Using GERONIMO_TMPDIR: var  emp
Using JRE_HOME:D:\Java\jdk1.5.0_14\jre
Checking for status every 1000ms:
Downloading liferay/liferay-pool/4.4.1/car (65%)
Starting liferay/liferay-pool/4.4.1/car

 Installation Complete!
Used existing: org.apache.derby/derby/10.2.2.0/jar
Used existing: org.apache.geronimo.configs/system-database//car
Used existing: org.apache.geronimo.configs/transaction//car
Used existing: org.apache.geronimo.configs/j2ee-server//car

Downloaded 5687 kB in 5s (1137 kB/s)
Now starting liferay/liferay-pool/4.4.1/car...
Module liferay/liferay-pool/4.4.1/car is already running
   

Geronimo 1.1 to 2.1/ J2EE to JEE(5)

2008-02-26 Thread Mark Aufdencamp
As I a haven't seen this specifically identified, I thought I'd outline
my thoughts and have them confirmed.  Everyones comments are appreciated

I'm presuming no required changes to the codebase.  The only requirement
to port a J2EE Geronimo 1.1 Enterprise Application to run as a JEE
Geronimo 2.0/2.1 Enterprise Application are changes to the Application
Server specific deployment descriptors.  I don't for see problems with
the EAR or WAR's, but have my concerns about the EJB's.  My
understanding is that EJB 2.1 is required to function as a part of the
JEE spec.  Read: You don't have to port from EJB 2.1 to EJB 3.0,
although there are significant advantages to the new JPA technology.

To port a J2EE Enterprise Application from Geronimo 1.1 to a JEE(5)
Enterprise Application on Geronimo 2.0/2.1

EAR Project Definition

application.xml
xmlns=http://java.sun.com/xml/ns/j2ee;
No Changes Required

geronimo-application.xml
xmlns=http://geronimo.apache.org/xml/ns/j2ee/application-1.1;

becomes

xmlns=http://geronimo.apache.org/xml/ns/j2ee/application-2.0;

EJB Project Definition

ejb-jar.xml
No Changes Required

openejb-jar.xml

xmlns=http://www.openejb.org/xml/ns/openejb-jar-2.1;
xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.1;
xmlns:pkgen=http://www.openejb.org/xml/ns/pkgen-2.0;
xmlns:sec=http://geronimo.apache.org/xml/ns/security-1.1;
xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.1;

becomes

xmlns=http://www.openejb.org/xml/ns/openejb-jar-2.1;
xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.2;
xmlns:pkgen=http://www.openejb.org/xml/ns/pkgen-2.0;
xmlns:sec=http://geronimo.apache.org/xml/ns/security-2.0;
xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.2;


WebApp Project Definition

web.xml
No Change Required

geronimo-web.xml
xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-1.1;

becomes

xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-2.0;


Hope this helps others!

TIA,
Mark Aufdencamp
[EMAIL PROTECTED]





[ANNOUNCE] Availability of Geronimo 2.1

2008-02-26 Thread Kevan Miller
Oops. This was announced in the vote and discussion threads, last  
week, but I forgot to send the ANNOUNCE. So, here it is for  
posterity's sake


The Geronimo 2.1 binaries are available for download -- 
http://geronimo.apache.org/downloads.html

2.1 introduces a number of cool features. Most notably Custom  
Assemblies which allow users to easily create customized Geronimo  
servers that are specific to a user's application requirements.


Everyone did a great job on this release. Our 2.1 documentation is  
growing day by day.


Great work all!

--kevan

Re: Geronimo 1.1 to 2.1/ J2EE to JEE(5)

2008-02-26 Thread Hernan Cunico

Great collection Mark, we'll make sure to add it to the 2.1 doc

Thanks a bunch

Cheers!
Hernan

Mark Aufdencamp wrote:

As I a haven't seen this specifically identified, I thought I'd outline
my thoughts and have them confirmed.  Everyones comments are appreciated

I'm presuming no required changes to the codebase.  The only requirement
to port a J2EE Geronimo 1.1 Enterprise Application to run as a JEE
Geronimo 2.0/2.1 Enterprise Application are changes to the Application
Server specific deployment descriptors.  I don't for see problems with
the EAR or WAR's, but have my concerns about the EJB's.  My
understanding is that EJB 2.1 is required to function as a part of the
JEE spec.  Read: You don't have to port from EJB 2.1 to EJB 3.0,
although there are significant advantages to the new JPA technology.

To port a J2EE Enterprise Application from Geronimo 1.1 to a JEE(5)
Enterprise Application on Geronimo 2.0/2.1

EAR Project Definition

application.xml
xmlns=http://java.sun.com/xml/ns/j2ee;
No Changes Required

geronimo-application.xml
xmlns=http://geronimo.apache.org/xml/ns/j2ee/application-1.1;

becomes

xmlns=http://geronimo.apache.org/xml/ns/j2ee/application-2.0;

EJB Project Definition

ejb-jar.xml
No Changes Required

openejb-jar.xml

xmlns=http://www.openejb.org/xml/ns/openejb-jar-2.1;
xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.1;
xmlns:pkgen=http://www.openejb.org/xml/ns/pkgen-2.0;
xmlns:sec=http://geronimo.apache.org/xml/ns/security-1.1;
xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.1;

becomes

xmlns=http://www.openejb.org/xml/ns/openejb-jar-2.1;
xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.2;
xmlns:pkgen=http://www.openejb.org/xml/ns/pkgen-2.0;
xmlns:sec=http://geronimo.apache.org/xml/ns/security-2.0;
xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.2;


WebApp Project Definition

web.xml
No Change Required

geronimo-web.xml
xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-1.1;

becomes

xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-2.0;


Hope this helps others!

TIA,
Mark Aufdencamp
[EMAIL PROTECTED]






Re: Geronimo 1.1 to 2.1/ J2EE to JEE(5)

2008-02-26 Thread Jacek Laskowski
On Tue, Feb 26, 2008 at 12:00 PM, Mark Aufdencamp [EMAIL PROTECTED] wrote:

  To port a J2EE Enterprise Application from Geronimo 1.1 to a JEE(5)
  Enterprise Application on Geronimo 2.0/2.1

Does it mean that without these changes one would not be able to
migrate an ear from Geronimo 1.1 to Geronimo 2.1? What will happen
when you don't apply the changes to the dds?

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl


Re: Deploy Mdb that use my own inbound resource adapter

2008-02-26 Thread Jacek Laskowski
On Wed, Jan 16, 2008 at 11:56 PM, ivanrc [EMAIL PROTECTED] wrote:

  Error deploying 'MdbConnectorBean'.  Exception: class
  org.apache.openejb.OpenEJBException: Deployment
  'myMdb/MdbConnectorBean' has message listener interface
  samples.connectors.inbound.SampleMessageListener but this MDB
  container only supports interface
  samples.connectors.inbound.SampleMessageListener: Deployment
  'myMdb/MdbConnectorBean' has message listener interface
  samples.connectors.inbound.SampleMessageListener but this MDB
  container only supports interface
  samples.connectors.inbound.SampleMessageListener

It's really strange. Have you tried it out with G 2.1? It looks it's
an openejb issue. Could we look at the ra source? Has never worked
with ra other than those supplied for jdbc connectors so time to look
at one ;-)

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl


Re: Geronimo 2.1 and Seam

2008-02-26 Thread Burt Prior

Hi Jay,

Thanks very much for the jar file.  That helped a great deal.

I'm stuck...

I am now *almost* able to deploy the Seam 'booking' example.  I'm having
real problems with the geronimo deployment plan (The Plan) listed in the
article.

The deployment plan uses the Derby database.  I'm using Oracle.  I've
successfully installed the Oracle jar in the respository and a configured a
(thin driver) database pool that jar.

I now successfully build the app, but when I try to deploy.bat from the
command line using the The Plan, I get errors such as...

Exception in Thread.. java.lang.NoClassDefFoundError:
oracle/jdbc/pool/OracleDataSource

This class is in the oracle jar, but I think the geronimo deployment plan is
incorrect.

Can you give me some pointers/examples of setting up a deployment plan to
use hibernate and oracle?

Thanks,
.Burt





Jay D. McHugh-3 wrote:
 
 Hello Burt,
 
 Answers inline
 
 Burt Prior (bprior) wrote:
 Hi Geronimo Team,
  
 I hope I'm directing this question correctly.
  
 First, thank you all for your excellent work on Geronimo 2.1.  Our team
 has standardized on Geronimo at our large enterprise, and we think its
 the best app server in the industry.
   
 Thanks!
  
 We are in current development of an JSF/EJB3/OpenJPA application, and we
 would very much like to use Seam (2).
  
 For the past few days we have been trying (without much luck) to
 configure Geronimo to work with Seam and Hibernate; we would prefer
 OpenJPA as the persistence provider, but it appears impossible to use
 with Seam.
  
 I've tried to work thru:
 http://cwiki.apache.org/GMOxSAMPLES/running-jboss-seam-200ga-on-geronimo
 -21.html but the maven project to download the Hibernate Transaction
 Manager appears not to work, and we are finding the instructions a bit
 hard to follow. (we don't use Maven, we are Subversion users)
 $ mvn archetype:create -DgroupId=org.apache.geronimo.hibernate
 -DartifactId=geronimo-hibernate-transaction-manager-lookup
   
 I have updated the directions to correspond to the released Geronimo 2.1 
 version.  But, I have not made it through testing all of the directions 
 after creating the transaction manager jar.
 
 For your convenience, here is a link to the jar that I built:
 http://people.apache.org/~jaydm/hibernate/geronimo-hibernate-transaction-manager-lookup-1.0-SNAPSHOT.jar
  
 Question 1:
  
 Is there a Geronimo 2.1 build that already includes everything needed to
 run Seam 2 or Hibernate that I can download, so we do not have to
 manually patch it?
   
 Not that I am aware of.
  
 Question 2:
  
 Is there any advice/guidance you can give my team regarding setting up
 Geronimo 2.1 to use Seam 2?  We would very much like integrate Seam into
 Geronimo for our long term application development.
   
 I think that after the tutorial has been re-tested for the released 
 Geronimo 2.1 version - that tutorial should be all you need to set up 
 Geronimo for Seam.
  
 Thanks for your time and great work,
  
 Burt Prior
 IT Engineer
 [EMAIL PROTECTED]
 Office: 408.853.4199
  

   
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Geronimo-2.1-and-Seam-tp15621154s134p15703423.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Geronimo 1.1 to 2.1/ J2EE to JEE(5)

2008-02-26 Thread Jason Warner
Mark,

I've been working on putting together some migration documentation for 2.1.
This seems like great information for these documents.  Would you mind if I
included it?



On Tue, Feb 26, 2008 at 6:02 PM, Jacek Laskowski [EMAIL PROTECTED]
wrote:

 On Tue, Feb 26, 2008 at 12:00 PM, Mark Aufdencamp [EMAIL PROTECTED]
 wrote:

   To port a J2EE Enterprise Application from Geronimo 1.1 to a JEE(5)
   Enterprise Application on Geronimo 2.0/2.1

 Does it mean that without these changes one would not be able to
 migrate an ear from Geronimo 1.1 to Geronimo 2.1? What will happen
 when you don't apply the changes to the dds?

 Jacek

 --
 Jacek Laskowski
 http://www.JacekLaskowski.pl




-- 
~Jason Warner


Re: EJB Entity Cache in Geronimo 2.1

2008-02-26 Thread ApolloX

Hi Jacek,

I don't think JPA is reading the persistence.xml for CMP2 beans.  I added
some parameters to and it ignored them.  Each time it deploys, it uses the
default broker.  Is there reason why this file might be ignored for CMP2
beans?

Thanks


Jacek Laskowski wrote:
 
 On Fri, Feb 22, 2008 at 5:00 PM, ApolloX [EMAIL PROTECTED] wrote:
 
 Look at OpenEJB CMP2 support as a wrapper to JPA infrastructure which
 is currently based on OpenJPA. OpenEJB know nothing about
 persistence.xml and other jpa configuration files. So, effectively if
 you want to see what's going on behind the scene just trace openjpa
 with appropriate setting in persistence.xml. That should work this way
 - if it doesn't it could be a bug.
 
 Jacek

-- 
View this message in context: 
http://www.nabble.com/EJB-Entity-Cache-in-Geronimo-2.1-tp15614510s134p15704824.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



CMP2 on G2 - Delayed Database Flush

2008-02-26 Thread ApolloX

Is there a way to configure when commands are flushed to the database for
EJB2 CMP beans in G2?  I noticed something that may be related to the severe
caching/performance slowdown from trying to migrate CMP2 beans from G1 to
G2.

Here's a concrete example of the behavior:

AdminLocalHome movieHome = (MovieLocalHome)
context.lookup(java:comp/env/ejb/MovieLocal);
MovieLocal newMovie = movieHome.create(someId);
newMovie.setTitle(The Matrix);

In G1, this code worked fine because the database INSERT was delayed until
after the setTitle() was called.  In G2, the INSERT happens immediately
after the call to create() leading to a database insertion error since title
is a required field in the database.

Could someone provide me with a solution to delay the database flushing
until later on?  As I've said, I don't get the impression anything is being
cached for CMP2 beans in G2 based on the severe performance slowdown I've
seen.

ApolloX

-- 
View this message in context: 
http://www.nabble.com/CMP2-on-G2---Delayed-Database-Flush-tp15704963s134p15704963.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: EJB Entity Cache in Geronimo 2.1

2008-02-26 Thread Jacek Laskowski
On Tue, Feb 26, 2008 at 6:41 PM, ApolloX [EMAIL PROTECTED] wrote:

  I don't think JPA is reading the persistence.xml for CMP2 beans.  I added
  some parameters to and it ignored them.  Each time it deploys, it uses the
  default broker.  Is there reason why this file might be ignored for CMP2
  beans?

Hi,

Perhaps I don't really understand it, but could you try out putting
the persistence.xml file inside your geronimo plan as outlined in
http://cwiki.apache.org/GMOxSAMPLES/running-jboss-seam-200ga-on-geronimo-21.html.
See the The plan, esp. the part with persistence-unit name=cmp.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl


Re: Geronimo 2.1 and Seam

2008-02-26 Thread Jacek Laskowski
On Tue, Feb 26, 2008 at 4:29 PM, Burt Prior [EMAIL PROTECTED] wrote:

  The deployment plan uses the Derby database.  I'm using Oracle.  I've
  successfully installed the Oracle jar in the respository and a configured a
  (thin driver) database pool that jar.

  I now successfully build the app, but when I try to deploy.bat from the
  command line using the The Plan, I get errors such as...

  Exception in Thread.. java.lang.NoClassDefFoundError:
  oracle/jdbc/pool/OracleDataSource

  This class is in the oracle jar, but I think the geronimo deployment plan is
  incorrect.

Hi,

Add Oracle Thin driver as a dependency to the app in the plan and
rerun the deployment. I think you need something like:

dependencies
  dependency
groupIdorg.apache.geronimo.hibernate.transaction/groupId
artifactIdgeronimo-hibernate-transaction-manager-lookup/artifactId
typejar/type
  /dependency
  dependency
groupIdcom.oracle.thindriver/groupId
artifactIdoracle-thin-driver/artifactId
typejar/type
  /dependency
/dependencies

Note the part for the oracle thin driver. Update it with correct data
and give it a go.

When in trouble, show the plan so it's easier to help you.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl


Re: Geronimo 2/Log4j question

2008-02-26 Thread Jacek Laskowski
On Tue, Feb 5, 2008 at 11:10 AM, Adam Ruggles [EMAIL PROTECTED] wrote:

  I am also having this issue.  In tomcat I just needed a log4j.xml in my
  classpath, however geronimo seems to ignore it.

  The only solution I've found is to have Spring configure log4j through the
  web.xml but that takes over all logging in geronimo.  I need to have
  separate logging for each of my web apps.

Have you tried to inverse-classloading and/or hidden-classes elements
in your plan so log4j and its configuration in Geronimo is for
Geronimo stuff and yours is for your stuff?

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl