Deleted Catalina.out in ControlTier server by mistake

93 views
Skip to first unread message

Lochan

unread,
Jan 9, 2008, 7:15:02 AM1/9/08
to ControlTier
Hi,

I deleted the Catalina.out file in Tomcat of my ControlTier Standalone
server by mistake.
When I shutdown and startup Apache Tomcat again, After succesful log
in in the workbench I see the following error on workbench screen:

Sorry, but the action could not be performed. Show Details...
An error has occurred. Time: Wed Jan 09 02:49:49 PST 2008

When I see the logs, I get the following error:

ERROR : Premature end of file.
ERROR : Handle uncaught exception. exception config path: /pages/
exception/View.jsp
ERROR : Uncaught exception message: rethrew:
org.xml.sax.SAXParseException: Premature end of file.: trace:
org.xml.sax.SAXParseException: Premature end of file.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl
$XMLDeclDispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)


Please help me out.

--Lochan

Lochan

unread,
Jan 9, 2008, 8:00:58 AM1/9/08
to ControlTier
The log in localhost_log.2008-01-09.txt gives the following error:

2008-01-09 02:08:04 StandardManager[/webdav] IOException while loading
persisted sessions: java.io.EOFException
java.io.EOFException
at java.io.ObjectInputStream
$PeekInputStream.readFully(ObjectInputStream.java:2155)
at java.io.ObjectInputStream
$BlockDataInputStream.readShort(ObjectInputStream.java:2621)
at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:734)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:
251)
at
org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:
57)
at
org.apache.catalina.session.StandardManager.load(StandardManager.java:
355)
at
org.apache.catalina.session.StandardManager.start(StandardManager.java:
602)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
3647)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:
777)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
760)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:538)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:
261)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:731)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:
626)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:375)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:785)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
331)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:
120)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1156)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:697)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1148)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:311)
at
org.apache.catalina.core.StandardService.start(StandardService.java:
450)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:
2213)

Thanks,
Lochan


On Jan 9, 5:15 pm, Lochan <lochan.pan...@gmail.com> wrote:
> Hi,
>
> I deleted the Catalina.out file in Tomcat of my ControlTier Standalone
> server by mistake.
> When I shutdown and startup Apache Tomcat again, After succesful log
> in in the workbench I see the following error on workbench screen:
>
> Sorry, but the action could not be performed.  Show Details...
> An error has occurred. Time: Wed Jan 09 02:49:49 PST 2008
>
> When I see the logs in catalina.out, I get the following error:

Greg Schueler

unread,
Jan 9, 2008, 11:35:03 AM1/9/08
to contr...@googlegroups.com
Hi Lochan,

it sounds like somehow your tomcat sessions have been removed/modified.  Is it possible you accidentally deleted more than just the catalina.out file?

You can try shutting down tomcat, and removing any sessions in $CATALINA_HOME/work/Standalone/yourserver/itnav then restart the server.

On 1/9/08, Lochan <lochan...@gmail.com> wrote:

The log in localhost_log.2008-01-09.txt gives the following error:

2008-01-09 02:08:04 StandardManager[/webdav] IOException while loading
persisted sessions: java.io.EOFException
java.io.EOFException
        at java.io.ObjectInputStream
$PeekInputStream.readFully(ObjectInputStream.java:2155)
        at java.io.ObjectInputStream
$BlockDataInputStream.readShort(ObjectInputStream.java:2621)
        at
java.io.ObjectInputStream.readStreamHeader (ObjectInputStream.java:734)
org.apache.catalina.core.StandardHost.install (StandardHost.java:731)

        at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:
626)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:375)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:785)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
331)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:
120)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1156)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:697)
        at
org.apache.catalina.core.ContainerBase.start (ContainerBase.java:1148)

        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:311)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:
450)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:
2213)

Thanks,
Lochan


Anthony Shortland

unread,
Jan 9, 2008, 11:38:14 AM1/9/08
to ControlTier
Hi Lochan,

If you mean you deleted "$CATALINA_BASE/logs/catalina.out" there should have been no adverse consequence to your ControlTier configuration. Deleting anything in $CATALINA_BASE/conf will cause problems, of course!

Since you're seeing an "EOFException" on what appears to be a persistent session file associated with WebDAV, you'd have to imagine that you've deleted more than a log file!

Consider the following:

  • Are you certain that the old ControlTier processes have been properly cleaned out? We've seen this cause problems in the past.
  • Have you tried re-running the ControlTier installer? Doing so may "fill in" the lost files.
  • Is Workbench running well enough that you can create project archive files from the administration page? If this is the case, you could save these "par" files along with the application specific packages from your WebDAV ($CATALINA_BASE/webapps/webdav/pkgs), and do a fresh ControlTier installation to get around the problem.

By the way, we've recently released ControlTier 3.1rc1 to Sourceforge, and updated our installation instructions. You may want to take this as an opportunity to upgrade.

Anthony.
Anthony Shortland
Group Practice Head - Professional Services | ControlTier Software, Inc. | 1840 Gateway Drive - Suite #200, San Mateo CA 94404 | w: 650.292.9660 x707 ]

Lochan

unread,
Jan 10, 2008, 7:14:30 AM1/10/08
to ControlTier
Hi Anthony,

I am able to successfully log into Workbench.
I am able to create a new project also using the admin tab in
workbench. When I try accessing my old project emans, it gives the
error.
When I try Importing the Par file from DAV using admin tab it again
gives:

ERROR: com.hp.hpl.jena.shared.JenaException: rethrew:
org.xml.sax.SAXParseException: Premature end of file. DETAILS:
rethrew: org.xml.sax.SAXParseException: Premature end of file.

How can I reInstall ControlTier without disturbing the existing
project in it?

Thanks,
Lochan
> 650.292.9660 x707 ]- Hide quoted text -
>
> - Show quoted text -

Anthony Shortland

unread,
Jan 10, 2008, 12:21:10 PM1/10/08
to contr...@googlegroups.com
There may not be a project to preserve ... Jena appears to be indicating that the RDF repository files may be damaged ... take a look in $CATALINA_BASE/rdfdata for truncated or missing files.

If you have accidently trashed the Workbench database, then it will still be possible to recreate the project from source (assuming you've been using ProjectBuilder) and (at least partially) from cached or deployed modules if you haven't.

We can go off-list if you like and work on this together: email me directly.

Anthony.
Reply all
Reply to author
Forward
0 new messages