Looking at the WEB-INF/lib dir inside the War/extracted dir
Do you have there a servlet.jar?
If so remove it.

johan


On 2/24/06, Singh, Varun <[EMAIL PROTECTED]> wrote:

Hi,

I've tried deploying the wicket-examples war file. Tomcat expands the WAR file into proper directory structure but I couldn't access it through my browser. The error given was -

HTTP Status 404 - /BizCalendar/

 

type Status report

 

message / BizCalendar /

 

description The requested resource (/BizCalendar/) is not available.

Apache Tomcat/5.5.15

 

I checked the logs and it seems Tomcat can't get the wicket libs. The error in the log file read –

Feb 24, 2006 5:31:11 PM org.apache.catalina.core.ApplicationContext log

INFO: Marking servlet BizCalendarApplication as unavailable

Feb 24, 2006 5:31:11 PM org.apache.catalina.core.ApplicationContext log

SEVERE: Error loading WebappClassLoader

  delegate: false

  repositories:

----------> Parent Classloader:

[EMAIL PROTECTED]

 wicket.protocol.http.WicketServlet

java.lang.ClassNotFoundException: wicket.protocol.http.WicketServlet

 

I've copied the wicket-1.1.1.jar in <TOMCAT>/shared/classes directory & added it to classpath.

 

Please to help,

Cheers.

-        Varun

 

 

 

Message: 3

From: "Dipu" <[EMAIL PROTECTED] >

To: <wicket-user@lists.sourceforge.net >

Subject: Re: [Wicket-user] New to Wicket.

Date: Fri, 24 Feb 2006 10:51:59 -0000

Reply-To: wicket-user@lists.sourceforge.net

 

This is a multi-part message in MIME format.

 

------=_NextPart_000_00D0_01C63930.565BD470

Content-Type: text/plain;

      charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable

 

Can you please check what is tomcat complaining about from the log =

files.=20

I dont see any problem deploying the weicket application in tomcat. As i =

develop my application in jetty and deploy in tomcat after building a =

war.

 

Cheers=20

Dipu

 

 

  ----- Original Message -----=20

  From: Singh, Varun=20

  To: [EMAIL PROTECTED]

  Sent: Friday, February 24, 2006 10:43 AM

  Subject: [Wicket-user] New to Wicket.

 

 

  Hi All,

 

  I'm new to Wicket and I'm put into developing a web-application using =

Wicket. I tried searching various examples, but couldn't find any help =

regarding deploying the application on Tomcat. I've made a small .war =

file in accordance to the examples given at the Wicket website but I'm =

not able to get it working with Tomcat.=20

 

  =20

 

  Can someone please point me to the point-by-point procedure of =

deploying a Wicket Application on Tomcat?

 

  =20

 

  Cheerio,

 

  - Varun Singh

 

--__--__--

 

Message: 4

Date: Fri, 24 Feb 2006 11:56:28 +0100

From: "Martijn Dashorst" < [EMAIL PROTECTED]>

To: wicket-user@lists.sourceforge.net

Subject: Re: [Wicket-user] New to Wicket.

Reply-To: wicket-user@lists.sourceforge.net

 

How do you create your war file?

 

What doesn't work when you deploy your war file in tomcat?

 

have you downloaded the wicket-examples, and deployed the included war

file into your tomcat installation?

 

Did that work?

 

Have you downloaded the wicket-quickstart distribution, created a war

file (see the http://wicket.sf.net/wicket-quickstart website for docs

on working with the quickstart distribution), and deployed that into

your tomcat installation?

 

Martijn

 

 

On 2/24/06, Singh, Varun <[EMAIL PROTECTED] > wrote:

> Hi All,

> I'm new to Wicket and I'm put into developing a web-application using

> Wicket. I tried searching various examples, but couldn't find any help

> regarding deploying the application on Tomcat. I've made a small .war fil=

e

> in accordance to the examples given at the Wicket website but I'm not abl=

e

> to get it working with Tomcat.

> Can someone please point me to the point-by-point procedure of deploying =

a

> Wicket Application on Tomcat?

> Cheerio,

> - Varun Singh

 

 

--

Living a wicket life...

 

Martijn Dashorst - http://www.jroller.com/page/dashorst

 

Wicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1

 

 

--__--__--

 


Reply via email to