Working on t1.micros in EC2 and noticing that the JAX-RS portion of deployment 
(1.5.1) is taking an exceptionally long time.


    Jan 3, 2013 4:28:52 AM org.apache.catalina.core.AprLifecycleListener init
    [...trimmed 2 minutes worth of logging...]
    Jan 3, 2013 4:30:43 AM org.apache.openejb.assembler.classic.Assembler 
createApplication
    INFO: Deployed 
Application(path=/home/ec2-user/.../apache-tomee/webapps/ROOT)
    Jan 3, 2013 4:32:59 AM org.apache.cxf.endpoint.ServerImpl initDestination
    INFO: Setting the server's publish address to be http:/
    Jan 3, 2013 4:32:59 AM org.apache.openejb.server.rest.RESTService deployEJB
    INFO: REST Service: http://localhost:17171/api/testlog/*  -> EJB Testlog
    Jan 3, 2013 4:32:59 AM org.apache.cxf.endpoint.ServerImpl initDestination
    INFO: Setting the server's publish address to be http:/
    Jan 3, 2013 4:32:59 AM org.apache.openejb.server.rest.RESTService deployEJB
    INFO: REST Service: http://localhost:17171/api/build/*  -> EJB Builds
    Jan 3, 2013 4:32:59 AM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["http-bio-17171"]
    Jan 3, 2013 4:32:59 AM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["ajp-bio-auto-1-60327"]
    Jan 3, 2013 4:32:59 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 243473 ms

The web profile startup is roughly 1m 50s, then JAX-RS takes another 2m 16s.

Aside from being pretty terrible time it really should have some log output so 
we don't go silent and give people the impression the server is hanging.


-David

Reply via email to