Petals CDK

Unpredictable FileNotFoundException: /createCustomer.xsd (No such file or directory)

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 5.0.3, 5.1
  • Fix Version/s: 5.1
  • Component/s: Utils
  • Security Level: Public
  • Description:
    Hide

    Two times out of five, A schema into a JBI service unit (into a JBI service assembly of course) can't be read at the deployment time on the Petals ESB...but why?
    I don't know how to search more the problem...
    Any idea to initialize my investigation?

    -----------------------------------------------------------

     
    OW2 PEtALS Enterprise Service Bus
    http://petals.ow2.org
     

    -----------------------------------------------------------

    PEtALS ESB is starting...
    [Petals.Container.Components.petals-bc-soap.bootstrap.petals-bc-soap]-WARNING 2010-09-09 15:38:19,521 Cannot create modules directory at '/exec/applis/ros/petals/G04R01C01/repository/components/petals-bc-soap-09-09-2010-033424804/install/modules'
    [Petals.Container.Components.petals-bc-soap.bootstrap.petals-bc-soap]-WARNING 2010-09-09 15:38:19,522 Cannot create services directory at '/exec/applis/ros/petals/G04R01C01/repository/components/petals-bc-soap-09-09-2010-033424804/install/services'
    15:38:44,009 INFO org.springframework.context.support.AbstractApplicationContext:454 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@24177697: startup date [Thu Sep 09 15:38:44 CEST 2010]; root of context hierarchy
    15:38:44,242 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [petals-view-hibernate.xml]
    15:38:44,378 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [petals-view-jdbc.xml]
    15:38:44,424 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [petals-view-annotation.xml]
    15:38:45,920 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [petals-view-transaction.xml]
    15:38:46,758 INFO org.springframework.core.io.support.PropertiesLoaderSupport:177 - Loading properties file from URL file:/exec/applis/ros/petals/G04R01C01/conf/server.properties
    15:38:47,127 INFO org.springframework.beans.factory.support.DefaultListableBeanFactory:538 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@67591ba4: defining beans sessionFactory,dataSource,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,flowDAO,flowStepDAO,flowRefDAO,flowStepErrorRefDAO,flowStepRefDAO,notificationProcessor,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor; root of factory hierarchy
    15:38:47,357 INFO org.hibernate.cfg.annotations.Version:43 - Hibernate Annotations 3.5.1-Final
    15:38:47,378 INFO org.hibernate.cfg.Environment:564 - Hibernate 3.5.1-Final
    15:38:47,381 INFO org.hibernate.cfg.Environment:597 - hibernate.properties not found
    15:38:47,387 INFO org.hibernate.cfg.Environment:775 - Bytecode provider name : javassist
    15:38:47,393 INFO org.hibernate.cfg.Environment:656 - using JDK 1.4 java.sql.Timestamp handling
    15:38:49,828 INFO org.hibernate.annotations.common.Version:37 - Hibernate Commons Annotations 3.2.0.Final
    15:38:51,962 INFO org.hibernate.cfg.AnnotationBinder:522 - Binding entity from annotated class: com.ebmwebsourcing.petalsview.persistence.model.flow.Flow
    15:38:52,071 INFO org.hibernate.cfg.annotations.EntityBinder:501 - Bind entity com.ebmwebsourcing.petalsview.persistence.model.flow.Flow on table FLOW
    15:38:52,914 INFO org.hibernate.cfg.AnnotationBinder:522 - Binding entity from annotated class: com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep
    15:38:52,915 INFO org.hibernate.cfg.annotations.EntityBinder:501 - Bind entity com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep on table FLOWSTEP
    15:38:52,993 INFO org.hibernate.cfg.AnnotationBinder:522 - Binding entity from annotated class: com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowRef
    15:38:52,993 INFO org.hibernate.cfg.annotations.EntityBinder:501 - Bind entity com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowRef on table FLOWREF
    15:38:53,043 INFO org.hibernate.cfg.AnnotationBinder:522 - Binding entity from annotated class: com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowStepErrorRef
    15:38:53,046 INFO org.hibernate.cfg.annotations.EntityBinder:501 - Bind entity com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowStepErrorRef on table FLOWSTEPERRORREF
    15:38:53,049 INFO org.hibernate.cfg.AnnotationBinder:522 - Binding entity from annotated class: com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowStepRef
    15:38:53,050 INFO org.hibernate.cfg.annotations.EntityBinder:501 - Bind entity com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowStepRef on table FLOWSTEPREF
    15:38:53,929 INFO org.hibernate.cfg.annotations.CollectionBinder:729 - Mapping collection: com.ebmwebsourcing.petalsview.persistence.model.flow.Flow.listFlowStep -> FLOWSTEP
    15:38:53,929 INFO org.hibernate.cfg.annotations.CollectionBinder:729 - Mapping collection: com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowStepRef.errorMessages -> FLOWSTEPERRORREF
    15:38:53,940 INFO org.hibernate.cfg.AnnotationConfiguration:450 - Hibernate Validator not found: ignoring
    15:38:53,973 INFO org.springframework.orm.hibernate3.LocalSessionFactoryBean:772 - Building new Hibernate SessionFactory
    15:38:54,131 INFO org.hibernate.connection.ConnectionProviderFactory:95 - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
    15:39:01,977 INFO org.hibernate.cfg.SettingsFactory:117 - RDBMS: H2, version: 1.1.114 (2009-06-01)
    15:39:01,978 INFO org.hibernate.cfg.SettingsFactory:118 - JDBC driver: H2 JDBC Driver, version: 1.1.114 (2009-06-01)
    15:39:02,374 INFO org.hibernate.dialect.Dialect:222 - Using dialect: org.hibernate.dialect.H2Dialect
    15:39:02,400 INFO org.hibernate.engine.jdbc.JdbcSupportLoader:79 - Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
    15:39:02,405 INFO org.hibernate.transaction.TransactionFactoryFactory:62 - Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory
    15:39:02,408 INFO org.hibernate.transaction.TransactionManagerLookupFactory:80 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    15:39:02,409 INFO org.hibernate.cfg.SettingsFactory:169 - Automatic flush during beforeCompletion(): disabled
    15:39:02,409 INFO org.hibernate.cfg.SettingsFactory:173 - Automatic session close at end of transaction: disabled
    15:39:02,409 INFO org.hibernate.cfg.SettingsFactory:180 - JDBC batch size: 15
    15:39:02,410 INFO org.hibernate.cfg.SettingsFactory:183 - JDBC batch updates for versioned data: disabled
    15:39:02,411 INFO org.hibernate.cfg.SettingsFactory:188 - Scrollable result sets: enabled
    15:39:02,412 INFO org.hibernate.cfg.SettingsFactory:196 - JDBC3 getGeneratedKeys(): enabled
    15:39:02,412 INFO org.hibernate.cfg.SettingsFactory:204 - Connection release mode: auto
    15:39:02,414 INFO org.hibernate.cfg.SettingsFactory:231 - Default batch fetch size: 1
    15:39:02,414 INFO org.hibernate.cfg.SettingsFactory:235 - Generate SQL with comments: disabled
    15:39:02,415 INFO org.hibernate.cfg.SettingsFactory:239 - Order SQL updates by primary key: disabled
    15:39:02,415 INFO org.hibernate.cfg.SettingsFactory:243 - Order SQL inserts for batching: disabled
    15:39:02,416 INFO org.hibernate.cfg.SettingsFactory:410 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    15:39:02,419 INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory:47 - Using ASTQueryTranslatorFactory
    15:39:02,420 INFO org.hibernate.cfg.SettingsFactory:251 - Query language substitutions: {}
    15:39:02,420 INFO org.hibernate.cfg.SettingsFactory:256 - JPA-QL strict compliance: disabled
    15:39:02,421 INFO org.hibernate.cfg.SettingsFactory:261 - Second-level cache: enabled
    15:39:02,421 INFO org.hibernate.cfg.SettingsFactory:265 - Query cache: disabled
    15:39:02,422 INFO org.hibernate.cfg.SettingsFactory:395 - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
    15:39:02,422 INFO org.hibernate.cfg.SettingsFactory:275 - Optimize cache for minimal puts: disabled
    15:39:02,423 INFO org.hibernate.cfg.SettingsFactory:284 - Structured second-level cache entries: disabled
    15:39:02,771 INFO org.hibernate.cfg.SettingsFactory:313 - Statistics: disabled
    15:39:02,771 INFO org.hibernate.cfg.SettingsFactory:317 - Deleted entity synthetic identifier rollback: disabled
    15:39:02,772 INFO org.hibernate.cfg.SettingsFactory:332 - Default entity-mode: pojo
    15:39:02,772 INFO org.hibernate.cfg.SettingsFactory:336 - Named query checking : enabled
    15:39:02,772 INFO org.hibernate.cfg.SettingsFactory:340 - Check Nullability in Core (should be disabled when Bean Validation is on): enabled
    15:39:02,836 INFO org.hibernate.search.Version:40 - Hibernate Search 3.2.0.Final
    15:39:03,324 INFO org.hibernate.impl.SessionFactoryImpl:199 - building session factory
    15:39:06,110 INFO org.hibernate.impl.SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured
    15:39:06,122 INFO org.hibernate.tool.hbm2ddl.SchemaUpdate:155 - Running hbm2ddl schema update
    15:39:06,122 INFO org.hibernate.tool.hbm2ddl.SchemaUpdate:167 - fetching database metadata
    15:39:06,195 INFO org.hibernate.tool.hbm2ddl.SchemaUpdate:179 - updating schema
    15:39:06,225 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOW
    15:39:06,226 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [idpetals, id, type]
    15:39:06,227 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: []
    15:39:06,227 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [constraint_index_2, idpetalsindex, primary_key_2]
    15:39:06,337 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOWREF
    15:39:06,337 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [id, referencetime, save, name, filename, type, urlbackup, limitvalue, creationdate]
    15:39:06,338 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: []
    15:39:06,338 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [constraint_index_f, constraint_index_fd, primary_key_f]
    15:39:06,397 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOWREF_PARAMNAMES
    15:39:06,398 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [idx, name, global, flowstepref_id]
    15:39:06,398 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: [fk_paramnames_id_flowref]
    15:39:06,399 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [primary_key_e]
    15:39:06,408 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOWSTEP
    15:39:06,409 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [id, meuuid, endpointname, startdate, flow_id, status, servicename, interfacename, errorcode, enddate]
    15:39:06,409 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: [fk_flow_id_flowstep_flow]
    15:39:06,410 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [constraint_index_a, fk_flow_id_flowstep_flow_index_a, primary_key_a, meuuidindex]
    15:39:06,417 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOWSTEPERRORREF
    15:39:06,417 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [message, id, flowstepref_id, errorcode]
    15:39:06,418 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: [fk_flowstepref_id_flowstep]
    15:39:06,418 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [constraint_index_25, primary_key_25]
    15:39:06,430 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOWSTEPREF
    15:39:06,431 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [id, flowstartstep, successmessage, name, servicename, defaulterrormessage, interfacename, flowref_id, flowendstep]
    15:39:07,365 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: [fk_flowref_id_flowstepref]
    15:39:07,366 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [constraint_index_4, constraint_index_4e, primary_key_4]
    15:39:07,379 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOW_PARAMS
    15:39:07,379 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [element, idx, flowstep_id]
    15:39:07,380 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: [fk_flowparams_id_flow]
    15:39:07,380 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [primary_key_7]
    15:39:07,382 INFO org.hibernate.tool.hbm2ddl.SchemaUpdate:217 - schema update complete
    15:39:07,930 INFO org.springframework.orm.hibernate3.HibernateTransactionManager:415 - Using DataSource [org.apache.commons.dbcp.BasicDataSource@537da7f4] of Hibernate SessionFactory for HibernateTransactionManager
    [Petals.Container.ServiceAssemblyLifeCycle.petals-sa-FTTH]-SEVERE 2010-09-09 15:39:18,943 org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory)
    java.lang.RuntimeException: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory)
    at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.getSchema(AbstractIncludeImpl.java:146)
    at org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaImpl.addImportElementsInAllList(AbstractSchemaImpl.java:135)
    at org.ow2.easywsdl.schema.impl.SchemaImpl.initialize(SchemaImpl.java:127)
    at org.ow2.easywsdl.wsdl.impl.wsdl11.TypesImpl.<init>(TypesImpl.java:134)
    at org.ow2.easywsdl.wsdl.impl.wsdl11.DescriptionImpl.<init>(DescriptionImpl.java:145)
    at org.ow2.easywsdl.wsdl.impl.wsdl11.WSDLReaderImpl.read(WSDLReaderImpl.java:173)
    at org.ow2.easywsdl.wsdl.impl.generic.WSDLReaderImpl.read(WSDLReaderImpl.java:155)
    at org.ow2.easywsdl.wsdl.impl.generic.WSDLReaderImpl.read(WSDLReaderImpl.java:135)
    at org.ow2.easywsdl.wsdl.impl.generic.WSDLReaderImpl.read(WSDLReaderImpl.java:197)
    at org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.inout.WSDL4ComplexWsdlReaderImpl.read(WSDL4ComplexWsdlReaderImpl.java:181)
    at org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.inout.WSDL4ComplexWsdlReaderImpl.read(WSDL4ComplexWsdlReaderImpl.java:222)
    at org.ow2.petals.binding.soap.SoapSUManager.doStart(SoapSUManager.java:381)
    at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.start(AbstractServiceUnitManager.java:616)
    at org.ow2.petals.component.framework.su.BindingComponentServiceUnitManager.start(BindingComponentServiceUnitManager.java:65)
    at org.ow2.petals.container.lifecycle.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:161)
    at org.ow2.petals.container.lifecycle.ServiceAssemblyLifeCycle.doStart(ServiceAssemblyLifeCycle.java:166)
    at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:185)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:602)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:322)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory)
    at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.retrieveInclude(AbstractIncludeImpl.java:119)
    at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.getSchema(AbstractIncludeImpl.java:144)
    ... 27 more
    Caused by: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory)
    at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readExternalPart(SchemaReaderImpl.java:200)
    at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.retrieveInclude(AbstractIncludeImpl.java:112)
    ... 28 more
    Caused by: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
    at java.net.URL.openStream(URL.java:1010)
    at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readExternalPart(SchemaReaderImpl.java:197)
    ... 29 more
    [Petals.JBI-Management.SystemRecoveryServiceImpl]-SEVERE 2010-09-09 15:39:18,949 org.ow2.petals.jbi.management.ManagementException: Failed to recover Service Assembly 'petals-sa-FTTH'
    java.util.concurrent.ExecutionException: org.ow2.petals.jbi.management.ManagementException: Failed to recover Service Assembly 'petals-sa-FTTH'
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllServiceAssembly(SystemRecoveryServiceImpl.java:364)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllEntities(SystemRecoveryServiceImpl.java:177)
    at org.objectweb.fractal.julia.generated.C290d4ec8_0.recoverAllEntities(INTERCEPTOR[SystemRecoveryService])
    at org.objectweb.fractal.julia.generated.Ca30db3f3_0.recoverAllEntities(INTERFACE[SystemRecoveryService])
    at org.ow2.petals.kernel.server.PetalsServerImpl.recoverSystem(PetalsServerImpl.java:590)
    at org.ow2.petals.kernel.server.PetalsServerImpl.start(PetalsServerImpl.java:186)
    at org.ow2.petals.launcher.AbstractLauncher.start(AbstractLauncher.java:190)
    at org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:147)
    at org.ow2.petals.distribution.platform.Main.main(Main.java:42)
    Caused by: org.ow2.petals.jbi.management.ManagementException: Failed to recover Service Assembly 'petals-sa-FTTH'
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:616)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:322)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.jbi.JBIException: An exception occured while starting the Service Assembly 'petals-sa-FTTH' : org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory)
    at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:196)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:602)
    ... 10 more
    [Petals.Container.ServiceAssemblyLifeCycle.petals-sa-NEWTV]-SEVERE 2010-09-09 15:39:19,664 org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory)
    java.lang.RuntimeException: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory)
    at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.getSchema(AbstractIncludeImpl.java:146)
    at org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaImpl.addImportElementsInAllList(AbstractSchemaImpl.java:135)
    at org.ow2.easywsdl.schema.impl.SchemaImpl.initialize(SchemaImpl.java:127)
    at org.ow2.easywsdl.wsdl.impl.wsdl11.TypesImpl.<init>(TypesImpl.java:134)
    at org.ow2.easywsdl.wsdl.impl.wsdl11.DescriptionImpl.<init>(DescriptionImpl.java:145)
    at org.ow2.easywsdl.wsdl.impl.wsdl11.WSDLReaderImpl.read(WSDLReaderImpl.java:173)
    at org.ow2.easywsdl.wsdl.impl.generic.WSDLReaderImpl.read(WSDLReaderImpl.java:155)
    at org.ow2.easywsdl.wsdl.impl.generic.WSDLReaderImpl.read(WSDLReaderImpl.java:135)
    at org.ow2.easywsdl.wsdl.impl.generic.WSDLReaderImpl.read(WSDLReaderImpl.java:197)
    at org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.inout.WSDL4ComplexWsdlReaderImpl.read(WSDL4ComplexWsdlReaderImpl.java:181)
    at org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.inout.WSDL4ComplexWsdlReaderImpl.read(WSDL4ComplexWsdlReaderImpl.java:222)
    at org.ow2.petals.binding.soap.SoapSUManager.doStart(SoapSUManager.java:381)
    at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.start(AbstractServiceUnitManager.java:616)
    at org.ow2.petals.component.framework.su.BindingComponentServiceUnitManager.start(BindingComponentServiceUnitManager.java:65)
    at org.ow2.petals.container.lifecycle.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:161)
    at org.ow2.petals.container.lifecycle.ServiceAssemblyLifeCycle.doStart(ServiceAssemblyLifeCycle.java:166)
    at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:185)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:602)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:322)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory)
    at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.retrieveInclude(AbstractIncludeImpl.java:119)
    at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.getSchema(AbstractIncludeImpl.java:144)
    ... 27 more
    Caused by: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory)
    at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readExternalPart(SchemaReaderImpl.java:200)
    at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.retrieveInclude(AbstractIncludeImpl.java:112)
    ... 28 more
    Caused by: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
    at java.net.URL.openStream(URL.java:1010)
    at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readExternalPart(SchemaReaderImpl.java:197)
    ... 29 more
    [Petals.JBI-Management.SystemRecoveryServiceImpl]-SEVERE 2010-09-09 15:39:19,669 org.ow2.petals.jbi.management.ManagementException: Failed to recover Service Assembly 'petals-sa-NEWTV'
    java.util.concurrent.ExecutionException: org.ow2.petals.jbi.management.ManagementException: Failed to recover Service Assembly 'petals-sa-NEWTV'
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllServiceAssembly(SystemRecoveryServiceImpl.java:364)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllEntities(SystemRecoveryServiceImpl.java:177)
    at org.objectweb.fractal.julia.generated.C290d4ec8_0.recoverAllEntities(INTERCEPTOR[SystemRecoveryService])
    at org.objectweb.fractal.julia.generated.Ca30db3f3_0.recoverAllEntities(INTERFACE[SystemRecoveryService])
    at org.ow2.petals.kernel.server.PetalsServerImpl.recoverSystem(PetalsServerImpl.java:590)
    at org.ow2.petals.kernel.server.PetalsServerImpl.start(PetalsServerImpl.java:186)
    at org.ow2.petals.launcher.AbstractLauncher.start(AbstractLauncher.java:190)
    at org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:147)
    at org.ow2.petals.distribution.platform.Main.main(Main.java:42)
    Caused by: org.ow2.petals.jbi.management.ManagementException: Failed to recover Service Assembly 'petals-sa-NEWTV'
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:616)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:322)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.jbi.JBIException: An exception occured while starting the Service Assembly 'petals-sa-NEWTV' : org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory)
    at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:196)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:602)
    ... 10 more

    PETALS ESB platform distribution successfully started - 09/09/10 15:39
    System Information : Petals JBI Container - version: 3.2-SNAPSHOT

    Show
    Two times out of five, A schema into a JBI service unit (into a JBI service assembly of course) can't be read at the deployment time on the Petals ESB...but why? I don't know how to search more the problem... Any idea to initialize my investigation? -----------------------------------------------------------
     
    OW2 PEtALS Enterprise Service Bus
    http://petals.ow2.org
     
    ----------------------------------------------------------- PEtALS ESB is starting... [Petals.Container.Components.petals-bc-soap.bootstrap.petals-bc-soap]-WARNING 2010-09-09 15:38:19,521 Cannot create modules directory at '/exec/applis/ros/petals/G04R01C01/repository/components/petals-bc-soap-09-09-2010-033424804/install/modules' [Petals.Container.Components.petals-bc-soap.bootstrap.petals-bc-soap]-WARNING 2010-09-09 15:38:19,522 Cannot create services directory at '/exec/applis/ros/petals/G04R01C01/repository/components/petals-bc-soap-09-09-2010-033424804/install/services' 15:38:44,009 INFO org.springframework.context.support.AbstractApplicationContext:454 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@24177697: startup date [Thu Sep 09 15:38:44 CEST 2010]; root of context hierarchy 15:38:44,242 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [petals-view-hibernate.xml] 15:38:44,378 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [petals-view-jdbc.xml] 15:38:44,424 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [petals-view-annotation.xml] 15:38:45,920 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [petals-view-transaction.xml] 15:38:46,758 INFO org.springframework.core.io.support.PropertiesLoaderSupport:177 - Loading properties file from URL file:/exec/applis/ros/petals/G04R01C01/conf/server.properties 15:38:47,127 INFO org.springframework.beans.factory.support.DefaultListableBeanFactory:538 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@67591ba4: defining beans sessionFactory,dataSource,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,flowDAO,flowStepDAO,flowRefDAO,flowStepErrorRefDAO,flowStepRefDAO,notificationProcessor,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor; root of factory hierarchy 15:38:47,357 INFO org.hibernate.cfg.annotations.Version:43 - Hibernate Annotations 3.5.1-Final 15:38:47,378 INFO org.hibernate.cfg.Environment:564 - Hibernate 3.5.1-Final 15:38:47,381 INFO org.hibernate.cfg.Environment:597 - hibernate.properties not found 15:38:47,387 INFO org.hibernate.cfg.Environment:775 - Bytecode provider name : javassist 15:38:47,393 INFO org.hibernate.cfg.Environment:656 - using JDK 1.4 java.sql.Timestamp handling 15:38:49,828 INFO org.hibernate.annotations.common.Version:37 - Hibernate Commons Annotations 3.2.0.Final 15:38:51,962 INFO org.hibernate.cfg.AnnotationBinder:522 - Binding entity from annotated class: com.ebmwebsourcing.petalsview.persistence.model.flow.Flow 15:38:52,071 INFO org.hibernate.cfg.annotations.EntityBinder:501 - Bind entity com.ebmwebsourcing.petalsview.persistence.model.flow.Flow on table FLOW 15:38:52,914 INFO org.hibernate.cfg.AnnotationBinder:522 - Binding entity from annotated class: com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep 15:38:52,915 INFO org.hibernate.cfg.annotations.EntityBinder:501 - Bind entity com.ebmwebsourcing.petalsview.persistence.model.flow.FlowStep on table FLOWSTEP 15:38:52,993 INFO org.hibernate.cfg.AnnotationBinder:522 - Binding entity from annotated class: com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowRef 15:38:52,993 INFO org.hibernate.cfg.annotations.EntityBinder:501 - Bind entity com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowRef on table FLOWREF 15:38:53,043 INFO org.hibernate.cfg.AnnotationBinder:522 - Binding entity from annotated class: com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowStepErrorRef 15:38:53,046 INFO org.hibernate.cfg.annotations.EntityBinder:501 - Bind entity com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowStepErrorRef on table FLOWSTEPERRORREF 15:38:53,049 INFO org.hibernate.cfg.AnnotationBinder:522 - Binding entity from annotated class: com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowStepRef 15:38:53,050 INFO org.hibernate.cfg.annotations.EntityBinder:501 - Bind entity com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowStepRef on table FLOWSTEPREF 15:38:53,929 INFO org.hibernate.cfg.annotations.CollectionBinder:729 - Mapping collection: com.ebmwebsourcing.petalsview.persistence.model.flow.Flow.listFlowStep -> FLOWSTEP 15:38:53,929 INFO org.hibernate.cfg.annotations.CollectionBinder:729 - Mapping collection: com.ebmwebsourcing.petalsview.persistence.model.flowref.FlowStepRef.errorMessages -> FLOWSTEPERRORREF 15:38:53,940 INFO org.hibernate.cfg.AnnotationConfiguration:450 - Hibernate Validator not found: ignoring 15:38:53,973 INFO org.springframework.orm.hibernate3.LocalSessionFactoryBean:772 - Building new Hibernate SessionFactory 15:38:54,131 INFO org.hibernate.connection.ConnectionProviderFactory:95 - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider 15:39:01,977 INFO org.hibernate.cfg.SettingsFactory:117 - RDBMS: H2, version: 1.1.114 (2009-06-01) 15:39:01,978 INFO org.hibernate.cfg.SettingsFactory:118 - JDBC driver: H2 JDBC Driver, version: 1.1.114 (2009-06-01) 15:39:02,374 INFO org.hibernate.dialect.Dialect:222 - Using dialect: org.hibernate.dialect.H2Dialect 15:39:02,400 INFO org.hibernate.engine.jdbc.JdbcSupportLoader:79 - Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4 15:39:02,405 INFO org.hibernate.transaction.TransactionFactoryFactory:62 - Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory 15:39:02,408 INFO org.hibernate.transaction.TransactionManagerLookupFactory:80 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 15:39:02,409 INFO org.hibernate.cfg.SettingsFactory:169 - Automatic flush during beforeCompletion(): disabled 15:39:02,409 INFO org.hibernate.cfg.SettingsFactory:173 - Automatic session close at end of transaction: disabled 15:39:02,409 INFO org.hibernate.cfg.SettingsFactory:180 - JDBC batch size: 15 15:39:02,410 INFO org.hibernate.cfg.SettingsFactory:183 - JDBC batch updates for versioned data: disabled 15:39:02,411 INFO org.hibernate.cfg.SettingsFactory:188 - Scrollable result sets: enabled 15:39:02,412 INFO org.hibernate.cfg.SettingsFactory:196 - JDBC3 getGeneratedKeys(): enabled 15:39:02,412 INFO org.hibernate.cfg.SettingsFactory:204 - Connection release mode: auto 15:39:02,414 INFO org.hibernate.cfg.SettingsFactory:231 - Default batch fetch size: 1 15:39:02,414 INFO org.hibernate.cfg.SettingsFactory:235 - Generate SQL with comments: disabled 15:39:02,415 INFO org.hibernate.cfg.SettingsFactory:239 - Order SQL updates by primary key: disabled 15:39:02,415 INFO org.hibernate.cfg.SettingsFactory:243 - Order SQL inserts for batching: disabled 15:39:02,416 INFO org.hibernate.cfg.SettingsFactory:410 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 15:39:02,419 INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory:47 - Using ASTQueryTranslatorFactory 15:39:02,420 INFO org.hibernate.cfg.SettingsFactory:251 - Query language substitutions: {} 15:39:02,420 INFO org.hibernate.cfg.SettingsFactory:256 - JPA-QL strict compliance: disabled 15:39:02,421 INFO org.hibernate.cfg.SettingsFactory:261 - Second-level cache: enabled 15:39:02,421 INFO org.hibernate.cfg.SettingsFactory:265 - Query cache: disabled 15:39:02,422 INFO org.hibernate.cfg.SettingsFactory:395 - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory 15:39:02,422 INFO org.hibernate.cfg.SettingsFactory:275 - Optimize cache for minimal puts: disabled 15:39:02,423 INFO org.hibernate.cfg.SettingsFactory:284 - Structured second-level cache entries: disabled 15:39:02,771 INFO org.hibernate.cfg.SettingsFactory:313 - Statistics: disabled 15:39:02,771 INFO org.hibernate.cfg.SettingsFactory:317 - Deleted entity synthetic identifier rollback: disabled 15:39:02,772 INFO org.hibernate.cfg.SettingsFactory:332 - Default entity-mode: pojo 15:39:02,772 INFO org.hibernate.cfg.SettingsFactory:336 - Named query checking : enabled 15:39:02,772 INFO org.hibernate.cfg.SettingsFactory:340 - Check Nullability in Core (should be disabled when Bean Validation is on): enabled 15:39:02,836 INFO org.hibernate.search.Version:40 - Hibernate Search 3.2.0.Final 15:39:03,324 INFO org.hibernate.impl.SessionFactoryImpl:199 - building session factory 15:39:06,110 INFO org.hibernate.impl.SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured 15:39:06,122 INFO org.hibernate.tool.hbm2ddl.SchemaUpdate:155 - Running hbm2ddl schema update 15:39:06,122 INFO org.hibernate.tool.hbm2ddl.SchemaUpdate:167 - fetching database metadata 15:39:06,195 INFO org.hibernate.tool.hbm2ddl.SchemaUpdate:179 - updating schema 15:39:06,225 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOW 15:39:06,226 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [idpetals, id, type] 15:39:06,227 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: [] 15:39:06,227 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [constraint_index_2, idpetalsindex, primary_key_2] 15:39:06,337 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOWREF 15:39:06,337 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [id, referencetime, save, name, filename, type, urlbackup, limitvalue, creationdate] 15:39:06,338 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: [] 15:39:06,338 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [constraint_index_f, constraint_index_fd, primary_key_f] 15:39:06,397 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOWREF_PARAMNAMES 15:39:06,398 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [idx, name, global, flowstepref_id] 15:39:06,398 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: [fk_paramnames_id_flowref] 15:39:06,399 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [primary_key_e] 15:39:06,408 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOWSTEP 15:39:06,409 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [id, meuuid, endpointname, startdate, flow_id, status, servicename, interfacename, errorcode, enddate] 15:39:06,409 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: [fk_flow_id_flowstep_flow] 15:39:06,410 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [constraint_index_a, fk_flow_id_flowstep_flow_index_a, primary_key_a, meuuidindex] 15:39:06,417 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOWSTEPERRORREF 15:39:06,417 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [message, id, flowstepref_id, errorcode] 15:39:06,418 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: [fk_flowstepref_id_flowstep] 15:39:06,418 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [constraint_index_25, primary_key_25] 15:39:06,430 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOWSTEPREF 15:39:06,431 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [id, flowstartstep, successmessage, name, servicename, defaulterrormessage, interfacename, flowref_id, flowendstep] 15:39:07,365 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: [fk_flowref_id_flowstepref] 15:39:07,366 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [constraint_index_4, constraint_index_4e, primary_key_4] 15:39:07,379 INFO org.hibernate.tool.hbm2ddl.TableMetadata:65 - table found: PETALSVIEW.PUBLIC.FLOW_PARAMS 15:39:07,379 INFO org.hibernate.tool.hbm2ddl.TableMetadata:66 - columns: [element, idx, flowstep_id] 15:39:07,380 INFO org.hibernate.tool.hbm2ddl.TableMetadata:68 - foreign keys: [fk_flowparams_id_flow] 15:39:07,380 INFO org.hibernate.tool.hbm2ddl.TableMetadata:69 - indexes: [primary_key_7] 15:39:07,382 INFO org.hibernate.tool.hbm2ddl.SchemaUpdate:217 - schema update complete 15:39:07,930 INFO org.springframework.orm.hibernate3.HibernateTransactionManager:415 - Using DataSource [org.apache.commons.dbcp.BasicDataSource@537da7f4] of Hibernate SessionFactory for HibernateTransactionManager [Petals.Container.ServiceAssemblyLifeCycle.petals-sa-FTTH]-SEVERE 2010-09-09 15:39:18,943 org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory) java.lang.RuntimeException: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory) at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.getSchema(AbstractIncludeImpl.java:146) at org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaImpl.addImportElementsInAllList(AbstractSchemaImpl.java:135) at org.ow2.easywsdl.schema.impl.SchemaImpl.initialize(SchemaImpl.java:127) at org.ow2.easywsdl.wsdl.impl.wsdl11.TypesImpl.<init>(TypesImpl.java:134) at org.ow2.easywsdl.wsdl.impl.wsdl11.DescriptionImpl.<init>(DescriptionImpl.java:145) at org.ow2.easywsdl.wsdl.impl.wsdl11.WSDLReaderImpl.read(WSDLReaderImpl.java:173) at org.ow2.easywsdl.wsdl.impl.generic.WSDLReaderImpl.read(WSDLReaderImpl.java:155) at org.ow2.easywsdl.wsdl.impl.generic.WSDLReaderImpl.read(WSDLReaderImpl.java:135) at org.ow2.easywsdl.wsdl.impl.generic.WSDLReaderImpl.read(WSDLReaderImpl.java:197) at org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.inout.WSDL4ComplexWsdlReaderImpl.read(WSDL4ComplexWsdlReaderImpl.java:181) at org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.inout.WSDL4ComplexWsdlReaderImpl.read(WSDL4ComplexWsdlReaderImpl.java:222) at org.ow2.petals.binding.soap.SoapSUManager.doStart(SoapSUManager.java:381) at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.start(AbstractServiceUnitManager.java:616) at org.ow2.petals.component.framework.su.BindingComponentServiceUnitManager.start(BindingComponentServiceUnitManager.java:65) at org.ow2.petals.container.lifecycle.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:161) at org.ow2.petals.container.lifecycle.ServiceAssemblyLifeCycle.doStart(ServiceAssemblyLifeCycle.java:166) at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:185) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:602) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:322) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory) at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.retrieveInclude(AbstractIncludeImpl.java:119) at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.getSchema(AbstractIncludeImpl.java:144) ... 27 more Caused by: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory) at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readExternalPart(SchemaReaderImpl.java:200) at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.retrieveInclude(AbstractIncludeImpl.java:112) ... 28 more Caused by: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) at java.net.URL.openStream(URL.java:1010) at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readExternalPart(SchemaReaderImpl.java:197) ... 29 more [Petals.JBI-Management.SystemRecoveryServiceImpl]-SEVERE 2010-09-09 15:39:18,949 org.ow2.petals.jbi.management.ManagementException: Failed to recover Service Assembly 'petals-sa-FTTH' java.util.concurrent.ExecutionException: org.ow2.petals.jbi.management.ManagementException: Failed to recover Service Assembly 'petals-sa-FTTH' at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllServiceAssembly(SystemRecoveryServiceImpl.java:364) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllEntities(SystemRecoveryServiceImpl.java:177) at org.objectweb.fractal.julia.generated.C290d4ec8_0.recoverAllEntities(INTERCEPTOR[SystemRecoveryService]) at org.objectweb.fractal.julia.generated.Ca30db3f3_0.recoverAllEntities(INTERFACE[SystemRecoveryService]) at org.ow2.petals.kernel.server.PetalsServerImpl.recoverSystem(PetalsServerImpl.java:590) at org.ow2.petals.kernel.server.PetalsServerImpl.start(PetalsServerImpl.java:186) at org.ow2.petals.launcher.AbstractLauncher.start(AbstractLauncher.java:190) at org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:147) at org.ow2.petals.distribution.platform.Main.main(Main.java:42) Caused by: org.ow2.petals.jbi.management.ManagementException: Failed to recover Service Assembly 'petals-sa-FTTH' at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:616) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:322) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: javax.jbi.JBIException: An exception occured while starting the Service Assembly 'petals-sa-FTTH' : org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory) at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:196) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:602) ... 10 more [Petals.Container.ServiceAssemblyLifeCycle.petals-sa-NEWTV]-SEVERE 2010-09-09 15:39:19,664 org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory) java.lang.RuntimeException: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory) at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.getSchema(AbstractIncludeImpl.java:146) at org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaImpl.addImportElementsInAllList(AbstractSchemaImpl.java:135) at org.ow2.easywsdl.schema.impl.SchemaImpl.initialize(SchemaImpl.java:127) at org.ow2.easywsdl.wsdl.impl.wsdl11.TypesImpl.<init>(TypesImpl.java:134) at org.ow2.easywsdl.wsdl.impl.wsdl11.DescriptionImpl.<init>(DescriptionImpl.java:145) at org.ow2.easywsdl.wsdl.impl.wsdl11.WSDLReaderImpl.read(WSDLReaderImpl.java:173) at org.ow2.easywsdl.wsdl.impl.generic.WSDLReaderImpl.read(WSDLReaderImpl.java:155) at org.ow2.easywsdl.wsdl.impl.generic.WSDLReaderImpl.read(WSDLReaderImpl.java:135) at org.ow2.easywsdl.wsdl.impl.generic.WSDLReaderImpl.read(WSDLReaderImpl.java:197) at org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.inout.WSDL4ComplexWsdlReaderImpl.read(WSDL4ComplexWsdlReaderImpl.java:181) at org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.inout.WSDL4ComplexWsdlReaderImpl.read(WSDL4ComplexWsdlReaderImpl.java:222) at org.ow2.petals.binding.soap.SoapSUManager.doStart(SoapSUManager.java:381) at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.start(AbstractServiceUnitManager.java:616) at org.ow2.petals.component.framework.su.BindingComponentServiceUnitManager.start(BindingComponentServiceUnitManager.java:65) at org.ow2.petals.container.lifecycle.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:161) at org.ow2.petals.container.lifecycle.ServiceAssemblyLifeCycle.doStart(ServiceAssemblyLifeCycle.java:166) at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:185) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:602) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:322) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory) at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.retrieveInclude(AbstractIncludeImpl.java:119) at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.getSchema(AbstractIncludeImpl.java:144) ... 27 more Caused by: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory) at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readExternalPart(SchemaReaderImpl.java:200) at org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl.retrieveInclude(AbstractIncludeImpl.java:112) ... 28 more Caused by: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) at java.net.URL.openStream(URL.java:1010) at org.ow2.easywsdl.schema.impl.SchemaReaderImpl.readExternalPart(SchemaReaderImpl.java:197) ... 29 more [Petals.JBI-Management.SystemRecoveryServiceImpl]-SEVERE 2010-09-09 15:39:19,669 org.ow2.petals.jbi.management.ManagementException: Failed to recover Service Assembly 'petals-sa-NEWTV' java.util.concurrent.ExecutionException: org.ow2.petals.jbi.management.ManagementException: Failed to recover Service Assembly 'petals-sa-NEWTV' at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllServiceAssembly(SystemRecoveryServiceImpl.java:364) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllEntities(SystemRecoveryServiceImpl.java:177) at org.objectweb.fractal.julia.generated.C290d4ec8_0.recoverAllEntities(INTERCEPTOR[SystemRecoveryService]) at org.objectweb.fractal.julia.generated.Ca30db3f3_0.recoverAllEntities(INTERFACE[SystemRecoveryService]) at org.ow2.petals.kernel.server.PetalsServerImpl.recoverSystem(PetalsServerImpl.java:590) at org.ow2.petals.kernel.server.PetalsServerImpl.start(PetalsServerImpl.java:186) at org.ow2.petals.launcher.AbstractLauncher.start(AbstractLauncher.java:190) at org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:147) at org.ow2.petals.distribution.platform.Main.main(Main.java:42) Caused by: org.ow2.petals.jbi.management.ManagementException: Failed to recover Service Assembly 'petals-sa-NEWTV' at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:616) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:322) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: javax.jbi.JBIException: An exception occured while starting the Service Assembly 'petals-sa-NEWTV' : org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: createCustomer.xsd: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory): java.io.FileNotFoundException: /createCustomer.xsd (No such file or directory) at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:196) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:602) ... 10 more PETALS ESB platform distribution successfully started - 09/09/10 15:39 System Information : Petals JBI Container - version: 3.2-SNAPSHOT
  • Environment:
    RHEL 5, ESB 3.2-SNAPSHOT with components on CDK 5.0.4-SNAPSHOT, to use easy-wsdl 2.3-SNAPSHOT. The su failing is dedicated tio the bc-soap 5.0-SNAPSHOT
  1. petals-bc-soap-5.0-SNAPSHOT.zip
    (16.82 MB)
    Frédéric Gardes
    Fri, 10 Sep 2010 - 10:37:11 +0200
  2. petals-sa-FTTH-1.0-SNAPSHOT.zip
    (16 kB)
    Frédéric Gardes
    Fri, 10 Sep 2010 - 10:37:11 +0200
  3. petals-sa-NEWTV-1.0-SNAPSHOT.zip
    (15 kB)
    Frédéric Gardes
    Fri, 10 Sep 2010 - 10:37:11 +0200

