Deploy jsr168 portlet issue by jsr168import.jsp

hi,guys
I got a question.
I want to deploy some 168 portlet to weblogic portal,so I follow the document.
after perform import done,show me the message,it means successful.then I open a tab of browse
(http://localhost:7001/rssportlet/producer?wsdl)
put the wsdl address URL,it was show me the wsdl content.
but when I create new producer,in the second step,I can't see the portlet,it means no portlets for me.
(2. View Producer's Portlets,I can't see my deployed portlet)
what wrong with my operated.
hope you can help me ,thank you so much.
regards
aris

Hello again,
I should mention that as a workaround, you can use the JSR168 import tool as it exists in WLP 10.3 and have it generate but not deploy the EAR file for you. Inside the EAR you should find a directory named the same as your original WAR file with a WEB-INF/ subdirectory. You should be able to copy all of the generated configuration files out of this WEB-INF/ directory. Go back to the root level directory of the EAR (which has a subdirectory named the same as your original WAR file), expand your original WAR file there so that it overwrites the WAR directory, then copy the configuration files you saved off back into the WEB-INF directory. Finally, jar up the EAR file again and it should be ready to deploy.
Kevin

Similar Messages

  • Problem deploying JSR168 portlets; Tomcat, Win2003

    Dear All,
    Am having some problems deploying the JSR168 portlets on Tomcat 4.1 and Win2003.
    This is on Windows, and I have to manually deploy it per the instructions...
    So far I__
    1. Exploded the .war and added ptjsr168 to pthome.xml per the sparse installation pdf;
    2. stopped tomcat, deleted the cache (contents of the work directory), restarted.
    3. verified that the application appears in the work directory
    but get the error,
    /PtPortletContainer/portlet/RssPortlet/mode/view
    descriptionThe requested resource (/PtPortletContainer/) is not available.
    ...when I try to browse there to get the correct URL tp paste into the remote server, something like:
    http://portlets.mycustomer.com:8080/ptjsr168/
    The extension to this in the web service is, by default:
    /PtPortletContainer/portlet/RssPortlet/mode/view
    I may be typing the URL wrong, for all I know. Something simple.
    Any ideas?
    Cheers,
    Rob

    You can verify whether your portlet works correctly by testing it on OpenPortal Portlet Container(https://portlet-container.dev.java.net). Or if you think the issue is with Pluto Portal I would recommend posting your issue on the Pluto Portal mail alias.

  • Deploy jsr168 portlet in weblogic

    Hi,
    I'm developing a jsr168 portlet that I would like to be able to deploy in the Weblogic Portal (among others).
    The problem is, after much searching, that I can't figure out how to do it.
    In Websphere I just deploy the .war file through the portal administration web interface and away I go.
    In jetspeed2 I just drop the .war file in the deploy folder and it gets deployed.
    Is there anything similar for Weblogic?
    I've currently got 8.1 SP4 installed.
    I've seen and even tried the portletPreparer tool but I can't get it to work (dependencies on bea classes that I can't find).
    Any help or tips on how to deploy a portlet in a .war file would be greatly appreciated.
    Cheers,
    Eric

    Hi,
    Generally while creating a jar file for deplyong a EJB on an App Server, create a folder called META-INF and copy all your xml files to this folder
    this command could be part of your build.xml if ur using ant
    mkdir build build\META-INF
    copy *.xml build\META-INF
    Then compile ur java files and then create the required jar or ear file for deployment.
    Rgds,
    Seetesh

  • Jsr168 portlet issue

    Hi,
    1. I developped two jsr168 portlet and deployed them to java portlet container successfully, but the status of one is always not loaded, against, the status of the other is loaded, do you why?
    2. i want to add the portlet which its status is loaded to my page, but I cann't find it in the portal builder. Do you know where is it or how to find it or how to add a jsr168 portlet to a page after deploying it?
    thanks very much
    jason

    Thanks very much for your reply.
    because i don't want to use the JDeveloper to help me to develop and deploy the jsr168 compliant portlet on oracleAS10g Portal, so my question is that how to add my jsr168 portlet to a page when i deploy it successfully?
    In fact, I already finish developping the jsr168 portlet and deploy it to java portlet container on oralceAS10g successfully. but i cann't find it in the portal builder, so i don't know how to add it to my page. can you give me more information about it in detail? I don't think i can get enough information from the developer's guild pdf document, i read it, but i still cann't figure out my problem.
    thanks again
    jason

  • Deploying JSR168 Portlet's into Portal

    Hi,
    I developed a simple ADF portlet's in Jdev 11g. I also deployed into integrated WLS (as shown in Oracle's developer guide) and the URL http://host:port/context-root/portlets/wsrp2?WSDL shows WDSL correctly
    Now I want to deploy the same portlet into an external Weblogic Server 10.3. I created and uploaded the .war file and deployed via weblogic console.
    The deploy seemed to finish correctly because I see in the console my web application deployed but I don't see the wsdl (in http://externawlshost:port/context-root/portlets/wsrp2?WSDL).
    Until the WSDL is visible I can't add the producer to Oracle Portal.
    Do I need to do something else in the deploy process?
    Thank You,
    Andre

    Hi All,
    I am facing the same issue. My ADF portlet application got deployed successfully into integrated weblogic server and can access the WSDL end point also.
    But when I am trying to deploy it to an external weblogic through weblogic console, could not able to access the WSDL url.
    Can anbody tell me what could be the issue. Do I need to have a WSRP container in my weblogic? If so, how to install it?
    --Abhijit                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Dicussions configuration - issue with deploy-jive-portlet.jar deployment

    Hi,
    I'm setting up discussions on 10.1.3.2 webcenter out of the box install. After running this command on linux: java -client -Dhttp.proxyHost=www-proxy.us.oracle.com -Dhttp.proxyPort=80 -jar deploy-jive-portlet.jar
    I do not have updated jiveforums-5.1.0.jar file in $ORACLE_HOME/j2ee/OC4J_Jive/applications/owc_discussions/jiveforums/WEB-INF/lib, instead only the old backup file jiveforums-5.1.0.jar_backup exists in that directory.
    I found out that during the time I run the comman a tmp (e.g. called jiveforums-5.1.0.jar30019.tmp) gets created in the /tmp directory of my linux server. I extracted xwork-community.xml from the tmp file and noticed differences (e.g. added SSO classes) compared to the xwork-community.xml from the backup jiveforums-5.1.0.jar_backup file.
    I've now manually copied the temporary file to $ORACLE_HOME/j2ee/OC4J_Jive/applications/owc_discussions/jiveforums/WEB-INF/lib and discussions login seems to work fine (through sso).
    I've followed these two instructions with the setup but with both I got same result (i.e. updated jiveforums-5.1.0.jar missing and changed jiveforums-5.1.0.jarxxxtmp created in /tmp)
    http://download-west.oracle.com/docs/cd/B32110_01/webcenter.1013/b31074/jpsdg_jive.htm#CBBHFIIA
    and
    Note: 458616.1
    I would like to ask is there some known bug with the discussions configuration (I have not managed to find anything from webiv) which causes this? And is the work-a-round which I've done (using tmp file) possibly valid one or is it likely something will break later on because of this?
    Thanks!

    Hi - just wanted to also update the output of the deployment command as that did not have any errors which would have shown why the file was not created in the expected directory. Here is the output:
    $ java -client -Dhttp.proxyHost=www-proxy.us.oracle.com -Dhttp.proxyPort=80 -jar deploy-jive-portlet.jar <
    File "/u01/app/oracle/product/webcenter_1013/j2ee/OC4J_Jive/applications/owc_discussions/jiveforums/WEB-INF/web.xml" modified successfully
    Extracting "xwork-community.xml"...
    File "/u01/app/oracle/product/webcenter_1013/j2ee/OC4J_Jive/applications/owc_discussions/jiveforums/xwork-community.xml" modified successfully
    File "jiveforums-5.1.0.jar" modified successfully
    Extracting "WEB-INF/WSRP_v1_Service-java-wsdl-mapping.xml"...
    Extracting "WEB-INF/WSRP_v2_Service-java-wsdl-mapping.xml"...
    Extracting "WEB-INF/classes/DataBindings.cpx"...
    Extracting "WEB-INF/jive-portlet-for-web.xml"...
    Extracting "WEB-INF/jsso-action-classes.xml"...
    Extracting "WEB-INF/lib/oracle-jive-portlet-10.1.3.2.jar"...
    Extracting "WEB-INF/lib/oracle-portlet-tags.jar"...
    Extracting "WEB-INF/oracle-portlet.xml"...
    Extracting "WEB-INF/oracle-webservices.xml"...
    Extracting "WEB-INF/orion-application.xml.default"...
    Extracting "WEB-INF/portlet.xml"...
    Extracting "WEB-INF/webservices.xml"...
    Extracting "WEB-INF/wsdl/WSRP_v1_Service.wsdl"...
    Extracting "WEB-INF/wsdl/WSRP_v2_Service.wsdl"...
    Extracting "WEB-INF/wsdl/wsrp_v1_bindings.wsdl"...
    Extracting "WEB-INF/wsdl/wsrp_v1_interfaces.wsdl"...
    Extracting "WEB-INF/wsdl/wsrp_v1_types.xsd"...
    Extracting "WEB-INF/wsdl/wsrp_v2_bindings.wsdl"...
    Extracting "WEB-INF/wsdl/wsrp_v2_interfaces.wsdl"...
    Extracting "WEB-INF/wsdl/wsrp_v2_types.xsd"...
    Extracting "WEB-INF/wsdl/xml.xsd"...
    Extracting "WEB-INF/wsrp_mime_cs_mappings.properties"...
    Extracting "oracle/jive/discussions/CategoryRenderer.jsp"...
    Extracting "oracle/jive/discussions/ThreadRenderer.jsp"...
    Extracting "oracle/jive/discussions/categoryview_qualifier.png"...
    Extracting "oracle/jive/discussions/createtopic_ena.png"...
    Extracting "oracle/jive/discussions/discussions_qualifier.png"...
    Extracting "oracle/jive/discussions/home_ena.png"...
    Extracting "oracle/jive/discussions/replytopic_ena.png"...
    File "../META-INF/orion-application.xml" generated successfully
    Enter the full path to your jiveHome directory:
    /u01/app/custom/discussions/jive_forums_silver_5_1_0/jiveHomeFile "/u01/app/oracle/stage/webcenter_101320/webcenter_additional_service/discussions/jive_forums_silver_5_1_0/jiveHome/jive_startup.xml" modified successfully
    Deployment Complete
    Thanks!
    Nina

  • Jsr168 portlet deployment problem in Apache Pluto...

    Hi Friends ...i am new to this Apache Pluto..
    Accuvally i am trying to deploy my portlets in Apache Pluto 1.1.7 with Tomcat 5.5.20
    i tried with the Following procedure
    http://portals.apache.org/pluto/v11/deploying.html
    but after deploment and when i am hitting the Page i am getting the Problem like
    Error rendering portlet.
    javax.portlet.PortletException
         at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:191)
         at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101)
         at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:172)
         at org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152)
         at org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_portlet_0(portlet_002dskin_jsp.java:99)
         at org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:74)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
    Could any one help in resolving this ...
    And i have one more doubt .....
    Using Maven tool and creating WAR ... is this compulsory to  Deploy any portlet in Apache Pluto ?+
    Thanks & Regards
    Suresh.Vadlamudi

    Hi Friends ...i am new to this Apache Pluto..
    Accuvally i am trying to deploy my portlets in Apache Pluto 1.1.7 with Tomcat 5.5.20
    i tried with the Following procedure
    http://portals.apache.org/pluto/v11/deploying.html
    but after deploment and when i am hitting the Page i am getting the Problem like
    Error rendering portlet.
    javax.portlet.PortletException
         at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:191)
         at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101)
         at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:172)
         at org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152)
         at org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_portlet_0(portlet_002dskin_jsp.java:99)
         at org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:74)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
    Could any one help in resolving this ...
    And i have one more doubt .....
    Using Maven tool and creating WAR ... is this compulsory to  Deploy any portlet in Apache Pluto ?+
    Thanks & Regards
    Suresh.Vadlamudi

  • JSR168 Portlet Exception with Oracle OC4J and Spring

    JSR168 Portlet Exception with Oracle OC4J and Spring
    I’m having a problem with accessing a Spring JSR168 Portlet when deployed on Oracle OC4J. I have created a very simple portlet that just renders simple jsp page. I created two versions. One using GenricPortlet and one using org.springframework.web.portlet.mvc.AbstractContro ller. The non-Spring portlet deploys and runs as expected. The Spring portlet deploys but throws the following exception
    Code:
    07/11/05 08:23:44 [ERROR] DispatcherPortlet - Could not complete request <javax.portlet.PortletException>javax.portlet.PortletExcept
    ion
    at oracle.portlet.server.containerimpl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:74)
    at org.springframework.web.portlet.DispatcherPortlet.render(DispatcherPortlet.java:1077)
    at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:809)
    at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:475)
    at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:445)
    at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
    at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:161)
    at oracle.portlet.wsrp.v1.WSRPv1ToServer.getMarkup(WSRPv1ToServer.java:4512)
    at oracle.portlet.wsrp.v1.WSRP_v1_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v1_Markup_PortTypeSoapToJaxb.java:68)
    at oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v1_Markup_Binding_SOAP_Tie.java
    :60)
    at oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_Markup_Binding_SOAP_Tie.processingHook(WSRP_v1_Markup_Binding_SOAP_Tie.java:7
    79)
    at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:86)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.servlet.ServletException: Error in servlet
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:759)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160)
    at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51)
    at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102)
    at oracle.portlet.server.containerimpl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:65)
    ... 34 more
    Nested Exception is javax.servlet.ServletException: Error in servlet
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:759)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160)
    at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51)
    at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102)
    at oracle.portlet.server.containerimpl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:65)
    at org.springframework.web.portlet.DispatcherPortlet.render(DispatcherPortlet.java:1077)
    at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:809)
    at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:475)
    at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:445)
    at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
    at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:161)
    at oracle.portlet.wsrp.v1.WSRPv1ToServer.getMarkup(WSRPv1ToServer.java:4512)
    at oracle.portlet.wsrp.v1.WSRP_v1_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v1_Markup_PortTypeSoapToJaxb.java:68)
    at oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v1_Markup_Binding_SOAP_Tie.java
    :60)
    at oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_Markup_Binding_SOAP_Tie.processingHook(WSRP_v1_Markup_Binding_SOAP_Tie.java:7
    79)
    at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:86)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    2007-11-05 08:23:44.085 WARNING An internal error has occurred in method getMarkup()
    I have managed to deploy and run the Spring portlet using Sun App Server and Sun Portlet container with no problems which leads me to believe my Spring setup is correct.
    I also have managed to run the Spring pets portlet example on Sun App Server and Sun Portlet container with no problems. But again it fails on Oracle with the same problem.
    To deploy on Oracle I ran the oracle wsrp jar against my EAR. As far as I can tell it has not corrupted any of the Spring setup in the web.xml.
    The version are as follows
    Oracle Portal 10.1.4 running on OAS 10.1.2
    calling the portlet using WSRP v1.
    The portlet is running on standalone OC4J 10.1.3.3 with Oracle portlet container 10.1.3.2. On Windows Spring 2.0.6.
    Any ideas? Thanks Paul

    Was an answer ever found? I am currently experiencing the same issue.
    Edited by: user10567841 on Nov 8, 2008 12:21 PM

  • How to debug JSR168 portlets

    Hi,
    Is there a way to debug the jsr168 portlets from Jdeveloper, possibly using remote debugging feature? If yes, appreciate step-by-step instruction on this.
    I have posted a query related to remote debugging here:
    Remote Debugging (Jdev 10.1.3 to AS 10.1.3)
    Thanks,
    Pandian.

    I'm not sure I understand your question. It sounds like you have JSF (faces) components and JSP pages; do you also have JSR168 portlets? The WEB-INF/portlet.xml file should have nothing to do with JSF / JSP pages; it is used only to declare JSR168 portlets.
    To try and answer your question though, if you have JSR168 portlets listed in WEB-INF/portlet.xml, these portlets should show up in the administrative tools when the webapp deploys.

  • How to expose JSR168 portlets from existing JSF webapp?

    Hi all,
    I have a web application with JSF components, and a set of JSP pages that use these components. In WEB-INF, I also have a standard portlet.xml which describes what JSP page to expose for the declared portlet(s).
    Is there any administrative interface in the WebLogic Portal that would automatically detect these portlets as soon as I deploy the webapp, so that I can display them ? My idea is that as soon as this webapp with the portlet.xml is deployed, my portlets should be added to the list of available portlets somewhere. Is that so with the WebLogic portal ? Thanks very much for your feedback.
    P.S: I am using WebLogic Portal 10.0
    Regards,
    Angel

    I'm not sure I understand your question. It sounds like you have JSF (faces) components and JSP pages; do you also have JSR168 portlets? The WEB-INF/portlet.xml file should have nothing to do with JSF / JSP pages; it is used only to declare JSR168 portlets.
    To try and answer your question though, if you have JSR168 portlets listed in WEB-INF/portlet.xml, these portlets should show up in the administrative tools when the webapp deploys.

  • Jsr168 portlet problem

    Hi,
    I am creating a JSR168 compliant portlet with
    A single form that contains:
    - a search field
    - a table that displays radiobuttons and search query results
    - a button that sets a navigation parameter depending on the itemID that was picked from the table
    The problem is that while my search-query parameter is processed fine when running the application locally,
    I can not access the input parameter when the portlet is deployed to an OC4J container on a Webcenter Application Server and running in an ADF Faces jspx dashboard.
    In my portlet JSP page I have the search field:
    <input type="text" name="query">
    and I process it with a page refresh and the following:
    request.getParameter("query")
    which turns out to be null in the deployed portlet.
    when I do request.getParameterNames() I get different results depending on whether I run the application in JDeveloper, or when I deploy the portlet and I run it in the dashboard.
    getParameterNames() in the deployed portlet only displays my navigation parameter, while getParameterNames() running locally only displays my query parameter.
    It seems as if parameters need to be treated differently. Any input would be appreciated!

    Hi,
    In view.jsp, I have the following under <portlet:defineObjects/>:
    String actionURL = "view.jsp";
    if (renderResponse != null) {
    actionURL = renderResponse.createActionURL().toString();
    My form is defined like this:
    <form method="POST" action="<%= actionURL %>">
    Thanks in advance!
    Louisa

  • Edit mode in JSR168 Portlet

    Hi all,
    I m using Portal version 10.1.4 and developing JSR168 Portlet using JDeveloper 10.1.2.1.0 (Build 1913).
    There is a edit mode in my portlet and i have done entry for this mode in portlet.xml and also implemented doEdit() method.
    inside doEdit() method i have also written response.setContentType("text/html");
    Successfully deployed the .ear and also registered the WSDL url.
    But when i click on the Personalize link of the portlet then a page comes with a message
    Error: Could not get markup. The cookie or session is invalid or there is a runtime exception.
    And the error in wsrp_default_island_1\application.txt is
    javax.portlet.PortletModeException: Portlet mode "edit" is not allowed in current context
         at oracle.webdb.wsrp.server.PortletURLImpl.setPortletMode(Unknown Source)
    Could any one tell me where i m doing wrong.
    help will be appreciated..
    Thnx
    ~Neeraj Sidhaye
    Try_Catch_Finally @ Y !
    ExtremePortal @ Gmail Dot Com

    Hi Harsha,
    Actually there is a problem with setPortletMode method of PortletURL.
    When i use
    PortletURL portletURL=renderResponse.createActionURL();
    portletURL.setPortletMode(PortletMode.EDIT); (Although it is not required , but in case if situation occurs like if i want to change the mode then it will fail)
    In this case if i click on Personalize link then it is throwing an exception.
    Is it bug with Oracle Portal , i don't know....
    When i comment that code then every thing is working perfectly for me
    and the required jsp is rendering in Edit mode of the Portlet.
    Comments ans Suggestions are welcome at 24*7 :-)
    Thnx
    ~Neeraj Sidhaye
    Try_Cactch_Finally @ Y !
    ExtremePortal @ Gmail Dot Com

  • JSR168 portlet packaging?

    From the JSR168 spec, (which is similar to how other portals seem to behave
    with their proprietary APIs), a JSR168 portlet application appears to be a
    WAR with a portlet.xml and web.xml conforming to the requirements of the
    spec, that can then be installed in any portal.
    From my superficial knowledge based on skimming the WL8.1 portal docs
    recently, WL portlet development appears to be done within a Portal WAR such
    that the portlet(s) are just components of the portal war itself.
    How are these two supposed to work together in the WLP env? Say I develop a
    couple JSR168 portlets in my own Java environment (emacs :-) and then WAR
    them up and install them into Jetspeed-2 and another 168 compliant portal
    when available (eg, IBM's 5.something). I believe those would accept my
    portlet WAR and keep them in that WAR and just reference them from their
    Portals. How would WL8.1.x handle such development (outside of Workshop/WL)
    and deployment to a WL8.1.x portal? Do I have to merge my JSR168 based
    portlet WAR (and thus a web.xml and portlet.xml merge) into the Portal WAR
    (eg, if I want to ship a script to deploy my portlet WAR into an existing
    WL8.1 portal?) or will WL8.1.x be able to reference a Portlet WAR outside of
    a Portal WAR?
    TIA - a confused potential portlet developer...

    I agree with what Joe said...
    BTW, I (and I assume Joe) think JSR168 is a good thing - and it's great that
    WLP has the first prototype of it out there - don't get me wrong, I like it,
    I'd just prefer if it were easier to deploy to given portlets coming in from
    multiple sources being added into an existing portal. From Joe's case, he
    probably doesn't want to have to merge the portlet.xml files. From my case
    as a supplier of portlets, I'd rather not have to have to create different
    install tools/docs/procedures for my customers for each portal vendor now
    that I can have standard portlets based on JSR168...
    "Joe C." <[email protected]> wrote in message
    news:[email protected]...
    You can always import any arbitrary webapp using the WLW as a portalproject
    I'm not sure that solves my problem or the one ISV was talking about(which
    I assume is the same).
    I am not talking about importing a webapp (containing portlets or nto) and
    making it be my portal.
    - Assume I'm already developing a portal with some in-house developed
    portlets.
    - I want to get 3 JSR168 portlets from SAP (just picked a random vendorout
    of the air) and add them to my portal.
    - I want to get 2 JSR168 portlets from Siebel (ditto)
    - And I need one Domino portlet from that other 3 letter vendor (ditto)
    - Each of those vendors is likely to build JSR168 portlets that can be
    installed/used in any JSR168 compliant portal, so they can stop buildingall
    the various per-vendor proprietary API portlets.
    - Each of those vendors needs to package up their portlets for
    shipping/install.
    - Given that JSR168 describes the Web App layout for packaging a portlet,
    each of those vendors is likely to package their portlets up in a WAR.
    - Some JSR168 compliant portals (I believe) will be able to just install
    those WARs and use them as is from the Portal WAR and drop them on pages.
    - WLP 8.1 appears to require that I unpack/extract those WARs and mergethe
    portlet.xml and contents of each of those WARs with my existing Portal WAR
    that I want to add those portlets to. Tell me why this is better?
    To your earlier comments made here:
    The pitfall of this approach is that webapps depend on each other towork correctly
    Well yeah, I expect my portal to depend on my portlets - of course.
    which is against the spirit of webapps.I disagree - EARs depend on the WARs within them. Cooperating WARs can
    depend on each other too.
    A deployer should be able to deploy/undeploy any webapp withoutaffecting the functionality of other
    webapps - which would be case in the model you describe.Of course, if you remove a portlet that a portal depends on, I wouldexpect
    it to break .
    In addition, there are security issues that the deployer must be awareof.
    Of course. That's the case with any J2EE deployment no matter how many
    EARs/WARs you're deployiing.
    "Subbu Allamaraju" <[email protected]> wrote in message
    news:[email protected]...
    Joe,
    You can always import any arbitrary webapp using the WLW as a portal
    project, and during that process you'll have the opportunity to
    automatically update the descriptors (and also adding the correct jar
    files). There is no need to hand-merge descriptors unless you want to.
    Subbu
    Joe C. wrote:
    Please tell me it's going to get better.
    That would make sense if one were developing all their own portlets
    for
    their portals.
    But I (and most people I know) as a customer, that needs to aggregate
    portlets from multiple (possibly many) 3rd parties, such as the big 4
    application vendors, am going to need to know how those standardJSR168
    portlets work and are configured so that I can hand-merge them into my
    company's portal?
    As an end user it doesn't really help me that much that I can developmy
    own
    portlets to JSR168. The whole point of JSR168 is that portlet vendorsthat
    build portlets for others to install into their portals will be able
    to
    build one set of portlets that can then be installed in any compliant
    portal. This limitation seems to prevent that from beingcommonplace/useful
    (given how few people are going to know how to do such merges - theyjust
    want to install 3rd party portlets and drop them on pages). I reallyhope
    Workshop provides a user friendly way to integrate such 3rd party
    JSR168
    portlets or WLP will be missing the whole point of having such astandard in
    the first place. I agree with the ISV that started this
    conversation -
    please provide a means for me to install 3rd party portlets withouthaving
    to hand-merge XML configuration files.
    "Subbu Allamaraju" <[email protected]> wrote in message
    news:[email protected]...
    isv wrote:
    From the JSR168 spec, (which is similar to how other portals seem to
    behave
    with their proprietary APIs), a JSR168 portlet application appears to
    be
    a
    WAR with a portlet.xml and web.xml conforming to the requirements of
    the
    spec, that can then be installed in any portal.For all practical purposes, a portal app is a web app, with the only
    differece being the portlet.xml file. So, a portal app contains
    portlets
    in addition to things that typically exist in a webapp.
    How are these two supposed to work together in the WLP env? Say I
    develop a
    couple JSR168 portlets in my own Java environment (emacs :-) and thenWAR
    them up and install them into Jetspeed-2 and another 168 compliantportal
    when available (eg, IBM's 5.something). I believe those would accept
    my
    portlet WAR and keep them in that WAR and just reference them fromtheir
    Portals. How would WL8.1.x handle such development (outside ofWorkshop/WL)
    and deployment to a WL8.1.x portal? Do I have to merge my JSR168
    based
    portlet WAR (and thus a web.xml and portlet.xml merge) into thePortal
    >>>
    WAR
    (eg, if I want to ship a script to deploy my portlet WAR into anexisting
    WL8.1 portal?) or will WL8.1.x be able to reference a Portlet WARoutside of
    a Portal WAR?For WLP, the unit of development/deployment is a webapp. We're aware
    that some implementations (including the ones you mention) follow a
    model where portal deployment involves several web apps with portlets
    aggregated by a portal deployed in one of those webapps. The pitfall
    of
    this approach is that webapps depend on each other to work correctly -
    which is against the spirit of webapps. A deployer should be able to
    deploy/undeploy any webapp without affecting the functionality ofother
    webapps - which would be case in the model you describe. In addition,
    there are security issues that the deployer must be aware of.
    Having said this, if your portlets are already bundled into a WARfile,
    you need to merge the portlets into the portal webapp. Or, you couldlet
    WL convert your webapp into a portal webapp. We don't intend tosupport
    portlet referencing from other webapps.
    Subbu

  • How to Get Portlet Namespace in a JSP attribute

    Hi All,
    The id of any component in a JSF application (with JSR168 portlets) takes the form
    'view'+'<portlet:namespace/>'+':'+'formname:componentidname';
    I need this id to be used for certain validations.
    Currently I am using it as below :-
    <h:intputText required="#{ ! empty param['viewns_7_CGAH47L000NAF0I04I42ND10P7_:form:login']}"/>
    Presently I have hardcoded the portlet namespace 'ns_7_CGAH47L000NAF0I04I42ND10P7_' by looking into the html source of the rendered page.
    Is there any way by which i can automatically get this portlet namespace within the param tag in the jsp.
    I know for a fact that within javascript tags, it can be used as <portlet:namespace/> as shown below :-
    <script type="text/javascript">
    function doSomething()
    buttonId= 'view' + '<portlet:namespace/>'+':'+'formName:buttonId';
    document.getElementById(buttonId).disabled = true;
    </script>
    Kindly treat this on high priority.
    Thanks and Regards,
    Darshan Shroff

    Perhaps so.
    I need to use it within param as below
    <h:inputText value="#{bean.userid}"
    required="#{!empty param['viewns_7_CGAH47L00GLRE0I0BCOUKS00I5_:form:login']}" />
    Here 'viewns_7_CGAH47L00GLRE0I0BCOUKS00I5_:form:login' is actually
    'view' + '<portlet:namespace/>'+':'+'formName:buttonId';
    I am just trying to check the presence of the client ID in the request paramameter map inorder to attain action dependent requiredness.
    Kindly tell me how i could access it within param.
    Thanks & Regards,
    Darshan Shroff

  • Deploying  Jave portlet on Oracle Application Server 10g

    I have installed Oracle 10g Application server, donwloaded and installed JDevleoper 9.0.5.1 and the latest Java Portal Development and as well as the JDeveloper portlet-addin. Now, I followed the instructions from the http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/BUILD.JSR168.PORTLETS.USING.JAVA.PORTLET.WIZARD.9IJDEVELOPER.HTML
    On using JDeveloper addin wizrd to create a java portlet and so far so good. However, I am stuff on the last bit on deployment. It document says "# Now use the URL provided in the log page at the bottom of JDeveloper to get part of your URL (e.g. http://myserver.uk.oracle.com:8888/my-portlet) and complete the URL.
    http://myserver.uk.oracle.com:8888/my-portlet/portlets?WSDL
    Now use this URL to register your portlet with OracleAS Portal.
    But when i deploy my application (just a test thing), from the deployment tab I get:
    ---- Deployment started. ---- 22-Mar-2005 14:11:27
    Target platform is Oracle Application Server 10g (hotseatConnection).
    Wrote WAR file to C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.war
    Wrote EAR file to C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.ear
    Invoking DCM servlet client...
    C:\Java\j2sdk1.4.2_03\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Java\JDeveloper9.0.5.1\jdev\lib\oc4j_remote_deploy.jar http://194.83.41.114:1811/Oc4jDcmServletAPI/ ias_admin **** redeploy /u01/app/oracle/product/10.1.0/oraMid_904 C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.ear hotseat
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy /u01/app/oracle/product/10.1.0/oraMid_904 C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.ear hotseat UNDEFINED
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = c253297271317c3f930003c405ea91ff598582f0be0
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    DCM command completed successfully.
    Output:
    Exit status of DCM servlet client: 0
    Elapsed time for deployment: 1 minute, 45 seconds
    ---- Deployment finished. ---- 22-Mar-2005 14:13:12
    My question is, HOW DO I ACCESS the deployed application, since it didn't specify the URL where it's deployed????
    Many thanks
    P/S
    I have tried:
    http://{myserver}:8888/{my-portlet}/portlets?WSDL but that doesn't work

    Hi FormsEleven,
    When you say you can do this or you have done for demo then considering following directory structure if I have two forms having common form names how it will be resolved?
    Or how the url to access these forms will be?
    As shown in the following structure consider we have Form1 in sub directory1 as well as in sub-directory2 then how the link to access these forms will be?
    - Hosting Directory (formsweb.cfg entry)
      - Sub Directory1
          - Form1
          - Form2 
      - Sub Directory2
          - Form1
          - Form4
      - Sub Directory3
          - Form5
          - Form6

Maybe you are looking for