Problem injecting xmp to jpeg

Hi All,
i want to inject an xmp packet to multiple jpeg files using the XMP-FileInfo-SDK-4.4.2 but since i am a beginner to xmp kindly help me with code as to how to do this?
please help as soon as possible,
thanks,
Nishant

Thank you for a hint! Shame on me, I forgot about scrollig Export Dialog
further down. You are right - there is no miracle - Image Sizing was set
exactly to be 640x427.
Thank you very much indeed for your help
Best regards
Artem
2012/1/9 b_gossweiler <[email protected]>
   Re: Problem with export to JPEG  created by b_gossweiler<http://forums.adobe.com/people/b_gossweiler>in
Photoshop Lightroom - View the full discussion<http://forums.adobe.com/message/4125236#4125236>

Similar Messages

  • How do you embed/inject xmp metadata into a mpeg 2 video file?

    Im looking to add keywords and descriptions to original file (raw MPEG-2) and have the metadata stick when i go to the transcoding process and batch convert the orginal file to either a wmv and flash file. how can i achive this? what tools are available ? and or is this a custom job? any info and or programmers looking to test this im open to all the help i can get.

    Yeah I kind of figured that. I've been trying various ways of trying to batch inject metadata into video files and thought I would start with the master file but because of the limitations the raw digitized mpg 2 video file has. In that case I have yet to find a transcoding program that will batch out various formats and read a xmp side car file to inject the metadata into the outputted file (does anyone know if Adobe media encoder 4 can accomplish this where a xmp sidecar file is created then transcoding into a wmv and or flash file , curious if the metadata will stick and be read in the outputted file) In anycase  I may have find an alternative way and use my current Rhozet carbon coder transcoder program to try to inject an xml file during the batch transcoding process. If anyone has successfully accomplished this with injecting xmp metadata in a batch transcoding program please let me know. I've been exhausted searching for the solution this problem for a long time and I don’t want to wait till a mpeg 7 solution comes out.

  • Unable to inject XMP Packet info into older versions of Adobe Illustrator files

    Hi,
    I am trying to inject XMP Packet into Illustrator files of version 9 and below.
    I am using XMP SDK 4.0 Prerelease.
    My Code is inserting xmp packet only into Illustrator 10 and above.
    But with Adobe Illustrator 9 and below.. its not.
    Can you please tell me what is the problem.
    Thanks,
    Venkatesh

    FIXED....
    Strangly enough after the 3rd time deleting prefs it started working........
    Just goes to show.  To err is human, to realy foul things up it takes a computer....

  • Export xmp from jpeg

    Hi,
    Photographer I use Internet in lots of coutries.
    I have to work in jpeg and i want to export XML to send by Internet.
    So Can I export XML from JPEG ?
    Can I see the modifications if I put the sidecars XML in the directory of jpeg without modifications ?
    Thx for your help
    BLL

    With ExifTool you can export xmp from jpeg to xmp files and vica versa. Just make sure you have the last version that support all your tags. And of course save the metadata to the jpeg file before you start using the tool and read the metadata after you done.

  • Cannot inject XMP into PDF?

    Thank you very much for your great work on XMP Toolkit.
    I have seen several related questions in this forum, but have not found clear answers.
    I am trying to store simple metadata (name, value pair) in PDF files.
    XMP Toolkit 5.1.2 works great for PDF files that already have XMP. 
    However, testing with xmpcommand, I have found that I cannot inject XMP into many PDF files (version 1.1 - 1.4). 
    I guess XMP Toolkit cannot inject XMP into PDF files that don't already have XMP. 
    Is this true? 
    If so, are there any workarounds?  Are there a separate library or tool to inject XMP into files without XMP?
    Any advice shall be appreciated.
    Nao

    One more question regarding to this: Can we use Acrobat SDK to inject XMP into a PDF file?
    Acrobat SDK is capable of injecting XMP into a PDF file.
    - Does it require paid version of Acrobat (Standard or Professional) to add XMP?  Or can it do it with free Adobe Reader?
    - Does Acrobat or Reader application need to be running, while we add XMP? 
    Thank you,

  • Problems reading .xmp sidecar files after moving .nefs in bridge CS6

    Problem with CS6 beta.  Whenever I move a set of edited (using LR4 with metadata saved to folder) .nef files in bridge to new folder, the .xmp files are not recognised in bridge.  They are thre if you look in Windows explorer.  If I then find the files in LR4 and resave the adjustments, then becomes visible again.  Consistent error on each attempt in different folders.  Move was via Ctrl A + dragging in bridge.  .nefs were form a Nikon D3.
    Photoshop info:
    Adobe Photoshop Version: 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00) x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 4
    Logical processor count: 8
    Processor speed: 3640 MHz
    Built-in memory: 12278 MB
    Free memory: 8453 MB
    Memory available to Photoshop: 10978 MB
    Memory used by Photoshop: 85 %
    Image tile size: 128K
    Image cache levels: 4
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: ATI Technologies Inc.
    Video Card Renderer: ATI Radeon HD 5800 Series
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 1600, right: 2560
    Video Card Number: 1
    Video Card: ATI Radeon HD 5800 Series
    OpenCL Unavailable
    Driver Version: 8.850.0.0
    Driver Date: 20110419000000.000000-000
    Video Card Driver: aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.d ll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
    Video Mode: 2560 x 1600 x 4294967296 colors
    Video Card Caption: ATI Radeon HD 5800 Series
    Video Card Memory: 1024 MB
    Video Rect Texture Size: 16384
    Serial number: Tryout Version
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
    Temporary file path: C:\Users\STEVEN~1\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      J:\, 139.7G, 53.8G free
    Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
    Additional Plug-ins folder: not set
    Installed components:
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112  
       ACE.dll   ACE 2012/01/18-15:07:40   66.492997   66.492997
       adbeape.dll   Adobe APE 2012/01/25-10:04:55   66.1025012   66.1025012
       AdobeLinguistic.dll   Adobe Linguisitc Library   6.0.0  
       AdobeOwl.dll   Adobe Owl 2012/02/09-16:00:02   4.0.93   66.496052
       AdobePDFL.dll   PDFL 2011/12/12-16:12:37   66.419471   66.419471
       AdobePIP.dll   Adobe Product Improvement Program   6.0.0.1642  
       AdobeXMP.dll   Adobe XMP Core 2012/02/06-14:56:27   66.145661   66.145661
       AdobeXMPFiles.dll   Adobe XMP Files 2012/02/06-14:56:27   66.145661   66.145661
       AdobeXMPScript.dll   Adobe XMP Script 2012/02/06-14:56:27   66.145661   66.145661
       adobe_caps.dll   Adobe CAPS   5,0,10,0  
       AGM.dll   AGM 2012/01/18-15:07:40   66.492997   66.492997
       ahclient.dll    AdobeHelp Dynamic Link Library   1,7,0,56  
       aif_core.dll   AIF   3.0   62.490293
       aif_ocl.dll   AIF   3.0   62.490293
       aif_ogl.dll   AIF   3.0   62.490293
       amtlib.dll   AMTLib (64 Bit)   6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00)   1.000000
       ARE.dll   ARE 2012/01/18-15:07:40   66.492997   66.492997
       AXE8SharedExpat.dll   AXE8SharedExpat 2011/12/16-15:10:49   66.26830   66.26830
       AXEDOMCore.dll   AXEDOMCore 2011/12/16-15:10:49   66.26830   66.26830
       Bib.dll   BIB 2012/01/18-15:07:40   66.492997   66.492997
       BIBUtils.dll   BIBUtils 2012/01/18-15:07:40   66.492997   66.492997
       boost_date_time.dll   DVA Product   6.0.0  
       boost_signals.dll   DVA Product   6.0.0  
       boost_system.dll   DVA Product   6.0.0  
       boost_threads.dll   DVA Product   6.0.0  
       cg.dll   NVIDIA Cg Runtime   3.0.00007  
       cgGL.dll   NVIDIA Cg Runtime   3.0.00007  
       CIT.dll   Adobe CIT   2.0.5.19287   2.0.5.19287
       CoolType.dll   CoolType 2012/01/18-15:07:40   66.492997   66.492997
       data_flow.dll   AIF   3.0   62.490293
       dvaaudiodevice.dll   DVA Product   6.0.0  
       dvacore.dll   DVA Product   6.0.0  
       dvamarshal.dll   DVA Product   6.0.0  
       dvamediatypes.dll   DVA Product   6.0.0  
       dvaplayer.dll   DVA Product   6.0.0  
       dvatransport.dll   DVA Product   6.0.0  
       dvaunittesting.dll   DVA Product   6.0.0  
       dynamiclink.dll   DVA Product   6.0.0  
       ExtendScript.dll   ExtendScript 2011/12/14-15:08:46   66.490082   66.490082
       FileInfo.dll   Adobe XMP FileInfo 2012/01/17-15:11:19   66.145433   66.145433
       filter_graph.dll   AIF   3.0   62.490293
       hydra_filters.dll   AIF   3.0   62.490293
       icucnv40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       icudt40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       image_compiler.dll   AIF   3.0   62.490293
       image_flow.dll   AIF   3.0   62.490293
       image_runtime.dll   AIF   3.0   62.490293
       JP2KLib.dll   JP2KLib 2011/12/12-16:12:37   66.236923   66.236923
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0  
       LogSession.dll   LogSession   2.1.2.1640  
       mediacoreif.dll   DVA Product   6.0.0  
       MPS.dll   MPS 2012/02/03-10:33:13   66.495174   66.495174
       msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcp100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcr100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CS6   CS6  
       Plugin.dll   Adobe Photoshop CS6   CS6  
       PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (64 bit)   3.0.0.383  
       PSArt.dll   Adobe Photoshop CS6   CS6  
       PSViews.dll   Adobe Photoshop CS6   CS6  
       SCCore.dll   ScCore 2011/12/14-15:08:46   66.490082   66.490082
       ScriptUIFlex.dll   ScriptUIFlex 2011/12/14-15:08:46   66.490082   66.490082
       tbb.dll   Intel(R) Threading Building Blocks for Windows   3, 0, 2010, 0406  
       tbbmalloc.dll   Intel(R) Threading Building Blocks for Windows   3, 0, 2010, 0406  
       TfFontMgr.dll   FontMgr   9.3.0.113  
       TfKernel.dll   Kernel   9.3.0.113  
       TFKGEOM.dll   Kernel Geom   9.3.0.113  
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113  
       updaternotifications.dll   Adobe Updater Notifications Library   6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   6.0.0.24
       WRServices.dll   WRServices Friday January 27 2012 13:22:12   Build 0.17112   0.17112
       wu3d.dll   U3D Writer   9.3.0.113  
    Required plug-ins:
       3D Studio 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Accented Edges 13.0
       Adaptive Wide Angle 13.0
       ADM 3.11x01
       Angled Strokes 13.0
       Average 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Bas Relief 13.0
       BMP 13.0
       Chalk & Charcoal 13.0
       Charcoal 13.0
       Chrome 13.0
       Cineon 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Clouds 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Collada 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Color Halftone 13.0
       Colored Pencil 13.0
       CompuServe GIF 13.0
       Conté Crayon 13.0
       Craquelure 13.0
       Crop and Straighten Photos 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Crop and Straighten Photos Filter 13.0
       Crosshatch 13.0
       Crystallize 13.0
       Cutout 13.0
       Dark Strokes 13.0
       De-Interlace 13.0
       Dicom 13.0
       Difference Clouds 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Diffuse Glow 13.0
       Displace 13.0
       Dry Brush 13.0
       Eazel Acquire 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Embed Watermark 4.0
       Entropy 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Extrude 13.0
       FastCore Routines 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Fibers 13.0
       Film Grain 13.0
       Filter Gallery 13.0
       Flash 3D 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Fresco 13.0
       Glass 13.0
       Glowing Edges 13.0
       Google Earth 4 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Grain 13.0
       Graphic Pen 13.0
       Halftone Pattern 13.0
       HDRMergeUI 13.0
       IFF Format 13.0
       Ink Outlines 13.0
       JPEG 2000 13.0
       Kurtosis 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Lens Blur 13.0
       Lens Correction 13.0
       Lens Flare 13.0
       Liquify 13.0
       Matlab Operation 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Maximum 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Mean 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Measurement Core 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Median 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Mezzotint 13.0
       Minimum 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       MMXCore Routines 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Mosaic Tiles 13.0
       Multiprocessor Support 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Neon Glow 13.0
       Note Paper 13.0
       NTSC Colors 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Ocean Ripple 13.0
       Oil Paint 13.0
       OpenEXR 13.0
       Paint Daubs 13.0
       Palette Knife 13.0
       Patchwork 13.0
       Paths to Illustrator 13.0
       PCX 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       PG-Processor 2.0.0
       Photocopy 13.0
       PhotoKit Capture Sharpener 2 2.0.3
       PhotoKit Creative Sharpener 2 2.0.3
       PhotoKit Output Sharpener 2 2.0.3
       PhotoKit Preview Helper 2.2.2
       Photoshop 3D Engine 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Picture Package Filter 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Pinch 13.0
       Pixar 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       PixelGenius Toolbox 2.2.5
       Plaster 13.0
       Plastic Wrap 13.0
       PNG 13.0
       Pointillize 13.0
       Polar Coordinates 13.0
       Portable Bit Map 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Poster Edges 13.0
       Radial Blur 13.0
       Radiance 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Range 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Read Watermark 4.0
       Reticulation 13.0
       Ripple 13.0
       Rough Pastels 13.0
       Save for Web 13.0
       ScriptingSupport 13.0
       Shear 13.0
       Skewness 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Smart Blur 13.0
       Smudge Stick 13.0
       Solarize 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Spatter 13.0
       Spherize 13.0
       Sponge 13.0
       Sprayed Strokes 13.0
       Stained Glass 13.0
       Stamp 13.0
       Standard Deviation 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Sumi-e 13.0
       Summation 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Targa 13.0
       Texturizer 13.0
       Tiles 13.0
       Torn Edges 13.0
       Twirl 13.0
       U3D 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Underpainting 13.0
       Vanishing Point 13.0
       Variance 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Variations 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Viveza 2 2.0.6.16608
       Water Paper 13.0
       Watercolor 13.0
       Wave 13.0
       Wavefront|OBJ 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       WIA Support 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Wind 13.0
       Wireless Bitmap 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       ZigZag 13.0
    Optional and third party plug-ins:
       Camera Raw 7.0
       Color Efex Pro 4 NO VERSION
       Color Efex Pro 4 NO VERSION
       HDR Efex Pro 1,202
       HDR Efex Pro Metadata 1,202
       iCorrect EditLab Pro 6.0 5.5.0r1
       Merge to HDR Efex Pro 1,202
       Nik Selective Tool 2.1.3.17710
       PTLens 8, 7, 8, 17
       Sharpener Pro 3.0: (1) RAW Presharpener 3.0.8.17631
       Sharpener Pro 3.0: (2) Output Sharpener 3.0.8.17631
       Silver Efex Pro 2 2,004
       Silver Efex Pro 2 2,004
    Plug-ins that failed to load: NONE
    Flash:
       Mini Bridge
       Kuler
    Installed TWAIN devices: NONE

    Hi Trevor, thanks for replying.  Yes, as I said moving files directly in bridge.  The standard functionality (since I have been using bridge back in CS2) was to move the .xmp files along with the .nef files (although you only see the .nef files directly in bridge).  When I say not reading .xmp files I mean that none of the adjustments are visible in the target bridge folder, equally the icons you would normally see on the top RHS showing adjustments have been made are no longer visibile (remember that I have cheked using windows explorer that the .xmp files did succesfully migrate to the target folder).  Having been using CS5 bridge on the same machine for several years and have never had this lack of functinonality, therefore I am reporting it as a potential bug in CS6 beta bridge.
    I should also confirm that before they were moved, no problems at all in opening the .nef files in camea raw 7.0 and all edits honoured.

  • Problem writing metadata to Jpegs originating from Macs

    Everything works great when trying to write metadata to a JPEG that originates from a PC. But since my company runs a website, we have to be able to handle JPEGs that come from Macs. I've run across an issue where trying to write metadata to a Mac-JEPG causes an error.
    Specifically it occurs in TIFF_MemoryReader::ParseMemoryStream(*), where the code tries to find the tnailIFDOffset value. For PC-JPEGs, it returns a sensible value, but with Mac-JPEGS, the value is 0x65005020. Which is clearly beyond the image size.
    The result being that no metadata is saved to the image. A workaround is to download the image, open in a PC Photoshop, and try again with that new image. This suggests the problem is in the file structure of Mac-JPEGs.
    Does the toolkit support these images? Is there a better code-centric workaround? Do I have to re-encode the image to PC format before I use the toolkit?

    Hi,
    I have just started working with XMP data manipulation using XMP toolkit.
    I am able to read and update XMP data successfully, but not getting an idea to write back to JPEG file.
    Is there any API in XMP Toolkit to perform this task?
    If not, Please give me some guidelines for this....
    Thanks.

  • Problem IXOS BSP and JPEG Format

    Hello,
    I have a problem with JPEG By displaying documents from archive Server in IE7.Only the first page of the document is displayed in Web Browser but not in the livelink viewer. if the document is TIFF type the process is correct(IE7 Browser calls The Livelink Viewer and the document is displayed through the livelink Viewer).
    thanks
    Hadi

    Refer this thread, it might help you:
    [Download without save dialog |download without save dialog;
    Raja T

  • Problem injecting ejb in war

    This problem have dogged me for one week but cant seem to know where the problem is.
    i am creating an enterprise with war, ejb and jar.
    i want both web clients and application client to share the code in ejb to ease maintainablility.
    i have a jsf backing bean that is supposed to get some data from an enterprise bean in ejb.
    the backing bean has this method
    public class CategoryController {
    @Stateful
    public class CategoryControllerBean implements CategoryControllerRemote {
        @PersistenceUnit(unitName = "JNationForum-ejbPU")
        private EntityManagerFactory emf;
        private EntityManager getEntityManager() {
            return emf.createEntityManager();
    public List<CategoryDetails> getCategorys(){
             EntityManager em = getEntityManager();
             List<Category> categorys=null;
             try{
                Query q = em.createQuery("select object(o) from Category as o");
                return copyCategorysToDetails(categorys=q.getResultList());
            } finally {
                em.close();
         private List<CategoryDetails> copyCategorysToDetails(List categorys) {
            List<CategoryDetails> detailsList = new ArrayList<CategoryDetails>();
            Iterator i = categorys.iterator();
            while (i.hasNext()) {
                Category category = (Category) i.next();
                CategoryDetails details = new CategoryDetails(
                        category.getCategorypk(),
                        category.getTitle(),
                        category.getDescription(),
                        category.getActive());
                detailsList.add(details);
            return detailsList;
    }it brings this error
    type Exception report
    message
    descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref com.safarisoftsolutions.jnationforum.war.bean.CategoryController/categoryControllerBean@jndi: com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean@null@com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean@Session@null into class com.safarisoftsolutions.jnationforum.war.bean.CategoryController
    root cause
    javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref com.safarisoftsolutions.jnationforum.war.bean.CategoryController/categoryControllerBean@jndi: com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean@null@com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean@Session@null into class com.safarisoftsolutions.jnationforum.war.bean.CategoryController
    root cause
    com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref com.safarisoftsolutions.jnationforum.war.bean.CategoryController/categoryControllerBean@jndi: com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean@null@com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean@Session@null into class com.safarisoftsolutions.jnationforum.war.bean.CategoryController
    root cause
    javax.naming.NameNotFoundException: com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean#com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean not found
    note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.

    This problem have dogged me for one week but cant seem to know where the problem is.
    i am creating an enterprise with war, ejb and jar.
    i want both web clients and application client to share the code in ejb to ease maintainablility.
    i have a jsf backing bean that is supposed to get some data from an enterprise bean in ejb.
    the backing bean has this method.package com.safarisoftsolutions.jnationforum.war.bean;
    public class CategoryController {
        @EJB
        private CategoryControllerBean categoryControllerBean;
        public DataModel getCategorys() {
                model = new ListDataModel(categoryControllerBean.getCategorys());
                return model;
    }from the above you can see am trying to get a list from categoryControllerBean.getCategorys() which is a enterprise bean whose code is
    public class CategoryController {
    @Stateful
    public class CategoryControllerBean implements CategoryControllerRemote {
        @PersistenceUnit(unitName = "JNationForum-ejbPU")
        private EntityManagerFactory emf;
        private EntityManager getEntityManager() {
            return emf.createEntityManager();
    public List<CategoryDetails> getCategorys(){
             EntityManager em = getEntityManager();
             List<Category> categorys=null;
             try{
                Query q = em.createQuery("select object(o) from Category as o");
                return copyCategorysToDetails(categorys=q.getResultList());
            } finally {
                em.close();
         private List<CategoryDetails> copyCategorysToDetails(List categorys) {
            List<CategoryDetails> detailsList = new ArrayList<CategoryDetails>();
            Iterator i = categorys.iterator();
            while (i.hasNext()) {
                Category category = (Category) i.next();
                CategoryDetails details = new CategoryDetails(
                        category.getCategorypk(),
                        category.getTitle(),
                        category.getDescription(),
                        category.getActive());
                detailsList.add(details);
            return detailsList;
    }it brings this error
    type Exception report
    message
    descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref com.safarisoftsolutions.jnationforum.war.bean.CategoryController/categoryControllerBean@jndi: com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean@null@com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean@Session@null into class com.safarisoftsolutions.jnationforum.war.bean.CategoryController
    root cause
    javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref com.safarisoftsolutions.jnationforum.war.bean.CategoryController/categoryControllerBean@jndi: com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean@null@com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean@Session@null into class com.safarisoftsolutions.jnationforum.war.bean.CategoryController
    root cause
    com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref com.safarisoftsolutions.jnationforum.war.bean.CategoryController/categoryControllerBean@jndi: com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean@null@com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean@Session@null into class com.safarisoftsolutions.jnationforum.war.bean.CategoryController
    root cause
    javax.naming.NameNotFoundException: com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean#com.safarisoftsolutions.jnationforum.ejb.bean.CategoryControllerBean not found
    note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.

  • Problems creating PDF from JPEGs.

    I am using Acrobat Standard 6.0.5. I am having trouble creating a PDF from certain JPEGs. I created these JPEGs using a scanner and Photoshop Elements 5, saving them as 8-bit grayscale at 300dpi. When I create a PDF from these JPEGs in Acrobat, I get a blank, 1 inch x 1 inch image. I've tried zooming in and out and the image is still blank. The funny thing is that I can extract the JPEGs from the newly created PDF, so they are somehow present; I just can't see them.
    Some other data points:
    1. I can create a PDF from JPEGs from my digital camera. These are 180 dpi, 24-bit color, but otherwise I don't see any notable differences.
    2. I've tried converting the problematic JPEGs to 24-bit color. That made no difference.
    3. I've tried converting the problematic JPEGs to JPEG2000. That *did* make a difference -- I can create a PDF from them just fine.
    4. I can open the problematic JPEGs in Photoshop Elements and *print* them to PDF. That works just fine.
    There's obviously something about these files that Acrobat doesn't like, or else some configuration setting in Acrobat that needs to be adjusted, but I can't figure out what it is.
    Thanks in advance!

    JPegs are often problems. You might try saving to TIFF instead, the standard for scanners.

  • Problem with RAW to JPEG conversion

    Hello everyone,
    I have recently switched to shoot my photos in RAW format. I do the usual adjustments in Camera Raw and the hit "Open Image". Next is that I save my image as JPEG with the Maximum Quality. Once I look at my saved JPEG file though I find that most of them have a lot of noise and seem not to reflect any adjustments that I did to the RAW file. What am I doing wrong?

    This is the adjustments in "Basic" and "Detail" including the "Before RAW"
    After that I hit "Open Image" and then saved it without further adjustments as JPEG, Quality 10. The result of the JPEG when I open it from the Photoshop Organizer is this which I find very noisy.
    The disturbing part though is, that the JPEG looks as follows when I search for the JEPG file itself and open it through Picasa viewer. It has way fewer image noise I think.

  • JAI - Colour problem converting GIF to JPEG

    Hi
    I'm using JAI to load a GIF, and then save it as a JPEG. When I save it (using the "filestore" operation in JAI.create(...) the resulting JPEG seems to be monochrome. However if I save the same image as a BMP, it's fine.
    I think this has something to do with ColorModels, but I'm a bit lost and confused really. Please could someone point me in the right direction?
    NB, because I can't get ImageIO installed on my machine (it refuses to believe I have the right JDK installed...) I'm restricted to methods available in JAI
    Thanks

    Thanks for the reply. Here's the complete solution for anyone whose interested (mostly copied from another post). I tested it and it works a treat for my app at least
    (image is a RenderedOp)
    BufferedImage realImage = image.getAsBufferedImage();
    try{
    BufferedImage rawImage = realImage;
        realImage = new BufferedImage(rawImage.getWidth(), rawImage.getHeight(), BufferedImage.TYPE_INT_RGB); //CHANGE THIS TO TYPE YOU NEED
        ColorConvertOp xformOp = new ColorConvertOp(null);
        xformOp.filter(rawImage, realImage);
    }catch(Exception e){
        e.printStackTrace();
    }

  • Problem injecting a List of managed beans in JSF framework.

    Is it possible to inject a List of beans as a managedproperty to a managed bean??
    @ManagedProperty(value="#{user}")
         private List<userBean> users;
    Thanks.

    It was possible through faces-config, so I'd say yes. Are you sure 'user' actually resolves into a list? Perhaps you meant 'users' ?

  • Problems with colors, creating jpeg JPEGCodec

    Hi,
    i create jpeg file from bufferedimage:
    JPEGImageEncoder encoder =JPEGCodec.createJPEGEncoder(out);
    JPEGEncodeParam param=encoder.getDefaultJPEGEncodeParam(Image);
    encoder.encode(image,param);
    But the background of image (white) becomes in jpeg file light orange.
    Is it possible to correct it?
    Thanks and Regards,

    ImageIO.write?

  • Having problems with Canon Raw / Jpeg with Canon 5D

    I have been noticing every time I open up a Raw file in CS2 the colors seem to be off and when I open up the Jpeg pic. they are compleatley different.  The Jpeg files colors really pop, where the Raw files look blowen out and take a lot of work in editing.
    What am I doing wrong?  Do I need to upgrade to the CS4 package?  Or is it a camera setting that I am missing?
    When I was shooting a Canon 10D both Raw and Jpeg were the same and the colors were good.  Thanks Keig

    What you are seeing is the difference between how Canon develops the images and how Adobe develops the image (in CS2).  Your options are somewhat limited in CS2 but you can try the following:
    Open up a 5D image in Camera Raw.
    Make adjustments to make the image look as close to the Jpeg as you can.  This will probably mean adding some contrast, upping the shadows/blacks clipping point, and adding some saturation.
    Save those settings as a new Camera Raw default.  I don't remember if that is in the same place it is now ("Save new camera raw default" from the fly-out menu on the tab bar) but look around and you should find it.
    The hardest part will be trying to get a good match on the color.  An upgrade to CS4 would give you many enhancements to Camera Raw, including new Canon-like profiles that will give you 5D color similar to what you get in-camera or from Canon's Digital Photo Professional software.
    Hope that helps.

Maybe you are looking for

  • Delivery Date in STO ( UB) & PO (NB)

    Hi, I have a question, delivery date in STO (UB documnet type) or PO ( Doc type NB) what it refer? ( item-->delivery date) I mean the date on which we are going to receive the goods or the date on which either vendor or supplying plant going to trans

  • How can I open TIF attachments on IPad?

    I have IOS 4.2.1 on my IPad. I cannot open TIF attachments on mail, even though I am able to do so on my IPhone 4. The setting to upload remote images is on. Any ideas?

  • Microphone no longer works on headphones, problem w/ phone not headphones

    This is my dilemna: Something is wrong with my headphone jack on my iphone so that my headphones work to listen to music, but no longer to talk on the phone. In other words the microphone on the headphones doesnt work, so people cant hear me. And i k

  • File path for excel file

    Hi Everyone, I am writing and reading data from an Excel file (see code) and it works but I have to specify the path in the script and if I want to change the file I have to change the file path in the code. I would like to create a window that pops

  • No idea how to use Skype on e65

    I couldnt see any topic about settings for skype. I want to use Skype over wi-fi. Please tell me what settings i have to do. THX