1 Reply Latest reply on Sep 9, 2005 4:06 AM by normanfung

    JBoss Portal - fail to start JBoss...

    normanfung

      I just downloaded JBoss Portal and trying to start JBoss - I'm running into this situation:




      C:\jboss\jboss-portal-2.0-jboss-4.0.2\bin>run
      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: C:\jboss\jboss-portal-2.0-jboss-4.0.2\bin\\..
      .
      JAVA: C:\Program Files\Java\jdk1.5.0_04\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
      .
      CLASSPATH: C:\Program Files\Java\jdk1.5.0_04\lib\tools.jar;C:\jboss\jboss-port
      al-2.0-jboss-4.0.2\bin\\run.jar
      .
      ===============================================================================
      .
      15:56:03,368 INFO [Server] Starting JBoss (MX MicroKernel)...
      15:56:03,368 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_
      4_0_2 date=200505022023)
      15:56:03,368 INFO [Server] Home Dir: C:\jboss\jboss-portal-2.0-jboss-4.0.2
      15:56:03,368 INFO [Server] Home URL: file:/C:/jboss/jboss-portal-2.0-jboss-4.0.
      2/
      15:56:03,368 INFO [Server] Library URL: file:/C:/jboss/jboss-portal-2.0-jboss-4
      .0.2/lib/
      15:56:03,383 INFO [Server] Patch URL: null
      15:56:03,383 INFO [Server] Server Name: default
      15:56:03,383 INFO [Server] Server Home Dir: C:\jboss\jboss-portal-2.0-jboss-4.0
      .2\server\default
      15:56:03,383 INFO [Server] Server Home URL: file:/C:/jboss/jboss-portal-2.0-jbo
      ss-4.0.2/server/default/
      15:56:03,415 INFO [Server] Server Data Dir: C:\jboss\jboss-portal-2.0-jboss-4.0
      .2\server\default\data
      15:56:03,415 INFO [Server] Server Temp Dir: C:\jboss\jboss-portal-2.0-jboss-4.0
      .2\server\default\tmp
      15:56:03,415 INFO [Server] Server Config URL: file:/C:/jboss/jboss-portal-2.0-j
      boss-4.0.2/server/default/conf/
      15:56:03,415 INFO [Server] Server Library URL: file:/C:/jboss/jboss-portal-2.0-
      jboss-4.0.2/server/default/lib/
      15:56:03,415 INFO [Server] Root Deployment Filename: jboss-service.xml
      15:56:03,415 INFO [Server] Starting General Purpose Architecture (GPA)...
      15:56:04,368 INFO [ServerInfo] Java version: 1.5.0_04,Sun Microsystems Inc.
      15:56:04,368 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_04-b05
      ,Sun Microsystems Inc.
      15:56:04,368 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      15:56:05,321 INFO [Server] Core system initialized
      15:56:05,571 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jbos
      s/jboss-portal-2.0-jboss-4.0.2/server/default/conf/jboss-service.xml
      org.jboss.deployment.DeploymentException: C:\jboss\jboss-portal-2.0-jboss-4.0.2\
      server\default\lib; - nested throwable: (java.io.FileNotFoundException: C:\jboss
      \jboss-portal-2.0-jboss-4.0.2\server\default\lib)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:188)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
      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:121)
      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:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
      at org.jboss.Main.boot(Main.java:195)
      at org.jboss.Main$1.run(Main.java:463)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.io.FileNotFoundException: C:\jboss\jboss-portal-2.0-jboss-4.0.2\
      server\default\lib
      at org.jboss.net.protocol.file.FileURLLister.listMembers(FileURLLister.j
      ava:38)
      at org.jboss.net.protocol.URLListerBase.listMembers(URLListerBase.java:4
      0)
      at org.jboss.net.protocol.URLListerBase.listMembers(URLListerBase.java:4
      5)
      at org.jboss.deployment.SARDeployer.parseXMLClasspath(SARDeployer.java:4
      83)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:164)
      ... 23 more
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: C:\jboss\jboss-portal-2.0-jboss-4.0.2\
      server\default\lib; - nested throwable: (java.io.FileNotFoundException: C:\jboss
      \jboss-portal-2.0-jboss-4.0.2\server\default\lib)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:188)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
      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:121)
      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:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
      at org.jboss.Main.boot(Main.java:195)
      at org.jboss.Main$1.run(Main.java:463)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.io.FileNotFoundException: C:\jboss\jboss-portal-2.0-jboss-4.0.2\
      server\default\lib
      at org.jboss.net.protocol.file.FileURLLister.listMembers(FileURLLister.j
      ava:38)
      at org.jboss.net.protocol.URLListerBase.listMembers(URLListerBase.java:4
      0)
      at org.jboss.net.protocol.URLListerBase.listMembers(URLListerBase.java:4
      5)
      at org.jboss.deployment.SARDeployer.parseXMLClasspath(SARDeployer.java:4
      83)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:164)
      ... 23 more
      15:56:05,774 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      Shutting down
      15:56:05,805 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM
      Press any key to continue . . .


      At first I was suspecting port conflict with IIS (Windows), I shut it down, then restarted with IIS off, but it didn't help. Any pointer? Thanks in advance.