Launch the application

  • After the code is built launch the application by running mvn jetty:run
  • PS D:\works\hello-web-service> mvn jetty:run                                              
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Building HelloWebService Maven Webapp
    [INFO] task-segment: [jetty:run]
    [INFO] ------------------------------------------------------------------------
    [INFO] Preparing jetty:run
    [INFO] [resources:resources {execution: default-resources}]
    [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build
    is platform dependent!
    [INFO] Copying 1 resource
    [INFO] [compiler:compile {execution: default-compile}]
    [INFO] Nothing to compile - all classes are up to date
    [INFO] [resources:testResources {execution: default-testResources}]
    [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build
    is platform dependent!
    [INFO] Copying 1 resource
    [INFO] [compiler:testCompile {execution: default-testCompile}]
    [INFO] Nothing to compile - all classes are up to date
    [INFO] [jetty:run {execution: default-cli}]
    [INFO] Configuring Jetty for project: HelloWebService Maven Webapp
    [INFO] Webapp source directory = D:\works\hello-web-service\src\main\webapp
    [INFO] Reload Mechanic: manual
    [INFO] Classes = D:\works\hello-web-service\target\classes
    2010-09-23 19:47:17.341:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
    [INFO] Context path = /
    [INFO] Tmp directory = determined at runtime
    [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
    [INFO] Web overrides = none
    [INFO] web.xml file = D:\works\hello-web-service\src\main\webapp\WEB-INF\web.xml
    [INFO] Webapp directory = D:\works\hello-web-service\src\main\webapp
    [INFO] Starting jetty 6.1.25 ...
    2010-09-23 19:47:17.391:INFO::jetty-6.1.25
    2010-09-23 19:47:17.509:INFO::No Transaction manager found - if your webapp requires one,
    please configure one.
    2010-09-23 19:47:17.678:INFO:/:Initializing Spring root WebApplicationContext
    Sep 23, 2010 7:47:17 PM org.springframework.web.context.ContextLoader initWebApplicationCo
    ntext
    INFO: Root WebApplicationContext: initialization started
    Sep 23, 2010 7:47:17 PM org.springframework.context.support.AbstractApplicationContext pre
    pareRefresh
    INFO: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@1f8a6890
    : display name [Root WebApplicationContext]; startup date [Thu Sep 23 19:47:17 PDT 2010];
    root of context hierarchy
    Sep 23, 2010 7:47:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader load
    BeanDefinitions
    INFO: Loading XML bean definitions from class path resource [application-context.xml]
    Sep 23, 2010 7:47:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader load
    BeanDefinitions
    INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
    Sep 23, 2010 7:47:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader load
    BeanDefinitions
    INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-so
    ap.xml]
    Sep 23, 2010 7:47:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader load
    BeanDefinitions
    INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml]

    Sep 23, 2010 7:47:17 PM org.springframework.context.support.AbstractApplicationContext obt
    ainFreshBeanFactory
    INFO: Bean factory for application context [org.springframework.web.context.support.XmlWeb
    ApplicationContext@1f8a6890]: org.springframework.beans.factory.support.DefaultListableBea
    nFactory@6e9c2192
    Sep 23, 2010 7:47:18 PM org.springframework.beans.factory.support.DefaultListableBeanFacto
    ry preInstantiateSingletons
    INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultLis
    tableBeanFactory@6e9c2192: defining beans [cxf,org.apache.cxf.bus.spring.BusApplicationLis
    tener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.sprin
    g.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.c
    xf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding
    .BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.t
    ransport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.Phas
    eManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycl
    eManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleMan
    ager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHa
    ndlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.Head
    erManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContra
    ctResolverRegistry,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.s
    oap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf
    .transport.servlet.ServletTransportFactory,hello,fileMgmt,helloWorld,fileManagement,helloC
    lient,helloClientFactory,fileClient,fileClientFactory]; root of factory hierarchy
    Sep 23, 2010 7:47:18 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildS
    erviceFromClass
    INFO: Creating Service {http://hellowebservice.ws.tutorial.yosanai.com/}HelloWorldImplServ
    ice from class com.yosanai.tutorial.ws.hellowebservice.HelloWorld
    Sep 23, 2010 7:47:18 PM org.apache.cxf.endpoint.ServerImpl initDestination
    INFO: Setting the server's publish address to be /HelloWorld
    Sep 23, 2010 7:47:18 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildS
    erviceFromClass
    INFO: Creating Service {http://hellowebservice.ws.tutorial.yosanai.com/}FileManagementImpl
    Service from class com.yosanai.tutorial.ws.hellowebservice.FileManagement
    Sep 23, 2010 7:47:18 PM org.apache.cxf.endpoint.ServerImpl initDestination
    INFO: Setting the server's publish address to be /FileManagement
    Sep 23, 2010 7:47:18 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildS
    erviceFromClass
    INFO: Creating Service {http://hellowebservice.ws.tutorial.yosanai.com/}HelloWorldService
    from class com.yosanai.tutorial.ws.hellowebservice.HelloWorld
    Sep 23, 2010 7:47:18 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildS
    erviceFromClass
    INFO: Creating Service {http://hellowebservice.ws.tutorial.yosanai.com/}FileManagementServ
    ice from class com.yosanai.tutorial.ws.hellowebservice.FileManagement
    Sep 23, 2010 7:47:18 PM org.springframework.web.context.ContextLoader initWebApplicationCo
    ntext
    INFO: Root WebApplicationContext: initialization completed in 1096 ms
    Sep 23, 2010 7:47:18 PM org.apache.cxf.transport.servlet.CXFServlet updateContext
    INFO: Load the bus with application context
    Sep 23, 2010 7:47:18 PM org.springframework.context.support.AbstractApplicationContext pre
    pareRefresh
    INFO: Refreshing org.apache.cxf.bus.spring.BusApplicationContext@77b31c23: display name [o
    rg.apache.cxf.bus.spring.BusApplicationContext@77b31c23]; startup date [Thu Sep 23 19:47:1
    8 PDT 2010]; parent: org.springframework.web.context.support.XmlWebApplicationContext@1f8a
    6890
    Sep 23, 2010 7:47:18 PM org.springframework.context.support.AbstractApplicationContext obt
    ainFreshBeanFactory
    INFO: Bean factory for application context [org.apache.cxf.bus.spring.BusApplicationContex
    t@77b31c23]: org.springframework.beans.factory.support.DefaultListableBeanFactory@17f7be7b

    Sep 23, 2010 7:47:18 PM org.springframework.beans.factory.support.DefaultListableBeanFacto
    ry preInstantiateSingletons
    INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultLis
    tableBeanFactory@17f7be7b: defining beans []; parent: org.springframework.beans.factory.su
    pport.DefaultListableBeanFactory@6e9c2192
    Sep 23, 2010 7:47:18 PM org.apache.cxf.transport.servlet.AbstractCXFServlet replaceDestina
    tionFactory
    INFO: Servlet transport factory already registered
    2010-09-23 19:47:18.904:INFO::Started SelectChannelConnector@0.0.0.0:80
    [INFO] Started Jetty Server
    [WARNING] scanIntervalSeconds is set to 4 but will be IGNORED due to manual reloading
    [INFO] Console reloading is ENABLED. Hit ENTER on the console to restart the context.

Who's online

There are currently 0 users and 2 guests online.

Who's new

  • Saravana Peruma...