Service bus queue connection issue

Hi I am having trouble connecting to a pair of ACS Queues from an aspx page, the code and queues work fine from a console application but when referencing the assembly and running the relevant parts via my aspx page I get the following exception:
System.TimeoutException was unhandled by user code
HResult=-2146233083
Message=The timeout elapsed upon attempting to obtain a token while accessing 'https://mymdmconnector3-sb.accesscontrol.windows.net/WRAPv0.9/'.
Source=Microsoft.ServiceBus
StackTrace:
Server stack trace:
Exception rethrown at [0]:
at Microsoft.ServiceBus.Common.ExceptionDispatcher.Throw(Exception exception)
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
at Microsoft.ServiceBus.TokenProviderHelper.EndGetAccessTokenCore(IAsyncResult result, String& expiresIn, String& audience)
at Microsoft.ServiceBus.TokenProviderHelper.EndGetAccessTokenByAssertion(IAsyncResult result)
at Microsoft.ServiceBus.SharedSecretTokenProvider.OnEndGetToken(IAsyncResult result, DateTime& cacheUntil)
at Microsoft.ServiceBus.TokenProvider.GetTokenAsyncResult.OnEndTokenProviderCallback(IAsyncResult result, DateTime& cacheUntil)
at Microsoft.ServiceBus.TokenProvider.GetTokenAsyncResultBase`1.OnCompletion(IAsyncResult result)
at Microsoft.ServiceBus.TokenProvider.GetTokenAsyncResultBase`1.<GetAsyncSteps>b__f(T thisPtr, IAsyncResult r)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
Exception rethrown at [1]:
at Microsoft.ServiceBus.Common.ExceptionDispatcher.Throw(Exception exception)
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
at Microsoft.ServiceBus.TokenProvider.EndGetToken(IAsyncResult result)
at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingToken(TokenProvider tokenProvider, Uri namespaceAddress, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.GetAuthorizationToken(String appliesTo, String action)
at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.GetAuthorizationHeader(String action)
at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.CreateWcfMessageInternal(String action, Object body, Boolean includeToken, String parentLinkId, RetryPolicy policy, TrackingContext trackingContext, RequestInfo requestInfo)
at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.CreateWcfMessage(String action, Object body, String parentLinkId, RetryPolicy policy, TrackingContext trackingContext, RequestInfo requestInfo)
at Microsoft.ServiceBus.Messaging.Sbmp.AcceptMessageSessionAsyncResult..ctor(SbmpMessagingFactory messagingFactory, String entityName, String sessionId, Nullable`1 entityType, ReceiveMode receiveMode, Int32 prefetchCount, Lazy`1 controlMessageCreator, RetryPolicy retryPolicy, TimeSpan serverWaitTime, TimeSpan timeout, AsyncCallback callback, Object state)
at Microsoft.ServiceBus.Messaging.Sbmp.SbmpQueueClient.OnBeginAcceptMessageSession(String sessionId, ReceiveMode receiveMode, TimeSpan serverWaitTime, TimeSpan timeout, AsyncCallback callback, Object state)
at Microsoft.ServiceBus.Messaging.QueueClient.RetryAcceptMessageSessionAsyncResult.<GetAsyncSteps>b__68(RetryAcceptMessageSessionAsyncResult thisPtr, TimeSpan t, AsyncCallback c, Object s)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.EnumerateSteps(CurrentThreadType state)
Exception rethrown at [2]:
at Microsoft.ServiceBus.Common.ExceptionDispatcher.Throw(Exception exception)
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
at Microsoft.ServiceBus.Messaging.QueueClient.RetryAcceptMessageSessionAsyncResult.End(IAsyncResult r)
at Microsoft.ServiceBus.Messaging.QueueClient.EndAcceptMessageSession(IAsyncResult result)
at Microsoft.ServiceBus.Messaging.QueueClient.AcceptMessageSession(String sessionId)
at MDMClasses.Connections.RetrieveMessageResponse..ctor(String sessionId, QueueClient responseQueue)
at MDMClasses.APIs.MDMSession..ctor()
at RegistrationPage.registerButton_Click(Object sender, EventArgs e) in c:\Projects\Demo\Higher Education\ASP\Registration ASPX\Registration ASPX\RegistrationPage.aspx.cs:line 24
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException: System.IdentityModel.Tokens.SecurityTokenException
HResult=-2146233087
Message=The token provider was unable to provide a security token while accessing 'https://mymdmconnector3-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The request was aborted: The request was canceled.'.
InnerException: System.Net.WebException
HResult=-2146233079
Message=The request was aborted: The request was canceled.
Source=System
StackTrace:
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult)
at Microsoft.ServiceBus.TokenProviderHelper.TokenRequestAsyncResult.<GetAsyncSteps>b__4(TokenRequestAsyncResult thisPtr, IAsyncResult r)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
InnerException:
The queues connect to Microsoft Dynamics Marketing and are set up like this:
internal static QueueClient Create(string queueName, string serviceBusNamespace, string serviceBusIssuerName, string serviceBusIssuerKey)
ServiceBusEnvironment.SystemConnectivity.Mode = ConnectivityMode.Http;
Uri runtimeUri = ServiceBusEnvironment.CreateServiceUri("sb", serviceBusNamespace, string.Empty);
MessagingFactory messagingFactory = MessagingFactory.Create(runtimeUri, TokenProvider.CreateSharedSecretTokenProvider(serviceBusIssuerName, serviceBusIssuerKey));
QueueClient queueClient = messagingFactory.CreateQueueClient(queueName);
return queueClient;
Any suggestions would be greatly appreciated.

