Re: OpenJPA problems with multi persistence.xml

2009-02-12 Thread bongosdude
to each persistence unit. Please help Thank -B kevan wrote: On Feb 11, 2009, at 10:55 PM, bongosdude wrote: I posted this problem on openjpa forum: Please see this thread at: http://n2.nabble.com/Problem-with-multi-persistence-units-td2303818.html#a2304438 One of OpenJPA developer

OpenJPA problems with multi persistence.xml

2009-02-11 Thread bongosdude
I posted this problem on openjpa forum: Please see this thread at: http://n2.nabble.com/Problem-with-multi-persistence-units-td2303818.html#a2304438 One of OpenJPA developer replied to my post and pointed out some problem that may be caused by how geronimo configures openjpa. I copied his

Re: deployment for MySQL XA.

2009-01-22 Thread bongosdude
elements in the car-maven-plugin configuration. thanks david jencks On Jan 21, 2009, at 5:04 PM, bongosdude wrote: Today I tried the embeded but when I build the datasource using maven, I got this error: You are requesting xa transaction support for a connector that supports only

Re: deployment for MySQL XA.

2009-01-21 Thread bongosdude
Today I tried the embeded but when I build the datasource using maven, I got this error: You are requesting xa transaction support for a connector that supports only local transactions: named: my_users_xads Below is my Pom: ?xml version=1.0? !-- Licensed to the Apache Software Foundation

Re: Jetty/Tomcat plugin build failed with persistence.xml

2009-01-20 Thread bongosdude
Hi All, I found my dump mistake. I actually put persistence.xml in src/main/java/resources. It should be in src/main/resources. So maven does not complains when it build tomcat plugin. Thanks bongosdude wrote: in my EJB module, I have created a persistence.xml as below: persistence-unit

Re: deployment for MySQL XA.

2009-01-20 Thread bongosdude
Forrest, Thanks millions. These steps should go to wiki. Many people should also benefit to know how to integrate Geronimo with MySQL. -B Forrest_Xia wrote: Ok, give you a full instruction about how to setup datasource in geronimo. There are two ways: 1. Create a datasource and deploy

Re: deployment for MySQL XA.

2009-01-19 Thread bongosdude
pool and change the tx element to no- transaction for the non-jta datasource thanks david jencks On Jan 18, 2009, at 6:47 PM, bongosdude wrote: Can someone show me how to create deployment plan for MySQL XA datasource? How is about MS SQL (local transaction) Thanks -B - B

Re: deployment for MySQL XA.

2009-01-19 Thread bongosdude
to put in the node ext-module, maven erred out with message, ext-module is not valid node Thanks -B bongosdude wrote: David, I could not figure out how to copy the plan out of the dbpool wizard. Can you show me the steps? -B djencks wrote: The easiest way is to use the admin

Re: Jetty/Tomcat plugin build failed with persistence.xml

2009-01-19 Thread bongosdude
David, I put it the file persistence.xml in ${EJB_PROJECT_HOME}/src/resources/META-INF/ Should I put it under tomcat/jetty tomcat? -B djencks wrote: On Jan 18, 2009, at 6:23 PM, bongosdude wrote: David, my database name is my_users. and I have two dbpool defined to point

Re: deployment for MySQL XA.

2009-01-19 Thread bongosdude
-SNAPSHOT/car,ResourceAdapterModule=com.myvoip.ipservices/callingcard-datasource/0.0.1-SNAPSHOT/car,j2eeType=JCAManagedConnectionFactory,name=mynuvoip did not start because Unable to load driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver -B bongosdude wrote: I have put your suggestions

Re: Jetty/Tomcat plugin build failed with persistence.xml

2009-01-18 Thread bongosdude
ear? BTW if you use auto-create tables or openjpa sequences you almost certainly need a non-jta-datasource as well, and it should really not have transactions enabled. thanks david jencks On Jan 18, 2009, at 2:52 PM, bongosdude wrote: in my EJB module, I have created

Re: Jetty/Tomcat plugin build failed with persistence.xml

