Ah, I think that's the issue. I was never actually _using_ static
weaving in the past. So when I was deploying since I had
eclipselink.jar in my WEB-INF/lib directory. Eclipselink was still
used, but now that eclipselink needs to use the weaved classes that
must happen at some deeper level. So OC4J is trying to use toplink
essentials instead.
So my options are:
-Don't weave (bad because all this eager fetching will kill me).
-Replace toplink with eclipselink on the server (bad because i have to
convince sysadmins to change something!)
./tch
On Fri, Jul 2, 2010 at 1:18 PM, Christopher Delahunt
<christopher.delahunt@xxxxxxxxxx> wrote:
Hello,
If it is looking for a _toplink_methodName, then it is using TopLink
Essentials as the persistence provider rather than EclipseLink. Have you
specified the provider name in your persistence.xml or are you relying on
the default?
TopLink Essentials was the default JPA provider in 10g OC4J releases.
Best Regards,
Chris
On 02/07/2010 12:48 PM, Tim Hollosy wrote:
I have some statically weaved classes that are having issues when
deployed to my OC4J server. It's working fine in Jetty.
I'm seeing errors like: java.lang.NoSuchMethoderror:
com.my.entity.Entity._toplink_setmyColumn
The only thing I've changed was using lazy fetching, I could use some
help from the oracle guys debugging. My first thought is that I have a
bad library on the system and it's trying to use some toplink stuff
instead of the correct eclipselink.jar in my WEB-INF/lib. I'm using
OC4J 10.1.3.3 and Eclipselink 2.
I have the eclipselink.weaving property set to static.
Any direction on how to debug this would be helpful.
Thanks
./tch
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users