Quantcast
Channel: Pentaho Community Forums - BI Platform
Viewing all 2893 articles
Browse latest View live

Running two Pentaho Instances in the same machine pointing to a single MYSQL Repos

$
0
0
Hi All,

I have installed Pentaho 4.1 in my server configured with Mysql repository. Is it possible to install another instance of Pentaho i.e Pentaho 5 in the same server and make them both running at the same time making use of the same mysql repository that is being used by Penatho 4.1 .

Doable ?

Thanks in Advance:D

Using a MS SQL server as a Data Source (MS Project Reporting Server)

$
0
0
Hi,

Having trouble figuring out how I'd configure this, since apparently the server is on a dynamic port.

Here is the info given by my DBA (hostname removed for privacy sake)


Server connection: XXXXXXXXX\SPS (dynamic port)
Version: MSSQL 2008 R2

Database: ProjectServer_Reporting

Can this be done?

relative path inside JCR

$
0
0
So... I'm in another mess with JCR, and I actually don't even know if I should post this here, or in PDI section, or even in CTools section.

The deal is: I've designed a transformation as datasource for a dashboard. This transformation uses ETL Metadata Injection into another transformation. I've set the file in Injection step as ${Internal.Transformation.Filename.Directory}\XX_historicoDLO_injected.ktr

But when I execute the dashboard, all I get is this error:
Code:

