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 Ph...@mail.basf-ag.de on 2006/01/10 09:48:25 UTC

JamesQuickstart

Good Morning,

I'm trying to follow your advices on this page:
http://wiki.apache.org/james/JamesQuickstart
When I try to start the server for the first time, the following
Errormessage is beeing displayed:

Using PHOENIX_HOME:   C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
Using PHOENIX_TMPDIR: C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\temp
Using JAVA_HOME:      C:\j2sdk1.4.2_06

Phoenix 4.0.1

There was an uncaught exception:
---------------------------------------------------------
--- Message ---
Error building configuration from file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james/SAR-INF/config.xml.
--- Stack Trace ---
org.apache.avalon.phoenix.interfaces.DeploymentException: Error building
configuration from file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james/SAR-INF/config.xml.
      at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.getConfigurationFor(DefaultDeployer.java:499)
      at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:325)
      at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:498)
      at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:491)
      at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:476)
      at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:466)
      at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:224)
      at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
      at
org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:144)
      at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
      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:324)
      at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:94)
      at org.apache.avalon.phoenix.launcher.Main.main(Main.java:46)
Caused by: java.net.MalformedURLException: no protocol:
../conf/james-fetchmail.xml
      at java.net.URL.<init>(URL.java:537)
      at java.net.URL.<init>(URL.java:434)
      at java.net.URL.<init>(URL.java:383)
      at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:796)
      at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:725)
      at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(XMLDocumentFragmentScannerImpl.java:1073)
      at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1489)
      at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
      at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
      at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
      at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
      at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
      at
org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.build(ConfigurationBuilder.java:129)
      at
org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.build(ConfigurationBuilder.java:116)
      at
org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.build(ConfigurationBuilder.java:97)
      at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.getConfigurationFor(DefaultDeployer.java:493)
      ... 15 more
rethrown from
java.net.MalformedURLException: no protocol: ../conf/james-fetchmail.xml
      at java.net.URL.<init>(URL.java:537)
      at java.net.URL.<init>(URL.java:434)
      at java.net.URL.<init>(URL.java:383)
      at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:796)
      at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:725)
      at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(XMLDocumentFragmentScannerImpl.java:1073)
      at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1489)
      at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
      at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
      at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
      at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
      at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
      at
org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.build(ConfigurationBuilder.java:129)
      at
org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.build(ConfigurationBuilder.java:116)
      at
org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.build(ConfigurationBuilder.java:97)
      at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.getConfigurationFor(DefaultDeployer.java:493)
      at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:325)
      at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:498)
      at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:491)
      at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:476)
      at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:466)
      at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:224)
      at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
      at
org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:144)
      at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
      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:324)
      at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:94)
      at org.apache.avalon.phoenix.launcher.Main.main(Main.java:46)

---------------------------------------------------------
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.


The Log has the following content:

