5 Replies Latest reply on Nov 27, 2006 9:58 AM by Naiden Gochev

    HOW TO INSTALL JBoss Portal over my jboss-4.0.4.GA

    Naiden Gochev Newbie

      on starter guide they say : download bundled version
      i dont want bundled version
      i have Jboss 4.0.4 GA with some EJB 3.0 beans and i want to install JBoss Portal over it .
      how to do it
      when i unextract JBOSS portal i have :
      docs
      jboss-portal.sar
      jboss-portal-ha.sar
      setup

      thats all where i must copy this folders to everythink start work :)

        • 2. Re: HOW TO INSTALL JBoss Portal over my jboss-4.0.4.GA
          Naiden Gochev Newbie

          why i need to configure a database
          when i download the bundled version i just click run and have fun
          dont have to configure anythink .. that strange..

          • 3. Re: HOW TO INSTALL JBoss Portal over my jboss-4.0.4.GA
            Thomas Heute Master

            Because it is bundled in the "bundled version", hence the name.

            You can still use the embedded Hypersonic database for development if you want, you still has to copy the correct descriptor from the setup directory: hsqldb-ds.xml.

            • 4. Re: HOW TO INSTALL JBoss Portal over my jboss-4.0.4.GA
              Naiden Gochev Newbie

              i have copy this file and jboss-portal.sar to server\default\deploy
              and start jboss app server from run
              im using JVM 1.5 i get some messages failed major version 49.0 etc :
              rg.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.ejb3.JarsIgnoredForScanning, msg=org/jboss/ejb3/JarsIgnoredForScanning (Unsupported major.minor version 49.0); - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.ejb3.JarsIgnoredForScanning, msg=org/jboss/ejb3/JarsIgnoredForScanning (Unsupported major.minor version 49.0))
              at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)

              and i see on the loading some Mbeans stuffs like :

              ObjectName: portal:commandFactory=CMSObject
              State: CONFIGURED
              I Depend On:
              portal:service=CMS
              Depends On Me:
              portal:commandFactory=Delegate,path=content
              i hope this is okei
              but when i try to open the portal after the server started
              http://localhost:8080/portal
              i get
              java.lang.IllegalStateException: Cannot get portal server
              org.jboss.portal.server.servlet.PortalServlet.getServer(PortalServlet.java:130)
              org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:346)
              javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
              org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


              full stack trace :

              2006-11-27 15:16:47,477 ERROR [org.jboss.portal.server.servlet.PortalServlet] Cannot get portal server
              org.jboss.mx.util.MBeanProxyCreationException: Object name portal:service=Server not found: javax.management.InstanceNotFoundException: portal:service=Server is not registered.
              at org.jboss.mx.util.JMXInvocationHandler.(JMXInvocationHandler.java:163)
              at org.jboss.mx.util.MBeanProxy.get(MBeanProxy.java:90)
              at org.jboss.mx.util.MBeanProxy.get(MBeanProxy.java:78)
              at org.jboss.portal.server.servlet.PortalServlet.getServer(PortalServlet.java:124)
              at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:346)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
              at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
              at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
              at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
              at java.lang.Thread.run(Thread.java:534)
              2006-11-27 15:16:47,477 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal].[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception
              java.lang.IllegalStateException: Cannot get portal server
              at org.jboss.portal.server.servlet.PortalServlet.getServer(PortalServlet.java:130)
              at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:346)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
              at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
              at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
              at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
              at java.lang.Thread.run(Thread.java:534)

              • 5. Re: HOW TO INSTALL JBoss Portal over my jboss-4.0.4.GA
                Naiden Gochev Newbie

                ou my fault
                it works ok :)
                i was set JAVA_HOME to 1.4.2 :(
                nOob :+))
                sorry thanks m8 all is okei