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-td2
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 reply
r
> provided
>
>
> org.tranql
> tranql-connector-ra
> rar
> provided
>
>
>
> both in dependencies and as module elements in the car-maven-plugin
> configuration.
>
> thanks
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:
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/20
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 dep
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
=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 into my plan.xml. but maven still complains?
>
>
> http://geronimo.apache.org/xml/ns/j2e
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_use
out with message,
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 c
uplicate the xa pool and change the tx element to 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
>> da
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 m
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
>
> http://geronimo.a
rt for a connector that
supports only local transactions: named: my_users
What is wrong with my plan.xml
bongosdude wrote:
>
>
>
> David,
>
> I figured out part of my problems by looking at Bank/Caculator samples.
> Bank tomcat/jetty plugins depend on the sampl
n your 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, bongosdu
in my EJB module, I have created a persistence.xml as below:
CallingCardUserJPA
org.apache.openjpa.persistence.PersistenceProviderImpl
callingcard_users
com.mycom.services.svc.model.entity.users.User
com.mycom.services.xvc.
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
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 dire
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 quest
f Apache Geronimo
> v2.1 2 " from your server runtime or server list.
> After that, if all 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.*
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
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 somethi
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.
>
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 creat
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
archyty
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
gt; and then restart the server and retry 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
I found it from console. There is a menu "JNDI Viewer", so this is the JNDI
for my db pool name: "jdbc/myvoipdb"
Thanks
CG-6 wrote:
>
> Hi all, I have solved the previous problem by reinstalling geronimo ,
> adding tag at appropriate line in persistence.xml
>
> I decided
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:
http://www.springframework.org/
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:
http://www.nabble.com/
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 ex
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
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
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
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 a
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 l
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 ve
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
tutoria
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/opens
: 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 us
Should I check out 2.2 dev trunk from this URL
https://svn.apache.org/repos/asf/geronimo/server/trunk
Can you provide SVN url where I can check out 2.2 dev?
Thanks
djencks wrote:
>
>
> On Dec 15, 2008, at 12:10 AM, David Jencks wrote:
>
>>
>> On Dec 14, 2008, at 7
I have problem to deploy EAR file to my 2.1.1 geronimo server (+ tomcat
plugin). I have followed most sample to make sure that my geronimo
installation works. How can I trace to see what I missed to include in my
EAR that causes this kind of problem. I suspect that a dedendent lib is
missing but I
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 samp
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 establis
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 JAVA_OPTS=${JAVA_
Tim,
I found how to add 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
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
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
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
u 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 to Geronimo and I have to say
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 wit
50 matches
Mail list logo