Hi Ding,

did you try verifying integrity of

/C:/Users/jboss-as-7.1.1.Final/standalone/deployments/magnolia-poc-webapp.war/WEB-INF/lib/commons-codec-1.4.jar

using some .zip tool? It sounds like the Zip format of the Jar file is 
broken.

Regards,
Jörg

On 26.11.2013 05:37, QIN Ding (via Magnolia Forums) wrote:
> Thanks Jörg and Daniel! I'm able to create project from archetype now.
>
> However, when deploying webapp to either tomcat or jboss for the first time 
> after importing it to Eclipse as a Maven project(Deployment is done through 
> Eclipse), it gives errors:
>
> [b][Deploy to Tomcat7+JDK1.7][/b]
> [code]2013-11-26 12:15:01,472 INFO  info.magnolia.jackrabbit.ProviderImpl     
>         : Registering nodetype {http://www.magnolia.info/jcr/mgnl}group on 
> repository magnolia
> 2013-11-26 12:15:06,503 INFO  
> fo.magnolia.objectfactory.ObservedComponentFactory: 
> /server/rendering/freemarker does not exist, will return a new instance of 
> class info.magnolia.freemarker.FreemarkerConfig.
> 2013-11-26 12:15:06,513 INFO  info.magnolia.context.LifeTimeJCRSessionUtil    
>   : Will handle lifetime sessions because the system context is of type 
> interface info.magnolia.context.ThreadDependentSystemContext
> 2013-11-26 12:15:06,658 ERROR info.magnolia.cms.beans.config.ConfigLoader     
>   : An unspecified error occurred during initialization: 
> org/apache/commons/codec/binary/Base64
> java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
>       at 
> info.magnolia.setup.initial.GenericTasks.genericTasksForNewInstallation(GenericTasks.java:79)
>
>
> 2013-11-26 12:15:06,692 ERROR info.magnolia.cms.filters.FilterManagerImpl     
>   : Error initializing filters
> javax.servlet.ServletException: No filters configured at /server/filters
>       at 
> info.magnolia.cms.filters.FilterManagerImpl.createConfiguredFilters(FilterManagerImpl.java:194)
> [/code]
>
> [b][Deploy to JBossAS7.1.1+JDK1.7][/b]
> [code]12:27:46,624 INFO  [org.jboss.as.server.deployment] (MSC service thread 
> 1-14) JBAS015876: Starting deployment of "magnolia-poc-webapp.war"
> 12:27:47,813 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-14) 
> JBAS015852: Could not index class 
> org/apache/commons/codec/binary/Base64OutputStream.class at 
> /C:/Users/jboss-as-7.1.1.Final/standalone/deployments/magnolia-poc-webapp.war/WEB-INF/lib/commons-codec-1.4.jar:
>  java.util.zip.ZipException: invalid LOC header (bad signature)
>       at java.util.zip.ZipFile.read(Native Method) [rt.jar:1.7.0_45]
>
>
> 12:27:49,591 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-14) 
> MSC00001: Failed to start service 
> jboss.deployment.unit."magnolia-poc-webapp.war".STRUCTURE: 
> org.jboss.msc.service.StartException in service 
> jboss.deployment.unit."magnolia-poc-webapp.war".STRUCTURE: Failed to process 
> phase STRUCTURE of deployment "magnolia-poc-webapp.war"
>       at 
> org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)
>  [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>
> [/code]
>
>
> Please advise. Thanks!
>


-- 
*Dipl.-Inf. Jörg von Frantzius, Systems Architect*

Email mailto:[email protected]
Phone +49 30 283921-318
Fax +49 30 283921-29

Aperto AG - In der Pianofabrik
Chausseestraße 5, D-10115 Berlin-Mitte
http://www.aperto.de
http://www.facebook.com/aperto
https://www.xing.com/companies/apertoag

HRB 77049, AG Berlin Charlottenburg
Vorstand: Dirk Buddensiek (Vorsitzender), Kai Großmann, Stephan Haagen
Aufsichtsrat: Bernd Hardes (Vorsitzender)


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to