Activity

Hide
Christophe DENEUX added a comment - Fri, 10 Sep 2010 - 09:53:09 +0200

Can you give us your WSDL expurgated with all datatypes and service definitions. Only the import/include parts are interresting to check them.
Can you give us more details on your SU content:

  • consumer or provider ?
  • where is located the WSDL against the SU content ? The WSDL is a packaged file, an external file, an URL, ...
  • where are locaetd your imports against the SU content ?

Thanks

Show
Christophe DENEUX added a comment - Fri, 10 Sep 2010 - 09:53:09 +0200 Can you give us your WSDL expurgated with all datatypes and service definitions. Only the import/include parts are interresting to check them. Can you give us more details on your SU content:
  • consumer or provider ?
  • where is located the WSDL against the SU content ? The WSDL is a packaged file, an external file, an URL, ...
  • where are locaetd your imports against the SU content ?
Thanks
Hide
Frédéric Gardes added a comment - Fri, 10 Sep 2010 - 10:35:38 +0200

We're on investigation.
->It's always à the recovery time (on start), not at the initial installation.
->We've got the error when the bc soap service unit has got an import 'a.xsd' into its wsdl.
->We've got many service units with imports 'a.xsd' with the same name but not the same content. The FileNotFound is always under this files.
->Maybe a new more recent SNAPSHOT can fix our problem : I do only one packaging per mounth .
->We're working under VM, with only 1600 Mo of RAM, and we're using a lot of them (80%) : maybe an outOfMemory into easy wsdl catched before the FileNotFound?
->We can reproduce it with a lot of 'service petals restart' : between 1 and 5 restart

