tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Web Services slow down boot time
Date Thu, 22 May 2014 05:30:12 GMT
Hi

can you try
http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/change-jaxws-url/?

it is fast here



Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-05-22 4:35 GMT+02:00 Anthony Fryer <apfryer@hotmail.com>:

> I don't have a post construct.
>
> Here's some of the console log output showing the webservices being
> deployed.  From the timestamp, you can see the StartEjbs is really quick
> (all ejbs start in about 1 second) and then the
> org.apache.openejb.server.webservices.WsService deployApp is noticably
> slower (on the machine where i got this log file, its about 0.5 seconds per
> service, on my laptop it's 1 second per service).  It's not a huge problem
> but would be nice if it could be faster.
>
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=DeletePassengerBagTagImpl,
> ejb-name=DeletePassengerBagTagImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=GetPassengerDataImpl,
> ejb-name=GetPassengerDataImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=EditPassengerDataImpl,
> ejb-name=EditPassengerDataImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=FindReservationForCheckInImpl,
> ejb-name=FindReservationForCheckInImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=BoardingPassBarCodeImpl,
> ejb-name=BoardingPassBarCodeImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=CheckInPassengerImpl,
> ejb-name=CheckInPassengerImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=IdentifyPassengerForBagDropImpl,
> ejb-name=IdentifyPassengerForBagDropImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=CheckInUtility, ejb-name=CheckInUtility,
> container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=ChangeSeatsImpl, ejb-name=ChangeSeatsImpl,
> container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=IdentifyPassengerForKioskImpl,
> ejb-name=IdentifyPassengerForKioskImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=AirportServiceImpl,
> ejb-name=AirportServiceImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=GetSeatMapImpl, ejb-name=GetSeatMapImpl,
> container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=EditPassengerTravelDocsImpl,
> ejb-name=EditPassengerTravelDocsImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=GetAirportFlightDestinationsImpl,
> ejb-name=GetAirportFlightDestinationsImpl, container=My Stateless
> Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=IssuePassengerBagTagsImpl,
> ejb-name=IssuePassengerBagTagsImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=AirportDAO, ejb-name=AirportDAO,
> container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=OffloadPassengerImpl,
> ejb-name=OffloadPassengerImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=GetFlightDetailImpl,
> ejb-name=GetFlightDetailImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=GetBoardingPassDataImpl,
> ejb-name=GetBoardingPassDataImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=BagTagDAO, ejb-name=BagTagDAO, container=My
> Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=GetBagAncillaryPriceListImpl,
> ejb-name=GetBagAncillaryPriceListImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=EditPassengerBagTagImpl,
> ejb-name=EditPassengerBagTagImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=ActivatePassengerBagTagImpl,
> ejb-name=ActivatePassengerBagTagImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=Cache, ejb-name=Cache, container=My
> Singleton Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=DeletePassengerBagTagImpl,
> ejb-name=DeletePassengerBagTagImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=GetPassengerDataImpl,
> ejb-name=GetPassengerDataImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=EditPassengerDataImpl,
> ejb-name=EditPassengerDataImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=FindReservationForCheckInImpl,
> ejb-name=FindReservationForCheckInImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=BoardingPassBarCodeImpl,
> ejb-name=BoardingPassBarCodeImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=CheckInPassengerImpl,
> ejb-name=CheckInPassengerImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=IdentifyPassengerForBagDropImpl,
> ejb-name=IdentifyPassengerForBagDropImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=CheckInUtility, ejb-name=CheckInUtility,
> container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=ChangeSeatsImpl, ejb-name=ChangeSeatsImpl,
> container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=IdentifyPassengerForKioskImpl,
> ejb-name=IdentifyPassengerForKioskImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=AirportServiceImpl,
> ejb-name=AirportServiceImpl, container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=GetSeatMapImpl, ejb-name=GetSeatMapImpl,
> container=My Stateless Container)
> May 22, 2014 12:25:47 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=EditPassengerTravelDocsImpl,
> ejb-name=EditPassengerTravelDocsImpl, container=My Stateless Container)
> May 22, 2014 12:25:48 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=GetAirportFlightDestinationsImpl,
> ejb-name=GetAirportFlightDestinationsImpl, container=My Stateless
> Container)
> May 22, 2014 12:25:48 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=IssuePassengerBagTagsImpl,
> ejb-name=IssuePassengerBagTagsImpl, container=My Stateless Container)
> May 22, 2014 12:25:48 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=AirportDAO, ejb-name=AirportDAO,
> container=My Stateless Container)
> May 22, 2014 12:25:48 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=OffloadPassengerImpl,
> ejb-name=OffloadPassengerImpl, container=My Stateless Container)
> May 22, 2014 12:25:48 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=GetFlightDetailImpl,
> ejb-name=GetFlightDetailImpl, container=My Stateless Container)
> May 22, 2014 12:25:48 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=GetBoardingPassDataImpl,
> ejb-name=GetBoardingPassDataImpl, container=My Stateless Container)
> May 22, 2014 12:25:48 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=BagTagDAO, ejb-name=BagTagDAO, container=My
> Stateless Container)
> May 22, 2014 12:25:48 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=GetBagAncillaryPriceListImpl,
> ejb-name=GetBagAncillaryPriceListImpl, container=My Stateless Container)
> May 22, 2014 12:25:48 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=EditPassengerBagTagImpl,
> ejb-name=EditPassengerBagTagImpl, container=My Stateless Container)
> May 22, 2014 12:25:48 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=ActivatePassengerBagTagImpl,
> ejb-name=ActivatePassengerBagTagImpl, container=My Stateless Container)
> May 22, 2014 12:25:48 PM
> au.com.cyberavenue.sabre.jca.SabreManagedConnectionFactory
> createConnectionFactory
> INFO: Calling SabreManagedConnectionFactory.createConnectionFactory()...
> May 22, 2014 12:25:48 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=Cache, ejb-name=Cache, container=My
> Singleton Container)
> May 22, 2014 12:25:48 PM org.apache.tomee.catalina.TomcatWebAppBuilder
> deployWebApps
> INFO: using context file
>
> D:\Users\Anthony\Documents\DEV\AirportAutocompleteWorkSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\airport-webapp\META-INF\context.xml
> May 22, 2014 12:25:49 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/EditPassengerTravelDocsImpl
> ,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}EditPassengerTravelDocsService)
> --> Ejb(id=EditPassengerTravelDocsImpl)
> May 22, 2014 12:25:50 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/GetBoardingPassDataImpl,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}GetBoardingPassDataService)
> --> Ejb(id=GetBoardingPassDataImpl)
> May 22, 2014 12:25:50 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/CheckInPassengerImpl,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}CheckInPassengerService)
> --> Ejb(id=CheckInPassengerImpl)
> May 22, 2014 12:25:51 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/GetPassengerDataImpl,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}GetPassengerDataService)
> --> Ejb(id=GetPassengerDataImpl)
> May 22, 2014 12:25:51 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/BoardingPassBarCodeImpl,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}BoardingPassBarCodeService)
> --> Ejb(id=BoardingPassBarCodeImpl)
> May 22, 2014 12:25:52 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/DeletePassengerBagTagImpl
> ,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}DeletePassengerBagTagService)
> --> Ejb(id=DeletePassengerBagTagImpl)
> May 22, 2014 12:25:52 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/EditPassengerDataImpl,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}EditPassengerDataService)
> --> Ejb(id=EditPassengerDataImpl)
> May 22, 2014 12:25:53 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/OffloadPassengerImpl,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}OffloadPassengerService)
> --> Ejb(id=OffloadPassengerImpl)
> May 22, 2014 12:25:54 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/IdentifyPassengerForBagDropImpl
> ,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}IdentifyPassengerForBagDropService)
> --> Ejb(id=IdentifyPassengerForBagDropImpl)
> May 22, 2014 12:25:54 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/GetBagAncillaryPriceListImpl
> ,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}GetBagAncillaryPriceListService)
> --> Ejb(id=GetBagAncillaryPriceListImpl)
> May 22, 2014 12:25:55 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/GetFlightDetailImpl,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}GetFlightDetailService)
> --> Ejb(id=GetFlightDetailImpl)
> May 22, 2014 12:25:56 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/IdentifyPassengerForKioskImpl
> ,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}IdentifyPassengerForKioskService)
> --> Ejb(id=IdentifyPassengerForKioskImpl)
> May 22, 2014 12:25:56 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/IssuePassengerBagTagsImpl
> ,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}IssuePassengerBagTagsService)
> --> Ejb(id=IssuePassengerBagTagsImpl)
> May 22, 2014 12:25:57 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/GetAirportFlightDestinationsImpl
> ,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}GetAirportFlightDestinationsService)
> --> Ejb(id=GetAirportFlightDestinationsImpl)
> May 22, 2014 12:25:57 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/GetSeatMapImpl,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}GetSeatMapService)
> --> Ejb(id=GetSeatMapImpl)
> May 22, 2014 12:25:58 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/ActivatePassengerBagTagImpl
> ,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}ActivatePassengerBagTagService)
> --> Ejb(id=ActivatePassengerBagTagImpl)
> May 22, 2014 12:25:58 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/EditPassengerBagTagImpl,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}EditPassengerBagTagService)
> --> Ejb(id=EditPassengerBagTagImpl)
> May 22, 2014 12:25:58 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/ChangeSeatsImpl,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}ChangeSeatsService)
> --> Ejb(id=ChangeSeatsImpl)
> May 22, 2014 12:25:59 PM org.apache.openejb.server.webservices.WsService
> deployApp
> INFO:
> Webservice(wsdl=
> http://localhost:8080/airport-webapp/webservices/FindReservationForCheckInImpl
> ,
> qname={urn:www.virginaustralia.com:
> service:contract:departure-management}FindReservationForCheckInService)
> --> Ejb(id=FindReservationForCheckInImpl)
> May 22, 2014 12:25:59 PM org.apache.openejb.assembler.classic.Assembler
> createApplication
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Web-Services-slow-down-boot-time-tp4669495p4669535.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message