Ajax4JSF not working using Portlet Faces Bridge
Hi,
Whenever i am including an ajax tag of poll in my JSF page, the portlet becomes unavailable(This is the only tag i am using in JSF).I have made a filter of Ajax4JSf in web.xml.Also if i remove this tag portlet works.
(Please help me out with same.)
<a4j:poll interval="2000" action="#{ServiceFaultIndex.fetchRefreshData}" />
The error i am getting is :-
Jul 25, 2008 11:59:12 AM oracle.adfinternal.view.faces.renderkit.html.portlet.PortletRenderer preRender
SEVERE: oracle.adf.model.portlet.binding.PortletBindingException: Unable to get portlet response (Internal Error) for portlet binding ServiceFaults6_1
at oracle.adf.model.portlet.binding.PortletBinding.getPortletRendition(PortletBinding.java:529)
at oracle.adfinternal.view.faces.renderkit.html.portlet.PortletRenderer.preRender(PortletRenderer.java:417)
at oracle.adfinternal.view.faces.renderkit.html.customizable.ShowDetailFrameRenderer.encodeBegin(ShowDetailFrameRenderer.java:227)
at oracle.adf.view.faces.component.UIXComponentBase.encodeBegin(UIXComponentBase.java:593)
at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:39)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
at mdssys.viewcontroller._public__html._dfbfbbf_jspx._jspService(_dfbfbbf_jspx.java:102)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.mds.jsp.MDSJSPFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:287)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Regards,
Alpa
Message was edited by:
user648923
Hi,
ever thought of posting this question to the JBOSS forum? Didi you try the af:poll component instead ?
Frank
Similar Messages
-
ADF Controls not working throught Portlet Bridge
Hello,
I have a JSF/ADF Faces very simple application, when I expose this application using Portlet Faces Bridge, JSF controls are working but ADF controls are not working.
I am using:
JDeveloper 10.1.3.3
OC4J 10.1.3.3 Standalone with PDK 10.1.3.2
Portal 10.1.4.
Controls work fine in application running outside portal as standard J2EE App.
Please if someone can provide quick help.
ThanksDo you mean the content is not rendered correctly? Have you configured resource proxying? See Re: WSRP examples - no display chart for the details.
Kind Regards,
Andre Jochems -
Camera Raw not working with Photoshop and Bridge CS6
Hi guys,
Had a hard-drive meltdown the other week and lost everything. I have re-downloaded and installed most of my important software, including the CS6 suite. I used to use camera raw alot with my .CR2 files and it worked fine for ages, now though, it doesn't work at all.
I have run an update and everything is up to date now, i've purged the cache and it's still not working, no preview on bridge or anything.
I have also tried going through the Camera raw updates on the Adobe website. I have tried deleting the plug in and redownloading it altogether too, no help.
Furthermore, when i try to open a .CR2 file through bridge into photoshop i get a message window:
My Camera Raw Version:
My photoshop version:
No preview of files in Bridge:
Any help would be greatly appreciated!
ChrisHi Benjamin,
Yes I have tried that, my OS doesnt run it. I'm on:
Chris -
DefaultFileName does not work with apache-webligic bridge in service pack 5
The DefaultFileName directive does not work with apache-webligic bridge
from service pack 5. It used to work with the apache-webligic bridge
from service pack 3. Can anybody tell me why? Thanks.
WeiI also had same issues using iPhone 5. Got chance to speak with senior engineers at NTC and they have confirmed 3G equipment they are using is not yet compatible with 3G band that iPhone 5 uses. So technically speaking, iPhone 5 has a hardware that is a generation ahead and not backward compatible to 3G system NTC currently uses.
On a bright side though, they confirmed that NTC is aware of the situation and is soon upgrading its hardware within next 1 or 2 months which will finally support 3G on iPhone 5. The other operator though already has support for this (don't want to mention their name but you know the alternative).
As for me, I'll be waiting for the (super frustrating) NTC to upgrade their hardware.
BTW - Apple has nothing to do with this issue. -
I hooked up new iMac to wireless network and now iPad and iPhone do not work using wireless. They did before hooking up the iMac. I am using a Netgear N300 router. Also my Netgear ethernet/homeplug for wireless TV internet no longer works. Any ideas? I have tried unplugging, restarting, and resetting. No luck! Thanks!
You should probalby contact Netgear
-
Using export slide show from iphoto, I am trying to create a DVD of photos and vid clips in large format. The vid clips do not work using burn software. Any idea?
Have used large format, but using the 'burn' software, I am not getting seamless video quality on DVD even though I am burning at 2* speed. Any ideas? Do I need better software? Or is there a problem with the SuperDrive?
-
when i finally connected my mac to work network on windows environment everything related to apple including App store, Safari, software updates, iCloud and iTunes do not work using a proxy server and everything else is working very well including chrome browser…i tried everything but no clue...anybody have solution for this..???
I also forgot to note that this problem also persists with the new iBooks application. I cannot get past the 'Get Started' screen or access the iBooks Store. Again, all top bar menus are unresponsive.
DT -
DMTF not working using IP to IP gateway
Hi,
I have a Cisco IP telephony infrastructure with Cisco Call Manager 4.0(2a) and Cisco 7940G series IP Phones. I have implemented "IP to IP gateway" using a Cisco 2651XM router. I have followed the Configuration guide of "IP-IP gateway" during my configuration.
The IP2IPGw is configured for H323-to-H323 and will register with a gateway of an Internet Telephony Service provider (ITSP).
Now when I make an outbound call to a conference bridge, the bridge requests for the code and the digits pressed from my ip phone is not accepted. The same when I do it from a Analog phone using a FXS port, it works.
The IPIPGw document specifies the dtmf-relay is enabled by deafult. I still have configured all available dtmf options, but still no luck.
Please help me in resolving this.
Attached: Config file and Network design.
thanks in advance,
Naveen VHi Amrit,
Thanks for your reply.
I had configured the DTMF parameters on the dial-peer's with h245-alphanumeric and also with rtp-nte, but no luck.
I have configured an Inter Cluster Trunk between CCM 4.0 and IP-IP Gateway router. I am not sure if there are any configuration on CCM end related to DTMF.
I even tried the rtp-payload (dial-peer) and is still not working.
Let me know your suggestions on this.
thanks,
Naveen V -
Time Capsule 7.3.1 not working as an ethernet bridge
So my DSL provider AT&T gave me a plane jane router (no wifi) that does NAT and DHCP. My airport express works without flaw and has done so for the last year.
I just bought a time capsule and can't get it to work as an ethernet bridge and the other options are not going to work since the DSL router does all the ip stuff (I'm no networking expert, but I did futz around with the other routing options for time capsule and didn't get anywhere).
When I do attempt to use timecapsule in bridge mode, I get the following error that pops up in a dialog box after the capsule restarts and my laptop connects:
" IP config 192.168.1.64 in use by 00:1f:f3:3c:de:46, DHCP Server 192.168.1.254"
Now, I opened network utility and the "00:1f" device listed isn't my macbook. I've also turned off all the other wireless devices in my house and have done the whole restart everything and reapplying the settings to the timecapsule afresh. Nothing seems to work. Any insight would be really appreciated.I'm having the same problem, but in my case it's a bit worse. I cannot connect to the TC drive at all from my macbook until I reset the TC. Attempting to connect via finder results in a "Connection Failed" response. After resetting the TC, it will work fine for a while (I don't have any more exact time frame, sorry) then starts failing again.
I have had this TC for 6 months, and after the initial hiccups, it's been working flawlessly. This latest problem started just after upgrading to 7.4.1. I intend on downgrading this evening after work, to see if that will fix the problem and restore the flawless service I had before. -
Request Scope for portlets? Sharing data tutorial does not work for portlet
I created 2 identical applications, one that was a regular JSF web app, and one a JSR168 portlet. By following the "Sharing Data Between Two Pages" tutorial, I can get this technique to work without a problem in the web app, but the portlet (deployed locally using the pluto server) does not work. What is the difference between a regular app and a portlet app?
This shows that portlets apparently handle scope much differently than other applications, so any information relating to this would be helpful to pass along.Portlet Life Cycle Differences
A portlet page is the same as a web application page in the Creator 2 application
model with differences only in the page life cycle. To best understand the life
cycle differences, you must first understand how a portal interacts with a portlet.
This interaction between portals and portlets is defined by the JSR-168 Portlet
specification. Typically a portal display in the web browser shows multiple
portlets. That is, when the portal page is displayed, there are actually multiple
portlets displaying or rendering their content. The job of the portal is to manage
how these portlets are displayed. Internally, the portal is responsible for telling
each portlet two things:
1. When to display itself
2. If there has been an action, such as a button press, performed inside that
portlet.
When a portal wants portlets to display their contents, the portal sends a render
request to each portlet showing in the portal. If one of the portlets showing in the
portal has a button tied to an action request, when that button is pushed, the
portal fires an action request for that portlet. In addition, the portal generates a
render request for the portlet and all other portlets on the page. You should note
that the portal implementation fires both action and render requests for each
action method on a portlet showing in the portal. The implication of this
interaction means the portlet page being rendered can not make assumptions
about the state of the values to be shown. Unlike a normal web application page,
a portlet page can't assume that the page being rendered in the Render Response
phase is the same page that was built in Restore View. If a portlet wants to
maintain state across repeated render requests, the portlet must use the session
bean to store stateful information.
The main point to remember is a portlet page must always be prepared to render
it's values from scratch or session data. This implies you should never bind
portlet page UI components to page bean properties or request bean properties.
Also, you should never rely on page bean instance variables that might be set
during an action event.
Hope this helps. -
NTLM SSO is not working using IIS
Hi,
We have unable to login to the infoview using SSO getting u201C page canu2019t found u201C error.
1. We can login to the infoview using AD authentication when tomcat as the application server but we are unable to login to the infoview using SSO when IIS as the application server.
2. If we select the option called u201Cintegrated windows Authenticationu201D under internet options then the SSO is not working and if we uncheck the u201Cintegrated windows Authenticationu201D in the internet options then we are able to login to the infoview using SSO.We are able to login to the infoview using SSO on another environments and the working and problematic environments we Configured IIS6, XI2 SP4.
4.We tried to login to the infoview using http://servername instead of entire URL however we are getting error.
5.We restarted IIS but no use.
6.Our admin follow the below options-
Open a registry editor, such as Regedit.exe or Regedt32.exe.
Navigate to:
HKLM\System\CurrentControlSet\Services\HTTP\Parameters
Right-click Parameters, select New | DWORD value, and then name the value MaxFieldLength.
Right-click Parameters, select New | DWORD value, and then name the value MaxRequestBytes.
In the right pane, double-click MaxFieldLength, and then set its value to 32768 (decimal).
In the right pane, double-click MaxRequestBytes, and then set its value to 32768 (decimal).
Close the registry editor and restart the IIS Admin service for the change to take effect.
But we are getting same problem.
7.We tried to login to the infoview using http://localhost but issue still persists.
8.We installed jakarta redirector.Is this root cause of this issue?
9.We selected intigrated windows authentication under default websites and i am sure i gave all the options under internet information manager.
Any one please help on this.
My environment is-
BOXIR2 SP4,
NTLM SSO,
Windows 2003,
IIS6."We tried to login to the infoview using http://servername instead of entire URL however we are getting error"
What's the error using the hostname for SSO with integrated windows authentication enabled on only the infoview virtual directory?
Regards,
Tim -
Java program not working using newer version of scheduler (AutoSys)
A little background: I'm in the middle of trying to upgrade our AutoSys server (scheduler) to the latest version (version R4 to R11) and have to do regression testing to ensure our jobs will work in the new version. There's a small java program that is not working supposedly due to the following error:
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: com/f1j/swing/common/JDKAdapter
at com.f1j.swing.common.Adapter.<clinit>(Adapter.java:86)
at com.f1j.swing.engine.ss.JBook.<init>(JBook.java:3032)
at com.f1j.swing.engine.ss.JBook.<init>(JBook.java:3096)
at com.test.Foo.performScan(Foo.java:122)
So in the old version (R4), it runs fine. In R11, I get the exception above. The CLASSPATH matches and I've verified that by echoing it in the shell script that calls the java program. Here's how it's called in the shell script.
echo $CLASSPATH
${JAVA_HOME}/bin/java com.test.Foo
So the Foo class was written by me, which makes use of this external library called f1j11swing.jar (for spreadsheet creation).
The source of the error is from this line in Foo (line 122):
book = new com.f1j.swing.engine.ss.JBook();
The funny part is JDKAdapter (the missing class) is in the same jar file as JBook, so it definitely finds the library in the classpath. But for some reason, this new AutoSys version is spitting out this error. I've exhausted many approaches to resolving this, but I'm still stuck.
Here's the layout of how things are called (should be same for R4 and R11):
1. AutoSys server logs into client machine XYZ as user arnold
2. arnold (AutoSys client) on XYZ executes shell script to call java program
The only significant difference I see is that the AutoSys server in R4 is HP while the R11 server is Sun. However, it shouldn't matter because the client server they're logging into to execute the script is the same linux server.
Does anyone have any ideas? I've already started dialogue with the vendor and it seems kind of in limbo at the moment. Please let me know if you need more info. Thanks.Hi DrClap,
I just checked jre/lib/ext of my $JAVA_HOME and verified that there doesn't exist any library with a class named "Adapter." We don't put anything in this directory other than what came with the original installation. I've tried isolating the jars before as well, by doing something like (to no avail):
java -cp /users/test/lib/f1j11swing.jar:/users/test/lib/Foo.jar com.test.Foo
If I remove the f1jswing11.jar path in the above command, it will complain about other things. Also, for fun, I tried dropping f1j11swing.jar into the ext folder and removing it from the CLASSPATH and it yielded the original error. Running it directly from the shell and old version of autosys works fine.
I hope I understood your suggestion correctly and please let me know if you have any other ideas. I'm surprised why java would act differently with a different version of an AutoSys client logging into the same machine and environment. Thanks.
xiarce - I haven't heard anything regarding this, but I'll bring it up. Thanks.
Edited by: user4170063 on Apr 13, 2011 2:25 PM -
Loging onto my bank I go to the barclays pege there on the top line is "log in" it used to work when I click on it but has stoped, any button on the first three lines of a web page does not work.
I now use Google crome but would like to stay with Firefox if this coruption can be sorted.
RodPlease reload the webpage while bypassing the cache using '''one''' of the following steps:
*Hold down the ''Shift'' key and click the ''Reload'' button with the left mouse key.
OR
*Press ''Ctrl'' + ''F5'' or ''Ctrl'' + ''Shift'' + ''R'' (Windows and Linux)
*Press ''Command'' + ''Shift'' + ''R'' (Mac)
See if this helps solve the issues you had and please report back to us! -
SQL Statement not works using functions or subqueries-MAXDB
Hello All,
I created an ABAP program to select information about country(table: T005) with the country names (Table: T005T). I tried to create a sql query with a sql subquery to select everything but for some reason that I don't know it doesn't work. Please find the query below.
DATA:
resu TYPE REF TO cl_sql_result_set ,
stmt TYPE REF TO cl_sql_statement ,
qury TYPE string .
qury = `SELECT land1, spras, `
&& `(SELECT landx `
&& `FROM SAPNSP.T005T `
&& `WHERE mandt = '` && sy-mandt && `' `
&& `AND spras = 'EN' `
&& `AND land1 = ? ), `
&& `(SELECT natio `
&& `FROM SAPNSP.T005T `
&& `WHERE mandt = '` && sy-mandt && `' `
&& `AND spras = 'EN' `
&& `AND land1 = ? ) `
&& `FROM SAPNSP.T005 `
&& `WHERE mandt = '` && sy-mandt && `' `
&& `AND land1 = ? `
&& `GROUP BY land1, spras` .
resu = stmt->execute_query( qury ) .
Well, the query above works but the fields LANDX and NATIO are in blank in ALL THE CASES, even with information registred in table T005T.
So, exploring the SDN forum and after read some documents regarding ADBC, I create a function to handle this sql select and get the correctly the missing informations, but, still don't work. Please find the function below:
CREATE FUNCTION select_landx (land1 CHAR(3)) RETURNS CHAR(15)
AS
VAR landx CHAR(15);
DECLARE functionresult CURSOR FOR
SELECT spras, land1, landx
FROM SAPNSP.t005t
WHERE spras = 'EN'
AND land1 = :land1;
IF $count IS NULL THEN <- | $count is always 0, my SELECT
BEGIN it's not work but I don't know why
CLOSE functionresult;
RETURN NULL;
END
ELSE
SET $rc = 0;
WHILE $rc = 0 DO
BEGIN
FETCH functionresult INTO :landx;
END;
CLOSE functionresult;
RETURN landx;
Calling the function in a SQL statement:
DATA:
resu TYPE REF TO cl_sql_result_set ,
stmt TYPE REF TO cl_sql_statement ,
qury TYPE string .
qury = `SELECT land1, spras, select_landx(?) landx `
&& `FROM SAPNSP.T005 `
&& `WHERE mandt = '` && sy-mandt && `' `
&& `AND land1 = ? `
&& `GROUP BY land1, spras` .
resu = stmt->execute_query( qury ) .
Any comments ?
Best regards,
Arthur SilvaHello,
Thank's a lot, it works. It's funny because the given solution works using only abap codes.
It may be happens because the abap interpretor send the sql statement to the db interface that handle the code in the another way.
Thanks again, it was driving me crazy.
Best regards,
Arthur Silva -
Sharing in PE9 does not work, using by email or photo mail
I want to share photos by email attachments and photo mail but they do not work. I currently have Windows Live Mail and use Photoshop elements 9. Any solutions
Sorry. It doesn’t work if you installed MS Live Essentials 2011.
Use Windows Live Gallery and make sure your recipients can connect.
Microsoft Silverlight is a free web-browser plug-in that enables interactive media experiences.
Maybe you are looking for
-
Plus, some of the cover art is mixed up and some of the covers have even been replaced with combinations of multiple albums. And every once in a while, a song will play on its own, without me pressing play, and it skips as if I'm holding the forward
-
No authorization to add transaction to role menu
MODS: IF YOU ARE GOING TO DELETE MY POSTS..AT LEAST EMAIL ME TO LET ME KNOW WHY YOU ARE DELETING THEM SO I CAN RE-WORD IT TO ACCOMMODATE YOUR ISSUE. THIS IS THE THIRD TIME YOU HAVE DELETED ONE OF MY POSTS WITH NO EXPLANATION AND IF THIS FORUM ISNT FO
-
My iPod is locked for 23 million minutes
I havn't used my iPod Touch Gen 2 in awhile due to lack of interest. Recently I went to turn it on to play an App. After turning it on, it says, "iPod is disabled, try again in23,008,406 minutes". I tried to put it in recovery mode and dfu mode, an
-
DSLR workflow showing yellow line and being very slow
I am editing DSLR footage in Adobe Premier Pro CS5.5. The sequence has a yellow line and the workflow is very slow. Is there a way to solve the issue?
-
I was wondering if there are any standard practices regarding the purging of Job History Logs through the Automation Server? The # of logs gets pretty high pretty quickly on our system and I am looking for a way to automatically purge them weekly, or