----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi Rikard,

have the same constellation and its working fine with Apache 1.3.12. What
you described as jserv.con is jserv.properties here. Additional i defined in
jserv.conf under Servlet Zones Parameter something like:

ApJServMount /servlet ajpv12://localhost/domain1

But i just saw another thing: You defined twice the same:

     ApJservMount /servlet /domainse
     ApJservMount /servlet /domaincom

Try this instead:
     ApJservMount /servlet_se /domainse
     ApJservMount /servlet_com /domaincom

After calling the url somedomain.com/servlet_se/myServlet you should reach
the servlet from zone domainse

Hope it helps a bit,

Michael
>
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Hi everyone!
>
> I would like som help on a VirtualHost problem that i got..
>
> System Apache 1.3.9/Jserv 1.1 on Solaris 2.6
>
> Im trying to get multiple virtualHost to compile there
> jsp's.Today only one
> of the virtualhost czn compile jsp..
> This is my conf. Please contact me if you need more info.
>
> httpds.conf:
>
> NameVirtualHost 192.168.18.67
>
> <VirtualHost 192.168.18.67>
>     ApJservMount /servlet /domainse
>     DocumentRoot /u02/www/trinity.se
>     ServerName www.trinity.se
>     ServerAdmin [EMAIL PROTECTED]
>     ErrorLog /u02/www/logs/trin.se_error_log
>     CustomLog /u02/www/logs/trin.se_access_log common
> </VirtualHost>
>
> <VirtualHost 192.168.18.67>
>     ApJservMount /servlet /domaincom
>     DocumentRoot /u02/www/trinity.com
>     ServerName www.trinity.com
>     ServerAdmin [EMAIL PROTECTED]
>     ErrorLog /u02/www/logs/trin.com_error_log
>     CustomLog /u02/www/logs/trin.com_access_log common
> </VirtualHost>
>
> <VirtualHost _default_:*>
>     DocumentRoot /u02/www/default
> </VirtualHost
>
>
> jserv.conf:
>
> wrapper.bin=/opt/java/bin/java
> wrapper.classpath=/u01/ias/Apache/Jserv/libexec/ApacheJServ.jar
> wrapper.classpath=/u01/ias/Apache/Jsdk/lib/jsdk.jar
>
> bindaddress=localhost
> port=8007
> zones=domainse,domaincom
> domainse.properties=/u01/ias/Apache/Jserv/etc/domainse.properties
> domaincom.properties=/u01/ias/Apache/Jserv/etc/domaincom.properties
>
> pool=false
> pool.capacity=10
> pool.controller=org.apache.java.recycle.DefaultController
>
> security.selfservlet=true
> security.maxConnections=50
> #security.allowedAddresses=127.0.0.1
> security.authentication=false
> #security.secretKey=./etc/jserv.secret.key
> #security.challengeSize=5
>
> log=true
> log.file=/u01/ias/Apache/Jserv/logs/jserv.log
> log.timestamp=true
> log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
> log.queue.maxage = 5000
> log.queue.maxsize = 1000
> log.channel.servletException=true
> log.channel.jservException=true
> log.channel.warning=true
> log.channel.servletLog=true
> log.channel.critical=true
>
> wrapper.classpath=/u02/www/trinity.se/_pages
> wrapper.classpath=/u02/www/trinity.com/_pages
>
> wrapper.classpath=/u01/ias/Apache/Ojsp/lib/ojsp.jar
> wrapper.classpath=/u01/ias/Apache/Ojsp/lib/servlet.jar
> wrapper.classpath=/opt/java/lib/tools.jar
> wrapper.classpath=/u01/ias/Apache/BC4J/lib/jbodatum112.zip
>
>
> I just cant get Jserv to compile both of these sites..Do I need to start a
> second Jserv???
>
> Thanks in advance
>
> Rikard
>
> Celltribe.Mobile Services.For today's nomad.
>
> Rikard Westlund
> Operations
> mobile:+46 70 518 78 35
> direct:+46 8 796 19 35
> [EMAIL PROTECTED]
> www.celltribe.com
> wap.celltribe.com
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>
>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to