4 Replies Latest reply on Jul 17, 2006 3:54 PM by alatake

    ERROR IN org.jboss.portal.core.CoreController Object Nor Fou

    alatake

      I am new to JBOSS portal and JBOSS Server.

      Programs:
      Windows 2000 Server
      Java 1.5
      JBOSS 4.0.4 GA
      JBOSS Portal 2.2.1 SP2
      MySQL 5.0 (Other server)

      I have done the installation using the user guide, but on typing http://localhost:8080/portal i am getting the following messages:

      In the Server.Log file and IE Browser

      LOG (server.log)

      2006-07-07 11:42:32,824 DEBUG [net.sf.ehcache.Cache] org.hibernate.cache.StandardQueryCache: Is element with key sql: select objectnode0_.PK as PK13_, objectnode0_.PATH as PATH13_, objectnode0_.NAME as NAME13_, objectnode0_.PARENT_KEY as PARENT4_13_ from JBP_OBJECT_NODE objectnode0_ where objectnode0_.PATH=?; parameters: ; named parameters: {path=default} expired?: true
      2006-07-07 11:42:32,824 ERROR [org.jboss.portal.core.CoreController] Object not found
      org.jboss.portal.core.ObjectNotFoundException: Not allowed to access resourceDefault context does not exist
      at org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:89)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy47.doMapping(Unknown Source)
      at org.jboss.portal.core.CoreController.handle(CoreController.java:189)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
      at $Proxy121.handle(Unknown Source)
      at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
      at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
      at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221)
      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.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:595)


      AND IE Browser show an 404 Error

      HTTP Status 404 -

      --------------------------------------------------------------------------------

      type Status report

      message

      description The requested resource () is not available.


      --------------------------------------------------------------------------------

      Apache Tomcat/5.5.17


      Database connection is OK.

      Can any body help me resolve this. Its really urgent


      Thanks

        • 1. Re: ERROR IN org.jboss.portal.core.CoreController Object Nor
          • 2. Re: ERROR IN org.jboss.portal.core.CoreController Object Not
            alatake

            Hi, Roy, thanks for your help.

            My ini.ini file is empty, and not exist the my.cfg.

            The tables exist in mysql database, but http://localhost:808/portal/ or http://localhost:808/portal/index.html only show error page:


            HTTP Status 404 -
            --------------------------------------------------------------------------------

            type Status report
            message
            description The requested resource () is not available.
            --------------------------------------------------------------------------------
            Apache Tomcat/5.5.17

            I have a file with all console JBOSS output, but i understand this file, but i see errors, i need post this file??

            This file contents many WARNS and Errors like this

            line 61.
            18:55:20,833 WARN [ServiceController] Problem starting service portal:policy=PortalPolicyConfigStore,type=Component

            line 195.
            18:55:28,036 ERROR [LocaleUtils] Locale name null or empty, ignoring

            lines 809 to 826
            18:55:43,848 WARN [ObjectDeployment] Cannot create portal object Portal[default] because the parent '' that the deployment descriptor references does not exist
            18:55:43,848 WARN [ObjectDeployment] Cannot create portal object Page[CMS Manager] because the parent 'default' that the deployment descriptor references does not exist
            18:55:43,864 WARN [ObjectDeployment] Cannot create portal object Page[management] because the parent 'default' that the deployment descriptor references does not exist
            18:55:43,864 WARN [ObjectDeployment] Cannot create portal object Page[Secure Policy Config] because the parent 'default.default' that the deployment descriptor references does not exist
            18:55:43,864 WARN [ObjectDeployment] Cannot create portal object Window[CatalogPortletWindow] because the parent 'default.CMS Manager' that the deployment descriptor references does not exist
            18:55:44,067 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
            18:55:44,458 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


            I can't startup a JBOSS Portal, can you help me??

            Thanks again.

            • 3. Re: ERROR IN org.jboss.portal.core.CoreController Object Nor

              If you use the mysqladmin interface you can set the variables for mysql.

              You have to do this in mysql5 for portal to work.

              • 4. Re: ERROR IN org.jboss.portal.core.CoreController Object Nor
                alatake

                Hi, Roy.

                Finally i can make the changes. but the portal not work.

                I change the portal-mysql-ds.xml file and now use portal-sqlserver-ds.xml

                The SQL Server driver is jtds-1.2 (like a portal-sqlserver-ds.xml sample file)

                The SQL Server Database is ok, tables, indexes, etc. exist.

                And my portal not work. the error is an 500 error.

                HTTP Status 500 -

                --------------------------------------------------------------------------------

                type Exception report

                message

                description The server encountered an internal error () that prevented it from fulfilling this request.

                exception

                javax.servlet.ServletException: No layout found for layout id generic
                org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:227)
                javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
                javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)



                Can you help me again???


                I can't startup my JBOSS Portal with SQL Server and MySQL


                Thanks again.