Tomcat – Pentaho : ‘docbase’ did not find a matching property

I’ve been using Pentaho “biserver-ce-3.8.0-stable” run on Tomcat 7. But everytime I start Tomcat, show some message like this:

May 11, 2011 3:02:13 PM org.apache.catalina.startup.SetContextPropertiesRule begin
WARNING: [SetContextPropertiesRule]{Context} Setting property ‘docbase’ to ‘webapps/pentaho/’ did not find a matching property.

So to get rid of this warning message, I delete

docbase=”webapps/pentaho/”

from

<Context path=”/pentaho” docbase=”webapps/pentaho/”>

in “webapps\pentaho\META-INF\context.xml”. Now, I see Tomcat run smoothly (“INFO: Deploying web application directory pentaho”). ^_^

Advertisements

Netbeans 7 – “Cannot locate java installation in specified jdkhome:”

I’ve installed previous versions of jdk1.6.0_17, and then after installing netbeans 7, I upgrade jdk to version jdk1.6.0_25.

Now, everytime I start Netbeans, it always show me this message :

Cannot locate java installation in specified jdkhome:
C:\Program Files\Java\jdk1.6.0_17
Do you want to try to use default version?

If I click “Yes”, the next time Netbeans started, the same message appear.

 

So to remove this, I change “netbeans.conf” in “C:\Program Files\NetBeans 7.0\etc”.

Change “netbeans_jdkhome” like this :

netbeans_jdkhome=”C:\Program Files\Java\jdk1.6.0_25″

then your Netbeans run as normal. ^_^

Warning On Startup Tomcat – Pentaho

Whenever I start Tomcat to work with Pentaho, I always got like this warning error :

May 11, 2011 1:50:48 PM 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>

The solution is to add <security-role> to ” tomcat\webapps\pentaho\WEB-INF\web.xml”,after the <security-constraint> tag.

<security-role>

<description>security role assignment for Non-Existent Role – this prevents direct access to JSPs</description>

<role-name>PENTAHO_ADMIN</role-name>

</security-role>

Pentaho User Console Login Bug on Firefox 4

After I simply login, I get this error message

Error generating XUL: Failed to parse: <?xml version=”1.0″ encoding=”UTF-8″?>
<?xml-stylesheet href=”chrome://global/skin/” type=”text/css”?>
<window width=”400″ hei

The temporary solution I found is to use firefox addon Remote Xul Manager, after installation, restart firefox and then add pentaho-host to the list of “Domains with remote XUL permission”.

I will try to find another solution from the server side. ^_^