I have a struts 1.x web application and trying to click on action link on JSP page, the action performs a database call and creating an Excel sheet out of resultset.
The smaller result set has no issues but bigger resultset, exactly after 5 minutes the application displays with "Page Unavailable" and no error logs on server.
Any idea what could be the reason?
Apache POI API using for exception generation.
Related
I am using testcafe with typescript to automate the CRM application .At one point when i click on a button it is redirecting me to a new page where we have multiple API calls which renders data on UI .One API is failing everytime with automation whereas it is passing with manual.I connected with one of the developer and he confirm that data is being returned via the AJAX call. However the TestCafe test-framework proxy called hammerhead.js is throwing an exception with the message :
ERR_EMPTY_RESPONSE. I have tried everything i.e timeout , ajax timeout , hard wait but didn't get anything fruitful.
Network response
Data is not populating underUpdates from portal whereas it is working fine with rest other section as mentioned in picture
I'm running GlassFish 3.1.2.2 in fail-over cluster. Session replication is configured and works perfectly. Project is in JSF and PrimeFaces using extensive AJAX. The problem is when server fails-over to another node on AJAX call I'm getting the exception:
java.lang.IllegalStateException: Component ID j_idt311 has already been found in the view.
at com.sun.faces.util.Util.checkIdUniqueness(Util.java:846)
at .....
Manually assigning IDs to every component on every page is impractical. Is there way to resolve the problem in more practical way?
Thank you.
I have an Xpages framework DB that I use to copy from and paste into other dbs.
I just did this and got a very bizarre error. Even if I create a brand new EMPTY Xpage in the database, I get the "Xpages 404 The requested resource cannot be located error" when previewing the Xpage in the client or the web.
I checked the logs and found this entry
7/2/14 11:22 AM: Exception Thrown
com.ibm.designer.runtime.domino.adapter.util.PageNotFoundException: Could not create the page /T.xsp because the class xsp.T could not be found. Please check your spelling.
at com.ibm.domino.xsp.module.nsf.NSFService.doService(Unknown Source)
What?
I have cleaned the db, changed the name of the Xpages, etc. All to no avail.
What is going on?
Is it an NSF or an NTF? NTFs cannot be previewed on the web - that's standard for Domino HTTP.
Are you certain the two errors are linked? As far as I know, a 404 error is an HTTP error, from the Domino HTTP task. That's triggered either immediately before or immediately after authentication is checked, and before the XPages runtime kicks in. It's not an XPages error. When an XPages error is logged, it generates an HTTP 500 error.
The other cause I've seen for a 404 error on a new XPage is if there were problems building the project. Then the error shows in Domino Designer for the XPage or a Custom Control on that XPage. But that's an XPage error on building the project in Domino Designer, which means the XPage resource is not available in the NSF for HTTP. (Think of it like saving a new LotusScript Script Library with errors, which it will let you do, then trying to call it from an agent.) It won't log an XPages error to the server console or XPages logs - HTTP won't find the XPage because its classes haven't been built, so it returns an HTTP error and doesn't start the XPages Command Manager.
I have an online ClickOnce application that launches from a web page. After the application is closed, I would like the user to return to that page with some results passed from the application. Is this possible?
Right now the only solution I have is for the application to upload the results to my server, and have javascript on the launching webpage to poll the server every 15 seconds as it waits for results.
No. It is not possible to pass information directly back to the client browser from the ClickOnce installed application.
Your intuition is correct that you should have your application upload results to the server (presumably with the help of WCF) for subsequent processing and display via your polling page.
I'll also add, that in terms of your web application linking to data from the ClickOnce application you will need to come up with a common token between the web application and the ClickOnce application. Perhaps via a customised activation URL link that uses a common GUID generated for the client (e.g. http://myserver.com/myapplication.application?id=18c40c3d-183c-4c22-8127-37cac3be6492).
i have a jsf application in which i have three frames,one for the header,one for side navigation and the other is the mainframe.I have built this in the spring framework.
I have a problem that when the HttpSession object gets timed out the apllication gets forwarded to the Login page(which is correct,and is the starting page of the app) but within the mainframe so i have a nested application.btw i am running this app in websphere and i can set the HttpSession timeout variable to a very high value so that this problem will occur less,but this is not a solution.
Any ideas on how i can get around this problem.
iFrames are really a bad thing!
What I suggest is to use the Facelets library, which allow you to easily create templates of pages. In your case, you will be able to create the three differents parts (header, navigation side and main page).
Once created, the result will be a single HTML page (i.e. no frames).
This way, you will not encounter your problem anymore.
You have several articles that explains the main features of Facelets, including the templating.