Will give it a go, sounds like very inefficient way of doing things though.  Any other suggestions? 
I feel like I should reiterate that the console app works fine, its only when i run it on my aspx page that I get the error.  The only code run on either console application or aspx page is as follows:
MDMSession mdmSession = new MDMSession();
bool outcome = RegisterNewContact.Register(mdmSession, "api", "test7", "a", "", "", "", "", "", "", "t1");
All the connection stuff and logic is done in the referenced assembly, I can change that code if necessary. 
Edit: Running it using the web role emulator did not help, same error.  Another solution would be very helpful as it does not appear that azure services can handle .net 4.5.2 - required for a number of assemblies that I have no way of changing and require
for the program to function as a whole.

Similar Messages

  • Unable to send message in Service bus queue through Webrole which are connected to Azure VPN

    I have created two Azure VPN and two cloud services(deployed webrole) and one service bus queue
    First Azure VPN and cloud service(deployed webrole) is created in same affinity group.
    Second Azure VPN and cloud service is created in West US
    Service bus queue is also created in West US.
    When I send message in service bus queue from first cloud service (same affinity group) then message sends successfuly
    but when I send message in same service bus queue from second service(West US- Webrole) then unable to send message and not throwing any exception.
    I don't know, whats happening?
    Its very urgent..... client is waiting.
    Please help me... Thanks.
    hema

    Thanks for reply. Got the cause but still looking for solution.
    Actually we have created Azure VPN using Express route and
    all are configured for Private Peering.
    Try to access service bus queue from Web role which is attached to Express route network.
    I am unable to access service bus queue and send message...because cloud services deployed in virtual networks are supported over the private peering path.
    There are 3 types: public, private and default route (forced tunneling). 
    How  can be configured for all 3 which will force all traffic through the tunnel except for Azure public service?
    Do you have any idea on this scenario?
    Thanks.
    hema

  • Azure service bus queue: Why do I keep getting a MessageLockLostException?

    I read a post that dealt with the same problem I'm having. It is located at https://social.msdn.microsoft.com/Forums/en-US/069653b5-c233-4942-85b2-9eb50b3865c7/azure-service-bus-subscription-how-do-i-delete-the-message-when-i-receive-a?forum=servbus
    I'm calling message.Complete() and I'm getting the MessageLockLostException but the difference with my issue is that I used the code that someone posted to fix the issue and it isn't working for me. I have pasted my full code below to show you how my program
    is working. What am I doing wrong and/or how do I fix this issue?
    static void Main(string[] args)
    try
    string connectionString = CloudConfigurationManager.GetSetting("Microsoft.ServiceBus.ConnectionString");
    QueueClient client = QueueClient.CreateFromConnectionString(connectionString, "OoplesQueue");
    var actionBlock = new ActionBlock<BrokeredMessage>(async message =>
    await processCalculations(message),
    new ExecutionDataflowBlockOptions
    MaxDegreeOfParallelism = Environment.ProcessorCount
    var produceMessagesTask = Task.Run(async () => await
    ProduceBrokeredMessagesAsync(client,
    actionBlock));
    produceMessagesTask.Wait();
    catch (Exception ex)
    Console.WriteLine(ex.Message);
    Console.WriteLine(ex.StackTrace);
    private static async Task ProduceBrokeredMessagesAsync(QueueClient client,
    ActionBlock<BrokeredMessage> actionBlock)
    BrokeredMessage message;
    while ((message = await client.ReceiveAsync()) != null)
    await actionBlock.SendAsync(message);
    public static ConnectionMultiplexer connection;
    public static IDatabase cache;
    public static async Task processCalculations(BrokeredMessage message)
    var brokeredMessageRenewCancellationTokenSource = new CancellationTokenSource();
    try
    if (message != null)
    if (connection == null || !connection.IsConnected)
    connection = await ConnectionMultiplexer.ConnectAsync("connectionString");
    //connection = ConnectionMultiplexer.Connect("ConnectionString,SyncTimeout=10000,ConnectTimeout=10000");
    cache = connection.GetDatabase();
    var brokeredMessageRenew = Task.Run(async () =>
    while (!brokeredMessageRenewCancellationTokenSource.Token.IsCancellationRequested)
    //Based on LockedUntilUtc property to determine if the lock expires soon
    if (DateTime.UtcNow > message.LockedUntilUtc.AddSeconds(-10))
    // If so, we repeat the message
    await message.RenewLockAsync();
    }, brokeredMessageRenewCancellationTokenSource.Token);
    string sandpKey = message.Properties["sandp"].ToString();
    string dateKey = message.Properties["date"].ToString();
    string symbolclassKey = message.Properties["symbolclass"].ToString();
    string stockdataKey = message.Properties["stockdata"].ToString();
    string stockcomparedataKey = message.Properties["stockcomparedata"].ToString();
    var sandpTask = cache.GetAsync<List<StockData>>(sandpKey);
    var dateTask = cache.GetAsync<DateTime>(dateKey);
    var symbolinfoTask = cache.GetAsync<SymbolInfo>(symbolclassKey);
    var stockdataTask = cache.GetAsync<List<StockData>>(stockdataKey);
    var stockcomparedataTask = cache.GetAsync<List<StockMarketCompare>>(stockcomparedataKey);
    await Task.WhenAll(sandpTask, dateTask, symbolinfoTask,
    stockdataTask, stockcomparedataTask);
    List<StockData> sandp = sandpTask.Result;
    DateTime date = dateTask.Result;
    SymbolInfo symbolinfo = symbolinfoTask.Result;
    List<StockData> stockdata = stockdataTask.Result;
    List<StockMarketCompare> stockcomparedata = stockcomparedataTask.Result;
    StockRating rating = performCalculations(symbolinfo, date, sandp, stockdata, stockcomparedata);
    if (rating != null)
    saveToTable(rating);
    await message.CompleteAsync();
    else
    Console.WriteLine("Message " + message.MessageId + " Completed!");
    await message.CompleteAsync();
    catch (TimeoutException time)
    Console.WriteLine(time.Message);
    catch (MessageLockLostException locks)
    Console.WriteLine(locks.Message);
    catch (RedisConnectionException redis)
    Console.WriteLine("Start the redis server service!");
    catch (MessagingCommunicationException communication)
    Console.WriteLine(communication.Message);
    catch (Exception ex)
    Console.WriteLine(ex.Message);
    Console.WriteLine(ex.StackTrace);
    finally
    // Lock is stopped renewing task
    brokeredMessageRenewCancellationTokenSource.Cancel();

    Below check assumes there's no clock skew between you and the Service Bus server. If there's a time difference more than 10 seconds then you may end up with renew attempts after message expires.
    if (DateTime.UtcNow
    > message.LockedUntilUtc.AddSeconds(-10))
    And I suggest you to add a sleep in the renew loop. It's an overkill to make this check a million times every second. Doing this once a second should be fine.

  • Oracle service bus file protocol issue with distributed queue

    Hi,
    I have created a file protocol based proxy service and it is deployed to a clustered environment. The clustered environment has -
    Machine 1 - Admin server(AS) and Managed server 1 (MS1)
    Machine 2 - Managed server 2(MS2)
    There are 2 JMS servers jms1 and jms2 which are targeted to MS1 and MS2 respectively.There are 2 JMS queues(queue1 and queue 2) created, one each targeted to jms1 and jms2. The system module under which the queues are created is targeted to the cluster. There is uniform distributed queue(bind to wlsb.internal.transport.task.queue.file) created under the same system module of which queue1 and queue 2 are members.
    Currently when the proxy service poller server is given as MS1 then if the file is picked up and send to queue 1 then it gets processed successfully but if the file is send to the queue 2 then it remains in the stage directory of the proxy service. Similarly if the proxy service poller server is given as MS2 then its get processed through queue 2 but if it is picked up in queue1 then it remains in the staging directory.
    Am i missing any configuration here related to the queues set up ? Why file does not get processed if it is send to the queue(which is other than the poller managed server) ?
    Please help
    Thanks

    I have installed OEPE 11.1.1.6.1 now in the same middleware home as weblogic server but when i try to install OSB 11.1.1.4 in the same middleware home, it asks for OEPE home location. Even though i provide the OEPE home location , it displays as "invalid oepe home location".
    I have been struggling to get this sorted out so that i can carry out IDE development in OSB 11.1.1.4
    Below are the paths where sfotware are installed -
    JDK - C:\Oracle\Middleware\Java\jdk1.6.0_21
    Weblogic server - C:\Oracle\Middleware\wlserver_10.3
    OEPE - C:\Oracle\Middleware\oepe-galileo-all-in-one-11.1.1.6.0.201007221355-win32-x86_64
    Thanks

  • Is this the best design for asynchronous notifications (such as email)? Current design uses Web Site, Azure Service Bus Queue, Table Storage and Cloud Service Worker Role.

    I am asking for feedback on this design. Here is an example user story:
    As a group admin on the website I want to be notified when a user in my group uploads a file to the group.
    Easiest solution would be that in the code handling the upload, we just directly create an email message in there and send it. However, this seems like it isn't really the appropriate level of separation of concerns, so instead we are thinking to have a separate
    worker process which does nothing but send notifications. So, the website in the upload code handles receiving the file, extracting some metadata from it (like filename) and writing this to the database. As soon as it is done handling the file upload it then
    does two things: Writes the details of the notification to be sent (such as subject, filename, etc...) to a dedicated "notification" table and also creates a message in a queue which the notification sending worker process monitors. The entire sequence
    is shown in the diagram below.
    My questions are: Do you see any drawbacks in this design? Is there a better design? The team wants to use Azure Worker Roles, Queues and Table storage. Is it the right call to use these components or is this design unnecessarily complex? Quality attribute
    requirements are that it is easy to code, easy to maintain, easy to debug at runtime, auditable (history is available of when notifications were sent, etc...), monitor-able. Any other quality attributes you think we should be designing for?
    More info:
    We are creating a cloud application (in Azure) in which there are at least 2 components. The first is the "source" component (for example a UI / website) in which some action happens or some condition is met that triggers a second component or "worker"
    to perform some job. These jobs have details or metadata associated with them which we plan to store in Azure Table Storage. Here is the pattern we are considering:
    Steps:
    Condition for job met.
    Source writes job details to table.
    Source puts job in queue.
    Asynchronously:
    Worker accepts job from queue.
    Worker Records DateTimeStarted in table.
    Queue marks job marked as "in progress".
    Worker performs job.
    Worker updates table with details (including DateTimeCompleted).
    Worker reports completion to queue.
    Job deleted from queue.
    Please comment and let me know if I have this right, or if there is some better pattern. For example sake, consider the work to be "sending a notification" such as an email whose template fields are filled from the "details" mentioned in
    the pattern.

    Hi,
    Thanks for your posting.
    This development mode can exclude some errors, such as the file upload complete at the same time... from my experience, this is a good choice to achieve the goal.
    Best Regards,
    Jambor  
    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.
    Click
    HERE to participate the survey.

  • Peek and Lock with Offset for Service Bus Queue in REST API

    In .NET library, the QueueClient has an API
    QueueClient.Peek(Int64), which accept an offset for the queue as starting point.
    Does the REST api
    also can pass this parameter? I didn't find one.

    hi mmsz_jbn,
    Thanks for your posting!
    It seems that REST API Peek-Lock message don't support pass the SequenceNumber.
    http{s}://{serviceNamespace}.servicebus.windows.net/{queuePath}/messages/head
    http{s}://{serviceNamespace}.servicebus.windows.net/{topicPath}/subscriptions/{subscriptionName}/messages/head
    From the API structure, we don't see the sequence number as a parameter.
    But in unlock method, we can use this number:
    http{s}://{serviceNamespace}.servicebus.windows.net/{queuePath}/messages/{messageId|sequenceNumber}/{lockToken}
    I suggest you could submit a feature request in this page:
    http://www.mygreatwindowsazureidea.com/forums/34192-windows-azure-feature-voting.
    Regards,
    Will
    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.
    Click
    HERE to participate the survey.

  • Webcenter with Service Bus....

    Hi,
    I need to integrate external system / third party systems which are providing the data information, exposing through several options like WebServices etc and in future these integration points/systems will be more or may change.And all these systems are not available internally and are distributed systems.
    Taking this into Scenario, should I use Oracle Service Bus for connecting, mediating and managing interactions between heterogeneous services?
    Or should I use Webcenter services module of Webcenter Suite fusion middleware for Integration.
    Thanks!!

    Hi,
    I have not worked with Webcenter Suite but as far as I know there is no similarity between Webcenter Suite and OSB. Webcenter Suite is a portal framework and OSB is a routing solution product. From the info you provided, I would suggest to use OSB.
    First of all identify what you need and then choose the product. Please elaborate your use case (specially the front-end part).
    Regards,
    Anuj

  • Azure Service Bus Relay & Impersonation

    Hi All,
    I am currently investigating the use of Azure Service Bus Relay for a project, testing has gone well so far and I have a service and client communicating via the service bus relay.
    Currently the client and server are able to take part in two way communication, whereby the client invokes a method and a response is sent back to the client, the problem I have is that I now
    want the service to impersonate the user calling the methods, but only for some of the methods available in the service.  Is this possible over a service bus relay connection? if so, how can this be achieved. 
    I have been able to get this working when calling the service over a non-service bus binding (using basic authentication over SSL), but this fails when binding to the service bus relay, I believe because the HTTP context is lost between the client and
    server when communicating via the intermediary (in this case the service bus)
    Thanks in advance for the advice.
    Chris

    Hi,
    I would suggest that you contact to Azure Support for respective subscription
    Please refer following to know how to submit support ticket
    http://blogs.msdn.com/b/mast/archive/2013/01/22/windows-azure-customer-support-offerings-live-how-to-contact-microsoft-windows-azure-technical-support.aspx
    hope this helps

  • Hi, I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mail are not receiving. Mail queue showing Connection refused error. Please help me

    I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mails are not receiving. Mail queue showing Connection refused error. Please help me
    Thanks
    GIRI

    Try this -> http://support.apple.com/kb/TA38632?viewlocale=en_US

  • Issue in deploying Service Bus projects using maven

    Hi,
    I am following the following documentation for deploying service bus projects to my OSB server.
    http://docs.oracle.com/middleware/1213/core/MAVEN/osb_maven_project.htm#MAVEN8973
    I was able to issue mvn package as described in documentation and also able to see sbar files in .data/Maven directory of each project.
    But i am seeing following error when i issue mvn pre-integration-test. Am i missing any steps.
    [INFO] --- oracle-servicebus-plugin:12.1.3-0-0:deploy (default-deploy) @ System ---
    [INFO] Service Bus Archive deployed using session Service_Bus_Maven-System-1424718369010.
    java.io.IOException: Unable to resolve 'weblogic.management.mbeanservers.domainruntime'. Resolved 'w
    eblogic.management.mbeanservers'
            at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.ja
    va:237)
            at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.j
    ava:120)
            at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:369)
            at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:267)
            at oracle.sb.maven.plugin.deploy.MBeanHelper$MBeanInvocationHandler.getJMXConnector(MBeanHel
    per.java:228)
            at oracle.sb.maven.plugin.deploy.MBeanHelper$MBeanInvocationHandler.invoke(MBeanHelper.java:
    131)
            at com.sun.proxy.$Proxy16.createSession(Unknown Source)
            at oracle.sb.maven.plugin.DeployMojo.createSession(DeployMojo.java:141)
            at oracle.sb.maven.plugin.DeployMojo.execute(DeployMojo.java:89)
            at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.j
    ava:101)
            at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
            at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
            at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
            at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBu
    ilder.java:84)
            at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBu
    ilder.java:59)
            at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter
    .java:183)
            at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
            at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
            at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
            at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
            at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
            at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
            at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'weblogic.management.mbeanservers.d
    omainruntime'. Resolved 'weblogic.management.mbeanservers' [Root exception is javax.naming.NameNotFo
    undException: Unable to resolve 'weblogic.management.mbeanservers.domainruntime'. Resolved 'weblogic
    .management.mbeanservers']; remaining name 'domainruntime'
            at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1180
            at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:270)
            at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:187)
            at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:210)
            at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:224)
            at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:224)
            at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:224)
            at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:701)
            at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:231)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:527)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:523)

    Hi Siva,
    I am facing same issue I am bale to create package but while deployment goal I am facing problem.I am following same document as you do.
    I can see my mvn-pre-integration ..show me sucees in result
    [DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:3.0.3
    [DEBUG] Configuring mojo com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0:package from plugin realm ClassRealm[plugin>com.oracle.servicebus.plugin:oracl
    -servicebus-plugin:12.1.3-0-0, parent: sun.misc.Launcher$AppClassLoader@65450f1f]
    [DEBUG] Configuring mojo 'com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0:package' with basic configurator -->
    [DEBUG]   (f) oracleHome = C:\Oracle\Middleware\Oracle_Home
    [DEBUG]   (f) project = MavenProject: LinuxMachine:TestOSBLinux:1.0-SNAPSHOT @ C:\JDeveloper\mywork\OSB-DEPLOY\LinuxMachine\TestOSBLinux\pom.xml
    [DEBUG]   (f) system = false
    [DEBUG] -- end configuration --
    [INFO]
    [INFO] --- oracle-servicebus-plugin:12.1.3-0-0:deploy (default-deploy) @ TestOSBLinux ---
    [DEBUG] Configuring mojo com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0:deploy from plugin realm ClassRealm[plugin>com.oracle.servicebus.plugin:oracle
    servicebus-plugin:12.1.3-0-0, parent: sun.misc.Launcher$AppClassLoader@65450f1f]
    [DEBUG] Configuring mojo 'com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0:deploy' with basic configurator -->
    [DEBUG]   (f) oraclePassword = Oracle123
    [DEBUG]   (f) oracleServerUrl = http://192.168.137.150:7001
    [DEBUG]   (f) oracleUsername = weblogic
    [DEBUG]   (f) project = MavenProject: LinuxMachine:TestOSBLinux:1.0-SNAPSHOT @ C:\JDeveloper\mywork\OSB-DEPLOY\LinuxMachine\TestOSBLinux\pom.xml
    [DEBUG] -- end configuration --
    [INFO] Service Bus Archive deployed using session Service_Bus_Maven-TestOSBLinux-1429888616161.
    [INFO]
    [INFO] --- oracle-servicebus-plugin:12.1.3-0-0:deploy (deploy) @ TestOSBLinux ---
    [DEBUG] Configuring mojo com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0:deploy from plugin realm ClassRealm[plugin>com.oracle.servicebus.plugin:oracle
    servicebus-plugin:12.1.3-0-0, parent: sun.misc.Launcher$AppClassLoader@65450f1f]
    [DEBUG] Configuring mojo 'com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0:deploy' with basic configurator -->
    [DEBUG]   (f) oraclePassword = Oracle123
    [DEBUG]   (f) oracleServerUrl = http://192.168.137.150:7001
    [DEBUG]   (f) oracleUsername = weblogic
    [DEBUG]   (f) project = MavenProject: LinuxMachine:TestOSBLinux:1.0-SNAPSHOT @ C:\JDeveloper\mywork\OSB-DEPLOY\LinuxMachine\TestOSBLinux\pom.xml
    [DEBUG] -- end configuration --
    [INFO] Service Bus Archive deployed using session Service_Bus_Maven-TestOSBLinux-1429888623126.
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building LinuxMachine 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-so
    rces, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, i
    tegration-test, post-integration-test, verify, install, deploy]
    [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
    [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
    [DEBUG] === PROJECT BUILD PLAN ================================================
    [DEBUG] Project:       LinuxMachine:LinuxMachine:1.0-SNAPSHOT
    [DEBUG] Dependencies (collect): []
    [DEBUG] Dependencies (resolve): []
    [DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
    [DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
    [DEBUG] =======================================================================
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] TestOSBLinux ....................................... SUCCESS [ 20.752 s]
    [INFO] LinuxMachine ....................................... SUCCESS [  0.009 s]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    But not get deployed .....
    When i  run mvn com.oracle.servicebus.plugin:oracle-servicebus-plugin:deploy**  to invoke deployment goal it fails which below logs
    org.apache.maven.plugin.MojoNotFoundException: Could not find goal 'deploy*.*' in plugin com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.1.3-0-0 amon
    goals deploy, package
            at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:275)
            at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:239)
            at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:233)
            at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:103)
            at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:83)
            at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:85)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
            at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
            at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
            at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
            at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
            at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    [ERROR]
    [ERROR]
    Thanks&Regards
    Prabhat

  • Connect Azure Pack to Service Bus for Windows Server with Custom DNS

    Hello! I'm trying to configure Azure Pack to use Service Bus for Windows Server 1.1 with Custom DNS.
    All runs on one virtual machine (Windows Server 2012 R2) in Windows Azure.
    I following this post:
    roysvork.wordpress.com/2014/06/14/developing-against-service-bus-for-windows-1-1
    Replace FramDNS "servicebus" to "mymachine.cloudapp.net", and create certificate:
    SelfSSL /N:CN=mymachine.cloudapp.net /V:1000 /T
    On Windows Azure Virtual Machine:
    1.I'll set publuc DNS: mymachine.cloudapp.net
    2.Open ports: 10354,10355,10356,10359,10000-10004
    3.In hosts file: 127.0.0.1 mymachine.cloudapp.net
    4.Create certificate:
    SelfSSL /N:CN=mymachine.cloudapp.net /V:1000 /T
    PowerShell:
    Stop-SBFarm –Verbose
    Set-SBFarm -FarmDns 'mymachine.cloudapp.net'
    Update-SBHost –Verbose
    Start-SBFarm –Verbose
    New-SBAuthorizationRule -NamespaceName ServiceBusDefaultNamespace -Name MainRule -Rights Manage, Send, Listen
    Afther that i can connect to my ServiceBusDefaultNamespace with SAS.
    It's work perfect. But, When I try to create Service Bus Namespace from Azure Pack Tenant portal - in Log an Exception:
    Namespace Provisioning Exception. TrackingId: . SystemId: . Namespace: SomeNamespace.
    Method: Activating. Exception: System.Net.Http.HttpRequestException: An error occurred while
    sending the request. ---> System.Net.WebException: The underlying connection was closed:
    Could not establish trust relationship for the SSL/TLS secure channel. --->
    System.Security.Authentication.AuthenticationException: The remote certificate is invalid according
    to the validation procedure.
    And status of namespace - Activating.
    Please help!

    Hi Alexander,
    According to the log, it seems that the validation process of the certificate failed.
    Please make sure that the certificate is installed in the client properly.
    Usually, self-signed certificate should be installed in the Computer Account-->Trusted Root Certificate Authorities.
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Issue with Oracle service bus installation on Windows 7 64 bit machine

    Hi,
    I am trying to install Oracle service bus 11.1.1.4 in Windows 7 64 bit machine for which i have downloaded the generic installers of both weblogic server and Oracle service bus. As per the instructions -
    1. Install JDK 1.6
    2. Install Weblogic server
    3.Install Eclipse separately (In my case Galileo 11.1.1.5 64 bit) - Just unzip the contents in the home directory where weblogic server is installed
    4. Install OSB
    I have installed all the above 1,2,3 in the same folder as per the instructions. But when i try to install OSB which asks for eclipse home location. But when i give the eclipse home location, it gives an error ""Home location is invalid" and i am unable to proceed with the installation.
    I have tried this with OSB 11.1.1.5 as well and have the same issue.
    Does anyone has any links which provides the steps to install OSB in Windows 7 64 bit machines or if someone can help me to resolve the above issue ?
    I really appreciate any information on this as it is urgent.
    Thanks

    I have installed OEPE 11.1.1.6.1 now in the same middleware home as weblogic server but when i try to install OSB 11.1.1.4 in the same middleware home, it asks for OEPE home location. Even though i provide the OEPE home location , it displays as "invalid oepe home location".
    I have been struggling to get this sorted out so that i can carry out IDE development in OSB 11.1.1.4
    Below are the paths where sfotware are installed -
    JDK - C:\Oracle\Middleware\Java\jdk1.6.0_21
    Weblogic server - C:\Oracle\Middleware\wlserver_10.3
    OEPE - C:\Oracle\Middleware\oepe-galileo-all-in-one-11.1.1.6.0.201007221355-win32-x86_64
    Thanks

  • Service Bus with WCF in IIS 8 with Application Initialization Issue

    I’m running service bus 1.1 on premise locally and have it hooked into a wcf service using netMessagingBinding. 
    I installed Application Initialization and set Start Mode to AlwaysRunning for the application pool, and set Preload Enabled to true for the site. 
    I also have the appropriate <applicationInitialization> section in the web config where I added the service to an initializationPage.
    The message gets delivered if I hit the endpoint in my browser, and even if I do an IIS reset, it still gets delivered, however I had to hit the endpoint first manually. 
    If I do a clean (or edit any of the wcf code files) and build, it won’t get delivered until I hit the endpoint. 
    I get similar behavior when I set a break point in the service and attach to the w3wp.exe process. 
    If I do a clean and build and set a break point in the service code, it has the open red circle that says breakpoint will not be hit, no symbols have been loaded for this document. 
    When I hit the endpoint, the open red circle gets filled, and the endpoint can be hit. 
    I’m guessing these 2 go hand in hand with what I’m seeing with the service bus.
    Setting up Application Initialization fixes the issue if I restart IIS, it can continue to receive messages, however I first need to hit the endpoint.
     I just don’t know how it handles the scenario when it first gets deployed (like when I do a clean and build). 
    I thought the Application Initialization would of handled this but I’m probably missing something.

    Hi sir,
    Form your description, it seems that you use the op-premise service bus. I will move this thread to Azure Pack forum for more helps.
    Regards,
    Will 
    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.
    Click
    HERE to participate the survey.

  • Exchange Server 2013 Service Pack Upgrade - Outlook connectivity issue

    Hi,
    After upgrading to Exchange Server 2013 service pack 1, we are unable to connect via Outlook 2010 or Outlook 2013. Outlook Web Access is working fine though. We have followed all the instructions, and have applied Outlook upgrades, but the issue remain the
    same. Outlook was working fine before the upgrade.
    Have we missed out something. I would highly appreciate if someone can help out? I'm not sure if this is the known issue as I can't seem to find anything on the internet.
    Already applied the transport fix.
    Thanks in advance!

    Hi,
    According to your description, your Outlook 2010 and Outlook 2013 come across the connectivity issue.
    To narrow down the issue, I’d like to recommend the following troubleshooting:
    1. Check if the issue happens on all Outlook users
    2. Check the Outlook Anywhere connectivity by using ExRCA:
    https://testconnectivity.microsoft.com/
    Additionally, MAPI over HTTP is only supported when you use Outlook 2013 sp1 and Exchange 2013 sp1 at the same time. Since the issue also happens on Outlook 2010 client, we can firstly try the above troubleshooting.
    If you have any question , please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • Remote Desktop Services Default Connection issue

    when i am login to Remote Desktop Services Default Connection issue i was unable to see icons which were displaying in internet explorer. It is showing blank. please give me solution as soon as possible.
    i have the screen shots of both IE and mozilla
    thank you

    You can attach screen shots here if you post a reply to your original question. The attach form appears below the textbox where you type your reply.
    Could you describe the steps to reproduce the problem. First you make a remote desktop connection, then you run Firefox on the remote host, and the problem is in Firefox on the remote host? If Firefox on the remote host accessing a site on your LAN, or on the web, or using a protocol other than http (such as file or ftp)?

