Add a MIME type in iPS 3.0 SP4

Hi there,
I'm having difficulty adding a new MIME type to the portal server instance of the web server. It does not seem to recognise the new mime type added by the instant collaboration pack. When i start up the web server admin and apply changes, the whole portal server dies. any suggestion on getting the web server to recognise new mime types.
Thanks in advance..

Did you try to modify manually "mime.types" file under /iplanet/iPS3/netscape/server4/https-host.domain/config/, for example ?
Yours

Similar Messages

  • Case sensitive file extensions on mime.types?

    Hello,
    I'm facing a weird problem at customers's site.
    There is an iAS 10.1.3.3 installation on a Windows 2000 server. There is an OC4J container called "OC4J_FR" where their application is depoyed.
    The trouble we're facing is the following:
    on the %ORACLE_HOME%/j2ee/OC4J_FR/config/mime.types we add the following 2 entries:
    image/tiff                    tif tiff
    application/vnd.ms-excel     xls
    So, when we put someFile.tif (or someOther.xls) under the container public directory it is possible for users to access them via the URL
    http://servername:port/webContextRoot/someFile.tif
    And this works OK.
    If we try to rename the above file into something like myFile.TIFF (please note the extension in uppercase) Internet Explorer opens it like text, wiring this "rubbish":
    II*Àg ÒgL1ÂÊ$(2ÈdÙ¨¦Í@6j)³P‘<mò°Ú¨³
    etc....
    While Firefox opens it correctly. I also tried to add on mime.types the following (even if on the Apache website it is told that this is useless...)
    image/tiff                    TIF TIFF
    But still it doesn't work.
    Any hints/patches/workarounds/ideas/anything?
    Thanks,
    - Paolo

    Can't really say what's wrong but I quickly tried it with OHS (Oracle HTTP Server) and it works fine both in Firefox 3.0 and IE 6.0 without making any change (in mime type configuration). I copied two tiff files (sample1.tiff and sample2.TIFF) in $OH/Apache/Apache/htdocs directory and then was successfully able to access both using http://host.domain:ohs_port/sample1.tiff and http://host.domain:ohs_port/sample2.TIFF.
    When you say you tried with Apache website, is above what you tried too?
    Thanks
    Shail

  • JSF1091: No mime type could be found for file xyz.png.

    Hi all,
    I get error logs in weblogic server like :
    <ExternalContextImpl> <getMimeType> JSF1091: No mime type could be found for file xyz.png. To resolve this, add a mime-type mapping to the applications web.xml.
    I get this for all the image files ... I found something :
    http://www.java2s.com/Code/JavaAPI/javax.servlet.http/webxmlmimemapping.htm
    <mime-mapping>
            <extension>java</extension>
            <mime-type>text/plain</mime-type>
    </mime-mapping>
    What should I add (mime-type) for png files ?
    Thanks..

    You use 'image/png' for this. Refer to MIME Types - Complete List » HTML Elements| Learn HTML | Tags | Tutorials | HTML Cheat Sheet for more info.
    Timo

  • JSF1091: No mime type could be found for file image_name.png

    Hi Experts,
    JDEV 11.1.2
    why this message shown in the log......? also how can i add a mime-type mapping ?
    <ExternalContextImpl> <getMimeType> JSF1091: No mime type could be found for file image_name.png. To resolve this, add a mime-type mapping to the applications web.xml.
    PMS

    Edit your app's web.xml and add it?
    Google can find you examples like [url http://www.java2s.com/Code/JavaAPI/javax.servlet.http/webxmlmimemapping.htm]this

  • Custom mime types

    i am using iplanet web server 6.0 sp3 and iplanet application server 6.5 enterprise edition. i have jsp pages with extension as .msp and all my servlets have extension .msv. now i want to add the mime types .msp and .msv in iplanet web server and whenever the web server gets .msp and .msv requests i want the web server to redirect such requests to iplanet application server. how do i do this? i know i need to add the mime types to mime.types file and i need to change the obj.conf file. but i do not know what function to call in obj.conf? can anybody help me? thanks in advance."

    if your portlet is in C# use this before building the HMTL table
    Response.Buffer = true;Response.ContentType = "application/vnd.ms-excel";Response.AddHeader("content-disposition", "attachment; filename=YourFileName.xls");this.EnableViewState = false;Response.Charset = String.Empty;
    next, use a string builder System.Text.StringBuilder strBuilder = newSystem.Text.StringBuilder();
    add the HTML table , and return strBuilder (all this stuff must be on yourFunction() )
    On the portlet HTML have a call like this <%#yourFunction() %> placed betweenn <form> and </form>
    I hope this help!Val

  • Trying to embed a video file in HTML5: ERROR=No video with supported format and MIME type found?

    Hello all!
    I am desparate for a solution. I am testing my site on Firefox and Explorer and still no sign of a functional video yet.
    Firefox: I get the error: No video with supported format and MIME type found.
    Explorer: I just get a distorted layout.
    Here is the code I am working on:
    <table id="Table_01" width="480" height="801" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td colspan="6">
                <img src="images/Video_01.jpg" width="480" height="114" alt=""></td>
        </tr>
        <tr>
            <td rowspan="3">
                <img src="images/Video_02.jpg" width="52" height="486" alt=""></td>
            <td colspan="4">
               <video controls width="376" height="221">
                 <source src="C:\Users\aalmeida\Videos\AEMC PEL 103 6 Channel, Power & Energy Logger - with Display (Part 1).mp4" type="Video/Mp4"/>
                 <source src="C:\Users\aalmeida\Videos\AEMC PEL 103 6 Channel, Power & Energy Logger - with Display (Part 1).webm" type="Video/WebM"/>
                 <source src="C:\Users\aalmeida\Videos\AEMC PEL 103 6 Channel, Power & Energy Logger - with Display (Part 1).oggtheora.ogv" type="Video/Ogg"/>
                 </video>
    Please tell me that there is something missing in the code. I have spent a lot of time uninstalling-updating Firefox plugins, added MIME types in the Internet Information Manager (I'm on Windows 7)
    and  seriuously hit a dead end with this!
    Any advice would be muchly appreciated!!!
    Thanks
    ~LA

    As Jon said, you must declare the page as HTML5.
    And your server may not be set up to deliver video as a binary file if it is an .OGG file. I have not seen this problem with .MP4 or .M4V in the past, but every server is a little different.
    To add a MIME type, you need to change your .htaccess file on an Apache server thusly:
    AddType audio/ogg .oga
    AddType video/ogg .ogv
    AddType application/ogg .ogg
    AddHandler application-ogg .ogg .ogv .oga
    Additionally, MIME types can usually be changed on a server's Control Panel. One can also ask one's hosting provider to do this as well.
    Firefox makes it necessary to use OGG files. Webkit-based browsers will deal with .M4V or .MP4 and I understand Internet Exploder will work with the latter two as well.

  • Add MIME Types Office 2007 in jive forums

    Hi all!
    How to add MIME Types for Office 2007 in Jive Forum?

    Hi,
        Were you able to solve this issue ???...
         cos i found that the text box where you can enter new content types have a limit & hence i cannot enter the DOCX content type string which is given bellow...
    application/vnd.openxmlformats-officedocument.wordprocessingml.document

  • How can I use one Add-on prior to another for specific MIME-types?

    I'm using Shockwave Flash plugin to watch some videos on YouTube, StreamCloud, etc. It also handles .mkv and .mp4 files/streams. After installing VLC Web plugin to handle MIME-types like mp3/4, mkv additionally and prior to the Flash plugin, Firefox keeps using Flash to handle those types insted. I cannot find options to set the desired priorities. Only disabling the Flash plugin solves my problem, but also keeps me from watching Flash contents, which Is not acceptable.
    Did I miss something or is this Firefox's fault?

    If you type or paste '''about:plugins''' in the address bar and press Enter, you can see which plugins are associated which various content types.
    I do not know how to prioritize one over the other for the same content type if the plugin settings (plugins often have an interface outside of Firefox to adjust their settings) do not allow that.
    As for MP4, I don't think Flash normally would be selected. I suspect the website is specifying a Flash media player and streaming the MP4 through that. If you want to hide the Flash plugin from a particular website, you can use the Permissions tab of the Page Info dialog.
    Click the padlock or globe icon in the address bar, then More Information, then Permissions. The top section of the Permissions panel should be "Activate Plugins". Here you can select Block for Flash for the current site. After reloading the page, does the media play using a different plugin?

  • How to change default application associated with some mime types?

    When we install some new program, for example GIMP, I assume the newly installed program is added to some mime type database, and the /usr/share/applications/mimeinfo.cache file is automatically generated.
    Using my example, GIMP will be the default application for all its registered mime types, even application/pdf. I surely don't want this to happen, and I surely don't want to create all kinds of files that GIMP registered and right click on them and choose Properties and then change it in the Open with... tab. I want to systematically de-prioritize GIMP so that it will not override my previously assigned default applications.
    I wrote a script to modify the mimeinfo.cache file, and it seems to work great. However, after a reboot or upgrade or something I didn't notice, the default application of application/pdf is reconfigured to GIMP. I think the cache suffix of the file indicates that it is just a cache and may be changed by system unnoticed. So I am looking for a new way to change the default applications.
    As far as I know or guess from the phenomena, there should be some system utility that generates the mimeinfo.cache file, it seems to parse all the *.desktop files under /usr/share/applications and register them to certain mime types accordingly. The sequence of the *.desktop files get parsed seems to be related to the time the application is installed, and the newly installed applications seems to be parsed later and inserted in the front of the application list or be parsed earlier and appended to the application list. Is there some place I can change the sequence of the parsing? Or is there some place I can change the behavior of the system utility?
    I know that I can populate my ~/.local/share/applications/mimeapps.list to override the system wide defaults, however, I want a more elegant way to this.
    Any opinion on this is welcomed.
    Last edited by AugustePop (2010-05-14 05:47:15)

    Ah, right. Don't know what DE you are on, but in Gnome:  right-click a (e.g. pdf) file -> Preferences -> Open with.
    All Applications listed there will be available from the right click menu, the marked one will be used on double-click.
    errgrh...
    I surely don't want to create all kinds of files that GIMP registered and right click on them and choose Properties and then change it in the Open with... tab. I want to systematically de-prioritize GIMP so that it will not override my previously assigned default applications.
    I guess what I am trying to propose is this: "de-prioritize" GIMP in its .dekstop file for the types you dont want it to be associated with, and manually add it back in through "Open With" for the file types you want it to be an option. Not sure if this is solving anything for you though
    Last edited by hokasch (2010-05-14 10:28:57)

  • Print HTML using JPS API.. How to configure printer MIME-TYPE as text/html

    Hi All,
    I have to print the HTML pages.. for this i have used JPS API , but i found that my printer doesnt supoort Mime-type(Flavour) text/html.
    Can someone help me in this ...
    i) Can i configure my printer for this Mime-type , if yes then HOW?
    ii) Is there any work around ?
    Thank you all in advance :)

    I reposted this question in the Database forum. Admin can feel free to delete this thread.
    The answer is to add this at the top: htp.addDefaultHTMLHdr(false);
    Thanks,
    T.
    Edited by: 855677 on May 3, 2011 9:35 AM

  • How to restrict uploading files by mime type?

    Hi,
    I have been searching the forum (and Google) looking for tips on how to ensure users can only upload files of specific formats (Word, PDF, etc) for specific document types as defined within the application (e.g. Curriculum Vitae (Word), Copy of Transcripts (PDF)).
    While I have used this research to start work on a server-side solution, I would like to know if there is an apex-friendly way to "validate" a file-browse item based on mime-type.
    Has anyone else had to address this?
    Ted

    Hi,
    I would like to know if there is an apex-friendly way to "validate" a file-browse item based on mime-typeHow about, you create a check constraint on your MIMETYPE column. something similar to this:
    alter table "MY_TABLE" add constraint
    "MY_TABLE_CON" check ( "MIMETYPE" = 'application/pdf' or "MIMETYPE" = ......)Or you can use this plugin, provided using browsers supporting HTML 5:
    http://www.theapexfreelancer.com/apex/f?p=APEXFREELANCER:FILE_UPLOAD:0
    For friendly,
    Please check error handling :
    http://www.inside-oracle-apex.com/apex-4-1-error-handling-improvements-part-1/
    Best Regards,
    Fateh

  • How to set Mime Type for Static Files

    Hi All,
    I am working on Apex 3.2.1.00.10.
    When I am trying to upload (create) a ".js" file into Static Files under Shared Components of an application; it is saving as "*text/plain*" for Mime Type. But I need Mime type to be set as "*application/x-javascript*".
    Please help me to change the Mime type of .js file.
    Or is there any way to upload the file directly as "*application/x-javascript*" as its Mime Type.
    Thanks in advance.
    Umesh

    In IIS v4 which comes with the Windows NT4 option pack, you right click the web page you are working with, select properties, then go to the HTTP Headers tab. At the bottom there's a button labelled File Types in the MIME Map section.
    After you've clicked that, you can add the two mime types you need;
    Associated Extension MIME Type
    .jar application/x-java-jar-file
    .jnlp application/x-java-jnlp-file
    I'm assuming that it is the same in W2k/IIS5.

  • How to use JavaSript library stored in mime type repository???

    Hi Experts
    I currently have the situation that I would like to deploy several JavaScript functions in a multitude of templates. I need my own JavaScript functions as the provided functionality is not sufficient.
    I have figured that I can add my function by using the script item and that works fine, but it requires the script to be entered in every template.
    My idea is to store the central JS file in the mime type repository and then reference it, however it doesn't seem to work.
    Does anybody have an idea on how to make it work or alternatively have a central JavaScript library that is used by several different templates?
    Thanks for your help, regards,
    Minima

    Thanks for the answer, DEEPU's comment realer helped.
    Another solution is to create a Web Item that contains the coding. The Web Item can then be stored as reusable. This also looks like a neat solution for the problem.
    Hope it will help some people.
    Regards,
    Minima

  • When I try to click on a download link for a .pdf file Firefox does not recognize the MIME type and tries to download the file as "index.php"

    When visiting a site I frequent I tried to download a linked .pdf file. Previously I've used Firefox 7.0.1 to download the link with no problem. Using Firefox 8 however I the browser does not recognize the .pdf link's mime type. Instead of recognizing the download link as a .pdf file Firefox 8 tries to download it as "index.php". Firefox 8 does this with .doc files and .txt files as well. When I downgrade to 7.0.1 again the problem disappears.

    Hi hakmacpace,
    I'd try starting Firefox in [[Safe Mode]]. If you don't have the issue while all of your add-ons, extensions, and themes are disabled, you can try adding them back in one by one until you find the culprit. You should look at the [https://support.mozilla.org/en-US/kb/Troubleshooting-extensions-themes Extensions and Themes troubleshooting guide ] and the [[Troubleshooting plugins]] article as well.
    You could also try [https://support.mozilla.org/en-US/kb/Managing-profiles?s=create+a+new+profile&r=2&e=es&as=s#w_creating-a-profile Creating a new profile].
    Hopefully this helps!

  • Gnome: mime types, file associations and defaults.list

    I installed the new Gnome 2.8 during the weekend and now my file type associations is completely bloated. The mime system is intact - Nautilus recognises files properly. However, Nautilus doesn't know which applications to open a specific file with. I have read other posts and found useful information, but not the solution.
    This post in FedoraForum gave me a hint to what's causing the problem:
    http://fedoraforum.org/forum/showthread … post127530
    It seems that the file defaults.list is missing from /usr/share/mime/applications. Apparently this file contains the associations  between applications and mime types. I have not be able to find out which package should provide this file or how to recreate it. Can anyone help - maybe provide the name of the package that provides this file?
    Thanks,

    Yeah, I got tired of Evolution not knowing about opening *.docs in openoffice.  After several hours of research, the key is the /usr/share/applications/mimeinfo.cache,  /opt/gnome/share/applications/mimeinfo.cache, and the MimeType fields in the *.desktop files.  The mimeinfo.cache in /usr was empty and the /opt one had gthumb and other apps but no OO:
    [MIME Cache]
    application/x-gnome-stones=gnome-stones.desktop
    image/jpeg=gthumb.desktop
    application/postscript=ggv.desktop
    ...snip...
    That's a lot of blather to say that the fix for Evolution/OpenOffice was to add the proper MimeType entry to /usr/share/applications/ooo645writer.desktop:
    MimeType=application/vnd.ms-word;application/msword
    and then run "update-desktop-database".  Problem solved.
    Another problem is that within Evolution it says an attached doc is a "application/msword" and not a "Microsoft Word Document".  Unfortunately this is because freedesktop.org decided to use application/vnd.ms-word instead of application/msword like the rest of the world.  If you check the vnd.ms-word entry in /usr/share/mime/packages/freedesktop.org.xml it defines an alias msword but the new mime system doesn't appear to recognize aliases yet.  The solution I used was to rename the entry to msword.  Another possible solution might be to remove the msword alias from the vnd.ms-word entry and create a new msword entry based on the vnd.ms-word one.  Then run "update-mime-database /usr/share/mime".  Hope that made sense.
    I think the defaults.list is part of the previous GNOME MIME setup cause I don't have one and I'm not experiencing any problems.  For other apps check for the associations in the mimeinfo.cache's and if missing add the MimeType's to the app's *.desktop.

Maybe you are looking for