IE 6.0/java console does not close in JRE 1.5

I have a browser page that launches an applet when we access it.
Usually, when I close this window the application would close too, but after upgrading to JRE 1.5, the browser instance continues to run, along with the java console unless I kill the process in the Task Manager.
It also gives this stack trace in the console:
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
I would really appreciate replies to this.
Sangeetha

Hi,
Posting the complete stack trace:
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at javax.swing.JTable.getRowCount(Unknown Source)
     at javax.swing.plaf.basic.BasicTableUI.createTableSize(Unknown Source)
     at javax.swing.plaf.basic.BasicTableUI.getPreferredSize(Unknown Source)
     at javax.swing.JComponent.getPreferredSize(Unknown Source)
     at com.emax.components.DetailTable.getPreferredSize(DetailTable.java:264)
     at javax.swing.JTable.setWidthsFromPreferredWidths(Unknown Source)
     at javax.swing.JTable.doLayout(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validate(Unknown Source)
     at com.emax.components.DetailTable.resetRenderersAndEditors(DetailTable.java:1526)
     at com.emax.components.DetailTable.tableChanged(DetailTable.java:335)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at com.emax.components.DetailTable.tableChanged(DetailTable.java:334)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at com.emax.desktop.client.DetailPanel.isFinished(DetailPanel.java:251)
     at com.emax.desktop.client.SearchDetailPanel.tableChanged(SearchDetailPanel.java:76)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at com.emax.desktop.client.DetailPanel.isFinished(DetailPanel.java:251)
     at com.emax.desktop.client.SearchDetailPanel.tableChanged(SearchDetailPanel.java:76)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at com.emax.desktop.client.DetailPanel.isFinished(DetailPanel.java:251)
     at com.emax.desktop.client.SearchDetailPanel.tableChanged(SearchDetailPanel.java:76)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at com.emax.desktop.client.DetailPanel.isFinished(DetailPanel.java:251)
     at com.emax.desktop.client.SearchDetailPanel.tableChanged(SearchDetailPanel.java:76)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at com.emax.desktop.client.DetailPanel.isFinished(DetailPanel.java:251)
     at com.emax.desktop.client.SearchDetailPanel.tableChanged(SearchDetailPanel.java:76)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at com.emax.desktop.client.DetailPanel.isFinished(DetailPanel.java:251)
     at com.emax.desktop.client.SearchDetailPanel.tableChanged(SearchDetailPanel.java:76)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at com.emax.desktop.client.DetailPanel.isFinished(DetailPanel.java:251)
     at com.emax.desktop.client.SearchDetailPanel.tableChanged(SearchDetailPanel.java:76)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at com.emax.desktop.client.DetailPanel.isFinished(DetailPanel.java:251)
     at com.emax.desktop.client.SearchDetailPanel.tableChanged(SearchDetailPanel.java:76)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at com.emax.desktop.client.DetailPanel.isFinished(DetailPanel.java:251)
     at com.emax.desktop.client.SearchDetailPanel.tableChanged(SearchDetailPanel.java:76)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at com.emax.desktop.client.DetailPanel.isFinished(DetailPanel.java:251)
     at com.emax.desktop.client.SearchDetailPanel.tableChanged(SearchDetailPanel.java:76)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at javax.swing.JTable.getRowCount(Unknown Source)
     at javax.swing.plaf.basic.BasicTableUI.createTableSize(Unknown Source)
     at javax.swing.plaf.basic.BasicTableUI.getPreferredSize(Unknown Source)
     at javax.swing.JComponent.getPreferredSize(Unknown Source)
     at com.emax.components.DetailTable.getPreferredSize(DetailTable.java:264)
     at javax.swing.JTable.setWidthsFromPreferredWidths(Unknown Source)
     at javax.swing.JTable.doLayout(Unknown Source)
     at java.awt.Container.validateTree(Unknown Source)
     at java.awt.Container.validate(Unknown Source)
     at com.emax.components.DetailTable.resetRenderersAndEditors(DetailTable.java:1526)
     at com.emax.components.DetailTable.tableChanged(DetailTable.java:335)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
     at com.emax.components.DetailTable.tableChanged(DetailTable.java:334)
     at com.emax.data.model.AbstractThreadedTableModel$1.run(AbstractThreadedTableModel.java:176)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)