2014/03/20 17:17:19 - ETL Metadata Injection.0 - Unable to read file [file:///C:/Program Files (x86)/Pentaho/biserver-ce/pentaho-solutions/home/DLO/XX_historicoDLO_injected.ktr]
2014/03/20 17:17:19 - ETL Metadata Injection.0 - Could not read from "file:///C:/Program Files (x86)/Pentaho/biserver-ce/pentaho-solutions/home/DLO/XX_historicoDLO_injected.ktr" because it is a not a file.

Apparently, ${Internal.Transformation.Filename.Directory} and JCR don't get along. What can I do here to solve this?

How to deny login to not Autheticated users using LDAP (BI server 5.0.1)

$
0
0
I've managed to have LDAP Access in Pentaho BI 5.0.1, but i'm unable to deny login to users which doesn't have "Authenticated" role (or "PentahoAuthenticated" in my case).

When a user without "Authenticated" or "PentahoAuthenticated" role tries to log in Pentaho BI typing a valid password, he can actually reach the PUC. In the login process catalina.out spit some errors like "Access denied to this data...", so the user is unable to access the JCR repository and PUC only shows him "Browse files" (which do nothing) and "Documentation" buttons.

In previous versions of Pentaho (4.10) was possible to define ACL rules in ./pentaho-solutions/system/pentaho.xml file but that file no longer contains ACL rules.

I tried to alter applicationContext-security-ldap.properties in that way
Code:

contextSource.providerUrl=ldap\://ldap.org.intranet\:389
contextSource.userDn=cn\=root,dc\=org,dc\=intranet
contextSource.password=xxxxx

userSearch.searchBase=ou\=Users,dc\=org,dc\=intranet
userSearch.searchFilter=(uid\={0})

populator.convertToUpperCase=false
populator.groupRoleAttribute=cn
populator.groupSearchBase=ou\=Groups,dc\=org,dc\=intranet
populator.groupSearchFilter=(&(memberUid\={1})(cn="PentahoAuthenticated"))
populator.rolePrefix=
populator.searchSubtree=false

allAuthoritiesSearch.roleAttribute=cn
allAuthoritiesSearch.searchBase=ou\=Groups,dc\=org,dc\=intranet
allAuthoritiesSearch.searchFilter=(objectClass\=posixGroup)

allUsernamesSearch.usernameAttribute=uid
allUsernamesSearch.searchBase=ou\=Users,dc\=org,dc\=intranet
allUsernamesSearch.searchFilter=objectClass\=person

adminRole=cn\=PentahoAdmin,ou\=Groups,dc\=org,dc\=intranet
adminUser=cn\=root,dc\=org,dc\=intranet

I've added the condition (cn="PentahoAuthenticated") in populator.groupSearchFilter but with no success.

Any idea?

regards

carles.

Unable to see reporting and analyser options

$
0
0
Hi - I have just downloaded "biserver-ce-5.0.1-stable" on windows, unzipped it and then started using "start-pentaho.bat". I can login to User console using http://localhost:8080/ as admin user. However when I click on File->New I see only two options: Data Source & JPivotView. I dont see any option to create new reports or analyser that I have seen in a few demos. Do I need to install something else to get to see those options?

One additional observation in logs during start-up is the stack trace shown below. Not sure if this is preventing those options to be viewed.

Looking for some quick help!

Thanks.....


[Server@3dc5822c]: From command line, use [Ctrl]+[C] to abort abruptly
21:35:35,662 ERROR [SQLLookupRule] Error Start: Pentaho Pentaho Platform Core 5.
0.1-stable.-1
21:35:35,689 ERROR [SQLLookupRule] cc843fbc-b1db-11e3-9b24-9c2a70c4a50b:COMPONEN
T:context-794977247-1395504334037:global-department-list.xactionConnectFactory.E
RROR_0001 - Database connection could not be established to: SampleData
org.pentaho.platform.api.data.DBDatasourceServiceException: javax.naming.NameNot
FoundException: Name SampleData is not bound in this Context
at org.pentaho.platform.engine.services.connection.datasource.dbcp.BaseD
atasourceService.getJndiDataSource(BaseDatasourceService.java:113)
at org.pentaho.platform.engine.services.connection.datasource.dbcp.Poole
dOrJndiDatasourceService.retrieve(PooledOrJndiDatasourceService.java:50)
at org.pentaho.platform.engine.services.connection.datasource.dbcp.Poole
dOrJndiDatasourceService.getDataSource(PooledOrJndiDatasourceService.java:110)
at org.pentaho.platform.plugin.services.connections.sql.SQLConnection.in
itWithJNDI(SQLConnection.java:192)
at org.pentaho.platform.plugin.services.connections.sql.SQLConnection.se

Problems installing biserver-ce-5.0.1-stable. Please provide some assistance

$
0
0
I would be very grateful for some assistance setting up biserver-ce-5.0.1-stable with MSSQL Express 2008 SP2 R2, Java jdk 8 64 Bit, tomcat 8.0.3 64 Bit. I have spent 3 days searching these forums as well as doing searches through Google. I am not able to move forward on my own. I have also tried this install using the Tomcat6 that is included with biserver-ce-5.0.1. I have also deleted the jackrabbit repository files to insure I am not having issue with repository files.

I have successfully created a pentaho database and a pentaho_sample_data database. I have verified that the user name and password as well as the class name and url are correct that I am using in the following files:

context.xml
applicationContext-spring-security-jdbc.properties
applicationContext-spring-security-hibernate.properties
mssql.hibernate.cfg.xml

My install path for Pentaho and Tomcat is as follows:

C:\
|-- pentaho
| |-- adminstration-console
| |-- biserver-ce
|...|-- pentaho-solutions
|...|-- tomcat
|.....|-- lib
| ......`-- jtds-1.2.5.jar
|
|...|-- webapps
|.....|-- pentaho
|.....|-- pentaho-styles
|.....|-- sw-styles

I have installed Tomcat8 as a service and I am able to start the service and load http://localhost:8080
I am unable to start Pentaho. I have attached all the logs files.

catalina.2014-03-23.log
pentaho.log

I would like to thank everyone ahead of time for their assistance.

Regards,

Joe
Attached Files

Connect Pentaho User Console Enterprise Edition to SQL SERVER 2000 using ODBC access

$
0
0
I try to create database connection from Pentaho User Console to database MS SQL Server 2000 using ODBC access. I already create DSN in both client and server. Then I try to create Database Connection in Pentaho User Console.

test.jpg

However, when I test the connection, this error show up:

error.jpg

How I can fix this error? I try to do same connection in Pentaho Data Integration and the Connection to database [sutera] is OK. However, when I do the same step in Pentaho User Console, I got that error. Please someone guide me to fix this error.
Attached Images

java.net.BindException: Address already in use :8080

$
0
0
Hello devs,

I'm having a provlem running the BI platform.

My software versions:
OS: Linux Ubuntu 12.04 LTS
Java: jdk1.6.0_43.
Pentaho: biserver-ce-5.0.1-stable

When executing the run_pehtano.sh script, I get the following error (see the full trace below): java.net.BindException: Address already in use <null>:8080.

Does anyone have an idea what shall be done in order to have it working?

---

See the full trace at pastebin: http://pastebin.com/5x7DDuFG

Mar 24, 2014 9:42:29 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/artur/jdk1.6.0_43/jre/lib/amd64/server:/home/artur/jdk1.6.0_43/jre/lib/amd64:/home/artur/jdk1.6.0_43/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Mar 24, 2014 9:42:29 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use <null>:8080
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:180)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1123)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:838)
at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
at org.apache.catalina.startup.Catalina.load(Catalina.java:562)
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:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
at java.net.ServerSocket.<init>(ServerSocket.java:150)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
... 12 more
Mar 24, 2014 9:42:29 AM org.apache.catalina.core.StandardService initialize
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8080]]
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use <null>:8080
at org.apache.catalina.connector.Connector.initialize(Connector.java:1125)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:838)
at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
at org.apache.catalina.startup.Catalina.load(Catalina.java:562)
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:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Mar 24, 2014 9:42:29 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 580 ms
Mar 24, 2014 9:42:29 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 24, 2014 9:42:29 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.36
Mar 24, 2014 9:42:29 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor pentaho.xml
Mar 24, 2014 9:42:31 AM org.apache.catalina.startup.ContextConfig validateSecurityRoles
INFO: WARNING: Security role name PENTAHO_ADMIN used in an <auth-constraint> without being defined in a <security-role>
09:42:34,184 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filterChainProxy' defined in file [/home/artur/pentaho/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'basicProcessingFilter' defined in file [/home/artur/pentaho/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]: Cannot resolve reference to bean 'authenticationManager' while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in file [/home/artur/pentaho/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]: Cannot create inner bean 'pen:bean#135c40eb' of type [org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder] while setting bean property 'providers' with
key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pen:bean#135c40eb': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.providers.dao.DaoAuthenticationProvider#1' defined in file [/home/artur/pentaho/biserver-ce/pentaho-solutions/system/applicationContext-spring-security-jackrabbit.xml]: Cannot create inner bean 'pen:bean#1531164' of type [org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder] while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pen:bean#1531164': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cachingUserDetailsService' defined in file [/home/artur/pentaho/biserver-ce/
pentaho-solutions/system/pentahoObjects.spring.xml]: Cannot resolve reference to bean 'UserDetailsService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UserDetailsService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService' defined in file [/home/artur/pentaho/biserver-ce/pentaho-solutions/system/applicationContext-spring-security-jackrabbit.xml]: Cannot resolve reference to bean 'userRoleDaoTxn' while setting bean property 'userRoleDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRoleDaoTxn' defined in file [/home/artur/pentaho/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'userRoleDao' while setting bean property 'target'; nested exception is org.springframework.beans.
factory.BeanCreationException: Error creating bean with name 'userRoleDao' defined in file [/home/artur/pentaho/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'adminJcrTemplate' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminJcrTemplate' defined in file [/home/artur/pentaho/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'jcrAdminSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrAdminSessionFactory' defined in file [/home/artur/pentaho/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'jcrRepository' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '
jcrRepository' defined in file [/home/artur/pentaho/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Invocation of init method failed; nested exception is javax.jcr.RepositoryException: The repository home /home/artur/pentaho/biserver-ce/pentaho-solutions/system/jackrabbit/repository appears to be in use since the file named .lock is locked by another process.

INTEGRATION WITH PROCESSMAKER. Missing or expired license

$
0
0
I have a problem when I try to intengrate Pentaho with ProcessMaker. When I try to log in, this message appears: "MISSING OR EXPIRED LICENCE. To continue you must update your Pentaho BI plataform license. If you are not ready now you may log out and come later" nevertheless, I installed Pentaho just three days ago. What can I do?
Pentaho licencia expirada - copia.jpg
Attached Images

Pentaho 5 BI Server gwt plugin

$
0
0
I'm updating a gwt plugin that function properly in BI 3.x-4.x. I made some corrections in code and now the plugin is able to save/load its data in the repository and load its status when i type url in browser

http://localhost:8080/pentaho/conten...view#dashboard

First I note that command action in operations from my content-type don't do anything and i used a perspective referenced later in plugin.xml and plugin.spring.xml. When run the application the generated url is

http://localhost:8080/pentaho/api/re...=1395256028350

and in my ContentGenerator (class i receive the path value as "/home/admin/test2.std" which is ok according to this version but i thing i'm missing or doing something wrong because the GWT-WS is not called, only ContexGenerator. When I type url in browser the application exec first ContentGenerator, then WS and then again the ConntextGenerator.

plugin.xml

<plugin title='STDashboard Pentaho Plugin' loader="OVERRIDING" name="stdashboard">
<webservice id="olapInteraction" type="gwt"
class="com.stratebi.stdashboard.server.OlapInteractionImplLite"/>
<content-type type="std" mime-type="text/html">
<title>STDashboard Plugin</title>
<description>STDashboard configuration file</description>
<icon-url>content/stdashboard-res/stdashboard_16.jpg</icon-url>
<meta-provider>com.stratebi.stdashboard.STDashboardContentTypeMetaProvider</meta-provider>
<operations>
<operations>
<operation>
<id>RUN</id>
<perspective>run</perspective>
</operation>
</operations>
</content-type>
<content-generator id="std" title="STDashboard" type="std.run"
class="com.stratebi.stdashboard.STDashboardContentGenerator"/>
<static-paths>
<static-path url="/stdashboard-res" localFolder="resources"/>
</static-paths>
<overlays>
<overlay id="startup.STDashboardPlugin"
resourcebundle="content/stdashboard-res/stdashboard">
<button id="openSTDashboard" label="${stdashboard.tooltip}"
command="Home.openFile('STDashboard','STDashboard',
'content/stdashboard?solution=system&amp;path=temp&amp;action=true');
$('#btnCreateNew').popover('hide')" />
</overlay>
<overlay id="launch" resourcebundle="content/stdashboard-res/stdashboard">
<button id="stdashboardButton" image="content/stdashboard-res/stdashboard.png"
command="Home.openFile('STDashboard','STDashboard',
'content/stdashboard?solution=system&amp;path=temp&amp;action=true')"
label="${stdashboard.tooltip}" />
</overlay>
</overlays>
</plugin>

plugin.spring.xml

<beans "namespaces list...">
<context:annotation-config />
<bean id="stdashboard"
class="com.stratebi.stdashboard.STDashboardContentGenerator" scope="prototype"/>
<bean id="stdashboard.run"
class="com.stratebi.stdashboard.STDashboardContentGenerator" scope="prototype"/>
</beans>

Thanks in advance

Can report designer 5.0.1 use a Data Source created from community biserver 5.0.1?

$
0
0
Do the community versions of the biserver and report designer integrate sufficiently so that a data source created via the Data Source Wizard (including table joins) is usable by report designer? So far, I don't see data sources created in biserver from report designer. It seems that the only use for the more "report model"-style data sources that can be built with the biserver wizard are only usable in the user console, e.g., as a pivot type report. Is this true? Is there a plug-in for the community biserver that provides other reporting (via user console) and integration with the report designer?

Thanks!

Pentaho Server-CE 5.0.1 problem after installation

$
0
0
Hi all,
i'm new in Pentaho world and I need an help to install server.
I use Mac OSX Snow Leopard (10.6.8).
I downloaded the biserver-ce from http://community.pentaho.com/ and I lunch start-pentaho.sh.
I don't work and I got these error from tomcat logs (catalina.out):
Code:

25-mar-2014 23.57.49 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
25-mar-2014 23.57.49 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8083
25-mar-2014 23.57.49 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 675 ms
25-mar-2014 23.57.49 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
25-mar-2014 23.57.49 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.36
25-mar-2014 23.57.49 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor pentaho.xml
25-mar-2014 23.57.50 org.apache.catalina.startup.ContextConfig validateSecurityRoles
INFO: WARNING: Security role name PENTAHO_ADMIN used in an <auth-constraint> without being defined in a <security-role>
[Server@3fb6772a]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@3fb6772a]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@3fb6772a]: Initiating startup sequence...
[Server@3fb6772a]: Server socket opened successfully in 2 ms.
[Server@3fb6772a]: Database [index=0, id=0, db=file:../../data/hsqldb/sampledata, alias=sampledata] opened sucessfully in 1379 ms.
[Server@3fb6772a]: Database [index=1, id=1, db=file:../../data/hsqldb/hibernate, alias=hibernate] opened sucessfully in 38 ms.
[Server@3fb6772a]: Database [index=2, id=2, db=file:../../data/hsqldb/quartz, alias=quartz] opened sucessfully in 16 ms.
[Server@3fb6772a]: Startup sequence completed in 1439 ms.
[Server@3fb6772a]: 2014-03-25 23:57:52.941 HSQLDB server 1.8.0 is online
[Server@3fb6772a]: To close normally, connect and execute SHUTDOWN SQL
[Server@3fb6772a]: From command line, use [Ctrl]+[C] to abort abruptly
23:58:02,817 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.h2.tools.Server' defined in file [/Users/enfix/pentaho/biserver-ce2/pentaho-solutions/system/GettingStartedDB-spring.xml]: Invocation of init method failed; nested exception is org.h2.jdbc.JdbcSQLException: Exception opening port "9092" (port may be in use), cause: "java.net.BindException: Address already in use" [90061-131]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.h2.jdbc.JdbcSQLException: Exception opening port "9092" (port may be in use), cause: "java.net.BindException: Address already in use" [90061-131]
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
    at org.h2.message.DbException.get(DbException.java:156)
    at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:175)
    at org.h2.util.NetUtils.createServerSocket(NetUtils.java:141)
    at org.h2.server.TcpServer.start(TcpServer.java:200)
    at org.h2.tools.Server.start(Server.java:330)
    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:597)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    ... 39 more
Caused by: java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.socketBind(PlainSocketImpl.java:521)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:414)
    at java.net.ServerSocket.bind(ServerSocket.java:326)
    at java.net.ServerSocket.<init>(ServerSocket.java:192)
    at java.net.ServerSocket.<init>(ServerSocket.java:104)
    at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:171)
    ... 49 more
25-mar-2014 23.58.02 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
25-mar-2014 23.58.02 org.apache.catalina.core.StandardContext start
GRAVE: Context [/pentaho] startup failed due to previous errors
23:58:02,946 ERROR [Logger] Error: Pentaho
23:58:02,946 ERROR [Logger] misc-org.pentaho.platform.engine.core.system.PentahoSystem: PentahoSystem.ERROR_0015 - Errore nel tentativo di esecuzione della sequenza di shutdown per org.pentaho.platform.engine.services.connection.datasource.dbcp.PooledDatasourceSystemListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ICacheManager' defined in file [/Users/enfix/pentaho/biserver-ce2/pentaho-solutions/system/pentahoObjects.spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.pentaho.platform.plugin.services.cache.CacheManager]: Constructor threw exception; nested exception is java.lang.NullPointerException
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:826)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    at org.pentaho.platform.engine.core.system.objfac.spring.SpringPentahoObjectReference.getObject(SpringPentahoObjectReference.java:47)
    at org.pentaho.platform.engine.core.system.objfac.AggregateObjectFactory.get(AggregateObjectFactory.java:203)
    at org.pentaho.platform.engine.core.system.objfac.AggregateObjectFactory.get(AggregateObjectFactory.java:87)
    at org.pentaho.platform.engine.core.system.PentahoSystem.getCacheManager(PentahoSystem.java:1097)
    at org.pentaho.platform.engine.services.connection.datasource.dbcp.PooledDatasourceSystemListener.shutdown(PooledDatasourceSystemListener.java:68)
    at org.pentaho.platform.engine.core.system.PentahoSystem.shutdown(PentahoSystem.java:922)
    at org.pentaho.platform.web.http.context.SolutionContextListener.contextDestroyed(SolutionContextListener.java:236)
    at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4245)
    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4886)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4750)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.pentaho.platform.plugin.services.cache.CacheManager]: Constructor threw exception; nested exception is java.lang.NullPointerException
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
    ... 42 more
Caused by: java.lang.NullPointerException
    at org.pentaho.platform.engine.core.system.SystemSettings.getAbsolutePath(SystemSettings.java:182)
    at org.pentaho.platform.engine.core.system.PathBasedSystemSettings.getAbsolutePath(PathBasedSystemSettings.java:89)
    at org.pentaho.platform.engine.core.system.SystemSettings.getFile(SystemSettings.java:163)
    at org.pentaho.platform.engine.core.system.SystemSettings.getSystemSettingsDocument(SystemSettings.java:135)
    at org.pentaho.platform.engine.core.system.SystemSettings.getSystemSetting(SystemSettings.java:87)
    at org.pentaho.platform.engine.core.system.SystemSettings.getSystemSetting(SystemSettings.java:99)
    at org.pentaho.platform.engine.core.system.PathBasedSystemSettings.getSystemSetting(PathBasedSystemSettings.java:69)
    at org.pentaho.platform.plugin.services.cache.CacheManager.<init>(CacheManager.java:167)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    ... 44 more
23:58:02,965 ERROR [Logger] Error end:
[Server@3fb6772a]: Initiating shutdown sequence...
[Server@3fb6772a]: Shutdown sequence completed in 1 ms.
[Server@3fb6772a]: 2014-03-25 23:58:02.967 SHUTDOWN : System.exit() was not called
25-mar-2014 23.58.03 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
GRAVE: The web application [/pentaho] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
25-mar-2014 23.58.03 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/pentaho] appears to have started a thread named [HSQLDB Timer @55c79dfc] but has failed to stop it. This is very likely to create a memory leak.
25-mar-2014 23.58.03 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/pentaho] appears to have started a thread named [H2 Log Writer DB] but has failed to stop it. This is very likely to create a memory leak.
25-mar-2014 23.58.03 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/pentaho] appears to have started a thread named [H2 Log Writer DB] but has failed to stop it. This is very likely to create a memory leak.
25-mar-2014 23.58.03 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/pentaho] appears to have started a thread named [DefaultQuartzScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
25-mar-2014 23.58.03 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/pentaho] appears to have started a thread named [DefaultQuartzScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
25-mar-2014 23.58.03 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/pentaho] appears to have started a thread named [DefaultQuartzScheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
....
....
....

But I'm not desperate and I tried to set mysql database following this post http://pentaho-bi-suite.blogspot.it/...1-ce-with.html.
Now the errors are disappeared (or not ?) (catalina.out):
Code:

25-mar-2014 23.37.14 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
25-mar-2014 23.37.14 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
25-mar-2014 23.37.14 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 667 ms
25-mar-2014 23.37.14 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
25-mar-2014 23.37.14 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.36
25-mar-2014 23.37.14 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor pentaho.xml
25-mar-2014 23.37.15 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory pentaho-style
25-mar-2014 23.37.15 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
25-mar-2014 23.37.15 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory sw-style
25-mar-2014 23.37.15 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
25-mar-2014 23.37.15 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
25-mar-2014 23.37.15 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/32  config=null
25-mar-2014 23.37.15 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1334 ms
25-mar-2014 23.48.32 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8081
25-mar-2014 23.48.33 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
25-mar-2014 23.48.33 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8081

Ignore the port number of both solutions, I change it in server.xml.
Help me please.

how to Reference a report in xaction

$
0
0
hi
i try reference report in a xaction i use "SimpleReportingComponent" but when i run the xaction some error show
i use Pentaho Bi Server 5.0.1

my xaction report part:
Code:

<action-definition>
      <component-name>SimpleReportingComponent</component-name>
      <action-type>Pentaho Report</action-type>
      <action-inputs>
        <queryData type="result-set" mapping="query_result"/> 
        <outputType type="string"/>
      </action-inputs>
      <action-resources>
        <reportDefinition type="resource"/>
      </action-resources>
      <action-outputs>
        <outputstream type="content" mapping="datialreport"/>
      </action-outputs>
      <component-definition/>
    </action-definition>

my xaction input and resourcespart:
Code:

<inputs>
    <orgname type="string">
      <sources>
        <request>orgname</request>
      </sources> 
      <default-value><![CDATA[myparameter]]></default-value>
    </orgname> 
    <outputType type="string">
      <sources>
        <request>outputType</request>
      </sources> 
      <default-value><![CDATA[text/html]]></default-value>
    </outputType>
  </inputs>

  <outputs>
    <datialreport type="content"/>
  </outputs>

  <resources>
    <reportDefinition>
      <solution-file>
        <location>master.prpt</location> 
        <mime-type>application/zip</mime-type>
      </solution-file>
    </reportDefinition>
  </resources>

mysql xaction actions part :
Code:

<actions>
    <action-definition>
      <component-name>JavascriptRule</component-name>
      <action-type>JavaScript</action-type>
      <action-inputs>
        <orgname type="string"/>
      </action-inputs>
      <action-outputs>
        <condition type="string"/>
      </action-outputs>
      <component-definition>
        <script><![CDATA[condition=" "
if(orgname.length>0)
{
  condition+=" where orgname='"+orgname+"'"
}]]></script>
      </component-definition>
    </action-definition>
 
    <action-definition>
      <component-name>SQLLookupRule</component-name>
      <action-type>Relational</action-type>
      <action-inputs>
        <condition type="string"/>
      </action-inputs>
      <action-outputs>
        <query-result type="result-set" mapping="query_result"/>
      </action-outputs>
      <component-definition>
        <query><![CDATA[SELECT `serialnumber`,pname,orgname,depname,`fee` FROM `registerrecords` r
left join organizations o on r.orgcode=o.orgcode
left join patient p on r.fileno=p.fileno
left join department d on r.depcode=d.depcode and d.orgcode=r.orgcode
{condition}]]></query> 
        <live><![CDATA[true]]></live> 
        <driver><![CDATA[com.mysql.jdbc.Driver]]></driver> 
        <user-id><![CDATA[root]]></user-id> 
        <password><![CDATA[adminadmin]]></password> 
        <connection><![CDATA[jdbc:mysql://localhost:3306/alen?useUnicode=true&characterEncoding=utf-8]]></connection>
      </component-definition>
    </action-definition>
 
    <action-definition>
      <component-name>SimpleReportingComponent</component-name>
      <action-type>Pentaho Report</action-type>
      <action-inputs>
        <queryData type="result-set" mapping="query_result"/> 
        <outputType type="string"/>
      </action-inputs>
      <action-resources>
        <reportDefinition type="resource"/>
      </action-resources>
      <action-outputs>
        <outputstream type="content" mapping="datialreport"/>
      </action-outputs>
      <component-definition/>
    </action-definition>
 
  </actions>

the error:
Code:

The Pentaho BI Platform reported an error while running an action sequence

    Possible Causes:NullPointerException:
ActionExecutionException: RuntimeContext.ERROR_0017 - 活动无法执行

  Action Sequence:getdetail.xaction
  Execution Stack:EXECUTING ACTION: Pentaho Report (SimpleReportingComponent)

  Loop Index:0
  Error Time:2014年3月26日 星期三 下午02时58分23秒 CST
  Error Type:ActionExecutionException
  Session ID:admin
  Instance Id:05991be6-b4b4-11e3-969f-606c66248272
  Action Class:SimpleReportingComponent
  Action Description:Pentaho Report
   
        Hide Details
  Stack Trace:org.pentaho.platform.api.engine.ActionExecutionException: RuntimeContext.ERROR_0017 - 活动无法执行
    at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeComponent(RuntimeContext.java:1331)
    at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeAction(RuntimeContext.java:1279)
    at org.pentaho.platform.engine.services.runtime.RuntimeContext.performActions(RuntimeContext.java:1176)
    at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeLoop(RuntimeContext.java:1122)
    at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:1004)
    at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:910)
    at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:386)
    at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:305)
    at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:184)
    at org.pentaho.platform.web.http.api.resources.XactionUtil.executeInternal(XactionUtil.java:286)
    at org.pentaho.platform.web.http.api.resources.XactionUtil.executeHtml(XactionUtil.java:195)
    at org.pentaho.platform.web.http.api.resources.XactionUtil.execute(XactionUtil.java:335)
    at org.pentaho.platform.web.http.ActionSequenceContentGenerator.createContent(ActionSequenceContentGenerator.java:61)
    at org.pentaho.platform.engine.services.solution.SimpleContentGenerator.createContent(SimpleContentGenerator.java:57)
    at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.generateContent(GeneratorStreamingOutput.java:229)
    at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.write(GeneratorStreamingOutput.java:156)
    at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutputProvider.java:58)
    at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutputProvider.java:37)
    at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
    at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
    at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:111)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:116)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:161)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:83)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
    at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
    at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
    at org.pentaho.platform.web.http.security.PentahoBasicProcessingFilter.doFilterHttp(PentahoBasicProcessingFilter.java:88)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    at org.pentaho.platform.web.http.filters.HttpSessionPentahoSessionIntegrationFilter.doFilter(HttpSessionPentahoSessionIntegrationFilter.java:265)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
    at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.pentaho.platform.web.http.filters.WebappRootForwardingFilter.doFilter(WebappRootForwardingFilter.java:66)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.NullPointerException
    at org.pentaho.platform.engine.services.solution.PojoComponent.executeAction(PojoComponent.java:434)
    at org.pentaho.platform.engine.services.solution.ComponentBase.execute(ComponentBase.java:465)
    at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeComponent(RuntimeContext.java:1313)
    ... 81 more

anybody can help me thanks

Pentaho ce 5 Initialization Exception

$
0
0
While working on pentaho bi server, I got following error

Pentaho Initialization Exception

The following errors were detected
One or more system listeners failed. These are set in the systemListeners.xml.
org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - Error while trying to execute startup sequence for org.pentaho.platform.scheduler2.quartz.EmbeddedQuartzSystemListener

Please see the server console for more details on each error detected.

We are using Pentaho CE 5.0.1.

Details log available in attachment

Thanks
Nitesh
Attached Files

Customize Pentaho CE 5.1 - Load/display a dashboard after login

$
0
0
Hi All,

I am able to load a dashboard after login using the method (iframe) provide in the following link:

http://forums.pentaho.com/showthread...mize-Home-Page

but effect of this method (removing all content within <body></body> tag and placing just iframe)
is that 'Home > Browse Files' menu/link does not work. All other links like 'Marketplace', 'Schedules',
'Administration' works.

There are other issues using the iframe approach but I am interested in the just making the
'Home > Browse Files' menu work and a message 'Just a few moments please.
Pentaho User Console Is Loading' to appear.

Could someone please suggest how I can make this work.

Thanks

Pentaho + Salesforce

$
0
0
Hi,

We are planning to integrate Pentaho inside Salesforce. We have referred the link http://www.salesforce.com/us/developer/docs/api_rest/Content/quickstart_oauth.htm and created Consumer Key & Consumer Secret in Sales Force but we could not find the way to pass this Consumer Key and Consumer Secret to pentaho.


Do we have a way to request the appropriate Salesforce token from pentaho and also let us know if any other option is available to integrate pentaho in salesforce?

Thanks,
Herwin Rayen

Pentaho Branches - explanation

$
0
0
On git-hub currently (03-26-2014) pentaho-platform project have 11 branches:
  • 5.0
  • 5.0.5
  • 5.0-CE
  • 5.0-CE-Dev
  • 5.0-OLD
  • 5.1
  • ...
  • ...
  • master


01. Can anybody explain this counted versions? Which version is best


When I fork my version (12-20-2013) pentaho-platform have 8 branches:
$ git branch -a
* 5.0
remotes/origin/5.0
remotes/origin/5.0-CE
remotes/origin/5.0-CE-Dev
remotes/origin/5.0-OLD
remotes/origin/acl-voter-story
remotes/origin/dev-local
remotes/origin/feature1
remotes/origin/master

02. Is it possible to merge my version with new versions?

Dashboards.context.roles is undefined

$
0
0
When testing on my localhost, a javascript file retrieving the user roles using "Dashboards.context.roles" returns the role array set up in the administration console for the logged in user.

However, after deploying the bi-server to another server and setting up the roles within the administration console, Dashboards.context.roles is undefined.

The only difference between the two is that on the new server, the BI Server is accessed via an IP address, not "localhost:8080"

I followed the instructions here to ensure that security was enabled between the BI Server the Admin Console and then restarted the server. The admin console connects to the BI server fine, but still the roles for the logged in user are undefined (as well, the user is undefined).
http://wiki.pentaho.com/display/Serv...+and+BI+Server

Does anyone have any ideas?
Thanks in advance!

(sorry if you saw this post in C-Tools, I didn't know how to move the post to another forum)

Error When trying to connect Pentaho User console to MSSQL Server 2000

$
0
0
I try to create data source in Pentaho User Console where I want it to connect to MSSQL Server 2000. When I test this connection, I got this error:

error2.JPG

Why this error come out? Can someone tell me why & how to fix this?
Attached Images

Pentaho Mobile BI

$
0
0
Hi Guys,

I need help from your side.

1. I used Android App for older versions of Pentaho. I am unable to login to those apps with guest login on demo.pentaho.com. How to access Pentaho Mobile Console?
2. Is this link changed now?
3. I saw few Pentaho Videos presenting Pentaho Mobile Capabilities, I observed they are using Mobile Browser for that and they are getting Pentaho Mobile user console screen. How to get to that screen?
4. I have reports/dashboards deployed on Server for accessing those on Desktops. Do I need to do any changes to those to access it on Mobile/ipads??

Need your help. Thanks in advance.

Thanks,
Vishwesh
Viewing all 2893 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>