Issue with Packaged Jars added to project from resource Palette

Hello!
I am using Jdeveloper 11.1.2.2.
I started this post thinking there was an issue having to do with packaging jars that refer to other libraries (see post Are Libraries Required?
Now I realize it is a different issue (although that other post is relevant).
Issue: I create a package -- a template in this case.
I deploy it in my file system and then load it into the resource palette as a file system connection.
I create a new application. From the resource palette, I add the jar to the view controller project, and am able to use the template in jsf files. No problem. Runs fine.
then I load the application into subversion or I move the whole application to another directory on my computer.
When I open the moved application (or do a checkout from subversion), I open the jsf that contains a reference to the jar, the design view is completely blank. Going to the source, I see my original code, but there are red signals in the upper-right signifying an error.
If I run the application without fixing it, I get an error saying the template cant be found, Also, when I deployed to a standalone weblogic server, I get the same error (see the post above for this error).
I open the project properties. The ADF Library is in the "Libraries and Classpath" and pressing edit, I can see the correct reference to the path of the jar.
To make the application work, I have to remove the ADF Library (or at least the reference when pressing edit) and then from the resource palette, add it again to the project.
IS THIS NORMAL? Am I doing something wrong with the initial packaging of the jar? Should I change some setting somewhere?
How am I supposed to deploy to weblogic?
The other posting shows an error output if I try to run the application before fixing the jar reference. I got the same darn error when deploying to weblogic.
Would appreciate any help!
Stuart
Edited by: Stuart Fleming on Nov 18, 2012 4:45 AM

Timo,
thank you for your reply. I actually created a youtube video on this, available here: http://youtu.be/ERyLngq9hlI
Since the video might be a little tedious to view, Here are the details. You can jump to the exciting parts of the video, if you want:
Here is what I did:
1. I cleaned out my system directory and the temp directory on my computer.
2. Opened the application containing my template. Deleted the existing jar file.
3. Started taking video....
4. (From 40 seconds into the video) Created the jar file again.
5. (2:55 minuts into video) Closed template applcation and Created new fusion application.
6. (4 minutes into the video) Created model
7. (4:15 minutes into video) in view controller added template, created a jsf page.
8. (5 minutes into the video) Created Security and users.
9. (6:30 minutes into the video) Created a task flow, with jsff in it, with a form on the jsff. Assigned Security to objects.
*10. (7 minutes into the video). Ran JSF successfully.*
11. (7:40 minutes into the video). Closed application. Copied the entire application into two directories.
12. (8 minutes into video) Opened the first copied video. You can see that the jsf page is not accessing the template. Reviewed the View Controller project Libraries and classpath. Removed the library, re-added the jar from the resource palette. Worked fine.
13. (9:30 minutes into video). Opened the 2nd copy of the file I intend for subversion. Showed the jsf page and the error it displays when open (same as in first copied application).
Load application into subversion.
14. (10 minutes into video). Check out application
15. (10:15 minutes into video). Open JSF file. The reference to the template jar file is reading properly.
16. (11 minutes into video). Load the original working copy into subversion.
17. (11:30 minutes into video). Check out from subverion, but the check out failed.
18. (12 minutes into video). Check out, and look at the jsf.  The page shows fine.
Timo, I think this might be reported as a bug. You ought to be able to move files around on your computer. Also, the first time I checked the application out from subversion, the jsf page did not read the template.
ALSO, when I tried to deploy the application (that contained the reference to the template jar file to weblogic), I got the same error when I ran the jsf
first lines of that error:
Error 500--Internal Server Error
java.io.FileNotFoundException: /WEB-INF/ssfTemplate/SSFTemplate.jsf Not Found in ExternalContext as a Resource
at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:224)
Thank you for your time and commitment!
Stuart
Edited by: Stuart Fleming on Nov 18, 2012 10:13 AM

