You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by be...@apache.org on 2008/01/20 19:59:44 UTC

svn commit: r613653 - /james/server/trunk/spring-deployment/build.xml

Author: berndf
Date: Sun Jan 20 10:59:41 2008
New Revision: 613653

URL: http://svn.apache.org/viewvc?rev=613653&view=rev
Log:
spring deployment windows run.bat verified

Modified:
    james/server/trunk/spring-deployment/build.xml

Modified: james/server/trunk/spring-deployment/build.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/build.xml?rev=613653&r1=613652&r2=613653&view=diff
==============================================================================
--- james/server/trunk/spring-deployment/build.xml (original)
+++ james/server/trunk/spring-deployment/build.xml Sun Jan 20 10:59:41 2008
@@ -333,8 +333,6 @@
 
         <!-- create windows startup script-->
         <echo file="${spring-deployment.target.bin.dir}/run.bat" append="false">
-echo This batch file is untested. Please report to server-dev@james.apache.org if it works or not. Thank you!
-pause
 java -cp ${exe-classpath};../conf org.apache.james.container.spring.Main             
         </echo>
         <replace file="${spring-deployment.target.bin.dir}/run.bat" token="${spring-deployment.target.lib.dir}" value="../lib" />



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


Re: svn commit: r613653 - /james/server/trunk/spring-deployment/build.xml

Posted by Bernd Fondermann <be...@googlemail.com>.
ok, thank you for testing. I never had a chance to test on Windows
until recently.
this error is platform independent, and unrelated to the commit since
it does not come from the bat.

I will deal with the MyMailStore exception probably this week.

Thanks,

  Bernd

On Jan 20, 2008 11:38 PM, Stefano Bagnara <ap...@bago.org> wrote:
> berndf@apache.org ha scritto:
> > Author: berndf
> > Date: Sun Jan 20 10:59:41 2008
> > New Revision: 613653
> >
> > URL: http://svn.apache.org/viewvc?rev=613653&view=rev
> > Log:
> > spring deployment windows run.bat verified
>
> I tested the run.bat and I get this error:
> ------
> INFO  23:31:40,438 |
> org.apache.james.container.spring.beanfactory.AvalonApplica
> tionContext | 46 beans defined in application context
> [org.apache.james.containe
> r.spring.beanfactory.AvalonApplicationContext;hashCode=1333195]
> Exception in thread "main"
> org.springframework.beans.factory.CannotLoadBeanClass
> Exception: Cannot find class
> [org.apache.james.mailboxmanager.mailstore.MyAvalonMailStore] for bean
> with name 'mailboxmanager-mailstore' defined in null; nested exception
> is java.lang.ClassNotFoundException:
> org.apache.james.mailboxmanager.mailstore.MyAvalonMailStore
> Caused by: java.lang.ClassNotFoundException:
> org.apache.james.mailboxmanager.mailstore.MyAvalonMailStore
>          at java.net.URLClassLoader$1.run(Unknown Source)
>          at java.security.AccessController.doPrivileged(Native Method)
>          at java.net.URLClassLoader.findClass(Unknown Source)
>          at java.lang.ClassLoader.loadClass(Unknown Source)
>          at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>          at java.lang.ClassLoader.loadClass(Unknown Source)
>          at org.springframework.util.ClassUtils.forName(ClassUtils.java:177)
>          at
> org.springframework.beans.factory.support.AbstractBeanDefinition.reso
> lveBeanClass(AbstractBeanDefinition.java:313)
>          at
> org.springframework.beans.factory.support.AbstractBeanFactory.resolve
> BeanClass(AbstractBeanFactory.java:912)
>          at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.
> getBeanNamesForType(DefaultListableBeanFactory.java:165)
>          at
> org.springframework.context.support.AbstractApplicationContext.getBea
> nNamesForType(AbstractApplicationContext.java:687)
>          at
> org.springframework.context.support.AbstractApplicationContext.invoke
> BeanFactoryPostProcessors(AbstractApplicationContext.java:397)
>          at
> org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:330)
>          at
> org.apache.james.container.spring.beanfactory.AvalonApplicationContex
> t.<init>(AvalonApplicationContext.java:47)
>          at
> org.apache.james.container.spring.beanfactory.AvalonApplicationContex
> t.<init>(AvalonApplicationContext.java:52)
>          at org.apache.james.container.spring.Main.main(Main.java:33)
> ---------------------
>
> I cannot find the MyAvalonMailStore stuff in the current trunk.
>
> Stefano
>
>
> > Modified:
> >     james/server/trunk/spring-deployment/build.xml
> >
> > Modified: james/server/trunk/spring-deployment/build.xml
> > URL: http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/build.xml?rev=613653&r1=613652&r2=613653&view=diff
> > ==============================================================================
> > --- james/server/trunk/spring-deployment/build.xml (original)
> > +++ james/server/trunk/spring-deployment/build.xml Sun Jan 20 10:59:41 2008
> > @@ -333,8 +333,6 @@
> >
> >          <!-- create windows startup script-->
> >          <echo file="${spring-deployment.target.bin.dir}/run.bat" append="false">
> > -echo This batch file is untested. Please report to server-dev@james.apache.org if it works or not. Thank you!
> > -pause
> >  java -cp ${exe-classpath};../conf org.apache.james.container.spring.Main
> >          </echo>
> >          <replace file="${spring-deployment.target.bin.dir}/run.bat" token="${spring-deployment.target.lib.dir}" value="../lib" />
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

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


