Client with JavaScript listener, surrounded by a button have a delay
Hello.
I have a fragment page (jsff) with a resulting keypad buttons surrounded by a client listener that calls a java script function; whenever I click on a number it refresh a text with the concatenated value input. I've implemented with JavaScript. Why with JavaScript? Because of the delay using partial triggers showing the value in the input text.
When I test it on the server, it works fine. I click on each button and have a little late, but it works for the needs to develop.
Now, when I insert this fragment inside an another jsff which include several elements, the result is not the same. I click every button and the value is displayed in the text of entry very fast, but the I clicked on the button takes between one and two seconds to recharge for summer clicked again. I don't understand what is happening.
Could someone help me?
Thank you very much.
Probably you always spread the event on the server. You can easily check this with a browser like Firefox/Firebug plugin, sent to see if there is no request for the server.
Normally, you will need to explicitly cancel the event to propagate to the server. For example, if you have a clientListener on a button, you do something like below:
function showPopupFromAction(actionEvent)
{
actionEvent.cancel();
//your logic here
}
Tags: Java
Similar Questions
-
Problem with JavaScript in my PDF form buttons
I try to have my user by clicking on a button in my form on my site and the data in the form for me by e-mail.
I use JavaScript with my form button code:
this.mailForm (false, "[email protected]", ' ', ' ', 'subject', 'Message body' ' ");
Protected mode is disabled.
When I use the above statement (if the 1st is set to true or false), nothing happens - no e-mail is sent and no mail dialog box appears. If I change this.mailForm (...) to this.mailDoc (...), I get a mail dialog box but, as expected, he sends the blank form without the data filled due to low user privileges.
How can I send the form data with this.mailForm (...)? (Note that I prefer to use this.mailForm (...) rather than mailto: (...)) (this.mailForm (...) because supposedly allows me by e-mail the form without user interaction.)
-Don
If you use JavaScript, you use the doc.submitForm method and specify the URL of the PHP script. PHP just needs process the MESSAGE and to join the incoming data to an email that it initializes.
-
Still disappointed with Apple TV Surround Sound!
Well, after several months of use of the Apple TV4, I must say that I am still very disappointed with the sound surround.
I have an audio receiver system and decent surround speakers, but since the purchase of the ATV4 the sound is not as good as it used to be, and it is poor compared to the other entries like Sky HD for example. I set him up on a possible adjustment of best Audio 7.1.
Its mainly the question of when I watch a movie. If listening to music it sounds good, but put a movie and I always have to turn up the volume. For example I was listening music to-30db on the amp but watched The good Dinosaur with my family yesterday and has to turn his up - 15db and before someone mentions - 15 is stronger than-30 on my system with 0db reference sound.
I don't understand why there is a big difference between music and movies. Netflix even sounds better. Sky HD sounds better. I had enough discussions and reviews on here for sure that I put it in place correctly but still his pants.
Come on get Apple sort it is so frustrating!
Hello. The sound on the movies is weak to allow plenty of room for loud sounds. The coding of the sound film was made when the film has been digitized. ATV is just passing the bytes on your amp. Sky is a broadcaster, so they compress the audio, distort in the process. Hard to say what Netflix is up to.
-
invoking the client javascript listener
Hello
I use ADF Faces 11g.
I wonder if it is possible to invoke a javascript method Interface control client listener. For example I have an order in connection with a client listener, defined as follows:
< af:commandLink id = "cl1" text = "click here" partialSubmit = "true" >
< af:clientListener method = "onClickLink" type = "action" / >
< / af:commandLink >
I find the control in javascript, with this method: AdfPage.PAGE.findComponent ("cl1");
Now, I want to call the method onClickLink (event). How can I do?
Thank you.Hello
Take advantage of the event to the queue in JS... This can be done in JAVA too...
var comp = AdfPage.PAGE.findComponent (btnId);
AdfActionEvent.queue (comp, comp.getPartialSubmit ())Kind regards
Suganth.GPublished by: celine October 5, 2010 20:13
-
ADF - image source Set with JavaScript
Hello.
I have a layout grid panel with multiple lines and cells.
Each cell contains a text and a picture, all surrounded by a command binding.
My output text have the value #{MyBean.valueMyBean}
My image have the source /directory1/directory2 / # {MyBean.valueMyBean} .jpg
What I want is that whenever I click on that image, image and its corresponding output text takes the same value (simulating the selected item)
I want to do with JavaScript, because when I do it with partial triggers there is a delay, and it does not work for the needs.
Could you help me put who implemented?
I don't have an idea to change the source of an image with JavaScript.
You can join af:clientListener for the image and call the javascript function that will be:
-find the component target, something like: var targetImg = AdfPage.PAGE.findComponent (clientId);
-change the property 'source', something like: targetImg.setSource ("new source");
Here you can find more information about adf api client-side: http://docs.oracle.com/cd/E24382_01/web.1112/e16181/af_arch.htm#ADFUI10042
Dario
-
How to change rootIndexPath with javascript
I wish I could change the value of rootIndexPath with javascript. Is this possible?
I can see the value of rootIndexPath with
{Label
text: "" root path Index: "+ listview.rootIndexPath ;}"
but I can't change the value. Here's the code I'm trying to fix
example:
Button {}
text: 'run '.
onClicked: {}
listview.rootIndexPath = 1;
} //end onClicked} //end button
{To ListView
rootIndexPath: [2]
ID: listview
dataModel: {XmlDataModel}
Source: "simplelist.xml".
} //end dataModel} //end listview
Have you tried with:
listview.rootIndexPath=[1];
Alternatively, tou can try with:
var tmp = rootIndexPath; tmp[0] = 1; rootIndexPath = tmp;
or maybe with:
listview.setRootIndexPath( [1] );
Let me know
-
Great ButtonField with label that surrounds it.
Hello
I want to create a great label ButtonField who must dress to the next line.
(1.) I overrode getPreferredWidth/height to adjust the dimensions of the button.
2.) is it possible to get the text to wrap around to the next line.
Is there another way to model a button with text that surrounds to the next line?
I would really appreciate guidance in this regard.
Thank you
-MO.
Well, I had little time to debug the code. Here's the working version (I'll even integrate it into our project - after a few changes):
import net.rim.device.api.ui.Color; import net.rim.device.api.ui.Graphics; import net.rim.device.api.ui.Manager; import net.rim.device.api.ui.XYRect; import net.rim.device.api.ui.component.NullField; import net.rim.device.api.ui.component.TextField; public class MultiLineButtonField extends Manager { private final static int MAX_LABEL_PADDING = 8; // pixels private final static int MIN_LABEL_PADDING = 2; // pixels again private final static int NON_FOCUS_COLOR = Color.DARKBLUE; private final static int FOCUS_COLOR = Color.BLUE; private final static int DISABLED_COLOR = Color.GRAY; private final static int FONT_COLOR = Color.WHITE; private TextField _label; private NullField _focusAnchor; private int _width; private int _padding; public MultiLineButtonField(String labelText, int width, long style) { super(style & (FIELD_HALIGN_MASK | FIELD_VALIGN_MASK | USE_ALL_WIDTH | USE_ALL_HEIGHT)); _label = new TextField(style & SPELLCHECKABLE_MASK | READONLY | NON_FOCUSABLE); _label.setText(labelText); add(_label); _focusAnchor = new NullField(style & FOCUSABLE_MASK) { protected void onFocus(int direction) { getManager().invalidate(); super.onFocus(direction); } protected void onUnfocus() { getManager().invalidate(); super.onUnfocus(); } }; add(_focusAnchor); _width = width; if (_width < 2 * MIN_LABEL_PADDING) { throw new IllegalArgumentException("Not enough width to lay out MultiLineButtonField"); } } protected int nextFocus(int direction, int axis) { invalidate(); return -1; } protected void sublayout(int width, int height) { XYRect childRect; if ((width < 2 * MIN_LABEL_PADDING) || (height < 2 * MIN_LABEL_PADDING)) { throw new IllegalArgumentException("Not enough room to lay out MultiLineButtonField"); } layoutChild(_label, Math.min(_width, width) - 2 * MIN_LABEL_PADDING, height - 2 * MIN_LABEL_PADDING); childRect = _label.getExtent(); int myWidth = width; int myHeight = height; if (!isStyle(USE_ALL_WIDTH)) { myWidth = Math.min(width, childRect.width + 2 * MAX_LABEL_PADDING); } if (!isStyle(USE_ALL_HEIGHT)) { myHeight = Math.min(height, childRect.height + 2 * MAX_LABEL_PADDING); } _padding = Math.min((myWidth - childRect.width), (myHeight - childRect.height)) / 2; setPositionChild(_label, _padding, _padding); layoutChild(_focusAnchor, 0, 0); setPositionChild(_focusAnchor, 0, 0); setExtent(myWidth, myHeight); } protected void paintBackground(Graphics g) { int prevColor = g.getColor(); int bgColor; if (_focusAnchor.isFocusable()) { if (_focusAnchor.isFocus()) { bgColor = FOCUS_COLOR; } else { bgColor = NON_FOCUS_COLOR; } } else { bgColor = DISABLED_COLOR; } g.setColor(bgColor); g.fillRoundRect(0, 0, getWidth(), getHeight(), _padding, _padding); g.setColor(prevColor); } protected void paint(Graphics g) { int prevColor = g.getColor(); g.setColor(FONT_COLOR); super.paint(g); g.setColor(prevColor); } }
-
I have a form in which the user enters several lines of data as well as additional information on these data. I would like finally to export data, so I can manipulate the Excel. This is possible because javascript (or otherwise)? Here is an example of what I mean.
The form of a table in which the user enters each of the names of his friend, their favorite color and their age. I want the name of the specific friend linked to their favorite color and age so when I export to excel I can see how many friends has the user whose favorite color is red.
If the form data would be as follows:
Friend1name
Friend2name
Friend3name
Friend1color
Friend2color
Friend3color
Friend1age
Friend2age
Friend3age
When I export the data as entered above, the results of each field in another column.
Anyone has any ideas for that?
It is possible with JavaScript. You can write the data to the JavaScript console and then copy & paste into Excel, or write to a file as an attachment (aka data object) and export it. Here's a sample script that writes the field data in the JavaScript console:
Table of domain names
Invoke the var = ['Friend1name', 'Friend2name', 'Friend3name', 'Friend1color', 'Friend2color', 'Friend3color', 'Friend1age', 'Friend2age', 'Friend3age'];
Browse the fields and write the field values in the console
for (var i = 0; i)< afields.length;="" i="" +="1)">
Console.println (getField(aFields[i]).valueAsString);
}
Display console
Console.Show ();
You can place this code in the mouse event to the top of a button and click the button to run it. This last line of code displays the console and you will be able to copy & paste the data.
-
Customers able to avoid paying shipping with Javascript disabled
A customer has reported customers in full case without paying shipping costs. The site uses USPS to calculate shipping costs.
The following code is used in the basket of a user to calculate shipping costs {tag_shippingoptions, false, ShipToSingleCountry, US, false, false}
I spent a test with Javascript disabled command and has been able to bypass the selection of one of the values of shipment required as a result of no value showing actually. Is there a job recommended around this option to prevent users from manipulating the system to avoid shipping charges?
Thank you!
You can hide the payment button if javascript is disabled, and replace it with a message that javascript must be activated at the cash register. Not the best solution, but it works.
-
How can I redirect a URL with JavaScript submit in Adobe LiveCycle
How can I redirect a specific URL with JavaScript on submit in Adobe LiveCycle?
I already have the code in place where the submit event is managed and just need specific code to do the redirect.
Standard type asp.net redirects as
Windows.Location.Replace (http://myURL.com);
do not work.
Any help would be appreciated.
To be able to redirect a Web site with a "submit" button, you must have a custom submit button and insert the following line:
app.launchURL ("www.url.com");
-
Open and close the Popup with Javascript
Using Apex 3.2
I probably have done this lots of times in my old job, but do not have access to the code and now I can't work properly.
I opened a window pop up with javascript
Now, I need to close and refresh the calling page, but only if it ratifies the validation on the popup.
I have an item hidden on my pop up called P7_FLAG.
I have a process page after validation that affects P7_FLAG (only the value 1, if passes validation).
I also have a "SUBMIT" button.
So once I click my button "SUBMIT" page should look at validations, so ok, P7_FLAG the value 1, then close the popup and refresh the calling page.
My current look of javascript like this
My button<script type="text/javascript"> function saveChanges(){ doSubmit('SUBMIT'); var test = $x('P7_FLAG').value; if(test == '1') { window.close(); window.opener.doSubmit('REFRESH'); } } </script>
The problem is that I need to click twice on the button SUBMIT.javascript:saveChanges();
First, it sets P7_FLAG
Second time, it closes page and refreshes.
I probably made a fundamental mistake, but today I can't.
See you soon
Gus
Published by: Gus C 10 may 2012 12:48Sorry about that I was blind
Add this function to your page
Call this function on the loading of the page
onload="onloadclose();"
-
Reset button does not not on javascript added to the reset button?
I created a form button using the javascript below, to format the button from 0-1-2-3-0 with each click...
This form also has a reset button, but if I sitting on a 3 button and click on the reset button it leaves a 3 does not reset.
Is there a way that I can put the button Reset to 0 field, or even just an empty space or '-' to default?
(with the value by default as white would be the best option for me - then I wouldn't even need the 0 option)
mouse to the top of action script to increase the number of caption button;
var Nlimit = 4; maximum limit of more than 1 for number of legend;
var nCaption = Number (event.target.buttonGetCaption ()); get the number of caption button;
nCaption ++; Legend of the increment;
nCaption = nCaption % Nlimit; modulo Nlimit or 0 - Nlimit - 1;
event.target.buttonSetCaption (nCaption); set number of legend;
end action mouse;
Using a script like this:
this.resetForm(); this.getField("Text1").required = false; this.getField("Text2").required = false;
etc.
-
Communication with the listener OEM problem
Hi all
for some reason, my OEM is corrupted and when activated, it messes with the listener. I have found the problem lies in OEM, rather than in the listener since I can establish connection between SQLdeveloper and the server through the listener without any problem.
I have the named instance INARA, host named FIREFLY. SNOWDROP.COM and the listener named ORACLE_LISTENER.
I closed the SQLdeveloper application and its listener and OEM first to identify the problem. After that I started OEM, emoms.log dumped Log Management Service:
also the trace file emagent.trc Management Agent dumped:2011-06-15 11:55:12,203 [HTTPThreadGroup-2] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying 2011-06-15 11:55:12,204 [HTTPThreadGroup-2] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection 2011-06-15 11:55:12,205 [EMUI_11_55_12_/console/aboutApplication] ERROR svlt.PageHandler handleRequest.639 - java.lang.IllegalStateException: Response has already been committed java.lang.IllegalStateException: Response has already been committed at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1892) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:249) 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:284) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:1113) at oracle.sysman.emSDK.svlt.PageHandler.myRender(PageHandler.java:1173) at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:597) at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:787) at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:343) at oracle.sysman.eml.app.Console.doGet(Console.java:157) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:107) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:146) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:327) 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:234) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)
Looked like OEM had some errors and warnings after it opened, but I don't know what they meant.SQL = " OCISessionGet"... LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=firefly.snowdrop.com)(PORT=1521))(CONNECT_DATA=(SID=inara))) 2011-06-15 11:57:05,914 Thread-4147767632 ERROR vpxoci: ORA-12541: TNS:no listener 2011-06-15 11:57:05,914 Thread-4147767632 WARN vpxoci: Login 0x67fd70 failed, error=ORA-12541: TNS:no listener 2011-06-15 11:57:05,914 Thread-4147767632 WARN TargetManager: Exception in computing dynamic properties of {inara.snowdrop.com, oracle_database },GetDbBlockSize::ORA-12541: TNS:no listener 2011-06-15 11:57:05,916 Thread-4138318160 ERROR TargetManager: nmeetm.c : Target inara.snowdrop.com has a failed critical dynamic property 2011-06-15 11:57:05,918 Thread-4138318160 WARN upload: Upload manager has no Failure script: disabled 2011-06-15 11:57:05,918 Thread-4138318160 WARN upload: Amount of upload data will be recalculated due to reload.enabling collections and regenerating metadata. 2011-06-15 11:57:05,918 Thread-4138318160 WARN TargetManager: Regenerating all Metadata 2011-06-15 11:57:05,983 Thread-4138318160 WARN upload: Truncating value of "SHORT_NAME" from "Average Synchronous Single-Block Read Latency (ms)" to "Average Synchronous Single-Block Read La" 2011-06-15 11:57:05,983 Thread-4138318160 WARN upload: Truncating value of "SHORT_NAME" from "Average Synchronous Single-Block Read Latency (ms)" to "Average Synchronous Single-Block Read La" 2011-06-15 11:57:06,080 Thread-4138318160 WARN upload: Truncating value of "COLUMN_LABEL" from "Total messages processed per queue per subscriber per minute in the last interval" to "Total messages processed per queue per subscriber per minute in " 2011-06-15 11:57:06,080 Thread-4138318160 WARN upload: Truncating value of "COLUMN_LABEL" from "Total messages received per queue per subscriber per minute in the last interval" to "Total messages received per queue per subscriber per minute in t" 2011-06-15 11:57:06,080 Thread-4138318160 WARN upload: Truncating value of "COLUMN_LABEL" from "Messages processed per queue (%) per subscriber per minute in the last interval" to "Messages processed per queue (%) per subscriber per minute in th" 2011-06-15 11:57:06,080 Thread-4138318160 WARN upload: Truncating value of "COLUMN_LABEL" from "Age of the first message in persistent queue per subscriber (seconds)" to "Age of the first message in persistent queue per subscriber (sec" 2011-06-15 11:57:06,081 Thread-4138318160 WARN upload: Truncating value of "COLUMN_LABEL" from "Age of the first message in the buffered queue per queue (seconds)" to "Age of the first message in the buffered queue per queue (second" 2011-06-15 11:57:06,096 Thread-4138318160 WARN collector: enable collector 2011-06-15 11:57:06,100 Thread-4138318160 WARN collector: Regenerating all DefaultColls 2011-06-15 11:57:07,145 Thread-4147767632 ERROR upload: Exceeded max. amount of upload data: 314 files, 346.533864 MB Data. 89.74% of disk used. Disabling collections. 2011-06-15 11:57:07,145 Thread-4147767632 WARN collector: Disable collector 2011-06-15 11:57:08,237 Thread-4147767632 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 2011-06-15 11:57:08,337 Thread-4147767632 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 2011-06-15 11:57:38,442 Thread-4147767632 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 2011-06-15 11:57:38,545 Thread-4147767632 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 2011-06-15 11:58:08,732 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 2011-06-15 11:58:08,835 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 2011-06-15 11:58:38,952 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 2011-06-15 11:58:39,055 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 2011-06-15 11:59:09,157 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 2011-06-15 11:59:09,260 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 2011-06-15 11:59:39,364 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 2011-06-15 11:59:39,465 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 2011-06-15 11:59:58,595 Thread-4154857808 ERROR command: nmejcn: received no status header from repository at https://firefly.snowdrop.com:5500/em/upload/
After OEM is started successfully, at least according to the commandment of emtcl, I started ORACLE_LISTENER listener. At this point, I did the loopback test using NET manager on the server, and it took forever so I aborted it. The database at this point was still open and running without problem however. Taken TNSPING 157080 msc to return an OK value, meanwhile lsnrctl status ORACLE_STATUS was at a standstill.
Then look at emagent.trc after that the listener was launched:
also emoms.trc2011-06-15 12:02:10,306 Thread-4138318160 WARN ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag 2011-06-15 12:02:10,306 Thread-4138318160 WARN ssl.io: fd=6: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1 2011-06-15 12:02:10,306 Thread-4138318160 WARN http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out 2011-06-15 12:02:10,306 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text = 2011-06-15 12:02:40,433 Thread-4138318160 WARN ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag 2011-06-15 12:02:40,433 Thread-4138318160 WARN ssl.io: fd=6: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1 2011-06-15 12:02:40,433 Thread-4138318160 WARN http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out 2011-06-15 12:02:40,433 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text = 2011-06-15 12:03:40,570 Thread-4138318160 WARN ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag 2011-06-15 12:03:40,570 Thread-4138318160 WARN ssl.io: fd=6: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1 2011-06-15 12:03:40,570 Thread-4138318160 WARN http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out 2011-06-15 12:03:40,570 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text = 2011-06-15 12:04:10,704 Thread-4138318160 WARN ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag 2011-06-15 12:04:10,704 Thread-4138318160 WARN ssl.io: fd=6: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1 2011-06-15 12:04:10,704 Thread-4138318160 WARN http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out 2011-06-15 12:04:10,704 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
Finally, the ORACLE_LISTENER journal says:2011-06-15 12:05:26,159 [HTTPThreadGroup-6] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying 2011-06-15 12:05:29,774 [HTTPThreadGroup-5] WARN jdbc.ConnectionCache _getConnection.352 - Io exception: Socket read timed out java.sql.SQLException: Io exception: Socket read timed out at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:77) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:230) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:501) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:436) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:621) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:492) at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:386) at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:276) at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:212) at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:140) at oracle.jdbc.pool.OracleImplicitConnectionCache.makeCacheConnection(OracleImplicitConnectionCache.java:1752) at oracle.jdbc.pool.OracleImplicitConnectionCache.makeOneConnection(OracleImplicitConnectionCache.java:644) at oracle.jdbc.pool.OracleImplicitConnectionCache.getCacheConnection(OracleImplicitConnectionCache.java:592) at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:460) at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:544) at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:480) at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:336) at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:322) at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:575) at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:207) at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1138) at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1172) at oracle.sysman.emdrep.receiver.OMSHandshake.getParameterFromDB(OMSHandshake.java:570) at oracle.sysman.emdrep.receiver.OMSHandshake.getMaxAgentCompatVer(OMSHandshake.java:552) at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:1033) at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:836) at oracle.sysman.emdrep.receiver.FxferRecv.doGet(FxferRecv.java:598) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:327) 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.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:234) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) 2011-06-15 12:05:29,775 [HTTPThreadGroup-5] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
At this point, part of the NET services caused by OEM, corruption has been altered, but I didn't know what caused it. NET with his listener services can operate normally after I stopped OEM and forced killed the listener and restarted normally.15-JUN-2011 12:16:38 * <unknown connect data> * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=18844)) * establish * <unknown sid> * 12525 TNS-12525: TNS:listener has not received client's request in time allowed TNS-12535: TNS:operation timed out TNS-12606: TNS: Application timeout occurred 15-JUN-2011 12:16:38 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=18842)) * establish * inara.snowdrop.com * 0 15-JUN-2011 12:16:38 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=18838)) * establish * inara.snowdrop.com * 0 15-JUN-2011 12:16:38 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=18833)) * establish * inara.snowdrop.com * 0 15-JUN-2011 12:16:38 * service_update * inara * 0 15-JUN-2011 12:16:38 * service_update * inara * 0 15-JUN-2011 12:16:38 * service_update * inara * 0
No idea how to solve the problem of this point?
Kind regards
ValValerie,
The problems are manifold.
1 in listener.ora are two defined listeners, as well running on port 1521. This is not going to work. As the default listener name is 'Listener', probably the named listener "listener" is launched and the listener called 'oracle_listener' has never worked. Check this box by issuing
status lsnrctl listener
lsnrctl status oracle_listener.
Delete oracle_listener.
2 the tnsnames.ora is a mess.
Apart from the first definition, INARA, everything else can be removed, as they are incorrect, in any case. Localhost means 127.0.0.1, you do not have a listening port on localhost, so all the definitions referring to localhost are redundant.Should a .properties file in $ORACLE_HOME/sysman /... with the definition of the listener. Currently I can't find it, but then I use 11 GR 2.
-------------
Sybrand Bakker
Senior Oracle DBA -
How to paste into the text field of the Clipboard with JavaScript?
I implement the following actions in the form of javascript:
1. a user clicks on a link on the PDF to open a web page
2. the user uses the web page to find information and then copy text from the web page
3. the user clicks a button on the pdf form and it formats the text to the Clipboard and paste them into the text fields.
I can't find any references for the reading of the data from the Clipboard with javascript in PDF Forms. is it not possible?
Perhaps 'not possible' was a little too hard. It would be a security hole if she accepts a script in a form to copy the contents of the Clipboard without the user explicitly allowing it. It has been possible to copy the contents of the Clipboard into a form field using the app.execMenuItem method without the user knowing / allowing it, but that hole was closed. The restriction can be overcome, as explained in the documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.143.html
-
Integrated access acrobat reader with javascript
For a project, I'm looking for a way to display pdf files in a Web browser. I have IE8 + with acrobat reader available to me, so I can view any given pdf. But I would like to be able to:
-change page,.
-jump to favorite and,.
-listen to the events of text selection,
with javascript in my html page functions.
So in other words: Acrobat has somesort of api through which I can access my document using javascript? If so, is there documentation available on this topic?
Thank you in advance!
If you have not seen, suggest you read this, because it might answer some of your needs:
http://blogs.Adobe.com/pdfdevjunkie/2007/08/using_the_html_embed_tag_to_di.html
On a particular page (including the page and nameddest/bookmarks)
http://www.Adobe.com/content/dam/Adobe/en/DevNet/Acrobat/PDFs/pdf_open_parameters_v9.PDF#p age = 5
Although I found for the page navigation that I had to request the page twice so he can access the page.
Maybe you are looking for
-
How can I add a keyword (or several) to multiple images? Is it possible to remove typos from the list of keywords with the keywords Manager? Thanks in advance Hans
-
7660 g + 7670 m HD drivers
Hello!
-
Replacement of hard drives NAS Pro StorCenter ix4-200r 2.1.48.30125
Hi all I need your help with replacement of disks problem I have an Iomega StorCenter Pro NAS ix4-200r (Firmware 2.1.48.30125) installed originally with 4 x 1 TB of hard drives.I had to replace a faulty drive, and on this occasion, I replaced 4 disks
-
HP Pavilion XE763 BIOS update Release Notes?
Work on the following machine: HP Pavilion XE763 with Phoenix BIOS revision of Basic 4.06 2.02 07/14/00 ... and considering the BIOS firmware with this update:
-
research program box and can not find the file on my computer
I went to click Start, type cmd, no program and file search box, where to type sfc/scannow to.