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 g
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 fo
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 som
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 probabl
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:
Hi is_maximum,
OpenJPA provides "select for update" capability via the combination of the
pessimistic lock manager and the desired isolation levels. Our
documentation explains the basics of these capabilities [1], but you may
also want to reference the IBM WebSphere documentation that goes into a
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 e
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
ever
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 OpenJP
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 PCE
-Marc
Any luck with the suggestion that David made?
David Beer-2 wrote:
>
> On Sat, 16 May 2009 15:32:36 +0200
> Marc Logemann 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 tomcat).
>
> Are
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 e
-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
t
I tried to invoke it after a build, but the problem is that it is not invoked
if I use CTRL + B or the corresponding menu items.
I just tried to delete all content from my binary folder and then starting a
build, but this did not work either. Honestly, there are also no classes
created. I can o
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
and look for a bunch of methods with names that start with "pc".
Three, do a cle
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 mess
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, JPAF
-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 a
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
Running my ant-script to enhance my pc-classes I get these messages:
Buildfile: C:\home\sim\dev\otj-domain\src\build.xml
enhance:
[openjpac] Some product derivations are being skipped. For information about
product derivation
status, run:
[
Hi Anurag,
OpenJPA configuration framework uses the concept of ProductDerivation to
load almost everything. So the answer to your question lies in two files
.\openjpa-slice\src\main\resources\META-INF\services\org.apache.openjpa.lib.conf.ProductDerivation
and
.\openjpa-slice\src\main\java\o
Michael -
When you define your openjpac task, you're missing some of the required
classes. You could change your
openjpac taskdef to something like:
-Rick
Michael Simons wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello,
>
> Running my ant-script to enhance my pc-cl
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 prote
On Mon, 18 May 2009 18:34:18 +0200
Michael Simons wrote:
>
I am reckon that ant can't find the library properly as the path is
invalid to the folder. should be ../openjpa-1.2.1.
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 classe
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 wrote
27 matches
Mail list logo