V$UNDOSTAT BEGIN)TIME GREATER THAN SYSDATE
I have 18 rows in V$UNDOSTAT with begin_time greater than sysdate.
what could have caused that?
I noticed this anomaly when i was looking for some undo information.
All that has happened recently is, I have restored the db (9.2.0.1 on REHL 3)
on a different server as the original server had a bad disk (RAID5 rebuild was taking too long). So i shutdown the db and copied all files from the last cold backup to the new server(same config)and restored all the archlogs. Everything has been going fine since than.
Would a db bounce reset the date anoamly??
Any ideas !!!
Thankyou
Hello,
Yes you are right, the MAXQUERYLEN of the query *60mwzy51cs6sx* is very high (213380 seconde = 2,5 day) :
07-21-2010 16:48:2010 213380 60mwzy51cs6sx
07-21-2010 20:07:2010 225213 60mwzy51cs6sxAnd more over, it seems that the same query repeat several time and the MAXQUERYLEN is higher and higher.
You may get the offending query as follow:
Select sql_text from v$sqltext where sql_id = '60mwzy51cs6sx' /* MAXQUERYID value */It seems that the MAXQUERYLEN is never resetted for this query.
If you are sure that this query is not still running for almost 3 days so, I don't know why there's this kind of behaviour and, if I were you, I'll ask to the support.
Best regards,
Jean-Valentin
Similar Messages
-
Confirmation activity:start time greater than remaining start time
Hello Experts
While CIFing Production orders I am getting the above error "confirmation activity:start time greater than remaining start time". or sometimes the error says "invalid confirmed start time of an activity"
I have checked the inter operation times for the operations & have ensured that the Min & max values are same.
I have attached the screen shot also.
Kindly advise
Regards
SoumHello,
I guess you háve implemented BAdI method MODIFY_AFTER_MERGE (/sapapo/cl_ex_cif_ip in SE18).
Deactivate it.
The mentioned error means that an activity has its start date larger than confirmed date that's wrong for liveCache.
Standa -
How to find login times greater than 24 hours from custom table.
Hello Guru's,
I am having trouble approaching how to construct a query that will find who has been logged in for more than 24 hours, this table is updated every few hours to show who's logged in and where- I am attempting to find out if someone has been logged in for more than 24 hours- if so, who and where. This is difficult for me because I need to compare each recorded for each user login and then see if the next entry is greater than 24 hours from the previous entry.
A table holds the login times and locations as table position_hist:
position_id,userid,upd_date.
Something like;
select position_id,userid,upd_date from position_hist where (select upd_date from position_hist where "the next entry for that user and that position is greater than 24 hours?????"
I guess the easier way to look at it is for a given position_id who has been logged in for more than 24 hours in one go.
Any advice would be brilliant :-)It's hard without knowing your Oracle version, or having any sample data to work with. Please post that in the future using \ tags and DDL/DML.
Here is what I came up with as a guess:SQL> WITH POSITION_HIST AS
2 (
3 SELECT 1 AS POSITION_ID, 1 AS USER_ID, TRUNC(SYSDATE) AS UPD_DATE FROM DUAL UNION ALL
4 SELECT 1 AS POSITION_ID, 1 AS USER_ID, TRUNC(SYSDATE)+1 AS UPD_DATE FROM DUAL UNION ALL
5 SELECT 1 AS POSITION_ID, 1 AS USER_ID, TRUNC(SYSDATE)+2 AS UPD_DATE FROM DUAL UNION ALL
6 SELECT 1 AS POSITION_ID, 1 AS USER_ID, TRUNC(SYSDATE)+4 AS UPD_DATE FROM DUAL UNION ALL
7 SELECT 3 AS POSITION_ID, 2 AS USER_ID, TRUNC(SYSDATE) AS UPD_DATE FROM DUAL UNION ALL
8 SELECT 3 AS POSITION_ID, 2 AS USER_ID, TRUNC(SYSDATE)+1 AS UPD_DATE FROM DUAL UNION ALL
9 SELECT 3 AS POSITION_ID, 2 AS USER_ID, TRUNC(SYSDATE)+2 AS UPD_DATE FROM DUAL UNION ALL
10 SELECT 4 AS POSITION_ID, 21 AS USER_ID, TRUNC(SYSDATE)+2 AS UPD_DATE FROM DUAL
11 )
12 SELECT POSITION_ID
13 , USER_ID
14 FROM
15 (
16 SELECT POSITION_ID
17 , USER_ID
18 , UPD_DATE - LAG(UPD_DATE) OVER (PARTITION BY USER_ID ORDER BY UPD_DATE) AS LOGGED_IN_TIME
19 , ROW_NUMBER() OVER (PARTITION BY USER_ID ORDER BY UPD_DATE DESC) RN
20 FROM POSITION_HIST
21 )
22 WHERE LOGGED_IN_TIME > 1 AND RN = 1
23 /
POSITION_ID USER_ID
1 1 -
How to display a time greater than 24hrs?
Hi all
I am trying to create a wages tracker by entering start and finishing times for each day, working out the time worked and then adding it all together to get a weekly value. This works fine and if I have 5 days at 9hrs it correctly gives me 45h.
Then I want to create an IF function to say if the total hours worked for that week are more than 35h display the amount of overtime worked (in this case it would be 10h) else display "No OT Worked".
This is what I have so far but all I get is "Durations can't be compared to other data types". I'm guessing it's because in the IF formula I have specified 35 and with this being a number and not a time it's giving the error. Can anyone help me solve this please :-)
ThanksCrofty,
You should be able to get the "35h" to work. It's so much handier than the DURATION function that it would be worth it to learn to use the direct notation.
When you tried using "35h", what didn't work. Did you get an error message, a wrong result?
Jerry -
Query to find three times greater than the other records
hi All,
I am new to this forum, please help me out on this issue.
There is a table named as regions which has following columns like name, region, population, area with the following sample records
Region Name Population
AAA AAAA 1000
AAA BBBB 2000
AAA CCCC 500
BBB DDDD 900
BBB EEEE 300
I need to pick the record which has population more than three times that of any of their neighbours (in the same region). I need to get the region and name as the output. Please help me on how to write this query.with
your_data as
select 'AAA' as col1, 'AA' as col2, 7000 as col3 from dual union all
select 'AAA' as col1, 'BB' as col2, 2000 as col3 from dual union all
select 'AAA' as col1, 'CC' as col2, 500 as col3 from dual
select *
from
select
col1,
col2,
col3,
case when col3 >= lag(col3) over (partition by col1 order by col3 asc) * 3
then
dense_rank() over (partition by col1 order by col3 desc)
else
0
end as the_rank
from
your_data
where
the_rank = 1;
COL CO COL3 THE_RANK
AAA AA 7000 1
1 row selected.
Elapsed: 00:00:00.01
TUBBY_TUBBZ?This code will return AT MOST one name for each region (assuming 1 or more qualify based on your description).
Is that what you want? -
Dear all,
I am Using oracle 10g R2 database on windows.
I have a doubt that,
If I have a 'Date' datatype column suppose a and want to (select Less than sysdate and greater than Sysdate-31(One Month).
e.i.
select a,b,c from T where a Less Than Sysdate-31(One month.);How can i do this.
Thanks,
Chanchal Wankhade.Shinegar wrote:
I had not considered the effect on an index with TRUNC. Thank you for pointing that out.
TRUNC doesn't actually remove time as you can see below
SELECT TO_CHAR(TRUNC(SYSDATE),'MM/DD/YYYY HH:MM:SS AM') "Today's Date and Time" from DUAL;
Today's Date and Time
01/19/2012 12:01:00 AMLet's say sysdate = Jan 19, 2012 11:00:00 AM
As shown above, trunc(sysdate) = Jan 19, 2012 12:01:00 AM
So, trunc(sysdate) -1 = Jan 18, 2012 12:01:00 AM
Removing the trunc from column a
select a,b,c
from T
where a between trunc(sysdate)-1 and trunc(sysdate);will also remove all data that is greater than Jan 19, 2012, 12:01:00 AM so you would only see data from one day -- Jan 18th.
Adding the trunc to column a returns all the data from Jan 18th and 19th.
It is my experience that users will ask for a date range, but then will ask for just one day. If Column a is not truncated, then no rows would be returned when between trunc(sysdate) and trunc(sysdate).
Most programmers will not use trunc(sysdate) in the where clause, but would use a variable with value assigned of sysdate or trunc(sysdate) as it provides more flexibility.
If you do not want to use trunc on column a, then the where clause should be BETWEEN trunc(sysdate) - 31 AND sysdate.
Edited by: Shinegar on Jan 19, 2012 12:40 PMThe trunc function does not remove the time portion, but it does set it to midnight. Or at least i would if you used the correct format mask in your TO_CHAR. The mask for minutes is MI not MM.
SQL> SELECT TO_CHAR(TRUNC(SYSDATE),'MM/DD/YYYY HH:MI:SS AM') am_pm,
2 TO_CHAR(TRUNC(SYSDATE),'MM/DD/YYYY HH24:MI:SS') mil_time
3 from dual;
AM_PM MIL_TIME
01/19/2012 12:00:00 AM 01/19/2012 00:00:00John -
TIME_MANAGER_INFO 1 hour earlier than SYSDATE?
When one of our processes fails and places the message back on the queue to be retried in 5 minutes time the TIME_MANAGER_INFO is 1 hour + the delay time less than SYSDATE in the database.
For example, if our message fails at 11am and the delay period is 5 minutes the TIME_MANAGER_INFO is being set to 10:05am when I would have thought it would be set to 11:05am. I'm guessing that wherever the Advanced Queue is getting its time from hasn't been adjusted for daylight savings but where is this set/managed so I can get it in sync with SYSDATE.
Where is the Advanced Queue getting its time from?Just in case anyone else comes across this, we had a bug where the queue state was staying at 1 and was never being reset to 0 once it reached its delay time. In order to "fix" this until Oracle releases a patch that works we wrote our own procedure that would compare the TIME_MANAGER_INFO value with SYSDATE and if it was earlier than sysdate then we set the state to 0 so it would be picked up by the dequeue. Easy. Except that because of the timezone issue the TIME_MANAGER_INFO value was immediately set to 1 hour earlier than SYSDATE so we always set the state to 0 regardless of its delay period. So, we are looking at using the TIMEZONE value in the system.aq$_queue_tables to determine which timezone the queue is using and compare it to the databases timezone to see if we should change the TIME_MANAGER_INFO to something different. At least, that's what we'll probably do.
select time_manager_info,
cast( from_tz( time_manager_info, (select timezone from system.aq$_queue_tables where name = 'MY_QUEUE$TAB')) at time zone (select sessiontimezone from dual) as date) t
from MY_QUEUE$tab qt -
Validate Date Less than Sysdate
I would like to validate Hiredate attribute of my EmployeesEO entity object for which it should not take a date which is greater than sysdate.
I wrote this Groovy script on the Edit Validation Rule dialog of EmployeesEO. But it seems not working:
//perform validation
if(Hiredate > DBTransaction.currentDbTime){
adf.error.raise("DATE_GREATERTHAN_SYSDATE_ERROR")
return false
return true
I am using JDeveloper Studio Edition Version 11.1.1.5.0 and ADF BC.
Please help.
Edited by: Sahar Hassan on 20 Feb, 2012 1:36 AMHi,
Have you tried using groovy expression (adf.currentDate) with compare validator
Ex :
<validation:CompareValidationBean
Name="Hiredate_Rule_0"
ResId="model.Emp.Hiredate_Rule_0"
OnAttribute="Hiredate"
OperandType="EXPR"
Inverse="false"
CompareType="LESSTHAN">
<validation:TransientExpression><![CDATA[adf.currentDate]]></validation:TransientExpression>
</validation:CompareValidationBean>-Arun -
Date is greater than current time plus 24 hours
Hi,
may I know how to pull data from a table where date is greater than current time (+24 hours)... my date field is in the following format 15-MAR-2013 20:07:00
I want to do something like this
select * from table_A where date_field > (sys_date_time) +24h
as an example, when I run a query @ 4 PM on March 26, I want to pull data that has date > 4 PM March 27
Thanks>
may I know how to pull data from a table where date is greater than current time (+24 hours)... my date field is in the following format 15-MAR-2013 20:07:00
>
No - a DATE column does NOT have a value in a format like that. The value is stored in an internal binary format. The format you posted might be your NLS_DATE_FORMAT or just a format you provided to display that date value.
>
I want to do something like this
select * from table_A where date_field > (sys_date_time) +24h
as an example, when I run a query @ 4 PM on March 26, I want to pull data that has date > 4 PM March 27
>
As others have said to add 24 hours to whatever value SYSDATE has at the time the query is executed just use 'SYSDATE + 1'.
But there are at least two caveats:
1. You can't really run a query '@4 PM'. You don't have ANY control over exactly WHEN the query will begin execution. The only way to control the date used is if you provide it yourself as part of the query.
2. Your 'date_field > SYSDATE + 1' query will NOT see inserted/updated data that has not been committed. So a similar query later may return a different result set even if it appears to cover the same time period. In other words you can't reliably use a DATE column like that to pull sequential sets/batchs of data unless there is no DML occuring on the data that might affect the results. -
I am trying to upload a file using JAX-WS webservice which is deployed on the weblogic 10.3.5 server.Even before the code reaches the Service Endpoint lot of time is being spent at the weblogic layer. for files less than 10MB the performance is good but for files greater than 10 MB it takes around 3 mins to complete the request. I did take thread dumps and I see the thread servicing the requests is taking lot of time when executing SAX2DOMEx.characters it consumes around 80 -85 % of time here. Is there anything that I can do to improve the performance here ?
"[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=37 idx=0x90 tid=16848 prio=5 alive, suspended, native_blocked, daemon
at jrockit/vm/Allocator.allocLargeObjectOrArray(JIZ)Ljava/lang/Object;(Native Method)
at jrockit/vm/Allocator.allocObjectOrArray(Allocator.java:349)[optimized]
at jrockit/vm/StringMaker.toString(StringMaker.java:188)[inlined]
at com/sun/org/apache/xerces/internal/dom/CharacterDataImpl.appendData(CharacterDataImpl.java:191)[optimized]
at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:218)[inlined]
at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:209)[optimized]
at com/sun/xml/ws/message/SAX2DOMWriterEx.writeCharacters( .java:108)
at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.handleCharacters(XMLStreamReaderToXMLStreamWriter.java:153)
at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.bridge(XMLStreamReaderToXMLStreamWriter.java:114)
at com/sun/xml/ws/message/stream/StreamMessage.writePayloadTo(StreamMessage.java:313)
at com/sun/xml/ws/message/stream/StreamMessage.writeEnvelope(StreamMessage.java:343)
at com/sun/xml/ws/message/stream/StreamMessage.writeTo(StreamMessage.java:321)
at com/sun/xml/ws/message/AbstractMessageImpl.readAsSOAPMessage(AbstractMessageImpl.java:226)
at com/sun/xml/ws/handler/SOAPMessageContextImpl.getMessage(SOAPMessageContextImpl.java:87)
at weblogic/wsee/jaxws/framework/jaxrpc/SOAPMessageContext.getMessage(SOAPMessageContext.java:252)
at weblogic/wsee/security/wssp/handlers/WssHandler.getSecurityContext(WssHandler.java:318)
at weblogic/wsee/security/wssp/handlers/WssHandler.preValidate(WssHandler.java:420)
at weblogic/wsee/security/wssp/handlers/PreWssServerPolicyHandler.processRequest(PreWssServerPolicyHandler.java:25)
at weblogic/wsee/security/wssp/handlers/WssHandler.handleRequest(WssHandler.java:112)
at weblogic/wsee/jaxws/framework/jaxrpc/TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:222)
at com/sun/xml/ws/api/pipe/Fiber.__doRun(Fiber.java:866)
at com/sun/xml/ws/api/pipe/Fiber._doRun(Fiber.java:815)
at com/sun/xml/ws/api/pipe/Fiber.doRun(Fiber.java:778)
at com/sun/xml/ws/api/pipe/Fiber.runSync(Fiber.java:680)
^-- Holding lock: com/sun/xml/ws/api/pipe/Fiber@0x83736a70[biased lock]
at com/sun/xml/ws/server/WSEndpointImpl$2.process(WSEndpointImpl.java:403)
at com/sun/xml/ws/transport/http/HttpAdapter$HttpToolkit.handle(HttpAdapter.java:532)
at com/sun/xml/ws/transport/http/HttpAdapter.handle(HttpAdapter.java:253)
at com/sun/xml/ws/transport/http/servlet/ServletAdapter.handle(ServletAdapter.java:140)
at weblogic/wsee/jaxws/WLSServletAdapter.handle(WLSServletAdapter.java:171)
at weblogic/wsee/jaxws/HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:708)
at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:146)
at weblogic/wsee/util/ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)
at weblogic/wsee/jaxws/HttpServletAdapter$3.run(HttpServletAdapter.java:311)
at weblogic/wsee/jaxws/HttpServletAdapter.post(HttpServletAdapter.java:336)
at weblogic/wsee/jaxws/VerboseHttpProcessor.post(VerboseHttpProcessor.java:39)
at weblogic/wsee/jaxws/JAXWSServlet.doRequest(JAXWSServlet.java:98)
at weblogic/servlet/http/AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)
at javax/servlet/http/HttpServlet.service(HttpServlet.java:820)
at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.wrapRun(Lweblogic/servlet/internal/ServletStubImpl;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/lang/Object;(Unknown Source)
at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(Unknown Source)
at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:120)
at weblogic/servlet/internal/WebAppServletContext.securedExecute(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V(Unknown Source)
at weblogic/servlet/internal/WebAppServletContext.execute(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(Unknown Source)
at weblogic/servlet/internal/ServletRequestImpl.run()V(Unknown Source)
at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209)
at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)I am trying to upload a file using JAX-WS webservice which is deployed on the weblogic 10.3.5 server.Even before the code reaches the Service Endpoint lot of time is being spent at the weblogic layer. for files less than 10MB the performance is good but for files greater than 10 MB it takes around 3 mins to complete the request. I did take thread dumps and I see the thread servicing the requests is taking lot of time when executing SAX2DOMEx.characters it consumes around 80 -85 % of time here. Is there anything that I can do to improve the performance here ?
"[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=37 idx=0x90 tid=16848 prio=5 alive, suspended, native_blocked, daemon
at jrockit/vm/Allocator.allocLargeObjectOrArray(JIZ)Ljava/lang/Object;(Native Method)
at jrockit/vm/Allocator.allocObjectOrArray(Allocator.java:349)[optimized]
at jrockit/vm/StringMaker.toString(StringMaker.java:188)[inlined]
at com/sun/org/apache/xerces/internal/dom/CharacterDataImpl.appendData(CharacterDataImpl.java:191)[optimized]
at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:218)[inlined]
at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:209)[optimized]
at com/sun/xml/ws/message/SAX2DOMWriterEx.writeCharacters( .java:108)
at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.handleCharacters(XMLStreamReaderToXMLStreamWriter.java:153)
at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.bridge(XMLStreamReaderToXMLStreamWriter.java:114)
at com/sun/xml/ws/message/stream/StreamMessage.writePayloadTo(StreamMessage.java:313)
at com/sun/xml/ws/message/stream/StreamMessage.writeEnvelope(StreamMessage.java:343)
at com/sun/xml/ws/message/stream/StreamMessage.writeTo(StreamMessage.java:321)
at com/sun/xml/ws/message/AbstractMessageImpl.readAsSOAPMessage(AbstractMessageImpl.java:226)
at com/sun/xml/ws/handler/SOAPMessageContextImpl.getMessage(SOAPMessageContextImpl.java:87)
at weblogic/wsee/jaxws/framework/jaxrpc/SOAPMessageContext.getMessage(SOAPMessageContext.java:252)
at weblogic/wsee/security/wssp/handlers/WssHandler.getSecurityContext(WssHandler.java:318)
at weblogic/wsee/security/wssp/handlers/WssHandler.preValidate(WssHandler.java:420)
at weblogic/wsee/security/wssp/handlers/PreWssServerPolicyHandler.processRequest(PreWssServerPolicyHandler.java:25)
at weblogic/wsee/security/wssp/handlers/WssHandler.handleRequest(WssHandler.java:112)
at weblogic/wsee/jaxws/framework/jaxrpc/TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:222)
at com/sun/xml/ws/api/pipe/Fiber.__doRun(Fiber.java:866)
at com/sun/xml/ws/api/pipe/Fiber._doRun(Fiber.java:815)
at com/sun/xml/ws/api/pipe/Fiber.doRun(Fiber.java:778)
at com/sun/xml/ws/api/pipe/Fiber.runSync(Fiber.java:680)
^-- Holding lock: com/sun/xml/ws/api/pipe/Fiber@0x83736a70[biased lock]
at com/sun/xml/ws/server/WSEndpointImpl$2.process(WSEndpointImpl.java:403)
at com/sun/xml/ws/transport/http/HttpAdapter$HttpToolkit.handle(HttpAdapter.java:532)
at com/sun/xml/ws/transport/http/HttpAdapter.handle(HttpAdapter.java:253)
at com/sun/xml/ws/transport/http/servlet/ServletAdapter.handle(ServletAdapter.java:140)
at weblogic/wsee/jaxws/WLSServletAdapter.handle(WLSServletAdapter.java:171)
at weblogic/wsee/jaxws/HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:708)
at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:146)
at weblogic/wsee/util/ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)
at weblogic/wsee/jaxws/HttpServletAdapter$3.run(HttpServletAdapter.java:311)
at weblogic/wsee/jaxws/HttpServletAdapter.post(HttpServletAdapter.java:336)
at weblogic/wsee/jaxws/VerboseHttpProcessor.post(VerboseHttpProcessor.java:39)
at weblogic/wsee/jaxws/JAXWSServlet.doRequest(JAXWSServlet.java:98)
at weblogic/servlet/http/AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)
at javax/servlet/http/HttpServlet.service(HttpServlet.java:820)
at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.wrapRun(Lweblogic/servlet/internal/ServletStubImpl;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/lang/Object;(Unknown Source)
at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(Unknown Source)
at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:120)
at weblogic/servlet/internal/WebAppServletContext.securedExecute(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V(Unknown Source)
at weblogic/servlet/internal/WebAppServletContext.execute(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(Unknown Source)
at weblogic/servlet/internal/ServletRequestImpl.run()V(Unknown Source)
at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209)
at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method) -
Java always returns 15 minutes greater than the current time.
Hi,
I am using Microsoft Windows Server 2003R2,Standard X64 edition with Service Pack 2 and jdk1.6.0-03.
Java always returns time 15 minutes greater than the current system time.
eg:
SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
System.out.println("Now time: "+simpleDateFormat.format(new Date()));
System.out.println("Now time: "+new Date());The output of the program is :
Now time: 2008-12-22 18:47:04
Now time: Mon Dec 22 18:47:04 NPT 2008
When my actual system time is 6:32 PM or (18:32)
I have checked the current time with other programming languages like python and it always returns the actual date and time.
Note: To my observation java is always utilizing a time which is 15 minutes greater than the current time even for its log.
Thanks,
Rajeswari (Msys)I think a more practical time machine would be one that actually travels back in time rather than forward (by 15 minutes). Sounds like it needs some more work.
Anyway, I suggest changing the system time on your computer to some other value (say, 2 hours ahead), then running the program again. If its off by 2 hours and 15 minutes, its getting the time from your computer. However, if its still off by only 15 minutes (from your wristwatch's time), then its getting the time form somehere other than the computer clock. -
Numbers function IF greater than using date & time
I am trying to produce a number sheet that will allow me calculate a working rota for staff.
The problem i am having is when i try and use a IF function to remove 1hr (for lunch) if the person works 8 hours or more.
If that person works between 6 and 8 they require a 30 mins lunch.
I have already setup the sheet to calculate the total shift time by subtracting the starting time from the finishing time. i.e. 18:00 - 08:00 = 10hrs
Now i need it to subtract 1hr for lunch.
It should read something like IF 10 >8 then -1 from 10.
I just don't know how to not cause an error.
ideally i would like it to be able to handle 2 IF's in the one cell. if its 6-8hrs - 30mins or if its greater than 7 -1 hr.
I currently have all the cells set at time and date.
Any help would be greatly appreciated.
Richardthis works a little but it seems to subtract 0.5 and then 1 removing to much time.
I have attached a link which i hope will explain this better.
https://onedrive.live.com/redir?resid=82B56CEF9A61CDE9!8770&authkey=!ALJn-lja2b2 q1iw&ithint=file%2cnumbers
Thank you for your help -
Total of %db time column is greater than 100 in AWR report
Hello,
I have a query regarding "To 5 timed foreground events" section of AWR report.
On many occassions I found that the sum of all the values in the %db time column as mentioned above is grater than 100.
How can percentage be greater than 100?
Event
Waits
Time(s)
Avg wait (ms)
% DB time
Wait Class
DB CPU
29,212
98.18
latch: shared pool
2,291
286
125
0.96
Concurrency
direct path read
147,998
112
1
0.38
User I/O
library cache: mutex X
4,831
92
19
0.31
Concurrency
log file sync
36,736
72
2
0.24
Commit
In the above case the total comes up to just 100.07 % but I have seen reports where the total goes beyond 120 % -130 %.
Can you explain why this happens, please?
Thanks,
RushiCan someone explain above situation, please?
-
Time values that add up to greater than 24 hours
Hi Apple SUpport Community,
I am trying to get a cell in Numbers to return a TIME value when the sum of two time values are greater than 24.
For example, if a worker has a shift that starts at 8pm and works for 6 hours and 15 minutes, the shift ends at ((20:00+06:15=26:15)-24:00)=02:15am the next day.
If I formulate a cell in numbers to add to time values, it comes return the nasty red triangle saying "The Formula's arguments can only contain one date value"
Thanks in advance for any help!
STa duration can be obtained by subtracting two time values (which are technically the date and the time). durations are specified as:
weeks, days, hours, minutes, seconds and milliseconds.
I do not know what you are trying to figure out...
- how long did the worker work? or
- when did the shift end?
can you state a question (without regard for the solution) so we can assist? Also a screen shot of what you enter and what you want as output would be helpful.
All that said you can subtract two times to get a duration. You can add durations to get another duration. You cannot add times. To specify that an entry is a time you enter in the format "0w 0d 30h 14m 22s 0ms" any of the entries with 0 may be omitted.
you can add durations in cells by using the "+" or "-" operator
as in A1-B1
where A1 contains "3h 45m" and B1 contains "1h 15m"
the result will be "2h 30m" -
What can I do to increase battery usage time to greater than 6 hours?
What can I do to increase battery usage time to greater than 6 hours? I have a New iPad purchased 03/23/2012 64K-WiFi. I recharge it and get another 6 hours usage. I am using it primarily for reading books. Are there any applications I can turn off to get back to 10 hours?
@Ralph9430 The changes you recommended were implemented. This afternoon approximately at the same time and with similar usage all day The New iPad had 36% left on battery. This is a gain of 30% battery life. Thank you. Your suggestions resolved the issues.
Maybe you are looking for
-
Crash in OCR--any suggestions for work-around?
There is a book from Google Books that I want to read on my computer. It's in the public domain, and I downloaded it here. I have OCR'd it using "Searchable Image Exact" in some version of Acrobat (don't remember) so I can do searches in it. But all
-
How Do You Print What OS X Renders and What You See Like the Lines on a Table on OpenOffice?
Hi. How do you print what you OS X's graphics is rendering (what you see is what you get). I'm trying to print a calling card on OpenOffice Apache, latest but it would not print the guidelines (the lines when you use table, columns and rows) and it w
-
Messages not shown correctly in HTML BODY tab in workflow notifications
I am defining a message in teh HTML BODY section. It is a basic HTML table. If I run this in a browser , it shows up fine , i can see the table with the rows and columns. which means there is nothing wrong in the format as such. But on the notificati
-
My iphone 6 has a black border around the display
hey guys today I noticed a black border around my iphone 6 display, its a thin black line all around the display. Thanks.
-
Hi all, I'm currently struggling with the output of a music video for broadcast. I am ultimately looking to create an MPEG IMX PAL quicktime. I am running FCP 7.0.2. The problem I am having is that every time I output from FCP my stereo sound (which