Uploaded image for project: 'PUBLIC - Liferay Social Office Community Edition'
  1. PUBLIC - Liferay Social Office Community Edition
  2. SOS-339

Giving me error when I am deploying the liferay on Sun Application Server 8.2

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Application Server is Sun Application Server 8.2 , Database is Oracle 10g

      Description

      Hello,

      I am trying to deploy Liferay on sun application server with Oracle Database. But when I start deployment using ant deploy then on console I am getting following error.

      I am also send my app.server.ashwani.rawat.properties file.

      Please help me that how can I solve this problem.

      -----------------------------------------------------------------------------------------------Console Output------------------Start-----------------------------------------------------------------------------------------
      [#|2010-03-04T15:18:21.826+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|Autoundeploying application :liferay-portal|#]

      [#|2010-03-04T15:18:21.835+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- undeploy web/liferay-portal]|#]

      [#|2010-03-04T15:18:21.985+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]

      [#|2010-03-04T15:18:22.018+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- reference-removed liferay-portal]|#]

      [#|2010-03-04T15:18:22.077+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]

      [#|2010-03-04T15:18:22.116+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|Total Deployment Time: 38 msec, Total EJB Compiler Module Time: 0 msec, Portion spent EJB Compiling: 0%|#]

      [#|2010-03-04T15:18:46.773+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|[AutoDeploy] Successfully autoundeployed : liferay-portal.war.|#]

      [#|2010-03-04T15:18:46.775+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|[AutoDeploy] Autoundeploying application : liferay-portal.war.|#]

      [#|2010-03-04T15:19:16.831+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|[AutoDeploy] Selecting file C:\Sun\AppServer\domains\domain1\autodeploy\tunnel-web.war for autodeployment.|#]

      [#|2010-03-04T15:19:16.886+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- undeploy web/tunnel-web]|#]

      [#|2010-03-04T15:19:17.039+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]

      [#|2010-03-04T15:19:17.566+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|DPL5109: EJBC - START of EJBC for [tunnel-web]|#]

      [#|2010-03-04T15:19:17.569+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|Processing beans ...|#]

      [#|2010-03-04T15:19:17.571+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|DPL5110: EJBC - END of EJBC for [tunnel-web]|#]

      [#|2010-03-04T15:19:17.697+0530|WARNING|sun-appserver-pe8.2|javax.enterprise.system.core.security|_ThreadID=11;|pc.no_principals_mapped_to_role|#]

      [#|2010-03-04T15:19:17.815+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|Total Deployment Time: 967 msec, Total EJB Compiler Module Time: 6 msec, Portion spent EJB Compiling: 0%
      Breakdown of EJBC Module Time: Total Time for EJBC: 6 msec, CMP Generation: 0 msec (0%), Java Compilation: 0 msec (0%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 0 msec (0%),

      #]

      [#|2010-03-04T15:19:18.016+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|deployed with moduleid = tunnel-web|#]

      [#|2010-03-04T15:19:18.041+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- reference-added tunnel-web]|#]

      [#|2010-03-04T15:19:18.157+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]

      [#|2010-03-04T15:19:18.168+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- deploy web/tunnel-web]|#]

      [#|2010-03-04T15:19:18.210+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=11;|WEB0100: Loading web module [tunnel-web] in virtual server [server] at [/tunnel-web]|#]

      [#|2010-03-04T15:19:18.417+0530|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=11;|WebModule[/tunnel-web]Error configuring application listener of class com.liferay.portal.kernel.servlet.SpringServletContextListener
      java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:300)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:300)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at com.sun.enterprise.util.ConnectorClassLoader.loadClass(ConnectorClassLoader.java:161)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1239)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3958)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4522)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
      at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
      at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:646)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1331)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1040)
      at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
      at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:246)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
      at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
      at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
      at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
      at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
      at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
      at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:639)
      at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:185)
      at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:519)
      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:597)
      at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:305)
      at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:360)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
      at $Proxy1.invoke(Unknown Source)
      at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:504)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployModule(AutoDeployer.java:485)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:433)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:426)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:246)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:345)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)
      Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletContextListener
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      ... 77 more

      #]

      [#|2010-03-04T15:19:18.424+0530|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=11;|WebModule[/tunnel-web]Error configuring application listener of class com.liferay.portal.kernel.servlet.TunnelContextListener
      java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:300)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:300)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at com.sun.enterprise.util.ConnectorClassLoader.loadClass(ConnectorClassLoader.java:161)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1239)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3958)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4522)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
      at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
      at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:646)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1331)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1040)
      at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
      at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:246)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
      at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
      at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
      at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
      at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
      at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
      at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:639)
      at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:185)
      at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:519)
      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:597)
      at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:305)
      at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:360)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
      at $Proxy1.invoke(Unknown Source)
      at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:504)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployModule(AutoDeployer.java:485)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:433)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:426)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:246)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:345)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)
      Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletContextListener
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      ... 65 more

      #]

      [#|2010-03-04T15:19:18.427+0530|SEVERE|sun-appserver-pe8.2|org.apache.catalina.core.StandardContext|_ThreadID=11;|Skipped installing application listeners due to previous error(s)|#]

      [#|2010-03-04T15:19:18.428+0530|SEVERE|sun-appserver-pe8.2|org.apache.catalina.core.StandardContext|_ThreadID=11;|Error listenerStart|#]

      [#|2010-03-04T15:19:18.428+0530|SEVERE|sun-appserver-pe8.2|org.apache.catalina.core.StandardContext|_ThreadID=11;|Context startup failed due to previous errors|#]

      [#|2010-03-04T15:19:18.474+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]

      [#|2010-03-04T15:19:18.481+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|[AutoDeploy] Successfully autodeployed : C:\Sun\AppServer\domains\domain1\autodeploy\tunnel-web.war.|#]

      [#|2010-03-04T15:19:49.125+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|[AutoDeploy] Selecting file C:\Sun\AppServer\domains\domain1\autodeploy\liferay-portal.war for autodeployment.|#]

      [#|2010-03-04T15:19:53.986+0530|SEVERE|sun-appserver-pe8.2|org.apache.coyote.tomcat5.CoyoteAdapter|_ThreadID=14;|An exception or error occurred in the container during the request processing
      java.lang.NullPointerException
      at com.sun.enterprise.web.connector.coyote.PECoyoteRequest.setContext(PECoyoteRequest.java:52)
      at org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:294)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:167)
      at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
      at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
      at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
      at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
      at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)

      #]

      [#|2010-03-04T15:19:54.097+0530|SEVERE|sun-appserver-pe8.2|org.apache.coyote.tomcat5.CoyoteAdapter|_ThreadID=12;|An exception or error occurred in the container during the request processing
      java.lang.NullPointerException
      at com.sun.enterprise.web.connector.coyote.PECoyoteRequest.setContext(PECoyoteRequest.java:52)
      at org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:294)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:167)
      at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
      at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
      at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
      at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
      at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)

      #]

      [#|2010-03-04T15:20:31.766+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|DPL5109: EJBC - START of EJBC for [liferay-portal]|#]

      [#|2010-03-04T15:20:31.769+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|Processing beans ...|#]

      [#|2010-03-04T15:20:31.829+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|DPL5110: EJBC - END of EJBC for [liferay-portal]|#]

      [#|2010-03-04T15:20:36.413+0530|WARNING|sun-appserver-pe8.2|javax.enterprise.system.core.security|_ThreadID=11;|pc.no_principals_mapped_to_role|#]

      [#|2010-03-04T15:20:36.485+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|Total Deployment Time: 47313 msec, Total EJB Compiler Module Time: 64 msec, Portion spent EJB Compiling: 0%
      Breakdown of EJBC Module Time: Total Time for EJBC: 64 msec, CMP Generation: 0 msec (0%), Java Compilation: 0 msec (0%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 0 msec (0%),

      #]

      [#|2010-03-04T15:20:36.528+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|deployed with moduleid = liferay-portal|#]

      [#|2010-03-04T15:20:36.574+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- reference-added liferay-portal]|#]

      [#|2010-03-04T15:20:36.682+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]

      [#|2010-03-04T15:20:36.695+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- deploy web/liferay-portal]|#]

      [#|2010-03-04T15:20:36.774+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=11;|WEB0100: Loading web module [liferay-portal] in virtual server [server] at [/]|#]

      [#|2010-03-04T15:20:38.192+0530|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=11;|WebModule[]Error configuring application listener of class com.liferay.portal.kernel.servlet.PortletSessionListenerManager
      java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionListener
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:300)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:300)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at com.sun.enterprise.util.ConnectorClassLoader.loadClass(ConnectorClassLoader.java:161)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1239)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3958)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4522)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
      at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
      at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:646)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1331)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1040)
      at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
      at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:246)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
      at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
      at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
      at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
      at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
      at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
      at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:639)
      at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:185)
      at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:519)
      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:597)
      at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:305)
      at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:360)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
      at $Proxy1.invoke(Unknown Source)
      at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:504)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployModule(AutoDeployer.java:485)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:433)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:426)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:246)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:345)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)
      Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpSessionListener
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      ... 65 more

      #]

      [#|2010-03-04T15:20:38.198+0530|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=11;|WebModule[]Error configuring application listener of class com.liferay.portal.kernel.servlet.SerializableSessionAttributeListener
      java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionAttributeListener
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:300)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:300)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at com.sun.enterprise.util.ConnectorClassLoader.loadClass(ConnectorClassLoader.java:161)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1239)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3958)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4522)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
      at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
      at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:646)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1331)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1040)
      at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
      at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:246)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
      at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
      at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
      at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
      at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
      at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
      at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:639)
      at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:185)
      at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:519)
      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:597)
      at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:305)
      at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:360)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
      at $Proxy1.invoke(Unknown Source)
      at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:504)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployModule(AutoDeployer.java:485)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:433)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:426)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:246)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:345)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)
      Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpSessionAttributeListener
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      ... 65 more

      #]

      [#|2010-03-04T15:20:38.201+0530|SEVERE|sun-appserver-pe8.2|org.apache.catalina.core.StandardContext|_ThreadID=11;|Skipped installing application listeners due to previous error(s)|#]

      [#|2010-03-04T15:20:38.201+0530|SEVERE|sun-appserver-pe8.2|org.apache.catalina.core.StandardContext|_ThreadID=11;|Error listenerStart|#]

      [#|2010-03-04T15:20:38.202+0530|SEVERE|sun-appserver-pe8.2|org.apache.catalina.core.StandardContext|_ThreadID=11;|Context startup failed due to previous errors|#]

      [#|2010-03-04T15:20:38.248+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]

      [#|2010-03-04T15:20:38.255+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=11;|[AutoDeploy] Successfully autodeployed : C:\Sun\AppServer\domains\domain1\autodeploy\liferay-portal.war.|#]

      -----------------------------------------------------------------------------------------------Console Output------------------End-----------------------------------------------------------------------------------

      Thanks and Regards
      Ashwani Rawat

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 20 weeks, 6 days ago

                Packages

                Version Package