Web application fails to run on PE 8.1

Hi,
May someone give advices:
I developed an web Application with Sun Java jCreator and worked well under Sun app server PE 8.0 but when deployed to PE 8.1 it doesn't work at all.
From Sun Java jCreator I created a WAR file and deployed through admin console. WEB.XML and SUN-WEB.XML look correct but I always get this error:
HTTP Status 404 - /webapplication1/
type Status report
message /webapplication1/
description The requested resource (/webapplication1/) is not available.
Sun-Java-System/Application-Server
Thanks.

do you see any deployment exception in the server.log ? if nothing please post the web.xml and sun-web.xml

Similar Messages

  • Java "Application Failed to run" error in safari

    I'm getting a " Application Failed to run" error on safari when trying to upload photos to facebook via the java uploader. I can't use the iphoto uploader for this particular page so that is not a solution.
    I've uploaded photos plenty of times before but starting today, I get the following JAva Console message that I've deleted my user name from. Although I don't see anything here that indicates an erro, it is promted by an Error message that you click for details, which says the "The Application failed to run". Any thoughts on what I can do to correct this? I haven't changed anything since it's worked in the past and I've quit safari, restarted and ran disk utility.
    Java Plug-in 1.6.0_15
    Using JRE version 1.6.0_15-b03-219 Java HotSpot(TM) 64-Bit Server VM
    User home directory = /Users/
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------

    This I guess is not a Safari problem since I got the same error in Firefox. How does one fix a Java problem occurring in at least two different browsers?

  • After upgrade of Weblogic 8.1 to 9.2 web application fails to function

    Hi,
    After spending days and days together to get the upgrade to complete and finally build the web application, when i now try to run the web application, the admin (note i am runing under weblogic workshop domain) server gives the following warnings when starting up and the application throws a lot of exceptions related to netui pageflows. Kindly help.
    <Jul 2, 2010 1:40:02 PM PDT> <Error> <WSRP-Consumer> <BEA-420731> <Exception [java.security.PrivilegedActionException: com.bea.wsrp.consumer.managemen
    t.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fx
    ifd8_LocalHomeImpl] thrown while trying to do task [handleTimerNotification] in class [com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveList
    ener].
    java.security.PrivilegedActionException: com.bea.wsrp.consumer.management.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.
    wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:373)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.handleNotification(ProxyPortletRemoveListener.java:197)
    at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:221)
    at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:184)
    Truncated. see log file for complete stacktrace
    com.bea.wsrp.consumer.management.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyP
    ortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
    at com.bea.wsrp.consumer.management.ProxyPortletManagerImpl.getRemovableProxyPortlets(ProxyPortletManagerImpl.java:485)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener$ProxyPortletRemover.run(ProxyPortletRemoveListener.java:330)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.handleNotification(ProxyPortletRemoveListener.java:197)
    Truncated. see log file for complete stacktrace
    java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
    at com.bea.wsrp.consumer.management.AbstractAdapter.getLocalPPPM(AbstractAdapter.java:313)
    at com.bea.wsrp.consumer.management.AbstractAdapter.getProxyPortletPersistenceManager(AbstractAdapter.java:293)
    at com.bea.wsrp.consumer.management.ProxyPortletManagerImpl.getRemovableProxyPortlets(ProxyPortletManagerImpl.java:483)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener$ProxyPortletRemover.run(ProxyPortletRemoveListener.java:330)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    Truncated. see log file for complete stacktrace
    <Jul 2, 2010 1:40:04 PM PDT> <Error> <netuix> <BEA-423147> <Exception [java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.applic
    ation.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImpl@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationM
    anagerHome] thrown while trying to do task [initPortalPresentationManager] in class [com.bea.netuix.servlets.manager.PortalServlet].
    java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImp
    l@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
    at weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206)
    at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
    at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:418)
    Truncated. see log file for complete stacktrace
    <Jul 2, 2010 1:40:04 PM PDT> <Error> <netuix> <BEA-423393> <An exception was thrown while running PortalServlet.init: [ javax.servlet.ServletException
    : Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImpl@11ef9a9 to com.bea.netuix.
    application.manager.persistence.PortalPresentationManagerHome ].
    javax.servlet.ServletException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeI
    mpl@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
    at com.bea.netuix.util.ThrowServletException.throwServletException(ThrowServletException.java:28)
    at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:430)
    at com.bea.netuix.servlets.manager.PortalServlet.initCommon(PortalServlet.java:378)
    at com.bea.netuix.servlets.manager.PortalServlet.reinitInternal(PortalServlet.java:234)
    at com.bea.netuix.servlets.manager.PortalServlet.initInternal(PortalServlet.java:225)
    Truncated. see log file for complete stacktrace
    java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImp
    l@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
    at weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206)
    at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
    at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:418)
    Truncated. see log file for complete stacktrace

    Hi,
    After spending days and days together to get the upgrade to complete and finally build the web application, when i now try to run the web application, the admin (note i am runing under weblogic workshop domain) server gives the following warnings when starting up and the application throws a lot of exceptions related to netui pageflows. Kindly help.
    <Jul 2, 2010 1:40:02 PM PDT> <Error> <WSRP-Consumer> <BEA-420731> <Exception [java.security.PrivilegedActionException: com.bea.wsrp.consumer.managemen
    t.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fx
    ifd8_LocalHomeImpl] thrown while trying to do task [handleTimerNotification] in class [com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveList
    ener].
    java.security.PrivilegedActionException: com.bea.wsrp.consumer.management.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.
    wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:373)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.handleNotification(ProxyPortletRemoveListener.java:197)
    at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:221)
    at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:184)
    Truncated. see log file for complete stacktrace
    com.bea.wsrp.consumer.management.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyP
    ortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
    at com.bea.wsrp.consumer.management.ProxyPortletManagerImpl.getRemovableProxyPortlets(ProxyPortletManagerImpl.java:485)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener$ProxyPortletRemover.run(ProxyPortletRemoveListener.java:330)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.handleNotification(ProxyPortletRemoveListener.java:197)
    Truncated. see log file for complete stacktrace
    java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
    at com.bea.wsrp.consumer.management.AbstractAdapter.getLocalPPPM(AbstractAdapter.java:313)
    at com.bea.wsrp.consumer.management.AbstractAdapter.getProxyPortletPersistenceManager(AbstractAdapter.java:293)
    at com.bea.wsrp.consumer.management.ProxyPortletManagerImpl.getRemovableProxyPortlets(ProxyPortletManagerImpl.java:483)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener$ProxyPortletRemover.run(ProxyPortletRemoveListener.java:330)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    Truncated. see log file for complete stacktrace
    <Jul 2, 2010 1:40:04 PM PDT> <Error> <netuix> <BEA-423147> <Exception [java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.applic
    ation.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImpl@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationM
    anagerHome] thrown while trying to do task [initPortalPresentationManager] in class [com.bea.netuix.servlets.manager.PortalServlet].
    java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImp
    l@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
    at weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206)
    at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
    at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:418)
    Truncated. see log file for complete stacktrace
    <Jul 2, 2010 1:40:04 PM PDT> <Error> <netuix> <BEA-423393> <An exception was thrown while running PortalServlet.init: [ javax.servlet.ServletException
    : Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImpl@11ef9a9 to com.bea.netuix.
    application.manager.persistence.PortalPresentationManagerHome ].
    javax.servlet.ServletException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeI
    mpl@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
    at com.bea.netuix.util.ThrowServletException.throwServletException(ThrowServletException.java:28)
    at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:430)
    at com.bea.netuix.servlets.manager.PortalServlet.initCommon(PortalServlet.java:378)
    at com.bea.netuix.servlets.manager.PortalServlet.reinitInternal(PortalServlet.java:234)
    at com.bea.netuix.servlets.manager.PortalServlet.initInternal(PortalServlet.java:225)
    Truncated. see log file for complete stacktrace
    java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImp
    l@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
    at weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206)
    at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
    at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:418)
    Truncated. see log file for complete stacktrace

  • Symbol Lookup Error - GTK Applications Fail to Run

    I receive the following error for the majority of graphical applications I'm running on a laptop.
    application: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: g_source_set_name
    Those applications include,  but are not limited to, firefox, chromium, thunar and uzbl-brower. The one exception I have noticed is VLC. Clearly this is a product of the problem with the GTK library, but I still can't figure out how to solve the error. I found an Ubuntu thread that referenced the problem, but the solution did not help me. Any help would be greatly appreciated.
    Edit: Corrected typo as noted by fphillips.
    Last edited by filam (2010-10-17 10:14:44)

    Thank you for the comment fphillips. Reinstalling GTK2, which I tried earlier, doesn't seem to have any effect.
    I had an error with Pacman, which I thought I fixed, but may be the real source of my aforementioned error.
    When I (re)installed a package I was receiving the following error:
    error: could not open file /var/lib/pacman/local/glibc-2.12.1-2/depends
    I created a new file copied from another Arch Linux install, which removed the error, but may not have removed the problem.
    Oddly readelf -s /usr/lib/libgdk-x11-2.0.so.0|grep g_source_set_name returns nothing on my functioning netbook, but returns the same output from your post on my broken laptop.
    Last edited by filam (2010-10-17 10:30:22)

  • Java web application will not run on iMac.

    I have a problem that has defied technical support in 2 organisations.
    I am a stock trader and use a high spec iMac for my trading platforms. Recently I tried to run two different trading platforms on my Mac without success. The applications are Thinkorswim from TD Ameritrade and Trader Workstation from Interactive Brokers. I can download the Mac versions of either the web based or standalone versions of these apps and install them ok but when I double click the apps I get a "bouncing" logo appear in the dock and then it disappears. These are Java based applications. I have checked that Java is enabled, latest version etc and that Java web start is in place - but to no avail.
    Now the weird part, I also have a Macbook Pro and the apps load OK on this.
    Both machines run latest version of Lion, and all parameters and settings for browser, Java, preferences are identical. I cannot find a difference between the two machines.
    Can anyone suggest a possible cause and solution? Greatly appreciated.
    Des Cahill
    Kildare
    Ireland.

    I had the same - was a un unzipping issue...
    If you have a 3rd party zipper - either uninstall or turn off the zip file handing under prefs
    only use the built in Lion unzipper.
    https://discussions.apple.com/thread/3826648?start=0&tstart=0

  • Error occurred while packaging application: fails to run on iOS device...

    I am building a project in Apple Mavericks using FlashBuilder 4.7 using AIR SDK 3.9 and Flash Player 11.9. 
    The project is plugin project that builds and runs for android in the AIR simulator as well as on the device (so far so good)… it also builds and runs for iOS in the Xcode simulator but fails on the device… I have checked and double checked to make sure that my certificate (p12) and provisioning profile are correct and have also confirmed that the Application descriptor correctly mirrors the app ID (in flash builder as well as in the provisioning profile). I have allowed System Events in the Security & Privacy setting in Mavericks.
    If I try to build and run for the device… after a few minutes it fails with a message… “Exception occurred during launch  Reason: Error occurred while packaging application:” without any detailed information.
    If I try to “Export Release Build” it fails after a few minutes with message… “Error occurred while packaging application: Id: framework not found UIKit  Compilation failed while executing  :  Id64” Even though I know UIKit was included in the Xcode project when I started and UIKit is (I thought) automatically included by Flash Builder!
    Can anyone help me out or point me in the right direction? I really need to get this project running on the device, I was pretty sure that the provisioning was my problem but have not had any luck getting it running no matter how many times I review and check my settings and provisioning. Please Help

    I am building a project in Apple Mavericks using FlashBuilder 4.7 using AIR SDK 3.9 and Flash Player 11.9. 
    The project is plugin project that builds and runs for android in the AIR simulator as well as on the device (so far so good)… it also builds and runs for iOS in the Xcode simulator but fails on the device… I have checked and double checked to make sure that my certificate (p12) and provisioning profile are correct and have also confirmed that the Application descriptor correctly mirrors the app ID (in flash builder as well as in the provisioning profile). I have allowed System Events in the Security & Privacy setting in Mavericks.
    If I try to build and run for the device… after a few minutes it fails with a message… “Exception occurred during launch  Reason: Error occurred while packaging application:” without any detailed information.
    If I try to “Export Release Build” it fails after a few minutes with message… “Error occurred while packaging application: Id: framework not found UIKit  Compilation failed while executing  :  Id64” Even though I know UIKit was included in the Xcode project when I started and UIKit is (I thought) automatically included by Flash Builder!
    Can anyone help me out or point me in the right direction? I really need to get this project running on the device, I was pretty sure that the provisioning was my problem but have not had any luck getting it running no matter how many times I review and check my settings and provisioning. Please Help

  • Application migrated from 11.1.2.3 to 12.1.2.0 fails to run in IntegratedWebLogic

    Hi,
    Can anyone help resolving the following problem.
    We've been developing an ADF application with JDeveloper 11.1.2.3 and it works fine when run both with its IntegratedWebLogic or when deployed to a standalone Glassfish server.
    We want to switch to JDeveloper 12.1.2.0. and use new UI components.
    We are able to successfully open the application in JDeveloper 12c -  the migration logs say it was successfully converted, all projects, pages, task flows, classes open and can be edited just fine. However the application fails to run with IntegratedWebLogic.
    Application is using modules included via ADF shared libraries:
    CommonUI.jar and  CommonModel.jar -> included in ApplicationModule1 and ApplicationModule2.
    Both ApplicationModule1 and ApplicationModule2 work fine when tested with IntegratedWebLogic.
    They are in turn included in the MasterApplication as ApplicationModule1.jar and ApplicationModule2.jar.
    However the MasterApplication (SLABAccountMaster) fails to run. It gets deployed, but there is an exception when accessing the first page: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.
    I've posted a fragment of the logs below. I can include all of it - but it's huge.
    [Running application SLABAccountMaster on IntegratedWebLogicServer...]
    [02:31:02 PM] Web Module AccountViewWebApp.war recognized in project AccountView.jpr
    [02:31:03 PM] ----  Deployment started.  ----
    [02:31:03 PM] Target platform is  (Weblogic 12.x).
    [02:31:03 PM] Retrieving existing application information
    [02:31:03 PM] Running dependency analysis...
    [02:31:03 PM] Deploying 2 profiles...
    [02:31:06 PM] Wrote Web Application Module to C:\Users\SlawekAr.SLAB\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\SLABAccountMaster\AccountViewWebApp.war
    [02:31:06 PM] Wrote Enterprise Application Module to C:\Users\SlawekAr.SLAB\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\SLABAccountMaster
    [02:31:06 PM] Deploying Application...
    <11-Sep-2013 14:31:10 o'clock BST> <Warning> <Application Client> <BEA-2162200> <No Main-Class defined in the manifest file of Java Module: empty.jar. This module will be treated as a utility JAR and subsequent initialization steps will be skipped.>
    <11-Sep-2013 14:31:13 o'clock BST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:SLABAccountMaster@SLABAccountMaster-AccountView-context-root, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
    [02:31:39 PM] Application Deployed Successfully.
    [02:31:39 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [02:31:39 PM] http://172.16.60.102:7111/SLABAccountMaster-AccountView-context-root
    [02:31:39 PM] Elapsed time for deployment:  36 seconds
    [02:31:39 PM] ----  Deployment finished.  ----
    Run startup time: 36353 ms.
    [Application SLABAccountMaster running on IntegratedWebLogicServer]
    Target URL -- http://127.0.0.1:7111/SLABAccountMaster-AccountView-context-root/faces/AccountsWorkbench.jsf
    <11-Sep-2013 14:31:48 o'clock BST> <Error> <oracle.adfinternal.controller.application.AdfcExceptionHandler> <ADFC-50016> <ADFc: While handling an exception the application's exception handler threw a new exception.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
      at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:194)
      at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1316)
      at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:1027)
      at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:1875)
      at oracle.adfinternal.controller.application.model.UpdateBindingListener.setBindingELVariable(UpdateBindingListener.java:112)
      at oracle.adfinternal.controller.application.model.UpdateBindingListener.beforePhase(UpdateBindingListener.java:61)
      at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:557)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:290)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
      at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:356)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    Caused By: java.lang.NullPointerException
      at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:632)
      at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:764)
      at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:984)
      at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:158)
      at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1316)
    -Sep-2013 14:31:48 o'clock BST> <Error> <oracle.adfinternal.controller.application.AdfcExceptionHandler> <ADFC-50017> <ADFc: While attempting to handle this exception the application's exception handler failed.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
      at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:194)
      at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1316)
      at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:1027)
      at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:1875)
      at oracle.adfinternal.controller.application.model.UpdateBindingListener.setBindingELVariable(UpdateBindingListener.java:112)
      at oracle.adfinternal.controller.application.model.UpdateBindingListener.beforePhase(UpdateBindingListener.java:61)
      at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:557)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:290)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
      at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:356)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    Caused By: java.lang.NullPointerException
      at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:632)
      at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:764)
      at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:984)
      at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:158)
      at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1316)

    Refer
    6365500 javax.faces.el.EvaluationException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.N…

  • Run a .sh file via a web application

    Hi,
    How can I run a .sh file via a web application? I want to start and stop a service in linux via a web app.

    a service in linux In Unix (including Linux) they are called rather daemons.
    Anyway, usually appropriate (root) privileges are needed to start/stop a dameon and a web application should not run as root.
    So be prepared that ome "sudo" magic might be needed.

  • How to check if  web application already running?

    Is it any way to check, if a web application is already running on clients computer.  In other words how to prevent users to opens second instance of the same running application??

    Not sure what you mean.
    The application (scope) only runs once.  A user cannot force another application scope to open up, ColdFusion controls this.  If no request is made within the timespan set for the application timeout, then the next request fires off the onApplicationStar() BIF automatically before the request BIFs are executed.
    If you mean that you don't want them to have more than 1 browser open to the same website, I'm not sure that's going to cause any issues; as what was said before, the web is stateless.  ie:
    If I open Chrome, and in Tab 1 I goto home.cfm and in Tab 2 I goto home.cfm the to ColdFusion, it basically sees 2 requests to home.cfm made from (in essence) the same person (even though it doesn't know that until you implement some form of user tracking).
    But even if a person logs into a website, the session data is shared for the browser or session (depending in how your sessions are setup)  So even if he logs in on Tab 1, the next time he goes anywhere in Tab 2, it'll be when he's logged in.  The 2 tabs share the same session data.

  • Web Application and Serialization

    Hi, i have a problem with a web application that is running on an Application server (BEA WebLogic 7.0). I have only the war file of the web application and i must know if in this war there is a class that is not serializable.
    How can i find it ? Is there a tool that can help me to find not serializable classes ?
    Thanks.
    claudiozx2006

    One way to do that is to decompile Java classes with Java decompiler and see which one doesn't implement Serializable interface. Here is a link to a good decompiler: http://www.kpdus.com/jad.html

  • Problem in JSF with Swing in a web application

    hi
    i am using jsf for my online projects.my problem is that when i use Swing concept ,the server is closed automatically when i click the swing dialog option 'OK', how can i protect server being closed automatically when user click the the options of Swing dialog box.it is so tedious because my application is going to integrate
    with online server?
    my swing java file is
    * FileExistsDialog.java
    package com.obs.ftw.util.alert;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.Rectangle2D;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.plaf.metal.MetalLookAndFeel;
    * FileExistsDialog: A JOptionPane-like dialog that displays the message
    * that a file exists.
    public class FileExistsDialog extends JDialog {
    * The component that gets the focus when the window is first opened
    private Component initialFocusOwner = null;
    * Command string for replace action (e.g., a button).
    * This string is never presented to the user and should
    * not be internationalized.
    private String CMD_REPLACE = "OK"/*NOI18N*/;
    * Command string for a cancel action (e.g., a button).
    * This string is never presented to the user and should
    * not be internationalized.
    private String CMD_CANCEL = "CANCEL"/*NOI18N*/;
    // Components we need to access after initialization
    private JButton replaceButton = null;
    private JButton cancelButton = null;
    public FileExistsDialog(){
         System.out.println("INSIDE THE FILE EXIST DIALOG");
         JFrame frame = new JFrame() {
         public Dimension getPreferredSize() {
         return new Dimension(200,100);
         frame.setTitle("Debugging frame");
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         frame.pack();
         frame.setVisible(false);
    FileExistsDialog dialog = new FileExistsDialog(frame, true);
         dialog.addWindowListener(new WindowAdapter() {
         public void windowClosing(WindowEvent event) {
         System.exit(0);
         public void windowClosed(WindowEvent event) {
         System.exit(0);
         dialog.pack();
         dialog.setVisible(true);
    * Creates a new FileExistsDialog
    * @param parent parent frame
    * @param modal modal flag
    public FileExistsDialog(Frame parent,boolean modal) {
    super(parent, modal);
         //initResources();
         System.out.println("INSIDE THE FILE EXIST DIALOG CONSTRUCTOR");
    initComponents();
    pack();
    * Determines the locale, loads resources
    /* public void initResources() {
         Locale locale = Locale.getDefault();
    resources = ResourceBundle.getBundle(
              "samples.resources.bundles.FileExistsDialogResources", locale);
    imagePath = resources.getString("images.path");
    }*/ // initResources()
    * Sets all of the buttons to be the same size. This is done
    * dynamically after the buttons are created, so that the layout
    * automatically adjusts to the locale-specific strings.
    private void equalizeButtonSizes() {
         System.out.println("INSIDE THE equalizeButtonSizes()");
    String[] labels = new String[] {
    replaceButton.getText(),
         cancelButton.getText()
         // Get the largest width and height
         Dimension maxSize= new Dimension(0,0);
         Rectangle2D textBounds = null;
         Dimension textSize = null;
    FontMetrics metrics =
              replaceButton.getFontMetrics(replaceButton.getFont());
         Graphics g = getGraphics();
         for (int i = 0; i < labels.length; ++i) {
         textBounds = metrics.getStringBounds(labels, g);
         maxSize.width =
         Math.max(maxSize.width, (int)textBounds.getWidth());
         maxSize.height =
         Math.max(maxSize.height, (int)textBounds.getHeight());
    Insets insets =
         replaceButton.getBorder().getBorderInsets(replaceButton);
    maxSize.width += insets.left + insets.right;
    maxSize.height += insets.top + insets.bottom;
    // reset preferred and maximum size since BoxLayout takes both
         // into account
    replaceButton.setPreferredSize((Dimension)maxSize.clone());
    cancelButton.setPreferredSize((Dimension)maxSize.clone());
    replaceButton.setMaximumSize((Dimension)maxSize.clone());
    cancelButton.setMaximumSize((Dimension)maxSize.clone());
    } // equalizeButtonSizes()
    * This method is called from within the constructor to
    * initialize the dialog.
    private void initComponents() {
         System.out.println("INSIDE THE initComponents()");
         // Configure the window, itself
    Container contents = getContentPane();
    contents.setLayout(new GridBagLayout ());
    GridBagConstraints constraints = null;
    setTitle("Waring");
         // accessibility - all applets, frames, and dialogs should
         // have descriptions
         this.getAccessibleContext().setAccessibleDescription("Descriptions");
         addWindowListener(new WindowAdapter() {
         public void windowOpened(WindowEvent event) {
              // For some reason the window opens with no focus owner,
              // so we need to force the issue
         if (initialFocusOwner != null) {
              initialFocusOwner.requestFocus();
              // Only do this the 1st time the window is opened
              initialFocusOwner = null;
         public void windowClosing(WindowEvent event) {
         System.out.println("INSIDE THE windowClosing");     
         // Treat it like a cancel
              windowAction(CMD_CANCEL);
         // image
    JLabel imageLabel = new JLabel();
    imageLabel.setIcon(
    new ImageIcon("/images/degraded_large.gif"));
    // accessibility - set name so that low vision users get a description
    imageLabel.getAccessibleContext().setAccessibleName("OK");
    constraints = new GridBagConstraints ();
    constraints.gridheight = 2;
    constraints.insets = new Insets(12, 33, 0, 0);
    constraints.anchor = GridBagConstraints.NORTHEAST;
    contents.add(imageLabel, constraints);
    // header
    JLabel headerLabel = new JLabel ();
    headerLabel.setText("SAMPLE");
    headerLabel.setForeground(
         new Color(MetalLookAndFeel.getBlack().getRGB()));
    constraints = new GridBagConstraints ();
    constraints.insets = new Insets(12, 12, 0, 11);
    constraints.anchor = GridBagConstraints.WEST;
    contents.add(headerLabel, constraints);
         // Actual text of the message
         JTextArea contentTextArea = new JTextArea();
    contentTextArea.setEditable(false);
    contentTextArea.setText("SAMPLE");
    contentTextArea.setBackground(
              new Color(MetalLookAndFeel.getControl().getRGB()));
    // accessibility -- every component that can have the
         // keyboard focus must have a name. This text area has no
         // label, so the name must be set explicitly (if it had a
         // label, the name would be pulled from the label).
    contentTextArea.getAccessibleContext().setAccessibleName(
              "CONTENTNAME");
    constraints = new GridBagConstraints ();
    constraints.gridx = 1;
    constraints.gridy = 1;
    constraints.insets = new Insets(0, 12, 0, 11);
    constraints.anchor = GridBagConstraints.WEST;
    contents.add(contentTextArea, constraints);
         // Buttons
         JPanel buttonPanel = new JPanel();
    buttonPanel.setLayout (new BoxLayout(buttonPanel, 0));
         replaceButton = new JButton();
         replaceButton.setActionCommand(CMD_REPLACE);
    replaceButton.setText("OK");
    replaceButton.setToolTipText("TO OK");
         replaceButton.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent event) {
         windowAction(event);
    buttonPanel.add(replaceButton);
    // spacing
    buttonPanel.add(Box.createRigidArea(new Dimension(5,0)));
         cancelButton = new JButton();
         cancelButton.setActionCommand(CMD_CANCEL);
    cancelButton.setText("CANCEL");
    cancelButton.setNextFocusableComponent(replaceButton);
         cancelButton.setToolTipText("TO CANCEL");
         cancelButton.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent event) {
         windowAction(event);
    buttonPanel.add(cancelButton);
    constraints = new GridBagConstraints ();
    constraints.gridx = 1;
    constraints.gridy = 2;
    constraints.insets = new Insets(12, 12, 11, 11);
    constraints.anchor = GridBagConstraints.WEST;
    contents.add(buttonPanel, constraints);
         // Equalize the sizes of all the buttons
         equalizeButtonSizes();
         // For some reason, the dialog appears with no input focus.
         // We added a window listener above to force the issue
         initialFocusOwner = replaceButton;
    } // initComponents()
    * The user has selected an option. Here we close and dispose the dialog.
    * If actionCommand is an ActionEvent, getCommandString() is called,
    * otherwise toString() is used to get the action command.
    * @param actionCommand may be null
    private void windowAction(Object actionCommand) {
         System.out.println("INSIDE THE WINDOW ACTION");
         String cmd = null;
    if (actionCommand != null) {
         if (actionCommand instanceof ActionEvent) {
         cmd = ((ActionEvent)actionCommand).getActionCommand();
         } else {
         cmd = actionCommand.toString();
         if (cmd == null) {
         // do nothing
         } else if (cmd.equals(CMD_REPLACE)) {
         System.out.println("your replace code here...");
         } else if (cmd.equals(CMD_CANCEL)) {
         System.out.println("your cancel code here...");
         setVisible(false);
         dispose();
    } // windowAction()
    * This main() is provided for debugging purposes, to display a
    * sample dialog.
    // main()
    } // class FileExistsDialog
    and calling java function is
    public String fileDialog(){
         return "Success";
    public void processFile(ActionEvent event){
         System.out.println("INSIDE THE FILE DIALOG");
         FileExistsDialog file     = new FileExistsDialog();
         System.out.println("SUCCESS");
    called from
         <h:commandButton action="#{userLogin.fileDialog}" actionListener="#{userLogin.processFile}"></h:commandButton>
    pls help me as soon
    advance thanks
    rgds
    oasisdeserts

    Swing is GUI library for use in desktop applications.
    JSF is a web application framework which runs on an application server and is accessed by clients via web browsers.
    To fully understand what you have done, try accessing your application from a different machine than the server.
    To answer your question, don't invoke System.exit() if you would like the process to continue. But that is the least of your problems.

  • How to get web application to use Tuscany without conflicting with SAP SDO

    Hi,
    We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO.  As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
    The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
    common-2.2.3.jar
    ecore-2.2.3.jar
    ecore-change-2.2.3.jar
    ecore-xmi-2.2.3.jar
    tuscany-sdo-impl-1.1.1.jar
    tuscany-sdo-lib-1.1.1.jar
    tuscany-sdo-tools-1.1.1.jar
    xsd-2.2.3.jar
    We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
    However, when we try to run the web application, the following error is logged:  java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
    The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
    So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?

    I took a look at the "printerReady" example.  Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
    Any ideas on how to find the MAC address associated with the IP addresses that respond?
    We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
    I'll try the InetPing to see how it works,
    Kirk

  • Web Application Server on SAP R/3 4.7 * 200

    Hi All,
    How do i know if Web Application Server is running on SAP R/3 4.7 * 200 system. i checked and
    found that IGS Watch dog service is running under sap mmc, and i see this parameter active in
    Instance profile ms/http_port = 8000 . Which user do we need to use to login and the url would be
    http://hostname:portname ??  Any inputs would be appreciated
    Regards,
    Ershad Ahmed

    Hello Eric,
    Thanks for correcting me, but
    J2EE_ADMIN is used only with ABAP stack.
    but i think you are tring to say JAVA stack or it is really ABAP stack.
    Regards,
    Subhash

  • Web application deployed to weblogic 7.0 does't work

    Hi,
    I recently developed a web application. It runs perfectly in Jdeveloper Embeded server on my local machine. The app was talking to a orable 9i database.
    However after I deployed it to weblogic 7.0 server. All servlets don't work any more. Some give me 404 error which I figured it might have something to do with my web.xml. I didn't have enough servlet-mapping definition. I corrected and now I've got new 500 error. Please help. I'm wondering if I need to do some oralce configure thing in the admin console. But it does work in Jdevlopera. All connection statment and sql statements were in the servlet code. Is here anything I miss? please help. I've been stuggle with this for 3 days. Any tip will be highly appreciated. Thanks again.
    When I run a servlet by calling a URL. It gives me the following error. What could this go wrong?
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.

    Make sure to have the right servlet mapping:
    For example:
    <servlet-mapping>
    <servlet-name>Servlet1</servlet-name>
    <url-pattern>/Servlet1_Url</url-pattern>
    </servlet-mapping>
    Then call the servlet as
    http://Hostname:7001/contex_root/Servlet1_Url
    Since your servlet is talking to the Oracle9i database, If you come across any database connecting problems
    make sure classes12.jar is in the classpath before startting WebLogic7.0
    Make sure the WL_home/weblogic700/server/lib/classe12.zip is not loaded by moving it into a different folder.

  • 500 Internal Server Error   BEx Web Application

    Hello,
    can everybody help for the fault, or had the same error ?
    500 Internal Server Error
      BEx Web Application
    Failed to process request; contact your system administrator
    Error Summary
    Exception occured while processing the current request; this exception cannot be handled by the application or framework
    If the information on this page does not help you locate and correct the cause of the problem, contact your system administrator
    To facilitate analysis of the problem, keep a copy of this error page Hint: Most Web browsers allow you to select all content, and copy and paste it into an empty document (such as in an email or simple text file)
    Root Cause
    The initial exception that caused the request to fail was:
    Cannot get connection for 60 seconds. Possible reasons: 1) Connections are cached within SystemThread(can be any server service or any code invoked within SystemThread in the SAP J2EE Engine), 2) The pool size of adapter "SAPFactory" is not enough according to the current load of the system or 3) The specified time to wait for connection is not enough according to the pool size and current load of the system. In case 1) the solution is to check for cached connections using the Connector Service list-conns command, in case 2) to increase the size of the pool and in case 3) to increase the time to wait for connection property. In case of application thread, there is an automatic mechanism which detects unclosed connections and unfinished transactions.
    Log ID 0014C265209B005B000007300000610A000473C4612CBCB9
    thanks

    Hi,
    I am getting similar kind of error.Can you please tell me how you resolved the issue.
    Regards,
    Priyanka

Maybe you are looking for