Hello,

I'm trying to run the nightly build (actually I get the same error by
manually building from SVN) and I get:

Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
Caught: org.springframework.beans.factory.BeanDefinitionStoreException:
Failed to load type: jdbcAuditor. Reason:
java.lang.ClassNotFoundException: jd
bcAuditor; nested exception is java.lang.ClassNotFoundException: jdbcAuditor
org.springframework.beans.factory.BeanDefinitionStoreException: Failed
to load type: jdbcAuditor. Reason: java.lang.ClassNotFoundException:
jdbcAudito
r; nested exception is java.lang.ClassNotFoundException: jdbcAuditor
Caused by: java.lang.ClassNotFoundException: jdbcAuditor
       at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
       at 
org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
---

I obviously miss the reference/inclusion of
servicemix-audit-3.1-incubating-SNAPSHOT.jar  which contains
'JdbcAuditor' class (the jar file is, normally, in my /lib dir) .
Commenting out the pertinent <sm:jdbcAudiitor> part from
servicemix.xml results in a different exception:

Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
Caught: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jndi' defined in class path resource
[jndi.xml]: Canno
t resolve reference to bean 'jndiEntries' while setting bean property
'entries'; nested exception is
org.springframework.beans.factory.BeanCreationExc
eption: Error creating bean with name 'jndiEntries': Cannot resolve
reference to bean 'transactionManager' while setting bean property
'sourceMap' wit
h key [javax.transaction.TransactionManager]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with na
me 'transactionManager' defined in class path resource [tx.xml]:
Invocation of init method failed; nested exception is
java.lang.NoSuchMethodError: or
g.apache.geronimo.transaction.log.HOWLLog.<init>(Ljava/lang/String;IZILjava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIILorg/apache/geronimo/
transaction/manager/XidFactory;Ljava/io/File;)V
....

The CLASSPATH when running SM contains only the conf/ and
lib/classworlds-1.0.1.jar . I've even tried replacing the entries in
classworld's bootstrap configuration file (servicemix.conf) with
absolute entries for SM's home-dir but didn't help (the same error).

Are there any special environmental/classpath settings I need to have
in order to work with the latest sources?  Fyi, I'm on windows and my
install dir has no spaces.


thanks

Reply via email to