Let's go to the informations:
Can you give us your WSDL expurgated with all datatypes and service definitions. Only the import/include parts are interresting to check them.->into attachments you can found now 2 SA failing and the bc-soap used
Can you give us more details on your SU content:

  • consumer or provider ?->provider using WS-Addressing
  • where is located the WSDL against the SU content ? The WSDL is a packaged file, an external file, an URL, ...->into the archive, with the jbi.xml
  • where are locaetd your imports against the SU content >>into the archive, with the jbi.xml too..

It seems to be a Thread unsafe issue,no? I can try with a more recent bc-soap (so a more recent CDK 5.0.4-SNAPSHOT and easy wsdl 2.3-SNAPSHOT)? The worst issue kind..
Thanks a lot!

Show
Frédéric Gardes added a comment - Fri, 10 Sep 2010 - 10:35:38 +0200 We're on investigation. ->It's always à the recovery time (on start), not at the initial installation. ->We've got the error when the bc soap service unit has got an import 'a.xsd' into its wsdl. ->We've got many service units with imports 'a.xsd' with the same name but not the same content. The FileNotFound is always under this files. ->Maybe a new more recent SNAPSHOT can fix our problem : I do only one packaging per mounth . ->We're working under VM, with only 1600 Mo of RAM, and we're using a lot of them (80%) : maybe an outOfMemory into easy wsdl catched before the FileNotFound? ->We can reproduce it with a lot of 'service petals restart' : between 1 and 5 restart Let's go to the informations: Can you give us your WSDL expurgated with all datatypes and service definitions. Only the import/include parts are interresting to check them.->into attachments you can found now 2 SA failing and the bc-soap used Can you give us more details on your SU content:
  • consumer or provider ?->provider using WS-Addressing
  • where is located the WSDL against the SU content ? The WSDL is a packaged file, an external file, an URL, ...->into the archive, with the jbi.xml
  • where are locaetd your imports against the SU content >>into the archive, with the jbi.xml too..
