First of all, thank you for your answer.
I added those lines into domain.xml but one more thing I needed to do is to change
availability-enabled to true in:
<j2ee-application availability-enabled="true" directory-deployed="false" enabled="true" java-web-start-enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/KEApplication" name="KEApplication" object-type="user"/>
So then I saw in log that file-based persistence is enabled for my application.
I tried to work with application, then restart domain and try to continue my session.
But exception was thrown:
[#|2007-05-28T10:33:57.703+0400|SEVERE|sun-appserver9.1|org.apache.catalina.core
.ContainerBase|_ThreadID=13;_ThreadName=ContainerBackgroundProcessor[StandardEng
ine[com.sun.appserv].StandardHost[server].StandardContext[/KE]];_RequestID=36657
087-c514-4055-ba5a-0fa60fa18977;|Exception invoking periodic operation:
java.lang.ClassCastException: cannot assign instance of java.lang.String to fiel
d com.sitronicsts.ngage.ke.ui.managed.SessionContext.facade of type com.sitronic
sts.ngage.ke.datalayer.core.KESessionFacade in instance of com.sitronicsts.ngage
.ke.ui.managed.SessionContext
at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStre
amClass.java:2004)
What could be the problem?
[Message sent by forum member 'hazurek' (hazurek)]
http://forums.java.net/jive/thread.jspa?messageID=219147