2 Replies Latest reply on Nov 4, 2005 1:32 PM by Andrew

    Cannot deploy noejb example on tomcat on current nightly

    Andrew Apprentice

      I am not able to get the current (from CVS) noejb example to deploy on Tomcat 5.5

      Here is the Tomcat output:

      Oct 31, 2005 8:40:42 PM org.apache.catalina.core.StandardService start
      INFO: Starting service Catalina
      Oct 31, 2005 8:40:42 PM org.apache.catalina.core.StandardEngine start
      INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
      Oct 31, 2005 8:40:42 PM org.apache.catalina.core.StandardHost start
      INFO: XML validation disabled
      log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig).
      log4j:WARN Please initialize the log4j system properly.
      Oct 31, 2005 8:40:46 PM org.apache.catalina.core.StandardContext start
      SEVERE: Error listenerStart
      Oct 31, 2005 8:40:46 PM org.apache.catalina.core.StandardContext start
      SEVERE: Context [/bethany] startup failed due to previous errors
      Oct 31, 2005 8:40:47 PM org.apache.catalina.loader.WebappClassLoader loadClass
      INFO: Illegal access: this web application instance has been stopped already. Could not load org.apache.xerces.impl.dtd.DTDGrammar. The eventual following stack trace is caused by anerror thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
      Oct 31, 2005 8:40:47 PM org.apache.commons.modeler.Registry registerComponent
      SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/host-manager,J2EEApplication=none,J2EEServer=none
      Oct 31, 2005 8:40:47 PM org.apache.catalina.startup.HostConfig deployDescriptor
      SEVERE: Error deploying configuration descriptor host-manager.xml
      java.lang.ThreadDeath
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1221)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
       at org.apache.xerces.impl.dtd.XMLDTDValidator.doctypeDecl(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentScannerImpl.scanDoctypeDecl(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
       at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
       at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:339)
       at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1031)
       at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:255)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4053)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
       at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)
       at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)
       at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
       at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
       at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
       at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
       at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
       at org.apache.catalina.core.StandardService.start(StandardService.java:450)
       at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
       at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
      20:40:51,121 INFO myfaces.config.FacesConfigurator:140 - Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
      20:40:52,265 INFO myfaces.config.FacesConfigurator:232 - Reading config jar:file:/usr/local/tomcat-apps/jakarta-tomcat-5.5.9/webapps/jboss-seam-noejb/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
      20:40:52,290 INFO myfaces.config.FacesConfigurator:386 - Reading config /WEB-INF/faces-config.xml
      20:40:52,495 ERROR myfaces.util.LocaleUtils:50 - Locale name null or empty, ignoring
      20:40:53,447 INFO myfaces.webapp.StartupServletContextListener:80 - ServletContext '/usr/local/tomcat/webapps/jboss-seam-noejb/' initialized.
      20:40:53,454 INFO javax.servlet.ServletContextListener:? - Welcome to Seam 1.0 beta 1
      20:40:53,469 INFO jboss.seam.Seam:? - initializing Seam
      20:40:53,882 INFO jboss.seam.Component:? - Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
      20:40:54,992 INFO jboss.seam.Component:? - Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
      20:40:55,129 INFO jboss.seam.Component:? - Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
      20:40:55,177 INFO jboss.seam.Component:? - Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
      20:40:55,209 INFO jboss.seam.Component:? - Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
      20:40:55,243 INFO jboss.seam.Component:? - Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
      20:40:55,270 INFO jboss.seam.Component:? - Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
      20:40:55,290 INFO jboss.seam.Component:? - Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
      20:40:55,319 INFO jboss.seam.Component:? - Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
      20:40:55,348 INFO jboss.seam.Component:? - Component: org.jboss.seam.core.microcontainer, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Microcontainer
      20:40:55,390 INFO jboss.seam.Component:? - Component: bookingDatabase, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.ManagedHibernateSession
      20:40:55,437 INFO seam.deployment.Scanner:? - scanning: /usr/local/tomcat-apps/jakarta-tomcat-5.5.9/webapps/jboss-seam-noejb/WEB-INF/lib/jboss-seam-noejb.jar
      20:40:55,525 INFO jboss.seam.Component:? - Component: changePassword, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.example.noejb.ChangePasswordAction
      20:40:55,766 INFO jboss.seam.Component:? - Component: bookingList, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.example.noejb.BookingListAction
      20:40:55,983 INFO jboss.seam.Component:? - Component: register, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.example.noejb.RegisterAction
      20:40:56,038 INFO jboss.seam.Component:? - Component: login, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.example.noejb.LoginAction
      20:40:56,055 INFO jboss.seam.Component:? - Component: user, scope: SESSION, type: ENTITY_BEAN, class: org.jboss.seam.example.noejb.User
      20:40:56,075 INFO jboss.seam.Component:? - Component: hotelBooking, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.example.noejb.HotelBookingAction
      20:40:56,214 INFO jboss.seam.Component:? - Component: hotel, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.noejb.Hotel
      20:40:56,239 INFO jboss.seam.Component:? - Component: booking, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.noejb.Booking
      20:40:56,252 INFO jboss.seam.Component:? - Component: logout, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.example.noejb.LogoutAction
      20:40:59,619 INFO seam.microcontainer.TransactionManagerFactory:? - starting JTA transaction manager
      20:41:00,494 INFO seam.microcontainer.DataSourceFactory:? - starting Datasource at JNDI name: java:/noejbDatasource
      20:41:00,512 INFO jdbc.local.LocalTxDataSource:102 - Bound datasource to JNDI name 'java:/noejbDatasource'
      20:41:00,529 ERROR plugins.dependency.AbstractKernelController:332 - Error installing to Configured: name=HibernateFactory state=Instantiated
      org.jboss.joinpoint.spi.JoinpointException: Property jndiProperties not found for AbstractBeanInfo@1d31859{name=org.jboss.seam.microcontainer.HibernateFactory classInfo= properties=[sessionFactory, class, cfgResourceName] methods=[] constructors=[] events=}
       at org.jboss.kernel.plugins.config.Configurator.resolveProperty(Configurator.java:638)
       at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoint(Configurator.java:415)
       at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoints(Configurator.java:382)
       at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getPropertySetterJoinPoints(AbstractKernelConfigurator.java:109)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$ConfigureAction.installAction(KernelControllerContextActions.java:176)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:84)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:36)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:211)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:560)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:328)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:411)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:361)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:207)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:133)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:257)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:236)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:87)
       at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:70)
       at org.jboss.kernel.plugins.bootstrap.standalone.StandaloneBootstrap.deploy(StandaloneBootstrap.java:94)
       at org.jboss.kernel.plugins.bootstrap.standalone.StandaloneBootstrap.bootstrap(StandaloneBootstrap.java:73)
       at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:87)
       at org.jboss.kernel.plugins.bootstrap.standalone.StandaloneBootstrap.main(StandaloneBootstrap.java:46)
       at org.jboss.seam.core.Microcontainer.startup(Unknown Source)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Unknown Source)
       at org.jboss.seam.util.Reflections.invokeAndWrap(Unknown Source)
       at org.jboss.seam.Component.callCreateMethod(Unknown Source)
       at org.jboss.seam.Component.newInstance(Unknown Source)
       at org.jboss.seam.Component.getInstance(Unknown Source)
       at org.jboss.seam.contexts.Lifecycle.startup(Unknown Source)
       at org.jboss.seam.contexts.Lifecycle.endInitialization(Unknown Source)
       at org.jboss.seam.init.Initialization.init(Unknown Source)
       at org.jboss.seam.servlet.SeamListener.contextInitialized(Unknown Source)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
       at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:894)
       at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:857)
       at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
       at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
       at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
       at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
       at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
       at org.apache.catalina.core.StandardService.start(StandardService.java:450)
       at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
       at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
      20:41:00,563 ERROR [Catalina].[localhost].[/jboss-seam-noejb]:3673 - Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
      java.lang.IllegalStateException: Incompletely deployed:
      
      *** DEPLOYMENTS IN ERROR:
      HibernateFactory -> org.jboss.joinpoint.spi.JoinpointException: Property jndiProperties not found for AbstractBeanInfo@1d31859{name=org.jboss.seam.microcontainer.HibernateFactory classInfo= properties=[sessionFactory, class, cfgResourceName] methods=[] constructors=[] events=}
      
      *** DEPLOYMENTS MISSING DEPENDENCIES:
      bookingSessionFactory -> HibernateFactory{Instantiated:**ERROR**}, bookingDatasource{Create:Installed}, bookingDatasource{Start:Installed}
      
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:216)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:134)
       at org.jboss.kernel.plugins.bootstrap.standalone.StandaloneBootstrap.bootstrap(StandaloneBootstrap.java:82)
       at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:87)
       at org.jboss.kernel.plugins.bootstrap.standalone.StandaloneBootstrap.main(StandaloneBootstrap.java:46)
       at org.jboss.seam.core.Microcontainer.startup(Unknown Source)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Unknown Source)
       at org.jboss.seam.util.Reflections.invokeAndWrap(Unknown Source)
       at org.jboss.seam.Component.callCreateMethod(Unknown Source)
       at org.jboss.seam.Component.newInstance(Unknown Source)
       at org.jboss.seam.Component.getInstance(Unknown Source)
       at org.jboss.seam.contexts.Lifecycle.startup(Unknown Source)
       at org.jboss.seam.contexts.Lifecycle.endInitialization(Unknown Source)
       at org.jboss.seam.init.Initialization.init(Unknown Source)
       at org.jboss.seam.servlet.SeamListener.contextInitialized(Unknown Source)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
       at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:894)
       at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:857)
       at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
       at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
       at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
       at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
       at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
       at org.apache.catalina.core.StandardService.start(StandardService.java:450)
       at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
       at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
      Oct 31, 2005 8:41:00 PM org.apache.catalina.core.StandardContext start
      SEVERE: Error listenerStart
      Oct 31, 2005 8:41:00 PM org.apache.catalina.core.StandardContext start
      SEVERE: Context [/jboss-seam-noejb] startup failed due to previous errors
      Oct 31, 2005 8:41:01 PM org.apache.coyote.http11.Http11Protocol start
      INFO: Starting Coyote HTTP/1.1 on http-8080
      Oct 31, 2005 8:41:01 PM org.apache.jk.common.ChannelSocket init
      INFO: JK: ajp13 listening on /0.0.0.0:8009
      Oct 31, 2005 8:41:01 PM org.apache.jk.server.JkMain start
      INFO: Jk running ID=0 time=1/64 config=null
      Oct 31, 2005 8:41:02 PM org.apache.catalina.storeconfig.StoreLoader load
      INFO: Find registry server-registry.xml at classpath resource
      Oct 31, 2005 8:41:02 PM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 20296 ms