INFO    2006-01-10 09:41:50.148 [Phoenix ] (): Logger started
WARN    2006-01-10 09:41:50.210 [Phoenix ] (): Phoenix was not started by
the daemon thus it will not be possible to restart the JVM via the
Management interface.
INFO    2006-01-10 09:41:50.320 [Phoenix.] (): Installing Sar located at
file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar.
WARN    2006-01-10 09:41:50.492 [Phoenix.] (): The file
SAR-INF/lib/mm.mysql.LICENCE can not be extracted from the Sar
"file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\SAR-INF\lib\mm.mysql.LICENCE because there is a file in the
way.
WARN    2006-01-10 09:41:50.492 [Phoenix.] (): The file
conf/sqlResources.xml can not be extracted from the Sar "file:/C:/Documents
and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\conf\sqlResources.xml because there is a file in the way.
WARN    2006-01-10 09:41:50.492 [Phoenix.] (): The file
conf/miResources.xml can not be extracted from the Sar "file:/C:/Documents
and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\conf\miResources.xml because there is a file in the way.
WARN    2006-01-10 09:41:50.492 [Phoenix.] (): The file
conf/james-listmanager.xml can not be extracted from the Sar
"file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\conf\james-listmanager.xml because there is a file in the way.
WARN    2006-01-10 09:41:50.507 [Phoenix.] (): The file
conf/james-liststores.xml can not be extracted from the Sar
"file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\conf\james-liststores.xml because there is a file in the way.
WARN    2006-01-10 09:41:50.507 [Phoenix.] (): The file
conf/james-fetchmail.xml can not be extracted from the Sar
"file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\conf\james-fetchmail.xml because there is a file in the way.
WARN    2006-01-10 09:41:50.507 [Phoenix.] (): The file
conf/samples/fetchmail/maxMessageSize.xml can not be extracted from the Sar
"file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\conf\samples\fetchmail\maxMessageSize.xml because there is a
file in the way.
WARN    2006-01-10 09:41:50.507 [Phoenix.] (): The file
conf/samples/fetchmail/oneAccountManyUsers.xml can not be extracted from
the Sar "file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\conf\samples\fetchmail\oneAccountManyUsers.xml because there is
a file in the way.
WARN    2006-01-10 09:41:50.507 [Phoenix.] (): The file
conf/samples/fetchmail/oneAccountManyUsersDynamic.xml can not be extracted
from the Sar "file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\conf\samples\fetchmail\oneAccountManyUsersDynamic.xml because
there is a file in the way.
WARN    2006-01-10 09:41:50.507 [Phoenix.] (): The file
conf/samples/fetchmail/oneAccountPerUser.xml can not be extracted from the
Sar "file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\conf\samples\fetchmail\oneAccountPerUser.xml because there is a
file in the way.
WARN    2006-01-10 09:41:50.507 [Phoenix.] (): The file
conf/samples/fetchmail/oneAccountPerUserDynamic.xml can not be extracted
from the Sar "file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\conf\samples\fetchmail\oneAccountPerUserDynamic.xml because
there is a file in the way.
WARN    2006-01-10 09:41:50.507 [Phoenix.] (): The file
conf/samples/fetchmail/remoteReceivedHeader.xml can not be extracted from
the Sar "file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\conf\samples\fetchmail\remoteReceivedHeader.xml because there
is a file in the way.
WARN    2006-01-10 09:41:50.507 [Phoenix.] (): The file SAR-INF/config.xml
can not be extracted from the Sar "file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\SAR-INF\config.xml because there is a file in the way.
WARN    2006-01-10 09:41:50.507 [Phoenix.] (): The file
SAR-INF/assembly.xml can not be extracted from the Sar "file:/C:/Documents
and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\SAR-INF\assembly.xml because there is a file in the way.
WARN    2006-01-10 09:41:50.507 [Phoenix.] (): The file
SAR-INF/environment.xml can not be extracted from the Sar
"file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james.sar" into directory C:\Documents and
Settings\ec-azubi\Desktop\Abschlussprojekt\Sources\James\dist\james-2.2.0
\apps\james\SAR-INF\environment.xml because there is a file in the way.
ERROR   2006-01-10 09:41:50.554 [Phoenix.] (): Error building configuration
from file:/C:/Documents and
Settings/ec-azubi/Desktop/Abschlussprojekt/Sources/James/dist/james-2.2.0
/apps/james/SAR-INF/config.xml.
java.net.MalformedURLException: no protocol: ../conf/james-fetchmail.xml
      at java.net.URL.<init>(URL.java:537)
      at java.net.URL.<init>(URL.java:434)
      at java.net.URL.<init>(URL.java:383)
      at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:796)
      at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:725)
      at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(XMLDocumentFragmentScannerImpl.java:1073)
      at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1489)


It is the standartconfig so where is the problem in this case?

Thanks for the help!


                                       
        Mit freundlichen Grüßen        
           Philipp Siegfried           
 ------------------------------------- 
               ~FIAN03~                
 ------------------------------------- 
         BASF IT Services GmbH         
              Q920 - A431              
                 EC-TW                 
          Tel: 0621 60 47386           
 ------------------------------------- 
                                       




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