Re: Toplink Essentials JPA + Geronimo = NullPointerException

2008-03-03 Thread Brian Gregory
I've tried this and it didn't seem to make a difference. Do you know how I can get loggin output from toplink at deploy time? djencks wrote: I think there's a good chance you are seeing a problem caused by https://issues.apache.org/jira/browse/GERONIMO-3880 ...snip... -- View this

Re: Upgrade OpenJPA to v1.0.2 in Geronimo 2.0 or 2.1 due to bug

2008-02-28 Thread Brian Gregory
The artifact_aliases.properties works great in 2.1. The WEB-INF/lib does not. I may try your other suggestions, but won't they cause dependency problems? -- View this message in context:

Re: Upgrade OpenJPA to v1.0.2 in Geronimo 2.0 or 2.1 due to bug

2008-02-28 Thread Brian Gregory
/persistence/2.0.2/car Brian Gregory wrote: The artifact_aliases.properties works great in 2.1. The WEB-INF/lib does not. I may try your other suggestions, but won't they cause dependency problems? -- View this message in context: http://www.nabble.com/Upgrade-OpenJPA-to-v1.0.2

Toplink Essentials JPA + Geronimo = NullPointerException

2008-02-28 Thread Brian Gregory
I'm using class + persistence.xml that work fine in a simple test app but will not deploy as part of a webapp. I'm including the jars in WEB-INF/lib (it appears to be finding them anyway). Anyone seen this before? (I couldn't find an answer in the groups) Anyone used Toplink Essentials w/

Upgrade OpenJPA to v1.0.2 in Geronimo 2.0 or 2.1 due to bug

2008-02-27 Thread Brian Gregory
I've encountered the INSERT instead of UPDATE bug in OpenJPA 1.0.0 (and verified that 1.0.1 behaves the same) and would like to force my webapp to use 1.0.2. I've tried: 1. placing the openjpa-1.0.2.jar in my WEB-INF/lib directory 2. installing the jar here:

Re: Upgrade OpenJPA to v1.0.2 in Geronimo 2.0 or 2.1 due to bug

2008-02-27 Thread Brian Gregory
I tried placing the substitution in the artifact_alias.properties file and it doesn't seem to do anything in geronimo 2.0.2. (I tried to force it by removing the 1.0.0 dir to force the dependency but no dice) I will also try 2.1 ... tomorrow. I will also Report it ... tomorrow. I'm fried.

Re: proxy session w/ built-in dbcp + openjpa

2008-02-13 Thread Brian Gregory
When attempting to build the latest tranql-connector from SVN: (I'm using 1.6, could this be a problem? - I will be looking into it further, but I wanted to let you know. BTW, is there a tranql specific forum that we might continue this in? - or perhaps a new topic?) [INFO] Scanning for

Re: proxy session w/ built-in dbcp + openjpa

2008-02-13 Thread Brian Gregory
Another build problem when trying to build tranql-oracle-connector: I'm not sure where this is defined - I cleaned out my repository just to make sure. BTW, What is the best way to structure what comes out of SVN to make sure it builds properly? I had to check out all of the trunks separately.

Re: proxy session w/ built-in dbcp + openjpa

2008-02-13 Thread Brian Gregory
I would have hoped to not have to check out all of the tags and branches, but this will work. I'll let you know my progress... Thanks. -- View this message in context: http://www.nabble.com/proxy-session-w--built-in-dbcp-%2B-openjpa-tp15404731s134p15464800.html Sent from the Apache Geronimo

Re: proxy session w/ built-in dbcp + openjpa

2008-02-13 Thread Brian Gregory
BTW, I had to remove the parent tags from all of the pom.xml that depended upon tranql-parent and the scm tags in order for maven to find the correct maven-rar-plugin. There is definately some repository confusion going on...? Brian Gregory wrote: I would have hoped to not have to check out

Re: proxy session w/ built-in dbcp + openjpa

2008-02-13 Thread Brian Gregory
BTW, I had to remove the parent tags from all of the pom.xml that depended upon tranql-parent and the scm tags in order for maven to find the correct maven-rar-plugin. There is definately some repository confusion going on...? Brian Gregory wrote: I would have hoped to not have to check out

Re: proxy session w/ built-in dbcp + openjpa

2008-02-12 Thread Brian Gregory
Ok, this might clear things up a bit: // This needs to happen when a connection is pulled from the pool // and before the connection is used. // The username could be pulled from the GeronimoUserPrincipal() // in the current session (?) if available java.util.Properties prop = new

Re: proxy session w/ built-in dbcp + openjpa

2008-02-11 Thread Brian Gregory
1. Misconception on my part, what library is used for connection pooling? (Where is this is the docs?) 2. Proxy session is another name for changing the user credentials on an oracle connection. OracleConnection.openProxySession() 3. I'm not familiar with tranql. Can you point me to the

proxy session w/ built-in dbcp + openjpa

2008-02-10 Thread Brian Gregory
I'm attempting to use proxy session w/ oracle and the built-in dbcp + openjpa in geronimo but I'm hung up at the start. I've done this before with c3p0 + hibernate but c3p0 has a ConnectionCustomizer class that allows you to register for checkout and checkin events from the connection pool, thus

custom LoginModule and GenericSecurityRealm = unable to find LoginModule

2008-02-09 Thread Brian Gregory
I receive the following error when attempting to test a custom security desccriptor from a simple hello-world servlet: 15:09:50,815 WARN [TomcatGeronimoRealm] Login exception authenticating username user javax.security.auth.login.LoginException: unable to find LoginModule class: