LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing Tomcat, Cocoon with Apache (https://www.linuxquestions.org/questions/linux-software-2/installing-tomcat-cocoon-with-apache-125284/)

RKris 12-12-2003 01:59 PM

Installing Tomcat, Cocoon with Apache
 
Hi,

I installed Tomcat version tomcat4-4.0.1-1 and IBMJava2-SDK-1.3.1-6.
Tomcat is working fine except for cocoon. I copied the cocoon.war file to the
/var/tomcat4/webpps/ directry and restarted cocoon.

But when I try to access
http://ipaddress:8180/cocoon

catalina.out log shows this

Starting service Tomcat-Apache
Apache Tomcat/4.0.1
Server 1.6 is running
Press [Ctrl]+[C] to abort
Xlib: connection to "0:0.0" refused by server
Xlib: Client is not authorized to connect to Server

However I have installed xvfb and set these parameters in the tomcat startup script

pgrep Xvfb >/dev/null
if [ $? -ne 0 ] ; then
echo "Starting X emulator Xvfb ..."
Xvfb :0 -screen 0 800x600x8 &
fi
export DISPLAY=0:0

I tried to open xserver connections from the localbox
[root@Computer6 root]# xhost +
Xlib: connection to "0:0.0" refused by server
Xlib: Client is not authorized to connect to Server
xhost: unable to open display "0:0"
[root@Computer6 root]#

but I get the above errors from the system.

regards,
Krishna


All times are GMT -5. The time now is 02:16 AM.