Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] DBWS output format

See comments inline ...

On 21/10/2010 3:15 AM, todhunter wrote:
I followed your instruction and I generated dbws.war (
http://old.nabble.com/file/p30016792/dbws.war dbws.war ).
I am using glassfish-3.0.1. 
Files 
eclipselink.jar
javax.persistence_1.0.0.v200905011740.jar
javax.persistence_2.0.1.v201006031150.jar
org.eclipse.persistence.oracle_2.1.2.v20101019-r8373.jar
are in lib directory of glassfish
I revcived error after call WS

[#|2010-10-21T09:06:46.263+0200|SEVERE|glassfish3.0.1|com.sun.xml.ws.server.SyncProviderInvokerTube|_ThreadID=31;_ThreadName=http-thread-pool-8080-(2);|com.sun.enterprise.container.common.spi.util.InjectionException:
Error creating managed object for class _dbws.DBWSProvider

... [MWN - many many lines deleted] ...

Caused by: Exception [EclipseLink-47007] (Eclipse Persistence Services -
2.0.1.v20100213-r6600): org.eclipse.persistence.exceptions.DBWSException
The version of EclipseLink used to generate the DBWS Web service (r8373) is different from the version embedded in Glassfish 3.0.1 (r6600).
The modules in ...glassfishv3/glassfish/modules need to be updated:

    org.eclipse.persistence.antlr_2.1.2.v20101019-r8373.jar
    org.eclipse.persistence.asm_2.1.2.v20101019-r8373.jar
    org.eclipse.persistence.core_2.1.2.v20101019-r8373.jar
    org.eclipse.persistence.jpa_2.1.2.v20101019-r8373.jar
    org.eclipse.persistence.jpa.modelgen_2.1.2.v20101019-r8373.jar
    org.eclipse.persistence.oracle_2.1.2.v20101019-r8373.jar


and the DBWS runtime module needs to be added:

    org.eclipse.persistence.dbws_2.1.2.v20101019-r8373.jar

The last thing to check is that the -packageAs argument is correct:

    prompt>dbwsbuilder.sh -builderFile /tmp/sqltest/dbws-builder.xml -stageDir /tmp/sqltestout -packageAs  glassfish


Hope this helps,

Oracle
Mike Norman | Principal Software Designer
Phone: +6132884638 | Fax: +6132382818
Server Technologies | EclipseLink Product
Oracle Canada | 45 O'Connor Street, Suite 400, Ottawa, Ontario | K1P 1A4

Hardware and
          Software, Engineered to Work Together
Oracle is
          committed to developing practices and products that help
          protect the environment


Back to the top