TeamCity 5 EAP bld 10380 war doesn't deploy

I am trying to deploy TC EAP bld 10380 into the Glassfish v2.1 (Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs)) application server running under JDK 1.6.0_U16. I followed the directions here [1] to set the -D properties to pass into the app server, restarted the app server, then used the administration console to deploy the TC war file. However, the war does not deploy. The server logs which contain stdout/stderr etc do not contain any specific TC error messages. The only error message generated during the deployment process is:

[#|2009-09-17T13:58:53.140-0400|WARNING|sun-appserver2.1|org.apache.coyote.tomcat5.CoyoteRequest|_ThreadID=16;_ThreadName=httpWorkerThread-4848-0;_RequestID=89522516-9270-4bcb-a7a2-03679ed3173c;|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

Does TC 5 support Glassfish? I'd love to use TC but I don't want to install a Tomcat instance just for it. Thanks,

-Noah

[1] http://www.jetbrains.net/confluence/display/TCD5/Installing+and+Configuring+the+TeamCity+Server
     See "Installing TeamCity into Existing J2EE Container"

3 comments
Comment actions Permalink

I switched to deploying via the Autodeploy folder instead of the administration console UI and now I am seeing the errors in the server.log file for Glassfish. It appears that the TeamCity servlet can't find org.apache.AnnotationProcessor. Here's the log entries during deployment:

[#|2009-09-17T14:58:48.671-0400|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Timer-7;|[AutoDeploy] Selecting file C:\Sun\SDK\domains\domain1\autodeploy\TeamCity-10380.war for autodeployment.|#]

[#|2009-09-17T14:59:09.812-0400|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Timer-7;|deployed with moduleid = TeamCity-10380|#]

[#|2009-09-17T14:59:14.109-0400|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=Timer-7;|PWC1412: WebModule[/TeamCity-10380] ServletContext.log():Initializing Spring root WebApplicationContext|#]

[#|2009-09-17T14:59:20.562-0400|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=Timer-7;|TeamCity data directory: C:/Documents and Settings/Default User/.BuildServer|#]

[#|2009-09-17T14:59:20.640-0400|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=Timer-7;|

Database settings are not specified via C:\Documents and Settings\Default User\.BuildServer\config\database.properties.
Using internal database.|#]


[#|2009-09-17T14:59:39.734-0400|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=Timer-7;_RequestID=7bb15eff-9820-4f57-8984-f42aaa5b65fa;|WebModule[/TeamCity-10380]StandardWrapper.Throwable

java.lang.NoClassDefFoundError: org/apache/AnnotationProcessor
    at jetbrains.spring.web.TeamCityDispatcherServlet.init(TeamCityDispatcherServlet.java:14)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1023)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4917)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:5324)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:353)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:989)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:973)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1627)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1232)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)

    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)

    at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)

    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:280)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:298)

    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:584)

    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:381)

    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)

    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)

    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)

    at sun.reflect.GeneratedMethodAccessor14.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:90)

    at $Proxy1.invoke(Unknown Source)

    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)

    at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:583)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:564)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:495)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:270)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)

    at java.util.TimerThread.mainLoop(Timer.java:512)

    at java.util.TimerThread.run(Timer.java:462)

Caused by: java.lang.ClassNotFoundException: org.apache.AnnotationProcessor

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1576)

    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

    ... 49 more

|#]



[#|2009-09-17T14:59:39.734-0400|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=Timer-7;_RequestID=7bb15eff-9820-4f57-8984-f42aaa5b65fa;|WebModule[/TeamCity-10380]PWC1396: Servlet /TeamCity-10380 threw load() exception

java.lang.NoClassDefFoundError: org/apache/AnnotationProcessor

    at jetbrains.spring.web.TeamCityDispatcherServlet.init(TeamCityDispatcherServlet.java:14)

    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194)

    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1023)

    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4917)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:5324)

    at com.sun.enterprise.web.WebModule.start(WebModule.java:353)

    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:989)

    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:973)

    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1627)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1232)

    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)

    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)

    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)

    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)

    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)

    at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)

    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:280)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:298)

    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:584)

    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:381)

    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)

    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)

    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)

    at sun.reflect.GeneratedMethodAccessor14.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:90)

    at $Proxy1.invoke(Unknown Source)

    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)

    at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:583)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:564)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:495)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:270)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)

    at java.util.TimerThread.mainLoop(Timer.java:512)

    at java.util.TimerThread.run(Timer.java:462)

Caused by: java.lang.ClassNotFoundException: org.apache.AnnotationProcessor

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1576)

    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

    ... 49 more

|#]



