0 Replies Latest reply on Aug 31, 2009 8:13 AM by pilou13

    Newbie tomcat 6 + embedded SP9 caonnt start ?

    pilou13

      hi

      I install the last embedded-jboss-beta3.SP9 as said in the doc SEAM 2.2.0.pdf

      AT tomcat 6, start up the logs are :

      31 août 2009 13:49:41 org.apache.catalina.core.AprLifecycleListener init
      INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.pa .....
      31 août 2009 13:49:41 org.apache.coyote.http11.Http11Protocol init
      INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
      31 août 2009 13:49:41 org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 580 ms
      31 août 2009 13:49:41 org.apache.catalina.mbeans.ServerLifecycleListener createMBeans
      GRAVE: createMBeans: Throwable
      java.lang.NullPointerException
      at org.apache.catalina.mbeans.MBeanUtils.createObjectName(MBeanUtils.java:1080)
      at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:497)
      at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:570)
      at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:366)
      at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:535)
      at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:498)
      at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:660)
      at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:628)
      at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:278)
      at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLifecycleListener.java:129)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:703)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
      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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      WARN [org.jboss.mx.loading.UnifiedLoaderRepository3] Tried to add non-URLClassLoader. Ignored
      WARN [org.jboss.aop.deployment.AspectManagerService] Could not find base-aspects.xml file in the resources of org.apache.catalina.loader.StandardClassLoader@119cca4
      INFO [org.jboss.aop.deployers.AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@14b4b3a for org.apache.catalina.loader.StandardClassLoader@119cca4
      INFO [org.jboss.resource.deployers.RARDeployment] Required license terms exist, view vfsfile:/C:/seam-212-GA/apache-tomcat-6.0.18/lib/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
      INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      INFO [org.jboss.resource.deployers.RARDeployment] Required license terms exist, view vfsfile:/C:/seam-212-GA/apache-tomcat-6.0.18/lib/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
      INFO [org.jboss.resource.deployers.RARDeployment] Required license terms exist, view vfsfile:/C:/seam-212-GA/apache-tomcat-6.0.18/lib/deploy/jms-ra.rar/META-INF/ra.xml
      WARN [org.jboss.jms.server.security.SecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
      INFO [org.jboss.jms.server.ServerPeer] JBoss Messaging 1.4.0.SP1 server [0] started
      INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector bisocket://PC-de-gauthier:4457 has leasing enabled, lease period 10000 milliseconds
      INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1279c8 started
      WARN [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
      WARN [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
      INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector bisocket://PC-de-gauthier:4457 has leasing enabled, lease period 10000 milliseconds
      INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@76b359 started
      INFO [org.jboss.jms.server.destination.QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector bisocket://PC-de-gauthier:4457 has leasing enabled, lease period 10000 milliseconds
      INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@15e4dbe started
      INFO [org.jboss.jms.server.destination.QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      31 août 2009 13:49:48 org.apache.catalina.core.StandardService start
      31 août 2009 13:49:48 org.apache.catalina.core.StandardEngine start
      INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
      java.lang.reflect.InvocationTargetException
      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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: java.lang.NullPointerException
      at java.util.Hashtable.put(Hashtable.java:394)
      at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3944)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4126)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:516)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
      ... 6 more

      could somebody help ?
      thanks



      SEAM 2.2 quote
      ==========
      • Copy all files and directories under the Embedded JBoss bootstrap and lib directories, except
      for the jndi.properties file, into the Tomcat lib directory.
      Installing Embedded JBoss
      499
      • Remove the annotations-api.jar file from the Tomcat lib directory.
      Next, two configuration files need to be updated to add Embedded JBoss-specific functionality.
      • Add the Embedded JBoss listener EmbeddedJBossBootstrapListener to conf/server.xml.
      It must appear after all other listeners in the file:

      <!-- Comment these entries out to disable JMX MBeans support used for the
      administration web application -->




      <!-- Add this listener -->

      • WAR file scanning should be enabled by adding the WebinfScanner listener to conf/
      context.xml:

      <!-- Default set of monitored resources -->
      WEB-INF/web.xml
      <!-- Uncomment this to disable session persistence across Tomcat restarts -->
      <!--

      -->
      <!-- Add this listener -->