File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Can Watch "Can New topic

Can't connect to X11 window server using :0.0

Sivanthi Thanikesavan

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

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 ]
I agree. Here's the link:
subject: Can't connect to X11 window server using :0.0
It's not a secret anymore!