11 Replies Latest reply on Mar 1, 2007 12:59 AM by Gregory Pierce

    Portlet + Grails = Not Working.

    Yesudeep Mangalapilly Newbie

      Greetings,

      We're currently using the Grails framework to develop our applications
      and we need to integrate a certain Grails web application with JBoss Portal.
      We're not sure about how to go about doing this. Can someone
      experienced in this area help out?

      I've tried following the basic advice in the Portal Reference Manual
      to create a test portlet for the application, but I get deployment errors.

      Here is a error log:

      17:46:03,906 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 2m:7s:811ms
      17:46:44,504 INFO [TomcatDeployer] deploy, ctxPath=/Kyle, warUrl=.../tmp/deploy/tmp2364Kyle-exp.war/
      17:46:44,742 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.
      17:46:44,742 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by
      17:46:44,743 ERROR [STDERR] log4j:ERROR [WebappClassLoader
       delegate: false
       repositories:
       /WEB-INF/classes/
      ----------> Parent Classloader:
      java.net.FactoryURLClassLoader@1a1610b
      ] whereas object of type
      17:46:44,743 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@1aaa14a].
      17:46:44,841 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported error follows.
      17:46:44,841 ERROR [STDERR] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppender
      17:46:44,842 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:165)
      17:46:44,843 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
      17:46:44,843 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
      17:46:44,843 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
      17:46:44,843 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
      17:46:44,843 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
      17:46:44,843 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
      17:46:44,844 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
      17:46:44,844 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
      17:46:44,844 ERROR [STDERR] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
      17:46:44,844 ERROR [STDERR] at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
      17:46:44,844 ERROR [STDERR] at org.apache.log4j.Logger.getLogger(Logger.java:85)
      17:46:44,844 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      17:46:44,844 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      17:46:44,844 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:44,845 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:44,845 ERROR [STDERR] at org.apache.commons.logging.impl.Log4jProxy.<init>(Log4jProxy.java:132)
      17:46:44,845 ERROR [STDERR] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:39)
      17:46:44,845 ERROR [STDERR] at sun.reflect.GeneratedConstructorAccessor14.newInstance(Unknown Source)
      17:46:44,845 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      17:46:44,845 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      17:46:44,845 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
      17:46:44,845 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
      17:46:44,845 ERROR [STDERR] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:372)
      17:46:44,846 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
      17:46:44,846 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4090)
      17:46:44,846 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      17:46:44,846 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      17:46:44,846 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      17:46:44,846 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      17:46:44,846 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      17:46:44,846 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:44,847 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:44,847 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      17:46:44,847 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      17:46:44,847 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      17:46:44,847 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
      17:46:44,847 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      17:46:44,848 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      17:46:44,848 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:44,848 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:44,848 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      17:46:44,848 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      17:46:44,848 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      17:46:44,848 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
      17:46:44,848 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
      17:46:44,849 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
      17:46:44,849 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
      17:46:44,849 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
      17:46:44,849 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      17:46:44,849 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      17:46:44,849 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      17:46:44,849 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:44,849 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:44,850 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      17:46:44,850 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      17:46:44,855 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      17:46:44,855 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      17:46:44,855 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      17:46:44,856 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      17:46:44,912 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      17:46:44,913 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      17:46:44,913 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      17:46:44,913 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:44,913 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:44,913 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      17:46:44,913 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      17:46:44,914 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      17:46:44,914 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      17:46:44,914 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      17:46:44,914 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      17:46:44,914 ERROR [STDERR] at $Proxy92.start(Unknown Source)
      17:46:44,914 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
      17:46:44,914 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      17:46:44,914 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      17:46:44,914 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:44,915 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:44,915 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      17:46:44,915 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      17:46:44,915 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      17:46:44,915 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      17:46:44,915 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      17:46:44,915 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
      17:46:44,915 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
      17:46:44,916 ERROR [STDERR] at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
      17:46:44,916 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
      17:46:44,916 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
      17:46:44,916 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      17:46:44,916 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      17:46:44,916 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      17:46:44,916 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      17:46:44,916 ERROR [STDERR] at $Proxy93.start(Unknown Source)
      17:46:44,917 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
      17:46:44,917 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
      17:46:44,917 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
      17:46:44,917 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
      17:46:44,917 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:44,917 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:44,917 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      17:46:44,917 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      17:46:44,918 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      17:46:44,918 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      17:46:44,918 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      17:46:44,918 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      17:46:44,918 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      17:46:44,918 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      17:46:44,918 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      17:46:44,918 ERROR [STDERR] at $Proxy8.deploy(Unknown Source)
      17:46:44,918 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      17:46:44,919 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      17:46:44,919 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      17:46:44,919 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
      17:46:44,919 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
      17:46:44,919 ERROR [STDERR] log4j:ERROR Could not parse input source [org.xml.sax.InputSource@1a71e88].
      17:46:44,920 ERROR [STDERR] java.lang.NullPointerException
      17:46:44,921 ERROR [STDERR] at java.util.Hashtable.put(Hashtable.java:396)
      17:46:44,921 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:141)
      17:46:44,921 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
      17:46:44,922 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
      17:46:44,927 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
      17:46:44,927 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
      17:46:44,927 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
      17:46:44,927 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
      17:46:44,927 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
      17:46:44,927 ERROR [STDERR] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
      17:46:44,928 ERROR [STDERR] at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
      17:46:44,928 ERROR [STDERR] at org.apache.log4j.Logger.getLogger(Logger.java:85)
      17:46:44,928 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      17:46:44,928 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      17:46:44,928 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:44,928 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:44,928 ERROR [STDERR] at org.apache.commons.logging.impl.Log4jProxy.<init>(Log4jProxy.java:132)
      17:46:44,928 ERROR [STDERR] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:39)
      17:46:44,928 ERROR [STDERR] at sun.reflect.GeneratedConstructorAccessor14.newInstance(Unknown Source)
      17:46:44,929 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      17:46:44,929 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      17:46:44,929 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
      17:46:44,929 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
      17:46:44,929 ERROR [STDERR] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:372)
      17:46:44,929 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
      17:46:44,929 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4090)
      17:46:44,929 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      17:46:44,930 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      17:46:44,930 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      17:46:44,930 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      17:46:44,930 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      17:46:44,930 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:44,930 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:44,930 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      17:46:44,930 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      17:46:44,931 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      17:46:44,931 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
      17:46:44,931 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      17:46:44,931 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      17:46:44,931 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:44,931 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:44,931 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      17:46:44,931 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      17:46:44,932 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      17:46:44,932 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
      17:46:44,932 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
      17:46:44,932 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
      17:46:44,932 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
      17:46:44,932 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
      17:46:44,932 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      17:46:44,932 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      17:46:44,933 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      17:46:44,933 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:44,933 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:44,933 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      17:46:44,933 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      17:46:44,933 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      17:46:44,933 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      17:46:44,933 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      17:46:44,934 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      17:46:44,934 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      17:46:44,934 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      17:46:44,934 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      17:46:44,934 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:44,934 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:44,934 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      17:46:44,934 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      17:46:44,934 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      17:46:44,935 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      17:46:44,935 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      17:46:44,935 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      17:46:44,935 ERROR [STDERR] at $Proxy92.start(Unknown Source)
      17:46:44,935 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
      17:46:44,956 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      17:46:44,956 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      17:46:44,956 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:44,956 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:44,956 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      17:46:44,956 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      17:46:44,956 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      17:46:44,956 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      17:46:44,957 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      17:46:44,957 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
      17:46:44,957 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
      17:46:45,030 ERROR [STDERR] at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
      17:46:45,031 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
      17:46:45,031 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
      17:46:45,031 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      17:46:45,031 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      17:46:45,031 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      17:46:45,031 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      17:46:45,031 ERROR [STDERR] at $Proxy93.start(Unknown Source)
      17:46:45,031 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
      17:46:45,032 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
      17:46:45,032 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
      17:46:45,032 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
      17:46:45,032 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      17:46:45,032 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      17:46:45,032 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      17:46:45,032 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      17:46:45,032 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      17:46:45,032 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      17:46:45,033 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      17:46:45,033 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      17:46:45,033 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      17:46:45,033 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      17:46:45,033 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      17:46:45,033 ERROR [STDERR] at $Proxy8.deploy(Unknown Source)
      17:46:45,033 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      17:46:45,034 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      17:46:45,034 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      17:46:45,034 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
      17:46:45,034 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
      17:46:45,568 INFO [STDOUT] 17:46:45,567 INFO [[/Kyle]] Set web app root system property: 'kyle' = [/opt/jboss-portal/jboss-portal-2.4.1/server/default/./tmp/deploy/tmp2364Kyle-exp.war/]
      17:46:45,575 INFO [STDOUT] 17:46:45,575 INFO [[/Kyle]] Initializing Log4J from [/opt/jboss-portal/jboss-portal-2.4.1/server/default/./tmp/deploy/tmp2364Kyle-exp.war/WEB-INF/classes/log4j.properties]
      17:46:45,659 INFO [STDOUT] Loading Spring root WebApplicationContext
      17:47:12,505 INFO [STDOUT] Attempting to load [13] core plugins
      17:47:14,187 INFO [STDOUT] Grails plug-in [i18n] with version [0.4.2] loaded successfully
      17:47:14,264 INFO [STDOUT] Grails plug-in [quartz] with version [0.4.2] loaded successfully
      17:47:14,476 INFO [STDOUT] Grails plug-in [core] with version [0.4.2] loaded successfully
      17:47:14,546 INFO [STDOUT] Grails plug-in [domainClass] with version [0.4.2] loaded successfully
      17:47:15,699 INFO [STDOUT] Grails plug-in [controllers] with version [0.4.2] loaded successfully
      17:47:15,699 INFO [STDOUT] Attempting to load [0] user defined plugins
      17:47:15,700 INFO [STDOUT] Grails plug-in [dataSource] with version [0.4.2] loaded successfully
      17:47:15,700 INFO [STDOUT] Grails plug-in [codecs] with version [0.4.2] loaded successfully
      17:47:15,700 INFO [STDOUT] Grails plug-in [hibernate] with version [0.4.2] loaded successfully
      17:47:15,700 INFO [STDOUT] Grails plug-in [services] with version [0.4.2] loaded successfully
      17:47:15,701 INFO [STDOUT] Grails plug-in [scaffolding] with version [0.4.2] loaded successfully
      17:47:19,834 INFO [STDOUT] [RuntimeConfiguration] Configuring for environment: Production
      17:47:23,215 INFO [STDOUT] Building new Hibernate SessionFactory
      17:47:25,557 INFO [STDOUT] Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
      17:47:25,562 INFO [STDOUT] 66 beans defined in application context [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext;hashCode=18353341]
      17:47:25,891 INFO [STDOUT] Using MessageSource [org.springframework.context.support.ReloadableResourceBundleMessageSource: basenames=[WEB-INF/grails-app/i18n/messages]]
      17:47:25,892 INFO [STDOUT] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@1b3d473]
      17:47:30,983 INFO [STDOUT] [GrailsContextLoader] Grails application loaded.
      17:47:31,505 INFO [STDOUT] Initializing filter 'grailsWebRequest'
      17:47:31,518 INFO [STDOUT] Filter 'grailsWebRequest' configured successfully
      17:47:31,581 INFO [STDOUT] Initializing servlet 'grails'
      17:47:32,342 INFO [STDOUT] FrameworkServlet 'grails': initialization started
      17:47:32,343 INFO [STDOUT] Loading WebApplicationContext for Spring FrameworkServlet 'grails'
      17:47:32,481 INFO [STDOUT] Using context class [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext] for servlet 'grails'
      17:47:32,482 INFO [STDOUT] Using MultipartResolver [org.springframework.web.multipart.commons.CommonsMultipartResolver@19232f]
      17:47:32,482 INFO [STDOUT] Using LocaleResolver [org.springframework.web.servlet.i18n.CookieLocaleResolver@5514f9]
      17:47:32,551 INFO [STDOUT] Unable to locate ThemeResolver with name 'themeResolver': using default [org.springframework.web.servlet.theme.FixedThemeResolver@4a19e2]
      17:47:32,606 INFO [STDOUT] No HandlerAdapters found in servlet 'grails': using default
      17:47:32,621 INFO [STDOUT] Unable to locate RequestToViewNameTranslator with name 'viewNameTranslator': using default [org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@1b23bb1]
      17:47:32,624 INFO [STDOUT] FrameworkServlet 'grails': initialization completed in 282 ms
      17:47:32,624 INFO [STDOUT] Servlet 'grails' configured successfully
      17:47:32,694 INFO [DelegatingFilterProxy] Initializing filter 'charEncodingFilter'
      17:47:32,699 INFO [DelegatingFilterProxy] Filter 'charEncodingFilter' configured successfully
      17:47:32,700 INFO [GrailsWebRequestFilter] Initializing filter 'grailsWebRequest'
      17:47:32,700 INFO [GrailsWebRequestFilter] Filter 'grailsWebRequest' configured successfully
      17:47:33,202 ERROR [AbstractKernelController] Error installing to Start: name=portal:container=Portlet,id=/Kyle.KylePortlet state=Create
      org.jboss.portal.portlet.container.PortletInitializationException: The portlet KylePortlet threw an error during init
       at org.jboss.portal.portlet.container.PortletContainer.start(PortletContainer.java:289)
       at org.jboss.portal.portlet.container.PortletContainerAdapter.start(PortletContainerAdapter.java:72)
       at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.joinpoint.plugins.reflect.ReflectMethodJoinPoint.dispatch(ReflectMethodJoinPoint.java:72)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:92)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:452)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:147)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
       at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:74)
       at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:225)
       at org.jboss.portal.core.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:77)
       at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo$DeploymentContext.start(PortalDeploymentInfo.java:214)
       at org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:243)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
       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:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy115.deploy(Unknown Source)
       at org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(ServerDeployer.java:297)
       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:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy88.deploy(Unknown Source)
       at org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter.java:54)
       at org.jboss.portal.server.deployment.WebAppIntercepter.handleNotification(WebAppIntercepter.java:134)
       at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
       at $Proxy117.handleNotification(Unknown Source)
       at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
       at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
       at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:340)
       at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:308)
       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:482)
       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:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
       at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
       at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
       at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
       at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy93.start(Unknown Source)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
       at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
      Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
       at java.lang.ClassLoader.defineClass1(Native Method)
       at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
       at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
       at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
       at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
       at org.jboss.portal.portlet.container.PortletContainer.start(PortletContainer.java:245)
       ... 101 more
      17:47:33,255 WARN [PortletAppDeployment] Failed to create instance KylePortletInstance of portlet /Kyle.KylePortlet because portlet /Kyle.KylePortlet is not available
      
      


      Regards,
      Yesudeep.


        • 1. Re: Portlet + Grails = Not Working.
          Thomas Heute Master

          While it has nothing to do with your stacktrace, are you sure that Grails support a portlet environement ?

          From this:
          http://jira.codehaus.org/browse/GRAILS-254

          I would that it doesn't

          • 2. Re: Portlet + Grails = Not Working.
            Yesudeep Mangalapilly Newbie

            Hmm, I see. However, I am still trying to hack through and see whether I can get it to work. If it doesn't, this will become a big headache because I will have to rewrite the application...

            • 3. Re: Portlet + Grails = Not Working.
              Thomas Heute Master

              Well what class did you put as a portlet-class in portlet.xml ? It has to bridge your Grails app to a portlet.

              BTW: It looks like you are embedding a JBoss log jar in your webapp, you should remove it from your war

              • 4. Re: Portlet + Grails = Not Working.
                Yesudeep Mangalapilly Newbie

                The class you wanted to know about is com.arionsystems.kyle.KylePortlet

                Here's the portlet.xml file:

                <?xml version="1.0" encoding="UTF-8"?>
                <portlet-app
                 xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
                 version="1.0">
                 <portlet>
                 <portlet-name>KylePortlet</portlet-name>
                 <portlet-class>
                 com.arionsystems.kyle.KylePortlet
                 </portlet-class>
                 <supports>
                 <mime-type>text/html</mime-type>
                 <portlet-mode>VIEW</portlet-mode>
                 </supports>
                 <portlet-info>
                 <title>Kyle</title>
                 </portlet-info>
                 </portlet>
                </portlet-app>
                


                The only libraries that I added to the build path are:
                portlet-api-lib.jar
                portal-common-lib.jar
                explode.jar

                The remaining libraries in the application come with grails.
                Here's a complete list.

                <?xml version="1.0" encoding="UTF-8"?>
                <classpath>
                 <classpathentry kind="src" path="src/java"/>
                 <classpathentry kind="src" path="src/groovy"/>
                 <classpathentry kind="src" path="grails-app/conf"/>
                 <classpathentry kind="src" path="grails-app/controllers"/>
                 <classpathentry kind="src" path="grails-app/domain"/>
                 <classpathentry kind="src" path="grails-app/services"/>
                 <classpathentry kind="src" path="grails-app/taglib"/>
                 <classpathentry kind="src" path="grails-tests"/>
                 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
                 <classpathentry kind="var" path="GRAILS_HOME/ant/lib/ant.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/ant-nodeps.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/ant.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/antlr-2.7.6.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/bsf-2.3.0.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/cglib-nodep-2.1_3.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/commons-beanutils-1.7.0.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/commons-cli-1.0.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/commons-collections-3.2.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/commons-dbcp-1.2.1.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/commons-el-1.0.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/commons-fileupload-1.1.1.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/commons-io-1.2.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/commons-lang-2.1.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/commons-logging-1.1.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/commons-pool-1.2.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/commons-validator-1.3.0.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/dom4j-1.6.1.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/ehcache-1.2.4.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/ejb3-persistence.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/gant-0.2.2-SNAPSHOT.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/groovy-all-1.0.1-SNAPSHOT.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/groovy-starter.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/hibernate-annotations.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/hibernate3.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/hsqldb-1.8.0.5.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/jasper-compiler.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/jasper-runtime.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/jaxen-1.1-beta-11.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/jdbc2_0-stdext.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/jsp-api-2.0.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/jstl-2.3.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/jstl-2.4.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/jta.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/junit-3.8.1.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/log4j-1.2.8.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/ognl-2.7.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/org.mortbay.jetty.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/oro-2.0.8.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/quartz-1.5.2.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/servletapi-2.4.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/sitemesh-2.3.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/spring-2.0.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/spring-binding.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/spring-mock.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/spring-webflow.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/springmodules-sandbox.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/standard-2.3.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/standard-2.4.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/xerces-2.6.2.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/lib/xml-apis.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/dist/grails-core-0.4.2.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/dist/grails-crud-0.4.2.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/dist/grails-gorm-0.4.2.jar"/>
                 <classpathentry kind="var" path="GRAILS_HOME/dist/grails-web-0.4.2.jar"/>
                 <classpathentry kind="lib" path="/opt/lomboz/workspace/Kyle/lib/explode.jar"/>
                 <classpathentry kind="lib" path="/opt/lomboz/workspace/Kyle/lib/portal-common-lib.jar"/>
                 <classpathentry kind="lib" path="/opt/lomboz/workspace/Kyle/lib/portlet-api-lib.jar"/>
                 <classpathentry kind="output" path="web-app/WEB-INF/classes"/>
                </classpath>
                


                Regards,
                Yesudeep.


                • 5. Re: Portlet + Grails = Not Working.
                  Yesudeep Mangalapilly Newbie

                  Here's a list of all the library files with all the XML decoration removed
                  (created from the WEB-INF/lib directory listing:

                  ant.jar
                  antlr-2.7.6.jar
                  cglib-nodep-2.1_3.jar
                  commons-beanutils-1.7.0.jar
                  commons-cli-1.0.jar
                  commons-collections-3.2.jar
                  commons-dbcp-1.2.1.jar
                  commons-fileupload-1.1.1.jar
                  commons-io-1.2.jar
                  commons-lang-2.1.jar
                  commons-logging-1.1.jar
                  commons-pool-1.2.jar
                  commons-validator-1.3.0.jar
                  dom4j-1.6.1.jar
                  ehcache-1.2.4.jar
                  ejb3-persistence.jar
                  explode.jar
                  groovy-all-1.0.1-SNAPSHOT.jar
                  hibernate3.jar
                  hibernate-annotations.jar
                  hsqldb-1.8.0.5.jar
                  jdbc2_0-stdext.jar
                  jstl-2.4.jar
                  jta.jar
                  junit-3.8.1.jar
                  log4j-1.2.8.jar
                  mysql-connector-java-5.0.4-bin.jar
                  ognl-2.7.jar
                  oro-2.0.8.jar
                  portal-common-lib.jar
                  portlet-api-lib.jar
                  quartz-1.5.2.jar
                  sitemesh-2.3.jar
                  spring-2.0.jar
                  spring-binding.jar
                  spring-mock.jar
                  springmodules-sandbox.jar
                  spring-webflow.jar
                  standard-2.4.jar
                  


                  Regards,
                  Yesudeep.

                  • 6. Re: Portlet + Grails = Not Working.
                    Thomas Heute Master

                    Try to remove log4j.jar it's already in server/default/deploy/lib.

                    Did you try to run your webapp in JBoss AS without Portal first ?

                    • 7. Re: Portlet + Grails = Not Working.
                      Yesudeep Mangalapilly Newbie

                      Right. I've followed the instructions given here to attempt to resolve
                      that conflict:

                      http://grails.codehaus.org/FAQ

                      The application works very well by itself on JBoss AS 4.0.5.GA.

                      Regards,
                      Yesudeep.
                      [/url]

                      • 8. Re: Portlet + Grails = Not Working.
                        Yesudeep Mangalapilly Newbie

                        Ok. Now with the log4j issue resolved, here's the new logger output:

                        yesudeep@athena:/opt/jboss-portal/jboss-portal-2.4.1$ ./run5.sh
                        =========================================================================
                        
                         JBoss Bootstrap Environment
                        
                         JBOSS_HOME: .
                        
                         JAVA: /opt/jdk1.5.0_11/bin/java
                        
                         JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh
                        
                         CLASSPATH: ./bin/run.jar:/opt/jdk1.5.0_11/lib/tools.jar
                        
                        =========================================================================
                        
                        21:10:36,470 INFO [Server] Starting JBoss (MX MicroKernel)...
                        21:10:36,472 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
                        21:10:36,475 INFO [Server] Home Dir: /opt/jboss-portal/jboss-portal-2.4.1
                        21:10:36,475 INFO [Server] Home URL: file:/opt/jboss-portal/jboss-portal-2.4.1/
                        21:10:36,477 INFO [Server] Patch URL: null
                        21:10:36,477 INFO [Server] Server Name: default
                        21:10:36,484 INFO [Server] Server Home Dir: /opt/jboss-portal/jboss-portal-2.4.1/server/default
                        21:10:36,484 INFO [Server] Server Home URL: file:/opt/jboss-portal/jboss-portal-2.4.1/server/default/
                        21:10:36,484 INFO [Server] Server Log Dir: /opt/jboss-portal/jboss-portal-2.4.1/server/default/log
                        21:10:36,485 INFO [Server] Server Temp Dir: /opt/jboss-portal/jboss-portal-2.4.1/server/default/tmp
                        21:10:36,486 INFO [Server] Root Deployment Filename: jboss-service.xml
                        21:10:37,155 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
                        21:10:37,155 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_11-b03,Sun Microsystems Inc.
                        21:10:37,156 INFO [ServerInfo] OS-System: Linux 2.6.17-11-generic,i386
                        ...
                        21:13:01,822 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 2m:25s:332ms
                        21:13:12,594 INFO [TomcatDeployer] deploy, ctxPath=/Kyle, warUrl=.../tmp/deploy/tmp21002Kyle-exp.war/
                        21:13:44,229 INFO [STDOUT] Attempting to load [13] core plugins
                        21:13:46,116 INFO [STDOUT] Grails plug-in [i18n] with version [0.4.2] loaded successfully
                        21:13:46,195 INFO [STDOUT] Grails plug-in [quartz] with version [0.4.2] loaded successfully
                        21:13:46,428 INFO [STDOUT] Grails plug-in [core] with version [0.4.2] loaded successfully
                        21:13:46,506 INFO [STDOUT] Grails plug-in [domainClass] with version [0.4.2] loaded successfully
                        21:13:48,858 INFO [STDOUT] Grails plug-in [controllers] with version [0.4.2] loaded successfully
                        21:13:48,859 INFO [STDOUT] Attempting to load [0] user defined plugins
                        21:13:48,859 INFO [STDOUT] Grails plug-in [dataSource] with version [0.4.2] loaded successfully
                        21:13:48,860 INFO [STDOUT] Grails plug-in [codecs] with version [0.4.2] loaded successfully
                        21:13:48,860 INFO [STDOUT] Grails plug-in [hibernate] with version [0.4.2] loaded successfully
                        21:13:48,860 INFO [STDOUT] Grails plug-in [services] with version [0.4.2] loaded successfully
                        21:13:48,860 INFO [STDOUT] Grails plug-in [scaffolding] with version [0.4.2] loaded successfully
                        21:13:53,313 INFO [STDOUT] [RuntimeConfiguration] Configuring for environment: Production
                        21:13:56,667 INFO [STDOUT] Building new Hibernate SessionFactory
                        21:14:01,751 INFO [STDOUT] Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
                        21:14:01,760 INFO [STDOUT] 66 beans defined in application context [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext;hashCode=1379117]
                        21:14:01,858 INFO [STDOUT] Using MessageSource [org.springframework.context.support.ReloadableResourceBundleMessageSource: basenames=[WEB-INF/grails-app/i18n/messages]]
                        21:14:01,859 INFO [STDOUT] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@16c6746]
                        21:14:08,236 INFO [STDOUT] [GrailsContextLoader] Grails application loaded.
                        21:14:08,576 INFO [STDOUT] Initializing filter 'grailsWebRequest'
                        21:14:08,657 INFO [STDOUT] Filter 'grailsWebRequest' configured successfully
                        21:14:08,729 INFO [STDOUT] Initializing servlet 'grails'
                        21:14:08,804 INFO [STDOUT] FrameworkServlet 'grails': initialization started
                        21:14:09,027 INFO [STDOUT] Using context class [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext] for servlet 'grails'
                        21:14:09,031 INFO [STDOUT] Using MultipartResolver [org.springframework.web.multipart.commons.CommonsMultipartResolver@1fa6e43]
                        21:14:09,031 INFO [STDOUT] Using LocaleResolver [org.springframework.web.servlet.i18n.CookieLocaleResolver@5d21ef]
                        21:14:09,053 INFO [STDOUT] Unable to locate ThemeResolver with name 'themeResolver': using default [org.springframework.web.servlet.theme.FixedThemeResolver@194c37c]
                        21:14:09,154 INFO [STDOUT] No HandlerAdapters found in servlet 'grails': using default
                        21:14:09,172 INFO [STDOUT] Unable to locate RequestToViewNameTranslator with name 'viewNameTranslator': using default [org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@31613]
                        21:14:09,175 INFO [STDOUT] FrameworkServlet 'grails': initialization completed in 371 ms
                        21:14:09,240 INFO [STDOUT] Servlet 'grails' configured successfully
                        21:14:09,314 INFO [DelegatingFilterProxy] Initializing filter 'charEncodingFilter'
                        21:14:09,317 INFO [DelegatingFilterProxy] Filter 'charEncodingFilter' configured successfully
                        21:14:09,318 INFO [GrailsWebRequestFilter] Initializing filter 'grailsWebRequest'
                        21:14:09,318 INFO [GrailsWebRequestFilter] Filter 'grailsWebRequest' configured successfully
                        21:14:09,469 ERROR [AbstractKernelController] Error installing to Start: name=portal:container=Portlet,id=/Kyle.KylePortlet state=Create
                        org.jboss.portal.portlet.container.PortletInitializationException: The portlet KylePortlet threw a runtime exception during init
                         at org.jboss.portal.portlet.container.PortletContainer.start(PortletContainer.java:285)
                         at org.jboss.portal.portlet.container.PortletContainerAdapter.start(PortletContainerAdapter.java:72)
                         at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
                         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                         at java.lang.reflect.Method.invoke(Method.java:585)
                         at org.jboss.joinpoint.plugins.reflect.ReflectMethodJoinPoint.dispatch(ReflectMethodJoinPoint.java:72)
                         at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:92)
                         at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:452)
                         at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:147)
                         at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
                         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
                         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
                         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
                         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
                         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
                         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
                         at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:74)
                         at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:225)
                         at org.jboss.portal.core.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:77)
                         at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo$DeploymentContext.start(PortalDeploymentInfo.java:214)
                         at org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:243)
                         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
                         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
                         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:585)
                         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                         at $Proxy115.deploy(Unknown Source)
                         at org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(ServerDeployer.java:297)
                         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:585)
                         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                         at $Proxy88.deploy(Unknown Source)
                         at org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter.java:54)
                         at org.jboss.portal.server.deployment.WebAppIntercepter.handleNotification(WebAppIntercepter.java:134)
                         at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                         at java.lang.reflect.Method.invoke(Method.java:585)
                         at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
                         at $Proxy117.handleNotification(Unknown Source)
                         at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
                         at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
                         at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:340)
                         at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:308)
                         at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:482)
                         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:585)
                         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                         at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                         at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                         at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
                         at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
                         at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
                         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                         at $Proxy93.start(Unknown Source)
                         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
                         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
                         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                         at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
                         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                         at java.lang.reflect.Method.invoke(Method.java:585)
                         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                         at $Proxy8.deploy(Unknown Source)
                         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
                         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
                        Caused by: java.lang.ClassCastException: com.arionsystems.kyle.KylePortlet
                         at org.jboss.portal.portlet.container.PortletContainer.start(PortletContainer.java:247)
                         ... 101 more
                        21:14:09,548 WARN [PortletAppDeployment] Failed to create instance KylePortletInstance of portlet /Kyle.KylePortlet because portlet /Kyle.KylePortlet is not available
                        
                        


                        Regards,
                        Yesudeep.

                        • 9. Re: Portlet + Grails = Not Working.
                          Thomas Heute Master

                          does com.arionsystems.kyle.KylePortlet implements javax.portlet.Portlet ?

                          • 10. Re: Portlet + Grails = Not Working.
                            Yesudeep Mangalapilly Newbie

                            It extends javax.portlet.GenericPortlet which implements javax.portlet.Portlet.

                            Regards,
                            Yesudeep.

                            • 11. Re: Portlet + Grails = Not Working.
                              Gregory Pierce Newbie

                               

                              "yesudeep" wrote:
                              Right. I've followed the instructions given here to attempt to resolve
                              that conflict:

                              http://grails.codehaus.org/FAQ

                              The application works very well by itself on JBoss AS 4.0.5.GA.

                              Regards,
                              Yesudeep.
                              [/url]


                              I'm glad you found that useful. I've been going around a variety of open source projects and making sure they are drop in compatible with the application server. Took me a while to resolve the stuff for grails specifically. Post the code (or the at least the gist of it) to your portlet and I will take a look at it.