How to run component

Hi
    I am new to Enterprise Portal. I used to work with EP5 using “jakarta-tomcat-3.3.1a” using PDK plugins I am using eclipse I used to develop small components.  I used to develop the portal application using eclipse in the following way
    File->newProject->SAP Portal Development Tools ->Portal Component Project
    When I am searching in SDN site I found Eclipse Plug-in for the PDK V1.1.7 so I downloaded and extracted to eclipse into respective folder.
     Now I got one more feature added to my eclipse now I created new project as follows
     File->newProject->PortalApplication->Create a Portal Application Project
I got different folder structure to the earlier project. I created one .java file in src.api and I build the java file and it successfully build I updated my portalapp.xml file as follows
<?xml version="1.0" encoding="ISO-8859-1"?>
<application>
<application-config>
     <property name="startup" value="ture"/>
     <property name="releasable" value="false"/>
     <property name="SharingReference" value="usermanagement,htmlb"/>
    <property name="ClassLoadingPolicy" value="CoreAccessInAPI"/>
</application-config>
<components>
     <component name = "FirstApp">
          <component-config>
               <property name = "ClassName" value="ztraining.ZTrainingOne"/>
               <property name = "SecurityZone" value ="com.sap.portal.pdk/low_safety"/>
          </component-config>
     </component>
</components>
<services/>
</application>
But when I am trying to execute the same using eclipse editor it is giving page not found error
Can any body help in this ..
Is there any thing to be done extra to the sever side
Is there any other procedure to run the component
Thanks in advance

Hi,
from your posting (portalapp.xml) you are now developing on EP6 instead of EP5?!
> Eclipse Plug-in for the PDK V1.1.7
Why this, for sure you are not on EP6 SP1?!
For SP2 please use Eclipse Plug-in for the PDK V1.2.0
> execute the same using eclipse editor
> it is giving page not found error
?!?!?! You cannot "execute" the component from within Eclipse, but deploy into the portal. From Java Development Role (comes with PDK), you can start the component.
Hope it helps
Detlev

