8 Replies Latest reply on Jun 20, 2006 9:50 AM by Adi Kalamaro

    error 401 after inserting user and password

    Adi Kalamaro Newbie

      Hi all,

      I just deployed Jboss portal following the guide
      I get the login page, but after inserting admin/admin I get 401 error
      I probably forgot to do something very basic can you please give me any ideas

      Thanks

        • 1. Re: error 401 after inserting user and password
          Adi Kalamaro Newbie

          I seems very weird now I restarted the server and I don't get the login page any more- the portal don't start! I need to Undeployed portal-oracle-ds , jboss-portal.sar and to redeploy them again for only seeing the login page - until next server shutdown.
          PLEASE HELP!!! after starting again the server I get:


          --- 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

          • 3. Re: error 401 after inserting user and password
            Adi Kalamaro Newbie

            jboss-4.0.4.GA
            jboss-portal-2.2.1-SP1

            thanks

            portal-oracle-ds.xml

            <?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>

            • 4. Re: error 401 after inserting user and password
              Adi Kalamaro Newbie

              I get error 500 now it's doesn't connect I follow the guide..
              log:

              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

              • 5. Re: error 401 after inserting user and password
                Rali Genova Novice

                I will try to reproduce it.

                • 6. Re: error 401 after inserting user and password
                  Rali Genova Novice

                  can you give me your Oracle DB version and the driver version as well. Sometimes having a later version of the driver solves problems.

                  • 7. Re: error 401 after inserting user and password
                    Adi Kalamaro Newbie

                    DB: oracle10gR2

                    Driver: ojdbc14 (I put it in the lib directory)

                    • 8. Re: error 401 after inserting user and password
                      Adi Kalamaro Newbie

                      Is someone femiliar with oracle 10 drivers? I really don't have any clue