Browser certificaion clarification JDev 11gr1
Hello all,
In the release notes for JDev 11g, IE7 is listed as supported and all earlier versions of IE are said to be not supported; however, there is no qualification around that statement. Clearly, if I make a plain vanilla servlet/jsp, it will work fine on IE6. So, could I ask Oracle to clarify the browser support? I will guess that the listed browsers are for ADF Faces Rich Client. What about using just the Trinidad components and not RC? We are just about to embark on a development project that will use ADF Business Components, and we'd obviously like to use 11g for new development, but we have a limitation that we must support IE 6/7 and Firefox 2/3 - any clarification on this would be most welcome.
Let me add an update with a very specific question: if we use JDev 11g's page templates and do not use any of the ADF Faces RC components, but just Trinidad (which appears to be version 1.2.8 in JDev 11g r1), would IE6/7 and FF2/3 be a supported configuration? Since we're using ADF BC, it would be nice to be able to uptake at least the trinidad/template components, otherwise we'll have to go stock JSF/some-other-third-party-JSF-components and facelets.
Best,
John
IE7 had some of the near future. We would help, and once IE6 was that IE8 is targeted for later this year and there are getting more and more aggressive with some fundamental changes in the architecture of how things were handled, both in these cases.
So that's how We tend to later versions. We ended where we are. We do hear feedback similar to yours John and performance. So this was a trade-off we had to re-architect a bunch of IE6 in the functionality if we built to the lowest common technology, so we picked IE7 and FF2. Also considered was no longer a factor we would have been really limited with their releases and I think that should help nudge companies into updating their software to try to support current-1 versions in style classes (as Simon pointed out) as well in Safari and Chrome. The browsers are rumblings of MSFT being aggressive in getting users off our core framework. Firefox 3 for example gives you a 20%+ boost in UI performance running the exact same app compared to FF2. You can see increased performance as well as in garbage collection, JS/DHTML consistency and would like to support all of them, but it would end hurting a lot more users than it would have had to make to advance the ADF Faces components.
David Gilbert
[Samsung LCD Televisions|http://hubpages.com/hub/SamsungLCDTelevisions] - [Samsung LCD Television|http://hubpages.com/hub/Samsung-LCD-Television] - [Wario Land Shake It|http://hubpages.com/hub/Wario-Land-Shake-It]
Similar Messages
-
Programmatically locking user account in OID Jdev 11gR1
Hi All ,
Using Jdev 11.1.1.6
Does anyone know an API using which we can lock a user's account in OID ?
Though there is a way in which we can unlock the account programmatically -
public void unlockAccount(User user) throws IMException {
UserProfile usrprofile = user.getUserProfile();
ModProperty mprop = new ModProperty("orclpwdaccountunlock",
"1",
ModProperty.ADD);
usrprofile.setProperty(mprop);
}But as rightly pointed out in the below thread , passing the property orclpwdaccountunlock as 0 (assuming it would have locked the account )is not allowed.
https://forums.oracle.com/forums/thread.jspa?messageID=10698930
Error -
[LDAP: error code 53 - Account Policy Error :9051: GSL_ACCOUNTUNLOCK_EXCP :Invalid value specified for orclpwdaccountunlock attribute.
The only allowed value is 1];I want to lock my account as we are doing a custom implementation wherein the account should get locked once a user enters incorrect asnwers to Challenge Questions more than a given number of times.
Will the disabling of the account help this case ?
Also can you please throw more light on oblockouttime property ?
As far as I found out it is specific to OAM - Unlock user in OID through JNDI code -
Files not found css and js in Jdev 11gR1 application
Hi Experts,
I have a UI Dynamic Shell template and i am trying to show a slider using the below code. However i am getting the following errors :
<JUApplicationDefImpl> <findBindingContainerIdByPath> /js/sliderman.1.3.7.js not found in oracle.ui.pattern.dynamicShell.model.DataBindings.cpx
<JUApplicationDefImpl> <findBindingContainerIdByPath> /js/sliderman.1.3.7.js not found in com.awrostamani.web.DataBindings.cpx
<JUApplicationDefImpl> <findBindingContainerIdByPath> /img/01.jpg not found in oracle.ui.pattern.dynamicShell.model.DataBindings.cpx
<JUApplicationDefImpl> <findBindingContainerIdByPath> /img/01.jpg not found in com.awrostamani.web.DataBindings.cpx
<JUApplicationDefImpl> <findBindingContainerIdByPath> /img/03.jpg not found in oracle.ui.pattern.dynamicShell.model.DataBindings.cpx
<JUApplicationDefImpl> <findBindingContainerIdByPath> /img/03.jpg not found in com.awrostamani.web.DataBindings.cpx
<JUApplicationDefImpl> <findBindingContainerIdByPath> /img/02.jpg not found in oracle.ui.pattern.dynamicShell.model.DataBindings.cpx
<JUApplicationDefImpl> <findBindingContainerIdByPath> /img/02.jpg not found in com.awrostamani.web.DataBindings.cpx
<JUApplicationDefImpl> <findBindingContainerIdByPath> /img/04.jpg not found in oracle.ui.pattern.dynamicShell.model.DataBindings.cpx
<JUApplicationDefImpl> <findBindingContainerIdByPath> /img/04.jpg not found in com.awrostamani.web.DataBindings.cpx
<JUApplicationDefImpl> <findBindingContainerIdByPath> /img/07.jpg not found in oracle.ui.pattern.dynamicShell.model.DataBindings.cpx
<JUApplicationDefImpl> <findBindingContainerIdByPath> /img/07.jpg not found in com.awrostamani.web.DataBindings.cpx
Page Template Code
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<!-- sliderman.js -->
<!--af:resource type="javascript" source="js/sliderman.1.3.7.js"/-->
<script type="text/javascript" src="js/sliderman.1.3.7.js"></script>
<link rel="stylesheet" type="text/css" href="css/sliderman.css"/>
<!-- /sliderman.js -->
<f:view>
<af:document id="d1">
<af:resource type="javascript">
demo3Effect1 = {
name : 'myEffect31', top : true, move : true, duration : 400
demo3Effect2 = {
name : 'myEffect32', right : true, move : true, duration : 400
demo3Effect3 = {
name : 'myEffect33', bottom : true, move : true, duration : 400
demo3Effect4 = {
name : 'myEffect34', left : true, move : true, duration : 400
demo3Effect5 = {
name : 'myEffect35', rows : 3, cols : 9, delay : 50, duration : 100, order : 'random', fade : true
demo3Effect6 = {
name : 'myEffect36', rows : 2, cols : 4, delay : 100, duration : 400, order : 'random', fade : true, chess : true
effectsDemo3 = [demo3Effect1, demo3Effect2, demo3Effect3, demo3Effect4, demo3Effect5, demo3Effect6, 'blinds'];
var demoSlider_3 = Sliderman.slider( {
container : 'SliderName_3', width : 800, height : 200, effects : effectsDemo3, display : {
autoplay : 3000
</af:resource>
<af:form id="f1">
<af:pageTemplate viewId="/oracle/ui/pattern/dynamicShell/dynamicTabShell.jspx"
value="#{bindings.pageTemplateBinding}" id="pt1">
<f:facet name="copyright"/>
<f:facet name="about"/>
<f:facet name="navigation">
<af:decorativeBox id="db1" theme="light" dimensionsFrom="parent">
<f:facet name="center"/>
</af:decorativeBox>
</f:facet>
<f:facet name="globalLinks"/>
<f:facet name="status"/>
<f:facet name="globalToolbar"/>
<f:facet name="globalSearch"/>
<f:facet name="globalTabs"/>
<f:facet name="welcome">
<af:decorativeBox id="db2" dimensionsFrom="parent">
<f:facet name="center"/>
<f:facet name="top">
<!-- Code realted to slider -->
<f:verbatim>
<div id="wrapper">
<div id="examples_outer">
<h2>Sliderman.js Demo 3</h2>
<div id="slider_container_3">
<div id="SliderName_3" class="SliderName_3">
<img src="img/01.jpg" width="800" height="200" alt=""
title=""/>
<img src="img/02.jpg" width="800" height="200" alt=""
title=""/>
<img src="img/03.jpg" width="800" height="200" alt=""
title=""/>
<img src="img/04.jpg" width="800" height="200" alt=""
title=""/>
<img src="img/05.jpg" width="800" height="200" alt=""
title=""/>
<img src="img/06.jpg" width="800" height="200" alt=""
title=""/>
<img src="img/07.jpg" width="800" height="200" alt=""
title=""/>
<img src="img/08.jpg" width="800" height="200" alt=""
title=""/>
<img src="img/09.jpg" width="800" height="200" alt=""
title=""/>
<img src="img/10.jpg" width="800" height="200" alt=""
title=""/>
</div>
<div class="c"></div>
<div class="c"></div>
</div>
<div class="c"></div>
</div>
</div>
</f:verbatim>
<!-- end od slider code -->
</f:facet>
</af:decorativeBox>
</f:facet>
<f:facet name="innerToolbar"/>
<f:attribute name="navSplitterDisabled" value="true"/>
<f:attribute name="brandingTitle" value="Customer Portal"/>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
</jsp:root>please advice
thnks
Jdev 11.1.1.5aahh..bad question ..i guess i got it
-
JDev 11gr1: Session expiry example from Frank Nimphius
Is the "ADF Faces: Detecting and handling user session expiry" http://thepeninsulasedge.com/frank_nimphius/2007/08/22/adf-faces-detecting-and-handling-user-session-expiry/
supposed to work with JDev/ADF 11g?
I noticed the following two issues:
1) When a session expires, is renewed and I get redirected to the desired page the GUI does not respond to any actions anymore (eg. button clicks).
2) Concerns JDev embedded WLS.
The session id (requested session for the first app request) is only null when the app is run for the first time after starting JDev. For every subsequent run a session id is existent already. So the implemented logic in ApplicationSessionExpiryFilter.doFilter causes a redirect.
Session ids look like this for a 2nd run:
requestedSession : lKyvJQ9Wvb1jyHfjRcXVqydvJjpLvT1QwWHTM1PbpTTsmLpWM06L!-744873777
currentWebSession: KKbnJQCXkyMGTbtxJ0kSVm72yGTX5zJnQBmgk3RJvpcFs7n1ynrl!-744873777!1224770231186Hi,
saying it this way: the solution will have its equivalent in ADF Faces RC. There are two major changes in ADF Faces RC
- The server is WLS and no longer OC4J, which means that the WLS session handling needs to have a look at
- ADF Faces RC uses a lot more PPR (Ajax requestst) and less page redirects. So I am not sure that the servlet will know for certain about the context that it is in when the session expired
So in summary I would think that the sample is broken in JDeveloper 11
Frank -
Howto: display dynamic form on tree selection (jdev 11gR1)
Heya,
another question by myself, hoping for an advice.
I finally made a tree including different types of "objects" into one tree (based on ADF BC). Simple example use case used in this post: displaying employee hierarchy PLUS assigned projects per employee.
So my current problem is: what is the "way to go" to change the form in the "content" facet (made a simple splitter layout with tree in left facet and "content" in right facet) AND binding the data to it? Clicking on an employee would open the employee form and load data for selected employee into it, but clicking on a project would open the project form and loading data for selected project into it. I have all data available in the tree application module and the decision "what to display" is based on one of the attributes.
All tutorials I found so far for master/detail are kinda "static" (linking employee tree to employee form) and I can't figure out how to do want I want to do.
Is this possible going the declarative way? If yes, how? Or do I have to code something? If yes, how? No need for actual code, just need a hint what to look for.. feeling lost atm.
Any help is highly appreciated. :)Hi,
here's how you do it
1. Create a iterator binding for the project ViewObject (choose a ViewObject instance that is not dependent to the employees ViewObject you use as the tree top level)
2. In the binding editor, expand the Data Source entry (below the rule attribute configuration) and create an EL expression that references the iterator bindingyou created
This ensures that selecting an emplloyee is synchronized with the Employee iterator used to build the top level nodes and the selected project is synchronized with the project iterator node.
3. Add a switcher component to switch between the employee and the project edit form
4. Create a facet in the af:switcher that has the name of the full employee view object e.g. adf.mysample.EmployeesView
5. Create a facet in the af:switcher for the full name of the Project VO
6. Drag and drop the EmployeeView entry from the data Controls palette as a form into the Employees facet
7. Do the same for the Projects (make sure you use the Projects VO that is not depedent)
Set the default value of the switcher too point to the facet that should be shown by default. The value of the switcher set to an EL that points to a managed bean method or memory attribute. Upon selecting a node (you can use the tree node selection listener) you access the selected tree node. The selection listener code woud look as shown below
//tree reference can be obtained from the selectionListener event (Source) or from a JSF component binding property reference
//example uses the latter
RichTree tree = this.getTree1();
//get selected row keys. This could be a single entry or
//multiple entries dependent on whether the tree is
//configured for multi row selection or single row selection
RowKeySet rks = tree.getSelectedRowKeys();
Iterator rksIterator = rks.iterator();
//assuming single select use case. Otherwise, this is where you
//need to add iteration over the entries in the multi select use case
if (rksIterator.hasNext()){
//a key is a list object that containe the node path information for the
//selected node
List key = (List)rksIterator.next();
//determine the selected node. Note that the tree binding is an instance of
//JUCtrlHierBinding
JUCtrlHierBinding treeBinding = null;
//We can get the binding information without using EL in our Java, which you always should
//try to do. Using EL in Java is good to use, but only second best as a solution
treeBinding = (JUCtrlHierBinding) ((CollectionModel)tree.getValue()).getWrappedData();
//the row data is represented by the JUCtrlHierNodeBinding class at runtime. We get the node value
//from the tree binding at runtime
JUCtrlHierNodeBinding nodeBinding = treeBinding.findNodeByKeyPath(key);
//the JUCtrlHierNodeBinding object allows you to access the row data, so if all you want is to
//get the selected row data, then you are done already. However, in many cases you need to further
//distinguish the node, which is what we can do using the HierTypeBinding
String nodeStuctureDefname = nodeBinding.getHierTypeBinding().getStructureDefName();
//determine the selected node by the ViewObject name and package
String employeesDef = "adf.mysample.EmployeesView";
String projectDef = "adf.mysample.ProjectsView";
if (nodeStuctureDefname.equalsIgnoreCase(empoyeesDef)){
// change value reference used in af:switcher and partially refresh the af:switcher component to show the edit form
// e.g. change the value of the refrenced memory attribute or managed bean variable
else if (nodeStuctureDefname.equalsIgnoreCase(projectDefDef)){
// change value reference used in af:switcher and partially refresh the af:switcher component to show the edit form
// e.g. change the value of the refrenced memory attribute or managed bean variable
else{
//what the heck did the user click on? Ask him ;-)
}Frank -
JDev 11gR1: Force redirect to certain page upon sucessfull authentication
Hello,
I am following "Enabling ADF Security in a Fusion Web Application" part of fusion developer documentation. I need to make sure that no matter which page is called, that upon successfull authentication, framework redirects user to a certain page, say welcome.jspx
I thought that this is already done in steps "Configure ADF Security" since in web.xml I have this entry:
<servlet>
<servlet-name>adfAuthentication</servlet-name>
<servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
<init-param>
<param-name>success_url</param-name>
<param-value>/faces/welcome.jspx</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>I am using Loginbean and jspx login page as per documentation mentioned above
Any ideas?Well then I am puzzled how this redirect works. Here is the code from the documentation:
public String doLogin() {
String un = _username;
byte[] pw = _password.getBytes();
FacesContext ctx = FacesContext.getCurrentInstance();
HttpServletRequest request =(HttpServletRequest)ctx.getExternalContext().getRequest();
CallbackHandler handler = new SimpleCallbackHandler(un, pw);
try {
Subject mySubject = Authentication.login(handler);
ServletAuthentication.runAs(mySubject, request);
ServletAuthentication.generateNewSessionID(request);
String loginUrl = "/adfAuthentication?success_url=/faces" + ctx.getViewRoot().getViewId();
System.out.println("loginUrl= "+loginUrl);
//String loginUrl = "/adfAuthentication?success_url=/faces/welcome.jspx";
HttpServletResponse response = (HttpServletResponse)ctx.getExternalContext().getResponse();
System.out.println("requestURI= "+request.getRequestURI());
sendForward(request, response, loginUrl);
} catch (FailedLoginException fle) {
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR,
"Incorrect Username or Password",
"An incorrect Username or Password" +
" was specified");
ctx.addMessage(null, msg);
setPassword(null);
fle.printStackTrace();
} catch (LoginException le) {
reportUnexpectedLoginError("LoginException", le);
return null;
private void sendForward(HttpServletRequest request,
HttpServletResponse response,
String forwardUrl){
FacesContext ctx = FacesContext.getCurrentInstance();
RequestDispatcher dispatcher = request.getRequestDispatcher(forwardUrl);
System.out.println("forwardUrl= " + forwardUrl);
try {
dispatcher.forward(request, response);
} catch (ServletException se) {
reportUnexpectedLoginError("ServletException", se);
} catch (IOException ie) {
reportUnexpectedLoginError("IOException", ie);
ctx.responseComplete();
private void reportUnexpectedLoginError(String errType, Exception e){
FacesMessage msg =
new FacesMessage(FacesMessage.SEVERITY_ERROR, "Unexpected error during login",
"Unexpected error during login (" + errType +
"), please consult logs for detail");
FacesContext.getCurrentInstance().addMessage(null, msg);
//e.printStackTrace();
}So I call a page birth.jspx (one of my application pages) which is prottected by ADF Security. Framework redirects to LoginPage.jspx, then calls the bean above and upon Authentication redirects to the initially called page birth.jspx
It is not clear to me how this works. I thought that
String loginUrl = "/adfAuthentication?success_url=/faces" + ctx.getViewRoot().getViewId();
will retreive the viewID of the calling page from the context ie birth.jspx but it actually gets LoginPage.jspx so the loginUrl string becomes: "/adfAuthentication?success_url=/faces/LoginPage.jspx"
Thereafter private method sendForward somehow redirects to birth.jspx. How?
I have tried to overwrite loginUrl to "/adfAuthentication?success_url=/faces/welcome.jspx" but this only works (redirects to desired welcome.jspx) if initially called page is LoginPage.jspx -
JDev 11gR1: validation of number spinbox fails
I have created a simple ADF Faces form with a number spinbox.
When it is validated it tells me that it contains no valid number.
Steps I did:
1) Dropped a bound number attribute to an empty jspx and selected ADF Input Text w/ Label.
2) Converted it to a number spinbox.
3) Set the Minimum and Maximum properties to 1 and 10.
4) Added a button.
5) Run the form (the spinbox is filled with the value 1)
6) Press the button -> validation error occurs.
This also happens now in other forms I have migrated from TP4.
Anyone else experienced this problem?Hi,
I tried to reproduce this following your instructions. However, I can press submit and no error is shown. Below is my code
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<af:document>
<af:messages/>
<af:form>
<af:inputNumberSpinbox value="#{bindings.Salary.inputValue}"
label="#{bindings.Salary.hints.label}"
required="#{bindings.Salary.hints.mandatory}">
<f:validator binding="#{bindings.Salary.validator}"/>
<af:convertNumber groupingUsed="false"
pattern="#{bindings.Salary.format}"/>
</af:inputNumberSpinbox>
<af:commandButton text="commandButton 1"/>
</af:form>
</af:document>
</f:view>
</jsp:root>Frank -
ADF Faces RC browser support and browser market share
hi
Given the current browser support in JDeveloper 11g (ADF (Faces RC)), for IE 7.0 (not IE 6), FF 2.0, FF 3.0, ...
http://download.oracle.com/docs/cd/E12839_01/install.1111/e13666/OJDIG.htm#BDCJBGBC
http://www.oracle.com/technology/products/jdev/htdocs/jdeveloper11gfaq.html#P0
(Why Oracle has chosen to do so has been discussed before, in threads ADF 11g: Browser support for Internet Explorer 6, Browser certificaion clarification JDev 11gr1, ...)
Given some information available online about browser market share ...
http://marketshare.hitslink.com/browser-market-share.aspx?qprid=3
http://www.w3schools.com/browsers/browsers_stats.asp
http://www.w3counter.com/globalstats.php
http://www.thecounter.com/stats/
... it looks like about 20 to 30 percent is still Internet Explorer 6 (which is not supported by ADF Faces Rich Client components).
Which role should this play in a decision to choose for ADF Faces Rich Client components to build an internet application today?
Maybe some can share their experience in making such choice.
many thanks
Jan VerveckenHi Jan,
(e1) That's a really good example, but the deciding point is different than browser version imho.
In that example, the hospital control its technological infrastructure so I would say it's safe to ask the users to upgrade as the hospital team is actually going to do it. In this case it depends if the hospital itself is willing to upgrade its apps, not the users. However, the patients are a special kind of users of which at least a small amount will be physically disabled to some point so you'll have to evaluate the accessibility potential of ADF Faces RC and, as most rich libraries, it's not that awesome. So, in that example, I think you would have to use pure Trinidad instead as its accessibility support is a bit better or at least reduce the usage of rich features in RC (like no drag-drop since it's a nightmare for both blind and mobility reduced users).
(e2) imho, no it wouldn't be safe to use RC if the target date is within 1 year since you don't control the user base in that example and not supporting a browser might cut your customer base and thus reduce your revenue.
Regards,
~ Simon -
Jdev 9I on linux: hw to run jsp on browser in local on PC ????
Hi,
I've installed jdev9I on linux directly on the application server to get a sharable dev environment. However, i have a slight problem when we are testing jsp (tutorial for example):
1. i have no browser on the linux server
2. there is an error saying he is trying to open Netscape
Is there a way to open a browser on the Developer local PC ? I'm accessing Jdev through a X windows client on my PC.
At least how/where we will setup the browser called by Jdev ?
thanks for your helpThanks for your suggestion. we have tried that but it doesn't work as the embedded OC4J displays an error:
java.io.IOException: netscape: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:491)
at java.lang.Runtime.exec(Runtime.java:457)
at oracle.ideimpl.webbrowser.BrowserRunner._runBrowserOnWindowsOrUNIX(BrowserRunner.java:226)
at oracle.ideimpl.webbrowser.BrowserRunner._runBrowser(BrowserRunner.java:101)
at oracle.ideimpl.webbrowser.BrowserRunner.runBrowserOnURL(BrowserRunner.java:62)
at oracle.jdeveloper.runner.Oc4jStarter$BrowserThread.run(Oc4jStarter.java:2000) -
Dialog control flow case not opening in new browser window
Hello -
Using JDev 11gR1.
I have a page fragment that contains a table of command links like so:
<af:commandLink text="#{row.id}" id="cl2"
action="#{reportRunnerBean.runReportAction}"
useWindow="true" windowHeight="500" windowWidth="500">
<f:param value="#{row.id}" name="reportId" id="p2"/>
</af:commandLink>the runReportAction method returns the String: "dialog:runReport"
in my page flow, the page fragment has a control flow case with the outcome "dialog:runReport" that leads to a URL View with the URL setting set to #{pageFlowScope.reportUrl}
(the reportRunAction places a string in page flow scope with the key of "reportUrl". in case it matters, the url is external to the application)
When I click on the link, I am directed to the correct URL. However, it does not open in a new browser window - it takes up the main browser window.
Is there something obvious that I am doing wrong?
Thank you for reading this,
-- ScottWell, I couldn't figure out why the dialog wasn't working correctly, so I changed my page to use a server listener to handle the logic I wanted and just used af:goLink instead of a command link. That command link above became:
<af:goLink text="#{row.id}" id="gl1"
destination="#{row.reportUrl}"
targetFrame="_blank">
<af:clientAttribute name="reportId" value="#{row.id}"/>
<af:clientListener method="logReport" type="click"/>
<af:serverListener type="LogReportEvent"
method="#{reportListBean.logReportInvocation}"/>
</af:goLink>with the following client listener:
<af:resource type="javascript">
function logReport(evt) {
var component = evt.getSource();
var reportIdParam = component.getProperty("reportId");
AdfCustomEvent.queue(component,
"LogReportEvent",
{ reportId: reportIdParam}, false);
</af:resource>and code in the bean:
public void logReportInvocation(ClientEvent clientEvent) {
String reportId =
(String)clientEvent.getParameters().get("reportId");
//...do something w/reportId here...
}Thanks to anyone who took the time to read this. -
Running a web page keeps taking my browser sessions!!
Hi,
I am using JDev OAE and every time i run a page it finds a random existing browser session and uses it. I have tried putting another browser executable in JDev the preferences but it ignores it!
I have documentation in some sessions and 11i in other ones so this is really annoying.
Any ideas?
BrendenFor IE, doing this will initiate a new browser everytime a page is launched.
Go to
Tools->Internet Options->Advanced
Under Browsing Category, uncheck the option
"Reuse windows for launching shortcuts"
This is the solution in IE if i have understood your problem correctly.
Thanks
Tapash -
Create EAR deployment profile disabled - 11gR1
Hello,
I have created two separate, EJB and WAR, projects and now I tried to create a wrapping project to put them together in an EAR file. However, in the new project, the option "EAR file" in the (create new) deployment profiles is disabled. Is there any prerequisite to have this option enabled? I'm on jDev 11gR1.http://blogs.oracle.com/olaf/2008/10/nice_jdev_11g_feature_ear_pack.html
--olaf -
Application deployment to jboss 5.1.0 GA
Hi all,
I have deployed my application developed in jdev 11gR1 to jboss 5.1.0 ga
I have started the jboss server in default mode
i have copied the listed jars to the default/lib folder
adflibfilter.jar
adflogginghandler.jar
adfm.jar
adf-share-base.jar
adf-share-ca.jar
adf-share-support.jar
cache.jar
commons-el.jar
db-ca.jar
dms.jar
eclipselink.jar
ejb3-persistence.jar
groovy-all-1.6.3.jar
identitystore.jar
javatools-nodeps.jar
jmxframework.jar
jmxspi.jar
jps-api.jar
jps-common.jar
jps-ee.jar
jps-internal.jar
jps-unsupported-api.jar
jps-wls.jar
jrf-api.jar
jsf-facelets.jar
mdsrt.jar
ojdbc6.jar
ojdl.jar
oracle-el.jar
resourcebundle.jar
share.jar
trinidad-api.jar
trinidad-impl.jar
xml.jar
xmlef.jar
xmlparserv2.jar
i have set the JAVA_HOME path to Oracle\Middleware\jdk160_11
i have created a war file and ear file and deployed the ear file
the ear file is UP in jboss server
but while accessing it through browser m getting this error
javax.servlet.ServletException
javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:65)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
java.lang.NullPointerException
com.sun.faces.renderkit.RenderKitUtils.getResponseStateManager(RenderKitUtils.java:239)
com.sun.faces.lifecycle.RestoreViewPhase.isPostback(RestoreViewPhase.java:261)
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:171)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:103)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:65)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
and my server log is
2009-12-01 17:14:16,711 WARN [org.jboss.seam.security.permission.PersistentPermissionResolver] (http-127.0.0.1-8080-1) no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
2009-12-01 17:14:25,476 ERROR [facelets.compiler] (http-127.0.0.1-8080-1) Error Loading Library: vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/lib/trinidad-impl.jar/META-INF/tr.taglib.xml
java.io.IOException: Error parsing [vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/lib/trinidad-impl.jar/META-INF/tr.taglib.xml]:
at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:410)
at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:431)
at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:87)
at com.sun.facelets.compiler.Compiler.compile(Compiler.java:104)
at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:218)
at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:149)
at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:100)
at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:517)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.jboss.on.embedded.LazyStartupFilter.doFilter(LazyStartupFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xml.sax.SAXException: Error Handling [vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/lib/trinidad-impl.jar/META-INF/tr.taglib.xml@10,101] <handler-class>
at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:271)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:407)
... 55 more
Caused by: java.lang.Exception: org.apache.myfaces.trinidadinternal.facelets.SetActionListenerTag must be an instance of com.sun.facelets.tag.TagHandler
at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.createClass(TagLibraryConfig.java:293)
at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:210)
... 70 more
2009-12-01 17:14:25,492 ERROR [facelets.compiler] (http-127.0.0.1-8080-1) Error Loading Library: vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/lib/trinidad-impl.jar/META-INF/trh.taglib.xml
java.io.IOException: Error parsing [vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/lib/trinidad-impl.jar/META-INF/trh.taglib.xml]:
at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:410)
at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:431)
at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:87)
at com.sun.facelets.compiler.Compiler.compile(Compiler.java:104)
at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:218)
at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:149)
at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:100)
at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:517)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.jboss.on.embedded.LazyStartupFilter.doFilter(LazyStartupFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xml.sax.SAXException: Error Handling [vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/lib/trinidad-impl.jar/META-INF/trh.taglib.xml@14,107] <handler-class>
at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:271)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:407)
... 55 more
Caused by: java.lang.Exception: org.apache.myfaces.trinidadinternal.facelets.TrinidadComponentHandler must be an instance of com.sun.facelets.tag.TagHandler
at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.createClass(TagLibraryConfig.java:293)
at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:210)
... 70 more
2009-12-01 17:14:33,929 INFO [org.jboss.on.embedded.ui.BootstrapAction] (http-127.0.0.1-8080-1) Initializing Administration Console v1.2.0.GA...
2009-12-01 17:14:35,758 WARN [org.rhq.core.system.SystemInfoFactory] (http-127.0.0.1-8080-1) System info API not accessible on this platform (native shared library not found in java.library.path).
2009-12-01 17:14:35,929 INFO [org.jboss.on.embedded.manager.pc.PluginContainerResourceManager] (http-127.0.0.1-8080-1) Discovering Resources...
2009-12-01 17:14:37,914 WARN [org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator] (ResourceDiscoveryComponent.invoker.daemon-1) Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null
2009-12-01 17:14:37,945 WARN [org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator] (ResourceDiscoveryComponent.invoker.daemon-1) Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null
2009-12-01 17:14:46,289 INFO [org.hibernate.validator.Version] (http-127.0.0.1-8080-4) Hibernate Validator 3.1.0.GA
2009-12-01 17:14:46,304 INFO [org.hibernate.annotations.common.Version] (http-127.0.0.1-8080-4) Hibernate Commons Annotations 3.1.0.GA
2009-12-01 17:15:03,648 INFO [org.jboss.profileservice.management.upload.remoting.DeployHandler] (ResourceContainer.invoker.nonDaemon-1) Stop, [vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/Test.ear/]
2009-12-01 17:15:03,664 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (ResourceContainer.invoker.nonDaemon-1) undeploy, ctxPath=/Test
2009-12-01 17:15:03,867 INFO [org.jboss.profileservice.management.upload.remoting.DeployHandler] (ResourceContainer.invoker.nonDaemon-1) End stop, [vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/Test.ear/]
2009-12-01 17:15:03,867 INFO [org.jboss.profileservice.management.upload.remoting.DeployHandler] (ResourceContainer.invoker.nonDaemon-1) Begin start, [vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/Test.ear/]
2009-12-01 17:15:05,304 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (ResourceContainer.invoker.nonDaemon-1) deploy, ctxPath=/Test
2009-12-01 17:15:05,648 INFO [org.jboss.profileservice.management.upload.remoting.DeployHandler] (ResourceContainer.invoker.nonDaemon-1) End start, [vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/Test.ear/]
2009-12-01 17:15:15,648 WARN [org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator] (ResourceContainer.invoker.daemon-3) Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null
2009-12-01 17:15:15,679 WARN [org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator] (ResourceContainer.invoker.daemon-3) Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null
2009-12-01 17:16:07,086 INFO [oracle.adf.share.config.ADFConfigFactory] (http-127.0.0.1-8080-5) ADF Config instance implementation in use is : oracle.adf.share.config.MDSConfigFactory
2009-12-01 17:16:08,195 SEVERE [oracle.adf.perfIdx] (http-127.0.0.1-8080-5) # Time stamp line format: T long format of date time (timestamp)
# Sensor index line format: I <sensorIndex> <sensorFullName> <type>
# Performance entry line format: <ecid> [<sensorIndex> <RID> <timeStamp> <value>]*
# where <type> can be: t - timer, s - state, c - counter
2009-12-01 17:16:08,211 SEVERE [oracle.adf.perfIdx] (http-127.0.0.1-8080-5) T Tuesday, December 1, 2009 5:16:08 PM IST (1259667968195)
2009-12-01 17:16:10,289 SEVERE [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-127.0.0.1-8080-5) JSF1054: (Phase ID: RESTORE_VIEW 1, View ID: ) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@6bb568]
2009-12-01 17:16:10,289 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[Test].[Faces Servlet]] (http-127.0.0.1-8080-5) Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
at com.sun.faces.renderkit.RenderKitUtils.getResponseStateManager(RenderKitUtils.java:239)
at com.sun.faces.lifecycle.RestoreViewPhase.isPostback(RestoreViewPhase.java:261)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:171)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:103)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
please help where i am missingUser,
As you may know, ADF 11g applications have only been certified/supported on WLS 10.3.x at the moment. Any other application server (whether it be JBoss, Tomcat, Glassfish, WAS, etc) aren't officially documented/supported. There are certainly people who have tried to get it working with varying degrees of success (a quick search of the forum would find some of them), and Shay has indeed highlighted a blog entry of someone who has worked with JBoss.
John -
ADF: Gracefully handling JDBC connection errors? Part II
Hi gang
I while back I posted a forum post to find a solution to "display a specific web page when the JDBC connection drops out on our ADF application, specifically the following error: oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection"
...you can see the original post here:
Re: ADF: Gracefully handling JDBC connection errors?
For the life of me I can't get this to work now. It appears I can't redirect to another page during the call to reportException. I've had a play with different methods of redirecting, as seen in the following code sample:
public class ErrorHandlerImpl extends DCErrorHandlerImpl {
public ErrorHandlerImpl() {
super(true);
@Override
public void reportException(DCBindingContainer dCBindingContainer, Exception exception) {
// try {
String message = exception.getMessage();
if (message.indexOf("JBO-26061") >= 0) {
// Method 1
FacesContext fc = FacesContext.getCurrentInstance();
UIViewRoot viewRoot =
fc.getApplication().getViewHandler().createView(fc, "faces/errorPage.jspx");
fc.setViewRoot(viewRoot);
fc.renderResponse();
// Method 2
// FacesContext fc = FacesContext.getCurrentInstance();
// fc.getApplication().getNavigationHandler().handleNavigation(fc, null, "goError");
// fc.responseComplete();
// Method 3 - required IOExcepition handler
// FacesContext.getCurrentInstance().getExternalContext().redirect("faces/errorPage.jspx");
} else
super.reportException(dCBindingContainer, exception);
// } catch (IOException e) {
}... with no success.
Has anyobody any other solutions or advice on getting this to work?
Your help appreciated.
Thanks & regads,
CM.
PS. JDev 11gR1 ADF BC + ADF Faces RCHi Frank
Yep, I' tried redirect, that was method 3 (you can see all 3 methods I've attempted, last 2 are commented out).
With the declarative ADFc exception handler, problem is it's a catch all, not specifically for JBO-26061. Can you think of a way I can tailor fit it for JBO-26061 with a custom message "Database down"?
In addition the exception handler is not consistently called. As example, if you're moving between pages rather than operating on 1 page, the standard af:messages error dialog is shown if the db connection has been dropped, rather than navigating to the exception handler page. As such it seems the DCErrorHandlerImpl.reportExceptions is the better chokepoint to work from.
Cheers,
CM. -
Command Link in ADF table is not working/ PPR event not getting fired
Hi All,
I am having ADF Table, in that one column is with command link if click on command link, it is not navigating to corresponding page or method of a bean. If i give same command link out of the table it working fine, this issue i am facing is in IE9.
if i use IE in compatibility mode the links works fine, even in IE8 version also.
Browser: IE 9
Jdev version: 11.1.1.5.0
I tried all possible things, but nothing workout for me.
showPopupBehavior not working in IE9 for af:table buttons (jdev11.1.1.5.0)
Partial page rendering not working in ie9
Command Link in ADF table is not working
ThnksHi,
please file a bug if you have a customer support contract and provide a testcase
Frank
Maybe you are looking for
-
In Desperate need for help with Security Settings
I am currrently working on a project that requires a Flash submenu running through an HTML Browser window and running from a CD. The problem is that the final destination for these CDs will be on computers without the capability to connect to the int
-
My MacBook Air is running very slowly and has difficulty staying connected to wifi networks.
Problem description: My mac is running very slowly and I have difficulty staying connected to wifi networks. I have only used half of my hard drive. My computer was purchased in Canada, where I used it for over a year but now I am living in the US. E
-
Films in the Cloud on Apple TV?
I currently get tv shows on my Apple TV 2, but I heard you can stream films, is this right?
-
What is best practice for...
What is best practice for deploying applications through the IPCU to 10 ipads? I'm looking for a complete step-by-step of the best way to do this. Thanks in advance!
-
Sort order on TV Show episodes
Help! I am trying to figure out how to make iPad sort episodes by episode number rather than strictly by alphabetical order. I bought the original Wifi Ipad on Apr 3. Transferred all my episodes (which are all coded correctly with Season and Ep #) an