Depressed Solaris LWP priorities in J2SE 1.4.2, but not in 1.4.1

I have noticed that with J2SE 1.4.2 on Solaris 8 many of the Solaris LWPs are fixed to run at a lower priority than other LWPs, TS priority level 28. This was not true in J2SE 1.4.1, that all LWP prorities float on their own.
I see that when I add additional application threads to the java process, the corresponding LWPs do not have the priority limits, so I assume that these controlled/lower priority LWPs has to do with garbage collection. (The parallel GC works better on 1.4.2). But it also appears that lower-level TCP connections are in the priority 28 LWP pool as well.
Is there any requirement that the priority of these LWP remain depressed relative to other LWPs within the Solaris 8 Java process?
The 1.4.2 release notes say nothing about this change from 1.4.1. This priority control may be fine when tested in isoaltion, but it can cause performance problems when on a system where the priorities of other processes are controlled. I'd lke ot get more info so that on this so I can properly manage java as part of a greater application, and possibly put our own controls on these Solaris LWPs.
Thanks!

I also posted this in the Java 2 Software Development Kit (J2SE SDK) Forum....
I am not sure what the right forum for my questions are.
Eric

Similar Messages

  • Error in Solaris but not in Windows

    I have an application that is reading from a database, cleaning the results of all html tags, and writing to a new database. It all works fine on a Windows machine with jdk1.3. However, it throws the error I have attached to the message on the Solaris box. It has to do with the html cleaning. When I take it out, it works on both machines. Why though. Here is the code for the html cleaning and the error: 5 Dukes to whoever can help.
    Code:
          * Removes the html formatting for a string and stores it in a file
          * @return java.lang.String
          * @param htmlText java.lang.String
          * @param outputText java.lang.String
         public static String removeHtml(String htmlText) throws IOException     
              String returnValue = "";
              EditorKit kit = new HTMLEditorKit();          
              Document doc = kit.createDefaultDocument();          
              // The Document class does not yet handle charset's properly.          
              doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);          
              try          
                   // Create a reader on the HTML content.     
                   Reader rd = new StringReader(htmlText);
                   // Parse the HTML.               
                   kit.read(rd, doc, 0);               
                   //Write the cleaned text to file
                   //writeOutputFile(doc, outputFile);     
                   //Set returnValue to cleaned text
                   returnValue = doc.getText(0, doc.getLength()).toString();
              catch (Exception e)          
                   e.printStackTrace();          
              return returnValue;
         }Error:
    java.lang.NoClassDefFoundError: sun/awt/motif/MToolkit
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:142)
    at java.awt.Toolkit$2.run(Toolkit.java:533)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:524)
    at java.awt.Toolkit.getEventQueue(Toolkit.java:1179)
    at java.awt.EventQueue.isDispatchThread(EventQueue.java:534)
    at javax.swing.text.StyleContext.reclaim(StyleContext.java(Compiled Code))
    at javax.swing.text.StyleContext.reclaim(StyleContext.java(Compiled Code))
    at javax.swing.text.AbstractDocument$AbstractElement.finalize(AbstractDocument.java(Compiled Code))
    at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
    at java.lang.ref.Finalizer.runFinalizer(Finalizer.java(Compiled Code))
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java(Compiled C

    Here is the code where I am calling the html cleaner method. This works fine in a Windows env but fails in Solaris. If I comment out the call to removeHtml(value).trim it will work. It will even work if I make a different call removeHtml("string to strip") from the main method. Why would it work in one place but not the other in Solaris, and why would it always work in Windows? Does anybody have any ideas?
               while (rs.next ()) {
                    for (int i = 1; i <= columnCount; ++i) {
                        String value = rs.getString (i);
                        if (rs.wasNull ()){
                            value = "<null>";
                        String columnName = rsmd.getColumnName(i).trim();
                        if(clean&&(columnName.equalsIgnoreCase("DESC")
                                  ||columnName.equalsIgnoreCase("HEADER")
                                  ||columnName.equalsIgnoreCase("TEXT")))
                             //Clean the text
                             //value = removeHtml(value).trim(); //remove html markup
                             value = value.replace('\n', ','); //remove new lines
                             value = value.replace('\r', ','); //remove carriage returns
                             value = replaceString(value, "&mdash", "-"); //remove dash markup
                           outputBuffer.append (value.trim());                      
                        outputBuffer.append ("||");
                    outputBuffer.append ("{{NEWLINE}}");
                }

  • XSL works on WinNT but not Solaris

    I've got an XSL doc that works great on WinNT with oraxsl but not after I port it to Solaris 5.8 with JDK1.3.1. Why should they perform differently? Is this a config problem on the solaris?
    Solaris is using Oracle XDK 9.0.1.2.0, WinNT is using Oraxle XDK 9.2.0.2.0. Is this the problem? I ftp'd the file from winnt to solaris using ascii mode so it wouldn't garble a byte.
    The error it gets on Solaris is:
    $ java oracle.xml.parser.v2.oraxsl XCBLASN2.xml TransformShipment.xsl OAGASN2.xml
    oracle.xml.parser.v2.XSLException: XSL-1008: Namespace prefix 'date' used but not declared.
    Error occurred while processing XCBLASN2.xml: XSL-1008: Namespace prefix 'date' used but not declared.
    Here is a sample from the XSL doc:
    <?xml version="1.0"?>
    <!-- Stylesheet containing the reusable templates for xCBL to OAGI transformations -->
    <!--xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:date="http://www.jclark.com/xt/java/java.util.Date" exclude-result-prefixes="date"-->
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:date="http://www.oracle.com/XSL/Transform/java/java.util.Date" exclude-result-prefixes="date"><!--011220ak different xslns for XT or oracle-->...
    <xsl:call-template name="createCurrentDATETIME"/>
    <xsl:template name="createCurrentDATETIME">
    <xsl:variable name="today" select="date:new()"/>
    <xsl:variable name="len" select="string-length(normalize-space(date:toString($today)))"/>
    <xsl:if test="$len &gt; 0">
    <xsl:element name="DATETIME">
    <xsl:attribute name="qualifier">
    <xsl:value-of select="'CREATION'"/>
    </xsl:attribute>
    <xsl:element name="YEAR">
    <xsl:value-of select="substring(date:toString($today),$len - 4,$len)"/>
    </xsl:element>
    <xsl:element name="MONTH">
    <xsl:call-template name="FindMonth">
    <xsl:with-param name="month" select="substring(date:toString($today),5,3)"/>
    </xsl:call-template>
    </xsl:element>
    <xsl:element name="DAY">
    <xsl:value-of select="substring(date:toString($today),9,2)"/>
    </xsl:element>
    <xsl:element name="HOUR">
    <xsl:value-of select="substring(date:toString($today),12,2)"/>
    </xsl:element>
    <xsl:element name="MINUTE">
    <xsl:variable name="var" select="substring(date:toString($today),15,2)"/>
    <xsl:call-template name="Validate">
    <xsl:with-param name="Val" select="$var"/>
    </xsl:call-template>
    </xsl:element>
    <xsl:element name="SECOND">
    <xsl:variable name="var" select="substring(date:toString($today),18,2)"/>
    <xsl:call-template name="Validate">
    <xsl:with-param name="Val" select="$var"/>
    </xsl:call-template>
    </xsl:element>
    <xsl:element name="SUBSECOND">0000</xsl:element>
    <xsl:element name="TIMEZONE">
    <xsl:value-of select="'-500'"/>
    </xsl:element>
    </xsl:element>
    </xsl:if>
    </xsl:template>
    </xsl:stylesheet>

    I've got an XSL doc that works great on WinNT with oraxsl but not after I port it to Solaris 5.8 with JDK1.3.1. Why should they perform differently? Is this a config problem on the solaris?
    Solaris is using Oracle XDK 9.0.1.2.0, WinNT is using Oraxle XDK 9.2.0.2.0. Is this the problem? I ftp'd the file from winnt to solaris using ascii mode so it wouldn't garble a byte.
    The error it gets on Solaris is:
    $ java oracle.xml.parser.v2.oraxsl XCBLASN2.xml TransformShipment.xsl OAGASN2.xml
    oracle.xml.parser.v2.XSLException: XSL-1008: Namespace prefix 'date' used but not declared.
    Error occurred while processing XCBLASN2.xml: XSL-1008: Namespace prefix 'date' used but not declared.
    Here is a sample from the XSL doc:
    <?xml version="1.0"?>
    <!-- Stylesheet containing the reusable templates for xCBL to OAGI transformations -->
    <!--xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:date="http://www.jclark.com/xt/java/java.util.Date" exclude-result-prefixes="date"-->
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:date="http://www.oracle.com/XSL/Transform/java/java.util.Date" exclude-result-prefixes="date"><!--011220ak different xslns for XT or oracle-->...
    <xsl:call-template name="createCurrentDATETIME"/>
    <xsl:template name="createCurrentDATETIME">
    <xsl:variable name="today" select="date:new()"/>
    <xsl:variable name="len" select="string-length(normalize-space(date:toString($today)))"/>
    <xsl:if test="$len &gt; 0">
    <xsl:element name="DATETIME">
    <xsl:attribute name="qualifier">
    <xsl:value-of select="'CREATION'"/>
    </xsl:attribute>
    <xsl:element name="YEAR">
    <xsl:value-of select="substring(date:toString($today),$len - 4,$len)"/>
    </xsl:element>
    <xsl:element name="MONTH">
    <xsl:call-template name="FindMonth">
    <xsl:with-param name="month" select="substring(date:toString($today),5,3)"/>
    </xsl:call-template>
    </xsl:element>
    <xsl:element name="DAY">
    <xsl:value-of select="substring(date:toString($today),9,2)"/>
    </xsl:element>
    <xsl:element name="HOUR">
    <xsl:value-of select="substring(date:toString($today),12,2)"/>
    </xsl:element>
    <xsl:element name="MINUTE">
    <xsl:variable name="var" select="substring(date:toString($today),15,2)"/>
    <xsl:call-template name="Validate">
    <xsl:with-param name="Val" select="$var"/>
    </xsl:call-template>
    </xsl:element>
    <xsl:element name="SECOND">
    <xsl:variable name="var" select="substring(date:toString($today),18,2)"/>
    <xsl:call-template name="Validate">
    <xsl:with-param name="Val" select="$var"/>
    </xsl:call-template>
    </xsl:element>
    <xsl:element name="SUBSECOND">0000</xsl:element>
    <xsl:element name="TIMEZONE">
    <xsl:value-of select="'-500'"/>
    </xsl:element>
    </xsl:element>
    </xsl:if>
    </xsl:template>
    </xsl:stylesheet>

  • 10.2.0.3 on solaris 9(Sparc 64 bit), patch 5257399 needed or not?

    We are going to install oracle 10.2.0.3 on a Solaris 9 (Sparc 64 bit) box. According to Note 406472.1, Mandatory Patch 5752399 is needed for 10.2.0.3 on Solaris 64-bit and Filesystems Managed By Veritas or Solstice Disk Suite software. Our system is not on SAN, only local disks, so I'm sure we don't use veritas file system. But I'm not sure if we still use Solstice Disk Suite software. Sun said that in Solaris 9, Solstice Disk Suite is renamed to Solaris volume manager and it is bundled in Solaris 9. Does this mean Solaris 9 is using Solstice Disk Suite by default and we have to apply patch 5752399?
    How can I verify which file manager we are using? (Our sys adm is not quite sure).
    If we apply the patch no matter we really need it or not, what impact to the system?
    Please advise. Thanks!

    I found by issue "mount -v" that our disk slices are
    UFS type. So we don't need apply patch 5257399,
    right? Please confirm. Thanks!!!For your information, you are asking the user community to confirm, not Oracle. Some (many?) of us are not employed by Oracle.
    Therefore, the only answers you can get are from 'friends'. Nothing would be official and Oracle (and Oracle Support) would not be legally responsible.
    Your safest bet would be to escalate the request wityh Oracle Support.

  • Solaris 10 with Adaptec 7902 with 36G or 73G, not correctly find disk space

    I'm trying to install Solaris 10 x86 on an server on TYAN platform k8sr. Its got an Adaptec 7902 SCSI controller, without RAID.
    It used 36G drive - Solaris interface thinks there is only a 9G drive in the system!
    I change drive on 72G drive - Solaris thinks there is only a 18G drive!!!! After update, so on!!!!
    Solaris 10 Express find full space drive, but not boot from this drive, Solaris 9 find full space drive, but not load to this drive. I'm test this drive on Windows, and FreeBSD - it's good
    Please, help me,
    Thanks

    Does the Solaris 10 sd driver ITU floppy (patch 119376-02) fix this
    problem?
    http://sunsolve.sun.com/search/document.do?assetkey=1-21-119376-02-1

  • Trying to lock out Solaris 11 non-root users but not working-

    Hi,
    We are trying to lock out non-root user after 5 unsuccessful login attempts by editing the policy.conf file but it's not working..It's working in the global zone but not in the non-global zones. Is there something else we need to do?
    This is Solaris 11 with Solaris 11 NGZs.
    kind regards

    It works exactly the same way in the global and non global zone cases. This code is 100% userland so it doesn't mater if it is running
    in a global or non global zone.
    Note that you do need to configure policy.conf in both the global and non global zone.
    Are both configured similarly with respect to nameservices ?
    Currently we only support lock_after_retries for the local files nameservice.

  • ORA-22835: Buffer too small for CLOB to CHAR  on Solaris but not Windows

    Hi,
    I get the following error on Solaris but not Windows equivalent 10.2 installations
    ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 4575, maximum: 4000)
    ORA-06512: at line 65
    the code causing the problem is:
    SELECT A.TABLE_NAME, A.DEFAULT_DIRECTORY_NAME, B.LOCATION,
    CASE
    WHEN INSTR(A.ACCESS_PARAMETERS,'RECORDS FIXED')<>0 THEN
    SUBSTR(A.ACCESS_PARAMETERS,INSTR(A.ACCESS_PARAMETERS,'RECORDS FIXED')+14,3)
    ELSE NULL
    END RSZ FROM USER_EXTERNAL_TABLES A, USER_EXTERNAL_LOCATIONS B
    WHERE A.TABLE_NAME = B.TABLE_NAME(+);
    the entire code being executed is:
    DECLARE
    EX BOOLEAN;
    CNT NUMBER;
    SQL1 VARCHAR2(4000);
    FLEN NUMBER;
    BSIZE NUMBER;
    TABNAME VARCHAR2(4000);
    DEFDIR VARCHAR2(4000);
    RSZ VARCHAR2(4000);
    ECODE NUMBER(38);
    ERRMSG VARCHAR2(4000);
    CURSOR C1 IS
    SELECT A.TABLE_NAME, A.DEFAULT_DIRECTORY_NAME, B.LOCATION,
    CASE
    WHEN INSTR(A.ACCESS_PARAMETERS,'RECORDS FIXED')<>0 THEN
    SUBSTR(A.ACCESS_PARAMETERS,INSTR(A.ACCESS_PARAMETERS,'RECORDS FIXED')+14,3)
    ELSE NULL
    END RSZ FROM USER_EXTERNAL_TABLES A, USER_EXTERNAL_LOCATIONS B
    WHERE A.TABLE_NAME = B.TABLE_NAME(+);
    TYPE C1_TYPE IS TABLE OF C1%ROWTYPE;
    REC1 C1_TYPE;
    BEGIN
    OPEN C1;
    FETCH C1 BULK COLLECT INTO REC1;
    FOR I IN REC1.FIRST .. REC1.LAST
    LOOP
    UTL_FILE.FGETATTR(NVL(REC1(I).DEFAULT_DIRECTORY_NAME,'CARDSLOAD'),
    REC1(I).LOCATION, EX, FLEN, BSIZE);
    IF EX THEN
    IF INSTR(TO_CHAR(REC1(I).RSZ),'\.')<>0 THEN
         DBMS_OUTPUT.PUT_LINE('INVALID RECORDSIZE OR CORRUPTED FILE');
         END IF;
         DBMS_OUTPUT.PUT_LINE('Table Name: ' || TO_CHAR(REC1(I).TABLE_NAME));     
    DBMS_OUTPUT.PUT_LINE('File Exists '||REC1(I).LOCATION);
         DBMS_OUTPUT.PUT_LINE('File Length: ' || TO_CHAR(FLEN));
         DBMS_OUTPUT.PUT_LINE('Record Size: ' || TO_CHAR(REC1(I).RSZ));
    DBMS_OUTPUT.PUT_LINE('Block Size: ' || TO_CHAR(BSIZE));
         DBMS_OUTPUT.PUT_LINE('# RECORDS: ' || FLEN/TO_NUMBER(REC1(I).RSZ));
         BEGIN
         CNT:='';
         SQL1:='SELECT COUNT(*) FROM '|| REC1(I).TABLE_NAME;
         EXECUTE IMMEDIATE SQL1 INTO CNT;
    DBMS_OUTPUT.PUT_LINE('SELECT COUNT FOR: ' || REC1(I).TABLE_NAME||' = '||CNT);
         EXCEPTION
         WHEN OTHERS THEN
         DBMS_OUTPUT.PUT_LINE('SELECT COUNT FAILED FOR: ' || REC1(I).TABLE_NAME);
         ECODE := SQLCODE;
    ERRMSG := SQLERRM;
    DBMS_OUTPUT.PUT_LINE(ECODE||' '||ERRMSG);
         END;
    ELSE
    DBMS_OUTPUT.PUT_LINE(REC1(I).TABLE_NAME||' '||REC1(I).LOCATION||' File Does Not Exist');
    END IF;
         DBMS_OUTPUT.PUT_LINE('-----------------------------------------------------');
    END LOOP;
    CLOSE C1;
    EXCEPTION
    WHEN OTHERS THEN RAISE;
    END;
    Any ideas why Solaris but not Windows would have this problem?
    Thanks,
    Victor

    Check out Bug 4715104 - ORA-22835 / truncated data from USER/ALL/DBA_EXTERNAL_TABLES

  • Why does malloc operation fails on solaris 9 x86 but not on solaris 10 x86

    Hi:
    - We are building an application written in C
    on x86 Solaris 9, x86 Solaris 10, and sparc Solaris 9.
    - During testing, we noticed that
    when the application is built on x86 Solaris 9, it dies silently;
    when the application is built on x86 Solaris 10, it runs perfectly fine;
    when the application is built on sparc Solaris 9, it runs perfectly fine;
    when the application is built on cygwin, it runs perfectly fine.
    - The statement which causes the application to die silently is:
    /* Allocate space for procedure arguments. */
    if (( myArgv = (char **) malloc(( argc+1) * sizeof(char *))) == NULL)
    - My question is: how should I change our x86 Solaris 9 nightly build
    to build the application properly ?
    - Our build systems are:
    sparc Solaris 9
    ===========
    SunOS host1 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-5_10
    Solaris 9 12/02 s9s_u2wos_10 SPARC
    Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 05 November 2002
    x86 Solaris 9
    ==========
    SunOS host2 5.9 Generic_118559-11 i86pc i386 i86pc
    Solaris 9 12/03 s9x_u5wos_08b x86
    Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 21 November 2003
    x86 Solaris 10
    ==========
    SunOS host3 5.10 Generic_120012-14 i86pc i386 i86pc
    Solaris 10 8/07 s10x_u4wos_12b X86
    Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 16 August 2007
    Thanks
    JL

    You should never pass something to free that wasnt received from malloc.
    Although as a special case, free of the null pointer is allowed.
    Thats all clearly written on the malloc man page..
    So if your program is free'ing non malloc'ed pointers, then thats a bug in your program.
    So based on your code sample above
    free(ds_namv[j]) would be illegal.
    But free(data[j]) should be OK, since thats a null pointer.
    However, it should be perfectly fine to assign a new malloc'ed value to an existing pointer whether or not it was originally initialised using malloc.
    When you assign it, the original value is irrelevant.
    Additionally, the code fragment ds_namv[j] = (char**)"\0"; demonstrates some further conceptual problems.
    "\0" isnt of type (char **). It's of type (char*). And its a pointer to constant space. So writing to the area pointed to, would be illegal.
    As to why it works on sparc but not x86.
    The code appears to have a number of errors, and you just got lucky that it ever worked on sparc...

  • Solaris 10 support for J2SE 1.4.2_06?

    As in, does it? I managed to find a reference to 1.4.2_07 being tested on Solaris 10, but haven't found anything for 1.4.2_06...
    Any ideas? Whats the official policy from Sun? And could we perchance have a compatibility chart on the site showing which versions have been certified against which platforms etc to avoid this sort of question in the future? :-)
    Cheers
    Brian

    No idea, but 1.5.0 is out now :)

  • IWS 6.1 SP1 Servlet  fails on Solaris 8 but not on w2k

    Is there some trick to getting the servlets support working on iWS 6.x
    on solaris? I set the sample servlets up in a metter of mintes in an NT
    box and have spent the rest of the day trying to get it working on
    Solaris. I see the following in the error log. It may simply be a
    classpath issue.
    [20/Dec/2001:22:54:28] failure (24943): Internal error: Unexpected error
    condition thrown (java.lang.NoClassDefFoundError:
    sun/tools/javac/Main,sun/tools/javac/Main), stack:
    java.lang.NoClassDefFoundError: sun/tools/javac/Main
         at
    org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:130)
         at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
         at
    org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:193)
         at
    org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$4(JspServlet.java:167)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:477)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at
    com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
         at
    com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
         at
    com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)
    I attempted to select JDK support and use the /usr/java JDK (JDK 1.2) as
    well as the /usr/j2se (JDK 1.4-beta). Every time I attempted to set the
    JDK field in the admin server they reverted back to <DISABLED>, and the
    java servlet support within the admin server was thereafter fubar.
    I would really apprecieate any help on this.
    Steven

    Hi,
    I suppose U've not set the class path variable in the users profile it has to be set in the .profile if Ur using born shell or .login for c shell.
    B'coz that's what Ur error message suggests "(java.lang.NoClassDefFoundError:"
    Check Ur class path variable in the users profile from the account Ur trying to execute the java program.
    example path for born shell "PATH=/usr/j2se/1.3/bin:$PATH"

  • I recently obtained a new solar-powered extender battery (2700 mAh Li-ion, maker not known) that I can't get to work.  Each time I plug it in, I get a notification from Apple saying I can't use it to charge the phone.  Why not, if I have the correct plug?

    I do have another NewTrent charger that works okay, not great, because sometimes the connection is intermittent and it keeps connecting and disconnecting over and over.  So I was looking forward to trying this new charger, but Apple is blocking it for some reason.  Any idea why?

    Unfortunately, I threw away the plastic packaging for the device, not realizing there was no manufacturer identified on the unit itself.  It just says it is ITEM 68691, 11c China.  It also appears to be rated for the correct voltage - Under SOLAR MOBILE PHONE CHARGER it says, 2700mAh li.ion Battery; 5.1VDC, 250mA
    That's all there is except for a little round white label that has these numbers:  36100, and then underneath, 482012
    Thanks for your comments.  Not sure what else to do, but maybe I can take it in to an Apple store and they can look at it.

  • RUN_REPORT_OBJECT is working in Windows but not in Solaris

    hi
    I have written the following code. It's working in Windows(when I give windows path). But it's not working in Solaris
    It's not either giving me any error message. Could you please help me?
    declare
    repid REPORT_OBJECT;
         v_rep VARCHAR2(100);
         List_id ParamList;
    BEGIN
         List_id := GET_PARAMETER_LIST('input_params');
         IF NOT ID_NULL(List_id) THEN
         DESTROY_PARAMETER_LIST(List_id);
         END IF;
         List_id := Create_Parameter_List('input_params');
         Add_Parameter(List_id, 'p_1',TEXT_PARAMETER,'100008456');
         Add_Parameter(List_id, 'p_2',TEXT_PARAMETER,'P22');
         Add_Parameter(List_id, 'p_3',TEXT_PARAMETER,'600015');
         repid := FIND_REPORT_OBJECT(RE1');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,ASYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'/home/oracle/OraHome2/rep/rep3.rdf');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'/home/oracle/OraHome2/rep/aa.pdf');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'you_report_server_name');
         v_rep := RUN_REPORT_OBJECT(repid, List_id);
         Destroy_Parameter_List(List_id);
         message('v_rep '||v_rep);
         message(1);
    exception
         when others then
         message(sqlerrm);
         message(1);
    end;

    hi
    it is showing me following. I could not understand it. Is there any error message here
    Reports Server Queue Status
    Security Mode Non-secure
    Queue on server rep_SIT-02_10gAS, on Tue Dec 08 13:13:21 IST 2009 To kill a current (enqueued or scheduled) job, click on the status icon for the specific job. Then click on Cancel Job button in next page.To get a cached output of a successfully finished past job, click on the Job Name hyperlink of that job (if available).
    View
    View Current JobsPast JobsScheduled Jobs
    Result
    Previous Next
    Job ID Job Type Job Name Job Status Job Owner Output Type Output Name Server Name Queued At Started At Finished At
    None
    Help
    Copyright (c) 2002, 2005, Oracle. All rights reserved.
    -------------------------------------------------------------------------------------------------------

  • Solaris 9 x86 platform update 4 8/03 can not start Management Console

    smc& but cannot start management console 2.1
    no problem on solaris 8 x86 platform.
    Error as below :
    I cannot start the Solaris Management Console in Solaris 9. The splash screen appears for a few seconds, then nothing else, core dumped.
    There is a error: "Assertion Fail: Offset < fFileSize ............../../../src....
    Any ideas ??????

    Java Bug 4838130:
    http://developer.java.sun.com/developer/bugParade/bugs/4838130.html
    suggests to trace the problem by running the java application with JAVA2D_DEBUGFONTS defined, so try
    env JAVA2D_DEBUGFONTS=1 smc
    The bug report also documents a workaround: Set the environment variable JAVA_FONTS to
    /usr/openwin/lib/X11/fonts/TrueType, i.e.
    env JAVA_FONTS=/usr/openwin/lib/X11/fonts/TrueType smc

  • Dlopen works on Solaris but not on Linux.

    Can anyone explain why this is happening? Save the 5 source files and run the 'build' script.
    On a Solaris system it works:
    SunOS wibble 5.11 snv_124 i86pc i386 i86pc
    g++ (GCC) 3.4.3 (csl-sol210-3_4-20050802)
    Copyright (C) 2004 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Call dlopen
    In bar
    dlopen returns fecb0348
    After dlopen
    On a Linux system it does not work:
    Linux uce-build 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 athlon i386 GNU/Linux
    g++ (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
    Copyright (C) 2004 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Call dlopen
    dlopen returns ./testlib.so: undefined symbol: f
    After dlopen
    foo.h
    class foo {
    public:
    foo();
    virtual ~foo();
    void bar();
    private:
    newClass.h
    class newClass {
    public:
    newClass();
    virtual ~newClass();
    private:
    foo.cpp
    #include "foo.h"
    #include <stdio.h>
    foo::foo() { }
    foo::~foo() { }
    void foo::bar() {
    printf("In bar\n");
    main.cpp
    #include <stdio.h>
    #include <cstdlib>
    #include "foo.h"
    #include <dlfcn.h>
    #include <link.h>
    using namespace std;
    foo f;
    int main(int argc, char** argv) {
    printf("Call dlopen\n");
    void *handle;
    if (handle = dlopen("./testlib.so", RTLD_NOW) ) {
    printf("dlopen returns %p \n", handle);
    } else {
    printf("dlopen returns %s \n", dlerror());
    printf("After dlopen\n");
    return 0;
    newClass.cpp
    #include "newClass.h"
    #include "foo.h"
    extern foo f;
    newClass n;
    newClass::newClass() {
    f.bar();
    newClass::~newClass() { }
    build
    uname -a
    g++ --version
    g++ -fpic -c -g -o newClass.o newClass.cpp
    g++ -shared -o testlib.so newClass.o
    g++ -c -g -o foo.o foo.cpp
    g++ -c -g -o main.o main.cpp
    g++ -ldl -o testcase main.o foo.o
    ./testcase

    Edit: I succeeded to solve it accidentally. I did the following: Sign the jar in Netbeans, clean and build, the jar didn't work, I wiped out the .ks from the jar and clean and build again. Now it worked.
    Edited by: Vitali.pom on Oct 30, 2011 1:28 AM

  • Solaris 10 Openssh v5.3p1 sftp chroot works but denied permission

    Hi all, I have been working for 3 days to make chroot work on Solaris 10 with openssh v5.3p1 usring http://www.minstrel.org.uk/papers/sftp/builtin/ methods. All looks great, I can open a sftp session but when I try to write I get permissin denied messages. I just can find what I am doing wrong. I have totally removed Sun ssh from the box and compiled openssh. I followed minstrel to the letter. I have tried winscp and other sftp client all with the same error permission denier from server.
    Following is a openssh debug output that may help. The best I can read it it appears that all is working.
    Sorry I had to delete some of the debug due to the 7500- character rule.
    Thanks for any help anyone can provide.
    Tom
    bash-3.00# /usr/local/sbin/sshd -p 22 -D -ddd -e
    debug2: load_server_config: filename /usr/local/etc/sshd_config
    debug2: load_server_config: done config len = 249
    debug2: parse_server_config: config /usr/local/etc/sshd_config len 249
    debug3: /usr/local/etc/sshd_config:113 setting Subsystem sftp internal-sftp
    debug3: checking syntax for 'Match Group sftponly'
    deleted
    debug1: rexec_argv[0]='/usr/local/sbin/sshd'
    debug1: rexec_argv[1]='-p'
    debug1: rexec_argv[2]='22'
    debug1: rexec_argv[3]='-D'
    debug1: rexec_argv[4]='-ddd'
    debug1: rexec_argv[5]='-e'
    debug2: fd 4 setting O_NONBLOCK
    debug2: parse_server_config: config rexec len 249
    debug3: rexec:113 setting Subsystem sftp internal-sftp
    debug3: checking syntax for 'Match Group sftponly'
    debug1: sshd version sshp1
    debug1: Local version string SSH-2.0-ssh
    debug2: fd 4 setting O_NONBLOCK
    debug2: Network child is on pid 13650
    debug3: Trying to reverse map address 172.31.81.200.
    debug2: parse_server_config: config reprocess config len 249
    debug3: checking match for 'Group sftponly' user lefler host x4500e0 addr 172.31.81.200
    debug1: user lefler matched group list sftponly at line 122
    debug3: match found
    debug3: reprocess config:123 setting ChrootDirectory %h
    debug3: reprocess config:124 setting ForceCommand internal-sftp
    debug3: reprocess config:125 setting AllowTcpForwarding no
    debug3: auth_shadow_acctexpired: today 14860 sp_expire -1 days left -14861
    debug3: account expiration disabled
    Accepted password for lefler from 172.31.81.200 port 35932 ssh2
    debug3: mm_auth_password: user authenticated
    debug1: monitor_child_preauth: lefler has been authenticated by privileged process
    debug3: mm_get_keystate: Waiting for new keys
    debug3: mm_request_receive_expect entering: type 24
    debug3: mm_request_receive entering
    debug3: mm_send_keystate: Sending new keys: 80ce730 80ce668
    debug3: mm_newkeys_to_blob: converting 80ce730
    debug3: mm_newkeys_to_blob: converting 80ce668
    debug3: mm_send_keystate: New keys have been sent
    debug3: mm_send_keystate: Sending compression state
    debug3: mm_request_send entering: type 24
    debug3: mm_send_keystate: Finished sending state
    debug3: mm_newkeys_from_blob: 80ce110(118)
    debug2: mac_setup: found hmac-md5
    debug3: mm_get_keystate: Waiting for second key
    debug3: mm_newkeys_from_blob: 80ce110(118)
    debug2: mac_setup: found hmac-md5
    debug3: mm_get_keystate: Getting compression state
    debug3: mm_get_keystate: Getting Network I/O buffers
    debug3: mm_share_sync: Share sync
    debug3: mm_share_sync: Share sync end
    User child is on pid 13651
    debug3: mm_request_receive entering
    debug3: safely_chroot: checking '/'
    debug3: safely_chroot: checking '/export/'
    debug3: safely_chroot: checking '/export/home/'
    debug3: safely_chroot: checking '/export/home/lefler/'
    debug3: safely_chroot: checking '/export/home/lefler/./'
    debug3: safely_chroot: checking '/export/home/lefler/./'
    Changed root directory to "/export/home/lefler/./"
    debug1: permanently_set_uid: 1015/3001
    debug2: set_newkeys: mode 0
    debug2: set_newkeys: mode 1
    debug1: Entering interactive session for SSH2.
    debug2: fd 5 setting O_NONBLOCK
    debug2: fd 6 setting O_NONBLOCK
    debug1: server_init_dispatch_20
    debug1: server_input_channel_open: ctype session rchan 0 win 2097152 max 32768
    debug1: input_session_request
    debug1: channel 0: new [server-session]
    debug2: session_new: allocate (allocated 0 max 10)
    debug3: session_unused: session id 0 unused
    debug1: session_new: session 0
    debug1: session_open: channel 0
    debug1: session_open: session 0: link with channel 0
    debug1: server_input_channel_open: confirm session
    debug1: server_input_channel_req: channel 0 request subsystem reply 1
    debug1: session_by_channel: session 0 channel 0
    debug1: session_input_channel_req: session 0 req subsystem
    subsystem request for sftp
    debug1: subsystem: internal-sftp
    debug1: Forced command (config) 'internal-sftp'
    debug2: fd 4 setting TCP_NODELAY
    debug2: fd 10 setting O_NONBLOCK
    debug2: fd 9 setting O_NONBLOCK
    debug1: do_cleanup

    what you have to do is create a dir where the user can upload to that they own. it cant be the root dir that you set to chroot to. so if the home dir is --> /export/home/lefler
    make a dir like --> /export/home/lefler/upload
    then
    chown lefler /export/home/lefler/upload
    and then see if things work writing to that dir.

Maybe you are looking for