Replication manager is unavailable exception

          Hello,
          I got the exception in WebLogic 6.1 SP3 which is "Replication manager is unavailable".
          I use the in-memory replication for the cluster. Could you please tell me what
          may cause the error?
          Thank you
          Patiwat
          ####<Jul 4, 2003 1:59:26 AM ICT> <Error> <HTTP Session> <catsunsdfp01> <sdf1_01>
          <ExecuteThread: '148' for queu
          e: 'sdfqueue'> <> <> <100049> <Error looking up session for id:1E2NpA1c6cvHsyltn9BnA57zTyvpBVAdSDBk9gc1waBHsUTG
          8aHs!575902109!catsunsdfp03!80!443!-348304773!catsunsdfp02!80!443>
          java.rmi.RemoteException: Replication manager is unavailable
          Start server side stack trace:
          java.rmi.RemoteException: Replication manager is unavailable
          at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:625)
          at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:593)
          at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:168)
          at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:648)
          at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
          at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:455)
          at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:384)
          at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          

Patiwat wrote:
          > Hello,
          >
          > I got the exception in WebLogic 6.1 SP3 which is "Replication manager is unavailable".
          > I use the in-memory replication for the cluster. Could you please tell me what
          > may cause the error?
          >
          > Thank you
          >
          > Patiwat
          >
          >
          >
          > ####<Jul 4, 2003 1:59:26 AM ICT> <Error> <HTTP Session> <catsunsdfp01> <sdf1_01>
          > <ExecuteThread: '148' for queu
          > e: 'sdfqueue'> <> <> <100049> <Error looking up session for id:1E2NpA1c6cvHsyltn9BnA57zTyvpBVAdSDBk9gc1waBHsUTG
          > 8aHs!575902109!catsunsdfp03!80!443!-348304773!catsunsdfp02!80!443>
          > java.rmi.RemoteException: Replication manager is unavailable
          >
          > Start server side stack trace:
          > java.rmi.RemoteException: Replication manager is unavailable
          > at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:625)
          > at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:593)
          > at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:168)
          > at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:648)
          > at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
          > at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:455)
          > at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:384)
          > at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
          > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
          > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          The secondary server is shutting down.
          -- Prasad
          