It seems to be a Thread unsafe issue,no? I can try with a more recent bc-soap (so a more recent CDK 5.0.4-SNAPSHOT and easy wsdl 2.3-SNAPSHOT)? The worst issue kind.. Thanks a lot!
Hide
Frédéric Gardes added a comment - Fri, 10 Sep 2010 - 10:37:11 +0200

The bc soap and the SA used. It worked with the bc-soap under cdk 5.0.3 (so easy wsdl 2.2).

Show
Frédéric Gardes added a comment - Fri, 10 Sep 2010 - 10:37:11 +0200 The bc soap and the SA used. It worked with the bc-soap under cdk 5.0.3 (so easy wsdl 2.2).
Hide
Christophe DENEUX added a comment - Fri, 10 Sep 2010 - 11:26:08 +0200

A last question, because of PETALSESBCONT-46, can you give us a date, a build number or a SVN revision of your Petals ESB

Show
Christophe DENEUX added a comment - Fri, 10 Sep 2010 - 11:26:08 +0200 A last question, because of PETALSESBCONT-46, can you give us a date, a build number or a SVN revision of your Petals ESB
Hide
Frédéric Gardes added a comment - Fri, 10 Sep 2010 - 11:55:58 +0200

I've got it into my petals kernel jar manifest:

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: admplat
Build-Jdk: 1.6.0_18
Implementation-Title: org.ow2.petals
Implementation-Vendor: OW2
Implementation-Version: 3.2-SNAPSHOT
SCM-Revision: 180
mode: development
url: http://petals.ow2.org/petals-container-parent/petals-kernel
Class-Path: commons-io-1.4.jar commons-pool-1.4.jar geronimo-jta_1.1_s
pec-1.1.1.jar geronimo-javamail_1.4_spec-1.5.jar geronimo-j2ee-connec
tor_1.5_spec-2.0.0.jar easywsdl-ext-wsdl4complexwsdl-2.2.jar easywsdl
-wsdl-2.2.jar easywsdl-schema-2.2.jar easycommons.uri-1.0.jar runtime
-0.4.1.5.jar jaxb-impl-2.1.9.jar jaxb-api-2.1.jar commons-lang-2.4.ja
r log4j-1.2.13.jar commons-logging-1.0.4.jar julia-asm-2.5.2.jar asm-
3.0.jar julia-runtime-2.5.2.jar fractal-api-2.0.2.jar julia-mixins-2.
5.2.jar fractal-adl-2.3.1.jar fractal-util-1.0.jar ast-core-2.3.1.jar
dtdparser-1.21.jar task-framework-2.3.1.jar task-deployment-2.3.1.ja
r fractal-spoonlet-2.0.2.jar spoon-core-1.2.jar core-3.1.1.jar jsap-2
.1.jar aval-0.7.1.jar fractal-jmx-0.3.0.jar mx4j-3.0.1.jar petals-ker
nel-api-2.0.2.jar monolog-2.1.10.jar petals-commons-1.0.3.jar petals-
jbi-1.0.2.jar geronimo-activation_1.1_spec-1.0.2.jar petals-jbi-descr
iptor-2.0.3.jar petals-jaas-1.0.jar petals-topology-1.6.1.jar petals-
systemstate-1.0.1.jar petals-regulation-1.0.jar petals-jmx-1.7.jar pe
tals-jmx-api-1.3.jar petals-database-registry-1.0.2.jar commons-dbcp-
1.2.2.jar postgresql-8.3-603.jdbc3.jar mysql-connector-java-5.1.5.jar
petals-registry-core-1.1.3.jar petals-registry-api-1.0.3.jar geronim
o-ws-metadata_2.0_spec-1.1.2.jar geronimo-stax-api_1.0_spec-1.0.1.jar
commons-httpclient-3.1.jar commons-codec-1.2.jar cxf-bundle-minimal-
2.2.2.jar aopalliance-1.0.jar geronimo-annotation_1.0_spec-1.1.1.jar
wsdl4j-1.6.2.jar XmlSchema-1.4.5.jar wstx-asl-3.2.8.jar neethi-2.0.4.
jar FastInfoset-1.2.3.jar spring-web-2.5.5.jar jetty-6.1.9.jar jetty-
util-6.1.9.jar geronimo-servlet_2.5_spec-1.2.jar spring-context-suppo
rt-2.5.5.jar spring-tx-2.5.5.jar saaj-api-1.3.jar jaxb-xjc-2.1.9.jar
xml-resolver-1.2.jar geronimo-jaxws_2.1_spec-1.0.jar saaj-impl-1.3.2.
jar xmlbeans-2.4.0.jar wss4j-1.5.7.jar bcprov-jdk14-140.jar serialize
r-2.7.1.jar bcprov-jdk15-140.jar slf4j-log4j12-1.5.10.jar slf4j-api-1
.5.10.jar hibernate-core-3.3.2.GA.jar antlr-2.7.6.jar commons-collect
ions-3.1.jar dom4j-1.6.1.jar xml-apis-1.0.b2.jar jta-1.1.jar hibernat
e-annotations-3.4.0.GA.jar ejb3-persistence-1.0.2.GA.jar hibernate-co
mmons-annotations-3.1.0.GA.jar hibernate-ehcache-3.3.2.GA.jar ehcache
-1.2.3.jar hibernate-c3p0-3.3.2.GA.jar c3p0-0.9.1.jar javassist-3.8.1
.GA.jar trg-dao-hibernate-0.5.1.jar trg-dao-0.5.1.jar trg-search-0.5.
1.jar persistence-api-1.0.jar trg-search-hibernate-0.5.1.jar hsqldb-1
.8.0.7.jar petals-registry-client-1.1.1.jar petals-registry-api-1.0.2
.jar petals-kernel-wsclient-1.1.1.jar petals-kernel-wsapi-1.1.1.jar d
ragon-api-connection-1.0-alpha.jar jotm-2.0.10.jar jotm_jrmp_stubs-2.
0.10.jar carol-2.0.5.jar howl-logger-0.1.11.jar servlet-api-2.5-6.1.9
.jar jsp-2.1-6.1.9.jar jsp-api-2.1-6.1.9.jar ant-1.6.5.jar

