Help:You must login to the ServerSession before acquiring ClientSessions
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