Clicking on Server Logs causes this exception
(after the changes) : The server logs are created
properly.
Geronimo Application Server started
12:55:18,203 ERROR [[DerbyLogViewer]]
Servlet.service() for servlet DerbyLogView
er threw exception
java.lang.NoClassDefFoundError
        at
org.apache.geronimo.console.derbylogmanager.DerbyLogViewerPortlet.cla
ss$(DerbyLogViewerPortlet.java:60)
        at
org.apache.geronimo.console.derbylogmanager.DerbyLogViewerPortlet.doV
iew(DerbyLogViewerPortlet.java:60)
        at
javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:250)
        at
javax.portlet.GenericPortlet.render(GenericPortlet.java:178)
        at
org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218
.............................
    I wonder what I hit to cause the other one...

Thnaks
Anita

--- Joe Bohn <[EMAIL PROTECTED]> wrote:

> Hmmm .... I'm not sure about that exception.  The
> error that I fixed is 
> a java.lang.NoClassDefFoundError exception on Tomcat
> and materialized 
> itself somewhat differently on Jetty.   I wonder if
> the change you made 
> results in the tomcat logs either not being created
> or created in a 
> different location that is causing the NPE.
> 
> Did you try (without your change) to start the
> server via the scripts 
> (either startup.bat or geronimo.bar run) and verify
> that the logs are 
> also created via that scenario (as they are for me)?
>  If, after that, 
> you access the server logs from the web console I
> would expect you to 
> get the NoClassDefFoundError which the JIRA I
> referenced earlier fixes.
> 
> Joe
> 
> anita kulshreshtha wrote:
> >     With this change the tomcat-server starts
> properly
> > and geronimo.log is created. However on clicking
> > 'Server Logs' I get this trace. Does your patch
> for
> > GERONIMO-1634 cover this also? IIRC 
> > server-log4j.properties file is copied from
> > configs/tomcat ?
> > 
> > Thnaks
> > Anita
> > 
> > --- anita kulshreshtha <[EMAIL PROTECTED]>
> wrote:
> > 
> > 
> >>Joe,
> >>   yeah, the server logs in Jetty look ok.
> >>   The server-log4j.properties files are different
> >>for
> >>2 servers -
> >>JETTY -
> >>
> > 
> >
>
log4j.appender.FILE.file=${org.apache.geronimo.server.dir}/var/log/geronimo.log
> > 
> >>TOMCAT -
> >>
> > 
> >
>
log4j.appender.FILE.file=${org.apache.geronimo.base.dir}/var/log/geronimo.log
> > 
> >>      I will use .....server.dir and report back.
> >>
> >>Thanks
> >>Anita 
> >>--- Joe Bohn <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>>Actually, I suspect you're hitting a different
> >>>problem there.  There is 
> >>>a problem with the Derby log viewer and a missing
> >>>class.
> >>>
> >>>There is a defect that I opened about a month ago
> >>
> >>on
> >>
> >>>that one and I do 
> >>>have a patch for it -
> >>>
> >>
>
>>https://issues.apache.org/jira/browse/GERONIMO-1634
> >>
> >>>It's waiting for a committer to take an interest
> >>
> >>and
> >>
> >>>integrate it.   Any 
> >>>takers?
> >>>
> >>>Joe
> >>>
> >>>anita kulshreshtha wrote:
> >>>
> >>>>   I spoke too soon.. This trace is produced by
> >>>>clicking on 'Server Logs' from console.
> >>>>
> >>>>Thnaks
> >>>>Anita
> >>>>
> >>>>--- anita kulshreshtha <[EMAIL PROTECTED]>
> >>>
> >>>wrote:
> >>>
> >>>>
> >>>>>   After a fresh restart of windows
> >>
> >>jetty-server
> >>
> >>>is
> >>>
> >>>>>working fine.
> >>>>>
> >>>>>Thanks
> >>>>>Anita
> >>>>>--- anita kulshreshtha <[EMAIL PROTECTED]>
> >>>
> >>>wrote:
> >>>
> >>>>>
> >>>>>>  This is a problem with jetty-server as well.
> >>>>>>Jetty-server does not produce stack trace but
> >>
> >>the
> >>
> >>>>>>log
> >>>>>>files (geronimo.log, jetty-*.log) are not
> >>>
> >>>created.
> >>>
> >>>>>>Thnaks
> >>>>>>Anita
> >>>>>>
> >>>>>>--- Jeff Genender <[EMAIL PROTECTED]>
> wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>I am not able to reproduce this on a Mac or
> >>>>>>>Linux...I need to get my
> >>>>>>>hands on a Windowz box to see what is up. 
> Can
> >>>>>
> >>>>>you
> >>>>>
> >>>>>
> >>>>>>>gage what GBean is
> >>>>>>>getting started that is failing?
> >>>>>>>
> >>>>>>>Joe Bohn wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>>I created a JIRA for this problem a week ago
> >>>>>
> >>>>>or
> >>>>>
> >>>>>
> >>>>>>>so.
> >>>>>>>
> >>>
>
>>>https://issues.apache.org/jira/browse/GERONIMO-1676
> >>>
> >>>>>>>>I haven't had chance yet to look into a fix
> >>>>>
> >>>>>...
> >>>>>
> >>>>>
> >>>>>>>but it only seems to
> >>>>>>>
> >>>>>>>
> >>>>>>>>happen with the tomcat assemblies and seemed
> >>>>>
> >>>>>to
> >>>>>
> >>>>>
> >>>>>>be
> >>>>>>
> >>>>>>
> >>>>>>>introduced about the
> >>>>>>>
> >>>>>>>
> >>>>>>>>time we upgraded to the new tomcat image.
> >>>>>>>>
> >>>>>>>>Joe
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>anita kulshreshtha wrote:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>>   This applies to rev 385723. I am getting
> >>>>>>
> >>>>>>the
> >>>>>>
> >>>>>>
> >>>>>>>>>following error during server startup.
> >>>>>>>>>
> >>>>>>>>>Booting Geronimo Kernel (in Java
> >>
> >>1.4.2_09)...
> >>
> >>>>>>>>>log4j:ERROR setFile(null,true) call failed.
> >>>>>>>>>java.io.FileNotFoundException:
> >>>>>>>
> >>>>>>>\var\log\geronimo.log
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to