excalibur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas_Z_Irv...@national.com.au
Subject Errors with Example Servlet from SVN
Date Wed, 14 Dec 2005 04:53:23 GMT




Just been trying to get the examples working using pre compiled JAR files
(cannot build from SVN source because of issues with Firewalls - see
previous post)

in
excalibur-trunk\fortress\examples\src\java\org\apache\avalon\fortress\examples\servlet\servlet.java
 one of the lines for the config is incorrect.
It is
            config.setLoggerManagerConfiguration(
"resource://org/avalon/excalibur/fortress/examples/servlet/ServletContainer.xlog"
 );

but should be
            config.setLoggerManagerConfiguration(
"resource://org/apache/avalon/fortress/examples/servlet/ServletContainer.xlog"
 );

Not sure whether this is a known issue or not (cannot find it on the
bugtracker thingy)

Once fixed I can now talk about the next issue
 [14/12/05 15:51:11:109 EST] 2e5b8b69 ServletInstan E SRVE0100E: Did not
realize  init() exception thrown by servlet Fortress-Example:
javax.servlet.ServletException:
org/apache/excalibur/instrument/manager/DefaultInstrumentManager
      at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:99)
      at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
      at
com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
      at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
      at
com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
      at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:876)
      at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
      at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
      at
com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1279)
      at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:283)
      at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:392)
      at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:211)
      at com.ibm.ws.webcontainer.srt.WebGroup.reload(WebGroup.java:1206)
      at
com.ibm.ws.webcontainer.WebContainer.reload(WebContainer.java:1072)
      at
com.ibm.ws.runtime.component.WebContainerImpl.reload(WebContainerImpl.java:380)
      at
com.ibm.ws.runtime.component.ApplicationMgrImpl$ApplicationNotifier.classChanged(ApplicationMgrImpl.java:637)
      at
com.ibm.ws.classloader.ClassLoaderManager.checkAndNotify(ClassLoaderManager.java:399)
      at
com.ibm.ws.classloader.ClassLoaderManager.access$100(ClassLoaderManager.java:43)
      at
com.ibm.ws.classloader.ClassLoaderManager$ReloadTimerTask.run(ClassLoaderManager.java:435)
      at java.util.TimerThread.mainLoop(Timer.java:447)
      at java.util.TimerThread.run(Timer.java:397)
---- Begin backtrace for Nested Throwables
java.lang.InstantiationError:
org/apache/excalibur/instrument/manager/DefaultInstrumentManager
      at
org.apache.avalon.fortress.util.ContextManager.initializeInstrumentManager(ContextManager.java:988)
      at
org.apache.avalon.fortress.util.ContextManager.initialize(ContextManager.java:247)
      at
org.apache.avalon.fortress.impl.DefaultContainerManager.getInitializedContextManager(DefaultContainerManager.java:87)
      at
org.apache.avalon.fortress.impl.DefaultContainerManager.<init>(DefaultContainerManager.java:74)
      at
org.apache.avalon.fortress.impl.DefaultContainerManager.<init>(DefaultContainerManager.java:68)
      at
org.apache.avalon.fortress.examples.servlet.servlet.init(servlet.java:62)
      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
      at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
      at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
      at
com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
      at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
      at
com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
      at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:876)
      at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
      at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
      at
com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1279)
      at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:283)
      at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:392)
      at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:211)
      at com.ibm.ws.webcontainer.srt.WebGroup.reload(WebGroup.java:1206)
      at
com.ibm.ws.webcontainer.WebContainer.reload(WebContainer.java:1072)
      at
com.ibm.ws.runtime.component.WebContainerImpl.reload(WebContainerImpl.java:380)
      at
com.ibm.ws.runtime.component.ApplicationMgrImpl$ApplicationNotifier.classChanged(ApplicationMgrImpl.java:637)
      at
com.ibm.ws.classloader.ClassLoaderManager.checkAndNotify(ClassLoaderManager.java:399)
      at
com.ibm.ws.classloader.ClassLoaderManager.access$100(ClassLoaderManager.java:43)
      at
