EclipseLink DBWS @PostConstruct Exception [message #660860] |
Tue, 22 March 2011 01:50  |
Eclipse User |
|
|
|
Hi,
I'm trying to implement a simplest service using EclipseLink DBWS.
No problem generating the deployment, deploying or getting the WSDL.
However when I try to invoke it from SoapUI I get the following exception:
Exception Description: Could not locate file [eclipselink-dbws-sessions.xml]
at org.eclipse.persistence.exceptions.DBWSException.couldNotLocateFile(DBWSException.java:64)
at org.eclipse.persistence.internal.xr.XRServiceFactory.buildSessions(XRServiceFactory.java:226)
at org.eclipse.persistence.internal.xr.XRServiceFactory.initializeService(XRServiceFactory.java:174)
at org.eclipse.persistence.internal.dbws.ProviderHelper.buildService(ProviderHelper.java:680)
at org.eclipse.persistence.internal.dbws.ProviderHelper.init(ProviderHelper.java:237)
DBWS-Builder.xml:
<?xml version="1.0" encoding="UTF-8"?>
<dbws-builder xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<properties>
<property name="projectName">PGDB</property>
<property name="driver">org.postgresql.Driver</property>
<property name="platformClassname">org.eclipse.persistence.platform.database.PostgreSQLPlatform</property>
<property name="username">streamin</property>
<property name="password">streamin</property>
<property name="url">jdbc:postgresql://127.0.0.1:5432/DEVT1</property>
<property name="dataSource">jdbc/streamin</property>
<property name="logLevel">DEBUG</property>
<property name="targetNamespace">http://www.streamin.nl/streamin</property>
<property name="contextRoot">/service</property>
</properties>
<sql simpleXMLFormatTag="aggregate-info"
xmlTag="DATA"
name="getData"
isCollection="true">
<statement>
<![CDATA[select * from stream_in ]]>
</statement>
</sql>
</dbws-builder>
The stack:
EclipseLink : 2.1.2, 2.2.0, 2.3.0
JBoss: 5.1.0 GA
JDK: 1.6.0_21
Postgres: 8.4
Do I miss something obvious? I have put eclipselink.jar into the server /lib forlder...
Please help.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03714 seconds