Maybe you are looking for

  • Problem with Time Machine back up

    Hello all, Grateful for anyone's help with this issue. Firstly, a summary of specs: Mac OS X 10.7. Late 2007 Macbook 13inch External hard drive - LaCie 1TB D2 Quaddra Issue - When trying to back up my 2007 Macbook it fails! When I back up my 2011 Mac

  • Backing up external hard drive (connected to time capsule) using time machi

    hi. don't know if this is possible or not - am now using an external hard drive to store all my movies as my macbook pro's hard drive is filling up and i'm running out of space (it's 250gb). have created a separate itunes on the external hard drive a

  • TS1702 I cant download applications from the app store

    when i want to download any application from the app store an error occurs.. after pressing the "install app" button, the icon of the app appears on the springbord with "waiting" written below it (as if its going to start downloading), but suddenly a

  • Problem with dial out

    I have a SPA2002 adapter which I use with an asterisk server. On the asterisk I have configured call forwarding that can be enabled by dialing *21*number#. The problem is that the linksys adapter won't let me dial *21, it immediately gives a busy ton

  • Weblogic Solaris SMF start/stop script

    Does anyone have a Solaris SMF script to start/stop Weblogic they'd care to share? Thanks. I don't think it matters but I'm running Solaris 10, Weblogic 10.3 and X86.