Stack overflow error with Sun JVM

We have an application that was running on MSJVM. Recently we migrated to SUN JVM. After the migration, we get the error message - "Stack overflow at line 0 " at random, while loading applets.
Any solutions to this problem will be greatly appreciated.
Thanks
Nabeel

Where do you see the error message (Java console, ...?)
Googling for "stack overflow at line 0" hints that the problem may be related to JavaScript. Is there JS on the web pages that elicit the error? The JVM upgrade might be a coincidence.

Similar Messages

  • Stack overflow error with production release

    Hi,
    I am using Flex 4.5.1 and I am getting a weird error upon exporting a production release. Here is the stack trace:
    VerifyError: Error #1023: Stack overflow occurred.
              at spark.components.gridClasses::GridLayout/intializeGridVisualElement()
              at spark.components.gridClasses::GridLayout/layoutIndicator()
              at spark.components.gridClasses::GridLayout/layoutCaretIndicator()
              at spark.components.gridClasses::GridLayout/updateDisplayList()
              at spark.components.supportClasses::GroupBase/updateDisplayList()
              at spark.components::Group/updateDisplayList()
              at spark.components::Grid/updateDisplayList()
              at mx.core::UIComponent/validateDisplayList()
              at spark.components::Group/validateDisplayList()
              at mx.managers::LayoutManager/validateDisplayList()
              at mx.managers::LayoutManager/doPhasedInstantiation()
              at mx.managers::LayoutManager/doPhasedInstantiationCallback()
    As you can see there is no trace of our own classes anywhere. I don't get this error if I use the normal debug version. We are very close to going live and we can't use the debug version files as they are bulky and are increasing the initial load time of the application.
    Please help!
    Thanks.
    Manoj

    Hey I get this suddenly in an app that's been running and working fine.  We just updated with a release build for some other updates and I get this error.  Here's the context:
    I am using Flex 4.6, have a component that extends the Flex 3 AdvancedDataGrid for some lightweight customization of how column resising work.  The component is used in several of our apps.  But, for some reason, and with no code updates to this particular component in a while, when I click on a row in the grid, I get this stack overflow exception too.  The exact same stack trace as the one mentioned by the original poster.
    Anyone have a clue why I would be seeing "spark.components.gridClasses::..." in my stack trace to begin with when the component that is being clicked on is a Flex 3 AdvDataGrid component?  I've seen some mention of the compiler error that somehow bashes the stack under the perfect circumstances.  But, in our case, we've eliminated all of our own event handlers (click/etc) from the grid and we still get this error and only in the release build.  So, there's no way to change any of our code to fix it b/c none of our code is executing when the error occurs.
    This is very very odd stuff.  Any ideas???

  • Stack Overflow Error for JNI program with Jdk1.3

    I wrote a JNI wrapper for a third party sofware (written in C) to use some exported functions provided. My program runs fine when using Sun JDK1.2.2, but I got the following error when using Jdk1.3 to run the program (It's a runtime error, only the version of runtime virtual machine matters.)
    # An EXCEPTION_STACK_OVERFLOW exception has been detected in native code outside
    the VM.
    # Program counter=0x9073337
    A stack overflow was encountered at address 0x09073337.
    I tried IBM jdk 1.2.2, it gave me a similar error complaining about the stack overflow error.
    The vendor of the third party software denies any wrong doing in their code and I don't have their source code. A test client (simulate the Java client) I wrote in C works perfectly fine and as I mentioned earlier the same java progarm runs OK with jdk 1.2.2, without any change to my system stack size. Does any body know what this is about and the solution for this?
    Thanks!
    My email: [email protected]

    I had the same exception occur in my JNI code and I have some advice on things to look for.
    Symptoms: The C++ code runs fine when called in an native executable but when it is wrapped by a JNI call inside a DLL you get the following exception:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_STACK_OVERFLOW occurred at PC=0x100d72e5
    Function name=_chkstk
    The address will be different of course.
    In my tests I isolated the problem to an allocation of a char array like so at the top of one of my wrapped C++ methods:
    char buf[650000];
    As you see this code is requesting 650000 bytes of stack memory. When run in a native executable there was no problem but when I ran it wrapped in the JNI call it blew up.
    Conclusion: There is a much smaller stack space when using JNI OR the added overhead of my JNI wrapper exhausted the available stack space OR this is a stack space issue related to DLLs.
    Hope this helps. Anyone with insight on this please put in your 2 cents.

  • Stack overflow error while creating connection using Oracle10G dirver

    Hi,
    Our web application built on Servlets runs on the iPlanet web server (In solaris machine). Earlier we used JDK 1.5 update 6 with oracle 9i driver and now got migrated to JDK 1.5 update 10 with same driver. Everything went fine until we started testing the environment with oracle 10G driver. Java 1.5 update 10 with oracle 10G driver throws "Stack overflow error".
    Driver version is - 10.2.0.2.0
    This occurs only when I access the portal. When I created the single main program and try to run it in the solaris machine it works fine. But wen I try to access the portal keeping this driver under classpath, it fails. Please let me know if anyone have any clues.
    When I looked into it, I am able to find that the "stack overflow error" occurs at the point the code line DriverManager.Getconnection("url", "username", "pwd") executes.
    Thanks in advance
    below the stacktrace of the exception from webserver error log..
    06/Mar/2007:04:20:40] failure (10198):
    for host 202.54.182.136 trying to POST /wr/servlet/WorkRequest, service-j2ee reports: StandardWrapperValve[WorkRequest]: WEB2769: Allocate exception for servlet WorkRequest
    javax.servlet.ServletException: WEB2778: Servlet.init() for servlet WorkRequest threw exception
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:244)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    ----- Root Cause -----
    java.lang.StackOverflowError
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(
    [06/Mar/2007:04:22:20] info (10198):
    CORE5073: Web server shutdown in progress
    [06/Mar/2007:04:22:21] info (14506):
    CORE1116: Sun ONE Web Server 6.1SP5 (64-Bit) B12/02/2005 04:37
    [06/Mar/2007:04:22:21] warning (14513):
    CORE1251: On group ls1, servername pstst42.pedc.sbc.com does not match subject "" of certificate Server-Cert.
    [06/Mar/2007:04:22:21] warning (14513):
    CORE1250: In secure virtual server https-vts, urlhost does not match subject "" of certificate Server-Cert.
    [06/Mar/2007:04:22:21] info (14513):
    CORE5076: Using [Java HotSpot(TM) 64-Bit Server VM, Version 1.5.0_06] from [Sun Microsystems Inc.]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [vts/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [cron/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [find/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [cb/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [wr/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [search]
    [06/Mar/2007:04:22:25] info (14513):
    HTTP3072: [LS ls1] ready to accept requests
    [06/Mar/2007:04:22:25] info (14513):
    CORE3274: successful server startup
    Message was edited by:
    Nandakumar_s
    Message was edited by:
    Nandakumar_s

    Yes, request goes through connection pool but weird
    thing is application throws stack excatly where
    DriverManager.getConnection gets executed.
    Not weird at all.
    This is what I am guessing that you did. You changed the driver and some other stuff, like configuration information.
    Then when it blew up you tracked down in your code where you see the stack overflow. That happens to be on the connection line. That is not where the overflow 'occurs' - it merely represents where you saw it.
    That line however isn't using the oracle driver. What it is using is a connection pool of some sort. That connection pool is configured somewhere. And that configuration is self-referential (or maybe refers to a another driver which refers back to the original.)
    And that causes you stack over flow.

  • Stack overflow error

    Hi..
    I have problem with this code.
       class test
           test tt=new test();   //1
           String name1;
        test() {}
        test(String i)
              name1=i;
             //tt=new test();    //2
       public static  void main(String arg[]){
                  test t1=new test("kj"); //3
    }  When I use line 2 (nstead of line 1 ) for initializing the ref variable iam not having any problem.
    But if i use as in line 1 iam getting stack overflow error..
    I thought tht calling a constructor recursivley results in a stack overflow error..
    But iam instantiating t1 with a one arg constructor (line 3) for which tt (line 1)is intialized,then where is the recursion happening..
    can any one pls clear..
    Thnx.
    mysha..

    please use [code][/code] tags around your code - makes it much easier to read.
    I think you have it - consider this code:public class StackOverflower {
        private StackOverflower so = new StackOverflower();
        public static void main(String[] args) {
            StackOverflower mySO = new StackOverflower();
    }Running this will overflow the stack since creation of an instance of StackOverflower requires creation of an instance of StackOverflower. This code though:public class NonStackOverflower {
        private NonStackOverflower nso = null;
        public NonStackOverflower() {
        public NonStackOverflower(String s) {
            this.nso = new NonStackOverflower();
        public static void main(String[] args) {
            NonStackOverflower myNSO = new NonStackOverflower();
    }Won't, since the creation of a new NonStackOverflower is not required to create a new NonStackOverflower instance.
    Did that make sense? I may have gotten confused and failed to illustrate your situation with my code...
    Good Luck
    Lee

  • TROUBLESHOOTING A STACK OVERFLOW ERROR

    제품 : ORACLE SERVER
    작성날짜 : 1997-02-04
    ==========================================
    TROUBLESHOOTING A STACK OVERFLOW ERROR
    ==========================================
    OVERVIEW
    A stack is a temporary storage space for programs. All programs have a
    stack. MS-DOS switches stacks for hardware interrupts to prevent stack
    overflows. Some programs such as EMM386.EXE, SMARTDRV.EXE, mouse drivers
    and TSR's will hook these hardware interrupts. When a hardware interrupt
    hook requires more stack space than is available, a stack overflow error
    occurs.
    SYNTAX
    The STACKS= command in your CONFIG.SYS specifies two parameters; the
    number of stack frames and the size of those frames.
    STACKS=x,y where x = number of stack frames
    minimum value is 8
    maximum value is 64
    y = bytes of each stack frame
    minimum value is 32
    maximum value is 512
    For most PC's the default is STACKS=9,128.
    TROUBLESHOOTING
    Perform the following troubleshooting steps prior to changing the STACKS=
    command:
    o If you are using a third party video driver reconfigure the pc to use the
    generic Windows VGA drivers.
    o Be sure you have 512K conventional RAM free before you load Windows.
    You can check the free memory by using the MEM /C command. The value
    for "Largest executable program size" should be 512k (524,288 bytes).
    o Personal Oracle7 requires 8MB RAM. An additional 8MB RAM is required
    when PL/SQL is also installed. The trial product requires PL/SQL and
    therefore automatically installs it.
    o Add the /X switch to the SMARTDRV.EXE driver in AUTOEXEC.BAT. This
    switch disables the write-behind caching.
    o Exclude the video graphics area from the memory manager.
    i.e. DEVICE = C:\WINDOWS\EMM386.EXE X=A000-C7FF
    The video driver's manufacturer can provide you with the appropriate
    range to exclude..
    o Boot clean.
    CONFIG.SYS AUTOEXEC.BAT
    ========== ============
    FILES=45 PROMPT$P$G
    BUFFERS=20 PATH=C:\WINDOWS;C:\DOS;\C:\
    DEVICE=C:\<dir>HIMEM.SYS SET TEMP=C:\<valid path>
    STACKS=9,256
    SHELL=C:\<valid path>\COMMAND.COM /E:1024 /P
    !!!CAUTION: Your system may have third-party drivers that must be
    loaded! Such drivers include hard disk drivers, disk
    partitioning disk compression utilities.
    Removing such drivers can render your hard drive
    inaccessible and/or damage your data.
    DO NOT REMOVE ANY DRIVER(S) THAT YOU CANNOT IDENTIFY ITS
    PURPOSE!
    o Add STACKS=9,256 to CONFIG.SYS. If you already have this statement
    then increase the stack frames to 16.
    The Microsoft Knowledge Base (http://www.microsoft.com/support/)provided
    technical resources for this bulletin. .............................

    The same issue seemed to be solved for me after I installed
    the ColdFusion 8 beta plug-ins for Eclipse
    http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

  • CIN stack overflow error

    Im using an recursiv c++ function in my VI.
    After severall calls the VI crashes, printing an
    stack overflow error.
    I already increased in Visual Studio 6.0 the Link
    setting: allocate stack. But nothing changed.
    I need help fix this problem!!
    My prg. looks like this:
    recursiv (....) {
    int array[..][..][..];
    recursiv (..);
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

    > Im using an recursiv c++ function in my VI.
    > After severall calls the VI crashes, printing an
    > stack overflow error.
    > I already increased in Visual Studio 6.0 the Link
    > setting: allocate stack. But nothing changed.
    > I need help fix this problem!!
    >
    > My prg. looks like this:
    >
    > recursiv (....) {
    > int array[..][..][..];
    > ....
    > recursiv (..);
    > }
    If you are truly allocating a three D array of ints
    on the stack, then it makes sense that you will run
    out of stack space sooner or later. I can't help
    you with increasing the stack size, but if you move
    your array into a memory block and store the pointer
    on the stack, then you will use less stack space and
    avoid the problem.
    In otherwords:
    recursive() {
    int *array;
    array= DSNewPtr()
    array[][][]= ...
    recursive();
    DSDisposePtr();
    Greg McKaskle

  • Stack overflow error while trying to run expense management activity on oracle BPM studio 10.3 on windows8 machine

    I am getting stack overflow error. While trying to bring expense creation screen on windows 8.
    I trying couple of settings in eclipse.ini file to increase the size but nothing helped. Can someone please advice?
    Below is eclipse.ini file
    -showsplash
    fuego.eclipse.studio
    --launcher.XXMaxPermSize
    --256m
    -vmargs
    -Xms600m
    -Xmx600m
    -Xss500m
    -Dfuego.fstudio=true
    -DprodMode=preProduction
    -Dbea.home=C:\OraBPMStudioHome\..
    -Djava.endorsed.dirs=""
    -Dsun.lang.ClassLoader.allowArraySyntax=true
    -Dfuego.studio.engine.java.options=-Dsun.lang.ClassLoader.allowArraySyntax=true
    -XX:PermSize=512M
    -XX:MaxPermSize=1024M
    -Xbootclasspath/a:C:\OraBPMStudioHome\eclipse\jre\lib\ext\tools.jar

    It looks like you are trying to run OSX on a Windows PC with VMware Workstation...
    This is NOT supported by VMware and doing so will break Apples EULA, you need Apple hardware to run OSX.
    No one here will be able to help you and you should investigate other legal and supported alternatives.
    // Linjo

  • Stack OverFlow Problem with QuickSort Partition, please help.

    I have a Quicksort method that keeps running into a Stack OverFlow error when it attempts to partition.
    Here are my methods:
    public static void quickSort(int[] a){
              int from = 0;
              int to = a.length - 1;
              sort(a, from, to);
    private static int partition(int[] a, int from, int to){  
              int pivot = a[from];  
              int i = from - 1; 
              int j = to + 1;  
              while (i < j){
                   i++; while (a[i] < pivot) i++;     
                   j--; while (a[j] > pivot) j--;     
                   if (i < j) swap(a, i, j);    
              return j;
         private static void sort(int[] a, int from, int to){  
              if (from >= to) return;  
              int p = partition(a, from, to); // eclipse tells me my error is here.
              sort(a, from, p);  
              sort(a, p + 1, to); // I also have an error here.
         }Eclipse points to the sort method as the source of my error, which itself points to my attempting to partition the sucker, so I don't know what's up. It's probably something stupid, but I'm lost, so any help is appreciated.

         private static void swap(int[] a, int i, int j){
                   int temp = a;
              a[i] = a[j];
              a[j] = temp;
              }The quicksort method works until the array size is greater than 9723. That's when I get my overflow error.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Getting HTTP Status 500 error with sun one application server...

    Hi,
    I am trying to develop a sample application and try to run with sun one application server. I followed the tutorial. My application client is working fine. But my web client is producing the following error. I think we don't need to install Tomcat seperately when we have the application server or do I have to... any suggestions...
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    No Java compiler was found to compile the generated source for the JSP.
    This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
    to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
    If using an alternate Java compiler, please check its installation and access path.
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:132)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:356)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:557)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.
    Sun-Java-System/Application-Server-PE-8.0

    You do not need to install Tomcat. SJSAS contains a web container. The error you are seeing could be caused by a few reasons. There are many previous threads on this issue, perhaps you could search the forum. I used the following search term, "Unable to compile class for JSP" ,and got many hits.
    http://onesearch.sun.com/search/developers/index.jsp?col=devforums&qp_name=J2EE+Software+Development+Kit+%28J2EE+SDK%29&qp=forum%3A136&qt=Unable+to+compile+class+for+JSP

  • Cannot print with sun jvm

    Hi all.
    I am having trouble with printing.
    Printer icon in browser is red crossed, saying: can't print (no browser privileges)
    This is happening with sun java virtual machine, in both iexplorer and mozilla.
    (all three of them latest version). Disabling sun jvm and using ie with native
    ms jvm works fine.
    I'm using Win XP Sp2, firewall enabled, everithing up-to-date.
    Sun Java console says:
    Secure Global Desktop 4.00.903: Can't print Can't Print (No browser privileges):java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute).
    Printing not possible. Please inform an Administrator.
    This is happening after upgrading from 3.30.929 -> 3.42.947 -> 4.00.903.
    In case it matters, server is RH 9.
    Any tip would be appreciated.
    TIA
    Alan.

    Solved.
    Some of the files at /opt/tarantella/var/docroot/java
    were not publicly readable.
    A permissions denied error was appearing in apache's error log.
    Changing files from 0640 to 0644 solved the problem.
    Another solution could have been adding the group ttaserv to
    my apache user, to allow my apache to access all tta webserver
    related files. But I won't do it by now unless other problems
    arrise.
    Hope this could help someone else.
    Alan.
    Alan Weber wrote:
    Alan Weber wrote:
    Hi all.
    I am having trouble with printing.
    Printer icon in browser is red crossed, saying: can't print (no
    browser privileges)
    This is happening with sun java virtual machine, in both iexplorer and
    mozilla.
    (all three of them latest version). Disabling sun jvm and using ie
    with native
    ms jvm works fine.
    I'm using Win XP Sp2, firewall enabled, everithing up-to-date.
    Sun Java console says:
    Secure Global Desktop 4.00.903: Can't print Can't Print (No browser
    privileges):java.security.AccessControlException: access denied
    (java.io.FilePermission <<ALL FILES>> execute).
    Printing not possible. Please inform an Administrator.
    This is happening after upgrading from 3.30.929 -> 3.42.947 -> 4.00.903.
    In case it matters, server is RH 9.
    Any tip would be appreciated.
    TIA
    Alan.I am using my own web server, RH's default apache, and installed tta's
    webserver on port 81.
    When tested against tta's webserver this problem does not occur.
    Anything to update in my own apache config? Everything was working fine
    in tta 3.30.
    Alan.

  • Compilation error with sun workshop 6u2

    hi,
    i try to compile a systemc code with sun work shop 6u2 but the compilation generate this error
    Beginning generate/compile...
    Compilation may take a few seconds... please wait.......ucbcc: Warning: Option -YP,:/usr/ucblib:/usr/ensta/pack/SunWorkShop-6u2/SUNWspro/WS6U2/bin/../lib:/usr/ensta/pack/SunWorkShop-6u2/SUNWspro/WS6U2/bin:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored otherwise
    ucbcc: Invalid input file name /home/uei/chtourou/cadence/soflib/fir/pmb/spb.C, no output generated for this file.
    ucbcc: Warning: Option -YP,:/usr/ucblib:/usr/ensta/pack/SunWorkShop-6u2/SUNWspro/WS6U2/bin/../lib:/usr/ensta/pack/SunWorkShop-6u2/SUNWspro/WS6U2/bin:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored otherwise
    ld: warning: option -YP appears more than once, first setting taken
    ld: fatal: file /home/uei/chtourou/cadence/soflib/fir/pmb/spb_sun4v.o: cannot open file: No such file or directory
    ld: fatal: File processing errors. No output written to /home/uei/chtourou/cadence/soflib/fir/pmb/spb_sun4v.so
    system-002: Error: The following system command failed.
    CC -G -o /home/uei/chtourou/cadence/soflib/fir/pmb/spb_sun4v.so /home/uei/chtourou/cadence/soflib/fir/pmb/spb_sun4v.o `/home/uei/chtourou/tmp/systemc-2.0.1/spwSystemC/src/libList.csh.${PLATFORM_DIR}` -lc
    leaf-057: Error: Failed to compile the SPB wrapper for polymorphic leaf
    soflib/fir.pmb
    Failed SPB Wrapper generation for soflib/fir with 2 Error(s), 0 Warning(s) and 0 Note(s).
    Compilation Failed .
    thank you very much

    this compilation it's made from cadence spw and it use the sun workshop,so i don't know options of compilation
    my os is the SUNOS 5.8
    any help will be usefull
    thank you

  • Sun VDI 3.1.1 error with Sun 7310

    Hello,
    I'm working on a Sun VDI solution using a 7310 with Sun Storage 2010.Q1.0.0 and am having a provisioning error when importing a template or desktop. It errors about copying disk image to storage. Upon switching to a Solaris ZFS storage server the issue goes away. I'm curious if anyone else has run into this issue and if the Sun Storage OS should be update or if there are specific configuration variables that should be set in the ZFS storage pool being used by the Sun VDI implementation.
    Thank you,
    Mike

    Okay, after some issues with the 7310 that is being used for this pilot I was able to do some more testing to generate logs around the failures. I have been able to get this to work with a regular Solaris 10 iSCSI and NFS server that uses ZFS. In fact it worked perfectly but that isn't the storage array that is meant for this project. The Sun VDI implementation is accessing the 7310 using the 'root' account and is connecting over gigE SAN. We can see Sun VDI logging into the storage array, it creates the '/suspend-data' NFS share right away as it should. When I got to import a template you can see it deploy the iSCSI LUN and the associated Target and IQN.
    Here are snippets from the cacao log showing the different failure messages.
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.vbox.VBDesktopProvider createDesktops
    FINE: thr#22 Created desktop on 10.72.169.169 with volume ec0263c0-eaef-4636-a2ac-96046e4fc81e at IQN iqn.1986-03.com.sun:vdi:kgksyhsior0abizjhg.g:exlbox2mm0szsgnr7ed- of size 17179869184
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistenceImpl commit
    FINEST: thr#22 Committing object [id=14] class com.sun.vda.service.persistence.PersistentStorage
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.storage.Volume importFromFile
    FINEST: thr#22 Copying from /sunvdi/templates/solaris10/solaris10.vdi to ec0263c0-eaef-4636-a2ac-96046e4fc81e on host 10.72.169.169 for user root
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistenceImpl update
    FINEST: thr#22 Updating object [id=14] class com.sun.vda.service.persistence.PersistentStorage
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistentJob commit
    FINEST: thr#22 Committing object [id=null] class com.sun.vda.service.persistence.PersistentJob
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.core.jobs.Job run
    INFO: thr#23 Starting Job[192]: STORAGE_ACTION for [Solaris 10, STORAGE_AND_ISCSI_RESSOURCE: INITIATOR:iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0]
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistenceImpl update
    FINEST: thr#23 Updating object [id=192] class com.sun.vda.service.persistence.PersistentJob
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistentJob commit
    FINEST: thr#23 Committing object [id=192] class com.sun.vda.service.persistence.PersistentJob
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistenceImpl update
    FINEST: thr#23 Updating object [id=14] class com.sun.vda.service.persistence.PersistentStorage
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.vbox.SshServer executeCommand
    FINEST: thr#23 Executing command script run('cd /') ; run('configuration') ; run('san') ; run('initiators') ; run('iscsi') ; run('create') ; run('set alias=vdi:2a95e6efffff.4beb10d0') ; run('set initiator=iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0') ; stdout = run('commit') ; print(stdout) on host 10.72.169.169:22 for user root
    Jun 17, 2010 3:43:00 PM com.sun.vda.service.vbox.SshServer executeCommand
    FINEST: thr#23 executed script run('cd /') ; run('configuration') ; run('san') ; run('initiators') ; run('iscsi') ; run('create') ; run('set alias=vdi:2a95e6efffff.4beb10d0') ; run('set initiator=iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0') ; stdout = run('commit') ; print(stdout)
    Jun 17, 2010 3:43:00 PM com.sun.vda.service.vbox.SshServer executeCommand
    FINEST: thr#23 Executing command script run('cd /') ; run('configuration') ; run('san') ; run('initiators') ; run('iscsi') ; run('groups') ; run('create') ; run('set name=vdi:2a95e6efffff.4beb10d0') ; run('set initiators=iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0') ; stdout = run('commit') ; print(stdout) on host 10.72.169.169:22 for user root
    Jun 17, 2010 3:43:01 PM com.sun.vda.service.vbox.SshServer executeCommand
    FINEST: thr#23 ...
    Jun 17, 2010 3:43:01 PM com.sun.vda.service.storage.Initiator$CommitThis doAction
    FINEST: thr#23 Committing initiator com.sun.vda.service.storage.Initiator@16708cc
    Jun 17, 2010 3:43:01 PM com.sun.vda.service.persistence.PersistenceImpl commit
    FINEST: thr#23 Committing object [id=null] class com.sun.vda.service.persistence.PersistentStorageInitiator
    Jun 17, 2010 3:43:01 PM com.sun.vda.service.persistence.PersistentJob commit
    FINEST: thr#23 Committing object [id=192] class com.sun.vda.service.persistence.PersistentJob
    Jun 17, 2010 3:43:01 PM com.sun.vda.service.core.jobs.Job run
    FINE: thr#23 Job[192]: STORAGE_ACTION for [Solaris 10, STORAGE_AND_ISCSI_RESSOURCE: INITIATOR:iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0] finished.
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.persistence.PersistenceImpl update
    FINEST: thr#22 Updating object [id=14] class com.sun.vda.service.persistence.PersistentStorage
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.persistence.PersistenceImpl update
    FINEST: thr#22 Updating object [id=14] class com.sun.vda.service.persistence.PersistentStorage
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.storage.Volume$CommitShareData doAction
    FINEST: thr#22 Committing target:com.sun.vda.service.storage.Target@65e initiator:com.sun.vda.service.storage.Initiator@6bc lun:-1
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.persistence.PersistenceManager retry
    FINEST: thr#22 Error committing target: com.sun.vda.service.storage.Target@65e Trying again ...
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.persistence.PersistenceImpl update
    FINEST: thr#22 Updating object [id=41] class com.sun.vda.service.persistence.PersistentStorageVolume
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.storage.Volume$CommitShareData doAction
    FINEST: thr#22 Committing target:com.sun.vda.service.storage.Target@65e initiator:com.sun.vda.service.storage.Initiator@6bc lun:-1
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.vbox.SshServer executeCommand
    FINEST: thr#22 Executing command script run('cd /') ; run('shares') ;run('select sunvdi') ; run('select ec0263c0-eaef-4636-a2ac-96046e4fc81e') ; run('set writecache=true') ; run('set status=online') ; run('set targetgroup=vdi:exlbox2mm0szsgnr7ed-') ; run('set initiatorgroup=vdi:2a95e6efffff.4beb10d0') ; stdout = run('commit') ; print(stdout) on host 10.72.169.169:22 for user root
    Jun 17, 2010 3:43:04 PM com.sun.vda.service.vbox.SshServer executeCommand

  • Stack overflow error while using validator frame work

    Hi all,
    Iam trying out an example on using the validator frame work.Iam using the Dynavalidator form.My page is a simple jsp page where the user field is mandatory..iam getting stack overflow pop-up in my jsp and i can find the following error in the log file..
    2005-05-02 15:47:42 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2005-05-02 15:47:45 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2005-05-02 15:47:45 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2005-05-02 15:47:45 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2005-05-02 15:47:45 StandardContext[servlets-examples]SessionListener: contextInitialized()
    Pls give me a sloution for this?

    I don't see any error messages or stack trace here.
    How do you know it is getting stack overflow?
    Try commenting out your validation code, and see if the form loads without it.
    Uncomment it, and find out which specific bit breaks it.

  • Using RemoteApp for RemoteIE: stack overflow error

    Hi,
    Trying to log into RemoteApp to get to RemoteIE, but running into the following error after entering the email ID:
    "Stack overflow at line: 44"
    Device: Windows 7 desktop
    Pl advice.
    -Vin

    Hi Vin,
    Do you have an old version of IE installed on the Windows 7 PC?  I believe at least IE9 is required for Windows 7 to be able to use Azure RemoteApp.
    -TP

Maybe you are looking for