You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Matthew Strickland <ms...@hotmail.com> on 2006/01/24 14:28:19 UTC

phoenix.concole error

I have been running james for over 2 years without an issue, but recently it 
began throwing error in phoenix.concole.

File: $JAMES_HOME/temp/phoenix.concole

Error:
\STARTED Phoenix Tue Jan 24 07:13:43 CST 2006

Phoenix 4.0.1

James 2.1.3
Remote Manager Service started plain:4556
POP3 Service started plain:2110
SMTP Service started plain:2525
NNTP Service started plain:2119
Fetch POP Disabled
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as 
the value of the DISPLAY variable.
	at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
	at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:77)
	at java.lang.Class.forName1(Native Method)
	at java.lang.Class.forName(Class.java:142)
	at 
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:72)
	at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:84)
	at java.lang.Class.forName1(Native Method)
	at java.lang.Class.forName(Class.java:142)
	at java.awt.Toolkit$2.run(Toolkit.java:533)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:524)
	at com.sun.mail.handlers.image_gif.getContent(image_gif.java:76)
	at 
javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:745)
	at javax.activation.DataHandler.getContent(DataHandler.java:501)
	at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1332)
	at 
org.apache.james.core.MimeMessageWrapper.getContent(MimeMessageWrapper.java:698)
	at 
org.apache.james.transport.matchers.AttachmentFileNameIs.match(AttachmentFileNameIs.java:102)
	at 
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:370)
	at 
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:436)
	at 
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:366)
	at 
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
	at 
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java(Compiled 
Code))
java.lang.NoClassDefFoundError: sun/awt/motif/MToolkit
	at java.lang.Class.forName1(Native Method)
	at java.lang.Class.forName(Class.java:142)
	at java.awt.Toolkit$2.run(Toolkit.java:533)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java(Compiled Code))
	at com.sun.mail.handlers.image_gif.getContent(image_gif.java(Compiled 
Code))
	at 
javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:745)
	at javax.activation.DataHandler.getContent(DataHandler.java:501)
	at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1332)
	at 
org.apache.james.core.MimeMessageWrapper.getContent(MimeMessageWrapper.java:698)
	at 
org.apache.james.transport.matchers.AttachmentFileNameIs.match(AttachmentFileNameIs.java:102)
	at 
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:370)
	at 
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:436)
	at 
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:366)
	at 
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
	at 
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java(Compiled 
Code))
java.lang.NoClassDefFoundError: sun/awt/motif/MToolkit
	at java.lang.Class.forName1(Native Method)
	at java.lang.Class.forName(Class.java:142)
	at java.awt.Toolkit$2.run(Toolkit.java:533)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java(Compiled Code))
	at com.sun.mail.handlers.image_gif.getContent(image_gif.java(Compiled 
Code))
	at 
javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:745)
	at javax.activation.DataHandler.getContent(DataHandler.java:501)
	at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1332)
	at 
org.apache.james.core.MimeMessageWrapper.getContent(MimeMessageWrapper.java:698)
	at 
org.apache.james.transport.matchers.AttachmentFileNameIs.match(AttachmentFileNameIs.java:102)
	at 
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:370)
	at 
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:436)
	at 
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:366)
	at 
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
	at 
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java(Compiled 
Code))
java.lang.NoClassDefFoundError: sun/awt/motif/MT

The error will loop and file disk space.  I ideas would be greatly 
appreciated.

Matt



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: phoenix.concole error

Posted by Stefano Bagnara <ap...@bago.org>.
Matthew Strickland wrote:
> I have been running james for over 2 years without an issue, but 
> recently it began throwing error in phoenix.concole.
> 
> File: $JAMES_HOME/temp/phoenix.concole
> 
> java.lang.InternalError: Can't connect to X11 window server using ':0.0' 
> as the value of the DISPLAY variable.
>  [...]
>     at com.sun.mail.handlers.image_gif.getContent(image_gif.java:76)
>     at 
> javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:745) 


You should start java with the headless parameter:
java -Djava.awt.headless=true

You can add a
PHOENIX_JVM_OPTS="-Djava.awt.headless=true" to your starting script.

If you never seen this problem before you probably changed your 
classpath or your virtual machine.

Stefano

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org