Show
Frédéric Gardes added a comment - Fri, 10 Sep 2010 - 11:55:58 +0200 I've got it into my petals kernel jar manifest: Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Built-By: admplat Build-Jdk: 1.6.0_18 Implementation-Title: org.ow2.petals Implementation-Vendor: OW2 Implementation-Version: 3.2-SNAPSHOT SCM-Revision: 180 mode: development url: http://petals.ow2.org/petals-container-parent/petals-kernel Class-Path: commons-io-1.4.jar commons-pool-1.4.jar geronimo-jta_1.1_s pec-1.1.1.jar geronimo-javamail_1.4_spec-1.5.jar geronimo-j2ee-connec tor_1.5_spec-2.0.0.jar easywsdl-ext-wsdl4complexwsdl-2.2.jar easywsdl -wsdl-2.2.jar easywsdl-schema-2.2.jar easycommons.uri-1.0.jar runtime -0.4.1.5.jar jaxb-impl-2.1.9.jar jaxb-api-2.1.jar commons-lang-2.4.ja r log4j-1.2.13.jar commons-logging-1.0.4.jar julia-asm-2.5.2.jar asm- 3.0.jar julia-runtime-2.5.2.jar fractal-api-2.0.2.jar julia-mixins-2. 5.2.jar fractal-adl-2.3.1.jar fractal-util-1.0.jar ast-core-2.3.1.jar dtdparser-1.21.jar task-framework-2.3.1.jar task-deployment-2.3.1.ja r fractal-spoonlet-2.0.2.jar spoon-core-1.2.jar core-3.1.1.jar jsap-2 .1.jar aval-0.7.1.jar fractal-jmx-0.3.0.jar mx4j-3.0.1.jar petals-ker nel-api-2.0.2.jar monolog-2.1.10.jar petals-commons-1.0.3.jar petals- jbi-1.0.2.jar geronimo-activation_1.1_spec-1.0.2.jar petals-jbi-descr iptor-2.0.3.jar petals-jaas-1.0.jar petals-topology-1.6.1.jar petals- systemstate-1.0.1.jar petals-regulation-1.0.jar petals-jmx-1.7.jar pe tals-jmx-api-1.3.jar petals-database-registry-1.0.2.jar commons-dbcp- 1.2.2.jar postgresql-8.3-603.jdbc3.jar mysql-connector-java-5.1.5.jar petals-registry-core-1.1.3.jar petals-registry-api-1.0.3.jar geronim o-ws-metadata_2.0_spec-1.1.2.jar geronimo-stax-api_1.0_spec-1.0.1.jar commons-httpclient-3.1.jar commons-codec-1.2.jar cxf-bundle-minimal- 2.2.2.jar aopalliance-1.0.jar geronimo-annotation_1.0_spec-1.1.1.jar wsdl4j-1.6.2.jar XmlSchema-1.4.5.jar wstx-asl-3.2.8.jar neethi-2.0.4. jar FastInfoset-1.2.3.jar spring-web-2.5.5.jar jetty-6.1.9.jar jetty- util-6.1.9.jar geronimo-servlet_2.5_spec-1.2.jar spring-context-suppo rt-2.5.5.jar spring-tx-2.5.5.jar saaj-api-1.3.jar jaxb-xjc-2.1.9.jar xml-resolver-1.2.jar geronimo-jaxws_2.1_spec-1.0.jar saaj-impl-1.3.2. jar xmlbeans-2.4.0.jar wss4j-1.5.7.jar bcprov-jdk14-140.jar serialize r-2.7.1.jar bcprov-jdk15-140.jar slf4j-log4j12-1.5.10.jar slf4j-api-1 .5.10.jar hibernate-core-3.3.2.GA.jar antlr-2.7.6.jar commons-collect ions-3.1.jar dom4j-1.6.1.jar xml-apis-1.0.b2.jar jta-1.1.jar hibernat e-annotations-3.4.0.GA.jar ejb3-persistence-1.0.2.GA.jar hibernate-co mmons-annotations-3.1.0.GA.jar hibernate-ehcache-3.3.2.GA.jar ehcache -1.2.3.jar hibernate-c3p0-3.3.2.GA.jar c3p0-0.9.1.jar javassist-3.8.1 .GA.jar trg-dao-hibernate-0.5.1.jar trg-dao-0.5.1.jar trg-search-0.5. 1.jar persistence-api-1.0.jar trg-search-hibernate-0.5.1.jar hsqldb-1 .8.0.7.jar petals-registry-client-1.1.1.jar petals-registry-api-1.0.2 .jar petals-kernel-wsclient-1.1.1.jar petals-kernel-wsapi-1.1.1.jar d ragon-api-connection-1.0-alpha.jar jotm-2.0.10.jar jotm_jrmp_stubs-2. 0.10.jar carol-2.0.5.jar howl-logger-0.1.11.jar servlet-api-2.5-6.1.9 .jar jsp-2.1-6.1.9.jar jsp-api-2.1-6.1.9.jar ant-1.6.5.jar
Hide
Frédéric Gardes added a comment - Fri, 10 Sep 2010 - 11:58:34 +0200

