Cloning context file on db tier fails when run non-interactively

Hi all,
I have a problem where cloning the DB tier context file using adclonectx.pl non-interactively using a pairsfile and noprompt fails in certain circumstances and continually returns this error
Target System Port Pool [0-99] : RC-00201: Error: Not a valid port pool number
If we clone from prod or uat (which are on different nodes) to non-prod it works fine, if we clone from a different non-prod environment (on the same node) it fails.
We can run adclonectx.pl interactively with the same pairsfile and it works, so I copied all of the variables in the log into the pairsfile and ran it non-interactively and it failed with the same error.
My understanding is that adclonectx.pl uses the source DB context file and the pairsfile to create the new context file. I've tried cloning the context file non-interactively from several different non-prod envs with the same error, so I don't think it's specific to 1 source env.
It seems to want to prompt for the portpool when it's on the same node as the source environment.
EBS 12.1.3, DB 11.2.0.3 RAC 2 node on Oracle Linux 5.
I've raised 3-9540409031 : adclonectx.pl on db Tier errors with RC-00201 when run non-interactively using pairsfile - but haven't got an answer yet.
This is the pairsfile with everthing in it - generated from an interactive session that worked.
s_db_ons_remoteport = 6411
s_cmanport = 1532
s_clusterInterConnects = dxd1db01-ib
s_dbhost = dxd1db01-ib
s_dbSidLower = ebscnv1
s_dbhome4 = +DATA_DXD1
s_dbhome3 = +DATA_DXD1
s_dbSid = EBSCNV1
s_dbhome2 = +DATA_DXD1
s_dbhome1 = +DATA_DXD1
s_isAdmin = YES
s_clonestage = /u01/EBSDEV/product/11.2.0/appsutil/clone
s_jretop = /u01/EBSDEV/product/11.2.0/jdk/jre
s_db_rollback_segs = NOROLLBACK
s_db_util_filedir = /u01/EBSCNV/tmp
s_isForms = YES
s_undo_tablespace = APPS_UNDOTS1
s_temp = /u01/EBSDEV/product/11.2.0/appsutil/temp
s_database_type = RAC
s_dbuser = orebscnv
s_instName = EBSCNV1
s_dbGlnam = EBSCNV
s_domainname = mgmt.shared.health.nz
s_dbgroup = oinstall
s_hostname = dxd1db01-ib
s_jdktop = /u01/EBSDEV/product/11.2.0/jdk/jre
s_isConc = YES
s_instThread = 1
s_dbport = 1532
s_isWeb = YES
s_dbCluster = true
s_contextname = EBSCNV1_dxd1db01-ib
s_dbClusterInst = 2
s_dbdomain = mgmt.shared.health.nz
s_base = /u01/EBSCNV
s_db_ons_localport = 6311
s_contextfile = /u01/EBSCNV/tmp/EBSCNV1_dxd1db01-ib.xml
s_db_oh = /u01/EBSDEV/product/11.2.0
s_instNumber = 1
s_virtual_hostname = dxd1db01-ib
s_display = y
this is the adclonectx.pl comand i use - I've checked all the env variables before running and they're all good
perl ./adclonectx.pl \
contextfile=$SRCCTX \
template=$ORACLE_HOME/appsutil/template/adxdbctx.tmp \
outfile=$NEWCTX \
pairsfile=$PAIRSFILE \
initialnode
when run non-interactively i use this command  - and as mentioned above this works under certain circumstances
dummypw=dummypw
echo \$dummypw | perl ./adclonectx.pl \
contextfile=$SRCCTX \
template=$ORACLE_HOME/appsutil/template/adxdbctx.tmp \
outfile=$NEWCTX \
pairsfile=$PAIRSFILE \
initialnode noprompt
Any ideas, it's got 3 DBAs stumped...

That makes sense to me ... the pool parameter should be in the pairsfile, .. or in the parameters when calling it at command line
You can force the pool to be changed, even when you're on the same server. Actually, I would use different pools for any environment, different server or not. And, avoid the default pool as well. If you do it this way, one of the advantages is that you spot issues - like the one you have - much much earlier. In that case, you would need that extra parameter on every run.

