Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Minor problem with serverSide web.xml
Minor problem with serverSide web.xml [message #57175] Fri, 20 January 2006 01:34 Go to next message
Jim DAnjou is currently offline Jim DAnjouFriend
Messages: 25
Registered: July 2009
Junior Member
For fun I tried publishing the bridge.war to WAS (Websphere). The publish
failed because it detected an issue with the servlet defined in the
web.xml. Moving the <load-on-startup> attribute after the <init-parm>
attributes fixed it and it worked on WAS. I am no expert but I think the
XML schema defines this attributed to be last. The corrected servelet
definition looks like this:

<servlet id="bridge">
<servlet-name>equinoxbridgeservlet</servlet-name>
<display-name>Equinox Bridge Servlet</display-name>
<description>Equinox Bridge Servlet</description>
<servlet-class>org.eclipse.equinox.servlet.bridge.BridgeServlet </servlet-class>

<init-param>
<param-name>enableConsole</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>enableFrameworkControls</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>

Jim D'Anjou
Re: Minor problem with serverSide web.xml [message #57201 is a reply to message #57175] Fri, 20 January 2006 01:52 Go to previous message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

Updated.
Thanks Jim.

"Jim D'Anjou" <danjou@us.ibm.com> wrote in message
news:45f802edffeeadb27cf645346c2d8640$1@www.eclipse.org...
> For fun I tried publishing the bridge.war to WAS (Websphere). The publish
> failed because it detected an issue with the servlet defined in the
> web.xml. Moving the <load-on-startup> attribute after the <init-parm>
> attributes fixed it and it worked on WAS. I am no expert but I think the
> XML schema defines this attributed to be last. The corrected servelet
> definition looks like this:
>
> <servlet id="bridge">
> <servlet-name>equinoxbridgeservlet</servlet-name>
> <display-name>Equinox Bridge Servlet</display-name>
> <description>Equinox Bridge Servlet</description>
>
<servlet-class>org.eclipse.equinox.servlet.bridge.BridgeServlet </servlet-cla
ss>
>
> <init-param>
> <param-name>enableConsole</param-name>
> <param-value>true</param-value>
> </init-param>
> <init-param>
> <param-name>enableFrameworkControls</param-name>
> <param-value>true</param-value>
> </init-param>
> <load-on-startup>1</load-on-startup>
>
> Jim D'Anjou
>
Previous Topic:eclipse server-side startup questions
Next Topic:Failed to start Infocenter(Help System)
Goto Forum:
  


Current Time: Fri Apr 26 10:50:30 GMT 2024

Powered by FUDForum. Page generated in 0.02819 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top