Hi Peter,
Did you put Postgres JDBC jar (say, postgresql-8.3-603.jdbc4.jar) in the
tomcat/lib?
Double check that persistance.xml is correctly deployed into tomcat/webapp.
Also, try to change jdbc/StarjarEnterprise5DS, into
java:comp/env/jdbc/StarjarEnterprise5DS, end let us know do you get
Hi Kevin,
Thanks.
The link you gave indicate how to extend BasicDataSourceFactory. But I
guess this approach isn't feasible for OpenJPA.
I need to extend BasicDataSource directly, right?
And you mentioned there were other instructions on extending the
BasicDataSource. Can you make it clearer?I
Hello everybody,
after spending half of my weekend, I got it to work. I do not know exactly WHY
it works that way, but I think this is marginal ;)
If someone can explain it to me, feel free to do so, I would be glad.
It seems that the cause was a combination of bad Spring configuration and
Hi Yu Wang,
My apologies, but I'm not an expert with DBCP. I just thought I would do a
quick Google search to see what's out there and I found a few hits, one of
which I posted to my previous reply. Since you seem to be interested in
encrypting the password being sent in to DBCP, you will
Hello everybody,
I have got another problem. This time it is a problem with runtime enhancement.
I am enhancing my classes with the following ant script started from Eclipse:
project name=jpa_enhance_builder
path id=enhance.cp
pathelement
Since you're using Eclipse, maybe taking a look at the experimental
Eclipse plugin for OpenJPA 1.2 would help?
http://people.apache.org/~ppoddar/eclipse/
-Donald
naomi-...@gmx.de wrote:
Hello everybody,
I have got another problem. This time it is a problem with runtime enhancement.
I am
Hello Donald,
thank you very much for your answer.
I already heard of that plug-in and would use it in case of doubt. But because
of some security restrictions in my company also including Eclipse plug-ins, I
would prefer an Ant solution to be able to hand-off the project without forcing
Is it possible that only a portion of your Entities are being enhanced by the
build script? How are you invoking the ant build script?
-Rick
--
View this message in context:
http://n2.nabble.com/Runtime-Enhancement%3A-Problems-with-Ant-Task-in-Eclipse-tp2932839p2933295.html
Sent from the
Hi,
really noone who can explain the stack? I double checked that this is
not a SERP version problem but OpenJPA is the only library using SERP.
Looking at the SERP sourcecode reveals that it is more related to some
dynamic bytecode introspecition and not a version issue.
Why cant the
-Marc
Any luck with the suggestion that David made?
David Beer-2 wrote:
On Sat, 16 May 2009 15:32:36 +0200
Marc Logemann l...@logemann.org wrote:
Hi Marc
Can't seem that it is OpenJDK 6 related as I use it here for both my
development and continous build system (hudson under
Hi Rick,
I also had that thought, but the message lists all of my entities, so I think
they all have not been enhanced.
I oriented on the following tutorial for creating and invoking the build script:
http://webspherepersistence.blogspot.com/2009/04/openjpa-enhancement-eclipse-builder.html
I
-Naomi
I don't think you want to invoke the script after a Clean, my vauge
understanding is that would be used to clean up resources that Eclipse
wouldn't have cleaned up as part of a normal clean. In the blog posting, it
shows to invoke the enhancer script on a manual and auto build, have you
Hi Naomi,
Three easy ways to verify that your classes have been enhanced.
One install DJ Decompiler (Windows) or another decompiler and verify
that the class file is enhanced.
Two, run the JDK command:
javap -c classname-without-dot-class
and look for a bunch of methods with names that start
Hey David,
thank you for the tip!
I checked one of my entities with javap:
1. After a clean and manually invoking the enhance task
2. After execution of my application
Both times the class has pc* methods, so it seems that they are enhanced and
not overwritten by Eclipse.
So why the error
Hi all,
I was looking into OpenJPA code (kernel, persistence mainly) to understand
how the control is transferred to the Slice module.
When using Slice we set the value of property openjpa.BrokerFactory to
slice. I searched in PersistenceProviderImpl, EntityManagerFactoryImpl,
BootStrap,
-Naomi
Is it possible that your application is running off some classes(perhaps in
another jar) that you compiled previously before you setup the enhancer?
-Rick
Naomi-san wrote:
Hey David,
thank you for the tip!
I checked one of my entities with javap:
1. After a clean and
Hi Naomi,
On May 18, 2009, at 8:34 AM, naomi-...@gmx.de wrote:
Hey David,
thank you for the tip!
I checked one of my entities with javap:
1. After a clean and manually invoking the enhance task
2. After execution of my application
Both times the class has pc* methods, so it seems that they
Michael -
When you define your openjpac task, you're missing some of the required
classes. You could change your
openjpac taskdef to something like:
taskdef
classpath=${jpa.lib}/openjpa-1.2.1.jar;${jpa.lib}/commons-lang-2.1.jar;commons-collections-3.2.jar
name=openjpac
Jan -
Have you enhanced your Entities? What is the environment that you are
running in?
-Rick
Janek-2 wrote:
Hi,
I have performance problem with queries on uncommited data.
I run huge import, with commit at each 1 items. During import I
make lot of selection queries (to protect
Hi,
so far, I just worked with one binary folder and did not create jars from the
project, too. I checked the whole workspace and the eclipse classpath but did
not find any double classes or imports. I even removed all classes from the
binary folder and rebuilt them.
I debugged my application
Hi Naomi,
On May 18, 2009, at 1:11 PM, naomi-...@gmx.de wrote:
Hi,
so far, I just worked with one binary folder and did not create jars
from the project, too. I checked the whole workspace and the eclipse
classpath but did not find any double classes or imports. I even
removed all
Naomi -
I'm stumped as well... I'd say start over with a new small project and see
if you can get that working. If you are unable to get the small project
working, you can post a zip for us and someone will look at it. I'm still
leaning toward an environment problem.
-Rick
Craig L Russell
22 matches
Mail list logo