Similar Messages

  • URGENT:PLEASE TELL ME HOW TO RUN BOTH "ITEXT & MYFACES1.0" TOGETHER?

    URGENT: HELP PLEASE. ITEXT AND MYFACES1.0.9 COMBINATION USE BLOCKS THE PDF GENERATED ITEXT.
    We are using ITEXT for PDF report generation in JSF web appliaction, We needed to implement the Fileupload, we tried both MYFACES1.0.9 and TOMAHAWK, both ways we also got the file uploading working. For this we needed to add the filter in the web.xml file ( <filter-name>ExtensionsFilter</filter-name> as below). NOW by doing this, it BLOCKS THE PDF OUTPUT OF THE ITEXT and the result in sumthing like corrupted PDF is spitted in the browser (%PDF-1.4 %âãà Ó 2 0 obj <>stream ÿØÿà JFIF� �`�`�ï¿................................................)
    When i remove the MYFACES1.0.9 only then the good PDF output is viewable in the BROWSER.
    PLEASE TELL ME HOW TO RUN BOTH ITEXT(for pdf report) and MYFACES1.0.9 (for fileuploading) TOGETHER?????
    ========================
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app 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/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <filter>
    <filter-name>ExtensionsFilter</filter-name>
    <filter-class>
    org.apache.myfaces.component.html.util.ExtensionsFilter
    </filter-class>
    <init-param>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>10m</param-value>
    </init-param>
    <init-param>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>ExtensionsFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    </web-app>
    ========================

    calm down!
    You always have the option of dumping the file uploading component and just using the Apache FileUpload API in a servlet - then you'll have full control over what happens when without any additional configuration needed.

  • How to run oid on oc4j

    Hi All,
    I am new to oc4j. I have configured oid on weblogic and after that on oc4j. But i dont know how to run oid in oc4j. When i shutdown wls_ods1 in weblogic domain,oid doesnt work. So please tell me how to run oid in oc4j and how to check which managed server get deployed in oc4j,like we did in weblogic using "http://localhost:7001". Also whether it is possible to install and configure oid without using weblogic.
    Thanks,

    OC4J is restricted to Application Server 10g only. In FMW11g, OC4J is not used at all.
    When managed server wls_ods1 is not up and running, you won't be able to access the Oracle Directory Services Manager. OID itself should be fully functional as it doesn't require any WebLogic components.
    You can check the status of the OID 11g components with opmn status -l, e.g.
    $ opmnctl status -l
    Processes in Instance: asinst_1
    ---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
    ias-component                    | process-type       |     pid | status   |        uid |  memused |    uptime | ports
    ---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
    ovd1                             | OVD                |    4889 | Alive    | 1094295844 |  1126940 | 1753:10:~ | http:8899,ldaps:7501,ldap:6501
    oid1                             | oidldapd           |    4942 | Alive    | 1094295846 |   993124 | 1753:10:~ | N/A
    oid1                             | oidldapd           |    4928 | Alive    | 1094295845 |   439772 | 1753:10:~ | N/A
    oid1                             | oidmon             |    4890 | Alive    | 1094295843 |   826860 | 1753:10:~ | LDAPS:3131,LDAP:3060
    EMAGENT                          | EMAGENT            |    4891 | Alive    | 1094295842 |   106096 | 1753:10:~ | N/AAnd you can use the ldapbind utility to check whether you can bind to the OID server :
    $ $ORACLE_HOME/bin/ldapbind -h localhost -p 3060 -D "cn=orcladmin" -w welcome1
    bind successfulThanks,
    EJ

  • How to run file-to-file scenario

    Hello,
    I have just done my first exercise in XI, File-to-File Scenario.
    I ran the scenario in RWB in Component Monitoring by giving the Payload from the Message Mapping.  It ran successfully.
    But I am not able to run the same scenario by giving my source file.  What are the inputs to be given while running the scenario to read from the Input File ?
    Could any help me out, how to run my scenario using my Input File.
    Thanks,

    hi
    after creating your IR and ID
    then check the sender channel and Receiver channel
    check the path of sender channel and put the payload file that is check message mapping and test it a
    after the testing copy the file and store in to the folder that you have
    created
    and
    in Receiver channel same thing  give the path of the target folder and
    chcek in to the runtime workbench
    there is no any prob in the runtime workbench  means its showing the succsfulley in RW and file on coming in to the  target system
    if all work correctly then also not showing means the file is in queue
    so Refrsh the queue athewise delete the queue
    thanks
    i hope it will solved
    Regards
    Vijay
    Edited by: Vijay Yewale on Apr 3, 2008 3:12 PM

  • How to run the code generator

    I urgently need to know how to run the code generator using creator. Can anyone assist? I cant find any tips in the forums.

    I am following the procedure to create a new custom component (or extend an existing component) available at http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/2/writing_custom_components.html.
    Part of the procedure says: you need to use the JSC to run the code generator based on sun-faces-config.xml metadata.

  • How to run Servlets

    Hi
    Please tell me how to run servlets in NWDS.
    I made a simple program but now I am not able to deploy/run.
    Help me out

    Hi,
    1)You have to create a J2EE Web Application project.
    2)Then create a servlet in this project.
    3)Once you are done coding the servlet, create a J2EE EAR project.
    4)Add the Web project to EAR project.
    5)Open application.xml in EAR project, goto modules section, select web component, specify the context root (like /mycontext)
    6)Build and deploy EAR.
    You can run your servlet as:
    http://<server>:<port>/mycontext/<servlet-name>
    Hope it helps.
    Rajit

  • HOW TO RUN ADOBE READER IN MACBOOK PRO

    HOW TO RUN ADOBE READER IN MACBOOK PRO

    Please stop using caps.  It is considered shouting and rude.
    You need to download the program. The reader runs when needed.
    Barry

  • How to run 'Get-AssignedAccess' or 'Set-AssignedAccess' power shell commands in c# Application

    Hi,
    I have console application using which i am trying to run power shell command  like 'Get-AssignedAccess' or 'Set-AssignedAccess'.
    i am using below code for this it is throwing exception 'Get-AssignedAccess' doesn't exist in cmdlet which is correct because these commands belongs to function category.
    using (PowerShell pwInstance = PowerShell.Create())
                            pwInstance .AddScript("Get-AssignedAccess");
                            var result = pwInstance .Invoke();
    How can we execute this kind of command using c#?
    Thanks,

    Hi prakashlight,
    Thank you for comming back and tell us the result. For more information about how to run PowerShell script in C# language, you can refer to this blogpost here:
    Executing PowerShell scripts from C#
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Does anyone know How to run twin monitors on a MacBook Pro operating on a Windows Server 2008 R2 ?

    Hi
    Does anyone know How to run twin monitors on a MacBook Pro operating on a Windows Server 2008 R2 ?

    I know this doesn't help you much, but, I think you have to see if your Mac pro does audio out via HDMI. I don't even know if mine does via DVI. I think it may have to do with the adapter. Try going into Audio MIDI and setting the digital out to multichannel
    and using the toslink cable for now. Lemme see...apparently DVI does not carry audio at all. Hm. apparently monoprice could be helpful?  If I understand what you're saying correctly: you want to take DVI and multichannel audio via the Toslink and have it all go out over HDMI, right? Whooo..... amazon...looks like it's about $100http://www.amazon.com/Audio-SPDIF-Toslink-Converter-Adapter/dp/B0015YYOQQ
    just a shot in the dark
    I'm probably wrong....or not
    John B

  • How to run expdp from client ?

    Hi All,
    I tried searching google and forums for my issue but to no avail > How to run expdp from client side ....like in my laptop.
    Because currently our PROD database server has no space for expdp dump file. So I want it directed to my laptop which has an extenal USB of 1TB harddisk...via client EXPDP
    import data using impdp command
    Posted on: 08-May-2012 11:36, by user: 841731 -- Relevance: 53% -- Show all results within this thread
    below command is correct or not? if it is not correct could you please send me the correct command. impdp user/pass@databasename schemas=sourceschemaname remap_schema=sourceschemaname:destinationschemaname ...
    System generated Index names different on target database after expdp/impdp
    Posted on: 30-May-2012 11:58, by user: 895124 -- Relevance: 43% -- Show all results within this thread
    After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different ...
    [ETL] TTS vs expdp/impdp vs ctas (dblink
    Posted on: 08-May-2012 21:10, by user: 869578 -- Relevance: 39% -- Show all results within this thread
    (table : 500 giga, index : 500 giga), how much faster is TTS (transportable tablespace) over expdp/impdp, and over ctas (dblink) ? As you know, the speed of etl depends on the hardware capacity. (io ...
    Oracle Client
    Posted on: 21-Jun-2012 22:47, by user: Sh**** -- Relevance: 32% -- Show all results within this thread
    Hi Guys, Please can you guys elaborate the difference between Oracle Client and Oracle Instant Client. Also, please can you advise from where I can download the Oracle normal ...
    Oracle 10g Client
    Posted on: 05-Jun-2012 10:11, by user: dzm -- Relevance: 26% -- Show all results within this thread
    to search at oracle site and this forum, but i wasn't able to find a link to download the oracle 10g client. I really need especificaly the 10g version. Anybody know the link or another way to download ...
    9i client to access 11g database
    Posted on: 22-Jun-2012 07:31, by user: kkrm333 -- Relevance: 24% -- Show all results within this thread
    Hi, Can i access a 11g database using 9i client? Thanks,
    SQLplus in Oracle Client
    Posted on: 14-Jun-2012 00:36, by user: Tim B. -- Relevance: 24% -- Show all results within this thread
    Hi, I tried to install an 11g oracle client in linux. As I've compared the files with the files when you install using the oracle instant ...
    Re: Information on Oracle Client 11202-1.1.4-6
    Posted on: 05-Jun-2012 03:33, by user: 898763 -- Relevance: 23% -- Show all results within this thread
    Actually thats the client requirement
    Analysing the performance of a single client
    Posted on: 28-Mar-2012 02:05, by user: 880172 -- Relevance: 23% -- Show all results within this thread
    timeouts even on some of the simplest queries. I want to try and get some data about how just this one client is performing and what it’s doing, but everything Google has thrown up so far is orientated around ...
    to make client connection as sys
    Posted on: 12-Jun-2012 22:04, by user: user11221081 -- Relevance: 23% -- Show all results within this thread
    Dear gurus can i connect to my server from my client machine with sysdba without giving sys password i have connected in different ways as sys@abc ...Thanks a lot.

    Though you can initiate the binary from your client side but for the file creation, there is no other way but to store it on the server side. So your best bet would be to get some space free on the server side of yours.
    Aman....

  • How to run a Concurrent Program from the back end?

    Hi,
    How to run a Concurrent Program from the back end?
    Is it Possible to see that Concuurent Request id which we run from the back end, in the front end?
    If yes, then Please Give reply how to write the code
    Thanks in Advance,
    Bharathi.S

    This is documented in Chapter 20 of the Application Developers Guide http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf. These MOS Docs also have some information available
    221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
    235359.1 - How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST
    HTH
    Srini

  • How to run a report from oracle 10g form in .csv format

    dear all,
    how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
    i'm using
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
    Please Help..

    i have already tried.
    but the report show in htm or html format. that file will not save into csv. please help.

  • How to run a script on Oracle server from isqlplus

    Hi I am trying to run a script on my workstation from Oracle server through isqlplus workarea. I entered following command and get the following error. i have enabled isqlplus URL by editing web.xml file already. Can please someone help how to run the script?
    @http://myaixserver.com:5560/scripts/Databasestartupstages.sql;
    SP2-0920: HTTP error 'page not found (505)' on attempt to open URL

    So far, you haven't specified your rdbms version and isqlplus behaved differently on a 9iR1, 9iR2 from the one release on 10gR1/R2. on 9i it was a servlet based on a JServ servlet executor machine, meanwhile on 10g it is a J2EE compliant application deployed on an OC4J container, so configuration is different.
    You may want to take a look at these references -->
    * Starting iSQL*Plus from a URL
    * Creating Reports using iSQL*Plus
    ~ Madrid

  • How to run the form that is only installed on a PC and not using a server?

    Hi
    I am new to Oracle and have taken the forms class. But I do not understand how to run the form from my PC using XP windows. (Do not have access to a server).
    I have started the OC4J, made sure the listener was started, compiled the form and then when I run it, it automatically goes to the HTTP:
    ERROR: res://ieframe.dll/acr_depnx_error.htm#,http://kevin:8889/forms/frmservle
    I connected to the database correctly. I can process a report and it does nor try to access the internet. My only issue is running the form. I verified it compiled.
    Sorry for a basic question. Could someone please help, I tried reviewing other questions, but not sure if they are connecting to a server or not.
    I see webutil but is it required if I don't have a server? Thank you in advance.

    Regardless of the version, it appears that you may not have configured the Builder. Do the following:
    1. Open the Builder
    2. From the menu, select Edit > Preferences > Runtime
    3. In the box labeled "Application Server URL:", enter a local URL needed to run a form OR click the button labeled "Reset to Default". If you decide to manually enter a value, it would looks something like this:
    http://localhost:8889/forms/frmservlet
    4. In the field labeled "Web Browser Location:", enter the path and executable to your preferred browser. So for example if IE is your browser of choice the entry would most likely look like this:
    C:\Program Files\Internet Explorer\IEXPLORE.EXE
    5. Click on OK and retest.
    By the way, you can manually enter a URL in the browser. Clicking the RunForm button from the Builder is strictly optional. To run the "test" form directly from the browser enter the following into the browser's address field:
    http://localhost:8889/forms/frmservlet?form=test
    More information about Forms can be found on OTN:
    http://www.oracle.com/technology/products/forms/index.html

  • How to run SmartCard Application on PC

    hi,
    i want to know how to convert class file into a CAP file and how to run on PC a smartCard Application. when i use converter use from command prompt then it will ask the AID how i get the AID at Conversion time. pls tell me the procedure for Convert and run the application on PC.
    pls help me.

    You can use the suggestions in the below blog to test your app on another PC.
    http://blogs.msdn.com/b/patricka/archive/2012/11/05/how-do-i-deploy-a-windows-8-app-to-another-device-for-testing.aspx

Maybe you are looking for

  • Creating variables in Report Painter

    Hi ... I would like to know ... how do I create variable ? I know it is via T CODE GS11, but when run tht, in the next screen it pops up for variable ? What variable do I need to enter ? is this predelivered Eg : CE-PK, or can we create one ? Please

  • Creating a connection between the GUI and a program's back end

    I have created a program (over 50 classes) and am currently a little confused as to how I should connect the back end of my program (the real functionality) to my front end (the GUI). Currently I am thinking about using a list of event listeners in m

  • Split valuation for material

    Dear all, I'm facing issue when trying to assign "Valuation category" to Material in Material master Accounting view. Purpose of doing this is to achieve split valuation. But system is blocking me to do that due to PO created for the material before.

  • Auto stop and start on click

    I am trying to make a video that requires the observer to assess what is happening on screen and then progress when they have given it some thought. I need the video to stop (pause) on a very specific frame automatically, and then continue on click,.

  • Periodic Billing Plan Setup

    Hi Guru, I have a problem in setting up a billing plan. Here is the criteria that must met 1) Billing Date must be the end of month 2) Contract Last for 1 year 3) There should have ONLY 12 invoices generated. e.g. Contract Start Date: 23/06/2009 Cont