This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Servlets and the fly likes Can't connect to X11 window server using :0.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Can Watch "Can New topic
Author

Can't connect to X11 window server using :0.0

Sivanthi Thanikesavan
Greenhorn

Joined: Feb 27, 2002
Posts: 5
I have a problem with Servlet running in apache-tomcat.When I run a Servlet,which does RTP streaming.I get the error "can't connect to XX window server using :0.0".The error is thrown
when I open a DataSource for a Medialocator URL
The servelet is tested in JSWDK it was working fine.
Your suggestions please....
Jason Lee
Greenhorn

Joined: Jul 23, 2001
Posts: 15
I'm guessing that you're running your apache/tomcat combo on a Unix env. without X windows running. You'll need to create a virtual X session for your code to run properly.
[ March 18, 2002: Message edited by: Jason Lee ]
 
wood burning stoves
 
subject: Can't connect to X11 window server using :0.0
 
It's not a secret anymore!