http://www-106.ibm.com/developerworks/websphere/library/techarticles/0301_mcgee/mcgee.html

Question: I continually receive the following console output in WebSphere
Studio Application Developer 5.0:


Servlet Request Processor Exception: Virtual Host/WebGroup Not Found:
The web group /theme/Master.css has not been defined
The message is repeated for each of the CSS files in the application.
(submitted by Jay Burrill)

Answer: The exact cause of your problem depends on your configuration, and
without more information, will be hard to diagnose. However, maybe a little
background information will be helpful. WebSphere supports virtual hosting
for Web applications. What this means is that when a request is made to the
application server, the entire URL (host, port, and URI) is used to locate
the appropriate Web application to service the request. The message you are
receiving is produced because the application server cannot locate a
matching virtual host or a Web application that matches the URI.

To find the virtual host, the application server looks at the host and port
of the incoming request. This is the host and port in the address bar of
your browser, or more precisely, the host and port sent in the host header
of the HTTP request. Since you are getting this message, you are getting to
the AppServer so the problem may be related to the alias list of the virtual
hosts in your WebSphere configuration. The virtual host information is
stored in the file <install root>/config/cells/<cell name>/virtualhosts.xml.
Make sure the port you are using is listed in that file.

Assuming that your virtual hosts are setup correctly and you are not having
a host name or port problem, the other likely cause of this message is that
the application server cannot find an appropriate Web application on the
located virtual host to service the request. In other words, a Web
application was not found on the correct virtual host whose context root
matched the URL. In the example you gave above, the context root would have
to be / or /theme. If you do not have a Web application with one of these
context roots, then you get this message.

----- Original Message ----- 
From: "vasudevrao gupta" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, January 12, 2004 10:26 PM
Subject: RE: Linking CSS


>
>
> Servlet Request Processor Exception: Virtual Host/WebGroup Not Found :
> The web group /theme/Master.css has not been defined
>
> Is the error which it displays
>
> -----Original Message-----
> From: Mike Deegan [mailto:[EMAIL PROTECTED]
> Sent: 13 January 2004 10:31
> To: Struts Users Mailing List
> Subject: Re: Linking CSS
>
>
>
> <link href="../jsp/base.css" rel="stylesheet" type="text/css">
>
> works for me ...
>
> what is the error you are getting?
>
> may require use of the <html:base/> tag ?
>
>
> ----- Original Message ----- 
> From: "vasudevrao gupta" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Monday, January 12, 2004 9:48 PM
> Subject: Linking CSS
>
>
> >
> >
> >
> > Dear All,
> >
> > I am usign WebSphere Application Development Studio for development of
> > our application in struts.
> > When I am linking .css files to a JSP using normal HTML tag, its not
> > getting identified,..Do we need to use a different syntax for linking
> > .css files for JSP in struts???
> > Eg:
> > <LINK href="../../../../theme/Master.css" rel="stylesheet"
> > type="text/css">
> > Regards
> > vasudevRaoGupta
> >
> >
> > Confidentiality Notice
> >
> > The information contained in this electronic message and any
> attachments
> to this message are intended
> > for the exclusive use of the addressee(s) and may contain confidential
> or
> privileged information. If
> > you are not the intended recipient, please notify the sender at Wipro
> or
> [EMAIL PROTECTED] immediately
> > and destroy all copies of this message and any attachments.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any attachments
to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or
privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
> and destroy all copies of this message and any attachments.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to