8 Replies Latest reply on Aug 10, 2007 6:55 PM by davidintx

    Problem installing Embedded Jboss on Tomcat 5.5

    Stateless Bean Novice

      Hi,
      I installed pure Tomcat 5.5.23 in default path C:\Program Files...
      now here is time to install my JBoss Embedded:
      1. First I downloaded embedded-jboss-beta2.zip
      2. Opened wiki page and like in tutorial
      a) set in to conf/server.xml

      <Listener className="org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener" />


      b) set conf/context.xml

      <Listener className="org.jboss.embedded.tomcat.WebinfScanner" />



      and coppied files from my zip file like in tutorial for Tomcat 5.5, here is full tree.

      apache-tomcat-5.5.20/
      common/classes/
      conf/
      deploy/
      deployers/
      log4j.xml
      common/lib/
      thirdparty-all.jar
      hibernate-all.jar
      jboss-embedded-all.jar
      server/lib/
      jboss-embedded-tomcat-bootstrap.jar


      and after run I get:

      ERROR 08-08 23:19:56,562 (AbstractController.java:incrementState:456) -Error installing to Start: name=ServerConfig state=Create
      java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/Apache Software Foundation/Tomcat 5.5/common/classes/
      at java.net.URI$Parser.fail(Unknown Source)
      at java.net.URI$Parser.checkChars(Unknown Source)
      at java.net.URI$Parser.parseHierarchical(Unknown Source)
      at java.net.URI$Parser.parse(Unknown Source)
      at java.net.URI.<init>(Unknown Source)
      at java.net.URL.toURI(Unknown Source)
      at org.jboss.embedded.adapters.ServerConfig.initializeByFile(ServerConfig.java:93)
      at org.jboss.embedded.adapters.ServerConfig.start(ServerConfig.java:63)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
      at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
      at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
      at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
      at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:84)
      at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:161)
      at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
      at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
      at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.innerStart(EmbeddedJBossBootstrapListener.java:76)
      at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.lifecycleEvent(EmbeddedJBossBootstrapListener.java:55)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:693)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Unable to bootstrap:
      at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.innerStart(EmbeddedJBossBootstrapListener.java:82)
      at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.lifecycleEvent(EmbeddedJBossBootstrapListener.java:55)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:693)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      ... 6 more
      Caused by: java.lang.RuntimeException: Unable to bootstrap:
      at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:167)
      at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
      at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
      at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.innerStart(EmbeddedJBossBootstrapListener.java:76)
      ... 10 more
      Caused by: org.jboss.kernel.spi.registry.KernelRegistryEntryNotFoundException: Entry not found with name: MainDeployer
      at org.jboss.kernel.plugins.registry.AbstractKernelRegistry.getEntry(AbstractKernelRegistry.java:89)
      at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:163)
      ... 13 more



      Can anyone tell me what to do, or how correctly install my Embedded JBoss? Maybe I do somethink wrong or not enougth?

        • 1. Re: Problem installing Embedded Jboss on Tomcat 5.5
          Pete Muir Master

          I think you need a path without spaces in it

          • 2. Re: Problem installing Embedded Jboss on Tomcat 5.5
            Stateless Bean Novice

            Can U explain me, where/what

            path without spaces in it
            ?

            • 4. Re: Problem installing Embedded Jboss on Tomcat 5.5
              Stateless Bean Novice

              Pete can u point like to child, you mean path in windows class path, or some file??


              I removed my tomcat and installed in path: "C:\tomcat"
              and now I get this


              WARN 09-08 22:32:39,515 (UnifiedLoaderRepository3.java:addClassLoader:675) -Tried to add non-URLClassLoader. Ignored
              WARN 09-08 22:32:42,484 (TxControl.java:<clinit>:266) -[com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. Using -3f57ffff:422:46bb79ea:0
              WARN 09-08 22:32:50,593 (JDBCPersistenceManager.java:start:143) -

              JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE.
              Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
              Using an isolation level more strict than READ_COMMITTED may lead to deadlock.


              I try to run Embedded JBoss second day and I'm getting here frustrated.

              You wrote in seam docs, that Instalation is quite simple...wrrrrrrr:(

              • 5. Re: Problem installing Embedded Jboss on Tomcat 5.5
                Stateless Bean Novice

                1. Can u Pete explain me difference between folder in jboss-seam-2.0.0.BETA1/bootstrap and bootstrap packaged in embedded-jboss-beta2.zip ?

                When I copied botstrap files/folders into my tomcat from embedded-jboss-beta2.zip and setted <Listenders... like in seam docs, I get what is in my previous post.
                When I coppied bootstrap from seam zip file, Tomcat looks like getting starting but not well, here you go:

                Booking example deployed on my tomcat:


                INFO 09-08 22:58:37,671 [org.apache.coyote.http11.Http11BaseProtocol.init():145] Initializing Coyote HTTP/1.1 on http-8080
                INFO 09-08 22:58:37,687 [org.apache.catalina.startup.Catalina.load():512] Initialization processed in 1125 ms
                WARN 09-08 22:58:40,343 [org.jboss.mx.loading.UnifiedLoaderRepository3.addClassLoader():675] Tried to add non-URLClassLoader. Ignored
                INFO 09-08 22:58:43,093 [com.arjuna.ats.jbossatx.jta.TransactionManagerService.startService():126] JBossTS Transaction Service (JTA version) - JBoss Inc.
                INFO 09-08 22:58:43,093 [com.arjuna.ats.jbossatx.jta.TransactionManagerService.startService():128] Setting up property manager MBean and JMX layer
                WARN 09-08 22:58:43,203 [com.arjuna.ats.arjuna.coordinator.TxControl.<clinit>():266] [com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. Using 531e7e8c:4b3:46bb8003:0
                INFO 09-08 22:58:43,312 [com.arjuna.ats.arjuna.recovery.TransactionStatusManager.addService():110] [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_1] - Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 1203
                INFO 09-08 22:58:43,343 [?.?():?] TransactionStatusManagerItem - host: 83.30.126.140 port: 1203
                INFO 09-08 22:58:43,359 [com.arjuna.ats.arjuna.recovery.TransactionStatusManager.start():161] [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_3] - TransactionStatusManager started on port 1203 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
                INFO 09-08 22:58:43,390 [?.?():?] Registering mbean for module 'arjuna'
                INFO 09-08 22:58:43,390 [?.?():?] Initialising JMX agent com.arjuna.ats.internal.jbossatx.agent.LocalJBossAgentImpl
                INFO 09-08 22:58:43,453 [com.arjuna.ats.jbossatx.jta.TransactionManagerService.startService():163] Starting recovery manager
                INFO 09-08 22:58:43,468 [?.?():?]
                --- Start RecoveryActivators
                INFO 09-08 22:58:43,500 [com.arjuna.ats.internal.arjuna.recovery.RecoveryManagerImple.<init>():142] [com.arjuna.ats.internal.arjuna.recovery.ready] RecoveryManagerImple is ready on port 1 204
                INFO 09-08 22:58:43,500 [com.arjuna.ats.jbossatx.jta.TransactionManagerService.startService():168] Recovery manager started
                INFO 09-08 22:58:43,515 [com.arjuna.ats.jbossatx.jta.TransactionManagerService.startService():191] Binding TransactionManager JNDI Reference
                INFO 09-08 22:58:48,703 [org.jboss.resource.deployers.RARDeployment.startService():146] Required license terms exist, view vfsfile:/C:/Tomcat/common/classes/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
                INFO 09-08 22:58:48,843 [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.bindConnectionFactory():148] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
                INFO 09-08 22:58:48,875 [org.jboss.resource.deployers.RARDeployment.startService():146] Required license terms exist, view vfsfile:/C:/Tomcat/common/classes/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
                INFO 09-08 22:58:48,890 [org.jboss.resource.deployers.RARDeployment.startService():146] Required license terms exist, view vfsfile:/C:/Tomcat/common/classes/deploy/jms-ra.rar/META-INF/ra.xml
                WARN 09-08 22:58:50,093 [org.jboss.messaging.core.plugin.JDBCPersistenceManager.start():143]

                JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE.
                Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
                Using an isolation level more strict than READ_COMMITTED may lead to deadlock.

                INFO 09-08 22:58:50,593 [org.jboss.jms.server.ServerPeer.<init>():187] ServerPeer[0] creating server peer with ID 0
                INFO 09-08 22:58:51,765 [org.jboss.jms.server.ServerPeer.startService():278] JBoss Messaging 1.2.0.sp1 server [0] started
                INFO 09-08 22:58:51,890 [org.jboss.jms.server.destination.TopicService.startService():122] Topic[/topic/TopicWithOwnDLQAndExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
                INFO 09-08 22:58:51,921 [org.jboss.jms.server.destination.QueueService.startService():149] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
                INFO 09-08 22:58:51,937 [org.jboss.jms.server.destination.QueueService.startService():149] Queue[/queue/QueueWithOwnDLQAndExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
                INFO 09-08 22:58:52,109 [org.jboss.jms.server.connectionfactory.ConnectionFactory.startService():148] Connector bisocket://83.30.126.140:4457 has leasing enabled, lease period 10000 milliseconds
                INFO 09-08 22:58:52,109 [org.jboss.jms.server.connectionfactory.ConnectionFactory.startService():149] [/ConnectionFactory, /XAConnectionFactory, java:/ConnectionFactory, java:/XAConnectionFactory] started
                INFO 09-08 22:58:52,140 [org.jboss.jms.server.destination.QueueService.startService():149] Queue[/queue/PrivateExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
                INFO 09-08 22:58:52,140 [org.jboss.jms.server.destination.TopicService.startService():122] Topic[/topic/TopicWithOwnRedeliveryDelay] started, fullSize=200000, pageSize=2000, downCacheSize=2000
                INFO 09-08 22:58:52,156 [org.jboss.jms.server.destination.QueueService.startService():149] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
                INFO 09-08 22:58:52,156 [org.jboss.jms.server.destination.QueueService.startService():149] Queue[/queue/PrivateDLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
                INFO 09-08 22:58:52,171 [org.jboss.jms.server.destination.QueueService.startService():149] Queue[/queue/QueueWithOwnRedeliveryDelay] started, fullSize=200000, pageSize=2000, downCacheSize=2000
                INFO 09-08 22:58:52,203 [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.bindConnectionFactory():148] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=JmsXA' to JNDI name 'java:JmsXA'
                INFO 09-08 22:58:52,312 [org.apache.catalina.core.StandardService.start():440] Starting service Catalina
                INFO 09-08 22:58:52,328 [org.apache.catalina.core.StandardEngine.start():432] Starting Servlet Engine: Apache Tomcat/5.5.23
                INFO 09-08 22:58:52,359 [org.apache.catalina.core.StandardHost.start():734] XML validation disabled
                INFO 09-08 22:58:52,875 [org.apache.catalina.loader.WebappLoader.start():659] Dual registration of jndi stream handler: factory already defined
                INFO 09-08 22:58:53,718 [org.apache.catalina.startup.HostConfig.deployWAR():804] Deploying web application archive jboss-seam-booking.war
                INFO 09-08 22:59:00,343 [org.jboss.ejb3.MCKernelAbstraction.install():119] installing bean: persistence.units:jar=jboss-seam-booking.jar,unitName=bookingDatabase with dependencies:
                INFO 09-08 22:59:00,343 [org.jboss.ejb3.MCKernelAbstraction.install():131] jboss.jca:name=bookingDatasource,service=DataSourceBinding
                INFO 09-08 22:59:00,656 [org.jboss.ejb3.MCKernelAbstraction.install():119] installing bean: jboss.j2ee:jar=jboss-seam-booking.jar,name=AuthenticatorAction,service=EJB3 with dependencies:
                INFO 09-08 22:59:00,656 [org.jboss.ejb3.MCKernelAbstraction.install():131] persistence.units:jar=jboss-seam-booking.jar,unitName=bookingDatabase
                INFO 09-08 22:59:00,703 [org.jboss.ejb3.MCKernelAbstraction.install():119] installing bean: jboss.j2ee:jar=jboss-seam-booking.jar,name=BookingListAction,service=EJB3 with dependencies:
                INFO 09-08 22:59:00,703 [org.jboss.ejb3.MCKernelAbstraction.install():131] persistence.units:jar=jboss-seam-booking.jar,unitName=bookingDatabase
                INFO 09-08 22:59:00,734 [org.jboss.ejb3.MCKernelAbstraction.install():119] installing bean: jboss.j2ee:jar=jboss-seam-booking.jar,name=ChangePasswordAction,service=EJB3 with dependencies:
                INFO 09-08 22:59:00,734 [org.jboss.ejb3.MCKernelAbstraction.install():131] persistence.units:jar=jboss-seam-booking.jar,unitName=bookingDatabase
                INFO 09-08 22:59:00,750 [org.jboss.ejb3.MCKernelAbstraction.install():119] installing bean: jboss.j2ee:jar=jboss-seam-booking.jar,name=HotelBookingAction,service=EJB3 with dependencies:
                INFO 09-08 22:59:00,750 [org.jboss.ejb3.MCKernelAbstraction.install():131] persistence.units:jar=jboss-seam-booking.jar,unitName=bookingDatabase
                INFO 09-08 22:59:00,750 [org.jboss.ejb3.MCKernelAbstraction.install():119] installing bean: jboss.j2ee:jar=jboss-seam-booking.jar,name=HotelSearchingAction,service=EJB3 with dependencies:
                INFO 09-08 22:59:00,750 [org.jboss.ejb3.MCKernelAbstraction.install():131] persistence.units:jar=jboss-seam-booking.jar,unitName=bookingDatabase
                INFO 09-08 22:59:00,750 [org.jboss.ejb3.MCKernelAbstraction.install():119] installing bean: jboss.j2ee:jar=jboss-seam-booking.jar,name=RegisterAction,service=EJB3 with dependencies:
                INFO 09-08 22:59:00,750 [org.jboss.ejb3.MCKernelAbstraction.install():131] persistence.units:jar=jboss-seam-booking.jar,unitName=bookingDatabase
                INFO 09-08 22:59:00,828 [org.jboss.ejb3.MCKernelAbstraction.install():119] installing bean: jboss.j2ee:jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3 with dependencies:
                INFO 09-08 22:59:01,453 [org.jboss.ejb3.EJBContainer.start():580] STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
                WARN 09-08 22:59:01,546 [org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory.restoreTimerService():112] TIMER SERVICE IS NOT INSTALLED
                INFO 09-08 22:59:01,546 [org.jboss.ejb3.MCKernelAbstraction.install():119] installing bean: jboss.j2ee:jar=jboss-seam.jar,name=EjbTransaction,service=EJB3 with dependencies:
                INFO 09-08 22:59:01,953 [org.jboss.ejb3.EJBContainer.start():580] STARTED EJB: org.jboss.seam.transaction.EjbTransaction ejbName: EjbTransaction
                INFO 09-08 22:59:02,265 [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.bindConnectionFactory():148] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=bookingDatasource' to JNDI name 'java:bookingDatasource'
                INFO 09-08 22:59:02,281 [org.jboss.ejb3.entity.PersistenceUnitDeployment.start():175] Starting persistence unit persistence.units:jar=jboss-seam-booking.jar,unitName=bookingDatabase
                INFO 09-08 22:59:05,890 [org.jboss.ejb3.EJBContainer.start():580] STARTED EJB: org.jboss.seam.example.booking.BookingListAction ejbName: BookingListAction
                INFO 09-08 22:59:06,015 [org.jboss.ejb3.EJBContainer.start():580] STARTED EJB: org.jboss.seam.example.booking.ChangePasswordAction ejbName: ChangePasswordAction
                INFO 09-08 22:59:06,078 [org.jboss.ejb3.EJBContainer.start():580] STARTED EJB: org.jboss.seam.example.booking.AuthenticatorAction ejbName: AuthenticatorAction
                WARN 09-08 22:59:06,093 [org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory.restoreTimerService():112] TIMER SERVICE IS NOT INSTALLED
                INFO 09-08 22:59:06,203 [org.jboss.ejb3.EJBContainer.start():580] STARTED EJB: org.jboss.seam.example.booking.HotelSearchingAction ejbName: HotelSearchingAction
                INFO 09-08 22:59:06,328 [org.jboss.ejb3.EJBContainer.start():580] STARTED EJB: org.jboss.seam.example.booking.HotelBookingAction ejbName: HotelBookingAction
                INFO 09-08 22:59:06,437 [org.jboss.ejb3.EJBContainer.start():580] STARTED EJB: org.jboss.seam.example.booking.RegisterAction ejbName: RegisterAction
                ERROR 09-08 22:59:06,578 [org.apache.catalina.core.StandardContext.start():4217] Error listenerStart
                ERROR 09-08 22:59:06,578 [org.apache.catalina.core.StandardContext.start():4244] Context [/jboss-seam-booking] startup failed due to previous errors
                INFO 09-08 22:59:06,578 [org.jboss.ejb3.EJBContainer.stop():593] STOPPED EJB: org.jboss.seam.example.booking.AuthenticatorAction ejbName: AuthenticatorAction
                INFO 09-08 22:59:06,593 [org.jboss.ejb3.EJBContainer.stop():593] STOPPED EJB: org.jboss.seam.example.booking.BookingListAction ejbName: BookingListAction
                INFO 09-08 22:59:06,609 [org.jboss.ejb3.EJBContainer.stop():593] STOPPED EJB: org.jboss.seam.example.booking.ChangePasswordAction ejbName: ChangePasswordAction
                INFO 09-08 22:59:06,625 [org.jboss.ejb3.EJBContainer.stop():593] STOPPED EJB: org.jboss.seam.example.booking.HotelBookingAction ejbName: HotelBookingAction
                INFO 09-08 22:59:06,640 [org.jboss.ejb3.EJBContainer.stop():593] STOPPED EJB: org.jboss.seam.example.booking.HotelSearchingAction ejbName: HotelSearchingAction
                INFO 09-08 22:59:06,656 [org.jboss.ejb3.EJBContainer.stop():593] STOPPED EJB: org.jboss.seam.example.booking.RegisterAction ejbName: RegisterAction
                INFO 09-08 22:59:06,656 [org.jboss.ejb3.entity.PersistenceUnitDeployment.stop():266] Stopping persistence unit persistence.units:jar=jboss-seam-booking.jar,unitName=bookingDatabase
                INFO 09-08 22:59:06,656 [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.unbindConnectionFactory():170] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=bookingDatasource' from JNDI name 'java:bookingDatasource'
                INFO 09-08 22:59:06,703 [org.jboss.ejb3.MCKernelAbstraction.uninstall():198] uninstalling bean: jboss.j2ee:jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
                INFO 09-08 22:59:06,703 [org.jboss.ejb3.EJBContainer.stop():593] STOPPED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
                INFO 09-08 22:59:06,718 [org.jboss.ejb3.MCKernelAbstraction.uninstall():198] uninstalling bean: jboss.j2ee:jar=jboss-seam.jar,name=EjbTransaction,service=EJB3
                INFO 09-08 22:59:06,718 [org.jboss.ejb3.EJBContainer.stop():593] STOPPED EJB: org.jboss.seam.transaction.EjbTransaction ejbName: EjbTransaction
                INFO 09-08 22:59:06,734 [org.jboss.ejb3.MCKernelAbstraction.uninstall():198] uninstalling bean: jboss.j2ee:jar=jboss-seam-booking.jar,name=AuthenticatorAction,service=EJB3
                INFO 09-08 22:59:06,734 [org.jboss.ejb3.MCKernelAbstraction.uninstall():198] uninstalling bean: jboss.j2ee:jar=jboss-seam-booking.jar,name=BookingListAction,service=EJB3
                INFO 09-08 22:59:06,734 [org.jboss.ejb3.MCKernelAbstraction.uninstall():198] uninstalling bean: jboss.j2ee:jar=jboss-seam-booking.jar,name=ChangePasswordAction,service=EJB3
                INFO 09-08 22:59:06,734 [org.jboss.ejb3.MCKernelAbstraction.uninstall():198] uninstalling bean: jboss.j2ee:jar=jboss-seam-booking.jar,name=HotelBookingAction,service=EJB3
                INFO 09-08 22:59:06,734 [org.jboss.ejb3.MCKernelAbstraction.uninstall():198] uninstalling bean: jboss.j2ee:jar=jboss-seam-booking.jar,name=HotelSearchingAction,service=EJB3
                INFO 09-08 22:59:06,734 [org.jboss.ejb3.MCKernelAbstraction.uninstall():198] uninstalling bean: jboss.j2ee:jar=jboss-seam-booking.jar,name=RegisterAction,service=EJB3
                INFO 09-08 22:59:06,734 [org.jboss.ejb3.MCKernelAbstraction.uninstall():198] uninstalling bean: persistence.units:jar=jboss-seam-booking.jar,unitName=bookingDatabase
                INFO 09-08 22:59:07,250 [org.apache.coyote.http11.Http11BaseProtocol.start():157] Starting Coyote HTTP/1.1 on http-8080
                INFO 09-08 22:59:07,625 [org.apache.jk.common.ChannelSocket.init():393] JK: ajp13 listening on /0.0.0.0:8009
                INFO 09-08 22:59:07,640 [org.apache.jk.server.JkMain.start():344] Jk running ID=0 time=0/140 config=null
                INFO 09-08 22:59:07,703 [org.apache.catalina.storeconfig.StoreLoader.load():230] Find registry server-registry.xml at classpath resource
                INFO 09-08 22:59:08,046 [org.apache.catalina.startup.Catalina.start():560] Server startup in 30359 ms


                • 6. Re: Problem installing Embedded Jboss on Tomcat 5.5
                  Pete Muir Master

                   

                  "Stateless Bean" wrote:
                  I removed my tomcat and installed in path: "C:\tomcat"


                  This is what I meant



                  WARN 09-08 22:32:39,515 (UnifiedLoaderRepository3.java:addClassLoader:675) -Tried to add non-URLClassLoader. Ignored
                  WARN 09-08 22:32:42,484 (TxControl.java:<clinit>:266) -[com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. Using -3f57ffff:422:46bb79ea:0
                  WARN 09-08 22:32:50,593 (JDBCPersistenceManager.java:start:143) -
                  
                  JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE.
                   Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
                   Using an isolation level more strict than READ_COMMITTED may lead to deadlock.
                  


                  There is no error in this log. That warning is fine

                  1. Can u Pete explain me difference between folder in jboss-seam-2.0.0.BETA1/bootstrap and bootstrap packaged in embedded-jboss-beta2.zip ?


                  The one in Seam is for running the tests in Seam and examples.

                  • 7. Re: Problem installing Embedded Jboss on Tomcat 5.5
                    Stateless Bean Novice

                     

                    There is no error in this log. That warning is fine

                    :)

                    I have two tomcats in system 5.5 and 6.0 with JDK 1.5_09,
                    Finally i think i made step forward to run booking example (it works for me on 6.0), on tomcat 6.0, but my target is to run it on 5.5, and here still I get some problems.

                    Previous (long version), of log is from tomcat 5.5 and there are two errors:


                    ERROR 09-08 22:59:06,578 [org.apache.catalina.core.StandardContext.start():4217] Error listenerStart
                    ERROR 09-08 22:59:06,578 [org.apache.catalina.core.StandardContext.start():4244] Context [/jboss-seam-booking] startup failed due to previous errors

                    this is from seam bootstrap,

                    In other case of embedded-jboss-beta2.zip i get this, this error not telling much how or where to look to resolve it.


                    WARN 10-08 20:28:56,328 (UnifiedLoaderRepository3.java:addClassLoader:675) -Tried to add non-URLClassLoader. Ignored
                    WARN 10-08 20:28:59,234 (TxControl.java:<clinit>:266) -[com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. Using -3f57ffff:549:46bcae6b:0
                    WARN 10-08 20:29:06,390 (JDBCPersistenceManager.java:start:143) -

                    JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE.
                    Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
                    Using an isolation level more strict than READ_COMMITTED may lead to deadlock.

                    WARN 10-08 20:29:19,281 (JBossTimerServiceFactory.java:restoreTimerService:112) -TIMER SERVICE IS NOT INSTALLED
                    WARN 10-08 20:29:24,078 (JBossTimerServiceFactory.java:restoreTimerService:112) -TIMER SERVICE IS NOT INSTALLED
                    ERROR 10-08 20:29:24,281 (StandardContext.java:start:4217) -Error listenerStart
                    ERROR 10-08 20:29:24,296 (StandardContext.java:start:4244) -Context [/jboss-seam-booking] startup failed due to previous errors



                    btw, why there is no faces-config.xml in booking demo?

                    • 8. Re: Problem installing Embedded Jboss on Tomcat 5.5
                      davidintx Newbie

                      For Tomcat 5.5.x, you need to copy el-api.jar, el-ri.jar, jsf-api.jar and jsf-impl.jar to common/lib. In addition, one our developers wasn't able to run seam with tomcat 5.5, when tomcat was installed via the tomcat installer, but when he simply unzipped the tomcat download, make the required changes for jboss embedded and added the four jars listed above, and ran it via bin/startup.bat, it worked.