Pentaho

 View Only
Expand all | Collapse all

Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

This thread has been viewed 109 times
  • 1.  Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-06-2024 00:57

    Hi,

    I have tried to download maven license plugin for Pentaho from url : https://nexus.pentaho.org/content/groups/omni/org/pentaho/maven/plugins/license-helper-maven-plugin/1.26/license-helper-maven-plugin-1.26.jar

    but the page is not available and got error "503 Service Unavailable".

    From this community discussion, someone mentioned like maven license plugin is moved to new url : https://repo.orl.eng.hitachivantara.com/ui/native/pnt-mvn/org/pentaho/maven/plugins/license-helper-maven-plugin/1.26/

    but page is not loading with error message "Something went wrong" and seems like the page license is expired.

    Attaching screenshots below.

    I need help to resolve this asap. Any help would be appreciated.

    ------------------------------
    Praveen Shibu
    Others
    Guidehouse Pvt Ltd
    ------------------------------



  • 2.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-06-2024 06:36

    Hi @Praveen Shibu

    Nexus repository manger was shutdown. Official repo site is https://repo.orl.eng.hitachivantara.com/. And as you said, license expired. I don't known if it's a bug or intentional. You are not first with this problem.



    ------------------------------
    Petr Prochazka
    Systems Engineer
    P.V.A. systems s.r.o.
    ------------------------------



  • 3.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-07-2024 01:14

    Hi @Petr Prochazka 

    Thanks for the reply. I was trying to build a kar file for Pentaho server okta authentication, as per the document based on the Github path pentaho-engineering-samples/Samples_for_Extending_Pentaho/Reference Implementations/Security/SAML 2.0/documentation/SAML2 Pentaho BA Server Best Practices.pdf at master · pentaho/pentaho-engineering-samples · GitHub

    The official repo site https://repo.orl.eng.hitachivantara.com/ has some issues, i was not able to build the kar file because of the above-mentioned license-helper-maven-plugin issue , it would be more helpful if you provide us a kar file or is there any way to build a kar file without any issue. 



    ------------------------------
    Praveen Shibu
    Others
    Guidehouse Pvt Ltd
    ------------------------------



  • 4.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-07-2024 02:25

    Hi Preveen,

    if you don't have required artifacts from remote repository, it's not possible. But I build SAML sample from Github repository. Artifacts find as attachment.



    ------------------------------
    Petr Prochazka
    Systems Engineer
    P.V.A. systems s.r.o.
    ------------------------------



  • 5.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-08-2024 01:18

    Hi @Petr Prochazka,

    Thanks for the immediate reply as well as the kar file. I will try to implement the same  in my project and let you know about the status.



    ------------------------------
    Praveen Shibu
    Others
    Guidehouse Pvt Ltd
    ------------------------------



  • 6.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-20-2024 03:09
      |   view attached

    Hi @Petr Prochazka,

    After getting the kar file from you, we have followed the remaining steps for implementing OKTA in pentaho server from the link https://github.com/pentaho/pentaho-engineering-samples/blob/9.4/Samples_for_Extending_Pentaho/Reference%20Implementations/Security/SAML%202.0/documentation/Activating_SAML_sample_in_BA_server.pdf )

    After completing all the steps, when we try to start the server now getting an exception "BeanCreationException error from the file applicationContext-spring-security-saml.xml" . I have attached the exception server logs as well as the applicationContext saml file which we got from the github. 

    applicationContext saml file github path : Samples_for_Extending_Pentaho/Reference Implementations/Security/SAML 2.0/documentation/resources/applicationContext-spring-security-saml.xml

    Kindly find the details and it would be very helpful if we can get any help or solution.



    ------------------------------
    Praveen Shibu
    Others
    Guidehouse Pvt Ltd
    ------------------------------



  • 7.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-20-2024 06:26

    HI @Praveen Shibu,

    pls provide full stack trace of exception.



    ------------------------------
    Petr Prochazka
    Systems Engineer
    P.V.A. systems s.r.o.
    ------------------------------



  • 8.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-20-2024 07:47
      |   view attached

    Hi @Petr Prochazka,

    Kindly find the below attachment for the full stack trace of exception.



    ------------------------------
    Praveen Shibu
    Others
    Guidehouse Pvt Ltd
    ------------------------------

    Attachment(s)

    txt
    logsPentahoIssue.txt   57 KB 1 version


  • 9.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-22-2024 00:56

    Hi @Petr Prochazka,

    Could you please help me with the exception trace. Any help would be greatly appreciated.



    ------------------------------
    Praveen Shibu
    Others
    Guidehouse Pvt Ltd
    ------------------------------



  • 10.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-22-2024 06:04

    Hi Praveen,

    there are two things which can raise this exception. Bad configuration or kar is not compatible with CE server.

    But could you provide clean logs after start? Timestamps in log are strange. And pls attach catalina.log and pentaho.log too.



    ------------------------------
    Petr Prochazka
    Systems Engineer
    P.V.A. systems s.r.o.
    ------------------------------



  • 11.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-23-2024 06:41

    Hi @Petr Prochazka

    Please find the attached files pentaho.log, localhost.log and for the catalina.log the file size is much higher(73GB) so couldn't able to upload the whole file , we copied some part of the trace and attached the same. Kindly find the attachments below .



    ------------------------------
    Praveen Shibu
    Others
    Guidehouse Pvt Ltd
    ------------------------------

    Attachment(s)

    txt
    catalina.txt   247 KB 1 version
    log
    localhost.2024-02-23.log   110 KB 1 version
    log
    pentaho.log   4.85 MB 1 version


  • 12.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-23-2024 06:57

    HI @Praveen Shibu,

    this is interesting exception:

    2024-02-23 01:14:53,413 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] could not get database metadata
    java.sql.SQLException: Access denied for user 'hibuser'@'127.0.0.1' (using password: YES)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965) ~[mysql-connector-java-5.1.48.jar:?]
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3933) ~[mysql-connector-java-5.1.48.jar:?]
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3869) ~[mysql-connector-java-5.1.48.jar:?]
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:864) ~[mysql-connector-java-5.1.48.jar:?]
    	at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1707) ~[mysql-connector-java-5.1.48.jar:?]
    	at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1217) ~[mysql-connector-java-5.1.48.jar:?]
    	at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2189) ~[mysql-connector-java-5.1.48.jar:?]
    	at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2220) ~[mysql-connector-java-5.1.48.jar:?]
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2015) ~[mysql-connector-java-5.1.48.jar:?]
    	at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:768) ~[mysql-connector-java-5.1.48.jar:?]
    	at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) ~[mysql-connector-java-5.1.48.jar:?]
    	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
    	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
    	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[mysql-connector-java-5.1.48.jar:?]
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385) ~[mysql-connector-java-5.1.48.jar:?]
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323) ~[mysql-connector-java-5.1.48.jar:?]
    	at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:310) ~[tomcat-jdbc-8.5.27.jar:?]
    	at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:203) ~[tomcat-jdbc-8.5.27.jar:?]
    	at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:735) ~[tomcat-jdbc-8.5.27.jar:?]
    	at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:667) ~[tomcat-jdbc-8.5.27.jar:?]
    	at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:198) ~[tomcat-jdbc-8.5.27.jar:?]
    	at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:132) ~[tomcat-jdbc-8.5.27.jar:?]
    	at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
    	at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
    	at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:168) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
    	at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:375) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
    	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
    	at org.pentaho.platform.repository.hibernate.HibernateUtil.initialize(HibernateUtil.java:171) ~[pentaho-platform-repository-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.repository.hibernate.HibernateUtil.<clinit>(HibernateUtil.java:92) ~[pentaho-platform-repository-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.cdf.environment.configurations.PentahoHibernanteConfigurations.getConfiguration(PentahoHibernanteConfigurations.java:30) ~[?:?]
    	at org.pentaho.cdf.utils.PluginHibernateUtil.initialize(PluginHibernateUtil.java:58) ~[?:?]
    	at org.pentaho.cdf.storage.StorageEngine.<clinit>(StorageEngine.java:39) ~[?:?]
    	at org.pentaho.cdf.storage.StorageApi.<init>(StorageApi.java:46) ~[?:?]
    	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
    	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
    	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
    	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:212) ~[spring-beans-5.3.3.jar:5.3.3]
    	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87) ~[spring-beans-5.3.3.jar:5.3.3]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1310) ~[spring-beans-5.3.3.jar:5.3.3]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1216) ~[spring-beans-5.3.3.jar:5.3.3]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:571) ~[spring-beans-5.3.3.jar:5.3.3]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531) ~[spring-beans-5.3.3.jar:5.3.3]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.3.jar:5.3.3]
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) [spring-beans-5.3.3.jar:5.3.3]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) [spring-beans-5.3.3.jar:5.3.3]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) [spring-beans-5.3.3.jar:5.3.3]
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944) [spring-beans-5.3.3.jar:5.3.3]
    	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:923) [spring-context-5.3.3.jar:5.3.3]
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588) [spring-context-5.3.3.jar:5.3.3]
    	at org.pentaho.platform.plugin.services.pluginmgr.PentahoSystemPluginManager.reload(PentahoSystemPluginManager.java:292) [pentaho-platform-extensions-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.plugin.services.pluginmgr.PentahoSystemPluginManager.reload(PentahoSystemPluginManager.java:182) [pentaho-platform-extensions-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter.startup(PluginAdapter.java:43) [pentaho-platform-extensions-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:476) [pentaho-platform-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:467) [pentaho-platform-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:446) [pentaho-platform-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:467) [pentaho-platform-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:87) [pentaho-platform-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:398) [pentaho-platform-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:395) [pentaho-platform-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:446) [pentaho-platform-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:395) [pentaho-platform-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:365) [pentaho-platform-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:251) [pentaho-platform-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:159) [pentaho-platform-extensions-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4768) [catalina.jar:9.0.65]
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230) [catalina.jar:9.0.65]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.65]
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726) [catalina.jar:9.0.65]
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698) [catalina.jar:9.0.65]
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) [catalina.jar:9.0.65]
    	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1185) [catalina.jar:9.0.65]
    	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1933) [catalina.jar:9.0.65]
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
    	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
    	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.65]
    	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) [?:?]
    	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1095) [catalina.jar:9.0.65]
    	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477) [catalina.jar:9.0.65]
    	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618) [catalina.jar:9.0.65]
    	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319) [catalina.jar:9.0.65]
    	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) [catalina.jar:9.0.65]
    	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) [catalina.jar:9.0.65]
    	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) [catalina.jar:9.0.65]
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946) [catalina.jar:9.0.65]
    	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835) [catalina.jar:9.0.65]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.65]
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396) [catalina.jar:9.0.65]
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386) [catalina.jar:9.0.65]
    	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
    	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.65]
    	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) [?:?]
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919) [catalina.jar:9.0.65]
    	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:265) [catalina.jar:9.0.65]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.65]
    	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432) [catalina.jar:9.0.65]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.65]
    	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) [catalina.jar:9.0.65]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.65]
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:772) [catalina.jar:9.0.65]
    	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
    	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
    	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
    	at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345) [bootstrap.jar:9.0.65]

    This can be problem, that Spring context is not startup correctly. Check access of account hibuser to MySQL DB.



    ------------------------------
    Petr Prochazka
    Systems Engineer
    P.V.A. systems s.r.o.
    ------------------------------



  • 13.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-26-2024 07:23

    Hi @Petr Prochazka,

    Thanks for your immediate response.

    As per your suggestion, I have checked the access for "hibuser" account and access was not there.

    Contacted respected team and got access, started server again and now I am getting some different type of exception which I am unaware of.

    NOTE : We are using Community Edition of Pentaho Server and we use the kar file provided by you as we were not able to build it due to maven dependency errors. Also In the document it is mentioned like based on the kar file a configuration file pentaho.saml.cfg will get created, but it didn't gets created for me . So we took it from github  : pentaho-engineering-samples/Samples_for_Extending_Pentaho/Reference Implementations/Security/SAML 2.0/pentaho-saml/src/main/resources/cfg/pentaho.saml.cfg at 9.4 · pentaho/pentaho-engineering-samples · GitHub

    Basically does kar is compatible or supports CE server ?

    Kindly find the attached logs and kar details and help me in any possible way please.

    ------------------------------
    Praveen Shibu
    Others
    Guidehouse Pvt Ltd
    ------------------------------

    Attachment(s)

    txt
    pentaho_logs.txt   625 KB 1 version


  • 14.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-27-2024 07:07

    Hi @Petr Prochazka,

    Could you please help me with the above reply to details. Any help would be greatly appreciated.



    ------------------------------
    Praveen Shibu
    Others
    Guidehouse Pvt Ltd
    ------------------------------



  • 15.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-27-2024 11:57

    I don't known what is wrong. Spring context is not initialized correctly.

    One exception is this:

    2024-02-26 05:32:02,719 ERROR [org.pentaho.hadoop.shim.DriverManager] Failed driver installation process.
    java.lang.NullPointerException: Specified service reference cannot be null.
    	at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:460) ~[?:?]
    	at org.pentaho.hadoop.shim.DriverManager.installDrivers(DriverManager.java:91) ~[?:?]
    	at org.pentaho.osgi.impl.KarafFeatureWatcherImpl.waitForFeatures(KarafFeatureWatcherImpl.java:92) ~[?:?]
    	at org.pentaho.di.osgi.KarafLifecycleListener.waitForFeatures(KarafLifecycleListener.java:231) ~[pdi-osgi-bridge-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.di.osgi.KarafLifecycleListener.waitForBundlesStarted(KarafLifecycleListener.java:177) ~[pdi-osgi-bridge-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at org.pentaho.di.osgi.KarafLifecycleListener.lambda$maybeStartWatchers$0(KarafLifecycleListener.java:159) ~[pdi-osgi-bridge-core-9.4.0.0-343.jar:9.4.0.0-343]
    	at java.lang.Thread.run(Thread.java:829) [?:?]

    So may be problem is .kar file, that is not loaded successfully.

    And second problem is this:

    26-Feb-2024 05:32:41.205 SEVERE [main] org.apache.catalina.core.StandardContext.filterStart Exception starting filter [Spring Security Filter Chain Proxy]
    	org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filterChainProxy' defined in file [/home/revreport/pentaho-server/pentaho-solutions/system/applicationContext-spring-security-saml.xml]: Cannot create inner bean 'util:list#5979bb8' of type [org.springframework.beans.factory.config.ListFactoryBean] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'util:list#5979bb8': Cannot create inner bean 'sec:filter-chain#31509321' of type [org.springframework.security.web.DefaultSecurityFilterChain] while setting bean property 'sourceList' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sec:filter-chain#31509321': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.web.DefaultSecurityFilterChain]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Target of Bean was never resolved: javax.servlet.Filter
    		at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:389)
    		at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:127)
    		at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:707)
    		at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:198)
    		at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1356)
    		at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1206)
    		at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:571)
    		at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    		at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    		at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    		at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    		at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:213)
    		at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1165)
    		at org.springframework.web.filter.DelegatingFilterProxy.initDelegate(DelegatingFilterProxy.java:338)
    		at org.springframework.web.filter.DelegatingFilterProxy.initFilterBean(DelegatingFilterProxy.java:243)
    		at org.springframework.web.filter.GenericFilterBean.init(GenericFilterBean.java:239)
    		at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:272)
    		at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:253)
    		at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:102)
    		at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4613)
    		at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256)
    		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    		at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
    		at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698)
    		at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
    		at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1185)
    		at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1933)
    		at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    		at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    		at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
    		at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
    		at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1095)
    		at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
    		at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618)
    		at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
    		at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
    		at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
    		at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
    		at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946)
    		at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
    		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    		at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
    		at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
    		at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    		at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
    		at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
    		at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
    		at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:265)
    		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    		at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
    		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    		at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
    		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    		at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
    		at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    		at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    		at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    		at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    		at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
    		at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)
    

    In applicationContext-spring-security-saml.xml is bean filterChainProxy. This bean configuration is broken.

    May be this help you.



    ------------------------------
    Petr Prochazka
    Systems Engineer
    P.V.A. systems s.r.o.
    ------------------------------



  • 16.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 02-29-2024 09:20
    Thanks for the reply. We have used the kar file which you have given in this thread , and applicationContext-spring-security-saml.xml file has been took from the following github location ( https://github.com/pentaho/pentaho-engineering-     samples/blob/9.4/Samples_for_Extending_Pentaho/Reference%20Implementations/Security/SAML%202.0/documentation/resources/applicatio  nContext-spring-security-saml.xml .)
    As per the document it is mentioned that after placing the kar file in /karaf/deploy folder , it would install the plugin (how to check that plugin is  installed ?) and it would create a configuration file pentaho.saml.cfg , but in our case it didn't create the configuration file , so we copied the file  from following github location (https://github.com/pentaho/pentaho-engineering-samples/tree/9.4/Samples_for_Extending_Pentaho/Reference%20Implementations/Security/SAML%202.0/pentaho-saml/src/main/resources/cfg .)
    Whether this is correct or it should create automatically after placing the kar file ? . I have mentioned the steps which they have mentioned in the document https://github.com/pentaho/pentaho-engineering-samples/blob/9.4/Samples_for_Extending_Pentaho/Reference%20Implementations/Security/SAML%202.0/documentation/SAML2%20Pentaho%20BA%20Server%20Best%20Practices.pdf) .
     I am not sure whether there is any issue in the kar file , if yes can you please provide us the kar file which had created the pentaho.saml.cfg file . Thanks in advance
     
     Steps Mentioned in the document :
    4) Place the built pentaho-saml.kar file into pentaho-solutions/system/karaf/deploy
    a. check log files to see if all went well; you should see a line stating:
    Creating configuration from pentaho.saml.cfg
    b. look into pentaho-solutions/system/karaf/etc
    i. you will notice a pentaho.saml.cfg file was created


  • 17.  RE: Issue while downloading Maven License Helper Plugin: code 503 from server: Service Unavailable

    Posted 03-05-2024 03:36

    Hi @Praveen Shibu

    if .cfg file was not created, so .kar file and OSGi module is not loaded correctly. IMHO .cfg file is created by module if not exists. Another modules do it.

    I can not create another .kar file. I don't known what have to be changed. I only build project in Maven and provided .kar file for you. Now is Pentaho repository is available, so you can build your own artifact with your modifications.

    I'm sorry. I can not help you more.



    ------------------------------
    Petr Prochazka
    Systems Engineer
    P.V.A. systems s.r.o.
    ------------------------------