Re: svn commit: r613653 - /james/server/trunk/spring-deployment/build.xml

Posted by Stefano Bagnara <ap...@bago.org>.
berndf@apache.org ha scritto:
> Author: berndf
> Date: Sun Jan 20 10:59:41 2008
> New Revision: 613653
> 
> URL: http://svn.apache.org/viewvc?rev=613653&view=rev
> Log:
> spring deployment windows run.bat verified

I tested the run.bat and I get this error:
------
INFO  23:31:40,438 | 
org.apache.james.container.spring.beanfactory.AvalonApplica
tionContext | 46 beans defined in application context 
[org.apache.james.containe
r.spring.beanfactory.AvalonApplicationContext;hashCode=1333195]
Exception in thread "main" 
org.springframework.beans.factory.CannotLoadBeanClass
Exception: Cannot find class 
[org.apache.james.mailboxmanager.mailstore.MyAvalonMailStore] for bean 
with name 'mailboxmanager-mailstore' defined in null; nested exception 
is java.lang.ClassNotFoundException: 
org.apache.james.mailboxmanager.mailstore.MyAvalonMailStore
Caused by: java.lang.ClassNotFoundException: 
org.apache.james.mailboxmanager.mailstore.MyAvalonMailStore
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at org.springframework.util.ClassUtils.forName(ClassUtils.java:177)
         at 
org.springframework.beans.factory.support.AbstractBeanDefinition.reso
lveBeanClass(AbstractBeanDefinition.java:313)
         at 
org.springframework.beans.factory.support.AbstractBeanFactory.resolve
BeanClass(AbstractBeanFactory.java:912)
         at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.
getBeanNamesForType(DefaultListableBeanFactory.java:165)
         at 
org.springframework.context.support.AbstractApplicationContext.getBea
nNamesForType(AbstractApplicationContext.java:687)
         at 
org.springframework.context.support.AbstractApplicationContext.invoke
BeanFactoryPostProcessors(AbstractApplicationContext.java:397)
         at 
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:330)
         at 
org.apache.james.container.spring.beanfactory.AvalonApplicationContex
t.<init>(AvalonApplicationContext.java:47)
         at 
org.apache.james.container.spring.beanfactory.AvalonApplicationContex
t.<init>(AvalonApplicationContext.java:52)
         at org.apache.james.container.spring.Main.main(Main.java:33)
---------------------

I cannot find the MyAvalonMailStore stuff in the current trunk.

Stefano

> Modified:
>     james/server/trunk/spring-deployment/build.xml
> 
> Modified: james/server/trunk/spring-deployment/build.xml
> URL: http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/build.xml?rev=613653&r1=613652&r2=613653&view=diff
> ==============================================================================
> --- james/server/trunk/spring-deployment/build.xml (original)
> +++ james/server/trunk/spring-deployment/build.xml Sun Jan 20 10:59:41 2008
> @@ -333,8 +333,6 @@
>  
>          <!-- create windows startup script-->
>          <echo file="${spring-deployment.target.bin.dir}/run.bat" append="false">
> -echo This batch file is untested. Please report to server-dev@james.apache.org if it works or not. Thank you!
> -pause
>  java -cp ${exe-classpath};../conf org.apache.james.container.spring.Main             
>          </echo>
>          <replace file="${spring-deployment.target.bin.dir}/run.bat" token="${spring-deployment.target.lib.dir}" value="../lib" />



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