Obtaining Current dialog in a nonfocused Java application

I am trying to get the current/top dialog in a java application regardless of whether it is active or not. If the application is active I can use the keyboard focus manager. However, if the application is not active and a background thread caused an exception for instance I want to make sure that the exception dialog is shown with the previous current dialog as its parent.

You can check if current user is member of role.
import the  com.sap.security.api
then extract the IUSER
IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
com.sap.security.api.IUser sapUser = wdClientUser.getSAPUser();
then check if is member of role
IRole theGroupcom = UMFactory.getRoleFactory().getRoleByUniqueName(<yours>);
finally
if (user.isMemberOfRole(theGroupcom.getUniqueID(),false)) ecc ecc
Bye.

Similar Messages

  • HT5568 Will the new update uninstall any Java applications I am currently running?

    Will the new update uninstall any Java applications I am currently running?

    Safari?  Removing your existing Java applications?  No.  That won't happen.
    What will happen is the Java run-time and the Java plug-ins that were part of Safari.  You will be using the Oracle web site, and you'll be downloading and configuring and operating and managing the Java environment and the Java plug-ins for Safari and other browsers more directly, and usually with downloads from Oracle.
    Apple deprecated Java a while back, and they're now finishing the work and the transition of support over to the folks at Oracle, and of securing OS X from attacks against stale versions of Java.

  • Obtaining the JAAS subject in a portal application?

    G'day,
    Is there a safe method for obtaining the JAAS subject in a portal application?
    There are problems in Java with getting the JAAS subject, as the standard Subject.getSubject() call can return null if called within a privileged action:
    Subject s = Subject.getSubject(AccessController.getContext());
    Subject.doAs(s, new PrivilegedAction() {
      public Object run() {
        Subject s1 = Subject.getSubject(AccessController.getContext());
        AccessController.doPrivileged(new PrivilegedAction() {
          public Object run() {
            Subject s2 = Subject.getSubject(AccessController.getContext());
            return null;
        return null;
    Here, s2 may be null, which is why other app servers have custom approaches (such as JBoss and its SecurityAssociation.getSubject() call).
    In fact, when I try the above code in a portal application (protected by the login module used to access the portal), I get NULL value for each subject s, s1, and s2.
    I have found a Netweaver API that may be useful for obtaining the subject:
    Object object = com.sap.security.core.InternalUMFactory.getEngineResourceHelper();
    if (object != null && object instanceof com.sap.security.core.IEngineResourceHelper) {
      com.sap.security.core.IEngineResourceHelper helper =
          (com.sap.security.core.IEngineResourceHelper) object;
      Subject subject = helper.getCurrentSubject();
    A portal application containing this code will display the following:
    Subject: Principal: tu-1_basic Principal: com.sap.security.api.logon.AuthSchemePrincipal@19b07b7 Private Credential: GSSCredential: name: [email protected] usage: INITIATE_AND_ACCEPT for mechs: 1.2.840.113554.1.2.2 usage:INITIATE_ONLY 1.2.840.113554.1.2.2.3 usage:INITIATE_AND_ACCEPT underlying Kerberos creds: TGT remaining lifetime = 594 Private Credential: com.sap.security.core.server.jaas.SAPLogonTicketCredential@6a527bdd
    However, the class name InternalUMFactory suggests that this API may be undocumented or unstable.
    Is there a documented API in Netweaver AS Java for obtaining the JAAS subject?
    --Geoff

    Hi,
    We can use the following API to get the current role:
    IWDNavigationHelperService wdNavHelperService =
        (IWDNavigationHelperService) WDPortalUtils.getService(IWDNavigationHelperService.KEY);
    String navNode = wdNavHelperService.getCurrentNavNode();
    Regards,
    Ganpati

  • Report Execution from within Java application

    I am currently running my Oracle reports through a Java application where I just create a HttpURLConnection to the reports server and push in my report request, and then read the connection input stream in order to obtain the generated report. This is working without too many problems except that in some cases where the report is generated but the application does not seem to understand the reponse.
    I see that there is in fact a Java API available for the reports. Is it possible to integrate this into my application in the same/similar way as I am doing now? If so, where can I get the associated docs as the supplied Javadocs are not too explicit.
    Thanks
    Justin

    You'll have to write a custom ClassLoader to do this - modifying the existing ClassPath from within the JVM just isn't possible.

  • When deploying web dynpro java application , sdm not configured

    HI Masters ,
    I installed sap ep 7.0 version. and nwds also. when i am deploying  my webdynpro java application in nwds it show the error ---
    can not determine sdn host is empty. please configure ur engine   / sdm ( software dployment manager) correctly.
    please reply to me how to configure software deployement manager (sdm) in my system.
    solution to be appreciated.

    hi Master,
    here I post the error what i got.please check it and reply me .
    i gave the port no and host name .whaen i click on  the j2ee engene tab it shows all the colors shown in green colour.
    the port no is not a problem.
    when i am click on the error in tasks info the error shown like
    Nov 9, 2008 1:56:00 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [001]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[D:\usr\sap\J2E\JC01\SDM\program\log\sdmcl20081109082553.log]/>
    <!PATTERN[sdmcl20081109082553.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Nov 9, 2008 1:55:54 PM   Info: -
    Starting deployment -
    Nov 9, 2008 1:55:54 PM   Info: Error handling strategy: OnErrorStop
    Nov 9, 2008 1:55:54 PM   Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Nov 9, 2008 1:55:54 PM   Info: Update strategy: UpdateAllVersions
    Nov 9, 2008 1:55:54 PM   Info: Starting deployment prerequisites:
    Nov 9, 2008 1:55:55 PM   Info: Loading selected archives...
    Nov 9, 2008 1:55:55 PM   Info: Loading archive 'D:\usr\sap\J2E\JC01\SDM\program\temp\temp57270sur.ear'
    Nov 9, 2008 1:55:57 PM   Info: Selected archives successfully loaded.
    Nov 9, 2008 1:55:57 PM   Info: Actions per selected component:
    Nov 9, 2008 1:55:57 PM   Info: Initial deployment: Selected development component 'sur'/'local'/'LOKAL'/'0.2008.11.09.13.55.46'/'0' will be deployed.
    Nov 9, 2008 1:55:57 PM   Info: Ending deployment prerequisites. All items are correct.
    Nov 9, 2008 1:55:57 PM   Info: Saved current Engine state.
    Nov 9, 2008 1:55:57 PM   Info: Starting: Initial deployment: Selected development component 'sur'/'local'/'LOKAL'/'0.2008.11.09.13.55.46'/'0' will be deployed.
    Nov 9, 2008 1:55:57 PM   Info: SDA to be deployed: D:\usr\sap\J2E\JC01\SDM\root\origin\local\sur\LOKAL\0\0.2008.11.09.13.55.46\temp57270sur.ear
    Nov 9, 2008 1:55:57 PM   Info: Software type of SDA: J2EE
    Nov 9, 2008 1:55:57 PM   Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Nov 9, 2008 1:55:57 PM   Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Nov 9, 2008 1:55:57 PM   Error: Aborted: development component 'sur'/'local'/'LOKAL'/'0.2008.11.09.13.55.46'/'0':
    Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Nov 9, 2008 1:55:58 PM   Info: Starting to save the repository
    Nov 9, 2008 1:55:59 PM   Info: Finished saving the repository
    Nov 9, 2008 1:55:59 PM   Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Nov 9, 2008 1:55:59 PM   Error: -
    At least one of the Deployments failed -
    as like this  it show the error .please answer this problem
    Edited by: surya ep2 on Nov 9, 2008 9:56 AM

  • Regarding java application bundle for Mac OSx

    Hi,
    I made a java application to distribute on Mac osx. I created folder .app structure according to mac application.
    The application is being successfully launched by double click on Myapplication.app on Mac Osx which contains Java5.
    Its not launching the application on Mac with Java6. I searched for the problem then I found that the current shipped JavaApplicationStub file is for Java5. I copied the JavaApplicationStub file from the Mac (which have java6) from /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub" and replace it in my application bundle. Now application is being launched in java6 with double click.
    I am looking for a solution which works on all Mac with different jre versions. I search for this.
    http://www.informagen.com/JarBundler/StubFile.html
    here I found, that we can create symbolic link.... I have no idea about this how to do that. I am not using any jarbundler to bundle my application.
    How can I get my application working on all Macs with different version of jre ?
    Thanks

    JL.Nayak wrote:
    ..Can a link (create on on mac) work on another mac.If you launch [this code|http://pscode.org/jws/persistserv.jnlp] on a Mac. are you prompted by a dialog?
    The application would like to create shortcuts. 
    Do you want to continue?
    Name:          JotPad
    Publisher:     Andrew Thompson
    From:          http://www.pscode.org
                             [OK]     [Skip]
    The application will add a shortcut to the desktop.
    Do you get a desk-top short-cut if you click 'OK'?
    If so, then  [Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp]  is a launch technology you should investigate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • No Java Application template available

    I just installed JSE 8. When I try to create a New Project, The only sample available under the General folder is the Anagram game. The docs say there should be a Java Applcatiot template also.
    How do I get a plain vanilla Java App. template?
    Thanks.....

    I also have the same problem, cannot find Template Java Application.
    When I install JSE 8.1 on WindowXP OS. In log file, I found no Error.
    I'm considering if the Template not free support for developer, or not support to Windows OS?
    Thanks
    This is the log file:
    file type: 0
    file id: 0
    length: 165
    offset: 319572
    file name: instructions.txt
    file type: 5
    file id: 1
    length: 1009
    offset: 319737
    file name: Verify.jar
    file type: 2
    file id: 2
    length: 730
    offset: 320746
    file name: launch.txt
    file type: 1
    file id: 3
    length: 2289
    offset: 321476
    file name: jvm-windows-1.5.x.jvm
    file type: 6
    file id: 4
    length: 105143576
    offset: 323765
    file name: jstudio_ent81-ml-windows.jar
    file type: 8
    file id: 5
    length: 83
    offset: 105467341
    file name: JVMNotFound.txt
    Finding a JVM
    Initiating JVM search based on hints...
    Searching for Java Runtime Environment 1.5.X by Sun Microsystems [Windows] using platform hints
    Checking JVM at C:\Program Files\Java\jre1.5.0_01 which was resolved from platform hint \HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.5\JavaHome
    Verifying JVM at C:\Program Files\Java\jre1.5.0_01\bin\java.exe
    for JVM: Java Runtime Environment 1.5.X by Sun Microsystems [Windows]
    Executing launch script command: "C:\Program Files\Java\jre1.5.0_01\bin\java.exe" -cp "";"C:\DOCUME~1\tubm\LOCALS~1\Temp\LRE25.tmp\Verify.jar";"" "Verify" java.vendor java.version in working directory D:\Technology\Sun Solaris
    Output from the launch script execution
    StdOut:
    1739021872
    Sun Microsystems Inc.
    1.5.0_01
    ErrOut:
    Found matching JVM at C:\Program Files\Java\jre1.5.0_01
    Matching JVM home is C:\Program Files\Java\jre1.5.0_01
    Matching JVM file is C:\DOCUME~1\tubm\LOCALS~1\Temp\LRE26.tmp
    Executing launch script command: "C:\Program Files\Java\jre1.5.0_01/bin\java.exe" -cp "";"C:\DOCUME~1\tubm\LOCALS~1\Temp\LRE27.tmp\jstudio_ent81-ml-windows.jar";"" -Dtemp.dir="C:\DOCUME~1\tubm\LOCALS~1\Temp" -Dis.jvm.home="C:\Program Files\Java\jre1.5.0_01" -Dis.jvm.temp="0" -Dis.media.home="C:\DOCUME~1\tubm\LOCALS~1\Temp\LRE27.tmp\jstudio_ent81-ml-windows.jar" -Dis.launcher.file="D:\Technology\Sun Solaris\jstudio_ent81-ml-windows.exe" -Dis.jvm.file="C:\DOCUME~1\tubm\LOCALS~1\Temp\LRE26.tmp" -Dis.external.home="D:\Technology\Sun Solaris" -Xms20m -Xmx256m run in working directory D:\Technology\Sun Solaris
    Output from the launch script execution
    StdOut:
    [4/17/08 10:07 AM]: installation started
    [4/17/08 10:07 AM]: setting the correct locale
    [4/17/08 10:07 AM]: current locale: en_US
    [4/17/08 10:07 AM]: ... this locale is OK
    [4/17/08 10:07 AM]: we are on windows - checking whether we have administrator privileges
    [4/17/08 10:07 AM]: setting the appropriate installation location
    [4/17/08 10:07 AM]: current location:
    [4/17/08 10:07 AM]: correct location: C:\Program Files\Sun\jstudio_ent81
    [4/17/08 10:07 AM]: saving the initial components' installation locations to system settings
    [4/17/08 10:07 AM]: searching for existing installations
    [4/17/08 10:07 AM]: ... current version: uid = 2316e165e388c6be547ee485c0d42bef, version = 8.1.1.20061201144926
    [4/17/08 10:07 AM]: ... no existing installations were found
    [4/17/08 10:07 AM]: [Welcome Dialog]
    [4/17/08 10:07 AM]: [License Dialog]
    [4/17/08 10:07 AM]: searching for existing 'compatible' installations of jse
    [4/17/08 10:07 AM]: current version: uid = 2316e165e388c6be547ee485c0d42bef, version = 8.1.1.20061201144926
    [4/17/08 10:07 AM]: ... no qualifying installations were found, continuing with normal installation
    [4/17/08 10:07 AM]: [Install Type Dialog]
    [4/17/08 10:07 AM]: [Destination Dialog]
    [4/17/08 10:07 AM]: validating destination directories
    [4/17/08 10:07 AM]: validating jse location: C:\Program Files\Sun\jstudio_ent81
    [4/17/08 10:07 AM]: validating appserver location: C:\Sun\AppServer
    [4/17/08 10:07 AM]: searching for pre-installed jdks, search mode is: search.and.select
    [4/17/08 10:07 AM]: ... searching windows registry
    [4/17/08 10:07 AM]: ... found jdk: 1.5.0 at C:\Program Files\Java\jdk1.5.0_01
    [4/17/08 10:07 AM]: executing command: C:\Program Files\Java\jdk1.5.0_01\bin\java.exe -version
    [4/17/08 10:07 AM]: [stderr]: java version "1.5.0_01"
    [4/17/08 10:07 AM]: [stderr]: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
    [4/17/08 10:07 AM]: [stderr]: Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)
    [4/17/08 10:07 AM]: [return]: 0
    [4/17/08 10:07 AM]: ... updating the current jdk to use
    [4/17/08 10:07 AM]: ... found jdk: 1.5.0_01 at C:\Program Files\Java\jdk1.5.0_01
    [4/17/08 10:07 AM]: executing command: C:\Program Files\Java\jdk1.5.0_01\bin\java.exe -version
    [4/17/08 10:07 AM]: [stderr]: java version "1.5.0_01"
    [4/17/08 10:07 AM]: [stderr]: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
    [4/17/08 10:07 AM]: [stderr]: Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)
    [4/17/08 10:07 AM]: [return]: 0
    [4/17/08 10:07 AM]: ... updating the current jdk to use
    [4/17/08 10:07 AM]: using pre-installed jdk: 1.5.0_01 at C:\Program Files\Java\jdk1.5.0_01
    [4/17/08 10:07 AM]: Set default appserver ports...
    [4/17/08 10:07 AM]: ... admin
    [4/17/08 10:07 AM]: checking port 4848
    [4/17/08 10:07 AM]: port 4848 is avaliable to use
    [4/17/08 10:07 AM]: ... http
    [4/17/08 10:07 AM]: checking port 8080
    [4/17/08 10:07 AM]: port 8080 is avaliable to use
    [4/17/08 10:07 AM]: ... https
    [4/17/08 10:07 AM]: checking port 8181
    [4/17/08 10:07 AM]: port 8181 is avaliable to use
    [4/17/08 10:07 AM]: ... jms
    [4/17/08 10:07 AM]: checking port 7676
    [4/17/08 10:07 AM]: port 7676 is avaliable to use
    [4/17/08 10:07 AM]: ... orb
    [4/17/08 10:07 AM]: checking port 3700
    [4/17/08 10:07 AM]: port 3700 is avaliable to use
    [4/17/08 10:07 AM]: ... orbssl
    [4/17/08 10:07 AM]: checking port 3820
    [4/17/08 10:07 AM]: port 3820 is avaliable to use
    [4/17/08 10:07 AM]: ... orb mutual auth
    [4/17/08 10:07 AM]: checking port 3920
    [4/17/08 10:07 AM]: port 3920 is avaliable to use
    [4/17/08 10:07 AM]: ... jms
    [4/17/08 10:07 AM]: checking port 8686
    [4/17/08 10:07 AM]: port 8686 is avaliable to use
    [4/17/08 10:07 AM]: [AppServer Settings Dialog]
    [4/17/08 10:07 AM]: validating application server login credentials
    [4/17/08 10:07 AM]: ... validating username: 'admin'
    [4/17/08 10:07 AM]: ... validating password: '**********'/'**********'
    [4/17/08 10:07 AM]: Set default collab ports...
    [4/17/08 10:07 AM]: ... default port
    [4/17/08 10:07 AM]: checking port 5222
    [4/17/08 10:07 AM]: port 5222 is avaliable to use
    [4/17/08 10:07 AM]: ... default MUX port
    [4/17/08 10:07 AM]: checking port 45222
    [4/17/08 10:07 AM]: port 45222 is avaliable to use
    [4/17/08 10:07 AM]: All port values have been set
    [4/17/08 10:07 AM]: [debug] ConfigureIDE.getRequiredBytes()
    [4/17/08 10:07 AM]: calculating required disk space for ide
    [4/17/08 10:07 AM]: ... current required bytes for ide: 168036078
    [4/17/08 10:07 AM]: ... correct required bytes for ide: 254909980
    [4/17/08 10:07 AM]: [debug] ConfigureApplicationServer.getRequiredBytes()
    [4/17/08 10:07 AM]: calculating required disk space for appserver
    [4/17/08 10:07 AM]: ... current required bytes for appserver: 105844545
    [4/17/08 10:07 AM]: ... correct required bytes for appserver: 79416155
    [4/17/08 10:07 AM]: [debug] ConfigureCollab.getRequiredBytes()
    [4/17/08 10:07 AM]: calculating required disk space for collab
    [4/17/08 10:07 AM]: ... current required bytes for collab: 2430527
    [4/17/08 10:07 AM]: ... correct required bytes for collab: 3564695
    [4/17/08 10:07 AM]: [debug] ConfigureIDE.getRequiredBytes()
    [4/17/08 10:07 AM]: calculating required disk space for ide
    [4/17/08 10:07 AM]: ... current required bytes for ide: 168036078
    [4/17/08 10:07 AM]: ... correct required bytes for ide: 254909980
    [4/17/08 10:07 AM]: [debug] ConfigureApplicationServer.getRequiredBytes()
    [4/17/08 10:07 AM]: calculating required disk space for appserver
    [4/17/08 10:07 AM]: ... current required bytes for appserver: 105844545
    [4/17/08 10:07 AM]: ... correct required bytes for appserver: 79416155
    [4/17/08 10:07 AM]: [debug] ConfigureCollab.getRequiredBytes()
    [4/17/08 10:07 AM]: calculating required disk space for collab
    [4/17/08 10:07 AM]: ... current required bytes for collab: 2430527
    [4/17/08 10:07 AM]: ... correct required bytes for collab: 3564695
    [4/17/08 10:07 AM]: [Pre-Install Summary Dialog]
    [4/17/08 10:07 AM]: [debug] ConfigureIDE.getEstimatedTimeToInstall()
    [4/17/08 10:07 AM]: [debug] ConfigureApplicationServer.getEstimatedTimeToInstall()
    [4/17/08 10:08 AM]: [debug] ConfigureIDE.install(com.installshield.product.ProductActionSupport@188c838)
    [4/17/08 10:08 AM]: unpacking ide jar files
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\com-sun-collablet-moxc.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\com-sun-collablet.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\docs\locale\org-netbeans-modules-collab-channel-chat_ja.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\docs\locale\org-netbeans-modules-collab-channel-chat_zh_CN.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\docs\locale\org-netbeans-modules-collab-channel-filesharing_ja.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\docs\locale\org-netbeans-modules-collab-channel-filesharing_zh_CN.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\docs\locale\org-netbeans-modules-collab-ui_ja.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\docs\locale\org-netbeans-modules-collab-ui_zh_CN.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\docs\org-netbeans-modules-collab-channel-chat.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\docs\org-netbeans-modules-collab-channel-filesharing.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\docs\org-netbeans-modules-collab-ui.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\collab-service.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\collablet-api.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\jaxen-core-1.0.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\jso-core-0.12.5.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\jso-sasl-0.12.5.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\jso-x-core-0.12.5.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\jso-x-disco-0.12.5.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\jso-x-fneg-0.12.5.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\jso-x-info-0.12.5.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\jso-x-si-0.12.5.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\jso-x-sift-0.12.5.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\jso-x-xdata-0.12.5.jar.pack.gz
    [4/17/08 10:08 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\log4j-1.2.8.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\output-schema.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\saxpath-1.0.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\xbean-1.0.4.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\ext\xp-0.5.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\com-sun-collablet-moxc_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\com-sun-collablet-moxc_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\com-sun-collablet_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\com-sun-collablet_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-libs-xmlbeans_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-libs-xmlbeans_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-chat-html_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-chat-html_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-chat-java_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-chat-java_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-chat-text_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-chat-text_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-chat-xml_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-chat-xml_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-chat_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-chat_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-filesharing_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-filesharing_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-output_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-channel-output_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-kit_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-kit_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-provider-im_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-provider-im_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-ui_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\locale\org-netbeans-modules-collab-ui_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\org-netbeans-libs-xmlbeans.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\org-netbeans-modules-collab-channel-chat-html.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\org-netbeans-modules-collab-channel-chat-java.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\org-netbeans-modules-collab-channel-chat-text.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\org-netbeans-modules-collab-channel-chat-xml.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\org-netbeans-modules-collab-channel-chat.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\org-netbeans-modules-collab-channel-filesharing.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\org-netbeans-modules-collab-channel-output.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\org-netbeans-modules-collab-kit.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\org-netbeans-modules-collab-provider-im.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\collab2\modules\org-netbeans-modules-collab-ui.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\ant\extra\copyfiles.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\ant\extra\wsclientuptodate.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\ant\nblib\locale\org-netbeans-modules-j2ee-ant_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\ant\nblib\locale\org-netbeans-modules-j2ee-ant_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\ant\nblib\org-netbeans-modules-j2ee-ant.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\ant\nblib\org-netbeans-modules-j2ee-sun-appsrv81.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\bin\bootstrap.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\bin\commons-daemon.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\bin\commons-logging-api.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\bin\jmx.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\bin\tomcat-juli.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\endorsed\xercesImpl.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\endorsed\xml-apis.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\i18n\tomcat-i18n-en.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\i18n\tomcat-i18n-es.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\i18n\tomcat-i18n-fr.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\i18n\tomcat-i18n-ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\lib\ant.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\lib\commons-el.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\lib\jasper-compiler.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\lib\jasper-runtime.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\lib\jsp-api.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\lib\naming-factory-dbcp.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\lib\naming-factory.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\lib\naming-resources.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\lib\org-netbeans-modules-schema2beans.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\lib\org-netbeans-modules-web-httpmonitor.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\common\lib\servlet-api.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\lib\catalina-ant.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\lib\catalina-cluster.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\lib\catalina-optional.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\lib\catalina-storeconfig.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\lib\catalina.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\lib\commons-modeler.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\lib\servlets-default.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\lib\servlets-invoker.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\lib\servlets-webdav.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\lib\tomcat-ajp.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\lib\tomcat-coyote.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\lib\tomcat-http.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\lib\tomcat-util.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\webapps\admin\WEB-INF\lib\catalina-admin.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\webapps\admin\WEB-INF\lib\commons-beanutils.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\webapps\admin\WEB-INF\lib\commons-collections.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\webapps\admin\WEB-INF\lib\commons-digester.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\webapps\admin\WEB-INF\lib\struts.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\webapps\host-manager\WEB-INF\lib\catalina-host-manager.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\webapps\manager\WEB-INF\lib\catalina-manager.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\server\webapps\manager\WEB-INF\lib\commons-fileupload-1.0.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\webapps\balancer\WEB-INF\lib\catalina-balancer.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\webapps\ROOT\WEB-INF\lib\catalina-root.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\jakarta-tomcat-5.5.9\webapps\tomcat-docs\appdev\sample\sample.war.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-dbschema_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-dbschema_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-j2ee-platform_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-j2ee-platform_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-j2ee-sun-appsrv81_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-j2ee-sun-appsrv81_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-j2ee-sun-ws7_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-j2ee-sun-ws7_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-j2ee-websphere6_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-j2ee-websphere6_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-tomcat5_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-tomcat5_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-web-monitor_ja.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\locale\org-netbeans-modules-web-monitor_zh_CN.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\org-netbeans-modules-dbschema.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\org-netbeans-modules-j2ee-platform.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\org-netbeans-modules-j2ee-sun-appsrv81.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81\ide\enterprise2\modules\docs\org-netbeans-modules-j2ee-sun-ws7.jar.pack.gz
    [4/17/08 10:09 AM]: decompressing file: C:\Program Files\Sun\jstudio_ent81

  • APEX application integration into Java application

    Hello,
    I'm working on a new APEX application and I would like to integrate that application into an existing Java application.
    The integration should be invisible for the end-users. Our application will have the same look and feel as the Java application.
    The existing menu of the Java app will be extended with a new link. This link will then call our application.
    Visually I was thinking about using an Iframe to display the content of the APEX application inside the Java generated xHTML.
    This is however not the biggest issue.
    We are working in a secure context and we thus need to make sure that our APEX application doesn't create a backdoor on the
    security mechanism provided by the Java app.
    Some options have come to mind, but the one that look best is this:
    We keep the java application as the single point of entry for our end-users and make sure that the apex application is "hidden".
    We could do this by means of some re-routing code in the java application so that the incomming requests there are send to the correct server (java or apex).
    Then we will need to capture the response of the APEX application and place it inside the Java generated xHTML. The combined content is then send to the client.
    Or we could place a reverse proxy server that does this for us.
    The goal is thus that we can rely on the existing java application to cover the security and the navigation structure.
    Any ideas on this ?
    How-to's or other options ?
    thanks & regards
    Karel

    In a project I am currently working on we do it using iframes and passsing parameters over a http link.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How to get Portal user from a standalone Java application

    Hi,
    I have a standalone Java application from where I need to fetch the Portal User Information like userid and email id.
    I am using the below line of code
    iUser = UMFactory.getUserFactory().getUserByLogonID("e017939");
    I have included the jar file com.sap.security.api , But it was giving me the below exception
    java.lang.NoClassDefFoundError: com/sap/tc/logging/Location
         at com.sap.security.api.UMFactory.<clinit>(UMFactory.java:55)
         at com.am.wcas.java.mailscheduler.kmaccess.FetchDataFromKM.getiUser(FetchDataFromKM.java:29)
         at com.am.ScheduleEmails.main(ScheduleEmails.java:89)
    and I am getting a pop Up message from the Java Virtual Machine Launcher, saying a Fatal Exception has occured and the Program will exit.
    Then I went throught he SDN threads and they asked me to include the
    logging.jar and com.sap.security.perm.api .
    I Included them, then also, it is giving me Exception
    java.lang.NoClassDefFoundError: com/sap/engine/lib/logging/LoggingHelper
         at com.sap.security.api.UMFactory.<clinit>(UMFactory.java:56)
         at com.am.FetchKMData.main(FetchKMData.java:30)
    Exception in thread "main"
    and I am getting a pop Up message from the Java Virtual Machine Launcher, saying a Fatal Exception has occured and the Program will exit.
    Kindly let me know if it is possible to access the User info using UMFactory in a standalone Java application. If yes kindly let me know where i am going wrong.
    Regards,
    Shilpa B.V

    Hi Shilpa,
    1. Check that you have added com.sap.security.api within the Your Project>Libraries folder (under navigation tab) and also added jars in the build path of the Your Project under project>properties>Build Path.
    2. In case you have a DC instead of Web Dynpro Project then you have to add the com.sap.security.api under Your DC>Used DCs and have compile time and runtime dependency added.
    Here java.lang.NoClassDefFoundError is caused basically due to only build time dependency added and reference to the jar missing at runtime. Rest the code to retrieve the current user id using UME API and getUserByLogOnID("....") method with/without portal environment would not be an issue at all.
    Regards,
    Tushar SInha

  • Forms 6.0 and JAVA Applications?

    We used until now Forms 3.0 with "User Exit Functions" written in Fortran to read data from Instruments. Currently we migrate the applications from Forms 3.0 to Forms 6.0. Is it possible to start a JAVA application (not applet!) out of Forms 6.0 to get data from a instrument? I have written a JAVA application that could do this job, based on Sun's javax.comm package.
    Thank You
    Heinz Grimm

    Hi,
    Oracle Forms 6i does not support Advances Security for SQL*Net if this is what your question is. ASO is supported with Forms 9i and above
    Frank

  • JCo 3.0 connectivity issues between Java application on NWCE and ERP

    Requirement: We have a Java application that would run on NWCE. This application will be invoked from ERP/SAPGUI via HTML Controller. With SSO enabled, the goal is to pass ERP credentials to CE application. This CE application in turn will use ERP credentials from Logon ticket to connect to ERP and invoke BAPI calls (JCo 3.0 destination)
    System Information:
    CE System: SAP NW CE 7.2 SPS 04
    ERP: SAP ECC 6.04
    Both systems are trusted using X.509 certificates
    Current scnerio:
    1) Destination (CE to ERP) - JCo 3.0 using Authetication method of u201CCurrent User (Logon Ticket)u201D
    - Web application is unable to find the JCo 3.0 destination.
    2) Destination (CE to ERP) - JCo 3.0 using Authetication method of u201CTechnical Useru201D
    - Web application is able to find the JCo destination
    Any assiatance in resolving the issues would be appreciated ....
    Trace Log:
    #2.0 #2011 01 19 14:44:38:756#+0100#Error#com.sap.security.core.server.destinations.provider.DestinationsProviderFrame#
    com.sap.getDestinationProperties()#BC-JAS-SEC#tcsecdestinations~provider#001F2960BE89048C0000000100005BC1#16777250000000004#sap.com/TestJcoWebEar#com.sap.security.core.server.destinations.provider.DestinationsProviderFrame#10207625#182##4286395D23D211E08BA2000001000022#d981f18323b011e0b5eb000001000022#d981f18323b011e0b5eb000001000022#0#Thread[HTTP Worker [@2002275007],5,Dedicated_Application_Thread]#Plain##
    ASJ.dest.pr0023#

    Hi Hemandra,
    This is the Full error message i am getting
    Message:   ASJ.dest.pr0023
    Severity:   Error
    Date:   2012-02-09
    Time:   21:37:25:134
    User:   SUPPLIER
    Category:   /System/Security
    Location:   com.sap.security.core.server.destinations.provider.DestinationsProviderFrame
    Application:   XXXXXXXXXXXXXXXXXXXXXX
    Thread:   Thread[HTTP Worker [@254542764],5,Dedicated_Application_Thread]
    Data Source:   j2ee/cluster/server0/log/system/security.log
    Arguments:   
    Passport User Activity ID:   1d2dfea9533811e1adf3000000dc2fc6
    Message ID:   com.sap.getDestinationProperties()
    Session:   11
    Transaction:   
    Time Zone:   +0530
    Customer Message Component:   BC-JAS-SEC
    Runtime Component:   tcsecdestinations~provider
    Correlation ID:   14430150000000004
    Passport Session:   8703D330533611E19565000000DC2FC6
    Passport Connection:   1d2dfea9533811e1adf3000000dc2fc6
    Passport Connection Counter:   0
    Host:   XXXXX
    System:   XXX
    Instance:   J01
    Node:   server0
    Log ID:   C000AC10088100FF0000000000002BF1
    Regards,
    Srinivas

  • The following is working as a Java application but not as a DynPro App

    Hello,
    Please have a look at the following code:
    URL testURL = new URL("http://<host>/error.txt");
    HttpURLConnection c = (HttpURLConnection)(testURL.openConnection());
    c.setDoInput(true);
    c.setDoOutput(true);
    c.setRequestProperty("Connection","Keep-Alive");
    c.setRequestProperty("Proxy-Connection","Keep-Alive");
    c.setRequestMethod("GET");
    c.setUseCaches(false);
    c.connect();
    int cl = c.getContentLength();
    DataInputStream dis = new DataInputStream(c.getInputStream());
    This code is working well when I run it as an independent Java application but when I "plant" this code on a DynPro application I receive an I/O Exception at this line:
    DataInputStream dis = new DataInputStream(c.getInputStream());
    Can anyone please tell me why?

    503 error means a bit different thing. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
    <i><b>10.5.4 503 Service Unavailable</b>
    The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay MAY be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
          Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection.
    </i>
    Can you track requests from both stand-alone Java and WD application via some HTTP tunneling tool to check differences in headers, encoding, etc?
    VS

  • Java application crashes due to some problem in native  code

    Hi All
    I have a Java application that calls APIs in a 3rd party DLL(I don't have access to its source code or logs) through my VC++ DLL(Win32) that acts as the wrapper DLL.
    The Application has many functionalities and is based on multithreading (both on Java layer as well as C++ layer). Most of the functionalities are working , but when I try to close the application, it crashes.
    Moreover the crashing occurs inconstently, sometimes it does not crash. Instead of showing any debug information , it simply creates a error file with disassembly code that I am not able to understand.
    Though the error seems like an java error, but actually it seems to be due to native code. I have try catch blocks in my code and also implemented settranslator functionality to get hold of structured/C exceptions. But still I am not able to catch any exceptions.
    I am pasting the the contents of the file here:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c9111de, pid=488, tid=1848
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode)
    # Problematic frame:
    # C [ntdll.dll+0x111de]
    --------------- T H R E A D ---------------
    Current thread (0x009d1790): JavaThread "CompilerThread0" daemon [_thread_in_native, id=1848]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000001
    Registers:
    EAX=0x00000001, EBX=0x00030000, ECX=0x02d17a18, EDX=0x00030278
    ESP=0x02c2f8e8, EBP=0x02c2fb08, ESI=0x02d17a10, EDI=0x00000001
    EIP=0x7c9111de, EFLAGS=0x00010202
    Top of Stack: (sp=0x02c2f8e8)
    0x02c2f8e8: 009fa9a0 000000c0 00000008 0811d3d8
    0x02c2f8f8: 0000000c 00a2c0e0 00000003 00000004
    0x02c2f908: 08018216 00000001 02c2fcc4 08018385
    0x02c2f918: 00000002 00000001 02c2f93c 02d06d0c
    0x02c2f928: 0802a50a 00000000 00000001 02c2f93c
    0x02c2f938: 04a3cb4c 02d01008 02c2f964 0802a850
    0x02c2f948: 02c2f96e 00000000 00000007 00000000
    0x02c2f958: 04a3cb38 00000004 08018216 00000001
    Instructions: (pc=0x7c9111de)
    0x7c9111ce: 39 89 bd 0c ff ff ff 8b 46 0c 89 85 68 ff ff ff
    0x7c9111de: 8b 10 3b 57 04 0f 85 8c 31 02 00 3b d1 0f 85 84
    Stack: [0x02bf0000,0x02c30000), sp=0x02c2f8e8, free space=254k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [ntdll.dll+0x111de]
    C [MSVCRT.dll+0x1c3c9]
    C [MSVCRT.dll+0x1c3e7]
    C [MSVCRT.dll+0x1c42e]
    V [jvm.dll+0xacda9]
    V [jvm.dll+0x17102]
    V [jvm.dll+0x16c8d]
    V [jvm.dll+0x16dca]
    V [jvm.dll+0x170a7]
    V [jvm.dll+0x172e8]
    V [jvm.dll+0x4dc65]
    V [jvm.dll+0x4d894]
    V [jvm.dll+0xd3a36]
    V [jvm.dll+0xd3a04]
    C [MSVCRT.dll+0x2a3b0]
    C [kernel32.dll+0xb683]
    Current CompileTask:
    HotSpot Client Compiler:423 b sun.awt.AWTAutoShutdown.isReadyToShutdown()Z (33 bytes)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x049d6328 JavaThread "Thread-19" [_thread_blocked, id=1440]
    0x049d24d0 JavaThread "Thread-18" [_thread_blocked, id=3620]
    0x049d40c8 JavaThread "Thread-17" [_thread_blocked, id=2476]
    0x02df0538 JavaThread "TimerQueue" daemon [_thread_blocked, id=3876]
    0x00036a78 JavaThread "DestroyJavaVM" [_thread_blocked, id=2448]
    0x02e43768 JavaThread "Thread-6" [_thread_blocked, id=3664]
    0x02e23130 JavaThread "Thread-4" [_thread_blocked, id=2816]
    0x02e21d08 JavaThread "Thread-2" [_thread_blocked, id=3344]
    0x02da3f78 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2528]
    0x02da3268 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=4008]
    0x02d91f90 JavaThread "AWT-Windows" daemon [_thread_blocked, id=648]
    0x02d3a478 JavaThread "AWT-Shutdown" [_thread_blocked, id=2988]
    =>0x009d1790 JavaThread "CompilerThread0" daemon [_thread_in_native, id=1848]
    0x009d0a90 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3568]
    0x009ce128 JavaThread "Finalizer" daemon [_thread_blocked, id=1824]
    0x009ccda0 JavaThread "Reference Handler" daemon [_thread_blocked, id=3280]
    Other Threads:
    0x00a0b6e8 VMThread [id=608]
    0x00a0d620 WatcherThread [id=3012]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 640K, used 583K [0x10010000, 0x100c0000, 0x104f0000)
    eden space 576K, 90% used [0x10010000, 0x10091e40, 0x100a0000)
    from space 64K, 99% used [0x100b0000, 0x100bfff8, 0x100c0000)
    to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
    tenured generation total 7772K, used 5451K [0x104f0000, 0x10c87000, 0x14010000)
    the space 7772K, 70% used [0x104f0000, 0x10a42d80, 0x10a42e00, 0x10c87000)
    compacting perm gen total 8192K, used 8137K [0x14010000, 0x14810000, 0x18010000)
    the space 8192K, 99% used [0x14010000, 0x148024e8, 0x14802600, 0x14810000)
    Dynamic libraries:
    0x00400000 - 0x0040b000 c:\dcsthick\jre\bin\java.exe
    0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f5000 C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
    0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
    0x08000000 - 0x08143000 c:\dcsthick\jre\bin\client\jvm.dll
    0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
    0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
    0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
    0x10000000 - 0x10007000 c:\dcsthick\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
    0x00390000 - 0x0039e000 c:\dcsthick\jre\bin\verify.dll
    0x003b0000 - 0x003c9000 c:\dcsthick\jre\bin\java.dll
    0x003d0000 - 0x003de000 c:\dcsthick\jre\bin\zip.dll
    0x02e70000 - 0x02f84000 C:\dcsthick\jre\bin\awt.dll
    0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
    0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
    0x5ad70000 - 0x5ada8000 C:\WINDOWS\SYSTEM32\uxtheme.dll
    0x02fe0000 - 0x03031000 C:\dcsthick\jre\bin\fontmanager.dll
    0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
    0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
    0x73940000 - 0x73a10000 C:\WINDOWS\system32\D3DIM700.DLL
    0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll
    0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime
    0x03320000 - 0x0333c000 C:\dcsthick\lib\CrewsDmApiJniNt.dll
    0x031b0000 - 0x031bb000 c:\dcsthick\lib\CRWNT_DM.dll
    0x03240000 - 0x03249000 c:\dcsthick\lib\BAT_API.dll
    0x03340000 - 0x03352000 c:\dcsthick\lib\DC_DSM32.dll
    0x03360000 - 0x03369000 c:\dcsthick\lib\CRWTOOLS.dll
    0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
    0x03370000 - 0x0337a000 c:\dcsthick\lib\PMAPI.dll
    0x5d090000 - 0x5d12a000 C:\WINDOWS\system32\COMCTL32.dll
    0x03790000 - 0x037b2000 c:\dcsthick\ResaDLL\DC_DSMNB.dll
    0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\NETAPI32.dll
    0x038d0000 - 0x038f2000 c:\dcsthick\ResaDLL\DC_DSMIP.dll
    0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\WSOCK32.dll
    0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
    0x71a50000 - 0x71a8f000 C:\WINDOWS\system32\mswsock.dll
    0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
    0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
    0x66580000 - 0x6658f000 C:\WINDOWS\system32\pnrpnsp.dll
    0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
    0x032e0000 - 0x0330a000 C:\dcsthick\lib\ResaHostConnection.dll
    0x03250000 - 0x03257000 c:\dcsthick\lib\CRWNT_GWALC.dll
    0x03310000 - 0x03319000 c:\dcsthick\lib\ALCAPI.dll
    0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
    0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
    0x7c9c0000 - 0x7d1d7000 C:\WINDOWS\system32\SHELL32.dll
    0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    VM Arguments:
    jvm_args: -Dcfdynaproppath=c:\dcsthick/config/ -Dcfdynapropxml=RESA_KCOdynamicproperties.xml -DConfigPath=c:\dcsthick/config/RESA_KCOConfig.xml -DResolution=High -DWorkstationID=GWGTE -DMode=GateBoarding -DlogPath=c:\temp\kcologs -DlogInformation=0 -DGateway=ALCSQ1 -DNetBiosPort=A
    java_command: com.singaporeair.dcs.standalone.application.model.ApplicationModel SQ/IGATEADXX
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=c:\dcsthick\jre\bin
    PATH=c:\dcsthick\jre\bin;c:\dcsthick/lib;c:\dcsthick/ResaDLL
    USERNAME=USER
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 1039600k(565656k free), swap 2501208k(2091128k free)
    vm_info: Java HotSpot(TM) Client VM (1.4.2_14-b05) for windows-x86, built on Mar 14 2007 16:46:11 by "java_re" with MS VC++ 6.0
    The JAVA Application during initialisation establishes a connection with the host server for various devices. For each of the device it establishes a separate connection and keeps listening on these connections using multithreading.
    During App close, we need to close each of these connections one by one for each device.
    The opening /closing of connection is done by 3rd party DLL and call to there APIs is done through a C++ Wrapper DLL that I have built between the Java layer and their DLL.
    When we close the Application, I am always able to close the connections on the first 2 devices. Then all of a sudden it crashes either for the 3rd device conn. close or for the 4th one. The code is the same for all the devices . That too sometimes it just goes fine without crashing. If its a null pointer exception, why is it that it crashes on some occassions and not in other times. More importantly, why is it that it does not fail for the first 2 devices , but fails for the 3rd or 4th device connection close?
    Can please anyone help me. Please suggest me as to how I can determine the cause of the error.
    And is this error really coming in ntdll.dll or is it getting caused of my dll?

    The opening /closing of connection is done by 3rd party DLL and call to there APIs is done through a C++ Wrapper DLL that I have built between the Java layer and their DLL.The specific error indicates a pointer/memory problem.
    The first place that is likely is in your code.
    The second most likely place for the cause is because you are using the third party library incorrectly. For example before exiting you are supposed to clean up resources and you are not doing so.
    As a remote possibility, much less likely that either of the above, there is a bug in jnative or in the 3rd party library.

  • How can i call a jasper report from a java Application

    Hi,
    i am chiranjit , currently i working in a web based ERP project, in this project as a report building tool we are using JasperReport wih eclipse plugin . in eclipse report's are generating very well but i am unable to call that report from a java application because i have no idea about the How to call a Jasper Report from a Java Application . so please send me the necessary class names, jar files names and programe code as early as possible.
    Chiranjit

    Ahh, kind of a duplicate thread:
    http://forums.java.sun.com/thread.jspa?threadID=631642
    @OP. You could have clarified your original post and the relationship of your question to java. You did not need a new thread.
    � {�                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Java application with classes to Applet?

    Hello,
    First, I'm a Java junior, but I can make efforts to analyse and understand code.
    I saw an interesting open-source multiplayer poker java application: [JiBi's Hold'Em|http://sourceforge.net/projects/jibisholdem/]
    I would like to try to add it as an Applet on my server, but I have some questions.
    1- Do you think it is possible to make it fully works as an Applet (eg: through a proxy), as it seems to use a specific protocol and many classes?
    2- I tried the idea of GumB: http://forums.sun.com/thread.jspa?threadID=390846&start=13&tstart=0
    with getContentPane().add( new javaApp().getContentPane()but I have the following error message:
    I also tried with imports (import holdem.core.Card;etc) and with HoldEmClientGUI().getContentPane() or holdem.gui.HoldEmClientGUI().getContentPane()
    D:\JiBisHoldem\src\holdem\gui\HoldEmApp.java:7: cannot find symbol
    symbol  : class HoldEmClientGUI
    location: class HoldEmApp
            getContentPane().add( new HoldEmClientGUI().getContentPane() );
                                      ^
    1 errorAm I close or really far from a working result?
    Thanks
    John.

    The above way seems to have the same result as getContentPane().add( new javaApp().getContentPane().
    Here is my HoldEmClientGUI.java (I have commented unused lines like title):
    package holdem.gui;
    import holdem.core.Card;
    import holdem.core.Choice;
    import holdem.core.Player;
    import holdem.gui.interfaces.ClientGUIInterface;
    import holdem.gui.menu.MainMenuBar;
    import holdem.gui.panel.PokerChoiceListPane;
    import holdem.gui.panel.PokerMainPane;
    import holdem.gui.panel.PokerPlayerPane;
    import java.awt.BorderLayout;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.HashMap;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.swing.JApplet;
    import sun.audio.AudioPlayer;
    import sun.audio.AudioStream;
    import tools.AppProperties;
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class HoldEmClientGUI extends JApplet {     
         public static void main(String[] args) {
              HoldEmClientGUI app = new HoldEmClientGUI();
              app.init();
              app.start();
         public void init()
              AppletContext ac = null;
              try
                   ac = getAppletContext();
              catch(NullPointerException npe)
              //new HoldEmClientGUIFrame(ac);
              new HoldEmClientGUIFrame();
    class HoldEmClientGUIFrame extends JFrame implements ClientGUIInterface {
         private static final long serialVersionUID = 1L;
         private String m_mainTitle = "";
         private String m_title1 = "";
         private String m_title2 = "";
         private HashMap<Integer, PokerPlayerPane> m_playerPaneList = null;
         private PokerMainPane m_pokerMainPane = null;
         private MainMenuBar m_pokerMainMenuBar = null;
         private PokerChoiceListPane m_pokerChoiceListPane = null;
         //AppletContext ac;
         //HoldEmClientGUI(AppletContext ac) {
         HoldEmClientGUIFrame() {
              //super();
              //this.ac = ac;
              //Set Icon
              //setIconImage(new ImageIcon(getClass().getResource(AppProperties.getInstance().getProperty("holdem.images.icon.logo"))).getImage());
              m_mainTitle = AppProperties.getInstance()
                        .getProperty("holdem.config.title")
                        + " - v"
                        + AppProperties.getInstance().getProperty(
                                  "holdem.config.version");
              //refreshTitle();
              // adding PokerTable
              getContentPane().add(getPokerMainPane(), BorderLayout.CENTER);
              getContentPane().add(getPokerChoiceListPane(), BorderLayout.SOUTH);
              getContentPane().add(getPokerMainMenuBar(), BorderLayout.NORTH);
              // init playerPaneList
              m_playerPaneList = new HashMap<Integer, PokerPlayerPane>();
              //setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              // setSize(200, 100);
              /* Add the window listener */
              addWindowListener(new WindowAdapter()
                   public void windowClosing(WindowEvent evt)
                        dispose();
                        if (AppletApplicationFrame.this.ac == null)
                             System.exit(0);
              setVisible(true);
              pack();
         private void refreshTitle(){
              //setTitle(m_mainTitle+m_title1+m_title2);
         private PokerMainPane getPokerMainPane() {
              if (m_pokerMainPane == null) {
                   m_pokerMainPane = new PokerMainPane();
              return m_pokerMainPane;
         private PokerChoiceListPane getPokerChoiceListPane() {
              if (m_pokerChoiceListPane == null) {
                   m_pokerChoiceListPane = new PokerChoiceListPane();
              return m_pokerChoiceListPane;
         private MainMenuBar getPokerMainMenuBar() {
              if (m_pokerMainMenuBar == null) {
                   m_pokerMainMenuBar = new MainMenuBar();
              return m_pokerMainMenuBar;
         public void addPlayer(Player player) {
              PokerPlayerPane playerPane = new PokerPlayerPane();
              playerPane.initPlayer(player.getId(), player.getSeatNumber(), player
                        .getNickname(), player.getStack(), player.getPlayerType());
              getPokerMainPane().addOnSeat(playerPane, player.getSeatNumber());
              m_playerPaneList.put(player.getId(), playerPane);
         public void setPlayerCardHighlighted(boolean highlighted, int playerId,
                   int cardNumber) {
              PokerPlayerPane playerPane = getPlayerPaneByPlayerID(playerId);
              if (playerPane != null) {
                   playerPane.setCardHighlighted(highlighted, cardNumber);
         public void setTableCardHighlighted(boolean highlighted, int cardNumber) {
              m_pokerMainPane.setCardHighlighted(highlighted, cardNumber);
         public void setAllCardsHighlighted(boolean highlighted) {
              ArrayList<PokerPlayerPane> playerPaneList = new ArrayList<PokerPlayerPane>(
                        m_playerPaneList.values());
              for (int playerCounter = 0; playerCounter < playerPaneList.size(); playerCounter++) {
                   playerPaneList.get(playerCounter)
                             .setCardHighlighted(highlighted, 0);
              m_pokerMainPane.setCardHighlighted(highlighted, 0);
         public Choice displayChoices(ArrayList<Choice> choiceList) {
              return getPokerChoiceListPane().displayChoices(choiceList);
         public void displayAsyncMsg(String msg) {
              getPokerMainPane().displayTempoMsg(msg);
         public int getBetValue() {
              return getPokerChoiceListPane().getBetValue();
         public void addCardToPlayer(int playerId, Card card) {
              PokerPlayerPane playerPane = getPlayerPaneByPlayerID(playerId);
              if (playerPane != null) {
                   playerPane.addCard(card);
         public void addCardToTable(Card card) {
              getPokerMainPane().addCardToTable(card);
         public void removeCardsFromPlayer(int playerId) {
              PokerPlayerPane playerPane = getPlayerPaneByPlayerID(playerId);
              if (playerPane != null) {
                   playerPane.removeCards();
         public void removeCardsFromPlayers() {
              ArrayList<PokerPlayerPane> playerPaneList = new ArrayList<PokerPlayerPane>(
                        m_playerPaneList.values());
              for (int playerCounter = 0; playerCounter < playerPaneList.size(); playerCounter++) {
                   playerPaneList.get(playerCounter).removeCards();
         public void removeCardsFromTable() {
              getPokerMainPane().removeCards();
         private PokerPlayerPane getPlayerPaneByPlayerID(int playerID) {
              PokerPlayerPane foundPlayerPane = (PokerPlayerPane) m_playerPaneList
                        .get(playerID);
              return foundPlayerPane;
         public void setButton(int seatNumber, int buttonType) {
              m_pokerMainPane.setButton(seatNumber, buttonType);
         public void setConnectionStatus(boolean isConnected, String nickname) {
              m_pokerMainMenuBar.setConnectionStatus(isConnected);
              m_title1 = " - " + nickname;
              if (isConnected) {
                   m_title1+=" is Connected";
              } else {
                   m_title1+=" is not Connected";
              refreshTitle();
         public void setPot(int potValue) {
              getPokerMainPane().setPot(potValue);
         public void setPlayerStack(int playerID, int newStack) {
              PokerPlayerPane playerPane = getPlayerPaneByPlayerID(playerID);
              if (playerPane != null) {
                   playerPane.setStack(newStack);
         public void setCurrentBetValue(int playerID, int betValue) {
              PokerPlayerPane playerPane = getPlayerPaneByPlayerID(playerID);
              if (playerPane != null) {
                   playerPane.setCurrentBet(betValue);
         public void setPlayerAction(int playerID, int PLAYER_ACTION) {
              PokerPlayerPane playerPane = getPlayerPaneByPlayerID(playerID);
              if (playerPane != null) {
                   playerPane.setAction(PLAYER_ACTION);
         public void playSound(int ACTION) {
              String soundPath = "";
              switch (ACTION) {
              case ClientGUIInterface.ACTION_ALLIN: {
                   soundPath = AppProperties.getInstance().getProperty(
                             "holdem.sounds.chips.allin");
                   break;
              case ClientGUIInterface.ACTION_BET: {
                   soundPath = AppProperties.getInstance().getProperty(
                             "holdem.sounds.chips");
                   break;
              case ClientGUIInterface.ACTION_CALL: {
                   soundPath = AppProperties.getInstance().getProperty(
                             "holdem.sounds.chips");
                   break;
              case ClientGUIInterface.ACTION_RAISE: {
                   soundPath = AppProperties.getInstance().getProperty(
                             "holdem.sounds.chips");
                   break;
              case ClientGUIInterface.ACTION_PAY_SMALL_BLIND: {
                   soundPath = AppProperties.getInstance().getProperty(
                             "holdem.sounds.chips");
                   break;
              case ClientGUIInterface.ACTION_PAY_BIG_BLIND: {
                   soundPath = AppProperties.getInstance().getProperty(
                             "holdem.sounds.chips");
                   break;
              case ClientGUIInterface.ACTION_CHECK: {
                   soundPath = AppProperties.getInstance().getProperty(
                             "holdem.sounds.check");
                   break;
              case ClientGUIInterface.ACTION_FOLD: {
                   soundPath = AppProperties.getInstance().getProperty(
                             "holdem.sounds.fold");
                   break;
              case ClientGUIInterface.ACTION_DEAL_CARDS: {
                   soundPath = AppProperties.getInstance().getProperty(
                             "holdem.sounds.card");
                   break;
              case ClientGUIInterface.ACTION_REMOVE_CARDS: {
                   soundPath = AppProperties.getInstance().getProperty(
                             "holdem.sounds.remove_cards");
                   break;
              default: {
              if (soundPath != null && !soundPath.trim().equals("")) {
                   try {
                        AudioPlayer.player.start(new AudioStream(getClass()
                                  .getResource(soundPath).openStream()));
                   } catch (IOException ioe) {
                        System.err.println("Unable to play sound:\n" + soundPath
                                  + "\n\n" + ioe);
         private void displayBlindValues(int curSB, int curBB, int nextSB, int nextBB){
              //m_title2=" - "+curSB+"/"+curBB+" (next values "+nextSB+"/"+nextBB+")";
              //refreshTitle();
         public void raiseBlinds(int curSB, int curBB, int nextSB, int nextBB){
              displayBlindValues(curSB,curBB,nextSB,nextBB);
    }The error when calling HoldEmClientGUI.class (I have 2 files HoldEmClientGUI.class and HoldEmClientGUIFrame.class, is it normal?):
    java.lang.VerifyError: (class: holdem/gui/menu/MainMenuBar, method: handleSettingsItem signature: ()V) Incompatible argument to function
         at holdem.gui.HoldEmClientGUIFrame.getPokerMainMenuBar(HoldEmClientGUI.java:145)
         at holdem.gui.HoldEmClientGUIFrame.<init>(HoldEmClientGUI.java:95)
         at holdem.gui.HoldEmClientGUI.init(HoldEmClientGUI.java:54)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)MainMenuBar.java:
    import holdem.gui.dialog.ClientInputDialog;
    import holdem.gui.dialog.ServerInputDialog;
    import holdem.gui.dialog.SettingsDialog;
         private void handleSettingsItem() {
              new SettingsDialog(getHoldEmClientGUI());
         private HoldEmClientGUI getHoldEmClientGUI() {
              HoldEmClientGUI gui = null;
              Container curContainer = this;
              do {
                   curContainer = curContainer.getParent();
              } while (curContainer instanceof Container
                        && !(curContainer instanceof HoldEmClientGUI));
              if (curContainer instanceof HoldEmClientGUI) {
                   gui = (HoldEmClientGUI) curContainer;
              return gui;
         }I think the problem comes from private HoldEmClientGUI getHoldEmClientGUI() but I don't know what is wrong in it.
    Edited by: Quezako on Oct 14, 2008 7:51 AM

Maybe you are looking for

  • PS file in illustrator changes color when I move it??

    When I open a ps file in illustrator some objects change color when I move them and are displayed correctly in preview and Photoshop, why and how do I fix this? Also the object seems to be duplicated. It should have the same and only the colors of th

  • Wrong language on app

    Some apps get the wrong language? The latest downloaded apps got German language instead of Swedish. How can I change them in to Swedish?

  • Function & Procedure Help

    CUST- customer_num, first_name, last_name DELIVERY - customer_num, free_delivery INVOICE- customer_num, delivery, item_num INVENTORY - item_num, price using just these columns from these tables i have to create a detailed report as to which customers

  • Schemas synchronization script

    Hello all, I need to synchronize 2 oracle schemas on 2 different databases. I need SQL script to perform that from a powerbuilder program. The first schema is on a server database. The second is on a laptop. The user normally connect to the server, b

  • Mac Pro 1,1 extra SATA port issues

    Hello all, When we try to use the additional SATA ports on the Mac Pro, (the extra ones behind the cooling fans) they seem to be very unreliable--drives dismount themselves, for no apparent reason. We are running the SATA to eSATA dual port cable ada