users@glassfish.java.net

Re: Glassfish V3. using Grails 1.1.2 : asadmin wont deploy petclinic war

From: <glassfish_at_javadesktop.org>
Date: Wed, 24 Mar 2010 01:22:35 PDT

Hi,

I followed the instructions in Sun GlassFish Enterprise Server
v3 Scripting Framework Guide and failed to deploy war with error message belowed:

com.sun.enterprise.admin.cli.CommandException: remote failure: Exception while loading the app : java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: org.codehaus.groovy.grails.web.util.Log4jConfigListener

I also tried to put libries in domain/lib/applib/ , and use additional param --libraries to identify location but still failed to deploy.

Seems like it cannot load classes within web.xml , any ideas?

Thanks.

EronYang
[Message sent by forum member 'eronyang']

http://forums.java.net/jive/thread.jspa?messageID=393429