You are not logged in.

#1 2010-12-01 15:24:23

BBBB
Member
Registered: 2010-04-06
Posts: 6

tomcat6 + jsp problem

Hi all,
Please sorry my bad written english.

i have used tomcat 5.5 so far, for some servlet and jsp.
but i need to upgrade cause i need the jsf framework.
I've installed tomcat6, tomcat6-daemon, I can start it via, /etc/rc.d/tomcat start.

As before i can deploy servlet / jsp applications via netbeans.
But a simple page (like this) that uses a jsp include

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        <jsp:include page="content.jsp"/> <%-- the guilt jsp include  --%>
        <% new Integer(4); %>
    </body>
</html>

fails and throws 
javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/sun/enterprise/web/io/ByteWriter .

i have googled the problem and it seems related to the jsp version used, but im not totally sure, and don't know how to proceed.
Can you give me some suggestions ? Every suggestions is welcome.

Offline

#2 2011-10-03 13:08:53

Wikimig
Developer
From: France
Registered: 2004-12-10
Posts: 77
Website

Re: tomcat6 + jsp problem

Hello,

If you have installed tomcat6 and tomcat6-daemon that means you have installed the AUR version (maybe back when tomcat6 was not officially supported in Arch Linux yet).
Please try to "upgrade" to the official Arch Linux tomcat6 package and report back in case of trouble.

Offline

#3 2011-10-03 13:17:09

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: tomcat6 + jsp problem

Not sure the fellow is even watching this thread now.


I laugh, yet the joke is on me

Offline

#4 2011-10-03 13:19:30

Wikimig
Developer
From: France
Registered: 2004-12-10
Posts: 77
Website

Re: tomcat6 + jsp problem

No but this could be usefull to others.

Offline

#5 2011-10-03 13:32:01

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: tomcat6 + jsp problem

Not really, if the solution really was to upgrade, then anyone new having this problem has probably upgraded already seeing as tomcat6 isn't even in the AUR now.


I laugh, yet the joke is on me

Offline

#6 2011-10-03 19:06:43

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: tomcat6 + jsp problem

And another necro thread closed.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB