1 2 Previous Next 18 Replies Latest reply on Jul 14, 2006 7:46 AM by unibrew

    Forum portlet error

    suniil

      hi all,

      i'm facing a strange problem with forum portlet (please see logs below).

      please help to move forward

      console output


      17:35:31,567 INFO [Configuration] Configured SessionFactory: null
      17:35:31,583 INFO [Configuration] processing extends queue
      17:35:31,583 INFO [Configuration] processing collection mappings
      17:35:31,583 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl
      .CategoryImpl.forums -> jbp_forums_forums
      17:35:31,583 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl
      .ForumImpl.topics -> jbp_forums_topics
      17:35:31,583 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl
      .ForumImpl.forumWatch -> jbp_forums_forumswatch
      17:35:31,583 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl
      .ForumImpl.watches -> jbp_forums_forumswatch
      17:35:31,583 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl
      .PostImpl.attachments -> jbp_forums_attachments
      17:35:31,583 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl
      .TopicImpl.posts -> jbp_forums_posts
      17:35:31,583 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl
      .TopicImpl.watches -> jbp_forums_topicswatch
      17:35:31,583 INFO [Configuration] processing association property references
      17:35:31,583 INFO [Configuration] processing foreign key constraints
      17:35:31,598 INFO [NamingHelper] JNDI InitialContext properties:{}
      17:35:31,598 INFO [DatasourceConnectionProvider] Using datasource: java:PortalD
      S
      17:35:31,614 INFO [SettingsFactory] RDBMS: MySQL, version: 4.1.18-nt
      17:35:31,614 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version:
      mysql-connector-java-3.1.12 ( $Date: 2005-11-17 15:53:48 +0100 (Thu, 17 Nov 200
      5) $, $Revision$ )
      17:35:31,614 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
      17:35:31,614 INFO [TransactionFactoryFactory] Transaction strategy: org.hiberna
      te.transaction.JTATransactionFactory
      17:35:31,614 INFO [NamingHelper] JNDI InitialContext properties:{}
      17:35:31,614 INFO [TransactionManagerLookupFactory] instantiating TransactionMa
      nagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
      17:35:31,614 INFO [TransactionManagerLookupFactory] instantiated TransactionMan
      agerLookup
      17:35:31,614 INFO [TransactionManagerLookupFactory] instantiating TransactionMa
      nagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
      17:35:31,614 INFO [TransactionManagerLookupFactory] instantiated TransactionMan
      agerLookup
      17:35:31,614 INFO [SettingsFactory] Automatic flush during beforeCompletion():
      enabled
      17:35:31,614 INFO [SettingsFactory] Automatic session close at end of transacti
      on: disabled
      17:35:31,614 INFO [SettingsFactory] JDBC batch size: 15
      17:35:31,614 INFO [SettingsFactory] JDBC batch updates for versioned data: disa
      bled
      17:35:31,614 INFO [SettingsFactory] Scrollable result sets: enabled
      17:35:31,614 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
      17:35:31,614 INFO [SettingsFactory] Connection release mode: auto
      17:35:31,614 INFO [SettingsFactory] Maximum outer join fetch depth: 2
      17:35:31,614 INFO [SettingsFactory] Default batch fetch size: 1
      17:35:31,614 INFO [SettingsFactory] Generate SQL with comments: disabled
      17:35:31,614 INFO [SettingsFactory] Order SQL updates by primary key: disabled
      17:35:31,614 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.AST
      QueryTranslatorFactory
      17:35:31,614 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
      17:35:31,614 INFO [SettingsFactory] Query language substitutions: {}
      17:35:31,614 INFO [SettingsFactory] Second-level cache: enabled
      17:35:31,614 INFO [SettingsFactory] Query cache: disabled
      17:35:31,614 INFO [SettingsFactory] Cache provider: org.hibernate.cache.EhCache
      Provider
      17:35:31,614 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
      17:35:31,614 INFO [SettingsFactory] Structured second-level cache entries: disa
      bled
      17:35:31,614 INFO [SettingsFactory] Statistics: disabled
      17:35:31,614 INFO [SettingsFactory] Deleted entity synthetic identifier rollbac
      k: disabled
      17:35:31,614 INFO [SettingsFactory] Default entity-mode: POJO
      17:35:31,630 INFO [SessionFactoryImpl] building session factory
      17:35:31,818 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no
      JNDI name configured
      17:35:31,818 INFO [NamingHelper] JNDI InitialContext properties:{}
      17:35:31,818 INFO [SessionFactoryImpl] Checking 0 named queries
      17:35:31,927 INFO [TomcatDeployer] deploy, ctxPath=/portal-forums, warUrl=.../t
      mp/deploy/tmp57154portal-forums.ear-contents/portal-forums-exp.war/
      17:35:32,021 INFO [FacesConfigurator] Reading standard config org/apache/myface
      s/resource/standard-faces-config.xml
      17:35:32,084 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.3SP
      1/server/default/tmp/deploy/tmp57093jboss-portal.sar-contents/lib/jsf-facelets.j
      ar!/META-INF/faces-config.xml
      17:35:32,084 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.3SP
      1/server/default/tmp/deploy/tmp57093jboss-portal.sar-contents/lib/tomahawk.jar!/
      META-INF/faces-config.xml
      17:35:32,147 INFO [FacesConfigurator] Reading config /WEB-INF/forums-config.xml

      17:35:32,288 INFO [StartupServletContextListener] ServletContext 'C:\jboss-4.0.
      3SP1\server\default\.\tmp\deploy\tmp57154portal-forums.ear-contents\portal-forum
      s-exp.war\' initialized.
      17:35:32,538 INFO [FacesConfigurator] Reading standard config org/apache/myface
      s/resource/standard-faces-config.xml
      17:35:32,585 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.3SP
      1/server/default/tmp/deploy/tmp57093jboss-portal.sar-contents/lib/jsf-facelets.j
      ar!/META-INF/faces-config.xml
      17:35:32,601 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.3SP
      1/server/default/tmp/deploy/tmp57093jboss-portal.sar-contents/lib/tomahawk.jar!/
      META-INF/faces-config.xml
      17:35:32,632 INFO [FacesConfigurator] Reading config /WEB-INF/forums-config.xml

      17:35:32,679 INFO [RenderKitFactoryImpl] RenderKit with renderKitId 'HTML_BASIC
      ' was replaced.
      17:35:32,679 INFO [MyFacesGenericPortlet] PortletContext 'C:\jboss-4.0.3SP1\ser
      ver\default\.\tmp\deploy\tmp57154portal-forums.ear-contents\portal-forums-exp.wa
      r\' initialized.
      17:35:32,899 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss-4.0
      .3SP1/server/default/tmp/deploy/tmp57154portal-forums.ear-contents/portal-forums
      -exp.war/WEB-INF/
      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.NullPoi
      nterException)
      at org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectD
      eployment.java:279)
      at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo$Deploym
      entContext.start(PortalDeploymentInfo.java:211)
      at org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerD
      eployer.java:244)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy107.deploy(Unknown Source)
      at org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(Server
      Deployer.java:298)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy83.deploy(Unknown Source)
      at org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter
      .java:54)
      at org.jboss.portal.server.deployment.WebAppIntercepter.handleNotificati
      on(WebAppIntercepter.java:145)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.notification.NotificationListenerProxy.invoke(Notificati
      onListenerProxy.java:138)
      at $Proxy108.handleNotification(Unknown Source)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotificat
      ion(JBossNotificationBroadcasterSupport.java:112)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotificatio
      n(JBossNotificationBroadcasterSupport.java:93)
      at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerS
      upport.java:325)
      at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java
      :293)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:41
      6)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:127)
      at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
      .java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy89.start(Unknown Source)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:979)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
      at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy9.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:319)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:192)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:265)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
      upport.java:274)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
      eanSupport.java:230)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:943)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:428)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
      at org.jboss.Main.boot(Main.java:187)
      at org.jboss.Main$1.run(Main.java:438)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NullPointerException
      at org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectD
      eployment.java:207)
      ... 125 more
      17:35:32,914 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.0.3S
      P1/server/default/deploy/portal-forums.ear
      17:35:33,071 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
      0
      17:35:33,181 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      17:35:33,196 INFO [JkMain] Jk running ID=0 time=0/47 config=null
      17:35:33,196 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBos
      s_4_0_3_SP1 date=200510231054)] Started in 33s:527ms



      Log output



      2006-04-25 17:35:32,899 DEBUG [net.sf.ehcache.Cache] org.jboss.portal.core.impl.model.portal.ObjectNode.securityConstraints: Is element with key org.jboss.portal.core.impl.model.portal.ObjectNode.securityConstraints#85 expired?: false
      2006-04-25 17:35:32,899 DEBUG [org.hibernate.cache.UpdateTimestampsCache] Invalidating space [JBP_OBJECT_NODE_SECURITY], timestamp: 4693946093154350
      2006-04-25 17:35:32,899 DEBUG [org.hibernate.cache.UpdateTimestampsCache] Invalidating space [JBP_OBJECT_NODE_SECURITY_ACTIONS], timestamp: 4693946093154351
      2006-04-25 17:35:32,899 DEBUG [org.hibernate.transaction.CacheSynchronization] automatically closing session
      2006-04-25 17:35:32,899 DEBUG [org.hibernate.impl.SessionImpl] automatically closing session
      2006-04-25 17:35:32,899 DEBUG [org.hibernate.impl.SessionImpl] closing session
      2006-04-25 17:35:32,899 DEBUG [org.hibernate.jdbc.ConnectionManager] connection already null in cleanup : no action
      2006-04-25 17:35:32,899 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp57154portal-forums.ear-contents/portal-forums-exp.war/WEB-INF/
      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.NullPointerException)
      at org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectDeployment.java:279)
      at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo$DeploymentContext.start(PortalDeploymentInfo.java:211)
      at org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:244)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
      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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy107.deploy(Unknown Source)
      at org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(ServerDeployer.java:298)
      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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy83.deploy(Unknown Source)
      at org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter.java:54)
      at org.jboss.portal.server.deployment.WebAppIntercepter.handleNotification(WebAppIntercepter.java:145)
      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:138)
      at $Proxy108.handleNotification(Unknown Source)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:93)
      at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:325)
      at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:293)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:416)
      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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy89.start(Unknown Source)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:979)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
      at sun.reflect.GeneratedMethodAccessor69.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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy9.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
      at sun.reflect.GeneratedMethodAccessor2.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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:428)
      at sun.reflect.GeneratedMethodAccessor9.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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
      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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
      at org.jboss.Main.boot(Main.java:187)
      at org.jboss.Main$1.run(Main.java:438)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NullPointerException
      at org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectDeployment.java:207)
      ... 125 more
      2006-04-25 17:35:32,899 DEBUG [org.jboss.mx.util.JBossNotificationBroadcasterSupport] Ignored unhandled throwable from listener
      java.lang.reflect.UndeclaredThrowableException
      at $Proxy108.handleNotification(Unknown Source)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:93)
      at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:325)
      at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:293)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:416)
      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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy89.start(Unknown Source)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:979)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
      at sun.reflect.GeneratedMethodAccessor69.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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy9.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
      at sun.reflect.GeneratedMethodAccessor2.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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:428)
      at sun.reflect.GeneratedMethodAccessor9.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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
      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:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
      at org.jboss.Main.boot(Main.java:187)
      at org.jboss.Main$1.run(Main.java:438)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.reflect.InvocationTargetException
      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:138)
      ... 89 more
      Caused by: java.lang.NoClassDefFoundError: org/jboss/portal/test/framework/deployment/MainDeployerFacade
      at org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter.java:58)
      at org.jboss.portal.server.deployment.WebAppIntercepter.handleNotification(WebAppIntercepter.java:145)
      ... 93 more
      2006-04-25 17:35:32,899 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: portal-forums.war
      2006-04-25 17:35:32,914 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EARDeployment,url='portal-forums.ear'
      2006-04-25 17:35:32,914 DEBUG [org.jboss.deployment.EARDeployment] Starting jboss.j2ee:service=EARDeployment,url='portal-forums.ear'
      2006-04-25 17:35:32,914 DEBUG [org.jboss.deployment.EARDeployment] Started jboss.j2ee:service=EARDeployment,url='portal-forums.ear'
      2006-04-25 17:35:32,914 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EARDeployment,url='portal-forums.ear' dependent components: []
      2006-04-25 17:35:32,914 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/C:/jboss-4.0.3SP1/server/default/deploy/portal-forums.ear
      2006-04-25 17:35:32,914 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: portal-forums.ear
      2006-04-25 17:35:32,914 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-4.0.3SP1/server/default/deploy/portal-forums.ear
      2006-04-25 17:35:32,914 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.0.3SP1/server/default/deploy/portal-forums.ear -> file:/C:/jboss-4.0.3SP1/server/default/deploy/portal-forums.ear
      2006-04-25 17:35:32,914 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified that enabled: true
      2006-04-25 17:35:32,914 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
      2006-04-25 17:35:32,914 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.deployment:type=DeploymentScanner,flavor=URL dependent components: []
      2006-04-25 17:35:33,040 DEBUG [org.hibernate.jdbc.ConnectionManager] running Session.finalize()
      2006-04-25 17:35:33,040 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: jboss-service.xml
      2006-04-25 17:35:33,040 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-4.0.3SP1/server/default/conf/jboss-service.xml
      2006-04-25 17:35:33,055 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Saw org.jboss.system.server.started notification, starting connectors
      2006-04-25 17:35:33,071 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      2006-04-25 17:35:33,181 INFO [org.apache.jk.common.ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      2006-04-25 17:35:33,196 INFO [org.apache.jk.server.JkMain] Jk running ID=0 time=0/47 config=null
      2006-04-25 17:35:33,196 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 33s:527ms
      2006-04-25 17:36:29,770 DEBUG [org.hibernate.jdbc.ConnectionManager] running Session.finalize()


        • 1. Re: Forum portlet error
          unibrew

          Hi

          From the log I see you are using Mysql 4.1 and JBossAS 4.0.3 SP1 but which JBPortal and JBForums versions do you deploy?

          Cheers
          ---------------------------
          Ryszard Kozmik
          JBoss Forums Lead

          • 2. Re: Forum portlet error
            suniil

            Thanks for the reply

            JBP ->2.4
            JBPF ->not sure (it was bundled with JBP 2.4)

            many thanks in advance
            cheers
            sunil

            "unibrew" wrote:
            Hi

            From the log I see you are using Mysql 4.1 and JBossAS 4.0.3 SP1 but which JBPortal and JBForums versions do you deploy?

            Cheers
            ---------------------------
            Ryszard Kozmik
            JBoss Forums Lead


            • 3. Re: Forum portlet error
              suniil

              more specifically i've checked out the source from CVS via eclipse

              • 4. Re: Forum portlet error
                suniil

                i'm struggling to find the root cause for last 2 days.

                any help much appreciated

                • 5. Re: Forum portlet error
                  unibrew

                  I'm working on 2.4 branch to get it working after latest changes. You know this branch is still under development and you are using it on your own responsibility, it might be unstable.

                  ----------------------------
                  Ryszard Kozmik
                  JBoss Forums Lead

                  • 6. Re: Forum portlet error
                    suniil

                    Thanks for updating. can you please give a nudge here to let us know once it is ready.

                    "unibrew" wrote:
                    I'm working on 2.4 branch to get it working after latest changes. You know this branch is still under development and you are using it on your own responsibility, it might be unstable.

                    ----------------------------
                    Ryszard Kozmik
                    JBoss Forums Lead


                    • 7. Re: Forum portlet error
                      rutfield

                      I still get this with 2.4 Alpha 2 (after refactoring for identity and other User related changes).... any idea if it will be addressed for the Beta?

                      Thanks.
                      CR

                      • 8. Re: Forum portlet error
                        unibrew

                        Hello

                        Could you tell me what version of Forums and from where downloaded you are trying to deploy? Did you try using CVS repository sources?

                        ----------------------------
                        Ryszard Kozmik
                        JBoss Forums Lead

                        • 9. Re: Forum portlet error
                          rutfield

                          Thanks for the reply.

                          I had been using forum code from 2.2.1 with the Alpha release of 2.4.

                          Instead, per your suggestion, I took the latest from head.
                          The portal builds and deploys fine; however, building the forums gives
                          the errors below. I can take care of the test ones, but am not sure where the MyFaces issues are from.


                          generate-classes:
                          _default:compile-classes:
                          [mkdir] Created dir: C:\eclipse\workspace\jbp-2.4\forums\output\classes
                          [mkdir] Created dir: C:\eclipse\workspace\jbp-2.4\forums\output\gen\classes
                          [javac] Compiling 120 source files to C:\eclipse\workspace\jbp-2.4\forums\output\classes
                          [javac] C:\eclipse\workspace\jbp-2.4\forums\src\main\org\jboss\portlet\forums\ui\ForumsJSFPortlet.java:24: package org.apache.myfaces.portlet does not exist
                          [javac] import org.apache.myfaces.portlet.MyFacesGenericPortlet;
                          [javac] ^
                          [javac] C:\eclipse\workspace\jbp-2.4\forums\src\main\org\jboss\portlet\forums\ui\ForumsJSFPortlet.java:37: cannot find symbol
                          [javac] symbol: class MyFacesGenericPortlet
                          [javac] public class ForumsJSFPortlet extends MyFacesGenericPortlet
                          [javac] ^
                          [javac] C:\eclipse\workspace\jbp-2.4\forums\src\main\org\jboss\portlet\test\forums\AdminTestCase.java:18: package org.jboss.portal.test.core does not exist
                          [javac] import org.jboss.portal.test.core.Utils;
                          [javac] ^
                          [javac] C:\eclipse\workspace\jbp-2.4\forums\src\main\org\jboss\portlet\test\forums\UserTestCase.java:18: package org.jboss.portal.test.core does not exist
                          [javac] import org.jboss.portal.test.core.Utils;
                          [javac] ^
                          [javac] C:\eclipse\workspace\jbp-2.4\forums\src\main\org\jboss\portlet\forums\ui\ForumsJSFPortlet.java:45: cannot find symbol
                          [javac] symbol : variable super
                          [javac] location: class org.jboss.portlet.forums.ui.ForumsJSFPortlet
                          [javac] super.processAction(request,response);
                          [javac] ^
                          [javac] C:\eclipse\workspace\jbp-2.4\forums\src\main\org\jboss\portlet\test\forums\AdminTestCase.java:44: cannot find symbol
                          [javac] symbol : variable Utils
                          [javac] location: class org.jboss.portlet.test.forums.AdminTestCase
                          [javac] IDatabaseConnection connection = Utils.getConnection();
                          [javac] ^
                          [javac] C:\eclipse\workspace\jbp-2.4\forums\src\main\org\jboss\portlet\test\forums\AdminTestCase.java:47: cannot find symbol
                          [javac] symbol : variable Utils
                          [javac] location: class org.jboss.portlet.test.forums.AdminTestCase
                          [javac] IDataSet dataSet = Utils.getDataSet("resources/test/forums.xml");
                          [javac] ^
                          [javac] C:\eclipse\workspace\jbp-2.4\forums\src\main\org\jboss\portlet\test\forums\AdminTestCase.java:51: cannot find symbol
                          [javac] symbol : variable Utils
                          [javac] location: class org.jboss.portlet.test.forums.AdminTestCase
                          [javac] Utils.resetAutoIncrement();
                          [javac] ^
                          [javac] C:\eclipse\workspace\jbp-2.4\forums\src\main\org\jboss\portlet\test\forums\UserTestCase.java:40: cannot find symbol
                          [javac] symbol : variable Utils
                          [javac] location: class org.jboss.portlet.test.forums.UserTestCase
                          [javac] IDatabaseConnection connection = Utils.getConnection();
                          [javac] ^
                          [javac] C:\eclipse\workspace\jbp-2.4\forums\src\main\org\jboss\portlet\test\forums\UserTestCase.java:43: cannot find symbol
                          [javac] symbol : variable Utils
                          [javac] location: class org.jboss.portlet.test.forums.UserTestCase
                          [javac] IDataSet dataSet = Utils.getDataSet("resources/test/forums.xml");
                          [javac] ^
                          [javac] C:\eclipse\workspace\jbp-2.4\forums\src\main\org\jboss\portlet\test\forums\UserTestCase.java:47: cannot find symbol
                          [javac] symbol : variable Utils
                          [javac] location: class org.jboss.portlet.test.forums.UserTestCase
                          [javac] Utils.resetAutoIncrement();
                          [javac] ^
                          [javac] 11 errors

                          • 10. Re: Forum portlet error
                            suniil

                            i've got one version of forum from CVS working with JBP 2.2.1

                            • 11. Re: Forum portlet error
                              unibrew

                               

                              "rutfield" wrote:
                              Instead, per your suggestion, I took the latest from head.
                              The portal builds and deploys fine; however, building the forums gives
                              the errors below. I can take care of the test ones, but am not sure where the MyFaces issues are from.


                              Now it should build without any errors and should work properly.

                              Cheers
                              ----------------------------
                              Ryszard Kozmik
                              JBoss Forums Lead

                              • 12. Re: Forum portlet error
                                rutfield

                                I have almost completed migrating my portlets from 2.4 Beta1 to 2.4 CR1.

                                The three portlets with issues all originated from the forum source code base.

                                I took the latest forum from the head of jboss-portal-2.4, since the CR1 code does not include the forums.
                                It appears as though this has not been used much, since there were some typos in the build file (e.g. confugure hibernate doclet, missing quote on configure-explode).

                                When I use my previous build file or the one from cvs, I am told JBossActionRequest and JBossActionResponse are not defined, even though they are present in the org.jboss.portlet in the core module and output classes.

                                1. How do I get the forum to build using the 2.4CR1 code base?
                                I have tried multiple approaches without success, and I am missing something. What has changed?

                                2. Are there plans to upgrade the forum module to coincide with the 2.4?

                                Any guidance/suggestions would be appreciated.

                                Thank you.
                                CR


                                _default:compile-classes:
                                [javac] Compiling 105 source files to C:\eclipse\workspace\jboss-portal-2.4\forums\output\classes
                                [javac] C:\eclipse\workspace\jboss-portal-2.4\forums\src\main\org\jboss\portlet\forums\Context.java:14: cannot find symbol
                                [javac] symbol : class JBossActionRequest
                                [javac] location: package org.jboss.portlet
                                [javac] import org.jboss.portlet.JBossActionRequest;
                                [javac] ^
                                [javac] C:\eclipse\workspace\jboss-portal-2.4\forums\src\main\org\jboss\portlet\forums\Context.java:15: cannot find symbol
                                [javac] symbol : class JBossActionResponse
                                [javac] location: package org.jboss.portlet
                                [javac] import org.jboss.portlet.JBossActionResponse;
                                [javac] ^
                                [javac] C:\eclipse\workspace\jboss-portal-2.4\forums\src\main\org\jboss\portlet\forums\ForumsModule.java:19: package org.jboss.portlet.command does not exist

                                • 13. Re: Forum portlet error
                                  unibrew

                                  Hi

                                  Thanks for noticing me about this build problem. I'll work it out.

                                  ---------------------------
                                  Ryszard Kozmik
                                  JBoss Forums Lead
                                  JBoss Labs Team

                                  • 14. Re: Forum portlet error
                                    unibrew

                                    Done :-)

                                    ---------------------------
                                    Ryszard Kozmik
                                    JBoss Forums Lead
                                    JBoss Labs Team

                                    1 2 Previous Next