infocenter shutdown [message #475482] |
Tue, 14 April 2009 14:21 |
Ted Lyons Messages: 14 Registered: July 2009 |
Junior Member |
|
|
I'm starting a standalone infocenter via a servlet. When the servlet gets
started, its starts the infocenter. In the servlet's init() method:
helpSystem = new Infocenter(args);
try {
helpSystem.start();
Then, I want to shutdown the help system when the servlet is stopped, so
in the servlet's destroy() method I have this:
helpSystem.shutdown();
I'm getting a FileNotFoundException when I attempt this. Does anyone know
why or what I'm doing wrong? What is this ".connection" file it is
looking for?
java.io.FileNotFoundException:
C:\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01\temp\tlyons 2Node01\server1\MXECLIPSE\maximoeclipse.war\mxe\eclipse\work space\.metadata\.connection
(The system cannot find the file specified.)
java.io.FileInputStream.open(Native Method)
java.io.FileInputStream.<init>(FileInputStream.java:135)
org.eclipse.help.internal.standalone.EclipseConnection.renew (EclipseConnection.java:115)
org.eclipse.help.internal.standalone.EclipseController.sendH elpCommandInternal(EclipseController.java:174)
org.eclipse.help.internal.standalone.EclipseController.shutd own(EclipseController.java:83)
org.eclipse.help.standalone.Infocenter.shutdown(Infocenter.j ava:71)
psdi.servlet.EclipseStartupServlet.destroy(EclipseStartupSer vlet.java:48)
com.ibm.ws.webcontainer.servlet.ServletWrapper.doDestroy(Ser vletWrapper.java:778)
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.doDestroy(S ervletWrapper.java:676)
com.ibm.ws.webcontainer.servlet.ServletWrapper.destroy(Servl etWrapper.java:857)
com.ibm.ws.webcontainer.webapp.WebApp.destroy(WebApp.java:25 07)
....
|
|
|
Powered by
FUDForum. Page generated in 0.03181 seconds