ADF faces (adf-faces-impl.jar) on Glassfish not being deleted on undeploy

I'm using Glassfish milestone 48 (Windows) and Oracle's ADF Faces in a basic web application. When undeploying an already deployed application the adf-faces-impl.jar is not being deleted from the applications WEB-INF/lib folder on the server.
Google searches have led me to believe that this is because the file was locked at the time the app was being undeployed. All my application does is display an ADF Faces date component using the ADF taglib. There is no programming logic built in it (yet). So I'm guessing there is some issue with ADF Faces and Glassfish. I verified this same error when using the ADF Faces demo war application that is packaged with the ADF Faces download.
Stopping Glassfish and starting it up again solves this file locking issue. But this is far from ideal in a development environment where we constantly redeploy apps.
Any help on how to fix this would be of immense help.
-sud

Here is a stack trace from the point where the jar file is opened during deployment of adf-faces-impl to GlassFish. On the surface, it looks as if a stream might be opened but not closed in the ADF code?
- Tim
domains\domain1\applications\j2ee-modules\adf-faces-demo\WEB-INF\lib\adf-faces-impl-SNAPSHOT.jar
java.util.zip.ZipFile.<init>(ZipFile.java:242)
java.util.jar.JarFile.<init>(JarFile.java:132)
java.util.jar.JarFile.<init>(JarFile.java:70)
sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:56)
sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:41)
sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:63)
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:102)
sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:124)
java.net.URL.openStream(URL.java:1007)
oracle.adf.view.faces.bean.FacesBeanFactory._initializeBeanTypes(FacesBeanFactory.java:125)
oracle.adf.view.faces.bean.FacesBeanFactory._initializeBeanTypes(FacesBeanFactory.java:116)
oracle.adf.view.faces.bean.FacesBeanFactory.<clinit>(FacesBeanFactory.java:151)
oracle.adf.view.faces.component.UIXComponentBase.createFacesBean(UIXComponentBase.java:108)
oracle.adf.view.faces.component.UIXComponentBase._init(UIXComponentBase.java:1192)
oracle.adf.view.faces.component.UIXComponentBase.setRendererType(UIXComponentBase.java:332)
oracle.adf.view.faces.component.UIXComponentBase.<init>(UIXComponentBase.java:102)
oracle.adf.view.faces.component.UIXColumn.<init>(UIXColumn.java:159)
oracle.adf.view.faces.component.core.data.CoreColumn.<init>(CoreColumn.java:215)
oracle.adfinternal.view.faces.renderkit.core.xhtml.table.SpecialColumnRenderer.<clinit>(SpecialColumnRenderer.java:17)
oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.<init>(TableRenderer.java:877)
oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.<init>(DesktopTableRenderer.java:48)
oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.<init>(DesktopTableRenderer.java:60)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
java.lang.Class.newInstance0(Class.java:350)
java.lang.Class.newInstance(Class.java:303)
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1308)
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1379)
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:774)
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:529)
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
com.sun.enterprise.web.WebModule.start(WebModule.java:292)
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:659)
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1478)
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1143)

