Skip to main content

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

In the attach'd dbws.war file, I see the manual solution described in bug 328487 has been applied to the 'testSQL-dbws-or-session' (replace <primary-project xsi:type="class"> with <primary-project xsi:type="xml">/META-INF/eclipselink-dbws-or.xml</primary-project> but this hasn't been applied to the 'testSQL-dbws-ox-session' - it is still pointing to a 'class'
project instead of pointing to the eclipselink-dbws-ox.xml project.

The mostly recent nightly TRUNK/2.2 build
 (http://www.eclipse.org/downloads/download.php?file=/rt/eclipselink/nightly/2.2.0/20101025/eclipselink-2.2.0.v20101025-r8402.zip)
should not have this problem.

Hope this helps,
------------------------------------------------------------------------
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

On 25/10/2010 3:16 AM, todhunter wrote:
Still no luck
http://old.nabble.com/file/p30045339/testSQL.xml testSQL.xml
http://old.nabble.com/file/p30045339/dbws.war dbws.war

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

[MWN - many lines deleted ...]

Mike Norman wrote:
There are 2 problems - the first problem can be solved by adding two  additional properties
dataSource (required when deployed to an AppServer) and the wsdlLocation (likely to have
AppServer-specific hostname/portNumber/namingConventions):

<property name="dataSource">jdbc/someDataSource</property>
<property
name="wsdlLocationURI">http://localhost:8080/testSQL/testSQL?wsdl</property>

The second problem is a bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=328487


Back to the top