PAR file missing in PAR selection list during iView creation

Hi Gurus
I created a jsp file and exported it through NWDS export option. But i dont get this par while iView creation. Its present when i searched in the support desk . Can anybody tell me the steps how to create a simple jsp in NWDS and test the same in Potal as iViews.
Thanks in advance

Hi,
Use NWDS wizards:
1) File -> Mew Project -> Portal Application -> Create a Portal Application Project
2) Right click on the project you created -> New -> Other -> Portal Application Project -> Create a new Portal Application Object
3) Select Portal Component -> JSPDynPage
4) Write your code ...
5) Deploy the par file & create iview from it.
Omri

Similar Messages

  • Layout Par file name not appearing in list while creating new Layout

    Hi
    I downloaded com.sap.portal.layouts to modify the light_framework page to suit my needs, renamed it to com.mycomp.portal.layouts, modified the page, created a par file and uploaded it thru NWDS.
    When I go to the portal to create a new Layout, I do not see my custom par file in the list.
    I have even uploaded it from the portal: System Administration -> Support -> Support Desk -> Portal Runtime -> Administration Console -> Archive Uploader. Even after it was successful, I was not able to see the par file listed while creating a new Layout.
    How do I get my Layout par file listed do i can create my Layout?
    Thanks
    J

    Hi Bala
    I never had a problem with the JAR files in this par file while opening, nor did I have to manually add anything.
    I know it has been successfully uploaded in the portal, as I can see my par file in the Archive Deployment Checker.
    What could be wrong? Is there something else I have to put in the portalapp.xml to make it visible in the list?
    Thanks
    J

  • Java file missing in par file

    Hi all,
    We have a par file. After importing that par file in NWDS we could see only jsp pages. No Java file exists. 
    This par file is downloaded from our portal which is created by previous developer. I think previous developer did not selected "Include Source code" option while exporting par file to portal.
    Now we need to changes in R/3 side and in java file. For that we need to know the Function Module or Report used in R/3. I think this data will be in java file. 
    Can anybody let me know how to find the java file related to a par file?
    Regards,
    Swapna.

    Hi Bobby/n@v!n,
    Thank you for the inputs given.
    But I heard that we cant get the same java file (like original) when we use the Java Decompiler. We will get the file which gives the same output with different code. I'm not sure if we can the use the file given by java decompiler.
    Is there any other way to get the original java file of given par file?
    Regards,
    Swapna.

  • OLAP cube not visible in the list during universe creation

    Hi
    I am trying to create universe on a BI query which is build on a multiprovider. During universe creation step 4 i need to choose the OLAP cubes, but unfortunately i didn't see the multiproivder in the list. If i see that multiprovider i can expand the tree and can find my query in it. But i don't know why the multiprovider is not in the OLAP cubes?
    by the way mutliprovider is  Z multiprovider which i created, not a standard one.
    Do i need to change any settings for the multiprovider just like what we do for query (Allow external access)
    Thanks

    Yeah I did that, but during the universe creation first we need to choose the multiprovider and when we expand the multiprovider we can see all the queries in it. Here in my case i am not able to see the multiprovider in order to select query in the next step.
    I have checked the external access in the query advanced options also.
    Thanks

  • Files Missing in Finder but Listed in Terminal

    I have a bunch of Videos on an External Drive. When I double click them to open, they disappear suddenly. However, QuickTime launches and even Plays the file
    The missing files show up in Terminal.
    Copying the Videos folder does not solve this. Finder does not see these files even after setting it show show Hidden Files.
    I have unmounted the drive, remounted it, restarted my computer, but no luck.
    How do I get Finder to show my missing files again ?

    For some reason, I now see all my files in Finder.
    I have no idea why or how this happened.
    I hope to move on from this experience now.

  • Missing Workflow XAML Feature Error during site creation from custom template Microsoft.Workflow.Client.ActivityNotFoundException

    Hi,
    I am using SharePoint 2013 Enterprise with the March CU.
    I created a project site template with libraries, lists and workflows and saved it as a template with content.  When I try to create a new site using this template, I get the error pasted at the bottom.
    I was using SharePoint designer workflow custom activities created in VS2012. I uninstalled those and decided to call a web service directly from SharePoint designer.  The workflows work fine inside of the site which I want to create a project template
    from.  When creating a new site from the template, SharePoint complains about a missing workflow XAML feature.
    Do I have some leftover references to the custom features? Does anyone know how to resolve this issue?
    <nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e' from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c'
    was not found. HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME. Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c. Client ActivityId : 69e6449c-9c3c-f090-404f 
      Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
     Exception Details: System.Runtime.InteropServices.COMException: <nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e'
    from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c' was not found. HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c.
    Client ActivityId : 69e6449c-9c3c-f090-404f
    Source Error: 
     An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
    Stack Trace: 
    [COMException (0x8107058a): <nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e' from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c'
    was not found. HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME. Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c. Client ActivityId : 69e6449c-9c3c-f090-404f]
       Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
    Int32& plWebTemplateId) +0
       Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
    Int32& plWebTemplateId) +293
    [SPException: Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e' from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c' was not found.
    HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME. Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c. Client ActivityId : 69e6449c-9c3c-f090-404f]
       Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) +146
       Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
    Int32& plWebTemplateId) +889
       Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors)
    +928
       Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors) +532
       Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPWeb Web, String strWebTemplate, Nullable`1 bSharedNav, Boolean bOnTopNav, Boolean bOnQuickLaunch, Page page, Boolean bDeleteOnError, SPFeatureDependencyErrorBehavior
    featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors) +2076
       Microsoft.SharePoint.ApplicationPages.NewSubwebPage.BtnCreateSubweb_Click(Object sender, EventArgs e) +861
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +146
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3586
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18045  

    Hi  Jerry Choinski,
    For your error, It could possibly have something to do with that the workflow did not publish before saving your project site as a template.
    The "Elements.xml" file, which is packaged within the "wsp" solution file contains 2 "<File" elements. One file element represents the XAML file, and the other
    represents the WF association file. If the WSPublishState value for each "<File" element differ (one has a value of "3" and the other a value of "1"), the error will occur. For solving your problem, please update the WSPublishState value for both "<File"
    elements to “3”.
    PropertyName="WSPublishState"
    Value="3"
    Also note that the WSPublishState property is also duplicated within the "MetaInfo" property, so both occurrences should be updated. Then the resulting files need
    to be re-packaged into the template.
    Reference :
    http://social.technet.microsoft.com/Forums/en-us/be41f1c5-1dfb-4869-9a52-1c93902bfd91/microsoftworkflowclientactivitynotfoundexception-when-deploying-solution-with-workflow
    Please inform me freely if you have any questions.
    Thanks

  • Template missing for webdynpro-java application  in Iview Creation

    Hi All,
    I wanted to create an iview out of my webdynpro component . I followed
    the steps given in the following document ---
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9
    But unfortunately i couldn't find any template to create iview from webdynpro-java
    application . Can any one help me out ? Is there any customization for the same or
    this feature is not available for CE7.1--Sneak Preview version ? Any suggestion will
    be of great help to me.
    Thanks and Regards
    Ashis

    Hi,
    Did u deployed ur webdynpro application into portal. If not, u cant to create iview based on ur component..
    Regards,
    Senthil K.

  • NWDS 7.0 Error during Quick PAR Upload and while trying Exporting PAR-File

    Hello,
    I am trying to use the functions "Export as PAR-File" and "Quick PAR Upload" in NWDS 7.0.
    Unfortunately I got an error every time when I am trying to use this functions. I am using the package explorer in the Java perspectiv in NWDS for starting this functions. The error tells me the following:
    "Unable to connect to the Portal"
    "Operation failed: Please make sure the server "XY" is running or check the log (sap-plugin.log) for more detail"
    Thats all.
    When I am looking in the log-file I can read the following messages:
    "ACCESS.ERROR: Authorization check for caller assignment to J2EE resource [keystore-view.TicketKeystore: view-actions: GET_VIEW:ALL]"
    "ACCESS.ERROR: Authorization check for caller assignment to J2EE resource [keystore-view.TicketKeystore: view-actions: IS_VIEW_EXISTS:ALL]"
    "ACCESS.ERROR: Authorization check for caller assignment to J2EE resource [keystore-view.TicketKeystore: view-actions: SIZE_OF_VIEW:ALL]"
    "ACCESS.ERROR: Authorization check for caller assignment to J2EE resource [keystore-view.TicketKeystore: view-actions: READ_ENTRY:ALL]"
    LOGIN.ERROR|null|| Login Method=[default] UserID=[user_Admin] IP Address=[192.168.xxx] Reason=[Cannot authenticate the user]
    I have tried this with several users and their passwords. All of the users have admin-rights at least in the portal. One of them even in the SDM.
    I can sucessfully deploy webdynpros from NWDS into the same Portal with this users.
    We are using SAP Logon Tickets and SSO is configured working fine between Portal and backend.
    We have imported Key Store File in NWDS unter Window --> Preferences --> Java Development Infrastructure.
    And we are not using the NWDI.
    Who knows why I cannot even export par-files? Are their any configurations missing?
    Best regards,
    Iris

    It is mentioning about authentication.
    check whether you have access to deploy directly or not ? maybe direct deployment into portal disabled .
    I think you have to follow the procedure of checkout and activate procedure.
    Can you clarify few things
    1) Are you using NWDI Based Transports in your landscape?
    Login Method=default UserID=user_Admin IP Address=http://192.168.xxx Reason=Cannot authenticate the user
    http://192.168.xxx  is it your development portal?
    Did you clarify with admin people whether direct deployment disabled?
    Koti Redd

  • How to get the source code in PAR file

    Hi All,
    I used the PAR migration tool to migrate from PAR to EAR file. When I imported the EAR into NWDS 7.3, I was just able to see the structure and jsp files and could not find the java source code files. I would requires the java source code to make modifications so that deprecated APIs can be replaced and to also make the code compatible with JDK 1.6.
    I think the original 7.0 PAR file itself does not contain the source code. I decided to use the "Include source code" option when exporting the 7.0 PAR.
    I have the portal application DC project in my NWDS 7.0. However, when I try to export the PAR file using Export --> PAR File -- > Next... I am unable to select any project from the list. The list appears blank with disabled Next & Finish buttons.
    I also noticed that in the portal DC application structure, there is a .sda file under /gen/default/deploy. Also there is no PAR folder under /gen/default/public.
    How do I include the source in the PAR file so that I can edit the same after migrating to EAR format ?
    Regards,
    Melwyn

    DC and PAR/EAR stuff are different formats, SC/DC is an archive type used by NWDI, if I got it right.
    How do I go about generating the PAR file (with source) ?
    In fact through including the seources while creating the PAR/EAR in NWDS, but: no need to do that, you can also depack SDA (rename it to zip). If you wanna just see the Java sources you will find them there, otherwise decompile as Vijay already sad.
    cheers

  • Problems deploying par file via Netweaver Developer Studio

    Hello,
    I have problems deploying a par file using the SAP Netweaver Developer Studio.
    In the SNWDS i configure the following:
    Window -> Preferences -> SAP Enterprise Portal
    Alias: IEP
    Host: khz059
    Port: 52900
    Login: Administrator
    Description: Testportal
    The logon Url of the portal is http://khz059:5290052900/irj/portal
    If i try to upload a par file via "Quick PAR Upload" i get the error messages:
    "Unable to connect to the portal
    Operation failed: Please make sure the server 'IEP' (khz059:52900) is running or check the log (sap-plugin.log) for more detail."
    Am I using the proper settings? Am I using the wrong port?
    I don't know whats wrong.
    Can anyone help me?
    The logfile shows:
    [12.09.05 / 14:53] #ERROR LEVEL# com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1 > No Information
    java.io.IOException: Error writing to server
         at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:302)
         at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:314)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:634)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.readResponse(DeployEngine.java:361)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.uploadPar(DeployEngine.java:433)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.deploy(DeployEngine.java:220)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.processUpload(SAPMPWizard.java:404)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.run(SAPMPWizard.java:338)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard.performFinish(SAPMPWizard.java:519)
         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.portal.developmentTools.general.uploader.QuickPARUploader.run(QuickPARUploader.java:146)
         at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
         at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
         at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Best regards,
    Nils Kloth

    Hi Nils,
    I think you must have selected the defualt checkbox (Try and uncheck that). Also uncheck the checkbox for "<i>Yes, I want to remeber the password for deployment</i>" if it is also selected. When you deploy the par file now enter the password and try to deploy. I think this will solve your problem.
    Apart from this, try this methos of deploying the Par file.
    1) Save you project. Right click it and "Quick par Upload".
    2) On your browser type
    "http://<your_server_name>:50000/irj/servlet/prt/portal/"
    Your case:
    <i>http://khz059:52900/irj/servlet/prt/portal/</i>
    or same page you can get by navigating:
    System Administration-> Support-> Portal Runtime-> Administration Console.
    3) At the option "Please specify a Portal Archive file (PAR) and press "upload" to store it into the PCD." Deploy your par file by giving the path.
    Now you file is deployed on the server. If you want to create an Iview from this deployed .par file then :
    1) On your portal. Follow the path: Content Administrator-> Portal Content -> Portal Content(sub-option). Right click -> New from par ->iView.
    2) Here in the list you will find the par file which you have uploaded. Proceed as said.
    3) You will finally have an iView. Right click it and preview it.
    I hope this solves your problem.
    Regards
    Pravesh
    PS: Please consider rewarding points if helpful.

  • IView Creation Based on available  par file in  Net Weaver

    Dear All,
    We Have Developed iViews based on par file creation in EP5.
    We have used HTMLB tag libariries and used JCO to Call the RFC enabled function modules and BAPIs from ABAP..
    but now we want to migrate the all our iviews which are running successfully in EP5 to Netweaver Component of EP6.
    we have got netweaver installed but we were not able to find how to upload par file and create iView in Netweaver EP6...
    in EP5 we have simple procedure to create iViews .. we will login as a administrator and there is an option for parupload under content administartion ... we will upload par files and create iviews but we are not able to find the same and simple procedure in Netweaver EP6
    we have been struggling for several days and exploring netweaver EP6 documentation..
    can any one throw some loght on it how to create iviews based on available par files in EP5..
    please provide me detailed explanation or steps or any clear cut document to create iViews in EP6 of netweaver component. your help would be appreciated to great extent
    Thanks and Regards
    Prasad.Yedlapalli

    Hi Prasad!
    If u want to Create a iview from the par file means Goto Content administration > Portal Content > Right Click Create a floder.After Creation of Folder.
    Right Click on Folder > Click on iview then select the following option
    >> Portal component - create an iView from a portal component contained in a deployed portal archive (PAR)
    then Select the par file , then fill general iview properties and finally click finish.
    If you want to upload into portal, then u follow the below Navigation.
    After u deployed ur Application par file from NWDS.
    Open the Portal Goto System Administartion > Support > Click on Portal Runtime >Administration Console, then Browse the Par file and click on upload.
    Next time onwards u can able to see ur par file in the PAR file list , while creating the iview from the PAR file.
    Thanks & Regards
    Ganesh
    (Points are always Welcome)

  • Errors loading "old" PAR file to SneakPreviewSP16 for modification

    I have a PAR file that was custom developed Java for iViews that was initiall developed in the SDN downloaded 3-month version of EP5 and NWDS.  I then ported it to the early version of EP6 and NWDS. 
    In a moment of "madness", I downloaded the latest version of SAPNetweaver04SP16Preview and deleted the old version from my laptop. 
    Now I must make further modifications to the PAR file... but with this version of EP for NW04 and NWDS, I am getting a "laundry list" of errors trying to build the Project inside NWDS (see below).  Does anyone have some suggestions on either:
    (a) where to get the old download, or
    (b) what jar files I am missing?
    Thank you for the help.
    Rich
    ========================  Errors from NWDS =================================
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Task     Not Completed     Normal     <?xml     .project     Planning     line 1
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method buildColumnVector     Tools.java     Planning/src.api/com/solvay/Tools     line 205
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method buildColumnVector_RMRP     Tools_RMRP.java     Planning/src.api/com/solvay/Tools     line 67
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method buildDataVector     Tools.java     Planning/src.api/com/solvay/Tools     line 219
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method fill_SELECTION_ACTSALES     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 900
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method fillTable_TIME_SERIES     Tools_MarketingForecast.java     Planning/src.api/com/solvay/Tools     line 378
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method fillTable_TIME_SERIES     Tools.java     Planning/src.api/com/solvay/Tools     line 543
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method fillTableSelection_Long     Tools_MarketingForecast.java     Planning/src.api/com/solvay/Tools     line 244
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method fillTableSelection_Long_IOBJNM     Tools_RMRP.java     Planning/src.api/com/solvay/Tools     line 231
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method fillTableSelection_Long_IOBJNM     Tools.java     Planning/src.api/com/solvay/Tools     line 441
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method fillTableSelection_SAVE     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 792
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method getKeyFigureCount     Helper.java     Planning/src.api/com/solvay/Common     line 207
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method inputPar_ZZ_YOZ_GETDETAIL     Helper.java     Planning/src.api/com/solvay/Common     line 262
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method readInput     Tools_MarketingForecast.java     Planning/src.api/com/solvay/Tools     line 309
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method readInputValues     Tools_RMRP.java     Planning/src.api/com/solvay/Tools     line 83
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method table_IT_KEY_FIGURE     Helper.java     Planning/src.api/com/solvay/Common     line 27
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method table_SELECTION_0     Helper.java     Planning/src.api/com/solvay/Common     line 38
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method table_SELECTION_0_ADDITIONAL     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 472
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method table_SELECTION_1     Helper.java     Planning/src.api/com/solvay/Common     line 105
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method table_TIME_SERIES     Helper.java     Planning/src.api/com/solvay/Common     line 134
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method table02     Tools.java     Planning/src.api/com/solvay/Tools     line 517
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method TD_buildColumnVector     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 106
    Error               ConnectorException cannot be resolved (or is not an exception type) for the method TD_buildDataVector     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 139
    Error               ConnectorException cannot be resolved or is not a type     AM_Renderer.java     Planning/src.api/com/solvay/Views/Renderer     line 90
    Error               ConnectorException cannot be resolved or is not a type     MF_Renderer.java     Planning/src.api/com/solvay/Views/Renderer     line 256
    Error               ConnectorException cannot be resolved or is not a type     SF_Renderer.java     Planning/src.api/com/solvay/Views/Renderer     line 197
    Error               ConnectorException cannot be resolved or is not a type     TD_Renderer.java     Planning/src.api/com/solvay/Views/Renderer     line 81
    Error               IConnection cannot be resolved (or is not a valid return type) for the method getSAPConnection     Tools.java     Planning/src.api/com/solvay/Tools     line 61
    Error               IConnection cannot be resolved (or is not a valid type) for the argument client of the method execBAPIPBSRVAPS_CHANGEKEYFIGVAL_ACTSALES     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 362
    Error               IConnection cannot be resolved (or is not a valid type) for the argument client of the method execBAPIPBSRVAPS_CHANGEKEYFIGVAL_CURRLEVEL     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 252
    Error               IConnection cannot be resolved (or is not a valid type) for the argument client of the method execBAPIPBSRVAPS_CHANGEKEYFIGVAL_STOCKINTRANSIT     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 318
    Error               IConnection cannot be resolved (or is not a valid type) for the argument client of the method execBAPIPBSRVAPS_GETDETAIL     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 182
    Error               IConnection cannot be resolved (or is not a valid type) for the argument client of the method execYOZSAP_PORTALS_MACRO     Tools.java     Planning/src.api/com/solvay/Tools     line 280
    Error               IConnection cannot be resolved (or is not a valid type) for the argument client of the method execYOZSAP_PORTALS_MACRO_RMRP     Tools_RMRP.java     Planning/src.api/com/solvay/Tools     line 262
    Error               IConnection cannot be resolved (or is not a valid type) for the argument client of the method execYOZSAP_PORTALS_MACRO_TD     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 408
    Error               IConnection cannot be resolved (or is not a valid type) for the argument client of the method execZZYOZ_GETDETAIL_SAVE     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 858
    Error               IConnection cannot be resolved (or is not a valid type) for the argument client of the method doSaveActualSales     TransactionalData.java     Planning/src.api/com/solvay     line 464
    Error               IConnection cannot be resolved (or is not a valid type) for the argument client of the method doSaveCurrInvLevel     TransactionalData.java     Planning/src.api/com/solvay     line 434
    Error               IConnection cannot be resolved (or is not a valid type) for the argument client of the method doSaveStockinTransit     TransactionalData.java     Planning/src.api/com/solvay     line 388
    Error               IConnection cannot be resolved (or is not a valid type) for the argument client of the method execYOZ_SAP_PORTALS_MACRO     Tools_MarketingForecast.java     Planning/src.api/com/solvay/Tools     line 178
    Error               IConnection cannot be resolved (or is not a valid type) for the field Tools_AvailabilityMonitor.connection     Tools_AvailabilityMonitor.java     Planning/src.api/com/solvay/Tools     line 24
    Error               IConnection cannot be resolved (or is not a valid type) for the field Tools_MarketingForecast.connection     Tools_MarketingForecast.java     Planning/src.api/com/solvay/Tools     line 24
    Error               IConnection cannot be resolved (or is not a valid type) for the field Tools_MasterData.connection     Tools_MasterData.java     Planning/src.api/com/solvay/Tools     line 18
    Error               IConnection cannot be resolved (or is not a valid type) for the field Tools_RMRP.connection     Tools_RMRP.java     Planning/src.api/com/solvay/Tools     line 28
    Error               IConnection cannot be resolved (or is not a valid type) for the field Tools_SalesForecast.connection     Tools_SalesForecast.java     Planning/src.api/com/solvay/Tools     line 17
    Error               IConnection cannot be resolved (or is not a valid type) for the field Tools_TransactionalData.connection     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 27
    Error               IConnection cannot be resolved (or is not a valid type) for the field Tools.connection     Tools.java     Planning/src.api/com/solvay/Tools     line 34
    Error               IConnection cannot be resolved or is not a type     TransactionalData.java     Planning/src.api/com/solvay     line 342
    Error               IConnection cannot be resolved or is not a type     Tools_AvailabilityMonitor.java     Planning/src.api/com/solvay/Tools     line 60
    Error               IConnection cannot be resolved or is not a type     Tools_MarketingForecast.java     Planning/src.api/com/solvay/Tools     line 121
    Error               IConnection cannot be resolved or is not a type     Tools_MasterData.java     Planning/src.api/com/solvay/Tools     line 29
    Error               IConnection cannot be resolved or is not a type     Tools_MasterData.java     Planning/src.api/com/solvay/Tools     line 86
    Error               IConnection cannot be resolved or is not a type     Tools_RMRP.java     Planning/src.api/com/solvay/Tools     line 165
    Error               IConnection cannot be resolved or is not a type     Tools_RMRP.java     Planning/src.api/com/solvay/Tools     line 264
    Error               IConnection cannot be resolved or is not a type     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 38
    Error               IConnection cannot be resolved or is not a type     Tools_TransactionalData.java     Planning/src.api/com/solvay/Tools     line 156
    Error               IConnection cannot be resolved or is not a type     Tools.java     Planning/src.api/com/solvay/Tools     line 169
    Error               IConnection cannot be resolved or is not a type     Tools.java     Planning/src.api/com/solvay/Tools     line 399
    Error               IFunction cannot be resolved or is not a type     Tools_AvailabilityMonitor.java     Planning/src.api/com/solvay/Tools     line 64
    Error               IFunction cannot be resolved or is not a type     Tools_MarketingForecast.java     Planning/src.api/com/solvay/Tools     line 132

    The -resolve did not make the problems go away.
    Here is the command I used to load fop.jar again:
    loadjava -user cmsadmin/XXX@<hostname>:1521:TestDB -verbose -resolve -force -order -thin -grant public /export/home/fop.jar
    Here is an snippet of the error messages:
    ORA-29534: referenced object CMSADMIN.org/apache/fop/fo/PropertyList could n
    ot be resolved
    granting : execute on class org/apache/fop/fo/properties/CountryMaker to public
    resolving: class org/apache/fop/fo/properties/CountryMaker
    errors : class org/apache/fop/fo/properties/CountryMaker
    ORA-29534: referenced object CMSADMIN.org/apache/fop/fo/PropertyList could n
    ot be resolved
    granting : execute on class org/apache/fop/fo/properties/LanguageMaker to public
    resolving: class org/apache/fop/fo/properties/LanguageMaker
    errors : class org/apache/fop/fo/properties/LanguageMaker
    ORA-29534: referenced object CMSADMIN.org/apache/fop/fo/PropertyList could n
    ot be resolved
    granting : execute on class org/apache/fop/fo/properties/ScriptMaker to public
    resolving: class org/apache/fop/fo/properties/ScriptMaker
    errors : class org/apache/fop/fo/properties/ScriptMaker
    ORA-29534: referenced object CMSADMIN.org/apache/fop/datatypes/ToBeImplement
    edProperty$Maker could not be resolved
    granting : execute on class org/apache/fop/fo/properties/HyphenateMaker to publi
    c
    resolving: class org/apache/fop/fo/properties/HyphenateMaker
    Some classes can be loaded, others have the ORA-29534 error. Any ideas are much appreciated.
    Thank you very much,
    Rosi MacLean

  • EP5.0 Custom .par File Does Not Work in EP6.0 SP2

    I have a .par file called CustomerSearch.par that is used in EP5.0, and I am now trying to get this .par file to work in EP6.0 SP2.  I noticed the directory structure changes, so my .par structure is this:
    CustomerSearch.par
    -->  portal-inf
    portalapp.xml
    lib
    CustomerSearch.jar
    TableViewExample.class
    pagelet
    TableView.jsp
    I am getting the following error in the portal console logs when I try to access the component after I have uploaded the CustomerSearch.par file.  Does anyone have any suggestions?
    Error Message
    Jan 26, 2005 4:23:50 PM # Client_Thread_34 Fatal Exception ID:04:23_26/01/05_0019
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : CustomerSearch.TableViewExample
    Component class : TableViewExample
    User : testUser
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:858)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:389)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:462)
    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:88)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:226)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:109)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:135)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
    at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
    at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
    at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
    at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
    at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)
    at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
    at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
    at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: PortalComponentException
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:123)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:224)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:86)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:338)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:817)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:385)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:462)
    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:88)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:226)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:109)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:135)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
    at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
    at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
    at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
    at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
    at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)
    at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
    at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
    at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: D:/usr/sap/EPD1/j2ee/j2ee_22/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/CustomerSearch/work/pagelet/_sapportalsjsp_TableView.java:39: cannot resolve symbol
    symbol : class MyBean
    location: package TableViewExample
    TableViewExample.MyBean myBeanName = null;
    ^
    D:/usr/sap/EPD1/j2ee/j2ee_22/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/CustomerSearch/work/pagelet/_sapportalsjsp_TableView.java:41: cannot resolve symbol
    symbol : class MyBean
    location: package TableViewExample
    myBeanName = (TableViewExample.MyBean)pageContext.getAttribute("myBeanName", PageContext.APPLICATION_SCOPE);
    ^
    D:/usr/sap/EPD1/j2ee/j2ee_22/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/CustomerSearch/work/pagelet/_sapportalsjsp_TableView.java:45: cannot resolve symbol
    symbol : class MyBean
    location: package TableViewExample
    myBeanName = (TableViewExample.MyBean) Beans.instantiate(this.getClass().getClassLoader(), "TableViewExample.MyBean");
    ^
    3 errors
    at com.sapportals.portal.prt.servlets_jsp.server.compiler.JavaCompiler.compileExternal(JavaCompiler.java:439)
    at com.sapportals.portal.prt.servlets_jsp.server.compiler.JavaCompiler.compile(JavaCompiler.java:539)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2140)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:76)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:118)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:224)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:86)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:338)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:817)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:385)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:462)
    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:88)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:226)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:109)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:135)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
    at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
    at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
    at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
    at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
    at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)
    at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
    at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
    at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    [email protected]7 #
    TableViewExample.java Code
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.ResultSetMetaData;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.Vector;
    import com.sapportals.htmlb.InputField;
    import com.sapportals.htmlb.event.Event;
    import com.sapportals.htmlb.event.TableNavigationEvent;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    import com.sapportals.htmlb.table.TableView;
    import com.sapportals.htmlb.table.TableViewModel;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.*;
    public class TableViewExample extends PageProcessorComponent
         /* (non-Javadoc)
    @see com.sapportals.portal.htmlb.page.PageProcessorComponent#getPage()
         public DynPage getPage()
              return new MyDynPage();
         public class MyDynPage extends JSPDynPage
              //variables
              private int visibleRow = 1;
              public String search;
              public String state = "0";
              MyBean myBean;
              /* (non-Javadoc)
    @see com.sapportals.htmlb.page.DynPage#doInitialization()
              //Get Context and Initialize Bean
              public void doInitialization() throws PageException
                   IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
                   IPortalComponentContext myContext = request.getComponentContext();
                   IPortalComponentProfile myProfile = myContext.getProfile();
                   IPortalComponentProfile userProfile = request.getComponentContext().getProfile();
                   MyBean myBean = new MyBean();
                   myBean.setText("");
                   myProfile.putValue("myBeanName", myBean);
              /* (non-Javadoc)
    @see com.sapportals.htmlb.page.DynPage#doProcessAfterInput()
               //Called Directly After The Data Was Submitted
              public void doProcessAfterInput() throws PageException
                   //Get the Bean Object
                   IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
                   IPortalComponentContext context = request.getComponentContext();
                   IPortalComponentProfile profile = context.getProfile();
                   //Get the Account Info Input Field
                   InputField myInputField = (InputField) getComponentByName("account_input");
                   if( myInputField != null )
                        search = myInputField.getValueAsDataType().toString();
                   myBean = (MyBean) profile.getValue("myBeanName");
                   myBean.setAccount(search);
                   myBean.MyBeanModel();
                   state = myBean.state;
                   if( state == "1" )
                        //get the selected row / rows
                        //get the tableView by getComponentByName
                        TableView table = (TableView) this.getComponentByName("myTableView");
                        //Get the first visible row
                        int firstVisibleRow = table.getVisibleFirstRow();
                        //Get the last visible row
                        int lastVisibleRow = table.getVisibleLastRow();
                        //which of the visible rows was selected
                        StringBuffer strBuff = new StringBuffer();
                        for( int i = firstVisibleRow; i <= lastVisibleRow; i++ )
                             if( table.isRowSelected(i) )
                                  strBuff.append("Row: " + i + " : ");
              /* (non-Javadoc)
    @see com.sapportals.htmlb.page.DynPage#doProcessBeforeOutput()
              //Called Directly Before Output - Last Called Function
              public void doProcessBeforeOutput() throws PageException
                   //set the jsp to load
                   this.setJspName("TableView.jsp");
              //Called If The Navigation Event Was Send
              //The JSP has set the navigation mode byline so the user can navigate
              //line by line, page up and down, first and last entry
              public void onNavigation(Event event)
                   if( state == "1" )
                        //Navigation - get the event to recover the actual position
                        TableNavigationEvent tne = (TableNavigationEvent) event;
                        //With the event the method getFirstVariableRowAfter() can be used
                        //which gives the acutal position (after the event)
                        this.visibleRow = tne.getFirstVisibleRowAfter();
                        if( myBean != null )
                             //just for the first time, when there is no bean
                             //set the new visibleRow
                             myBean.setVisibleRow(new Integer(this.visibleRow).toString());
              public void onSendButtonClicked(Event event) throws PageException
                   IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
                   IPortalComponentContext context = request.getComponentContext();
                   IPortalComponentProfile myProfile = context.getProfile();
                   IPortalComponentProfile userProfile = request.getComponentContext().getProfile();
                   myBean = (MyBean) myProfile.getValue("myBeanName");
                   state = "1";
                   myBean.setState("1");
                   myProfile.putValue("myBeanName", myBean);
         public class MyBean
              //Properties
              public DefaultTableViewModel model;
              private String visibleRow = "1";
              private String text;
              private String account;
              private String state = "0";
              private String searchType;
              //get/set account
              public void setAccount(String account)
                   this.account = account;
              public String getAccount()
                   return this.account;
              //get/set state
              public void setState(String state)
                   this.state = state;
              public String getState()
                   return this.state;
              //get/set model
              public void setModel(DefaultTableViewModel model)
                   this.model = model;
              public TableViewModel getModel()
                   return this.model;
              //get/set Text for status messages
              public void setText(String text)
                   this.text = text;
              public String getText()
                   return this.text;
              //get/set VisibleRow for tableView
              public void setVisibleRow(String visibleRow)
                   this.visibleRow = visibleRow;
              public String getVisibleRow()
                   return this.visibleRow;
              //get/set SearchType
              public void setSearchType(String searchType)
                   this.searchType = searchType;
              public String getSearchType()
                   return this.searchType;
              //Create Table View Model
              public void MyBeanModel()
                   model = this.createNewTable(model);
                   //Set Table Text
                   if( model.getRowCount() > 0 )
                        this.setText("Customer Information Found For: " + this.getSearchType());
                   else
                        this.setText("No Records Found For Account: " + this.getAccount());
              //Create Data For A DefaultTableViewModel By Using Vector
              private DefaultTableViewModel createNewTable(DefaultTableViewModel model)
                   //Get a vector with a filled up data array
                   Vector data = null;
                   try
                        data = doGet();     
                   catch( ClassNotFoundException e )
                        e.printStackTrace();
                   //Get a new vector for the titles
                   Vector colName = new Vector();
                   colName.addElement("NUMBER");
                   colName.addElement("CUSTOMER NAME");
                   colName.addElement("PHONE");
                   colName.addElement("STREET");
                   colName.addElement("CITY");
                   colName.addElement("STATE");
                   colName.addElement("ZIP");
                   model = new DefaultTableViewModel(data, colName);
                   return model;
              //Method will execute SQL string with search parameter on the database
              public Vector doGet() throws ClassNotFoundException
                   Statement stmt = null;
                   Vector myVector = new Vector();
                   try
                        //Load the sun jdbc-odbc bridge driver
                        DriverManager.registerDriver (new oracle.jdbc.OracleDriver());
                        String dbUrl = "jdbc:oracle:oci8:@testX003";
                        Connection con = DriverManager.getConnection(dbUrl, "test", "test");
                        //Create a statement to submit SQL statements to the driver
                        stmt = con.createStatement();
                        String query = "select PAYER_NUM, PAYER_CUST_NAME, PAYER_PHONE_NUM_1 " +
                                          "PAYER_STR_ADDR, PAYER_CITY_NAME, PAYER_ST_ABBR, PAYER_ZIP_CD " +
                                          "from CUST_PAYER where PAYER_NUM = " + this.getAccount() + "";
                        this.setSearchType("Payer Search");
                        ResultSet rs;
                        rs = stmt.executeQuery(query);
                        ResultSetMetaData rsmd = rs.getMetaData();
                        //Get number of columns
                        int numCols = rsmd.getColumnCount();
                        if( numCols == 0 )
                             query = "select SLDTO_NUM, SLDTO_CUST_NAME, SLDTO_PHONE_NUM_1 " +
                                       "SLDTO_STR_ADDR, SLDTO_CITY_NAME, SLDTO_ST_ABBR, SLDTO_ZIP_CD " +
                                       "from CUST_PAYER where SLDTO_NUM = " + this.getAccount() + "";
                             this.setSearchType("SoldTo Search");
                             rs = stmt.executeQuery(query);
                        myVector = createData(rs);
                        //Close ResultSet
                        rs.close();
                        //Close Statement
                        stmt.close();
                        //Close Connection
                        con.close();
                   catch( SQLException ex)
                        this.account = ex.getMessage();
                   return myVector;
              //This method pulls the database selection results and places them into vectors
              private Vector createData(ResultSet res) throws SQLException
                   //Get the metadata infro
                   ResultSetMetaData rsmd = res.getMetaData();
                   //Get number of columns
                   int numCols = rsmd.getColumnCount();
                   String checkVal;
                   //Loop through the result set and load rows of data into Vector
                   Vector dataVec = new Vector();
                   Vector retVector = new Vector();
                   int k = 0;
                   while( res.next() )
                        k++;
                        for( int i = 1; i

    Hi Bernhard,
    nice to hear that we resolve the problem
    > Karstens answer solved my base problem,
    > Detlevs answer lead into the right direction.
    Not that I've that need for points...
    It's just the question why my answer (if you follow the link, my answer was: delete two lines, from which one is essential to be deleted) only "lead into the right direction"... In fact, it solved the base problem, I would claim for me
    To give the technical background: If your write
    <property name="ComponentType" value="jspnative"/>
    the portal runtime expects a component consisting of a native JSP; the second directive -
    <property name="JSP" value="pagelet/InitialPage.jsp"/>
    - for this case tells where to find this JSP. So if you delete the first line, <i>at least</i> the second line has no sense anymore. To clean up such a portalapp.xml, it just makes sense also to delete the second line.
    Best regards
    Detlev

  • Exception when using a renamed com.sap.portal.navigation.toolarea.par file

    Hi,
    I would like to modify the toolarea of our SAP Enterprise Portal. Basically, I just want to move the tools to the right hand side.
    <b>Problem Description</b>
    According to several threads I found on sdn
    - How to modify the header
    - copy and rename par-file?
    it should be fairly simple to modify the tool area.
    - download com.sap.portal.navigation.toolarea.par from portal server
    - import the downloaded par file into your NetWeaver Developer Studio
    - Change the ToolAreaiView.jsp in project folder dist/PORTAL-INF/jsp
    - Save changes
    - Deploy project to the portal server (>File>Export>Par File><Name of your project>>Next>...)
    - Remove the standard Tool Area iView from your Framework page
    - Create a new iView from your uploaded par file (chose default component)
    - Add new created iView to your Framework page
    Done, you should see your customized tool area. Unfortunately I encounter a Portal Runtime Exception (Page could not create the iView). I did exactly as described above.
    - I downloaded the com.sap.portal.navigation.toolarea.par.bak file from >System Administration>Support>Portal Runtime>Browse Deployment>ROOT>WEB-INF/deployment/temp.
    - Extracted the com.sap.portal.navigation.toolarea.par after changing the downloaded files file extension to zip
    - Imported the extracted par file into Netweaver Developer Studio under a new project name
    - Found the ToolAreaiView.jsp in project folder dist/PORTAL-INF/jsp
    - Did NO changes
    - Exported the project into a par file and deployed the par file to the portal successfully.
    - Removed the old Tool Area iView from the Framework page
    - Created a new Tool Area iView from my uploaded par file (default component)
    - Added the new created iView to the Framework page.
    - I logged on again and instead of the Tool Area I see an error message
    <i>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/sdm_Germany/de.sdm.kellermann.folders.home/de.sdm.kellermann.folders.coreobjects/default/frameworkPages/de.sdm.kellermann.coreobjects.frameworkpage/de.sdm.kellermann.iviews.toolarea
    Component Name : null
    Page could not create the iView.
    See the details for the exception ID in the log file</i>
    <b>Background information</b>
    J2EE Engine: 6.40 PatchLevel 89291.313
    Portal: 6.0.11.3.0
    Browser: Microsoft Internet Explorer 6 SP2
    NWDS: 2.0.11
    Any ideas what I did wrong? I appreaciate any kind of help.
    Best regards,
    Martin

    Hi Yoav,
    thank you for your swift response. You were right. I do not know why but after I imported the downloaded par file into NetWeaver Developer Studio, the new created project did not contain the jar files, which come with the par file. I added the jar files manually to the project, put them into the project's build path and instructed the NWDS to put them into the par file which I deployed to the portal server.
    Afterwards I completed the routine described in my first post and everything worked out. Thanks a lot for that hint.
    By the way do you know how to instruct NWDS to include the jar files automatically during an import?
    Best regards,
    Martin

  • How can pass information between 2 par file in iView???

    Hello,using PDK i've have created an iview calling 2 .par file, the first par file contains a menu that the user selects a products and then when press load button generates a table with information. The table with information is generated in second .par file, that collects the information passed by the menu (through beans) and with a BAPI generates the table. I made it because the menu must be separated in one frame, and the table in other...(and the first frame must displace, how a html frame)
    The question, how can pass information between two par files or if are another method to made 2 frames????
    I'm using jsp,HTMLB .
    Thanks.

    Hi,
    try to have a look to the docs contained in this zip file.
    They explain how to implement a portal component, a portal service and how to implement comunication between portal components, using POM and other features.
    Maybe could be a good starting point for you
    the file is
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/component and service creation tutorial.zip
    Ciao
    Roberto

Maybe you are looking for

  • Urgent : integrate a image passed in parameter in a PDF report

    Hi, I want to integrate an image passed in paramter (&image) using the image url property in a report. there is no problem when I call the report in HTML, but it doesn't work in PDF. Report server displays the url instead the image. I can't use an cl

  • How to transfer a module between systems and change the system name?

    Hello, I would like to transfer a module I've built from one server to another, my questions are: 1. What will be the best way to do it? 2. The 2nd Server contains a System with the same queries but the system has a different alias. Suppose I don't w

  • Earpeice not working..

    hi,, my iphone 4s drown into water somedays back.although now its working very fine with no problem at all except one. which is i cant speak thorough earpeice. it works very fine with speaker phone or headset. only cant communicate with earpeice. whe

  • Launching windowed program from getRuntime().exec( )

    hello, I have a tomcat web app that launches media player from getRuntime().exec(mediaplayerExecutable). It works fine when i run tomcat manually (startup.bat) but it only plays audio when I run tomcat as a service. when i look at the error messages

  • Problem using video file on Mac

    I have a large AVI file (which plays fine on my PCs) that refuses to be opened by any program on my new Mac. I've tried Divx, VLC, SimplemovieX, Quicktime, etc.. all close unexpectedly. The file is a large DV file that was captured to my PC directly