Similar Messages

  • Java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMFAIL start() failed on resource 'myDomain': XAER_RMFAIL : Resource manager is unavailable

    Hi All,
    I am facing below issue without any change in the config from weblogic
    Managed servers are coming up and running without any issue
    But when we are doing any operation from application then its failing
    java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMFAIL start() failed on resource 'myDomain': XAER_RMFAIL : Resource manager is unavailable
    Regards
    Lokesh

    Hi,
    Can you please try increase the below MaxXACallMillis setting in Weblogic set 'Maximum Duration of XA Calls' to a bigger value
    MaxXACallMillis: Sets the maximum allowed duration (in milliseconds) of XA calls to XA resources. This setting applies to the entire domain.
    http://docs.oracle.com/cd/E12840_01/wls/docs103/jta/trxcon.html
    The parameter is exposed through administration console: services --> jta --> advanced --> "Maximum Duration of XA Calls:"
    Check the below docs for more information
    WLS 10.3: Intermittent XA error: XAResource.XAER_RMERR (Doc ID 1118264.1)
    Hope it Helps

  • Replication Manager in 8.1.7?

    What happened to Replication Manager in 8.1.7?
    Does it only exist as part of the DBA Studios package?
    I have tried using this but have found one major flaw. When using a replication administrator user for handing replication, I cannot specify the Tablespace to replicate objects to. All the other storage parameters are available except TABLESPACE.
    Has anyone else experienced this problem?

    Have u got the replaction manager wizard on 8.1.7 - the same problem i am also facing i f u have any solution to find it out please send me.
    And one more thing have u ever configured replication successfully - If yes please send me steps in short. as I am unable to configure it.
    Regds,
    Amit.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Jeremy Perkins ([email protected]):
    What happened to Replication Manager in 8.1.7?
    Does it only exist as part of the DBA Studios package?
    I have tried using this but have found one major flaw. When using a replication administrator user for handing replication, I cannot specify the Tablespace to replicate objects to. All the other storage parameters are available except TABLESPACE.
    Has anyone else experienced this problem?<HR></BLOCKQUOTE>
    null

  • XAER_RMFAIL : Resource manager is unavailable

    Weblogic 8.1, I don't recall which service pack, sp10? Maybe?
    Anyway, here's the relevant stack trace. We had a strange WLS implosion last
    night that we're tracking down. We saw these when our code was trying to get
    a connection out of the datapool.
    <Mar 1, 2006 10:09:12 PM PST> <Warning> <JTA> <BEA-110030> <XA resource
    [weblogic.jdbc.wrapper.JTSXAResourceImpl] has not responded in the last 120
    second(s).>
    01 Mar 2006 22:09:21,652 WARN com.pfizer.ecms.as.MetricsSession - logEvent:
    exception: start() failed on resource
    'weblogic.jdbc.wrapper.JTSXAResourceImpl': XAER_RMFAIL : Resource manager is
    unavailable
    javax.transaction.xa.XAException: Internal error: XAResource
    'weblogic.jdbc.wrapper.JTSXAResourceImpl' is unavailable
    at
    weblogic.transaction.internal.XAResourceDescriptor.checkResource(XAResourceD
    escriptor.java:1019)
    at
    weblogic.transaction.internal.XAResourceDescriptor.startResourceUse(XAResour
    ceDescriptor.java:572)
    at
    weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInf
    o.java:1068)
    at
    weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceI
    nfo.java:1001)
    at
    weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceIn
    fo.java:203)
    at
    weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTra
    nsactionImpl.java:419)
    at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:207)
    at weblogic.jdbc.jts.Driver.connect(Driver.java:154)
    at
    weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java
    :298)
    at
    com.pfizer.ecms.asutil.DataAccessManager.getConnection(DataAccessManager.jav
    a:117)
    Here's our configuration:
    <JDBCConnectionPool CapacityIncrement="1"
    DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="1"
    MaxCapacity="150" Name="OraclePool"
    Password="*****"
    Properties="user=******" ShrinkPeriodMinutes="5"
    Targets="myserver" TestConnectionsOnCreate="true"
    TestConnectionsOnRelease="true" TestConnectionsOnReserve="true"
    TestTableName="dual" URL="jdbc:oracle:thin:@garrison.back:1521:IC"/>
    <JDBCTxDataSource EnableTwoPhaseCommit="true"
    JNDIName="dbpool" Name="OracleSource"
    PoolName="OraclePool" Targets="myserver"/>
    Looking this up, I was pointed to a JTA FAQ page on edocs, and it basically
    said we should be Refreshing the connection pool, but the RefreshMinutes
    parameter is deprecated, and as you can see we're testing connections as is.
    We're puzzled by a couple of things, almost certainly application related,
    but still relevant. We have 150 connections allocated to the pool, but even
    at peak load during the day we bounce around the 40 mark. When we got the
    above exception, we were hitting the 150 ceiling. We don't quite know why
    yet.
    During this time, our DB server was pretty heaviliy loaded. There were some
    horrendous queries running, some data imports, etc. Bascially a bunch of
    stuff that happens at the beginning of the month. However, there weren't
    necessarily a lot of actual users on the system, just a select few.
    One of the things that was happening was a user was using the web interface,
    and sent off a huge horrible query. When it didn't come back in a reasonable
    amount of time, he simply hit "Refresh" on the page, thereby submitting the
    query again (thank you Sir, may I have another!). This was partly why the
    database was so heavily loaded.
    Now, we're puzzled by a couple of things. One, is the spike of actual
    connections in the DB Pool up to 150. This makes no sense.
    Second, is this error detailed above. I've tried some contrived
    experiements, and I can not raise this specific exception myself. My
    experiment was to issue a "update table set column = 1 where id = 1" in a
    generic SQL browser, thus locking the row, and then issue the identical
    command through a Session Bean call. It has happily sat there for up to 10
    minutes (600 seconds, which is our default <JTA Name="inf4.2"
    TimeoutSeconds="600"/> setting), and it eventually times out, but not with
    the same exception. Rather I get "java.sql.SQLException: ORA-01013: user
    requested cancel of current operation" from Weblogic, and
    "weblogic.transaction.internal.TimedOutException:" from my client.
    Apparently, according to the original exception, an XA Resource has not
    responded within 120 seconds, but through my testing, that XA resource isn't
    necessarily a SQL connection waiting on a query.
    Could someone provide insight as to what resource the system may be waiting
    on? For in theory, to me, that's what is consuming our DB Pool. I'm assuming
    that whatever they're waiting on (the DB apparently), they're ALL waiting on
    it, and the reason that the pool spikes is because the system can never find
    a "valid" connection, thus trying again with a new one. Is that what it
    happening?
    Clearly we basically have a tuning issue, but in fact, I'm looking for a
    stability solution. When this occurred, our system run 3 load balanced
    "legs". The middle leg was having the problem. When we dropped it, leg 3
    picked up and then IT had the problem. However, once we killed all 3 of them
    and restarted, they recovered.
    So I'm looking for some idea to keep Weblogic alive, even at the expense of
    booting off these offending transactions, and not having to restart the
    servers.
    Perhaps over time the system would have recovered on its own (most probably
    in fact), but if we can get things cut off early (as well as beating users
    that hit Refresh constantly when things "stick"), we can prevent these from
    escalating the effectively downing the whole site.
    Any thoughts would be appreciated.
    Regards,
    Will Hartung
    ([email protected])

    Will Hartung wrote:
    Weblogic 8.1, I don't recall which service pack, sp10? Maybe?Well, we're only up to sp5 here, so we'll have to catch up ;)
    Please try this:
    <JDBCConnectionPool CapacityIncrement="1"
    DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="45"
    MaxCapacity="45" Name="OraclePool"
    Password="*****"
    Properties="user=******"
    Targets="myserver" TestConnectionsOnCreate="true"
    TestConnectionsOnRelease="false" TestConnectionsOnReserve="true"
    KeepXAConnTillTxComplete="true"
    TestTableName="dual" URL="jdbc:oracle:thin:@garrison.back:1521:IC"/>
    <JDBCTxDataSource EnableTwoPhaseCommit="true"
    JNDIName="dbpool" Name="OracleSource"
    PoolName="OraclePool" Targets="myserver"/>
    You don't want the pool in flux at runtime, either shrinking or
    growing. Just have it make what you need at startup and keep it.
    Test-on-release is a waste of cycles. Also, I set keep-xa-con
    till tx complete, to ensure that only one connection is ever
    used for a given tx. XA allows connections to be changed at the
    granularity of a single JDBC call, but that provides no real
    benefit, and some overhead.
    Let me know if this helps, and do let me know what real
    service pack you're running.
    thanks
    Joe
    Anyway, here's the relevant stack trace. We had a strange WLS implosion last
    night that we're tracking down. We saw these when our code was trying to get
    a connection out of the datapool.
    <Mar 1, 2006 10:09:12 PM PST> <Warning> <JTA> <BEA-110030> <XA resource
    [weblogic.jdbc.wrapper.JTSXAResourceImpl] has not responded in the last 120
    second(s).>
    01 Mar 2006 22:09:21,652 WARN com.pfizer.ecms.as.MetricsSession - logEvent:
    exception: start() failed on resource
    'weblogic.jdbc.wrapper.JTSXAResourceImpl': XAER_RMFAIL : Resource manager is
    unavailable
    javax.transaction.xa.XAException: Internal error: XAResource
    'weblogic.jdbc.wrapper.JTSXAResourceImpl' is unavailable
    at
    weblogic.transaction.internal.XAResourceDescriptor.checkResource(XAResourceD
    escriptor.java:1019)
    at
    weblogic.transaction.internal.XAResourceDescriptor.startResourceUse(XAResour
    ceDescriptor.java:572)
    at
    weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInf
    o.java:1068)
    at
    weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceI
    nfo.java:1001)
    at
    weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceIn
    fo.java:203)
    at
    weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTra
    nsactionImpl.java:419)
    at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:207)
    at weblogic.jdbc.jts.Driver.connect(Driver.java:154)
    at
    weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java
    :298)
    at
    com.pfizer.ecms.asutil.DataAccessManager.getConnection(DataAccessManager.jav
    a:117)
    Here's our configuration:
    <JDBCConnectionPool CapacityIncrement="1"
    DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="1"
    MaxCapacity="150" Name="OraclePool"
    Password="*****"
    Properties="user=******" ShrinkPeriodMinutes="5"
    Targets="myserver" TestConnectionsOnCreate="true"
    TestConnectionsOnRelease="true" TestConnectionsOnReserve="true"
    TestTableName="dual" URL="jdbc:oracle:thin:@garrison.back:1521:IC"/>
    <JDBCTxDataSource EnableTwoPhaseCommit="true"
    JNDIName="dbpool" Name="OracleSource"
    PoolName="OraclePool" Targets="myserver"/>
    Looking this up, I was pointed to a JTA FAQ page on edocs, and it basically
    said we should be Refreshing the connection pool, but the RefreshMinutes
    parameter is deprecated, and as you can see we're testing connections as is.
    We're puzzled by a couple of things, almost certainly application related,
    but still relevant. We have 150 connections allocated to the pool, but even
    at peak load during the day we bounce around the 40 mark. When we got the
    above exception, we were hitting the 150 ceiling. We don't quite know why
    yet.
    During this time, our DB server was pretty heaviliy loaded. There were some
    horrendous queries running, some data imports, etc. Bascially a bunch of
    stuff that happens at the beginning of the month. However, there weren't
    necessarily a lot of actual users on the system, just a select few.
    One of the things that was happening was a user was using the web interface,
    and sent off a huge horrible query. When it didn't come back in a reasonable
    amount of time, he simply hit "Refresh" on the page, thereby submitting the
    query again (thank you Sir, may I have another!). This was partly why the
    database was so heavily loaded.
    Now, we're puzzled by a couple of things. One, is the spike of actual
    connections in the DB Pool up to 150. This makes no sense.
    Second, is this error detailed above. I've tried some contrived
    experiements, and I can not raise this specific exception myself. My
    experiment was to issue a "update table set column = 1 where id = 1" in a
    generic SQL browser, thus locking the row, and then issue the identical
    command through a Session Bean call. It has happily sat there for up to 10
    minutes (600 seconds, which is our default <JTA Name="inf4.2"
    TimeoutSeconds="600"/> setting), and it eventually times out, but not with
    the same exception. Rather I get "java.sql.SQLException: ORA-01013: user
    requested cancel of current operation" from Weblogic, and
    "weblogic.transaction.internal.TimedOutException:" from my client.
    Apparently, according to the original exception, an XA Resource has not
    responded within 120 seconds, but through my testing, that XA resource isn't
    necessarily a SQL connection waiting on a query.
    Could someone provide insight as to what resource the system may be waiting
    on? For in theory, to me, that's what is consuming our DB Pool. I'm assuming
    that whatever they're waiting on (the DB apparently), they're ALL waiting on
    it, and the reason that the pool spikes is because the system can never find
    a "valid" connection, thus trying again with a new one. Is that what it
    happening?
    Clearly we basically have a tuning issue, but in fact, I'm looking for a
    stability solution. When this occurred, our system run 3 load balanced
    "legs". The middle leg was having the problem. When we dropped it, leg 3
    picked up and then IT had the problem. However, once we killed all 3 of them
    and restarted, they recovered.
    So I'm looking for some idea to keep Weblogic alive, even at the expense of
    booting off these offending transactions, and not having to restart the
    servers.
    Perhaps over time the system would have recovered on its own (most probably
    in fact), but if we can get things cut off early (as well as beating users
    that hit Refresh constantly when things "stick"), we can prevent these from
    escalating the effectively downing the whole site.
    Any thoughts would be appreciated.
    Regards,
    Will Hartung
    ([email protected])

  • Sys.webforms.page request manager server error exception:An unknown error occured while processing the request on server. The status code returned from the server was:0

    sys.webforms.page request manager server error exception:An unknown error occured while processing the request on server. The status code returned from the server was:0 We got this response(In firebug console) when we try to click on link (after leave webpage for 3 minuts ideal) which is AJAX based. Please reply ASAP because its urgent.

    Hi SP,
    Please check if the following web config appSettins value settings from SSRS server could fix the issue (Note, back up your original web config file before any modification).
    http://stackoverflow.com/questions/10911610/ssrs-webpage-error-status-code-500
    http://srinivasbn.blogspot.in/2013/09/syswebformspagerequestmanagerservererro.html
    http://connect.microsoft.com/SQLServer/feedback/details/782155/ssrs-2012-failed-with-win32-error-0x03e3
    If you have more questions about the SSRS error logs related to this issue, you can post in the SSRS forum for a better assistance with more experts.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices
    Thanks
    We are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Will Hyper-V Replication Manager move a VM without shutting it down?

    Scenario
    Let say I have two sites (Primary And DR). I have my production VM's running on my Primary Site.  If I protect them with Hyper-V Replica the VM is replicated and I can bring the VM up manually in the DR site. So I know that process work. I am trying
    to minimize the outage of an app and the time it takes to bring the VM up and running. I have a database server in the primary site. I want to be able to move the VM hosting the database server to the secondary site without shutdown or with minimal downtime. 
    Question
    Can I use Hyper-V Replication Manager to migrate the VM with the database from the Primary Site to the DR site without downtime for the SQL server? When I mean downtime for the SQL server is that clients can continue to connect to the database and access
    the data in the database while I am migrating the VM.
    This is needed to maintain availability during DR testing of the Production environment.
    Thanks,
    Carlos

    Hi Carlos, 
    For DR drills you can use the test failover. A
    test failover can spin up a test virtual machine for the production virtual machine. This VM can run in an isolated environment and does not affect the production environment. Your SQL server will have no outage while DR testing.
    A test failover can be executed on an individual virtual machine or a recovery plan. This can orchestrate the drill as close to a real failover which recovers the application in a planned manner.
    Hope this pointer helps.
    More detailed tutorials are available at http://msdn.microsoft.com/en-us/library/windowsazure/dn440569.aspx

  • EMC Replication Manager Client on Solaris 10 Zone?

    Hello,
    Hoping I could find out if anyone out there has had success running EMC's Replication Manager (client) on a Solaris zone where an Oracle database is running, and how it was installed. Normally we install 3rd party software on the Global host /opt, and then call the libs, etc, from the zone (the global host's /opt is made readable to the zone). An obvious solution would be to install the client directly within the zone, but should we need to add another zone for redundancy purposes (two hosts running one database each, should one host go down, we'd migrate it's zone w/ the other database over to the other host), we would have to install the EMC client (again), rather than being able to just call the same deployment from the Global host from within the new zone.
    Any info or links to info would be appreciated. I tried searching around but didn't find anything.
    Vlad

    Hi,
    Thanks once again for reply!!
    If you already installed Oracle Virtual Directory Manager on Sun SPARC, can you brief us pre-requisite setting and installation steps, so that we can follow the same.
    Because, we are getting error in the initialization of installation process itself. So, I think there must be some configuration settings to be made.
    We already raised SR (Service Request) with Oracle, bu there is no reply from their side till now.
    I am waiting for your reply ASAP
    Regards

  • Replication Management tool in Oracle Db10g Standard Edition....

    Hi,
    Where is the Replication management tool can be found in Oracle OEM10g Standard Edition...????
    Is this contained only to EM java version.... in Oracle client...????
    However , i have a doubt that the EM java version gives the capability for advanced replication.... whereas the standard edition supports only basic replication...Is that correct....???
    If the above is true then... how to create an environment which gives the privileged user to select tables , columns to be replicated manually or using the scheduler...????
    Thanks.. a lot
    Simon
    Message was edited by:
    sgalaxy

    It is contained in the EM Java version.

  • How to change replication manager ack policy?

    Hello all
    I have installed my Berkley_db and I enabled replication using the following command:
    -enable-pthread-api
    Now, I would like to change my replication manager ack policy and perform some tests.
    I know that I have to use this method:
    repmngr_set_ack_policy
    However, I don't know how to call the above method...
    Shall I insert an entry in a specific file?
    Shall I give it as a command line?
    I must note that I replicate some data in other three servers. The change of the ack policy will automatically work and affect all three servers or will I have to perform the changes manually on every one of them?
    Thank you in advance!
    Edited by: user546168 on 10 Δεκ 2011 1:13 πμ

    Hello,
    You can read about:
    DB_ENV->repmgr_set_ack_policy() at:
    http://docs.oracle.com/cd/E17076_02/html/api_reference/C/repmgrset_ack_policy.html
    A few points to note are:
    0. You can set the ack policy programmatcially or via an environment
    DB_CONFIG file. If using a DB_CONFIG enter "repmgr_set_ack_policy"
    a blank space and the ack_policy parameter required. For example:
    repmgr_set_ack_policy DB_REPMGR_ACKS_ALL
    A DB_CONFIG file is read when the database environment is opened,
    so it will overrule any configuration done before that time.
    1. All sites in a replication group need to be configured with the
    same acknowledgement policy.
    2. The DB_ENV->repmgr_set_ack_policy() method configures the database
    environment, not only the operations performed using the specified
    DB_ENV handle.
    3. You can invoke DB_ENV->repmgr_set_ack_policy() method at any time
    during the life of the application.
    Thank you,
    Sandra

  • System.Management.Automation.MethodInvocationException: Exception calling "ExecuteQuery" with "0" argument(s): "$Resources:core,ImportErrorMessage;" --- Microsoft.SharePoint.Client. ServerException: $Resources:core,ImportErrorMessage;

    Hi,
    I am getting an error  System.Management.Automation.MethodInvocationException: Exception calling "ExecuteQuery" with "0" argument(s): "$Resources:core,ImportErrorMessage;" ---> Microsoft.SharePoint.Client. ServerException:
    $Resources:core,ImportErrorMessage;
    Following is my powershell script on line
    $context.ExecuteQuery(); it is throwing this error.
    function AddWebPartToPage([string]$siteUrl,[string]$pageRelativeUrl,[string]$localWebpartPath,[string]$ZoneName,[int]$ZoneIndex)
        try
        #this reference is required here
        $clientContext= [Microsoft.SharePoint.Client.ClientContext,Microsoft.SharePoint.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c]
        $context=New-Object Microsoft.SharePoint.Client.ClientContext($siteUrl)
        write-host "Reading file " $pageRelativeUrl
        $oFile = $context.Web.GetFileByServerRelativeUrl($pageRelativeUrl);
        $limitedWebPartManager = $oFile.GetLimitedWebPartManager([Microsoft.Sharepoint.Client.WebParts.PersonalizationScope]::Shared);
        write-host "getting xml reader from file"
        $xtr = New-Object System.Xml.XmlTextReader($localWebpartPath)
         [void] [Reflection.Assembly]::LoadWithPartialName("System.Text")
        $sb = new-object System.Text.StringBuilder
             while ($xtr.Read())
                $tmpObj = $sb.AppendLine($xtr.ReadOuterXml());
             $newXml =  $sb.ToString()
        if ($xtr -ne $null)
            $xtr.Close()
        #Add Web Part to catalogs folder
        write-host "Adding Webpart....."
        $oWebPartDefinition = $limitedWebPartManager.ImportWebPart($newXml);
        $limitedWebPartManager.AddWebPart($oWebPartDefinition.WebPart, $ZoneName, $ZoneIndex);
    $context.ExecuteQuery();
        write-host "Adding Web Part Done"
        catch
        write-host "Error while 'AddWebPartToPage'" $_.exception| format-list * -force
    ERROR:
    Error while 'AddWebPartToPage' System.Management.Automation.MethodInvocationException: Exception calling "ExecuteQuery" with "0" argument(s): "$Resources:core,ImportErrorMessage;" ---> Microsoft.SharePoint.Client.
    ServerException: $Resources:core,ImportErrorMessage;
       at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
       at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
       at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
       at ExecuteQuery(Object , Object[] )
       at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
       --- End of inner exception stack trace ---
       at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
       at System.Management.Automation.DotNetAdapter.MethodInvokeDotNet(String methodName, Object target, MethodInformation[] methodInformation, Object[] arguments)
       at System.Management.Automation.Adapter.BaseMethodInvoke(PSMethod method, Object[] arguments)
       at System.Management.Automation.ParserOps.CallMethod(Token token, Object target, String methodName, Object[] paramArray, Boolean callStatic, Object valueToSet)
       at System.Management.Automation.MethodCallNode.InvokeMethod(Object target, Object[] arguments, Object value)
       at System.Management.Automation.MethodCallNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)
       at System.Management.Automation.ParseTreeNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
       at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
           

    Thanks Sethu for your comments. However i am running this powershell directly on server so believe
    SharePointOnlineCredentials is not required.
    I have tried it but still giving me same error

  • Replication Manager - Syncing mdb databases over the Internet

    Hai
    I am new to access replication. I have been given the task of syncing two .mdb access 2000 databases with eachother over the internet using Replication Manager 4.0. I keep getting no or little reference on how to to this and was hoping I can get a full tutorial
    on how to sync over the Internet using Replication Manager.

    I think SQL*Net uses port 1525.

  • Replication Manager

    Hi
    I am set up replication previously on 8i and 9i databases. I am trying to setup replication on 10g. Earlier I used to manually set up replication using APIs rather than using the Oracle replication manager.
    Is it a good idea to setup replication using the replication manager? Does replication manager have any limitations? What will I gain if i setup replication manually using custom scripts?
    Thanks
    MG

    The only advanced replication difference in capabilities between the replication manager and the API PL/SQL code I heard of is that you can replicate a subset of columns for a table with the replication manager only. Besides that, what you can do with one is possible with the other. My personal advice is to use the command line if you want to really learn this topic well.
    Daniel

  • Object Replication Manager - Errors 6004

    Hello everyone.
    I'm seeing these errors in SMS_OBJECT_REPLICATION_MANAGER component.
    I have seen many posts with the same issue reported, but none with answer that would help me correct this in my environment, like here:
    http://social.technet.microsoft.com/Forums/en-US/3f0cc0ed-5fd9-4860-aabd-e40e8f62053f/sms-object-replication-manager-failed-to-process-sms-object-changes?forum=configmgradminconsole
    These errors do not go away. Instead, they keep piling up.
    I looked at replication logs for more details but there is really nothing relevant there.
    Does anyone have any suggestions where else could be the issue?
    Thanks you for your help.

    Hi,
    My fault, the steps in the blog below should work.
    "SCCM and components:
    HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ SMS \ Tracing \ ENABLED = 1 – (REG_DWORD – General SCCM turn on Logging)
    HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ SMS \ Tracing \ xxxxxxx \ Enabled = 1 – (REG_DWORD – The Role SCCM’de If you change the compositions according to him)
    HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ SMS \ Tracing \ xxxxxxx \ MaxFileSize = 3000000 – (REG_DWORD – 3 MB large – NAL and Debug Logging for growth with more than it is worth)
    Important components to be linked to SQL for SQL logging, open the key: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ SMS \ Tracing \ Sqlenabled = 1 – (REG_DWORD) "
    SCCM ConfigMgr 2012 How to Turn On Verbose SQL NAL logging
    (Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice.
    Microsoft does not guarantee the accuracy of this third-party contact information.)
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How do you start Adavanced Replication Manager GUI to start?

    What is the command to start Replication Manager GUI? I see Database Assistant starts with dbassist and Recovery Manager starts with rman, but I cannot find the one for Replication manager. Thanks in advance.

    You delete the current text message with that person and then create a new one.

  • Where is the Replication Manager?

    Hi, I have made a full installation of
    the Oracle 8.0.5.1 Enterprise Server and
    now I am trying to create a multimaster replication
    but I cannot find anything like a Replication Manager
    in my directories. Is there one for the Linux platfor
    and where it is?
    Thanks
    Svetlin
    null

    Replication manager is part of the Enterprise manager console.
    For Oracle( Enterprise manager is only available on the Windows
    platform.
    Two Solutions:
    * Wait for Oracle8i. Oracle8i will include the Enterprise
    manager console (it's Java based)
    * Run the necessary PL/SQL procedures by hand
    Stefan
    Svetlin Manavski (guest) wrote:
    : Hi, I have made a full installation of
    : the Oracle 8.0.5.1 Enterprise Server and
    : now I am trying to create a multimaster replication
    : but I cannot find anything like a Replication Manager
    : in my directories. Is there one for the Linux platfor
    : and where it is?
    : Thanks
    : Svetlin
    null

Maybe you are looking for

  • New Company Code Setup in existing System.

    Hi Experts, My client has approx 10 company codes and all are working fine. Now the client has acquired a new business and wants to create new company code in SAP R/3. The client has said that I have to copy the entire business processes designed for

  • RHINTE20 and background processing

    Does anyone know how to set a variant when running RHINTE20? When I run the program it presents a list of objects to be corrected, and I manually select all the subtree with the icon and then run Create Several Objects.  It's these last two steps I'd

  • I cant sign in icloud control panel

    It said You cant sign in because of a server error. what can i do to fix it?

  • Aperture and Exporting and Compression (and iPhoto)

    Hello All... I recently imported an aperture project into iPhoto to create a book for a friend. In aperture, the the photos appears as 1536px x 1024px - i.e. perfectly big enough to create a 6" x 8" softback book. However, after the import, some pics

  • BT Sport Connection to TV via Intel Wireless Disp...

    Has anyone been able to successfully connect the BT Sport online player to their TV using Intel® Wireless Display (Intel® WiDi) on Windows 8.1 on their pc/laptop. When I try the player immediately stops and shows the error codes 6025 and VC019. I hav