Similar Messages

  • Jar file is not being creating

    Dear Members,
    My problem is that: I am using a serialized class in my project.( i.e. I created another project, I made up a serialized class in this this project And I compiled this project. Later I added this project to my actual/first project' s library folder for using this seralized class.) After I disposed my actual project. I builded it for creating a jar file. But any jar file is not falling out (I am using NetBeans) Could you help me please to solve this problem?
    Thank you for taking the time...
    Regards,

    Dear Members,
    My problem is that: I am using a serialized class in my project.( i.e. I created another project, I made up a serialized class in this this project And I compiled this project. Later I added this project to my actual/first project' s library folder for using this seralized class.) After I disposed my actual project. I builded it for creating a jar file. But any jar file is not falling out (I am using NetBeans) Could you help me please to solve this problem?
    Thank you for taking the time...
    Regards,

  • Client.jar file not being generated by weblogic 6.1

    Hi,
    I have developed a web service for our Internal network. I have deployed the web
    service onto weblogic 6.1 and have been able to obtain the wsdl file. I have coded
    my java client, but to compile and run the client, I require the client.jar file,
    which weblogic should create on its own once the actual web service is successfully
    deployed. wl server is not able able to create the client.jar file and hence I am
    unable to run the client. Could anyone tell me why the client.jar file is not being
    created and is there any workaround for coding the java client without using the
    client.jar file.
    Thanx
    sudipto

    Hi Sudipto,
    I'm assuming that you used the <wsgen> Ant task (in your build.xml) to create this
    web service, right?
    Are you sure the client.jar file isn't in the web-services.war? You can verify this
    by extracting this file (web-services.war) from the .ear for your web service, and
    viewing its contents with WinZip (or the jar.exe utility that comes with the JDK).
    There is a way to create client code without having a client.jar (or a WSDL document),
    but it takes a little more work :-) I have attached a "heavily commented" example
    of this, at the bottom of this post.
    Regards,
    Mike Wooten
    "Sudipto" <[email protected]> wrote:
    >
    Hi,
    I have developed a web service for our Internal network. I have deployed
    the web
    service onto weblogic 6.1 and have been able to obtain the wsdl file. I
    have coded
    my java client, but to compile and run the client, I require the client.jar
    file,
    which weblogic should create on its own once the actual web service is successfully
    deployed. wl server is not able able to create the client.jar file and hence
    I am
    unable to run the client. Could anyone tell me why the client.jar file is
    not being
    created and is there any workaround for coding the java client without using
    the
    client.jar file.
    Thanx
    sudipto[NoWSDLWeatherClient.java]

  • Help required building ADF-Swing/ADF-Faces using ADF Business Components

    My question is in regards to how you can go about building a light swing application to an ADF model?
    In particular if I were to say that we were developing a 3-tier project whereby we had a database tier, a series of EJB-ADF façade session beans to the database (middle-tier), and a swing client communicating with the session beans (view-controller tier), how would you go about developing these screens?
    In particular can we develop these screens using ADF-Faces and also ADF-Swing?
    The EJB session façade beans of course are ADF app modules with customised methods. The methods would return back customised DTO objects. These DTO objects are wrappers to row objects ADF would create. This would be mainly due to making these facade beans web service enabled (Oracle state that these methods cannot return oracle.jbo objects if they are to be web service enabled).
    This would be typically deployed to an app server, like Oracle App Server 10G.
    Could you please have a look at this, as I am doing a lot of research into this.
    eg. Taking example from oracle magazine sept/oct 2006
    with slight enhancements
    package oramag.frameworks.example.common;
    import oracle.jbo.ApplicationModule;
    import oramag.frameworks.customdto.EmployeeDTO;
    public interface HRService extends ApplicationModule {
    void deleteCurrentEmpAndCommit();
    EmployeeDTO findEmployee(int employeeId); // new method
    import oramag.frameworks.customdto.EmployeeDTO;
    public class HRServiceImpl extends ApplicationModuleImpl {
    public void deleteCurrentEmpAndCommit() {
    Row empRow = getEmpView().getCurrentRow();
    if (empRow != null) {
    empRow.remove();
    getDBTransaction().commit();
    public EmployeeDTO findEmployee(int employeeId)() {
    EmployeeDTO employeeDTO = null;
    EmployeesImpl employees = getEmployees();
    employees.setNamedWhereClauseParam("EmployeeId", employeeId);
    employees.executeQuery();
    if(employees.hasNext()) {
    EmployeesRowImpl employee = (EmployeesRowImpl)employees.next();
    employeeDTO = new EmployeeDTO(employee);
    return employeeDTO;
    public EmployeesImpl getEmployees() {
    return (EmployeesImpl)findViewObject("Employees");
    Now given the above code snippet, how could you turn this into an ADF-Swing/ADF Faces application so that if a user using the swing application enters an employee id, then the application will execute the query on the app server, the app server in turn returns the results to the client, and the client finally display the results. Typical MVC example.
    Cheers
    Rodney

    The tutorial is for ADF BC used with JavaServer Faces.
    While the tutorial doesn't cover it, we also support drag and drop development for Swing and visual WYSIWYG layout for Swing panels and windows, too. For a very simple example, watch screencast #4 on my blog here:
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    One thing I have noticed is that when using ADF business components, when the app module returns a custom DTO object like the above example, it returns the data in a element structure according to the data control palette.
    You don't generally ever need to create your own custom DTO's when working with ADF for use by client UI's. The only situation where can be necessary -- until we simplify this in the JDeveloper/ADF 11g release -- is when you desire to expose custom methods that can return sets/arrays of typed row structures through a web service. However, web services are not involved/required in building 3-tier Swing applications.
    When dropping onto a page it does so like a string and doesnt give option to display the data in a read only form etc. Is there anything we need to do, to get the functionality.
    It's more of what you don't need to do :-)
    Just leverage the active data model that the ADF application module provides. You can read more about it in section 4.5 "Understanding the Active Data Model" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html). Your UI's bind to view object instances in the data model, and your UI's are automatically kept up to date without needing to write methods that return data. I short article I wrote that preceeded my writing the ADF Developer Guide content on this topis is here:
    http://radio.weblogs.com/0118231/stories/2006/01/26/theAdfBusinessComponentsActiveDataModel.html
    I know that when dropping a view object you get this functionality. Also was wondering if we were to pass an object of thios type back to the model it might not give us the rich functionality like input forms, like what Oracle provides if we were to drop a enitity view object.
    Just use the active data model and everything becomes totally easy, with no changes required to switch between local or three-tier deployment configurations.
    Trying to do everything with hand-coded DTO beans is really going the hard way.
    Could you help us regarding this?

  • JSF/ADF Faces - ADF-BC example/howto?

    Hi,
    Background:
    ==========
    I know that ADF-BC databinding is not included in the JDev 10.1.3 preview.
    I read and searched nearly all howto's, examples, blogs on ADF-Faces available on the net.
    For the past months I learned how to use the ADF-BC with JClient.
    This convinced me to use the ADF-BC and it's binding features (a fantastic framework!!!!) for my model layer.
    I'm developping a web application.
    Most of the examples on ADF-Faces/JSF are on the View Layer.
    My question:
    ===========
    I read somewhere that JDev 10.1.3 production with drag and drop of ADF-BC databinding will be available only in the summer.
    Question 1:
    ==========
    I suppose that meanwhile it is still possible to use the ADF-BC as the model layer for JSF or ADF-Faces, but the databinding must be done manually, is this correct?
    Question 2:
    ==========
    If answer to 1) is yes.
    Where can I find a howto/best practice document that explains how to use ADF-BC with JSF/ADF-Faces in the backing beans?
    My purpose is to develop my code so that it will be "standard" / "compatible" with the production version of JDev 10.1.3.
    I prefer to use the de-facto JSF standard and code the bindings manualy instead of using Struts with available drag'n drop ADF-BC databinding.
    Your advice will be apreciated
    Frederic

    There is no such document for (1) because we are in the process of delivering design time support for ADF BC integration with ADF Faces, as you mentioned.
    Therefore, you could either continue with ADF UIX, ADFm, ADF BC for the time being, or else try out ADF Faces with session scope Managed Beans. In either case, you'll want to convert this later on, when JDev 10.1.3 completes its support for ADF Faces / ADF BC drag-and-drop integration.
    Kind Regards.

  • ADF Faces ADF BC PlSql ???

    Hi All,
    We have clarify (Oracle tables) and stored procedures ready. Using Jdev 10.1.3
    We want to write a simple form, that has several input textfields, selectSelectChoice etc.
    On form submit, we want to call this stored procedure from ADF BC.
    Can I achieve (call plsql) this using ADF Faces and ADF BC ?
    I guess, I can. Following is my action plan.
    Please correct me if I am wrong.
    1>As I said, we hace Clarify repository (5 Oracle Tables). We have PL Sql procedures ready. These has business logic in it. Some procedured return a REF cursor, some take IN parameters and return OUT parameters.
    2>I will create a database connection in Jdev to these 5 Clarify tabes.
    3>I will use Jdev wizards and create 5 ENTITY and 5 VIEW Objects. I will craeate a Application Module.
    4>I will drag and drop view objects (drop as InputText, SelectOneChoice, Tables Tree, Radio button etc etc etc etc ) from Data Control on my JSF - JSP pages. This will help me generate the UI super FAST.
    5>Now, on UI submits the View Object will interact with corresponding Enity objects.
    6>Now, as I said, I HAVE to use the PLSQL code that is ready to use. So, instead of the ADF default dehaviour, I will override the doDML method in the entity object as follows to call PlSql procedures.
    Modified Entity object code as below
    protected void doSelect(boolean lock) {
    if (lock) {
    this.handleStoredProcLock();
    else {
    this.handleStoredProcSelect();
    public void doDML(int operation, TransactionEvent e) {
    switch (operation) {
    case DML_INSERT: {
    handleStoredProcInsert();
    break;
    case DML_UPDATE: {
    handleStoredProcUpdate();
    break;
    case DML_DELETE: {
    handleStoredProcDelete();
    break;
    void handleStoredProcSelect() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN departments_pkg.do_select(?,?,?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    st.setLong(1,getDepartmentId().longValue());
    st.registerOutParameter(2,Types.VARCHAR);
    st.registerOutParameter(3,Types.NUMERIC);
    int rows = st.executeUpdate();
    populateAttribute(DEPARTMENTNAME,st.getString(2),true,false);
    populateAttribute(LOCATIONID,st.getBigDecimal(3),true,false);
    catch (SQLException s) {
    throw new JboException(s);
    finally {
    try {
    if (st != null) st.close();
    catch (SQLException s) { /* ignore */}
    void handleStoredProcInsert() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN departments_pkg.do_insert(?,?,?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    st.setLong(1,getDepartmentId().longValue());
    if (getDepartmentName() != null) {
    st.setString(2,getDepartmentName());
    else {
    st.setNull(2,Types.VARCHAR);
    if (getLocationId() != null) {
    st.setLong(3,getLocationId().longValue());
    else {
    st.setNull(3,Types.VARCHAR);
    int rows = st.executeUpdate();
    catch (SQLException s) {
    throw new JboException(s);
    finally {
    try {
    if (st != null) st.close();
    catch (SQLException s) { /* ignore */}
    7> In short, above route lets me call Ready Stored Procedures and I am able to speed up the development as well (Because, I am generating the Entity and View Objects based on tables and able to drag drop the Views from Data Control on my JSF - JSP UI.
    I can deploy this code in App Server 10.1.2.0.2 and DONE !!
    What do you guys think ? Is this a good approach to take towards ADF Faces, ADF BC and Pl Sql ??
    thanks,
    pp

    Hi,
    I don't see an objection to this strategy. ll that can be said aboutthe use of PLSQL in ADF BC is mentioned in the documentation
    http://download-uk.oracle.com/docs/html/B25947_01/bcadvgen005.htm#sm0297
    Frank

  • Problem in using Tomahawk 1.1.3 jar with jsf-api.jar & jsf-impl.jar

    Hi All,
    i am facing the problem while using <t:panelTabbedPane> in jsp.APplication has jsf-api.jar and jsf-impl.jar and Tomahawk 1.1.3 jar files in lib folder. This is a Portal Application.While deplyoing on portal server, i am getting following exception
    Nested Exception is java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
    at org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.<clinit>(MyfacesConfig.java:80).
    if any faces problem previously, please help me out in debugging this issue

    Please don't resurrect old topics. Start a new topic for each stand alone question. If necessary put links to the topics you found with search/google.
    Back to the actual problem:java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException The given class is missing in the classpath during runtime. Add that class, or at least the JAR file with that class, to the classpath of the runtime environment, then you're fine.

  • Difference Between Oracle ADF and ADF Rich Client

    Hello Gurus,
    I want to know the difference between those two:
    Oracle ADF:
    http://goo.gl/6Q1i2
    and
    ADF Rich Client:
    http://goo.gl/L31ra
    I downloaded Jdeveloper 11g (11.1.2.3.0)
    I did this tutorial which It adf right? http://goo.gl/8Mf7c
    and this other is rich client right? http://goo.gl/7Krew
    Can I please know the advantages of them over the other one? THANKS !!!

    ADF Faces Rich Client Components are a part of Oracle ADF.
    So Oracle ADF uses ADF Faces as the components for the rich web UI, but it also offers things like simplified database access through ADF Business Components, an advanced ADF Controller layer, and simple data binding.
    I would suggest starting with this seminar:
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/Introduction_To_ADF/Introduction_To_ADF.html

  • Prevent row in ADF BC Row from being deleted

    I'm using ADF/BC for my data; I'm attempting to prevent a row from being deleted based upon some condition. I'd like to do this in the Impl classes of the EO or VO for the given row but I'm not sure where this should be done or if it's even possible to set a "row" to deletable or not. I'm aware of the isUpdatable method that one can override in the EO but I'm interested in preventing a delete of the row instead of the updatability of the attributes.

    Thanks, that prevents it from being deleted for sure but I'm wondering if there is something you can set at the entity level that will be inherited by the Web Tier? In the isAttributeUpdatable method one can set the attributes to read only by returning false and that setting gets bubbled up to the UI tier without any special coding. I'm looking for something similar but instead of a individual attribute I'd like to do it for the Row.
    For instance, I'd like to be able to use EL to set a Delete button to enabled or not based upon a custom permission for that Row. Is there something native on the Row that we can set to make the row read only or not and then reference that using EL?

  • HELP!  I can't  filter out jsf-impl.jar

    Every jar file can be filtered out of a deployment file EXCEPT jsf-impl.jar, Why?
    JDeveloper (older) version of jsf-impl.jar is causing problem with a newer version in JBossAS 4.2.0.CR1 and consequently, throwing java.lang.ClassCastException error. I can filter out every other jar file but not jsf-impl.jar.
    If I manually remove the jsf-impl.jar from my project /WEB-INF, JDeveloper complains about the missing jsf-impl.jar when I restart it. The other alternative is to manually delete the jsf-impl.jar from my *.war file every time I re-deploy it to JBossAS. This option is very tedious in production with frequent re-deployment.
    Could someone suggest a more civilised approach to excluding jsf-impl.jar from my deployment file? I will also like to know why it is not possible to filter out jsf-impl.jar like other jars. Could this be a bug?
    Thanks for your help

    I have found the problem: For those who might be interested and in addition to the normal way filtering deployment files, you also need to uncheck the jsf-impl.jar as follows;
    1 This is in the War Deployment Profile Property
    2 Right click web project name
    3 Click the ‘War Deployment Profile Property’ option
    4 The ‘War Deployment Profile Property’ dialog open
    5 Select File Group
    6 Select Web Filter
    7 Select Contribution
    8 Select Filter
    9 Select WEB-INF
    10 Select lib
    11 Uncheck jsf-imp.jar

  • Ipad is not being recognized by Windows..I get a Code 43 error on any USB port I try. I have rebooted, restarted, blah blah til I am blue in the face.

    Ipad is not being recognized by Windows..I get a Code 43 error on any USB port I try. I have rebooted, restarted, blah blah til I am blue in the face. This is an Ipad not an Ipad2...I can't get this thing recognized by either my desktop or laptop. It used to work...not now.
    Any ideas?

    Did you already have a look at this article?
    iOS: Device recognized in iTunes for Mac OS X

  • How to get facetime to go to face to face

    How to get facetime to go to face to face I call but the face is not there on either phone

    Maybe you are using FaceTime audio?

  • Which MacBook Pro is best for an online MBA program and face to face classes?

    I'm going back to school for an MBA and going to pick up some certifications first.  I'll be attending online classes and some face to face classes.  How much MacBook Pro do I need?  I'm in the HR community, and my MBA is in Global Managment if that helps any.

    Move to MacBook forums

  • My nano and iPhone4 were face to face for a few seconds and now my iPhone won't turn on.  How do I get it going again?  What happened?

    My nano and iPhone4 were face to face for a few seconds and now my iPhone won't turn on.  It doesn't do anything.  I had just charged it.  How do I get my iPhone going again?  What happened?

    Reset your phone:
    Press the sleep/wake button & home button at the same time, keep pressing until you see the Apple logo, then release.

  • ADF 12.1.2 - filtering in table does not work (not visible)

    Hi.
    When using ADF 12.1.2, in a RichTable based on a View Object which, in turn, is based on an SQL Query, table column filter is not being displayed. However, if View Object is based on an Entity Object, table column filter works just fine.
    Vadim.

    Again to back up what Timo says here, it's important you understand that Oracle Support is your primary mechanism for getting fixes out of Oracle.  It is a contract between your organization and Oracle to provide support.  These OTN forums have no SLA attached, and indeed are frequented by Oracle employees on a voluntary capacity (we like to help customers).  If you absolutely need a fix, you should go through Support.
    I know at this point some people like to get up on their soapbox and tell Oracle "how it should be", but that's ignoring the pragmatic reality, Support is the mechanism which Oracle has in place for you to get results to bug, fixes and other assistance.
    I hope I've been clear enough here gang.
    CM.

Maybe you are looking for

  • CPU time & buffer busy waits events are causing performance degradation.

    Oracle Version : - 11.2.0.2.0 Standard Edition OS Platform :- Linux x86 64-bit Edited by: 861928 on Aug 17, 2011 5:52 PM

  • Blackberry 8830 in Australia

    My dad is traveling to Australia and has Blackberry 8830. Will it work there with all voice, data, GPS capabilities? Lemme know! Thanks! Message Edited by BB2845 on 06-01-2008 05:41 PM

  • How to copy my pdf file to notepad

    i want to copy the pdf file to notepad of word

  • Vendor Carry Forward Balances

    Hi Gurus, We are trying to do Vendor Carry forward to the new fiscal year. When checked in Vendor Balance using FK10N, there are already some items are carried forwarded. F.07 Carry forward was done before, what are the other activities, which could

  • About FOREACH Error

    Dear All, I have some problem about foreach statement. I have 5 records in info cube First record => version = 0 value type = 10 fiscal period = 009.2006 calendar year = 0000 key figure = 5 second record =>  version = 0 value type = 10 fiscal period