Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » EclipseLink DBWS @PostConstruct Exception(Problem invoking a service runnin on JBoss)
EclipseLink DBWS @PostConstruct Exception [message #660860] Tue, 22 March 2011 05:50 Go to next message
Evgeny  is currently offline Evgeny Friend
Messages: 4
Registered: March 2011
Junior Member

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(
	at org.eclipse.persistence.internal.xr.XRServiceFactory.buildSessions(
	at org.eclipse.persistence.internal.xr.XRServiceFactory.initializeService(
	at org.eclipse.persistence.internal.dbws.ProviderHelper.buildService(
	at org.eclipse.persistence.internal.dbws.ProviderHelper.init(


<?xml version="1.0" encoding="UTF-8"?>
<dbws-builder xmlns:xsd="">
        <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://</property>
        <property name="dataSource">jdbc/streamin</property>  
        <property name="logLevel">DEBUG</property>	
        <property name="targetNamespace"></property>
        <property name="contextRoot">/service</property>  

    <sql simpleXMLFormatTag="aggregate-info"
	            <![CDATA[select * from stream_in ]]>

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.
Re: EclipseLink DBWS @PostConstruct Exception [message #661252 is a reply to message #660860] Wed, 23 March 2011 17:22 Go to previous message
Mike Norman is currently offline Mike NormanFriend
Messages: 35
Registered: July 2009
That's weird - the code in ProviderHelper.init should be run when
the service is deployed, not when the first SOAP message
hits it!

In the 'stack', you mention JBoss: 5.1.0 GA - have you
installed JBossWS into the GA server?

Can you send me the .war file?
Previous Topic:Convert query to native query
Next Topic:Duplicate key error when persisting a relationship
Goto Forum:

Current Time: Fri Apr 03 11:37:33 GMT 2020

Powered by FUDForum. Page generated in 0.01748 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top