LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 15
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
 
  


Reply


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 07:55 AM
Apache Tomcat Cocoon Final Configuration RKris Linux - Software 0 12-13-2003 09:18 AM
Trouble installing jk2 connector for apache tomcat kahalabob Linux - Networking 0 10-27-2003 12:22 AM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 10:47 PM
Apache with Tomcat 4.0.3 chuck77 Linux - General 7 09-22-2002 04:57 PM


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

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