Oh I see easywsdl-ext-wsdl4complexwsdl-2.2.jar into the dependencies...and I need the 2.3-SNAPSHOT into the CDK to be able to install the artifacts? I'm puzzled...

Show
Frédéric Gardes added a comment - Fri, 10 Sep 2010 - 11:58:34 +0200 Oh I see easywsdl-ext-wsdl4complexwsdl-2.2.jar into the dependencies...and I need the 2.3-SNAPSHOT into the CDK to be able to install the artifacts? I'm puzzled...
Hide
mjambert added a comment - Fri, 10 Sep 2010 - 14:22:11 +0200

I deployed your BC soap and SAs about 10 ten times on petals 3.2 SNAPSHOT from trunk. No problem.

Show
mjambert added a comment - Fri, 10 Sep 2010 - 14:22:11 +0200 I deployed your BC soap and SAs about 10 ten times on petals 3.2 SNAPSHOT from trunk. No problem.
Hide
mjambert added a comment - Fri, 10 Sep 2010 - 14:25:30 +0200

ok, I finally managed to reproduce the problem.
The problem occurs when restarting petals ESB with components installed.
It does not seem to happen when deploying SAs one by one.

Show
mjambert added a comment - Fri, 10 Sep 2010 - 14:25:30 +0200 ok, I finally managed to reproduce the problem. The problem occurs when restarting petals ESB with components installed. It does not seem to happen when deploying SAs one by one.
Hide
mjambert added a comment - Fri, 10 Sep 2010 - 18:38:47 +0200

