0 Replies Latest reply on Feb 14, 2006 1:17 AM by susitha

    Portlet design in JBoss Portal

    susitha

      I am new to portlets. I am doing a project on portlets.

      O/S : Windows XP
      Jboss-release : jboss-4.0.3
      Jboss-Portal : jboss-porlal-2.2

      After I deployed the portal I am getting the follwing error when the server is Shutting down.

      ortal-forums.ear/portal-forums.war/WEB-INF/portlet.xml
      org.jboss.deployment.DeploymentException: This web app does not exist here; - nested throwable: (jav
      a.lang.IllegalArgumentException: This web app does not exist here)
       at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.destroy(PortletAppDeployme
      nt.java:171)
       at org.jboss.portal.server.deployment.jboss.ServerDeployer.destroy(ServerDeployer.java:242)
       at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:675)
       at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:614)
       at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
       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:324)
       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(ModelMBeanOperationInterce
      ptor.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.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:988)
       at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
       at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
      Caused by: java.lang.IllegalArgumentException: This web app does not exist here
       at org.jboss.portal.server.impl.app.JBossWebAppRegistryImpl.unregisterWebApp(JBossWebAppRegi
      stryImpl.java:87)
       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:324)
       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(ModelMBeanOperationInterce
      ptor.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 $Proxy71.unregisterWebApp(Unknown Source)
       at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.destroy(PortletAppDeployme
      nt.java:166)
       ... 19 more
      11:47:10,630 INFO [TomcatDeployer] undeploy, ctxPath=/portal-forums, warUrl=.../deploy/portal-forum
      s.ear/portal-forums.war/
      11:47:10,680 INFO [SessionFactoryImpl] closing
      11:47:10,730 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/C:/jboss-4.0.3/se
      rver/myconfig/deploy/portal-forums.ear/
      11:47:10,750 INFO [TomcatDeployer] undeploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.wa
      r/
      11:47:10,870 ERROR [MainDeployer] Undeployment failed: file:/C:/jboss-4.0.3/server/myconfig/deploy/j
      boss-portal.sar/portal-samples.war/WEB-INF/portlet.xml
      org.jboss.deployment.DeploymentException: This web app does not exist here; - nested throwable: (jav
      a.lang.IllegalArgumentException: This web app does not exist here)
       at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.destroy(PortletAppDeployme
      nt.java:171)
       at org.jboss.portal.server.deployment.jboss.ServerDeployer.destroy(ServerDeployer.java:242)
       at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:675)
       at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:614)
       at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
       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:324)
       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(ModelMBeanOperationInterce
      ptor.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.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:988)
       at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
       at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
      Caused by: java.lang.IllegalArgumentException: This web app does not exist here
       at org.jboss.portal.server.impl.app.JBossWebAppRegistryImpl.unregisterWebApp(JBossWebAppRegi
      stryImpl.java:87)
       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:324)
       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(ModelMBeanOperationInterce
      ptor.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 $Proxy71.unregisterWebApp(Unknown Source)
       at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.destroy(PortletAppDeployme
      nt.java:166)
       ... 19 more
      11:47:11,141 INFO [ThemeDeployment] destroying theme(s), found in : portal
      11:47:11,151 INFO [ThemeDeployment] done destroying theme(s), found in : portal
      11:47:11,171 INFO [LayoutDeployment] destroying layout(s), found in : portal
      11:47:11,171 INFO [LayoutDeployment] done destroying layout(s), found in : portal
      11:47:11,211 ERROR [MainDeployer] Undeployment failed: file:/C:/jboss-4.0.3/server/myconfig/deploy/j
      boss-portal.sar/portal-core.war/WEB-INF/portlet.xml
      org.jboss.deployment.DeploymentException: This web app does not exist here; - nested throwable: (jav
      a.lang.IllegalArgumentException: This web app does not exist here)
       at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.destroy(PortletAppDeployme
      nt.java:171)
       at org.jboss.portal.server.deployment.jboss.ServerDeployer.destroy(ServerDeployer.java:242)
       at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:675)
       at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:614)
       at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
       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:324)
       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(ModelMBeanOperationInterce
      ptor.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.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:988)
       at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
       at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
      Caused by: java.lang.IllegalArgumentException: This web app does not exist here
       at org.jboss.portal.server.impl.app.JBossWebAppRegistryImpl.unregisterWebApp(JBossWebAppRegi
      stryImpl.java:87)
       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:324)
       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(ModelMBeanOperationInterce
      ptor.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 $Proxy71.unregisterWebApp(Unknown Source)
       at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.destroy(PortletAppDeployme
      nt.java:166)
       ... 19 more
      11:47:11,431 INFO [ThemeDeployment] destroying theme(s), found in : portal
      11:47:11,431 INFO [ThemeDeployment] done destroying theme(s), found in : portal
      11:47:11,441 INFO [LayoutDeployment] destroying layout(s), found in : portal
      11:47:11,441 INFO [LayoutDeployment] done destroying layout(s), found in : portal
      11:47:11,461 INFO [LayoutDeployment] destroying layout(s), found in : /portal
      11:47:11,461 INFO [LayoutDeployment] done destroying layout(s), found in : /portal
      11:47:11,471 INFO [LayoutDeployment] destroying layout(s), found in : /portal
      11:47:11,481 INFO [LayoutDeployment] done destroying layout(s), found in : /portal
      11:47:11,491 INFO [STDOUT] java.lang.IllegalStateException: repository instance has been shut down
      11:47:11,501 INFO [STDOUT] at org.apache.jackrabbit.core.RepositoryImpl.sanityCheck(RepositoryI
      mpl.java:437)
      11:47:11,501 INFO [STDOUT] at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.ja
      va:895)
      11:47:11,511 INFO [STDOUT] at org.apache.jackrabbit.core.jndi.BindableRepository.login(Bindable
      Repository.java:140)
      11:47:11,521 INFO [STDOUT] at org.jboss.portal.cms.util.RepositoryUtil.login(RepositoryUtil.jav
      a:117)
      11:47:11,531 INFO [STDOUT] at org.jboss.portal.cms.impl.jcr.JCRCMS.stopService(JCRCMS.java:508)
      
      11:47:11,541 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBe
      anSupport.java:300)
      11:47:11,551 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.jav
      a:191)
      11:47:11,561 INFO [STDOUT] at org.jboss.portal.common.system.AbstractJBossService.stop(Abstract
      JBossService.java:81)
      11:47:11,571 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11:47:11,571 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI
      mpl.java:39)
      11:47:11,581 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA
      ccessorImpl.java:25)
      11:47:11,591 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      11:47:11,591 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDisp
      atcher.java:141)
      11:47:11,601 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      11:47:11,611 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInter
      ceptor.java:118)
      11:47:11,611 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      11:47:11,622 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(Mo
      delMBeanOperationInterceptor.java:127)
      11:47:11,632 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      11:47:11,632 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvo
      ker.java:245)
      11:47:11,642 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:6
      44)
      11:47:11,652 INFO [STDOUT] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceCon
      troller.java:960)
      11:47:11,662 INFO [STDOUT] at $Proxy0.stop(Unknown Source)
      11:47:11,662 INFO [STDOUT] at org.jboss.system.ServiceController.stop(ServiceController.java:51
      9)
      11:47:11,672 INFO [STDOUT] at org.jboss.system.ServiceController.stop(ServiceController.java:51
      0)
      11:47:11,682 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11:47:11,682 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI
      mpl.java:39)
      11:47:11,692 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA
      ccessorImpl.java:25)
      11:47:11,702 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      11:47:11,702 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDisp
      atcher.java:141)
      11:47:11,712 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      11:47:11,722 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      11:47:11,722 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvo
      ker.java:245)
      11:47:11,732 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:6
      44)
      11:47:11,742 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      11:47:11,742 INFO [STDOUT] at $Proxy4.stop(Unknown Source)
      11:47:11,752 INFO [STDOUT] at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:319)
      11:47:11,752 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11:47:11,762 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI
      mpl.java:39)
      11:47:11,762 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA
      ccessorImpl.java:25)
      11:47:11,772 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      11:47:11,782 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDisp
      atcher.java:141)
      11:47:11,792 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      11:47:11,792 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInter
      ceptor.java:118)
      11:47:11,802 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      11:47:11,802 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(Mo
      delMBeanOperationInterceptor.java:127)
      11:47:11,812 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      11:47:11,822 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvo
      ker.java:245)
      11:47:11,832 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:6
      44)
      11:47:11,832 INFO [STDOUT] at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandle
      r.java:273)
      11:47:11,842 INFO [STDOUT] at $Proxy94.stop(Unknown Source)
      11:47:11,852 INFO [STDOUT] at org.jboss.deployment.XSLSubDeployer.stop(XSLSubDeployer.java:190)
      
      11:47:11,862 INFO [STDOUT] at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:640)
      11:47:11,862 INFO [STDOUT] at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:613)
      
      11:47:11,872 INFO [STDOUT] at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
      
      11:47:11,882 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11:47:11,882 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI
      mpl.java:39)
      11:47:11,892 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA
      ccessorImpl.java:25)
      11:47:11,902 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      11:47:11,902 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDisp
      atcher.java:141)
      11:47:11,912 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      11:47:11,922 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInter
      ceptor.java:118)
      11:47:11,922 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      11:47:11,932 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(Mo
      delMBeanOperationInterceptor.java:127)
      11:47:11,942 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      11:47:11,942 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvo
      ker.java:245)
      11:47:11,952 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:6
      44)
      11:47:11,962 INFO [STDOUT] at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeploymen
      ts(ServerImpl.java:988)
      11:47:11,972 INFO [STDOUT] at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerIm
      pl.java:963)
      11:47:11,982 INFO [STDOUT] at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.ja
      va:941)
      11:47:11,982 INFO [STDOUT] java.lang.NullPointerException
      11:47:11,992 INFO [STDOUT] at org.jboss.portal.cms.impl.jcr.JCRCMS.stopService(JCRCMS.java:509)
      
      11:47:12,002 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBe
      anSupport.java:300)
      11:47:12,012 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.jav
      a:191)
      11:47:12,012 INFO [STDOUT] at org.jboss.portal.common.system.AbstractJBossService.stop(Abstract
      JBossService.java:81)
      11:47:12,022 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11:47:12,032 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI
      mpl.java:39)
      11:47:12,042 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA
      ccessorImpl.java:25)
      11:47:12,042 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      11:47:12,052 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDisp
      atcher.java:141)
      11:47:12,062 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      11:47:12,062 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInter
      ceptor.java:118)
      11:47:12,072 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      11:47:12,072 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(Mo
      delMBeanOperationInterceptor.java:127)
      11:47:12,082 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      11:47:12,092 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvo
      ker.java:245)
      11:47:12,102 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:6
      44)
      11:47:12,112 INFO [STDOUT] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceCon
      troller.java:960)
      11:47:12,122 INFO [STDOUT] at $Proxy0.stop(Unknown Source)
      11:47:12,122 INFO [STDOUT] at org.jboss.system.ServiceController.stop(ServiceController.java:51
      9)
      11:47:12,132 INFO [STDOUT] at org.jboss.system.ServiceController.stop(ServiceController.java:51
      0)
      11:47:12,142 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11:47:12,142 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI
      mpl.java:39)
      11:47:12,152 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA
      ccessorImpl.java:25)
      11:47:12,162 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      11:47:12,162 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDisp
      atcher.java:141)
      11:47:12,172 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      11:47:12,182 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      11:47:12,182 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvo
      ker.java:245)
      11:47:12,192 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:6
      44)
      11:47:12,202 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      11:47:12,202 INFO [STDOUT] at $Proxy4.stop(Unknown Source)
      11:47:12,212 INFO [STDOUT] at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:319)
      11:47:12,212 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11:47:12,212 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI
      mpl.java:39)
      11:47:12,222 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA
      ccessorImpl.java:25)
      11:47:12,232 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      11:47:12,242 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDisp
      atcher.java:141)
      11:47:12,242 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      11:47:12,252 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInter
      ceptor.java:118)
      11:47:12,262 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      11:47:12,262 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(Mo
      delMBeanOperationInterceptor.java:127)
      11:47:12,272 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      11:47:12,272 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvo
      ker.java:245)
      11:47:12,282 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:6
      44)
      11:47:12,292 INFO [STDOUT] at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandle
      r.java:273)
      11:47:12,302 INFO [STDOUT] at $Proxy94.stop(Unknown Source)
      11:47:12,302 INFO [STDOUT] at org.jboss.deployment.XSLSubDeployer.stop(XSLSubDeployer.java:190)
      
      11:47:12,312 INFO [STDOUT] at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:640)
      11:47:12,322 INFO [STDOUT] at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:613)
      
      11:47:12,322 INFO [STDOUT] at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
      
      11:47:12,333 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11:47:12,343 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI
      mpl.java:39)
      11:47:12,353 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA
      ccessorImpl.java:25)
      11:47:12,353 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      11:47:12,363 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDisp
      atcher.java:141)
      11:47:12,373 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      11:47:12,373 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInter
      ceptor.java:118)
      11:47:12,383 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      11:47:12,383 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(Mo
      delMBeanOperationInterceptor.java:127)
      11:47:12,393 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      11:47:12,403 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvo
      ker.java:245)
      11:47:12,413 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:6
      44)
      11:47:12,413 INFO [STDOUT] at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeploymen
      ts(ServerImpl.java:988)
      11:47:12,423 INFO [STDOUT] at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerIm
      pl.java:963)
      11:47:12,433 INFO [STDOUT] at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.ja
      va:941)
      11:47:12,443 ERROR [JCRCMS] Failed to unregister repository. Some locks may persist!
      java.lang.NullPointerException
       at org.jboss.portal.cms.impl.jcr.JCRCMS.stopService(JCRCMS.java:509)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:300)
       at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:191)
       at org.jboss.portal.common.system.AbstractJBossService.stop(AbstractJBossService.java:81)
       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:324)
       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(ModelMBeanOperationInterce
      ptor.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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:960)
       at $Proxy0.stop(Unknown Source)
       at org.jboss.system.ServiceController.stop(ServiceController.java:519)
       at org.jboss.system.ServiceController.stop(ServiceController.java:510)
       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:324)
       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.stop(Unknown Source)
       at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:319)
       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:324)
       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(ModelMBeanOperationInterce
      ptor.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.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
       at $Proxy94.stop(Unknown Source)
       at org.jboss.deployment.XSLSubDeployer.stop(XSLSubDeployer.java:190)
       at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:640)
       at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:613)
       at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
       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:324)
       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(ModelMBeanOperationInterce
      ptor.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.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:988)
       at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
       at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
      11:47:14,936 WARN [ServerDeployer] A setup URL is not known by the main deployer file:/C:/jboss-4.0
      .3/server/myconfig/deploy/jboss-portal.sar/conf/data/default-object.xml
      11:47:15,016 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,026 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,056 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,066 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,086 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,096 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,106 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,116 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,126 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,136 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,156 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,166 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,187 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,197 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,207 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,217 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,227 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,237 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,247 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,257 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,277 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,287 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,297 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,307 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,317 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,327 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
      11:47:15,888 INFO [SessionFactoryImpl] closing
      11:47:15,908 INFO [SessionFactoryImpl] closing
      11:47:15,978 INFO [SessionFactoryImpl] closing
      11:47:16,008 INFO [SessionFactoryImpl] closing
      11:47:16,038 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:name=Porta
      lDS,service=DataSourceBinding' from JNDI name 'java:PortalDS'
      11:47:16,108 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:name=JmsXA
      ,service=ConnectionFactoryBinding' from JNDI name 'java:JmsXA'
      11:47:16,158 INFO [testTopic] Unbinding JNDI name: topic/testTopic
      11:47:16,158 INFO [securedTopic] Unbinding JNDI name: topic/securedTopic
      11:47:16,168 INFO [testDurableTopic] Unbinding JNDI name: topic/testDurableTopic
      11:47:16,168 INFO [testQueue] Unbinding JNDI name: queue/testQueue
      11:47:16,198 INFO [A] Unbinding JNDI name: queue/A
      11:47:16,208 INFO [B] Unbinding JNDI name: queue/B
      11:47:16,208 INFO [C] Unbinding JNDI name: queue/C
      11:47:16,218 INFO [D] Unbinding JNDI name: queue/D
      11:47:16,218 INFO [ex] Unbinding JNDI name: queue/ex
      11:47:16,238 INFO [DLQ] Unbinding JNDI name: queue/DLQ
      11:47:16,258 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:name=Defau
      ltDS,service=DataSourceBinding' from JNDI name 'java:DefaultDS'
      11:47:21,696 INFO [HypersonicDatabase] Database standalone closed clean
      11:47:21,916 INFO [MailService] Mail service 'java:/Mail' removed from JNDI
      11:47:21,956 INFO [TomcatDeployer] undeploy, ctxPath=/web-console, warUrl=.../deploy/management/con
      sole-mgr.sar/web-console.war/
      11:47:22,457 INFO [TomcatDeployer] undeploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq
      -httpil.sar/jbossmq-httpil.war/
      11:47:22,527 INFO [TomcatDeployer] undeploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROO
      T.war/
      11:47:22,607 INFO [Http11Protocol] Pausing Coyote HTTP/1.1 on http-0.0.0.0-8080
      11:47:23,628 INFO [StandardService] Stopping service jboss.web
      11:47:23,719 INFO [Http11Protocol] Stopping Coyote HTTP/1.1 on http-0.0.0.0-8080
      


      1. Can any one know what is the reason for that?

      2. Can some one suggest a good Tutorial for portlet devoloping for Jboss- Portal and complete steps about how to deploy it.