Jdev 11.1.2.3.0 problem?

hi folks,
just i know installed. jdev 11.1.2.3.0( Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1).
as per video i followed. i cant able to see the mobile application in adf while creating a project. am scared. being long time taken to download., after installtion i had this issue.
i alread had jdev11.1.1.4.0,11.1.1.5.0,11.1.2.1,11.1.2.3. is this problem. i hope it not.
thanks.,

@ timo,
I don't see any question or errori want play around some basics of mobile apps development using jdev recent release which i mentioned. while creating new application, I cant able to see the mobile application in adf.. this my question..
@shay,
thanks well neat documentation
@bigchill,
hey many many thanks... in that thread you say "now I downloaded the zip file extension(local)". what is that ?.

Similar Messages

  • Migration Jdev 11.1.1.1 to Jdev 1.1.2, IDE visual problems with ADF design

    Migration Jdev 11.1.1.1 to Jdev 1.1.2, IDE visual problems with ADF design
    CONTEXT
    I’ve been working my project with Jdev11.1.1.1, when I migrate to JDev 11.1.1.2. I realized that my project didn’t compile successfully as before besides I couldn’t see the design view in a WYSIWYG mode on my JSF pages.
    I had installed (initially) in C:\oracle\Middleware Jdev 11.1.1.1 with WLS 10.3 (default in Installer)
    A couple days ago I realized about the new Jdev release JDev 11.1.1.2 and I decided to migrate because of the IDE improvements such as Bugs Solutions, Maven support, code templates, etc).
    The new version seemed to be non-compatible with WLS 10.3 because I couldn’t mount it in the same middleware so I installed the new one in C:\oracle\Middleware11g2, JDev 11.1.1.2 with WLS 10.3.1 (default in Installer).
    EXAMPLE
    I have created a new sample Project named JDev112App, it only has 1 java class, 1 ADF template and 1 JSPx to show the errors and differences between releases of the IDE… However, I also have added the screenshots of the Project in each IDE, also I have included a screenshot of my real project (Business App).
    NOTE. Business APP project is under subversion SVN and the migration was done successfully when JDEv 11.1.1.2 opened it (it migrated automatically).
    What should I do?? .. thanks
    Best Regards,
    Screenshot1
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15778
    Screenshot2
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15779
    Example APP
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15784

    I think that the problem could be preferences/settings migration from Jdev 11.1.1.1.0 to JDev 11.1.1.2.0, because I migrated not only the application but also the JDev preferences ( "Documents&Settings...Jdeveloper..." ).
    I have installed in a new machine without previous version of Jdev the new release JDev 11.1.1.2.0 and when I deploy my test application with errors ( showed in this post ), it works fine and also the design view is correct.
    I am not SURE but I think the bug or problem could be also the preference/settings migration between JdeveloperS.
    Can anybody tell me the real reason?? How can I fix it ... I don’t want to import each of my settings manually in JDev 11.1.1.2.0 ( I mean templates, javadocs settings, connections, repositories, etc).
    Thanks in advance for your help,

  • JDev 11.1.1.2.0: Problem with refresh in form view after delete

    Hi All,
    I'm trying to delete the current row in a form view with the delete binding operation and obviously I do NOT want to fire any validations so I use the immediate = true but that causes the ADF lifecycle to skip the update models phase and thus my fields are not refreshed with the new current row after the old row has been deleted.
    How can I fix this ?
    Thanks in advance,
    Mark

    First the standard disclaimer: SQL code should be in a servlet/bean. It has no place on a JSP.
    I would recommend you write a bean method that returns a list of objects, and then iterate over that list of objects on the JSP.
    What exception does is getting thrown?
    At a guess, your problem is that you are not releasing all resources. Connections, statements, resultsets...
    That is probably hidden inside your DBBean. You are maybe releasing your result set with the statement Rset.close() - but if an exception happens even that wouldn't be executed.
    Any sql code should be in a try/catch block, with resources being freed in the finally.
    Cheers,
    evnafets

  • Jdev 11.1.1.4 install Problem

    Hi,
    I have an windows XP SP3 with 2 GO RAM and 35 Go disks and Jdevelopper don't installing ?
    Oracle installer begin running, then i see very quickly Jdev11 screen and nothing !
    I have stopped Kapersky but without succes.
    Is there an log install file ?
    What is tihs problem ?
    My jdevstudio11114install.exe size is 1,23 GO build 5923
    Regards
    Philippe
    Edited by: pcouas2 on 20 mars 2011 03:00

    Hi
    Previous version 1.11.3 running correctly before ? and suddently stop last Week
    I have an XP Pro SP3 with still installed Jdk1.6.0.24 . I have downloaded it twice with same size 1 299 017 ko (05/03/11 and 14/05/11)
    Compatibity mode is not better;
    Whait is good size for binary installer ?
    Regards
    Philippe
    Edited by: pcouas2 on 21 mars 2011 13:09

  • JDev 3.0/Oracle8i EJB deployment problems

    When trying to deploy a simple EJB generated with the JDev 3
    wizards, I get the following errors:
    *** Executing deployment profile E:\Program
    Files\Oracle\JDeveloper 3.0\myprojects\queueRemote.prf ***
    *** Generating archive file E:\Program Files\Oracle\JDeveloper
    3.0\myprojects\queueRemoteSource.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Deploying the EJB to JServer ***
    EJB deployment argument list:
    "E:\Program Files\Oracle\JDeveloper 3.0\java\bin\javaw"
    "-DPATH=E:\Program Files\Oracle\JDeveloper 3.0\bin;E:\Program
    Files\Oracle\JDeveloper 3.0\java\bin"
    -classpath
    "E:\Program Files\Oracle\JDeveloper 3.0
    \java\lib\classes.zip;E:\Program Files\Oracle\JDeveloper 3.0
    \lib\jdeveloper.zip;E:\Program Files\Oracle\JDeveloper 3.0
    \myclasses;E:\Program Files\Oracle\JDeveloper 3.0\lib\jdev-
    rt.zip;E:\Program Files\Oracle\JDeveloper 3.0
    \jdbc\lib\oracle8.1.5\classes111.zip;E:\Program
    Files\Oracle\JDeveloper 3.0\lib\connectionmanager.zip;E:\Program
    Files\Oracle\JDeveloper 3.0\lib\javax_ejb.zip;E:\Program
    Files\Oracle\JDeveloper 3.0
    \aurora\lib\aurora_client.jar;E:\Program Files\Oracle\JDeveloper
    3.0\aurora\lib\vbjorb.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjapp.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjtools.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbj30ssl.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \java1.2\jre\lib\rt.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\aurora_client.jar;E:\Program Files\Oracle\JDeveloper
    3.0\aurora\lib\vbjorb.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjapp.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjtools.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbj30ssl.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \jdbc\lib\oracle8.1.5\classes111.zip"
    oracle.aurora.ejb.deployment.GenerateEjb
    -u
    sys
    -p
    sys
    -s
    sess_iiop://localhost:2481:ORCL
    -republish
    -keep
    -temp
    TEMP
    -descriptor
    "E:\Program Files\Oracle\JDeveloper 3.0
    \myprojects\queueRemote.dd"
    -generated
    "E:\Program Files\Oracle\JDeveloper 3.0
    \myprojects\queueRemoteGenerated.jar"
    "E:\Program Files\Oracle\JDeveloper 3.0
    \myprojects\queueRemoteSource.jar"
    org.omg.CORBA.INTERNAL[completed=MAYBE]
    at
    com.visigenic.vbroker.orb.GiopConnectionFactoryImpl.destroy
    (GiopConnectionFactoryImpl.java:209)
    at com.visigenic.vbroker.orb.GiopConnectionImpl.close
    (GiopConnectionImpl.java:544)
    at com.visigenic.vbroker.orb.GiopStubDelegate.invoke
    (GiopStubDelegate.java:609)
    at com.visigenic.vbroker.orb.GiopStubDelegate.invoke
    (GiopStubDelegate.java:466)
    at org.omg.CORBA.portable.ObjectImpl._invoke
    (ObjectImpl.java:141)
    at oracle.aurora.AuroraServices._st_LoginServer.O3Logon_B
    (_st_LoginServer.java:194)
    at oracle.aurora.client.Login.authenticate
    (Login.java:143)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.login
    (SessionCtx.java:574)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.login
    (SessionCtx.java:568)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.login
    (ServiceCtx.java:299)
    at
    oracle.aurora.server.tools.sess_iiop.ToolImpl.initializeSession
    (ToolImpl.java:101)
    at
    oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs
    (ToolImpl.java:213)
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
    (ToolImpl.java:121)
    at oracle.aurora.ejb.deployment.GenerateEjb.main
    (GenerateEjb.java:509)
    *** Errors occurred while deploying the EJB to JServer ***
    *** Deployment completed ***
    Any suggestions as to what is happening would be greatly
    appreciated.
    Sean
    null

    Assuming that you have done the 'right' tinkg and changed the
    password for the user SYS, then you are running into a JServer
    bug. When the password file on the server and the user SYS
    password in the rdbms get out of synch, this bug crops up (the
    instance will be killed, immediately and with prejudice). The
    solution is to:
    -shut down the rdbms
    -disable the password file in the INIT.ORA by setting the
    parameter to EXCLUSIVE. Sorry the exact parameter change escapes
    me at the moment, I have posted it earlier in this forum so you
    can probably find it there if you don't already know it.
    -restart the rdbms and change the sys password (again)
    -you can then re-enable the password file if you need.
    That's it. You will now be able to connect as SYS either via the
    deployejb utility or session shell w/o bringing down the
    database.
    null

  • "Doc" Tab works in JDev 3.1?? Help problems...

    Does anyone use the doc tab to see documentation generated by javadoc wizard ?
    The help says that I have to change the "JDeveloper.ini" to include a classpath. There I found :
    HelpBase=..\doc
    HelpZips=.\oracle.zip;.\java.zip;.\jgl.zip
    Well, I got my *.html and deployed at the doc directory with the structure com\....\class.html
    But it doesn't works...
    What I'm doing wrong ?
    Worse, there aren't ANY Oracle.zip nor java.zip in the JDeveloper3.1 !!
    How can I setup different doc paths for each project (I can't done this ?!)
    Why all the "help buttons" in the JDeveloper calls "Document not found" in help system??
    Thanks
    null

    One workaround is create a library that points to desired project, and use the "documentation" path. Then add this library to the other dependents projects and himself.
    It's not the best solution I think, but it works.
    null

  • Problem running app in default server (Jdev 11g)

    Hi,
    I am pretty new to Java/Jdev and I am facing some problems trying to run the application as laid out in the example tutorial from http://www.oracle.com/technology/products/jdev/11/cuecards/adf_set_22/ccset22_ALL.html. I have followed all the steps and when I run the application as mentioned, the following errors appear in the log message window. Can anyone advise me what to do next?
    [Application BrowseEditApp deployed to Server Instance DefaultServer]
    Target URL -- http://127.0.0.1:7101/BrowseEditApp-ViewController-context-root/faces/adf.task-flow?adf.tfId=orders-flow&adf.tfDoc=/WEB-INF/orders-flow.xml
    May 21, 2009 4:54:24 PM oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
    WARNING: ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    May 21, 2009 4:54:24 PM oracle.adfinternal.controller.util.model.AdfmInterface initialize
    INFO: ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
    May 21, 2009 4:54:24 PM oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider <init>
    INFO: ADFc: Controller caching of MDS metadata resources ENABLED.
    <May 21, 2009 4:54:28 PM GMT+08:00> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@1558d83 - appName: 'BrowseEditApp', name: 'BrowseEditApp-ViewController-context-root', context-path: '/BrowseEditApp-ViewController-context-root', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@73534[
    GET /BrowseEditApp-ViewController-context-root/faces/adf.task-flow?adf.tfId=orders-flow&adf.tfDoc=/WEB-INF/orders-flow.xml HTTP/1.1
    Accept: */*
    Accept-Language: en-us
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
    Connection: Keep-Alive
    ]] Root cause of ServletException.
    java.lang.NullPointerException
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getLastEventId(JUCtrlValueBinding.java:3642)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.getLastADSEventId(FacesCtrlAttrsBinding.java:214)
         at oracle.adfinternal.view.faces.activedata.AttrsActiveDataModelImpl.getCurrentChangeCount(AttrsActiveDataModelImpl.java:139)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager._registerComponent(PageDataUpdateManager.java:281)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager.registerComponentForPPR(PageDataUpdateManager.java:155)
         Truncated. see log file for complete stacktrace
    >

    Try uninstalling Terminal Server

  • JDev and ADF is difficult

    As a new user to ADF I am finding ADF and JDev a little discouraging and hard to use. I did a search on how to improve jdev's performance and found a lot of useful tips and tricks to use, but I pose the question. Shouldn't it just work out of the box? Coming from a web 2.0 background developing EE applications using Spring, JPA/Hibernate, Extjs, and netbeans I keep thinking to myself wow how in the world should I have known that changing this or that table attribute causes this or that to behave differently. For example I read a thread on multi-selecting table rows and in this article multiselect selectedRowKeys must be removed for multi select to perform correctly. Now I realize this is a simple example, but I find myself asking the same types of questions about dragging and dropping views into jdev or mapping bindings to pages so that I can gain access to data. I can relate to some angry posts by some about how difficult it is to develop anything useful in JDev and ADF because of a series of random problems (things like running OOM, or mapping bindings to a page which then for some reason map incorrectly or they think they are mapped to another page, etc...) Now I can already hear the first response... you are new to this world (yes) and you just need time. What if I told you I've been reading so much documentation over the past month that my eyes are bleeding. I've been through countless tutorials on how to use JDev and ADF. I've successfully created "Sample applications" generating useless tables of data. I've read several books on ADF and how to button click my way to creating EE applications, but I find the memorization of button clicking to be exhausting. I keep telling my boss I want to go back to writing code not dragging and dropping items on a page so that JDev can generate/modify .xml files for me.
    Now that said I know I am new to this world and I'm trying to find some common ground as my job requires me to develop EE applications in ADF, and I must learn this technology. So I ask all of you ADF and JDev advocates prove me wrong here and point me to the documentation that all of you use to navigate this world of yours.
    Thanks for your understand,
    Wraith (Newbie and found wanting)
    Edited by: wraith101 on Aug 14, 2012 3:38 PM
    Edited by: wraith101 on Aug 14, 2012 3:42 PM

    First off thank you for the response Shay!
    >
    Getting used to the way you build applications with JDev and ADF takes time, but think how much time did it took you to learn Spring, JPA, ExtJS etc to a level where you knew every little setting you needed to manually code in a spring XML file, or JPQL query syntax in your JPA or a javascript in ExtJS - My guess was that getting to a situation where you know everything in those technology wasn't exactly a problem less experience.
    >
    It is true it took some time to learn the technologies listed above. I guess If I were arguing for them I would say they were easier to use and learn due to most of them being open source and very popular because of this (i.e tons of examples, books, and documentation). Not sure if ADF is there yet?
    >
    I do like the fact that I can get from 0 to a fully functional page with a few clicks here and there, and then fine tune the results with some property settings in various places.
    And then if I need even further customization I can go to the code level when needed.
    >
    I agree it takes very little time to create something that is at least visually usable. I'm not familiar enough ADF yet to determine now hard it is to actually create a fully functioning application that does more than display data. For example, how would I create a visualization that updates every 10 seconds and allows users to post feedback in a similar manner to this forum?
    >
    The question of whether the declarative and visual development experience is a good thing or not is to some degree a matter of personal preferences.
    I wonder how long would it have taken someone to build something like this: http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF112/ADF112.html
    with the stack you mentioned above. How many lines of code would they have needed to write, how many syntax errors while coding, and would the result be as functional so fast.
    >
    Agree I'm not hear to argue which type of development experience is better or worse. I would point out however that as a JDev/ADF developer in order to develop in the technology it seems you must do most of your development within the JDev environment or have extensive experience in JSF (i.e know which xml files to edit and why I believe there is a reason JSF and JSP are seldom used IMHO because they are difficult. I understand JDev/ADF try to solve this problem) were as in other technologies you as the developer can choose the IDE etc. Another thing I noticed while watching the link you listed was the developer went from place to place to place within jdev making changes. As a newbie it seems that in order to develop ADF in JDev you must just "know things" (ie. for example he pulled in a method in to the task flow so he could invoke some validation or prereq check. As a developer how am I to know how and where and why I can/must do these things? ADF seems to be process based in order to achieve some goal, but the JDev framework gives no clues as to what you should/need to do next. As well as that I needed to create that method within my Application Module in order to do this, which by the way was not mentioned within this video.).
    >
    We often see the reaction of "I don't get what all those XML files that JDev generate are doing" reaction from people who just start up with JDev and ADF.
    But we do try and explain how everything is working in places like the ADF Insider Advanced seminars:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html
    I think the fact that there is a lot of documentation for ADF, and a lot of blog entries, how-to's etc on the web is actually a good thing.
    I often find that if I run into an issue with ADF - a simple google search will show me how someone else solved that issue - and I like this too.
    >
    I guess my biggest gripe here would be yes there is tons of JDev/ADF documentation on OTN and other places, but none of it is complete, and I would also argue that the organization on OTN is half hazard, and makes learning ADF difficult as well. I find myself drilling down through layers and layers of links only to not be able to get back to were I came from to look at another topic/tutorial I was interested in(maybe we need a ADF train to be added to the documentation wikis).
    I would also argue when developing in other frameworks writing the xml is a big part to understanding how your application is tied together. For example, Spring servlet mapping or Spring injection mapping. When JDev does the mapping for me I feel that I know less and less about how my application works and I bet all the advanced ADF developers out there know quite a bit about how ADF xml mapping occurs and why, and I bet they make changes to these xml files manually quite often to get things to work as they desire?
    I want to be clear here I am not trying to flaming here, just trying to make a difference for other developers like myself who come along and need to learn ADF to complete some task. Looking at the OTN site I believe creating documentation for ADF development appears to be a top priority, but due to the complexity of the framework there is just so much and it seems to be everywhere. My suggestion would be to include why we are doing such and such with in jdev approach instead of a drag this here to do this approach. For example, I'd like to see a tutorial where it explains when you drag this item in to the content window it creates this xml bind which is the same as what you would normally do in JSF like this (if anyone knows of such a tutorial plz link).
    Again thanks for the reply, and I encourage others to give feedback and suggestions on how I too can become a better JDev/ADF developer.
    -Wraith

  • Error deploying using JDev 11.1.1 .4

    By changing the version of JDeveloper Studio 11.1.1.3.0 - Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660
    to
    JDeveloper version 11.1.1.4.0 Studio - Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923.
    This is the error generated by WebLogic Server:
    Target URL -- http://127.0.0.1:7101/Clasificadores-ViewController-context-root/faces/mainClasificadores
    <07-abr-2011 19H28' GMT> <Error> <HTTP> <BEA-101017> <[ServletContext@7403864[app:j2ee-app module:Clasificadores-ViewController-context-root path:/Clasificadores-ViewController-context-root spec-version:2.5 version:V2.0], request: weblogic.servlet.internal.ServletRequestImpl@f96dc3[
    GET /Clasificadores-ViewController-context-root/faces/mainClasificadores?_afrLoop=110550507553028&_afrWindowMode=0&_afrWindowId=null HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; es-ES; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
    Accept-Language: es-es,es;q=0.8,en;q=0.5,en-us;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://127.0.0.1:7101/Clasificadores-ViewController-context-root/faces/mainClasificadores
    Cookie: JSESSIONID=6J0nNpQL9QC7TF9L3MV2XDc6NHJFgvLnKD7444bxW1nY13vnzTvj!1456794858
    ]] Root cause of ServletException.
    java.lang.VerifyError: class oracle.adfinternal.view.faces.webapp.rich.UriManagerImpl overrides final method addQueryParameters.(Ljavax/faces/context/FacesContext;Ljava/util/Map;)Z
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
    Truncated. see log file for complete stacktrace
    <07-abr-2011 19H28' GMT> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at 07-abr-2011 19H28' GMT. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = 07-abr-2011 19H28' GMT SERVER = DefaultServer MESSAGE = [ServletContext@7403864[app:j2ee-app module:Clasificadores-ViewController-context-root path:/Clasificadores-ViewController-context-root spec-version:2.5 version:V2.0], request: weblogic.servlet.internal.ServletRequestImpl@f96dc3[
    GET /Clasificadores-ViewController-context-root/faces/mainClasificadores?_afrLoop=110550507553028&_afrWindowMode=0&_afrWindowId=null HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; es-ES; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
    Accept-Language: es-es,es;q=0.8,en;q=0.5,en-us;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://127.0.0.1:7101/Clasificadores-ViewController-context-root/faces/mainClasificadores
    Cookie: JSESSIONID=6J0nNpQL9QC7TF9L3MV2XDc6NHJFgvLnKD7444bxW1nY13vnzTvj!1456794858
    ]] Root cause of ServletException.
    java.lang.VerifyError: class oracle.adfinternal.view.faces.webapp.rich.UriManagerImpl overrides final method addQueryParameters.(Ljavax/faces/context/FacesContext;Ljava/util/Map;)Z
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
    at org.apache.myfaces.trinidad.util.ClassLoaderUtils._getClass(ClassLoaderUtils.java:319)
    at org.apache.myfaces.trinidad.util.ClassLoaderUtils.getServices(ClassLoaderUtils.java:265)
    at oracle.adfinternal.view.faces.context.AdfFacesContextImpl._loadUriManager(AdfFacesContextImpl.java:728)
    at oracle.adfinternal.view.faces.context.AdfFacesContextImpl.getUriManager(AdfFacesContextImpl.java:710)
    at oracle.adfinternal.controller.util.AdfvInterfaceImpl.updateQueryParameters(AdfvInterfaceImpl.java:175)
    at oracle.adfinternal.controller.state.RequestState.updateUrlStateToken(RequestState.java:671)
    at oracle.adfinternal.controller.state.RequestState.setCurrentStateInstance(RequestState.java:173)
    at oracle.adfinternal.controller.state.RequestState.setCurrentViewPortContext(RequestState.java:200)
    at oracle.adfinternal.controller.state.ControllerState.setRequestState(ControllerState.java:948)
    at oracle.adfinternal.controller.state.ControllerState.initializeRootViewPort(ControllerState.java:615)
    at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart1(ControllerState.java:306)
    at oracle.adfinternal.controller.application.SyncNavigationStateListener.beforePhase(SyncNavigationStateListener.java:127)
    at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)
    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:112)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:59)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:258)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE = pc153 TXID = CONTEXTID = d8bf7e7648fc4624:-79ba8a9f:12f316e3ee5:-8000-000000000000002c TIMESTAMP = 1302204491962
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    <07-abr-2011 19H28' GMT> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\luciano\appdata\roaming\jdeveloper\system11.1.1.4.37.59.23\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_30 with a lockout minute period of 1.>
    The new version of Jdev, was installed correctly without any problem.
    The problem appears to fall in the proyect ViewController, because the usefulness of testing, AppModules working properly.
    The application works correctly in JDeveloper Studio 11.1.1.3.0 version. without any problem,
    Some idea of the possible solution to this problem is welcome.
    From now, thank you very much.
    this is what I commented: Steve Button
    Hi -
    I'd post this question to the forum specific JDeveloper Because It Appears to Be an ADF related issue:
    ]] Root cause of ServletException.
    java.lang.VerifyError: class oracle.adfinternal.view.faces.webapp.rich.UriManagerImpl addQueryParameters overrides final method. (Ljavax / faces / context / FacesContext; Ljava / util / Map;) Z
    -steve-
    ------------------------------------------------------------------------------------------------------------------------

    I'm having the same issue, when deploying to Internal webserver works properly....
    When deploying to WLS having that error...
    Any idea yet?
    Regards
    Victor Velazco

  • Problem with UIShell

    Hi ADF Experts,
    We are using dynamic tab shell in out ADF Application,
    If the keep multiple tab open and ideal ,let say I have open 10 tab ,and kept the system ideal for some 10 min time.
    Again if I try to switch between the tab.It is taking lot of time to switch between the tab.
    Closely looking at the log through Orcale diagnostic logging analyser ,I can see, when I switch the tab,it is refreshing all 15 region in UIShell template.
    I can process Region r01
    I can process Region r1
    I can process Region r2
    I can process Region r3
    and so on.
    Please help

    User, please tell us your JDev version!
    The prevent this problem you have to set the paneltabbed childCreate property to "lazyUncached", and the task flow activation to "conditional" with a refreshCondition set to a bean where you check if the region is going to be shown to the user.
    Check ADF Performance Tuning: Improve Your Oracle ADF App Response Time by as Much as 70 Percent&lt;/title&gt; //&lt;title&… at about 34:20 your use case comes up.
    Timo

  • Ant problems

    i use ant to deploy projects to server:
    adding properties file (with correct values) to ant build file,
    then starting ant script - it reports me, that everytjing is ok and
    ptoject is on server - but thereis no any deployed projects.
    If I deploy project from server - everything is ok.
    i've reinstalled jdev - and i've got same problem
    Message was edited by:
    kpb

    it is apsolutly default :
    <?xml version="1.0" encoding="iso-8859-1"?>
    <project name="bpel.deploy" default="deploy" basedir=".">
    <!--
    This ant build file was generated by JDev to deploy the BPEL process.
    DONOT EDIT THIS JDEV GENERATED FILE. Any customization should be done
    in default target in user created pre-build.xml or post-build.xml
    -->
    <property name="process.dir" value="${basedir}"/>
    <!-- Set BPEL process name -->
    <xmlproperty file="${process.dir}/bpel/bpel.xml"/>
    <property name="process.name" value="${BPELSuitcase.BPELProcess(id)}"/>
    <property environment="env"/>
    <!-- Set bpel.home from developer prompt's environment variable BPEL_HOME -->
    <condition property="bpel.home" value="${env.BPEL_HOME}">
    <available file="${env.BPEL_HOME}/utilities/ant-orabpel.xml"/>
    </condition>
    <!-- If bpel.home is not yet using env.BPEL_HOME, set it for JDev -->
    <property name="bpel.home" value="${oracle.home}/integration/bpel"/>
    <!-- First override from build.properties in process.dir, if available -->
    <property file="${process.dir}/build.properties"/>
    <!-- import custom ant tasks for the BPEL PM -->
    <import file="${bpel.home}/utilities/ant-orabpel.xml"/>
    <!-- Use deployment related default properties -->
    <property file="${bpel.home}/utilities/ant-orabpel.properties"/>
    <!--=============================-->
    <!-- default "deploy" target -->
    <!--=============================-->
    <target name="deploy" depends="pre-build, process-deploy, post-build" />
    <!--=============================-->
    <!-- Process deployment targets -->
    <!--=============================-->
    <target name="process-deploy"
    depends="validateTask, compile, deployProcess, deployTaskForm, deployDecisionServices" />
    <target name="validateTask">
    <echo>
    | Validating workflow
    </echo>
    <validateTask dir="${process.dir}/bpel" />
    </target>
    <target name="compile">
    <echo>
    | Compiling bpel process ${process.name}, revision ${rev}
    </echo>
    <bpelc input="${process.dir}/bpel/bpel.xml" out="${process.dir}/output"
    rev="${rev}" home="${bpel.home}"/>
    </target>
    <target name="deployProcess">
    <echo>
    | Deploying bpel process ${process.name} on ${http.hostname}, port ${http.port}
    </echo>
    <deployProcess
    user="${admin.user}" password="${admin.password}"
    domain="${domain}" process="${process.name}"
    rev="${rev}" dir="${process.dir}/output"
    hostname="${http.hostname}" httpport="${http.port}"
    verbose="${verbose}"
    />
    </target>
    <target name="deployTaskForm" >
    <echo>
    | Deploying workflow form for ${process.name} on ${j2ee.hostname}, port ${http.port}
    </echo>
    <deployTaskForm
    platform="${platform}" dir="${process.dir}/public_html"
    domain="${domain}" process="${process.name}" rev="${rev}"
    user="${admin.user}" password="${admin.password}"
    hostname="${j2ee.hostname}" cluster="${cluster}"
    rmiport="${rmi.port}" opmnrequestport="${opmn.requestport}"
    oc4jinstancename="${oc4jinstancename}"
    asinstancename="${asinstancename}" verbose="${verbose}"
    />
    </target>
    <target name="deployDecisionServices" >
    <echo>
    | Deploying decision services for ${process.name} on ${j2ee.hostname}, port ${http.port}
    </echo>
    <deployDecisionServices
    platform="${platform}" dir="${process.dir}/decisionservices"
    domain="${domain}" process="${process.name}" rev="${rev}"
    user="${admin.user}" password="${admin.password}"
    hostname="${j2ee.hostname}" httpport="${http.port}"
         cluster="${cluster}" rmiport="${rmi.port}"
    opmnrequestport="${opmn.requestport}" oc4jinstancename="${oc4jinstancename}"
    asinstancename="${asinstancename}" verbose="${verbose}"
    />
    </target>
    <!--=============================-->
    <!-- BPEL Test targets -->
    <!--=============================-->
    <target name="test" depends="deployTestSuites, bpelTest, report" />
    <target name="prepareTests">
    <echo>
    | Preparing BPEL tests for deployment
    </echo>
    <delete file="${process.dir}/output/bpeltest.zip" quiet="true"/>
    <zip basedir="${process.dir}/bpel/testsuites" filesonly="true"
    excludes="test_suites.xml, **/excludes/*"
    destfile="${process.dir}/output/bpeltest.zip"/>
    </target>
    <target name="deployTestSuites" depends="prepareTests">
    <echo>
    | Deploying bpel tests ${process.name} on ${http.hostname}, port ${http.port}
    </echo>
    <deployTestSuites
    user="${admin.user}" password="${admin.password}"
    hostname="${http.hostname}" httpport="${http.port}"
    domain="${domain}" process="${process.name}"
    rev="${rev}" testfile="${process.dir}/output/bpeltest.zip"
    verbose="${verbose}"
    />
    </target>
    <!-- "bpeltest" target runs deployed testsuites of a BPEL process -->
    <target name="bpelTest">
    <echo>
    | Executing process ${process.name}(v.${rev}): minCoverage=${bpeltest.minCoverage}, timeout=${bpeltest.timeout} sec, numWorkers=${bpeltest.numWorkers}
    </echo>
    <delete dir="${bpeltest.results.dir}/xml/${process.name}" quiet="true"/>
    <bpeltest
    user="${admin.user}" password="${admin.password}"
    hostname="${http.hostname}" httpport="${http.port}"
    domain="${domain}" process="${process.name}"
    rev="${rev}" name="${process.name}Tests"
    timeout="${bpeltest.timeout}"
    numWorkers="${bpeltest.numWorkers}"
    minCoverage="${bpeltest.minCoverage}"
    callHandler="${bpeltest.callHandler}"
    context="${bpel.context.properties}"
    resultsDir="${bpeltest.results.dir}/xml/${process.name}"
    resultsPropertyFile="${bpeltest.results.dir}/${process.name}.properties"
    verbose="${verbose}"
    />
    <property file="${bpeltest.results.dir}/${process.name}.properties"/>
    <echo>
    Executed ${test.total.count} test(s) for ${process.name} (v.${rev}) with ${test.failure.count} failure(s)
    </echo>
    </target>
    <!-- "report" target creates JUnitReport for testsuites run by bpeltest. -->
    <target name="report">
    <echo>
    Creating BPELTest JUnitReport at ${bpeltest.results.dir}${file.separator}html${file.separator}index.html
    </echo>
    <mkdir dir="${bpeltest.results.dir}/xml"/>
    <junitreport todir="${bpeltest.results.dir}/xml">
    <fileset dir="${bpeltest.results.dir}/xml">
    <include name="*/TEST-*.xml" />
    <include name="*/BPEL-*.xml" />
    </fileset>
    <report format="frames" todir="${bpeltest.results.dir}/html" />
    </junitreport>
    </target>
    <!-- If pre-build.xml and post-build.xml exists, call its default target -->
    <condition property="exists.pre-build.xml">
    <available file="${process.dir}/pre-build.xml"/>
    </condition>
    <target name="pre-build" if="exists.pre-build.xml">
    <ant antfile="${process.dir}/pre-build.xml" inheritAll="false"/>
    </target>
    <condition property="exists.post-build.xml">
    <available file="${process.dir}/post-build.xml"/>
    </condition>
    <target name="post-build" if="exists.post-build.xml">
    <ant antfile="${process.dir}/post-build.xml" inheritAll="false"/>
    </target>
    <!-- Convenience targets -->
    <target name="deploy_test" depends="deploy, test"/>
    </project>
    Properties file:
    domain=default
    rev=1.0
    admin.user=oc4jadmin
    admin.password=*****
    hostname=localhost
    http.port=8888
    rmi.port=12401
    oc4jinstancename=home
    asinstancename=
    opmn.requestport=6003
    platform=ias_10g
    So everytjing is absolutly default
    Message was edited by:
    kpb

  • JDeveloper 11g: Can System.console be used with the JDev debug window

    The version of JDev should not matter for this problem.
    I am working on a console application that I would like to debug from within JDev. Unfortunately, System.console does not detect the JDev debug window as a valid Console object.
    Running the following will return null;
    Console console = System.console();My code works fine if run from an actual command window.
    The main reason that I was using Console was for readPassword.
    Does anyone know of a way to get this to work?
    Should I ditch this and go with BufferedReader or Scanner?

    Thanks for replying so quickly Shay!
    Yes, I did enable "Allow Program Input". Unfortunately that never worked with Console.
    BufferedReader works just fine though.
    I really only wanted to use Console because it bundled up readPassword. I most likley will have to go with BufferedReader or Scanner if I wish to debug within JDev.

  • URGENT  timout problems with bc4j

    Hello Jdev Team,
    We have a serious problem with the BC4J. The situation is as
    follows:
    We use BC4J with jsp pages an run the whole thing on a j2ee
    Container.
    We have written our own ApplicationPool class and
    ApplicationModule datatag because the users have to login
    using different credentials. The login users are db-users. The
    application release mode is reserved.
    The application crashes frequently. 2 errors occur.
    First of all we get an JBO-30003: "The application pool, {AM
    Name}, failed to checkout an application module instance."
    after the BC4J Container timeout --> messages ("BC4J HTTP
    Container was timed out" and "The binding listener for { AM
    name} was timed out")
    We haven't found a way to alter the BC4J container timeout.
    Where do we customize the timeout?
    We have tried to use the HttpSessionTimeOut variable but it
    seems to have no effect.
    I hope you can help us with this one.
    Second problem is that the J2EE Container stops functioning
    after a couple of requests.
    Even if an other browser is started (on the same or different
    machine) the Container does not respond to any request.
    We have found a Thread on technet handling this kind of problem
    but the solution doesn't work in our case.
    (the solution on technet was to put synchronized(session) around
    each JSP page)
    Now we run the application under Apache/Jserv and with the same
    Runtime packages as used in the Container and the problem
    seems to have disappeared.
    Here follows the code of the ApplicationPool class:
    The class is based on an example posted on technet
    * @author Juan Oropeza
    package be.cronos.dbwise.jbo;
    import oracle.jbo.common.ampool.ApplicationPoolImpl;
    import oracle.jbo.ApplicationModule;
    import java.util.Properties;
    public class SeperateLoginApplicationPool extends
    ApplicationPoolImpl
    private String vConnectURL;
    private String vUsername;
    private String vPassword;
    public SeperateLoginApplicationPool()
    public void setConnectInfo(String pUsername, String pPassword,
    String pConnectURL)
    this.vUsername = pUsername;
    this.vPassword = pPassword;
    this.vConnectURL = pConnectURL;
    protected void connect(ApplicationModule appModule)
    if (!appModule.getTransaction().isConnected())
    appModule.getTransaction().connect(vConnectURL ,
    vUsername, vPassword);
    //use Optimistic locking as default for all transactions
    appModule.getTransaction().setLockingMode
    (oracle.jbo.Transaction.LOCK_OPTIMISTIC);
    * checkin
    * @param appModule
    public synchronized void checkin(ApplicationModule appModule)
    // release the instance regardless of the release mode
    // this is necessary since we need a fresh instance each
    time.
    this.releaseInstance(appModule);
    this.releaseInstances();
    public void disconnect(ApplicationModule pAppModule, boolean
    pRetainState)
    super.disconnect(pAppModule, pRetainState);
    Here is the code of the applicationPool datatag:
         * @author Juan Oropeza
    * @author Ief Cuynen
    * @version 1.1
    /* Modification history
    package be.cronos.dbwise.datatags;
    import be.cronos.dbwise.jbo.SeperateLoginApplicationPool;
    import javax.servlet.jsp.tagext.TagSupport;
    import javax.servlet.jsp.JspException;
    import java.io.StringWriter;
    import java.io.PrintWriter;
    import oracle.jbo.html.jsp.ConnectionInfo;
    import oracle.jbo.common.ampool.PoolMgr;
    import oracle.jbo.common.ampool.ApplicationPool;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.html.jsp.JSPApplicationRegistry;
    import java.util.Properties;
    import java.util.Hashtable;
    import java.util.Enumeration;
    public class ApplicationModuleTag extends TagSupport
    String fApplicationName;
    String fConfigName;
    String fUsername;
    String fPassword;
    String fConnectionURL;
    String fIiopUserName;
    String fIiopPassword;
    JSPApplicationRegistry fAppRegistry;
    public ApplicationModuleTag()
    public void setId(String pAppName)
    { this.fApplicationName = pAppName; }
    public void setConfigname(String pValue)
    { this.fConfigName = pValue; }
    * doEndTag
    * @return int
    * @exception javax.servlet.jsp.JspException
    public int doEndTag() throws JspException
    try
    SeperateLoginApplicationPool pool = null;
    init();
    // Get an application module resource.
    fAppRegistry = JSPApplicationRegistry.getInstance();
    // this step will access the custom pool from the property
    file
    appRegistry.registerApplicationFromPropertyFile
    (fApplicationName);
                   // Since we don't want to use a
    PropertyFile per AM, we have written are own
    registerApplicationModule method
    this.registerApplicationModule();
    // get an instance of the pool, which is already existing
                   pool = (SeperateLoginApplicationPool)
    PoolMgr.getInstance().getPool(fApplicationName);
    // get an instance of the application module
    synchronized(pool)
    // Setup the connection information
    pool.setConnectInfo(fUsername, fPassword,
    fConnectionURL);
    // This instance will be used by the rest of the
    DataWebBeans since it&#8217;s part of the context.
                        try
                             //After the BC4J
    container timeout, this method will raise an exception
         ApplicationModule am =
    fAppRegistry.getAppModuleInstance(fApplicationName, pageContext);
                        catch(Exception e)
                             System.out.println
    ("JspRegistry has failed to get application module instance");
    setPageContextValues();
    catch(Exception ex)
    StringWriter writer = new StringWriter();
    PrintWriter prn = new PrintWriter(writer);
    ex.printStackTrace(prn);
    prn.flush();
    throw new JspException(writer.toString());
    return SKIP_BODY;
    * for internal use only
    private void init()
    fUsername = (String)pageContext.getSession().getValue
    ("username");
    fPassword = (String)pageContext.getSession().getValue
    ("password");
    fConnectionURL = (String)pageContext.getSession().getValue
    ("connectionURL");
    private void setPageContextValues()
    // place default renderers into session, these will not be
    exposed via config file
    pageContext.getSession().putValue
    ("oracle_ord_im_OrdImageDomain_Renderer", "oracle.ord.html.OrdBui
    ldURL");
    pageContext.getSession().putValue
    ("oracle_ord_im_OrdAudioDomain_Renderer","oracle.ord.html.OrdBuil
    dURL");
    pageContext.getSession().putValue
    ("oracle_ord_im_OrdVideoDomain_Renderer","oracle.ord.html.OrdBuil
    dURL");
    pageContext.getSession().putValue
    ("oracle_ord_im_OrdVirDomain_Renderer", "oracle.ord.html.OrdBuild
    URL");
    pageContext.getSession().putValue
    ("oracle_ord_im_OrdImageDomain_EditRenderer", "oracle.ord.html.Fi
    leUploadField");
    pageContext.getSession().putValue
    ("oracle_ord_im_OrdAudioDomain_EditRenderer", "oracle.ord.html.Fi
    leUploadField");
    pageContext.getSession().putValue
    ("oracle_ord_im_OrdVideoDomain_EditRenderer", "oracle.ord.html.Fi
    leUploadField");
    pageContext.getSession().putValue
    ("oracle_ord_im_OrdVirDomain_EditRenderer", "oracle.ord.html.File
    UploadField");
    protected synchronized void registerApplicationModule()
    PoolMgr vPoolMgr = PoolMgr.getInstance();
              try
    if (!vPoolMgr.isPoolCreated(fApplicationName))
                        // Parse the ConfigName
                        String vConfigPackage =
    fConfigName.substring(0, fConfigName.lastIndexOf('.'));
    String vConfigSection = fConfigName.substring
    (fConfigName.lastIndexOf('.') + 1);
                        //Strip out the AM Class
                        vConfigPackage =
    vConfigPackage.substring(0, vConfigPackage.lastIndexOf('.'));
    Properties vProps = new Properties();
    vProps.put("ConfigName",fConfigName);
                        ApplicationPool vAppPool =
    vPoolMgr.createPool(fApplicationName,vConfigPackage,
    vConfigSection, vProps);
                        vAppPool.setUserName
    (this.fUsername);
                        vAppPool.setPassword
    (this.fPassword);
              catch (Exception ex)
                   ex.printStackTrace();
                   throw new RuntimeException(ex.toString
    * release() called after doEndTag() to reset state
    public void release()
              super.release();
              fApplicationName = null;
              fConfigName = null;
              fUsername = null;
              fPassword = null;
              fConnectionURL = null;
              fIiopUserName = null;
              fIiopPassword = null;
              JSPApplicationRegistry fAppRegistry = null;
    Another thing is that the JSPApplicationRegistry contains a bug
    (I think)
    It doesn't use the HttpSessionTimeOut variable at all (see
    following code)
    this piece of code is a Method from the
    JSPApplicationRegistry.java File taken from package
    oracle.jbo.html.jsp;
    static synchronized public void
    registerApplicationFromPropertyFile(HttpSession session, String
    sPropFileName)
    if(!mPoolManager.isPoolCreated(sPropFileName))
    registerApplicationFromPropertyFile(sPropFileName);
    if (!PropertyConstants.TRUE.equals((String)session.getValue
    (SESSION_INITIALIZED)))
    Hashtable settings = getAppSettings(sPropFileName);
    /* The timeout variable is declared here */
    int nTimeOut = 300;
    if (settings != null)
    // see if we have a setting for the session timeout
    String sTimeOut;
    /* get the HttpSessionTimeOut variable */
    if(settings.get("HttpSessionTimeOut") != null)
    sTimeOut = (String)settings.get
    ("HttpSessionTimeOut");
    if(sTimeOut != null)
    /* Put the value in the variable... and that's the last thing it
    does. nTimeOut isn't used anywhere in the class */
    nTimeOut = Integer.parseInt(sTimeOut);
    if(settings.get("ImageBase") != null)
    session.putValue("ImageBase", settings.get
    ("ImageBase"));
    else
    settings.put("ImageBase", "/webapp/images");
    session.putValue("ImageBase", "/webapp/images");
    if(settings.get("CSSURL") != null)
    session.putValue("CSSURL",settings.get("CSSURL"));
    else
    settings.put("CSSURL", "/webapp/css/oracle.css");
    session.putValue
    ("CSSURL", "/webapp/css/oracle.css");
    // place default renderers into session, these will not
    be
    // exposed via config file
    session.putValue
    ("oracle_ord_im_OrdImageDomain_Renderer", "oracle.ord.html.OrdBui
    ldURL");
    session.putValue
    ("oracle_ord_im_OrdAudioDomain_Renderer","oracle.ord.html.OrdBuil
    dURL");
    session.putValue
    ("oracle_ord_im_OrdVideoDomain_Renderer","oracle.ord.html.OrdBuil
    dURL");
    session.putValue
    ("oracle_ord_im_OrdVirDomain_Renderer", "oracle.ord.html.OrdBuild
    URL");
    session.putValue
    ("oracle_ord_im_OrdImageDomain_EditRenderer", "oracle.ord.html.F
    ileUploadField");
    session.putValue
    ("oracle_ord_im_OrdAudioDomain_EditRenderer", "oracle.ord.html.F
    ileUploadField");
    session.putValue
    ("oracle_ord_im_OrdVideoDomain_EditRenderer", "oracle.ord.html.F
    ileUploadField");
    session.putValue
    ("oracle_ord_im_OrdVirDomain_EditRenderer", "oracle.ord.html.F
    ileUploadField");
    session.putValue(SESSION_INITIALIZED,
    PropertyConstants.TRUE);
    Am I mistaken or is it a bug?
    Thank you for your fast response.
    Greetings,
    Ief Cuynen

    First of all we get an JBO-30003: "The application pool, {AM Name}, failed to checkout an application module
    instance."
    The JBO-30003 exception is thrown whenever the pool cannot
    properly create/recycle an application module. Please see the
    exception details (scan the exception stack to find the exception
    details) for more information regarding the "root" cause of the
    exception.
    We haven't found a way to alter the BC4J container timeout. Where do we customize the timeout?
    The BC4J container is timed out when the HttpSession is timed
    out. The session timeout is configurable via the web.xml file
    for the J2EE application. Your servlet container may also
    include another mechanism for setting a session timeout.
    Second problem is that the J2EE Container stops functioning after a couple of requests. Even if an other browser
    is started (on the same or different machine) the Container does
    not respond to any request. We have found a Thread on technet
    handling this kind of problem but the solution doesn't work in
    our case.
    The issue sounds like a deadlock. Please use kill -3 (Solaris)
    or ctrl-break (NT) at the java server console to print the thread
    stack trace to stdout. This will contain more information
    regarding which threads are blocked and where. If you would like
    you can send the stack trace to me via mail and I can take a look
    at it.
    The solution of synchronizing your pages with the HttpSession
    context is required only if you are using the BC4J datatags with
    HTML frames (i.e. have multi-threaded application module
    access for a given session). Please note that this solution may
    have a performance impact and should not be implemented unless
    absolutely necessary.
    Another thing is that the JSPApplicationRegistry contains a bug (I think). It doesn't use the HttpSessionTimeOut variable
    at all (see following code)
    This parameter was deprecated after 3.1. It looks like the code
    which used the parameter may have been removed prematurely.
    Sorry for the confusion. Please use the J2EE compliant
    mechanisms mentioned above to configure the session timeout in
    3.2.
    Finally, please note that JDeveloper9i includes new integrated
    features for the often requested feature of supporting different
    db users with the same application pool! Please stay tuned.

  • Problems starting project after migrating to JDeveloper 11

    Hello,
    when starting a my project via Webstart a Exception appears.
    I have an application created in JDeveloper 10 using Java 1.5. Now we have to change to java version 1.6,
    so i tried the following steps:
    1.     install JDeveloper 11 120
    2.     install Java 1.6
    3.     migrate BC4J/ADF project in JDev 11 (automatically)
    4.     fix some problems that occured with java 1.6 after starting the programm
    5.     build two jar files, one containing the project files, one containing the libraries
    6.     used tomcat 6 to start the project with a jnlp file from ROOT directory
    7.     the login appears but after using submit the following problem appears
         (the problem didn't appear when starting the project in JDev):
    15.12.2011 08:57:30 oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory Reading META-INF/adf-config.xml
    Parameter EnvInfoProvider is NOT instanceof 'EnvInfoProviderImpl'
    JBO-30003: Der Anwendungs-Pool (com.trivadis.eis.dbmodel.DBModelModuleLocal) konnte aufgrund folgender Exception kein Anwendungsmodul auschecken:
    oracle.jbo.JboException: JBO-29000: JBO-29000: JBO-29000: JBO-26061: Fehler beim Öffnen von JDBC-Verbindung.
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:271)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createDataControl(JUMetaObjectManager.java:668)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(JUMetaObjectManager.java:600)
    at moenkemoeller.eis.CESIApp.setupBC4JApplication(CESIApp.java:304)
    at moenkemoeller.eis.CESIApp.<init>(CESIApp.java:89)
    at moenkemoeller.eis.CESIApp.main(CESIApp.java:356)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: JBO-29000: JBO-26061: Fehler beim Öffnen von JDBC-Verbindung.
    at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:336)
    at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87)
    at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
    at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56)
    at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:915)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1160)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5910)
    at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194)
    at com.trivadis.eis.client.ConnectionStrategyImpl.connect(ConnectionStrategyImpl.java:22)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:478)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:367)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7777)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:271)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createDataControl(JUMetaObjectManager.java:668)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(JUMetaObjectManager.java:600)
    at moenkemoeller.eis.CESIApp.setupBC4JApplication(CESIApp.java:304)
    at moenkemoeller.eis.CESIApp.<init>(CESIApp.java:89)
    at moenkemoeller.eis.CESIApp.main(CESIApp.java:356)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    ... (several more identical "oracle.jbo.JboException: JBO-29000: JBO-29000: JBO-29000: JBO-26061: Fehler beim Öffnen von JDBC-Verbindung."-Exceptions
    Trace message truncated for length over 10K
    #### Java Web Start Error:
    #### JBO-30003: Der Anwendungs-Pool (com.trivadis.eis.dbmodel.DBModelModuleLocal) konnte aufgrund folgender Exception kein Anwendungsmodul auschecken:
    15.12.2011 08:57:48 oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    We tried several solutions, found on various forums:
    1. copy adf-config.xml to every META-INF-directory
    2. add "-Djps.app.credential.overwrite.allowed=true" to the jnlp-file
    3.
    but none of this solved the problem.
    Any Help or suggestion would be highly appreciated.
    Thanks, Stefan.

    It would seem that the AM tries to open a connection, but cannot.
    Don't think that the adf-config.xml is of vital importance, our Swing application has none either.
    You could enable the JBO debug output (-Djbo.debugoutput=console). That output should give you a fairly good idea of what's going on.
    Sascha

  • Jdev 9iRC: deployment of BC4J-UIX components to OC4J !2.0! does not work

    in different threads the problem of deployment of BC4J UIX components to OC4J 1.2.2.x is addressed (see http://forums.oracle.com/forums/message.jsp?id=679060 for example). contrary to the sayings of different members of the jdev-team i face the same problem with OC4J 2.0 (java lang nullpointer exception).
    i'm using jdev9iRC and 9iASWE v2 beta which comes with OC4J 2.0.
    i followed the recommendations of the thread mentioned above, no result. i followed the recommendations of steve muench in thread HELP! Loading Java Classes into Oracle ERROR result is the same error but now already when calling the main.uix. next try was also on recommendation of steve muench somewhere else: i installed the complete jdev 9iRC on my application server and tried to deploy to this "embedded" OC4J. result: uncomplete deployment because of denied access to the files server.xml and http-website-xml:
    Beginning to deploy to Oracle9i Application Server...
    Wrote WAR file to C:\Programme\oracle\jdeveloper\jdev\mywork\WF_Wettfamily\src\F1StammdatenUIX.war
    Wrote web EAR file to C:\Programme\oracle\jdeveloper\jdev\mywork\WF_Wettfamily\src\F1StammdatenUIX.ear
    Invoking Oracle9iAS admin tool...
    C:\Programme\oracle\jdeveloper\jdk1.3\jre\bin\javaw.exe -jar C:\Programme\oracle\jdeveloper\j2ee\home\admin.jar ormi://bajor.skypages.net admin **** -deploy -file C:\Programme\oracle\jdeveloper\jdev\mywork\WF_Wettfamily\src\F1StammdatenUIX.ear -deploymentName F1Administration-F1StammdatenUIX-app
    Auto-unpacking E:\ORACLE\jdev9iRC\j2ee\home\applications\_F1StammdatenUIX.ear... done.
    Auto-unpacking E:\ORACLE\jdev9iRC\j2ee\home\applications\_F1StammdatenUIX\F1StammdatenUIX.war... done.
    java.io.FileNotFoundException: E:\ORACLE\jdev9iRC\j2ee\home\config\server.xml (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at com.evermind.xml.XMLConfig.storeToURL(XMLConfig.java:433)
    at com.evermind.xml.XMLConfig.store(XMLConfig.java:420)
    at com.evermind.server.ServerComponent.store(ServerComponent.java:756)
    at com.evermind.server.ServerComponent.store(ServerComponent.java:728)
    at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplicationInstallation.java:466)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:79)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    Exit status of Oracle9iAS admin tool (-deploy): 0
    C:\Programme\oracle\jdeveloper\jdk1.3\jre\bin\javaw.exe -jar C:\Programme\oracle\jdeveloper\j2ee\home\admin.jar ormi://bajor.skypages.net admin **** -bindWebApp F1Administration-F1StammdatenUIX-app F1StammdatenUIX http-web-site /F1Administration-F1StammdatenUIX-context-root
    Communication error: E:\ORACLE\jdev9iRC\j2ee\home\config\http-web-site.xml (Access is denied)
    Exit status of Oracle9iAS admin tool (-bindWebApp): 1
    ---- Deployment finished. ---- 12.02.2002 12:53:02
    what am i supposed to do? is there a solution?
    please help
    TIA, trevi

    Yes, I can create a new as3 file, but I can't "fill it with
    sensible content". Neither my As3-codes are recognized nor simple
    components are displayed to me in a proper way when testing the
    movieclip.
    Now, I have just reinstalled my CS4 on another computer and
    there it works with AS3. Really strange. Does CS4 need to
    communicate with some internet services while executing a simple
    fla-file or something like that?

Maybe you are looking for

  • Airport Express and 2wire

    Just set up an ATT Internet DSL connection, and received a "2wire" modem and wireless base station. My plan was to set up Aiport Express as a Client, to utilize iTunes through my speakers. 2-Wire does not recognize the Airport Express... Here is the

  • Recently, when printing anything, the print is too small to read. I am using FF v 18.0.1 with Windows 7. Prints fine using IE.

    Emails, documents, everything prints very tiny. This problem started within the last week to 10 days. I have an HP Photosmart 7510. I can print the same items in IE with no problems. I'd appreciate any help. Linda

  • Is there a way to turn off global ...

    if you hold down the ctrl key and uncheck a song it unchecks the entire playlist, i have accidentaly done this twice now, even tho i backup the play list it never comes back the same, not quite sure how i keep doing this but i do (prob just rest my h

  • 10 most helpful apps for itouch 4th gen

    10 most helpful apps for itouch 4th gen 5.1.1

  • Exceptions vs user messages

    There is a thing in connection to exception handling in GUI applications that I have been thinking on at some times: Where/how to produce user messages for exceptions that may occur somewhere in the business logic? The best guidelines I have read abo