File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes VirtualHost/Webgroup not defined error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "VirtualHost/Webgroup not defined error" Watch "VirtualHost/Webgroup not defined error" New topic
Author

VirtualHost/Webgroup not defined error

Trevor Pereira
Greenhorn

Joined: Sep 11, 2002
Posts: 12
Hi All,
I have been searching groups for the past couple of days and i have not found a solution to my problem as yet. I am using WSAD 5.0. I have created a simple J2EE project, the tool has created the structure as follows...VideoClient, VideoEJB and VideoWeb. In my Videoweb folder i have created two basic HTML files. I click the "index.html" file and select "Run on Server". The server starts, however, the console produces this error...
*** Starting the server ***
************ Start Display Current Environment ************
WebSphere Platform 5.0 [BASE 5.0.0 s0245.03] running with process name localhost\localhost\server1 and process id 2684
Host Operating System is Windows 2000, version 5.0
Java version = J2RE 1.3.1 IBM Windows 32 build cn131-20021107 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5
user.install.root = C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5
Java Home = C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5\java\jre
ws.ext.dirs = C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/java/lib;C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/classes;C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/classes;C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/lib;C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/lib/ext;C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/web/help;C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;C:/Program Files/IBM/WebSphere Studio_5/wstools/eclipse/plugins/com.ibm.etools.webservice_5.0.1/runtime/worf.jar
Classpath = C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/properties;C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/properties;C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/lib/bootstrap.jar;C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/lib/j2ee.jar;C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/lib/lmproxy.jar;C:/Program Files/IBM/WebSphere Studio_5/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.1/runtime/wteServers.jar;C:/Program Files/IBM/WebSphere Studio_5/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.1/runtime/wasToolsCommon.jar
Java Library path = C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/bin;C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/java/bin;C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/java/jre/bin;C:\Program Files\IBM\WebSphere Studio_5\eclipse\jre\bin;.;C:\WINNT\System32;C:\WINNT;C:\WINNT\MS\SMS\CORE\BIN;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Common Files\Adaptec Shared\System
************* End Display Current Environment *************
[1/24/03 13:41:56:281 CST] 6681f342 ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
[1/24/03 13:41:56:844 CST] 6681f342 AdminInitiali A ADMN0015I: AdminService initialized
[1/24/03 13:41:57:797 CST] 6681f342 Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.login.Configuration.
[1/24/03 13:41:57:844 CST] 6681f342 SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully: true.
[1/24/03 13:41:58:219 CST] 6681f342 SecurityCompo I SECJ0309I: Java 2 Security is disabled.
[1/24/03 13:41:58:266 CST] 6681f342 SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
[1/24/03 13:41:58:313 CST] 6681f342 SecurityCompo I SECJ0240I: Security service initialization completed successfully
[1/24/03 13:41:58:328 CST] 6681f342 JMSRegistrati A MSGS0602I: WebSphere Embedded Messaging Client only has been installed
[1/24/03 13:42:00:422 CST] 6681f342 JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
[1/24/03 13:42:00:438 CST] 6681f342 SecurityCompo I SECJ0243I: Security service started successfully
[1/24/03 13:42:00:438 CST] 6681f342 SecurityCompo I SECJ0210I: Security enabled false
[1/24/03 13:42:01:594 CST] 6681f342 CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
[1/24/03 13:42:01:719 CST] 6681f342 FileBeanStore W CNTR0023W: Directory "C:\Program Files\IBM\WebSphere Studio_5\runtimes\base_v5/temp" does not exist. The EJB Container will use the current directory for passivating beans.
[1/24/03 13:42:04:094 CST] 6681f342 ApplicationMg A WSVR0200I: Starting application: IBMUTC
[1/24/03 13:42:04:250 CST] 6681f342 WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
[1/24/03 13:42:04:281 CST] 6681f342 WebContainer A SRVE0162I: Servlet Specification Level: 2.3
[1/24/03 13:42:04:281 CST] 6681f342 WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
[1/24/03 13:42:04:344 CST] 6681f342 WebContainer E SRVE0147E: No Virtual Host defined for web module: IBM Universal Test Client The Web Application will not be loaded.
[1/24/03 13:42:04:391 CST] 6681f342 DeployedAppli W WSVR0206E: Module, UTC.war, of application, IBMUTC.ear/deployments/IBMUTC, failed to start
[1/24/03 13:42:04:391 CST] 6681f342 ApplicationMg W WSVR0101W: An error occurred starting, IBMUTC
[1/24/03 13:42:04:391 CST] 6681f342 ApplicationMg A WSVR0217I: Stopping application: IBMUTC
[1/24/03 13:42:04:437 CST] 6681f342 ApplicationMg A WSVR0220I: Application stopped: IBMUTC
[1/24/03 13:42:04:453 CST] 6681f342 ApplicationMg A WSVR0200I: Starting application: Video
[1/24/03 13:42:04:469 CST] 6681f342 WebContainer E SRVE0147E: No Virtual Host defined for web module: VideoWeb The Web Application will not be loaded.
[1/24/03 13:42:04:469 CST] 6681f342 DeployedAppli W WSVR0206E: Module, VideoWeb.war, of application, Video.ear/deployments/Video, failed to start
[1/24/03 13:42:04:484 CST] 6681f342 ApplicationMg W WSVR0101W: An error occurred starting, Video
[1/24/03 13:42:04:484 CST] 6681f342 ApplicationMg A WSVR0217I: Stopping application: Video
[1/24/03 13:42:04:500 CST] 6681f342 ApplicationMg A WSVR0220I: Application stopped: Video
[1/24/03 13:42:04:531 CST] 6681f342 HttpTransport A SRVE0171I: Transport http is listening on port 9,080.
[1/24/03 13:42:07:453 CST] 6681f342 HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
[1/24/03 13:42:07:500 CST] 6681f342 RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
[1/24/03 13:42:07:531 CST] 6681f342 WsServer A WSVR0001I: Server server1 open for e-business
[1/24/03 13:42:13:515 CST] 2549b34a OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /VideoWeb/index.html has not been defined
I have searched serveral groups and have not found a solution. Some have said to check my context-root. My context root in my ".websettings" file is as follows...
<?xml version="1.0" encoding="UTF-8"?>
<websettings version="500">
<project-type>J2EE</project-type>
<context-root>VideoWeb</context-root>
<jsp-level>JSP 1.2</jsp-level>
<features/>
</websettings>
...so the context root has been set to "VideoWeb".
I have also gone into my "virualhosts.xml" and named my hosts accordingly...
here is the file contents...
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:host="http://www.ibm.com/websphere/appserver/schemas/5.0/host.xmi">
<xmi ocumentation>
<contact>{Your Contact Info}</contact>
</xmi ocumentation>
<host:VirtualHost xmi:id="VirtualHost_1" name="localhost/VideoWeb">
<mimeTypes xmi:id="MimeEntry_1" type="application/SLA">
<extensions>STL</extensions>
<extensions>stl</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_2" type="application/STEP">
<extensions>STEP</extensions>
<extensions>STP</extensions>
<extensions>step</extensions>
<extensions>stp</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_3" type="application/acad">
<extensions>DGW</extensions>
<extensions>dgw</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_4" type="application/clariscad">
<extensions>CCAD</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_5" type="application/drafting">
<extensions>DRW</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_6" type="application/dxf">
<extensions>DXF</extensions>
<extensions>dxf</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_7" type="application/i-deas">
<extensions>UNV</extensions>
<extensions>unv</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_8" type="application/iges">
<extensions>IGES</extensions>
<extensions>IGS</extensions>
<extensions>iges</extensions>
<extensions>igs</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_9" type="application/octet-stream">
<extensions>bin</extensions>
<extensions>class</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_10" type="application/oda">
<extensions>oda</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_11" type="application/pdf">
<extensions>pdf</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_12" type="application/postscript">
<extensions>PS</extensions>
<extensions>ai</extensions>
<extensions>eps</extensions>
<extensions>ps</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_13" type="application/pro_eng">
<extensions>PRT</extensions>
<extensions>prt</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_14" type="application/set">
<extensions>SET</extensions>
<extensions>set</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_15" type="application/solids">
<extensions>SOL</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_16" type="application/vda">
<extensions>VDA</extensions>
<extensions>vda</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_17" type="application/vnd.lotus-1-2-3">
<extensions>123</extensions>
<extensions>wk1</extensions>
<extensions>wk3</extensions>
<extensions>wk4</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_18" type="application/vnd.lotus-approach">
<extensions>apr</extensions>
<extensions>vew</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_19" type="application/vnd.lotus-freelance">
<extensions>pre</extensions>
<extensions>prz</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_20" type="application/vnd.lotus-organizer">
<extensions>or2</extensions>
<extensions>or3</extensions>
<extensions>org</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_21" type="application/vnd.lotus-screencam">
<extensions>scm</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_22" type="application/vnd.lotus-wordpro">
<extensions>lwp</extensions>
<extensions>sam</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_23" type="application/x-bcpio">
<extensions>bcpio</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_24" type="application/x-bsh">
<extensions>bsh</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_25" type="application/x-cpio">
<extensions>cpio</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_26" type="application/x-csh">
<extensions>csh</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_27" type="application/x-dvi">
<extensions>dvi</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_28" type="application/x-freelance">
<extensions>prs</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_29" type="application/x-gtar">
<extensions>gtar</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_30" type="application/x-hdf">
<extensions>hdf</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_31" type="application/x-javascript">
<extensions>js</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_32" type="application/x-ksh">
<extensions>ksh</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_33" type="application/x-netcdf">
<extensions>cdf</extensions>
<extensions>nc</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_34" type="application/x-pcl">
<extensions>pcl</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_35" type="application/x-rtf">
<extensions>rtf</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_36" type="application/x-sh">
<extensions>sh</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_37" type="application/x-shar">
<extensions>shar</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_38" type="application/x-sv4cpio">
<extensions>sv4cpio</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_39" type="application/x-sv4crc">
<extensions>sv4crc</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_40" type="application/x-tcl">
<extensions>tcl</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_41" type="application/x-tex">
<extensions>tex</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_42" type="application/x-texinfo">
<extensions>texi</extensions>
<extensions>texinfo</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_43" type="application/x-troff">
<extensions>roff</extensions>
<extensions>t</extensions>
<extensions>tr</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_44" type="application/x-troff-man">
<extensions>man</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_45" type="application/x-troff-me">
<extensions>me</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_46" type="application/x-troff-ms">
<extensions>ms</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_47" type="application/x-wais-source">
<extensions>src</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_48" type="application/x-x509-ca-cert">
<extensions>der</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_49" type="audio/basic">
<extensions>au</extensions>
<extensions>snd</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_50" type="audio/x-aiff">
<extensions>aif</extensions>
<extensions>aifc</extensions>
<extensions>aiff</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_51" type="audio/x-wav">
<extensions>wav</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_52" type="image/bmp">
<extensions>bmp</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_53" type="image/cmu-raster">
<extensions>ras</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_54" type="image/gif">
<extensions>gif</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_55" type="image/ief">
<extensions>ief</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_56" type="image/jpeg">
<extensions>JPE</extensions>
<extensions>JPEG</extensions>
<extensions>JPG</extensions>
<extensions>jpe</extensions>
<extensions>jpeg</extensions>
<extensions>jpg</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_57" type="image/tiff">
<extensions>tif</extensions>
<extensions>tiff</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_58" type="image/x-portable-anymap">
<extensions>pnm</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_59" type="image/x-portable-bitmap">
<extensions>pbm</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_60" type="image/x-portable-graymap">
<extensions>pgm</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_61" type="image/x-portable-pixmap">
<extensions>ppm</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_62" type="image/x-rgb">
<extensions>rgb</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_63" type="image/x-xbitmap">
<extensions>xbm</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_64" type="image/x-xpixmap">
<extensions>xpm</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_65" type="image/x-xwindowdump">
<extensions>xwd</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_66" type="mulitpart/x-gzip">
<extensions>gz</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_67" type="multipart/x-tar">
<extensions>tar</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_68" type="multipart/x-ustar">
<extensions>ustar</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_69" type="multipart/x-zip">
<extensions>zip</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_70" type="text/css">
<extensions>css</extensions>
<extensions>s</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_71" type="text/html">
<extensions>htm</extensions>
<extensions>html</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_72" type="text/plain">
<extensions>C</extensions>
<extensions>c</extensions>
<extensions>cc</extensions>
<extensions>com</extensions>
<extensions>conf</extensions>
<extensions>cxx</extensions>
<extensions>def</extensions>
<extensions>f90</extensions>
<extensions>for</extensions>
<extensions>h</extensions>
<extensions>hh</extensions>
<extensions>java</extensions>
<extensions>list</extensions>
<extensions>log</extensions>
<extensions>lst</extensions>
<extensions>m</extensions>
<extensions>mar</extensions>
<extensions>sdml</extensions>
<extensions>txt</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_73" type="text/richtext">
<extensions>rtx</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_74" type="text/tab-separated-values">
<extensions>tsv</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_75" type="test/x-asm">
<extensions>asm</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_76" type="text/x-setext">
<extensions>etx</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_77" type="text/x-ssi-html">
<extensions>htmls</extensions>
<extensions>shtml</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_78" type="text/x-uil">
<extensions>uil</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_79" type="application/x-latex">
<extensions>latex</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_80" type="text/x-uuencode">
<extensions>uu</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_81" type="video/mpeg">
<extensions>MPE</extensions>
<extensions>MPEG</extensions>
<extensions>MPG</extensions>
<extensions>mpe</extensions>
<extensions>mpeg</extensions>
<extensions>mpg</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_82" type="video/quicktime">
<extensions>mov</extensions>
<extensions>qt</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_83" type="video/x-motion-jpeg">
<extensions>mjpg</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_84" type="video/x-msvideo">
<extensions>avi</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_85" type="video/x-sgi-movie">
<extensions>movie</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_86" type="www/mime">
<extensions>mime</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_87" type="www/unknown">
<extensions>*</extensions>
<extensions>*.*</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_88" type="x-world/x-vrml">
<extensions>wrl</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_89" type="text/xml">
<extensions>xml</extensions>
<extensions>dtd</extensions>
</mimeTypes>
<mimeTypes xmi:id="MimeEntry_90" type="application/xml">
<extensions>xsl</extensions>
</mimeTypes>
<aliases xmi:id="HostAlias_1" hostname="*" port="9080"/>
<aliases xmi:id="HostAlias_2" hostname="*" port="80"/>
<aliases xmi:id="HostAlias_3" hostname="*" port="9443"/>
</host:VirtualHost>
</xmi:XMI>
Does any body have any other suggestions?
Thanks in advance!
Trevor
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: VirtualHost/Webgroup not defined error