Remote Portlets in double...

Anyone know why I see two instantiations of a remote portlet? I see this with work space and I also see it in the Portal Administration Console. At least within the workspace, there is way distinguish one that works as opposed to one who does not. But it's a little harder to do in the Administration Console of portal.

Is this a bug? Installation problem? Portlets work very well if 'proper' is instantiated in the consumer... WLP 10.2. Thank you.

Hello

Are the portlets that you see twice JSR168 portlets? If they are, you will see an instance for each portlet declared portlet.xml file and one instance for each .portlet file if you have a different definition for the portlet tag in the .portlet file in the portlet portlet.xml name. If this is the case, this is the expected behavior.

Kevin

Tags: Fusion Middleware

Similar Questions

  • WebLogic Portal, coherence * Web, WSRP, Remote Portlets

    WebLogic Portal 10.3.2
    Coherence * Web 3.6.1

    Hi all
    Integrate the coherence * Web 3.6.1 with Weblogic Portal 10.3.2.
    After all goes through various documents and with much more able to integrate these two products.
    EAR Scoped (Coherence.jar in APP-INF/LIB), the shared library of coherence-web-spi, a reference library of coherence-web-spi at WAR - Weblogic.xml
    Change Management HttpSession Coherence * Web Session management

    Development of WSRP
    Created WEB producer, .portlet Hello World created and exposed throguh Web Services
    Created the consumer WAR, created for portlet remote to access the "Hello World" portlet producer

    When accessing remote portlet, I am getting following error:

    The source of this error is:
    java.lang.IllegalArgumentException: session for the name 'com.bea.wsrp.userContext' attribute does not implement serializable; class:
    Class Com.bea.wsrp.bind.markup.UserContextImpl (ClassLoader class = java .net .URLClassLoader, hashCode = 12898381)
    Interface com.bea.wsrp.model.markup.IUserContext (ClassLoader class = java .net .URLClassLoader, hashCode = 12898381)
    Interface com.bea.wsrp.model.INillable (ClassLoader class = java .net .URLClassLoader, hashCode = 12898381)
    Interface com.bea.wsrp.bind.IMarshallable (ClassLoader class = java .net .URLClassLoader, hashCode = 12898381)
    The class java.lang.Object (System ClassLoader)
    at com.tangosol.coherence.servlet.AbstractHttpSessionModel.setAttribute(AbstractHttpSessionModel.java:309)
    at com.tangosol.coherence.servlet.api23.HttpSessionImpl.setAttribute(HttpSessionImpl.java:407)
    to weblogic.servlet.internal.session.CoherenceWebSessionData$ HttpSessionImpl.setAttribute (CoherenceWebSessionData.java:465)
    at weblogic.servlet.internal.session.CoherenceWebSessionData.setAttribute(CoherenceWebSessionData.java:358)
    at com.bea.wsrp.producer.handlers.ProfileFilter.doFilter(ProfileFilter.java:96)
    at com.bea.wsrp.producer.handlers.AbstractServiceHandler.preprocess(AbstractServiceHandler.java:103)
    at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:63)
    at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:333)
    at com.bea.wsrp.producer.wsee.ProducerEntryPoint.handleResponse(ProducerEntryPoint.java:90)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:287)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:271)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:341)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:189)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    to weblogic.wsee.server.servlet.BaseWSServlet$ AuthorizedInvoke.run (BaseWSServlet.java:285)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.bea.wsrp.producer.WsrpLocalProxyFilter.doFilter(WsrpLocalProxyFilter.java:72)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Is there a problem with the Configuration or something else... ?

    Your help is greatly appreciated... ?

    Thank you

    Ravi

    The portal app tries to put a session attribute not serializable in a coherence * Web http session, which is not allowed by default. Add the following configuration to the web.xml file in your WAR file:


    consistency-preserve-attributes
    true


    consistency-distributioncontroller-class
    com.tangosol.coherence.servlet.AbstractHttpSessionCollection$ HybridController

    This will allow the attributes not serializable to be stored in the local http sessions. These attributes them will not be distributed on the cluster.

  • Events does not work for the remote portlet

    When to send event of portlet on another consumption consume portlet handles. But when send to remote portlet unhandled.

    Hello

    JSR286 events you happen to work locally, but they require WSRP 2.0 eventing to work on WSRP. Eventing WSRP 2.0 is not included in WLP 10.3, so JSR286 events are not supported in WLP 10.3. Note also that JSR286 is not supported to WLP 10.3; some parts may work, but many do not. The next version of WLP will have full support for JSR286, including events and eventing WSRP 2.0...

    Unfortunately, supported alias requires also eventing WSRP 2.0 to run on WSRP, if alias of event are not supported in WLP 10.3 either, although they happen to work locally.

    Probably the best way to make the equivalent to JSR286 alias event feature work at WLP 10.3 would be to have a backup file on a portlet that receives events and sends them again under their name of the event 'alias '. This would have the same effect as the alias of the event, and in the future if you upgraded to the next version of WLP that supports aliases, you can delete the backup file and declare aliases in your portlet.xml.

    Kevin

  • Add the project to remote portlets as a shared library in another project

    Hello

    We are working on WSRP. We have producer such as Websphere and Weblogic (ver 10.2) consumer.

    We created a portal (WsrpEar) EAR & portal (WsrpWeb) Web project and then consumed all the remote portlets for Websphere. The "producer" created during this process is 'MyProducer '. This project has no other all local portlets. In this "WsrpWeb" project we do not have a file ".portal. The reason is that we want to EXPORT this project "Web portal" alone as a '. '. WAR"file (WsrpWeb.war), and then add it as a shared library in our application MAIN WEBLOGIC PORTAL (MyProjectEar & MyProjectWeb).

    We could do all this stuff. Once the war (WsrpWeb.war) is added as a shared library in the main application, we could see the remote portlets under "Available Portlets" from the main application. We could even drag it and drop it on the main ".portal' of application file. But when I ran, he throwed an error like below:
    -----
    {color: #ff0000} The source of this error is:
    com.bea.wsrp.consumer.management.producer.ProducerManagerException: producer with handle {color} [{color: #ff0000} MyProducer {color} | http://forums.oracle.com/forums/] {color: #ff0000} in webapp {color} [{color: #ff0000} MyProjectWeb {color} | http://forums.oracle.com/forums/] {color: #ff0000} does not exist. {color}
    -----

    He is looking for the handful of producer in ' wsrp producer - registry.xml "of the main application (MyProjectWeb). But here we do not have an entry because we are consuming remote portlets directly from shared library and the shared library has a file of "wsrp producer - registry.xml" who did the handful of producer entry.

    When I manually added the entry handle producer in the ' wsrp producer - registry.xml ' main, as application below, remote portlet executed successfully.

    & lt; wsrp producer handle = "MyProducer" & gt;
    & lt; Description / & gt;
    & lt; seller / & gt;
    & lt; initCookie requires & gt; perGroup & lt; / initCookie requires & gt;
    & lt; requires registration & gt; false & lt; / requires registration & gt;
    & lt; - service URL & gt;
    & lt; WSDL url & gt; [http://xxx:yyy/wsdl/myservice.wsdl] & lt; / wsdl-url & gt;
    & lt; / service-URL & gt;
    & lt; / wsrp-producer & gt;

    (xxx and yyy here are the host name and port # producer websphere).

    Anyone can guide us on this? Is he referring to also make an entry in the ' wsrp producer - registry.xml ' main application or is there any way?


    Thank you
    ANU

    Published by: user10826720 on January 29, 2009 06:36

    Published by: user10826720 on January 29, 2009 06:38

    Hello Anu,

    The file WEB-INF/wsrp-producer - registry.xml (normally created by the IDE) and the database tables (normally created through construction Administration Tools) are the only two places where WSRP producer is stored for a consumer WSRP WLP.

    So, yes - you can add this file (or an entry in this file) in your web application, or the other possibility would be to create your own code that calls the ProducerManager API to implement the producer when the webapp deploys first of all to a new server to boot. You could make this code look in what that are the configuration files you wanted to, but I don't think it would be easier to just put information in wsrp producer - registry.xml.

    Thomas

  • NPE when registering remote Portlet in Weblogic Portal 10.3

    Hello

    I'm under Weblogic Portal 10.3 and try to create a remote portlet in my portal application. The remote Portlet is hosted on OC4J 10.3.1.1.1 and is consumed correctly on Oracle Portal without any error, however, when I try to access the portlet wsdl through the remote Portlet Wizard, I get the following exception when registering.



    Bq. {color: #3366ff}! ENTRY com.bea.wlp.eclipse.common 1 1 11:37:28.938 2008-10-06 {color}-{color: #3366ff}! \ MESSAGE [Portal-ERROR: http://forums.oracle.com/forums/] there was a problem submitting registration for this producer. {color}-{color: #3366ff}-reason = ProducerAgent::java.lang .NullPointerException: null {color}-{color: #3366ff}! \ ENTRY com.bea.wlp.eclipse.common 4 4 2008 - 10 - 06 11:37:28.938 {color} \ {color: #3366ff}! \ MESSAGE {color} \ {color: #3366ff}! \ STACK 0 {color}-{color: #3366ff}------java.lang.NullPointerException {color}-{color: #3366ff}------to weblogic.utils.encoders.CharacterDecoder.decodeBuffer(CharacterDecoder.java:188) {color}------{color: #3366ff}------to com.bea.wsrp.util.XmlUtils.decodeBASE64(XmlUtils.java:270) {color}------{color: #3366ff}------to com.bea.wsrp.bind.RegistrationContextImpl. & lt; init & gt;(RegistrationContextImpl.java:44) {color}-{color: #3366ff}------to com.bea.wsrp.client.ProducerAgentImpl.register(ProducerAgentImpl.java:258) {color}------{color: #3366ff}------to com.bea.wsrp.client.ProducerAgentImpl.register(ProducerAgentImpl.java:221) {color}------{color: #3366ff}------to com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.submitRegistrationDocument(ProducerAgent.java:384) {color}------{color: #3366ff}------to com.bea.wlp.eclipse.wsrp.portletbuilder.wizard.wsrp.SelectProducerPanel$ RegistrationRunner.run (SelectProducerPanel.java:1425) {color}-{color: #3366ff}------! ENTRY com.bea.wlp.eclipse.common 1 1 11:37:28.953 2008-10-06 {color}-{color: #3366ff}! \ MESSAGE [Portal-DEBUG | http://forums.oracle.com/forums/] RegistrationPanel::could do not have the registration document: null {color}

    {color: #3366ff}
    {color}


    {color: #000000} This producer is entirely consistent WSRP and works perfectly fine with Oracle Portal. Pointers where he might go wrong? {color}

    Andréanne

    There is a bug in WebCenter please upgrade to 10.1.3.4.1.

    Nate

  • Qosmio G55 - remote control selection double jumps

    On my Qosmio G55 when I use the remote control to go to the left or right for a selection in double, he jumps as its more sencertive and I can not choose what I want a lot of the time.

    This happens in windows 7 media Center.
    So is there a fix for this and if not is the toshiba MODEL No.: G83C0008A210 remote control compatible with this laptop?

    Thanks to anyone who can help me with this annoying problem.

    I'm glad to hear it. :)

  • Remote VPN connection double

    Hello guys

    I have created three different remote VPN connections with three different networks. I can do the reasons but for some I don't mix everything.

    and iam with Cisco asa 5505 software Shrew Soft VPN, then my problem is

    -J' connected Shrew soft vpn remote, if I try to connected another remote vpn connection that will not accept the second connection, so please can someone give me a remote vpn connection software that accepts multiple connections

    Hello

    Since you mention the ASA and the VPN, I guess you are trying to connect by VPN Client to the same ASA?

    Why would you want to have multiple connections from VPN clients at the same time? (Although I think that it is not yet possible)

    What are you trying to accomplish in these 3 different configurations of Client VPN configured on the same ASA?

    is it not just possible to configure a VPN Client to ASA connection that would treat all traffic from these 3 VPN Client connections?

    -Jouni

  • How do you enable closures remotely on a 98/XP/7 working group?

    How to activate the closures on a Windows 7 computer? I asked something similar once before, but it was concluded that Simple file sharing could be the culprit. (I turned that off as I rarely use Windows 98 more than a few people have forwarded copy of XP to me as they have replaced these computers with 64 - bit ones, and I did my WIn98SE a dual boot of the machine), and when I do, I usually play just a few old game.

    in any case, I am using-m or psshutdown shutdown. I have no idea how to get pstools to work. A tutorial on how to configure Windows so that I can use pstools would be useful, as would how to configure Windows 7 Professional to allow me to use the stop m XP command.

    The network that I am putting in place consists of two desktop computers and a laptop computer. Only a computer using Windows 7 Professional, others are using XP Professional. I'm trying to remote control them.

    I CAN close the system using telnet, but for some reason any, that it takes time to connect. Remote Desktop also works if I use the command line and the command of the force, but I expect to learn how to use shutdown - m.

    Here's a transcript of my attempts to stop the system by using shutdown-m and pstools. What should I do to make them work? I have the same user accounts set up on all three machines. Slick and SlickRCBD are my accounts. One is my normal account ("limited" 'standard' XP to 7) and the other is an administrator account. I am connected to the laptop as a tablecloth, a limited account.

    D:\Documents and Settings All Users\Documents\Downloads\PsTools > stop s f -.
    m \\slicksgateway
    The operation completed successfully.
    A required privilege is not held by the client.

    D:\Documents and Settings All Users\Documents\Downloads\PsTools > psshutdown u sl
    ickrcbd \\slicksgateway

    PsShutdown v2.52 - shutdown, logoff and power to manage local and remote systems
    Copyright (C) 1999-2006 Mark Russinovich
    Sysinternals - www.sysinternals.com

    Password:
    Could not access SLICKSGATEWAY:
    Access is denied.

    If SLICKSGATEWAY already makes a stop operation, you must
    He abandoned before issuing a different command.

    D:\Documents and Settings All Users\Documents\Downloads\PsTools > \\sli psshutdown
    cksgateway

    PsShutdown v2.52 - shutdown, logoff and power to manage local and remote systems
    Copyright (C) 1999-2006 Mark Russinovich
    Sysinternals - www.sysinternals.com

    Could not access SLICKSGATEWAY:
    Access is denied.

    If SLICKSGATEWAY already makes a stop operation, you must
    He abandoned before issuing a different command.

    D:\Documents and Settings All Users\Documents\Downloads\PsTools > psshutdown u sl
    ick \\slicksgateway

    PsShutdown v2.52 - shutdown, logoff and power to manage local and remote systems
    Copyright (C) 1999-2006 Mark Russinovich
    Sysinternals - www.sysinternals.com

    Password:
    Could not access SLICKSGATEWAY:
    Access is denied.

    If SLICKSGATEWAY already makes a stop operation, you must
    He abandoned before issuing a different command.

    D:\Documents and Settings All Users\Documents\Downloads\PsTools > psexec \\slicksg
    stop ateway s f

    PsExec v1.98 - execute processes remotely
    Copyright (C) 2001-2010 Mark Russinovich
    Sysinternals - www.sysinternals.com

    Could not access slicksgateway:
    Access is denied.

    D:\Documents and Settings All Users\Documents\Downloads\PsTools > slick u psexec
    stop \\slicksgateway s f

    PsExec v1.98 - execute processes remotely
    Copyright (C) 2001-2010 Mark Russinovich
    Sysinternals - www.sysinternals.com

    Password:
    Could not access slicksgateway:
    Access is denied.

    D:\Documents and Settings All Users\Documents\Downloads\PsTools > u slickr psexec
    CBD, stop \\slicksgateway s f

    PsExec v1.98 - execute processes remotely
    Copyright (C) 2001-2010 Mark Russinovich
    Sysinternals - www.sysinternals.com

    Password:
    Could not access slicksgateway:
    Access is denied.

    D:\Documents and Settings All Users\Documents\Downloads\PsTools >

    D:\Documents and Settings All Users\Documents\Downloads\PsTools > dir \\slicksgate
    way\users
    Volume in drive \\slicksgateway\users has no label.
    Volume serial number is 56DC-7906

    Directory of \\slicksgateway\users

    17/06/2012 12:27

    .
    17/06/2012 12:27 ...
    14/06/2012 21:29 public
    12/03/2012 08:00 Slick
    26/09/2011 21:14 slickrcbd
    0 file (s) on 0 bytes

    5 dir 420,978,741,248 bytes free

    D:\Documents and Settings All Users\Documents\Downloads\PsTools >

    A few notes.
    One, I edited the the duplicates, but I'm 100% positive, I typed the password. I use the same user name and passwords on all my computers. When I received the "access denied" message, I tried three times just to be sure.
    Two, I'm REALLY confused why I see my two accounts, but I don't see the other two users accounts when I did "dir \\slicksgateway\users". I expect to see all, or only see 'public' and 'slick' files since that was the account that I'm registered on two.

    Obviously, I need to do something to grant access to the system. How, I'm not sure. Telnet works. Remote administration works. File actions work. Ping works.

    I found someone to work who has thought about it and helped me as the boss wanted a way to run a program to ensure that everyone turn off their computers at the end of the day. Computers of the workshop are on a workgroup rather than a domain, and apart from a couple of computers that share printers, they are for the most part self-contained with little security systems as they are for the most part to test materials and users HAVE administrator accounts premises because they regularly install test equipment.

    He accompanied me in the creation of a security model. I managed to make it work on my XP desktop computer. Now, I have a question about security templates.

    I know that a model created in 2000, almost always work with XP, and a man named in XP will still work with Server 2003 (and I think vice versa, although the server may have more options). Do the same comparability and restrictions apply to the use of a model created in XP in Windows 7, or do I need to go through the same steps in 7 to make a new model?

    Also, is there a way I could apply the model to a Home of Windows version? I do not know how to apply security templates do not have access to things like the local security policy. I'm afraid the only computer I have with a Home set up version is Vista Home, if it makes a difference.

    * * * *

    1. Here are the steps to make the model:
    2. Use an administrator account and run MMC.

    (If you do NOT want to mess with the creation of a model and you want to just allow the stopping distance on a single machine, use secpol.msc. Gpedit.MSC also works)
  • Right-click on the directory and create a new model. Call it what you want (I called him "RemoteShutdown". Pass it if you use the tool secpol or gpedit)
  • Expand "Local policies" and "user rights assignment".
  • Find "Force shutdown from a remote system" and double-click it.
  • Here, it varies, if you want to only some users, add them here in the box. However, if you want groups, including groups integrity as the 'administrators' 'users' and 'interactive', you NEED to click on 'Browse' and then click on object types and check the box for groups. Enter the name of the group, and then click the button "check names". You have to go through this for each group or for some reason any, that it might not work. I tested and confirmed it does not always recognize the 'users' group unless you go through these extra steps. That's why I had so much trouble.
  • Then repeat steps 5 and 6 using the "Shut down the system" policy Adding the 'interactive' group here can also be a good idea. It is very important that any user or group that you entered in step 6 also be entered here.
  • Save the model. Install and apply the model to all computers on the network you want to be able to remotely close.
  • Producer for the webcenter portlet application deployment

    I created a producer of portlet webcenter application. Can I deploy this project to a non-webcenter weblogic server instance portal?

    Hello.

    WebCenter Portal only works with the active WSRP Portlets because it consumes remote portlets.

    Yes, you can deploy your producers in a separate area, , but in a managed, server ready to be a producer of Portlet (WC_Portlet) created using the installer of WebCenter portal. You will need to take into account to set the security domain and other stuff to allow this architecture work.

    Summarize:

    -Domain A with WC_Spaces server with WebCenter managed portal

    -The domain B with WC_Portlet Server (created using the WebLogic Portlet from the HOUSE of the WebCenter Portal model) managed

    It answers your question? I think the thread has become confused.

    Kind regards.

  • Not to redeploy the application portal together whenever we change a portlet

    Hi people,
    I have about 50 Struts portlets in my weblogic portal, depending on the architecture of portlet struts in the documentation, so we now have one ear that ends that whenever we change any portlet we will need to redeploy the entire portal :(!
    I read on the Federated portal, but it seems that its great advantage is when your portal wants to consume remote portlets deployed in distant producers, but this isn't my case, since all my portlets are local, so I think that there could be a simpler solution (* as in websphere where we have a separate war for each portlet *)
    any suggestions? would be great if you can provide any resource or links document the steps necessary to achieve
    Thanks a lot :)

    Hello

    WSRP, what you probably want to use. Yes, WSRP is used to consume remote portlets deployed in producers 'at a distance', but it is worth noting that "at a distance" simply means that the portlet is in a different Web application. This could be on a different physical server, or a different WAR simple within the same EAR. Using WSRP for consuming portlets, you can configure your application where each portlet is in its own WAR, if you wish.

    When you use WSRP to access portlets that run on the same JAVA virtual machine, "proxy local mode" allows a much faster access to portlets by eliminating support for WSRP communication network. Documentation on how to use the local proxy mode can be found here:

    http://download.Oracle.com/docs/CD/E15919_01/WLP.1032/e14235/chap_best_practices.htm#i1012045

    Kevin

  • WSRP Portlets question 10.2 WLP

    Hello

    I am consuming asp .net remote portlets in the WLP 10.2 environment. During our load test, I noticed that definition desktop is refreshed whenever I change tabs in my WSRP portlets.

    I noticed in each query sent by the consumer, there is an element of context portlet sent and the producer sends the same response back. With the help of interceptor JDBC, I observed that this sql call


    prepareStatement netJDBCConnection30 (UPDATE PF_PROXY_PORTLET_INSTANCE SET
    PORTLET_HANDLE =?, PORTLET_STATE_CHANGE =?, PORTLET_STATE =? WHERE
    PORTLET_INSTANCE_ID =? )

    I don't know if the consumer considers the response of the producer as the change and updates the table of pf_proxy_portlet-instance causing performance.

    Is there an API I can use to modify the < portletContext > items.

    Thank you

    Hello

    To answer your questions:

    (a) I would suggest that you contact Oracle support and number #9857740.

    (b) the producer probably shouldn't send the portletContext with portletHandle in response unless something has changed (just to save on network traffic, if nothing else), but it is not against the WSRP specification, so it is allowed.

    (c) the stuff of caching control-tree is complex and there is an interaction between storing an instance of 'new' portlet which is not really new and the cache tree control. See answer to question (a).

    (2) Unfortunately, the portletContext is not editable in WLP WSRP interceptor on a response context, so not.

    (3) No, WSRP interceptors are a feature of consumer only WLP. However, in the WLP producers, it has an option to use XML transformations to modify outgoing SOAP messages. Maybe your producer has a similar option. If you can eliminate the portletContext starting from the SOAP message out if the portletHandle was the portletHandle even the consumer sent on demand, you should not see the consumer WLP storing the information in the database for each call.

    Kevin

  • Trying to spread on WLP10 when the remote producer implements WSRP 1.0

    Hello

    Does anyone know if there is a problem of my portal which consume remote portlets implementation of WSRP 1.0 specification only multiplication?

    We seem to have some issues around portlet preferences in this portlet itself get propagated to the destination, but there is no preference.

    Any idea what the minimum standards are required when using the spread for the portals of federeated would be really useful.

    Thank you for your time.

    Kind regards
    Jonathan

    Hello Jonathan.

    Unfortunately, TAKE WSRP portlet preference values are stored by the producer, so you have the producer to provide the values of preference started to spread. In WSRP 2.0, there is an option called portlets of import/export feature that allows this, but more of WSRP 1.0 has no way of the spread of WLP tool spread remote portlet preferences.

    It may be possible on the side of producer to copy the database from preferences to your producer of destination somehow - I do not know how JBoss stores portlet preferences. But unfortunately, the spread of WLP tool can help here.

    Kevin

  • Question of packaging portlets JSR 168

    Hello

    I have a bunch of Java (JSR 168, using Spring MVC) portlets (PortletOne, PortletTwo... PortletN) that I've created as individual Web portal projects and are contained in a portal REE project. This portal EAR is my unit of deployment and consists also of another project of Portal Web (Assembly.war) that contains an app.portal file where I intend to assemble all these Java portlets and use it to create a desktop computer. The reason for having all individual portlets in web projects that is clean is to export it to a device and use it as a shared library or package in the EAR another file as necessary.

    my application.xml looks a bit like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
    
         <display-name>MyEar</display-name>
    
         <module id="WebModule_1">
              <web>
                   <web-uri>Assemby.war</web-uri>
                   <context-root>appname</context-root>
              </web>
         </module>
    
         <module id="WebModule_2">
              <web>
                   <web-uri>PortletOne.war</web-uri>
                   <context-root>PortletOne</context-root>
              </web>
         </module>
         
         <module id="WebModule_3">
              <web>
                   <web-uri>PortletTwo.war</web-uri>
                   <context-root>PortletTwo</context-root>
              </web>
         </module>
    </application>
    But since all these WAR files are at the same level that I can't refer to definitions of context and the controllers for the portlets defined in each of these portlet WAR files (PortletOne, PortletTwo,...) of the joint web project that contains the file app.portal in Assembly.war. I tried to set up a structure of classes customized in weblogic - Chargers application.xml and put the war on a lower level assembly file, but the app even not a not deploy with IllegalAccessError as soon as a framework for each of the war files is saved by the hot deployment of processes. Moreover, when I deploy the EAR file, the portlets defined in each of the WAR files do not appear in the resource library, seen from the Portal Administration console.

    Suggestions how to assemble these common individual portlets in a web project, while keeping their packaged in the same EAR file? Other approaches are also welcome.

    I've already reviewed deploy these files of WAR portlet like Weblogic J2EE of shared libraries. But with this approach, the overall application response time is very slow despite exhausting all the tuning options and can also precompile JSP pages in shared libraries.

    Is to import the JSR-168 portlets using the import utility as WSRP portlets ARE a viable option? I'll be able to share in portlets all session variables, of fire and manage events and be able to precompile the JSP in Rible portlets?

    Published by: shyam6190 on August 13, 2009 13:25

    Hello

    Maybe the nested multiple classloaders involved with shared libraries approach slows down, it down-if this is the case, it would be difficult to fix.

    With the help of WSRP should work for you; There is a little more complex, but if you have relatively simple portlets, use methods and tags correct JSR168 (or done spring bridge), it shouldn't be too difficult to get to work. The IDE may be able to help you with that; You can create a new portlet type 'remote portlet' in your aggregate webapp, and a wizard will guide you through the steps. If you use the local proxy mode, individual portlet WSDL URL will be the URL of the Web application for each portlet on localhost.

    WSRP configuration can also be done dynamically in the tools of administration of portal, and even using a specialized tool to import JSR168, but these two options would create instances of database portlets and portals in your webapp library. It would be nice if your EAR group does not need to move to a different deployment environment, but if you need portability of the EAR in another environment it makes packing, as data is also necessary. If you happen to use WLP version 10.3, according to me, there is a bug that prevents the import JSR168 tool specialized to work, but the tool is documented here:

    http://download.Oracle.com/docs/CD/E13155_01/WLP/docs103/prodOps/deployment.html#wp1047337

    Because all WSDL URL show up only on the local host, when you compress the associate WAR file it should successfully deploy on all servers. Information about the local proxy mode, which should improve the performance of your configuration, are described here:

    http://download.Oracle.com/docs/CD/E13155_01/WLP/docs103/Federation/chap-Best_Practices.html#wp1010714

    I hope this helps!

    Kevin

  • Creation of a portlet preferences page

    Hello, I will follow this tutorial: http://download.oracle.com/docs/cd/E13158_01/alui/wci/docs103/devguide/tsk_portlets_creatingprefspage_portlet.html

    I get confused on the first line where it says this "deploy page on the remote server that hosts the portlet. The page hosting the portlet is created via the Admin UI, I do not understand what it means. In addition, I don't know how this portlet preferences page is created. It is said that once you enter the page hosting the portlet in the url, the pref page is specified in the editor preferably from the web service. This means that the portlet preferences page is created automatically?

    no forced structure, you must just IDK allows you to set variables based on the input of forms...

    example of page in .NET

         
              


                   

    SMTP
    Server
                        


                   

    User of the remote session
    name:
                        


                   


    User of the remote session
    password:
                        


                   

     


                   


                         
                        


              

         

    using System;
    using System.Collections.
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Web;
    using System.Web.SessionState;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.HtmlControls;

    using Plumtree.Remote.Portlet;

    namespace ContactUsPortlet
    {
    ///


    Description summary of adminprefs.
    ///

    public class adminprefs: System.Web.UI.Page
    {
    Public Shared ReadOnly Property RemoteUserNamePrefName as string = "ContactUsRemoteUserName";
    Public Shared ReadOnly Property RemoteUserPasswdPrefName as string = "ContactUsRemoteUserPasswd";
    Public Shared ReadOnly Property SmtpServerPrefName as string = "ContactUsSmtpServer";

    protected System.Web.UI.WebControls.Button saveButton.
    protected System.Web.UI.WebControls.Button cancelButton;
    protected System.Web.UI.WebControls.TextBox userNameTextBox;
    protected System.Web.UI.WebControls.TextBox passwordTextBox.
    protected System.Web.UI.WebControls.TextBox smtpServerTextBox;

    private Plumtree.Remote.Portlet.IPortletContext ptContext = null;
    private Plumtree.Remote.Portlet.IPortletRequest ptRequest = null;
    private Plumtree.Remote.Portlet.IPortletResponse ptResponse = null;
         
    private void Page_Load (object sender, System.EventArgs e)
    {
    ptContext = Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext (Request, Response);
    ptRequest = ptContext.GetRequest ();
    ptResponse = ptContext.GetResponse ();

    If (! this.) IsPostBack)
    {
    String perfSMTP = ptRequest.GetSettingValue (SettingType.Admin, SmtpServerPrefName);
    If (perfSMTP! = null)
    this.smtpServerTextBox.Text = perfSMTP;
    String prefUserName = ptRequest.GetSettingValue (SettingType.Admin, RemoteUserNamePrefName);
    If (prefUserName! = null)
    this.userNameTextBox.Text = prefUserName;
    String prefPasswd = ptRequest.GetSettingValue (SettingType.Admin, RemoteUserPasswdPrefName);
    If (prefPasswd! = null)
    this.passwordTextBox.Text = prefPasswd;
    on the other
    this.passwordTextBox.Text = "enter password";
    }
    }

    ' private void saveButton_Click (object sender, System.EventArgs e)
    {
    ptResponse.SetSettingValue (SettingType.Admin,
    SmtpServerPrefName,
    this.smtpServerTextBox.Text);
    ptResponse.SetSettingValue (SettingType.Admin,
    RemoteUserNamePrefName,
    this.userNameTextBox.Text);
    ptResponse.SetSettingValue (SettingType.Admin,
    RemoteUserPasswdPrefName,
    this.passwordTextBox.Text);
    ptResponse.ReturnToPortal ();
    }

    ' private void cancelButton_Click (object sender, System.EventArgs e)
    {
    ptResponse.ReturnToPortal ();
    }
    }
    }

  • document. Write (.) not taken in charge for portlets. Please use an alternative.

    Hello

    I use a .net page that has a third-party control (RTB). The page looks good, but however I encounter the following message on each page load.

    «document.write (.)» not supported for portlets. Please use another approach. »

    I enclose the message below is rendered after the closing html tag.

    (1) at - it an option to disable this option?
    (2) have you used a rtb without any problem on your remote portlets?




    < script type = "text/javascript" >
    If (! document.getElementById |! document.getElementById ('PTPortletErrorSPAN_1932')) {}
    document. Write (' </span >'); allowed
    }
    If (typeof (window. (PTWCControl_3_1) == "undefined") alert ("could not find the Plumtree EDK .NET Web script library controls 3.1 postbacks.") Please install by running the installer of EDK .NET Web controls 3.1 on the imageserver. ") < /script > < script type =" text/javascript"> alert ("document.write (.) not supported for portlets. Please use another approach. ») ; < /script >

    I used fckeditor with some success. Editor / PEP products use the RTE dojo. everything is pure client-size would be easier to incorporate in my opinion.

Maybe you are looking for

  • Digital Coaxial output for audio/video receiver - does not

    I connected my LCD TV to my office from HP (9340f) using the S-video output on a Nvidia 9800GT video card.  The video is awesome, but I can't get the sound to work on my Harmon Kardon AVR146 receiver.  I plugged the exit at the back of the HP to the

  • Why Skype has a lot of problems?

    I bought the number online for my business and I have forwarded to my cell phone, on my next button is and number is correct but when some body call me as Skype's sign I could not login! Another thing I have fixed Unlimited subscription Europe and I'

  • Satellite L300D PSLC8C does not start

    I'm in a lot of trouble here with my laptop.I have a satellite L300D MODEL NO = PSLC8C 04401R series and this is what is wrong. It does not start. I have the power of Yes, and it dosent seem to work at all.I used to run vista Home premium on it but s

  • Cannot remove the unwanted Internet connection

    I have a few days ago, I had to disable my internet to install something. When I tried to reconnect my internet I couldn't, later I found out that I turned off my LAN cable to connect my computer to the modem. Its all working now, but I have 1 questi

  • TCP Intercept feature

    If I understand the documentation, I need an embryonic limit on my static commands to enable syn attack, it blocks my pix. However, I am not clear on what constitutes a reasonable limit embryonic. We have several servers open to various ports includi