Well first... what the error actually says is that there's no method 
setup(String) in your Application class, which would tend to suggest that it 
has found some Application class. I'm not very familiar with WAR deployment, 
and I am in fact not able to find code for ERXServletAdaptor in Wonder trunk 
(what version of Wonder is this?), but it looks like the ERXServletAdaptor is 
expecting Application or something it inherits from to provide a setup(String) 
method. There is an implementation of setup() in ERXApplication, so I would 
guess ERXServletAdaptor is expecting your Application class to extend 
ERXApplication. Does it? If it does, that's when I'd start looking at problems 
with the classpath.

Clark

On 2010-01-18, at 10:58 PM, Thixton Cal wrote:

> 
> So, upgrading to a more current version of WOLips and with Jame's advice, I 
> get the WAR to build with a current version of build.xml.
> 
> All the frameworks are now included and I install it through the Tomcat 
> manager. 
> 
> Then I get this when starting it up:
> 
> Jan 19, 2010 12:25:22 AM org.apache.catalina.core.AprLifecycleListener init
> INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
> Jan 19, 2010 12:25:22 AM org.apache.catalina.core.AprLifecycleListener init
> INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], 
> random [true].
> Jan 19, 2010 12:25:22 AM org.apache.coyote.http11.Http11AprProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Jan 19, 2010 12:25:22 AM org.apache.coyote.ajp.AjpAprProtocol init
> INFO: Initializing Coyote AJP/1.3 on ajp-8008
> Jan 19, 2010 12:25:22 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 811 ms
> Jan 19, 2010 12:25:22 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Jan 19, 2010 12:25:22 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
> Jan 19, 2010 12:25:23 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive LMCases.war
> java.lang.NoSuchMethodException: Application.setup([Ljava.lang.String;)
>       at java.lang.Class.getMethod(Class.java:1605)
>       at 
> er.extensions.jspservlet.ERXServletAdaptor.invokeApplicationSetupMethod(ERXServletAdaptor.java:52)
>       at 
> er.extensions.jspservlet.ERXServletAdaptor.init(ERXServletAdaptor.java:65)
>       at javax.servlet.GenericServlet.init(GenericServlet.java:212)...
> 
> 
> I know I have all of the frameworks installed, but for some reason, it cannot 
> find the "Application" class. 
> 
> Is this because I either did not split up the application properly between 
> /Library/WebObjects/Applications and /Library/Tomcat/Home/webapps? 
> 
> Or perhaps I did not set the principalClass properly?
> 
> I do find things referencing the setting of the principalClass like in 
> Chuck's note here (although I am not sure if this has be deprecated):
> 
>       http://lists.apple.com/archives/webobjects-dev/2006/Feb/msg00143.html
> 
> But I have no idea what else to set the principalClass to in 
> build.properties; none of the HOWTO's says anything other than leaving it set 
> to Application. 
> 
>       So what am I missing? 
> 
>               Thanks
>                               Cal
> 
> 
> 
> 
> 
> On Jan 13, 2010, at 6:03 PM, Thixton Cal wrote:
> 
>> 
>> James,
>>      Thanks! it looks like you were right; for some reason, the WOLips I 
>> have installed is generating the old build.xml format.
>> 
>>      Your newer version looks to be working so far. 
>> 
>>              Thanks
>>                      Cal
>> 
> 
> 
> 
> Cal Thixton
>   President
>   SpeedSite Online - ThoughtPort Authority of Chicago, Inc.
>   858 West Armitage #311 Chicago IL 60614
>   773-394-9300v 800-880-1580v 773-409-5612f
>   http://www.speedsite.com
> 
> Ask us about your WebObjects, Joomla or iPhone projects
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-deploy mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-deploy/cpmueller%40mac.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to