I found out the problem, but I continue to need a little help.

I realized that It was working in Tomcat while wasn't in Jetty.

Tomcat was working with a jvm while eclipse ant with another (I changed this
in /window/preferences/installed jre). If I use the same jvm for Tomcat as
well as for compiling with ant, it works for both, tomcat and jetty.

Still I need some help, because I am point jetty to the war archive, while I
would like to point it  to the WEB-INF directory. Thus I save one step, I
will not need to make the war file with ant. But it seems as if Eclipse
compiles with a different jvm the class file which are in bin directory.
When I point jetty to WEB-INF directory, it fails.

Thanks in advance.



On Jan 2, 2008 2:25 AM, Fernando Wermus <[EMAIL PROTECTED]> wrote:

> Could this help?
>
> 3537 [main] DEBUG org.mortbay.log  - loaded class java.util.Arrays
> 3537 [main] DEBUG org.mortbay.log  - loaded class java.util.Arrays from
> null
> 3540 [main] DEBUG org.mortbay.log  - loaded class java.lang.Character
> 3541 [main] DEBUG org.mortbay.log  - loaded class java.lang.Character from
> null
> 3541 [main] DEBUG org.mortbay.log  - loaded class
> org.apache.wicket.protocol.http.ContextParamWebApplicationFactory from
> [EMAIL 
> PROTECTED]([file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/classes/,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/commons-
> collections-3.1.jar ,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/commons-
> lang-2.0.jar,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/slf4j-
> api-1.4.3.jar,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/slf4j-
> log4j12-1.4.3.jar,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/junit-
> 4.1.jar,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/log4j-
> 1.2.13.jar ,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/servlet-
> api-2.5-6.1.7.jar,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/jetty-
> 6.1.7.jar,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/calendario.jar,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/wicket-
> extensions-1.3.0-beta4.jar,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/commons-
> logging-1.0.4.jar,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/joda-
> time-1.5.jar,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/wicket-
> 1.3.0-SNAPSHOT.jar,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/db4o-
> 6.3-java5.jar ,
> file:/tmp/Jetty_0_0_0_0_8081_misPartidos.war__misPartidos__-n7ku6w/webapp/WEB-INF/lib/jetty-
> util-6.1.7.jar]) / [EMAIL PROTECTED]
> 3542 [main] DEBUG org.mortbay.log  -* loaded class java.lang.ClassLoader *
> 3542 [main] DEBUG org.mortbay.log  - *loaded class java.lang.ClassLoaderfrom 
> null
> *
>
>
> On Jan 2, 2008 2:20 AM, Fernando Wermus <[EMAIL PROTECTED] >
> wrote:
>
> >
> > It is a subclass of WicketExampleApplication abstract class which is a
> > subclass of WebApplication.
> >
> >
> > On Jan 1, 2008 11:51 PM, cwilkes <[EMAIL PROTECTED] > wrote:
> >
> > >
> > >
> > > Fernando Wermus-2 wrote:
> > > >
> > > > Application class
> > > > web.SignIn2Application must be a subclass of WebApplication
> > > >
> > >
> > > Is SignIn2Application a subclass of WebApplication?
> > > --
> > > View this message in context:
> > > http://www.nabble.com/jetty-and-eclipse-tp14572549p14572917.html
> > > Sent from the Wicket - User mailing list archive at Nabble.com.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Fernando Wermus.
>
>
>
>
> --
> Fernando Wermus.




-- 
Fernando Wermus.

Reply via email to