glassfish
  1. glassfish
  2. GLASSFISH-19530

javax/servlet/jsp/JspFactory javax/el/BeanELResolver are required for deployment for glassfish-jes

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0_b70
    • Fix Version/s: None
    • Component/s: deployment
    • Labels:
      None

      Description

      Removing jsp/el from glassfish-jes to reduce its size results in these exceptions

      [glassfish-embedded-deploy] Jan 14, 2013 5:44:06 PM com.sun.enterprise.v3.server.ApplicationLifecycle deploy
      [glassfish-embedded-deploy] SEVERE: Exception during lifecycle processing
      [glassfish-embedded-deploy] MultiException stack 1 of 1
      [glassfish-embedded-deploy] java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory
      [glassfish-embedded-deploy] at java.lang.Class.getDeclaredConstructors0(Native Method)
      [glassfish-embedded-deploy] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404)
      [glassfish-embedded-deploy] at java.lang.Class.getDeclaredConstructors(Class.java:1853)
      [glassfish-embedded-deploy] at org.jvnet.hk2.internal.Utilities.getAllConstructorKeys(Utilities.java:957)
      [glassfish-embedded-deploy] at org.jvnet.hk2.internal.Utilities.getAllConstructors(Utilities.java:943)
      [glassfish-embedded-deploy] at org.jvnet.hk2.internal.Utilities.findProducerConstructor(Utilities.java:862)
      [glassfish-embedded-deploy] at org.jvnet.hk2.internal.ClazzCreator.<init>(ClazzCreator.java:93)
      [glassfish-embedded-deploy] at org.jvnet.hk2.internal.SystemDescriptor.reify(SystemDescriptor.java:574)
      [glassfish-embedded-deploy] at org.jvnet.hk2.internal.ServiceLocatorImpl.reifyDescriptor(ServiceLocatorImpl.java:361)
      [glassfish-embedded-deploy] at org.jvnet.hk2.internal.ServiceLocatorImpl.narrow(ServiceLocatorImpl.java:1562)
      [glassfish-embedded-deploy] at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetDescriptor(ServiceLocatorImpl.java:779)
      [glassfish-embedded-deploy] at org.jvnet.hk2.internal.ServiceLocatorImpl.getServiceHandle(ServiceLocatorImpl.java:1025)
      [glassfish-embedded-deploy] at org.jvnet.hk2.internal.ServiceLocatorImpl.getServiceHandle(ServiceLocatorImpl.java:1014)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ContainerStarter.startContainer(ContainerStarter.java:112)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainer(ApplicationLifecycle.java:994)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:699)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:374)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
      [glassfish-embedded-deploy] at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:490)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:561)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:557)
      [glassfish-embedded-deploy] at java.security.AccessController.doPrivileged(Native Method)
      [glassfish-embedded-deploy] at javax.security.auth.Subject.doAs(Subject.java:356)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:556)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:580)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1455)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1400(CommandRunnerImpl.java:108)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1782)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1712)
      [glassfish-embedded-deploy] at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:129)
      [glassfish-embedded-deploy] at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:105)
      [glassfish-embedded-deploy] at org.glassfish.ant.embedded.tasks.Util.deploy(Util.java:114)
      [glassfish-embedded-deploy] at org.glassfish.ant.embedded.tasks.DeployTask.execute(DeployTask.java:130)
      [glassfish-embedded-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      [glassfish-embedded-deploy] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [glassfish-embedded-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [glassfish-embedded-deploy] at java.lang.reflect.Method.invoke(Method.java:601)
      [glassfish-embedded-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
      [glassfish-embedded-deploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
      [glassfish-embedded-deploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
      [glassfish-embedded-deploy] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
      [glassfish-embedded-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      [glassfish-embedded-deploy] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [glassfish-embedded-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [glassfish-embedded-deploy] at java.lang.reflect.Method.invoke(Method.java:601)
      [glassfish-embedded-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
      [glassfish-embedded-deploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
      [glassfish-embedded-deploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
      [glassfish-embedded-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      [glassfish-embedded-deploy] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [glassfish-embedded-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [glassfish-embedded-deploy] at java.lang.reflect.Method.invoke(Method.java:601)
      [glassfish-embedded-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
      [glassfish-embedded-deploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Main.runBuild(Main.java:698)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Main.startAnt(Main.java:199)
      [glassfish-embedded-deploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
      [glassfish-embedded-deploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
      [glassfish-embedded-deploy] Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.JspFactory
      [glassfish-embedded-deploy] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      [glassfish-embedded-deploy] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      [glassfish-embedded-deploy] at java.security.AccessController.doPrivileged(Native Method)
      [glassfish-embedded-deploy] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      [glassfish-embedded-deploy] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
      [glassfish-embedded-deploy] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      [glassfish-embedded-deploy] ... 74 more
      [glassfish-embedded-deploy]
      [glassfish-embedded-deploy] Jan 14, 2013 5:44:06 PM org.glassfish.deployment.admin.DeployCommand execute
      [glassfish-embedded-deploy] SEVERE: javax/el/BeanELResolver
      [glassfish-embedded-deploy] java.lang.ClassNotFoundException: javax.el.BeanELResolver
      [glassfish-embedded-deploy] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      [glassfish-embedded-deploy] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      [glassfish-embedded-deploy] at java.security.AccessController.doPrivileged(Native Method)
      [glassfish-embedded-deploy] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      [glassfish-embedded-deploy] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
      [glassfish-embedded-deploy] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      [glassfish-embedded-deploy] at org.glassfish.web.loader.WebappClassLoader.purgeELBeanClasses(WebappClassLoader.java:3313)
      [glassfish-embedded-deploy] at org.glassfish.web.loader.WebappClassLoader.stop(WebappClassLoader.java:1872)
      [glassfish-embedded-deploy] at org.glassfish.web.loader.WebappClassLoader.preDestroy(WebappClassLoader.java:1854)
      [glassfish-embedded-deploy] at org.glassfish.deployment.common.DeploymentContextImpl.preDestroy(DeploymentContextImpl.java:165)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle$2.actOn(ApplicationLifecycle.java:274)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:517)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
      [glassfish-embedded-deploy] at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:490)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:561)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:557)
      [glassfish-embedded-deploy] at java.security.AccessController.doPrivileged(Native Method)
      [glassfish-embedded-deploy] at javax.security.auth.Subject.doAs(Subject.java:356)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:556)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:580)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1455)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1400(CommandRunnerImpl.java:108)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1782)
      [glassfish-embedded-deploy] at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1712)
      [glassfish-embedded-deploy] at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:129)
      [glassfish-embedded-deploy] at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:105)
      [glassfish-embedded-deploy] at org.glassfish.ant.embedded.tasks.Util.deploy(Util.java:114)
      [glassfish-embedded-deploy] at org.glassfish.ant.embedded.tasks.DeployTask.execute(DeployTask.java:130)
      [glassfish-embedded-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      [glassfish-embedded-deploy] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [glassfish-embedded-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [glassfish-embedded-deploy] at java.lang.reflect.Method.invoke(Method.java:601)
      [glassfish-embedded-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
      [glassfish-embedded-deploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
      [glassfish-embedded-deploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
      [glassfish-embedded-deploy] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
      [glassfish-embedded-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      [glassfish-embedded-deploy] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [glassfish-embedded-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [glassfish-embedded-deploy] at java.lang.reflect.Method.invoke(Method.java:601)
      [glassfish-embedded-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
      [glassfish-embedded-deploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
      [glassfish-embedded-deploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
      [glassfish-embedded-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      [glassfish-embedded-deploy] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [glassfish-embedded-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [glassfish-embedded-deploy] at java.lang.reflect.Method.invoke(Method.java:601)
      [glassfish-embedded-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
      [glassfish-embedded-deploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Main.runBuild(Main.java:698)
      [glassfish-embedded-deploy] at org.apache.tools.ant.Main.startAnt(Main.java:199)
      [glassfish-embedded-deploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
      [glassfish-embedded-deploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jwells
            Reporter:
            Amy Roh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: