+ Reply to Thread
Results 1 to 5 of 5

Thread: "The deployed package file could not be decompressed."

  1. #1
    johnho Guest

    Default "The deployed package file could not be decompressed."

    Hello,
    I am a new to SymphonyDE and just tried to deploy a package in C:\SymphonyDE\DE40\4.0\samples\Java\SampleApp\Samp leServiceJavaPackage.jar and got the above message. The jar file looks fine but I don't know why it cannot be decompressed.
    Appreciate for any help.

  2. #2
    Ajith's Avatar
    Ajith is offline Symphony DE Moderator
    Join Date
    February 28th, 2008
    Location
    Markham, Ontario
    Posts
    104
    Blog Entries
    2
    Downloads
    10
    Uploads
    0

    Default

    Hi John,

    Thanks for trying Symphony. How are you deploying you java sample? Are you using the command line - soamdeploy or are you using the web client?

    If you are using the command line, can you send me the command you are trying?

    You can try the command line:
    soamdeploy add SampleServiceJava -p C:\SymphonyDE\DE40\4.0\samples\Java\SampleApp\Samp leServiceJavaPackage.jar -a C:\SymphonyDE\DE40\4.0\samples\Java\SampleApp\samp leApp.xml

    - Ajith

    Quote Originally Posted by johnho View Post
    Hello,
    I am a new to SymphonyDE and just tried to deploy a package in C:\SymphonyDE\DE40\4.0\samples\Java\SampleApp\Samp leServiceJavaPackage.jar and got the above message. The jar file looks fine but I don't know why it cannot be decompressed.
    Appreciate for any help.

  3. #3
    johnho Guest

    Default

    Hi Ajith,

    Thank you for your support. I used web client to deploy the package.

    Now, I try your command line. No error.
    I can see SampleAppJava listed on Manage Service Packages page but the Application Profiles field of SampleAppJava is nil.

    Then RunAsyncClient.bat gets the following exceptions:

    C:\SymphonyDE\DE40\4.0\samples\Java\SampleApp>RunA syncClient.bat

    C:\SymphonyDE\DE40\4.0\samples\Java\SampleApp>java -classpath C:\SymphonyDE\DE40\4.0\win32-vc7\lib\JavaSoamApi.jar;C:\SymphonyDE\DE40\4.0\sam ples\Java\SampleApp\bin com.platform.symphony.samples.SampleApp.client.Asy ncClient
    Exception caught :
    com.platform.symphony.soam.SoamException: Domain <Application>: Application SampleAppJava does not exist. This application is not registered.
    com.platform.symphony.soam.SoamFactory.nativeConne ct(Native Method)
    com.platform.symphony.soam.SoamFactory.connect(Soa mFactory.java:136)
    com.platform.symphony.samples.SampleApp.client.Asy ncClient.main(AsyncClient.java:42)
    All Done !!

    Do you have any solution for this? Thanks.


    Quote Originally Posted by Ajith View Post
    Hi John,

    Thanks for trying Symphony. How are you deploying you java sample? Are you using the command line - soamdeploy or are you using the web client?

    If you are using the command line, can you send me the command you are trying?

    You can try the command line:
    soamdeploy add SampleServiceJava -p C:\SymphonyDE\DE40\4.0\samples\Java\SampleApp\Samp leServiceJavaPackage.jar -a C:\SymphonyDE\DE40\4.0\samples\Java\SampleApp\samp leApp.xml

    - Ajith

  4. #4
    Ajith's Avatar
    Ajith is offline Symphony DE Moderator
    Join Date
    February 28th, 2008
    Location
    Markham, Ontario
    Posts
    104
    Blog Entries
    2
    Downloads
    10
    Uploads
    0

    Default

    Hi John,

    You have to register the application using the command line soamreg.

    soamreg C:\SymphonyDE\DE40\4.0\samples\Java\SampleApp\samp leApp.xml

    - Ajith

    Quote Originally Posted by johnho View Post
    Hi Ajith,

    Thank you for your support. I used web client to deploy the package.

    Now, I try your command line. No error.
    I can see SampleAppJava listed on Manage Service Packages page but the Application Profiles field of SampleAppJava is nil.

    Then RunAsyncClient.bat gets the following exceptions:

    C:\SymphonyDE\DE40\4.0\samples\Java\SampleApp>RunA syncClient.bat

    C:\SymphonyDE\DE40\4.0\samples\Java\SampleApp>java -classpath C:\SymphonyDE\DE40\4.0\win32-vc7\lib\JavaSoamApi.jar;C:\SymphonyDE\DE40\4.0\sam ples\Java\SampleApp\bin com.platform.symphony.samples.SampleApp.client.Asy ncClient
    Exception caught :
    com.platform.symphony.soam.SoamException: Domain <Application>: Application SampleAppJava does not exist. This application is not registered.
    com.platform.symphony.soam.SoamFactory.nativeConne ct(Native Method)
    com.platform.symphony.soam.SoamFactory.connect(Soa mFactory.java:136)
    com.platform.symphony.samples.SampleApp.client.Asy ncClient.main(AsyncClient.java:42)
    All Done !!

    Do you have any solution for this? Thanks.

  5. #5
    johnho Guest

    Default

    It's work
    Thank you

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts