AnsweredAssumed Answered

Preview Website Failure-War using spring,hibernate,Struts2.0

Question asked by rkasera on Feb 6, 2008
I have a web application built using SPring + Hibernate + Struts 2.0. I am using Alfresco Community Edition 2.1. When I import the war and run the virtualisation server I get this error:

Feb 6, 2008 4:02:55 PM org.alfresco.mbeans.VirtServerRegistrationThread registerVirtServer
INFO: Connected to remote Alfresco JMX Server
AVMWebappLoader absoluteClassesPath:  v:\myapp–admin\VERSION\v-1\DATA\www\avm_webapps\ROOT\WEB-INF\classes
AVMWebappLoader absoluteClassesPath not null, so no need to make copy
log4j:ERROR Could not open [file:/V:/myapp–admin/VERSION/v-1/DATA/www/avm_webapps/ROOT/WEB-INF/classes/log4j.xml].
java.io.FileNotFoundException: V:\myapp–admin\VERSION\v-1\DATA\www\avm_webapps\ROOT\WEB-INF\classes\log4j.xml (The
system cannot find the path specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
        at java.net.URL.openStream(URL.java:1007)


AVMWebappLoader absoluteClassesPath not null, so no need to make copy
Feb 6, 2008 4:04:10 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
        at org.alfresco.catalina.loader.AVMWebappClassLoader.loadClass(AVMWebappClassLoader.java:1394)
        at org.alfresco.catalina.loader.AVMWebappClassLoader.loadClass(AVMWebappClassLoader.java:1240)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3712)


SEVERE: Error configuring application listener of class org.apache.struts2.tiles.StrutsTilesListener
java.lang.ClassNotFoundException: org.apache.struts2.tiles.StrutsTilesListener
        at org.alfresco.catalina.loader.AVMWebappClassLoader.loadClass(AVMWebappClassLoader.java:1394)

Please let me know if such a war is importable on Alfresco 2.1?

Thanks in advance.
Rajiv

Outcomes