Just reproduced this problem with Petals 3.1 and bc-soap 4.0.3.

Show
mjambert added a comment - Fri, 10 Sep 2010 - 18:38:47 +0200 Just reproduced this problem with Petals 3.1 and bc-soap 4.0.3.
Hide
Frédéric Gardes added a comment - Mon, 13 Sep 2010 - 08:40:38 +0200 - edited

That's a good news. It's just a little bit strange that we didn't found it into our previous tests so.
We have installed a process to tests specifically this randomized error. And, I don't known if it's correlated, sometimes we found a new error:
[Petals.Container.Components.petals-bc-soap]-SEVERE 2010-09-10 17:56:24,109 Service Unit 'petals-su-soap-provides-IPTV-customerCreate-1.0-SNAPSHOT' failed to deploy
javax.jbi.JBIException: Failed to find an interface in WSDL description bound the provided service {http://impl.createcustomer.services.isb.orange.com/}createCustomer
at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.validateDescription(AbstractServiceUnitManager.java:217)
at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.processProvidesNode(AbstractServiceUnitManager.java:921)
at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.processProvidesNodes(AbstractServiceUnitManager.java:955)
at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.deploy(AbstractServiceUnitManager.java:283)
at org.ow2.petals.jbi.management.task.deployment.deploy.DeploySUToComponentTask.deploySUtoComponent(DeploySUToComponentTask.java:114)
at org.ow2.petals.jbi.management.task.deployment.deploy.DeploySUToComponentTask.execute(DeploySUToComponentTask.java:66)
at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.registerAndDeploySU(DeployAllSUTask.java:166)
at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.deploySUS(DeployAllSUTask.java:122)
at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.execute(DeployAllSUTask.java:80)
at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverSA(SystemRecoveryServiceImpl.java:710)
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:588)
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:322)
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
[Petals.JBI-Management.SystemRecoveryServiceImpl]-WARNING 2010-09-10 17:56:24,110 A component Service Unit Manager failed to deploy a Service Unit :
<component-task-result>
<component-name>petals-bc-soap</component-name>
<component-task-result-details xmlns='http://java.sun.com/xml/ns/jbi/management-message'>
<task-result-details>
<task-id>deploy</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<exception-info>
<nesting-level>1</nesting-level>
<msg-loc-info>
<loc-token>jbimsg</loc-token>
<loc-message>Failed to deploy Service Unit : {1}</loc-message>
<loc-param>petals-su-soap-provides-IPTV-customerCreate-1.0-SNAPSHOT</loc-param>
</msg-loc-info>
<stack-trace>Failed to find an interface in WSDL description bound the provided service {http://impl.createcustomer.services.isb.orange.com/}createCustomer</stack-trace>
</exception-info>
</task-result-details>
</component-task-result-details>
</component-task-result>

k.execute(DeploySUToComponentTask.java:66)
at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.registerAndDeploySU(DeployAllSUTask.java:166)
at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.deploySUS(DeployAllSUTask.java:122)
at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.execute(DeployAllSUTask.java:80)
at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverSA(SystemRecoveryServiceImpl.java:710)
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:588)
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:322)
at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
WARNING 2010-09-10 17:56:24,110 [Petals.JBI-Management.SystemRecoveryServiceImpl]
A component Service Unit Manager failed to deploy a Service Unit :
<component-task-result>
<component-name>petals-bc-soap</component-name>
<component-task-result-details xmlns='http://java.sun.com/xml/ns/jbi/management-message'>
<task-result-details>
<task-id>deploy</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<exception-info>
<nesting-level>1</nesting-level>
<msg-loc-info>
<loc-token>jbimsg</loc-token>
<loc-message>Failed to deploy Service Unit : {1}</loc-message>
<loc-param>petals-su-soap-provides-IPTV-customerCreate-1.0-SNAPSHOT</loc-param>
</msg-loc-info>
<stack-trace>Failed to find an interface in WSDL description bound the provided service {http://impl.createcustomer.services.isb.orange.com/}createCustomer</stack-trace>
</exception-info>
</task-result-details>
</component-task-result-details>
</component-task-result>

Of course, the interface exists into the files existing into the 'repository' directory. We've got this error with the same SA already provided here. I think it's the same error (the file isn't readable) at another step of the recovery. If you think that it's another problem, I can open another Jira Issue.

Show
Frédéric Gardes added a comment - Mon, 13 Sep 2010 - 08:40:38 +0200 - edited That's a good news. It's just a little bit strange that we didn't found it into our previous tests so. We have installed a process to tests specifically this randomized error. And, I don't known if it's correlated, sometimes we found a new error: [Petals.Container.Components.petals-bc-soap]-SEVERE 2010-09-10 17:56:24,109 Service Unit 'petals-su-soap-provides-IPTV-customerCreate-1.0-SNAPSHOT' failed to deploy javax.jbi.JBIException: Failed to find an interface in WSDL description bound the provided service {http://impl.createcustomer.services.isb.orange.com/}createCustomer at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.validateDescription(AbstractServiceUnitManager.java:217) at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.processProvidesNode(AbstractServiceUnitManager.java:921) at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.processProvidesNodes(AbstractServiceUnitManager.java:955) at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.deploy(AbstractServiceUnitManager.java:283) at org.ow2.petals.jbi.management.task.deployment.deploy.DeploySUToComponentTask.deploySUtoComponent(DeploySUToComponentTask.java:114) at org.ow2.petals.jbi.management.task.deployment.deploy.DeploySUToComponentTask.execute(DeploySUToComponentTask.java:66) at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78) at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.registerAndDeploySU(DeployAllSUTask.java:166) at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.deploySUS(DeployAllSUTask.java:122) at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.execute(DeployAllSUTask.java:80) at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverSA(SystemRecoveryServiceImpl.java:710) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:588) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:322) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) [Petals.JBI-Management.SystemRecoveryServiceImpl]-WARNING 2010-09-10 17:56:24,110 A component Service Unit Manager failed to deploy a Service Unit : <component-task-result> <component-name>petals-bc-soap</component-name> <component-task-result-details xmlns='http://java.sun.com/xml/ns/jbi/management-message'> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> <exception-info> <nesting-level>1</nesting-level> <msg-loc-info> <loc-token>jbimsg</loc-token> <loc-message>Failed to deploy Service Unit : {1}</loc-message> <loc-param>petals-su-soap-provides-IPTV-customerCreate-1.0-SNAPSHOT</loc-param> </msg-loc-info> <stack-trace>Failed to find an interface in WSDL description bound the provided service {http://impl.createcustomer.services.isb.orange.com/}createCustomer</stack-trace> </exception-info> </task-result-details> </component-task-result-details> </component-task-result> k.execute(DeploySUToComponentTask.java:66) at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78) at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.registerAndDeploySU(DeployAllSUTask.java:166) at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.deploySUS(DeployAllSUTask.java:122) at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.execute(DeployAllSUTask.java:80) at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverSA(SystemRecoveryServiceImpl.java:710) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverServiceAssembly(SystemRecoveryServiceImpl.java:588) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:322) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) WARNING 2010-09-10 17:56:24,110 [Petals.JBI-Management.SystemRecoveryServiceImpl] A component Service Unit Manager failed to deploy a Service Unit : <component-task-result> <component-name>petals-bc-soap</component-name> <component-task-result-details xmlns='http://java.sun.com/xml/ns/jbi/management-message'> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> <exception-info> <nesting-level>1</nesting-level> <msg-loc-info> <loc-token>jbimsg</loc-token> <loc-message>Failed to deploy Service Unit : {1}</loc-message> <loc-param>petals-su-soap-provides-IPTV-customerCreate-1.0-SNAPSHOT</loc-param> </msg-loc-info> <stack-trace>Failed to find an interface in WSDL description bound the provided service {http://impl.createcustomer.services.isb.orange.com/}createCustomer</stack-trace> </exception-info> </task-result-details> </component-task-result-details> </component-task-result> Of course, the interface exists into the files existing into the 'repository' directory. We've got this error with the same SA already provided here. I think it's the same error (the file isn't readable) at another step of the recovery. If you think that it's another problem, I can open another Jira Issue.
Hide
mjambert added a comment - Wed, 15 Sep 2010 - 09:19:54 +0200

After further investigation is appears that petals stored in its registry the original wsdl and NOT the wsdl4complexwsdl (with importedFocuments tag). Later on, on URI resolval, we look for the relative path, which of course does not exist.

Show
mjambert added a comment - Wed, 15 Sep 2010 - 09:19:54 +0200 After further investigation is appears that petals stored in its registry the original wsdl and NOT the wsdl4complexwsdl (with importedFocuments tag). Later on, on URI resolval, we look for the relative path, which of course does not exist.
Hide
Frédéric Gardes added a comment - Wed, 15 Sep 2010 - 15:08:20 +0200 - edited

So we need to fix only one of this points into the AbstractServiceUnitManager class:

1) this method witch doesn't create a great description (what's a light description?):
/**

  • Search the wsdl description of the activated endpoint in the Provides
  • extensions. If no wsdl description can be found, it creates a light
  • weight Wsdl description from Provides Interface, Service and Endpoint
  • names. No generation of endpoint is processed to know after the generated
  • name to update the provides too.
  • @param wsdlLocation
  • the location of the wsdl document. Can be {@code null}
  • @param provides
  • the Provides node
  • @return the WSDL description
  • @throws PEtALSCDKException
    */
    private static final Description getWsdlDescription(final URL wsdlLocation,
    final Provides provides) throws PEtALSCDKException {
    if (wsdlLocation != null)
    Unknown macro: { try { return UtilFactory.getWSDLUtil().createWsdlDescription(wsdlLocation, false); } catch (final WSDLException e) { throw new PEtALSCDKException(e); } }
    else
    Unknown macro: { // if the WSDL field is null, generate a basic WSDL try { return UtilFactory.getWSDLUtil().createLightWSDL20Description( provides.getInterfaceName(), provides.getServiceName(), provides.getEndpointName()); } catch (final WSDLException e) { throw new PEtALSCDKException("Can not auto-generate a WSDL document", e); } }

    }

OR
2) the processProvidesNode method witch provide a bad document:
final Document wsdlDocument = UtilFactory.getWSDLUtil().convertDescriptionToDocument(
wsdlDescription);

