View Full Version : Deploying Own project

01-03-2006, 12:17 AM
I can deploy pentaho-demo. But I would like to know how can i deploy my own project to Pentaho platform?
I got an error when I deployed my own page in the sample/getting-started/XXXXX.xaction.
And I want to debug in Pentaho, how can i do that?


01-03-2006, 08:07 AM
When you say "project", I am assuming you are trying to deploy your own solution. The "Creating Pentaho Solutions" guide outlines, by example, how to deploy your own solution, starting inside the sample solution directory structure.

It looks like you have started on the right track, dropping your action sequence into the getting-started sample. Did you then publish the action sequence to the platform? The publish step can be found here:

Fire up the pentaho-demo server Navigate from the demo home page to Settings and Services. On the next page, choose Update Settings and Content Click the 'Publish' step for the Solution Repository

If you are still having trouble after looking at our guide, attach your .xaction file to your next post and we can help you move forward:)

The easiest way to debug the Pentaho project is to download the latest source snapshot from sourceforge (http://www.pentaho.org/downloads/platform), download the Advanced Install Guide (http://www.pentaho.org/downloads/doc), and follow the instructions in the guide for setting up the platform in Eclipse and debugging.

best regards,

01-05-2006, 08:35 PM
I was deploying Pentaho with my own configuration.
I did step by step guided in "Creating Pentaho Solutions".
I created a folder named "myPentaho" that include
These files are extracted from "pentaho_j2ee_deployments-".
And I changed the name "myPentaho" to "pentaho.war" and paste it in the "%JBoss_Home%/server/default/deploy".
I also add/modify JBoss files.
I changed JBoss server port to "1981".
I strated JBoss server and it is fine on Console. And told "Pentaho BI platform is ready (
I opened browser and type "http://localhost:1981/pentaho".
I saw the "folder list" in the pentaho.war (ref:pentaho1.jpg). No default page. No home page. And I cannot locate "http://localhost"1981/pentaho/Navigate".

I tested next time. This time, I copied "pentaho.war" in the "dist" folder and paste it in the "%JBoss_Home%/server/default/deploy".
When I start the JBoss AS, I got

08:06:29,953 INFO [TomcatDeployer] deploy, ctxPath=/pentaho-style, warUrl=file:
08:06:50,093 INFO [TomcatDeployer] deploy, ctxPath=/pentaho, warUrl=file:/C:/jb
08:06:52,921 INFO [SimpleThreadPool] Job execution threads will use class loade
r of thread: main
08:06:53,015 INFO [QuartzScheduler] Quartz Scheduler v.1.5.1 created.
08:06:53,031 INFO [JobStoreTX] Using thread monitor-based data access locking (
08:06:54,109 WARN [JBossManagedConnectionPool] Throwable while attempting to ge
t a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested
throwable: (java.sql.SQLException: socket creation error)

But the server is up and running finally. This time, when I type "http://localhost:1981/pentaho".
I saw pentaho home page. But no images, but I got styles. I already put pentaho-style.war in the deploy folder.

Is there anything wrong? Please help me.
I tested on Windows Plaform.

And I tested debugging. To debug, have I need to extract "pentaho_src-"?
I extracted it and create project in Eclipse, but there is an error for packages.

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.dom4j.Node;
import org.eclipse.birt.report.engine.api.EngineConfig;
import org.eclipse.birt.report.engine.api.FORenderOption;
import org.eclipse.birt.report.engine.api.HTMLEmitterConfig;
import org.eclipse.birt.report.engine.api.HTMLRenderContext;
import org.eclipse.birt.report.engine.api.HTMLRenderOption;
import org.eclipse.birt.report.engine.api.HTMLServerImageHandler;
import org.eclipse.birt.report.engine.api.IParameterDefn;
import org.eclipse.birt.report.engine.api.IRenderOption;
import org.eclipse.birt.report.engine.api.IRunAndRenderTask;
import org.eclipse.birt.report.engine.api.IScalarParameterDefn;
import org.eclipse.birt.report.engine.api.RenderOptionBase;
import org.eclipse.birt.report.engine.api.ReportEngine;
import org.eclipse.birt.report.engine.api.impl.ParameterSelectionChoice;
import org.eclipse.birt.report.engine.api.impl.ReportRunnable;
import org.eclipse.birt.report.engine.api.impl.ScalarParameterDefn;
import org.eclipse.birt.report.engine.api.ReportParameterConverter;

I also installed "birt-report-framework-2.0M3.zip", and also "GEF-ALL-3.1.1.zip", emf.

And in the "Advance Installatin guide", it told I need 3 projects. I am clear with "pentaho-data" and "pentaho-solutions".
But how can I get "pentaho" folder? How to do ".project" and ".classpath". I am not good in Eclipse IDE. The guide told
I should download default .classpath and .project. How can I do that?
Please help me this also.

Best regards,

PS. I attached JPGs.

01-05-2006, 08:38 PM
The JPGs have been remove because file size is bigger than allowed. I attached again.

01-05-2006, 08:39 PM
Change JPG to GIF.

01-05-2006, 08:41 PM
I cannot attached images.
Thanks you so much.

01-17-2006, 09:22 AM
The .project and .classpath files indicated in the Advanced Install Guide are available in the public CVS. These are standard Eclipse project files and communicate project configuration settings to Eclipse. However, I'm confused at what you are trying to do. If you want to just deploy your own solution or action sequences as indicated in the first post, you shouldn't need the source.