2009-01-18 Thread bongosdude
the following: [ERROR] BUILD ERROR [INFO] [INFO] You are requesting xa transaction support for a connector that supports only local transactions: named: my_users What is wrong with my plan.xml bongosdude wrote: David

Re: Jetty/Tomcat plugin build failed with persistence.xml

2009-01-18 Thread bongosdude
David, my database name is my_users. and I have two dbpool defined to point to the same database my_users. One is XA and other is non XA. Thanks bongosdude wrote: David, Here is my connector definition in my datasource plan.xml connector xmlns=http://geronimo.apache.org/xml/ns/j2ee

deployment for MySQL XA.

2009-01-18 Thread bongosdude
Can someone show me how to create deployment plan for MySQL XA datasource? How is about MS SQL (local transaction) Thanks -B - B Amigo:super: -- View this message in context: http://www.nabble.com/deployment-for-MySQL-XA.-tp21536125s134p21536125.html Sent from the Apache Geronimo - Users

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: How to create new server runtime in Eclipse with version 2.2-SNAPSHOT

2009-01-10 Thread bongosdude
above don't work, pls first make sure your applicaton can run well on G2.1.3 server runtime via GEP 2.1.3. Currently, Latested GEP version 2.1.3 only has been verified on G2.1.* G2.0.*. Hope can help you GOOD Luck. Viola.Lu bongosdude wrote: Hi, I tried to build geronimo-2.2

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

2009-01-10 Thread bongosdude
the mysterious JAVAEE 5 Section 8.2 problem. Thanks for all excellent supports from this forum who has made geronimo well JEE app and product. -B bongosdude wrote: After I fixed the manifest classpath problem, maven successfully build my project. But I still have questions about geronimo-web.xml

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

2009-01-10 Thread bongosdude
David, This is quite interesting point that you point it out. Do you know how I can make maven stop generating the MANIFEST.MF file? Thanks -B djencks wrote: Hi bongosdude, It looks like the war plugin is not javaee-5 aware. Anything you put in the ear lib directory gets into the ear

Re: Where does log message go?

2009-01-09 Thread bongosdude
I used console and or Eclipse GEP. Both did not log to deployer.log and I did not see any specific error message to state why the deployment failed. Hope that I can give you more details to diagnose the log problems. Thanks -B Kevan Miller wrote: On Jan 9, 2009, at 9:19 AM, Donald Woods

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

2009-01-09 Thread bongosdude
Background I encountered this problem that I do not quite understand. I set up my demo after I looked at the car-maven-plugin, m2eclipse and the geronimo sample calculator. I have manually created my demo project by using maven achetype-create with groupId=org.apache.geronimo.samples and

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

2009-01-09 Thread bongosdude
to targetURI= lib/callingcard-ejb-0.0.1-SNAPSHOT.jar bongosdude wrote: Background I encountered this problem that I do not quite understand. I set up my demo after I looked at the car-maven-plugin, m2eclipse and the geronimo sample calculator. I have manually created my demo project

Re: Where does log message go?

2009-01-09 Thread bongosdude
to proceed. Thanks for any helps -B bongosdude wrote: I used console and or Eclipse GEP. Both did not log to deployer.log and I did not see any specific error message to state why the deployment failed. Hope that I can give you more details to diagnose the log problems. Thanks -B

How to create new server runtime in Eclipse with version 2.2-SNAPSHOT

2009-01-09 Thread bongosdude
Hi, I tried to build geronimo-2.2-SNAPSHOT from trunk and created new server runtime in eclipse. Eclipse complains with An incorrect version of Apache Geronimo v2.1 2 was detected. Version 2.1 was expected, but version 2.2-SNAPSHOT was found. Is it OK to ignore this message or did I do

Re: Where does log message go?

2009-01-09 Thread bongosdude
this be the cause? I cannot deploy sample calculator from eclipse GEP too so I am sure it is not my app. -B bongosdude wrote: Kevan, I can predepoy/deploy CAR to my local geronimo. But I could not deploy the my EAR using eclipse GEP. I could not find out what are the problems. Do you have any hints

