web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>myWicket</display-name>
<servlet>
<servlet-name>Yakhdor_Dealler</servlet-name>
<servlet-class>wicket.protocol.http.WicketServlet</servlet-class>
<init-param>
<param-name>applicationClassName</param-name>
<param-value>com.yakhdor.application.Start</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Yakhdor_Dealler</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
Jetty-config.xml
<?xml version=" 1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.2//EN" "http://jetty.mortbay.org/configure_1_2.dtd">
<Configure class="org.mortbay.jetty.Server">
<Call name="addListener">
<Arg>
<New class="org.mortbay.http.SocketListener">
<Set name="Port"><SystemProperty name=" jetty.port" default="8080"/></Set>
<Set name="MinThreads">50</Set>
<Set name="MaxThreads">100</Set>
<Set name="MaxIdleTimeMs">30000</Set>
<Set name="LowResourcePersistTimeMs">5000</Set>
<Set name="ConfidentialPort">8443</Set>
<Set name="IntegralPort">8443</Set>
</New>
</Arg>
</Call>
<Call name="addWebApplication">
<Arg>/</Arg>
<Arg>/workspace/Yakhdor_Dealler</Arg>
</Call>
<Set name="requestsPerGC">2000</Set>
<Set name="statsOn">false</Set>
</Configure>
On 2/20/06,
Ali Zaid <[EMAIL PROTECTED]> wrote:
I totally don't get it, the same configurate work when I replace wicket-1.2-20060220.jar with wicket-1.2-20060212.jar? and I have been using this config for the last 4 months--On 2/20/06, Mark Derricutt <[EMAIL PROTECTED]> wrote:On 2/20/06, Ali Zaid <[EMAIL PROTECTED]> wrote:ERROR - RequestCycle - The mount path '/' is reserved for the application home page
java.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page
That sounds valid - / would be the logical home page (as set with the Appliation#getHomePage method.
Mark
Regards, Ali
--
Regards, Ali
