I did the following to apparently to stop Jetty - did the changes to web.xml as Freeman mentioned, added cxf.xml file to bc as a busCfg file and edited the bus-extensions.xml and added a local version under WEB-INF\classes (apart from adding cxf-servlet.xml, cxf.xml to WEB-INF)..this seems to have stopped Jetty from coming up...From the Web Console after i deploy the SA, i am NOT able to access the URL mentioned in the WSDL - it says "No Service Found"...i tried adding locationURI to cxfbc consumer but to no avail...
Interestingly if i try to access http://localhost:8080/ServiceMix/services/ it shows a sinfle service as deployed under 'Available Services' (Which is the service as per the wsdl). I also tried accessing Endpoints in the web-console and when i tried accessing the servicemix-cxf-bc component it shows the endpoint detail and am able to view the WSDL by clicking 'show' next to WSDL on the console page... So on one hand there is no Jetty instance running but Tomcat alone, on the other i am not able to access the Web Service End point using the URL specified in the WSDL!!! Can somebody help? I don't get to see any errors on the Tomcat console btw...the console now looks like: ******************************************************************************* Using CATALINA_BASE: C:\installed\apache-tomcat-5.5.27 Using CATALINA_HOME: C:\installed\apache-tomcat-5.5.27 Using CATALINA_TMPDIR: C:\installed\apache-tomcat-5.5.27\temp Using JRE_HOME: C:\Progra~1\Java\jdk1.5.0_15 Jan 4, 2009 9:36:36 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Progra~1\Java\jdk1.5.0_15\ Jan 4, 2009 9:36:36 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Jan 4, 2009 9:36:36 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 594 ms Jan 4, 2009 9:36:36 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Jan 4, 2009 9:36:36 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.27 Jan 4, 2009 9:36:36 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Jan 4, 2009 9:36:36 PM org.apache.catalina.core.ApplicationContext log INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target Jan 4, 2009 9:36:36 PM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Jan 4, 2009 9:36:37 PM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() WARN - EndpointRegistry - Disabled endpoint processor 'org.apache.servicemix.jbi.framework.support.WSDL2Processor': java.lang.NoClassDefFoundError: org/a INFO - JBIContainer - ServiceMix 3.2.2 JBI Container (ServiceMix) is starting INFO - JBIContainer - For help or more information please see: http://servicemix.apache.org/ INFO - ComponentMBeanImpl - Initializing component: #SubscriptionManager# INFO - jetty - Logging to org.apache.servicemix.http.jetty.jcllog...@47b35d via org.apache.servicemix.http.jetty.JCLLogger INFO - DeploymentService - Restoring service assemblies WARN - ClientFactory - Cound not start ClientFactory: javax.naming.NamingException: Context is read only INFO - ComponentMBeanImpl - Setting running state for Component: servicemix-bean to Started INFO - ComponentMBeanImpl - Initializing component: servicemix-bean INFO - ComponentMBeanImpl - Setting running state for Component: servicemix-camel to Started INFO - ComponentMBeanImpl - Initializing component: servicemix-camel INFO - ComponentMBeanImpl - Setting running state for Component: servicemix-cxf-bc to Started INFO - ComponentMBeanImpl - Initializing component: servicemix-cxf-bc INFO - ComponentMBeanImpl - Setting running state for Component: servicemix-cxf-se to Started INFO - ComponentMBeanImpl - Initializing component: servicemix-cxf-se INFO - ComponentMBeanImpl - Setting running state for Component: servicemix-drools to Started INFO - ComponentMBeanImpl - Initializing component: servicemix-drools INFO - ComponentMBeanImpl - Setting running state for Component: servicemix-eip to Started INFO - ComponentMBeanImpl - Initializing component: servicemix-eip INFO - ComponentMBeanImpl - Setting running state for Component: servicemix-file to Started INFO - ComponentMBeanImpl - Initializing component: servicemix-file INFO - ComponentMBeanImpl - Setting running state for Component: servicemix-ftp to Started INFO - ComponentMBeanImpl - Initializing component: servicemix-ftp INFO - ComponentMBeanImpl - Setting running state for Component: servicemix-http to Started INFO - ComponentMBeanImpl - Initializing component: servicemix-http INFO - HttpComponentListener - Component servicemix-http configured. INFO - ComponentMBeanImpl - Setting running state for Component: servicemix-jms to Started INFO - ComponentMBeanImpl - Initializing component: servicemix-jms INFO - ComponentMBeanImpl - Setting running state for Component: servicemix-script to Shutdown INFO - ServiceAssemblyLifeCycle - Starting service assembly: wsdl-first-cxf-sa INFO - ServiceUnitLifeCycle - Initializing service unit: wsdl-first-cxfse-su INFO - ServiceUnitLifeCycle - Initializing service unit: wsdl-first-cxfbc-su Jan 4, 2009 9:36:45 PM org.apache.cxf.endpoint.ServerImpl initDestination INFO: Setting the server's publish address to be http://localhost:8080/ServiceMix/services/DeliveryServiceImplService/ INFO - ServiceUnitLifeCycle - Initializing service unit: wsdl-first-drools-su INFO - ServiceUnitLifeCycle - Initializing service unit: wsdl-first-bulk-bean-se ListenerBeanBulk:: In Constructor INFO - ServiceUnitLifeCycle - Initializing service unit: wsdl-first-adhoc-bean-se ListenerBeanAdhoc:: In Constructor INFO - ServiceUnitLifeCycle - Starting service unit: wsdl-first-cxfse-su Jan 4, 2009 9:36:45 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass INFO: Creating Service {http://servicemix.apache.org/samples/wsdl-first}DeliveryServiceImplService from class org.apache.servicemix.samples.wsdl_first.DeliveryService Jan 4, 2009 9:36:46 PM org.apache.cxf.endpoint.ServerImpl initDestination INFO: Setting the server's publish address to be jbi://ID-10-125-73-76-11ea4a62b4b-12-0 INFO - ServiceUnitLifeCycle - Starting service unit: wsdl-first-cxfbc-su INFO - ServiceUnitLifeCycle - Starting service unit: wsdl-first-drools-su INFO - ServiceUnitLifeCycle - Starting service unit: wsdl-first-bulk-bean-se INFO - ServiceUnitLifeCycle - Starting service unit: wsdl-first-adhoc-bean-se INFO - JBIContainer - ServiceMix JBI Container (ServiceMix) started INFO - JDBCAdapterFactory - Database driver recognized: [apache_derby_embedded_jdbc_driver] Jan 4, 2009 9:36:50 PM org.apache.cxf.transport.servlet.CXFServlet loadSpringBus INFO: Load the bus with application context Jan 4, 2009 9:36:50 PM org.apache.cxf.bus.spring.BusApplicationContext getConfigResources INFO: No cxf.xml configuration file detected, relying on defaults. Jan 4, 2009 9:36:50 PM org.apache.cxf.transport.servlet.AbstractCXFServlet replaceDestinationFactory INFO: Servlet transport factory already registered Jan 4, 2009 9:36:50 PM org.apache.cxf.transport.servlet.CXFServlet loadAdditionalConfig INFO: Build endpoints from config-location: /WEB-INF/cxf-servlet.xml Jan 4, 2009 9:36:50 PM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Jan 4, 2009 9:36:50 PM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() Jan 4, 2009 9:36:51 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Jan 4, 2009 9:36:51 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Jan 4, 2009 9:36:51 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/16 config=null Jan 4, 2009 9:36:51 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Jan 4, 2009 9:36:51 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 15218 ms ******************************************************************************* -- View this message in context: http://www.nabble.com/Turning-off-jetty-tp21222876p21284571.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
