java.io.FileNotFoundException when modifying session timeout
 Technote (troubleshooting)
 
Problem(Abstract)
When modifying the session timeout value, a java.io.FileNotFoundException occurs.
 
Cause
When modifying session time out from a console as follows:

1. + Applications -> Enterprise Applications -> <Application>
2. Local Topology
3. + <Application> -> + Web Modules -> <Application>.war
4. Session Management -> Session Timeout
5. 60
6. Apply -> Save -> Save

An error occurred while processing request: /admin/syncworkspace.do Message: java.io.FileNotFoundException: No such path or directory.

com.ibm.ws.sm.workspace.WorkSpaceException: /QIBM/UserData/WebASE/ASE5/<Server>/wstemp/-2095513601 /workspace/cells/<System_Server/applications/<Application>.ear
/deployments/<Application>/ibm-application-ext.xmi

java/lang/Throwable.<init>(Ljava/lang/String;)V+4
(Throwable.java:85)
java/lang/Exception.<init>(Ljava/lang/String;)V+1
(Exception.java:33)
com/ibm/ws/exception/WsException.<init>(Ljava/lang/String;)V+1
(WsException.java:74)
com/ibm/ws/sm/workspace/impl/WorkSpaceMasterRepositoryAdapter.updat
e([Ljava/util/Map;)V+68(WorkSpaceMasterRepositoryAdapter
.java:366)
com/ibm/ws/sm/workspace/impl/RepositoryContextImpl.synch(Ljava/util
/Map;)V+42 (RepositoryContextImpl.java:1144)
com/ibm/ws/sm/workspace/impl/WorkSpaceImpl.synch(Ljava/util/Map;)V+
4 (WorkSpaceImpl.java:312)
com/ibm/ws/console/core/action/SyncWorkSpaceAction.perform(Lorg/apa
che/struts/action/ActionMapping;Lorg/apache/struts/action/Action
Form;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http
/HttpServletResponse;)Lorg/apache/struts/action
/ActionForward;+615(SyncWorkSpaceAction.java:164)
org/apache/struts/action/ActionServlet.processActionPerform(Lorg/ap
ache/struts/action/Action;Lorg/apache/struts/action
/ActionMapping;Lorg/apache/struts/action/ActionForm;Ljavax/
servlet/http/HttpServletRequest;Ljavax/servlet/http
/HttpServletResponse;)Lorg/apache/struts
/action/ActionForward;+1 (ActionServlet.java:1791)
org/apache/struts/action/ActionServlet.process(Ljavax/servlet/http/
HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+354
(ActionServlet.java:1586)
org/apache/struts/action/ActionServlet.doGet(Ljavax/servlet/http/Ht
tpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+1

Files generated by Websphere are placed under the META-INF
directory. However, when trying to save the changes the code is looking for:.
ibm-web-ext.xmi at
\applications\DefaultApplication.ear.ear\deployments\DefaultApplication.ear\ibm-application-ext.xmi

Instead it should be looking at:
\applications\DefaultApplication.ear.ear\deployments\DefaultApplication.ear\META-INF\ibm-application-ext.xmi

 
Resolving the problem
The fix is available in V5.1.1 releases. No fix exists for V5.0.2 releases.

The issue has been fixed in WAS 5.0.2.14 - APAR PK06981

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Administrative Console (all non-scripting)
Operating system(s): Windows
Software version: 5.0.2.10
Software edition:
Reference #: 1207438
IBM Group: Software Group
Modified date: Dec 31, 2005