Problem with starting Sun ONE Server after changing Java version

Hi
I installed Sun ONE Java Server 6.1 SP6 on Redhat Enterprise 4.0 64bit. This version uses java version "1.4.2_04" which is intalled in /opt/SUNWwbsvr/bin/https/jdk. With this configuration everything works ok. When I changed Java (/usr/java/jdk1.5.0_09) on version "1.5.0_09 (in server.xml) Sun One doesn't start. I have such error:
     CORE3170: Configuration initialization failed: Error running init function load-modules: dlopen of /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so failed (libjvm.so: cannot open shared object file: No such file or directory)
I checked file libjvm.so and it is in locations: /opt/SUNWwbsvr/bin/https/lib/ and /usr/java/jdk1.5.0_09/jre/lib/amd64/server.
Does anybody know what is wrong ???
Thanks for help

Hi Ges7
You were right. I installed Java 1.5_10 and 1.6 32 bit version and SUN ONE works but i have some errors
[https-fast1]: Sun ONE Web Server 6.1SP6 B05/07/2006 14:57
[https-fast1]: warning: CORE3283: stderr: Java HotSpot(TM) Server VM warning: Can't detect initial thread stack location - find_vma failed
[https-fast1]: info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.6.0] from [Sun Microsystems Inc.]
[https-fast1]: info: WEB0100: Loading web module in virtual server [https-fast1] at [XagentBr]
[https-fast1]: info: WEB0100: Loading web module in virtual server [https-fast1] at [search]
[https-fast1]: info: WEB2798: [XagentBr] ServletContext.log(): AuthAgent v1.55 starting ...
[https-fast1]: info: WEB2798: [XagentBr] ServletContext.log(): Filter configuration file was not found
[https-fast1]: failure: WebModule[XagentBr]: WEB2680: Exception starting filter Authorization Agent Filter
[https-fast1]: javax.servlet.ServletException: Filter configuration file was not found
[https-fast1]: at com.pl.comprze.authagent.AuthAgentFilter.init(AuthAgentFilter.java:262)
[https-fast1]: at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
[https-fast1]: at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:322)
[https-fast1]: at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:120)
[https-fast1]: at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3321)
[https-fast1]: at org.apache.catalina.core.StandardContext.start(StandardContext.java:3797)
[https-fast1]: at com.iplanet.ias.web.WebModule.start(WebModule.java:257)
[https-fast1]: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
[https-fast1]: at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
[https-fast1]: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
[https-fast1]: at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
[https-fast1]: at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
[https-fast1]: at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
[https-fast1]: at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
[https-fast1]: at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
[https-fast1]:
[https-fast1]: failure: WebModule[XagentBr]: WEB2705: Context startup failed due to previous errors
[https-fast1]: info: HTTP3072: [LS ls1] http://fast1:8088 ready to accept requests
[https-fast1]: startup: server started successfully
Success!
The server https-fast1 has started up.
Do You know what it can be ???

