Hi,
I am having a few problems installing servlets into Orion.
My Server.xml is set to:
<application name="pops" path="../pcms"
deployment-directory="../pcms/deploy" />
My default-web-site.xml is set to:
<web-app application="pops" name="pops-web" root="/pops-web
In ../pcms I have 2 war files
parameters.war - containing uk.co.v21.parameters.ParameterObjectFactory
general.war containing uk.co.v21.general.GeneralServlet
The web.xml files in these wars just defines the Servlet.
my ../pcms/META-INF/application.xml is defined as:
<module>
<web>
<web-uri>parameters.war</web-uri>
<context-root>/pops-web</context-root>
</web>
</module>
<module>
<web>
<web-uri>general.war</web-uri>
<context-root>/pops-web</context-root>
</web>
</module>
What I would like is to be able to reference both of these servlets as:
http://localhost/pops-web/servlet/ParameterObjectFactory
and
http://localhost/pops-web/servlet/General
Obviously I am missing something as I am getting
HTTP 500 - Internal server error
Anyone tell me where I am going wrong.
Is what I want to do possible ? Or do I have to package ALL servlets in one war
file ?
Thanks
Mark