Similar Messages

  • Workflow 2.6.4.0.0 configuration problem - Command window does not close

    I am trying to install Oracle Workflow 2.6.4.0.0. as part of Warehouse builder using the details mentioned in this link
    http://www.oracle.com/technology/obe/10gr2_owb/owb10gr2_gs/owb/lesson4/etl-mappings.htm
    From the Start menu click Programs > Oracle <Database HOME> > Configuration and Migration Tools >
    Workflow Configuration Assistant. The Assistant is started.
    Accept the default for Install Option
    Workflow Account: (Accept the default ) owf_mgr
    Workflow Password: owf_mgr
    SYS Password : <Enter the SYS account password>
    TNS Connect Descriptor: localhost:1521:orcl
    Click Submit.
    However following this document, the command window did not close, and I did not get any message stating that Workflow Configuration has successfully completed.
    The command window displays this message as the final step and does not close-
    WorkflowCA: Executing :C:\oracle\product\10.2.0\db_1\jdk\bin\java -jar C:\oracle
    \product\10.2.0\db_1\oc4j\j2ee\home\admin.jar ormi://localhost:6041 admin welcome -application WFALSNRSVCApp -testDataSource -location jdbc/WorkflowDS -username OWF_MGR
    Is this installation complete? How to resolve this?
    Please can any one help?
    Thanks very much
    Allan

    I ran into this problem. And it took me while to get it fixed, but It does work.
    First the TNS Desc is misleading. One would think that it would be host:port:sid. What it is really looking for is host:port:servicename. But if you want to use the "Change Tablespace" drop down list you need to, enter the sys password, change it to host:port:sid - Then use the drop list. And change it back before you press submit.
    The second thing that I found is that it wants to use the SYSTEM tablespace as temporary tablespace. THis is becuase it is looking for a temp tablespace called TEMP. If you look a the line default_temp = SYSTEM. And if you dont supply a tablespace it wanted to change it in the wfsysgnt.sql script in the $OH\wf\sql directory. You would think that what ever the default database tbs and temp tbs is - that owf would use that. No, it wanted to change it. Oracle needs to fix this.
    So here is how i fixed it. I had to create a temporary tablespace called TEMP, does not need to be big as I dropped it after it was done. Then i had to modify the wfinstall.csh script and use the install options. Not the /tablespace this option is obayed but it will try to use the SYSTEM as the temp tbs. Here is my example that I appended:
    /wfacct "owf_mgr" /wfpasswd "my_owf_mgr_pwd" /debug "true" /tnsConnDesc "my_host_ip:my_port:my_servicename" /syspasswd "change_on_install" /tablespace "OWF_TBS"

  • Enterprise Manager Console does not start

    Hi,
    I'm running a Windows 2000 PC with Oracle 9i Server on it.
    When I want to start the Enterprise Management Console
    (Start => Program...) there is only a short reaction on
    the Taskbar end when absolute nothing.
    I know this problem was already mentioned once here (OEM Console does not start but
    the answer there wasn't the right one for my problem.
    I could not change the oracle home directory with the ORACLE-HOME-Selector, because I have only one home directory (D:\Programme\oracle\ora92)
    My Path variable:
    D:\Programme\oracle\ora92\bin;C:\Programme\Oracle\jre\1.3.1\bin;C:\Programme\Oracle\jre\1.1.8\bin;C:\WINNT\MS\SMS\CORE\BIN;D:\Programme\Clementine7.2\BIN;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;D:\PROGRA~1\IBM\SQLLIB\BIN;D:\PROGRA~1\IBM\SQLLIB\FUNCTION;D:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;D:\Programme\IBM\DB2Extenders\bin;C:\Programme\Java\j2re1.4.2_02\bin
    And here is my oemapp.bat(It is located in D:\Programme\oracle\ora92\bin. I have already startet it manually with "oemapp.bat console" but there was only the reply ""The input line is too long.
    The syntax of the command is incorrect."
    @echo off
    REM #
    REM # Copyright (c) 1998,1999,2000,2001, 2002 Oracle Corporation. All rights reserved.
    REM #
    REM # PRODUCT
    REM #     Oracle Enterprise Manager, Version 9.2.0.0.0 Production
    REM #
    REM # FILENAME
    REM #     oemapp.bat
    REM #
    REM # DESCRIPTION
    REM #     This script is used to launch Applications of Oracle
    REM #     Enterprise Manager, Version 9
    REM #
    REM #
    if "%1%" == "recursive" goto startScript
    if Windows_NT == %OS% goto :ntSetup
    command.com /p /e:8196 /c oemapp recursive %1 %2 %3 %4 %5 %6 %7 %8 %9
    goto :end
    :ntSetup
    setlocal
    :startScript
    IF "%1%" == "trace" GOTO trace
    IF "%1%" == "TRACE" GOTO trace
    IF "%1%" == "debug" GOTO trace
    IF "%1%" == "DEBUG" GOTO trace
    GOTO start2
    :trace
    SHIFT
    SET ORACLE_OEM_CLIENTTRACE=TRUE
    SET TRACE= -DTRACING.LEVEL=2 -DTRACING.ENABLED=true
    :start2
    REM Make sure that our JRE is used for this invocation.
    if Windows_NT == %OS% SET PATH=C:\Programme\Oracle\jre\1.1.8\bin;%PATH%
    if not Windows_NT == %OS% SET PATH="C:\Programme\Oracle\jre\1.1.8\bin;%PATH%"
    SET CLASSROOT=D:\Programme\oracle\ora92/classes
    SET JLIBROOT=D:\Programme\oracle\ora92/jlib
    SET NETJLIBROOT=D:\Programme\oracle\ora92/network/jlib
    SET OEMCLASSES=%JLIBROOT%/oembase-9_2_0.jar;%JLIBROOT%/oemtools-9_2_0.jar
    SET BALICLASSES=%JLIBROOT%/swingall-1_1_1.jar;%JLIBROOT%/ewtcompat-3_3_15.jar;%JLIBROOT%/ewt3.jar;%JLIBROOT%/ewt3-nls.jar;%JLIBROOT%/share.jar;D:\Programme\oracle\ora92\sysman\jlib\master.jar;D:\Programme\oracle\ora92\sysman\jlib\master_de.jar
    SET AURORACLASSES=D:\Programme\oracle\ora92/lib/aurora_client.jar
    SET HELPCLASSES=%JLIBROOT%/help3.jar;%JLIBROOT%/help3-nls.jar;%JLIBROOT%/oracle_ice5.jar
    SET DBUICLASSES=%JLIBROOT%/dbui2.jar;%JLIBROOT%/dbui2-nls.jar
    SET KODIAKCLASSES=%JLIBROOT%/kodiak.jar
    SET JDBCCLASSES=D:\Programme\oracle\ora92/jdbc/lib/classes111.zip;D:\Programme\oracle\ora92/jdbc/lib/nls_charset11.zip
    SET NETCHARTSCLASS=D:\Programme\oracle\ora92/sysman/jlib/netchart360.jar
    SET ORBCLASSES=D:\Programme\oracle\ora92/lib/vbjorb.jar;D:\Programme\oracle\ora92/lib/vbjapp.jar
    SET SECURITYCLASSES=%JLIBROOT%/javax-ssl-1_1.jar;%JLIBROOT%/jssl-1_1.jar
    SET OSDNETCLASSES=%JLIBROOT%/netcfg.jar;%JLIBROOT%/o3logon.jar;%JLIBROOT%/verifier.jar
    SET OSDPKICLASSES=%JLIBROOT%/ewm-1_1.jar;%JLIBROOT%/ojpse_2_1_5.jar
    SET NETMGRCLASSES=%NETJLIBROOT%/netmgrm.jar;%NETJLIBROOT%/netmgr.jar;D:\Programme\oracle\ora92/network/tools
    SET XMLCLASSES=D:\Programme\oracle\ora92/lib/xmlparserv2.jar
    SET OLAPCLASSES=%JLIBROOT%/cvd.zip;%JLIBROOT%/jndi.jar;%JLIBROOT%/jewt4.jar;%JLIBROOT%/jewt4-nls.jar
    SET MISCCLASSES=D:\Programme\oracle\ora92/assistants/jlib/assistantsCommon.jar;D:\Programme\oracle\ora92/jlib/jle2.jar;D:\Programme\oracle\ora92/jle2-nls.jar
    SET QSMACLASSES=D:\Programme\oracle\ora92/rdbms/jlib/qsma.jar
    SET CLASSPATHADD=%CLASSROOT%;%OEMCLASSES%;%ORBCLASSES%;%BALICLASSES%;%HELPCLASSES%;%DBUICLASSES%;%JDBCCLASSES%;%KODIAKCLASSES%;%NETCHARTSCLASS%;%SECURITYCLASSES%;%OSDNETCLASSES%;%OSDPKICLASSES%;%NETMGRCLASSES%;%XMLCLASSES%;%AURORACLASSES%;%OLAPCLASSES%;%MISCCLASSES%;%QSMACLASSES%
    REM hook for classpath additions
    if not "%ORACLE_OEM_CLASSPATH%" == "" SET CLASSPATHADD=%ORACLE_OEM_CLASSPATH%;%CLASSPATHADD%
    REM # Oracle change manager requires the following for ocmtclsh.exe
    set GBP=
    if not exist %CLASSROOT%\oracle\sysman\vtt\vttz\VttzCmDragDropObject.class set GBP=true
    if "%ORACLE_OEM_JAVAMX%" == "" set ORACLE_OEM_JAVAMX=-mx128m
    REM if "%ORACLE_OEM_JAVAMS%" == "" set ORACLE_OEM_JAVAMS=-ms16m
    SET JRE=jrew -nojit %ORACLE_OEM_JAVAMX%
    SET NT_START=START
    if "%ORACLE_OEM_CLIENTTRACE%x" == "x" goto setup_cp
    SET JRE=jre -nojit %ORACLE_OEM_JAVAMX% %TRACE%
    SET NT_START=
    :setup_cp
    SET CLASSPATH_QUAL=cp
    if "%ORACLE_OEM_JAVARUNTIME%x" == "x" goto jreSetup
    SET JRE=%ORACLE_OEM_JAVARUNTIME%\bin\java %ORACLE_OEM_JAVAMX% %TRACE%
    SET CLASSPATH_QUAL=classpath
    SET CLASSPATHADD=%CLASSPATHADD%;%ORACLE_OEM_JAVARUNTIME%\lib\classes.zip
    :jreSetup
    SET ME=oemapp
    SET USAGE="Usage: %ME% <application_name>"
    if Windows_NT == %OS% goto ntCheckAppName
    if not "%2%" == "" goto start95
    @echo %USAGE%
    goto end
    :start95
    if "%GBP%" == "true" goto gbp
    %JRE% -DORACLE_HOME=D:\Programme\oracle\ora92 -DORBdisableLocator=true -Djdbc.backward_compatible_to_816=true %JREOPTIONS_STRING% -%CLASSPATH_QUAL% "%CLASSPATHADD%" oracle.sysman.vtx.vtxOemApp.OemApp %2 %3 %4 %5 %6 %7 %8 %9
    goto end
    :gbp
    %JRE% -DORACLE_HOME=D:\Programme\oracle\ora92 -DGENERAL_BUS_PACK="" -DORBdisableLocator=true -Djdbc.backward_compatible_to_816=true %JREOPTIONS_STRING% -%CLASSPATH_QUAL% "%CLASSPATHADD%" oracle.sysman.vtx.vtxOemApp.OemApp %2 %3 %4 %5 %6 %7 %8 %9
    goto end
    :ntCheckAppName
    if not "%1%" == "" goto startNT
    @echo %USAGE%
    goto end
    :startNT
    set ADMIN_WRL=D:\Programme\oracle\ora92\sysman\admin
    set GBP_PROP=
    if "%GBP%" == "true" set GBP_PROP=-DGENERAL_BUS_PACK=""
    %NT_START% %JRE% -DADMIN_WRL=%ADMIN_WRL% -DORACLE_HOME=D:\Programme\oracle\ora92 %GBP_PROP% -DORBdisableLocator=true -Djdbc.backward_compatible_to_816=true %JREOPTIONS_STRING% -%CLASSPATH_QUAL% "%CLASSPATHADD%" oracle.sysman.vtx.vtxOemApp.OemApp %1 %2 %3 %4 %5 %6 %7 %8 %9
    endLocal
    :end
    Thnaks for any help.
    Nice day

    Marcus,
    Is your machine connected to a Novell network? If so, edit the oemapp.bat file and change every reference of Windows_NT to WINNT. The issue is Novell does not set the Windows_NT variable, and uses the WINNT variable instead.
    Jim

  • Admin console does not open

    Hello everybody!!
    this is my first post.Please help me.
    I am new to JEE and i am having problem in starting it.I have installed JEE 5 update 3 on win XP and i am using Firefox mozilla as my browser.
    The installation of JEE goes fine and i get the congratulation message that installation is successfull.
    Then when i start the default server the message on the command promt is like this::
    Starting Domain domain1, please wait.
    Log redirected to C:\Sun\SDK\domains\domain1\logs\server.log.
    Redirecting output to C:/Sun/SDK/domains/domain1/logs/server.log
    Domain domain1 is ready to receive client requests. Additional services are bein
    g started in background.
    Domain [domain1] is running [Sun Java System Application Server 9.1 (build b58g-
    fcs)] with its configuration and logs at: [C:\Sun\SDK\domains].
    Admin Console is available at [http://localhost:4848].
    Use the same port [4848] for "asadmin" commands.
    User web applications are available at these URLs:
    [http://localhost:8080 https://localhost:8181 ].
    Following web-contexts are available:
    [web1  /__wstx-services ].
    Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
    [service:jmx:rmi:///jndi/rmi://WAGONTRACKER:8686/jmxrmi] for domain management p
    urposes.
    Domain listens on at least following ports for connections:
    [8080 8181 4848 3700 3820 3920 8686 ].
    Domain does not support application server clusters and other standalone instanc
    es.
    Press Any Key to Continue..
    After this when i start the Admin console from > start > program
    a new browser opens with url http://localhost:4848/ but admin consol does not open.
    i tried to open it by manually typing http://localhost:4848/ but still nothing works.
    please help.I have uninstalled and re-installed it many times but nothing changes.
    plz help as i badly need help.
    Thanks in advance.

    As per the Quick Start for Basic Features given in the JEE C:\Sun\SDK\docs http:// localhost:4848 should open Sun Java System Application Server Admin Console where i am supposed to enter admin user name and password to proceed further but this doesnot happen.
    I checked the log it shows the message with following error Unexpected error forwarding or redirecting to login page.
    I am copy pasting the entire error message.Please guide me if u can ::
    Nov 13, 2007 4:22:30 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
    INFO:
    C:/Program Files/Java/jdk1.6.0\bin\java
    -Dcom.sun.aas.instanceRoot=C:/Sun/SDK/domains/domain1
    -Dcom.sun.aas.ClassPathPrefix=
    -Dcom.sun.aas.ClassPathSuffix=
    -Dcom.sun.aas.ServerClassPath=
    -Dcom.sun.aas.classloader.appserverChainJars.ee=
    -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
    -Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
    -Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
    -Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
    -Dcom.sun.aas.classloader.serverClassPath.ee=Does not exist/lib/hadbjdbc4.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbm.jar,Does not exist/lib/hadbmgt.jar,C:/Sun/SDK/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
    -Dcom.sun.aas.classloader.serverClassPath=C:/Sun/SDK/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/SDK/imq/lib/jaxm-api.jar,C:/Sun/SDK/imq/lib/fscontext.jar,C:/Sun/SDK/imq/lib/imqbroker.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/lib/ant/lib/ant.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
    -Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/SDK/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
    -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Program Files/Java/jdk1.6.0/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,C:/Sun/SDK/imq/lib/jaxm-api.jar,C:/Sun/SDK/imq/lib/fscontext.jar,C:/Sun/SDK/imq/lib/imqbroker.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/Sun/SDK/updatecenter/lib/updatecenter.jar,C:/Sun/SDK/jbi/lib/jbi.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/lib/ant/lib/ant.jar,dbschema.jar
    -Dcom.sun.aas.configName=server-config
    -Dcom.sun.aas.configRoot=C:/Sun/SDK/config
    -Dcom.sun.aas.defaultLogFile=C:/Sun/SDK/domains/domain1/logs/server.log
    -Dcom.sun.aas.domainName=domain1
    -Dcom.sun.aas.installRoot=C:/Sun/SDK
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -Dcom.sun.aas.promptForIdentity=true
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Dcom.sun.updatecenter.home=C:/Sun/SDK/updatecenter
    -Ddomain.name=domain1
    -Djava.endorsed.dirs=C:/Sun/SDK/lib/endorsed
    -Djava.ext.dirs=C:/Program Files/Java/jdk1.6.0/lib/ext;C:/Program Files/Java/jdk1.6.0/jre/lib/ext;C:/Sun/SDK/domains/domain1/lib/ext;C:/Sun/SDK/javadb/lib
    -Djava.library.path=C:\Sun\SDK\lib;C:\Sun\SDK\lib;C:\Sun\SDK\bin;C:\Sun\SDK\bin
    -Djava.security.auth.login.config=C:/Sun/SDK/domains/domain1/config/login.conf
    -Djava.security.policy=C:/Sun/SDK/domains/domain1/config/server.policy
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Djavax.net.ssl.keyStore=C:/Sun/SDK/domains/domain1/config/keystore.jks
    -Djavax.net.ssl.trustStore=C:/Sun/SDK/domains/domain1/config/cacerts.jks
    -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
    -Djmx.invoke.getters=true
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -client
    -XX:+UnlockDiagnosticVMOptions
    -XX:MaxPermSize=192m
    -Xmx512m
    -XX:NewRatio=2
    -XX:+LogVMOutput
    -XX:LogFile=C:/Sun/SDK/domains/domain1/logs/jvm.log
    -cp
    C:/Sun/SDK/lib/jhall.jar;C:\Sun\SDK\lib\appserv-launch.jar
    com.sun.enterprise.server.PELaunch
    start
    [#|2007-11-13T16:22:33.843+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun Java System Application Server 9.1 (build b58g-fcs) ...|#]
    [#|2007-11-13T16:22:34.484+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=11;_ThreadName=pool-1-thread-2;com.sun.enterprise.interceptor.DynamicInterceptor;|MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor|#]
    [#|2007-11-13T16:22:39.187+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098: AS Socket Service Initialization has been completed.|#]
    [#|2007-11-13T16:22:39.390+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Client VM;1.6.0-beta2;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0-beta2] from [Sun Microsystems Inc.]|#]
    [#|2007-11-13T16:22:39.671+0530|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;|SEC1002: Security Manager is OFF.|#]
    [#|2007-11-13T16:22:42.640+0530|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|C:/Sun/SDK/domains/domain1/config/.__com_sun_appserv_pid|#]
    [#|2007-11-13T16:22:43.296+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:SunoneInterceptor is now enabled|#]
    [#|2007-11-13T16:22:45.890+0530|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
    [#|2007-11-13T16:22:48.406+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114: SSO is disabled in virtual server [server]|#]
    [#|2007-11-13T16:22:48.500+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114: SSO is disabled in virtual server [__asadmin]|#]
    [#|2007-11-13T16:22:51.156+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans started|#]
    [#|2007-11-13T16:22:52.625+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Thread-16;service:jmx:rmi:///jndi/rmi://WAGONTRACKER:8686/jmxrmi;|ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://WAGONTRACKER:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors|#]
    [#|2007-11-13T16:22:52.625+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Thread-16;true;|ADM1506: Status of Standard JMX Connector: Active = [true]|#]
    [#|2007-11-13T16:22:52.734+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|autoDeployment status dir missing, creating a new one|#]
    [#|2007-11-13T16:22:52.890+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|[AutoDeploy] Selecting file C:\Sun\SDK\lib\install\applications\MEjbApp.ear for autodeployment.|#]
    [#|2007-11-13T16:22:56.796+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|deployed with moduleid = MEjbApp|#]
    [#|2007-11-13T16:22:57.015+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|[AutoDeploy] Successfully autodeployed : C:\Sun\SDK\lib\install\applications\MEjbApp.ear.|#]
    [#|2007-11-13T16:22:57.015+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|[AutoDeploy] Selecting file C:\Sun\SDK\lib\install\applications\__ejb_container_timer_app.ear for autodeployment.|#]
    [#|2007-11-13T16:23:15.468+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|deployed with moduleid = __ejb_container_timer_app|#]
    [#|2007-11-13T16:23:15.578+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|[AutoDeploy] Successfully autodeployed : C:\Sun\SDK\lib\install\applications\__ejb_container_timer_app.ear.|#]
    [#|2007-11-13T16:23:15.593+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|[AutoDeploy] Selecting file C:\Sun\SDK\lib\install\applications\__JWSappclients.ear for autodeployment.|#]
    [#|2007-11-13T16:23:16.593+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|deployed with moduleid = __JWSappclients|#]
    [#|2007-11-13T16:23:16.656+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|[AutoDeploy] Successfully autodeployed : C:\Sun\SDK\lib\install\applications\__JWSappclients.ear.|#]
    [#|2007-11-13T16:23:18.156+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0302: Starting Sun-Java-System/Application-Server.|#]
    [#|2007-11-13T16:23:19.062+0530|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=13;_ThreadName=pool-1-thread-4;|JBIFW0010: JBI framework ready to accept requests.|#]
    [#|2007-11-13T16:23:20.781+0530|WARNING|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;_RequestID=52e0e134-6220-409e-9bb2-4e6214404417;|No Principals mapped to Role [noaccess].|#]
    [#|2007-11-13T16:23:23.234+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8080;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080|#]
    [#|2007-11-13T16:23:24.125+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8181;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181|#]
    [#|2007-11-13T16:23:24.140+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;4848;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848|#]
    [#|2007-11-13T16:23:46.843+0530|INFO|sun-appserver9.1|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|SMGT0007: Self Management Rules service is enabled|#]
    [#|2007-11-13T16:23:48.171+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#]
    Nov 14, 2007 4:11:21 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
    INFO:
    C:/Program Files/Java/jdk1.6.0\bin\java
    -Dcom.sun.aas.instanceRoot=C:/Sun/SDK/domains/domain1
    -Dcom.sun.aas.ClassPathPrefix=
    -Dcom.sun.aas.ClassPathSuffix=
    -Dcom.sun.aas.ServerClassPath=
    -Dcom.sun.aas.classloader.appserverChainJars.ee=
    -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
    -Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
    -Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
    -Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
    -Dcom.sun.aas.classloader.serverClassPath.ee=Does not exist/lib/hadbjdbc4.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbm.jar,Does not exist/lib/hadbmgt.jar,C:/Sun/SDK/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
    -Dcom.sun.aas.classloader.serverClassPath=C:/Sun/SDK/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/SDK/imq/lib/jaxm-api.jar,C:/Sun/SDK/imq/lib/fscontext.jar,C:/Sun/SDK/imq/lib/imqbroker.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/lib/ant/lib/ant.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
    -Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/SDK/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
    -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Program Files/Java/jdk1.6.0/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,C:/Sun/SDK/imq/lib/jaxm-api.jar,C:/Sun/SDK/imq/lib/fscontext.jar,C:/Sun/SDK/imq/lib/imqbroker.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/Sun/SDK/updatecenter/lib/updatecenter.jar,C:/Sun/SDK/jbi/lib/jbi.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/lib/ant/lib/ant.jar,dbschema.jar
    -Dcom.sun.aas.configName=server-config
    -Dcom.sun.aas.configRoot=C:/Sun/SDK/config
    -Dcom.sun.aas.defaultLogFile=C:/Sun/SDK/domains/domain1/logs/server.log
    -Dcom.sun.aas.domainName=domain1
    -Dcom.sun.aas.installRoot=C:/Sun/SDK
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -Dcom.sun.aas.promptForIdentity=true
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Dcom.sun.updatecenter.home=C:/Sun/SDK/updatecenter
    -Ddomain.name=domain1
    -Djava.endorsed.dirs=C:/Sun/SDK/lib/endorsed
    -Djava.ext.dirs=C:/Program Files/Java/jdk1.6.0/lib/ext;C:/Program Files/Java/jdk1.6.0/jre/lib/ext;C:/Sun/SDK/domains/domain1/lib/ext;C:/Sun/SDK/javadb/lib
    -Djava.library.path=C:\Sun\SDK\lib;C:\Sun\SDK\lib;C:\Sun\SDK\bin;C:\Sun\SDK\bin
    -Djava.security.auth.login.config=C:/Sun/SDK/domains/domain1/config/login.conf
    -Djava.security.policy=C:/Sun/SDK/domains/domain1/config/server.policy
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Djavax.net.ssl.keyStore=C:/Sun/SDK/domains/domain1/config/keystore.jks
    -Djavax.net.ssl.trustStore=C:/Sun/SDK/domains/domain1/config/cacerts.jks
    -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
    -Djmx.invoke.getters=true
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -client
    -XX:+UnlockDiagnosticVMOptions
    -XX:MaxPermSize=192m
    -Xmx512m
    -XX:NewRatio=2
    -XX:+LogVMOutput
    -XX:LogFile=C:/Sun/SDK/domains/domain1/logs/jvm.log
    -cp
    C:/Sun/SDK/lib/jhall.jar;C:\Sun\SDK\lib\appserv-launch.jar
    com.sun.enterprise.server.PELaunch
    start
    [#|2007-11-14T16:11:24.218+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun Java System Application Server 9.1 (build b58g-fcs) ...|#]
    [#|2007-11-14T16:11:24.984+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=11;_ThreadName=pool-1-thread-2;com.sun.enterprise.interceptor.DynamicInterceptor;|MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor|#]
    [#|2007-11-14T16:11:28.796+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098: AS Socket Service Initialization has been completed.|#]
    [#|2007-11-14T16:11:28.937+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Client VM;1.6.0-beta2;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0-beta2] from [Sun Microsystems Inc.]|#]
    [#|2007-11-14T16:11:29.093+0530|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;|SEC1002: Security Manager is OFF.|#]
    [#|2007-11-14T16:11:32.093+0530|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|C:/Sun/SDK/domains/domain1/config/.__com_sun_appserv_pid|#]
    [#|2007-11-14T16:11:32.656+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:SunoneInterceptor is now enabled|#]
    [#|2007-11-14T16:11:33.421+0530|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
    [#|2007-11-14T16:11:36.125+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114: SSO is disabled in virtual server [server]|#]
    [#|2007-11-14T16:11:36.203+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114: SSO is disabled in virtual server [__asadmin]|#]
    [#|2007-11-14T16:11:38.765+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans started|#]
    [#|2007-11-14T16:11:40.125+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Thread-16;service:jmx:rmi:///jndi/rmi://WAGONTRACKER:8686/jmxrmi;|ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://WAGONTRACKER:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors|#]
    [#|2007-11-14T16:11:40.125+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Thread-16;true;|ADM1506: Status of Standard JMX Connector: Active = [true]|#]
    [#|2007-11-14T16:11:44.562+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0302: Starting Sun-Java-System/Application-Server.|#]
    [#|2007-11-14T16:11:45.078+0530|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=13;_ThreadName=pool-1-thread-4;|JBIFW0010: JBI framework ready to accept requests.|#]
    [#|2007-11-14T16:11:46.531+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8080;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080|#]
    [#|2007-11-14T16:11:46.765+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8181;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181|#]
    [#|2007-11-14T16:11:46.781+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;4848;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848|#]
    [#|2007-11-14T16:11:51.000+0530|INFO|sun-appserver9.1|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|SMGT0007: Self Management Rules service is enabled|#]
    [#|2007-11-14T16:11:51.140+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#]
    [#|2007-11-14T16:16:22.562+0530|WARNING|sun-appserver9.1|org.apache.catalina.authenticator.FormAuthenticator|_ThreadID=14;_ThreadName=httpWorkerThread-4848-0;_RequestID=7c5099e9-801f-40b6-970c-e46d7ff10a2e;|Unexpected error forwarding or redirecting to login page
    java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
         at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:423)
         at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:240)
         at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1146)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:627)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:609)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
         at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
    |#]
    [#|2007-11-14T16:18:24.656+0530|WARNING|sun-appserver9.1|org.apache.catalina.authenticator.FormAuthenticator|_ThreadID=15;_ThreadName=httpWorkerThread-4848-1;_RequestID=50bcdb69-192e-4f07-b349-efb87277cbae;|Unexpected error forwarding or redirecting to login page
    java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
         at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:423)
         at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:240)
         at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1146)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:627)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:609)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
         at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
    |#]
    [#|2007-11-14T16:42:14.437+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=RMI TCP Connection(18)-127.0.0.1;|WEB0303: Stopping Sun-Java-System/Application-Server.|#]
    [#|2007-11-14T16:42:16.890+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=RMI TCP Connection(18)-127.0.0.1;8080;|WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 8080|#]
    [#|2007-11-14T16:42:18.578+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=RMI TCP Connection(18)-127.0.0.1;8181;|WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 8181|#]
    [#|2007-11-14T16:42:19.421+0530|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=RMI TCP Connection(18)-127.0.0.1;4848;|WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 4848|#]
    [#|2007-11-14T16:43:03.546+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=16;_ThreadName=RMI TCP Connection(18)-127.0.0.1;|CORE5051: Shutting down all J2EE applications ...|#]
    [#|2007-11-14T16:43:03.546+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=16;_ThreadName=RMI TCP Connection(18)-127.0.0.1;|CORE 5060 :  Stopping all J2EE Connector 1.5 Compliant resource adapters ...|#]
    [#|2007-11-14T16:43:03.562+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=16;_ThreadName=RMI TCP Connection(18)-127.0.0.1;|CORE 5061 : Resource adapters Stop() Complete|#]
    [#|2007-11-14T16:43:03.562+0530|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=16;_ThreadName=RMI TCP Connection(18)-127.0.0.1;|CORE5052: Application shutdown complete.|#]
    [#|2007-11-14T16:43:04.484+0530|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=16;_ThreadName=RMI TCP Connection(18)-127.0.0.1;|[AutoDeploy] Disabling AutoDeployment service.|#]
    [#|2007-11-14T16:43:12.046+0530|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=16;_ThreadName=RMI TCP Connection(18)-127.0.0.1;|JBIFW0042: JBI framework termination complete.|#]
    Thanks again.

  • Package java.servlet does not exists

    I am getting this error:
    c:Program Files\Java\jdk1.6.0_10\bin>javac -Xlint HelloServlet.java
    HelloServlet.java:2:package java.servlet does not exists
    import java.servlet.;
    ^
    HelloServlet.java:4; cannot find symbol
    symbol: class GenericServlet
    public class HelloServlet extends GenericServlet
    ^
    5 errors
    i am using jdk1.6.0_10. i tried to locate the servlet.jar file in the \lib directory, but the jar file was not there. how can i download one and include it in \lib?
    import java.io.*;
    import java.servlet.*;
    public class HelloServlet extends GenericServlet {
    public void service(ServletRequest request, ServletResponse response) throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter pw=response.getWriter();
    pw.println("<B>Hello!");
    pw.close();
    }

    jatilau wrote:
    forgive my ignorance.That's ok, we're all here to learn; but while (most) people on the forums are smart, they're (unfortunately) not all-knowing. They can't possibly know something about you or your environment unless you tell them.
    it is because i have no one to look up at for help with java, except for the book (The Complete Reference, Java 2, 3rd Edition, Naughton & Schildt) and, of course, some times this forum.There's the whole Internet available to you. Remember, Google is your friend.
    please, will anyone tell me how to find out what server type and version does JDK 1.6.0_10 provide? It doesn't. Java comes in three 'editions':
    Micro (JME, earlier J2ME which is meant for mobiles and other similar platforms)
    Standard (JSE, earlier J2SE which is what you're using, it's meant for core Java applications, like the sort you might use on your desktop.)
    Enterprise (JEE, earlier J2EE which is for server side code. This includes JSPs, Servlets, EJBs etc)
    i did not find any information about this in the book.Probably because it's a Java 'Standard' Edition (JSE or J2SE) book
    What you need, to learn about servlets, is a JEE book. I'd suggest Head First Servlets and JSP from O'Reilly. Otherwise, follow the link I gave earlier to find tutorials.
    To get started, you'll need a JDK, which you say you already have and a server. I'd suggest you get Tomcat. You will also find the servlet-api.jar after you setup Tomcat. This is an implementation of the JEE specification for servlets. This contains the javax.servlet.* packages you'll need to compile. Beyond this, the scope of what servlets are and how to deploy etc is rather large and best left to one of the afore-mentioned tutorials.

  • FMS proxying HTTP does not close sockets correctly?

    Hi,
    So, after waiting for a while, we decided to upgrade our streamers to FMS 3.5.3 and set them up to proxy HTTP requests to a lighttpd server instead of the "built in" Apache. With the previous version 3.5 of FMS, we had problems of FMS hanging up after a while and stopping relaying requests, generally a few hours, even when it did not serve a lot of requests. With version 3.5.3, we had great hopes that this problem had disappeared as we had FMS running for more than a month on a test server. So we did the upgrade and we encounter another problem:
    After less that one day of activity, our servers crashed for an unknown reason, almost at the same time. Analysing the logs, I saw out of memory messages, but how could two linux servers stop working in the same 5 minutes interval. I supposed there was a power failure of some sort. And I kept analysing because the sysadmins in the server room swore that they saw out of memory kernel panic on the consoles. After a bit of investigation, I found the reasons: the TCP connexions between FMS and the lighttpd server are stacking up and fill the OS network memory! Now, I don't know who is the culprit:
    FMS code does not manage correctly HTTP proxy sessions?
    lighttpd does not handle correctly HTTP proxying from FMS and does not close correctly the sessions?
    Our Ubuntu linux network stack is not correctly configured to manage so many connexions?
    Here are the details, any assistance is welcome!
    The servers: linux Ubuntu 8.04 with 8 GB RAM.
    FMS 3.5.3 proxying to lighttpd 1.4.19 listening on port 81. FMS and lighttpd are set up on the same server.
    The streamer receives many (> 10/s) HTTP requests from iPhones which are proxied to lighttpd. iPhones request partial content and lighttpd is well suited for these type of requests.
    Locking at the state of the TCP stack:
    # netstat -st
    IcmpMsg:
        InType3: 6
        InType8: 5501
        OutType0: 5501
        OutType3: 6
    Tcp:
        101662 active connections openings
        1192680 passive connection openings
        33 failed connection attempts
        177391 connection resets received
        1653 connections established
        73559682 segments received
        70196072 segments send out
        165137 segments retransmited
        0 bad segments received.
        37219 resets sent
    UdpLite:
    TcpExt:
        22 resets received for embryonic SYN_RECV sockets
        141884 packets pruned from receive queue because of socket buffer overrun
        2052 packets pruned from receive queue
        40293 TCP sockets finished time wait in fast timer
        801 time wait sockets recycled by time stamp
        711318 delayed acks sent
        2401 delayed acks further delayed because of locked socket
        Quick ack mode was activated 535 times
        68554 packets directly queued to recvmsg prequeue.
        11705 bytes directly in process context from backlog
        341070 bytes directly received in process context from prequeue
        5114830 packet headers predicted
        22083 packets header predicted and directly queued to user
        32542120 acknowledgments not containing data payload received
        25289961 predicted acknowledgments
        9191 times recovered from packet loss due to fast retransmit
        6222 times recovered from packet loss by selective acknowledgements
        Detected reordering 7 times using FACK
        Detected reordering 1 times using SACK
        Detected reordering 7 times using reno fast retransmit
        Detected reordering 9 times using time stamp
        15 congestion windows fully recovered without slow start
        42 congestion windows partially recovered using Hoe heuristic
        17 congestion windows recovered without slow start by DSACK
        16517 congestion windows recovered without slow start after partial ack
        51 TCP data loss events
        3916 timeouts after reno fast retransmit
        3372 timeouts after SACK recovery
        10048 timeouts in loss state
        9157 fast retransmits
        6 forward retransmits
        28990 retransmits in slow start
        30176 other TCP timeouts
        7656 classic Reno fast retransmits failed
        95 SACK retransmits failed
        2738020 packets collapsed in receive queue due to low socket buffer
        52 DSACKs sent for old packets
        52 DSACKs received
        3 connections reset due to unexpected data
        74950 connections reset due to early user close
        2846 connections aborted due to timeout
        TCP ran low on memory 10 times
        TCPDSACKIgnoredOld: 41
    IpExt:
    The last red line can be visualised below; sometimes the server crashes in out of memory kernel panic...
    And if you compare with previous behavior, you can tell when we did the upgrade to FMS 3.5.3...
    A few words on our previous configuration with FMS 3.5. To be able to accept HTTP requests, we have a front load balancer which is able to route HTTP requests to lighttpd and RTMP requests to FMS. But with this configuration, we don't benefit from the ability of FMS to fallback to RTMPT for clients behind a proxy or proxy ol' HTTP requests... With the previous configuration, we never had so many connections active simultaneously: we change from 200 max to more than 7000 with FMS 3.5.3 in proxy!
    Some figures on what exactly happens:
    # netstat -tn | grep :81 | awk '{print $6}' | sort | uniq -c
         20 CLOSE_WAIT
       2245 ESTABLISHED
       1236 FIN_WAIT1
          5 TIME_WAIT
    # netstat -tn
    Active Internet connections (w/o servers)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State
    tcp        0 275841 127.0.0.1:81            127.0.0.1:45088         FIN_WAIT1
    tcp   562347      0 127.0.0.1:55150         127.0.0.1:81            ESTABLISHED
    tcp        0 225152 127.0.0.1:81            127.0.0.1:34856         ESTABLISHED
    tcp        0 238081 127.0.0.1:81            127.0.0.1:54310         FIN_WAIT1
    tcp        0 114433 127.0.0.1:81            127.0.0.1:51810         FIN_WAIT1
    tcp   670800      0 127.0.0.1:40746         127.0.0.1:81            ESTABLISHED
    tcp   597444      0 127.0.0.1:40654         127.0.0.1:81            ESTABLISHED
    tcp   592810      0 127.0.0.1:40669         127.0.0.1:81            ESTABLISHED
    tcp        0 103168 127.0.0.1:81            127.0.0.1:54544         ESTABLISHED
    tcp        0 201344 127.0.0.1:81            127.0.0.1:40567         ESTABLISHED
    tcp        0      0 10.1.74.30:1935         10.1.74.2:60372         ESTABLISHED
    tcp   665360      0 127.0.0.1:45282         127.0.0.1:81            ESTABLISHED
    tcp        0 210432 127.0.0.1:81            127.0.0.1:40662         ESTABLISHED
    tcp        0 207361 127.0.0.1:81            127.0.0.1:44895         FIN_WAIT1
    tcp        0 109825 127.0.0.1:81            127.0.0.1:52144         FIN_WAIT1
    tcp        0 221825 127.0.0.1:81            127.0.0.1:54844         FIN_WAIT1
    tcp        0 103168 127.0.0.1:81            127.0.0.1:40791         ESTABLISHED
    tcp   782301      0 127.0.0.1:55074         127.0.0.1:81            ESTABLISHED
    tcp        0 219137 127.0.0.1:81            127.0.0.1:45040         FIN_WAIT1
    tcp        0 209921 127.0.0.1:81            127.0.0.1:44837         FIN_WAIT1
    tcp   574170      0 127.0.0.1:45275         127.0.0.1:81            ESTABLISHED
    tcp        0 252033 127.0.0.1:81            127.0.0.1:54907         FIN_WAIT1
    tcp        0 254977 127.0.0.1:81            127.0.0.1:54515         FIN_WAIT1
    tcp        0 142977 127.0.0.1:81            127.0.0.1:52129         FIN_WAIT1
    In case this is needed, FMS configuration is almost out of the box:
    _defaultRoot_/Adaptor.xml:
    <HTTPTunnel>
                    <Enable>true</Enable>
                    <NodeID></NodeID>
                    <IdlePostInterval>512</IdlePostInterval>
                    <IdleAckInterval>512</IdleAckInterval>
                    <IdleTimeout>60</IdleTimeout>
                    <MimeType>application/x-fcs</MimeType>
                    <WriteBufferSize>16</WriteBufferSize>
                    <SetCookie>true</SetCookie>
                    <Redirect enable="false" maxbuf="16384">
                            <Host port="80">:8080</Host>
                            <Host port="443">:8443</Host>
                    </Redirect>
                    <HttpProxy enable="true" maxbuf="16384">
                            <Host port="80">${HTTPPROXY.HOST}</Host>
                    </HttpProxy>
                    <NeedClose>true</NeedClose>
                    <MaxWriteDelay>20</MaxWriteDelay>
                    <MinWriteDelay>12</MinWriteDelay>
                    <MaxHeaderLineLength>1024</MaxHeaderLineLength>
    </HTTPTunnel>
    I've tried changing lighttpd configuration to handle KeepAlive session or not, it has no influence on the behaviour.
    If you spot a configuration mistake or have any idea, I'm ready to test it as soon as possible... Asa?
    Thanks

    Has this been fixed? What was done?
    We have been having the same issue. We worked on it with Adobe support and thought it might have been fixed with a "patched" version of FMS that was created to solve the problem. However, we still see the issue (recently we had a huge increase in load due to an annual event).
    Over time, when we run netstat, we see Apache connections (127.0.0.1:88134) stuck in a FIN_WAIT_1 state while the corresponding FMS processes (127.0.0.1:1025 to 5000) are in an ESTABLISHED state. It appears as though the connection is closed from the http proxy side while FMS doesn't acknowledge the close.
    We notice this behavior seems related to load. High load = connections getting hung more frequently. The only fix seems to be restarting the FMS service which restarts the embedded apache as well.
    I'm curious if you found a fix or even a workaround to help you cope with these connections. Even something to close them periodically would be a huge help. So far, we're resorting to an automatic restart of the server ever 2 days which is hardly a proper production solution.
    I would really appreciate any information you could provide with regards to your particular problem and whether or not it's been solved.
    An example (just a snippet) of the netstat monitor we have running each hour on the half-hour:
      Proto  Local Address          Foreign Address        State
      <snip FMS to Apache>
      TCP    127.0.0.1:2847         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2848         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2849         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2850         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2851         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2853         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2854         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2855         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2856         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2857         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2858         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2859         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2860         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2861         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2862         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2863         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2864         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2865         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2866         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2867         127.0.0.1:8134         ESTABLISHED
      TCP    127.0.0.1:2868         127.0.0.1:8134         ESTABLISHED
      </snip FMS to Apache>
      <snip Apache to FMS (corresponding entries)>
      TCP    127.0.0.1:8134         127.0.0.1:2847         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2848         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2849         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2850         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2851         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2853         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2854         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2855         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2856         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2857         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2858         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2859         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2860         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2861         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2862         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2863         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2864         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2865         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2866         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2867         FIN_WAIT_1
      TCP    127.0.0.1:8134         127.0.0.1:2868         FIN_WAIT_1
      </snip Apache to FMS>
    This particular log shows all ports between 1024 and 5000 in the same state as above. A restart resets all the connections and the process starts over. From my investigation, Apache seems to be acting properly. It tries to be a 'good citizen' and issue a graceful close that goes unacknowledged by FMS. Unfortunately, Apache doesn't go back to check a connection it considers closed, so they connection remains half-closed.
    Please, please let me know if you found anything out. Information on the web is scarce and I'm at my wit's end!

  • [svn:fx-trunk] 10608: Fix FB-19648: 'Terminate' action during debugging does not close the browser on Mac if path contains spaces

    Revision: 10608
    Author:   [email protected]
    Date:     2009-09-25 16:30:55 -0700 (Fri, 25 Sep 2009)
    Log Message:
    Fix FB-19648: 'Terminate' action during debugging does not close the browser on Mac if path contains spaces
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FB-19648
    Modified Paths:
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSession.java

    Revision: 10608
    Author:   [email protected]
    Date:     2009-09-25 16:30:55 -0700 (Fri, 25 Sep 2009)
    Log Message:
    Fix FB-19648: 'Terminate' action during debugging does not close the browser on Mac if path contains spaces
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FB-19648
    Modified Paths:
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSession.java

  • Modal dialog does not close until function finish

    Hello
    I am a modal dialog (yes/no buttons). When user selects YES, a function is executed. My problem is: Dialogo does not close until function finish.
    Many thanks for your help.
    This is the call to show modal dialog:
    boolean myRes;
    dlgYesNo.setTitle(" SINCRONIZE");
    dlgYesNo.setPreguntaUp("�Do you want to sincronize?");
    dlgYesNo.show();
    myRes = dlgYesNo.respDialogo();
    if (!myRes) return; // User selects NO
    sincronizeData(); //MODAL DIALOG DOES NOT CLOSE UNTIL THIS FUNCTION FINISH!!!
    This is the class to create modal dialog:
    public class DialogoYesNo extends java.awt.Dialog {
    /** Creates new form DialogoYesNo */
    public DialogoYesNo(java.awt.Frame parent, boolean modal) {
    super(parent, modal);
    initComponents();
    this.setSize(200,125);
    this.setResizable(false);
    Dimension d = this.getToolkit().getScreenSize();
    this.setLocation((d.width-getSize().width)/2, (d.height-getSize().height)/2);
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {
    btYes = new java.awt.Button();
    lblDialogCentro = new java.awt.Label();
    lblDialogUp = new java.awt.Label();
    btNo = new java.awt.Button();
    lblDialogDown = new java.awt.Label();
    setLayout(null);
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(java.awt.event.WindowEvent evt) {
    closeDialog(evt);
    btYes.setLabel("Si");
    btYes.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btYesActionPerformed(evt);
    add(btYes);
    btYes.setBounds(30, 80, 60, 24);
    lblDialogCentro.setAlignment(java.awt.Label.CENTER);
    lblDialogCentro.setText("a");
    add(lblDialogCentro);
    lblDialogCentro.setBounds(10, 40, 180, 20);
    lblDialogUp.setAlignment(java.awt.Label.CENTER);
    add(lblDialogUp);
    lblDialogUp.setBounds(10, 30, 180, 20);
    btNo.setLabel("No");
    btNo.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btNoActionPerformed(evt);
    add(btNo);
    btNo.setBounds(110, 80, 60, 24);
    lblDialogDown.setAlignment(java.awt.Label.CENTER);
    add(lblDialogDown);
    lblDialogDown.setBounds(10, 50, 180, 20);
    pack();
    private void btYesActionPerformed(java.awt.event.ActionEvent evt) {
    // Add your handling code here:
    respuesta = true;
    setVisible(false);
    dispose();
    private void btNoActionPerformed(java.awt.event.ActionEvent evt) {
    // Add your handling code here:
    respuesta = false;
    setVisible(false);
    dispose();
    /** Closes the dialog */
    private void closeDialog(java.awt.event.WindowEvent evt) {
    // Add your handling code here:
    * @param args the command line arguments
    public static void main(String args[]) {
    new DialogoYesNo(new java.awt.Frame(), true).show();
    public void setPreguntaUp(String p){       
    lblDialogUp.setVisible(true);
    lblDialogDown.setVisible(true);
    lblDialogCentro.setVisible(false);
    lblDialogUp.setText(p);
    public void setPreguntaDown(String p){
    lblDialogUp.setVisible(true);
    lblDialogDown.setVisible(true);
    lblDialogCentro.setVisible(false);
    lblDialogDown.setText(p);
    public void setPreguntaCentro(String p){
    lblDialogUp.setVisible(false);
    lblDialogDown.setVisible(false);
    lblDialogCentro.setVisible(true);
    lblDialogCentro.setText(p);
    public void centrarPantalla(){
    Dimension d = this.getToolkit().getScreenSize();
    this.setLocation((d.width-getSize().width)/2, (d.height-getSize().height)/2);
    public boolean respDialogo(){
    return respuesta;
    // Variables declaration - do not modify
    private java.awt.Button btNo;
    private java.awt.Label lblDialogCentro;
    private java.awt.Button btYes;
    private java.awt.Label lblDialogUp;
    private java.awt.Label lblDialogDown;
    // End of variables declaration
    private boolean respuesta = false;
    }

    Hello
    This case works fine using following line to execute code after modal dialog:
    new Thread(new Runnable(){ public void run() { netCodeFunction(); }}).start();
    Regards

  • Report window does not close properly when using openDocument

    XI R2 InfoView
    Windows 2003 server
    IIS
    IE7
    We have been experimenting with the use of openDocument and have managed to achieve what we wanted but have one small problem.  When the document is retrieved it is opened in a new browser window.  When Close is selected from the drop-down Document menu the document is closed but the window shrinks to approx 8.5cm x 6 cm and remains open.
    A similar thing happens when we use the Preview button to view a document in the CMC, except in that case the document does not close and closing the browser window leaves a button on the Windows taskbar.  There doesn't appear to be a related window as it cannot be restored but you have to right click and select Close to get rid of it.
    Any ideas what is causing these problems and how we can get round them?

    Anne,
    There are some parameters in opendocument (for ex. sWindow) that can help control certain things, have you tried employing anything like that?  What I find frustrating is the behavior of opendocument based on whether you're running Infoview or WebI -- each product, using the same exact opendocument syntax yields different results.  Based on the sample code below, what I'm seeing with Infoview is the same browser instance is used for calling the child report, however, in WebI, a new browser instance is started and the child report is rendered in Infoview.  In my case, when running within WebI and getting a new browser instance in Infoview, and then using the "Document", "close" workflow, the second instance is exiting and I'm back to the previous browser.  Staying within Infoview entirely through the process, when closing the child report I get brought back to the folder list page.  Who's to know?
    ="<a href=https://<server>/businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?
    idocid=100798&lsSInput_Pos_Nbr="+[Position Number Tracking]+">"+[Position Number Tracking]
    +"</a>"
    (double spaced on purpose)
    Thanks,
    John

  • TestStatnd operatore Interface does not close properly

    Hi
    I am using LabVIEW 8.2 and TestStand 3.5. I use the default Operatore Interface (full featured) provided by NI. The TestExec.exe does not close properly when I exit the application. Everytime the process is running in windows. I had to use Windows Task Manager to kill the TestExec.exe manaully.
    Is there a fix for this?
    Thx
    Abdulla

    Hi,
    Do you start any new executions either from within your sequences or from within a step that you are not closing properly?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Download Window Does Not Close Upon Completion of Download

    I download a file, the Download Window opens, and asks where I want the file (I set that Tool-Option), but when it is done, the window does not close, even though the Option is set telling it to close when the download is complete
    == This happened ==
    Every time Firefox opened
    == prior to last update

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can try to reset the preferences to see if that helps.
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Mail window does not close anymore

    When I press the red dot or type CMD-W, the mail window does not close anymore. It just stays open, everything else works as usual. Any ideas, how to close the window again?
    TIA

    Look at the bottom frame of the Mail window; it may display a small dot thingie in the middle of its bar, something like this -
    If so, try clicking on that dot and dragging upward.
    If that works, you should have both panes present again. You can adjust the size of the window as a whole by dragging the bottom-right corner (where the hash marks are).

  • Webi report using openDocument URL,the window does not close..

    Hello,
    While viewing a Web intelligence report using openDocument URL, the window does not close after clicking on Document -> Close option, and the report remains open.
    And if I close the browser, the session of the user in InfoVierw remains opened
    Thanks
    Environment
    Firefox/3.6.15
    Internet Explorer 8
    BusinessObjects Enterprise XI 3.1
    SAP Integratio KIT XI 3.1
    SAP BW 7.02

    Please check SAP note 1512960  and SAP note 1384496.
    http://service.sap.com/notes
    This behaviour is by design.
    Regards,
    Stratos

  • Access DB (& .ldb file) does not close after crystal reports

    Post Author: mgold
    CA Forum: Crystal Reports
    Access DB (& .ldb file) does not close after crystal reports
    Hi! We have a VB application using Crystal Reports 6 that has worked successfully on hundreds of systems for over 10 years. Now, on one network, the application and access database does not close. It seems to hang on the &#91;.Close&#93; command.
    When we open the application an peruse the screens without opening up a report (using crystal reports), the application and access db closes fine. But as soon as we run a report and then close the report and try to close the application, the access db does not close. Many of the screens open the db and grab data from the access db, but it's only after running crystal reports that we have this problem. (Please see more information below.)
    Setup: Application and data (access 97 db) reside on a server in the same folder, but application shortcut is kicked off on client PC. Kicking off the shortcut on the client PC means that the image/process runs on the client PC (not on the server). In this problem case, the application shortcut is on a Windows XP Pro Version 2002 SP2 PC with the app & data on a Windows 2003 server. Users are local Admins on their PCs with "Full Control"over the directory and files on the server where the data (access 97 db) resides. This type of setup is typical and has worked without any problems for clients.
    The application is written in Visual Basic, using Crystal Reports 6 (using DAO). We close the recordset, set it to zero and then it hangs on closing the db (.Close command).
    A few key pieces of information:
    - The application closes fine if the app & data (access 97 db) are on a local PC. This includes closing fine if the application is run directly on the Windows 2003 server where the data is stored.
    - It worked on this client's network until sometime in the last few weeks.
    - One thing that changed is that the company is using VMWare on its servers. Not sure if they started using VMWare at the same time as it started failing. This may be unrelated. Possibly other things changed, but can't get any more information ... yet.
    - It works fine running the application from a Windows Vista PC with a user who is a domain admin.
    - The access db and application hang for about 10-20 minutes and then eventually closes. It appears that somehow
    Crystal Reports is keeping the db open, but I'm not sure why.The application doesn't quit and the database doesn't close even if I try to end the task with the Task Manager.
    - The Crystl32.ocx version being used is 8.0.0.4 (if that matters).
    - I copied 6 month old program files and database files to a test folder on the Windows 2003 server. It fails using these files that worked fine 6 months ago.
    Any ideas or help would be greatly appreciated! If you know of another good place to post this, please let me know.
    Thanks!
    - Mark

    Crystal doesn't support tables in HTML interpretation. 
    You can probably work your way around this by doing Replace() calls on the relevant tags.
    See:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313337333033383334%7D.do
    The supported HTML tags are:
    " html
    " body
    " div (causes a paragraph break)
    " tr (causes only a paragraph break; does not
    preserve column structure of a table)
    " span
    " font
    " p (causes a paragraph break)
    " br (causes a paragraph break)
    " h1 (causes a paragraph break, makes the font bold
    & twice default size)
    " h2 (causes a paragraph break, makes the font bold
    & 1.5 times default size)
    " h3 (causes a paragraph break, makes the font bold
    & 9/8 default size)
    " h4 (causes a paragraph break, makes the font bold)
    " h5 (causes a paragraph break, makes the font bold
    & 5/6 default size)
    " h6 (causes a paragraph break, makes the font bold
    & 5/8 default size)
    " center
    " big (increases font size by 2 points)
    " small (decreases font size by 2 points if it's 8
    points or larger)
    " b
    " i
    " s
    " strike
    " u
    The supported HTML attributes are:
    " align
    " face
    " size
    " color
    " style
    " font-family
    " font-size
    " font-style
    " font-weight

  • Enterprise Manager Console does not start on Win 2000 Pro

    I have installed Oracle 9i Release 2 Enterprise Manager on Win 2000 Professional. But the Enterprise Manager console does not start. Also the EM Configuration Assistant does not start.
    I have installed many times, but it is never successfull.
    I was installing Enterprise Edition -> General Purpose database.
    Tried the following from command prompt:
    oemapp.bat I get this message : "Usage: oemapp <application_name>"
    oemapp consoleI get : "bad command or file name"
    oemapp console oem.loginmode=standaloneI get : "bad command or file name"
    Is there any post installation configurations that need to be done?
    When I read thru the oemapp.bat, "Usage: oemapp <application_name>" was under the jreSetup module.
    Under C:\Program Files\Oracle\jre I have the folders with following Names(versions) 1.1.8 and 1.3.1.
    In the environment variable also I have C:\Program Files\Oracle\jre\1.1.8\bin and C:\Program Files\Oracle\jre\1.3.1\bin
    Could some one help me with this.
    Thanks,
    Aruna

    Marcus,
    Is your machine connected to a Novell network? If so, edit the oemapp.bat file and change every reference of Windows_NT to WINNT. The issue is Novell does not set the Windows_NT variable, and uses the WINNT variable instead.
    Jim

Maybe you are looking for

  • How to install expect-5 on RHEL

    Hi, I have downloaded expect-5.44.1.15.tar.gz. And found the following steps from google, patch -Np1 -i ../expect-5.40.0-spawn.patch ./configure prefix=/tools with-tcl=/tools/lib --with-x=no make make SCRIPTS="" install From where I can download this

  • Captivate 4--Anyone have approximate dates?

    I would like to know if anyone has heard about an approximate release date for Captivate 4 and what enhancements it is likely to contain. What I have been able to discern from a trail copy of Captivate 3 is that it does not contain a few features I n

  • Can't import some MP3s into Centrale

    $Can't import some MP3s into Centrale?I've been using Centrale with my X-Fi for a couple of years and have managed to tag and import 000s of mp3s wothout problem. I recently downloaded 2 series of podcasts from Absoluteradio and despite all attempts,

  • SAP Business One Budget Scenarios 2007A

    Hello, I have B1 2007A SP00 PL37 installed.  I am trying to add a Budget Scenario.  I click on Financials --> Budget Setup --> Budget Scenarios.  A screen pops up titled "Budget Scenarios -- Setup".  It has a beginning fiscal year in the drop-down li

  • Where can I find a print driver compatible with OS 10.7 for USB HP LaserJet P1006?

    Where can I find and download a print driver compatible with OS 10.7.5 on iMac for USB HP LaserJet P1006? Ran software update. Apple notes that a driver is unavailable, consult HP (who seems to offer only info but no software download available). Any