Skip navigation
shaibal saha
Currently Being Moderated

Remoting-config.xml and JAR changes not reflecting

Jun 26, 2012 9:17 AM

Recently we have been facing quite some complicated issues.

1.) We are trying to change the destination path in the remoting-config.xml but after doing so and restarting the lcds.war file, the changes are not being reflected. Though i must mention that the changes we made are visible in the remoting-config file. But when we run the application, it does not work corresponding to the changes.

2.)Also if we enter new destination entry in the remoting-config.xml, it displays the fault message that the "destination id does not exists.".

3.)And finally one more issue we are facing is that when we update a jar file in the lcds war file library, the changes are not being reflected.

 
Replies
  • Currently Being Moderated
    Jun 26, 2012 8:37 PM   in reply to shaibal saha

    Hi,

     

    Have you tried restarting the deployment server after you made the changes?

     

    Regards,

    Shally

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2012 10:11 PM   in reply to shaibal saha

    Try cleaning your flex project after restarting the server and then launch the application.

     

    Regards,

    Shally

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2012 11:46 PM   in reply to shaibal saha

    See Shaibal..What happens is that when you compile your Flex code, it embeds the reference of the services-config.xml at compile time. So, when you make the changes in the data-management-config.xml, the reference of which is in services-config.xml, it gets compiled in the Flex code as well and does not get updated at times even if we restart the server.

     

    So, two things here:

     

     

    1)      Make sure when you change the destination id, you clean the Flex project code and then build it.

     

    2)      Next, restart the machine.

    At times, Flex code kind of holds the old reference.

     

    For us this has worked. If other configurations are ok, this should work.

     

    Regards,

    Shally

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 27, 2012 12:02 AM   in reply to shaibal saha

    Typo: Restart the server not the machine.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 27, 2012 4:30 AM   in reply to testing34

    channelset.JPG

    You can also go into the project properties in Flash Builder, navigate to Adobe > Data Services and click on Retrieve Channelset Information to force this to be reloaded from the server. Post retrieval, settings are stored inside the project in the dataservices folder in the file channelset-config.xml, you can have a look at that file to confirm it has the latest information.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points