9 Replies Latest reply on Oct 29, 2019 7:02 AM by Maurizio Bollino

    DWP Post install create_schema

    Maurizio Bollino
      Share This:

      Hi all

      after installing DWP 18.08, we ran

       

      ./post_install.sh create_schema < customer_txt

       

      but we always get these errors :

       

      Successfully logged in as dwpuser. (the same is shown whatever user is specified, also Demo)

      data/groups/System/000.sbe-asset-managers.json FAILED WITH THE FOLLOWING ERROR:

      [{"messageType":"ERROR","messageText":"Must have Administrative permissions to perform this operation","moreInfo":"","messageAppendedText":"","messageNumber":304}]

      data/groups/System/010.sbe-catalog-admins.json FAILED WITH THE FOLLOWING ERROR:

      [{"messageType":"ERROR","messageText":"Must have Administrative permissions to perform this operation","moreInfo":"","messageAppendedText":"","messageNumber":304}]

      data/groups/System/020.sbe-myit-users.json FAILED WITH THE FOLLOWING ERROR:
      .......

      ......


      And so on. Please can someone help us in solving it? I'm getting crazy.

      Kind regards,

      Maurizio

        • 1. Re: DWP Post install create_schema
          Philipp Huonker

          Hello Maurizio,

           

          did you check all the permissions - are they ok?

          • 2. Re: DWP Post install create_schema
            Maurizio Bollino

            Hi Philipp,

            thank you for your answer. At which level should I check permission? O.S. or DB?

            Please can you give me more hints?

            Thank you

            Maurizio

            • 3. Re: DWP Post install create_schema
              Philipp Huonker

              Hi Maurizio,

               

               

              please have a look for the logs: bmc/dwp/DWP/Logs

               

              They should give you more information.

               

              If its possible please share the logs (dwp.log, dwp-error.log, etc.).

               

              Best Regards

               

              Philipp

              • 4. Re: DWP Post install create_schema
                Maurizio Bollino

                Hi Philipp

                here the command with output and log files:

                 

                [dwpuser@dwpa-prepro.val.lan sb]$ ./post_install.sh create_schema

                touch: cannot touch ‘/opt/bmc/digitalworkplace/db/post_install.log’: No such file or directory

                WARNING: /opt/bmc/digitalworkplace/db/post_install.log does not exist.

                Sending all logs to /tmp/sb-install-2019-10-15_14:31:19.log

                /opt/bmc/digitalworkplace/sb/logger.sh: line 68: /opt/bmc/digitalworkplace/db/post_install.log: No such file or directory

                Enter the BMC Digital Workplace Catalog administrator login name (Example: dwpadmin): dwpuser

                Password for dwpuser:

                login as SaaS Admin (dwpuser)

                 

                Successfully logged in as dwpuser.

                data/groups/System/000.sbe-asset-managers.json FAILED WITH THE FOLLOWING ERROR:

                 

                [{"messageType":"ERROR","messageText":"Must have Administrative permissions to perform this operation","moreInfo":"","messageAppendedText":"","messageNumber":304}]

                 

                data/groups/System/010.sbe-catalog-admins.json FAILED WITH THE FOLLOWING ERROR:

                 

                [{"messageType":"ERROR","messageText":"Must have Administrative permissions to perform this operation","moreInfo":"","messageAppendedText":"","messageNumber":304}]

                 

                 

                 

                Attached you'll find the only Log files which are updated by this action.

                Thank you

                Maurizio

                • 5. Re: DWP Post install create_schema
                  Philipp Huonker

                  Hi Maurizio,

                   

                  thanks for sharing the logs. But I guess these are the wrong ones - these are the logs for start and restart AR. You're right that these files were updated, cause its restarting the server while the post_install-action.

                  We should have a look to the dwp logs as I mentioned before.

                   

                  So please review these articles:

                   

                  For the logs: Troubleshooting installation and upgrade issues in BMC Digital Workplace - Documentation for BMC Digital Workplace Advan…

                   

                  For the permission: Requirements for a non-root user to run the installer - Documentation for BMC Digital Workplace Advanced 19.08 - BMC Doc…

                  --> I guess OS is ok, as you installed the dwp with this user before, correct?

                   

                  Is the "dwpuser" correct? Please try "dwpadmin" here

                   

                  Best regards

                   

                  Philipp

                  • 6. Re: DWP Post install create_schema
                    Vijay Patil

                    Hi Maurizio,

                     

                    Make sure user that you provide is a saas admin at below prompt

                     

                    Password for dwpuser:

                     

                    like Demo user provided in options.txt file during installation of catalog .

                     

                    TO me it looks like a you are not provding user with SaaS Admin previlages

                     

                    Thanks,

                    Vijay

                    • 7. Re: DWP Post install create_schema
                      Maurizio Bollino

                      Hi all

                      let me specify we are using Digital Workplace catalog on a Linux server. We verified that all grants had been sucessfully assigned as described in documentation.

                      dwpuser we are using is linux user we used for installation.

                       

                      Nevertheless, ./post_install.sh create_schema always fails.

                      We don't know where set SaaS administrative privileges, as Vijay suggested us.Please can you detail it?

                       

                      Even Log folder that Philipp Huonker showed does not exist. But we found in arStart.log some errors near the moment we issued the script.

                      Hope this helps.

                      Thank you all,

                      Maurizio

                       

                       

                      INFO - Tue Oct 08 10:55:35.656 2019 Removal of previously generated PID file successful

                      INFO - Tue Oct 08 10:55:50.624 2019

                      INFO - com.bmc.arsys.rx.application.common.RxRestException: [ERROR (6104): No such deployed package.; com.bmc.arsys.myitsb.myitsb-approval]

                      INFO - at com.bmc.arsys.rx.application.common.RestErrorAspect.wrapRestExceptionsAdvice(RestErrorAspect.java:80) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.bundle.BundleDescriptorResource.get_aroundBody8(BundleDescriptorResource.java:81) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.bundle.BundleDescriptorResource$AjcClosure9.run(BundleDescriptorResource.java:1) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[bundlefile:1.8.4]

                      INFO - at com.bmc.arsys.server.rx.services.common.aspect.AspectHelperImpl.manageDesignCall(AspectHelperImpl.java:506) ~[na:na]

                      INFO - at com.bmc.arsys.rx.services.common.aspect.DesignCallAspect.monitorMethod(DesignCallAspect.java:76) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.bundle.BundleDescriptorResource.get(BundleDescriptorResource.java:81) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_211]

                      INFO - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_211]

                      INFO - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_211]

                      INFO - at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_211]

                      INFO - at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [bundlefile:na]

                      INFO - at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [bundlefile:na]

                      INFO - at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [bundlefile:na]

                      INFO - at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:38) [bundlefile:na]

                      INFO - at com.bmc.myservice.bundles.webresource.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:43) [bundlefile:1.0.00-SNAPSHOT]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter(FilterRegistration.java:81) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:35) [bundlefile:na]

                      INFO - at com.bmc.arsys.restapi.RxFilter.doFilter(RxFilter.java:127) [bundlefile:17.5.0-SNAPSHOT]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter(FilterRegistration.java:81) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:35) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:132) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) [bundlefile:na]

                      INFO - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [bundlefile:3.1.0]

                      INFO - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:835) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.Server.handle(Server.java:517) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572) [bundlefile:9.3.7.v20160115]

                      INFO - at java.lang.Thread.run(Thread.java:748) [na:1.8.0_211]

                      INFO - Caused by: com.bmc.arsys.server.rx.services.RxFrameworkException: [ERROR (6104): No such deployed package.; com.bmc.arsys.myitsb.myitsb-approval]

                      INFO - at com.bmc.arsys.server.rx.services.bundle.BundleServiceImpl.checkBundleExistence(BundleServiceImpl.java:152) ~[na:na]

                      INFO - at com.bmc.arsys.server.rx.services.bundle.BundleServiceImpl.getDependencyMap(BundleServiceImpl.java:122) ~[na:na]

                      INFO - at com.bmc.arsys.server.rx.services.bundle.BundleServiceImpl.buildBundleDescriptorFromBundle(BundleServiceImpl.java:637) ~[na:na]

                      INFO - at com.bmc.arsys.server.rx.services.bundle.BundleServiceImpl.getBundleDescriptor(BundleServiceImpl.java:321) ~[na:na]

                      INFO - at com.bmc.arsys.rx.application.bundle.BundleDescriptorResource.get_aroundBody2(BundleDescriptorResource.java:82) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.bundle.BundleDescriptorResource$AjcClosure3.run(BundleDescriptorResource.java:1) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[bundlefile:1.8.4]

                      INFO - at com.bmc.arsys.server.internal.aspects.ARTransactionalManager.manageTenantDbTransaction(ARTransactionalManager.java:271) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.server.internal.aspects.ARTransactionalManager.manageTenantDbTransaction(ARTransactionalManager.java:257) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.server.rx.services.common.aspect.AspectHelperImpl.manageRxInstanceTransaction(AspectHelperImpl.java:380) ~[na:na]

                      INFO - at com.bmc.arsys.rx.services.common.aspect.TransactionMangerAspect.manageRxInstanceTransaction(TransactionMangerAspect.java:102) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.bundle.BundleDescriptorResource.get_aroundBody4(BundleDescriptorResource.java:81) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.bundle.BundleDescriptorResource$AjcClosure5.run(BundleDescriptorResource.java:1) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:221) ~[bundlefile:1.8.4]

                      INFO - at com.bmc.arsys.server.internal.aspects.AccessControlInterceptor.monitorFacadeMethod(AccessControlInterceptor.java:361) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.server.rx.services.common.aspect.AspectHelperImpl.manageAccessControl(AspectHelperImpl.java:187) ~[na:na]

                      INFO - at com.bmc.arsys.rx.services.common.aspect.AccessControlAspect.monitorMethod(AccessControlAspect.java:69) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.bundle.BundleDescriptorResource.get_aroundBody6(BundleDescriptorResource.java:81) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.bundle.BundleDescriptorResource$AjcClosure7.run(BundleDescriptorResource.java:1) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[bundlefile:1.8.4]

                      INFO - at com.bmc.arsys.server.internal.aspects.ApiTracer.monitor(ApiTracer.java:217) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.server.rx.services.common.aspect.AspectHelperImpl.manageApiLogging(AspectHelperImpl.java:437) ~[na:na]

                      INFO - at com.bmc.arsys.rx.services.common.aspect.ApiTracerAspect.monitor(ApiTracerAspect.java:63) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - ... 66 common frames omitted

                      INFO - Tue Oct 08 10:55:53.901 2019

                      INFO - com.bmc.arsys.rx.application.common.RxRestException: [ERROR (304): Must have Administrative permissions to perform this operation]

                      INFO - at com.bmc.arsys.rx.application.common.RestErrorAspect.wrapRestExceptionsAdvice(RestErrorAspect.java:80) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.command.CommandResource.post(CommandResource.java:47) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_211]

                      INFO - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_211]

                      INFO - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_211]

                      INFO - at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_211]

                      INFO - at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [bundlefile:na]

                      INFO - at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [bundlefile:na]

                      INFO - at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [bundlefile:na]

                      INFO - at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:38) [bundlefile:na]

                      INFO - at com.bmc.myservice.bundles.webresource.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:43) [bundlefile:1.0.00-SNAPSHOT]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter(FilterRegistration.java:81) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:35) [bundlefile:na]

                      INFO - at com.bmc.arsys.restapi.RxFilter.doFilter(RxFilter.java:127) [bundlefile:17.5.0-SNAPSHOT]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter(FilterRegistration.java:81) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:35) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:132) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) [bundlefile:na]

                      INFO - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [bundlefile:3.1.0]

                      INFO - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:835) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.Server.handle(Server.java:517) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572) [bundlefile:9.3.7.v20160115]

                      INFO - at java.lang.Thread.run(Thread.java:748) [na:1.8.0_211]

                      INFO - Caused by: com.bmc.arsys.server.rx.services.RxFrameworkException: [ERROR (304): Must have Administrative permissions to perform this operation]

                      INFO - at com.bmc.arsys.server.rx.services.common.aspect.AspectHelperImpl.manageApiLogging(AspectHelperImpl.java:439) ~[na:na]

                      INFO - at com.bmc.arsys.rx.services.common.aspect.ApiTracerAspect.monitor(ApiTracerAspect.java:63) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - ... 61 common frames omitted

                      INFO - Caused by: com.bmc.arsys.domain.etc.ARException: ERROR (304): Must have Administrative permissions to perform this operation;

                      INFO - at com.bmc.arsys.server.internal.aspects.AccessControlInterceptor.monitorFacadeMethod(AccessControlInterceptor.java:286) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.server.rx.services.common.aspect.AspectHelperImpl.manageAccessControl(AspectHelperImpl.java:187) ~[na:na]

                      INFO - at com.bmc.arsys.rx.services.common.aspect.AccessControlAspect.monitorMethod(AccessControlAspect.java:69) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.bundledeploy.command.BundleDeployCommand.execute_aroundBody4(BundleDeployCommand.java:160) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.bundledeploy.command.BundleDeployCommand$AjcClosure5.run(BundleDeployCommand.java:1) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[bundlefile:1.8.4]

                      INFO - at com.bmc.arsys.server.rx.services.common.aspect.AspectHelperImpl.manageDesignCall(AspectHelperImpl.java:506) ~[na:na]

                      INFO - at com.bmc.arsys.rx.services.common.aspect.DesignCallAspect.monitorMethod(DesignCallAspect.java:76) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.bundledeploy.command.BundleDeployCommand.execute(BundleDeployCommand.java:160) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.command.CommandResource.post_aroundBody0(CommandResource.java:51) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.command.CommandResource$AjcClosure1.run(CommandResource.java:1) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[bundlefile:1.8.4]

                      INFO - at com.bmc.arsys.server.internal.aspects.ApiTracer.monitor(ApiTracer.java:217) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.server.rx.services.common.aspect.AspectHelperImpl.manageApiLogging(AspectHelperImpl.java:437) ~[na:na]

                      INFO - ... 62 common frames omitted

                      INFO - Tue Oct 08 10:55:55.694 2019

                      INFO - com.bmc.arsys.rx.application.common.RxRestException: [ERROR (304): Must have Administrative permissions to perform this operation]

                      INFO - at com.bmc.arsys.rx.application.common.RestErrorAspect.wrapRestExceptionsAdvice(RestErrorAspect.java:80) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at com.bmc.arsys.rx.application.command.CommandResource.post(CommandResource.java:47) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_211]

                      INFO - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_211]

                      INFO - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_211]

                      INFO - at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_211]

                      INFO - at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) ~[bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [bundlefile:na]

                      INFO - at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [bundlefile:na]

                      INFO - at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [bundlefile:na]

                      INFO - at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [bundlefile:na]

                      INFO - at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [bundlefile:na]

                      INFO - at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:38) [bundlefile:na]

                      INFO - at com.bmc.myservice.bundles.webresource.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:43) [bundlefile:1.0.00-SNAPSHOT]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter(FilterRegistration.java:81) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:35) [bundlefile:na]

                      INFO - at com.bmc.arsys.restapi.RxFilter.doFilter(RxFilter.java:127) [bundlefile:17.5.0-SNAPSHOT]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter(FilterRegistration.java:81) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:35) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:132) [bundlefile:na]

                      INFO - at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) [bundlefile:na]

                      INFO - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [bundlefile:3.1.0]

                      INFO - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:835) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.Server.handle(Server.java:517) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654) [bundlefile:9.3.7.v20160115]

                      INFO - at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572) [bundlefile:9.3.7.v20160115]

                      INFO - at java.lang.Thread.run(Thread.java:748) [na:1.8.0_211]

                      INFO - Caused by: com.bmc.arsys.server.rx.services.RxFrameworkException: [ERROR (304): Must have Administrative permissions to perform this operation]

                      INFO - at com.bmc.arsys.server.rx.services.common.aspect.AspectHelperImpl.manageApiLogging(AspectHelperImpl.java:439) ~[na:na]

                      INFO - at com.bmc.arsys.rx.services.common.aspect.ApiTracerAspect.monitor(ApiTracerAspect.java:63) ~[bundlefile:17.5.0-SNAPSHOT]

                      INFO - ... 61 common frames omitted

                      • 8. Re: DWP Post install create_schema
                        Philipp Huonker

                        Hello Maurizio,

                         

                        INFO - Caused by: com.bmc.arsys.server.rx.services.RxFrameworkException: [ERROR (304): Must have Administrative permissions to perform this operation]

                         

                        For me it looks like, that the user "dwpuser" has not the correct permission - you should use an administrator for dwp catalogue - normally this is Demo or dwpadmin.

                        This is a BMC user.

                         

                        But as I don't know your infrastructure - I'm not 100% sure.

                         

                        Best regards

                         

                        Philipp

                        • 9. Re: DWP Post install create_schema
                          Maurizio Bollino

                          Hi all

                          we submitted a case to BMC support. They suggested to reinstall. We removed previous installation and DBs, reinstalled the package and everything was fine.

                          Thank you all for your precious hints.

                           

                          Kind regards

                          Maurizio

                          1 of 1 people found this helpful