Topic
4 replies Latest Post - ‏2012-10-05T20:21:52Z by SystemAdmin
zbc
zbc
21 Posts
ACCEPTED ANSWER

Pinned topic fail to deploy sca contribution sample by rad8.5

‏2012-10-05T16:57:27Z |
Hello,

I follow the helloworld sca sample built in the rad8.5, and when i deploy and publish the contribution to the test server, it said:

The add WebSphere:cuname=HelloWorldComposite composition unit operation has failed. This can happen because it may already exist or some of its dependents are not deployed.

i check the admin console, it is not deployed! and when i restart the server and try again, it still DON'T work, who can help? thanks.
Updated on 2012-10-05T20:21:52Z at 2012-10-05T20:21:52Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    14225 Posts
    ACCEPTED ANSWER

    Re: fail to deploy sca contribution sample by rad8.5

    ‏2012-10-05T17:10:50Z  in response to zbc
    Hi zbc.

    Hard to tell what's wrong there. Please post your HelloWorldComposite.composite and WAS logs. I tried both samples myself (SCA 1.0 and 1.1) and they are working for me. Please, add mre details.

    ________________________________________________
    "If you prefer to speak in Spanish, please contact me directly"
    • zbc
      zbc
      21 Posts
      ACCEPTED ANSWER

      Re: fail to deploy sca contribution sample by rad8.5

      ‏2012-10-05T17:44:07Z  in response to SystemAdmin
      hi,
      Thanks for response, i run linux version rad8.5 on SLES11 and the attached is the sca archive file exported by rad.could you help to look into it? and the following is the message on the console(the previous error is displayed on popup error window):

      9/5/12 19:04:44:089 EDT 0000046a FileRepositor A ADMR0015I: User customRealm/wasadmin created document cells/db2v10Node01Cell/blas/HelloWorld/bver/BASE/bla.xml.
      9/5/12 19:04:44:710 EDT 0000046a FileRepositor A ADMR0015I: User customRealm/wasadmin created document cells/db2v10Node01Cell/assets/HelloWorld.jar/aver/BASE/asset.xml.
      9/5/12 19:04:44:711 EDT 0000046a FileRepositor A ADMR0015I: User customRealm/wasadmin created document cells/db2v10Node01Cell/assets/HelloWorld.jar/aver/BASE/bin/HelloWorld.jar.
      9/5/12 19:04:44:712 EDT 0000046a FileRepositor A ADMR0015I: User customRealm/wasadmin created document cells/db2v10Node01Cell/assets/HelloWorld.jar/aver/BASE/deltas/delta-1346886284240.
      9/5/12 19:04:45:002 EDT 00000472 ValidatingXML E XMLSchema validation error occured in: null ,line = -1, column = -1, Message = cvc-complex-type.2.4.a: Invalid content was found starting with element 'service'. One of '{"http://www.osoa.org/xmlns/sca/1.0":implementation}' is expected.
      9/5/12 19:04:45:019 EDT 00000472 ComponentConf W No implementation for component: Component = HelloWorldComponent
      9/5/12 19:04:45:020 EDT 00000472 ComponentConf E Service not found for component service: Component = HelloWorldComponent Service = HelloService
      9/5/12 19:04:45:020 EDT 00000472 CompositeBind W No implementation for component: Component = HelloWorldComponent
      9/5/12 19:04:45:022 EDT 00000472 CompositeBind E Service not found for component service: Component = HelloWorldComponent Service = HelloService
      9/5/12 19:04:47:031 EDT 0000034b FileRepositor A ADMR0016I: User customRealm/wasadmin modified document cells/db2v10Node01Cell/blas/HelloWorld/bver/BASE/bla.xml.
      9/5/12 19:04:47:617 EDT 0000046a FileRepositor A ADMR0017I: User customRealm/wasadmin deleted document cells/db2v10Node01Cell/assets/HelloWorld.jar/aver/BASE/bin/HelloWorld.jar.
      9/5/12 19:04:47:618 EDT 0000046a FileRepositor A ADMR0017I: User customRealm/wasadmin deleted document cells/db2v10Node01Cell/assets/HelloWorld.jar/aver/BASE/asset.xml.
      9/5/12 19:04:47:618 EDT 0000046a FileRepositor A ADMR0017I: User customRealm/wasadmin deleted document cells/db2v10Node01Cell/assets/HelloWorld.jar/aver/BASE/deltas/delta-1346886284240.
      9/5/12 19:04:48:239 EDT 0000034b FileRepositor A ADMR0017I: User customRealm/wasadmin deleted document cells/db2v10Node01Cell/blas/HelloWorld/bver/BASE/bla.xml.
      9/5/12 19:04:58:989 EDT 0000034b FileRepositor A ADMR0015I: User customRealm/wasadmin created document cells/db2v10Node01Cell/blas/HelloWorld/bver/BASE/bla.xml.
      9/5/12 19:04:59:576 EDT 0000034b FileRepositor A ADMR0015I: User customRealm/wasadmin created document cells/db2v10Node01Cell/assets/HelloWorld.jar/aver/BASE/deltas/delta-1346886299105.
      9/5/12 19:04:59:577 EDT 0000034b FileRepositor A ADMR0015I: User customRealm/wasadmin created document cells/db2v10Node01Cell/assets/HelloWorld.jar/aver/BASE/bin/HelloWorld.jar.
      9/5/12 19:04:59:577 EDT 0000034b FileRepositor A ADMR0015I: User customRealm/wasadmin created document cells/db2v10Node01Cell/assets/HelloWorld.jar/aver/BASE/asset.xml.
      9/5/12 19:04:59:760 EDT 00000484 ValidatingXML E XMLSchema validation error occured in: null ,line = -1, column = -1, Message = cvc-complex-type.2.4.a: Invalid content was found starting with element 'service'. One of '{"http://www.osoa.org/xmlns/sca/1.0":implementation}' is expected.
      9/5/12 19:04:59:774 EDT 00000484 ComponentConf W No implementation for component: Component = HelloWorldComponent
      9/5/12 19:04:59:775 EDT 00000484 ComponentConf E Service not found for component service: Component = HelloWorldComponent Service = HelloService
      9/5/12 19:04:59:775 EDT 00000484 CompositeBind W No implementation for component: Component = HelloWorldComponent
      9/5/12 19:04:59:775 EDT 00000484 CompositeBind E Service not found for component service: Component = HelloWorldComponent Service = HelloService
      9/5/12 19:05:02:179 EDT 0000046a FileRepositor A ADMR0016I: User customRealm/wasadmin modified document cells/db2v10Node01Cell/blas/HelloWorld/bver/BASE/bla.xml.
      9/5/12 19:05:02:758 EDT 0000034b FileRepositor A ADMR0017I: User customRealm/wasadmin deleted document cells/db2v10Node01Cell/assets/HelloWorld.jar/aver/BASE/bin/HelloWorld.jar.
      9/5/12 19:05:02:758 EDT 0000034b FileRepositor A ADMR0017I: User customRealm/wasadmin deleted document cells/db2v10Node01Cell/assets/HelloWorld.jar/aver/BASE/deltas/delta-1346886299105.
      9/5/12 19:05:02:759 EDT 0000034b FileRepositor A ADMR0017I: User customRealm/wasadmin deleted document cells/db2v10Node01Cell/assets/HelloWorld.jar/aver/BASE/asset.xml.
      9/5/12 19:05:03:364 EDT 0000046a FileRepositor A ADMR0017I: User customRealm/wasadmin deleted document cells/db2v10Node01Cell/blas/HelloWorld/bver/BASE/bla.xml.
  • zbc
    zbc
    21 Posts
    ACCEPTED ANSWER

    Re: fail to deploy sca contribution sample by rad8.5

    ‏2012-10-05T17:49:30Z  in response to zbc
    sorry, forget it!!!!!

    i forget to set the implementation for the component, it works now. thanks.
    • SystemAdmin
      SystemAdmin
      14225 Posts
      ACCEPTED ANSWER

      Re: fail to deploy sca contribution sample by rad8.5

      ‏2012-10-05T20:21:52Z  in response to zbc
      Good to know you found the issue and fixed it :-D

      ________________________________________________
      "If you prefer to speak in Spanish, please contact me directly"