Sorry, Forgot to include the error message: Found web.xml Found WEB-INF/portlet.xml Attempting to add portlet_2_0.tld to war... Adding portlet_2_0.tld to war... Creating war /opt/Programs/apache-tomcat-6.0.14/webapps/reports-0.5.4.war ... War /opt/Programs/apache-tomcat-6.0.14/webapps/reports-0.5.4.war created Jan 4, 2010 12:03:47 AM org.apache.catalina.startup.HostConfig checkResources INFO: Undeploying context [/reports-0.5.4] Jan 4, 2010 12:03:47 AM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive reports-0.5.4.war Jan 4, 2010 12:03:47 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Jan 4, 2010 12:03:47 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/reports-0.5.4] startup failed due to previous errors
On Mon, Jan 4, 2010 at 12:27 AM, Mansour Al Akeel <mansour.alak...@gmail.com> wrote: > Thank you Tor: > > Here's what I have. this is copied from the web.xml from the wicket > maven project : > > <web-app xmlns="http://java.sun.com/xml/ns/j2ee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" > version="2.4"> > <display-name>Reports</display-name> > <filter> > <filter-name>wicket.report</filter-name> > > <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> > <init-param> > <param-name>applicationClassName</param-name> > > <param-value>com.example.automotive.Application</param-value> > </init-param> > <init-param> > <param-name>detectPortletContext</param-name> > <param-value>true</param-value> > </init-param> > </filter> > <filter-mapping> > <filter-name>wicket.report</filter-name> > <url-pattern>/report/*</url-pattern> > </filter-mapping> > </web-app> > > > Here's my portlet.xml : > <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" > version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd > > http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"> > <portlet> > <description>My Wicket portlet examples</description> > <portlet-name>WicketExamplesMenuApplication</portlet-name> > <display-name>wicket examples</display-name> > > <portlet-class>com.example.automotive.BirtPortlet</portlet-class> > <init-param> > <name>wicketFilterPath</name> > <value>/report</value> > </init-param> > <init-param> > <name>viewPage</name> > <value>/report/view</value> > </init-param> > <init-param> > <name>editPage</name> > <value>/report/edit</value> > </init-param> > <supports> > <mime-type>*/*</mime-type> > <portlet-mode>VIEW</portlet-mode> > <portlet-mode>EDIT</portlet-mode> > </supports> > <supported-locale>en</supported-locale> > <portlet-info> > <title>Wicket Birt Portlet Examples</title> > <keywords>Wicket</keywords> > </portlet-info> > </portlet> > </portlet-app> > > And my WebApplication class: > > import javax.servlet.ServletContext; > import org.apache.wicket.Page; > import org.apache.wicket.protocol.http.WebApplication; > > public class Application extends WebApplication { > �...@override > public Class<? extends Page> getHomePage() > { > return ViewReport.class; > } > �...@override > protected void init() > { > mountBookmarkablePage("/view", ViewReport.class); > mountBookmarkablePage("/edit", EditReport.class); > servletContext = getWicketFilter().getFilterConfig() > .getServletContext(); > } > private static ServletContext servletContext; > } > > Now, when I deploy to Jetspeed I get this error in catalina.out, and I > was not able to find any relevant exception in the logs. > I will change the log level and dig further. but I don't know, if > there's something wrong with the web.xml or portlet.xml ? > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org