PROBLEM USING THE LATEST NIGHTLY BUILD

2002-01-09 Thread Michael Clay

Hi all!
 
Just downloaded the latest nbuild to get the LookupDispatchAction but it
seem's that the commons lib is not complete cause I got 
 
The following when starting struts
 
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogSource
at
org.apache.commons.digester.Digester.(Digester.java:309)
at
org.apache.struts.action.ActionServlet.initDigester(ActionServlet.java:1576)
at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1755)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:496)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java:130)
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Exception in thread "main"
 
 



Commons Logging Lib??

2002-01-09 Thread Michael Clay

Anybody knows where I can find/download the lib where this
class->org.apache.commons.logging.LogSource belongs in ??
 
Many thanks mc



LookupDispatcherAction

2002-01-09 Thread Michael Clay

Thanks! have allready found it..but now I found out a null pointer exception
in LookupDispatcherAction... it seem's like that the LookupDispatcherAction
want's to get a Ressource (MessageResources resources =
servlet.getResources();) wich never was initialized in the ActionServlet...

java.lang.NullPointerException

at
org.apache.struts.actions.LookupDispatchAction.perform(LookupDispatchAction.
java:216)

:-(

-Ursprüngliche Nachricht-
Von: Tom Goemaes [mailto:[EMAIL PROTECTED]] 
Gesendet: Mittwoch, 09. Jänner 2002 02:27
An: Struts Users Mailing List
Betreff: Re: Commons Logging Lib??

try
http://jakarta.apache.org/commons/index.html
:)


 "Struts Users Mailing List" <[EMAIL PROTECTED]> wrote:


>Anybody knows where I can find/download the lib where this
>class->org.apache.commons.logging.LogSource belongs in ??
> 
>Many thanks mc
>



--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




AW: LookupDispatcherAction

2002-01-09 Thread Michael Clay

Hi!

1. I have the latest nightly build 20020109

2. i think the LookupDispatcherAction shoud take the ressource from the
servletcontext (MESSAGES_KEY) instead of calling servlet.getResources()
because this returns an MessageResources (named application in
ActionServlet) wich was never be constructed ..see 
//initApplication(); // Replaced by new-style initialization

3. my properties file


*** Method's for LookupDispatcherAction

method.load=Open
method.open=Open

4. my code is same as your sample from 

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg18378.html

Michael

-Ursprüngliche Nachricht-
Von: Erik Hatcher [mailto:[EMAIL PROTECTED]] 
Gesendet: Mittwoch, 09. Jänner 2002 13:40
An: Struts Users Mailing List
Betreff: Re: LookupDispatcherAction

Could you please provide the code that is causing this problem along with
the ApplicationResources.properties file that contains the mappings?

Have you checked the Javadoc for LookupDispatchAction to ensure you've got
all the pieces configured properly?

Erik

- Original Message -----
From: "Michael Clay" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 7:32 AM
Subject: LookupDispatcherAction


Thanks! have allready found it..but now I found out a null pointer exception
in LookupDispatcherAction... it seem's like that the LookupDispatcherAction
want's to get a Ressource (MessageResources resources =
servlet.getResources();) wich never was initialized in the ActionServlet...

java.lang.NullPointerException

at
org.apache.struts.actions.LookupDispatchAction.perform(LookupDispatchAction.
java:216)

:-(

-Ursprüngliche Nachricht-
Von: Tom Goemaes [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 09. Jänner 2002 02:27
An: Struts Users Mailing List
Betreff: Re: Commons Logging Lib??

try
http://jakarta.apache.org/commons/index.html
:)


 "Struts Users Mailing List" <[EMAIL PROTECTED]> wrote:


>Anybody knows where I can find/download the lib where this
>class->org.apache.commons.logging.LogSource belongs in ??
>
>Many thanks mc
>



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>