Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-12-2003, 01:59 PM   #1
Registered: May 2002
Location: UK
Distribution: Mandriva linux
Posts: 152

Rep: Reputation: 15
Installing Tomcat, Cocoon with Apache


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

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 &
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Apache Tomcat Server on RED HAT Linux 9 shelldinesh Linux - Software 0 10-06-2004 06:55 AM
Apache Tomcat Cocoon Final Configuration RKris Linux - Software 0 12-13-2003 08:18 AM
Trouble installing jk2 connector for apache tomcat kahalabob Linux - Networking 0 10-26-2003 11:22 PM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 09:47 PM
Apache with Tomcat 4.0.3 chuck77 Linux - General 7 09-22-2002 03:57 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration