Let's assume that you have correctly configured GateIn as shown in the previous recipes or are using the default settings found in the standard binary package. Now we are going to run GateIn for the first time.
Locate the bin
folder of your application server; this is the location where the start/stop script is stored in your machine. Here are the details for the scripts in different application servers:
gatein.sh
, for Windows gatein.bat
, provided in the binary folder <TOMCAT_HOME>/bin
run.sh
script available in this folder <JBOSS6_HOME>/bin
standalone.sh
stored here <JBOSS7_HOME/bin>
Supposing that we are using Linux as the operating system, we would follow these steps:
bin
folder:./gatein.sh start
tail –f ../logs/catalina.out
Now you can start using the portal, pointing your browser at http://localhost:8080/portal
.
./gatein.sh stop
GateIn is distributed as a standard Java EE application that needs to be deployed in an application server.
In this recipe, we have seen how to start and stop a Tomcat instance by using a specific script file provided by GateIn developers.
For each specific application server you must follow the correct procedure to use the dedicated script file to start and stop the portal instance.
We will take a look at how to start GateIn with different versions of JBoss application servers.
3.12.166.131