Page load is not happening using controller class on jspx page on 11g
Hi
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
version="11.1.1.55.36" id="budgetAccountPageDef"
Package="pages.documents" ControllerClass="#{BudgetReport}">
It is throwing illegal access exception , sometimes onload is not called and no exception. sometimes it works too. This begaves strangely
Controller class should not be given like that...According to [url http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/adf_lifecycle.htm#CHDBDCDF]the documentation, you can indeed use EL to specify the ControllerClass.
It is throwing illegal access exception , sometimes onload is not called and no exception. sometimes it works too. This begaves strangelyTake a step back and read your post again - do you think anyone would be able to help you, given the level of information you've provided? If it works sometimes, then apparently you have specified it properly. What is the stack trace for the illegal access exception? What are you doing in your controller class (assuming the exception is thrown from your class).
John
Similar Messages
-
Load balancing not happening on UDQ in weblogic 11g
Hi Team,
I have a 2 clusters with two managed servers each on different machines
Cluster A(On machine 1)
Managed server A (on machine 1)
Managed server B(on machine 2)
I have created 2 JMS servers
JMS Server A on Managed server A
JMS Server Bon Managed server B
and a JMS module on Cluster A
and JMS connection factory targeted on Cluster A and a uniform distributed queue targeted on JMS server A and JMS Server B
But load balancing is not happening only one managed server is loaded at a time.. Using weblogic 11(aka 10.2.3)
Tried disabling server affinity but it did not help ...Can any one please let me know how to fix this?Hi,
When you say load is not balanced and reaching only one managed server.
I assume both the UDD's targets are reachable and are visible in JNDI tree ?
also , what kind of application is it - i,e is it clustered app that would be seen as consumers on each UDQ ?
take a look at the app and check if its clusterred . along with that also take a look at the number of consumers on UDQ instances.
Let me know what you find.
Sri -
Hi Group,
We have to portal server instances installed on two different solaris machines.Infront of this sitting 4 WebSEAL boxes.Now some times when a user runns certain scripts to log on to the portal, we have huge number of sessions getting creted on one of the portal servers and the load is not getting balanced.Can any body let me know why does this happen?Has it got anything to do with the portal server or the way web seals route the requests to the portal server?Hi Group,
We have to portal server instances installed on two different solaris machines.Infront of this sitting 4 WebSEAL boxes.Now some times when a user runns certain scripts to log on to the portal, we have huge number of sessions getting creted on one of the portal servers and the load is not getting balanced.Can any body let me know why does this happen?Has it got anything to do with the portal server or the way web seals route the requests to the portal server? -
How can I load and save text using FileReference class
Let me start by saying I have no intention of using php and I can't wait until flash cs5 comes out with its new read/write capabilities
I want to load and save XML files (stored on my local hard-drive) in AS3.
I am using the FileReference class.
Firstly I have noticed that when using FileReference.save if you replace an existing file instead of writing over the file data is appended to the end of the file. Can I make it so the file is overwritten (as it should be) or make it impossible for the user to save in such a situation.
Secondly I want to load in text from an external file using FileReference.load I know that somehow you use FileReference.browse first to get it to work but I want to know exactly how to do it.
I have looked for a tutorial about loading text in this manner and have not found one.
Any help would be much appreciated especially if you could point me in the direction of a relevant tutorial
Thanksthe filereference class is for downloading and uploading files.
if you want to load xml, use the xml class.
and, if you want to write to an xml file and don't want to use server-side code, wait. -
Load balance not happening in BGP
Dear Friends,
As per I know local BGP process may implement equal-cost load-balancing to the paths that:
Have the same set of path attributes up to the MED (weight, Local Preference, Origin, MED)
Are of the same type (both learned via iBGP or eBGP)
Have the same IGP cost to reach their NEXT_HOP IP address
If the above conditions are met andmaximum-paths [ibgp]is configured under the BGP process, BGP will install multiple equal-cost routes into the local RIB and use them for load-balancing. We call the above condition as load-balancing conditions for BGP.
As all the above criteria are matched still BGP is not doing load balance. Please find below routing table:
R1:
R1#sh ip bgp
BGP table version is 4, local router ID is 40.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i192.168.1.0 20.1.1.2 0 100 0 i
* i 30.1.1.1 0 100 0 i
R1#sh ip route
Gateway of last resort is not set
20.0.0.0/24 is subnetted, 1 subnets
R 20.1.1.0 [120/1] via 10.1.1.2, 00:00:03, FastEthernet0/0
40.0.0.0/24 is subnetted, 1 subnets
C 40.1.1.0 is directly connected, FastEthernet0/1
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
B 192.168.1.0/24 [200/0] via 20.1.1.2, 00:12:01
30.0.0.0/24 is subnetted, 1 subnets
R 30.1.1.0 [120/1] via 40.1.1.2, 00:00:15, FastEthernet0/1
router bgp 100
no synchronization
bgp log-neighbor-changes
neighbor 10.1.1.2 remote-as 100
neighbor 40.1.1.2 remote-as 100
maximum-paths 2
no auto-summary
Please help....!!!!!!! why BGP is not load balancing here????
R1#traceroute 192.168.1.1
Type escape sequence to abort.
Tracing the route to 192.168.1.1
1 10.1.1.2 88 msec 60 msec 28 msec
2 20.1.1.2 104 msec 56 msec 120 msec
Regards,
SanjibDear Jon,
Thank you so much.
When I changed the configuration BGP is now loadbalancing. But in configuartion Max-path showing as 1 instead of 2.
R1#sh ip pro | sec bgp
Routing Protocol is "bgp 100"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
IGP synchronization is disabled
Automatic route summarization is disabled
Neighbor(s):
Address FiltIn FiltOut DistIn DistOut Weight RouteMap
12.1.1.2
13.1.1.3
Maximum path: 1
Routing Information Sources:
Gateway Distance Last Update
13.1.1.3 200 00:01:12
12.1.1.2 200 00:02:15
Distance: external 20 internal 200 local 200
Regards,
Sanjib -
Norton 360 isnt doing u all any good - this problem is serious -
I have had to use an older computer just to get thru to FFox
Norton needs to correct their - do not use your update -
I have spent 5hours+ norton says they will fix it by down loading their new program for 69$ this is BS ... Firefox has been a Very good browser and needs to address Nortons do not use directive!!!!!!I just received an update of Norton 360. After installing it, I tried running Firefox, still with no luck. However, I re-installed Firefox, and it now seems to be operating without problems.
-
Parallelization is not happening using asychnronous RFC in a function module
A BW data source ZTEST
has been created based on a function module ZTEST_FM to pull the
data into BW system from R/3.
(Have checked the parellel jobs running in SM66 transaction).
Inside the function module, an RFC function
module ZTEST_RFC1 has been called asynchronously to implement the parallelization
to improve the data extraction time into BW system.
Note: In this scenario asynchronous
RFC is used to implement the parallel processing.
The logic in the function module is as follows.
Function module ZTEST_FM Logic:
Fetch data from HRP1000 table into an internal table IT_HRP1000 for
OTYPE = ‘TN’.
Loop at IT_HRP1000 into work area (WA).
Call the RFC asynchronously by passing OBJID,OTYPE and ENDDA,
Calculate SOBID which is the required output field from the RFC
function module.
Populate the results into final internal table E_T_DATA.
The output structure contains the following fields.
OBJID
BEGDA
ENDDA
SOBID
Could you please give us some suggestions, to implement the parellel processing using asychronous RFC in this scenario.
Would appreciate your help.Your RFC call looks correct. For collecting the result you will need to code the callback routine Write_E_T_data. Inside the callback you can use the statement
RECEIVE RESULTS FROM FUNCTION ZFHLS_EX_TNM_ACADEMY_RFC1 IMPORTING <parameter list>
to retrieve the calculated result. For the declaration of the callback routine I recommend
FORM Write_E_T_data USING iv_name TYPE c.
The parameter iv_name containing the name of the RFC task turned out to be mandatory in my tests. -
Middleware - Delta load is not working from CRM to R/3
Hi Experts,
Our client is using SAP-R/3 4.7 and CRM 5.0
Connectivity was established via Middleware and initial load of Customizing objects and Master data( Customer and Material) was finished successfully.
Now if i create any Customer or Product in R/3 they were replicating to CRM(Delta load), but this delta load is not working in CRM to R/3 direction.
In CRM Administration console( Transaction code - SMOEAC) R/3 site was maintained and subscribed for Publications - All Business Partners, All Business Transactions and All Business partner Relationships.
Can anybody help me out that why Delta load is not happening from CRM to R/3 Direction.
Thanks in advance
Nadh.Hi Nadh,
for BPs check PIDE settings once agiain, i hope u ve already downloaded all mandatory obects for BP, because u already told that replication from r/3 to crm is ok, so check once again PIDE settings (CRM to R/3),
for Products u ve to manual upload only
for Products
This may be necessary because the data is required in the OLTP System for a number of logistical processes such as procurement, inventory management, billing, financial accounting, controlling.
cheers
Ranga -
Black screen appears before a page loads, but this does not happen in IE
When a page of a website opens, it displays a black screen and then loads that page in Firefox 3.6.11. But the same does not happen in IE. I don't want that black screen to appear on my page.So please provide me with a solution as soon as possible.
And my page layout also gets distorted when viewed my firefox but not in IE. Please do the needful.Thanks for your reply. I tried the same way but there is no option "Use hardware acceleration when available". Is there any other way out from my code or other Firefox settings as the page loads instantly on IE but on Firefox initially a black screen comes and then the whole page gets loaded. This page is built using java applet. Thanks in advance.
-
Dante font used in manuscript … when I try to save as a pdf document in Microsoft Word whole pages change their look, with wide gaps forming between certain paragraphs or sections. This does not happen with other fonts.
OK, we've got it!
What is happening is that when you use Microsoft's save as PDF in Word, the font isn't embedded even though the font is tagged to allow embedding. Furthermore, Microsoft doesn't properly put the font name into the PDF file such that Acrobat or Reader can readily find the font installed on your system such that the text can be properly displayed and/or printed. Acrobat and Reader attempt to display and/or print the text using a “substitution font” and of course, as they say, YMMV (“your mileage may vary”)!
I personally submitted the report of this problem (both the embedding and the font name problem) to Microsoft. They acknowledge the bug, tried a fix and provided me a build with it, but it wasn't right. Maybe they will ultimately fix it, maybe they won't. We don't know yet. We do know that if it is fixed, it will be fixed only for Office 2013 (problem occurs with all Office applications since they use the same PDF generation code) and thus such a fix won't help you.
Adobe Acrobat Standard and Acrobat Pro both provide an Adobe PDFMaker plug-in to Office applications (including full support for Office 2010) that adds an Acrobat Toolbar as well as a Save as Adobe PDF menu item. The resultant PDF file fully supports embedding of OpenType CFF, TrueType, and Type 1 fonts and in many other ways produces much superior PDF with a full range of PDF generation options not available with the Microsoft PDF. (Note that beginning with Office 2013, Microsoft does not support Type 1 fonts in Office documents at all, even for existing documents!) The Acrobat Office functions are widely used and respected in the end user community and whatever “issues” there are (all software has “issues” of some type - it is a matter of how many and how severe), you should be in much better shape for PDF production that with what you currently are using.
Good luck and let us know if this resolves your problems. (Note that you can download and install a free fully-functional 30 trial of Acrobat Pro to assure that it meets your needs! You can then buy a license and activate what you already have installed.)
- Dov -
Red Hat Enterprise Linux Test Page - why am I directed to this page when I go to a specific website. It does not happen when I use other browsers so there is not a problem with the website.
Just started happening yesterday.Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
*Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
"Remove Cookies" from sites causing problems:
*Tools > Options > Privacy > Cookies: "Show Cookies"
Do you see any prefs related to that <b>knoxnews<i></i>.com</b> site on the <b>about:config</b> page if you enter that URL in the Filter?
*http://kb.mozillazine.org/about:config
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode -
Some times the fire fox does not open google and facebook pages but it does not happen for other sites. Iam currently using Windows xp and iam using Mozilla Fire fox 3.6.3 .Please help
== URL of affected sites ==
http://www.facebook.com,www.google.comYou can try a direct connection and select No Proxy in the connection settings.
You can find the connection settings in "Tools > Options > Advanced : Network : Connection"
Also do a malware check with a few malware scan programs.<br />
You need to use all programs because each detects different malware.<br />
Make sure that you update each program to get the latest version of the database before doing a scan.
* http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
* http://www.superantispyware.com/ - SuperAntispyware
* http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
* http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
* http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]] -
error 126 can not load library "DLBAPRP.DLL" using defaults. this message appears when we try to print from our web bookmarks or any acrobat or pdf files
That error seems to be new with Firefox 4 - never heard of it with earlier versions of Firefox, but it goes back many years in various Windows programs.
See this [http://www.google.com/search?client=ubuntu&channel=fs&q=DLBAPRP.Dll&ie=utf-8&oe=utf-8 search]. -
When I try to refresh the page or navigate to a new page/request pop up, nothing happens until I start to move my mouse and then the page downloads???? This is not happening in Internet Explorer and only started since downloading FF4
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]] -
JSP does not call the right method in controller class
Hi all,
I have a jsp file which loads a page at this address: http://localhost:8080/dir/list/
I've added two checkboxes to the page; user can check both checkboxes, only one or none. Following is code I have in jsp file:
<form class="checkboxForm">
<c:choose>
<c:when test='${newItems==true}'>
<input id="newItems" type="checkbox" value="#" name="newItems" class="checkbox2" checked="checked" /><strong> New Businesses </strong>
</c:when>
<c:otherwise>
<input id="newItems" type="checkbox" value="#" name="newItems" class="checkbox2"/><strong> New Businesses </strong>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test='${rejectedItems==true}'>
<input id="rejectedItems" type="checkbox" value="#" name="rejectedItems" class="checkbox3" checked="checked"/><strong> Rejected Businesses </strong>
</c:when>
<c:otherwise>
<input id="rejectedItems" type="checkbox" value="#" name="rejectedItems" class="checkbox3"/><strong> Rejected Businesses </strong>
</c:otherwise>
</c:choose>
<a href="#" onclick="apply();">
<button name="apply" class="btn-primary" value="Apply" tabindex="4">Apply</button>
</a>
</form>
<script type="text/javascript">
function apply(){
var newItems = document.getElementById("newItems").checked;
var rejectedItems = document.getElementById("rejectedItems").checked;
alert("Inside apply() method.");
alert("newItems= " + newItems + ", rejectedItems: " + rejectedItems);
window.location = "<c:url value='/list/'/>" + newItems + "/" + rejectedItems;
alert("window.location= " + window.location);
alert("Add extra delay!");
return false;
</script>This is my Controller class:
// Method1: this method gets called when the user loads the page for the first time.
@RequestMapping(value="/list", method = RequestMethod.GET)
public String list(Model model, HttpServletRequest request) {
System.out.println("Controller: method1: Passing through...");
model.addAttribute("newItems", Boolean.TRUE);
model.addAttribute("rejectedItems", Boolean.TRUE);
// Does other things.
// Method3: this method gets called when user checks/unchecks one of the checkboxes and clicks on Apply button.
@RequestMapping(value="/list/{newItems}/{rejectedItems}", method = RequestMethod.GET)
public String list(@PathVariable Boolean newItems, @PathVariable Boolean rejectedItems, Model model, HttpServletRequest request) {
System.out.println("Controller: method3: Passing through...");
model.addAttribute("newItems", newItems);
model.addAttribute("rejectedItems", rejectedItems);
// Does other things.
}The way my jsp code is written now, it calls the correct method and displays the correct url. When page loads for the first time, it calls method1 and the url is:
http://localhost:8080/dir/list
When the user checks/unchecks one or both checkboxes and clicks on apply button, method3 is called and this url is displayed:
If both checkboxes are checked which both booleans are set to true:
http://localhost:8080/dir/list/true/true
Everything is fine... however, if I comment these two lines at the end of JavaScript apply() function,
alert("window.location= " + window.location);
alert("Add extra delay!");Then method3 will never gets called; only method1 gets called and I see this url:
http://localhost:8080/url/list//?newItems=%23&rejectedItems=%23&apply=Apply
I do not know why it gets confused bet. method1 and method3 and cannot pick the right method?
I tried to use the POST method instead, but the page goes directly to our internal error page and it never reaches the method I wrote in my controller for POST:
I don't really know what I'm doing wrong? Any help is greatly appraciated.
Edited by: ronitt on Dec 13, 2011 2:35 PMI changed the <form> in the jsp to div and its working fine. I do not need to have comments in JavaScript funcion() anymore. I don't know why that made the difference though? According to:
http://www.w3schools.com/tags/tag_form.asp
The <form> tag is used to create an HTML form for user input.
The <form> element can contain one or more of the following form elements:
<input>
<textarea>
<button>
<select>
<option>
<optgroup>
<fieldset>
<label>
An HTML form is used to pass data to a server.
I do have <button> and also send the data - the value of checkboxes - to server. So I think it should also work with <form>.
Please let me know if you have any idea. Thanks.
Maybe you are looking for
-
Mail: smart mailbox contents disappears/search doesn't work & fix is only temporary
Since installing Mavericks (including the Mail update), the contents of my Smart Mailboxes disappears (the Mailboxes themselves are listed, there's just no content) and my ability to get results from Search within Mail disappears. I have done a lot
-
Error when scheduling the infopackage for loading Master data attributes
Hi, Iam getting the following error message when scheduling this Master data Attributes ZIP_0PLANT_ATTR_FULL..( Flexible update of Master data info objects).. In Data load monitor error i got this following error message. Error message when processin
-
Re: Can't Get Printer To Work on Wireless AEBS Network
I have two Macs: a iMac G3 and an iMac G5. The G3 is connected by ethernet cable to an AEBS which is connected to the internet via cable. The G5 is in another room and is connected wirelessly to the G3. I have an older Epson Stylus Color 740 that I'v
-
Is there a way to password protect iCloud documents?
Is There a way to password protect iCloud documents on my Mac and on iPad?
-
SC3.2/oracle service; adding a 2nd db instance with non default user
Hi, I have a 3.2 Cluster configuration with oracle 9i working, now I want to add a 2nd instance to the cluster but I need to create a new resource group, because I'm using a different OS user and pass for this database I would like to know if I need