Hi Norman
Hi All

JAMES_HOME/logs/phoenix.log is here.
DBCP has correct driverName, url, user and password. But login was denied.


INFO    2009-11-26 18:25:46.898 [Phoenix ] (): Logger started
WARN    2009-11-26 18:25:46.914 [Phoenix ] (): Phoenix was not started
by the daemon thus it will not be possible to restart the JVM via the
Management interface.
INFO    2009-11-26 18:25:47.039 [Phoenix.] (): Installing Sar located
at file:/D:/james-2.3.2/apps/james.sar.
WARN    2009-11-26 18:25:47.039 [Phoenix.] (): The file
conf/james-fetchmail.xml can not be extracted from the Sar
"file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\conf\james-fetchmail.xml because there is a
file in the way.
WARN    2009-11-26 18:25:47.039 [Phoenix.] (): The file
conf/james-listmanager.xml can not be extracted from the Sar
"file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\conf\james-listmanager.xml because there is
a file in the way.
WARN    2009-11-26 18:25:47.039 [Phoenix.] (): The file
conf/james-liststores.xml can not be extracted from the Sar
"file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\conf\james-liststores.xml because there is a
file in the way.
WARN    2009-11-26 18:25:47.039 [Phoenix.] (): The file
conf/james-smtphandlerchain.xml can not be extracted from the Sar
"file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\conf\james-smtphandlerchain.xml because
there is a file in the way.
WARN    2009-11-26 18:25:47.039 [Phoenix.] (): The file
conf/miResources.xml can not be extracted from the Sar
"file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\conf\miResources.xml because there is a file
in the way.
WARN    2009-11-26 18:25:47.039 [Phoenix.] (): The file
conf/samples/fetchmail/maxMessageSize.xml can not be extracted from
the Sar "file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\conf\samples\fetchmail\maxMessageSize.xml
because there is a file in the way.
WARN    2009-11-26 18:25:47.039 [Phoenix.] (): The file
conf/samples/fetchmail/oneAccountManyUsers.xml can not be extracted
from the Sar "file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\conf\samples\fetchmail\oneAccountManyUsers.xml
because there is a file in the way.
WARN    2009-11-26 18:25:47.054 [Phoenix.] (): The file
conf/samples/fetchmail/oneAccountManyUsersDynamic.xml can not be
extracted from the Sar "file:/D:/james-2.3.2/apps/james.sar" into
directory 
D:\james-2.3.2\apps\james\conf\samples\fetchmail\oneAccountManyUsersDynamic.xml
because there is a file in the way.
WARN    2009-11-26 18:25:47.054 [Phoenix.] (): The file
conf/samples/fetchmail/oneAccountPerUser.xml can not be extracted from
the Sar "file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\conf\samples\fetchmail\oneAccountPerUser.xml
because there is a file in the way.
WARN    2009-11-26 18:25:47.054 [Phoenix.] (): The file
conf/samples/fetchmail/oneAccountPerUserDynamic.xml can not be
extracted from the Sar "file:/D:/james-2.3.2/apps/james.sar" into
directory 
D:\james-2.3.2\apps\james\conf\samples\fetchmail\oneAccountPerUserDynamic.xml
because there is a file in the way.
WARN    2009-11-26 18:25:47.054 [Phoenix.] (): The file
conf/samples/fetchmail/remoteReceivedHeader.xml can not be extracted
from the Sar "file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\conf\samples\fetchmail\remoteReceivedHeader.xml
because there is a file in the way.
WARN    2009-11-26 18:25:47.054 [Phoenix.] (): The file
conf/sqlResources.xml can not be extracted from the Sar
"file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\conf\sqlResources.xml because there is a
file in the way.
WARN    2009-11-26 18:25:47.054 [Phoenix.] (): The file
SAR-INF/assembly.xml can not be extracted from the Sar
"file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\SAR-INF\assembly.xml because there is a file
in the way.
WARN    2009-11-26 18:25:47.054 [Phoenix.] (): The file
SAR-INF/config.xml can not be extracted from the Sar
"file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\SAR-INF\config.xml because there is a file
in the way.
WARN    2009-11-26 18:25:47.054 [Phoenix.] (): The file
SAR-INF/environment.xml can not be extracted from the Sar
"file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\SAR-INF\environment.xml because there is a
file in the way.
WARN    2009-11-26 18:25:47.367 [Phoenix.] (): The file
SAR-INF/lib/commons-dbcp-1.2.1.jar~ can not be extracted from the Sar
"file:/D:/james-2.3.2/apps/james.sar" into directory
D:\james-2.3.2\apps\james\SAR-INF\lib\commons-dbcp-1.2.1.jar~ because
there is a file in the way.
INFO    2009-11-26 18:25:49.101 [Phoenix.] (): Verifying that all
key-stores have valid names.
INFO    2009-11-26 18:25:49.101 [Phoenix.] (): Verify that any
keystore names used by grant or permission reference actual keystores
INFO    2009-11-26 18:25:49.101 [Phoenix.] (): Verify that if target
is null then actions is null.
INFO    2009-11-26 18:25:49.242 [Phoenix.] (): Verifying that the name
specified for Blocks and BlockListeners are valid.
INFO    2009-11-26 18:25:49.242 [Phoenix.] (): Verifying that the
names specified for Component are valid.
INFO    2009-11-26 18:25:49.242 [Phoenix.] (): Verifying that the
names specified for the Components are unique.
INFO    2009-11-26 18:25:49.242 [Phoenix.] (): Verifying that the
dependency mapping is valid according to ComponentInfos.
INFO    2009-11-26 18:25:49.242 [Phoenix.] (): Verifying that the
dependency mapping for every Component is valid with respect to other
components.
INFO    2009-11-26 18:25:49.242 [Phoenix.] (): Verifying that there
are no circular dependencies between Components.
INFO    2009-11-26 18:25:49.242 [Phoenix.] (): Verifying that the name
specified for Blocks and BlockListeners are unique.
INFO    2009-11-26 18:25:49.242 [Phoenix.] (): Verifying that the
specified Blocks have valid types.
INFO    2009-11-26 18:25:49.273 [Phoenix.] (): Verifying that the
specified BlockListeners have valid types.
INFO    2009-11-26 18:25:49.320 [Phoenix.] (): 20 Blocks to process
for phase "startup". Order of processing = [dnsserver,
database-connections, mailstore, users-store, localusersrepository,
spoolrepository, sockets, thread-manager, scheduler, James,
mailetpackages, matcherpackages, spoolmanager, connections,
remotemanager, pop3server, smtpserver, nntp-repository, nntpserver,
fetchmail].
ERROR   2009-11-26 18:25:52.367 [Phoenix.] (): Component named
"database-connections" failed to pass through the Starting stage.
(Reason: org.apache.avalon.framework.configuration.ConfigurationException:
Error configurable datasource).
ERROR   2009-11-26 18:25:52.367 [Phoenix.] (): There was an error
running phase "startup" for Block named "database-connections".
(Reason: Component named "database-connections" failed to pass through
the Starting stage. (Reason:
org.apache.avalon.framework.configuration.ConfigurationException:
Error configurable datasource).).
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException:
Component named "database-connections" failed to pass through the
Starting stage. (Reason:
org.apache.avalon.framework.configuration.ConfigurationException:
Error configurable datasource).
        at 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:354)
        at 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:226)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180)
        at 
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
rethrown from
org.apache.avalon.framework.configuration.ConfigurationException:
Error configurable datasource
        at 
