0 Replies Latest reply on Jun 22, 2006 2:51 AM by Adi Kalamaro

    Problem deploying Jboss Portal Probably Oracle driver or DS

    Adi Kalamaro Newbie

      Hi I working with
      jboss-4.0.4.GA
      jboss-portal-2.2.1-SP1
      DB: Oracle10gR2

      I need your help I can't deploy Jboss portal and I think the problem is with the Oracle driver or the DS configuration.
      The only thing I did is that I put the OJDBC14 in the lib directory
      did I had to do any other thing? there there ony other drivers
      I dont have any clue I tried to find on the net and I didn't find any solution

      this is the portal-oracle-ds.xml I configured


      <?xml version="1.0" encoding="UTF-8"?>

      <local-tx-datasource>
      <jndi-name>PortalDS</jndi-name>
      <connection-url>jdbc:oracle:thin:@linux-oradev10:1521:newcrm</connection-url>
      <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
      <user-name>portal</user-name>
      rndportal
      </local-tx-datasource>

      the startup log is (sorry for taking to much forum space...)


      ion.java:88)
      19:24:52,171 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invo
      ke(AbstractMBeanInvoker.java:264)
      19:24:52,203 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
      eanServerImpl.java:659)
      19:24:52,234 ERROR [STDERR] at org.jboss.system.ServiceController$ServicePro
      xy.invoke(ServiceController.java:995)
      19:24:52,265 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      19:24:52,281 ERROR [STDERR] at org.jboss.system.ServiceController.start(Serv
      iceController.java:417)
      19:24:52,312 ERROR [STDERR] at org.jboss.system.ServiceController.start(Serv
      iceController.java:435)
      19:24:52,343 ERROR [STDERR] at org.jboss.system.ServiceController.start(Serv
      iceController.java:435)
      19:24:52,375 ERROR [STDERR] at org.jboss.system.ServiceController.start(Serv
      iceController.java:435)
      19:24:52,406 ERROR [STDERR] at org.jboss.system.ServiceController.start(Serv
      iceController.java:435)
      19:24:52,437 ERROR [STDERR] at org.jboss.system.ServiceController.start(Serv
      iceController.java:435)
      19:24:52,468 ERROR [STDERR] at org.jboss.system.ServiceController.start(Serv
      iceController.java:435)
      19:24:52,500 ERROR [STDERR] at org.jboss.system.ServiceController.start(Serv
      iceController.java:435)
      19:24:52,531 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor11.invoke(
      Unknown Source)
      19:24:52,562 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
      ke(DelegatingMethodAccessorImpl.java:25)
      19:24:52,593 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:5
      85)
      19:24:52,625 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.
      invoke(ReflectedDispatcher.java:155)
      19:24:52,656 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invoc
      ation.java:94)
      19:24:52,687 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat
      ion.java:86)
      19:24:52,718 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invo
      ke(AbstractMBeanInvoker.java:264)
      19:24:52,750 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
      eanServerImpl.java:659)
      19:24:52,781 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
      roxyExt.java:210)
      19:24:52,812 ERROR [STDERR] at $Proxy4.start(Unknown Source)
      19:24:52,843 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDep
      loyer.java:302)
      19:24:52,875 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(
      Native Method)
      19:24:52,906 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(N
      ativeMethodAccessorImpl.java:39)
      19:24:52,937 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
      ke(DelegatingMethodAccessorImpl.java:25)
      19:24:52,968 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:5
      85)
      19:24:53,000 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.
      invoke(ReflectedDispatcher.java:155)
      19:24:53,031 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invoc
      ation.java:94)
      19:24:53,062 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.
      invoke(AbstractInterceptor.java:133)
      19:24:53,093 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat
      ion.java:88)
      19:24:53,125 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationI
      nterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      19:24:53,156 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat
      ion.java:88)
      19:24:53,187 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invo
      ke(AbstractMBeanInvoker.java:264)
      19:24:53,218 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
      eanServerImpl.java:659)
      19:24:53,250 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
      roxyExt.java:210)
      19:24:53,281 ERROR [STDERR] at $Proxy88.start(Unknown Source)
      19:24:53,296 ERROR [STDERR] at org.jboss.deployment.XSLSubDeployer.start(XSL
      SubDeployer.java:197)
      19:24:53,328 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainD
      eployer.java:1007)
      19:24:53,359 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
      Deployer.java:808)
      19:24:53,390 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
      Deployer.java:771)
      19:24:53,421 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor17.invoke(
      Unknown Source)
      19:24:53,453 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
      ke(DelegatingMethodAccessorImpl.java:25)
      19:24:53,484 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:5
      85)
      19:24:53,515 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.
      invoke(ReflectedDispatcher.java:155)
      19:24:53,546 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invoc
      ation.java:94)
      19:24:53,578 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.
      invoke(AbstractInterceptor.java:133)
      19:24:53,609 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat
      ion.java:88)
      19:24:53,640 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationI
      nterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      19:24:53,671 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat
      ion.java:88)
      19:24:53,703 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invo
      ke(AbstractMBeanInvoker.java:264)
      19:24:53,734 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
      eanServerImpl.java:659)
      19:24:53,765 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
      roxyExt.java:210)
      19:24:53,796 ERROR [STDERR] at $Proxy6.deploy(Unknown Source)
      19:24:53,812 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentSca
      nner.deploy(URLDeploymentScanner.java:421)
      19:24:53,843 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentSca
      nner.scan(URLDeploymentScanner.java:634)
      19:24:53,875 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeployme
      ntScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      19:24:53,906 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeployme
      ntScanner.startService(AbstractDeploymentScanner.java:336)
      19:24:53,937 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInt
      ernalStart(ServiceMBeanSupport.java:289)
      19:24:53,968 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInt
      ernalLifecycle(ServiceMBeanSupport.java:245)
      19:24:54,000 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(
      Native Method)
      19:24:54,031 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(N
      ativeMethodAccessorImpl.java:39)
      19:24:54,062 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
      ke(DelegatingMethodAccessorImpl.java:25)
      19:24:54,093 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:5
      85)
      19:24:54,125 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.
      invoke(ReflectedDispatcher.java:155)
      19:24:54,156 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invoc
      ation.java:94)
      19:24:54,187 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat
      ion.java:86)
      19:24:54,218 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invo
      ke(AbstractMBeanInvoker.java:264)
      19:24:54,265 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
      eanServerImpl.java:659)
      19:24:54,296 ERROR [STDERR] at org.jboss.system.ServiceController$ServicePro
      xy.invoke(ServiceController.java:978)
      19:24:54,328 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      19:24:54,343 ERROR [STDERR] at org.jboss.system.ServiceController.start(Serv
      iceController.java:417)
      19:24:54,375 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(
      Native Method)
      19:24:54,406 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(N
      ativeMethodAccessorImpl.java:39)
      19:24:54,437 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
      ke(DelegatingMethodAccessorImpl.java:25)
      19:24:54,468 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:5
      85)
      19:24:54,500 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.
      invoke(ReflectedDispatcher.java:155)
      19:24:54,531 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invoc
      ation.java:94)
      19:24:54,562 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat
      ion.java:86)
      19:24:54,593 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invo
      ke(AbstractMBeanInvoker.java:264)
      19:24:54,640 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
      eanServerImpl.java:659)
      19:24:54,671 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
      roxyExt.java:210)
      19:24:54,703 ERROR [STDERR] at $Proxy4.start(Unknown Source)
      19:24:54,718 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDep
      loyer.java:302)
      19:24:54,750 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainD
      eployer.java:1007)
      19:24:54,781 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
      Deployer.java:808)
      19:24:54,812 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
      Deployer.java:771)
      19:24:54,843 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
      Deployer.java:755)
      19:24:54,875 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(
      Native Method)
      19:24:54,906 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(N
      ativeMethodAccessorImpl.java:39)
      19:24:54,937 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
      ke(DelegatingMethodAccessorImpl.java:25)
      19:24:54,968 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:5
      85)
      19:24:55,000 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.
      invoke(ReflectedDispatcher.java:155)
      19:24:55,031 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invoc
      ation.java:94)
      19:24:55,062 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.
      invoke(AbstractInterceptor.java:133)
      19:24:55,093 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat
      ion.java:88)
      19:24:55,125 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationI
      nterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      19:24:55,156 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat
      ion.java:88)
      19:24:55,187 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invo
      ke(AbstractMBeanInvoker.java:264)
      19:24:55,218 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
      eanServerImpl.java:659)
      19:24:55,250 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
      roxyExt.java:210)
      19:24:55,281 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
      19:24:55,296 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(Se
      rverImpl.java:482)
      19:24:55,328 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(Serv
      erImpl.java:362)
      19:24:55,375 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
      19:24:55,390 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:464)
      19:24:55,406 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
      19:24:55,421 ERROR [STDERR] Caused by: org.jboss.portal.core.model.instance.Dupl
      icateInstanceException: An instance with id PolicyConfiguratorPortletInstance al
      ready exist
      19:24:55,468 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.Per
      sistentInstanceContainer.createInstance(PersistentInstanceContainer.java:144)
      19:24:55,500 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(
      Native Method)
      19:24:55,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(N
      ativeMethodAccessorImpl.java:39)
      19:24:55,562 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
      ke(DelegatingMethodAccessorImpl.java:25)
      19:24:55,593 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:5
      85)
      19:24:55,625 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.
      invoke(ReflectedDispatcher.java:155)
      19:24:55,656 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invoc
      ation.java:94)
      19:24:55,687 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.
      invoke(AbstractInterceptor.java:133)
      19:24:55,718 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat
      ion.java:88)
      19:24:55,750 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationI
      nterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      19:24:55,781 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat
      ion.java:88)
      19:24:55,812 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invo
      ke(AbstractMBeanInvoker.java:264)
      19:24:55,843 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
      eanServerImpl.java:659)
      19:24:55,875 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
      roxyExt.java:210)
      19:24:55,906 ERROR [STDERR] at $Proxy57.createInstance(Unknown Source)
      19:24:55,921 ERROR [STDERR] at org.jboss.portal.core.metadata.InstanceMetaDa
      ta.create(InstanceMetaData.java:173)
      19:24:55,968 ERROR [STDERR] at org.jboss.portal.core.deployment.jboss.Object
      Deployment.start(ObjectDeployment.java:294)
      19:24:56,000 ERROR [STDERR] ... 134 more
      19:24:56,093 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
      loy/jmx-console.war/
      19:24:56,359 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: portal:policy=PortalPolicyConfigStore,type=Component
      State: FAILED
      Reason: java.lang.IllegalArgumentException: No transaction manager provided
      I Depend On:
      portal:policy=JaccPortalPolicyConfigurator
      portal:service=TreeCacheProvider,type=transient
      portal:policy=PortalPolicyConfigService
      Depends On Me:
      portal:deploymentFactory=PortletApp

      ObjectName: portal:deploymentFactory=PortletApp
      State: CONFIGURED
      I Depend On:
      portal:deployer=PortalWebApp
      portal:service=WebAppRegistry
      portal:service=ServerConfig
      portal:policy=PortalPolicyConfigStore,type=Component
      Depends On Me:
      portal:deployer=Adapter

      ObjectName: portal:deployer=Adapter
      State: CONFIGURED
      I Depend On:
      portal:deploymentFactory=Object
      portal:deploymentFactory=PortletApp
      portal:deploymentFactory=Layout
      portal:deploymentFactory=LayoutFeatures
      portal:deploymentFactory=Theme
      portal:service=Module,type=User
      portal:service=Module,type=Role
      portal:service=Module,type=Mail
      portal:deployer=PortalWebApp
      jboss.web:service=WebServer

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: portal:policy=PortalPolicyConfigStore,type=Component
      State: FAILED
      Reason: java.lang.IllegalArgumentException: No transaction manager provided
      I Depend On:
      portal:policy=JaccPortalPolicyConfigurator
      portal:service=TreeCacheProvider,type=transient
      portal:policy=PortalPolicyConfigService
      Depends On Me:
      portal:deploymentFactory=PortletApp


      19:24:57,140 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-192.168
      .3.180-8080
      19:24:57,296 INFO [ChannelSocket] JK: ajp13 listening on /192.168.3.180:8009
      19:24:57,328 INFO [JkMain] Jk running ID=0 time=0/63 config=null
      19:24:57,359 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBos
      s_4_0_4_GA date=200605151000)] Started in 1m:3s:547ms