Any candidate to validate ?

Show
Frédéric Gardes added a comment - Wed, 15 Sep 2010 - 15:08:20 +0200 - edited So we need to fix only one of this points into the AbstractServiceUnitManager class: 1) this method witch doesn't create a great description (what's a light description?): /**
  • Search the wsdl description of the activated endpoint in the Provides
  • extensions. If no wsdl description can be found, it creates a light
  • weight Wsdl description from Provides Interface, Service and Endpoint
  • names. No generation of endpoint is processed to know after the generated
  • name to update the provides too.
  • @param wsdlLocation
  • the location of the wsdl document. Can be {@code null}
  • @param provides
  • the Provides node
  • @return the WSDL description
  • @throws PEtALSCDKException */ private static final Description getWsdlDescription(final URL wsdlLocation, final Provides provides) throws PEtALSCDKException { if (wsdlLocation != null)
    Unknown macro: { try { return UtilFactory.getWSDLUtil().createWsdlDescription(wsdlLocation, false); } catch (final WSDLException e) { throw new PEtALSCDKException(e); } }
    else
    Unknown macro: { // if the WSDL field is null, generate a basic WSDL try { return UtilFactory.getWSDLUtil().createLightWSDL20Description( provides.getInterfaceName(), provides.getServiceName(), provides.getEndpointName()); } catch (final WSDLException e) { throw new PEtALSCDKException("Can not auto-generate a WSDL document", e); } }
    }
OR 2) the processProvidesNode method witch provide a bad document: final Document wsdlDocument = UtilFactory.getWSDLUtil().convertDescriptionToDocument( wsdlDescription); Any candidate to validate ?
Hide
mjambert added a comment - Thu, 16 Sep 2010 - 10:30:15 +0200

WSDL writer are badly used statically in framework.UtilFactory.

The contract of readers/writers are ONE per thread (same constraint as JAXB marshaller/unmarshaller).

Fix follows.

Show
mjambert added a comment - Thu, 16 Sep 2010 - 10:30:15 +0200 WSDL writer are badly used statically in framework.UtilFactory. The contract of readers/writers are ONE per thread (same constraint as JAXB marshaller/unmarshaller). Fix follows.
Hide
mjambert added a comment - Thu, 16 Sep 2010 - 10:32:00 +0200 - edited

fixed in trunk.
A merger dans la branche 5.0.x.

Show
mjambert added a comment - Thu, 16 Sep 2010 - 10:32:00 +0200 - edited fixed in trunk. A merger dans la branche 5.0.x.
Hide
Christophe DENEUX added a comment - Thu, 16 Sep 2010 - 16:09:40 +0200

Backported in branch 5.0.x

Show
Christophe DENEUX added a comment - Thu, 16 Sep 2010 - 16:09:40 +0200 Backported in branch 5.0.x
Hide
Frédéric Gardes added a comment - Thu, 16 Sep 2010 - 17:16:34 +0200

Okay, so I must use the branch 'petals-cdk-core-5.0.x' for my components. Is there anything to do under the branch 'petals-platform-3.1.x' too? Or I can use the snapshot of this branch without any backport?

Show
Frédéric Gardes added a comment - Thu, 16 Sep 2010 - 17:16:34 +0200 Okay, so I must use the branch 'petals-cdk-core-5.0.x' for my components. Is there anything to do under the branch 'petals-platform-3.1.x' too? Or I can use the snapshot of this branch without any backport?
Hide
Christophe DENEUX added a comment - Fri, 17 Sep 2010 - 10:54:41 +0200

Yes, use the branch petals-cdk-core-5.0.x. Petals platform is not impacted by this issue.

Show
Christophe DENEUX added a comment - Fri, 17 Sep 2010 - 10:54:41 +0200 Yes, use the branch petals-cdk-core-5.0.x. Petals platform is not impacted by this issue.

People

Dates

  • Created:
    Thu, 9 Sep 2010 - 17:58:08 +0200
    Updated:
    Fri, 1 Oct 2010 - 10:11:59 +0200
    Resolved:
    Thu, 16 Sep 2010 - 10:32:00 +0200