-
Configure your build path in MeetupBeans and MeetupUI.
-
EAR Libraries
-
JBoss 7.1 Runtime
-
JRE System Library
-
You may need to mark a "src" folder as a source folder in Eclipse in the MeetupBeans project. Otherwise, when you export the jar, the required source files will not come with it.
-
Configure standalone.xml in the JBoss folder to use the following connection string for the H2 database:
jdbc:h2:tcp://localhost/~/studentmeetup
-
Run the server using a WAR from MeetupUI.
http://askubuntu.com/questions/119393/how-to-save-rules-of-the-iptables
Scripts were added to automatically save changes to iptables on shutdown, and automatically reload those changes on startup. The files that do this can be found at /etc/network/if-pre-up.d/iptablesload and /etc/network/if-pre-down.d/iptablessave.
You can open a port using:
sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT
CREATE TABLE EVENTS ( ID BIGINT(19), NAME VARCHAR(255), STARTTIME BIGINT(19), ENDTIME BIGINT(19), DESCRIPTION VARCHAR(255) );
First start H2 (web console requires port 8082):
sudo java -jar /opt/h2/bin/h2-1.3.173.jar -tcpAllowOthers -webAllowOthers
Second, start JBOSS (HTTP requires port 8080):
sudo sh /opt/jboss/bin/standalone.sh
Third, start ServiceMix (web console configured to require port 8085):
sudo sh /opt/servicemix/bin/servicemix
Access the H2 web console at: http://server14.ies.cse.ohio-state.edu:8082 Access the ServiceMix web console at: http://server14.ies.cse.ohio-state.edu:8085/system/console/bundles Login to the ServiceMix web console using (username) smx, (password) smx. Access the web application at: http://server14.ies.cse.ohio-state.edu:8080/MeetupUI/faces/calendar.xhtml