I have tried it myself and now I see the problem. We will need to 
discuss it with NetBeans people (I have cced Petr who might help).

Following steps are how I made NetBeans 6.5 to use OpenSolaris bundled 
Tomcat 5.5 (please note that the procedure won't work with OpenSolaris 
build 106 where Tomcat paths were changed little bit):

petr at opensolaris:~$ cd
petr at opensolaris:~$ mkdir tomcat
petr at opensolaris:~$ cp -r /var/apache/tomcat/conf/ tomcat
petr at opensolaris:~$ cp ~/tomcat/conf/server.xml-example 
~/tomcat/conf/server.xml
# Temporary, just for NetBeans server creation add link so it's happy.
petr at opensolaris:~$ pfexec ln -s ~/tomcat/conf/ /usr/apache/tomcat/
# Now configure new server in NetbBeans 6.5
# Tools -> Servers -> Add Server -> Tomcat 5.5
# Catalina Home: /usr/apache/tomcat
# Catalina Base: /export/home/petr/tomcat
petr at opensolaris:~$ pfexec rm /usr/apache/tomcat/conf

I believe that NetBeans shouldn't require CATALINA_HOME/conf directory 
when CATALINA_BASE is used...

Petr

Dileep Kumar wrote:
> 
> Petr Sumbera wrote:
>> Hi Dileep,
>>
>> you should try set CATALINA_BASE to /var/apache/tomcat.
>>
> Doesn't work. Still looking for conf/server.xml in CATALINA_HOME.
> 


Reply via email to