← Back to team overview

dhis2-users team mailing list archive

Re: AmazonWebService - almost there

 

Hi Mark,

this can (and should) safely be ignored.

We are using version 2.4 of the servlet api in dhis. Some libraries
provides support for 2.5 and in those cases we should not load two servlet
versions.

Lars

On Sat, May 26, 2012 at 9:01 PM, Mark Spohr <mhspohr@xxxxxxxxx> wrote:

> Thanks for this info... yes, the server ports are not open by default
> so I opened them and can find the web server now!
>
> Now I seem to be having a problem with tomcat loading the dhis.war file:
> >From the catalina.out log:
> May 26, 2012 6:50:06 PM org.apache.catalina.core.AprLifecycleListener init
> INFO: Loaded APR based Apache Tomcat Native library 1.1.22.
> May 26, 2012 6:50:06 PM org.apache.catalina.core.AprLifecycleListener init
> INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
> [false], random [true].
> May 26, 2012 6:50:07 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-apr-8080"]
> May 26, 2012 6:50:07 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
> May 26, 2012 6:50:07 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1921 ms
> May 26, 2012 6:50:07 PM org.apache.catalina.core.StandardService
> startInternal
> INFO: Starting service Catalina
> May 26, 2012 6:50:07 PM org.apache.catalina.core.StandardEngine
> startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
> May 26, 2012 6:50:07 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive
> /home/dhis/apache-tomcat/webapps/dhis.war
> May 26, 2012 6:50:08 PM org.apache.catalina.loader.WebappClassLoader
> validateJarFile
> INFO:
> validateJarFile(/home/dhis/apache-tomcat/webapps/dhis/WEB-INF/lib/geronimo-servlet_2.5_spec-1.1.2.jar)
> - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
> class: javax/servlet/Servlet.class
>
> Doesn't seem to want to validate the Jar file.  I have the latest
> dhis.war in the webapps folder.
>
> .mark
>
> On Fri, May 25, 2012 at 9:32 PM, Jason Pickering
> <jason.p.pickering@xxxxxxxxx> wrote:
> > Hi Mark,
> >
> > Maybe  you need to enable the port in the firewall (8080) from the AWS
> > Management Console->EC2->Security Groups->Inbound->Custom TCP Rule and
> > enable 8080?
> >
> >
> >
> > Best regards,
> > Jason
> >
> >
> > On Fri, May 25, 2012 at 11:12 PM, Mark Spohr <mhspohr@xxxxxxxxx> wrote:
> >> I've been setting up an AWS DHIS2 instance and I think I am almost
> >> there but don't seem to have any response from the server.
> >>
> >> The startup.sh logs show:
> >> root@ip-10-176-87-180:/home/dhis/apache-tomcat# tail -f
> logs/catalina.out
> >> * INFO  2012-05-25 21:01:25,322 Executing startup routine [5 of 9,
> >> runlevel 3]: DataElementDefaultDimensionPopulator
> >> (DefaultStartupRoutineExecutor.java [pool-2-thread-1])
> >> * INFO  2012-05-25 21:01:25,352 Added default concept
> >> (DataElementDefaultDimensionPopulator.java [pool-2-thread-1])
> >> * INFO  2012-05-25 21:01:25,407 Added default category
> >> (DataElementDefaultDimensionPopulator.java [pool-2-thread-1])
> >> * INFO  2012-05-25 21:01:25,451 Linked default category with default
> >> concept (DataElementDefaultDimensionPopulator.java [pool-2-thread-1])
> >> * INFO  2012-05-25 21:01:25,461 Executing startup routine [6 of 9,
> >> runlevel 4]: PatientTableAlteror (DefaultStartupRoutineExecutor.java
> >> [pool-2-thread-1])
> >> * INFO  2012-05-25 21:01:25,491 Executing startup routine [7 of 9,
> >> runlevel 5]: OrganisationUnitGroupSetPopulator
> >> (DefaultStartupRoutineExecutor.java [pool-2-thread-1])
> >> * INFO  2012-05-25 21:01:25,551 Executing startup routine [8 of 9,
> >> runlevel 5]: DataEntryFormUpgrader (DefaultStartupRoutineExecutor.java
> >> [pool-2-thread-1])
> >> * INFO  2012-05-25 21:01:25,562 Upgraded custom case entry form
> >> identifiers: 0 (DataEntryFormUpgrader.java [pool-2-thread-1])
> >> * INFO  2012-05-25 21:01:25,563 Executing startup routine [9 of 9,
> >> runlevel 5]: ProgramAttributePopulator
> >> (DefaultStartupRoutineExecutor.java [pool-2-thread-1])
> >> * INFO  2012-05-25 21:01:25,595 All startup routines done
> >> (DefaultStartupRoutineExecutor.java [pool-2-thread-1])
> >>
> >> This seems to indicate a successful start but nothing at the web site:
> >> http://ec2-184-169-217-250.us-west-1.compute.amazonaws.com:8080
> >>
> >> Is there something I'm missing?
> >>
> >> Any clues... (for the clueless).
> >> (I'll leave the instance running.)
> >>
> >>
> >> .Mark
> >>
> >>
> >> --
> >> Mark Spohr, MD
> >> mhspohr@xxxxxxxxx
> >> +1 530 554 2230
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~dhis2-users
> >> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~dhis2-users
> >> More help   : https://help.launchpad.net/ListHelp
>
>
>
> --
> Mark Spohr, MD
> mhspohr@xxxxxxxxx
> +1 530 554 2230
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>

References