JVM Encoding

Hello,
My problem has to do with JVM encoding.
I have the following error:
Error:th encoding of your Java VM is different from the OpenCms encoding
Java VM file encoding: Cp1253
OpenCms encoding: ISO-8859-1
How can I change the Java VM encoding to much OpenCms encoding?

I think with Tomcat you can set the environment variable CATALINA_OPTS, but how that's done further depends on the version of Windows you use...
One way that should work for all versions of Windows would be modifying catalina.bat in the bin directory and add this line to the top of the file:
set CATALINA_OPTS=-Dfile.encoding=ISO-8859-1

Similar Messages

  • How do we determine the JVM encoding of an R/3 system sending idoc to EAI?

    Hi experts,
    can you please help me find out the JVM encoding or our R/3 system. We are currently sending an IDOC via RFC connection to webmethods. the recieving side is not able to process special characters like the TradeMark (TM) superscript, and they are suspecting that the JVM encoding is not in sych. I have search already to find this out in the R/3 system but have not found any clue. I am a bit skeptical though, this is the first time i heard that JVM is being used on RFC.
    Thanks in Advance!
    Regards,
    Alden

    Ken, take a look at the value being mapped to the E1EDK01-BSART field.  Is it 'CRME' or 'INVO' or other?  This value controls the setting of the variable 'bsart_cremem' and subsequent debit/credit handling from there in the IDOC process code.

  • Change JVM encoding in OC4j

    Hi,
    I have deployed my application in oracleAS. but when I try to install it, It is impossible as the encoding of my application is not the same as JVM file encoding.Both should be UTF-8.
    How is it possible to change JVM encoding in an OC4j instance of OracleAS?
    Regards,
    Immy

    What do you mean by encoding of your application? what exactly is the error / problem you are getting?

  • JVM Encoding Problem

    Hi everyone:
    I have encountered a wried problem. I developed my program on Windows and my windows is Chinese, Then I packaged my program and run it under Linux., My Linux is English. Well the problem comes out, I found the output in linux os is mess code.
    How can I solve this problem,Thank very much.

    Hi everyone:
    I have encountered a wried problem. I developed
    my program on Windows and my windows is Chinese,
    Then I packaged my program and run it under Linux.,
    My Linux is English. Well the problem comes out, I
    found the output in linux os is mess code.Yeah. That says it all.
    How can I solve this problem,Thank very much.By providing a better problem descriptions. What's not showing correctly where?

  • Using Unicode in jsp

    Hello to all,
    I am developing marathi language application using jsp.
    For thsi thing i am using windows2000's built in facility to
    to enter data in marathi.
    I have got follwing problem
    1)i can't retive the data properly which is enter in marathi.
    2)since the page contains the marathi labels i have to save the page in utf-8 format only
    3) if i save the same page in ANSI format the data which is entered in marathi is retived properly
    4) In the comparision to both when i print the values on console before inserting in the database the page which is saved in UTF-8 format changes the value before entering into the database .
    I have tried number of things i have used
    1) <%@page contentType ....tag
    2) i also use the request.setCharacterEncoding(..) property but it is not working
    The problem remains the same for variety of backends since jsp itself is changing the values defore inserting into the database
    If anybody knows this solution please tell me bacause i am trying really hard to find the solution to this

    Hi ,
    Its an issue whats encoding your JVM is using . Make sure that your virtual machine encoding is UTF-8 , which can support multi-language . In you are using jsp file set response encoding to UTF-8 . As the following
    �     To check your default JVM encoding
    out.println(System.getProperty("file.encoding"));
    �     To reset JVM ecncoding to UTF-8
    Properties pi = System.getProperties ();
    pi.put ("file.encoding", "UTF-8"); // To add a new one
    System.setProperties(pi);
    If this can solve the issue let me know ..
    Regards
    Aysha
    �     To set response encoding to UTF-8
    response.setContentType("text/html; charset=UTF-8");

  • JDBC Drivers for Oracle9i

    Does anyone know if I need a different JDBC driver for Orcale9i besides classes111.zip???? If so... wher can I get it once Oracle website does not contains it?
    Thanks
    Siomara

    Thank you for this great answer. I think its given me an idea of what to do:
    So if I have you right, I could "trick" the database into treating my UTF-8 byte sequences as US7ASCII by putting the JVM in that encoding by default (ISO8859-1 or something) which should force the oracle think
    driver into that mode. Then when I go to do the insert into the DB, I get the bytes from the unicode string as UTF-8 and stick them into the database. The trick is to be able to pull out the UTF-8 bytes later as
    create java Strings that are UTF-8 encoded instead of relying on the automatic JVM encoding to do it for me.
    Sounds convoluted, right? Basically I'm trying to understand how this works so well with my old setup where I've been sticking UTF-8 in/out
    of the US7ASCII-formatted DB for months while being blissfully ignorant of it all. So when you say:
    If you have an invalid US7ASCII value in the database (a value 128-255), the conversion fails and you get garbage.I know that somehow my US7ASCII-based database table is storing the ordinal values 128-255 and spitting them back out correctly-- that is, there is some combination of a 1.2.2 VM that thinks its in ISO8859-1 encoding and the Oracle 8.1.7 thin jdbc driver on an US7ASCII database
    is doing the right thing from the perspective of getting data in and out.
    Thoughts?
    Thanks by the way again-- this is a great education
    AR

  • Urgent: problem in fmt:setLocle

    Hi there,
    I am using tomcat and trying to set locale for arabic language. moreover i want to take input in text box on web page from user in the language set by locale.
    I am not successfull no more. can any one guide me and correct my prblem.
    thanks,

    Hi ,
    Make sure that your virtual machine encoding is UTF-8 , which can support multi-language . In jsp file set response encoding to UTF-8 . Also make sure the form encoding is in UTF-8 to make sure user input treated as utf .
    �     To check your default JVM encoding
    out.println(System.getProperty("file.encoding"));
    �     To reset JVM ecncoding to UTF-8
    Properties pi = System.getProperties ();
    pi.put ("file.encoding", "UTF-8"); // To add a new one
    System.setProperties(pi);
    �     To set response encoding to UTF-8
    response.setContentType("text/html; charset=UTF-8");
    This is solved my problem with displaying arabic text .. if it helped you let me know ..
    Regards
    Aysha

  • How to set the file.encoding in jvm?

    I have some error in showing Chinese by used servlet,
    some one tole me that I can change the file.encoding in jvm to zh_CN, how can I do that?

    Add the java argument in your servlet engine.
    e.g
    java -Dfile.encoding=ISO8859-1
    garycafe

  • Encoding Problem from Webservice to Weblogic JVM 10.0 to Database

    Hi,
    I feel we have issue with encoding. We have a value "TESTTESTTEST -TESTÇAO TESTTEST", Clients inject a message with UTF-8 format with this value to our Weblogic servers and these jvm does some businness validation and inserts in to database. In DB the table column is 30 varchar and manually I am able to update the table with this value, but when weblogic is inserting this value we are getting error saying "value too large error to insert TESTTESTTEST -TESTÇAO TESTTEST"
    here the special char is changing, I have seen in Weblogic config file the encoding is set to UTF-8 format.
    please let me know if u have any idea and issue had similar and how it resolved..
    Is this problem is bcoz of jdbc drivers
    thanks.
    Edited by: Shaik on 16-May-2011 19:05

    Specify the encoding param in weblogic.xml.
    <weblogic-web-app>
    <jsp-descriptor>
    <jsp-param>
    <param-name>encoding</param-name>
    <param-value>UTF-8</param-value>
    </jsp-param>
    </jsp-descriptor>
    </weblogic-web-app>
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webapp/weblogic_xml.html

  • Unable to set JVM file encoding to UTF-8 on Windows

    Hi,
    I am running Tomcat on 1.5.0_05 JRE. I tried several things to set the jvm file encoding to UTF-8 instead of the default Cp1252, but no luck yet.
    The most intuitive approach seems to be to use a JVM option like
    "-Dfile.encoding=UTF-8"
    but this does not seem to have any effect. I have a WinXP pro m/c. I saw some bug reports which seemed to indicate that changing the JVM file encoding is not an available feature....is that correct? I would really appreciate any help/pointers on this. I will post the solution if I find something in the meantime.
    Thanks,
    Sriram

    I am fail to set it too. I think it is better to separate the file.encoding into two, one for accept local OS, the other for compile .java and .jsp and so on files. So we can change it and the bugs will be decrease!

  • Error trying to Change the default encoding for JVM

    I tried to change the default encoding for my JVM on a SUN but when i use the java -Dfile.encoding = ISO8859_1 command, i obtain the following error:
    Error occurred during initialization of VM
    java.lang.Error: java.io.UnsupportedEncodingException:
    Is there something wrong with my command or something that i have to take into account in order to try to change this property?
    I am using the j2sdk1.4.1_02 and now i have ISO646-US an i need to use ISO8859_1 on a Sun Solaris Box
    Thanks in Advance.

    try Dfile.encoding=ISO-8859-1
    (I saw that in http://forum.java.sun.com/thread.jsp?forum=37&thread=405778&tstart=15&trange=15)

  • How does JVM set file.encoding system property?

    The system property file.encoding is changed mysteriously, and we don't have a command line -D option. How does JRockit JVM get the default value for system properties such as file.encoding?
    I am running Jrockit 1.4.2_12.
    Thanks.

    I am running WLS 8.1SP6 on Linux using Jrockit 1.4.2-12. Over the weekend, I bounced WL server, and file.encoding was changed. It used to be ISO-8859-1. Now it is ANSI_X3.4-1968. Neither System Administrator nor WebLogic (farm) Administrator changed anything. Although I can force it with -D, I'd like to figure out what happened.
    Thanks.

  • Force jvm to use UTF8 encoding for properties?

    hi,
    my problem is i cannot display turkish characters that are retrieved from properties file [(key, value) pair].The value may contain turkish characters.
    reference : java toc
    "..When saving properties to a stream or loading them from a stream, the ISO 8859-1 character encoding is used. For characters that cannot be directly represented in this encoding, Unicode escapes are used; however, only a single 'u' character is allowed in an escape sequence..."
    instead of iso 8859-1 or directly representing non-conforming characters in the form of UTF8 encoding , i want to use UTF8 . i dont know is there a way to enforce the encoding to UTF8 .is it possible ?
    note : javac -encoding or java -Djava.encoding has no use..
    thanx in advance

    Hi,
    I did a lot of testing with the method of my last posting and ran into the following problem: each character, that is not available in iso 8859-1 is discarded and replaced by a '?'. So when e.g. loading arabic characters you get just "?????" as your property's value.
    The only possibility to enable other encodings of Property Files is to replace the encoding of the reader to one that is better suited. So I created a customized class, that inherits from java.util.Properties, and supports loading and storing to any encoding. This class I give here:
    * Properties.java
    * Created on 11. Juni 2003, 14:08
    package xy;
    * The <code>Properties</code> class represents a persistent set of
    * properties. The <code>Properties</code> can be saved to a stream
    * or loaded from a stream. Each key and its corresponding value in
    * the property list is a string.
    * <p>
    * A property list can contain another property list as its
    * "defaults"; this second property list is searched if
    * the property key is not found in the original property list.
    * <p>
    * Because <code>Properties</code> inherits from <code>Hashtable</code>, the
    * <code>put</code> and <code>putAll</code> methods can be applied to a
    * <code>Properties</code> object.  Their use is strongly discouraged as they
    * allow the caller to insert entries whose keys or values are not
    * <code>Strings</code>.  The <code>setProperty</code> method should be used
    * instead.  If the <code>store</code> or <code>save</code> method is called
    * on a "compromised" <code>Properties</code> object that contains a
    * non-<code>String</code> key or value, the call will fail.
    * <p>
    * <a name="encoding"></a>
    * When saving properties to a stream or loading them from a stream, the
    * ISO 8859-1 character encoding can be used. For characters that cannot be directly
    * represented in this encoding,
    * <a href="http://java.sun.com/docs/books/jls/html/3.doc.html#100850">Unicode escapes</a>
    * are used; however, only a single 'u' character is allowed in an escape sequence.
    * The native2ascii tool can be used to convert property files to and from
    * other character encodings.
    * </p>
    * <p>
    * This Properties class is an extension of the default properties class an supports the
    * loading and saving from and into other encodings than ISO 8859-1.
    * </p>
    * @see <a href="../../../tooldocs/solaris/native2ascii.html">native2ascii tool for Solaris</a>
    * @see <a href="../../../tooldocs/win32/native2ascii.html">native2ascii tool for Windows</a>
    * @author  Gregor Kappler, extended the class of JDK by
    * @author  Arthur van Hoff
    * @author  Michael McCloskey
    * @version 1.64, 06/26/00
    * @since   JDK1.0
    public class Properties extends java.util.Properties {
        private static final String keyValueSeparators = "=: \t\r\n\f";
        private static final String strictKeyValueSeparators = "=:";
        private static final String specialSaveChars = "=: \t\r\n\f#!";
        private static final String whiteSpaceChars = " \t\r\n\f";
        /** Creates a new instance of Properties */
        public Properties() {
         * Reads a property list (key and element pairs) from the input stream.
         * The stream is assumed to be in the specified character encoding.
         * <p>
         * Every property occupies one line of the input stream. Each line
         * is terminated by a line terminator (<code>\n</code> or <code>\r</code>
         * or <code>\r\n</code>). Lines from the input stream are processed until
         * end of file is reached on the input stream.
         * <p>
         * A line that contains only whitespace or whose first non-whitespace
         * character is an ASCII <code>#</code> or <code>!</code> is ignored
         * (thus, <code>#</code> or <code>!</code> indicate comment lines).
         * <p>
         * Every line other than a blank line or a comment line describes one
         * property to be added to the table (except that if a line ends with \,
         * then the following line, if it exists, is treated as a continuation
         * line, as described
         * below). The key consists of all the characters in the line starting
         * with the first non-whitespace character and up to, but not including,
         * the first ASCII <code>=</code>, <code>:</code>, or whitespace
         * character. All of the key termination characters may be included in
         * the key by preceding them with a \.
         * Any whitespace after the key is skipped; if the first non-whitespace
         * character after the key is <code>=</code> or <code>:</code>, then it
         * is ignored and any whitespace characters after it are also skipped.
         * All remaining characters on the line become part of the associated
         * element string. Within the element string, the ASCII
         * escape sequences <code>\t</code>, <code>\n</code>,
         * <code>\r</code>, <code>\\</code>, <code>\"</code>, <code>\'</code>,
         * <code>\  </code>  (a backslash and a space)
         * are recognized and converted to single
         * characters. Moreover, if the last character on the line is
         * <code>\</code>, then the next line is treated as a continuation of the
         * current line; the <code>\</code> and line terminator are simply
         * discarded, and any leading whitespace characters on the continuation
         * line are also discarded and are not part of the element string. <br>
         * Note:
         * <code>\u</code><i>xxxx</i> is not supported if the encoding is not
         * ISO 8859-1!
         * <p>
         * As an example, each of the following four lines specifies the key
         * <code>"Truth"</code> and the associated element value
         * <code>"Beauty"</code>:
         * <p>
         * <pre>
         * Truth = Beauty
         *     Truth:Beauty
         * Truth               :Beauty
         * </pre>
         * As another example, the following three lines specify a single
         * property:
         * <p>
         * <pre>
         * fruits                    apple, banana, pear, \
         *                                  cantaloupe, watermelon, \
         *                                  kiwi, mango
         * </pre>
         * The key is <code>"fruits"</code> and the associated element is:
         * <p>
         * <pre>"apple, banana, pear, cantaloupe, watermelon, kiwi, mango"</pre>
         * Note that a space appears before each <code>\</code> so that a space
         * will appear after each comma in the final result; the <code>\</code>,
         * line terminator, and leading whitespace on the continuation line are
         * merely discarded and are <i>not</i> replaced by one or more other
         * characters.
         * <p>
         * As a third example, the line:
         * <p>
         * <pre>cheeses
         * </pre>
         * specifies that the key is <code>"cheeses"</code> and the associated
         * element is the empty string.<p>
         * @param      inStream   the input stream.
         * @exception  IOException  if an error occurred when reading from the
         *               input stream.
        public synchronized void load(java.io.InputStream inStream, java.nio.charset.Charset encoding) throws java.io.IOException {
            if (encoding.equals (encoding.forName("8859_1"))) {
                super.load (inStream);
                return;
            java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(inStream, encoding));
         while (true) {
                // Get next line
                String line = in.readLine();
                if (line == null)
                    return;
                if (line.length() > 0) {
                    // Continue lines that end in slashes if they are not comments
                    char firstChar = line.charAt(0);
                    if ((firstChar != '#') && (firstChar != '!')) {
                        while (continueLine(line)) {
                            String nextLine = in.readLine();
                            if(nextLine == null)
                                nextLine = "";
                            String loppedLine = line.substring(0, line.length()-1);
                            // Advance beyond whitespace on new line
                            int startIndex=0;
                            for(startIndex=0; startIndex<nextLine.length(); startIndex++)
                                if (whiteSpaceChars.indexOf(nextLine.charAt(startIndex)) == -1)
                                    break;
                            nextLine = nextLine.substring(startIndex,nextLine.length());
                            line = new String(loppedLine+nextLine);
                        // Find start of key
                        int len = line.length();
                        int keyStart;
                        for(keyStart=0; keyStart<len; keyStart++) {
                            if(whiteSpaceChars.indexOf(line.charAt(keyStart)) == -1)
                                break;
                        // Blank lines are ignored
                        if (keyStart == len)
                            continue;
                        // Find separation between key and value
                        int separatorIndex;
                        for(separatorIndex=keyStart; separatorIndex<len; separatorIndex++) {
                            char currentChar = line.charAt(separatorIndex);
                            if (currentChar == '\\')
                                separatorIndex++;
                            else if(keyValueSeparators.indexOf(currentChar) != -1)
                                break;
                        // Skip over whitespace after key if any
                        int valueIndex;
                        for (valueIndex=separatorIndex; valueIndex<len; valueIndex++)
                            if (whiteSpaceChars.indexOf(line.charAt(valueIndex)) == -1)
                                break;
                        // Skip over one non whitespace key value separators if any
                        if (valueIndex < len)
                            if (strictKeyValueSeparators.indexOf(line.charAt(valueIndex)) != -1)
                                valueIndex++;
                        // Skip over white space after other separators if any
                        while (valueIndex < len) {
                            if (whiteSpaceChars.indexOf(line.charAt(valueIndex)) == -1)
                                break;
                            valueIndex++;
                        String key = line.substring(keyStart, separatorIndex);
                        String value = (separatorIndex < len) ? line.substring(valueIndex, len) : "";
                        // Convert then store key and value
                        key = loadConvert(key);
                        value = loadConvert(value);
                        put(key, value);
         * Writes this property list (key and element pairs) in this
         * <code>Properties</code> table to the output stream in a format suitable
         * for loading into a <code>Properties</code> table using the
         * <code>load</code> method.
         * The stream is written using the ISO 8859-1 character encoding.
         * <p>
         * Properties from the defaults table of this <code>Properties</code>
         * table (if any) are <i>not</i> written out by this method.
         * <p>
         * If the header argument is not null, then an ASCII <code>#</code>
         * character, the header string, and a line separator are first written
         * to the output stream. Thus, the <code>header</code> can serve as an
         * identifying comment.
         * <p>
         * Next, a comment line is always written, consisting of an ASCII
         * <code>#</code> character, the current date and time (as if produced
         * by the <code>toString</code> method of <code>Date</code> for the
         * current time), and a line separator as generated by the Writer.
         * <p>
         * Then every entry in this <code>Properties</code> table is written out,
         * one per line. For each entry the key string is written, then an ASCII
         * <code>=</code>, then the associated element string. Each character of
         * the element string is examined to see whether it should be rendered as
         * an escape sequence. The ASCII characters <code>\</code>, tab, newline,
         * and carriage return are written as <code>\\</code>, <code>\t</code>,
         * <code>\n</code>, and <code>\r</code>, respectively. Characters less
         * than <code>\u0020</code> and characters greater than
         * <code>\u007E</code> are written as <code>\u</code><i>xxxx</i> for
         * the appropriate hexadecimal value <i>xxxx</i>. Leading space characters,
         * but not embedded or trailing space characters, are written with a
         * preceding <code>\</code>. The key and value characters <code>#</code>,
         * <code>!</code>, <code>=</code>, and <code>:</code> are written with a
         * preceding slash to ensure that they are properly loaded.
         * <p>
         * After the entries have been written, the output stream is flushed.  The
         * output stream remains open after this method returns.
         * @param   out      an output stream.
         * @param   header   a description of the property list.
         * @exception  IOException if writing this property list to the specified
         *             output stream throws an <tt>IOException</tt>.
         * @exception  ClassCastException  if this <code>Properties</code> object
         *             contains any keys or values that are not <code>Strings</code>.
         * @exception  NullPointerException  if <code>out</code> is null.
         * @since 1.2
        public synchronized void store(java.io.OutputStream out, java.nio.charset.Charset encoding, String header)
        throws java.io.IOException
            if (encoding.equals (encoding.forName("8859_1"))) {
                super.store (out,header);
                return;
            java.io.BufferedWriter awriter;
            awriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(out,encoding));
            if (header != null)
                writeln(awriter, "#" + header);
            writeln(awriter, "#" + new java.util.Date().toString());
            for (java.util.Enumeration e = keys(); e.hasMoreElements();) {
                String key = (String)e.nextElement();
                String val = (String)get(key);
                key = saveConvert(key, true);
             /* No need to escape embedded and trailing spaces for value, hence
              * pass false to flag.
                val = saveConvert(val, false);
                writeln(awriter, key + "=" + val);
            awriter.flush();
         * changes special saved chars to their original forms
        private String loadConvert (String theString) {
            char aChar;
            int len = theString.length();
            StringBuffer outBuffer = new StringBuffer(len);
            for(int x=0; x<len; ) {
                aChar = theString.charAt(x++);
                if (aChar == '\\') {
                    aChar = theString.charAt(x++);
                    if (aChar == 't') aChar = '\t';
                    else if (aChar == 'r') aChar = '\r';
                    else if (aChar == 'n') aChar = '\n';
                    else if (aChar == 'f') aChar = '\f';
                    else if (aChar == '\\') aChar = '\\';
                    else if (aChar == '\"') aChar = '\"';
                    else if (aChar == '\'') aChar = '\'';
                    else if (aChar == ' ') aChar = ' ';
                    else
                        throw new IllegalArgumentException ("error in Encoding: '\\"+aChar+" not supported");
                    outBuffer.append(aChar);
                } else
                    outBuffer.append(aChar);
            return outBuffer.toString();
         * writes out any of the characters in specialSaveChars
         * with a preceding slash
        private String saveConvert(String theString, boolean escapeSpace) {
            int len = theString.length();
            StringBuffer outBuffer = new StringBuffer(len*2);
            for(int x=0; x<len; x++) {
                char aChar = theString.charAt(x);
                switch(aChar) {
              case ' ':
                  if (x == 0 || escapeSpace)
                   outBuffer.append('\\');
                  outBuffer.append(' ');
                  break;
                    case '\\':outBuffer.append('\\'); outBuffer.append('\\');
                              break;
                    case '\t':outBuffer.append('\\'); outBuffer.append('t');
                              break;
                    case '\n':outBuffer.append('\\'); outBuffer.append('n');
                              break;
                    case '\r':outBuffer.append('\\'); outBuffer.append('r');
                              break;
                    case '\f':outBuffer.append('\\'); outBuffer.append('f');
                              break;
                    default:
    //                    if ((aChar < 0x0020) || (aChar > 0x007e)) {
    //                        outBuffer.append(aChar);
    //                    } else {
                            if (specialSaveChars.indexOf(aChar) != -1)
                                outBuffer.append('\\');
                            outBuffer.append(aChar);
            return outBuffer.toString();
         * Returns true if the given line is a line that must
         * be appended to the next line
        private boolean continueLine (String line) {
            int slashCount = 0;
            int index = line.length() - 1;
            while((index >= 0) && (line.charAt(index--) == '\\'))
                slashCount++;
            return (slashCount % 2 == 1);
        private static void writeln(java.io.BufferedWriter bw, String s) throws java.io.IOException {
            bw.write(s);
            bw.newLine();
    }I hope you can use this class for your needs as I can. For me it supports any characters so far. If you find some bugs on it, let me know
    Regards,
    Gregor Kappler

  • Changing the default char encoding of the current JVM ?!

    Is there any way that could be used to alter the default character encoding of the Java Virtual Machine at the start of a Java application?

    This seems a little dangerous...considering that file i/o etc depend on correct charset encodings for filenames, etc.
    However, perhaps you could try setting the file.encoding property on the command line:
    java -Dfile.encoding=Big5 YourApplication
    Regards,
    John O'Conner

  • Regarding Sun Java System Application Server Issue with JVM

    Regarding Sun Java System Application Server Issue with JVM
    Hi
    I have installed SJSAS9.1 on solaris system. I m trying to deploy war file which i compiled in windows enviorment by jdk1.5.0_05. Every time i got the following error :
    type Exception report
    message
    descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
    PWC6199: Generated servlet error:
    [javac] javac: invalid target release: 1.5
    [javac] Usage: javac
    [javac] where possible options include:
    [javac] -g Generate all debugging info
    [javac] -g:none Generate no debugging info
    [javac] -g:{lines,vars,source} Generate only some debugging info
    [javac] -nowarn Generate no warnings
    [javac] -verbose Output messages about what the compiler is doing
    [javac] -deprecation Output source locations where deprecated APIs are used
    [javac] -classpath Specify where to find user class files
    [javac] -sourcepath Specify where to find input source files
    [javac] -bootclasspath Override location of bootstrap class files
    [javac] -extdirs Override location of installed extensions
    [javac] -d Specify where to place generated class files
    [javac] -encoding Specify character encoding used by source files
    [javac] -source Provide source compatibility with specified release
    [javac] -target Generate class files for specific VM version
    [javac] -help Print a synopsis of standard options
    note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
    I have cheked jvm version on both system the only difference is :
    Solaris points to jdk 1.5.0_09
    Windows point to jdk1.5.0_05
    Even i tried to run blank jsp also but again i got the same error.
    Can any help me to sort out the problem or give me any idea so i can do something by my own.
    Thanks in Advance
    Gagan

    Do you have ANT installed and available?
    Thanks,
    Kedar

Maybe you are looking for

  • Watchdog reset in WLC 5508 7.4.100.60

    Hi , Last week we found that primary WLC was hanged so we need to reboot it. As per logs: Last Reset....................................... Watchdog reset We are using 7.4.100.60. Any idea what could be the root cause. Regards,

  • Iphone Stuck on USB Plug-- Itunes icon. Help!

    I need help. My Iphone is stuck on the USB Plug-->Itunes icon, i can turn it off, but when i turn it back on it shows the apple logo, and then goes straight to the plug in to iTunes icon. This happened after i set to install the newest updated softwa

  • Could not access iDA

    People, I created a new subdmain. Users of this subdomain can't access iDA from webmail ("The page cannot be displayed . There is a problem with the page you are trying to reach and it cannot be displayed."). Whereas, the users belonging to the upper

  • POWER MAC G5 WON'T BOOT UP AFTER GRAY SCREEN!!!!!!!

    My wife was on my G5 one day and then came and told me it was messed up. When i turned my G5 on, the fans came on and it appeared that it was booting up. The computer got to the gray screen, had the little working icon under the apple logo came on, t

  • Recovery Media Creator Installation error

    I have a P745-S4320 that somehow does not have the Recovery Media Creator Installed. I have downloaded it from the Toshiba website and when I try to run the installation, it pops an error message saying: Feature: StartMenuShortcuts Cmoponent: StartMe