org.apache.james.util.dbcp.JdbcDataSource.configure(JdbcDataSource.java:200)
        at 
org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector.initialize(DefaultDataSourceSelector.java:147)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
        at 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
rethrown from
org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (ORA-01017: ユーザー名/パスワードが無効です。ログオンは拒否されました。
)
        at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
        at 
org.apache.james.util.dbcp.JdbcDataSource$1.createDataSource(JdbcDataSource.java:113)
        at 
org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:959)
        at 
org.apache.james.util.dbcp.JdbcDataSource.configure(JdbcDataSource.java:157)
        at 
org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector.initialize(DefaultDataSourceSelector.java:147)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
rethrown from
java.sql.SQLException: ORA-01017: ユーザー名/パスワードが無効です。ログオンは拒否されました。
        at 
oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
        at 
oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
        at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:406)
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
        at 
oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:799)
INFO    2009-11-26 18:25:52.367 [Phoenix.] (): exception while
starting:Component named "database-connections" failed to pass through
the Starting stage. (Reason:
org.apache.avalon.framework.configuration.ConfigurationException:
Error configurable datasource).

WARN    2009-11-26 18:25:52.382 [Phoenix.] (): Failed to start
application james.
org.apache.avalon.framework.CascadingException: Failed to start
application james.
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:313)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:376)
        at 
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:357)
        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)
