0 Replies Latest reply on Sep 26, 2005 3:59 AM by eranhe

    Initiating new EHB3 project

    eranhe

      Hi,
      i have two problems to initiate a new ejb3 project:
      1. while creating a new project i gor this error:
      Project testEJB3 is missing required library: 'C:\Eran\jboss\jboss-4.0.3RC2\server\all\deploy\ejb3.deployer\jboss-ejb3.jar'

      i checked my server and i realy don't have directory 'all' under the server but a 'default', so what i have to do?

      2. I just installed jboss-4.0.3RC2 via the installer gui and i got the following exception while the server is starting:

      09:55:50,890 WARN [ServiceController] Problem starting service jboss.jms:alias=
      TopicConnectionFactory
      javax.naming.CommunicationException: Receive timed out [Root exception is java.n
      et.SocketTimeoutException: Receive timed out]
      at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:13
      02)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1431)
      at org.jnp.interfaces.NamingContext.bind(NamingContext.java:523)
      at org.jnp.interfaces.NamingContext.bind(NamingContext.java:516)
      at javax.naming.InitialContext.bind(InitialContext.java:359)
      at org.jboss.naming.Util.bind(Util.java:85)
      at org.jboss.naming.Util.bind(Util.java:72)
      at org.jboss.naming.LinkRefPairService.startService(LinkRefPairService.j
      ava:89)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
      upport.java:287)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
      eanSupport.java:236)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:974)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:453)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:276)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:973)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:319)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:192)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:265)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
      upport.java:287)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
      eanSupport.java:236)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:974)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:453)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:276)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:973)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:721)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:451)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:328)
      at org.jboss.Main.boot(Main.java:187)
      at org.jboss.Main$1.run(Main.java:438)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.net.SocketTimeoutException: Receive timed out
      at java.net.PlainDatagramSocketImpl.receive0(Native Method)
      at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java
      :136)
      at java.net.DatagramSocket.receive(DatagramSocket.java:712)
      at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:12
      72)
      ... 100 more
      09:55:51,453 INFO [MailService] Mail Service bound to java:/Mail
      09:55:51,843 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=
      1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket
      Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
      09:55:51,921 INFO [TreeCache] interceptor chain is:
      class org.jboss.cache.interceptors.CallInterceptor
      class org.jboss.cache.interceptors.LockInterceptor
      class org.jboss.cache.interceptors.UnlockInterceptor
      class org.jboss.cache.interceptors.ReplicationInterceptor
      09:55:51,921 INFO [TreeCache] cache mode is REPL_SYNC
      09:55:51,937 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is gever:1067
      -------------------------------------------------------
      09:55:53,937 INFO [TreeCache] state could not be retrieved (must be first membe
      r in group)
      09:55:53,937 INFO [TreeCache] new cache is null (maybe first member in cluster)

      09:55:53,937 INFO [LRUPolicy] Starting eviction policy using the provider: org.
      jboss.cache.eviction.LRUPolicy
      09:55:53,937 INFO [TreeCache] viewAccepted(): new members: [gever:1067]
      09:55:53,937 INFO [LRUPolicy] Starting a eviction timer with wake up interval o
      f (secs) 5
      09:55:54,703 INFO [Embedded] Catalina naming disabled
      09:55:55,109 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
      -8080
      09:55:55,109 INFO [Catalina] Initialization processed in 359 ms
      09:55:55,109 INFO [StandardService] Starting service jboss.web
      09:55:55,109 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9

      09:55:55,140 INFO [StandardHost] XML validation disabled
      09:55:55,171 INFO [Catalina] Server startup in 62 ms
      09:55:55,468 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
      http-invoker.sar/invoker.war/
      09:55:55,843 INFO [WebappLoader] Dual registration of jndi stream handler: fact
      ory already defined
      09:55:56,328 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deplo
      y/tmp32117jboss-ws4ee-exp.war/
      09:55:56,453 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe
      b-tomcat55.sar/ROOT.war/
      09:55:56,609 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
      deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      09:55:56,750 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
      loy/management/console-mgr.sar/web-console.war/
      09:55:57,406 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mc
      ast=true;ip_ttl=8;loopback=false;mcast_addr=230.1.2.7;mcast_port=45577;mcast_rec
      v_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send
      _buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_t
      hread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPEC
      T(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=fals
      e;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=f
      alse):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=false
      ):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_t
      imeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRAN
      SFER(down_thread=true;up_thread=true)
      09:55:57,421 INFO [TreeCache] interceptor chain is:
      class org.jboss.cache.interceptors.CallInterceptor
      class org.jboss.cache.interceptors.LockInterceptor
      class org.jboss.cache.interceptors.UnlockInterceptor
      class org.jboss.cache.interceptors.ReplicationInterceptor
      09:55:57,421 INFO [TreeCache] cache mode is REPL_ASYNC
      09:55:57,468 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is gever:1071
      -------------------------------------------------------
      09:55:59,468 INFO [TreeCache] viewAccepted(): new members: [gever:1071]
      09:55:59,468 INFO [TreeCache] new cache is null (maybe first member in cluster)

      09:55:59,468 INFO [TreeCache] state could not be retrieved (must be first membe
      r in group)
      09:55:59,765 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-ha-local-jdbc.rar
      09:55:59,906 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-ha-xa-jdbc.rar
      09:56:00,046 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-local-jdbc.rar
      09:56:00,156 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-xa-jdbc.rar
      09:56:00,281 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jms/jms-ra.rar
      09:56:00,375 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/mail-ra.rar
      09:56:01,687 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca
      :service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      09:56:02,000 INFO [A] Bound to JNDI name: queue/A
      09:56:02,000 INFO [B] Bound to JNDI name: queue/B
      09:56:02,000 INFO [C] Bound to JNDI name: queue/C
      09:56:02,000 INFO [D] Bound to JNDI name: queue/D
      09:56:02,000 INFO [ex] Bound to JNDI name: queue/ex
      09:56:02,031 INFO [testTopic] Bound to JNDI name: topic/testTopic
      09:56:02,031 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      09:56:02,031 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

      09:56:02,046 INFO [testQueue] Bound to JNDI name: queue/testQueue
      09:56:02,109 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
      0.0:8093
      09:56:02,156 INFO [DLQ] Bound to JNDI name: queue/DLQ
      09:56:02,421 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
      oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      09:56:02,484 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
      loy/jmx-console.war/
      09:56:02,656 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.jms:alias=QueueConnectionFactory
      State: FAILED
      Reason: javax.naming.CommunicationException: Receive timed out [Root exception
      is java.net.SocketTimeoutException: Receive timed out]

      ObjectName: jboss.jms:alias=TopicConnectionFactory
      State: FAILED
      Reason: javax.naming.CommunicationException: Receive timed out [Root exception
      is java.net.SocketTimeoutException: Receive timed out]

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.jms:alias=TopicConnectionFactory
      State: FAILED
      Reason: javax.naming.CommunicationException: Receive timed out [Root exception
      is java.net.SocketTimeoutException: Receive timed out]

      ObjectName: jboss.jms:alias=QueueConnectionFactory
      State: FAILED
      Reason: javax.naming.CommunicationException: Receive timed out [Root exception
      is java.net.SocketTimeoutException: Receive timed out]


      09:56:02,734 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
      0
      09:56:02,875 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      09:56:02,921 INFO [JkMain] Jk running ID=0 time=0/93 config=null
      09:56:02,921 INFO [Server] JBoss (MX MicroKernel) [4.0.3RC2 (build: CVSTag=Bran
      ch_4_0 date=200508131954)] Started in 41s:734ms
      09:58:12,843 ERROR [StandardServer] StoreConfig mbean not registeredCatalina:typ
      e=StoreConfig
      09:59:19,718 INFO [STDOUT] IOException:java.io.FileNotFoundException: C:\Progra
      m%20Files\Java\jdk1.5.0_05\jre\lib\flavormap.properties while loading default fl
      avormap.properties file:C:\Program Files\Java\jdk1.5.0_05\jre\lib\flavormap.prop
      erties


      thanks in advance,