LSCS Runtime Deployment Failure | Error Code RC: 5

Options
TeamSite 7.2.1 | LSCS 7.2.1 Windows 2008
LSDS 7.2.1 rhel 5.5

Our PLC workflows were working fine till a couple of days ago. Suddenly they've started failing. The 'startdeploy.bat' script for testing deployments to LSCSRT are failing with Error Code 5.

deployment.log

01-22-11 @ 03:21:44 [INFO ] DeploymentPreProcessor - Start with deployment preprocessor
01-22-11 @ 03:21:44 [INFO ] DeploymentPreProcessor - Comparing areas
01-22-11 @ 03:21:44 [INFO ] DeploymentPreProcessor - Filter result and add to list
01-22-11 @ 03:21:44 [INFO ] DeploymentPreProcessor - Finished with deployment preprocessor
01-22-11 @ 03:21:44 [INFO ] StartDeployment - Trigger import deployment
01-22-11 @ 03:21:45 [INFO ] ODDeployment - Deployment type : Import
01-22-11 @ 03:21:45 [INFO ] ODDeployment - Import deployment stats:
Failed, status code is 5, status message is Target dlumlndam(LSCSRuntime.MYDEFINITIONNAME) has status FAILED

01-22-11 @ 03:21:45 [INFO ] StartDeployment - Finished import deployment: failure
01-22-11 @ 03:21:45 [INFO ] StartDeployment - Trigger rollback deployment
01-22-11 @ 03:21:46 [INFO ] ODDeployment - Deployment type : Rollback
01-22-11 @ 03:21:46 [INFO ] ODDeployment - Rollback deployment stats:
Completed, status code is 3, status message is All targets got completed status
01-22-11 @ 03:21:46 [INFO ] StartDeployment - Finished rollback deployment
01-22-11 @ 03:21:46 [INFO ] StartDeployment - LSCS deployment RC: 5



OpenDeploy Logs:

......
LIB: 2011-01-22 03:21:45 *** Proceed
LIB: 2011-01-22 03:21:45 *** fFailedCommitFromEngine 0
LIB: 2011-01-22 03:21:45 COMMITTING Transactional Deployment
LIB: 2011-01-22 03:21:45 Receiver-ERROR: ERROR: commit-failed.
LIB: 2011-01-22 03:21:45 ERROR: Failed to deploy local_directory[.] of area[C:\Interwoven\LiveSiteCSAuth\authoring\tmp\b2dccf1bcfb339212db22dc7954f0248\payload] for filelist[C:\Interwoven\LiveSiteCSAuth\authoring\tmp\b2dccf1bcfb339212db22dc7954f0248\filelist\lscs.filelist]
LIB: 2011-01-22 03:21:45 ERROR: Failed 1 of 1 filelists
ENG: Thread-42 After COMMIT, res=-1
ENG: Thread-42 exiting commit
ENG: Thread-42 entering awaiting-rollback
.......
Any pointers, RTFM's on where to check for error codes of LSCS are highly appreciated. I've tried searching for this, but didn't find anything wrong - with licenses, LSCSrt is UP, Idol is UP, Database is UP, Space is ample, etc.

Thanks,
Rajat

