Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] DSRA9130E: Operation is not permitted by the application server: physicalConnectionWithin

The issue is that WAS wraps the Oracle JDBC connection, so EclipseLink needs
to unwrap the connection to obtain the physical connection.  The correct way
to do this is to use the WebspherePlatform as your target-server in your
persistence.xml.  However there is currently a bug in this ServerPlatform,

https://bugs.eclipse.org/bugs/show_bug.cgi?id=225621

So you can workaround the issue for now by customizing your server platform
or database platform, or using EclipseLink connection pooling.  Please vote
for this bug.



dmitryerkin wrote:
> 
> Hi
> I am trying to save data to the Oracle DB through the 11g oci driver.
> The application server which I use is websphere 7.0.
> In the end I am catching the next error:
> 
> java.lang.RuntimeException: java.sql.SQLFeatureNotSupportedException:
> DSRA9130E: Operation is not permitted by the application server:
> physicalConnectionWithin
> 	at com.ibm.ws.rsadapter.jdbc.WSJdbcWrapper.invoke(WSJdbcWrapper.java:242)
> 	at $Proxy36.physicalConnectionWithin(Unknown Source)
> 	at
> oracle.sql.DatumWithConnection.setPhysicalConnectionOf(DatumWithConnection.java:224)
> 	at oracle.sql.OPAQUE.<init>(OPAQUE.java:91)
> 	at oracle.xdb.XMLType.<init>(XMLType.java:723)
> 	at oracle.xdb.XMLType.createXML(XMLType.java:835)
> 	at oracle.xdb.XMLType.createXML(XMLType.java:825)
> 
> Could you give me a tip how to force Oracle not to use the
> physicalConnectionWithin method?
> Thanks.
> 
> Regards,
> Dmitry
> 


-----
---
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/DSRA9130E%3A-Operation-is-not-permitted-by-the-application-server%3A-physicalConnectionWithin-tp20202081p20207544.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top