A system shutdown has already been scheduled error in Sliverlight app

We are getting Silverlight 5 script error:
Anerror
has occurred inthe
script on thispage
Error:
A system shutdown has already been scheduled
Currently this error occur when we are working in windows application and when I click menu to open Silverlight project
Our silver light project refer project dependency our parent project web application and child project Silverlight
application
Our project requirement is when I open website link outside then first call parent project login screen then after
login success then dashboard menu click and open child project Silverlight application all are done in outside website link
But, problem is when I open Windows application to Silverlight project directly child project then some time script
error coming
Parent Project Web Application and Child Project Silverlight Project and Set a Startup Project Parent Project requirement
Our issue facing in web application project not windows application when I click menu then pass id with directly child project Silverlight but
getting on script error.
Script Display:
When open in Silverlight Startup Page:
Project Solution 
ParentWeb -à  This is our main Project here all project dependent
ChildWebApp à
This is our Child Web Project and reference to silverlighr project
ChildWebDLL
ChildWebReport
ChildWebSL
ChildSQLModel

https://social.msdn.microsoft.com/Forums/en-US/f9dc0cad-4024-4da1-b44d-9cd593abc9e4/an-item-with-the-same-key-has-already-been-added-error?forum=sqlreportingservices

Similar Messages

  • Itunes: feed has already been submitted error. can't fix it!

    after being on itunes for many years, apple recently took down my videocast. i've since corrected the problems. however, every time i try to resubmit it, i get the "feed has already been submitted" error.
    i've done everything that's been suggested. i've changed the feed title, pointed to a different source url ("original feed" in feedburner parlance), changed the show description and itunes category. however, i don't want to change the feedburner feed addresss because i don't want to lose all my itunes comments and subscribers, assuming i ever get this fixed.
    btw, my feedburner feed addresss that i want to resubmit to itunes is: http://feeds.feedburner.com/chillcastvideo
    i've tried contacting apple "support" but sad to say it's a joke, shuffling me around from person to person who gives me "advice" that doesn't work. for an otherwise great company, they're failing here.
    so if anyone has anything else for me to try, i'm all ears.
    thanks!
    ryan

    hi roger, are you saying apple automatically deletes comments and subcribers for podcasts that have been removed? i ask this because you helped the poster in this thread who was having the same issue: https://discussions.apple.com/thread/4943722?start=0&tstart=0
    and i looked up his show on itunes and all his older comments are there along with his subscribers. i'm just trying to figure out what he did and do the same.

  • "The property or field has not been initialized" Error, when debbuging app

    Hello,
    I'm  following the instructions of a dev book but I get the following error message when debugging the app.
    "The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested."
    The code:
    var collListItems;
    $(document).ready(function () {
    getConfigValues();
    function getConfigValues() {
    var context = SP.ClientContext.get_current();
    var configList = context.get_web().get_lists().getByTitle('Configuration Values');
    var camlQuery = new SP.CamlQuery();
    collListItems = configList.getItems(camlQuery);
    context.load(collListItems);
    context.executeQueryAsync(onGetConfigValuesSuccess, onGetConfigValuesFail);
    function onGetConfigValuesSuccess() {
    var OrgLogoUrl;
    var OrgName;
    var listItemEnumerator = collListItems.getEnumerator();
    while (listItemEnumerator.moveNext()) {
    var oListItem = listItemEnumerator.get_current();
    var current = oListItem.get_item('Title');
    switch (current) {
    case 'OrganizationName':
    OrgName = oListItem.get_item('Value');
    break;
    case 'OrganizationLogoUrl':
    OrgLogoUrl = oListItem.get_item('Value');
    break;
    if (OrgName && OrgName.length > 0) {
    $('#DeltaPlaceHolderPageTitleInTitleArea').html(OrgName);
    $('.ms-siteicon-img').attr('title', OrgName);
    if (OrgLogoUrl && OrgLogoUrl.length > 0)
    $('.ms-siteicon-img').attr('src', OrgLogoUrl);
    else
    $('.ms-siteicon-img').attr('src', '../Images/AppLogo.png');
    function onGetConfigValuesFail(sender, args) {
    alert('Failed to get the Configuration Values. Error:' + args.get_message());
    What it have to do is to replace the Title and Site logo, using the "Title" and "Value" fields of the "Configuration Values" list.
    My dev environment: SharePoint online, Azure, VS2013 Ultimate (trial)
    I've tried to reach the author of the book but it's being 4 days and no response, maybe somebody here can help me.
    Thanks in advance.
    Jimmy

    Jaydeep, I don't get the values, see the HTML code below.
    <%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" MasterPageFile="~masterurl/default.master" Language="C#" %>
    <%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%-- The markup and script in the following Content element will be placed in the <head> of the page --%>
    <asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.js"></script>
    <!-- Add your CSS styles to the following file -->
    <link rel="Stylesheet" type="text/css" href="../Content/App.css" />
    <!-- Add your JavaScript to the following file -->
    <script type="text/javascript" src="../Scripts/App.js"></script>
    </asp:Content>
    <%-- The markup in the following Content element will be placed in the TitleArea of the page --%>
    <asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    KA Online Klas
    </asp:Content>
    <%-- The markup and script in the following Content element will be placed in the <body> of the page --%>
    <asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <div id="menu">
    <ul>
    <li><a href="../Lists/Configuration Values">Site Configuration</a></li>
    <li><a href="../Lists/Site Assets">Site Assets</a></li>
    </ul>
    </div>
    </asp:Content>

  • Stream has already been closed - in SQL Developer v4.0.0.12

    Within SQL Developer v4.0.0.12 (Build 12.84) I have "Stream has already been closed" error message in the "Query result" pane.
    Used SQL:
         select * from all_mviews;
    Oracle11g Database v11.2.0.3 but this query works fine within SQL*Plus.
    When I select all the columns, I have the same error:
         select OWNER, MVIEW_NAME, CONTAINER_NAME, QUERY, QUERY_LEN, UPDATABLE, UPDATE_LOG, MASTER_ROLLBACK_SEG,
                MASTER_LINK, REWRITE_ENABLED, REWRITE_CAPABILITY, REFRESH_MODE, REFRESH_METHOD, BUILD_MODE,
                FAST_REFRESHABLE, LAST_REFRESH_TYPE, LAST_REFRESH_DATE, STALENESS, AFTER_FAST_REFRESH, UNKNOWN_PREBUILT,
                UNKNOWN_PLSQL_FUNC, UNKNOWN_EXTERNAL_TABLE, UNKNOWN_CONSIDER_FRESH, UNKNOWN_IMPORT, UNKNOWN_TRUSTED_FD,
                COMPILE_STATE, USE_NO_INDEX, STALE_SINCE, NUM_PCT_TABLES, NUM_FRESH_PCT_REGIONS, NUM_STALE_PCT_REGIONS
           from all_mviews;
    I though it was the QUERY column (datatype is LONG), but the following SQL works fine:
         select OWNER, MVIEW_NAME, CONTAINER_NAME, QUERY, query_len, updatable, update_log, master_rollback_seg,
                master_link, rewrite_enabled, REWRITE_CAPABILITY, REFRESH_MODE, REFRESH_METHOD, BUILD_MODE,
                FAST_REFRESHABLE, LAST_REFRESH_TYPE, LAST_REFRESH_DATE, STALENESS, AFTER_FAST_REFRESH, UNKNOWN_PREBUILT,
                UNKNOWN_PLSQL_FUNC, UNKNOWN_EXTERNAL_TABLE, UNKNOWN_CONSIDER_FRESH, UNKNOWN_IMPORT, UNKNOWN_TRUSTED_FD,
                COMPILE_STATE, USE_NO_INDEX, STALE_SINCE, NUM_PCT_TABLES
           from all_mviews;
    just left out some columns (at the end).
    This works also, all columns but just leaving out the QUERY column:
         select OWNER, MVIEW_NAME, CONTAINER_NAME, QUERY_LEN, UPDATABLE, UPDATE_LOG, MASTER_ROLLBACK_SEG, MASTER_LINK,
                REWRITE_ENABLED, REWRITE_CAPABILITY, REFRESH_MODE, REFRESH_METHOD, BUILD_MODE, FAST_REFRESHABLE,
                LAST_REFRESH_TYPE, LAST_REFRESH_DATE, STALENESS, AFTER_FAST_REFRESH, UNKNOWN_PREBUILT, UNKNOWN_PLSQL_FUNC,
                UNKNOWN_EXTERNAL_TABLE, UNKNOWN_CONSIDER_FRESH, UNKNOWN_IMPORT, UNKNOWN_TRUSTED_FD, COMPILE_STATE,
                USE_NO_INDEX, STALE_SINCE, NUM_PCT_TABLES, NUM_FRESH_PCT_REGIONS, NUM_STALE_PCT_REGIONS
           from all_mviews;
    It seams that these queries are reaching the limit (of data transfer) within SQL Developer v4.0.0.12 (note this was also a problem in SQL Developer v3.x).

    Hi Guy,
    Did you happen to see this recent discussion?  SQL Developer v4 giving error 'Stream has been closed' while querying tables containing long data
    I recommend trying the workaround described there just in case your issue also relates to LONG column:
    Add the following line in sqldeveloper.conf file:
       AddVMOption -Doracle.jdbc.useFetchSizeWithLongColumn=true
    Regards,
    Gary
    SQL Developer Team

  • RJVM has already been shutdown error while looking upto Foreign Server

    Hi,
    I am trying to set up 2 new servers in a clustered environment. In this I have configured a Foreign Server which is looking up to queues in different server.
    The structure is like this: 1 Foreign Server with 2 Queues and 1 Connection factory with exactly same name as they present on the host server.
    While starting the server, I am getting an exception:
    <Nov 5, 2012 7:39:58 PM EET> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: ClonedQueueAnonymousWaiter is unable to connect to the JMS destination: MDB_QUEUE_RESPONSE. The Error was:
    javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: RJVM has already been shutdown; nested exception is:
         java.io.IOException: RJVM has already been shutdown]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:74)
         at weblogic.jndi.internal.WLContextImpl.translateException(WLContextImpl.java:470)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at weblogic.deployment.jms.ForeignOpaqueReference.getReferent(ForeignOpaqueReference.java:221)
         at weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:96)
         at weblogic.jndi.internal.ServerNamingNode.resolveObject(ServerNamingNode.java:377)
         at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:856)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:209)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at weblogic.jms.common.CDS$2.run(CDS.java:486)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.jms.common.CrossDomainSecurityManager.runAs(CrossDomainSecurityManager.java:131)
         at weblogic.jms.common.CDS.lookupDestination(CDS.java:480)
         at weblogic.jms.common.CDS.lookupDDAndCalloutListener(CDS.java:345)
         at weblogic.jms.common.CDS.access$100(CDS.java:41)
         at weblogic.jms.common.CDS$DDListenerRegistrationTimerListener.timerExpired(CDS.java:193)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.rmi.UnmarshalException: RJVM has already been shutdown; nested exception is:
         java.io.IOException: RJVM has already been shutdown
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:360)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at weblogic.jndi.internal.ServerNamingNode_1034_WLStub.lookup(Unknown Source)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:423)
         ... 21 more
    Caused by: java.io.IOException: RJVM has already been shutdown
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         ... 24 more
    Caused by: java.io.IOException: RJVM has already been shutdown
         at weblogic.rjvm.RJVMImpl.addPendingResponse(RJVMImpl.java:513)
         at weblogic.rjvm.RJVMImpl.send(RJVMImpl.java:900)
         at weblogic.rjvm.MsgAbbrevOutputStream.flushAndSend(MsgAbbrevOutputStream.java:394)
         at weblogic.rjvm.MsgAbbrevOutputStream.sendRecv(MsgAbbrevOutputStream.java:404)
         at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
         ... 24 more
    >
    Weblogic is installed in Solaris machine and welogic's version is 10.3.4.0 with Java version 1.6.0 update 33. I have checked the firewall, /etc/hosts but there are no issues with that.
    The JNDI Connection URL is configure like: t3://xx.xxx.x.xx,xx.xxx.x.xx:7001/
    I have tried giving like this also: t3://xx.xxx.x.xx:7001,xx.xxx.x.xx:7001/ or t3://hostname1,hostname2:7001/ or t3://hostname1:7001,hostname2:7001/
    but nothing worked.
    The foreign servers are accessible from my Application Server when I do the telnet on the port. There is no cross domain security required. Funny thing is I have a same set-up in two other application server (in cluster again) and there on configuring the Foreign server to same IPs, I am not facing any issues at all.
    Can anyone please help me with this. Searched all over the place but have no clue regarding this. Many forums mentioned about firewall and etc/hosts but that is also not case it seems.
    Regards,
    Priyam

    809364 wrote:
    You can apply the below debug flags to check t he RJVM Communication in detail and figure out what's going wrong and do apply it at both the side
    -Dweblogic.kernel.debug=true
    -Dweblogic.debug.DebugConnection=true
    -Dweblogic.StdoutDebugEnabled=true
    -Dweblogic.log.LogSeverity=Debug
    -Dweblogic.log.LoggerSeverity=DebugI added the debug as you mentioned and I get the below information there:
    <Nov 6, 2012 11:41:16 AM EET> <Debug> <RJVM> <BEA-000500> <RJVMFinder trying to find rjvm for t3://moon1,moon2:7001->moon1,moon2:[7001, -1, -1, -1, -1, -1, -1]->[]
    Active RJVMs:
    {-8968250770921317063S:10.160.1.115:[7001,-1,-1,-1,-1,-1,-1]:fcdb_domain:AdminServer on [10.160.1.115:7001]=weblogic.rjvm.RJVMImpl@4320d68d - id: '-8968250770921317063S:10.160.1.115:[7001,-1,-1,-1,-1,-1,-1]:fcdb_domain:AdminServer' connect time: 'Tue Nov 06 11:40:26 EET 2012'}
    Synonyms:
    {}>
    <Nov 6, 2012 11:41:17 AM EET> <Debug> <RJVM> <BEA-000500> <Bootstrapping connection to: 'moon1/10.160.1.40:7001' using: 't3'>
    <Nov 6, 2012 11:41:17 AM EET> <Debug> <RJVM> <BEA-000500> <Looking for a new connection for channel Default[t3]:t3(t3):venus1:7001:null:-1 to remote server 0B:10.160.1.40:[7001,-1,-1,-1,-1,-1,-1,-1,-1] active connections: {}>
    <Nov 6, 2012 11:41:17 AM EET> <Debug> <RJVM> <BEA-000500> <New connection for protocol t3, remote address moon1/10.160.1.40, remote port 7001, over channel Default[t3]>
    <Nov 6, 2012 11:41:17 AM EET> <Debug> <RJVM> <BEA-000500> <Added: 'Default[t3]:t3(t3):venus1:7001:null:-1' connection: 'weblogic.rjvm.t3.MuxableSocketT3$T3MsgAbbrevJVMConnection@7582aacf'. Connections list size 1>
    <Nov 6, 2012 11:41:17 AM EET> <Debug> <RJVM> <BEA-000500> <Bootstrapping using a: 't3', connection to: 'moon1/10.160.1.40' on port: '7001'>
    <Nov 6, 2012 11:41:17 AM EET> <Debug> <RJVM> <BEA-000500> <Created RJVM for: '-3712802650201056847S:10.160.1.40:[7001,-1,-1,-1,-1,-1,-1]:fcj_domain:ManagedServer1 on [10.160.1.40:7001]', Active RJVMs:
    {-8968250770921317063S:10.160.1.115:[7001,-1,-1,-1,-1,-1,-1]:fcdb_domain:AdminServer on [10.160.1.115:7001]=weblogic.rjvm.RJVMImpl@4320d68d - id: '-8968250770921317063S:10.160.1.115:[7001,-1,-1,-1,-1,-1,-1]:fcdb_domain:AdminServer' connect time: 'Tue Nov 06 11:40:26 EET 2012', -3712802650201056847S:10.160.1.40:[7001,-1,-1,-1,-1,-1,-1]:fcj_domain:ManagedServer1 on [10.160.1.40:7001]=weblogic.rjvm.RJVMImpl@7bb8a8c6 - id: '-3712802650201056847S:10.160.1.40:[7001,-1,-1,-1,-1,-1,-1]:fcj_domain:ManagedServer1' connect time: 'Tue Nov 06 11:41:17 EET 2012'}
    Synonyms:
    {}>
    <Nov 6, 2012 11:41:17 AM EET> <Debug> <RJVM> <BEA-000500> <Remote heartbeat: '60000', local heartbeat: '60000'>
    <Nov 6, 2012 11:41:17 AM EET> <Debug> <RJVM> <BEA-000500> <Setting heartbeat for RJVM: '-3712802650201056847S:10.160.1.40:[7001,-1,-1,-1,-1,-1,-1]:fcj_domain:ManagedServer1' to: '60000' milliseconds>
    <Nov 6, 2012 11:41:17 AM EET> <Debug> <RJVM> <BEA-000500> <Added: 'Default[t3]:t3(t3):venus1:7001:null:-1' connection: 'weblogic.rjvm.t3.MuxableSocketT3$T3MsgAbbrevJVMConnection@7582aacf'. Connections list size 1>
    <Nov 6, 2012 11:41:17 AM EET> <Debug> <RJVM> <BEA-000517> <Error on connection: 'weblogic.rjvm.t3.MuxableSocketT3$T3MsgAbbrevJVMConnection@7582aacf'
    java.io.EOFException
    java.io.EOFException
         at weblogic.rjvm.t3.MuxableSocketT3.endOfStream(MuxableSocketT3.java:345)
         at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:826)
         at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:760)
         at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:941)
         at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:898)
         at weblogic.socket.DevPollSocketMuxer.processSockets(DevPollSocketMuxer.java:126)
         at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    >
    <Nov 6, 2012 11:41:17 AM EET> <Debug> <RJVM> <BEA-000500> <Signaling peer: '-3712802650201056847S:10.160.1.40:[7001,-1,-1,-1,-1,-1,-1]:fcj_domain:ManagedServer1' gone - weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException>
    <Nov 6, 2012 11:41:17 AM EET> <Debug> <RJVM> <BEA-000500> <Closed and removed: 't3' connection to: '-3712802650201056847S:10.160.1.40:[7001,-1,-1,-1,-1,-1,-1]:fcj_domain:ManagedServer1'. Connections list size 0>
    <Nov 6, 2012 11:41:17 AM EET> <Debug> <RJVM> <BEA-000500> <Closing: '-3712802650201056847S:10.160.1.40:[7001,-1,-1,-1,-1,-1,-1]:fcj_domain:ManagedServer1'>
    <Nov 6, 2012 11:41:17 AM EET> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: ClonedQueueAnonymousWaiter is unable to connect to the JMS destination: MDB_QUEUE_RESPONSE. The Error was:
    javax.naming.CommunicationException [Root exception is weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:74)
         at weblogic.jndi.internal.WLContextImpl.translateException(WLContextImpl.java:470)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at weblogic.deployment.jms.ForeignOpaqueReference.getReferent(ForeignOpaqueReference.java:221)
         at weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:96)
         at weblogic.jndi.internal.ServerNamingNode.resolveObject(ServerNamingNode.java:377)
         at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:856)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:209)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at weblogic.jms.common.CDS$2.run(CDS.java:486)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.jms.common.CrossDomainSecurityManager.runAs(CrossDomainSecurityManager.java:131)
         at weblogic.jms.common.CDS.lookupDestination(CDS.java:480)
         at weblogic.jms.common.CDS.lookupDDAndCalloutListener(CDS.java:345)
         at weblogic.jms.common.CDS.access$100(CDS.java:41)
         at weblogic.jms.common.CDS$DDListenerRegistrationTimerListener.timerExpired(CDS.java:193)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at weblogic.jndi.internal.ServerNamingNode_1034_WLStub.lookup(Unknown Source)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:423)
         ... 21 more
    Caused by: java.io.EOFException
         at weblogic.rjvm.t3.MuxableSocketT3.endOfStream(MuxableSocketT3.java:345)
         at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:826)
         at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:760)
         at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:941)
         at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:898)
         at weblogic.socket.DevPollSocketMuxer.processSockets(DevPollSocketMuxer.java:126)
         at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    >
    Seems like Peer gone exception is the root cause of this. Any idea for this ?
    Regards,
    Priyam
    Edited by: Priyam Srivastava on Nov 6, 2012 2:49 AM

  • Error:RJVM has already been shutdown in weblogic 9.0

    Hi,<br>
    <p>
    I'm facing this error in weblogic 9.0 during launching the server.This problem wasnt seen until now <br>
    </p>
    <p>
    java.rmi.RemoteException: EJB Exception: ; nested exception is:<br>
    javax.ejb.EJBException: nested exception is: <br>java.rmi.ConnectException: This RJVM has already been <br>shutdown -1907871676444529473S:10.200.247.201:[7001,-1,-1,-1,-1,-1,-1]:DNI6:AdminServer<br>
    </p>
    <p>
    Can any1 please tell me as to whats causing this error <br>and how can it be resolved?<br>
    </p>

    Is your server running at 10.200.247.201:7001? If yes, this might be a race condition. You should contact bea support.

  • WLS 9.2:  Interpreting the error - This RJVM has already been shutdown

    Hi,
    I have encountered the error message (stacktrace below) in one of the managed servers of my Weblogic 9.2 cluster (containing 4 managed servers). There are ALSB proxies consuming and producing to JMS distributed queues on the cluster.
    The server reporting this error (server01_01) is complaining about the Remote JVM of the other servers (server01_02, 02_01, 02_02) being shutdown, but what I have observed is that server01_01 was killed by the Nodemanager(may be due to failure or being unavailable).
    I would like to know:
    1) When does this error occur usually?
    2) How is it different from "weblogic.jms.common.LostServerException: [JMSClientExceptions:055169]Network connection to server was lost."?
    3) Why did I get an error complaining about the other healthy servers when actually the problem is with the server reporting the error?
    Any hints are appreciated.
    +####<Mar 26, 2009 11:44:08 AM EST> <Warning> <RMI> <ifappd111d-v04t> <+server01_01+> <[ACTIVE] ExecuteThread: '37' for queue:+
    +'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1238028248453> <BEA-080006> <Failed to associate the transaction context with the response while marshalling an exception to the client:+
    java.rmi.ConnectException: This RJVM has already been shutdown -3786093667493708317S:ifappd112d-v04t:[8003,8003,-1,-1,-1,-1,-1]:ifappd111d-v04t:8003,ifappd112d-v04t:8003,ifappd111d-v04t:8005,ifappd112d-v04t:8005:domServiceBus:server02_01.
    java.rmi.ConnectException: This RJVM has already been shutdown -3786093667493708317S:ifappd112d-v04t:[8003,8003,-1,-1,-1,-1,-1]:ifappd111d-v04t:8003,ifappd112d-v04t:8003,ifappd111d-v04t:8005,ifappd112d-v04t:8005:domServiceBus:*server02_01*+
         at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:336)
         at weblogic.rjvm.RJVMImpl.getResponseStream(RJVMImpl.java:679)
         at weblogic.rjvm.MsgAbbrevInputStream.getMsgAbbrevOutputStream(MsgAbbrevInputStream.java:275)
         at weblogic.rjvm.MsgAbbrevInputStream.getOutboundResponse(MsgAbbrevInputStream.java:534)
         at weblogic.rmi.internal.BasicServerRef.postInvoke(BasicServerRef.java:599)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:453)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:57)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:965)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    EJB keep traks of Bea CLUSTER using JVMID as an identifier of each manged server's JVM. When this JVMID is no longer valid, you can see "JVM is already been shutdowm" as client exception. This issue happen when, on client side, EJB can't recognize server side JVM shutdown. In WLS 8.1 there was a PATCH to solve this problem. Ask to Bea support if you need a patch also for WLS 9.2.
    Regards

  • I purchased Creative Cloud through the Employee Purchase program. Had to reimage system. Need help reinstalling application. I have "redemption" code, but get error saying it has already been redeemed. Please advise.

    I purchased Creative Cloud through the Employee Purchase program. Had to reimage system. Need help reinstalling application. I have "redemption" code, but get error saying it has already been redeemed. Can you please advise how I go about getting my software reinstalled? If I was given the serial number when I redeemed, I don't have any record of it.
    Thank you,
    Starla

    Hi Starla Mehaffey,
    I would suggest you to sign in with your Adobe ID during installation and your product will automatically recognize your membership details.
    Refer this Link for any further assistance:- Redemption Code Help
    Hope that helps,
    Regards,
    Rahul Tyagi

  • Crawl Error GetVirtualServerPolicyInternal - An item with the same key has already been added

    Hi,
    I did an index reset and now I can't start any crawl. It's complaining "An item with the same key has already been added".  Exception seems to from Microsoft.Office.Server.Search.Internal.Protocols.SharePoint2006.CSTS3Helper.GetVirtualServerPolicyInternal. 
    What should I check? Thanks.
    The SharePoint item being crawled returned an error when requesting data from the web service. ( Error from SharePoint site: *** An item with the same key has already been added., CorrelationID: 9e69ff9c-f925-50bf-5110-d1b0e74c77bc; SearchID = 522CB441-0028-4E7D-BED4-4230D7ADD14B
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dm1k Medium   Exception Type: System.ArgumentException *** Message : An item with the same key has already been added. *** StackTrace:    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean
    add)     at Microsoft.Office.Server.Search.Internal.Protocols.SharePoint2006.CSTS3Helper.GetVirtualServerPolicyInternal(String strStsUrl, WssVersions serverVersion, sPolicyUser[]& vUsers, sPolicyUser& anonymousUser, String&
    strVersion, String[]& vServerWFEs, Boolean& fIsHostHeader, Boolean& fIsAllUsersNT, Boolean& fIncludeSiteIdInCompactURL)     at Microsoft.Office.Server.Search.Internal.Protocols.SharePoint2006.CSTS3Helper.GetVirtualServerPolicy(String
    strStsUrl, sPolicyUser[]& vUsers, sPolicyUser& anonymousUser, String& strVersion, String[]& vServerWFEs, Boolean& fIsHostHeader, Boolean... 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93* mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dm1k Medium   ...& fIsAllUsersNT, Boolean& fIncludeSiteIdInCompactURL) 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     fsa0 Monitorable GetVirtualServerPolicy fail. error 2147755542, strStsUrl
    http://serverurl 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dvt6 High     SetSTSErrorInfo ErrorMessage = Error from SharePoint site: *** An item with the same key has already been added., CorrelationID: ae5aff9c-2940-50bf-5110-da6764f258d7 hr = 80042616  [sts3util.cxx:6988] 
    search\native\gather\protocols\sts3\sts3util.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dvi3 High     Couldn't retrieve server
    http://serverurl policy, hr = 80042616  [sts3util.cxx:1865]  search\native\gather\protocols\sts3\sts3util.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dvu0 High     STS3::StoreCachedError: Object initialization failed.  Message:  "Error from SharePoint site: *** An item with the same key has already been added., CorrelationID: ae5aff9c-2940-50bf-5110-da6764f258d7"
    HR: 80042616  [sts3util.cxx:7083]  search\native\gather\protocols\sts3\sts3util.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dvg4 High     Server serverurl security initialization failed, hr = 80042616 error Message Error from SharePoint site: *** An item with the same key has already been added., CorrelationID: ae5aff9c-2940-50bf-5110-da6764f258d7 
    [sts3util.cxx:1591]  search\native\gather\protocols\sts3\sts3util.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dv5x High     CSTS3Accessor::InitServer: Initialize STS Helper failed. Return error to caller, hr=80042616  [sts3acc.cxx:1932]  search\native\gather\protocols\sts3\sts3acc.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dv3t High     CSTS3Accessor::InitURLType fails, Url
    http://serverurl, hr=80042616  [sts3acc.cxx:288]  search\native\gather\protocols\sts3\sts3acc.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dvb1 Medium   CSTS3Accessor::Init fails, Url
    http://serverurl, hr=80042616  [sts3handler.cxx:337]  search\native\gather\protocols\sts3\sts3handler.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dvb2 Medium   CSTS3Handler::CreateAccessorExD: Return error to caller, hr=80042616            [sts3handler.cxx:355]  search\native\gather\protocols\sts3\sts3handler.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Crawler:FilterDaemon         
     e4ye High     FLTRDMN: URL
    http://serverurl Errorinfo is "Error from SharePoint site: *** An item with the same key has already been added., CorrelationID: ae5aff9c-2940-50bf-5110-da6764f258d7"  [fltrsink.cxx:566]  search\native\mssdmn\fltrsink.cxx 
    04/22/2015 19:37:10.93  mssearch.exe (0x1118)                    0x0628 SharePoint Server Search       Crawler:Gatherer Plugin      
     cd11 Warning  The start address http://serverurl cannot be crawled.  Context: Application 'Enterprise_Search_Service_Application', Catalog 'Portal_Content'  Details:  The SharePoint item being
    crawled returned an error when requesting data from the web service.   (0x80042616) 
    04/22/2015 19:37:10.99  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x06B4 Search                         Fuzzy Name Search            
     ajyfa Unexpected CCANameProjector : Exception:Exception : Access to the path 'C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl' is denied. encountered while attempting to 
    load the Projection Model Catalog C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl for Language : en encountered while attempting to load the projection model. ab403221-f69c-43ef-a8cc-7df384f6a4b3
    04/22/2015 19:37:10.99  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x06B4 Search                         Fuzzy Name Search            
     ajyd9 Unexpected CCAMetadataProducer : Fuzzy metadata generation failed to load resource for language: en. ab403221-f69c-43ef-a8cc-7df384f6a4b3
    04/22/2015 19:37:10.99  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x06B4 Search                         Fuzzy Name Search            
     ajyed Monitorable CCAMetadataProducer : Fuzzy metadata generation failed for the current record. Check logs for more details. ab403221-f69c-43ef-a8cc-7df384f6a4b3
    04/22/2015 19:37:11.00  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x240C Search                         Fuzzy Name Search            
     ajyfa Unexpected CCANameProjector : Exception:Exception : Access to the path 'C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl' is denied. encountered while attempting to 
    load the Projection Model Catalog C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl for Language : en encountered while attempting to load the projection model. 2bbbeea9-aeb8-4497-a774-2927bd21ba98
    04/22/2015 19:37:11.00  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x240C Search                         Fuzzy Name Search            
     ajyd9 Unexpected CCAMetadataProducer : Fuzzy metadata generation failed to load resource for language: en. 2bbbeea9-aeb8-4497-a774-2927bd21ba98
    04/22/2015 19:37:11.00  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x240C Search                         Fuzzy Name Search            
     ajyed Monitorable CCAMetadataProducer : Fuzzy metadata generation failed for the current record. Check logs for more details. 2bbbeea9-aeb8-4497-a774-2927bd21ba98
    04/22/2015 19:37:11.00  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x10E4 Search                         Fuzzy Name Search            
     ajyfa Unexpected CCANameProjector : Exception:Exception : Access to the path 'C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl' is denied. encountered while attempting to 
    load the Projection Model Catalog C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl for Language : en encountered while attempting to load the projection model. e15da110-f86d-4e3d-8d73-a67dccaa82cd
    04/22/2015 19:37:11.00  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x10E4 Search                         Fuzzy Name Search            
     ajyd9 Unexpected CCAMetadataProducer : Fuzzy metadata generation failed to load resource for language: en. e15da110-f86d-4e3d-8d73-a67dccaa82cd
    04/22/2015 19:37:11.00  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x10E4 Search                         Fuzzy Name Search            
     ajyed Monitorable CCAMetadataProducer : Fuzzy metadata generation failed for the current record. Check logs for more details. e15da110-f86d-4e3d-8d73-a67dccaa82cd
    04/22/2015 19:37:11.03  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x240C Search                         Fuzzy Name Search            
     ajyfa Unexpected CCANameProjector : Exception:Exception : Access to the path 'C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl' is denied. encountered while attempting to 
    load the Projection Model Catalog C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl for Language : en encountered while attempting to load the projection model. 58d54385-497b-466d-9f02-aeba664bc1b6
    04/22/2015 19:37:11.03  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x240C Search                         Fuzzy Name Search            
     ajyd9 Unexpected CCAMetadataProducer : Fuzzy metadata generation failed to load resource for language: en. 58d54385-497b-466d-9f02-aeba664bc1b6
    04/22/2015 19:37:11.03  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x240C Search                         Fuzzy Name Search            
     ajyed Monitorable CCAMetadataProducer : Fuzzy metadata generation failed for the current record. Check logs for more details. 58d54385-497b-466d-9f02-aeba664bc1b6

    Hi,
    For troubleshooting your issue, please take steps as below:
    1. Try to crawl your content source using farm admin account.
    2.
    Disable loopback check .
    3.Add reference  SPS3s://WEB into your content source start addresses.
    For more information, please refer to these blogs:
    http://sharepoint.stackexchange.com/questions/5215/crawling-fails-with-404-error-message-but-the-iis-log-tell-a-different-story
    http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/
    http://blogs.msdn.com/b/biyengar/archive/2009/10/27/psconfig-failure-with-error-an-item-with-the-same-key-has-already-been-added.aspx
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Generate Scripts in SQL Server 2008 R2 producing Error "Item has already been added.:

    I am trying to run a Generate Scripts Task on a Database to generate a script for every object in the DB including tables, SPs, UDFs, FKs, PKs, with the settings for Schema Only, Script Drop and Create, Script "if not Exists", use database,
    and Object level permissions. 
    I have used generate scripts before to generate this database about 5 months ago and every thing worked fine. 
    Today I first tried to generate it out on a server where I only have "db_Owner" for several databases.  This failed with the error.
    Microsoft.SqlServer.Management.Smo.FailedOperationException: Discover dependencies failed. ---> System.ArgumentException: Item has already been added. Key in dictionary: 'Server[@Name='DLINHD007557\SQL_2008R2_64']/Database[@Name='VFS_ProcurementTracking']/UnresolvedEntity[@Name='prc_ContractFatInfo']' Key being added: 'Server[@Name='DLINHD007557\SQL_2008R2_64']/Database[@Name='VFS_ProcurementTracking']/UnresolvedEntity[@Name='prc_ContractFatInfo']' at System.Collections.SortedList.Add(Object key, Object value) at Microsoft.SqlServer.Management.Smo.DependencyTree..ctor(Urn[] urns, DependencyChainCollection dependencies, Boolean fParents, Server server)
    So I tried tto do this on a local version of the database where I have sa rights.  Same error.
    Can someone advise me on what is going on here and how do I fix it?
    Edward R. Joell MCSD MCDBA

    How do you generate the script via SMO?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Error : The label 'http' has already been declared. Label names must be unique within a query batch or stored procedure.

    Hi all,
        I have created one SP for sending mail with formatting the HTML code inside script whenever i am individually declaring it and printing its expected but the problem at time of executing SP its giving error like this
    Msg 132, Level 15, State 1, Line 47
    The label 'http' has already been declared. Label names must be unique within a query batch or stored procedure.
    what is the possibilities to overcome this problem follwing is my stored procedure code 
    ALTER PROCEDURE [dbo].[USP_DataLoadMailsend_essRules]
    AS
    BEGIN
    SET NOCOUNT ON;
    SET XACT_ABORT ON;
    BEGIN TRY
    ---BEGIN TRANSACTION T1
    DECLARE @packagelogid INT
    DECLARE @batchlogid INT
    DECLARE @packagestatus CHAR(2)
    select @batchlogid =19870
    --print(@batchlogid)
    DECLARE @script VARCHAR(MAX)
    DECLARE @tableHTML VARCHAR(MAX)
    DECLARE @mailheader VARCHAR(50)
    DECLARE @count INT
    DECLARE @recipients1 VARCHAR(50)
    DECLARE @subject1 VARCHAR(200)
    DECLARE @sql VARCHAR(MAX)
    Declare @UserId varchar(Max)
    Declare @Information varchar(max)
    Declare @TableHTML1 varchar(max)
    Declare @TableHTML2 varchar(max)
    SET @mailheader = ''
    SET @mailheader = (select case
    WHEN FileUpload = 'F'
    THEN 'BussinessRules is Aborted'
    WHEN (InRule = 'S')
    AND (
    SELECT sum(isnull(ErrorRecords, 0)) tot
    FROM abc.FileUploadSummary z
    WHERE z.BatchId = bts.BatchId
    GROUP BY BatchId
    ) > 0
    THEN 'BussinessRules is Processed with Errors'
    WHEN InRule = 'F'
    THEN 'BussinessRules is Failed'
    WHEN (InRule = 'S')
    AND (
    SELECT sum(isnull(ErrorRecords, 0)) tot
    FROM abc.FileUploadSummary z
    WHERE z.BatchId = bts.BatchId
    GROUP BY BatchId
    ) = 0
    THEN 'BussinessRules is Succeeded'
    end
    from abc..BatchStatus bts where BatchId=@batchlogid)
    /* Selecting Person Mail as Recipient */
    SELECT TOP 1 @recipients1 = EmailId FROM abc.PersonEmail
    WHERE PersonId = ( SELECT TOP 1 personid FROM abc.FileUploadSummary WHERE BatchId = @batchlogid )AND EmailTypeId = 1
    /* Selecting UserId*/
    select top 1 @UserId=loginid from abc.FUS where BatchId=@batchlogid
    /*Selecting Information about the Status */
    Set @Information=
    (select case
    WHEN FileUpload = 'F'
    THEN 'BussinessRules is Aborted'
    WHEN (InRule = 'S')
    AND (
    SELECT sum(isnull(ErrorRecords, 0)) tot
    FROM abc.FileUploadSummary z
    WHERE z.BatchId = bts.BatchId
    GROUP BY BatchId
    ) > 0
    THEN 'BussinessRules is Processed with Errors'
    WHEN InRule = 'F'
    THEN 'BussinessRules is Failed'
    WHEN (InRule = 'S')
    AND (
    SELECT sum(isnull(ErrorRecords, 0)) tot
    FROM abc.FileUploadSummary z
    WHERE z.BatchId = bts.BatchId
    GROUP BY BatchId
    ) = 0
    THEN 'BussinessRules is Succeeded'
    end + N' <br> <B>BatchId= '+ convert(varchar(250),(select @batchlogid)) +'</B>'
    from abc..BatchStatus bts where BatchId=@batchlogid )
    /*Selecting the Error Reason*/
    if exists (select 1 from BatchStatus where BatchId=@batchlogid and ( InRule='f'))
    begin
    set @TableHTML1 = '<table border=1><tr><th>Sr.No.</th><th><P>Error Reason :</th></tr>'+
    cast((select td= ROW_NUMBER()over (order by (select 1)),'',
    td=isnull(e.ErrorDescription, '')
    from abc.x.tbPackageErrorLog e --50594
    join abc.x.tbPackageLog p -- 10223
    on p.PackageLogID=e.PackageLogID
    where p.BatchLogID= @batchlogid FOR XML PATH('tr'), TYPE )
    as NVarchar(max)) +'</table>'
    -- print @tableHTML
    if not exists (select 1 from BatchStatus where BatchId=@batchlogid and ( InRule='f'))
    set @TableHTML2 = 'Error Reason :N/A'
    end
    -- insert into #tmp values ( @TableHTML1)
    --select * from #tmp
    Set @tableHTML= 'Hello '+@UserId+', <br>Information:'+isnull(@Information,'') +
    '<Table Border=1><Tr><th>Sr No</th><th>Uploaded files </th>:'+
    CAST ((select td= ROW_NUMBER()over(order by f.FileUploadId), '',
    td = f.TableName , ''
    from abc.FileUploadSummary F where BatchId=@batchlogid
    FOR XML PATH('tr'), TYPE ) AS NVARCHAR(max) )
    +'</table>'+
    'Error Reason :'+isnull(isnull(@TableHTML1,'')+ isnull(@TableHTML2,''),'N/A')+ --concat (isnull(@TableHTML1,''),isnull(@TableHTML2,'')
    '<br> Please login to Your Account for further Details..!'
    +'<br>@Note: This is system generated message, Do not reply to this mail. <br>Regards,<br>'+
    'Admin'
    print @tableHTML
    SET @sql = ' EXEC msdb.dbo.sp_send_dbmail @profile_name = ''DBA_mail_test''
    ,@recipients = ''' + isnull(@recipients1,'''') + ''',@subject = ''' + isnull(@mailheader,'''') + ''',
    @body = ''' +isnull(@tableHTML,'''')+ ''',
    @body_format = ''HTML'''
    Exec(@sql)
    END TRY
    BEGIN CATCH
    PRINT error_message()
    -- Test whether the transaction is uncommittable.
    -- IF (XACT_STATE()) = - 1
    -- ROLLBACK TRANSACTION --Comment it if SP contains only select statement
    DECLARE @ErrorFromProc VARCHAR(500)
    DECLARE @ErrorMessage VARCHAR(1000)
    DECLARE @SeverityLevel INT
    SELECT @ErrorFromProc = ERROR_PROCEDURE()
    ,@ErrorMessage = ERROR_MESSAGE()
    ,@SeverityLevel = ERROR_SEVERITY()
    --INSERT INTO dbo.ErrorLogForUSP (
    -- ErrorFromProc
    -- ,ErrorMessage
    -- ,SeverityLevel
    -- ,DateTimeStamp
    --VALUES (
    -- @ErrorFromProc
    -- ,@ErrorMessage
    -- ,@SeverityLevel
    -- ,GETDATE()
    END CATCH
    END
    please help me to solve this problem
    Niraj Sevalkar

    This is no string http in your procedure. Then again the error message points to a line 47 outside a stored procedure. I can't tell it is outside, since there is no procedure name.
    But I see that you have this piece of dynamic SQL:
    SET @sql = ' EXEC msdb.dbo.sp_send_dbmail @profile_name = ''DBA_mail_test''
    ,@recipients = ''' + isnull(@recipients1,'''') + ''',@subject = ''' + isnull(@mailheader,'''') + ''',
    @body = ''' +isnull(@tableHTML,'''')+ ''',
    @body_format = ''HTML'''
     Exec(@sql)
    Why is this dynamic SQL at all? Why not just make plain call to sp_send_dbmail?
     EXEC msdb.dbo.sp_send_dbmail @profile_name = 'DBA_mail_test'
    ,@recipients = @recipients1, @subject = @mailheader, @body = @tableHTML
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Upgrade 4.5B to 4.7 -- ERROR: "VBAK has already been declared".

    Dear Friends,
    After upgrade 4.5B to 4.7, there is the same ERROR when executing most of SD transaction and creating/displaying/modifying PO and GR.
    This error is related to SD pricing procedure. In the ABAP error dump said that: VBAK has already been declared. I have tried to look for SAP Notes but cannot find one.
    I think this problem is a common problem in upgrading from 4.X to 4.7. Need help from you guys who ever have upgrading experience.. : )
    Does anyone know on how to FIX this problem?
    Cheers,
    Will
    THE ABAP DUMP is as below:
    ===============================================
    Syntax error in program "SAPLV61A ".
    What happened?
    The following syntax error occurred in the program SAPLV61A :
    ""VBAK" has already been declared."
    Error in ABAP application program.
    The current ABAP program "SAPLMEPO" had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    What can you do?
    Please eliminate the error by performing a syntax check
    (or an extended program check) on the program "SAPLV61A ".
    You can also perform the syntax check from the ABAP/4 Editor.
    If the problem persists, proceed as follows:
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    The following syntax error was found in the program SAPLV61A :
    ""VBAK" has already been declared."
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
    To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
    To obtain this, call the system log with Transaction SM21
    and select the "Print" function to print out the relevant
    part.
    3. If the programs are your own programs or modified SAP programs,
    supply the source code.
    To do this, you can either use the "PRINT" command in the editor or
    print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
    or which actions and input led to the error.
    Information on where terminated
    The termination occurred in the ABAP program "SAPLMEPO" in "REFRESH_TABLES".
    The main program was "RM_MEPO_GUI ".
    The termination occurred in line 35 of the source code of the (Include)
    program "MM06EF0R_REFRESH_TABLES"
    of the source code of program "MM06EF0R_REFRESH_TABLES" (when calling the
    editor 350).
    ===============================================

    Check OSS Note 133433 is exactly axplain your problems
    will resolve your problems

  • 'Connection has already been closed'. Random error connecting with a pool

    Hi all,
    I've got a problem I cannot solve, and really hope in someone's help...
    The fact is: I'm working on a webapp which doesn't made use of frameworks or patterns or similars. I introduced the DAO pattern in order to organize and speed up the work. At the core of the new classes there is the DBDAO, and this is the way it obtains the connection:
          protected Connection conn = null;           ...             protected Connection getConnection()       {           try           {             if (conn == null || conn.isClosed())             {                     Context ctx = new InitialContext();                 javax.sql.DataSource ds=null;                     ds =(javax.sql.DataSource) ctx.lookup( "agespPool" );                     conn = ds.getConnection();                 conn.setAutoCommit(false);             }           }           catch (Exception ne)     ...
    Every new class that needs to access the db extends DBDAO and retrieves the conn with this method. In order to make things work without changing all the code, I modified the old class named 'Connessione' and made it extend DBDAO. Here is its method:
        public class Connessione extends DBDAO{     ...             public static synchronized Connection getConnessione() throws Exception {             return new Connessione().getConnection();         }
    That's all. Finished with the code.
    Now, if someone uses the new classes extending DBDAO, all goes well. But for some old function that still work with Connessione.getConnessione(), connection closes suddenly with no reason.
    For example, calling a page with some combo box populated with a db connection, you catch a:
        java.sql.SQLException: Connection has already been closed.             at weblogic.jdbc.wrapper.PoolConnection.checkConnection(PoolConnection.java:63)             at weblogic.jdbc.wrapper.ResultSetMetaData.preInvocationHandler(ResultSetMetaData.java:37)             at weblogic.jdbc.wrapper.ResultSetMetaData_oracle_jdbc_driver_OracleResultSetMetaData.getColumnType(Unknown Source)             at it.praxis.tim.agesp.pub.sql.PagingList.populate(PagingList.java:98)             at it.praxis.tim.agesp.pub.sql.PagingList.executeSQL(PagingList.java:53)             at jsp_servlet._jsp._todolist_new._richiesta.__listarichieste._jspService(__listarichieste.java:353)             at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    or sometimes:
        - 20080417141147: <E> HtmlSelect.createHtmlSelect(4) - Errore!     java.sql.SQLException: Result set already closed     - 20080417141147: <E> HtmlSelect.createHtmlSelect(7) - Errore!     java.sql.SQLException: Connection has already been closed.     - 20080417141147: <E> ERRORE:  ricercaRichieste :     java.sql.SQLException: Statement has already been closed
    That is, the conn is closed while used to populate the combo box. I don't understand who closes it.
    Moreover, that happens randomly: 1 or 2 times over 4 hits on the page. The other times, all goes well. Most of the other pages, all goes well. So I don't think I have to search for a bug in the code.
    Now, I'm working with BEA WL 8.1 sp 5 and Oracle 9.2.0.1.0 .
    The error turns out even if I work locally (with Tomcat 5.5.23).
    The webapp made use of a custom driver beforehand, and I replaced it with oracle's driver.
    I tried to set the Connection Pool with oracle.jdbc.driver.OracleDriver and oracle.jdbc.OracleDriver .
    I left the default for the connection pool, and then tried to set (BEA):
    Connection Reserve Timeout: -1
    Test Created Connections: On
    with no changes.
    The connection suddenly and randomly closes.
    Any help would be appreciated...
    Many thanks

    the thing that you are instantiating isn't a Connection object, it's a Connessione object. That's returning one that's either been stashed from a previous call, or
    acquires one from the data sourcea new Connessione object means a call to getConnection that means a new Connection object. That code is synchronized, it has to be a new object.
    It is entirely possible that conn is not null if other actions have taken place in your constructor. Even assuming it is null, we don't know anything about the
    connection pool you're trying to use, though it looks like it's probably weblogic's one.The contructor doesn't know of the connection. As for the pool, it is weblogic's one.
    And even assuming both of these cases, we have no particular reason to believe that you're calling the getConnessione() method instead of accidentally calling
    getConnection() and thus no reason to believe that you're definitely carrying out the actions that you believe you're carrying out.I wrote that the problem comes out in the old code that once worked fine. That code only uses Connessione.getConnessione() .
    Conversely we have an error message that says you're closing connections elsewhere. Clearly there's a bug. It's presumably in your assumptions. You're
    arguing instead of checking them.If I have a wrapper logging the close() calls, I have to see every call logged. Even if there's a bug (but remember that the code worked fine with a previous custom datasource), why do you think I shouldn't see that close() logged?
    I may be wrong, but I already searched in that code. I'm arguing after all the checks.
    There is no other thread that can see that connHow do you know? I have that Connessione.getConnessione() in a jsp. It's synchronized. That gives a new connection. I see it passed only to an utility class that queries the db and reads the resultset.
    Who do you think can access that connection?

  • Error occurred in deployment step 'Add Solution': A feature with ID '' has already been installed in this farm. Use the force attribute to explicitly re-install the feature.

    Hi I am getting the error
    Error occurred in deployment step 'Add Solution': A feature with ID 10495515-2482-41fd-98eb-3c87f739f54b has already been installed in this farm.  Use the force attribute to explicitly re-install the feature.
    when trying to deploy web parts
    question 1 - how do i use the force attribute when deploying from visual studio
    question 2 - am i deplying it to the right place, if i deply it to the
    url:port that points to my central admin tool it deploys but i cant seem to see it in any of my webs in my site collection, if i deploy it to the
    url:port that points to my site collection I get this error.
    im new to all this by the way :)
    thanks in advance

    If you are deploying from Visual Studio then please follow this post:
    http://sharepointfordeveloper.blogspot.com/2014/03/solved-visual-studio-issue-error.html
    Open the visual Studio and navigate to the feature XML file and add the bellow attribute.
    AlwaysForceInstall="TRUE"
    The <FeatureName>.Template.Xml output would be some think link this.
    <?xml
    version="1.0"
    encoding="utf-8"
    ?><Feature
    xmlns="http://schemas.microsoft.com/sharepoint/"
    AlwaysForceInstall="TRUE"></Feature>

  • HT1539 I am getting an error that my Disc cannot be found, may be dirty, etc...  Please reinsert and try again.  After retrying, I cannot download, as the redemption code indicates that it has already been used.  How do I download movie now?

    I am getting an error that my Disc cannot be found, may be dirty, etc...  Please reinsert and try again.  After retrying, I cannot download, as the redemption code indicates that it has already been used.  How do I download movie now?

    Thanks for the quick advice!
    Unfortunately, I am still unable to open my core productivity apps, namely Skype and Evernote. Twitter, as well, could not start. But interesting quick fix though, I never knew you could do that.
    Here's the error log after the restart:
    What else should I try?

Maybe you are looking for

  • Why is it difficult to get a straight answer on future price increases for the PS CC $9.99 offer

    I own CS6 and am happy with it. I have been a PS user since the second version so I have extensive experience with updates and the value I seek. I am an advanced amateur so this is a hobby, not a profit source and Adobe needs to consider us. No one w

  • Mail is offline and will not go online.

    Recently mail went offline and I can't get it to go online. i have a Mobile me account and 3 POP3 Accounts. First i deleted my accounts and re-entered my info, then i deleted the entire library/mail folder with the same result. I also tried to get my

  • All MonthNames and Month numbers in sql server

      Hi All, I want to display all months names and month numbers in a query.  like        MName               Mno January                1 February              2 March                   3             December           12 Regards, Mandava.

  • Modify VcCatRecordEntry WD Java component

    Hi, I have been tasked with implementing OSS note 1371294, which requires a change to Java Web Dynpro component VcCatRecordEntry.  I know this question has been asked previously, but is there a way of creating a NWDS project for the  component which

  • JavaHelp arrggggh!!

    Hi, I've downloaded JavaHelp and extracted it. I've gone into Environment Variables and updated my path to the following:- %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\ENGLISH;C:\Pr