[#|2009-09-17T14:59:39.734-0400|SEVERE|sun-appserver2.1|org.apache.catalina.core.ContainerBase|_ThreadID=15;_ThreadName=Timer-7;_RequestID=7bb15eff-9820-4f57-8984-f42aaa5b65fa;|ContainerBase.addChild: start:

LifecycleException:  java.lang.NoClassDefFoundError: org/apache/AnnotationProcessor

    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4927)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:5324)

    at com.sun.enterprise.web.WebModule.start(WebModule.java:353)

    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:989)

    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:973)

    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1627)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1232)

    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)

    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)

    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)

    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)

    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)

    at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)

    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:280)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:298)

    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:584)

    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:381)

    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)

    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)

    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)

    at sun.reflect.GeneratedMethodAccessor14.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:90)

    at $Proxy1.invoke(Unknown Source)

    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)

    at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:583)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:564)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:495)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:270)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)

    at java.util.TimerThread.mainLoop(Timer.java:512)

    at java.util.TimerThread.run(Timer.java:462)

|#]



[#|2009-09-17T14:59:39.859-0400|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=Timer-7;_RequestID=7bb15eff-9820-4f57-8984-f42aaa5b65fa;|WEB0123: WebModule [TeamCity-10380] failed to deploy and has been disabled

java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException:  java.lang.NoClassDefFoundError: org/apache/AnnotationProcessor

    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:992)

    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:973)

    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1627)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1232)

    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)

    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)

    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)

    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)

    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)

    at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)

    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:280)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:298)

    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:584)

    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:381)

    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)

    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)

    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)

    at sun.reflect.GeneratedMethodAccessor14.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:90)

    at $Proxy1.invoke(Unknown Source)

    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)

    at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:583)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:564)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:495)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:270)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)

    at java.util.TimerThread.mainLoop(Timer.java:512)

    at java.util.TimerThread.run(Timer.java:462)

|#]



[#|2009-09-17T14:59:39.859-0400|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=15;_ThreadName=Timer-7;_RequestID=7bb15eff-9820-4f57-8984-f42aaa5b65fa;|com.sun.enterprise.admin.event.AdminEventListenerException: ContainerBase.addChild: start: LifecycleException:  java.lang.NoClassDefFoundError: org/apache/AnnotationProcessor

    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:188)

    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)

    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)

    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)

    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)

    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)

    at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)

    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:280)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:298)

    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:584)

    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:381)

    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)

    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)

    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)

    at sun.reflect.GeneratedMethodAccessor14.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:90)

    at $Proxy1.invoke(Unknown Source)

    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)

    at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:583)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:564)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:495)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:270)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)

    at java.util.TimerThread.mainLoop(Timer.java:512)

    at java.util.TimerThread.run(Timer.java:462)

Caused by: java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException:  java.lang.NoClassDefFoundError: org/apache/AnnotationProcessor
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:992)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:973)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1627)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1232)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
    ... 37 more
|#]



[#|2009-09-17T14:59:39.875-0400|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=15;_ThreadName=Timer-7;ContainerBase.addChild: start: LifecycleException:  java.lang.NoClassDefFoundError: org/apache/AnnotationProcessor;_RequestID=7bb15eff-9820-4f57-8984-f42aaa5b65fa;|ADM5603:Event listener error [ContainerBase.addChild: start: LifecycleException:  java.lang.NoClassDefFoundError: org/apache/AnnotationProcessor]|#]



[#|2009-09-17T14:59:39.875-0400|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=15;_ThreadName=Timer-7;ContainerBase.addChild: start: LifecycleException:  java.lang.NoClassDefFoundError: org/apache/AnnotationProcessor;_RequestID=7bb15eff-9820-4f57-8984-f42aaa5b65fa;|ADM1075:Error on listening event:[ContainerBase.addChild: start: LifecycleException:  java.lang.NoClassDefFoundError: org/apache/AnnotationProcessor]|#]



[#|2009-09-17T14:59:39.890-0400|WARNING|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Timer-7;_RequestID=7bb15eff-9820-4f57-8984-f42aaa5b65fa;|Warning while deploying : com.sun.enterprise.deployment.backend.IASDeploymentException: ContainerBase.addChild: start: LifecycleException:  java.lang.NoClassDefFoundError: org/apache/AnnotationProcessor

.|#]



[#|2009-09-17T14:59:39.890-0400|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Timer-7;|[AutoDeploy] Autodeployed : C:\Sun\SDK\domains\domain1\autodeploy\TeamCity-10380.war with at least one warning. Please check the server.log file and make sure the autodeployment completed as expected.|#]

0
Comment actions Permalink

Could you please an empty java class with name 'org.apache.AnnotationProcessor'. Please put compiled class into TeamCity's WEB-INF/classes folder.

I've created an issue in our tracker at http://www.jetbrains.net/tracker/issue/TW-9529, please watch/vote/have a look on it.

Thanks!

0
Comment actions Permalink

Thanks for the info and entering the ticket! Compiling the stub class and packaging as described got me going. 5 EAP is looking great so far. Just having one issue with 'patches' failing. I'll post a seperate thread on that.

-Noah

0

Please sign in to leave a comment.