cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: [newbie question] CXFNonSpringServlet and ws-security
Date Mon, 08 Nov 2010 21:07:45 GMT
On Friday 05 November 2010 1:56:49 pm Bayu Anggorojati wrote:
> Hi Dan,
> 
> Thank you for your highlight. I checked the applicationContext.xml, and
> there is these lines of codes for configuring CXF web service:
> 
> <jaxws:endpoint id="EpcisQueryEndpoint"
> implementor="#queryOperationsWebService" address="/" />
>    <jaxws:endpoint id="EpcisQueryLocalEndpoint"
> implementor="#queryOperationsWebService" address="local://query" />
> 
>    <!-- register local transport -->
> 
>    <bean class="org.apache.cxf.transport.local.LocalTransportFactory"
> lazy-init="false">
>      <property name="transportIds">
>        <list>
>          <value>http://cxf.apache.org/transports/local</value>
>          <value>http://schemas.xmlsoap.org/soap/http</value>
>          <value>http://schemas.xmlsoap.org/wsdl/soap/http</value>
>        </list>
>      </property>
>    </bean>
> 
> If I removed/commented the parts with LocalTransport, i.e. the bean and
> web service endpoint, I can get rid of the "No services have been
> found." error. But those lines seem to be important because the service
> couldn't run properly. Even more strange, after changing
> applicationContext.xml for several times, so when the parts with
> LocalTransport are removed, the "Must understand" error which happen
> previously in version 2.2.x appears also here.

Don't remove the whole thing, just the two xmlsoap.org namespaces above.   
Those are basically telling the runtime that whenever those namespaces are 
encountered, use the local transport, which isn't what you want as those are 
for http.

What I would SUGGEST is to remove the LocalTransportFactory and instead import 
the META-INF/cxf/cxf-extension-local.xml

In addition,  change the EpcisQueryLocalEndpoint to:

 <jaxws:endpoint id="EpcisQueryLocalEndpoint"
    implementor="#queryOperationsWebService" 
    transport="http://cxf.apache.org/transports/local"
    address="local://query" />

to make that one explicit.

Dan



