Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Virtual Host/WebGroup Not Found

Status
Not open for further replies.

bwall76

Programmer
Feb 17, 2004
16
US
Trying to access webphere application. Can open the login screen, but can't login. Can't access any page under name>:<port>/servlet/...

When we try to access those pages, the following error is logged within WebSphere:

PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /servlet/Profile has not been defined

We only have this problem with 1 of the 2 applications for this server. If you use the other application's port number, everything works fine.

I think the virtual host is configured correctly, and it's mapped to the right application. I have also checked the httpd.conf file and the plug-in file. I don't see any errors, and have compared these to other servers and they look identical.

It almost seems like I have a broken link or a typo somewhere. Any ideas?

HTTPD.CONF:
#Second Host for Test Environment
<VirtualHost *:81>

#WEBSHPERE ADDINS
WebSpherePluginConfig C:/Websphere/AppServer/config/cells/plugin-cfg.xml

ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "c:/WebSphere/IBMHTTPServer2/htdocs/testenv"
ServerName testenv.<blah>.com
ErrorLog logs/testenv-error_log
CustomLog logs/testenv-access_log common
ScriptAlias /cgi-lawson/ "c:/WebSphere/IBMHTTPServer2/htdocs/testenv/cgi-lawson/"

<Directory c:/WebSphere/IBMHTTPServer2/htdocs/testenv/cgi-lawson>
AllowOverride AuthConfig
AuthUserFIle c:/WebSphere/IBMHTTPServer2/userdb/lawson
AuthType Basic
AuthName "CGI Lawson"
Options Indexes
Options FollowSymLinks
Options +ExecCGI
Require valid-user
</Directory>
<Location /servlet>
AllowOverride AuthConfig
AuthUserFIle c:/WebSphere/IBMHTTPServer2/userdb/lawson
AuthType Basic
AuthName "CGI Lawson"
Options Indexes
Options FollowSymLinks
Require valid-user
</Location>
</VirtualHost>


Plug-IN:
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <Config ASDisableNagle="false" AcceptAllContent="false" AppServerPortPreference="HostHeader" ChunkedResponse="false" IISDisableNagle="false" IISPluginPriority="High" IgnoreDNSFailures="false" RefreshInterval="60" ResponseChunkSize="64" VHostMatchingCompat="false">
<Log LogLevel="Error" Name="C:\WebSphere\AppServer/logs/http_plugin.log" />
<Property Name="ESIEnable" Value="false" />
<Property Name="ESIMaxCacheSize" Value="1024" />
<Property Name="ESIInvalidationMonitor" Value="false" />
- <VirtualHostGroup Name="test_host">
<VirtualHost Name="*:81" />
<VirtualHost Name="*:443" />
</VirtualHostGroup>
- <VirtualHostGroup Name="prod_host">
<VirtualHost Name="*:80" />
<VirtualHost Name="*:443" />
</VirtualHostGroup>
- <VirtualHostGroup Name="default_host">
<VirtualHost Name="*:81" />
<VirtualHost Name="*:80" />
<VirtualHost Name="*:9080" />
<VirtualHost Name="*:9443" />
</VirtualHostGroup>
- <ServerCluster CloneSeparatorChange="false" LoadBalance="Round Robin" Name="server1_webserver03_Cluster" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60">
- <Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="webserver03_server1" ServerIOTimeout="0" WaitForContinue="false">
<Transport Hostname="webserver03" Port="9080" Protocol="http" />
- <Transport Hostname="webserver03" Port="9443" Protocol="https">
<Property Name="keyring" Value="C:\WebSphere\AppServer\etc\plugin-key.kdb" />
<Property Name="stashfile" Value="C:\WebSphere\AppServer\etc\plugin-key.sth" />
<Property Name="certLabel" Value="selfsigned" />
</Transport>
</Server>
- <PrimaryServers>
<Server Name="webserver03_server1" />
</PrimaryServers>
</ServerCluster>
- <UriGroup Name="prod_host_server1_webserver03_Cluster_URIs">
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="*.jsp" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="*.jsv" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="*.jsw" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/j_security_check" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/ibm_security_logout" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/servlet/*" />
</UriGroup>
<Route ServerCluster="server1_webserver03_Cluster" UriGroup="prod_host_server1_webserver03_Cluster_URIs" VirtualHostGroup="prod_host" />
- <UriGroup Name="default_host_server1_webserver03_Cluster_URIs">
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/snoop/*" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/hello" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/hitcount" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="*.jsp" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="*.jsv" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="*.jsw" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/j_security_check" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/ibm_security_logout" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/servlet/*" />
</UriGroup>
<Route ServerCluster="server1_webserver03_Cluster" UriGroup="default_host_server1_webserver03_Cluster_URIs" VirtualHostGroup="default_host" />
- <UriGroup Name="test_host_server1_webserver03_Cluster_URIs">
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/snoop/*" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/hello" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/hitcount" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="*.jsp" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="*.jsv" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="*.jsw" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/j_security_check" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/ibm_security_logout" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/servlet/*" />
</UriGroup>
<Route ServerCluster="server1_webserver03_Cluster" UriGroup="test_host_server1_webserver03_Cluster_URIs" VirtualHostGroup="test_host" />
+ <RequestMetrics armEnabled="false" newBehavior="false" rmEnabled="false" traceLevel="HOPS">
+ <filters enable="false" type="URI">
<filterValues enable="false" value="/servlet/snoop" />
<filterValues enable="false" value="/webapp/examples/HitCount" />
</filters>
- <filters enable="false" type="SOURCE_IP">
<filterValues enable="false" value="xxx.xxx.xxx.xxx" />
<filterValues enable="false" value="yyy.yyy.yyy.yyy" />
</filters>
</RequestMetrics>
</Config>



Thanks
Bob
 
Hi Friend,
I had a similar problem and got it done by doing so ( not sure this will help you)

1. Take backup of ur plugins-cfg.xml.
2. and reinstall the plugins
3. Admin console, Evironment-vitual hosts - host alias - new create 443
4. Stop/start the Application server

Now check it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top