How To Deploy/Run a pure Java Portlet into Webcenter

Hello Gurus,
I am new to the portal technologies. So maybe I am asking a very basic question.
Here it what I would like to achieve.
1) Create a sample "HelloWorld" portlet (A java class which implements a portlet interface or some standard portlet impl class) and I use doView() method to show "Hello World" content on the screen.
I need to deploy and test this portlet class into Webcenter. I have JDeveloper as IDE.
2) Create a sample JSP page which prints "Hello World" content. Convert this into JSR-168 and then deploy and run into Webcenter.
Please can anyone provide the easiest steps to achive this? Step-by-step instructions will be highly appreciated as this is bit urgent.
Thanks in advance for any help you can provide on this.
With kind regards-
Ashish

Hello,
Yes, I`m working with 10g.
I've used enterprise Manager to deploy the portlet. I`ve selected "create automatic deploy plan"
The portlet was deployed but I can´t see WSRP interface as http://localhost:8888/WSRPMapPortlet/portlets?WSDL
As yo can see, I´m deploying WSRPMapPortlet sample.
I can´t use JDeveloper in my job :(
Maybe I must do any configuration change to deploy correctly the portlet and expose it in WSRP, I don´t know
Best Regards
Miguel Lacosta

Similar Messages

  • How to run a pure java application client with ear deployed on 9ias

    Hello all,
    We want to run a pure java application client which is packed with target bean in the same ear file. In the application-client.xml we refer to some EJBs.
    We deployed the ear file which contains ejb jar module and application client module to oracle 9ias 904 through enterprise manager on unix. The jndi.properties we used looks like this
    java.naming.factory.initial=com.evermind.server.rmi.ApplciationClientInitialContextFactory
    java.naming.provider.url=opmn:ormi://opmn_host:opmn_port:oc4j_instance_name/application_name
    java.naming.security.principal=test
    java.naming.security.credentials=test
    Is there anybody knows how to run such an application client? Do we need to provide such a jndi.properties or not at all?
    Thanks,
    9ias user

    Refer OpenEJB User - Oracle ADF Essential and TomEE+
    Also refer Bug in tomee 1.5.2. Fixed in 1.6.
    https://issues.apache.org/jira/browse/TOMEE-756

  • How to deploy a jsp app as portlet in portal?

    i'm a new bee to this portal & portlet stuff.
    so, pls let me know if my questions doesn't make sense.
    i have a jsp app sitting in jdeveloper 9.0.3
    can i deploy this jsp app as portlet and see it from
    my portal?
    srini

    Hi Benjamin.
    Can u explain more detail about the deployment..
    I also use JDev and want to do like you do (that is deploy to 9iAS using JDev.
    I tried to create new connection via Remote DCM..
    but it gave me error.
    I also read & tried the article that u suggested..
    but still failed..
    So, my questions are:
    1)In step one, where in EM should i install Oc4jDcmServlet.ear? in OC4J_Portal(the same place i deploy jpdk)?
    "Install the DCM Servlet, Oc4jDcmServlet.ear, to a running Oracle Enterprise Manager instance. This servlet is required to run in the same OC4J instance (same JVM) as the Enterprise Manager servlet. The DCM Servlet is located in:
    <jdev_install>/dcm/lib/Oc4jDcmServlet.ear "
    2)I download JDev into my drive C.
    and i did found /dcm/lib/Oc4jDcmServlet.ear
    I not sure what to type..and where should i run the command..
    In the article,it run from c:\winnt\system32\cmd.exe.
    But when i ty to run it, it gave me error
    "Exception in thread "main" java.util.zip.ZipException: The system cannot find th
    e path specified
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)"
    should i run the command in the server?Where?
    What command should i type?
    Java -jar ${ORACLE_HOME}/j2ee/home/admin.jar ormi://${EM_OC4J_HOST}:${EM_OC4J_PORT} ${IAS_ADMIN_USER} ${IAS_ADMIN_PASS} -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet "
    Thanks..

  • How to deploy my .WAR as a portlet, not a new page.

    Hi,
    I already know how to deploy my war file in the Portal. But How can I deploy it as a portlet?
    I have tried deploy a simple helloworld.jsp into sample provider. And it works. But when I try to create a new provider (which already config .properties , and provider.xml file). It always gives me "404 Not found" error.
    Oracle support said it must be something wrong with setting problem. But we havn't solve this problem yet.
    Can anyone give me a help or advice?
    help~~~~ please

    hi Harsha,
    Thanks for help.
    I post my instruction to deploye my war file. It was from Oracle support. But it still doesn't work well.
    Could you check?
    Thanks a lot
    1.Go to the Middletier ORACLE_HOME
    2.Go to ORACLE_HOME\j2ee\OC4J_Portal\applications\jpdk\jpdk\htdocs\
    3.Create a folder called test
    4.Copy your jsp files under this "test" folder
    5.Go to ORACLE_HOME\j2ee\OC4J_Portal\applications\jpdk\jpdk\WEB-INF\deployment
    6.Copy the file sample.properties which is there to a file called test.properties
    7.Edit test.properties and make the following changes:
    serviceClass=oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter
    loaderClass=oracle.portal.provider.v2.http.DefaultProviderLoader
    showTestPage=true
    definition=providers/test/provider.xml
    autoReload=true
    testPageURI=/htdocs/testpage/TestPage.jsp
    8.Go to ORACLE_HOME\j2ee\OC4J_Portal\applications\jpdk\jpdk\WEB-INF\providers
    9.Create a folder called test
    10.Create a file called provider.xml and put the contents as follows:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <localePersonalizationLevel>none</localePersonalizationLevel>
    <session>true</session>
    <defaultLocale>en</defaultLocale>
    <preferenceStore class="oracle.portal.provider.v2.preference.FilePreferenceSt
    ore">
    <name>prefStore1</name>
    <useHashing>true</useHashing>
    </preferenceStore>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>MyJsp</name>
    <title>MyJsp</title>
    <shortTitle>MyJsp</shortTitle>
    <description>This portlet is a sample implemented by Me.</description>
    <timeout>40</timeout>
    <timeoutMessage>MyJsp timed out</timeoutMessage>
    <showEdit>false</showEdit>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <acceptContentType>text/html</acceptContentType>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <contentType>text/html</contentType>
    <showPage>/htdocs/test/test.jsp</showPage>
    </renderer>
    </portlet>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>2</id>
    <name>MyJsp2</name>
    <title>MyJsp2</title>
    <shortTitle>MyJsp2</shortTitle>
    <description>This portlet is a sample implemented by Me.</description>
    <timeout>40</timeout>
    <timeoutMessage>MyJsp2 timed out</timeoutMessage>
    <showEdit>false</showEdit>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <acceptContentType>text/html</acceptContentType>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <contentType>text/html</contentType>
    <showPage>/htdocs/test/test1.jsp</showPage>
    </renderer>
    </portlet>
    </provider>
    11.In the above change the name of the jsp files from test.jsp and test1.jsp to whatever the name of your jsp file is
    12.Test that the following provider test page comes up:
    http://midtier:port/jpdk/providers/test
    (It should show the name of the 2 portlets above)
    13.If there is a 500 Internal server error, restart OC4J_Portal and try again
    14.Once you get the test page above, go to Portal and register the provider.
    Give the URL as http://midtier:port/jpdk/providers
    and the Service Id as urn:test
    15.Add the portlet to the page.

  • Question: How can I convert Java portlets into iViews? ...

    Hi David,
    Thank you for reading this post.  Currently, I have java portlets and have
    some questions converting them to iViews.  I have the iView conditions
    listed below with my questions:
    <u><b>iView Conditions:</b></u>
    <b>1. Usage of Correct Naming Conventions:</b>  If possible, can you show me a sample of
    the correct naming conventions?
    <b>2. Single Sign On:</b>  If possible, can you please elaborate more on this and possibly provide
    an example?
    <b>3. Session State (During the entire usage of an iView, session state
    and transaction integrity must be maintained)</b>. If possible, can you please elaborate more on this and possibly provide an example?
    <b>4.  Browser Independence (An iView must work with all supported versions of at least one browser type supported by Enterprise Portal).</b>  If possible, can you list supported versions?
    <b>5.  Look and Feel (The iView must present data in the Enterprise Portal
    look and feel and allow for the different personalization options that
    are possible with the SAP Enterprise Portal).</b>  If possible, can you please elaborate more on this and possibly provide an example?
    <b>6. Error Messages (The iView must be implemented in a way that provides
    default/ relevant/ meaningful error messages)</b> If possible, can you please elaborate more on this and possibly provide
    an example?
    <b>7. No Hard-Coded Paths </b> I understand this but just to make sure, can
    you possibly provide an example?
    <b>8. Special Characters (iViews must be able to depict reserved HTML
    characters)</b>
    If possible, can you please elaborate more on this and possibly provide
    an example?
    Thank you so much for your time and look forward to your
    response.
    Thank you,
    Baggett

    Hi, this question is addressed to anyone who could help, my apologies for any confusion.
    Thank you,
    Baggett

  • Configure forms for running with pure java

    I know the formsweb.cgf file is where I can set this, but does someone has it
    workng with pure java (without jinitiator) and has any problem navigating between fields?
    ths is my java section in formsweb.cfg
    [appjava]
    pageTitle=Forms Version 10.1.2 Java
    form=INIT.fmx
    envFile=javaenv.env
    baseHTML=webutilbase.htm
    baseHTMLjinitiator=webutiljpi.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTMLie=webutiljpi.htm
    webUtilArchive=webutil.jar,jacob.jar
    archive=gif.jar,frmall.jar, laf_1012.jar
    lookAndFeel=oracle
    imageBase=codeBase
    separateFrame=true
    networkRetries=30
    and javaenv.env file (without commented lines)
    ORACLE_HOME=/opt/oracle/ias
    FORMS_PATH=/opt/legadmi/formas:/opt/legadmi/pll:/opt/oracle/ias/forms:/opt/legadmi/webutil/forms
    WEBUTIL_CONFIG=/opt/legadmi/webutil/server/webutil.cfg
    FORMS_RESTRICT_ENTER_QUERY=FALSE
    CLASSPATH=/opt/oracle/ias/forms/java/laf_1012.jar:/opt/oracle/ias/forms/java/gif.jar
    PATH=/opt/oracle/ias/bin
    GRAPHICS60_PATH=
    LD_LIBRARY_PATH=/opt/oracle/ias/lib:/opt/oracle/ias/jdk/jre/lib/i386:/opt/oracle/ias/jdk/jre/lib/i386/server
    it starts java but in some forms i cant navigate between fields,
    any help?
    thanks!

    Solution: migrated to 11g

  • How to deploy my web application .war file into SAP netweaver Engine

    Hi All,
    I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
    I tried to deploy .war file through SDM but it complained the following error
    "Error loading archive
    C;\Document and Settings\cr1adm\Desktop\MyProject.war
      (server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
    com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    (F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
    Can any one please suggest how to deploy external web application into SAP netweaver engine.
    Is there any procedure to follow to do this.
    your inputs will be highly appreciated...
    Thanks in advance
    JM

    You may need to convert the .war archive to SDA/SCA file  format before deploying it to SAP Netweaver Engine.
    Check out the below SAP NOTE if it is usefull.
    Note 1223957 - Usage of NetWeaver Packaging Tool.
    Apart from SDM you can also deploy the files through telnet...
    Note 859444 - How to deploy libraries on J2EE Engine 6.40
    1)Connect to telnet as below
    Start --> Run
    telnet hostname/ip address portno
    Ex: telnet xxx.xx.xx.x 5<Instance no>08
    2)Login with administrator id:
    Use the below command to deploy the files.
    deploy <directory path to the SDAs location> version_rule=all on_prerequisite_error=stop on_deploy_error=stop
    Example: deploy E:\usr\sap\trans\EPS\in\VCBASE03_0-10006939.SCA version_rule=all on_prerequisite_error=stop on_deploy_error=stop.
    Also have a look at this note which talks about the error you are getting.
    Note 1171457 - IllFormattedSduManifest/SduFileException during deployment
    Hope it helps.
    Edited by: Khaiser Khan Mohammed on Nov 7, 2010 12:17 PM

  • How to cosume BPEL worklist as a portlet in webcenter application

    Hi,
    Can someone guide me how to consume a BPEL worklist application as portlet in webcenter application. I have a BPEL process and have deployed it on BPEL Integration server installed on oracle apllication server. But how to proceed from here? The portlet should show all the tasks exactly as it appears in the worklist applction.
    Thanks
    Anand

    Thanks a lot Cappa. Those links were really helpful and I have completed the POC successfully by integrating my existing ADF application with WebCenter by following the steps mentioned in http://www.oracle.com/technetwork/developer-tools/jdev/ccset62-all-100884.html.
    Apart from the links you mentioned, Andrejus pointed to one of his blog entry on the same topic. Please find the same at http://andrejusb.blogspot.com/2009/12/producing-jsr-168-portlets-directly.html
    Now, the issue is it's very very slow and it's getting timeout most of the time. I'm getting concurrent modification exception also some times. Both the applications are running on the embedded server that comes with JDev. Have you ever come across it?
    Regards,
    Antony.

  • How to deploy only one project from WebCenterSpacesExtensions to WebCenter

    Hello,
    I've been provided a customized WebCenterSpacesExtensions application with 3 custom task flow projects in it.
    I am having trouble finding information on how to deploy only one project at a time. Can someone please tell me how to do this? Is it difficult?
    Thanks in advance.

    Take a look at chapter 53 in webcenter developer's guide which explains the same:
    http://docs.oracle.com/cd/E25054_01/webcenter.1111/e10148/jpsdg_wcsres.htm#BABDBECE
    Thanks,
    Navaneeth

  • Deploy jde portlets into webcenter

    can anyone enlighten us about the way to deploy JDEdwards Portlets (Self service portals) into webcenter server(weblogic),
    share if you have any docs related, it will be really helpful

    You'll have to consult some of the JDE documentation for setting up portlets, but the basic procedure should be this:
    1) Set up your JDEdwards portlets to be served - consult the JDE documentation for making portlets availble.
    2) Register the JDE portlet producer with your WebCenter application. (You'll have to do this for each environment, with a warning that you will likely need to set up secure communications between your WebCenter app / WebLogic install and your JD Edwards environment.)
    3) Once the producer is set up (both JDE and any secure communications), then registered with your WebCenter app you should be able to access the JDE portlets through the resource catalog.
    That's the basics - but there's quite a bit of work to do behind the basics. :-)

  • How set deployment sequence automatically in Java Engine

    Hi Everybody,
    i have create three diffrent Portal applications which depends on each other. They will only work if i deploy them in a special order. What i mean is that Application A must be deployed before the others and application B before C. If i deploy them manually i can decide it by my own but if i restart the Java Engine the system will not deploy them in the described way.
    How can i set the proper sequence automatically?
    reagards,
    Seed

    Hi Praveen,
    unfortunately it does not work. I add the standard property startup=true to my applications A, B and C. As regards the references i do the following:
    - Application A: SharedReferences= B, C
    - Application B: SharedReferences=C
    - Application C: Hier i have no references.
    After i restart the java engine, only Application C is running and when i try to start it manually i get the message:
    PortalApplicationName: A
    Depends on:n.a.
    Dependents: n.a.
    Access: n.a.
    State: stoppen
    It seems as the applications A and B could not started because of the references.
    regards,
    Seed

  • How to deploy jar to non-java platform

    Hi,
    I am using netbeans 5.5 to develop some GUI application.
    I need to deploy it to some machine that may not have jdk installed at all. i.e can someone run my application w/o install jdk or jre specifically?
    I have myapp.jar built in dist/ folder. the readme said it will include all jar to dist\lib, but I don't even see the dist\lib folder.
    please help!!!

    Thanks!!!
    For now How can I make one executable that include
    both myapp.jar and the jre? So that users only need
    one click and the program runs?With a lot of effort, and I'm not sure it would actually be legal anyway. Just get 'em to install a JRE, it's not like it's difficult, no more so than installing any other program

  • How to DEPLOY and ACCESS JSR 168 portlet in weblogic server

    I installed Web Logic Server 10.3, Web Logic Portal 10.3 and Workshop 10.3 on my system. I created a sample portal application in workshop and able to see the output with the help of workshop.
    1. I imported JSR 168 portlet in "Import Utility" and able to see the deployed war in Deployments folder of "Weblogic Server Administration Console", but unable to test that deployed portlet. That Deployed portlet was unable to see in "Weblogic Portal Administration Console"
    2. How can i import JSR 168 portlet from workshop and view that portlet?
    3. How can i import JSR 168 portlets from "Weblogic Portal Administration Console" and view them?
    Please help me out with the solutions and procedures...
    Thanking you in advance,
    Bhargavi Javvadi.

    Create a WAR file for your Web app
    Put it where the Weblogic 8.1 docs tell you to.
    Restart Weblogic server.
    %

  • How can i run and compile java programs in 10.6.8 mac osx??

    waiting fr replies//

    If you upgrade to Lion it comes bundeled with it!
    To get it on your Mac Pro just copy the aplication from the aplication folder on your MacBook.  You can do this via a thumb drive or over a local network connection.

  • How to get the parameter from Java Script into the Parameter crystal Report

    Hi All,
    Crystal Report is integrated with Oracle 10g. I created the base SQL query for col1, col2, col3 and col4. Java Script pass parameter value (185) to Col1.
    My question is how to create crystal report to make Col1 as parameter and how to get the parameter value 185(Col1) from Java Script. Is there any additional code I need to include in the crystal report?
    FYI.
    Java script sends the right parameter value.There is no issue in java script.
    This is an automatic scheduled process when batch runs, Java script should pass the parameter value and the crystal report should get the value and produce the output report.

    Not sure if this is an application question or if you are trying to hook into Crystal Reports parameter UI? If the later then no option other than report design. If an application then I can move this to the Java Forums.
    If you are asking how to alter the parameters I suggest you remove the Java reference and post a new question so it's not confusing the issue.
    Please clarify?

Maybe you are looking for

  • How to connect a Compact RIO to a PXI System

    Hello, I want to connect my cRIO-9074 with my PXI System. First of all my Hardware configuration: 1. "PXI-1036" Chassis with "PXI-8101" Embedded Controller and "PXI-8231" Ethernet 2. "cRIO 9074" Integrated 400 MHz Realt-Time Controller 3. "NI 9144" E

  • Is anyone using Photoshop on windows 8?

    Do the fonts show clearly?

  • Error in receiving goods - fiscal year

    Hello everyone, To receive goods with the transaction MIGO and get the following error message : "version 0 is not defined for 2009 fiscal year" (#GP626). Does anyone know what this message means and what can be done? Many thanks! SB

  • SRM Supplier Qualification vs. Supplier LifeCycle Management

    Hi, Is there a comparison of functionalities between SRM Supplier Qualification and Supplier LifeCycle Management? The requirement is just for qualifying suppliers via standard qualification process - but may require customer specific survey forms, w

  • Automatic selection of best exposures?

    i have been taking photos in triplicate, with three exposures in lightoom, when importing photos, is there a setting that automatically selects the best exposures?