8 Replies Latest reply on Dec 9, 2005 9:23 AM by glodo

    install jboss portal 2.0

    pedrosacosta

      I tried to install jboss portal 2.0 in jboss, and when i run it, the shell prints:

      
      --- MBeans waiting for other MBeans ---
      ObjectName: portal:service=CMS
       State: CONFIGURED
       I Depend On:
       jboss.cache:service=InvalidationManager
       jboss.jca:service=DataSourceBinding,name=PortalDS
       Depends On Me:
       portal:service=Tree
      
      ObjectName: portal:service=Tree
       State: CONFIGURED
       I Depend On:
       portal:service=CMS
       Depends On Me:
       portal:service=Module,type=Security
      
      ObjectName: portal:service=Hibernate
       State: CONFIGURED
       I Depend On:
       jboss.jca:service=DataSourceBinding,name=PortalDS
       Depends On Me:
       portal:service=Module,type=User
       portal:service=Module,type=Role
       portal:service=Module,type=Security
       portal:service=ServerManager
      
      ObjectName: portal:service=Module,type=User
       State: CONFIGURED
       I Depend On:
       portal:service=Hibernate
       Depends On Me:
       portal:service=Module,type=Mail
      
      ObjectName: portal:service=Module,type=Role
       State: CONFIGURED
       I Depend On:
       portal:service=Hibernate
      
      ObjectName: portal:service=Module,type=Security
       State: CONFIGURED
       I Depend On:
       portal:service=Hibernate
       portal:service=Tree
      
      ObjectName: portal:service=Module,type=Mail
       State: CONFIGURED
       I Depend On:
       portal:service=Module,type=User
      
      ObjectName: portal:service=ServerManager
       State: CONFIGURED
       I Depend On:
       portal:service=Hibernate
       portal:service=Configuration
       portal:service=ObjectFactory
       portal:service=ThemeServer
       portal:service=LayoutServer
       Depends On Me:
       portal:service=Deployer,type=PortalWebApp
      
      ObjectName: portal:service=Deployer,type=PortalWebApp
       State: CONFIGURED
       I Depend On:
       jboss.system:service=MainDeployer
       portal:service=ServerManager
       Depends On Me:
       portal:service=Deployer,type=JBoss
       portal:service=Deployer,type=Adapter
      
      ObjectName: portal:service=Deployer,type=JBoss
       State: CONFIGURED
       I Depend On:
       portal:service=Deployer,type=PortalWebApp
      
      ObjectName: portal:service=Deployer,type=Adapter
       State: CONFIGURED
       I Depend On:
       portal:service=Deployer,type=PortalWebApp
       jboss.web:service=WebServer
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.jca:service=DataSourceBinding,name=PortalDS
       State: NOTYETINSTALLED
       Depends On Me:
       portal:service=CMS
       portal:service=Hibernate
      




      When i go to localhost:8080/portal, i get the error:

      
      10:02:06,818 ERROR [[PortalServlet]] Servlet.service() for servlet PortalServlet threw exception
      java.lang.NullPointerException
       at org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:68)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       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.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:79)
       at ...
      


      What's missing to install correctly my jboss portal?

      Where can i download jboss portal 2.2? This version is only available via CVS?

      Thanks

        • 1. Re: install jboss portal 2.0
          pedrosacosta

          I think that i've to explain more accurately my problem.

          I've tried to install jboss portal in jboss 4.0.3SP1. But when i try to run jboss portal, it gives me an error. See the output below.
          I know that i haven't created by myself and database entry, but i have some doubts (i've already read the userguide, and i still have this questions):

          Is really necessary to build a DB?
          Is mySQL the default DB engine that jboss uses?
          The new database must be named jbossportal? And, i've to change any xml associated?
          I must have mysql installed? I must run mysql before i run jboss4.0.3SP1?

          I've put all the output to understand better my problem.

          
          ===============================================================================
          .
           JBoss Bootstrap Environment
          .
           JBOSS_HOME: C:\Program Files\jboss-4.0.3SP1\bin\\..
          .
           JAVA: C:\Program Files\Java\jdk1.5.0_02\bin\java
          .
           JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
          .
           CLASSPATH: C:\Program Files\Java\jdk1.5.0_02\lib\tools.jar;C:\Program Files\jboss-4.0.3SP1\bin\\ru
          n.jar
          .
          ===============================================================================
          .
          10:17:22,065 INFO [Server] Starting JBoss (MX MicroKernel)...
          10:17:22,065 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=20
          0510231751)
          10:17:22,065 INFO [Server] Home Dir: C:\Program Files\jboss-4.0.3SP1
          10:17:22,065 INFO [Server] Home URL: file:/C:/Program Files/jboss-4.0.3SP1/
          10:17:22,065 INFO [Server] Patch URL: null
          10:17:22,065 INFO [Server] Server Name: default
          10:17:22,065 INFO [Server] Server Home Dir: C:\Program Files\jboss-4.0.3SP1\server\default
          10:17:22,065 INFO [Server] Server Home URL: file:/C:/Program Files/jboss-4.0.3SP1/server/default/
          10:17:22,065 INFO [Server] Server Temp Dir: C:\Program Files\jboss-4.0.3SP1\server\default\tmp
          10:17:22,065 INFO [Server] Root Deployment Filename: jboss-service.xml
          10:17:22,377 INFO [ServerInfo] Java version: 1.5.0_02,Sun Microsystems Inc.
          10:17:22,377 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_02-b09,Sun Microsystems In
          c.
          10:17:22,377 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
          10:17:22,938 INFO [Server] Core system initialized
          10:17:24,076 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
          10:17:25,992 INFO [EJB3Deployer] Default persistence.properties: {hibernate.transaction.flush_befor
          e_completion=false, hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces,
           hibernate.transaction.auto_close_session=false, hibernate.jndi.java.naming.factory.initial=org.jnp.
          interfaces.NamingContextFactory, hibernate.cache.provider_class=org.hibernate.cache.HashtableCachePr
          ovider, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManager
          Lookup, hibernate.dialect=org.hibernate.dialect.HSQLDialect, hibernate.query.factory_class=org.hiber
          nate.hql.ast.ASTQueryTranslatorFactory, hibernate.hbm2ddl.auto=create-drop, hibernate.connection.dat
          asource=java:/DefaultDS, hibernate.connection.release_mode=after_statement}
          10:17:26,008 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://192.1
          68.25.49:3873/0.0.0.0:3873]
          10:17:26,413 INFO [AspectDeployer] Deployed AOP: file:/C:/Program Files/jboss-4.0.3SP1/server/defau
          lt/deploy/ejb3-interceptors-aop.xml
          10:17:30,340 INFO [WebService] Using RMI server codebase: http://dwprc:8083/
          10:17:30,558 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=64;l
          oopback=false;mcast_addr=228.1.2.3;mcast_port=45551;mcast_recv_buf_size=80000;mcast_send_buf_size=15
          0000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_member
          s=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;
          shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKA
          CK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=fa
          lse):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE
          (desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;u
          p_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true
          ):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
          10:17:30,574 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
          10:17:30,574 WARN [TreeCache] No transaction manager lookup class has been defined. Transactions ca
          nnot be used
          10:17:30,605 INFO [TreeCache] interceptor chain is:
          class org.jboss.cache.interceptors.CallInterceptor
          class org.jboss.cache.interceptors.LockInterceptor
          class org.jboss.cache.interceptors.CacheLoaderInterceptor
          class org.jboss.cache.interceptors.UnlockInterceptor
          class org.jboss.cache.interceptors.ReplicationInterceptor
          class org.jboss.cache.interceptors.CacheStoreInterceptor
          10:17:30,605 INFO [TreeCache] cache mode is REPL_SYNC
          10:17:30,838 INFO [STDOUT]
          -------------------------------------------------------
          GMS: address is dwprc:1526
          -------------------------------------------------------
          10:17:32,895 INFO [TreeCache] state could not be retrieved (must be first member in group)
          10:17:32,895 INFO [LRUPolicy] Starting eviction policy using the provider: org.jboss.ejb3.cache.tre
          e.StatefulEvictionPolicy
          10:17:32,895 INFO [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 1
          10:17:32,895 INFO [TreeCache] new cache is null (maybe first member in cluster)
          10:17:32,895 INFO [TreeCache] viewAccepted(): new members: [dwprc:1526]
          10:17:32,958 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=2;lo
          opback=false;mcast_addr=228.1.2.3;mcast_port=43333;mcast_recv_buf_size=80000;mcast_send_buf_size=150
          000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members
          =3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;s
          hun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKAC
          K(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=fal
          se):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=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_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true)
          :pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
          10:17:32,973 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
          10:17:34,812 INFO [MailService] Mail Service bound to java:/Mail
          10:17:35,170 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bi
          ndAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSoc
          ketFactory@ad093076
          10:17:35,186 INFO [DefaultPartition] Initializing
          10:17:35,217 INFO [STDOUT]
          -------------------------------------------------------
          GMS: address is dwprc:1529 (additional data: 18 bytes)
          -------------------------------------------------------
          10:17:37,227 INFO [DefaultPartition] Number of cluster members: 1
          10:17:37,227 INFO [DefaultPartition] Other members: 0
          10:17:37,227 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
          10:17:37,227 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta:
           0) : [192.168.25.49:1099]
          10:17:37,227 INFO [DefaultPartition] I am (null) received membershipChanged event:
          10:17:37,227 INFO [DefaultPartition] Dead members: 0 ([])
          10:17:37,227 INFO [DefaultPartition] New Members : 0 ([])
          10:17:37,227 INFO [DefaultPartition] All Members : 1 ([192.168.25.49:1099])
          10:17:37,259 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress
          =/0.0.0.0
          10:17:37,274 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=23
          0.0.0.4, HA-JNDI address=192.168.25.49:1100
          10:17:37,383 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
          10:17:37,383 INFO [TreeCache] cache mode is REPL_SYNC
          10:17:37,399 INFO [STDOUT]
          -------------------------------------------------------
          GMS: address is dwprc:1532
          -------------------------------------------------------
          10:17:39,409 INFO [TreeCache] state could not be retrieved (must be first member in group)
          10:17:39,409 INFO [LRUPolicy] Starting eviction policy using the provider: org.jboss.cache.eviction
          .LRUPolicy
          10:17:39,409 INFO [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 5
          10:17:39,409 INFO [TreeCache] viewAccepted(): new members: [dwprc:1532]
          10:17:39,409 INFO [TreeCache] new cache is null (maybe first member in cluster)
          10:17:40,250 INFO [Embedded] Catalina naming disabled
          10:17:40,562 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
          10:17:40,562 INFO [Catalina] Initialization processed in 265 ms
          10:17:40,562 INFO [StandardService] Starting service jboss.web
          10:17:40,562 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5
          10:17:40,593 INFO [StandardHost] XML validation disabled
          10:17:40,624 INFO [Catalina] Server startup in 62 ms
          10:17:40,765 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/inv
          oker.war/
          10:17:41,061 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
          10:17:41,481 INFO [TomcatDeployer] deploy, ctxPath=/webdav, warUrl=.../deploy/jboss-portal.sar/port
          al-cms.war/
          10:17:41,622 INFO [TomcatDeployer] deploy, ctxPath=/portal-core, warUrl=.../deploy/jboss-portal.sar
          /portal-core.war/
          10:17:41,777 INFO [TomcatDeployer] deploy, ctxPath=/portal, warUrl=.../deploy/jboss-portal.sar/port
          al-server.war/
          10:17:41,949 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp42866jboss-ws4e
          e-exp.war/
          10:17:42,074 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.
          war/
          10:17:42,183 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-h
          ttpil.sar/jbossmq-httpil.war/
          10:17:42,292 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/conso
          le-mgr.sar/web-console.war/
          10:17:42,899 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=8;lo
          opback=false;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=80000;mcast_send_buf_size=150
          000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members
          =3;timeout=2000;up_thread=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=false;gc_lag=50;max_xmit
          _size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_thre
          shold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=f
          alse;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_TRANSFER(down_thread=tru
          e;up_thread=true)
          10:17:42,899 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
          10:17:42,899 INFO [TreeCache] cache mode is REPL_ASYNC
          10:17:42,946 INFO [STDOUT]
          -------------------------------------------------------
          GMS: address is dwprc:1536
          -------------------------------------------------------
          10:17:44,956 INFO [TreeCache] viewAccepted(): new members: [dwprc:1536]
          10:17:44,956 INFO [TreeCache] state could not be retrieved (must be first member in group)
          10:17:44,956 INFO [TreeCache] new cache is null (maybe first member in cluster)
          10:17:45,268 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/
          jboss-ha-local-jdbc.rar
          10:17:45,377 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/
          jboss-ha-xa-jdbc.rar
          10:17:45,471 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/
          jboss-local-jdbc.rar
          10:17:45,580 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/
          jboss-xa-jdbc.rar
          10:17:45,658 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/
          jms/jms-ra.rar
          10:17:45,720 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/
          mail-ra.rar
          10:17:46,608 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Data
          SourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
          10:17:46,889 INFO [A] Bound to JNDI name: queue/A
          10:17:46,889 INFO [B] Bound to JNDI name: queue/B
          10:17:46,889 INFO [C] Bound to JNDI name: queue/C
          10:17:46,889 INFO [D] Bound to JNDI name: queue/D
          10:17:46,889 INFO [ex] Bound to JNDI name: queue/ex
          10:17:46,904 INFO [testTopic] Bound to JNDI name: topic/testTopic
          10:17:46,904 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
          10:17:46,904 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
          10:17:46,920 INFO [testQueue] Bound to JNDI name: queue/testQueue
          10:17:46,967 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
          10:17:46,998 INFO [DLQ] Bound to JNDI name: queue/DLQ
          10:17:47,138 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Conn
          ectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
          10:17:47,185 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
          
          10:17:47,309 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
          
          --- MBeans waiting for other MBeans ---
          ObjectName: portal:service=CMS
           State: CONFIGURED
           I Depend On:
           jboss.cache:service=InvalidationManager
           jboss.jca:service=DataSourceBinding,name=PortalDS
           Depends On Me:
           portal:service=Tree
          
          ObjectName: portal:service=Tree
           State: CONFIGURED
           I Depend On:
           portal:service=CMS
           Depends On Me:
           portal:service=Module,type=Security
          
          ObjectName: portal:service=Hibernate
           State: CONFIGURED
           I Depend On:
           jboss.jca:service=DataSourceBinding,name=PortalDS
           Depends On Me:
           portal:service=Module,type=User
           portal:service=Module,type=Role
           portal:service=Module,type=Security
           portal:service=ServerManager
          
          ObjectName: portal:service=Module,type=User
           State: CONFIGURED
           I Depend On:
           portal:service=Hibernate
           Depends On Me:
           portal:service=Module,type=Mail
          
          ObjectName: portal:service=Module,type=Role
           State: CONFIGURED
           I Depend On:
           portal:service=Hibernate
          
          ObjectName: portal:service=Module,type=Security
           State: CONFIGURED
           I Depend On:
           portal:service=Hibernate
           portal:service=Tree
          
          ObjectName: portal:service=Module,type=Mail
           State: CONFIGURED
           I Depend On:
           portal:service=Module,type=User
          
          ObjectName: portal:service=ServerManager
           State: CONFIGURED
           I Depend On:
           portal:service=Hibernate
           portal:service=Configuration
           portal:service=ObjectFactory
           portal:service=ThemeServer
           portal:service=LayoutServer
           Depends On Me:
           portal:service=Deployer,type=PortalWebApp
          
          ObjectName: portal:service=Deployer,type=PortalWebApp
           State: CONFIGURED
           I Depend On:
           jboss.system:service=MainDeployer
           portal:service=ServerManager
           Depends On Me:
           portal:service=Deployer,type=JBoss
           portal:service=Deployer,type=Adapter
          
          ObjectName: portal:service=Deployer,type=JBoss
           State: CONFIGURED
           I Depend On:
           portal:service=Deployer,type=PortalWebApp
          
          ObjectName: portal:service=Deployer,type=Adapter
           State: CONFIGURED
           I Depend On:
           portal:service=Deployer,type=PortalWebApp
           jboss.web:service=WebServer
          
          --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
          ObjectName: jboss.jca:service=DataSourceBinding,name=PortalDS
           State: NOTYETINSTALLED
           Depends On Me:
           portal:service=CMS
           portal:service=Hibernate
          
          
          10:17:47,356 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
          10:17:47,481 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
          10:17:47,481 INFO [JkMain] Jk running ID=0 time=0/16 config=null
          10:17:47,496 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: 7CVSTag=JBoss_4_0_3_SP1 date=200
          510231751)] Started in 25s:415ms
          


          When i try to enter localhost:8080/portal i get the error:

          10:19:23,524 ERROR [[PortalServlet]] Servlet.service() for servlet PortalServlet threw exception
          java.lang.NullPointerException
           at org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:68)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
           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.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:79)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202
          )
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
           at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
           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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
          
           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
           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:856)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol
          .java:744)
           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:595)
          
          


          Have i misplaced something to do?

          Thanks

          • 2. Re: install jboss portal 2.0
            dsimon

            You need to have the PortalDS data source properly defined so that Hibernate can store the user preferences for the portlets (state, etc.). This does not have to be a MySQL database -- you have simply deployed the MySQL datasource definition. The errors you are seeing are due to the inability of the server to connect into the database that has been defined in your data source definition file.

            You'll find a decent bit of information on this in the setup instructions for Portal....which detail the proper selection/deployment of the data source definition.

            • 3. Re: install jboss portal 2.0
              pedrosacosta

              I've portal-mysql-ds.xml in C:\Program Files\jboss-4.0.3SP1\server\default\deploy. The file has:

              <?xml version="1.0" encoding="UTF-8"?>
              <datasources>
               <local-tx-datasource>
               <jndi-name>PortalDS</jndi-name>
               <connection-url>jdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=false</connection-url>
               <driver-class>org.gjt.mm.mysql.Driver</driver-class>
               <user-name>portal</user-name>
               <password>portalpassword</password>
               </local-tx-datasource>
              </datasources>
              


              I've created a sql database named jbossportal, and i still have the error.

              What's wrong?


              • 4. Re: install jboss portal 2.0
                pedrosacosta

                I've forgot to tell, but, mysql is running normally.

                • 5. Re: install jboss portal 2.0
                  dsimon

                  portal-mysql-ds.xml declares the database name, the user name and the password to use to connect to the database.

                  1. You can create any database that you want, just make sure that the name of the database that you create in MySQL matches the name that the data source is set to connect to (i.e. change the xml file to match your database name).

                  2. You will likely need to edit the data source xml file to set the proper user name and password to connect into your database. The user that you declare should have full rights to the database.

                  • 6. Re: install jboss portal 2.0
                    glodo

                    hi! how are you. i have, more or less, the same problem. but i use jboss portal 2.0.1RC1 with jboss 4.0.3SP1, using oracle 10g. i have two doubts:
                    1. the instructions says the is necesary the oracle 10g JDBC connector under server/default/lib. i dont now if i have the right file, i find jboss-common-jdbc-wrapper.jar, is this the right connector or i have to download one?
                    2. and when i type http://localhost:8080/portal, i can see the page but when i click over "test" show me the following error:
                    javax.portlet.PortletException
                    at org.jboss.portlet.JBossPortlet.doHelp(JBossPortlet.java:243)
                    at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:221)
                    at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:204)
                    at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:347)
                    at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invokeRequest(DispatcherInterceptor.java:163)
                    at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invoke(DispatcherInterceptor.java:195)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.portlet.invocation.PreferencesInterceptor.invoke(PreferencesInterceptor.java:93)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:94)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                    at java.lang.reflect.Method.invoke(Unknown Source)
                    at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:49)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
                    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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
                    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
                    at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:58)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.core.invocation.AccessControlInterceptor.invoke(AccessControlInterceptor.java:125)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.server.invocation.component.CacheInterceptor.invoke(CacheInterceptor.java:74)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:238)
                    at org.jboss.portal.server.Component.invoke(Component.java:173)
                    at org.jboss.portal.server.invocation.portal.MainDispatcherInterceptor.invoke(MainDispatcherInterceptor.java:93)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.core.invocation.StrategyInterceptor.invoke(StrategyInterceptor.java:184)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.core.invocation.ViewInterceptor.invoke(ViewInterceptor.java:118)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.server.invocation.portal.TargetInterceptor.invoke(TargetInterceptor.java:153)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.core.invocation.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:117)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.core.invocation.UserContextInterceptor.invoke(UserContextInterceptor.java:92)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:238)
                    at org.jboss.portal.server.PortalServer.invoke(PortalServer.java:186)
                    at org.jboss.portal.server.servlet.AbstractMainServlet.invoke(AbstractMainServlet.java:78)
                    at org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:71)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
                    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.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:79)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
                    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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
                    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
                    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:856)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
                    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(Unknown Source)

                    if anyone nows what can be the problem, please help me
                    thank a lot!

                    • 7. Re: install jboss portal 2.0
                      wbirkhead

                      I don't use Oracle, but for MySQL I had to download a specific connector library, so I would guess Oracle is the same, the JDBC wrapper jar file is not what you need. Once the connector is put in the server/default/lib directory, you then need to define your DataSource with the proper database info (database, username, pw)

                      Once you do those two things you shoud be able to connect properly.

                      Will @ Amentra

                      • 8. Re: install jboss portal 2.0
                        glodo

                        thank so much! now is running the jboss portal.. now have another problem..
                        firstly, i was can see the page of admin, with all his privilegies.. but now.. i dont now way.. i can not again to see the page of admin.. just say that i have not access to this privilegies..
                        thank so much again for your help