Error adding file type item using portal api

We are using portal 3.0.8.
I can add text and url type items fine but when i try to add a file type item, i get following error.
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception: java.lang.SecurityException: relative
pathnames are not allowed(c:/abc.txt)
ORA-06512: at "PORTAL30.WWSBR_API", line 24
ORA-06512: at "PORTAL30.WWSBR_API", line 272
ORA-06512: at line 4
Please help.
Thanks
null

Manoj,
Please try to define a reproducible test case. Is this happening in all content area? Is it happening with all files, or only particular ones? What platform are you running on? What version of the database are you using?
Have you checked your repository for invalid objects? If any exist, please try to recompile them.
Thanks,
Jerry

Similar Messages

  • Error Add Item using DI API 2007  B

    Sirs,
         I gettin a error on add a item using a follow code:
                       If m_Item.GetByKey('100') = True Then
                            m_Item.ItemType = ItemTypeEnum.itItems
                            m_Item.ItemsGroupCode = 1
                            m_Item.ItemClass = ItemClassEnum.itcMaterial 
    'This line ocorred a error 'oToBP.ItemClass = {"Property 'ItemClass' of 'Item' is invalid"}
                            lErrorCode = m_Item.Update()
                        Else
                            lErrorCode = 1
                        End If
    Please,
    I'm waiting a urgent response .
    Great.
    Fábio Nascimento

    Fabio,
    In 2007 A the ItemsgroupCode start at 100 and not 1.
    Perhaps this is your problem.
    Christophe

  • File Error: Wrong File Type for Project File

    Just had our 2nd LaCie 2tb hard drive crash. Just completed a project and was about ready to compress it when the drive wouldnt boot up anymore. I tried every program under the sun before eventually sending it off for data recovery.
    $1700 dollars later I have all my files, except one little change.
    My FCP project files are not recognizable by FCP anymore. In the get info box it says they are "Kind: Final Cut Pro Document" The preview picture is a gradient box with exec in the green text in the upper left corner. I tried adding the .fcp extension, but it still wouldn't open it. I keep getting the "File Error: Wrong File Type" when I try opening it with FCP.
    Anything I can do to fix this?
    Thanks

    You might give the following a try...
    1. open the .fcp file with TextEdit
    2. save the file again
    3. open with fcp
    Frank

  • DVD-MOV mpegstream clip error: "File open error: unsupported file type"

    I do it all the time this is the only time i've gotten this error, i use mpeg stream clip. I have a dvd I got from a DVR recorder, I open the dvd which shows 2 VOB files in the TS folder. the MENU gives "Warning: the stream may have timecode breaks." I "Fix Now" and it works fine. But i dont want the menu. the other VOB file in the TS folder, which should be the "movie I want" gives this error when opened,
    "File open error: unsupported file type"
    when I open anyway, I get an audio bar which has no sound, and no video.
    ANY IDEAS? I've been on this for hours PLEASE

    Hi,
    Do you have the [MPEG-2 component|http://www.apple.com/quicktime/mpeg2> installed on your computer? If not, you will need it to be able to convert VOB files.

  • Portal application sync using Portal APIs

    Hi All,
    I am trying automate the EBCC sync process using Portal APIs. I think it's very
    common since it avoids the manual sync process & helpful in creating batch process
    using Ant. Is anybody did this before??, please let me know if you have any suggestions
    etc.
    Many thanks
    Zulfi

    Many thanks Deepak, It works now...
    Cheers
    Zulfi
    "Deepak Shetty" <[email protected]> wrote:
    >
    should not url be
    http://localhost:7501/portalAppDataSync/DataSyncServlet ?
    also what does the server side log show? are you able to connect to your
    datasync
    servlet
    i am not sure whether this is a weblogic error caused due to some other
    reason
    i have only done this with 4.0 not 7.0 so im not sure if this works
    bye
    deepak
    "Zulfiqar" <[email protected]> wrote:
    I am posting the Ant script since it has been deleted by the system..don't
    know
    why.
         <property name="basedir1" value="C:/bea/user_projects/sourceDomain/beaApps"/>
         <property name="deploy.system.username" value="system"/>
         <property name="deploy.system.password" value="password"/>
         <property name="deploy.syncmode" value="refresh-from-client"/>
         <property name="url" value="http://localhost:7501/portalAppDataSync"/>
         <property name="basedir" value="C:/bea/user_projects/sourceDomain/beaApps"/>
         <property name="ebcc.lib.dir" value="C:/bea/weblogic700/ebcc/lib"/>
         <property name="weblogic.lib.dir" value="C:/bea/weblogic700/server/lib"/>
         <target name="Sync">
              <java fork="true" classname="com.bea.p13n.management.data.DirectoryDataSync">
                   <arg value="-root"/>
                   <arg value="${basedir1}/portalApp-project"/>
                   <arg value="-user"/> <arg value="${deploy.system.username}"/>
                   <arg value="-password"/> <arg value="${deploy.system.password}"/>
                   <arg value="-mode"/> <arg value="${deploy.syncmode}"/>
                   <arg value="-url"/> <arg value="${url}"/>
                   <classpath>
                        <pathelement location="${weblogic.lib.dir}/weblogic.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/jdom.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/HTTPClient.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/p13n_system.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/p13n_util.jar"/>
                   </classpath>
              </java>
         </target>
    Cheers
    Syed
    "Zulfi" <[email protected]> wrote:
    Thanks Deepak, i tried on this in Portal server 7.0 by writing the
    Ant
    script which
    is attached here. It gave some errors related to XMLMarshalling. The
    Ant script
    is,
         <property name="basedir1" value="C:/bea/user_projects/sourceDomain/beaApps"/>
         <property name="deploy.system.username" value="system"/>
         <property name="deploy.system.password" value="password"/>
         <property name="deploy.syncmode" value="refresh-from-client"/>
         <property name="url" value="http://localhost:7501/portalAppDataSync"/>
         <property name="basedir" value="C:/bea/user_projects/sourceDomain/beaApps"/>
         <property name="ebcc.lib.dir" value="C:/bea/weblogic700/ebcc/lib"/>
         <property name="weblogic.lib.dir" value="C:/bea/weblogic700/server/lib"/>
         <target name="Sync">
              <java fork="true" classname="com.bea.p13n.management.data.DirectoryDataSync">
                   <arg value="-root"/>
                   <arg value="${basedir1}/portalApp-project"/>
                   <arg value="-user"/> <arg value="${deploy.system.username}"/>
                   <arg value="-password"/> <arg value="${deploy.system.password}"/>
                   <arg value="-mode"/> <arg value="${deploy.syncmode}"/>
                   <arg value="-url"/> <arg value="${url}"/>
                   <classpath>
                        <pathelement location="${weblogic.lib.dir}/weblogic.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/jdom.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/HTTPClient.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/p13n_system.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/p13n_util.jar"/>
                   </classpath>
              </java>
         </target>
    You can also see the detailed information on the attached doc. Please
    let me know
    if anybody has any clue.
    Thanks
    Zulfi
    "Deepak Shetty" <[email protected]> wrote:
    For portal 4.0 i think
    <java fork="true" classname="com.bea.p13n.management.data.DirectoryDataSync">
    <arg value="-root"/>
    <arg value="${basedir}/ebcc/portal-project/application-sync"/>
    <arg value="-user"/>
    <arg value="system"/>
    <arg value="-password"/>
    <arg value="${deploy.system.password}"/>
    <arg value="-mode"/>
    <arg value="${deploy.syncmode}"/>
    <arg value="-url"/>
    <arg value="http://${deploy.bindaddress}:${deploy.port}/portalDataSync/DataSyncServlet"/>
    <sysproperty key="bea.home" value="${deploy.bea.home}"/>
    <classpath>
    <pathelement location="${deploy.wls6.home}/lib/weblogic.jar"/>
    <pathelement location="${deploy.wlp4.home}/lib/ext/jdom.jar"/>
    <pathelement location="${deploy.wlp4.home}/lib/ext/HTTPClient.jar"/>
    <pathelement location="${deploy.wlp4.home}/lib/p13n_system.jar"/>
    <pathelement location="${deploy.wlp4.home}/lib/p13n/ejb/p13n_util.jar"/>
    </classpath>
    </java>
    inside an ant target should be what you would want to do
    HTH
    deepak
    "Zulfiqar" <[email protected]> wrote:
    Hi All,
    I am trying automate the EBCC sync process using Portal APIs. I think
    it's very
    common since it avoids the manual sync process & helpful in creating
    batch process
    using Ant. Is anybody did this before??, please let me know if you
    have
    any suggestions
    etc.
    Many thanks
    Zulfi

  • When trying to change ringtone I keep getting the error message file type not supported.

    I have downloaded some ringtones fro VZ Tones and when I go to make them the default it gives me the error message file type not supported.  If I go to my storage and try to look at pictures, it tells me the same thing.

        That's definitely odd CrystiDawn, and I understand it can be quite frustrating. Let's get to the bottomof this. What device make and model phone do you have? Did you receive a text message with a link to download the ringtones? If so, once downloaded, please go to all your Apps, locate "Files" and play the ringtone using the media player. You will have the option to set it as ringtone while playing and pressing the menu icon. Were the pictures taken from the phone or transferred using the USB cable?
    AdaS_VZW
    Follow us on Twitter at @VZWSupport 

  • I cannot upload Photoshop Touch jpegs to my Wordpress blog. I get this error message: ´File type not permitted due to security reasons.´

    Images I retouch in Photoshop Touch and save as jpegs won´t upload to my Wordpress blog. I get this error message: ´File type not permitted due to security reasons.´ I never had this issue before when using photoshop cs or gimp. How can I resolve this issue and continue using Photoshop Touch which otherwise works great with my tablet.

    It seems like you might have to rename them to jpg.
    WordPress › Support » Security error when uploading jpeg image using new macbook
    Let me know if it works.
    Thanks,
    Ignacio

  • [svn] 674: LCDS-110: If you don' t specify file type when using DocumentReference, a java.lang. NullPointerException occurs.

    Revision: 674
    Author: [email protected]
    Date: 2008-02-27 09:41:30 -0800 (Wed, 27 Feb 2008)
    Log Message:
    LCDS-110: If you don't specify file type when using DocumentReference, a java.lang.NullPointerException occurs.
    qa: yes
    bug: LCDS-110
    doc: no
    checkintests: passed
    Details:
    modules/common/src/java/flex/messaging/errors.properties
    * new error message
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-110
    http://bugs.adobe.com/jira/browse/LCDS-110
    Modified Paths:
    blazeds/branches/3.0.x/modules/common/src/java/flex/messaging/errors.properties

    Yes I know that ;) and I fixed it myself too by initializing it like this: private GameObject[] apple = new GameObject[max_apples];But now I get this error instead:
    Exception in thread "Thread-4" java.lang.ArrayIndexOutOfBoundsException: 3
         at Main.run(Main.java:35)
         at java.lang.Thread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-1" java.lang.ArrayIndexOutOfBoundsException: 3
         at Main.paint(Main.java:134)
         at sun.awt.RepaintArea.paintComponent(Unknown Source)
         at sun.awt.RepaintArea.paint(Unknown Source)
         at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)So now I need help on this... =D CHEERS! :P

  • Uploading a file in KM using KM API

    Hi,
    How to upload a file into KM using KM API.
    Regards
    MQ

    Hi,
    Pls go thru the below code.
    public static final String uptoKm(com.sap.tc.webdynpro.services.sal.datatransport.api.IWDResource resource){
                               try {
                                       ResourceContext  contex= new   ResourceContext(WPUMFactory.getUserFactory( ).getEP5User(req.getUser( )); );
                                       IResourceFactory factory = ResourceFactory.getInstance();
                                         RID rid = RID.getRID(PATH);
                                          ICollection folder = (ICollection)factory.getResource(rid,contex);
                                           Content content = new Content(resource.read(true),"byte",-1);
                                         folder.createResource(resource.getResourceName(),null,content);
                                       return resource.getResourceName();
                                  } catch (NotSupportedException e) {
                                       e.printStackTrace();
                                  } catch (AccessDeniedException e) {
                                       e.printStackTrace();
                                  } catch (ResourceException e) {
                                   e.printStackTrace();
                                   return null;
                                  } catch (IOException e) {
                                       e.printStackTrace();
                 return null;
    Above method accept parameter of resource and return file name on sucessfully uploaded.
    best regards
    Hari.

  • [HTML]SignTool Error: The file is being used by another process.

    Hello,
    I receive this error from building a JavaScript app on a build server:
    SignTool Error: The file is being used by another process.
    This reproduced when building on local machine, and goes away after building again. However, our company uses gated builds so the first failure will stop an entire 2.1 hour build and I can't ship the product.
    The instruction to launch SignTool is located in external files so I can't disable it, run it twice, or run it in a while loop until succeeds, ignoring failures. I have to get it to work right the first time. I looked on MSDN, and there are other people
    who had this problem and never solved it.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/5871d64c-e178-4f5c-85cd-a603fe56d6c7/signtask-signtool-error-the-file-is-being-used-by-another-process?forum=msbuild
    http://www.codeproject.com/Questions/275454/Can-anyone-help-me-with-Signtool-Setup-Deployment
    http://qualapps.blogspot.in/2006/12/code-signing.html
    The only clue I have is our solution having build configurations that aren't called "Debug" and "Release", which have been cloned from Debug/Release and have WinRT apps building. If the build script for WinRT depends on anything being
    called "Debug" and "Release" it wouldn't work correctly.
    In any case, there is no documentation for SignTool that mentions this error - how do I fix it?

    Hi TripleRectified,
    >> If the build script for WinRT depends on anything being called "Debug" and "Release" it wouldn't work correctly
    What's you version of Visual Studio, on my side, in the Visual Studio 2013 Update 4, I created a new configuration(Copy Settings from "Debug") to build a WINJS project, but I can't see the exception you mentioned.
    >>This reproduced when building on local machine, and goes away after building again
    Does it happen on all local machines? We need to exclude environment facts first, for example: Tool, OS etc.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Word 2007 - Save as Pdf gives error - This file is in use by another application or user

    I have MS Office 2007 Small Business.
    For months I have been using the "Save as PDF/XPS" option to save my word documents as PDF files.
    All of a sudden, when I click on the publish button within the "save as PDF dialog", I get the error:
    "This file is in use by another application or user."
    - I have tried creating a new word document and I still get this error when I try to save-as pdf. 
    - I have tried opening a document that previously was able to be saved-as-a-pdf, and it no longer works either.
    - I have tried saving from other office applications (excel, powerpoint) that also get errors now.
    I have not personally installed any new software that I recall between when this worked and stopped working for me.
    As far as I can tell there have been no updates explicitly for save-as-pdf in office.
    Is anyone else seeing this problem all-of-a-sudden?
    Thanks.
    jlk

    I just encountered this problem while trying to save a pdf from Excel 2007.  I had recently updated to Adobe Reader 9.1.
    I received the same error message you're reporting here when I went to Word 2007 and tried to save a pdf file from it as well. 
    I uninstalled Adobe Reader 9.1. 
    Reinstalled the Office 2007 pdf plug-in
    Successfully created pdf files from word and from Excel (which is what I needed to do in the first place).
    I then reinstalled Adobe Reader 9.1 so I could read the PDF files I had just created in Excel and word.
    I then tried to create pdf files from word and excel.  Error messages are back and I'm unable to create pdf's from word or excel.
    So.. why does Office 2007 pdf plugin not work when Adobe Reader 9.1 is installed?
    Frankly I'm getting tired of uninstalling Adobe Reader 9.1 every time I need to create a pdf file in Word or Excel.
    Bry

  • How to update 500 list items using Rest API

    Hi All,
    i have requirement that is "required to update 500 list items using rest Api".
    how can i do it,please share your thoughts with me.
    Thanks,
    Madhu.

    Didn't get you correctly, if you asking reference for REST API to update list items please refer below links
    http://msdn.microsoft.com/en-us/library/office/jj164022(v=office.15).aspx
    Destin -MCPD: SharePoint Developer 2010, MCTS:SharePoint 2007 Application Development

  • A "file type" question: using Terminal?

    Hi all, how do I change the file type of files (as seen in the Get Info box?) Here's an odd thing. Apple's Logic Pro's been stable for a while now for me. Then I install Final Cut Studio as an upgrade from my Soundtrack Pro. Seems to crash a bit now....my Sampletank 2.1 plug-in (audio unit/component) which has been super fine seems to appear in Crashed thread zero, but I must add, I also installed the recent Pro Applications Update (and 10.4.7) too...
    Oddest thing is that since installing Final Cut Studio, most of my Audio Unit plug-ins have had their "file type" which USED to be "Audio Unit/Component" changed to "iDVD2 file" AND, whereas before they'd all say "open with <none>", as they should do, those affected say now "open with DVD Studio Pro 2". Anyone know how to change them back to <none> (guess it involves using the Terminal...) or whether I need to????????? Nobody in the Logic thread as responded....

    Hi, Chris.
    That the specific file types are not being recognized correctly may indicate that the Launch Services database is corrupted.
    See my "Resetting Launch Services" FAQ.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • How do I upload an XML file to salesforce using BULK API?

    Hi There,
    Please let me know how do we upload an XML file to salesforce using Bulk API?
    Thanks,
    ET

    Hi,
    I think that this is a more SalesForce.com question and think you will have more chance looking at SOAP API Developer's Guide for salesforce. Sending a SOAP request from the API Server is very straight forward and there are several tutorials and well documented about this.
    Cheers,
    Stefan

  • I have exported my bookmarks in JASON format now when I restore this one its gives error " Unsupported file type"

    I have exported my bookmarks in JASON format now when I restore this one its gives error " Unsupported file type"

    Hello UbaidUQ, any luck if you rename the file with no capital letters = .json, (no .JSON)
    thank you

Maybe you are looking for

  • Can I get my macbook on to a windows network?

    Hi, I was wondering if i could use my mid 2009 macbook on my dads windows 7 home network. He has the network already set up, and has enabled printer sharing and some of the other options. I wanted to know because it would be very handy if i could pri

  • Form Wizard, Excel Sourced Documents, Dozens of Extra Fields

    I have a series of PDF documents which I generate on a weekly basis from MS Excel reports. It looks something like this: Description Jan Sales Feb Sales Mar Sales Apr Sales May Sales Order 1 Order 2 Order 3 Order 4 Vendor 1 Widget 1 2 5 5 4 Widget 2

  • Why does my iPad charge very slowly

    I have charged my iPad for 3 hours and its only at 20% why does it charge so slowly? Please help I am going on vacation and I need my iPad. I have tried clearing my storage up a lot but it has done nothing.

  • Viewing recordings in another room

    I have my BT Vision setup in my TV room. Is it possible to somehow Play back recordings on the Vision box on a TV located in another room? 

  • F.27 and FBL5N

    Hi All Our cusotmer runs their credit agents statement for every month for their travel Bookings for outstanding dues and overdue, recently ABTA was assigned to Head Office, so the system is able to capture only those transactions which took place af