0 Replies Latest reply on Feb 20, 2006 8:05 AM by Nigel Hutchison

    Problem deploying ear containing struts

    Nigel Hutchison Newbie

      Anyone had similar problems to the following and/or got any ideas for a
      fix - or am I doing anything obviously wrong? I am deploying from netbeans5.

      Default enterprise application (JSTL 1.1 library included) builds and
      deploys to jboss 4.0.3 sp1 OK (os= XP pro). Can surf to web page OK which displays 'JSP page'.

      Added Struts 1.2.7 library and redeployed. Web page is now unobtainable.
      Server log below. (Struts works OK in a war only).

      At the end it says: 'Can't register valve
      org.apache.catalina.core.StandardContextValve@14f7121' - don't know what a 'valve' is, though.

      TIA
      Regards,
      Nigel.

      2006-02-19 15:32:36,093 INFO [org.jboss.ejb3.EJB3Deployer] Default
      persistence.properties:
      {hibernate.transaction.flush_before_completion=false,
      hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfa
      ces, hibernate.transaction.auto_close_session=false,
      hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextF
      actory,
      hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider,
      hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTr
      ansactionManagerLookup, hibernate.dialect=org.hibernate.dialect.HSQLDialect,
      hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactor
      y, hibernate.hbm2ddl.auto=create-drop,
      hibernate.connection.datasource=java:/DefaultDS,
      hibernate.connection.release_mode=after_statement}
      2006-02-19 15:32:36,281 INFO
      [org.jboss.remoting.transport.socket.SocketServerInvoker] Invoker started
      for locator: InvokerLocator [socket://192.168.0.2:3873/0.0.0.0:3873]
      2006-02-19 15:32:36,828 INFO [org.jboss.aop.deployment.AspectDeployer]
      Deployed AOP: file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/deploy/ejb3-interceptors-aop.xml
      2006-02-19 15:32:39,828 INFO [org.jboss.web.WebService] Using RMI server
      codebase: http://Phredd6:8083/
      2006-02-19 15:32:40,062 INFO [org.jboss.cache.TreeCache] setting cluster
      properties from xml to:
      UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=4
      5551;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_siz
      e=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_membe
      rs=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10
      000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_threa
      d=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag
      =50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false
      ):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_si
      ze=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=f
      alse):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join
      _retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcas
      t.STATE_TRANSFER(down_thread=false;up_thread=false)
      2006-02-19 15:32:40,093 INFO [org.jboss.cache.TreeCache]
      setEvictionPolicyConfig(): [config: null]
      2006-02-19 15:32:40,125 INFO [org.jboss.cache.TreeCache] interceptor chain
      is:
      2006-02-19 15:32:40,140 INFO [org.jboss.cache.TreeCache] cache mode is
      REPL_SYNC
      2006-02-19 15:32:40,406 INFO [STDOUT]
      2006-02-19 15:32:42,437 INFO [org.jboss.cache.TreeCache] viewAccepted():
      new members: [Phredd6:1710]
      2006-02-19 15:32:42,453 INFO [org.jboss.cache.TreeCache] new cache is null
      (maybe first member in cluster)
      2006-02-19 15:32:42,453 INFO [org.jboss.cache.TreeCache] state could not be
      retrieved (must be first member in group)
      2006-02-19 15:32:42,453 INFO [org.jboss.cache.eviction.LRUPolicy] Starting
      eviction policy using the provider:
      org.jboss.ejb3.cache.tree.StatefulEvictionPolicy
      2006-02-19 15:32:42,453 INFO [org.jboss.cache.eviction.LRUPolicy] Starting
      a eviction timer with wake up interval of (secs) 1
      2006-02-19 15:32:42,531 INFO [org.jboss.cache.TreeCache] setting cluster
      properties from xml to:
      UDP(ip_mcast=true;ip_ttl=2;loopback=false;mcast_addr=228.1.2.3;mcast_port=43
      333;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size
      =80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_member
      s=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=100
      00):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread
      =false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=
      50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false)
      :UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_siz
      e=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=fa
      lse):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_
      retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast
      .STATE_TRANSFER(down_thread=false;up_thread=false)
      2006-02-19 15:32:42,531 INFO [org.jboss.cache.TreeCache]
      setEvictionPolicyConfig(): [config: null]
      2006-02-19 15:32:44,265 INFO [org.jboss.mail.MailService] Mail Service
      bound to java:/Mail
      2006-02-19 15:32:44,796 INFO [org.jboss.naming.NamingService] Started jndi
      bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0,
      Client SocketFactory=null, Server
      SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
      2006-02-19 15:32:44,812 INFO
      [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition]
      Initializing
      2006-02-19 15:32:44,843 INFO [STDOUT]
      2006-02-19 15:32:46,859 INFO
      [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Number of
      cluster members: 1
      2006-02-19 15:32:46,859 INFO
      [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Other
      members: 0
      2006-02-19 15:32:46,859 INFO
      [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Fetching
      state (will wait for 30000 milliseconds):
      2006-02-19 15:32:46,859 INFO
      [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition]
      New cluster view for partition DefaultPartition (id: 0, delta: 0) :
      [192.168.0.2:1099]
      2006-02-19 15:32:46,859 INFO
      [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartit
      ion] I am (192.168.0.2:1099) received membershipChanged event:
      2006-02-19 15:32:46,859 INFO
      [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartit
      ion] Dead members: 0 ([])
      2006-02-19 15:32:46,859 INFO
      [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartit
      ion] New Members : 0 ([])
      2006-02-19 15:32:46,859 INFO
      [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartit
      ion] All Members : 1 ([192.168.0.2:1099])
      2006-02-19 15:32:46,906 INFO [org.jboss.ha.jndi.HANamingService] Started
      ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0
      2006-02-19 15:32:46,906 INFO
      [org.jboss.ha.jndi.DetachedHANamingService$AutomaticDiscovery] Listening on
      /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=192.168.0.2:1100
      2006-02-19 15:32:47,015 INFO [org.jboss.cache.TreeCache] interceptor chain
      is:
      2006-02-19 15:32:47,015 INFO [org.jboss.cache.TreeCache] cache mode is
      REPL_SYNC
      2006-02-19 15:32:47,062 INFO [STDOUT]
      2006-02-19 15:32:49,062 INFO [org.jboss.cache.TreeCache] viewAccepted():
      new members: [Phredd6:1716]
      2006-02-19 15:32:49,062 INFO [org.jboss.cache.TreeCache] state could not be
      retrieved (must be first member in group)
      2006-02-19 15:32:49,062 INFO [org.jboss.cache.TreeCache] new cache is null
      (maybe first member in cluster)
      2006-02-19 15:32:49,062 INFO [org.jboss.cache.eviction.LRUPolicy] Starting
      eviction policy using the provider: org.jboss.cache.eviction.LRUPolicy
      2006-02-19 15:32:49,062 INFO [org.jboss.cache.eviction.LRUPolicy] Starting
      a eviction timer with wake up interval of (secs) 5
      2006-02-19 15:32:49,875 INFO [org.apache.catalina.startup.Embedded]
      Catalina naming disabled
      2006-02-19 15:32:50,375 INFO [org.apache.coyote.http11.Http11Protocol]
      Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
      2006-02-19 15:32:50,375 INFO [org.apache.catalina.startup.Catalina]
      Initialization processed in 454 ms
      2006-02-19 15:32:50,390 INFO [org.jboss.web.tomcat.tc5.StandardService]
      Starting service jboss.web
      2006-02-19 15:32:50,390 INFO [org.apache.catalina.core.StandardEngine]
      Starting Servlet Engine: Apache Tomcat/5.5
      2006-02-19 15:32:50,421 INFO [org.apache.catalina.core.StandardHost] XML
      validation disabled
      2006-02-19 15:32:50,437 INFO [org.apache.catalina.startup.Catalina] Server
      startup in 47 ms
      2006-02-19 15:32:50,578 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
      deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
      2006-02-19 15:32:50,875 INFO [org.apache.catalina.loader.WebappLoader] Dual
      registration of jndi stream handler: factory already defined
      2006-02-19 15:32:51,375 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
      deploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp17018jboss-ws4ee-exp.war/
      2006-02-19 15:32:51,515 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
      deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
      2006-02-19 15:32:51,640 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
      deploy, ctxPath=/jbossmq-httpil,
      warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      2006-02-19 15:32:51,796 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
      deploy, ctxPath=/web-console,
      warUrl=.../deploy/management/console-mgr.sar/web-console.war/
      2006-02-19 15:32:52,437 INFO [org.jboss.cache.TreeCache] setting cluster
      properties from xml to:
      UDP(ip_mcast=true;ip_ttl=8;loopback=false;mcast_addr=230.1.2.7;mcast_port=45
      577;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size
      =80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_member
      s=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=100
      00):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):p
      bcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeo
      ut=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_thresho
      ld=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossi
      p=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=
      8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;p
      rint_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_th
      read=true)
      2006-02-19 15:32:52,437 INFO [org.jboss.cache.TreeCache] interceptor chain
      is:
      2006-02-19 15:32:52,437 INFO [org.jboss.cache.TreeCache] cache mode is
      REPL_ASYNC
      2006-02-19 15:32:52,500 INFO [STDOUT]
      2006-02-19 15:32:54,515 INFO [org.jboss.cache.TreeCache] state could not be
      retrieved (must be first member in group)
      2006-02-19 15:32:54,515 INFO [org.jboss.cache.TreeCache] viewAccepted():
      new members: [Phredd6:1720]
      2006-02-19 15:32:54,515 INFO [org.jboss.cache.TreeCache] new cache is null
      (maybe first member in cluster)
      2006-02-19 15:32:54,859 INFO [org.jboss.resource.deployment.RARDeployment]
      Required license terms exist, view META-INF/ra.xml in
      .../deploy/jboss-ha-local-jdbc.rar
      2006-02-19 15:32:55,000 INFO [org.jboss.resource.deployment.RARDeployment]
      Required license terms exist, view META-INF/ra.xml in
      .../deploy/jboss-ha-xa-jdbc.rar
      2006-02-19 15:32:55,125 INFO [org.jboss.resource.deployment.RARDeployment]
      Required license terms exist, view META-INF/ra.xml in
      .../deploy/jboss-local-jdbc.rar
      2006-02-19 15:32:55,250 INFO [org.jboss.resource.deployment.RARDeployment]
      Required license terms exist, view META-INF/ra.xml in
      .../deploy/jboss-xa-jdbc.rar
      2006-02-19 15:32:55,359 INFO [org.jboss.resource.deployment.RARDeployment]
      Required license terms exist, view META-INF/ra.xml in
      .../deploy/jms/jms-ra.rar
      2006-02-19 15:32:55,437 INFO [org.jboss.resource.deployment.RARDeployment]
      Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
      2006-02-19 15:32:56,468 INFO
      [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound
      ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to
      JNDI name 'java:DefaultDS'
      2006-02-19 15:32:56,718 INFO [org.jboss.mq.server.jmx.Queue.A] Bound to
      JNDI name: queue/A
      2006-02-19 15:32:56,718 INFO [org.jboss.mq.server.jmx.Queue.B] Bound to
      JNDI name: queue/B
      2006-02-19 15:32:56,718 INFO [org.jboss.mq.server.jmx.Queue.C] Bound to
      JNDI name: queue/C
      2006-02-19 15:32:56,734 INFO [org.jboss.mq.server.jmx.Queue.D] Bound to
      JNDI name: queue/D
      2006-02-19 15:32:56,734 INFO [org.jboss.mq.server.jmx.Queue.ex] Bound to
      JNDI name: queue/ex
      2006-02-19 15:32:56,750 INFO [org.jboss.mq.server.jmx.Topic.testTopic]
      Bound to JNDI name: topic/testTopic
      2006-02-19 15:32:56,750 INFO [org.jboss.mq.server.jmx.Topic.securedTopic]
      Bound to JNDI name: topic/securedTopic
      2006-02-19 15:32:56,750 INFO
      [org.jboss.mq.server.jmx.Topic.testDurableTopic] Bound to JNDI name:
      topic/testDurableTopic
      2006-02-19 15:32:56,750 INFO [org.jboss.mq.server.jmx.Queue.testQueue]
      Bound to JNDI name: queue/testQueue
      2006-02-19 15:32:56,796 INFO [org.jboss.mq.il.uil2.UILServerILService]
      JBossMQ UIL service available at : /0.0.0.0:8093
      2006-02-19 15:32:56,843 INFO [org.jboss.mq.server.jmx.Queue.DLQ] Bound to
      JNDI name: queue/DLQ
      2006-02-19 15:32:57,000 INFO
      [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound
      ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to
      JNDI name 'java:JmsXA'
      2006-02-19 15:32:57,062 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
      deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
      2006-02-19 15:32:57,281 INFO [org.jboss.deployment.EARDeployer] Init J2EE
      application: file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/deploy/matildaear.ear
      2006-02-19 15:32:57,609 INFO [org.jboss.ejb.EJBDeployer] Deployed:
      file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/tmp/deploy/tmp17086matildaear.ear-conten
      ts/MatildaEAR-EJBModule.jar
      2006-02-19 15:32:57,625 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
      deploy, ctxPath=/MatildaEAR-WebModule,
      warUrl=.../tmp/deploy/tmp17086matildaear.ear-contents/MatildaEAR-WebModule-e
      xp.war/
      2006-02-19 15:32:57,718 INFO [org.jboss.deployment.EARDeployer] Started
      J2EE application: file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/deploy/matildaear.ear
      2006-02-19 15:32:57,781 INFO [org.apache.coyote.http11.Http11Protocol]
      Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      2006-02-19 15:32:57,875 INFO [org.apache.jk.common.ChannelSocket] JK: ajp13
      listening on /0.0.0.0:8009
      2006-02-19 15:32:57,890 INFO [org.apache.jk.server.JkMain] Jk running ID=0
      time=0/47 config=null
      2006-02-19 15:32:57,890 INFO [org.jboss.system.server.Server] JBoss (MX
      MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)]
      Started in 27s:281ms
      2006-02-19 15:35:48,250 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
      undeploy, ctxPath=/MatildaEAR-WebModule,
      warUrl=.../tmp/deploy/tmp17086matildaear.ear-contents/MatildaEAR-WebModule-e
      xp.war/
      2006-02-19 15:35:48,265 INFO [org.jboss.ejb.EJBDeployer] Undeploying:
      file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/tmp/deploy/tmp17086matildaear.ear-conten
      ts/MatildaEAR-EJBModule.jar
      2006-02-19 15:35:48,281 INFO [org.jboss.deployment.EARDeployer] Undeploying
      J2EE application, destroy step: file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/deploy/matildaear.ear
      2006-02-19 15:35:48,296 INFO [org.jboss.deployment.EARDeployer] Init J2EE
      application: file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/deploy/matildaear.ear
      2006-02-19 15:35:48,484 INFO [org.jboss.ejb.EJBDeployer] Deployed:
      file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/tmp/deploy/tmp17087matildaear.ear-conten
      ts/MatildaEAR-EJBModule.jar
      2006-02-19 15:35:48,500 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
      deploy, ctxPath=/MatildaEAR-WebModule,
      warUrl=.../tmp/deploy/tmp17087matildaear.ear-contents/MatildaEAR-WebModule-e
      xp.war/
      2006-02-19 15:35:48,593 INFO [org.jboss.deployment.EARDeployer] Started
      J2EE application: file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/deploy/matildaear.ear
      2006-02-19 15:38:13,937 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
      undeploy, ctxPath=/MatildaEAR-WebModule,
      warUrl=.../tmp/deploy/tmp17087matildaear.ear-contents/MatildaEAR-WebModule-e
      xp.war/
      2006-02-19 15:38:13,953 INFO [org.jboss.ejb.EJBDeployer] Undeploying:
      file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/tmp/deploy/tmp17087matildaear.ear-conten
      ts/MatildaEAR-EJBModule.jar
      2006-02-19 15:38:13,968 INFO [org.jboss.deployment.EARDeployer] Undeploying
      J2EE application, destroy step: file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/deploy/matildaear.ear
      2006-02-19 15:38:13,984 INFO [org.jboss.deployment.EARDeployer] Init J2EE
      application: file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/deploy/matildaear.ear
      2006-02-19 15:38:14,359 INFO [org.jboss.ejb.EJBDeployer] Deployed:
      file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/tmp/deploy/tmp17088matildaear.ear-conten
      ts/MatildaEAR-EJBModule.jar
      2006-02-19 15:38:14,375 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
      deploy, ctxPath=/MatildaEAR-WebModule,
      warUrl=.../tmp/deploy/tmp17088matildaear.ear-contents/MatildaEAR-WebModule-e
      xp.war/
      2006-02-19 15:38:14,468 INFO [org.apache.catalina.core.StandardPipeline]
      Can't register valve org.jboss.web.tomcat.security.JaccContextValve@1bae5f5
      2006-02-19 15:38:14,484 INFO [org.apache.catalina.core.StandardPipeline]
      Can't register valve org.apache.catalina.core.StandardContextValve@14f7121