[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.webtools] Re: Building and Running a Web Application

I decided to try another example, the SchoolSchedule. I can get the Schedule.jsp to run if I add Schedule.jsp to the end of the http://localhost:8080/SchoolSchedule/ which is all that appears in the link window when I choose Run on Server. When I try to add a class with the button on the window, I get:

HTTP Status 404 - /SchoolSchedule/Schedule
--------------------------------------------------------------------------------
type Status report
message /SchoolSchedule/Schedule
description The requested resource (/SchoolSchedule/Schedule) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.17


When I move my code to the webapps directory of Tomcat, the initial window opens but when I try and add a class I get:

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute
org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1251)
org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:129)
org.eclipse.wtp.sample.classschedule.ScheduleServlet.doPost(ScheduleServlet.java:78)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.

Thanks
Calvin