com.ibm.ws.classloader.ClassLoaderManager$ReloadTimerTask.run(ClassLoaderManager.java:435)
      at java.util.TimerThread.mainLoop(Timer.java:447)
      at java.util.TimerThread.run(Timer.java:397)

[14/12/05 15:51:11:124 EST] 2e5b8b69 WebGroup      E SRVE0020E: [Servlet
Error]-[Fortress-Example]: Failed to load servlet:
java.lang.InstantiationError:
org/apache/excalibur/instrument/manager/DefaultInstrumentManager
      at
org.apache.avalon.fortress.util.ContextManager.initializeInstrumentManager(ContextManager.java:988)
      at
org.apache.avalon.fortress.util.ContextManager.initialize(ContextManager.java:247)
      at
org.apache.avalon.fortress.impl.DefaultContainerManager.getInitializedContextManager(DefaultContainerManager.java:87)
      at
org.apache.avalon.fortress.impl.DefaultContainerManager.<init>(DefaultContainerManager.java:74)
      at
org.apache.avalon.fortress.impl.DefaultContainerManager.<init>(DefaultContainerManager.java:68)
      at
org.apache.avalon.fortress.examples.servlet.servlet.init(servlet.java:62)
      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
      at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
      at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
      at
com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
      at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
      at
com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
      at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:876)
      at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
      at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
      at
com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1279)
      at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:283)
      at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:392)
      at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:211)
      at com.ibm.ws.webcontainer.srt.WebGroup.reload(WebGroup.java:1206)
      at
com.ibm.ws.webcontainer.WebContainer.reload(WebContainer.java:1072)
      at
com.ibm.ws.runtime.component.WebContainerImpl.reload(WebContainerImpl.java:380)
      at
com.ibm.ws.runtime.component.ApplicationMgrImpl$ApplicationNotifier.classChanged(ApplicationMgrImpl.java:637)
      at
com.ibm.ws.classloader.ClassLoaderManager.checkAndNotify(ClassLoaderManager.java:399)
      at
com.ibm.ws.classloader.ClassLoaderManager.access$100(ClassLoaderManager.java:43)
      at
com.ibm.ws.classloader.ClassLoaderManager$ReloadTimerTask.run(ClassLoaderManager.java:435)
      at java.util.TimerThread.mainLoop(Timer.java:447)
      at java.util.TimerThread.run(Timer.java:397)

It looks like I am missing something, but not sure what?


Regards,
Nicholas Irving

( +61 3 8641 3236      2 +61 3 8641 6810      :
Nicholas_Z_Irving@national.com.au

Identity Management, Web Applications
Support Technology


National Australia Bank
Floor 4, 500 Bourke Street
Melbourne, Victoria 3000

(Embedded image moved to file: pic17135.jpg)identityCentre Home Page
                                                                            
                                                                            
                                                                            


This email is sent by or on behalf of the named sender identified above. If
you do not wish to receive any email marketing material from this person in
the future, please forward the contents of this email to
unsubscriptions@national.com.au with the word "unsubscribe" in the subject
box. If you do not forward the contents of this email with your
unsubscription then it may not be able to be implemented.  If you wish to
unsubscribe from all central email marketing lists used by our business,
please forward the contents of this email to
unsubscriptions@national.com.au with the message "unsubscribe from all
central email marketing lists" in the subject box.  If you do not forward
the contents of this email with your unsubscription then it may not be able
to be implemented.


The information contained in this email communication may be confidential.
You should only disclose, re-transmit, copy, distribute, act in reliance on
or commercialise the information if you are authorised to do so.  Any views
expressed in this email communication are those of the individual sender,
except where the sender specifically states them to be the views of a
member of the National Australia Bank Group of companies.  Any advice
contained in this e-mail has been prepared without taking into account your
objectives, financial situation or needs. Before acting on any advice in
this e-mail, National Australia Bank Limited recommends that you consider
whether it is appropriate for your circumstances. If this e-mail contains
reference to any financial products, the National recommends you consider
the Product Disclosure Statement (PDS) or other disclosure document  before
making any decisions regarding any products.  The National Australia Bank
Group of companies does not represent, warrant or guarantee that the
integrity of this communication has been maintained nor that the
communication is free of errors, virus or interference.
Mime
View raw message