Quantcast

Problem deploying to Tomcat after upgraded to Grails 2.1 from 1.3.9

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Problem deploying to Tomcat after upgraded to Grails 2.1 from 1.3.9

Julian Shen
This post has NOT been accepted by the mailing list yet.
Hi
App is running fine under dev mode. Got this error trying running on Tomcat (v.7.0.25).
Tomcat is running locally, so both dev and Tomcat are using the same version of JVM.

Jul 23, 2012 8:30:44 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://www.springframework.org/tags/form is already defined
context.ContextLoader Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsApplication' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeException
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.reflect.MalformedParameterizedTypeException
        at java.lang.Class.getGenericInterfaces(Class.java:794)
        ... 5 more
Jul 23, 2012 8:30:46 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Jul 23, 2012 8:30:46 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/PineTwig_Portal] startup failed due to previous errors
Jul 23, 2012 8:30:49 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://www.springframework.org/tags/form is already defined
context.ContextLoader Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsApplication' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeException
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.reflect.MalformedParameterizedTypeException
        at java.lang.Class.getGenericInterfaces(Class.java:794)
        ... 3 more
Jul 23, 2012 8:30:51 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Problem deploying to Tomcat after upgraded to Grails 2.1 from 1.3.9

Julian Shen
This post has NOT been accepted by the mailing list yet.
Noboday has any clue about this problem?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Problem deploying to Tomcat after upgraded to Grails 2.1 from 1.3.9

Julian Shen
This post has NOT been accepted by the mailing list yet.
Could be the installed plugin related? The stacktrace and tomcat log file dose not reveal much information about its cause. I tried create a simple empty project (2.1.0 based) and it work in both dev and tomcat deployed scenario.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Problem deploying to Tomcat after upgraded to Grails 2.1 from 1.3.9

Julian Shen
This post has NOT been accepted by the mailing list yet.
In reply to this post by Julian Shen
List of plugin used in my app:

plugins.constraints=0.6.0
plugins.database-migration=1.0
plugins.dojo=1.4.3.2
plugins.excel-import=0.3
plugins.famfamfam=1.0.1
plugins.hibernate=2.1.0
plugins.jquery=1.5.2
plugins.jquery-ui=1.8.11
plugins.lookups=1.4
plugins.mail=1.0
plugins.navigation=1.2
plugins.resources=1.1.6
plugins.spring-security-acl=1.1
plugins.spring-security-core=1.2.7.3
plugins.spring-security-ui=0.2
plugins.webflow=1.3.8
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Problem deploying to Tomcat after upgraded to Grails 2.1 from 1.3.9

Julian Shen
This post has NOT been accepted by the mailing list yet.
Finally! It's webflow plugin. Start working after upgraded it to v2.0.0. Its really confusing. I can't upgrade the plugin through install-plugin command. It only work if I add this plugin dependency in BuildConfig.groovy. I can't find any documentation about the latest version info of this plugin. On its Grails plugin page, it say 1.3.8 is the latest version.

Loading...