Re: Where does log message go?

2009-01-08 Thread bongosdude
your deployment. -Donald bongosdude wrote: What log file does geronimo log errors when it encountered a failed deployment? I have looked into var/log/geronimo.log but I did not see any error messages relating to deployment logged in that file? Please help. -B - B Amigo:super

SpringFramework Datasource bean problem

2009-01-07 Thread bongosdude
Hi, I am using springframework with my webapp and I run into problem where springframework failed to lookup a datasource to a data pool that I setup with geronimo successful: 1. My database pool name is: jdbc/myvoipdb 2. my springframework xml file is as follows: beans

Re: problem JNDI lookup in geronimo

2009-01-07 Thread bongosdude
I found it from console. There is a menu JNDI Viewer, so this is the JNDI for my db pool name: jdbc/myvoipdb jee:jndi-lookup id=nuvoipDs cache=true lookup-on-startup=true jndi-name=jca:/console.dbpool/jdbc_nuvoip/JCAManagedConnectionFactory/jdbc/myvoipdb resource-ref=false

Where does log message go?

2009-01-06 Thread bongosdude
What log file does geronimo log errors when it encountered a failed deployment? I have looked into var/log/geronimo.log but I did not see any error messages relating to deployment logged in that file? Please help. -B - B Amigo:super: -- View this message in context:

Re: car-maven-plugin and GEP

2009-01-02 Thread bongosdude
Yes, I will explore more on what you suggest here. My goal is to setup and environment for both dev and QA so that we can do both GEP and automatic build for QA. -B Tim McConnell wrote: Hi bongosdude, yes you make a good point. I suppose my answer would depend on what exactly you're

Re: Customizing install of apps

2008-12-30 Thread bongosdude
David, I am still confused with your predeploy explanation. What do you mean predeploy? and what does predeploy do? After predeploy, what do we do next? -B djencks wrote: On Dec 27, 2008, at 6:31 PM, jamesdcarroll wrote: Thank you very much for your quick reply. I saw mention of

Re: car-maven-plugin and GEP

2008-12-30 Thread bongosdude
projects, the team lose the synchronization with SVN repository. Or I am missing something here? Thanks. -B bongosdude wrote: Tim, I got the latest source from geronimo svn trunk and step 4 works now. I successfully deployed calculator using GEP as you described in step 4. Thanks B

Re: car-maven-plugin and GEP

2008-12-27 Thread bongosdude
Tim Yes, this is what I am trying to do. - Your step 4: what method should I use to test deploy of calculator.ear to my local geronimo-2.2-snapshot? It seems that GEP fails to know how to deploy to geronimo-2.2-snapshot runtime. Thanks B Tim McConnell wrote: Hi bongosdude, here

Re: car-maven-plugin and GEP

2008-12-27 Thread bongosdude
Tim, I got the latest source from geronimo svn trunk and step 4 works now. I successfully deployed calculator using GEP as you described in step 4. Thanks B bongosdude wrote: Tim Yes, this is what I am trying to do. - Your step 4: what method should I use to test deploy

Re: car-maven-plugin and GEP

2008-12-23 Thread bongosdude
not know how that those projects are geronimo J2EE projects. Can you start from the geronimo sample (bank, calculator...) and show us how to import those sample into eclipse IDE, run a debug with WTP local server Thanks -B Tim McConnell wrote: Hi bongosdude, in the Trunk and 2.1.4 versions

Re: car-maven-plugin and GEP