Similar Messages

  • LSMW Fails when run in B/G but works fine in Front end..why?

    Hi All,
    i am trying to run a batch process by LSMW, my files are accurate, no problem with them, everything works fine but it fails when run in BG..works absolutely fine in front end. whats the diff with running in B/G?
    same thing happens when i am trying to execute an RFC thru SAP JCO, it works when debugger is on (i guess switching on debugger is similar to running in B/G) but it doesnt work when debugger is off. but when i execute that RFC directly in se37 from SAP gui it works fine..fails when connected to JCO..
    i am not having this issue with r/3 4.6c or mySAP ECC.6.0  i have this issue only in r/3 4.7.
    has anyone faced the similar situtaion? pls help.
    thanks.
    p.s if this may help. the RFC and LSMW error both are pertaining to change in address of US employees.( infotype 0006)

    Applying  SAP note 928273 Solved this issue.

  • LSMW fails when run in B/G works fine in Frontend..why?

    Hi All,
    i am trying to runa batch process by LSMW, my files are accurate, no problem with them, everything works fine but it fails when run in BG..works absolutely fine in front end. whats the diff with running in B/G?
    same thing happens when i am trying to execute an RFC thru SAP JCO, it works when debugger is on 9i guess switching on debugger is similar to running in B/G) but it doesnt work when debugger is off. but when i execute that RFC directly in se37 from SAP gui it works fine..fails when connected to JCO..
    i am not having this issue with r/3 4.6c or mySAP ECC.6.0  i have this issue only in r/3 4.7.
    has anyone faced the similar situtaion? pls help.
    thanks.
    p.s if this may help. the RFC and LSMW error both are pertaining to change in address of US employees.( infotype 0006)

    for LSMW its the recording of transaction PA40 (employee hire fails when filling  address details) and PA30 (change address) and same is the case with RFC..well its a BAPI_ADDRESSEMPUS_CHANGE. 
    To eloborate more..the error is..Fill in all the mandatory fields.
    which i am very much doing..there are no hidden fields or anything..i have seen the screens etc..I AM filling all mandatory fields. infact i am not leaving anything unfilled., same scrren is going fine when in front end..i am just clicking ok..ok..ok and boom transaction complete..no complaints. but running B/G is killing me.
    i have to run batch for 100,000 employees
    What fails my logic is..its working fine in 4.6c and mySAP ECC.6.0 but not in 4.7
            Hruser
    Message was edited by:
            Hruser

  • LSMW fails when run in B/G but works in Frontend..why?

    Hi All,
    i am trying to runa batch process by LSMW, my files are accurate, no problem with them, everything works fine but it fails when run in BG..works absolutely fine in front end. whats the diff with running in B/G?
    same thing happens when i am trying to execute an RFC thru SAP JCO, it works when debugger is on 9i guess switching on debugger is similar to running in B/G) but it doesnt work when debugger is off. but when i execute that RFC directly in se37 from SAP gui it works fine..fails when connected to JCO..
    i am not having this issue with r/3 4.6c or mySAP ECC.6.0  i have this issue only in r/3 4.7.
    has anyone faced the similar situtaion? pls help.
    thanks.
    p.s if this may help. the RFC and LSMW error both are pertaining to change in address of US employees.( infotype 0006)

    Applying SAP note 928273 Solved this issue.
    thank you.

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • 11gR2 RAC install fail when running root.sh script on second node

    I get the errors:
    ORA-15018: diskgroup cannot be created
    ORA-15072: command requires at least 2 regular failure groups, discovered only 0
    ORA-15080: synchronous I/O operation to a disk failed
    [main] [ 2012-04-10 16:44:12.564 EDT ] [UsmcaLogger.logException:175] oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-15018: diskgroup cannot be created
    ORA-15072: command requires at least 2 regular failure groups, discovered only 0
    ORA-15080: synchronous I/O operation to a disk failed
    I have tried the fix solutions from metalink note, but did not fix issue
    11GR2 GRID INFRASTRUCTURE INSTALLATION FAILS WHEN RUNNING ROOT.SH ON NODE 2 OF RAC USING ASMLIB [ID 1059847.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    it looks like, that your "shared device" you are using is not really shared.
    The second node does "create an ASM diskgroup" and create OCR and Voting disks. If this indeed would be a shared device, he should have recognized, that your disk is shared.
    So as a result your VMware configuration must be wrong, and the disk you presented as shared disk is not really shared.
    Which VMWare version did you use? It will not work correctly with the workstation or player edition, since shared disks are only really working with the server version.
    If you indeed using the server, could you paste your vm configurations?
    Furthermore I recommend using Virtual Box. There is a nice how-to:
    http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVirtualBox.php
    Sebastian

  • Cloning Context File Error

    Hello;
    We have PROD EBS 12.1.3 on HPUX, APPS Tier and DB Tier on one server .... We will move the DB soon to RAC....
    But first, we are trying to clone this PROD one to another UAT Server and decided to clone the context files first and save it as repository for future use...
    We run the following to clone the DB Tier Context File using adclonectx.pl :
    applmgr@erpprod$ cd /apps/PROD/db/tech_st/11.1.0/appsutil/clone/bin
    applmgr@erpprod$ echo appspassword | perl adclonectx.pl contextfile=/apps/PROD/db/tech_st/11.1.0/appsutil/PROD_erpprod.xml pairsfile=/tmp/dbPairsFile.pf outfile=/tmp/UAT_erpuat.xml noprompt
    We using pairs file which contains the following
         s_dbuser=appluat
         s_contextname=UAT_erpuat
         s_base=/apps/UAT
         s_dbSid=UAT
         s_dbhost=erpuat
         s_display=erpuat:0.0
         s_db_oh=/apps/UAT/db/tech_st/11.1.0
         s_db_listener=UAT
         s_db_util_filedir=/tmp/utlfiledir     
         s_dbhome1=/apps/UAT/db/apps_st/data
         s_dbhome2=/apps/UAT/db/apps_st/data
         s_dbhome3=/apps/UAT/db/apps_st/data
         s_dbhome4=/apps/UAT/db/apps_st/data
         s_dbport=1531
         s_db_ons_localport=6310
         s_db_ons_remoteport=6410
         s_cmanport=1531
    the script is running and the screen output shows errors and warnings like
    Target System Port Pool [0-99] : RC-00201: Error: Not a valid port pool number
    How Can I provide such argument "Port Pool Number" using pairsfile? because I didn't find any variable in the xml file which point to that argument.
    And How we provide all other mandatory arguments so that we can run the adclonectx.pl in silent mode.
    The same requirements for APPS Tier also ....
    Thanks

    Hi Nabi;
    Pelase see:
    - How to list E-Business Suite Profile Option values for all levels using [ID  201945.1 ]
    Regard
    Helios

  • Deployment failing when running .bat script or command line file package

    HI Guys,
    I am trying to run a .bat file on a client using a program. My data source point to the script's folder.
    I keeps failing with error 1. 
    I have trying making run in 64-bit using this without luck: http://madluka.wordpress.com/2012/09/24/configmgr-2012-64bit-file-system-redirection-bites-again/
    Here is the content of my .bat file:
    @ECHO OFF
    IF NOT "%PROCESSOR_ARCHITEW6432%"=="AMD64" GOTO native
      ECHO "Re-launching Script in Native Command Processor..."
      %SystemRoot%\Sysnative\cmd.exe /c %0 %*
      EXIT
    :native
    ECHO "Running Script in Native Command Processor..."
    c:\
    cd c:\windows\System32
    start cmd.exe /c shutdown -l
    stop
    I will get the same error when running a simply command line as well. Instead of a .bat file.
    any ideas?

    Maybe this will help you:
    http://blog.coretech.dk/kea/configuration-manager-shutdown-utility
    This instead of using "shutdown.exe -l" command. This tool can be used for logoff also. Hope it helps!
    My blogs: Henk's blog and
    Virtuall | Follow Me on:
    Twitter | View My Profile on:
    LinkedIn

  • Opening Excel Workbook Fails when run from Scheduled Task on Windows Server 2008 Rw

    Hi,
    I have a little vbs script that instantiates the Excel.Application object and then opens a work book to perform some tasks on it. The script runs fine when run from the command line. When I attempt to run it as a scheduled task (it is supposed to update
    data that is pulled from a SQL Server at regular intervals), it fails with the following error:
    Microsoft Office Excel cannot access the file 'c:\test\SampleWorkbook.xlsm'. There are several possible reasons: .....
    The file does exist. The path reported in the error is correct. The account under which the task is running is the same account I use to run it from the command line. User Account Control is not enabled, and the task is set up to run with highest privileges.
    When I run the same script through the Task Scheduler from a Windows Server 2003 machine, it works without issue.
    I was just wondering if somebody on this forum has run into a similar issue in connection with Windows Server 2008 R2 and figured out what the magic trick is to make it work. I'm sure it is rights related, but I haven't quite figured out what which rights
    are missing.
    Thanks in advance for any advice you may have.

    This is truly killing me ... trying to get it working on Windows Server 2012 without success.
    I desperately need to automate running Excel macros in a "headless" environment, that is non-interactive, non-GUI, etc.
    I can get it to work using Excel.Application COM, either via VBScript or Powershell, successfully on many other Windows systems  in our environment - Windows Server 2008 R2, Windows 7 (32-bit), etc.,  -BUT-
    The two servers we built out for running our automation process are Windows Server 2012 (SE) - and it just refuses to run on the 2012 servers - it gives the messages below from VBScript and PowerShell, respectively- 
    I have tried uninstalling and re-installing several different versions of Microsoft Excel (2007 Standard, 2010 Standard, 2010 Professional Plus, 32-bit vs. 64-bit, etc.), but it makes no difference.
    Would be extremely grateful if any one out there has had any success in running Excel automation on Server 2012 in a non-interactive environment that they could share.
    ( I have tried adding the "%windir%\syswow64\config\systemprofile\desktop"
    folder, which did fix the issue for me when testing on Windows Server 2008 R2, but sadly did not resolve it on Windows Server 2012 )
    [VBScript error msg]
    Z:\TestExcelMacro.vbs(35, 1) Microsoft Office Excel: Microsoft Office Excel cannot
    access the file 'Z:\TestExcelMacro.xlsm'. There are several possible reasons:
    • The file name or path does not exist.
    • The file is being used by another program.
    • The workbook you are trying to save has the same name as a currently open work
    [Powershell error msg]
    Exception calling "Add" with "0" argument(s): "Microsoft Office Excel cannot open or save any more documents because th
    ere is not enough available memory or disk space.
     To make more memory available, close workbooks or programs you no longer need.
     To free disk space, delete files you no longer need from the disk you are saving to."
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ComMethodTargetInvocation
    You cannot call a method on a null-valued expression.
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull

  • Unit test runs perfectly fine with NUnit but fails when run from TestExplorer

    Hello all,
    I have a TestProject, Harmony.Tests. In there, I have a method AddApplicationEvent()
    which calls another method Send(InvokeRequestMessage requestMessage) which calls a webservice (OperationHandlerBrokerWebService). 
    The code snippet looks like this. This is not the complete code but a part where we are calling the web service. It fails on the underlined Italic line of code.
    OperationHandlerBrokerWebService brokerService = new OperationHandlerBrokerWebService();
    brokerService.UseDefaultCredentials = true;
    brokerService.Url = address;
    brokerService.Timeout = timeoutInMilliseconds;
    byte[] serializedResponseMessage = brokerService.InvokeOperationHandler(serializedRequestMessage);
    The same test works and passed fine when I ran it with NUnit, but failed with following exception when I tried to run it from TestExplorer. 
    Test Name: AddApplicationEvent
    Test FullName: N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.AddApplicationEvent
    Test Source: d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs : line 665
    Test Outcome: Failed
    Test Duration: 0:00:00.296
    Result Message:
    SetUp : Message returned System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Invalid token for impersonation - it cannot be duplicated.
    at System.Security.Principal.WindowsIdentity.CreateFromToken(IntPtr userToken)
    at System.Security.Principal.WindowsIdentity..ctor(SerializationInfo info)
    at System.Security.Principal.WindowsIdentity..ctor(SerializationInfo info, StreamingContext context)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context)
    at System.Reflection.RuntimeConstructorInfo.SerializationInvoke(Object target, SerializationInfo info, StreamingContext context)
    at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
    at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
    at System.Runtime.Serialization.ObjectManager.DoFixups()
    at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream)
    at N4S.Forms.OperationHandlerBroker.AMessage.DeserializeMessage(Byte[] serializedMessage)
    at N4S.Forms.OperationHandlerBroker.WebServiceServer.BrokerService.InvokeOperationHandler(Byte[] serializedInvokeRequestMessage)
    --- End of inner exception stack trace ---
    expected: <0>
    but was: <1>
    Result StackTrace:
    at N4S.Harmony.Tests.TestHelper.InvokeOperation(OperationHandler handler, OperationHandlerInput input, Boolean expectedToWork) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 136
    at N4S.Harmony.Tests.TestHelper.LoginAsUser(String username, String password) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 394
    at N4S.Harmony.Tests.TestHelper.Login(TestUserName requestedUser) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 377
    at N4S.Harmony.Tests.TestHelper.LoginAsAdvisor() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 230
    at N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.Login() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs:line 76
    at N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.SetupTest() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs:line 67
    I am not sure what causing the issue. I checked the Credentials, Windows Identity during both the test run and there is no difference. Please advise !!
    Thanks,
    Deepak

    Hi Tina,
    Thanks for your reply. 
    I do have NUnit adapter installed. I even noticed that the test runs fine with NUnit GUI and also if I run it through Resharper Test Explorer window. 
    As you can see in the image above the same test is passed when I ran it from Resharper Unit Test Explorer window but fails when I ran it from Test Explorer window. I also captured the information on fiddler. 
    There was a significant difference in the Header Content length. Also under the User-Agent property the protocol versions are different. 
    Not sure why VSTest ExecutionEngine is picking a different version.
    The UnitTest in question is calling a webservice method which in turn calls a method from another referenced project. 
    Web Service class
    using System;
    using System.Web.Services;
    using N4S.Forms.OperationHandlerBroker.Server;
    using NLog;
    namespace N4S.Forms.OperationHandlerBroker.WebServiceServer
    /// <summary>
    /// The operaton-handler broker service.
    /// </summary>
    [WebService(Description = "The N4S Forms Operation-Handler Broker Web-Service.", Name = "OperationHandlerBrokerWebService",
    Namespace = "N4S.Forms.OperationHandlerBroker.WebServiceServer")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class BrokerService : WebService
    { /// <summary>
    /// Calls <see cref="HandleRequest"/>. Updates performance-counters.
    /// </summary>
    /// <param name="serializedInvokeRequestMessage">the binary-serialized <see cref="InvokeRequestMessage"/></param>
    /// <returns>the binary-serialized response message</returns>
    [WebMethod(BufferResponse = true, CacheDuration = 0, Description = "Invokes the requested operation-handler and returns a binary-serialized response-message.", EnableSession = false)]
    public byte[] InvokeOperationHandler(byte[] serializedInvokeRequestMessage)
    logger.Trace(Strings.TraceMethodEntered);
    PerformanceMonitor.RecordRequestStarted();
    InvokeRequestMessage requestMessage = (InvokeRequestMessage) AMessage.DeserializeMessage(serializedInvokeRequestMessage);
    InvokeResponseMessage responseMessage;
    try
    responseMessage = HandleRequest(requestMessage);
    PerformanceMonitor.RecordSuccessfulRequest();
    catch (Exception)
    PerformanceMonitor.RecordFailedRequest();
    throw;
    finally
    PerformanceMonitor.RecordRequestEnded();
    logger.Trace(Strings.TraceMethodExiting);
    return AMessage.SerializeMessage(responseMessage);
    UnitTest snippet
    OperationHandlerBrokerWebService brokerService = new OperationHandlerBrokerWebService();
    brokerService.UseDefaultCredentials = true;
    byte[] serializedResponseMessage = brokerService.InvokeOperationHandler(serializedRequestMessage);
    Please advise.
    Thanks,
    Deepak

  • OLE Program works in debug mode fails when run from F8

    Hello,
    I have implemented a code from this forum for sending documents to printer, as below, but although it works well in debug mode, it fails when I execute directly from SE38? Any idea?
    Best Regards,
    Didem GUNDOGDU
      CREATE OBJECT gs_word 'WORD.APPLICATION'.
      SET PROPERTY OF gs_word 'Visible' = '0'.
      CALL METHOD OF gs_word 'Documents' = gs_documents .
      CALL METHOD OF gs_documents 'Open' = gs_newdoc
        EXPORTING
          #1 = p_filep .
      CALL METHOD OF gs_word 'ActiveDocument' = gs_actdoc.
      CALL METHOD OF gs_actdoc 'PrintOut'  .
      CALL METHOD OF gs_word 'Quit' .

    Hi Didem,
    Just a suggestion: could you print syst-subrc after each method call? Perhaps that can give you a clue.
    Regards,
    John.

  • Logon Failed when running BSP from Portal

    Hello,
    We are getting the following error for users when running BSP Application from Portal :
    Logon Failed
    What has happened ?
    Call of URL http://<hostname>:<Portnumber>/sap/bc/bsp/sap/<BSP Application name> terminated
    Note:
    -Logon performed in system
    What can I do ?
    Check the validity of your SSO ticket for this system.
    HTTP 401 : Unauthorized
    Any help would be highly appreciated.
    Thanks

    Actually when I run the BSP Application in SICF Tcode I get the following error:
    BSP Error :
    Calling the BSP Page was terminated due to an error.
    Which is different from the one I already posted.
    And as mentioned in the earlier error , I checked the Validity of the SSO Ticket on the Portal which is till 2038.
    Thanks
    Edited by: PortalPerson on Aug 24, 2011 10:22 PM

  • Execute Applescript in Automator: fails when running Automator action

    I am trying to get a simple Automator action to switch spaces every so often. I'm following directions found on MacScripter. The Applescript runs and works on it's own, or when I run the applescript from inside the Execute Applescript window of Automator. But when I run the automator action, the Execute Applescript action fails. Here's the Applescript code I've entered into the Execute Applescript window:
    tell application "System Events"
    keystroke "2" using control down
    end tell
    Again, this runs and does what it should if I click the Run button in the Execute Applescript window of the automator action. It fails when I run the whole automator action. This Execute Applescript is the first action in the automator sequence.
    What am I missing?
    Thanks!

    Are you using the Run AppleScript action's run handler? The parameters are used to connect the action to Automator:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into an Automator 'Run AppleScript' action">
    on run {input, parameters}
    tell application "System Events"
    keystroke "2" using control down
    end tell
    return input
    end run
    </pre>

  • AutoConfig failes when running adgendbc.cmd

    I get this error when running adautocfg.cmd on one of me three servers;
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: E:\oracle\comn\admin\install\EBIZRED_nvciebizappred
    adgendbc.cmd INSTE8_SETUP 1
    AutoConfig is exiting with status 1
    Any Idea why?

    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: E:\oracle\comn\admin\install\EBIZRED_nvciebizappred
    adgendbc.cmd INSTE8_SETUP 1
    Search for "adgendbc.cmd" in the adconfig.log for more precise error messages..
    Try querying for those errors in metalink and i'm sure you'll have a hit on the issue.

  • System Center 2012 R2 DPM Support Files installation has failed when running Remote SQL Prep on SQL server

    I am trying to install DPM 2012 R2 and one of the pre-reqs is to run 'DPM Remote SQL Prep' before kicking off the DPM installation. My SQL server is 2012 SP1 and when I select this option, I get an error straight away telling me 'System Center 2012
    R2 DPM Support Files installation has failed'.
    Not sure how to troubleshoot this as doing a search did not bring up anything.

    I am trying to install DPM 2012 R2 and one of the pre-reqs is to run 'DPM Remote SQL Prep' before kicking off the DPM installation. My SQL server is 2012 SP1 and when I select this option, I get an error straight away telling me 'System Center 2012
    R2 DPM Support Files installation has failed'.
    Not sure how to troubleshoot this as doing a search did not bring up anything.
    Ignore this.
    I launched the setup as Administrator and it worked!

Maybe you are looking for

  • Error opening a transaction in Logic Editor

    Hi, Using 11.5 SR3. I have a transaction which some 20 sequences and 30 action blocks. I configured it as a listener. For some strange reason, I just cannot open the transaction in the Logic editor. Another issue, though not sure if its related to th

  • How to restrict more than one delivery from one sales order.

    Hi Guys, We have a requirement that is, system should not allow more than one delivery from one sales order no even if when there is some line item still to be delivered. We want only one delivery for one sales order and rest of line items should be

  • How to use the same Entity EJB to access the same table in 2 syb databases

    We are trying to convert an application to J2EE. We have the following concern. The application requires the use of 10 sybase databases with identical tables. One database per branch. We would like to be able to use the same set of entity EJBs to acc

  • [FIXED] after upgrade ACPI can no longer change my screen brightness

    EDIT: never mind, it seems to of gone away now...i have no idea what happened, it stopped working randomly then started working just as randomly.....whatever... Just yesterday i was using my laptop with arch linux with the brightness turned all the w

  • MRp dates

    Hi All, After running MRp, the planned orders and Purchase requisitions are created. What should I do, to make the dates of these Proposals to not fall on saturdays and sundays..