Manually unzipped the war file




Download 14.9 Kb.
NameManually unzipped the war file
A typeManual
manual-guide.com > manual > Manual

I have built pentaho BI from the 1.2 GA war file:


Distribution: pentaho_j2ee_deployments-1.2.1.625-GA
I followed the steps outlined in “manual deploy of pentaho”.

http://wiki.pentaho.org/display/PentahoDoc/Manual+Deployment+of+Pentaho

followed by deployment for tomcat:

http://wiki.pentaho.org/display/PentahoDoc/Tomcat+5.5
First did a build, for tomcat/mysql:

  1. cd to the pentaho j2ee GA distn directory

  2. ant war-pentaho-tomcat-mysql

  3. mkdir /usr/local/apache-tomcat/webapps/pentaho

  4. cd /usr/local/apache-tomcat/webapps/pentaho

  5. manually unzipped the .war file:
    jar xvf …./pentaho.war

  6. manually unzipped the pentaho-solutions file from 1.2 GA

    1. /usr/local/apache-tomcat/webapps/pentaho/pentaho-solutions

  7. manually unzipped the pentaho-data file from 1.2 GA into

    1. /usr/local/apache-tomcat/webapps/pentaho/pentaho-data

  8. create file context.xml and put in /usr/local/apache-tomcat/webapps/pentaho/META-INF

    1. context.xml file as follows (I borrowed from the manual deployment manual but changed it to use mysql bindings)

    2. also, I populated mysql database from the dump file from vn 1.6GC1 sampledata dump file




maxIdle="5" maxWait="10000" username="pentaho_user" password="password"

factory="org.apache.commons.dbcp.BasicDataSourceFactory" driverClassName="com.mysql.jdbc.Driver"

url="jdbc:mysql://localhost:3306/sampledata" />


factory="org.apache.commons.dbcp.BasicDataSourceFactory" maxActive="20" maxIdle="5"

maxWait="10000" username="hibuser" password="password"

driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/hibernate" />


factory="org.apache.commons.dbcp.BasicDataSourceFactory" maxActive="20" maxIdle="5"

maxWait="10000" username="pentaho_user" password="password"

driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/quartz" />


factory="org.apache.commons.dbcp.BasicDataSourceFactory" maxActive="20" maxIdle="5"

maxWait="10000" username="sa" password="" driverClassName="com.mysql.jdbc.Driver"

url="jdbc:mysql://localhost/shark" />


maxIdle="5" maxWait="10000" username="pentaho_admin" password="password"

factory="org.apache.commons.dbcp.BasicDataSourceFactory" driverClassName="com.mysql.jdbc.Driver"

url="jdbc:mysql://localhost:3306/sampledata" />



  1. restarted tomcat


Now, the following page is what I get when I try to access tomcat from the browser.

Clearly, it cannot connect to the mysql database ( I have checked each user account manually – they exist).



Hypersonic Fails


I tried the hypersonic distribution as well – build the tomcat/hypersonic pentaho 1.2GA. the build was fine, but starting the hypersonic database from the pentaho-data directory fails …. As follows:
[root@mrostron pentaho-data]# ./start_hypersonic.sh

JAVA_HOME set to /usr/lib/jvm/java-1.5.0-sun/

JAVA is /usr/lib/jvm/java-1.5.0-sun//bin/java

[Server@1a758cb]: [Thread[main,5,main]]: checkRunning(false) entered

[Server@1a758cb]: [Thread[main,5,main]]: checkRunning(false) exited

[Server@1a758cb]: Startup sequence initiated from main() method

[Server@1a758cb]: Loaded properties from [/usr/local/apache-tomcat-5.5.16/webapps/pentaho/pentaho-data/server.properties]

[Server@1a758cb]: Initiating startup sequence...

[Server@1a758cb]: [Thread[HSQLDB Server @1a758cb,5,main]]: run()/openServerSocket():

java.net.BindException: Address already in use

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)

at java.net.ServerSocket.bind(ServerSocket.java:319)

at java.net.ServerSocket.(ServerSocket.java:185)

at java.net.ServerSocket.(ServerSocket.java:97)

at org.hsqldb.HsqlSocketFactory.createServerSocket(Unknown Source)

at org.hsqldb.Server.openServerSocket(Unknown Source)

at org.hsqldb.Server.run(Unknown Source)

at org.hsqldb.Server.access$000(Unknown Source)

at org.hsqldb.Server$ServerThread.run(Unknown Source)

[Server@1a758cb]: Initiating shutdown sequence...

[Server@1a758cb]: Shutdown sequence completed in 7 ms.

[Server@1a758cb]: 2007-08-31 16:44:09.186 SHUTDOWN : System.exit() is called next

Share in:

Related:

Manually unzipped the war file iconManually entered file numbers will now show within the Tab’s header....

Manually unzipped the war file iconManually :The output percentage is determined by manually set

Manually unzipped the war file iconThe war on drugs What is the effect of the war on drugs in the usa...

Manually unzipped the war file iconCanadian War Dead from the Second World War, Buried in Italy

Manually unzipped the war file iconReport of the quartermaster of the u. S. Army to the secretary of...

Manually unzipped the war file icon| Complete index of Aminet, created on 19-Jan-96 | The list is sorted...

Manually unzipped the war file icon| Complete index of Aminet, created on 21-Mar-97 | The list is sorted...

Manually unzipped the war file iconAs in World War One, there were two sides in World War Two The Axis Powers

Manually unzipped the war file iconCreating a data-dictionary subclass for each data file, naming the...

Manually unzipped the war file iconWhen WoW goes to load a file, it looks for it within a specific "directory" within an mpq file

Manually unzipped the war file iconBooks invaluable and would highly recommend that you not simply skip...

Manually unzipped the war file icon| Complete index of single Aminet cds, created on 21-Mar-97 | The...

Manually unzipped the war file icon| Complete index of Aminet, created on 19-Jan-96 | The list is sorted...

Manually unzipped the war file icon| Complete index of Aminet, created on 19-Jan-96 | The list is sorted...

Manually unzipped the war file iconFile name: 6 Conv pm ee 0109. pdf or File name

Manually unzipped the war file icon4. Manually Setup 3

Manually unzipped the war file iconManually scn coding

Manually unzipped the war file iconManually scn coding

Manually unzipped the war file iconWith CrEd32 or a similar utility. Give the sprite file a name four...

Manually unzipped the war file icon#= this is the jargon file, version 9, 01 apr 1992 =# This is the...




manual




When copying material provide a link © 2017
contacts
manual-guide.com
search