Renaming PAR file

Hi Gurus,
I need to rename the PAR file.
Situation is like this.
I created a Portal component project(Standalone SDA).That time I give par file name as "test.par".
Then I created abstract portal component. After coding part, I build the application and deployed.
When try to create an iView with portal component, the component is showing "test" (same as I give)
But I want to change that to "com.sap.test".
I tried sevaral methd like changing .dcdef file, changing application name etc..But it didn't worked.
Any one have any idea or faced such problem???
Thanks in advance
Sreejith

Thanks.
But here the problem is I am doing the dev in NWDI.So accessing console is not possible.
The other thing is after building, it generates sda file. not a par.
Also I tried the same by renaming the par file inside sda  and using my local server's
console. But there the deployment failed:
java.rmi.RemoteException: Cannot deploy application
Reason: Error while getting container files from EAR

Similar Messages

  • 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

  • Error in viewing logon page,inspite of restoring original par file

    Hi,
    I was trying to modify,the logon par file,because it was not getting deployed,it was becoming .err,
    I reverted back to the original logon par,and still even that gets deployed to .err.
    I renamed the original par,changed the reference in authschemes of configtool.This time,the renamed par file got deployed,but still the logon page shows error.
    The portal instance is sp9.
    Regards,
    Harish

    Hi Harish
    can u pls give the exact details of the error .
    Regards
    Jayesh

  • Error while importing PAR file from local system.

    Hi Experts,
    While importing PAR file into my NWDS, I am encountered by some strange error.
    Please refer below screenshot for your reference.
    After clicking on "OK" button of the above error popup, another popup emerge with different error, please find below the screenshot for this error.
    Please let me know the reason and resolution of this error. It will be very helpful for me.
    Thanks in advance.
    Thanks and Regards,
    sarvesh Agarwal

    Hi ,
    Are u trying to import with .bak extension ? If so please rename the file and remove .bak extension and try.
    x.par is enough to import not x.par.bak.
    Thanks,

  • Error while importing logon par file

    Hi
    I have to do logon page customisation for that i have taken com.sap.portal.runtime.logon.par.bak file from basis team and i saved it to my desktop .Now i have renamed it to com.sap.portal.runtime.logon.par and trying to import to my NWDS.
    So i opend EP perspective file->import->browsed the par file in place of Archive file name when i click on finish it is showing the error "invalid END header(bad central directory offset).
    "The plugin com.sap.portal.plugins.config-archiver"caused an exception during the unpack operation.see log for more details"
    Can anybody please let me know the reason for this error .
    Thanks in advance.

    Hi,
    After renaming com.sap.portal.runtime.logon.par.bak to com.sap.portal.runtime.logon.par. Try opening the file with winrar/winzip to see if you have a right par file structure. On some portal versions, when you open com.sap.portal.runtime.logon.par file, you have again a com.sap.portal.runtime.logon.par file inside it.
    So if you find com.sap.portal.runtime.logon.par file inside com.sap.portal.runtime.logon.par. Then just extract it again and try importing it into NWDS.
    Please refer to [link|NWDS Log - PAR import error;
    Hope this helps!!
    Thanks & Regards
    Vijay

  • Error while importing logon par file into NWDS.

    Dear Friends ,
    I m trying to customise the logon screen for my project. For this I have downloaded the "com.sap.portal.runtime.logon.par.bak" from portal server instance with the help of basis team. I have locally saved this file on my desktop[. I have renamed the file as .par and removed the .bak extension. Now I have tried to import the file onto NWDS in EP perspective by following File>Import>Par file. But its giving me this error:
    error in opening zip file
    Reason: Sorry, an error occured creating the new project.
    The plugin "com.sap.portal.plugins.config-archiver caused an exception during the
    "Unpack" Operation See log for more details.
    In some of the solutions provided in SDN saying that after renaming the file to par open with zip if i done it is again showing the error as "Start of the central directory not found .Zip file corrupt.Possible cause :file transfer error."
    Kindly suggest me the solution.
    Thanks and regards.

    Hi,
    I think you have taken this file from a wrong path and hence this issue.
    Pls download the par file from the below path and try importing it into EP perspective..
    System admin> Support>Portal Runtime > Browse Deployment>
    Browse through the following to find the com.sap.portal.runtime.logon.par.bak file:
    WEB-INF u2013> deployment u2013> pcd
    Root>WEB-INF>Portal>Portalapps> temp--> download the com.sap.portal.runtime.logon.par.bak
    Regards,
    Vijay.
    Edited by: VijayKPappala on Sep 7, 2011 8:46 AM

  • Not able to view the uploaded PAR file in the portal archive selection.

    Dear All,
    I have modified com.sap.portal.runtime.logon.par and have renamed it to some other name.
    Now I have uploaded the par file.
    The problem is that when choose new from PAR option (to create iview from a par file),I am not able to see the par file in the Portal Archive selection.
    I also want to know that if I am able to call the par file in the iview, can I use this iview to have a portal login.
    Our requirement is that we want to give login page for the portal in the portal home page.The portal home page will be for the anonymous users.
    Kindly try to guide me

    Hi Nitin,
    Check ur Portalapp.xml file. If u have the following code in that just <b>remove</b> them
    <property name="com.sap.portal.pcm.Category" value="platform">
    <property name="inheritance" value="final"/>
    Deploy it again.now u can see that par in ur portal.Refer this thread also
    PAR File not seen
    Regards,
    Tamil K

  • PAR file from NWDS

    Hello,
        I'm attempting to change a couple of the images on the log on page by adding them into the PAR file using a project in NWDS. After making the changes, which I believe I have done correctly, in order to create the new par file I've used the export PAR file option. I then rename the new file to our our existing filename and pass it to our BASIS team who have tried to deploy it using SDM. For some reason it won't load. (I have manually added the 2 JAR files so that is not the problem). Any ideas about what is wrong ? Any help would be appreciated.
    Much obliged,
         Phil.

    Hello
    Check while creating the PAR file again after uploading the images,
    is the par file created correctly or not?
    is there any custom jar files added previously when the login par has created.
    make sure all jar files added in PAR file while building PAR.
    If PAR file generated successfully then try to deploy from System Admin as mentioned by above reply.
    Cheers
    Chinmaya
    reward for Helpful answers.

  • Problem with KM Scheduler par file

    Hi,
    I created a KM Scheduler project and uploaded the par file. It was making use of few jar files.
    I have just uplaoded the par file and still not set the scheduler time. When I see the default trace logs, I am able to see that
    the below info is getting printed repeatedly..say within an interval of half an hour.
    #1.5 #12B0F00110060019000000500021505E000478929759A3E8#1258470906635#com.sapportals.wcm.crt.CrtClassLoaderRegistry#sap.com/irj#com.sapportals.wcm.crt.CrtClassLoaderRegistry#Guest#0##n/a##de131140d38b11decc1112b0f0011006#SAPEngine_Application_Thread[impl:3]_6##0#0#Warning#1#/Applications/KMC/CRT#Plain###loader was already registered -> replacement: oldLoader = com.sapportals.portal.prt.util.ApplicationClassLoader~18281828~com.sapportals.portal.prt.util.ApplicationClassLoader~18281828(/usr/sap/PN3/JC44/j2ee/cluster/server1/apps/sap.com/irj/servlet_jsp/irj/root/WEB-INF/portal/portalapps/5_MailServiceScheduler/lib/sqljdbc.jar;/usr/sap/PN3/JC44/j2ee/cluster/server1/apps/sap.com/irj/servlet_jsp/irj/root/WEB-INF/portal/portalapps/5_MailServiceScheduler/lib/MailServiceSchedulerapi.jar;/usr/sap/PN3/JC44/j2ee/cluster/server1/apps/sap.com/irj/servlet_jsp/irj/root/WEB-INF/portal/portalapps/5_MailServiceScheduler/lib/com.sap.portal.runtime.system.clusterinformation_api.jar;) -> newLoader = com.sapportals.portal.prt.util.ApplicationClassLoader~2dc12dc1~Com.sapportals.portal.prt.util.ApplicationClassLoader~2dc12dc1(/usr/sap/PN3/JC44/j2ee/cluster/server1/apps/sap.com/irj/servlet_jsp/irj/root/WEB-INF/portal/portalapps/MailServiceScheduler/lib/sqljdbc.jar;/usr/sap/PN3/JC44/j2ee/cluster/server1/apps/sap.com/irj/servlet_jsp/irj/root/WEB-INF/portal/portalapps/MailServiceScheduler/lib/MailServiceSchedulerapi.jar;/usr/sap/PN3/JC44/j2ee/cluster/server1/apps/sap.com/irj/servlet_jsp/irj/root/WEB-INF/portal/portalapps/MailServiceScheduler/lib/com.sap.portal.runtime.system.clusterinformation_api.jar;)#
    My guess is that in the above line it is just picking up the jar files. But I want to know why it is trying repeatedly to pick up the jar files??
    Kindly help me out of this.
    Regards,
    Shilpa B.V
    PS: Please note that in the above code pasted, I have replaced @ with ~ as it was giving soem trouble

    Hi Detlev,
    Thanks for your help.
    But I did not rename the par from "5_MailServiceScheduler" to "MailServiceScheduler, I am confused now.
    And I completely agree on your statement that portal has to be restarted as KM does not support hot deployment. BUt my doubt is even before the KM went down, the message got printed in the log file several times..Why this strange behaviour??
    Also, could you please let me know how to reference the jar files via portalapp.xml.
    Regards,
    Shilpa B.V

  • Not able to get the standard par files

    Hi,
    I  downloaded the standard par file from ROOT/WEB-INF/deployment/pcd (download this folder).  My problem is I am not able to extract the par.bak file from the downloaded zip file. But I able to exract the par.bak file for custom created portal componet's par file.
    What would me the problem?
    Kindly help me out.
    Ram

    Hi,
    Rename the par.bak file to par and then try to import it into NWDS. This will create a project in NWDS and you can start playing around with the project files. When you import par file no jar files are imported into NWDS, so you should do it manually.
    Check this how to import par file into NWDS:
    importing a .par file
    Regards,
    Praveen Gudapati

  • 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

  • Error while importing par file

    dear Experts,
    i am facing a problem while importing par.bak file. the error message comes
    "indexed store transactions did not commit properly"
    Reason
    sorry an error occurred creating new project
    then once i click ok
    i get the error
    com.sap.portal.plugins.config-archiver caused exception during the "unpack" operation
    any one has the solution for this

    Hi ,
    Are u trying to import with .bak extension ? If so please rename the file and remove .bak extension and try.
    x.par is enough to import not x.par.bak.
    Thanks,

  • Par file get demage after import it to NWDS

    Hi everybody,
    i if download a par file from portal and import it as par into NWDS i cannot run the application in the portal
    again after deploying. For example, i have downloaded com.sap.navigation.masthead.par. I rename it and
    import it into NWDS. I deploy the par file and create a iView which was added to my Default Framework
    page. I get the following error:
    Portal Runtime Error
    An exception occurred while processing your request
    If i did not import the par file into NWDS and edit it manually i can deploy and run it without a problem.
    regards,
    Seed

    Hi..
    Refer this for Successful importing of .par files..
    [Re: importing a .par file]
    Also
    Just right click on project to properties->java build path-> add external jars add the jar file servlet.jar.
    You can download servlet api jars from [http://java.sun.com/products/servlet/download.html]
    In addition to this,
    Go to Navigator tab of the same perspective and add the same jar to lib folder..
    Hope it helps..
    Thanks....

  • Re: Error while uploading par file .

    Hi ,
    When I m trying to uploading my par file i m getting this err pop-up .
    par upload failed :
    please check the log (sap-plugin.log) for more detail
    2009-02-23_14-20-27
    Application upload failed: P&G_Test.par
    com.sapportals.portal.prt.runtime.PortalException: [ApplicationRepositoryService.putArchive] archive: P&G_Test.par
         at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:328)
         at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:813)
         at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchive(DeploymentManager.java:474)
         at com.sapportals.portal.prt.deployment.DeploymentManager.uploadApplication(DeploymentManager.java:319)
         at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doUpload(ArchiveUploader.java:116)
         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.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:707)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: javax.naming.InvalidNameException: Character not allowed: '&' in 'P&G_Test.par'
         at com.sapportals.portal.pcd.pl.PcdName.checkComponent(PcdName.java:54)
         at com.sapportals.portal.pcd.pl.PcdName.checkComponents(PcdName.java:69)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:453)
         at com.sapportals.portal.pcd.gl.PcdGlContext.rebind(PcdGlContext.java:1221)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:502)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:663)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:668)
         at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.storeArchive(ApplicationRepositoryService.java:373)
         at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:299)
         ... 34 more
    Thanks in advance

    Hi,
      The error shows clearly
    > Caused by: javax.naming.InvalidNameException: Character not allowed: '&' in 'P&G_Test.par'
    As suggested, rename the project, rebuild it and then upload the par to server. That should work.
    Regards,
    Harini S

  • Error when uploading par files - Exception

    Hi all,
    I'm getting an error when I try to upload any par file of the MSS package through the administration console. The error thrown is:
    Messages:
    INFO: Detected Portal Archive File: com.sap.pct.hcm.attendanceoverview.par
    INFO: Application successfully stored in the PCD
    Messages from Server ID 8657950
    ERROR: Operation failed: The archive com.sap.pct.hcm.attendanceoverview has not been deployed.
    ERROR: Exception caught: com.sapportals.portal.prt.runtime.PortalRuntimeException: [PortalApplicationItem.prepare]: com.sap.pct.hcm.attendanceoverview
    The error is displayed in the administration console. The logs don't say anything useful. I'm getting a few exceptions about finding archives and this error message: get data source CVERS failed! Trying SAP/BC_UME...
    I have checked the rights to all directories and the directory structure. We're running EP6.0 with SP 9.
    Thanks for your time.
    regards,
    Dion

    Hi Dion,
    i would think that SAP tries to stop uploads of par files which should be installed with them SDM or import of a whole package.
    Try the following :
    - rename the par file name from com.sap.... to something else...
    or :
    -  import the par into Developer Studio and change the project name 
       change/delete the META-INF files
    Another question : why do you want to install only certain elements of the MSS package ?
    Regards,
    Kai

