Changes between Version 3 and Version 4 of PetascopeEmbedded


Ignore:
Timestamp:
Dec 18, 2015 1:27:41 PM (22 months ago)
Author:
pbaumann
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PetascopeEmbedded

    v3 v4  
    11[[PageOutline]]
    22
    3 = Embedded petascope with Jetty (Alpha phase) =
     3= Embedded petascope with Jetty =
    44
    5 == Overview ==
     5Note: This functionality is in alpha status.
     6
     7== How to Use ==
    68Jetty is a Web server and javax.servlet container which can be bundled with an application.
    79Petascope can be deployed with a standard servlet container like tomcat, or it can make use of the bundled jetty container to run out of the box without any further installation and configuration.
     
    5860In the download directory, jetty is located in rasdaman folder `$RMANHOME/applications/petascope/jetty`.
    5961This folder contains:
    60 * def.war # this is the CRS (Coordinate Reference System) for Petascope.
    61 * jetty.jar # this is Jetty Servlet application is embedded to Petascope Web application.
    62 * README.txt # a file to help you how to build Jetty embedded with Petascope with java JDK by manually. (User need to copy file rasdaman.war (View 3.2 above) to this directory to run it).
    63 * start_petascope.class # a compiled java application to start Jetty with Petascope (view README.txt to see how to run this application).
    64 * start_petascope.java # a java source code application to start Jetty with Petascope (user could change port, extracted temporary folder of Jetty, view README.txt to see how to compile this application).
     62* README.txt # help file for building petascope manually (NB: you need to copy file `rasdaman.war` (see below) to this directory to run it).
     63* def.war # CRS (Coordinate Reference System) service
     64* jetty.jar # jetty servlet container
     65* start_petascope.class # compiled Java code for starting jetty with petascope
     66* start_petascope.java # corresponding Java source code
    6567
    66 The configuration and `make install` process produces `$RMANHOME/share/rasdaman/war/rasdaman.war`.
     68The `./configure` and `make install` process produces `$RMANHOME/share/rasdaman/war/rasdaman.war`.
    6769
    6870Rebuilding petascope manually can be done as follows (after having run './configure' in `$RMANHOME`):
     
    7072#!sh
    7173   cd $RMANHOME/applications/petascope/
    72    make  # this will rebuild Petascope and create rasdaman.war file in folder YourDownloadedPath/rasdaman/applications/petascope/build/dist (*)
    73    make install # this will copy Jetty files in folder YourDownloadedPath/rasdaman/applications/petascope/jetty with rasdaman.war in (*) to default folder for Petascope and Jetty (NOTE: now is: /usr/local/rasdaman)
    74    
     74   make  # creates $RMANHOME/applications/petascope/build/dist/rasdaman.war
     75   make install # copies jetty files to $RMANHOME/applications/petascope/jetty
    7576}}}