Similar Messages

  • Problem with starting Oracle HTTP Server

    I am in the process of installing Oracle Application Express Resease 2.2. After installing Oracle HTTP Server, I stopped it. But when I tried to start it, it failed. The following is the error message I got. Your assistance in helping solve this problem will be highly appreciated!
    [oracle@linuxkm database]$ /u01/app/oracle/product/10.2.0/http_1/opmn/bin/opmnctl startproc ias-component=HTTP_Server
    opmnctl: starting opmn managed processes...
    ================================================================================
    opmn id=linuxkm:6200
    0 of 1 processes started.
    ias-instance id=standalone
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    HTTP_Server/HTTP_Server/HTTP_Server
    Error
    --> Process (pid=23484)
    failed to start a managed process after the maximum retry limit
    Log:
    /u01/app/oracle/product/10.2.0/http_1/opmn/logs/HTTP_Server~1
    -------------------------------------------------------------------------------------------------------------------

    Here is everything from that file. I also attached the configuration section of the apachectl file below. The ORACLE_HOME points to the ORACLE_HOME for http, not the ORACLE_HOME for database. In addition, the httpd.pid file pointed by PIDFILE doesn't exist. Are there anything wrong with my Oracle HTTP Server installation?
    06/10/05 12:27:28 Start process
    /u01/app/oracle/product/10.2.0/http_1/Apache/Apache/bin/apachectl start: execing httpd
    06/10/05 14:52:04 Stop process
    /u01/app/oracle/product/10.2.0/http_1/Apache/Apache/bin/apachectl stop: httpd stopped
    06/10/05 14:52:41 Start process
    /u01/app/oracle/product/10.2.0/http_1/Apache/Apache/bin/apachectl start: execing httpd
    06/10/05 14:52:47 Start process
    /u01/app/oracle/product/10.2.0/http_1/Apache/Apache/bin/apachectl start: execing httpd
    06/10/05 16:05:33 Start process
    /u01/app/oracle/product/10.2.0/http_1/Apache/Apache/bin/apachectl start: execing httpd
    06/10/05 16:05:53 Start process
    /u01/app/oracle/product/10.2.0/http_1/Apache/Apache/bin/apachectl start: execing httpd
    # |||||||||||||||||||| START CONFIGURATION SECTION ||||||||||||||||||||
    ORACLE_HOME=/u01/app/oracle/product/10.2.0/http_1; export ORACLE_HOME
    NLS_LANG=${NLS_LANG="AMERICAN_AMERICA.WE8ISO8859P1"}; export NLS_LANG
    PERL5LIB=/u01/app/oracle/product/10.2.0/http_1/Apache/Apache/mod_perl/lib/site_perl/5.6.1/i686-linux:/u01/app/oracle/product/10.2.0/http_1/perl/lib/5.6.1:/u01/app/oracle/product/10.2.0/http_1/perl/lib/site_perl/5.6.1 ; export PERL5LIB
    PHPRC=/u01/app/oracle/product/10.2.0/http_1/Apache/Apache/conf; export PHPRC
    TNS_ADMIN=${TNS_ADMIN="/u01/app/oracle/product/10.2.0/http_1/network/admin"}; export TNS_ADMIN
    if [ -z "$LD_LIBRARY_PATH" ]
    then
    LD_LIBRARY_PATH=/u01/app/oracle/product/10.2.0/http_1/lib:/u01/app/oracle/product/10.2.0/http_1/opmn/lib ; export LD_LIBRARY_PATH
    else
    LD_LIBRARY_PATH=/u01/app/oracle/product/10.2.0/http_1/lib:/u01/app/oracle/product/10.2.0/http_1/opmn/lib:${LD_LIBRARY_PATH} ; export LD_LIBRARY_PATH
    fi
    # the path to your PID file
    PIDFILE=/u01/app/oracle/product/10.2.0/http_1/Apache/Apache/logs/httpd.pid
    # the path to your httpd binary, including options if necessary
    HTTPD=/u01/app/oracle/product/10.2.0/http_1/Apache/Apache/bin/httpd
    # a command that outputs a formatted text version of the HTML at the
    # url given on the command line. Designed for lynx, however other
    # programs may work.
    LYNX="lynx -dump"
    # the URL to your server's mod_status status page. If you do not
    # have one, then status and fullstatus will not work.
    STATUSURL="http://localhost:7777/server-status"
    # |||||||||||||||||||| END CONFIGURATION SECTION ||||||||||||||||||||

  • Problem of Starting Sun Application Server

    Hi,
    I just downloaded
    j2eesdk-1_4_02_2005Q2-windows.exe
    to my windows machine and insatlled it.
    When I started the verifying of Server by going to "Start menu, choose Programs -> Sun Microsystems -> Application Server PE-> Start Default Server", I did get the message as follows:
    "Domain domain1 is ready to receive client requests. Additional services are being started in the background.....Press any key to continue"
    But when I ran "http://localhost:8080", I got an error page with something like "can't find the web site".
    I even tried to use "http://my real IP address here:8080", and I got the same error.
    When I went to "Programs -> Sun Microsystems -> Application Server PE-> Stop Default Server", I got the message like:
    "The domain <domain1> isn't running.
    CLI157 COuld not stop the domain domain1."
    Could anyone tell me what might be the problem? Do I need to set up something somewhere else?
    Thanks a lot

    What does you server.log file say? I should be in you app server directory /domains/domain1/log. Try to clear it out and start the app server fresh.
    Mike

  • Error when starting sun one serv 7

    I have this problem when I try to start (asadmin start-appserv) sun one app serv 7 in linux red hat 8.
    Could not start the instance: domain1:admin-server
    server failed to start: abnormal subprocess termination
    Could not start the instance: domain1:server1
    server failed to start: abnormal subprocess termination
    Could not start one or more instances in the domain : domain1
    Could not start one or more domains
    log:
    [13/Oct/2003:16:30:39] SEVERE ( 1412): CORE3092: Error receiving response from watchdog
    [13/Oct/2003:16:30:39] SEVERE ( 1412): CORE3144: Watchdog admin channel has been closedI do not have firewall installed in the same machine.
    Somebody can help me?
    thanks.
    mindu.

    I think this might occur if you don't have the patch for SunAlert 46042 installed. There's more information on this critical Solaris security vulnerability, which was reported back in 2002, at http://sunsolve.central.sun.com/search/document.do?assetkey=1-26-46042-1
    Can you run the following command to check if you have patch 109326-09 installed and let us know the result?showrev -p | grep 109326If you don't have 109326-09 or higher installed, you should install it as soon as possible. You can follow the link from the SunAlert. Better yet, install the latest Solaris 8 recommended patch cluster from http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access to make sure your system is fully patched and up to date.

  • Problem in starting the web-server after configuring .so on AIX

    I am trying to configure a .so file in iplanet fasttrack web server 4.1 on AIX 4.3. I have build the .so file on IBM AIX 4.3. But while starting the web-server it failed to start.It fails when I include the following in obj.conf "Init fn="test-init" config="ConfigFile". While starting web-server I got the following :
    server terminated (signal 11): watchdog is restarting it
    failure: server initialization failed
    Any pointers on this would be helpful.

    I got similar errors in the past when the web server process was running in the background. Sometimes shutting down WAS does not work.
    Before you start WAS ensure that no java process is running or better try rebooting.

  • Problem with email setup in iPhone after changing to secure settings

    When changing account settings to use Verizon's new secure email settings, my iPhone keeps giving error " Can not get Mail, the mail server incoming.verizon.net is not responding.
    I am using port 995 with SSL as instructed. Switching back to the standard port 110 with no SSL works fine.
    Outgoing works fine with port 465 and SSL.
    Also, same secure settings on Outlook 2010 work perfectly fine.
    Anyone having this issue?
    Solved!
    Go to Solution.

    gusverde wrote:
    When changing account settings to use Verizon's new secure email settings, my iPhone keeps giving error " Can not get Mail, the mail server incoming.verizon.net is not responding.
    I am using port 995 with SSL as instructed. Switching back to the standard port 110 with no SSL works fine.
    Outgoing works fine with port 465 and SSL.
    Also, same secure settings on Outlook 2010 work perfectly fine.
    Anyone having this issue?
    A few other people have posted that after making the changes they had to reboot their iPhone/iPad in order for it to connect again. Have you tried restarting?
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Problem with start-up on iMac after installing Leopard

    I have recently installed Mac OS X 10.5.4 on my iMac and also installed Time Capsule. Now when I turn the iMac on I get the white screen with the grey Apple symbol and the small count down clock/circle for around 1 minute. Then the Apply symbol becomes a grey circle with a line across it (like a non-smoking sign). The fans in the iMac then start up and I have to do a hard shut down using the power switch. I have tried holding the Option key down after the Apple chime on start up and then attempting to select the drive. This worked once but has not since. Does anyone have any idea what I should try next? Many thanks.

    I have the same problem. I read this:
    http://support.apple.com/kb/TS1417
    And followed the instructions. Basically my problem is that when the system boots, it goes into the desktop but not quite, and then reboots again with the gray screen, then shows the desktop again for a small amount of time, then reboots again.
    So I started from my OSX DVD 1 and ran the Disk Utility as recommended. Ran the "Repair Disk" twice. Then ran the "Repair Permissions" twice. (It showed some messages like "ACL found but not expected in /Library" etc).
    When I reboot, it still has the same problem. Won't show my desktop at all.
    What else can I do now? What is that ACL issue and how can I fix it (or do I have to - http://support.apple.com/kb/TS1448 )?
    Never had these issues with even the lesser OSes like Windows
    Thanks for any pointers!

  • Having problems with shut-down of server after I open a socket connection (which fails to connect)

    Basically here is an example servlet - new iPlanet 4.1sp9 instance with an empty classpath (apart from the servlet class) - running solaris v5.6 (Generic_111446-02)
    If you run the servlet and then try to shut-down iPlanet it hangs. If you remove the 'new Socket(...' line then it's fine. Any ideas why a failed socket connection stops the server restarting? (Connecting to a listening port does not exhibit this behavior).
    Cheers, source follows:
    * SocketServletTest.java
    * Created on 02 April 2002, 09:30
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.net.Socket;
    * @author kingrb
    * @version
    public class SocketServletTest extends HttpServlet
    private static boolean startedThread = false;
    /** Initializes the servlet.
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    /** Destroys the servlet.
    public void destroy()
    /** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
    * @param request servlet request
    * @param response servlet response
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException
    response.setContentType("text/html");
    java.io.PrintWriter out = response.getWriter();
    if (!startedThread)
    out.println("Starting thread");
    Thread t = new SocketThread();
    t.start();
    startedThread = true;
    out.println("Started thread);
    out.println("test");
    out.println("Prop is: " + System.getProperty("MyProp"));
    out.close();
    /** Handles the HTTP <code>GET</code> method.
    * @param request servlet request
    * @param response servlet response
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException
    processRequest(request, response);
    /** Handles the HTTP <code>POST</code> method.
    * @param request servlet request
    * @param response servlet response
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException
    processRequest(request, response);
    /** Returns a short description of the servlet.
    public String getServletInfo()
    return "Short description";
    private class SocketThread extends Thread
    public void run()
    int counter = 0;
    String errMsg = null;
    while (1==1)
    counter++;
    Socket s = null;
    try
    s = new Socket("127.0.0.1", 27087);
    s.close();
    catch(Exception e)
    errMsg = e.getMessage();
    if (s != null)
    errMsg += " & NOT NULL";
    try
    {s.close();} catch(Exception e2)
    System.setProperty("MyProp", String.valueOf(counter) + " - " + errMsg + "<BR>" + System.getProperty("java.class.path"));
    try {Thread.sleep(30000);} catch(Exception e) {}
    }

    Rob:
    it's due to JVM signal handler that catches the stop signal and you're forced to use a kill -9 -
    Note that the stop script of a fresh install of iWS 4.1SP9 should contain the kill -9 - as a workaround for this known JVM issue.

  • Cannot start Mac mini server after changing permissions

    I have a two-day-old Mac mini (server version) and all was OK until I decided to change the permissions on both hard drives (and all enclosed folders and files) to give read/write access to administrators. I received quite a few error messages about invalid kernel file extensions (I think) which I elected to ignore or override. Then when trying to log off, the machine hung.
    Safe reboot does not work. I have rebooted using <Command> S and get the following amongst the many messages:
    Bug: launchctl.c:3557 (23930):17: ioctl(s6, SIOCAIFADDR_IN6, &ifra6) != -1
    then at the end of display, I get the following as the last 4 lines:
    launchctl: Dubious permissions on file (skipping): /Library/LaunchDaemons
    launchctl: Dubious permissions on file (skipping): /System/Library/LaunchDaemons
    launchctl: Dubious permissions on file (skipping): /etc/mach_init.d
    AppleIntelCPUPowerManagement: initialization complete
    There are no peripherals and I cannot try re-installing Snow Leopard for two reasons. First, I have no disk. More importantly, there is no CD drive - this is a Mac mini.
    Please help!

    HHMNY wrote:
    I have a two-day-old Mac mini (server version) and all was OK until I decided to change the permissions on both hard drives (and all enclosed folders and files) to give read/write access to administrators.
    doing this completed scrambled your system. you now have no choice but to reinstall Snow Leopard.
    and in the future NEVER use "apply to enclosed items on ANY system created folders. and certainly NEVER EVER use it on the whole system drive.

  • NoDomainToStart with Sun One Server 7

    I am getting the error NoDomainToStart, when I start
    Sun One Server 7. What is the solution. Pls. respond soon.

    The new one is supposed to be backward comptible. In any case, I've run the migration tool and redeployed, but same issues exist.

  • I created one apple I'd when I started using the iPad.  After some days, I had to create a new apple I'd as there was some problem with the first one. Now at some places still my old apple I'd is appearing.  Pls adv how I change this to my new apple Id.

    I created one apple I'd when I started using the iPad.  After some days, I had to create a new apple id
    as there was some problem with the first one. Now at some places still my old apple Id is appearing.  Pls adv how I change this to my new apple Id.

    Anything you downloaded with the first Apple Id will forever be tied to it, and will always require it to update.
    The question here is, why did you think you needed to create a new Apple ID? What was the problem with the first one?
    To get rid of th old one, you'll need to delete everything you downloaded with it, and then sign out of the ID in several places around the iPad. 
    Go to Settings->iTunes & App Stores->Apple ID->Sign out.
    Repeat the process, for Facetime, Messages, Mail and any other App you need to sign out of.

  • Problem starting Sun One Application - JMS Exception

    Hello,
    I'm having some trouble trying to start SunONE JMS sever via the Sun ONE application server v7 running on RedHat Linux 7.3.
    When I start the app server via the asadmin tool I receive the following exception,
    [root@sc-test1 config]# asadmin start-appserv
    Instance domain1:admin-server started
    Could not start the instance: domain1:server1
    server failed to start: abnormal subprocess termination
    Could not start one or more instances in the domain : domain1
    Could not start one or more domains
    The following exception is outputted to the server log,
    19/Sep/2003:15:47:14] INFO ( 2135): CORE1116: Sun ONE Application Server 7.0.0_00
    [19/Sep/2003:15:47:15] INFO ( 2137): CORE3016: daemon is running as super-user
    [19/Sep/2003:15:47:17] INFO ( 2137): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.1] from [Sun Microsystems Inc.]
    [19/Sep/2003:15:47:54] INFO ( 2137): JMS5035: Timed out after 30000 milliseconds while trying to verify if the JMS service startup succeeded.
    [19/Sep/2003:15:47:54] INFO ( 2137): JMS5036: More details may be available in the log file for the JMS service broker instance domain1_server1. Please refer to the JMS provider documentation for the exact location of this log file.
    [19/Sep/2003:15:47:54] SEVERE ( 2137): JMS5024: JMS service startup failed.
    [19/Sep/2003:15:47:54] SEVERE ( 2137): CORE5071: An error occurred during initialization
    com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation. - caught java.net.ConnectException
    at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:247)
    at com.iplanet.ias.server.ApplicationServer.onInitialization(ApplicationServer.java:206)
    at com.iplanet.ias.server.J2EERunner.confPreInit(J2EERunner.java:114)
    Caused by: com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation. - caught java.net.ConnectException
    at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:231)
    ... 2 more
    Caused by: javax.jms.JMSException: [C4003]: Error occurred on connection creation. - caught java.net.ConnectException
    at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSException(ExceptionHandler.java:183)
    at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleException(ExceptionHandler.java:136)
    at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:145)
    at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:86)
    at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:47)
    at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:46)
    at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:101)
    at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:501)
    at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:930)
    at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:1482)
    at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:403)
    at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:234)
    at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:33)
    at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConnectionImpl.java:32)
    at com.sun.messaging.ConnectionFactory.createQueueConnection(ConnectionFactory.java:72)
    at com.sun.messaging.jmq.admin.jmsspi.JMSAdminImpl.pingProvider(JMSAdminImpl.java:733)
    at com.iplanet.ias.jms.JmsProviderLifecycle.waitForJmsProvider(JmsProviderLifecycle.java:284)
    at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:224)
    ... 2 more
    [19/Sep/2003:15:47:54] SEVERE ( 2137): CORE3186: Failed to set configuration
    I can confirm that the default JMS port (7676) is not be used elsewhere / by another process on the server and that netfilter/iptables are not active/running.
    I have also tried different/alternative ports for the JMS server however it still fails to startup.
    Any help much appreciated.
    Thanks and Regards,
    Rachel Gilmer

    I have encountered similar problem when running Sun Application server 7 in Fedora Core 2.
    It seems that problem was due to improper shutdown of my system.
    Following was what I did to resolve the problem:
    Look for the JMS installation directory (installed & created together with the application server). Mine is in /var/opt/imq. In the dir,
    look for directory instances/domain1_server1 (if your server is running in domain1 server1). Look for a file called lock. Remove the lock file (rename if you are not sure).
    After that I was able to successfully start the server.

  • Problem with starting more than one SwingWorker

    Hello
    I wonder if anyone could tell me if there are known problems with starting more than one SwingWorker thread at once?
    In response to an action the user performs, I need to obtain several lists of things from the server. This includes a couple of server-calls, and I want to do the server calls in a thread outside the awt-event thread. So I start a couple of SwingWorker-threads. This works fine sometimes, but not always. Sometimes code in some of the SwingWorkers finished method does not update the ui. I can see that the correct calls are made, but the ui is still not updated correctly. The problem seems to be related to the sequence of when the different thread are finished. For instance, if the sequence is like this:
    SwingWorker1.construct
    SwingWorker2.construct
    SwingWorker1.finished
    SwingWorker2.finished
    Things go fine, but if the sequence is:
    SwingWorker1.construct
    SwingWorker1.finished
    SwingWorker2.construct
    SwingWorker2.finished
    the ui-updates in SwingWorker1.finished is not done correctly.
    Can anyone help me with this?

    This is the point:
    In one SwingWorker thread you have 1 construct method, and 1 finish method - which are both invoked once.
    Therefore you only have one opportunity to update the gui in that thread. This forces you to use many threads if you want regular updates, which I try to avoid.
    Therefore, the solution!
    Have a loop in the construct method that executes the algorithm accordingly, updating the gui accordingly at regular times, maintaining just the 1 thread - becomes easier and nicer for the programmer and the JVM.
    The finish method in this case is to update the gui when all iterations are finished.
    There is nothing wrong with this. Just because you have a finish method that is called in the event-dispatching thread doesn't mean that all your update code must be in there.
    What you MUST ensure is that ALL your update code is executed in the event-dispatching thread, that is the most important thing. After all, SwingWorker is just a helper class, not the gospel template of how to update a gui.

  • Sun one server 6.0 doesn't work well with explorer

    We've sun one server 6.0 sp4 running in a sparc server as SSL server and too as common server on port 80. The most our clients , 95%, are explorer browser users.
    The server has known bugs with SSL3 , interoperatibility with MSIE problem 532427. The solutions suggested in the server documentation don't work. We tryed the solutions suggested many times and in few time we got complaints from clients, people get "this page can't be displayed". I had to set the server to work with SSL2 only , althought security's reports tell that this protocol is not safe.
    The second bug is concern the latencies loading pages with explorer. I apply the solution suggested, KeepAliveQueryMeanTime 1, it doesn't work well too. We don't feel the latencies on new machines or light browsers as avant , but we still feel these latencies with old machines or if the users uses modem. A lot of people still see very strong latencies.
    I feel the server wasn't tested enough with explorer browser , it has so many compatibility problems with this browser.I think for the most webmasters the perfect compatibility with explorer is very important.
    We payed for this server and it is worst than apache ,apache group fixed the SSL problem long time ago. Only one thing we need doesn't work well in apache then we contenue to use sun one server. But this diference is not enough to justify the use of this server if sun don't fix these problems. I'm talking about problems they exist more than 1 year, they were when i installed the server then i contenue to work with iplanet 4.1 and SSL2. I read the new version server characteristics, version 6.1 , i didn't find anything telling that these problems were fixed.
    Yair Lapin
    Hebrew University Webmaster

    Yair -
    Unfortunately this is a little vague. Can you tell us specifically what problem(s) you're having (unfortunately your current message does not go into adequate detail for us to understand the problems you see, or to make recommendations about how to remedy them).
    Thanks
    Joe

  • Unable to start Sun One Web Server 6.1 SP5 64bits on Solaris 10

    Hello,
    I installed the Sun One Web Server 6.1 SP5 64bits successfully on a Solaris 10 machine, but was unable to started up the web server application:
    The error message is below,
    # pwd
    /app/SUNWwbsvr61sp5/https-admserv
    # ls
    ClassCache config restart SessionData stop
    conf_bk logs rotate start webapps
    # ./start
    Sun ONE Web Server 6.1SP5 (64-Bit) B12/02/2005 04:37
    failure: CORE3170: Configuration initialization failed: Error running init function load-modules: dlopen of /app/SUNWwbsvr61sp5/bin/https/lib/libj2eeplugin.so failed (ld.so.1: webservd: fatal: libjvm.so: open failed: No such file or directory)
    I have searched the forum and found some what similar case but it was for SP4.
    Please if anyone had experienced with this please advise how to resolve this issue.
    I greatly appreciated,
    Thank you
    Edited by: n2sun on Jun 12, 2008 10:15 AM

    just check the env file for the user who is starting or running that.
    say if it is cshell, you can see the following variables in the .cshrc which will be under the user's home directory
    setenv JAVAHOME  WS_Root/jdk
    setenv LD_LIBRARY_PATH  WS_Root/lib: /libnow source that file
    source .cshrcthen start the webserver.

Maybe you are looking for

  • How to use bean in forms

    i create one form based on emp. then i create beanarea and set its "Implementation Class Property" to oracle.forms.demos.Calendar. i copied calendar.jar from D:\oracle\ds9i\forms90\demos\jars to this lacation D:\oracle\ds9i\forms90\java after i write

  • Class not registered in dashboard designer?

    Hi, I am new to SAP and this forum as well kindly apologize for my mistakes and silly questions... I have installed SAP Dashboard design version: 6.0.0.0 Build: 14,0,2,364 on my windows XP system which have already BO client version : 14.0.3 Build 61

  • Navigation Controls on Reports

    Hi Can anyone tell me how to move the navigation control on my report. I set the pagestrem=yes, the Page Navigation Control Type to Text and the Page Navigation Control Value with the default code, and the only thing i get is just 5 buttons on the lo

  • Facetime able to use personal hotspot as the wifi needed?

    I have a Verizon iPhone 4. Although the personal hotspot works for providing wifi to my nearby iPad or a friends iPhone nearby, it does not appear that my phone, which generates wifi with it's hotspot recognizes it's own wifi and so is unable to use

  • Top Count in SmartView Data Filter

    I'm trying to do a Top Count data filter in SmartView. I can get it to work in MDX no problem but I get the following error when I do it in SmartView: "Cannot query members by name. Analytic Server Error(1007116): No dimension is tagged as Time dimen