1 Reply Latest reply on Aug 24, 2007 8:23 PM by Senthil D

    Problem with JBoss portal setup

    Senthil D Newbie

      Hi,

      I'm trying to setup JBoss portal in my machine.

      Setup Details:
      JDK installed - j2sdk1.4.2_15
      MySQL 5 (ds copied to deployment directory)
      JBoss AS - jboss-4.0.3SP1
      JBoss Portal - jboss-portal-2.2.0

      Env. Variables:
      JAVA_HOME = C:\j2sdk1.4.2_15
      JBOSS_HOME = C:\Program Files\jboss-4.0.3SP1


      I can access the local JBoss server. When I tried accessing the portal page, I get the following error:

      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: C:\Program Files\jboss-4.0.3SP1\bin\\..
      .
      JAVA: C:\j2sdk1.4.2_15\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
      .
      CLASSPATH: C:\j2sdk1.4.2_15\lib\tools.jar;C:\Program Files\jboss-4.0.3SP1\bin\
      \run.jar
      .
      ===============================================================================
      .
      17:16:28,332 INFO [Server] Starting JBoss (MX MicroKernel)...
      17:16:28,363 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBo
      ss_4_0_3_SP1 date=200510231751)
      17:16:28,363 INFO [Server] Home Dir: C:\Program Files\jboss-4.0.3SP1
      17:16:28,363 INFO [Server] Home URL: file:/C:/Program Files/jboss-4.0.3SP1/
      17:16:28,363 INFO [Server] Patch URL: null
      17:16:28,363 INFO [Server] Server Name: default
      17:16:28,363 INFO [Server] Server Home Dir: C:\Program Files\jboss-4.0.3SP1\ser
      ver\default
      17:16:28,363 INFO [Server] Server Home URL: file:/C:/Program Files/jboss-4.0.3S
      P1/server/default/
      17:16:28,363 INFO [Server] Server Temp Dir: C:\Program Files\jboss-4.0.3SP1\ser
      ver\default\tmp
      17:16:28,363 INFO [Server] Root Deployment Filename: jboss-service.xml
      17:16:28,863 INFO [ServerInfo] Java version: 1.4.2_15,Sun Microsystems Inc.
      17:16:28,863 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_15-b02
      ,Sun Microsystems Inc.
      17:16:28,863 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      17:16:29,363 INFO [Server] Core system initialized
      17:16:30,550 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
      ce:log4j.xml
      17:16:33,800 ERROR [MainDeployer] Could not create deployment: file:/C:/Program
      Files/jboss-4.0.3SP1/server/default/deploy/jboss-portal.sar/
      java.lang.NoClassDefFoundError: javax/activation/MimeTypeParseException
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)


      Can somebody point what am I missing. Do I need to set any other environment varaibles?

      Thanks for your time,
      SD

        • 1. Re: Problem with JBoss portal setup
          Senthil D Newbie

          Sorry, when I start the server I get the above error. When I open the portal page, the following error is dispalyed:

          java.lang.IllegalStateException: Cannot get portal server

          I tried deploying the latest portal jboss-portal-2.6.1.GA and when I start the server, I get the following error:

          ===============================================================================
          .
          JBoss Bootstrap Environment
          .
          JBOSS_HOME: C:\Program Files\jboss-4.0.3SP1\bin\\..
          .
          JAVA: C:\j2sdk1.4.2_15\bin\java
          .
          JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
          .
          CLASSPATH: C:\j2sdk1.4.2_15\lib\tools.jar;C:\Program Files\jboss-4.0.3SP1\bin\
          \run.jar
          .
          ===============================================================================
          .
          17:08:12,241 INFO [Server] Starting JBoss (MX MicroKernel)...
          17:08:12,256 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBo
          ss_4_0_3_SP1 date=200510231751)
          17:08:12,256 INFO [Server] Home Dir: C:\Program Files\jboss-4.0.3SP1
          17:08:12,256 INFO [Server] Home URL: file:/C:/Program Files/jboss-4.0.3SP1/
          17:08:12,256 INFO [Server] Patch URL: null
          17:08:12,256 INFO [Server] Server Name: default
          17:08:12,256 INFO [Server] Server Home Dir: C:\Program Files\jboss-4.0.3SP1\ser
          ver\default
          17:08:12,272 INFO [Server] Server Home URL: file:/C:/Program Files/jboss-4.0.3S
          P1/server/default/
          17:08:12,272 INFO [Server] Server Temp Dir: C:\Program Files\jboss-4.0.3SP1\ser
          ver\default\tmp
          17:08:12,272 INFO [Server] Root Deployment Filename: jboss-service.xml
          17:08:12,990 INFO [ServerInfo] Java version: 1.4.2_15,Sun Microsystems Inc.
          17:08:12,990 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_15-b02
          ,Sun Microsystems Inc.
          17:08:12,990 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
          17:08:13,568 INFO [Server] Core system initialized
          17:08:14,943 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
          ce:log4j.xml
          17:08:18,067 ERROR [MainDeployer] Could not create deployment: file:/C:/Program
          Files/jboss-4.0.3SP1/server/default/deploy/jboss-portal.sar/portal-cms.sar/porta
          l-workflow.sar/
          org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect
          .UndeclaredThrowableException)

          thanks