|
From: Lindsay S. <lin...@te...> - 2003-11-18 09:07:19
|
Thanks Leif,
Yes you are right. James comes ready to go with Wrapper. I found your
instructions on getting services set up with Debian very helpful.
Thanks
Lindsay
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...]On Behalf Of Leif
Mortenson
Sent: 12 November 2003 16:12
To: wra...@li...
Subject: Re: [Wrapper-user] X11 required on debian?
Lindsay,
The Wrapper itself does not require a working display (X11) But the
TestWrapper
sample application that is deployed with the Wrapper does. This demo
application
displays a swing dialog that makes it easy for the user to try out
various features of the
Wrapper.
Your message says that you are trying to get the James email server
working. But
the stack trace in the log file is from the TestWrapper application.
As far as I know,
the James server does not have any kind of a GUI that would require a
display so you
should have no problems getting it running.
Take a look at the page talking about how to get an application
integrated with the
Wrapper. Let me know if you have any problems getting up and running after
reading that over.
http://wrapper.tanukisoftware.org/doc/english/integrate.html
Actually, depending on the version of James that you are trying to
run. I think it
might actually have all the files you need to get up and running with
the Wrapper?
I have not checked. But James is build on top of the Avalon Phoenix
server which
does fully support running with the Wrapper. The Phoenix server comes
with a
wrapper.conf file that is all ready to go. If your version of James
does not, then
look over the integration docs. You should be able to get up and
running fairly
quickly.
Cheers
Leif
Lindsay Smith wrote:
> I am trying to get the wrapper working with James Email server on
> Debian Linux.
> I've followed the instructions but when I try to start I get a message
> saying the wrapper can't connect to X11.
> I dont think I want to run X11 on my server. Can the wrapper run
> without X11?
>
> Cheers
> linds
>
>
> Running James Email Server...
> wrapper | --> Wrapper Started as Console
> wrapper | Launching a JVM...
> jvm 1 | Initializing...
> jvm 1 | Wrapper (Version 3.0.5)
> jvm 1 |
> jvm 1 | start()
> jvm 1 | Error in WrapperListener.start callback.
> java.lang.InternalError: Can't connect to X11 window server using
> ':0.0' as the value of the DISPLAY variable.
> jvm 1 | java.lang.InternalError: Can't connect to X11 window server
> using ':0.0' as the value of the DISPLAY variable.
> jvm 1 | at sun.awt.X11GraphicsEnvironment.initDisplay(Native
> Method)
> jvm 1 | at
> sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
> jvm 1 | at java.lang.Class.forName0(Native Method)
> jvm 1 | at java.lang.Class.forName(Class.java:141)
> jvm 1 | at
>
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
.java:62)
> jvm 1 | at java.awt.Window.init(Window.java:231)
> jvm 1 | at java.awt.Window.<init>(Window.java:275)
> jvm 1 | at java.awt.Frame.<init>(Frame.java:401)
> jvm 1 | at
> org.tanukisoftware.wrapper.test.Main$MainFrame.<init>(Main.java:78)
> jvm 1 | at
> org.tanukisoftware.wrapper.test.Main.start(Main.java:172)
> jvm 1 | at
>
org.tanukisoftware.wrapper.WrapperManager.startInner(WrapperManager.java:115
2)
> jvm 1 | at
>
org.tanukisoftware.wrapper.WrapperManager.handleSocket(WrapperManager.java:1
711)
> jvm 1 | at
> org.tanukisoftware.wrapper.WrapperManager.run(WrapperManager.java:2004)
> jvm 1 | at java.lang.Thread.run(Thread.java:534)
> wrapper | Launching a JVM...
> jvm 2 | Initializing...
> jvm 2 | Wrapper (Version 3.0.5)
> jvm 2 |
> jvm 2 | start()
>
>
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|