cancel
Showing results for 
Search instead for 
Did you mean: 

AuditSurf

dranakan
Champ on-the-rise
Champ on-the-rise
Hello,

There is a software auditing alfresco : http://www.atolcd.com/btn-ll/audit-alfresco.html
It seems to be very good !!!

Atoldc creator, have you evaluate the loose of performance (approximately) having this audit on the server ?

I just have problem to start it (with Alfresco 3.2 / MySql):
15:36:32,758 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webscript.com.atolcd.alfresco.audit.fileserverinfo.get' defined in file [C:\Alfresco3.2\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\com.atolcd.alfresco.audit\module-context.xml]: Cannot resolve reference to bean 'FileServerConfig' while setting bean property 'fileServerConfig'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'FileServerConfig' is defined
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'FileServerConfig' is defined
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:360)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:914)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:241)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:69)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
   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:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
15:36:47,337 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@719726: display name [Root WebApplicationContext]; startup date [Fri Sep 11 15:36:47 CEST 2009]; root of context hierarchy
30 REPLIES 30

bertrandf
Champ on-the-rise
Champ on-the-rise
Unfortunatly, AuditSurf is only compatible with Alfresco Enterprise 3.1 and 3.1.1 (will work on a V3.0 E with some glitches)
Otherwise, AuditSurf will need some changes to be compatible with Alfresco Entreprise 3.2.

Sincerly.

gronfelt
Champ in-the-making
Champ in-the-making
Are there any plans on making it compatible with 3.2 E and would that mean that it would also be compatible with 3.2 CE?

bertrandf
Champ on-the-rise
Champ on-the-rise
Yes we will make it 3.2 E compatible, but not 3.2 CE (but I will try to do a 3.2 CE version on my own).

gronfelt
Champ in-the-making
Champ in-the-making
Just out of curiosity, what are the main differences between E and CE that causes it not to work with CE?

bertrandf
Champ on-the-rise
Champ on-the-rise
The only difference is JMX (Enterprise Only feature), AuditSurf use JMX (System monitoring).

bertrandf
Champ on-the-rise
Champ on-the-rise
The 3.2 CE version is on the forge  Smiley Very Happy
http://forge.alfresco.com/frs/?group_id=220&release_id=481

alexr
Champ in-the-making
Champ in-the-making

Hi Bertrand,

I have tried to deploy AuditSurf (enterprise edition version) on an Alfresco 3.1.1 Enterprise release,
but I get the following error in our jboss server.log:

2009-09-22 07:35:26,625 INFO  [STDOUT] 07:35:26,625  ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.atolcd.alfresco.audit.repo.AuditQueriesServiceImpl] for bean with name 'beanAuditQueriesService' defined in file [D:\jboss-4.2.1.GA\server\default\deploy\alfresco.war\WEB-INF\classes\alfresco\module\com.atolcd.alfresco.audit\module-context.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file

Our jboss uses the following java version:

07:33:41,203 INFO  [ServerInfo] Java version: 1.5.0_16,Sun Microsystems Inc.
07:33:41,203 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_16-b02,Sun Microsystems

Seems like the AuditSurf classes were build on a newer java version.
Can you please tell me what version(s) are compatible with Auditsurf?

Best Regards,

Alex

bertrandf
Champ on-the-rise
Champ on-the-rise
Hi Alex,

AuditSurf was built with Java 1.6. We've never test it on Java 1.5.
I will try to compile it with a Java 1.5 and I'll PM it to you.

Sincerly.

alexr
Champ in-the-making
Champ in-the-making
Thanks Bertrand, that would be great.

Regards,

Alex
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.