Similar Messages

  • Issue with Webparts while adding in Project Site

    Hi
    I am getting an error while adding web parts in project site page 2010. Below the steps
    Open project site --> site actions --> edit page --> click on Add webpart --> ProjectWebApp --> Project fields --> Add
    Please try and let me know is this possible or not
    Regards
    Santosh

    Santosh,
    The Project Fields webpart is ties to the PWA context, and cannot be added to Project Site.
    There used to be a solution starter called Project Workspace Custom Fields webpart. You might want find and use that
    An alternative is to develop your own SSRS report and display it in webpart..
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • I just restored my 13" MBP i5 at the apple store to the newest version of Lion after issues with a previous Time Machine backup from Snow Leopard- this time I created a new account and just ported files and folders, and now MS Office doesn't work. Help?

    I just restored my 13" MBP i5 at the apple store to the newest version of Lion after issues with a previous Time Machine backup from Snow Leopard- this time I created a new account and just ported files and folders, and now MS Office doesn't work.
    ^^ that's the main problem. Here's the full history.
    I bought a new 13" i5 MBP, early 2011 edition. I had an old white Macbook 2.14 ghz core2duo on Snow Leopard. I attempted to port over my time machine backup, but encountered problems in that my User was inaccessible from the new computer after the import finished, and I had to go in and change the root password, etc, and for some reason or another, I couldn't install any programs at all from that administrator's account. By "couldn't" I mean I could install them, but upon installation they would never boot. So, I took it to the apple store and did a clean install from the most up to date Lion OSX. Then, I created a brand new admin account, instead of trying to import the old one, and things seemed great. Then, I just imported my old files from the TM backup, but not any system settings, permissions, or user data. Just my Docs, pics, vids, apps, and itunes stuff.
    Here's where things get weird again. I imported this stuff under the name "old", but all of these folders have a red negative sign on them, marking them as restricted. So, from my main admin account, I cannot even peruse these folders. Since I didn't import user data, I can't sign in to the "old" account to change permissions. I already tried to change the permissions from system preferences, but that didn't change anything. And now, for whatever reason, of all the apps that were imported then, MS Office is the only set of apps that does not work. When I click on it, it just says there was a problem and asks if I'd like to send a report to apple. I tried reinstalling it to no avail. I'm an English student, so i really need access to Word. Can anyone help? The Apple store is a major detour for me and would like to fix this issue myself.

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • Hi am having issues with getting the list of users from the Active Director

    Hi am having issues with getting the list of users from the Active Directory, can anyone help me with this!

    Hi Jason,
    Try this:
    1.  In Ultiboard select Tools>>Netlist Editor>>Pins, press the Delete button
    2.  Select all nets in the Select the Net to Delete dialog and then press the Delete button.  This will clear all nets in the layout, don't worry all traces, parts are still on the design.
    3.  Go to Multisim and select Transfer>>Forward annotate to Ultiboard.    This will add all nets that you removed back and it should fix the pin problem
    Tien P.
    National Instruments

  • Is anyone else having issues with their mail , where the reply from the person you just contacted contains very old emails from a different contact ?

    Is anyone else having issues with their mail , where the reply from the person you just contacted contains very old emails from a different contact ?

    I mean that I sent an email to a contact of mine yesterday. His reply contained a stream of very old emails I had received in 2009 from a totally different contact all together !! The reply email was in my inbox as being from the original person I sent the email to. This is starting to happen more regularly now , so is a problem !

  • Issue with Building OLAP Cubes in Project Server 2010

    Hi
    There is some issue with while building OLAP cubes. 
    I have created OLAP cube then successfully cube has builded. When i add resource level custom field which has lookup tables values in ASSIGNMENT CUBE  then getting cube failure meesage.
    I deleted and recreated custom field and lookup table but no luck
    Below error message from manage queue jobs
    General
    CBS message processor failed:
    CBSOlapProcessingFailure (17004) - Failed to process the Analysis Services database <DB NAME> on the 10.3.66.12 server. Error: OLE DB error: OLE DB or ODBC error: 
    Warning: Null value is eliminated by an aggregate or other SET operation.; 01003. Errors in the OLAP storage engine: An error occurred while processing 
    the 'Assignment Timephased' partition of the 'Assignment Timephased' measure group for the 'Assignment Timephased' cube from the <DB NAME> database. 
    Internal error: The operation terminated unsuccessfully. Server:  Details: id='17004' name='CBSOlapProcessingFailure' uid='f2dea43a-eeea-4704-9996-dc0e074cf5c8'
     QueueMessageBody='Setting UID=afb5c521-2669-4242-b9f4-116f892e70f5 
    ASServerName=10.3.66.12 ASDBName=<DB NAME> ASExtraNetAddress= RangeChoice=0 PastNum=1 PastUnit=0 NextNum=1 NextUnit=0 FromDate=02/27/2015 02:10:15 
    ToDate=02/27/2015 02:10:15 HighPriority=True' Error='Failed to process the Analysis Services <DB NAME> on the 10.3.66.12 server. Error:
     OLE DB error: OLE DB or ODBC error: Warning: Null value is eliminated by an aggregate or other SET operation.; 01003. Errors in the OLAP storage engine: An error 
    occurred while processing the 'Assignment Timephased' partition of the 'Assignment Timephased' measure group for the 'Assignment Timephased' cube from the 
    <DB NAME> database. Internal  
    Queue:
    GeneralQueueJobFailed (26000) - CBSRequest.CBSQueueMessage. Details: id='26000' name='GeneralQueueJobFailed' uid='b7162f77-9fb5-49d2-8ff5-8dd63cc1d1d3' 
    JobUID='76837d02-d0c6-4bf8-9628-8cec4d3addd8' ComputerName='WebServer2010' GroupType='CBSRequest' MessageType='CBSQueueMessage' MessageId='2' Stage=''.
     Help me to resolve the issue
    Regards
    Santosh

    Is the SQL Server and Analysis Server are running on different servers and not on default ports? 
    If yes, then check if the same alias’s name added in Project Server is added on the Analysis Server.
    Cheers! Happy troubleshooting !!! Dinesh S. Rai - MSFT Enterprise Project Management Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you. This can be beneficial to other community members reading
    the thread.

  • Printing Issues with HP D145 and multiple users from G5

    Hi - I've a HP D145 All-In-One connected via USB to a G5 (as described below). The machine has multiple accounts on for different members of my family. The printer is directly connected to the G5 via USB connection but is shared with other Macs. Printing has become increasingly difficult, and we now have the following problems:
    1. Printing will only work from the administrators account.
    2. Printing periodically (daily, generally after a few hours of use) stops from the administrators account
    Solutions tried:
    a. Check set up for the non-administrators accounts....Looks OK for printing
    b. When printing stops - I've tried repairing the permissions with the Disk Utility. This no longer works.
    c. Run Printer Setup Repair (with option to repair all user accounts) - Works for the administrators account providing the computer and printer are restarted, otherwise no effect.
    d. Reinstalling the software - No effect
    It’s beginning to look like I need to replace this printer with one that works.
    You can help me in two ways - how to solve the printer problems, or alternatively suggest a colour All-in-One printer that can work with multiple accounts and does not have the problems mentioned above.
    Many thanks in advance,
    Regards,
    Melvyn

    Below I've copied the fix HP proposed and some additional information that they have sent me.
    1. The proposed fix that we could not make work:
    Hello Melvyn,
    Thank you for contacting HP Total Care.
    Simply reinstalling the software will not be enough to solve the
    problem. Try these steps to resolve the issue at hand:
    From the Administrator account:
    Double-click on the Macintosh Hard Disk.
    Open Applications.
    Click and drag Hewlett Packard Folder to the trash.
    Close all windows.
    Double-click on the Macintosh Hard Disk.
    Open the Applications folder.
    Open the Utilities folder.
    Double-click on Process Viewer/Activity Monitor
    If Activity Monitor does not appear:
    Choose Monitor in the toolbar across the top.
    Check Show Activity Monitor.
    Ensure the Activity Monitor shows "All Processes", instead of "My
    Processes".
    Single-click and quit each of the applications starting with HP, using
    the Stop Sign that says "Quit Process" beneath it.
    Close Activity Monitor.
    Double-click Macintosh Hard Disk.
    Open the Library folder.
    Open the Preferences folder.
    Click and drag either HP AIO Preferences or Hewlett Packard Preferences
    to the trash.
    Remove the HP Registry file.
    Go back to the Library folder.
    Open the Printers folder.
    Remove the HP folder
    Double click Macintosh Hard Disk.
    Open the Users folder.
    Choose the User logged into.
    Open the Library folder.
    Open the Preferences folder.
    Click and drag either HP AIO Preferences or Hewlett Packard Preferences
    to the trash.
    Click and drag files beginning with com.hp to the trash.
    Click and drag files beginning with HP to the trash.
    Double-click the Macintosh Hard Disk.
    Open the Applications folder.
    Open the Utilities folder.
    Double-click Printer Setup Utility.
    Delete any HP All-In-One printers listed (click the printer name to
    highlight it, then click the Delete button on the printer list)
    Repeat process for all HP All-In-One Printers.
    Remove HP Director/Image Zone from dock by dragging to the trash.
    Restart the Macintosh.
    Empty the Trash.
    From each user account:
    Double click Macintosh Hard Disk.
    Open the Users folder.
    Choose the User logged into.
    Open the Library folder.
    Open the Preferences folder.
    Click and drag either HP AIO Preferences or Hewlett Packard Preferences
    to the trash.
    Click and drag files beginning with com.hp to the trash.
    Click and drag files beginning with HP to the trash.
    Double-click the Macintosh Hard Disk.
    Open the Applications folder.
    Open the Utilities folder.
    Double-click Printer Setup Utility.
    Delete any HP All-In-One printers listed (click the printer name to
    highlight it, then click the Delete button on the printer list)
    Repeat process for all HP All-In-One Printers.
    Remove HP Director/Image Zone from dock by dragging to the trash.
    Restart the Macintosh.
    Empty the Trash.
    From the Administrator account:
    Download and install the latest software for this product. You can
    obtain this software from the following link:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?lc=en&cc=us⟨=en&os=219& product=64992&dlc=en&softwareitem=oj-35225-1
    From each user account:
    Double-click the Macintosh Hard Disk.
    Open the Applications folder.
    Open the Utilities folder.
    Double-click Printer Setup Utility.
    Click Add, ensure you are in the Default Browser.
    Select the HP All-In-One Printer.
    Click Add at the bottom-right corner of the screen.
    Set this printer as the default.
    You should now be able to print from all accounts.
    Sincerely,
    2. The reasons why it may not have worked:
    We need to be sure that you are fully logging out of one account and
    then back into the next. The fast user switching feature of the Mac OS
    can create problems with our printer drivers. For this reason, fast user
    switching is not supported by HP.
    The other issue we may be running into would be the Mac OS itself. Over
    the past few months the Mac OS has gone through several updates. When
    the 10.4.4 version was released it created some issues with our existing
    software. An updated version of our software has been developed which
    works well with 10.4.4 and higher, but it is not available for this
    printer.
    It may be that as each new OS update is installed on your computers that
    the issue becomes worse. If you are running the Mac OS 10.4.3 or lower
    then the version 7.3.1 of our software should work fine. If it is 10.4.4
    or higher there will be some issues as the new OS versions do not seem
    to like the older drivers.
    I would have to recommend retrying the full uninstall the Derek had
    outlined. This time however, just install the downloaded 7.3.1 software
    from our web site for the D145. Once it has been installed we need to
    test it fully without adding the scanjet software. I am hoping that
    without both version of our software installed it may work better.
    This should resolve the issue. If you need further assistance, please
    reply to this message and we will be happy to assist you further.
    3. The repsonse to questions on switching and OS X 10.4.4
    You are correct, since you are running the 10.4.4 I cannot guarantee
    that the older software version will allow full functionality. It should
    allow for printing and as long as you avoid the fast user switching,
    when trying to print, it should keep working well.
    I understand the convenience of fast user switching but you will have to
    log completely out of one user, and then log properly into the next
    before you can expect the printer to function.
    I would still recommend trying the steps I had outlined as it really is
    the only thing you can do that may work.
    G5, 2 GHz dual processor, 2Gb RAM, 500GB Hard disk   Mac OS X (10.4.3)   Clarification of the issues from HP

  • Issue with package being distributed to DP

    Hi,
    We’re having an issue with a particular DP on trying to re-distribute a driver package to. The driver package was updated and re-distributed to around 80 DP’s. The package had been successfully sent to all except one.
    I have tried re-distributing packages to this DP and this failure and other packages work fine, so the issue lies with this particular package on this particular DP.
    I have run through the steps within this post but still no joy:
    https://social.technet.microsoft.com/Forums/en-US/8328f9ce-d290-4aba-8187-670080464476/sccm-2012-how-to-delete-packages-from-wmi
    I have made sure the package doesn’t exist on the DP by taking it out of root\sccmdp within WMI and also removing the ini file from the PkgLib folder, as per above post. But on trying to distribute to the DP via the admin console I get Error: The SMS Provider
    reported an error.
    There are no other details for the error and looking through various logs so no further indication for the error.
    Interestingly the package is being reported by the admin console as not being on the DP, so re-distribution is not an option. I can only use the distribute content option, even though it had been on this DP. This error is reported at the end of the distribute
    content wizard.
    Also we tried using content explorer from the Config Manager toolkit before running through the above postl, and the package was shown within content explorer but it was greyed out. The options to validate where also greyed out. On running the above removal
    the package was no longer displayed within content explorer. But running through distribute content via the admin console still shows the same error message.
    We then tried pre-staging the content manually on the DP. On using content explorer after this it still shows the package as greyed out.
    An overnight validation doesn’t report any errors for package content either.
    Another curious note is on running smsdpmon manually on the DP for the package, it reports the package as being successfully verified within the smsdpmon.log. This message is also reported back to the MP and can be seen within the Status Message Viewer.
    But this message is not displayed within Monitoring -> Distribution Point Configuration Status.
    We tried quite a few avenues but still no joy with this package. Could any offer any suggestions to help fix this issue?
    Thanks
    James

    It was originally but the driver package needed to be updated. Once updated the package was re-distributed to all sites, but failed on one out of 80. All DP's are more or less configured the same, with the same AV protection.
    The problem DP takes other packages OK. SO the thought was to try to remove the existance of the package from the problem DP. This is where we are now. Hope that is a bit clearer?

  • Issues with nested for loops - saving images from a camera

    Hi all,
    I've written a vi. to capture a specific number of images ('Image No') and save these images, outputted to a folder of my choice.  Each image is identified sequentially.  However, I wish to do a number of iterations ('Run') of this capture sequence, such that the filename of each image would be 'Filename (Run)_(Image No).png', e.g. run 5, image 10 would be 'Filename 5_10.png'.  I have tried a nested for loop for this but I receive an error 'Asynchronous I/O operation in progress' (I've attached a printscreen).
    Can anyone assist me in solving this problem? I preiously posted this in machine Vision but got no response (http://forums.ni.com/t5/Machine-Vision/Capturing-image-sequences-issues-with-nested-for-loops/m-p/19...).  Please find attached my vi.
    Kindest regards and thanks,
    Miika
    Solved!
    Go to Solution.
    Attachments:
    Labview problem.jpg ‏3841 KB
    Image sequence save to file.vi ‏48 KB

    Miika,
    the problem is not the filenam, but the name of the folder (AHHHHH!). You try to create the same folder in the outer for loop over and over again.... (it is the error message above the '======', not below )
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Issue with opening .PDF files after recalling from Symantec Enterprise Vault

    Good Morning,
    I am having issues with opening PDF files that have been recalled from Symantec Enterprise Vault and some of the files are anywhere from 3-4 years old.  Some files open, while others return the error: Adobe Reader could not open filename.pdf because it is not a supported file type or might have been damaged.  It is inconsistent as to which files it occurs with.  I am not ready to believe that I have that many corrupt files out there.  I am opening them on a Windows 7 Enterprise SP1 x64 desktop. Adobe 10.1.7. I have already configured the registry setting for bValidateBytesBeforeHeader that I found in another article to no avail.
    The files are on a network share, but I also tried copying them to my local desktop and still received the error.
    I have seen other posts regarding this error, but do not see a definitive solution and am hoping that in recent days someone has come up with a solution.
    Thank You
    Brian Dougherty

    Not supported file type can (but not always) mean the PDF was created with an old enough version of Acrobat, that it isn't comaptible with reader X or XI.
    Might have been damaged is pretty cut and dried in its meaning and interpretation.
    There's a known issue with Mac OS and Safari Browser "breaking" PDFs as they download, but it's not so common for Windows. Since these are files you already had, it would be even less applicable.
    You can try downloading an older version of Reader to check if it's a compatibility issue, but you'd have to uninstall the latest to do it and it'd be a lot of bother if they still don't open. It would also mean they are "broken" and cannot be repaired, that I know of.

  • Issues with quality of PDF being made from AutoCAD

    I am having quality issues with the PDF after it is made from AutoCAD.  First, I'm creating a few spreadsheets using Excel.  I copy/paste them into AutoCAD and when I go to print the sheet to a PDF and view the preview before i submit it, the preview is great.  Once i make the PDF one of the spreadsheets' quality is great.   The others are showing extremely blurry and sometimes pixelated.  Im not sure what would be going on.  The spreadsheets are created the same way.  I'd attach a screenshot of the issue, but the wonderful "attach image" button is not working.  As a matter of fact, none of the tools for this post works.

    More than likely it is in the PDF creation end of things. If that's the case, you'll want to go to the forum for the software you are using to create the PDF.
    Before that, one thing you CAN check in Reader is Preferences>Page Display>REndering and be sure that smoothing preferences are checked.

  • Issue with printing newly added operations in Production Order through CO02

    Hi,
    Currently I have one issue with printing production order changes through CO02. If I go for print, all the operations are captured in printout. But after the print, if I add any new operations to this production order, and then go for print, its not capturing the newly added operations. Also, there is information popup coming "Copies will be printed for order. Original list already printed". This message effectively means, even after changes, when I go for print functionality, its just going for printing copies of original printed list.
    Can anyone help me out to get the newly added operations reflected in the print through CO02 ?
    Regards,
    Shiva

    Hi,
    1) Go to Tcode "OPK8"
    2)Select LG02 "Op Control Ticket"
    3) Double click on :List Control for Transactions" in the left hand menu tree
    4) In front of ur desired t code "co02" make the changes ( Number of prints- u can increase) 6th column.
    Try this.

  • Issue with encoding while reading email msg from pst

    I have a pst and I have issue with few messages which has russian characters in it, when i open the email it shows garbage values. But when i go to OtherActions->Encoding from the email menu option I see that the Encoding was set to "Cyrillic (KOI8-R)",
    I have to change the Encoding to Unicode (UTF-8) inroder to read the email correctly. Also observed that this encoding is different for different emails from same pst.
    Can I change the encoding to  Unicode (UTF-8) for reading the email message so that i dont get the issue for any email (I know there are options to set default encoding for sending emails but could not file an option for reading the email in a specific
    encoding.)

    Hi Srikanth,
    Did someone get back to you on this?
    Or did you already find a resolution on this. In that case can you please share?
    Thanks,
    Sudarshana

  • Issue with CIS jar version  - cis-application-8.0.0.jar on content server

    We are having a problem adding this jar to our custom component. We are using this APIs to check-in some programatically.
    Following is the error when we try to deploy our component with this jar
    ===============================================================
    IdcAdmin: Content Server idc status: Stopped successfully
    Starting the Content Server idc... The server terminated unexpectedly.
    02.28 11:36:35.834 main NativeOsUtils version mismatch. The native code version is "7.1.0.2" and the Java version is "7.0.6.0".
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x00002ac72c918500, pid=26841, tid=47034930753168
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_11-b03 mixed mode)
    # Problematic frame:
    # V [libjvm.so+0x3a8500]
    ========================================================
    The content server version is 10.1.3.3.
    And the jar version is cis-application-8.0.0.jar. We are able to use the same jar standalone. What could be the problem? Should we need to upgrade to a diffrent jdk version? I am worried that might cause more problems.
    Regards,
    Pratap

    Thanks for your inputs.
    So far I have been looking at only CHECKIN_NEW_FORM and CHECKIN_SEL_FORM services for creating and updating content. items These services require files to be attached. I checked the definitive guide and found that there are 2 other similar services,CHECKIN_NEW and CHECKIN_SEL, that don't need the file to be attached. Instead we can specify the file path of the primary file. Since the xml content file to be checked is in th content server itlsef, these services can be used in my case. Moreover since my content checkin logic is in the context of a service, my code become more simpler.
    I began working on it and am calling executeServiceSimple("CHECKIN_NEW") or executeServiceSimple("CHECKIN_SEL") based on whether the content to be checked in is new or to be updated. I am setting all the metadata values of the content file in the m_binder local data of the service object.
    I thought this should work cleanly but I am getting the below error
    ============================================
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:197)
    Caused by: intradoc.data.DataException: !csCheckinFileKeyNotSpecified,primaryFile
    at intradoc.server.DocServiceHandler.addFile(DocServiceHandler.java:3251)
    at intradoc.server.DocServiceHandler.addFiles(DocServiceHandler.java:410)
    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:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:490)
    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:585)
    at sitestudio.SSClassHelper.invokeRaw(Unknown Source)
    ======================================================
    I printed out all the local data in the m_binder object. The primaryFile value is pointing to the right file path. The file is also been created in the correct location.
    The dID, dDocName, dOriginalFile, dRevLabel values are all set properly. But still I am getting this error. I am not able to figure out the cause of this. Please help. Is this approach incorrect?
    -Pratap

  • Issue with Metadata when importing 30K images from Photoshop Elements 7

    I'm a new mac user and am moving ~30k images from my PC to my mac. I have photoshop elements 7 that I use on the pc and am moving everything over to Aperture. I maintain all of my organization on the PC using "key words". I made sure to move all of the metadata over to the Mac with the images. However, I would say approx 5,000-10,000 of the images have the wrong Metadata. For example, a key-word "Vacation" is showing up on an image that should say "Christmas". This is just an example and it's creating major issues with my smart albums. The wrong images are in the wrong albums. Help!?!?

    Hi Shellie
    Is anyone familiar with PSEDBTOOL? I've been told it will do a good job applying metadata to files inside PSE but I'm afraid to run it and have it screw up my current library.
    I'm not familiar with that tool. What I will say is that your caution is well founded. If you do try to run anything like that on the PC side, ensure first that you have a backup of any data that might be modified - and that you (a) know how to restore from the backup in case anything goes pear-shaped and (b) you've actually tested your backup (by doing a restore) and are confident with its integrity.
    One other thought has occurred to me since earlier. Let's try a different tool...
      – Locate one of your problematic master files - on the Mac side - as exported from PhotoShop Elephants.
      – Open it in Preview. (It lives in the Applications folder.)
      – Select +Tools > Show Inspector+ (if the Inspector is not already showing from an earlier session).
      – Click on the Inspector icon which resembles a simplified traditional magnifying glass.
    That displays the keywords in the file.
    How do they compare with your expectations (from PSE)? How do they compare with what's showing in Aperture?
    This won't solve the problem, but it might just shed some more light on the problem.
    Regards,
    Gary

Maybe you are looking for