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.xmlwebapplicationcont...@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.xmlwebapplicationcont...@bb1ead]:
org.springframework.beans.factory.support.defaultlistablebeanfact...@857327
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:385]
- Pre-instantiating singletons in
org.springframework.beans.factory.support.defaultlistablebeanfact...@857327:
defining beans
[cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.service.factory.FactoryBeanListenerManager,org.apache.cxf.endpo
int.ServiceContractResolverRegistry,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider,org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory,org.apache.cxf.transport.servlet.ServletTransportFactory,dataPropertyConfigurer,dataSource,hibernateSessionFactory,queryOperationsModule,queryOperationsWebService,captureOperationsModule,org.springframework.web.context.support.ServletContextAttributeExporter#0,EpcisQueryEndpoint,EpcisQueryLocalEndpoint,org.apache.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-repository-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.xml
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/}QueryOperationsWebServiceService
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/}QueryOperationsWebServiceService
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.busapplicationcont...@5c5b6e:
display name [org.apache.cxf.bus.spring.busapplicationcont...@5c5b6e];
startup date [Fri Nov 05 11:51:40 CET 2010]; parent:
org.springframework.web.context.support.xmlwebapplicationcont...@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.busapplicationcont...@5c5b6e]:
org.springframework.beans.factory.support.defaultlistablebeanfact...@c84a5b
INFO (2010-11-05 11:51:40,209)
[org.springframework.beans.factory.support.DefaultListableBeanFactory:385]
- Pre-instantiating singletons in
org.springframework.beans.factory.support.defaultlistablebeanfact...@c84a5b:
defining beans []; parent:
org.springframework.beans.factory.support.defaultlistablebeanfact...@857327
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
On 05-11-2010 04:02, Daniel Kulp wrote:
On Thursday 04 November 2010 12:57:32 pm Bayu Anggorojati wrote:
Hi Dan,
Thank you for your response. I endorse the JAXB 2.2 API jar, and the
wsdl2java works now.
However I faced another problem. When I try to access the web service
application after it is being deployed on tomcat, I got the following
error/message "No services have been found."
Do you know what might be causing this problem? because I never had this
problem with 2.2.x..
No idea on that one really. Is there any useful information in the tomcat
logs? Maybe a problem starting up the service?
Dan
Thank you in advance.
/bayu
On 04-11-2010 15:16, Daniel Kulp wrote:
Well, there are three potential workarounds for this:
1) Endorse the JAXB 2.2 API jar.
2) Use Java 5 instead of Java 6
3) Drop the jaxb-impl and jaxb-xjc jars down to 2.1.13 instead of 2.2.
I'll have to see if there is an easier way to detect this (other than an
UndeclaredThrowableException) and do something a little nicer than that.
Dan
On Thursday 04 November 2010 10:03:55 am Bayu Anggorojati wrote:
Here is the full stack trace:
org.apache.cxf.tools.common.ToolException:
java.lang.reflect.UndeclaredThrowableException
at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContai
ner .java:279) at
org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:
103 ) at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86) at
org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:184) Caused
by: java.lang.reflect.UndeclaredThrowableException
at $Proxy42.required(Unknown Source)
at
com.sun.tools.xjc.generator.bean.field.AbstractField.annotateReference(A
bst ractField.java:187) at
com.sun.tools.xjc.generator.bean.field.AbstractField.annotate(AbstractFi
eld .java:156) at
com.sun.tools.xjc.generator.bean.field.AbstractListField.generate(Abstra
ctL istField.java:124) at
com.sun.tools.xjc.generator.bean.field.UntypedListField.<init>(UntypedLi
stF ield.java:107) at
com.sun.tools.xjc.generator.bean.field.UntypedListFieldRenderer.generate
(Un typedListFieldRenderer.java:72) at
com.sun.tools.xjc.generator.bean.field.DefaultFieldRenderer.generate(Def
aul tFieldRenderer.java:79) at
com.sun.tools.xjc.generator.bean.BeanGenerator.generateFieldDecl(BeanGen
era tor.java:759) at
com.sun.tools.xjc.generator.bean.BeanGenerator.generateClassBody(BeanGen
era tor.java:540) at
com.sun.tools.xjc.generator.bean.BeanGenerator.<init>(BeanGenerator.java
:24 3) at
com.sun.tools.xjc.generator.bean.BeanGenerator.generate(BeanGenerator.ja
va: 161) at com.sun.tools.xjc.model.Model.generateCode(Model.java:286)
at
com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImp
l.j ava:252) at
com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImp
l.j ava:85) at
org.apache.cxf.tools.wsdlto.databinding.jaxb.JAXBDataBinding.initialize(
JAX BDataBinding.java:381) at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.generateTypes(WSDLToJava
Con tainer.java:573) at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaCo
nta iner.java:228) at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContai
ner .java:128) at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContai
ner .java:271) ... 4 more
Caused by: java.lang.NoSuchMethodException:
javax.xml.bind.annotation.XmlElementRef.required()
at java.lang.Class.getDeclaredMethod(Class.java:1937)
at
com.sun.codemodel.TypedAnnotationWriter.invoke(TypedAnnotationWriter.jav
a:1 08) ... 23 more
/bayu
On 04-11-2010 15:00, Daniel Kulp wrote:
On Thursday 04 November 2010 8:08:57 am Bayu Anggorojati wrote:
Hi Dan,
I encountered this error when trying to generate the java code from
wsdl using wsdl2java from cfx 2.3.0:
WSDLToJava Error: java.lang.reflect.UndeclaredThrowableException
I never had this error with 2.2.10 at least. Is it a bug? or is there
any thing that I need to take care of in 2.30?
Thank you in advance.
Can you run with -verbose to get the full stack trace?
Not sure what would cause that. The stack trace may help.
Dan
Bayu
On 03-11-2010 16:24, Daniel Kulp wrote:
What version of CXF? At one point, there was a bug where
interceptors added to the endpoint directly didn't get added to the
chain. Make sure you are using 2.3.0.
Also, in your code below, you are not setting any actions on the
Wss4jInInterceptor. Thus, it may be bailing out fast as its not
supposed to do any actions.
Dan
On Wednesday 03 November 2010 5:24:49 am siuyab wrote:
Dear all,
Actually I posted this question under different thread, but I think
it's better to start as a new thread.
I have to say that I am new to web service and CXF stuff. I
currently trying to add simple username token of ws-security on an
already developed code which is using CXFNonSpringServlet.
In the override loadBus method, the endpoint is published in this
way: javax.xml.ws.Endpoint.publish("/query", service);
Then I followed the ws-security example as written in following
website, without configuring the Spring:
https://cwiki.apache.org/CXF20DOC/ws-security.html#WS-Security-addin
te rc ept ors
ws-security configuration at server side was also done in the
loadBus method.
At the server side however, I didn't follow exactly the same think
as shown in the example because in the example Endpoint refers to
org.apache.cxf.endpoint.Endpoint, but in the code it refers to
javax.xml.ws.Endpoint. So, here is the slightly modified code:
EndpointImpl jaxwsEndpoint =
(EndpointImpl)Endpoint.publish("/query", service);
Endpoint cxfEndpoint = (Endpoint)
jaxwsEndpoint.getServer().getEndpoint();
/** Adding Incoming Interceptors */
Map<String,Object> inProps= new HashMap<String,Object>();
WSS4JInInterceptor wssIn = new WSS4JInInterceptor(inProps);
((EndpointImpl) cxfEndpoint).getInInterceptors().add(wssIn);
I got the following error when client tries to execute the method in
web service:
Caused by: org.apache.cxf.binding.soap.SoapFault: MustUnderstand
headers:
[{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity
-s e cext -1.0.xsd}Security] are not understood.
at
org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unm
ar sh alF ault(Soap11FaultInInterceptor.java:75) at
org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.han
dl eM ess age(Soap11FaultInInterceptor.java:46) at
org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.han
dl eM ess age(Soap11FaultInInterceptor.java:35) at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercep
to rC hai n.java:243) at
org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMes
sa ge (Ab stractFaultChainInitiatorObserver.java:99) at
org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handle
Me ss age (CheckFaultInterceptor.java:69) at
org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handle
Me ss age (CheckFaultInterceptor.java:34) at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercep
to rC hai n.java:243) at
org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:700) at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handle
Re sp ons eInternal(HTTPConduit.java:2261) at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handle
Re sp ons e(HTTPConduit.java:2134) at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(
HT TP Con duit.java:1988) at
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:
66 )
at
org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:639
)
at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEnd
in gI nte rceptor.handleMessage(MessageSenderInterceptor.java:62) at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterce
pt orC hai n.java:243) at
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:487) at
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313) at
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265) at
org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:1
24 )
... 30 more
Can somebody give some clue on how to solve this issue please?
Perhaps this is very basic or stupid question, but any help will be
appreciated.
Regards,
Bayu
--
Kind Regards,
Bayu Anggorojati - Research Assistant
Wireless Security and Sensor Networks Group
Networking and Security Center for TeleInFrastruktur (CTIF), Aalborg
University
Fredrik Bajers 7, room A3-211
Aalborg University
DK-9220 - Denmark
Office +45 9940 8661
Mobile +45 5015 3183
Email: b...@es.aau.dk