Virtaul server Logs
807567Aug 9 2007 — edited Aug 10 2007Hi ,
I am trying to install a virtual server on teh sun server for the first time.
I was sucessfully able to add the virtual server and run the server on teh specified port.
The problem is the log which are getting created in teh new server are being logged under the Main server .
I configured a new log and access files for this virtual server but for some reson the access file is working fine but the the error thrown by the new Virtual server are being logged in the default log file.
My server.xml file looks like this
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
-->
<!DOCTYPE SERVER PUBLIC "-//Sun Microsystems Inc.//DTD Sun ONE Web Server 6.1//EN" "file:///C:/Sun/WebServer6.1/bin/https/dtds/sun-web-server_6_1.dtd">
<SERVER qosactive="false">
<PROPERTY name="docroot" value="C:/hms/docs"/>
<PROPERTY name="accesslog" value="C:/Sun/WebServer6.1/https-HMS/logs/access"/>
<PROPERTY name="user" value=""/>
<PROPERTY name="group" value=""/>
<PROPERTY name="chroot" value=""/>
<PROPERTY name="dir" value=""/>
<PROPERTY name="nice" value=""/>
<LS id="ls1" port="5555" servername="bas-313" defaultvs="https-HMS" security="false" ip="any" blocking="false" acceptorthreads="1"/>
<LS id="ls2" port="5556" servername="bas-313" defaultvs="https-SWIFFER" security="false" ip="any" blocking="false" acceptorthreads="1"/>
<MIME id="mime1" file="mime.types"/>
<ACLFILE id="acl1" file="C:/Sun/WebServer6.1/httpacl/generated.https-HMS.acl"/>
<VSCLASS id="vsclass1" objectfile="obj.conf" rootobject="default" acceptlanguage="false">
<VS id="https-HMS" connections="ls1" mime="mime1" aclids="acl1" urlhosts="bas-313" state="on" errorlog="C:/Sun/WebServer6.1/https-HMS/logs/errors">
<PROPERTY name="docroot" value="C:/hms/docs"/>
<PROPERTY name="accesslog" value="C:/Sun/WebServer6.1/https-HMS/logs/access"/>
<USERDB id="default"/>
<SEARCH>
<WEBAPP uri="/" path="C:/hms/docs" enabled="true"/>
</SEARCH>
</VS>
<VS id="https-SWIFFER" connections="ls2" mime="mime1" aclids="acl1" urlhosts="bas-313" state="on" errorlog="C:/Sun/WebServer6.1/https-HMS/logs/swiffer/errors">
<PROPERTY name="docroot" value="C:/swiffer/docs"/>
<PROPERTY name="accesslog" value="C:/Sun/WebServer6.1/https-HMS/logs/swiffer/access"/>
<USERDB id="default"/>
<SEARCH>
<WEBAPP uri="/" path="C:/swiffer/docs" enabled="true"/>
</SEARCH>
</VS>
</VSCLASS>
<JAVA javahome="C:/j2sdk1.4.1_03" serverclasspath="C:/Sun/WebServer6.1/bin/https/jar/webserv-rt.jar;${java.home}/lib/tools.jar;C:/Sun/WebServer6.1/bin/https/jar/webserv-ext.jar;C:/Sun/WebServer6.1/bin/https/jar/webserv-jstl.jar;C:/Sun/WebServer6.1/bin/https/jar/ktsearch.jar;C:/hms/docs/WEB-INF/lib" classpathsuffix="" envclasspathignored="true" nativelibrarypathprefix="" debug="false" debugoptions="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n" dynamicreloadinterval="-1">
<JVMOPTIONS>-Djava.security.auth.login.config=C:/Sun/WebServer6.1/https-HMS/config/login.conf</JVMOPTIONS>
<JVMOPTIONS>-Djava.util.logging.manager=com.iplanet.ias.server.logging.ServerLogManager</JVMOPTIONS>
<JVMOPTIONS>-Xmx256m</JVMOPTIONS>
<SECURITY defaultrealm="native" anonymousrole="ANYONE" audit="false">
<AUTHREALM name="file" classname="com.iplanet.ias.security.auth.realm.file.FileRealm">
<PROPERTY name="file" value="C:/Sun/WebServer6.1/https-HMS/config/keyfile"/>
<PROPERTY name="jaas-context" value="fileRealm"/>
</AUTHREALM>
<AUTHREALM name="native" classname="com.iplanet.ias.security.auth.realm.webcore.NativeRealm">
<PROPERTY name="jaas-context" value="nativeRealm"/>
</AUTHREALM>
<AUTHREALM name="ldap" classname="com.iplanet.ias.security.auth.realm.ldap.LDAPRealm">
<PROPERTY name="directory" value="ldap://localhost:389"/>
<PROPERTY name="base-dn" value="o=isp"/>
<PROPERTY name="jaas-context" value="ldapRealm"/>
</AUTHREALM>
</SECURITY>
<RESOURCES/>
</JAVA>
<LOG file="C:/Sun/WebServer6.1/https-HMS/logs/errors" loglevel="info" logtoconsole="true" usesyslog="false" createconsole="true" logstderr="true" logstdout="true" logvsid="false"/>
</SERVER>
Has anyone faced a similar problem