Hi

I am trying to setup multiple web sites on a Win2000 Server.
The server has a single IP.

Currently I only have one site - and the working web-site.xml is

<?xml version="1.0"?>
<!DOCTYPE web-site SYSTEM "web-site.dtd">

<web-site host="[ALL]" port="80"> 
        <name>www.bms.com.au</name>

        <!-- The default web-app for this site, the web-app specifies
-->
        <default-web-app>./web-application.xml</default-web-app>

        <!-- Uncomment this to activate the news app -->
        <!-- <web-app root="/news">../demo/news-app/web-app/</web-app>
-->
        <!-- Access Log, where requests are logged to -->
        <access-log>./access.log</access-log>

        <!-- Site log, where events/errors are logged -->
        <log>
                <path>./site.log</path>
        </log>
</web-site>

Now the above works just fine for all the dns entries that point to the
server [ie the prospective virtual hosts]

However if I change it to:

<?xml version="1.0"?>
<!DOCTYPE web-site SYSTEM "web-site.dtd">

<web-site host="[ALL]" port="80" virtual-hosts="www.bms.com.au">
        <name>www.bms.com.au</name>

        <!-- The default web-app for this site, the web-app specifies
-->
        <default-web-app>./web-application.xml</default-web-app>

        <!-- Uncomment this to activate the news app -->
        <!-- <web-app root="/news">../demo/news-app/web-app/</web-app>
-->
        <!-- Access Log, where requests are logged to -->
        <access-log>./access.log</access-log>

        <!-- Site log, where events/errors are logged -->
        <log>
                <path>./site.log</path>
        </log>
</web-site>

Orion crashes with the following:

java.lang.NullPointerException:
        at c1.eg(JAX)
        at cz.kw(JAX, Compiled Code)
        at cz.c6(JAX)
        at com.evermind.server.ApplicationServer.u4(JAX)
        at com.evermind.server.ApplicationServer.c6(JAX, Compiled Code)
        at eg.run(JAX)
        at c.run(JAX, Compiled Code)

Any hints ?


Kind Regards

Neville Burnell
Business MAnager Software

Reply via email to