Unicode filename problems in linux

I'm running into a problem in linux (Ubuntu). The following test code will throw an exception at the "FileInputStream fis... " line with the file has a unicode filename. However, Windows passes this without problems.
try {
     File dir = new File("a directory that exists");
     File[] files = dir.listFiles(); //get file list
     for (int i = 0; i < files.length; ++i) {
          System.out.println("file " + files.getAbsolutePath());
          FileInputStream fis = new FileInputStream(files[i]);
} catch (Exception e) {
     System.out.println("Exception: " + e.getMessage());
Does anyone know how to fix this? Thanks!

But the characters are actually chinese. And since
it's on Ubuntu, it would be in UTF-8 encoding
wouldn't it?
The characters display fine in ubuntu but when I try
to read them in using FileInputStream, it fails for
some filenames with strange characters.
I just don't understand why some characters make it
fail and others are fine. It seems that it should
all work or all not work? Perhaps I'm wrong.On my Fedora Core 6,
the result of
echo $LANG
is:
ja_JP.UTF-8
And I tried your program on a directory that has &#30334;&#24230;MP3��&#20840;.txt file in it.
import java.io.*;
public class AlsKdj{
  public static void main(String[] args){
    try {
      File dir = new File(".");
      File[] files = dir.listFiles();
      for (int i = 0; i < files.length; ++i) {
        System.out.println("file " + files.getAbsolutePath());
FileInputStream fis = new FileInputStream(files[i]);
System.out.println(" " + fis.toString());
catch (Exception e) {
e.printStackTrace();
The output from the program is:
file /root/test/./AlsKdj.class
  java.io.FileInputStream@1a46e30
file /root/test/./&#30334;&#24230;MP3��&#20840;.txt
  java.io.FileInputStream@3e25a5
file /root/test/./bbs.txt
  java.io.FileInputStream@19821f
file /root/test/./WMP.txt
  java.io.FileInputStream@addbf1As shown above, the result is normal if LANG is really UTF-8.
My Java version is:
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

Similar Messages

  • Read Unicode filename

    Hi,
    I am new in Java and facing problem with reading unicode filename. I tried to read a xml file that stored in desktop with chinese character filename using java but it return exception when come to this line of code - xmldoc = builder.build(inputFile);
    Below is the code i have wrote:
    Document xmldoc = null;
    String xmlDirectory = null;
    SAXBuilder builder = new SAXBuilder("org.apache.xerces.parsers.SAXParser");
    xmlDirectory = "C:\\Documents and Settings\\user\\Desktop\\";
    String inputFile = xmlDirectory + fileName;
    xmldoc = builder.build(inputFile);
    And the exception returns is as below:
    java.io.FileNotFoundException: C:\Documents and Settings\user\Desktop\??_1_ref.xml (The filename, directory name, or volume label syntax is incorrect)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
    at java.net.URL.openStream(URL.java:913)
    at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:731)
    at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:676)
    at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:252)
    at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:499)
    at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581)
    at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1157)
    at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
    at org.jdom.input.SAXBuilder.build(SAXBuilder.java:891)
    The fileName is "����_1_ref.xml" (it is actually in chinese character). However, if normal fileName, such as "1_ref.xml", the above code is actually working fine.
    May i know how to solve this issue?

    Retrieve the variable (unicode) from Oracle as a
    string,
    and append to the fileName. The field in DB is
    NVARCHAR2, and is in chinese charactors instead of
    something like this "\u4e00....".
    Then for the case above, the fileName is pass in as
    parameter through a java method.
    eg.
    public void startGenerate(String fileName) throws
    ApplicationException
    ................I just tried myself. I stored a Chinese file name in a property file, retrieve the name, and open the file. But I got no problem.
    Have you tried debugging the program to see if the "?" characters appear immediately after rs.getString() or after they are appended to the fileName?
    I found one reference site,
    http://www.chinesecomputing.com/programming/java.html
    Good luck
    :D

  • File constructor and unicode filename issue

    I have issues with unicode filename.
    I need to create a File object from unicode file name "&#1070;&#1075;&#1072;.mp3" in order to use it in the code.
    File in=new File("&#1070;&#1075;&#1072;.mp3")
    AudioFile f = AudioFileIO.read(in);
    Tag tag = f.getTag();
    Anybody knows how to deal with a file or directory that is named using Unicode characters?

    1) Have you tried just reading the file as a file using a FileInputStream?
    2) What operating system?
    3) What Java version?
    4) What are the \uxxxx values of some of the problem characters?
    Edit: I have just run        String filename =  System.getProperty("user.home") + "/\u1070\u1075\u1072.mp3";
           File file = new File(filename);
           OutputStream os = new FileOutputStream(file);
           os.write("Hello World".getBytes("utf-8"));
           os.close();
           DataInputStream dis = new DataInputStream(new FileInputStream(file));
           byte[] buffer = new byte[(int)file.length()];
           dis.readFully(buffer);
           dis.close();
           System.out.println(new String(buffer,"utf-8"));on Unbuntu 7.10 using JRE/JDK1.6.0_3
    without any problems other than not being able to see the \u1070\u1075\u1072 in my console because I don't have fonts installed for displaying them.
    Edited by: sabre150 on Dec 28, 2007 8:52 AM
    Further edit: It also runs on Windows XP using 1.6.0_03 .
    Edited by: sabre150 on Dec 28, 2007 9:00 AM
    I don't think the file is located where you think it is!
    Edited by: sabre150 on Dec 28, 2007 9:02 AM

  • Path problem in linux

    hi,
    i have problem with file path accessing in linux. my java class is accessing a abc.cvs file and and getting all data. it is working fine in windows xp. but i run this same file in linux it does not access the abc.cvs file and does not get any data.
    my project structure
    Search
    abc.cvs
    search.SearchMain
    i am sccessing this cvs file in this SearchMain class by this way file name = "abc.cvs"
    It is working fine with window but problem with linux.
    when i place this abc.cvs in a folder as "./data/abc.cvs" also working fine with windows but not in linux.
    I am new for linux.
    Please give me solution.
    Thanks in advance
    Ravi

    There shouldn't be any differences between Linux and Windows here, it's all about your environment. In order to access abc.cvs class (I presume that abc is package name) from search.SearchMain class you need to have a directory (or .jar file) containing abc/cvs.class in your CLASSPATH environment variable.
    Try setting it with
    export CLASSPATH=your_dir_or_jar_file:$CLASSPATH
    and then running the app again.

  • File problem in linux OS.

    hi,
    I am creating one jar file . In my program, when I click one survey menu in my GUI,it will collect information from remote device and store it in log file located LOG folder. In my case, I put one folder " Cal" and inside it I put myjar.jar file and that log (LOG) folder.
    In Windows, when I click survey menu in GUI, the log information automatically stored in log foder as survey.txt file. And also, i create one show dialog box to show where the log file located.
    my code is,
    String  ss=new String(" HIllo"+"loginfo" );           
                     byte b[]=ss.getBytes ();
                           OutputStream f0=new FileOutputStream               ("LOG/survey.log",true);
                           f0.write(b);
                           f0.flush();                      
                           f0.close ();    the above code is file writing in txt file.
    for display dialog box,
    if(source==Survey)
                    File file = new File("LOG/Survey.log");                      
                    file = file.getAbsoluteFile(); 
                    javax.swing.JOptionPane.showMessageDialog(MainFrame, "The LOG FILE is stored at -- \t \t"+file);
                 }In windows, where can i install that Cal folder (inside it JAR file and LOG folder), and click that jar , all are working fine. The log file stored correctly inLOG folder and dialog box show the located path.
    eg. log file stored at D:/sbk/Cal/LOG/survey.log
    But my problem in linux.
    when i click survey menu, it will defaultly stored in root folder and log folder. Actually i am not creating LOG folder in root folder.
    I am changing file writer as , to store that JAR folder and want to store that log file in home directory.
    if(no_of_ssid!=null){
                    String  ss=new String(""HIllo"+"loginfo\n" );          May
                     byte b[]=ss.getBytes ();
                           OutputStream f0=new FileOutputStream ("/home/Cal/LOG/Survey.log",true);
                           f0.write(b);
                           f0.flush();                      
                           f0.close ();    but, now also that file stored in rot directory.
    what can I do.
    how can I store log file in home/Cal/Log folder in Linux.
    any one help this problem

    Use System get prop user.home?

  • HEAVY Problems with Linux x86_64 on K8T Neo

    Hello, Community!
    I experience *HEAVY* Problems with Linux on my MSI K8T Neo (FSR). Since the customer support of the german dependancy seems to ignore my call for help I'm in good hope that maybe you can help me out or give me some useful advise.
    First some Hardware Specs of my system:
    MSI K8T Neo FSR, Rev 1.1, BIOS 1.5
    AMD Athlon 64 3000+
    3x 512MB Kingston DDR400
    Enermax EG365P-VE (350W) PSU (3.3V/5V 185W Combinded)
    MSI GeForce FX5200 TDR 128
    Adaptec ATA RAID AAR1200A (HPT370A) in PCI Slot 3
    Hauppauge WinTV PCI in PCI Slot 5
    Maxtor 4K040H2 (40GB) as Primary Master
    JLMS XJ-HD166S DVD-ROM as Primary Slave
    LiteOn LDW-411S DVD+/-RW as Secondary Master
    LiteOn LTR-52327S CD-RW as Secondary Slave
    2x Maxtor 6Y060L0 (60GB) on HPT370A as Primary Master/Slave
    Seagate ST380020A (80GB) on HPT370A as Secondary Master
    Maxtor 32049U3 on HPT370A as Secondary Slave
    KeyTronic KT2001 USB Keyboard
    Microsoft Optical Wheel Mouse Blue USB
    I've downloaded Fedora Core 1 x86_64 as well as the lately released Fedora Core 2 test 3 x86_64 distribution. Both CD sets have been burnt ok.
    If I try to install Core 1 x86_64 (Kernel 2.4.22-1.2179) the kernel crashes with a "attempted to kill idle task" panic. As far as I've learned the workaround is to give idle=poll as kernel parameter. This resolves the kernel panic, but the installer randomly crashes with segfaults at a random stage; sometimes while loading anaconda, sometimes during package install.
    If I try to install Core2 test 3 x86_64 (Kernel 2.6.5) I get a, completely new, error message while the kernel does the PCI Scan:
    ******* Your BIOS seems to not contain a fix for K8 errata #93
    ******* Working around it, but it may cause SEGVs or burn power
    ******* Please consider a BIOS update
    ******* Disabling USB legacy in the BIOS may also help
    I removed my USB keyboard, connected a PS/2 keyboard, disabled to USB Legacy option (I need it enabled in order to use Ghost) in the BIOS and booted again.
    The error message is gone now, but as in Core 1 the installer still crashes randomly with segfaults. I'm still unable to go all the way through the installation routine.
    I even tried to install Fedora Core 1 "i386": again there are segfaults during install.
    Contrary to the problems I experience while trying to install Linux my Windows XP (32-Bit), as well as a test installation of Windows XP 64-Bit, run like a charm without any problems. Strange but true.
    Since I already read trough several posts in this forum I already tried running my system with memory sticks from another manufacturers as well as with a more powerful PSU. I even removed my tv-card and raid-controller.
    Nogo - Linux still crashes randomly and Windows still works without any flaws.
    Has anyone a clue what I can/must do to successfully install Linux?
    Might it be that the BIOS has some flaws that might cause the problems?
    Has anyone managed to install Linux (what distribution) on this Mainboard?
    I would greatly appreciate any help. If you need to know something I haven't provided here please feel free to ask. I'll answer ASAP.
    Thank you in advance.
    P.S.: The system is *NOT* overclocked in any way.

    And now even the last problem is solved ...
    Since I was successful in installing a basic Gentoo system but still failed to install Fedora I reflashed BIOS 1.5. This time I cleared the CMOS by unplugging the PSU, setting the jumper and removing the backup battery.
    Yesterday I only flashed it with the /a switch, which should have cleared the CMOS as well - so far for the theory. However, it once went fine as I upgraded from BIOS 1.1 to 1.4.
    After setting up the BIOS options again I gave it another try and booted from Fedora (Core 2 test 3) install CD: No more complains about the CPU errata, although USB legacy is enabled, and I even went through the installation without any problems.
    It seems as I will stick with Gentoo as my primary distribution since the kernel makes a more "mature" impression than the one from Fedora (i.e. the K8 PowerNOW! Driver seems to be missing in Fedora's Kernel 2.6.5).
    By using an spare Athlon XP Mainboard I worked out that only one of my three Kingston memory sticks had errors - I'm going to replace the faulty stick tomorrow.
    Now for the conclusio:
    Thanks, especially you JLP, for helping me with my issue. Without the advise to use Gentoo, and the included MemTest86, I wouldn't have been able to track down the error to a faulty memory stick that fast since Windows always ran fine.

  • Unicode filename in download box

    I need to upload/download files with Unicode names from a file hosting service. Every thing is going fine except one thing - internet explorer.
    The problem is that IE doesn't recognize the file name i'm sending as Unicode - showing me an encoded string instead in the download box. The page displays the file name okay however the download box doesn't. The problem happens only if the unicode file name has no extension. With an ascii extension, the file displays fine. With a unicode extension, the name part appears correct but then the extension itself is garbled. Firefox works like a charm.
    What I'm basically doing, is that I check for the browser. If IE, I encode the filename and set the content-disposition header and stuff. If firefox, do it the firefox way (mark the filename field in the content-disposition with a * just before the equal sign). I then send the file data into a servlet output stream.
    As a temporary solution, I'm appending a .NoExtension extension to extention-less filenames. This has to do for now, unless any body here has a better idea...
    please? : ]

    Take a look at this article:
    http://java.sun.com/developer/technicalArticles/Intl/HTTPCharset/index.html

  • Installation problem in Linux Slackware 7.1

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    - Date/Time
    - Browser + Version
    - O/S + Version
    - Error Msg
    I try install Oracle 8i Enterprise in Linux Slackware 7.1 (kernel 2.2.16), but the runInstaller don't work.
    I read the installation manuals and make all steps, but the runInstaller don't work.
    I get this message:
    ./runInstaller
    The Java RunTime Environment was not found at bin/jre. Hence, the Oracle Universal Installer cannot be run.
    Please visit http://www.javasoft.com and install JRE version 1.1.8 or higher and try again.
    : No such file or directory
    I try --> ln -s /usr/local/jre118_v3 /usr/local/java
    and --> ln -s /usr/local/jre118_v3 /usr/local/jre
    Nothing work's.
    Somebody can help me ?????
    Thank's ....

    Hello!
    I also tried to install Oracle 8.1.6.1 (after giving up the 8.0.5 installation due to segmentation faults all over..), it also failed.
    After trying to install Oracle 8.1.6.1 on RedHat 7.0 and it still crashed, i sent a mail to some guru that wrote the oracle-how-to document for redhat, here is what he replied.
    My guess is that this also applies to the newest slackware version, because i presume that slackware 7.0 also use the newest glibc libraries;
    Thanks for the feedback.
    Oracle 8.1.6 does not work under Red Hat >Linux 7. Yes, that's the problem
    that I mentioned in the doc--you get to 80% >and the DBCA crashes and the
    Oracle executables die.
    I've heard, but I haven't tried it myself, >that if you install the latest
    glibc errata (2.1.94) then the DBCA >completes but the Oracle executables
    still die. The DBCA problem was apparently >a Java issue that is fixed in
    the errata. But you're still out of luck >since the exes won't work.
    It might appear that this is a problem with >Red Hat Linux 7. But it appears
    that it is a problem with some assumptions >that Oracle made, assumptions
    that worked with glibc 2.1.3 (the C library >included with RHL 6.2) but which
    prove false with later glibc versions. As >other Linux distributions adopt
    the new glibc Oracle will fail to work on >them as well.
    The best advice I can give at this point is >to install and run Oracle on
    Red Hat Linux 6.2. Hopefully Oracle will >address the glibc issues with the
    8.1.7 release.
    ChrisI then installed Orace on RedHat 6.1 and it worked like a dream.
    Maybe you guys should try your luck on an earier version of slackware?
    Hope that helped...
    null

  • File Upload Problem to linux server

    Hi all,
    I have a big problem. I can not get my code to work on a linux web server. The code works fine on my localhost witch is a windows pc. Here is the code i use:
    <-----form.html------>
    <html>
        <head><title>Upload test</title></head>
        <body>
            <form method='POST' enctype='multipart/form-data' action='upload.jsp'>
            File to upload: <input type=file name=upfile><br>
            <br>
            <input type=submit value=Press> to upload the file!
            </form>
        </body>
    </html>and
    <-- upload.jsp -->
    <%@ page import="java.io.*" %>
    <%
    try {
        String contentType = request.getContentType();
        System.out.println("Content type is :: " +contentType);
        if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0)) {
            DataInputStream in = new DataInputStream(request.getInputStream());
            int formDataLength = request.getContentLength();
            byte dataBytes[] = new byte[formDataLength];
            int byteRead = 0;
            int totalBytesRead = 0;
            while (totalBytesRead < formDataLength) {
                byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
                totalBytesRead += byteRead;
            String file = new String(dataBytes);
            String saveFile = file.substring(file.indexOf("filename=\"") + 10);
            saveFile = saveFile.substring(0, saveFile.indexOf("\n"));
            saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\""));
            //out.print(dataBytes);
            int lastIndex = contentType.lastIndexOf("=");
            String boundary = contentType.substring(lastIndex + 1,contentType.length());
            //out.println(boundary);
            int pos;
            pos = file.indexOf("filename=\"");
            pos = file.indexOf("\n", pos) + 1;
            pos = file.indexOf("\n", pos) + 1;
            pos = file.indexOf("\n", pos) + 1;
            int boundaryLocation = file.indexOf(boundary, pos) - 4;
            int startPos = ((file.substring(0, pos)).getBytes()).length;
            int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
            //String path = new String("C:/Program Files/Apache Group/Tomcat 4.1/webapps/testUploadScript/");
            String path = new String("//home/httpd/vhosts/defualt/httpdocs/test/");
            FileOutputStream fileOut = new FileOutputStream(path + saveFile);
            out.println(path + saveFile + "</br>");
            //fileOut.write(dataBytes);
            fileOut.write(dataBytes, startPos, (endPos - startPos));
            fileOut.flush();
            fileOut.close();
            out.println("File saved as " +saveFile);
    } catch(FileNotFoundException fnfe) {
        out.println(fnfe.toString());
    } catch(IOException e) {
        out.println(e.toString());
    %>I want to know if it is a codeing problem or what?
    Please help.
    Thanks
    IceMan

    There are a couple nasty things in your code (not that your coding would be wrong).
    Maybe better look into jakarta commons,
    http://jakarta.apache.org/commons/fileupload/
    There are minor issues like \r, content length/chunk mode, //home,
    path names, bytes-to-String without encoding. Also officially "--" is not allowed to occure inside an HTML/XML comment, hence some people use <!-- ======= -->.

  • Help,DataInputStream and Unicode encoding problem

    Hello,everybody
    I am writing a small software for fun,but an problem about Unicode encoding stopped me. I tried to parse a file including integers,floats and Unicode characters(not UTF-8 but some other encoding type). I looked for the JDK documentation and I found that the class DataInputStream( implementing the interface DataInput) fitted my requirement best, then I tried but the Unicode characters are not read correctly( messy codes,only '????????').
    would you please help me? thanks a lot :-)

    the class DataInputStream has the methods useful to me, but find there is no method to set the encoding format ,both in DataInputStream and argument types used in its constructor:
    FileInputStream fis=new FileInputStream(fileName);
    DataInputStream     dis=new DataInputStream(fis);
    String line =dis.readLine();               System.out.println(line);
    // only "????????" output as result :-(
    I wonder how to set the encoding type,or another class.
    if I do it this way,it works,but there is no methods such as "readFloat","readInt",etc, so it's not what I want :
    FileInputStream fis=new FileInputStream(fileName);
    InputStreamReader read=new InputStreamReader(fis,"GB2312");
    BufferedReader reader=new BufferedReader(read);
    DataInputStream     dis=new DataInputStream(fis);
    String line = reader.readLine();
    System.out.println(line);
    thank you for your repley!

  • Installation problem on Linux Slackware 7.1 (Oracle 8i)

    I try install Oracle 8i Enterprise in Linux Slackware 7.1 (kernel 2.2.16), but the runInstaller don't work.
    I read the installation manuals and make all steps, but the runInstaller don't work.
    I get this message:
    ./runInstaller
    The Java RunTime Environment was not found at bin/jre. Hence, the Oracle Universal Installer cannot be run.
    Please visit http://www.javasoft.com and install JRE version 1.1.8 or higher and try again.
    : No such file or directory
    I try --> ln -s /usr/local/jre118_v3 /usr/local/java
    and --> ln -s /usr/local/jre118_v3 /usr/local/jre
    and put in PATH --> /usr/local/jre/bin
    Nothing work's.
    Somebody can help me ?????
    Thank's ....

    Hello!
    I also tried to install Oracle 8.1.6.1 (after giving up the 8.0.5 installation due to segmentation faults all over..), it also failed.
    After trying to install Oracle 8.1.6.1 on RedHat 7.0 and it still crashed, i sent a mail to some guru that wrote the oracle-how-to document for redhat, here is what he replied.
    My guess is that this also applies to the newest slackware version, because i presume that slackware 7.0 also use the newest glibc libraries;
    Thanks for the feedback.
    Oracle 8.1.6 does not work under Red Hat >Linux 7. Yes, that's the problem
    that I mentioned in the doc--you get to 80% >and the DBCA crashes and the
    Oracle executables die.
    I've heard, but I haven't tried it myself, >that if you install the latest
    glibc errata (2.1.94) then the DBCA >completes but the Oracle executables
    still die. The DBCA problem was apparently >a Java issue that is fixed in
    the errata. But you're still out of luck >since the exes won't work.
    It might appear that this is a problem with >Red Hat Linux 7. But it appears
    that it is a problem with some assumptions >that Oracle made, assumptions
    that worked with glibc 2.1.3 (the C library >included with RHL 6.2) but which
    prove false with later glibc versions. As >other Linux distributions adopt
    the new glibc Oracle will fail to work on >them as well.
    The best advice I can give at this point is >to install and run Oracle on
    Red Hat Linux 6.2. Hopefully Oracle will >address the glibc issues with the
    8.1.7 release.
    ChrisI then installed Orace on RedHat 6.1 and it worked like a dream.
    Maybe you guys should try your luck on an earier version of slackware?
    Hope that helped...
    null

  • Filename problems file containing ' , o

    Ive been a creative owner now for many years and its issues with filenames has never really bothered me before, the problem im having is similar to some threads i've read on here but not quite the same so i've opened a new thread..
    When i sync my playlists from pc library to the zen vision (also happend on micro) some files were not transfered, these files were mainly files that had " ' "? in there names most other files do transfer perfectly and do get sorted into there own folders on the player (unlike most messages i've read where people are having problems with all files going into the same folder, i've never had that problem) the problem i have is i listen to alot of foreign music and they tend to use " ' " in there filenames alot - rather than rename over 2000 tracks containging this character i would like a solution to?synchronizing these types of tracks...
    My friend has a iPod (Boooo!! hehe) and the tracks do xfer to that but the creative is much better than the ipod so to avoid me having to buy an ipod just to resolve this issue somebody plz help!?thanks Paul....

    Hi
    Can you elaborate on what you did when you changed the
    security settings -> This was fixed by changing the security
    settings.
    I think too that my problem has something to do with security
    settings but I do not know for sure. I only know that my server
    side script is never reached when trying to upload from a MAC
    platform. I'm using a webhotel so I'm pretty limited in changing
    the settings.
    Any help will be greatly appreciated.
    Have a look at my case:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585&threadid=1311564

  • Oracle 10.2.0 DB installation problem on Linux RedHat 4

    When I install Oracle 10g release 2 database on my Linux RedHat 4 platform, I got the following error message (from action log file):
    INFO: /u01/app/oracle/product/10.2.0/db_1/bin/genorasdksh: Failed to link liborasdkbase.so.10.2
    INFO: make: *** [liborasdkbase] Error 1
    INFO: End output from spawned process.
    INFO: ----------------------------------
    INFO: Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target 'all_no_orcl ihsodbc' of makefile '/u01/app/oracle/product/10.2.0/db_1/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oracle/oraInventory/logs/installActions2006-10-05_11-17-26AM.log' for details.
    Exception Severity: 1
    Can someone help me to solve this problem?
    Your kind assistance will be highly appreciated!

    I didn't install the whole OS but just some packages that contain required rpms by Linux Redhad 4. I guess I accidently missed a package. In order to make sure that I have installed all necessary packages, I just re-installed the OS with care. Thanks for your advices.
    The Oracle DB installation was successful, however, after I installed the Oracle HTTP Server and then stop the HTTP Server, I can't start it again. The following is the error message.
    [oracle@linuxkm database]$ /u01/app/oracle/product/10.2.0/http_1/opmn/bin/opmnctl startproc ias-component=HTTP_Server
    opmnctl: starting opmn managed processes...
    ================================================================================
    opmn id=linuxkm:6200
    0 of 1 processes started.
    ias-instance id=standalone
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    HTTP_Server/HTTP_Server/HTTP_Server
    Error
    --> Process (pid=23484)
    failed to start a managed process after the maximum retry limit
    Log:
    /u01/app/oracle/product/10.2.0/http_1/opmn/logs/HTTP_Server~1
    Thank you very much for your help!

  • Oracle9i Install problem on Linux 7.2

    While running runInstall and trying to create a General Purpose DB the install
    of software goes OK. During the DBCA I get an error message at 46%
    ORA-03113: end of file on communications channel
    Any ideas ?

    What is the name of your installer file? have you downloaded the one for
    Linux OS?
    make sure you FTPed the installer file in binary mode.
    "matt sweeney" <[email protected]> wrote in message
    news:3d1c718d$[email protected]..
    Hi,
    I'm having a problem installing weblogic server 700 on a Dell 2500 Redhat7.2 linux box. The problem occurs during the extraction process. If I run
    the program as a regular user the error message is:
    >
    /tmp//fileJa7hab/wls7000_linux.jar bad CRC 250071c7 (should be 019fdd07)
    .100%
    ** Error during extraction, error code = 2.
    If I run the program as root, I get
    [root@med10-apache root]#
    ./weblogic700_linux.bin -mode=console
    Extracting0%..........................................................................
    ..........................100%
    /tmp/fileVe6y1r/jdk131_02/bin/i386/native_threads/java: error whileloading shared libraries: libstdc -libc6.1-1.so.2: cannot open shared
    object file: No such file or directory
    ** Error during execution, error code = 32512.
    Thanks in advance
    Matt

  • Siebel 8.1 SWSE installation problem on Linux

    Hi All,
    I'm trying to install Siebel 8.1 [21039] on Linux (Redhat 4 with update 5) . I have done my gateway server, enterprise server and siebel server successfully. Then I installed the OHS 10.1.3 and Siebel Web Server Extension as the web server, but at the end of SWSE install, it always give me error message during execute configuration step. The error message is:
    (May 6, 2008 10:43:50 AM), Setup.product.install, Utility, err, unable to launch: "ksh export LD_LIBRARY_PATH=/slot/ems1220/appmgr/siebel/sweapp/bin;PATH=${PATH}:.;/slot/ems1220/appmgr/istemp20862126171143/_bundledJRE_/bin/java -Dtemp.dir=/slot/ems1220/appmgr -cp /slot/ems1220/appmgr/siebel/sweapp/bin/setup.jar run -args LANG=ENU MODE=LIVE REPEAT=FALSE MODEL_FILE=/slot/ems1220/appmgr/siebel/sweapp/admin/swse_server.scm" error code: "255"(SBL-STJ-00152)
    (May 6, 2008 10:43:50 AM), Setup.product.install, Utility, msg1, Launching: ksh -c /slot/ems1220/appmgr/siebel/sweapp/install_script/install/CreateCfgEnvScript /slot/ems1220/appmgr/siebel/sweapp
    I also checked the sw_cfg_util.log under $sweapp/log directory, it shows some errors as below.
    GenericLog GenericError 1 0000000348203f65:0 2008-05-06 11:38:16 Executing step: RestartConfWebServer^M
    GenericLog GenericError 1 0000000348203f65:0 2008-05-06 11:40:16 (ossystem.cpp (96) err=851969 sys=0) SBL-OSD-00001: Internal: Function call timed out (0)^MGenericLog GenericError 1 0000000348203f65:0 2008-05-06 11:40:16 Step RestartConfWebServer: failed to run program %%SiebelRoot%%%%OSDirSeparator%%install_script%%OSDirSeparator%%install%%OSDirSeparator%%BounceWebServer with cmdline %%WebServerInstance%%^M
    GenericLog GenericError 1 0000000348203f65:0 2008-05-06 11:40:16 Failed during Execution, err: 851969^M
    It seems complaining about bouncing the web server, but I have no problem manually stop/start web server using opmnctl command
    -bash-3.00$ ./opmnctl stopall
    opmnctl: stopping opmn and all managed processes...
    -bash-3.00$ ./opmnctl startall
    opmnctl: starting opmn and all managed processes...
    -bash-3.00$ ps -ef|grep -i http
    app1220 18392 9286 0 13:42 pts/0 00:00:00 grep -i http
    app1220 28451 28431 7 13:42 ? 00:00:00 /slot/ems1220/appmgr/OHS10_1_3/ohs/bin/httpd.worker -d /slot/ems1220/appmgr/OHS10_1_3/ohs -DSSL
    app1220 28452 28451 0 13:42 ? 00:00:00 /slot/ems1220/appmgr/OHS10_1_3/ohs/bin/httpd.worker -d /slot/ems1220/appmgr/OHS10_1_3/ohs -DSSL
    app1220 28454 28451 0 13:42 ? 00:00:00 /slot/ems1220/appmgr/OHS10_1_3/ohs/bin/httpd.worker -d /slot/ems1220/appmgr/OHS10_1_3/ohs -DSSL
    app1220 28455 28451 2 13:42 ? 00:00:00 /slot/ems1220/appmgr/OHS10_1_3/ohs/bin/httpd.worker -d /slot/ems1220/appmgr/OHS10_1_3/ohs -DSSL
    app1220 28456 28451 2 13:42 ? 00:00:00 /slot/ems1220/appmgr/OHS10_1_3/ohs/bin/httpd.worker -d /slot/ems1220/appmgr/OHS10_1_3/ohs -DSSL
    Does anyone encounter similar problems before? Any suggestions on how to solve this problem?
    Thank you very much!
    Yun

    Looks like problem in OHS. I'm unable to locate ohs directory, instead i have opmn, i checked the http status and it's running fine ..
    $ ./opmnctl status
    Processes in Instance:
    --------------------------------------------------------------+---------
    ias-component | process-type | pid | status
    --------------------------------------------------------------+---------
    HTTP_Server | HTTP_Server | 1510 | Alive
    I think siebenv.sh/csh file is resposible for setting SIEBEL_ROOT veriable and this file is located under siebel server root directory, file cfgenv.sh is only setting library path.
    I can see couple of script in ../install_script/install which is being used for setting root and other env variables.
    Do we need to execute any of these scripts manually in order to set SIEBEL_ROOT and other env variables or i just need to export it manually with new path?
    What you did in your case?

Maybe you are looking for

  • How to make a field in adobe form noneditable

    how to make a field in adobe form noneditable. like info keys.. when this form is sent through worflow the receiver shudnt be able make changes to the field value...(I have a form, which has fields prefilled(like pernr employee name) but these fields

  • How do I permanently save changes to photos?

    The IOS 7 photo edit allows me to revert to the original photos after edits, which would be ok, if it didn't use the original when interfacing with other apps or when sending. For example, I cropped a lot of photos and then accessed the photos with m

  • Rule for outgoing mail?

    Hello, I am currently using Entourage 2008 for mail and I have the ability there to create rules for BOTH incoming and outgoing mail items. I have a friend that is only using MAIL in Leopard and he wishes to copy items from his sent items folder up t

  • Linksys WUSB54g router

    Over the Thanksgiving holiday, I gave my mother my old iMac 800 with an airport extreme card. I had previously installed a new hardrive, reinstalled Tiger (and updated through 10.4.8), AND I tested at home for over a month on an Airport network prior

  • How to view file location in columns

    If I remember correctly, I used to be able to select file location as a column heading an sort. This allowed me to quickly find any songs that may not be in normal library location. I don't see that column option anymore. I have itunes match so not s