Maybe you are looking for

  • Missing fonts in a new computer reinstall of illustrator 10

    I recently purchased a new Dell computer with Windows 8 operating system.  The Illustrator program is working yet a lot of my fonts are missing and have been replaced with generic fonts.  Am I missing something?

  • REDIRECT OF SUN ONE WEB SERVER--WEBLOGIC 10.0

    HI I have a problem with sun one webserver configuration of redirect the request. PLZ assume this scenario. I configure in obj.conf from sun-one to weblogic like this <Object name="weblogic" ppath="*/hw/*"> Service fn="wl_proxy" WebLogicHost="-------

  • Re: String data type

    the string scalar type doesn't have that functionality, but if you use a TextData it has the methods you are looking for. Anthony N wrote: > Hi Is there a built-in function/method to perform substring on an input string? If there is no such method, w

  • Dbx dumps

    Hi, I have just installed Sun Studio11 for Solaris 10 x86(version 3/5). It works fine. BUT : After loading simple program (squares for example) using debug option in main menu, three debug windows show up and then error message " dbx terminated (conn

  • Exporting Browser Bookmarks to Desktop

    I am using Nokia N8. I have a lot of bookmarks in my N8 web browser and I wish I could export it to my desktop. The main reason why I want to do this is because the amount of bookmarks I have has slowed down my mobile phone, and unfortunately I canno