1 Reply Latest reply on Dec 21, 2004 8:42 AM by Oleg V. Safonov

    Installation (iiop-service problem)

    Vitaliy Morarian Newbie

      Hello.

      I downloaded JBoss 4.0.0. On startup process always appears strange exception (but application that is deployed works).

      How this exception could be fixed?

      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: C:\java\jboss-4.0.0\bin\\..
      .
      JAVA: C:\java\j2sdk1.4.2_03\bin\java
      .
      JAVA_OPTS: -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dprogram.name=run.bat -Xms128m -Xmx512m
      .
      CLASSPATH: C:\java\j2sdk1.4.2_03\lib\tools.jar;C:\java\jboss-4.0.0\bin\\run.jar
      .
      ===============================================================================
      .
      12:22:59,218 INFO [Server] Starting JBoss (MX MicroKernel)...
      12:22:59,218 INFO [Server] Release ID: JBoss [Zion] 4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418)
      12:22:59,218 INFO [Server] Home Dir: C:\java\jboss-4.0.0
      12:22:59,218 INFO [Server] Home URL: file:/C:/java/jboss-4.0.0/
      12:22:59,218 INFO [Server] Library URL: file:/C:/java/jboss-4.0.0/lib/
      12:22:59,218 INFO [Server] Patch URL: null
      12:22:59,218 INFO [Server] Server Name: default
      12:22:59,218 INFO [Server] Server Home Dir: C:\java\jboss-4.0.0\server\default
      12:22:59,218 INFO [Server] Server Home URL: file:/C:/java/jboss-4.0.0/server/default/
      12:22:59,218 INFO [Server] Server Data Dir: C:\java\jboss-4.0.0\server\default\data
      12:22:59,234 INFO [Server] Server Temp Dir: C:\java\jboss-4.0.0\server\default\tmp
      12:22:59,234 INFO [Server] Server Config URL: file:/C:/java/jboss-4.0.0/server/default/conf/
      12:22:59,234 INFO [Server] Server Library URL: file:/C:/java/jboss-4.0.0/server/default/lib/
      12:22:59,234 INFO [Server] Root Deployment Filename: jboss-service.xml
      12:22:59,234 INFO [Server] Starting General Purpose Architecture (GPA)...
      12:22:59,718 INFO [ServerInfo] Java version: 1.4.2_03,Sun Microsystems Inc.
      12:22:59,718 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_03-b02,Sun Microsystems Inc.
      12:22:59,718 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      12:23:00,187 INFO [Server] Core system initialized
      12:23:02,968 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      12:23:03,109 INFO [WebService] Using RMI server codebase: http://brain:8083/
      12:23:03,375 INFO [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jbo
      ss.net.sockets.DefaultSocketFactory@ad093076
      12:23:07,656 INFO [Embedded] Catalina naming disabled
      12:23:08,765 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
      12:23:08,828 INFO [Catalina] Initialization processed in 1063 ms
      12:23:08,828 INFO [StandardService] Starting service jboss.web
      12:23:08,843 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.28
      12:23:08,859 INFO [StandardHost] XML validation disabled
      12:23:08,890 INFO [Catalina] Server startup in 62 ms
      12:23:09,156 INFO [TomcatDeployer] deploy, ctxPath=/ebxmlrr, warUrl=file:/C:/java/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/ebxmlrr.war/
      12:23:09,609 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
      12:23:10,031 INFO [STDOUT] Initialized REST
      12:23:10,250 INFO [SAAJServlet] init
      12:23:10,921 INFO [SAAJServlet] init
      12:23:11,203 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/java/jboss-4.0.0/server/default/tmp/deploy/tmp54582jboss-ws4ee-exp.war/
      12:23:11,453 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/java/jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
      12:23:12,546 ERROR [MainDeployer] could not create deployment: file:/C:/java/jboss-4.0.0/server/default/deploy/iiop-service.xml
      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:139)
      at org.jboss.system.ServiceController.install(ServiceController.java:200)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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:242)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:208)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
      at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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:242)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:416)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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:242)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:693)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:396)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293)
      at org.jboss.Main.boot(Main.java:151)
      at org.jboss.Main$1.run(Main.java:405)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: java.lang.reflect.UndeclaredThrowableException
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:204)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:149)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
      ... 80 more
      Caused by: java.lang.NoClassDefFoundError: org/jboss/iiop/CorbaNamingService$NamingContextImpl
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
      at java.lang.Class.getConstructor0(Class.java:1922)
      at java.lang.Class.getConstructor(Class.java:1019)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1211)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:269)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:327)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:125)
      ... 82 more
      12:23:13,468 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/java/jboss-4.0.0/server/default/deploy/jboss-local-jdbc.rar
      12:23:13,671 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/java/jboss-4.0.0/server/default/deploy/jboss-xa-jdbc.rar
      12:23:13,859 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/java/jboss-4.0.0/server/default/deploy/jms/jms-ra.rar
      12:23:15,468 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSourceB
      nding to JNDI name 'java:DefaultDS'
      12:23:15,859 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=JmsXA,service=Connecti
      nFactoryBinding to JNDI name 'java:JmsXA'
      12:23:16,500 INFO [A] Bound to JNDI name: queue/A
      12:23:16,500 INFO [B] Bound to JNDI name: queue/B
      12:23:16,500 INFO [C] Bound to JNDI name: queue/C
      12:23:16,515 INFO [D] Bound to JNDI name: queue/D
      12:23:16,515 INFO [ex] Bound to JNDI name: queue/ex
      12:23:16,718 INFO [testTopic] Bound to JNDI name: topic/testTopic
      12:23:16,734 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      12:23:16,734 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
      12:23:16,734 INFO [testQueue] Bound to JNDI name: queue/testQueue
      12:23:16,734 INFO [DLQ] Bound to JNDI name: queue/DLQ
      12:23:16,937 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
      12:23:17,468 INFO [MailService] Mail Service bound to java:/Mail
      12:23:18,031 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/java/jboss-4.0.0/server/default/deploy/jmx-console.war/
      12:23:18,343 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/java/jboss-4.0.0/server/default/deploy/management/web-console.war/
      12:23:19,171 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      Incompletely deployed packages:
      org.jboss.deployment.DeploymentInfo@48ca804c { url=file:/C:/java/jboss-4.0.0/server/default/deploy/iiop-service.xml }
      deployer: org.jboss.deployment.SARDeployer@5e55ab
      status: Deployment FAILED reason: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
      state: FAILED
      watch: file:/C:/java/jboss-4.0.0/server/default/deploy/iiop-service.xml
      altDD: null
      lastDeployed: 1103624592468
      lastModified: 1103624592453
      mbeans:


      12:23:19,421 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      12:23:19,656 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
      12:23:19,671 INFO [JkMain] Jk running ID=0 time=0/78 config=null
      12:23:19,687 INFO [Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418)] Started in 20s:109ms