2008-12-23 Thread bongosdude
the sample to local repository and deploy from console or from gshell. But I still do not know how I can import samples / projects that are set up with car-maven-plugin into eclipse? Thanks -B bongosdude wrote: Hi Tim, I setup my project using maven car-maven-plugin (i.e. I looked at the sample

car-maven-plugin and GEP

2008-12-19 Thread bongosdude
I have learned quite a lot for the last two weeks about Geronimo. Developing J2EE applications has so many aspects and setting up environment for development, QA and deployment are 3 main areas that really concerns any J2EE developers. I have followed steps by steps of many GEP samples and

Re: How to Use Maven with Geronimo J2EE project

2008-12-17 Thread bongosdude
: 385M/747M [INFO] Kevan Miller wrote: On Dec 15, 2008, at 3:10 AM, David Jencks wrote: On Dec 14, 2008, at 7:17 PM, bongosdude wrote: I would lile to use maven to mange our project build/deploy during development, QA

Re: How to Use Maven with Geronimo J2EE project

2008-12-17 Thread bongosdude
bongosdude wrote: The build from the trunk is failed with error. I have to try again another day. Hope that these bugs are fixed by then. INFO] The following tests failed: [INFO] * webservices-testsuite/jaxws-provider-tests - /Users/Dad/Documents/opensource/geronimo-trunk-2.2

How to Use Maven with Geronimo J2EE project

2008-12-14 Thread bongosdude
I would lile to use maven to mange our project build/deploy during development, QA and production release. Maven is good at managing dependencies. While GEP can get us up to speed in development, it is tricky to manage dependency using eclipse among team members. I have tried to read geronimo

Re: GEP Out Of Memory

2008-12-13 Thread bongosdude
Tim, Again thank for your help. It works. -B Tim McConnell wrote: Hi bongosdude, keep in mind that when using the GEP 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

GEP Out Of Memory

2008-12-12 Thread bongosdude
Hi, I got HEAP out of memory problem when I try to deploy a Tapestry web app from GEP (eclipse). I created the $GERONIMO_HOME/bin/setenv.sh to set these options: #!/bin/sh export JAVA_HOME=/Library/Java/Home echo JAVA_HOME=${JAVA_HOME} export JAVA_OPTS=-Xms512m -Xmx1024m echo

Re: Geronimo Eclipse Plugin (GEP) Deployment problem

2008-12-11 Thread bongosdude
under geronimo repository? Thanks -B bongosdude wrote: Hi Tim, Thanks for your quick reply. Let me explore on how to extend the tutorial to interface with Paypal and see how GEP manages dependent jars file. I will contact you here for more help. -B Tim McConnell wrote: Hi

Re: Geronimo Eclipse Plugin (GEP) Deployment problem

2008-12-11 Thread bongosdude
under geronimo repository? Thanks -B bongosdude wrote: Hi Tim, Thanks for your quick reply. Let me explore on how to extend the tutorial to interface with Paypal and see how GEP manages dependent jars file. I will contact you here for more help. -B Tim McConnell wrote: Hi

Re: Geronimo Eclipse Plugin (GEP) Deployment problem

2008-12-11 Thread bongosdude
Tim, I found how to add dep:dependencies in the geronimo-application.xml Thanks B bongosdude wrote: Hi Tim, I explored more with GEP today and I got further based on your hints and recommendations. I have a questions about Geronimo repository/shared lib: It seems to me that Geronimo

Re: Geronimo Eclipse Plugin (GEP) Deployment problem

2008-12-10 Thread bongosdude
I would guess they are proprietary so I doubt you can share them with me, but we can probably create some dummy artifacts from the samples and tutorials to demonstrate these various techniques if that would help you and your development team. Thanks. bongosdude wrote: I am new

Re: Distribution of module failed, Module was not an EJB: SampleEJB.jar

2008-12-10 Thread bongosdude
Well I got this question too. It is a cut and paste error pattern. I copy the method but forgot to copy the annotation. Great short tutorial. -B tagma wrote: Hi Tim, Thanks a lot. I added those two annotations and it worked out well. Its a stupid mistake but when I created interface and

Geronimo Eclipse Plugin (GEP) Deployment problem

2008-12-09 Thread bongosdude
I am new to Geronimo and I have to say that I am quite impressed with it. It really beats my expectation for a new and young JEE server. IMHO, geronimo is as good as weblogic. I have followed steps by steps most of geronimo 2.1.1 samples and successfully installed GEP. However, I have problems