Re: @GeneratedValue(strategy = GenerationType.TABLE... : org.apache.openjpa.persistence.PersistenceException: The Transaction Synchronization Registry can not suspend the current transaction

2008-12-04 Thread David Ljuba
Thank you for reply, persistence.xml -s are same but with only one difference transaction-type=JPA and transaction-type=RESOURCE_LOCAL. I tried to change this property for geronimo (JPA - RESOURCE_LOCAL) but same error is shown, and if I change in test persistence.xml (RESOURCE_LOCAL - JPA) then I

Re: Geronimo Spring 2.5

2008-12-04 Thread Kevan Miller
On Dec 4, 2008, at 4:11 AM, rdomingo wrote: Hmm, damn. Cheered to early, tomcat shows already the outofmemory again after about 15 deploys... OK. So, looks there must be a ClassLoader memory leak. If you can share your application, I can have a look. The causes are usually application

Re: How to set up logging for a connector

2008-12-04 Thread Russell E Glaue
Is it possible to configure a separate logging for different virtual hosts I configure? Say I configure the vhost of www.example.com and I want to log all traffic going to that vhost in a log file var/log/www.example.com_yyy_mm_dd.log I can deploy a web application to a virtual host I define in

Re: @GeneratedValue(strategy = GenerationType.TABLE... : org.apache.openjpa.persistence.PersistenceException: The Transaction Synchronization Registry can not suspend the current transaction

2008-12-04 Thread David Ljuba
It works now but there could be problem with transactions. I made change in persistence.xml: from jta-data-sourcexxx/jta-data-source to non-jta-data-sourcexxx/non-jta-data-source Could be this problem? After all there is transaction, but maybe there are not distributed transactions needed for

Re: Trying to configure Oracle XA

2008-12-04 Thread ericp56
Thanks for the reference. The examples are always helpful. If I used the same information you did in your jdbc/TradeDataSource data source, I believe the GBean deployment will fail. I submitted this to JIRA: https://issues.apache.org/jira/browse/GERONIMO-

Re: Cannot install any Geronimo Sample apps

2008-12-04 Thread Donald Woods
Vista introduces new security constraints, so some simple questions to help debug what's going on (as I don't have a Vista machine to test with) - - Are you running Geronimo under the same User as it was installed/extracted with? - Does the user account you're running Geronimo under have

Re: Out of memory during second publish - reproduced

2008-12-04 Thread Dale
Thanks Jeff. I added -Xmx768M to the end of the existing entry found at: Run Run Configurations (Geronimo 2.1) Arguments VM Arguments I started the server right from the run configuration because it seemed like my -Xmx768M would disappear if I didn't. It published the second time

Re: Out of memory during second publish - reproduced

2008-12-04 Thread Tim McConnell
Hi Dale, just a quick note to tell you that I can now reproduce your failure. Looking for a resolution, and will let you know what I find out. DRS2 Usenet wrote: I had already installed jdk1.6.0_06 I had already installed Geronimo: geronimo-tomcat6-javaee5-2.1.3-bin.zip I installed a fresh

Re: Cannot install any Geronimo Sample apps

2008-12-04 Thread cuatez
Well, it started again from scratch on Vista, following your instructions, and it worked fine. I originally had troubles because I did not see this repository: https://svn.apache.org/repos/asf/geronimo/samples/tags/samples-parent-2.1.2 I did not know it would appear automatically by first

Re: Geronimo, keystores and SSL

2008-12-04 Thread Kevan Miller
On Dec 1, 2008, at 7:18 PM, Christian Svensson wrote: Hello! I've been trying for the better part of today getting keystores to automatically unlock on startup - with very limited success. Is there something that I should know about keystore password / key password? Digging around some

Re: Cannot install any Geronimo Sample apps

2008-12-04 Thread Donald Woods
Did you use the Update Repository List option before trying to install the plugin this time? I ran into a case yesterday where I had to use the Update option before I could install the DayTrader plugins from a manually added repo -Donald cuatez wrote: Well, it started again from

How to deploy web application to one port

2008-12-04 Thread Russell E Glaue
Using geronimo-jetty 2.1.3 How do I deploy a web application to one and only one single port? Let's say I have configured two Listen Sockets: 1) 0.0.0.0:2150 2) 0.0.0.0:2151 If I simply deploy a web application to Geronimo as in: % deploy.sh deploy HelloWorld.war The sample application

Re: Out of memory during second publish - reproduced

2008-12-04 Thread Kevan Miller
On Dec 4, 2008, at 2:22 PM, Tim McConnell wrote: Hi Dale, just a quick note to tell you that I can now reproduce your failure. Looking for a resolution, and will let you know what I find out. FYI, I just ran a number of deploy, hit url, undeploy cycles without hitting any problems.

Re: Cannot install any Geronimo Sample apps

2008-12-04 Thread cuatez
Yes, I used Update Repository List. -- View this message in context: http://www.nabble.com/Cannot-install-any-Geronimo-Sample-apps-tp20662280s134p20844956.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Geronimo 2.1.1 running a report 2-3 times slower than Geronimo 1.1.1

2008-12-04 Thread Andrew Thorburn
This has recently cropped up at my workplace - We have a report that runs every night and dumps a reasonable chunk of the database to a text file. The report itself is quite inefficient (it stores everything in memory until it's written to the text file, for example), but a simple switch from

Re: Geronimo 2.1.1 running a report 2-3 times slower than Geronimo 1.1.1

2008-12-04 Thread David Jencks
The only thing that comes to mind so far is that ejb cmp 2.1 entity beans have been completely rewritten to use jpa rather than tranql. There were some reports early on that in some situations this was a lot slower, but I think that in other situations it was faster. Are you using cmp

Re: Out of memory during second publish - reproduced

2008-12-04 Thread DRS2 Usenet
Kevan Miller wrote: FYI, I just ran a number of deploy, hit url, undeploy cycles without hitting any problems. I wasn't using Eclipse, but don't think that should cause a difference... I used the following Java settings for my server: export JAVA_OPTS=-Xmx512m -XX:MaxPermSize=256m

Re: Out of memory during second publish - reproduced

2008-12-04 Thread Tim McConnell
Hi Dale, sorry to take so long -- I should have recognized this immediately. What is not always obvious when using the GEP is that there really are two JVM's running: one for Eclipse and another one for the Geronimo server. And unfortunately, the JVM arguments you establish for Eclipse do not

Upgrading 1.1 EAR to 2.1 - OpenEJB 3 CMP/CMR Issues

2008-12-04 Thread Mark Aufdencamp
Hi All, I'm upgrading an EAR from G 1.1.1-Win32-Tomcat to G 2.1.3-Linux-Tomcat. I've successfully installed G 2.1 and managed to deploy my Database Pools and Security Realms. I've edited my geonimo-application.xml and openejb-jar.xml to reflect the new deployment plan name space. I've managed

Re: How to deploy web application to one port

2008-12-04 Thread viola.lu
You can create two geronim instances in one server:instance A in http port 2150, instance B in port 2051, then deploy hello_1 to instance A, hello_2 to instance B. Russell E Glaue wrote: Using geronimo-jetty 2.1.3 How do I deploy a web application to one and only one single port? Let's

Re: Upgrading 1.1 EAR to 2.1 - OpenEJB 3 CMP/CMR Issues

2008-12-04 Thread David Jencks
Hi Mark, Unfortunately I don't actually know what I'm talking about here in any detail Dain would know more. However I have a few suggestions: 1. We set the following properties in persistence.xml by default: if you want something different you should override them:

Re: How to deploy web application to one port

2008-12-04 Thread David Jencks
On Dec 4, 2008, at 10:59 PM, viola.lu wrote: You can create two geronim instances in one server:instance A in http port 2150, instance B in port 2051, then deploy hello_1 to instance A, hello_2 to instance B. I think creating two entire server instances is a bit extreme and e.g. if