[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Migrating TOPLINK Essentials to EclipseLink

Could you please include the full stack trace to the exception, and the
source to the UtilIl class.  Is there anything special about this class or
your environment?

As a workaround you can disable weaving.



ercan wrote:
> 
> Hello;
> 
> My EJB3.0 JPA project run successfull with Toplink Essentials on
> JDeveloper 10.1.3.3 embedded OC4J and also with stand alone OC4J. When I
> migrate toplink essentials to eclipselink1.0, I get a problem.
> 
> To migrate the code
> I change the persistence.xml
> 
> <!--<provider>oracle.toplink.essentials.PersistenceProvider
> </provider>-->//past
> <provider>org.eclipse.persistence.jpa.PersistenceProvider </provider>//now
> 
> I add eclipselink.jar to the classpath, using jdevstudio10133 , when I run
> the project , my project is not starting
> 
> PROBLEM:
> 
> [EL Warning]: 2008.08.08 10:36:53.156--ServerSession(17024288)--Weaver
> encountered an exception while trying to weave class model/UtilIl. The
> exception was: java.lang.ArrayIndexOutOfBoundsException: 27233
> 08/08/08 10:36:53 WARNING: Application.setConfig Application:
> current-workspace-app is in failed state as initialization failed. 
> oracle.classloader.util.AnnotatedClassFormatError: Unknown constant tag 0
> in class file model/UtilIl
> 
> Invalid class: model.UtilIl
> Loader: current-workspace-app.root:0.0.0
> Code-Source: /C:/javaProjects/deneme/deneme1/Model/classes/
> Configuration: <ejb> in unknown
> 
> Dependent class: com.evermind.server.ejb.LifecycleManager
> Loader: oc4j:10.1.3
> Code-Source: /C:/jdevstudio10133/j2ee/home/lib/oc4j-internal.jar
> Configuration: <code-source> in META-INF/boot.xml in
> C:\jdevstudio10133\j2ee\home\oc4j.jar
> 
> 
> What is the problem, is there any other configuration file to change 
> Best Regards 
> 
> 


-----
---
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://www.nabble.com/Migrating-TOPLINK-Essentials-to-EclipseLink-tp18887511p18926670.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.