You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Shaun Campbell <Sh...@entranet.co.uk> on 2001/04/03 16:30:29 UTC

RE: [Turbine] tdk 1.1a13 says: "Turbine is not a servlet"

I too have upgraded from tdk1a11 and run into similar problems.

I put my previously running 1a11 webapp into 1a13 and I get the "Turbine is
not a servlet" error.

To see whether the tdk was broken I created a "newapp".  I was surprised to
find this didn't run either. I remembered seeing something about
CATALINA_HOME and saw it was mentioned in the startup.bat script and set it
accordingly.  My "newapp" then run, complete with a new "home" page.

My existing webapp won't run however and I can't get it to rebuild.  Any
ideas what might be causing the problem?

Thanks

Shaun 

-----Original Message-----
From: Kevin Kress [mailto:kevin.kress@comdev.cc]
Sent: 30 March 2001 17:29
To: turbine-user@jakarta.apache.org
Subject: Re: [Turbine] tdk 1.1a13 says: "Turbine is not a servlet"


I have been having the same problems.  I found that the problem occurs
when I have external jars in the WEB-INF/lib directory.  In my case it
was weblogic crap (I dislike WL's servlet container).  I can't say for
sure, but I think it is caused by a sealing violation.  What I did is
the following:

First thing I tried was to put the weblogic jar directly in catalina's
classpath (bad idea I know, but it helped with debugging), this produced
a sealing exception and DID NOT work.
The next thing I did was extract the jar into my WEB-INF/classes dir.  I
had to remove the classes that were conflicting with Catalina/Turbine
(In my case javax.naming), but it seemed to fix the problem.

Kevin


On 30 Mar 2001 11:34:45 +0300, Teemu Hiltunen wrote:
> Hi!
> 
> After updating from 1.1a11 to 1.1a13 I get the following error when
> trying to launch servlet that worked fine in 1.1a11. Could someone
> please tell me what's wrong?
> 
> Teemu Hiltunen
> 
> 
> **************************************************************
> Servlet Exception Has Occurred
> 
> Exception Report:
> 
> javax.servlet.ServletException: Class org.apache.turbine.Turbine is not
> a Servlet



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: [Turbine] tdk 1.1a13 says: "Turbine is not a servlet"

Posted by Sean Legassick <se...@informage.net>.
In message 
<82...@TC-MAIL01.uk.corp.entranet.co.uk> 
, Shaun Campbell <Sh...@entranet.co.uk> writes
>My existing webapp won't run however and I can't get it to rebuild.  Any
>ideas what might be causing the problem?

If you have a servlet*.jar in your WEB-INF/lib directory, remove it.

-- 
Sean Legassick
sean@informage.net
         Ek is 'n man: niks menslik is vreemd vir my nie

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: [Turbine] tdk 1.1a13 says: "Turbine is not a servlet"

Posted by "Albrecht F.Leiprecht" <al...@mail.ccc-casino.com>.
> I too have upgraded from tdk1a11 and run into similar problems.
>
> I put my previously running 1a11 webapp into 1a13 and I get the "Turbine
is
> not a servlet" error.
>
> To see whether the tdk was broken I created a "newapp".  I was surprised
to
> find this didn't run either. I remembered seeing something about
> CATALINA_HOME and saw it was mentioned in the startup.bat script and set
it
> accordingly.  My "newapp" then run, complete with a new "home" page.

Hm... seems you just copied the application directory into the new webapps
folder...

There are *.jar files in this directory ... webapps/YourApp/WEB_INF/lib

if you don't use any custom jars delete them ... and copy the jars from the
directory

/tdk/share/tdk-lib

to that directory...

so long
albi





---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org