Comments

  • I'd suggest checking both the OD sender and receiver micro log files - perhaps there is more information within them.
  • That was from the micro log, or at least what i think is the micro log. Smiley Happy

    After some more digging around, there seems to be an exception in the
    adp.lscs.import log around not being able to connect to http://servernameSmiley Tongueort/lscs/v1/import url using GET.

    Not sure if this is what is causing the error.

    There are no other 'exceptions' anywhere else. At least not ones i have been able to spot.

    Log Snippet

    2011-01-22 13:19:31,451 INFO ODHOME = /apps/OpenDeployNG
    2011-01-22 13:19:31,451 DEBUG Start connecting to LSCS runtime server ...
    2011-01-22 13:19:31,899 ERROR Exception in import delivery adapter execution
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://servername:9080/lscs/v1/import/
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1290)
    at com.interwoven.wcm.iwrr.deployment.adapter.delivery.LSCSDeliveryAdapterBase.processRequest(LSCSDeliveryAdapterBase.java:309)
    at com.interwoven.wcm.iwrr.deployment.adapter.delivery.ImportDeliveryAdapter.deploy(ImportDeliveryAdapter.java:125)
    at com.interwoven.deploy.engine.TMicroDeployRx.invokeDeliveryAdapters(TMicroDeployRx.java:3769)
    at com.interwoven.deploy.engine.TMicroDeployRx.commit(TMicroDeployRx.java:2487)
    at com.interwoven.deploy.engine.TMicroDeployRx.run(TMicroDeployRx.java:1363)
    at java.lang.Thread.run(Thread.java:619)
    2011-01-22 13:19:31,900 INFO End logfile [/apps/OpenDeployNG/log/lscs/adp.lscs-import.teamsite-areadiff427d3585fa0dad0b4184c276d3481671.MYDEFINITIONNAME.delvmmcms.to.LSCSRuntime.log]



  • Is this issue resolved ? what was the solution ? I am also getting error :

    LSCS deployment RC: 5

    Thanks,
    Rahul
  • Hi Rajat,

    We have same exact issue. Is this issue resolved ?

    TS7.2.1 OD7.2.1
    LSCS 7.2.1 on RHEL 5.5

    2011-05-13 10:16:41,563 DEBUG Start connecting to LSCS runtime server ...
    2011-05-13 10:16:41,790 ERROR Exception in import delivery adapter execution
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://boston:1876/lscs/v1/import/
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1290)
    at com.interwoven.wcm.iwrr.deployment.adapter.delivery.LSCSDeliveryAdapterBase.processRequest(LSCSDeliveryAdapterBase.java:309)
    at com.interwoven.wcm.iwrr.deployment.adapter.delivery.ImportDeliveryAdapter.deploy(ImportDeliveryAdapter.java:125)
    at com.interwoven.deploy.engine.TMicroDeployRx.invokeDeliveryAdapters(TMicroDeployRx.java:3769)
    at com.interwoven.deploy.engine.TMicroDeployRx.commit(TMicroDeployRx.java:2487)
    at com.interwoven.deploy.engine.TMicroDeployRx.run(TMicroDeployRx.java:1363)
    at java.lang.Thread.run(Thread.java:619)
    2011-05-13 10:16:41,791 INFO End logfile [/www/interwoven/OpenDeployNG/log/lscs/adp.lscs-import.teamsite-areadiffeb098cad7415d06a3f86b52e2d03d1cc.MYDEFINITIONNAME.boston.to.rockford1.log]

    Thanks
    Srini
  • What Application server are you on? Check into your App Server logs and see if you find something useful there. Check lscs.log if you find something useful there. Are the deployments failing on all LSCS servers?
  • I am using tomcat app server. All the deployments are failing..there are no errors in the lscs.log
  • check the open deploy logs and the teamsite logs
  • I had a similar problem and looking at the OD logs, teamsite logs, and lscs logs did not help. What really help was looking at the apache tomcat logs on the runtime machine. From there, it shows that there was an error in the database trying to fit a big amount of data into a small container. After doing some altering of tables, the deployment finally went through.
  • I am getting the same error, with exactly the same stack trace. Can anyone guide how to resolve it.
  • Check the tomcat logs. The error is happening during the import, which occurs on the lscs app server being published to.
  • Did you check the user/group specified in the OD config files (teamsite-areadiff, commit-deploy, etc) ?
  • Hi,

    I am facing the same error. My LSCS is deployed on WAS 615 and the WAS 615 logs suggests following. Can anyone please help me understand what does this log means. Where should i not specify the IP ?

    [5/3/12 15:15:04:063 GMT+05:30] 00000024 SearchResultP E com.interwoven.wcm.iwrr.dao.idol.SearchResultProcessor process Failed to process ACI response :
    com.autonomy.aci.client.services.ProcessorException: ERROR: Client IP address is not allowed to execute this action ().
    at com.interwoven.wcm.iwrr.dao.idol.SearchResultProcessor.process(SearchResultProcessor.java:69)
    at com.interwoven.wcm.iwrr.dao.idol.IdolSearchDaoRuntimeImpl.checkDB(IdolSearchDaoRuntimeImpl.java:625)
    at com.interwoven.wcm.iwrr.dao.idol.IdolSearchDaoRuntimeImpl.handleDbSync(IdolSearchDaoRuntimeImpl.java:453)
    at com.interwoven.wcm.iwrr.dao.idol.IdolSearchDaoRuntimeImpl.indexContent(IdolSearchDaoRuntimeImpl.java:225)
    at com.interwoven.wcm.iwrr.request.handler.ImportRequestHandler$ManifestHandler.uploadIDX(ImportRequestHandler.java:665)
    at com.interwoven.wcm.iwrr.request.handler.ImportRequestHandler$ManifestHandler.endDocument(ImportRequestHandler.java:638)
    at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
  • Hi,

    I am facing the same error. My LSCS is deployed on WAS 615 and the WAS 615 logs suggests following. Can anyone please help me understand what does this log means. Where should i not specify the IP ?

    [5/3/12 15:15:04:063 GMT+05:30] 00000024 SearchResultP E com.interwoven.wcm.iwrr.dao.idol.SearchResultProcessor process Failed to process ACI response :
    com.autonomy.aci.client.services.ProcessorException: ERROR: Client IP address is not allowed to execute this action ().
    ...
    I'm not positive, but I think you're mis-interpreting the message.
    I don't think it says that you specified an IP address where you shouldn't - I think it says that the IP address from which the command is being issued is, somehow, not authorized to perform the operation that it is requesting to perform.

    Essentially, a network (rather than filesystem) permissions issues.

    Beyond that, however, I'm afraid I cannot offer any more suggestions - as this is not something that I have encountered.
  • Have you verified your LSCS install ?

    go to

    http://LSCS-SERVER-IP:8080/lscs/admin/debugpanel

    to start (assuming LSCS is on port 8080)

    Click around and see that it is up and there are projects.
  • hi

    This Error "ERROR: Client IP address is not allowed to execute this action ()."
    got resolved as in lscs-conf.properties i was providing server name for searchserver.hostname. It should have localhost as value.

    BUT the actual error is not yet resolved which is deployment error code-5

    Here is wat i get when i try to execute the start deploy command

    [ INFO] 11:00:44 StartDeployment - LSCS deployment RC: 5"

    Following urls are working for fine me
    http://10.210.4.77:9081/lscs/v1/admin/status
    http://10.210.4.77:9081/lscs/v1/document$?q=*

    in OD logs i am getting following error


    2012-05-04 12:57:42,305 DEBUG url=http://localhost:9081/lscs/v1/import/
    2012-05-04 12:57:42,305 INFO ODHOME = /opt/Interwoven/OpenDeployNG
    2012-05-04 12:57:42,305 DEBUG Start connecting to LSCS runtime server ...
    2012-05-04 12:57:43,576 ERROR Exception in import delivery adapter execution
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:9081/lscs/v1/import/
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1290)
    at com.interwoven.wcm.iwrr.deployment.adapter.delivery.LSCSDeliveryAdapterBase.processRequest(LSCSDeliveryAdapterBase.java:309)
    at com.interwoven.wcm.iwrr.deployment.adapter.delivery.ImportDeliveryAdapter.deploy(ImportDeliveryAdapter.java:125)
    at com.interwoven.deploy.engine.TMicroDeployRx.invokeDeliveryAdapters(TMicroDeployRx.java:3769)
    at com.interwoven.deploy.engine.TMicroDeployRx.commit(TMicroDeployRx.java:2487)
    at com.interwoven.deploy.engine.TMicroDeployRx.run(TMicroDeployRx.java:1363)
    at java.lang.Thread.run(Thread.java:619)


    also It seems failing while committing the deployment from other OD logs.

    Please suggest.
  • hi

    This Error "ERROR: Client IP address is not allowed to execute this action ()."
    got resolved as in lscs-conf.properties i was providing server name for serverserver.host

    BUT theactual error is not yet resolved which is deployment error code-5

    Here is wat i get when i try to execute the start deploy command


    "E:\Interwoven\LiveSiteCSAuth\authoring\bin>startdeploy.bat -StartDeploy_Deployme
    ntMode production -StartDeploy_TsAreaDiffArea //delvmpwlcign01/default/main/test
    lscs/STAGING -StartDeploy_TsAreaDiffPreviousArea //delvmpwlcign01/default/main/t
    estlscs/EDITION/INITIAL

    [ INFO] 10:59:12 DeploymentPreProcessor - Start with deployment preprocessor
    [ INFO] 10:59:12 DeploymentPreProcessor - Comparing areas
    [ INFO] 10:59:12 DeploymentPreProcessor - Filter result and add to list
    [ INFO] 10:59:14 DeploymentPreProcessor - Finished with deployment preprocessor
    [ INFO] 10:59:14 StartDeployment - Trigger import deployment
    [ INFO] 11:00:00 ODDeployment - Deployment type : Import
    [ INFO] 11:00:00 ODDeployment - Import deployment stats:
    Failed, status code is 5, status message is Target delvmpllcign02(LiveSiteRuntim
    e.MYDEFINITIONNAME) has status FAILED

    [ INFO] 11:00:00 StartDeployment - Finished import deployment: failure
    [ INFO] 11:00:00 StartDeployment - Trigger rollback deployment
    [ INFO] 11:00:44 ODDeployment - Deployment type : Rollback
    [ INFO] 11:00:44 ODDeployment - Rollback deployment stats:
    Failed, status code is 5, status message is Target delvmpllcign02(LiveSiteRuntim
    e.MYDEFINITIONNAME) has status FAILED

    [ INFO] 11:00:44 StartDeployment - Finished rollback deployment
    [ INFO] 11:00:44 StartDeployment - LSCS deployment RC: 5"

    Following urls are working for fine me
    http://10.210.4.77:9081/lscs/v1/admin/status
    http://10.210.4.77:9081/lscs/v1/document$?q=* gives no document

    These logs are not conclusive. Check the lscs.log at LSCS runtime. Also check the application server logs.
  • Here is the error from open Deploy


    java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:9081/lscs/v1/import/

    at sun.net.http://www.protocol.http.HttpURLCon...ction.java:1290)
    at com.interwoven.wcm.iwrr.deployment.adapter.deliver y.LSCSDeliveryAdapterBase.processRequest(LSCSDeliv eryAdapterBase.java:309)
    at com.interwoven.wcm.iwrr.deployment.adapter.deliver y.ImportDeliveryAdapter.deploy(ImportDeliveryAdapt er.java:125)
    at com.interwoven.deploy.engine.TMicroDeployRx.invoke DeliveryAdapters(TMicroDeployRx.java:3769)
    at com.interwoven.deploy.engine.TMicroDeployRx.commit (TMicroDeployRx.java:2487)
    at com.interwoven.deploy.engine.TMicroDeployRx.run(TM icroDeployRx.java:1363)
    at java.lang.Thread.run(Thread.java:619)
  • Here is the error from open Deploy


    java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:9081/lscs/v1/import/

    at sun.net.http://www.protocol.http.HttpURLCon...ction.java:1290)
    at com.interwoven.wcm.iwrr.deployment.adapter.deliver y.LSCSDeliveryAdapterBase.processRequest(LSCSDeliv eryAdapterBase.java:309)
    at com.interwoven.wcm.iwrr.deployment.adapter.deliver y.ImportDeliveryAdapter.deploy(ImportDeliveryAdapt er.java:125)
    at com.interwoven.deploy.engine.TMicroDeployRx.invoke DeliveryAdapters(TMicroDeployRx.java:3769)
    at com.interwoven.deploy.engine.TMicroDeployRx.commit (TMicroDeployRx.java:2487)
    at com.interwoven.deploy.engine.TMicroDeployRx.run(TM icroDeployRx.java:1363)
    at java.lang.Thread.run(Thread.java:619)
    That is a pretty common error,

    Do you have LSCS RT installed ? Not just the authoring environment but the RT module ?

    Also, are *both* licensed ? You can use the same license for both but they need to point to the same file or have it copied to the right place. Then restart and try again.
  • hi

    We do have LSCS RT installed. Both Authoring & LSCSRt are licensed.
    Authoring to Preview deployment on same machine is working fine.

    & following error is from Open Deploy Reciever Logs on LSCSRT machine.
    The other error is "Commit failed" in open deploy base logs

    java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:9081/lscs/v1/import/
    at sun.net.http://www.protocol.http.HttpURLCon...ction.java:1290)
    at com.interwoven.wcm.iwrr.deployment.adapter.deliver y.LSCSDeliveryAdapterBase.processRequest(LSCSDeliv eryAdapterBase.java:309)
  • When you go to both


    http://server:8080/lscs/v1/admin/diags

    http://server:1876/lscs/v1/admin/diags


    The license location field is completed and correct ?


    In my experience when this error happens, the license is not in the correct spot on the RT version
  • Thanks Nipper the problem got resolved

    - i refilled the lscs-properties with license path
    - Also, deleted the project which got created on lscs
    - cleared lscs.cache folder

    & it worked finally
TeamSite Developer Resources

  • Docker Automation

  • LiveSite Content Services (LSCS) REST API

  • Single Page Application (SPA) Modules

  • TeamSite Add-ons

If you are interested in gaining full access to the content, you can register for a My Support account here.
image
OpenText CE Products
TeamSite
APIs