Apache James

Alles, was den Apache betrifft, kann hier besprochen werden.

Apache James

Postby huckerby » 17. September 2008 08:42

Hallo,

ich habe ein Problem bei dem Ausführen des run.sh apache James- Start Script:

Jedesmal erhalte ich folgende Error Meldung:


[root@james-server bin]# sh run.sh
Using PHOENIX_HOME: /usr/local/james-2.3.1
Using PHOENIX_TMPDIR: /usr/local/james-2.3.1/temp
Using JAVA_HOME: /usr/java/jdk1.6.0_10
Running Phoenix:

Phoenix 4.2

There was an uncaught exception:
---------------------------------------------------------
--- Message ---
There is no coresponding Block or Listener for configuration data in element "fetchpop".

--- Stack Trace ---
org.apache.avalon.phoenix.interfaces.DeploymentException: There is no coresponding Block or Listener for configuration data in element "fetchpop".
at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.verifyConfiguration(DefaultDeployer.java:484)
at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:352)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:542)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:535)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:520)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:509)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:268)
at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:198)
at org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:184)
at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:135)
at org.apache.avalon.phoenix.launcher.Main.main(Main.java:84)

---------------------------------------------------------
The log file may contain further details of error.
Please check the configuration files and restart Phoenix.
If the problem persists, contact the Avalon project. See
http://jakarta.apache.org/avalon for more information.
Shutting down Phoenix.



Die Fetchpop Spalte im James config.xml sieht so aus:

<fetchpop enabled="false">
<!-- You can have as many fetch tasks as you want, but each must have a -->
<!-- unique name by which it identified -->
<fetch name="mydomain.com">
<!-- Host name or IP address -->
<host>mail.mydomain.com</host>
<!-- Account login username -->
<user>username</user>
<!-- Account login password -->
<password>pass</password>
<!-- How frequently this account is checked - in milliseconds. 600000 is every ten minutes -->
<interval>600000</interval>
</fetch>
</fetchpop>

Nun es fehlt ein block laut Error.

Soll ich nun


<block name="fetchpop" class="org.apache.james.fetchpop.FetchScheduler" >
<provide name="scheduler"

role="org.apache.avalon.cornerstone.services.scheduler.TimeScheduler"/>
<provide name="James" role="org.apache.james.services.MailServer"/>
</block>

hinzufügen? (Habe es versucht funktionierte aber nicht).

Wenn ja, wo?

Oder an was liegt dieses Problem? Auskommentieren von fetchpop funktioniert nicht!
Hat ggf. jemand eine config.xml die ich abändern könnte?


grüsse und danke
huckerby
 
Posts: 4
Joined: 17. September 2008 08:36

Postby Stevie Marvin » 17. September 2008 14:16

:lol: :lol: hi..,
I would like to share this...The Apache JAMES Project delivers a rich set of open source solutions, written in Java, related to internet mail and news.

JAMES is organized into sub projects with JAMES Server and the Mai let API as their core.

Apache JAMES is a project of The Apache Software Foundation (ASF) which encourages a collaborative, consensus-based development process under an open software license.

The ASF maintains other Java projects which may also be of interest. These are detailed on the ASF Projects page.

We recommended that users of JAMES products subscribe to the JAMES users mailing list........thanks...
Stevie Marvin
 
Posts: 4
Joined: 12. September 2008 14:01


Return to Apache

Who is online

Users browsing this forum: No registered users and 149 guests