Adding remote producer deployed to cluster
We are developing a federated portal with WLP 10.2 in which both the consumer and producer applications are deployed to the same cluster.
I want to add the remote producer to the Portal Resources Library of my consumer application so that producer books/pages/portlets can be added to a desktop.
To add a producer using the Portal Admin Console's Add Producer dialog you specify the producer's WSDL URL in the following format:
http://host:port/producerWebApp/producer?wsdl
In a clustered environment, each server is listening on a different port, so I would have to specify the port number of one of the servers, which I don't think is right.
What is the proper way to add a remote producer using the Portal Admin Console when the producer is deployed to a cluster?
continued reading to clarify. Problem solved, thanks for looking
Similar Messages
-
Remote producer exception while adding in consumer.
I have producer portlet and trying to add the "Remote Producer Handle" in Consumer Portal Admin console.while adding this,I am gettign the following error.
com.bea.wsrp.consumer.management.producer.ProducerManagerException: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
at com.bea.wsrp.consumer.management.ProducerManagerImpl.registerProducer(ProducerManagerImpl.java:427)
at com.bea.jsptools.portal.helpers.wsrp.ProducerManagerControlImpl.registerProducer(ProducerManagerControlImpl.java:260)
at com.bea.jsptools.portal.helpers.wsrp.ProducerManagerControlBean.registerProducer(ProducerManagerControlBean.java:534)
at com.bea.jsptools.portal.helpers.wsrp.AddProducerHelper$RegisterProducer.run(AddProducerHelper.java:640)
at portalTools.definitions.portletProducers.wizard.AddProducerWizardController.runAction(AddProducerWizardController.java:628)
at portalTools.definitions.portletProducers.wizard.AddProducerWizardController.doIfValid(AddProducerWizardController.java:604)
at portalTools.definitions.portletProducers.wizard.AddProducerWizardController.registerProducerAction(AddProducerWizardController.java:449)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
Can any one help me on this?Here is the full exception.
com.bea.wsrp.consumer.management.producer.ProducerManagerException: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
at com.bea.wsrp.consumer.management.ProducerManagerImpl.registerProducer(ProducerManagerImpl.java:427)
at com.bea.jsptools.portal.helpers.wsrp.ProducerManagerControlImpl.registerProducer(ProducerManagerControlImpl.java:260)
at com.bea.jsptools.portal.helpers.wsrp.ProducerManagerControlBean.registerProducer(ProducerManagerControlBean.java:534)
at com.bea.jsptools.portal.helpers.wsrp.AddProducerHelper$RegisterProducer.run(AddProducerHelper.java:640)
at portalTools.definitions.portletProducers.wizard.AddProducerWizardController.runAction(AddProducerWizardController.java:628)
at portalTools.definitions.portletProducers.wizard.AddProducerWizardController.doIfValid(AddProducerWizardController.java:604)
at portalTools.definitions.portletProducers.wizard.AddProducerWizardController.registerProducerAction(AddProducerWizardController.java:449)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:879)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
at global.internal.AbstractBaseController.internalExecute(AbstractBaseController.java:360)
at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:91)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)
at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106)
at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)
at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)
at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)
at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:257)
at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: com.bea.wsrp.consumer.management.producer.ProducerManagerException: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
at com.bea.wsrp.consumer.management.ProducerManagerImpl.getProducerServiceDescription(ProducerManagerImpl.java:339)
at com.bea.wsrp.consumer.management.ProducerManagerImpl.getProducerServiceDescription(ProducerManagerImpl.java:309)
at com.bea.wsrp.consumer.management.ProducerManagerImpl.registerProducer(ProducerManagerImpl.java:403)
... 82 more
Caused by: com.bea.wsrp.faults.OperationFailedException: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
at com.bea.wsrp.faults.FaultInstanceFactory.<clinit>(FaultInstanceFactory.java:51)
at com.bea.wsrp.proxy.ProxyBase.raiseFault(ProxyBase.java:768)
at com.bea.wsrp.proxy.ProxyBase.invoke(ProxyBase.java:478)
at $Proxy117.destroyPortlets(Unknown Source)
at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener$ProxyPortletRemover.run(ProxyPortletRemoveListener.java:372)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.handleNotification(ProxyPortletRemoveListener.java:199)
at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:221)
at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:184)
at javax.management.timer.Timer.sendNotification(Timer.java:1295)
at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1264)
at javax.management.timer.TimerAlarmClock.run(Timer.java:1347)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462) -
Error while trying to enable remote on hd insight cluster
I'm trying to enable remote on our hd insight cluster, but every time I do, I get this error:
"An invalid passthrough request payload was submitted"
Any ideas?Hi,
Are you enabling remote on your HDIsight cluster via the management portal or .NET SDK?
Are you following the following steps?
To enable Remote Desktop
Sign in to the Azure portal.
Click HDINSIGHT on
the left pane. You will see a list of deployed HDInsight clusters.
Click the HDInsight cluster that you want to connect to.
From the top of the page, click CONFIGURATION.
From the bottom of the page, click ENABLE
REMOTE.
In the Configure Remote Desktop wizard, enter a user name and
password for the remote desktop. Enter an expiration date in the EXPIRES ON box.
The expiration time of day is assumed by default to be midnight of the specified date. Then click the check icon.
You could refer the following link for details:
http://azure.microsoft.com/en-us/documentation/articles/hdinsight-administer-use-management-portal/#connect-to-hdinsight-clusters-by-using-rdp
Please Note that the user name must be different from the one used to create the cluster (admin by
default with the Quick Create option) and that the expiration date must be in the future and no more than a week from the present.
Hope this helps.
Regards,
Malar. -
Routing and Remote access can cause cluster network issues?
After enabling routing and remote access on the servers, we found lots of cluster issues on our server like<o:p></o:p>
Cluster Service stopped
Communication was lost and reestablished between cluster nodes
Unable to access witness resource
Cluster resource failed
can RRAS enabling causes cluster network issues?
RahulHi TwoR,
Please offer more information about your current cluster and RRAS configuration, such as are you installed the RRAS role on any cluster node? Are your cluster in Hyper-V environment?
Or if you want to create the RRAS cluster you can refer the following KB:
Deploy Remote Access in a Cluster
http://technet.microsoft.com/en-us/library/jj134175.aspx
How to configure Network Load Balancing (NLB) based cluster of VPN Servers
http://blogs.technet.com/b/rrasblog/archive/2009/07/02/configuring-network-load-balancing-nlb-cluster-of-vpn-servers.aspx
I’m glad to be of help to you!
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. -
Solaris 8 patches added to Solaris 9 patch cluster and vice versa
Has anyone noticed this? On the Solaris 8 and 9 patch cluster readmes, it shows sol 9 patches have been added to the sol 8 cluster and sol 8 patches have been added to the sol 9 cluster. what's the deal? I haven't found any information about whether or not this is a mistake.
Desiree,
Solaris 9's kernel patch 112233-12 was the last revision for that particular patch number. The individual zipfile became so large that it was subsequently supplanted by 117191-xx and that has also been supplanted when its zipfile became very large, by 118558-xx.
Consequently you will never see any newer version than 112233-12 on that particular patch.
What does <b>uname -a</b> show you for that system?
Solaris 8 SPARC was similarly effected, for 108528, 117000 and 117350 kernel patches.
If you have login privileges to Sunsolve, find <font color="teal">Infodoc 76028</font>. -
WLS6sp2 Hot deployment in cluster does not work
I have two WLS6sp2 servers in cluster in two different machines. There is an EJB
deployed in the cluster that works fine. Now I go to the console and I undeploy
it: the servers show a message of "ejb undeployed". Now I activate the "deploy"
checkbox again: the following error appears:
weblogic.ejb20.EJBDeploymentException: Error deploying stateless EJB; nested exception
is:
javax.naming.NameAlreadyBoundException: Can't rebind anything but a replica-aware
stub to a name that is currently bound to a replica-aware stub; remaining name
javax.naming.NameAlreadyBoundException: Can't rebind anything but a replica-aware
stub to a name that is currently bound to a replica-aware stub; remaining name
The object is obviously clusterable (it is a stateless EJB with "home-is-clusterable=true").
It has been deployed to the cluster target. When is working it is load balanced
between both servers. It deploys perfectly when starting up both servers, but
hot deployment does not work.
This works fine when only one server is up.
¿Is not possible to do hot deployment in cluster?
Hm, where are you seeing the javax.naming.NameAlreadyBoundException? In one of your managed
servers, in all of your managed server, or in your admin server?
If you see this in your admin server, then this means you got your admin joined in the cluster,
which is not good. Remove it from the cluster if this is so.
Gene
"David Agudo" <[email protected]> wrote in message news:[email protected]...
>
> Yes, target="mycluster".
>
> "Gene Chuang" <[email protected]> wrote:
> >Did you target the ejb to the cluster, or to each individual Node in
> >your cluster? There is a
> >difference...
> >
> >Gene
> >
> >"David Agudo" <[email protected]> wrote in message news:[email protected]...
> >>
> >> I have two WLS6sp2 servers in cluster in two different machines. There
> >is an EJB
> >> deployed in the cluster that works fine. Now I go to the console and
> >I undeploy
> >> it: the servers show a message of "ejb undeployed". Now I activate
> >the "deploy"
> >> checkbox again: the following error appears:
> >>
> >> weblogic.ejb20.EJBDeploymentException: Error deploying stateless EJB;
> >nested exception
> >> is:
> >> javax.naming.NameAlreadyBoundException: Can't rebind anything but a
> >replica-aware
> >> stub to a name that is currently bound to a replica-aware stub; remaining
> >name
> >> ''
> >> javax.naming.NameAlreadyBoundException: Can't rebind anything but a
> >replica-aware
> >> stub to a name that is currently bound to a replica-aware stub; remaining
> >name
> >> ''
> >>
> >> The object is obviously clusterable (it is a stateless EJB with "home-is-clusterable=true").
> >> It has been deployed to the cluster target. When is working it is load
> >balanced
> >> between both servers. It deploys perfectly when starting up both servers,
> >but
> >> hot deployment does not work.
> >>
> >> This works fine when only one server is up.
> >>
> >> ¿Is not possible to do hot deployment in cluster?
> >>
> >
> >
>
-
Hi,
I am working on a webRTC application. So far, I am able to make call b/w Chrome to Chrome and mozilla to mozilla. But sometimes mozilla to mozilla and almost everytime mozilla to chrome or vice-versa not working.
I see that there is connection being made but audio/video stream are not being played.
The onaddstream callback get triggered, but just after that "Unhandled state type: 1" warning get appeared.
Please help.
here is my code of onaddstream.
pc.onaddstream = function(event) {
// TODO: Finalize this API
rtc.fire('add remote stream', event.stream, id);
setAppLog('', 'add remote stream : ' + event.stream);
console.log( ' add remote stream : ' + event.stream);
//On console..
20:25:32.895 Unknown property 'overflow-wrap'. Declaration dropped. connect.css:56
20:25:32.895 Unknown property 'spacing'. Declaration dropped. connect.css:76
20:25:32.896 Unknown property 'spacing'. Declaration dropped. connect.css:240
20:25:32.896 Error in parsing value for 'padding'. Declaration dropped. connect.css:250
20:25:32.896 Unknown pseudo-class or pseudo-element '-webkit-slider-thumb'. Ruleset ignored due to bad selector. connect.css:302
20:25:32.896 Unknown property '-moz-box-shadow'. Declaration dropped. connect.css:326
20:25:32.896 Error in parsing value for 'background'. Declaration dropped. connect.css:329
20:25:32.896 Unknown property '-moz-border-radius'. Declaration dropped. connect.css:332
20:25:32.897 SyntaxError: Using //@ to indicate source map URL pragmas is deprecated. Use //# instead jquery.min.js:1
20:25:33.453 Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery.min.js:5
20:25:33.529 [object HTMLHeadingElement] webrtcconnection.js:51
20:25:33.532 "This appears to be Firefox" adapter.js:17
20:25:33.829 Unknown property 'box-sizing'. Declaration dropped. video
20:25:36.445 "rtc.createStream : [object Object]" webrtc.io.js:338
20:25:37.530 "rtc.on get_peers : [object Object]" webrtc.io.js:172
20:25:39.995 "rtc on ready " webrtc.io.js:476
20:25:40.221 "rtc.createPeerConnection : 71b80816-3832-2b33-9301-b04db3a561fb" webrtc.io.js:246
20:25:40.222 "rtc.addStreams : [object LocalMediaStream]" webrtc.io.js:389
20:25:40.223 "createDataChannel 71b80816-3832-2b33-9301-b04db3a561fb" webrtc.io.js:434
20:25:40.224 "rtc.sendOffer : 71b80816-3832-2b33-9301-b04db3a561fb" webrtc.io.js:287
20:25:40.225 "sendOffer : 71b80816-3832-2b33-9301-b04db3a561fb" webrtc.io.js:229
20:25:41.180 "rtc.on receive_answer : [object Object]" webrtc.io.js:217
20:25:41.181 "rtc.receiveAnswer : 71b80816-3832-2b33-9301-b04db3a561fb" webrtc.io.js:332
20:25:41.580 " ADDING REMOTE STREAM... + 71b80816-3832-2b33-9301-b04db3a561fb : [object MediaStream]" webrtcconnection.js:573
20:25:41.586 [object HTMLVideoElement] webrtcconnection.js:576
20:25:41.601 " Remote stream added" webrtcconnection.js:671
20:25:41.603 " add remote stream : [object MediaStream]" webrtc.io.js:276
20:25:41.620 Unhandled state type: 1
Thanks
R.Hi R,
Note: If the answer is not found here, I would certainly recommend going to stackoverflow.com and posting your question. [http://stackoverflow.com/questions/tagged/webrtc]
*What version of the WebRTC API are you using, check the streaming api to see if its up to date
*The spacing error, maybe try the [http://jigsaw.w3.org/css-validator/ W3C Validator] will help find why 'spacing' css value is not recognized
*Found this discussion on the error, it looks like it is a mismatched json standard between the browsers? [https://groups.google.com/forum/#!topic/mozilla.dev.media/W3_dOXyEBBc]
*would it be an unhandled object in that "rtc.fire()" call?
*This discussion has how to turn on WebRTC degugging on: [https://groups.google.com/forum/#!topic/mozilla.dev.media/FrQE1OV7y38] -
Portal Admin Console hangs when trying to view the details Remote Producer
While trying to edit the details of a Remote Producer, the Portal hangs and will not let us edit or re-register the WSDL.
Any tips on how to get around this?Try setting the timeouts:
http://download.oracle.com/docs/cd/E13218_01/wlp/docs81/wsrp/workrem.html#999885
Nate -
How to deploy WebLogic Cluster on a Blade?
Hi, I am looking for recommendations on how ( if it makes sense ) to deploy WebLogic
Cluster on the (Intel) Blade HW. The question is, actually, caused by the fact
that the Blade is totally redundant and load-balanced HW where the requests are
managed by a Big-IP module ( and redirected to the IPs on the internal Blade Cassettes
One of possible solutions, we discuss now, is "either-or", i.e. let's discard
the App.Server cluster and use the HW cluster. This might work for the request
load balance but we loose all other, out-of-the-box, cluster features like session,
EJB, JNDI and so on failover and balance features.
Any notes with this regard will be greatly appreciated.
Thanks, - Michael
P.S. I repeated the same question om "cluster" Newsgroup but have not seen any
responds so far.It sounds like you're getting request routing and fail-over in front of
WLS with the Big-IP. Typically people would enable WLS clustering to
get replicated HTTP sessions in an environment like this.
-- Rob
Michael Poulin wrote:
Hi, I am looking for recommendations on how ( if it makes sense ) to deploy WebLogic
Cluster on the (Intel) Blade HW. The question is, actually, caused by the fact
that the Blade is totally redundant and load-balanced HW where the requests are
managed by a Big-IP module ( and redirected to the IPs on the internal Blade Cassettes
One of possible solutions, we discuss now, is "either-or", i.e. let's discard
the App.Server cluster and use the HW cluster. This might work for the request
load balance but we loose all other, out-of-the-box, cluster features like session,
EJB, JNDI and so on failover and balance features.
Any notes with this regard will be greatly appreciated.
Thanks, - Michael
P.S. I repeated the same question om "cluster" Newsgroup but have not seen any
responds so far. -
Execute commonj.WorkManager work on remote member of application cluster
Hi,
We have configured a WorkManager for our web application which works with Spring & Quartz to execute jobs asynchronously. However, all jobs get picked up by the same machine and the other members of the cluster are not given any tasks to execute.
The commonj documentation says that a Serializable Work returns a RemoteWorkItem which can execute jobs on a remote jvm. Weblogic docs, however, say that it doesn't support this interface and implements its own cluster load balancing.
How do we configure the Workmanager such that work is distributed across remote jvms in a cluster.
Thanks.
Regards
KaizerHi,
Do you have TestStand 2.x or are you using a later version TS 3.5.
TestStand 2.0 didn't handle remote execution, that wasn't available until TS3.0 or TS3.1.
This example, shows how an executable can access the same execution of a TestStand sequencefile not a remote execution.
If you have TestStand 3.x, then there should be some examples employing remote execution within theTestStand examples folders. or try this link http://zone.ni.com/devzone/conceptd.nsf/webmain/955A560B0B0052B88625698500563621
Regards
Ray Farmer
Regards
Ray Farmer -
Problem adding Remote multisite Entry Point
Hi, we have DirectAccess 2012 setup for multisite with a default site with 2 DA servers with load balancing in Sweden, one DA server in Phoenix (US) and one in Romania. For the US one i had to change the entrypointDC after i had added it since otherwise
i could not use the RemoteAccess management console.. everything just hung when it could not load the configuration.. i guessing it timed out.. getting the config from the US AD server and that broke everything (hmmm...)
I am now trying to add another entry point in the US (not the same site) but cant get past "adding an entry point... Please wait while the configuration is applied.." i have waited a couple of days.. it dos not get past that.
I wanted to try the powershell command for adding a entry point to but i cant find any info on how to specify the different GPO:s correctly.. i have Windows 7 computer to so i need a server GPO , a client GPO and a windows 7 group.. and i have not
been able to figure out how to do that..
Or if its possible to change a entrypointDC while adding the entrypoint.. so it wont time out.
Anyone have any smart tips ?
BR
DanielHi Daniel,
Please try to follow the guide below,
Deploy Multiple Remote Access Servers in a Multisite Deployment
http://technet.microsoft.com/en-us/library/hh831664.aspx
Besides, is there any warning or error in the event viewer?
Best Regards.
Steven Lee
TechNet Community Support -
Question related to remote weblogic deployment using wldeploy task
Problem Description: Iam trying to perform a remote deployment using wldeploy task from one of the unix box(this box does not have a weblogic instance at all) to a remote unix weblogic server. I get the following connection exception. This script works fine when I do a remote deployment from my windows machine(this has a local weblogic server)to the same remote unix weblogic server.
Question:
1. Do I need to have a weblogic instance locally where this wldeploy task is executing?
2. What configuration should be done in the remote weblogic server to support remote deployment?
The ant task is:
<property name="wlantjars" value="/ftmp/users/usrgrb/tmp/antjars" />
<path id="wlappc.classpath">
<fileset dir="${wlantjars}">
<include name="*.jar"/>
</fileset>
</path>
<taskdef name="wldeploy" classpathref="wlappc.classpath" classname="weblogic.ant.taskdefs.management.WLDeploy"/>
<target name="deployear_dev2">
<wldeploy user="weblogic" password="*******" adminurl="t3://he3unxd189v01:9100" action="deploy" upload="true" remote="true" source="${build.dir}/mktpx.ear" name="mktpx" targets="devCluster" />
</target>
I receive the following error when I execute the ant task "deployear_dev2"
Buildfile: build.xml
deployear_dev2:
[wldeploy] weblogic.Deployer -remote -upload -noexit -name mktpx -source /usrdata/dev/cashdesk/gcp/mktprice/quickbuild_prototype_ccview/prototype.vws/vob/mktprice_vob/mkt_price/dist/mktpx.ear -targets devCluster -adminurl t3://he3unxd189v01:9100 -user weblogic -password ******** -deploy
[wldeploy] weblogic.Deployer invoked with options: -remote -upload -noexit -name mktpx -source /usrdata/dev/cashdesk/gcp/mktprice/quickbuild_prototype_ccview/prototype.vws/vob/mktprice_vob/mkt_price/dist/mktpx.ear -targets devCluster -adminurl t3://he3unxd189v01:9100 -user weblogic -deploy
[wldeploy] javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260010]Unable to connect to 't3://he3unxd189v01:9100' as user, 'weblogic'. Error received: Couldn't connect to any host
[wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
[wldeploy] at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
[wldeploy] at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
[wldeploy] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[wldeploy] at weblogic.Deployer.run(Deployer.java:70)
[wldeploy] at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:597)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:597)
[wldeploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:348)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:357)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[wldeploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[wldeploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:698)
[wldeploy] at org.apache.tools.ant.Main.startAnt(Main.java:199)
[wldeploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[wldeploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[wldeploy] Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260010]Unable to connect to 't3://he3unxd189v01:9100' as user, 'weblogic'. Error received: Couldn't connect to any host
[wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:251)
[wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForType(ServerConnectionImpl.java:191)
[wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:147)
[wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
[wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
[wldeploy] ... 32 more
[wldeploy] Caused by: java.io.IOException: Couldn't connect to any host
[wldeploy] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:156)
[wldeploy] at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
[wldeploy] at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
[wldeploy] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
[wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:240)
[wldeploy] ... 36 more
[wldeploy] Caused by: javax.naming.NamingException: Couldn't connect to any host [Root exception is org.omg.CORBA.OBJECT_NOT_EXIST: Unknown object in LOCATE_REQUEST vmcid: 0x0 minor code: 0 completed: No]
[wldeploy] at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
[wldeploy] at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:590)
[wldeploy] at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:547)
[wldeploy] at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:85)
[wldeploy] at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:31)
[wldeploy] at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
[wldeploy] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
[wldeploy] at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
[wldeploy] at javax.naming.InitialContext.init(InitialContext.java:223)
[wldeploy] at javax.naming.InitialContext.<init>(InitialContext.java:197)
[wldeploy] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:143)
[wldeploy] ... 40 more
[wldeploy] Caused by: org.omg.CORBA.OBJECT_NOT_EXIST: Unknown object in LOCATE_REQUEST vmcid: 0x0 minor code: 0 completed: No
[wldeploy] at weblogic.iiop.LocateReplyMessage.needsForwarding(LocateReplyMessage.java:171)
[wldeploy] at weblogic.iiop.IORManager.locateInitialReference(IORManager.java:254)
[wldeploy] at weblogic.corba.orb.ORB.resolve_initial_references(ORB.java:258)
[wldeploy] at weblogic.corba.client.naming.ClientORBInfo.<init>(ClientORBInfo.java:34)
[wldeploy] at weblogic.corba.client.naming.ClientORBHelper.createORBInfo(ClientORBHelper.java:42)
[wldeploy] at weblogic.corba.j2ee.naming.ORBHelper.cacheORB(ORBHelper.java:314)
[wldeploy] at weblogic.corba.j2ee.naming.ORBHelper.cacheORBAndCreateURL(ORBHelper.java:323)
[wldeploy] at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:583)
[wldeploy] ... 49 more
BUILD FAILED
/usrdata/dev/cashdesk/gcp/mktprice/quickbuild_prototype_ccview/prototype.vws/vob/mktprice_vob/mkt_price/build/build.xml:366: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://he3unxd189v01:9100': Unknown object in LOCATE_REQUEST. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
Total time: 9 secondsregarding error:
Caused by: org.omg.CORBA.OBJECT_NOT_EXIST: Unknown object in LOCATE_REQUEST vmcid: 0x0 minor code: 0 completed: No
Make sure to place the wlfullclient.jar at the beginning of the classpath ...any other WLS specific Jars need not to be added additionally. For above error please refer to : Client SAF error
Few Things:
1). When I execute the ant build from a remote box , should I have a weblogic server running...the reason I ask is..does the wldeploy task work only if there is an active weblogic domain in the local machine. When I execute the same build from my windows machine where I have a local instance of weblogic , it works uccessfully .Whenever you try to deploy any application on WebLogic Domain then the Admin Server must be running. Because the deployment entries goes inside the "config.xml" and the original copy of this file is maintained by AdminServer only. So the Admin Server must be running for any kind of configuration changes or for Deployment.
2). I am told that http protocol is not an option in my work place and I have to use t3 protocol only. In that case, based on the error below, is it possible that the connection between my local unix box and the remote weblogic box is stricted? How to I test the connectivity using t3? I pinged the server from the local unix server and it came back with reply, but could not telnet to that remote box nor ftp to that box does not work.You can check t3 protcol is working fine or not by using the following one line command:
java weblogic.Admin -url t3://he3unxd189v01:9100 -username weblogic -password weblogic PING
If above command fails to ping the server it means either you are using a wrong HostName & Port OR your N/W is doesnot allow t3 protocol connections OR there may be a N/W Issue.
Thanks
Jay SenSharma -
JMS Server deployed to cluster of servers
Hey guys,
I was trying to deploy a JMS server to a cluster of servers and in the target section there wasn't an option for the cluster. They had an option for each individual server and another migratable version of the server. If I target one of the migratable servers in the cluster will it apply to all of the servers?
I read the following passage in the weblogic documents:
Obtain a Clustered JMS Licence
In order to implement JMS clustering, you must have a valid clustered JMS license, which allows a connection factory and a destination to be on different WebLogic Server instances. A clustered JMS license is also required to use the Foreign JMS Providers feature, as described in "Simple Access to Remote or Foreign JMS Providers" in the Administration Console Online Help. If you do not have a valid clustered JMS license, contact your BEA sales representative.
If i'm just building a model does this apply to me?
Thankscontinued reading to clarify. Problem solved, thanks for looking
-
Problem with weblogic.deploy and cluster
I'm having some problems with the weblogic.deploy class when trying to refresh
a jsp file. Using the following command to redeploy the entire application works
fine:
java weblogic.deploy -port 9876 -host apptest01 update
administrator portal c:\portal-site
However using the following command to refresh just one jsp
file:
java weblogic.deploy -url t3://apptest01:9876 -username system
-jspRefreshFiles ./index.jsp -jspRefreshComponentName portal
refresh administrator portal
produces the following stack trace:
javax.naming.NameNotFoundException: Unable to resolve
weblogic.management.home.olbcluster.
Resolved: 'weblogic.management.home' Unresolved:'olbcluster' ;
remaining name ''
at weblogic.rmi.internal.BasicOutboundRequest.
sendReceive(BasicOutboundRequest.java:85)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.
invoke(ReplicaAwareRemoteRef.java:255)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.
invoke(ReplicaAwareRemoteRef.java:222)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy0.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.
lookup(WLContextImpl.java:323)
at weblogic.management.tools.WebAppComponentRefreshTool.
getMBeanHomeForManagedServer
WebAppComponentRefreshTool.java:498)
at weblogic.management.tools.
WebAppComponentRefreshTool.
getComponentMBeanForServer
(WebAppComponentRefreshTool.java:225)
at weblogic.management.tools.
WebAppComponentRefreshTool.findInternalPaths
(WebAppComponentRefreshTool.java:187)
at weblogic.management.tools.WebAppComponentRefreshTool.
refresh(WebAppComponentRefreshTool.java:151)
at weblogic.deploy.refresh(deploy.java:704)
at weblogic.deploy.runBody(deploy.java:374)
at weblogic.utils.compiler.Tool.run(Tool.java:79)
at weblogic.deploy.main(deploy.java:1601)
Unable to resolve weblogic.management.home.olbcluster.
Resolved: 'weblogic.management.home' Unresolved:'olbcluster'
Any ideas?
"John Murphy" <[email protected]> wrote:
>
>I'm having some problems with the weblogic.deploy class when trying to
>refresh
>a jsp file. Using the following command to redeploy the entire application
>works
>fine:
>
>java weblogic.deploy -port 9876 -host apptest01 update
>administrator portal c:\portal-site
>
>However using the following command to refresh just one jsp
>file:
>
>java weblogic.deploy -url t3://apptest01:9876 -username system
>-jspRefreshFiles ./index.jsp -jspRefreshComponentName portal
>refresh administrator portal
>
>produces the following stack trace:
>
>javax.naming.NameNotFoundException: Unable to resolve
>weblogic.management.home.olbcluster.
>Resolved: 'weblogic.management.home' Unresolved:'olbcluster' ;
>remaining name ''
> at weblogic.rmi.internal.BasicOutboundRequest.
> sendReceive(BasicOutboundRequest.java:85)
> at weblogic.rmi.cluster.ReplicaAwareRemoteRef.
> invoke(ReplicaAwareRemoteRef.java:255)
> at weblogic.rmi.cluster.ReplicaAwareRemoteRef.
> invoke(ReplicaAwareRemoteRef.java:222)
> at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
> at $Proxy0.lookup(Unknown Source)
> at weblogic.jndi.internal.WLContextImpl.
> lookup(WLContextImpl.java:323)
> at weblogic.management.tools.WebAppComponentRefreshTool.
> getMBeanHomeForManagedServer
> WebAppComponentRefreshTool.java:498)
> at weblogic.management.tools.
> WebAppComponentRefreshTool.
> getComponentMBeanForServer
> (WebAppComponentRefreshTool.java:225)
> at weblogic.management.tools.
> WebAppComponentRefreshTool.findInternalPaths
> (WebAppComponentRefreshTool.java:187)
> at weblogic.management.tools.WebAppComponentRefreshTool.
> refresh(WebAppComponentRefreshTool.java:151)
> at weblogic.deploy.refresh(deploy.java:704)
> at weblogic.deploy.runBody(deploy.java:374)
> at weblogic.utils.compiler.Tool.run(Tool.java:79)
> at weblogic.deploy.main(deploy.java:1601)
>Unable to resolve weblogic.management.home.olbcluster.
>Resolved: 'weblogic.management.home' Unresolved:'olbcluster'
>
>Any ideas?
>
Hi John,
How's tricks?
It looks to me as though the olbcluster JNDI reference isn't being resolved from
the tree. A similar error results when a Connection Pool cannot be resolved, the
JNDI context env.jdbc is resolved but the particlar pool isn't. In my experience
it often turns out to be an error in the correlation between the deployment descriptors,
settings applied via the console and references made in the code.
That's my tuppence worth,
James :-)
-
Debugging to remote server - deployment fails
Please help. I'm running a WLS8.1 Integration server on a remote
machine and WLW8.1 on my dev machine. I created a small test
application and it will work as expected; build, debug offers deploy,
undeploy, etc. life-phases are all fine on my local machine.
I set application server properties to point to the remote machine, its
hostname, port, domain and server. IDE then understands whether this
server is running or not, so it all looks good. Debugging session fails
with message "unable to enable debugging. verify that your webapp
deployed correctly". I can view tools || server || redeploy and
undeploy. If I undeploy, then deploy is added to this context-menu so
the ide seems to believe that it's deployment was successful. I never
see anything in the JDPA transport window, nor the server console
window, on the remote machine.
If I create an EAR I can deploy that and I can then debug the application.
If I use the IDE to deploy (a rebuilt/modified) version of the
application as above, I am warned that an existing application of the
same name exists - so I tell it to replace that. Then I am again unable
to debug.
We've concluded that the only way to get an app to the remote server for
debugging is to build the EAR and deploy that. But, that can't be
correct, can it?!?!
Thanks in advance for any assistance. My eval is stalled at this point
and I would really like to get beyond the mechanics of using a shared
server for our team.
-Richard.
Maybe you are looking for
-
Error when exporting/importing
I am using MDM 7.1 When I export the schema from my Dev system to import into QA I get the following Error: "This repository requires additional steps before transport. See the MDS log for details. In the log my issue is that I am trying to export an
-
Why does my iPad drop from my Safari session?
Since I upgraded my iPad to version 5.0.1 my Safari session drops in the middle of whatever I'm doing. Anyone else having this problem?
-
IDOC Failed - Error massage Deficit of PU GR quantity
Hi All Trying to post 102 (reversal) goods movement. The idocs are created on 8th June. On this date, the PO I504800-02 has deficit quantity of 16 units trying to post, however there is a 101 movement posted on 15th June for quantity 36. Currently th
-
I know the following thing **When the HTML form is submitted it carries the view state value back to the server in the form of an HTTP parameter. JSF uses the value of this parameter to reconstruct the view during the restore view phase. The view is
-
Error : JAVA Cryptographic Toolkit sap java library archive
Hi Experts I am trying to install SAP Net Weaver 04 support release 1 > oracle JAVA System. I am performing installation on Windows 2003 server. While installing the JAVA Cryptographic Toolkit > sap java library archive I have getting problem please