I don't think that should be an issues since I am trying to develop locally....

        -----Original Message----- 
        From: Ergün KOÇAK [mailto:[EMAIL PROTECTED] 
        Sent: Thu 10/2/2003 10:01 AM 
        To: James Users List 
        Cc: 
        Subject: Re: run.bat not creating db tables
        
        

        did you stop any other SMTP service if exists ?
        
        
        ----- Original Message -----
        From: "David Liles" <[EMAIL PROTECTED]>
        To: "James Users List" <[EMAIL PROTECTED]>
        Sent: Thursday, October 02, 2003 6:08 PM
        Subject: run.bat not creating db tables
        
        
        > Why are we getting the below errors? We have unzipped 2.1 and placed our
        db driver in the lib directory, uncommented the appropriate db tags and made
        the necessary changes to the db connection block in the config.xml file, but
        when we attempt to run James this is what we get:
        >
        > INFO 2003-10-02 09:50:59.221 [Phoenix ] (): Logger started
        >
        > WARN 2003-10-02 09:50:59.341 [Phoenix ] (): Phoenix was not started by the
        daemon thus it will not be possible to restart the JVM via the Management
        interface.
        >
        > INFO 2003-10-02 09:51:00.673 [Phoenix.] (): Installing Sar located at
        file:/D:/projects/james-2.1/apps/james.sar.
        >
        > WARN 2003-10-02 09:51:00.954 [Phoenix.] (): The file
        SAR-INF/lib/mm.mysql.LICENCE can not be extracted from the Sar
        "file:/D:/projects/james-2.1/apps/james.sar" into directory
        D:\projects\james-2.1\apps\james\SAR-INF\lib\mm.mysql.LICENCE because there
        is a file in the way.
        >
        > WARN 2003-10-02 09:51:00.954 [Phoenix.] (): The file conf/sqlResources.xml
        can not be extracted from the Sar
        "file:/D:/projects/james-2.1/apps/james.sar" into directory
        D:\projects\james-2.1\apps\james\conf\sqlResources.xml because there is a
        file in the way.
        >
        > WARN 2003-10-02 09:51:00.964 [Phoenix.] (): The file SAR-INF/config.xml
        can not be extracted from the Sar
        "file:/D:/projects/james-2.1/apps/james.sar" into directory
        D:\projects\james-2.1\apps\james\SAR-INF\config.xml because there is a file
        in the way.
        >
        > WARN 2003-10-02 09:51:00.964 [Phoenix.] (): The file SAR-INF/assembly.xml
        can not be extracted from the Sar
        "file:/D:/projects/james-2.1/apps/james.sar" into directory
        D:\projects\james-2.1\apps\james\SAR-INF\assembly.xml because there is a
        file in the way.
        >
        > WARN 2003-10-02 09:51:00.964 [Phoenix.] (): The file
        SAR-INF/environment.xml can not be extracted from the Sar
        "file:/D:/projects/james-2.1/apps/james.sar" into directory
        D:\projects\james-2.1\apps\james\SAR-INF\environment.xml because there is a
        file in the way.
        >
        > INFO 2003-10-02 09:51:01.114 [Phoenix.] (): No policy specified in
        server.xml, giving full permissions to ServerApplication.
        >
        > INFO 2003-10-02 09:51:01.635 [Phoenix.] (): Verifying that the name
        specified for Blocks and BlockListeners are valid.
        >
        > INFO 2003-10-02 09:51:01.635 [Phoenix.] (): Verifying that the name
        specified for Blocks and BlockListeners are unique.
        >
        > INFO 2003-10-02 09:51:01.635 [Phoenix.] (): Verifying that the specified
        Dependencies are valid according to BlockInfo.
        >
        > INFO 2003-10-02 09:51:01.635 [Phoenix.] (): Verifying that the
        dependencies of Blocks are valid with respect to other Blocks.
        >
        > INFO 2003-10-02 09:51:01.635 [Phoenix.] (): Verifying that there are no
        circular dependencies between Blocks.
        >
        > INFO 2003-10-02 09:51:01.635 [Phoenix.] (): Verifying that the specified
        Blocks have valid types.
        >
        > INFO 2003-10-02 09:51:01.725 [Phoenix.] (): Verifying that the specified
        BlockListeners have valid types.
        >
        > INFO 2003-10-02 09:51:01.865 [Phoenix.] (): 17 Blocks to process for phase
        "startup". Order of processing = [dnsserver, objectstorage,
        database-connections, mailstore, users-store, thread-manager, connections,
        sockets, scheduler, James, spoolmanager, remotemanager, pop3server,
        smtpserver, nntp-repository, nntpserver, fetchpop].
        >
        > ERROR 2003-10-02 09:51:03.037 [Phoenix.] (): Component named "mailstore"
        failed to pass through the Initialization stage. (Reason:
        org.apache.avalon.framework.component.ComponentException: Cannot find or
        init repository).
        >
        > ERROR 2003-10-02 09:51:03.047 [Phoenix.] (): There was an error running
        phase "startup" for Block named "mailstore". (Reason: Component named
        "mailstore" failed to pass through the Initialization stage. (Reason:
        org.apache.avalon.framework.component.ComponentException: Cannot find or
        init repository).).
        >
        > org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component
        named "mailstore" failed to pass through the Initialization stage. (Reason:
        org.apache.avalon.framework.component.ComponentException: Cannot find or
        init repository).
        >
        > at
        org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHe
        lper.java:289)
        >
        > at
        org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(Lifecycl
        eHelper.java:159)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.startup(
        DefaultApplication.java:480)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPha
        se(DefaultApplication.java:428)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
        (DefaultApplication.java:364)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.start(De
        faultApplication.java:138)
        >
        > at
        org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java
        :251)
        >
        > rethrown from
        >
        > org.apache.avalon.framework.component.ComponentException: Cannot find or
        init repository
        >
        > at org.apache.james.core.AvalonMailStore.select(AvalonMailStore.java:311)
        >
        > at
        org.apache.james.core.AvalonMailStore.initialize(AvalonMailStore.java:121)
        >
        > at
        org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil
        .java:235)
        >
        > at
        org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(Lifecycl
        eHelper.java:144)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.startup(
        DefaultApplication.java:480)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPha
        se(DefaultApplication.java:428)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
        (DefaultApplication.java:364)
        >
        > rethrown from
        >
        > com.inet.tds.SQLException: Msg 4902, Level 16, State 1, Line 14, Sqlstate
        01000
        >
        > [WELL-DL]Cannot alter table 'spool' because this table does not exist in
        database 'dev_mailserver'.
        >
        > at com.inet.tds.e.a(Unknown Source)
        >
        > at com.inet.tds.h.if(Unknown Source)
        >
        > at com.inet.tds.h.a(Unknown Source)
        >
        > at com.inet.tds.h.for(Unknown Source)
        >
        > at com.inet.tds.b.new(Unknown Source)
        >
        > at com.inet.tds.b.execute(Unknown Source)
        >
        > INFO 2003-10-02 09:51:03.067 [Phoenix.] (): exception while
        starting:Component named "mailstore" failed to pass through the
        Initialization stage. (Reason:
        org.apache.avalon.framework.component.ComponentException: Cannot find or
        init repository).
        >
        > WARN 2003-10-02 09:51:03.367 [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(DefaultKer
        nel.java:195)
        >
        > at
        org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(Def
        aultKernel.java:254)
        >
        > at
        org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(Default
        Deployer.java:353)
        >
        > at
        org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
        aultEmbeddor.java:498)
        >
        > at
        org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
        aultEmbeddor.java:491)
        >
        > at
        org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(De
        faultEmbeddor.java:476)
        >
        > at
        org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultA
        pplications(DefaultEmbeddor.java:466)
        >
        > rethrown from
        >
        > org.apache.avalon.phoenix.interfaces.ApplicationException: Component named
        "mailstore" failed to pass through the Initialization stage. (Reason:
        org.apache.avalon.framework.component.ComponentException: Cannot find or
        init repository).
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.start(De
        faultApplication.java:144)
        >
        > at
        org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java
        :251)
        >
        > at
        org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKer
        nel.java:178)
        >
        > at
        org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(Def
        aultKernel.java:254)
        >
        > at
        org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(Default
        Deployer.java:353)
        >
        > at
        org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
        aultEmbeddor.java:498)
        >
        > at
        org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
        aultEmbeddor.java:491)
        >
        > rethrown from
        >
        > org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component
        named "mailstore" failed to pass through the Initialization stage. (Reason:
        org.apache.avalon.framework.component.ComponentException: Cannot find or
        init repository).
        >
        > at
        org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHe
        lper.java:289)
        >
        > at
        org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(Lifecycl
        eHelper.java:159)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.startup(
        DefaultApplication.java:480)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPha
        se(DefaultApplication.java:428)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
        (DefaultApplication.java:364)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.start(De
        faultApplication.java:138)
        >
        > at
        org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java
        :251)
        >
        > rethrown from
        >
        > org.apache.avalon.framework.component.ComponentException: Cannot find or
        init repository
        >
        > at org.apache.james.core.AvalonMailStore.select(AvalonMailStore.java:311)
        >
        > at
        org.apache.james.core.AvalonMailStore.initialize(AvalonMailStore.java:121)
        >
        > at
        org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil
        .java:235)
        >
        > at
        org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(Lifecycl
        eHelper.java:144)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.startup(
        DefaultApplication.java:480)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPha
        se(DefaultApplication.java:428)
        >
        > at
        org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
        (DefaultApplication.java:364)
        >
        > rethrown from
        >
        > com.inet.tds.SQLException: Msg 4902, Level 16, State 1, Line 14, Sqlstate
        01000
        >
        > [WELL-DL]Cannot alter table 'spool' because this table does not exist in
        database 'dev_mailserver'.
        >
        > at com.inet.tds.e.a(Unknown Source)
        >
        > at com.inet.tds.h.if(Unknown Source)
        >
        > at com.inet.tds.h.a(Unknown Source)
        >
        > at com.inet.tds.h.for(Unknown Source)
        >
        > at com.inet.tds.b.new(Unknown Source)
        >
        > at com.inet.tds.b.execute(Unknown Source)
        >
        > WARN 2003-10-02 09:51:03.407 [Phoenix.] (): Error deleting Work Directory
        "D:\projects\james-2.1\work\james-1065102660673". (Reason: File
        D:\projects\james-2.1\work\james-1065102660673\SAR-INF\lib\mm.mysql-2.0.14.j
        ar unable to be deleted.)
        >
        > java.io.IOException: File
        D:\projects\james-2.1\work\james-1065102660673\SAR-INF\lib\mm.mysql-2.0.14.j
        ar unable to be deleted.
        >
        > at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:638)
        >
        > at
        org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)
        >
        > at
        org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)
        >
        > at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)
        >
        > at
        org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)
        >
        > at
        org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)
        >
        > at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)
        >
        > WARN 2003-10-02 09:51:05.200 [Phoenix.] (): Failed to stop application
        james as it is not initialized/started.
        >
        >
        >
        > any ideas?
        >
        >
        
        
        ----------------------------------------------------------------------------
        ----
        
        
        > ---------------------------------------------------------------------
        > 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