× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ok. As mentioned in the subject, this is a newbie at work here. So
pardon my question: Should I use the war file folder name as the context
name or should I use the name indicated in the display-name tag of the
web.xml as the context name?

"Haas, Matt (CL Tech Sv)" <matt.haas@xxxxxxxxxxx> wrote in message
news:<mailman.6984.1242229956.23468.web400@xxxxxxxxxxxx>...
You need to include the context name (this was specified when you
installed the War file) of your application in the URL.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Lim Hock-Chai
Sent: Wednesday, May 13, 2009 11:36 AM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] WebGroup/Virtual Host has not been defined (newbie at
work)

I'm getting this error "SRVE0255E: A WebGroup/Virtual Host to handle
/cmd has not been defined"

Below is my web.xml
<display-name>

dhiveCommandXML</display-name>

<servlet>

<servlet-name>CommandServlet</servlet-name>


<servlet-class>com.arch.servlet.command.CommandServlet</servlet-class>

<init-param>

-<param-name>com.arch.dhive.propertyFile</param-name>


-<param-value>/javaapps/staging/boss.ear/resources/properties/boss.prope
rties</param-value>
</init-param>



</servlet>



<servlet-mapping>

<servlet-name>CommandServlet</servlet-name>

<url-pattern>/cmd</url-pattern>

</servlet-mapping>




Does anyone know what I need to do to correct this? I'm using WAS6.1
and I got the dhiveCommandXML web module pointing to default_host.


thanks.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.