> 
> /bayu
> 
> On 05-11-2010 17:38, Daniel Kulp wrote:
> > Well, the main issue is:
> >> [org.apache.cxf.transport.local.LocalTransportFactory:106] - Creating
> >> destination for address /
> > 
> > All the destinations that are being created are on the LocalTransport,
> > not the http stuff.   Thus, it wouldn't be available on the servlet
> > stuff.   I would check the config to make sure the local transport isn't
> > resetting namespaces or something.   Very strange.
> > 
> > Dan
> > 
> > On Friday 05 November 2010 7:18:51 am Bayu Anggorojati wrote:
> >> Hi Dan,
> >> 
> >> Here is the log at the start up, but it is very huge:
> >> 
> >> ########################################################################
> >> ###
> >> 
> >>    INFO (2010-11-05 11:51:36,153
> >> 
> >> [org.fosstrak.epcis.repository.RepositoryContextListener:76] - Starting
> >> Fosstrak EPCIS Repository application
> >> 
> >>    INFO (2010-11-05 11:51:36,184)
> >> 
> >> [org.springframework.web.context.ContextLoader:189] - Root
> >> WebApplicationContext: initialization started
> >> 
> >>    INFO (2010-11-05 11:51:36,216)
> >> 
> >> [org.springframework.context.support.AbstractApplicationContext:400] -
> >> Refreshing
> >> org.springframework.web.context.support.XmlWebApplicationContext@bb1ead:
> >> display name [Root WebApplicationContext]; startup date [Fri Nov 05
> >> 11:51:36 CET 2010]; root of context hierarchy
> >> 
> >>    INFO (2010-11-05 11:51:36,278)
> >> 
> >> [org.springframework.beans.factory.xml.XmlBeanDefinitionReader:308] -
> >> Loading XML bean definitions from ServletContext resource
> >> [/META-INF/applicationContext.xml]
> >> 
> >>    INFO (2010-11-05 11:51:36,372)
> >> 
> >> [org.springframework.beans.factory.xml.XmlBeanDefinitionReader:308] -
> >> Loading XML bean definitions from class path resource
> >> [META-INF/cxf/cxf.xml] INFO (2010-11-05 11:51:36,403)
> >> [org.springframework.beans.factory.xml.XmlBeanDefinitionReader:308] -
> >> Loading XML bean definitions from class path resource
> >> [META-INF/cxf/cxf-extension-soap.xml]
> >> 
> >>    INFO (2010-11-05 11:51:36,418)
> >> 
> >> [org.springframework.beans.factory.xml.XmlBeanDefinitionReader:308] -
> >> Loading XML bean definitions from class path resource
> >> [META-INF/cxf/cxf-servlet.xml]
> >> 
> >>    INFO (2010-11-05 11:51:36,434)
> >> 
> >> [org.springframework.beans.factory.xml.XmlBeanDefinitionReader:308] -
> >> Loading XML bean definitions from class path resource
> >> [META-INF/cxf/cxf-extension-http.xml]
> >> 
> >>    INFO (2010-11-05 11:51:36,512)
> >> 
> >> [org.springframework.context.support.AbstractApplicationContext:415] -
> >> Bean factory for application context
> >> [org.springframework.web.context.support.XmlWebApplicationContext@bb1ead
> >> ]:
> >> org.springframework.beans.factory.support.DefaultListableBeanFactory@85
> >> 7327
> >> 
> >>    INFO (2010-11-05 11:51:36,715)
> >> 
> >> [org.springframework.core.io.support.PropertiesLoaderSupport:174] -
> >> Loading properties file from class path resource
> >> [application.properties]
> >> 
> >>    INFO (2010-11-05 11:51:36,793)
> >> 
> >> [org.springframework.beans.factory.support.DefaultListableBeanFactory:38
> >> 5] - Pre-instantiating singletons in
> >> org.springframework.beans.factory.support.DefaultListableBeanFactory@857
> >> 327
> >> 
> >> : defining beans
> >> 
> >> [cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus
> >> .sp
> >> ring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250
> >> Bean
> >> PostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.a
> >> pach
> >> e.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,
> >> org.
> >> apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.Desti
> >> nati
> >> onFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.a
> >> pach
> >> e.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf
> >> .wor
> >> kqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager
> >> ,org
> >> .apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeC
> >> ycle
> >> Manager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.t
> >> rans
> >> ports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolve
> >> rReg
> >> istry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASIS
> >> Cata
> >> logManager,org.apache.cxf.service.factory.FactoryBeanListenerManager,or
> >> g.ap ache.cxf.endpo
> >> int.ServiceContractResolverRegistry,org.apache.cxf.binding.soap.SoapBind
> >> in
> >> gFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cx
> >> f.bi
> >> nding.soap.customEditorConfigurer,org.apache.cxf.transport.http.policy.
> >> HTTP
> >> ClientAssertionBuilder,org.apache.cxf.transport.http.policy.HTTPServerA
> >> sser
> >> tionBuilder,org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorP
> >> rovi
> >> der,org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory,org.ap
> >> ache
> >> .cxf.transport.servlet.ServletTransportFactory,dataPropertyConfigurer,d
> >> ataS
> >> ource,hibernateSessionFactory,queryOperationsModule,queryOperationsWebS
> >> ervi
> >> ce,captureOperationsModule,org.springframework.web.context.support.Serv
> >> letC
> >> ontextAttributeExporter#0,EpcisQueryEndpoint,EpcisQueryLocalEndpoint,or
> >> g.ap ache.cxf.transport.local.LocalTransportFactory#0,cxf.config0]; root
> >> of factory hierarchy
> >> 
> >>    INFO (2010-11-05 11:51:36,902) [org.hibernate.cfg.Environment:514] -
> >> 
> >> Hibernate 3.2.5
> >> 
> >>    INFO (2010-11-05 11:51:36,902) [org.hibernate.cfg.Environment:547] -
> >> 
> >> hibernate.properties not found
> >> 
> >>    INFO (2010-11-05 11:51:36,902) [org.hibernate.cfg.Environment:681] -
> >> 
> >> Bytecode provider name : cglib
> >> 
> >>    INFO (2010-11-05 11:51:36,902) [org.hibernate.cfg.Environment:598] -
> >> 
> >> using JDK 1.4 java.sql.Timestamp handling
> >> 
> >>    INFO (2010-11-05 11:51:36,980) [org.hibernate.cfg.Configuration:1441]
> >> 
> >> - configuring from url:
> >> file:/C:/Program%20Files/Apache/apache-tomcat-6.0.29/temp/0-epcis-reposi
> >> tor y-0.4.3-SNAPSHOT/WEB-INF/classes/hibernate.cfg.xml INFO (2010-11-05
> >> 11:51:37,042) [org.hibernate.cfg.Configuration:553] - Reading mappings
> >> from resource :
> >> org/fosstrak/epcis/repository/model/AggregationEvent.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,120) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.AggregationEvent ->
> >> event_AggregationEvent
> >> 
> >>    INFO (2010-11-05 11:51:37,167) [org.hibernate.cfg.HbmBinder:1422] -
> >> 
> >> Mapping collection:
> >> org.fosstrak.epcis.repository.model.AggregationEvent.childEpcs ->
> >> event_AggregationEvent_EPCs
> >> 
> >>    INFO (2010-11-05 11:51:37,245) [org.hibernate.cfg.HbmBinder:1422] -
> >> 
> >> Mapping collection:
> >> org.fosstrak.epcis.repository.model.AggregationEvent.bizTransList ->
> >> event_AggregationEvent_bizTrans
> >> 
> >>    INFO (2010-11-05 11:51:37,245) [org.hibernate.cfg.HbmBinder:1422] -
> >> 
> >> Mapping collection:
> >> org.fosstrak.epcis.repository.model.AggregationEvent.extensions ->
> >> event_AggregationEvent_extensions
> >> 
> >>    INFO (2010-11-05 11:51:37,245) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/BusinessLocationId.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,261) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.BusinessLocationId ->
> >> voc_BizLoc
> >> 
> >>    INFO (2010-11-05 11:51:37,261) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/BusinessStepId.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,261) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.BusinessStepId ->
> >> voc_BizStep
> >> 
> >>    INFO (2010-11-05 11:51:37,261) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/BusinessTransaction.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,276) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.BusinessTransaction
> >> ->  BizTransaction
> >> 
> >>    INFO (2010-11-05 11:51:37,292) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/BusinessTransactionId.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,292) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.BusinessTransactionId
> >> ->  voc_BizTrans
> >> 
> >>    INFO (2010-11-05 11:51:37,292) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/BusinessTransactionTypeId.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,292) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class:
> >> org.fosstrak.epcis.repository.model.BusinessTransactionTypeId ->
> >> voc_BizTransType
> >> 
> >>    INFO (2010-11-05 11:51:37,292) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/DispositionId.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,308) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.DispositionId ->
> >> voc_Disposition
> >> 
> >>    INFO (2010-11-05 11:51:37,308) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/EPCClass.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,308) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.EPCClass -> 
> >> voc_EPCClass
> >> 
> >>    INFO (2010-11-05 11:51:37,308) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/ObjectEvent.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,323) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.ObjectEvent ->
> >> event_ObjectEvent
> >> 
> >>    INFO (2010-11-05 11:51:37,323) [org.hibernate.cfg.HbmBinder:1422] -
> >> 
> >> Mapping collection:
> >> org.fosstrak.epcis.repository.model.ObjectEvent.epcList ->
> >> event_ObjectEvent_EPCs
> >> 
> >>    INFO (2010-11-05 11:51:37,323) [org.hibernate.cfg.HbmBinder:1422] -
> >> 
> >> Mapping collection:
> >> org.fosstrak.epcis.repository.model.ObjectEvent.bizTransList ->
> >> event_ObjectEvent_bizTrans
> >> 
> >>    INFO (2010-11-05 11:51:37,323) [org.hibernate.cfg.HbmBinder:1422] -
> >> 
> >> Mapping collection:
> >> org.fosstrak.epcis.repository.model.ObjectEvent.extensions ->
> >> event_ObjectEvent_extensions
> >> 
> >>    INFO (2010-11-05 11:51:37,323) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/QuantityEvent.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,339) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.QuantityEvent ->
> >> event_QuantityEvent
> >> 
> >>    INFO (2010-11-05 11:51:37,339) [org.hibernate.cfg.HbmBinder:1422] -
> >> 
> >> Mapping collection:
> >> org.fosstrak.epcis.repository.model.QuantityEvent.bizTransList ->
> >> event_QuantityEvent_bizTrans
> >> 
> >>    INFO (2010-11-05 11:51:37,339) [org.hibernate.cfg.HbmBinder:1422] -
> >> 
> >> Mapping collection:
> >> org.fosstrak.epcis.repository.model.QuantityEvent.extensions ->
> >> event_QuantityEvent_extensions
> >> 
> >>    INFO (2010-11-05 11:51:37,339) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/ReadPointId.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,339) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.ReadPointId ->
> >> voc_ReadPoint
> >> 
> >>    INFO (2010-11-05 11:51:37,339) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/TransactionEvent.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,354) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.TransactionEvent ->
> >> event_TransactionEvent
> >> 
> >>    INFO (2010-11-05 11:51:37,354) [org.hibernate.cfg.HbmBinder:1422] -
> >> 
> >> Mapping collection:
> >> org.fosstrak.epcis.repository.model.TransactionEvent.epcList ->
> >> event_TransactionEvent_EPCs
> >> 
> >>    INFO (2010-11-05 11:51:37,354) [org.hibernate.cfg.HbmBinder:1422] -
> >> 
> >> Mapping collection:
> >> org.fosstrak.epcis.repository.model.TransactionEvent.bizTransList ->
> >> event_TransactionEvent_bizTrans
> >> 
> >>    INFO (2010-11-05 11:51:37,354) [org.hibernate.cfg.HbmBinder:1422] -
> >> 
> >> Mapping collection:
> >> org.fosstrak.epcis.repository.model.TransactionEvent.extensions ->
> >> event_TransactionEvent_extensions
> >> 
> >>    INFO (2010-11-05 11:51:37,354) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/BusinessLocationAttrId.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,354) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class:
> >> org.fosstrak.epcis.repository.model.BusinessLocationAttrId ->
> >> voc_BizLoc_attr
> >> 
> >>    INFO (2010-11-05 11:51:37,354) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/BusinessStepAttrId.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,370) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.BusinessStepAttrId ->
> >> voc_BizStep_attr
> >> 
> >>    INFO (2010-11-05 11:51:37,370) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/BusinessTransactionAttrId.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,370) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class:
> >> org.fosstrak.epcis.repository.model.BusinessTransactionAttrId ->
> >> voc_BizTrans_attr
> >> 
> >>    INFO (2010-11-05 11:51:37,370) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/BusinessTransactionTypeAttrId.hbm.xm
> >> l
> >> 
> >>    INFO (2010-11-05 11:51:37,370) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class:
> >> org.fosstrak.epcis.repository.model.BusinessTransactionTypeAttrId ->
> >> voc_BizTransType_attr
> >> 
> >>    INFO (2010-11-05 11:51:37,370) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/DispositionAttrId.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,386) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.DispositionAttrId ->
> >> voc_Disposition_attr
> >> 
> >>    INFO (2010-11-05 11:51:37,386) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/EPCClassAttrId.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,386) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.EPCClassAttrId ->
> >> voc_EPCClass_attr
> >> 
> >>    INFO (2010-11-05 11:51:37,386) [org.hibernate.cfg.Configuration:553]
> >>    -
> >> 
> >> Reading mappings from resource :
> >> org/fosstrak/epcis/repository/model/ReadPointAttrId.hbm.xml
> >> 
> >>    INFO (2010-11-05 11:51:37,386) [org.hibernate.cfg.HbmBinder:300] -
> >> 
> >> Mapping class: org.fosstrak.epcis.repository.model.ReadPointAttrId ->
> >> voc_ReadPoint_attr
> >> 
> >>    INFO (2010-11-05 11:51:37,386) [org.hibernate.cfg.Configuration:1541]
> >> 
> >> - Configured SessionFactory: null
> >> 
> >>    INFO (2010-11-05 11:51:37,401)
> >> 
> >> [org.springframework.orm.hibernate3.LocalSessionFactoryBean:731] -
> >> Building new Hibernate SessionFactory
> >> 
> >>    INFO (2010-11-05 11:51:37,464) [org.hibernate.util.NamingHelper:26] -
> >> 
> >> JNDI InitialContext properties:{}
> >> 
> >>    INFO (2010-11-05 11:51:37,464)
> >> 
> >> [org.hibernate.connection.DatasourceConnectionProvider:61] - Using
> >> datasource: java:comp/env/jdbc/EPCISDB
> >> 
> >>    INFO (2010-11-05 11:51:37,729) [org.hibernate.cfg.SettingsFactory:89]
> >> 
> >> - RDBMS: MySQL, version: 5.1.51-community
> >> 
> >>    INFO (2010-11-05 11:51:37,729) [org.hibernate.cfg.SettingsFactory:90]
> >> 
> >> - JDBC driver: MySQL-AB JDBC Driver, version:
> >> mysql-connector-java-5.1.13 ( Revision: ${bzr.revision-id} )
> >> 
> >>    INFO (2010-11-05 11:51:37,744) [org.hibernate.dialect.Dialect:152] -
> >> 
> >> Using dialect: org.hibernate.dialect.MySQLDialect
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >> 
> >> [org.hibernate.transaction.TransactionFactoryFactory:31] - Using default
> >> transaction strategy (direct JDBC transactions)
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >> 
> >> [org.hibernate.transaction.TransactionManagerLookupFactory:33] - No
> >> TransactionManagerLookup configured (in JTA environment, use of
> >> read-write or transactional second-level cache is not recommended)
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:143]
> >> 
> >> - Automatic flush during beforeCompletion(): disabled
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:147]
> >> 
> >> - Automatic session close at end of transaction: disabled
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:154]
> >> 
> >> - JDBC batch size: 50
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:157]
> >> 
> >> - JDBC batch updates for versioned data: disabled
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:162]
> >> 
> >> - Scrollable result sets: enabled
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:170]
> >> 
> >> - JDBC3 getGeneratedKeys(): enabled
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:178]
> >> 
> >> - Connection release mode: on_close
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:202]
> >> 
> >> - Maximum outer join fetch depth: 3
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:205]
> >> 
> >> - Default batch fetch size: 1
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:209]
> >> 
> >> - Generate SQL with comments: disabled
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:213]
> >> 
> >> - Order SQL updates by primary key: disabled
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:217]
> >> 
> >> - Order SQL inserts for batching: enabled
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:386]
> >> 
> >> - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >> 
> >> [org.hibernate.hql.ast.ASTQueryTranslatorFactory:24] - Using
> >> ASTQueryTranslatorFactory
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:225]
> >> 
> >> - Query language substitutions: {}
> >> 
> >>    INFO (2010-11-05 11:51:37,760)
> >>    [org.hibernate.cfg.SettingsFactory:230]
> >> 
> >> - JPA-QL strict compliance: disabled
> >> 
> >>    INFO (2010-11-05 11:51:37,776)
> >>    [org.hibernate.cfg.SettingsFactory:235]
> >> 
> >> - Second-level cache: enabled
> >> 
> >>    INFO (2010-11-05 11:51:37,776)
> >>    [org.hibernate.cfg.SettingsFactory:239]
> >> 
> >> - Query cache: disabled
> >> 
> >>    INFO (2010-11-05 11:51:37,776)
> >>    [org.hibernate.cfg.SettingsFactory:373]
> >> 
> >> - Cache provider: org.hibernate.cache.EhCacheProvider
> >> 
> >>    INFO (2010-11-05 11:51:37,776)
> >>    [org.hibernate.cfg.SettingsFactory:254]
> >> 
> >> - Optimize cache for minimal puts: disabled
> >> 
> >>    INFO (2010-11-05 11:51:37,776)
> >>    [org.hibernate.cfg.SettingsFactory:263]
> >> 
> >> - Structured second-level cache entries: enabled
> >> 
> >>    INFO (2010-11-05 11:51:37,791)
> >>    [org.hibernate.cfg.SettingsFactory:290]
> >> 
> >> - Statistics: enabled
> >> 
> >>    INFO (2010-11-05 11:51:37,791)
> >>    [org.hibernate.cfg.SettingsFactory:294]
> >> 
> >> - Deleted entity synthetic identifier rollback: disabled
> >> 
> >>    INFO (2010-11-05 11:51:37,791)
> >>    [org.hibernate.cfg.SettingsFactory:309]
> >> 
> >> - Default entity-mode: pojo
> >> 
> >>    INFO (2010-11-05 11:51:37,791)
> >>    [org.hibernate.cfg.SettingsFactory:313]
> >> 
> >> - Named query checking : enabled
> >> 
> >>    INFO (2010-11-05 11:51:37,807)
> >> 
> >> [org.hibernate.impl.SessionFactoryImpl:161] - building session factory
> >> 
> >>    WARN (2010-11-05 11:51:37,885)
> >> 
> >> [org.hibernate.cache.EhCacheProvider:86] - Could not find configuration
> >> [org.fosstrak.epcis.repository.model.BusinessTransactionAttrId]; using
> >> defaults.
> >> 
> >>    WARN (2010-11-05 11:51:38,088)
> >> 
> >> [org.hibernate.cache.EhCacheProvider:86] - Could not find configuration
> >> [org.fosstrak.epcis.repository.model.DispositionAttrId]; using defaults.
> >> 
> >>    WARN (2010-11-05 11:51:38,103)
> >> 
> >> [org.hibernate.cache.EhCacheProvider:86] - Could not find configuration
> >> [org.fosstrak.epcis.repository.model.EPCClassAttrId]; using defaults.
> >> 
> >>    WARN (2010-11-05 11:51:38,119)
> >> 
> >> [org.hibernate.cache.EhCacheProvider:86] - Could not find configuration
> >> [org.fosstrak.epcis.repository.model.BusinessTransactionTypeAttrId];
> >> using defaults.
> >> 
> >>    WARN (2010-11-05 11:51:38,134)
> >> 
> >> [org.hibernate.cache.EhCacheProvider:86] - Could not find configuration
> >> [org.fosstrak.epcis.repository.model.BusinessLocationAttrId]; using
> >> defaults.
> >> 
> >>    WARN (2010-11-05 11:51:38,150)
> >> 
> >> [org.hibernate.cache.EhCacheProvider:86] - Could not find configuration
> >> [org.fosstrak.epcis.repository.model.BusinessStepAttrId]; using
> >> defaults.
> >> 
> >>    WARN (2010-11-05 11:51:38,166)
> >> 
> >> [org.hibernate.cache.EhCacheProvider:86] - Could not find configuration
> >> [org.fosstrak.epcis.repository.model.DispositionId]; using defaults.
> >> 
> >>    WARN (2010-11-05 11:51:38,166)
> >> 
> >> [org.hibernate.cache.EhCacheProvider:86] - Could not find configuration
> >> [org.fosstrak.epcis.repository.model.ReadPointId]; using defaults.
> >> 
> >>    WARN (2010-11-05 11:51:38,166)
> >> 
> >> [org.hibernate.cache.EhCacheProvider:86] - Could not find configuration
> >> [org.fosstrak.epcis.repository.model.BusinessStepId]; using defaults.
> >> 
> >>    WARN (2010-11-05 11:51:38,181)
> >> 
> >> [org.hibernate.cache.EhCacheProvider:86] - Could not find configuration
> >> [org.fosstrak.epcis.repository.model.EPCClass]; using defaults.
> >> 
> >>    WARN (2010-11-05 11:51:38,181)
> >> 
> >> [org.hibernate.cache.EhCacheProvider:86] - Could not find configuration
> >> [org.fosstrak.epcis.repository.model.BusinessTransactionTypeId]; using
> >> defaults.
> >> 
> >>    WARN (2010-11-05 11:51:38,181)
> >> 
> >> [org.hibernate.cache.EhCacheProvider:86] - Could not find configuration
> >> [org.fosstrak.epcis.repository.model.ReadPointAttrId]; using defaults.
> >> 
> >>    WARN (2010-11-05 11:51:38,197)
> >> 
> >> [org.hibernate.cache.EhCacheProvider:86] - Could not find configuration
> >> [org.fosstrak.epcis.repository.model.BusinessLocationId]; using
> >> defaults.
> >> 
> >>    INFO (2010-11-05 11:51:38,275)
> >> 
> >> [org.hibernate.impl.SessionFactoryObjectFactory:82] - Not binding
> >> factory to JNDI, no JNDI name configured
> >> 
> >>    INFO (2010-11-05 11:51:38,524)
> >> 
> >> [org.springframework.web.context.support.ServletContextAttributeExporter
> >> :79 ] - Exported ServletContext attribute with name
> >> 'captureOperationsModule' INFO (2010-11-05 11:51:38,649)
> >> [org.apache.cxf.service.factory.ReflectionServiceFactoryBean:409] -
> >> Creating Service
> >> {http://query.repository.epcis.fosstrak.org/}QueryOperationsWebServiceSe
> >> rvi ce from class org.fosstrak.epcis.soap.EPCISServicePortType
> >> 
> >>    INFO (2010-11-05 11:51:39,991)
> >> 
> >> [org.apache.cxf.transport.local.LocalTransportFactory:106] - Creating
> >> destination for address /
> >> 
> >>    INFO (2010-11-05 11:51:39,991)
> >>    [org.apache.cxf.endpoint.ServerImpl:93]
> >> 
> >> - Setting the server's publish address to be /
> >> 
> >>    INFO (2010-11-05 11:51:40,006)
> >> 
> >> [org.apache.cxf.service.factory.ReflectionServiceFactoryBean:409] -
> >> Creating Service
> >> {http://query.repository.epcis.fosstrak.org/}QueryOperationsWebServiceSe
> >> rvi ce from class org.fosstrak.epcis.soap.EPCISServicePortType
> >> 
> >>    INFO (2010-11-05 11:51:40,053)
> >> 
> >> [org.apache.cxf.transport.local.LocalTransportFactory:106] - Creating
> >> destination for address local://query
> >> 
> >>    INFO (2010-11-05 11:51:40,053)
> >>    [org.apache.cxf.endpoint.ServerImpl:93]
> >> 
> >> - Setting the server's publish address to be local://query
> >> 
> >>    INFO (2010-11-05 11:51:40,069)
> >> 
> >> [org.springframework.web.context.ContextLoader:209] - Root
> >> WebApplicationContext: initialization completed in 3885 ms
> >> 
> >>    INFO (2010-11-05 11:51:40,084)
> >> 
> >> [org.apache.cxf.transport.servlet.CXFServlet:139] - Load the bus with
> >> application context
> >> 
> >>    INFO (2010-11-05 11:51:40,084)
> >> 
> >> [org.springframework.context.support.AbstractApplicationContext:400] -
> >> Refreshing org.apache.cxf.bus.spring.BusApplicationContext@5c5b6e:
> >> display name [org.apache.cxf.bus.spring.BusApplicationContext@5c5b6e];
> >> startup date [Fri Nov 05 11:51:40 CET 2010]; parent:
> >> org.springframework.web.context.support.XmlWebApplicationContext@bb1ead
> >> 
> >>    INFO (2010-11-05 11:51:40,209)
> >> 
> >> [org.springframework.context.support.AbstractApplicationContext:415] -
> >> Bean factory for application context
> >> [org.apache.cxf.bus.spring.BusApplicationContext@5c5b6e]:
> >> org.springframework.beans.factory.support.DefaultListableBeanFactory@c84
> >> a5b
> >> 
> >>    INFO (2010-11-05 11:51:40,209)
> >> 
> >> [org.springframework.beans.factory.support.DefaultListableBeanFactory:38
> >> 5] - Pre-instantiating singletons in
> >> org.springframework.beans.factory.support.DefaultListableBeanFactory@c84
> >> a5b
> >> 
> >> : defining beans []; parent:
> >> org.springframework.beans.factory.support.DefaultListableBeanFactory@857
> >> 327
> >> 
> >>    INFO (2010-11-05 11:51:40,209)
> >> 
> >> [org.apache.cxf.transport.servlet.AbstractCXFServlet:115] - Servlet
> >> transport factory already registered
> >> ########################################################################
> >> ### ########
> >> 
> >> As I compared with the log of the one with 2.2.10, the differences are
> >> not many, i.e. only two more lines are added in 2.3.0, and more beans
> >> are defined when "Pre-instantiating singletons in
> >> org.springframework.beans.factory.support.DefaultListableBeanFactory"
> >> also in 2.3.0.
> >> 
> >> In case you would like me to point it out exactly where the difference
> >> is, here are they:
> >> 
> >> - [org.springframework.beans.factory.xml.XmlBeanDefinitionReader:308] -
> >> Loading XML bean definitions from class path resource
> >> [META-INF/cxf/cxf-extension-http.xml]
> >> 
> >> - [org.apache.cxf.transport.local.LocalTransportFactory:106] - Creating
> >> destination for address / (after creating service and before setting the
> >> server's publish address)
> >> 
> >> Thanks a lot by the way for your kind help.
> >> 
> >> /bayu

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Mime
View raw message