StudentMeetup

Compiling And Running

  1. Configure your build path in MeetupBeans and MeetupUI.

  2. EAR Libraries

  3. JBoss 7.1 Runtime

  4. JRE System Library

  5. 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.

  6. Configure standalone.xml in the JBoss folder to use the following connection string for the H2 database: jdbc:h2:tcp://localhost/~/studentmeetup

  7. Run the server using a WAR from MeetupUI.

Opening Ports on our Ubuntu Server

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

Email Notifier DB Table Setup

CREATE TABLE EVENTS ( ID BIGINT(19), NAME VARCHAR(255), STARTTIME BIGINT(19), ENDTIME BIGINT(19), DESCRIPTION VARCHAR(255) );

Running Services on server14.ies.cse.ohio-state.edu

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