rethrown from
org.apache.avalon.phoenix.interfaces.ApplicationException: Component
named "database-connections" failed to pass through the Starting
stage. (Reason:
org.apache.avalon.framework.configuration.ConfigurationException:
Error configurable datasource).
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:186)
        at 
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:295)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:376)
        at 
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:357)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:542)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:535)
rethrown from
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException:
Component named "database-connections" failed to pass through the
Starting stage. (Reason:
org.apache.avalon.framework.configuration.ConfigurationException:
Error configurable datasource).
        at 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:354)
        at 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:226)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180)
        at 
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
rethrown from
org.apache.avalon.framework.configuration.ConfigurationException:
Error configurable datasource
        at 
org.apache.james.util.dbcp.JdbcDataSource.configure(JdbcDataSource.java:200)
        at 
org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector.initialize(DefaultDataSourceSelector.java:147)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
        at 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
rethrown from
org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (ORA-01017: ユーザー名/パスワードが無効です。ログオンは拒否されました。
)
        at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
        at 
org.apache.james.util.dbcp.JdbcDataSource$1.createDataSource(JdbcDataSource.java:113)
        at 
org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:959)
        at 
org.apache.james.util.dbcp.JdbcDataSource.configure(JdbcDataSource.java:157)
        at 
org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector.initialize(DefaultDataSourceSelector.java:147)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
rethrown from
java.sql.SQLException: ORA-01017: ユーザー名/パスワードが無効です。ログオンは拒否されました。
        at 
oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
        at 
oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
        at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:406)
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
        at 
oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:799)
WARN    2009-11-26 18:25:52.445 [Phoenix.] (): Error deleting Work
Directory "D:\james-2.3.2\work\james-1259227547039". (Reason: File
D:\james-2.3.2\work\james-1259227547039\SAR-INF\lib\mailet-api-2.3.jar
unable to be deleted.)
java.io.IOException: File
D:\james-2.3.2\work\james-1259227547039\SAR-INF\lib\mailet-api-2.3.jar
unable to be deleted.
        at 
org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:743)
        at 
org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:910)
        at 
org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:866)
        at 
org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:735)
        at 
org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:910)
        at 
org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:866)
        at 
org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:735)
WARN    2009-11-26 18:25:52.554 [Phoenix.] (): Failed to stop
application james as it is not initialized/started.


2009/11/27 Norman Maurer <[email protected]>:
> could you  post the full stacktrace ?
>
> Bye,
> Norman
>
> 2009/11/26 fujimoto hs <[email protected]>:
>> Hello all,
>>
>> I tried to use JDBC Repositories with Oracle11g.
>> But connection can not get and error occured
>> "ORA-01017: invalid username/password; logon denied".
>>
>> Other clients software can connect same user.
>> Use DBCP only is successful.
>>
>> How can I get Connections?
>> Please help me.
>>
>>
>> config.xml(database-connections section only,Others default.)
>> -------------------------------------------------------------
>> <data-source name="maildb"
>>  class="org.apache.james.util.dbcp.JdbcDataSource">
>> <driver>oracle.jdbc.driver.OracleDriver</driver>
>> <dburl>jdbc:oracle:thin:@XXX.XXX.XXX.XXX:1521:orcl</dburl>
>> <user>username</user>
>> <password>pass</password>
>> <max>2</max>
>> </data-source>
>> -------------------------------------------------------------
>>
>> Env:
>> -------------------------------------------------------------
>> jdk 1.6.0_13
>> Oracle 11.1.0.7.0
>> JamesServer 2.3.2
>> -------------------------------------------------------------
>>
>> P.S.
>> Oracle "case sensitive" is FALSE.
>> "org.apache.james.util.mordred.JdbcDataSource" can not connect too.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to