Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Help:You must login to the ServerSession before acquiring ClientSessions

SureshKreddyMar 12 2013 — edited Mar 13 2013
Hi,

We are using toplink, EJB and ADF for our requirement. We are using SessionFactory to get server session and perform transactions using UnitOfWork. We have sessions.xml which looks below:

<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE toplink-configuration PUBLIC "-//Oracle Corp.//DTD TopLink Sessions 9.0.4//EN" "sessions_9_0_4.dtd">
<toplink-configuration>
<session>
<name>default</name>
<project-xml>META-INF/Map.xml</project-xml>
<session-type>
<server-session/>
</session-type>
<login>
<datasource>jdbc/xxxDS</datasource>
<sequence-preallocation-size>1</sequence-preallocation-size>
<uses-external-connection-pool>true</uses-external-connection-pool>
</login>
</session>
</toplink-configuration>

When we deploy in Server, sometimes we are getting the below exceptions. and after sometime its getting hanged.

[TopLink Info]: 2013.03.05 10:35:28.656--ServerSession(29522364)--default login successful
[TopLink Info]: 2013.03.05 10:35:28.657--ServerSession(29522364)--default logout successful
2013-03-05 10:35:28,762 [AJPRequestHandler-HTTPThreadGroup-14] ERROR Delegator -
getotherFeeTypeList() ::Exception Occured.. oracle.oc4j.rmi.OracleRemoteException: Exception [TOPLINK-7001] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.ValidationException
Exception Description: You must login to the ServerSession before acquiring ClientSessions.; nested exception is:
Exception [TOPLINK-7001] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.ValidationException
Exception Description: You must login to the ServerSession before acquiring ClientSessions.

Could anyone throws some light on this, why this is happening and resolutions for the same?

Thanks & Regards,
Suresh

Edited by: Suresh Kethireddy on Mar 12, 2013 2:37 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 10 2013
Added on Mar 12 2013
2 comments
1,099 views