Find UTC offset for pacific timezone
I have two file names,
GST564_14Mar10_01-50-35.RAW
GST564_14Mar10_03-06-42.RAW
The file name contains the date the file was created on the server. The server time is Pacific Time, either PST or PDT. In this example, the first is in PST and the second is in PDT.
I need a vi to convert the time to UTC according to the timezone rules for Pacific Time, and then display the time using the local time of the computer (regarless of its timezone). You can see in the vi how I do this manually in the attached vi. Is there a way to use the various date/time functions to figure out whether the offset should be 7 or 8 based on the name/time?
Thanks.
-Dan
Attachments:
time.vi 15 KB
Dan,
OK, I was misunderstanding your request.
Do the file go back before the last change in Daylight Savings Time dates (2007)?
If not, here's the limits:
Effective in the US in 2007 as a result of the Energy Policy Act of 2005, the
local time changes from PST to PDT at 02:00 LST to 03:00 LDT are on the
second Sunday in March and the time returns at 02:00 LDT to 01:00 LST on
the first Sunday in November.
There is not a simple way to make this automated and flexible to the PC's local time.
However, you can determine the initial time zone with fairly simple, but not quick to write, code. 1) Find the year of the fileand create complete timestamp
2) Find the date for the Sundays and create timestamps
3) Compare timestamps to determine if PST or PDT
4) Adjust file timestamp to UTC (subtract 7 or 8 hours)
5) Convert back to PCs local time
However, if you have any control over the file naming, save as UTC in filename.
Then all this effort is unnecessary and the code in LabVIEW is simple.
I attached an example that shows how simple this would be with UTC in the filename.
In addition, I placed an extra TimeZones control that might be handy as a reference.
Good Luck,
James
Attachments:
time UTC.vi 13 KB
Similar Messages
-
How to find tz offset for a particular day (not today)
I have DATE values that need to be adjusted based on the tz and dst offset in effect on the date. I'm trying to figure out how to calculate the value to adjust them by.
tz_offset(tz) returns the timezone offset for the given tz for today. Is there a way to determine the offset for a timezone for another day, so that daylight savings time differences are honored?
Thanks.Just double checked an alternative method, once your data is a timestamp with timezone, you can use the extract function to get just the parts of it you are interested in e.g.
with sample_data as (select TO_TIMESTAMP_TZ('2007/05/10:06:00:00pm', 'RRRR/MM/DD:HH:MI:SSpm') ts from dual
union all select TO_TIMESTAMP_TZ('2009/02/22:05:00:00pm', 'RRRR/MM/DD:HH:MI:SSpm') from dual
select EXTRACT(TIMEZONE_ABBR FROM ts) TZ
, EXTRACT(TIMEZONE_HOUR FROM ts) TZH
, EXTRACT(TIMEZONE_MINUTE FROM ts) TZM
, to_char(ts, 'tzh:tzm') x
, ts
from sample_data
TZ TZH TZM X TS
PDT -7 0 -07:00 10-MAY-07 06.00.00.000000000 PM AMERICA/LOS_ANGELES
PST -8 0 -08:00 22-FEB-09 05.00.00.000000000 PM AMERICA/LOS_ANGELES
2 rows selected -
Timezone offset for dst in LabVIEW 8.5
I think there is a "bug" in LabVIEW 8.5.1 and probably 8.5 too. I used to have an application that was transmitting timestamp data between computers in some sort of HTTP protocol. The server application has been build in LabVIEW 7.1 and remains in that version for various reasons.
Now the timestamps are transmitted as UTC formatted strings according to RFC1123. In order to do that I used an old function developed in LabVIEW 6.x or so that calculates the current timezone offset from a timestamp value of 86400 seconds (eg. Jan 2, 1904, 12:00:00 AM GMT). Turning that into a date time rec I observed the actual day, hours and minutes to calculate the timezone offset.
With LabVIEW 7.1 the timestamps in LabVIEW started to use the actual timezone offset valid for the timestamp except if that timestamp was earlier than 1970 in which case it still used the current timezone offset as it did before.
LabVIEW 8.5(.1) apparently changed that behaviour to always use the timezone offset of the actual timestamp and since 2 Jan 1904 was probably in every country (at least on the northern hemisphere) non-DST it now gives a different timezone offset than it used to do since the beginning of LabVIEW 2.5. This is cause me an hour or two of debugging :-(.
Of course the new >= 8.0 solution to calculate the timezone offset is now to convert a current timestamp into a non-UTC date time rec and convert that date time rec back into a timestamp telling it that it is a UTC record and then subtract the original timestamp from that.
I would expect the Internet Toolkit to have that same problem unless it has been adapted for LabVIEW 8.5, since my original routine was at some point "loaned" from that toolkit.
Rolf Kalbermatter
Message Edited by rolfk on 06-13-2008 02:59 PM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutionsjimfoxy wrote:
I had a similar problem. I thought it was an intentional feature.
I frequently work with GMT date & timestamped data as an int/double number of seconds or hours. Is there a sensible philosophy of displaying such data on a graph (with X-axis selected as 'Absolute time') without having to first convert the times into system timezone-dependent numbers? What I am doing at the moment is reading the GMT data in, converting it into timezone dependent values to display and manipulate (by applying the method above), then converting the results back again in order to output correct GMT to various files.
I always find it hard to work with time in Labview because you need to keep a close eye on local system timezone settings, unless you ensure that you set the PC's clock to GMT non-daylight savings (not an option for me). It is great that there is now an on/off UTC option for some of the time related VIs.
I don't want to mess around with timestamp datatype because I need to perform manipulation such as division and can't get that to work with timestamps.
Thanks.
It is not a LabVIEW problem really but simply a problem of any application running on a localized date/time system. And since time in any other form than SI normalized is a ratherbeasty thing, it gets troublesome to deal with it in software.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Calculating time for different timezone, problems with daylight savings?
Hi all,
I try to convert my locale time to a different timezone (like a world clock does). This worked until Europe got "summer time". Then my time calculation went wrong. I just paste the following coding to give you a quick reproducable code.
I did a lot of googleing but nothing found so far. Also search here in the forum didn't help me solving it. So now I created a post on my own.
The output of the Java programm is the following (without the colored comments). I just entered these comments to show you where the calculation is right and where it goes wrong.
I have absolutely now idea about where the chase the error. I am only guessing with "daylight savings issue".
Hopefully anybody has a good idea.
Thanks in advance
John
Europe/London {color:#339966} *(correct calculation!)*{color}
daylight shift in millis: 3600000
Is in daylight savings: true
19.04.2010 11:28:53
*Europe/Berlin {color:#339966}(correct calculation){color}*
daylight shift in millis: 3600000
Is in daylight savings: true
19.04.2010 12:28:53
Australia/Sydney{color:#ff0000} (wrong calculation, shoul 1 hour){color}
daylight shift in millis: 3600000
Is in daylight savings: false
*19.04.2010 20:28:53*
America/New_York {color:#339966}(correct calculation){color}
daylight shift in millis: 3600000
Is in daylight savings: true
19.04.2010 06:28:53
Asia/Bangkok {color:#ff0000}(wrong calculation, shoud 1 hour){color}
daylight shift in millis: 0
Is in daylight savings: false
19.04.2010 17:28:53
Asia/Hong_Kong {color:#339966}(correct calculation){color}
daylight shift in millis: 0
Is in daylight savings: false
19.04.2010 18:28:53
package test.timezone;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.LinkedList;
import java.util.List;
import java.util.TimeZone;
public class TZCalc {
public static void main(String[] args) {
List<TimeZone> list = new LinkedList<TimeZone>();
list.add(TimeZone.getTimeZone("Europe/London"));
list.add(TimeZone.getTimeZone("Europe/Berlin"));
list.add(TimeZone.getTimeZone("Australia/Sydney"));
list.add(TimeZone.getTimeZone("America/New_York"));
list.add(TimeZone.getTimeZone("Asia/Bangkok"));
list.add(TimeZone.getTimeZone("Asia/Hong_Kong"));
for (TimeZone tz : list) {
Calendar cal = new GregorianCalendar(tz);
SimpleDateFormat formatter = (SimpleDateFormat) DateFormat
.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM);
formatter.setTimeZone(tz);
System.out.println("\n" +tz.getID());
System.out.println("daylight shift in millis: " tz.getDSTSavings());
System.out.println("Is in daylight savings: " tz.inDaylightTime(cal.getTime()));
System.out.println(formatter.format(cal.getTime()));
}Edited by: jbegham on Apr 19, 2010 3:46 AM
Edited by: jbegham on Apr 19, 2010 3:47 AMYou should not set the time zone on the calendar since you want the calendar based on UTC.
List<TimeZone> list = new LinkedList<TimeZone>();
list.add(TimeZone.getTimeZone("Europe/London"));
list.add(TimeZone.getTimeZone("Europe/Berlin"));
list.add(TimeZone.getTimeZone("Australia/Sydney"));
list.add(TimeZone.getTimeZone("America/New_York"));
list.add(TimeZone.getTimeZone("Asia/Bangkok"));
list.add(TimeZone.getTimeZone("Asia/Hong_Kong"));
Calendar cal = new GregorianCalendar(); // Regardless of your timezone this holds the number of milliseconds since 1/1/1970 UTC.
for (TimeZone tz : list)
SimpleDateFormat formatter = (SimpleDateFormat) DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM);
formatter.setTimeZone(tz);
System.out.println("\n" + tz.getID());
System.out.println("daylight shift in millis: " + tz.getDSTSavings());
System.out.println("Is in daylight savings: " + tz.inDaylightTime(cal.getTime()));
System.out.println(formatter.format(cal.getTime()));
} I have no idea whether or not this then gives the results you expect. -
Hi
My require ment is system should check for the follwoing PO document type
i have ctreated new document type with respective PR , while creating PO system should check following while saving.(ME21N)
1.PO,
2.incoterm,
3.price,
4.quantity.
So for that i want find user exit for PO. can u plz heip me....Hi
You can use the BADI ME_PROCESS_PO_CUST
use the methods IM_HEADER and IM_ITEM
if needed check the following PO related exits
Enhancement
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MM06E011 Activate PReq Block
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
Business Add-in
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Custome
ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
ME_PO_PRICING Enhancements to Price Determination: Internal
ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
ME_PURCHDOC_POSTED Purchasing Document Posted
SMOD_MRFLB001 Control Items for Contract Release Order
EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
MM_DELIVERY_ADDR_SAP Determination of Delivery Address
ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
ME_REQ_POSTED Purchase Requisition Posted
ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
ME_BSART_DET Change document type for automatically generated POs
ME_BAPI_PR_CREATE_02
ME_BAPI_PR_CREATE_01
ME_BAPI_PO_CREATE_02
ME_BAPI_PO_CREATE_01
ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
ME_COMMITMENT_RETURN Commitment for return item
ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
ME_CIN_MM06EFKO Copy PO data for use by Country version India
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
ME_CHECK_OA Check BAdI for Contracts
<b>Reward points for useful Answers</b>
Regards
Anji -
Peek and Lock with Offset for Service Bus Queue in REST API
In .NET library, the QueueClient has an API
QueueClient.Peek(Int64), which accept an offset for the queue as starting point.
Does the REST api
also can pass this parameter? I didn't find one.hi mmsz_jbn,
Thanks for your posting!
It seems that REST API Peek-Lock message don't support pass the SequenceNumber.
http{s}://{serviceNamespace}.servicebus.windows.net/{queuePath}/messages/head
http{s}://{serviceNamespace}.servicebus.windows.net/{topicPath}/subscriptions/{subscriptionName}/messages/head
From the API structure, we don't see the sequence number as a parameter.
But in unlock method, we can use this number:
http{s}://{serviceNamespace}.servicebus.windows.net/{queuePath}/messages/{messageId|sequenceNumber}/{lockToken}
I suggest you could submit a feature request in this page:
http://www.mygreatwindowsazureidea.com/forums/34192-windows-azure-feature-voting.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
End Offset for Grow/Shrink AND Motion Path?
I make an end offset for my Grow/Shrink ... and the clip stops where it is supposed to. Cool.
But my Motion Path continues. So the clip stops, but then slides sideways a bit or up and down. There doesn't seem to be a matching End Offset for the Motion Path. I try placing the Motion Path to end BEFORE the end of the clip, but I'm missing something. Can't figure out how to have the two Behaviors end BEFORE the end of the clip (I want the clip to be perfectly still for a long dissolve).
? All ears,
BenThank you Andy,
It would have taken me forever to find this in the manual, if it IS in the manual. I'm about to apply it to scores of clips. Long film. All done with still images of ancient symbols and artifacts. The only thing keeping this film alive will be the animated camera moves ... and of course the content, which in this case is extraordinary: the work of David Talbott, a pretty convincing theory that explains the origin of all story on this planet. Stranger than sci-fi.
Thank you mucho for your help,
Ben -
Find time offset from GMT using time zone
Hi,
Is there any way i can query the time offset from GMT using the timezone of a place.
E.g. If I am in India
My TZNAME is 'Asia/Calcutta' and TZABBREV='IST'
How can i get the time offset from GMT for this timezone?
In this case I want +5:30 as the result.
Regards
RaviSQL> select dbtimezone
2 from dual;
DBTIME
+01:00
SQL> Regards,
Gerd -
We're experiencing a growing problem with our users in several different domains running in to Microsoft Office 2013 x32 'activation' issues. We use KMS for licensing, which works properly, but some of the machines (~20-30 out of 1000+) sporadically
throw the following error:
'Microsoft Office can't find your license for this application. Microsoft Office will now exit.'
We know it's not an issue with the licenses per se, since they work on and off and we can force KMS activation correctly / talk to the KMS servers.
It appears to be an issue with the Software Protection service not starting properly. In Event Viewer, we see the following:
'Software protection service failed to start due to the following error- the service did not respond in a timely fashion.
Event 7000'
This is occurring on a variety of machines in a variety of environments, all fully patched with the latest Office updates. It's inconsistent, and the 'manually restart the Software Protection Service' solution is not viable as it's occurring on many
different workstations. Office repairs have also been unsuccessful.
Has anyone else come across this? Or have any idea why the Software Protection Service might be sporadically failing? Maybe an Office update in the last 2-3 months?
Thanks for any info.We're experiencing a growing problem with our users in several different domains running in to Microsoft Office 2013 x32 'activation' issues. We use KMS for licensing, which works properly, but some of the machines (~20-30 out of 1000+) sporadically
throw the following error:
'Microsoft Office can't find your license for this application. Microsoft Office will now exit.'
We know it's not an issue with the licenses per se, since they work on and off and we can force KMS activation correctly / talk to the KMS servers.
It appears to be an issue with the Software Protection service not starting properly. In Event Viewer, we see the following:
'Software protection service failed to start due to the following error- the service did not respond in a timely fashion.
Event 7000'
This is occurring on a variety of machines in a variety of environments, all fully patched with the latest Office updates. It's inconsistent, and the 'manually restart the Software Protection Service' solution is not viable as it's occurring on many
different workstations. Office repairs have also been unsuccessful.
Has anyone else come across this? Or have any idea why the Software Protection Service might be sporadically failing? Maybe an Office update in the last 2-3 months?
Thanks for any info. -
WebtopNaming - can not find server name for server ID
We have a LB, and web servers in front of OpenSSO app servers in our environment.
OpenSSO debug log CoreSystem fills up with lot of errors like these:
ERROR: WebtopNaming.getServerFromID() can not find server name for server ID : 07
com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server.
Sometimes, it even complains about a server id (07 in the following trace) which doesn't even exist in the Site Id Table.
There are no changes in the configuration. DNS is properly configured and all the servers and their connectivity are available. CoreSystem throws these errors even after a restart of opensso app servers.
Any ideas about the root cause?
amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
Server Id Table -> {%protocol://%host:%port%uri/AssertionManagerServlet/AssertionManagerIF=iplanet-am-naming-samlassertionmanager-url, http://host4.company.com:8080/openSSO=04, com.iplanet.dpro.profile.agent.ProfileService=iplanet-am-naming-profile-class, %protocol://%host:%port%uri/SecurityTokenManagerServlet/SecurityTokenManagerIF=iplanet-am-naming-securitytokenmanager-url, %protocol://%host:%port%uri/authservice=iplanet-am-naming-auth-url, %protocol://%host:%port%uri/sts=sun-naming-sts-url, %protocol://%host:%port%uri/SAMLAwareServlet=iplanet-am-naming-samlawareservlet-url, http://host5.company.com:8080/openSSO=05, com.sun.identity.authentication.server.AuthXMLHandler=iplanet-am-naming-auth-class, com.sun.identity.policy.remote.PolicyRequestHandler=iplanet-am-naming-policy-class, %protocol://%host:%port%uri/loggingservice=iplanet-am-naming-logging-url, %protocol://%host:%port%uri/jaxrpc/=iplanet-am-naming-jaxrpc-url, %protocol://%host:%port%uri/FSAssertionManagerServlet/FSAssertionManagerIF=iplanet-am-naming-fsassertionmanager-url, %protocol://%host:%port%uri/identity/=sun-naming-idsvcs-rest-url, 03,05,04,02|03,01|03=iplanet-am-platform-site-id-list, %protocol://%host:%port%uri/identityservices/=sun-naming-idsvcs-jaxws-url, %protocol://%host:%port%uri/sts/mex=sun-naming-sts-mex-url, %protocol://%host:%port%uri/profileservice=iplanet-am-naming-profile-url, %protocol://%host:%port%uri/SAMLPOSTProfileServlet=iplanet-am-naming-samlpostservlet-url, 02|02,01|01,05|05,04|04=iplanet-am-platform-lb-cookie-value-list, %protocol://%host:%port%uri/SAMLSOAPReceiver=iplanet-am-naming-samlsoapreceiver-url, https://host4.company.com:8443/openSSO=01, com.sun.identity.log.service.LogService=iplanet-am-naming-logging-class, %protocol://%host:%port%uri/sessionservice=iplanet-am-naming-session-url, https://host5.company.com:8443/openSSO=02, %protocol://%host:%port%uri/policyservice=iplanet-am-naming-policy-url, iplanet-am-naming-service=serviceObjectClasses, com.iplanet.dpro.session.service.SessionRequestHandler=iplanet-am-naming-session-class, https://opensso-qa.company.com:443/openSSO=03}
amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
Site Id Table -> {03=03, 02=03, 01=03, 05=05, 04=04}
amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
Platform Servers -> [https://opensso-qa.company.com:443/openSSO, https://host5.company.com:8443/openSSO, https://host4.company.com:8443/openSSO, http://host4.company.com:8080/openSSO, http://host5.company.com:8080/openSSO]
amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
Platform Server IDs -> [03, 02, 01, 04, 05]
amNaming:05/13/2011 10:22:37:010 AM PST: Thread[WebContainer : 0,5,main]
ERROR: WebtopNaming.getServerFromID() can not find server name for server ID : 07
com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server.
at com.iplanet.services.naming.ServerEntryNotFoundException.<init>(ServerEntryNotFoundException.java:52)
at com.iplanet.services.naming.WebtopNaming.getServerFromID(WebtopNaming.java:709)
at com.iplanet.dpro.session.SessionID.setServerID(SessionID.java:380)
at com.iplanet.dpro.session.SessionID.parseSessionString(SessionID.java:363)
at com.iplanet.dpro.session.SessionID.getSessionServerID(SessionID.java:261)
at com.iplanet.dpro.session.service.SessionService.isLocalSite(SessionService.java:881)
at com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:1197)
at com.sun.identity.authentication.UI.LoginServlet.initializeRequestContext(LoginServlet.java:153)
at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:578)
at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)Thank You for the response.
Here is my site configuration in OpenSSO:
There are 4 servers in the two opensso hosts (2 secure, 2 non secure)
Servers:
http://host4.company.com:8080/openSSO
http://host5.company.com:8080/openSSO
https://host4.company.com:8443/openSSO
https://host5.company.com:8443/openSSO
Only one site with secure URLs is configured
Sites:
site1
Primary URL: https://opensso-qa.company.com:443/openSSO
Assigned Servers:
https://host4.company.com:8443/openSSO
https://host5.company.com:8443/openSSO
From the CoreSystem log, Server ID definitions are:
https://host4.company.com:8443/openSSO=01
https://host5.company.com:8443/openSSO=02
https://opensso-qa.company.com:443/openSSO=03
http://host4.company.com:8080/openSSO=04
http://host5.company.com:8080/openSSO=05
Sometimes it throws an exception with existing server IDs. But sometimes it also complains about non existing server IDs. -
Infopackage Idocs in status 2 - could not find code page for receiver system
Hi,
We just migrated our production system from BW 7.01 non unicode to BW 7.4 on HANA.
We now encounter issues with idocs while loading data into bw from our ECC5 source. When we analyze idocs in the source system it appears with the message "could not find code page for receiver system"
One weird thing is that the idoc seems to have been created before we started the infopackage in bw.. We controlled system time and AS time and everything seems ok.
We did not encounter this issues on our previous migration test runs..
Hope someone can help
ChristopheHi,
Thanks for responding. We finally found out what the problem was.
We have two applications servers on our ECC with 2 different OS. One of them could not reach the new BW HANA server.
Regards
Christophe -
Org.hibernate.PropertyNotFoundException: Could not find a getter for id in
[skumar@aithdell3 events]$ java EventManager
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.3
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : Event.hbm.xml
May 15, 2008 8:39:43 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: Event -> EVENTS
May 15, 2008 8:39:43 PM org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 1
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: autocommit mode: false
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:sql://localhost
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=sa, password=****}
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: HSQL Database Engine, version: 1.8.0
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: HSQL Database Engine Driver, version: 1.8.0
May 15, 2008 8:39:44 PM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.HSQLDialect
May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Using default transaction strategy (direct JDBC transactions)
May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
May 15, 2008 8:39:44 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.NoCacheProvider
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Echoing all SQL to stdout
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
May 15, 2008 8:39:45 PM org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
Intial session factory creation failed org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
Exception in thread "main" java.lang.ExceptionInInitializerError
at HibernateUtil.<clinit>(HibernateUtil.java:18)
at EventManager.main(EventManager.java:11)
Caused by: org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:282)
at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:275)
at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:168)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:123)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at HibernateUtil.<clinit>(HibernateUtil.java:14)
How can i fix this exception
Please help me.
Thanks in advance[skumar@aithdell3 events]$ java EventManager
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.3
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : Event.hbm.xml
May 15, 2008 8:39:43 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: Event -> EVENTS
May 15, 2008 8:39:43 PM org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 1
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: autocommit mode: false
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:sql://localhost
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=sa, password=****}
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: HSQL Database Engine, version: 1.8.0
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: HSQL Database Engine Driver, version: 1.8.0
May 15, 2008 8:39:44 PM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.HSQLDialect
May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Using default transaction strategy (direct JDBC transactions)
May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
May 15, 2008 8:39:44 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.NoCacheProvider
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Echoing all SQL to stdout
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
May 15, 2008 8:39:45 PM org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
Intial session factory creation failed org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
Exception in thread "main" java.lang.ExceptionInInitializerError
at HibernateUtil.<clinit>(HibernateUtil.java:18)
at EventManager.main(EventManager.java:11)
Caused by: org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:282)
at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:275)
at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:168)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:123)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at HibernateUtil.<clinit>(HibernateUtil.java:14)
How can i fix this exception
Please help me.
Thanks in advance -
How to find serial Number for BCC Plugin?
Hi,
How to find serial number for Bcc plugin on FCP?
I need format my Mac so before that I to find the serial number?
Please anyone can help me....The serial number has the format like E-111-aaa-222-bbb-333-ccc-444-ddd-5ee-ffff, it can be found on a piece of paper which has 3 stickers with it inside the box.
-
Where do I find the installer for AAMEE 3.0 for the Creative Cloud?
I try to setup a local Adobe Update Server. I've seen the video online on Adobe TV, but I don't find the actual installer file called AAMEE 3.0...
Hi wieneke,
You can find the installer for AAMEE3.0 at : http://blogs.adobe.com/oobe/2012/05/aamee-3-0-for-cs6-available-now-removes-puffer-fishes. html
The link is : http://download.macromedia.com/pub/developer/creativesuite/AAMEE/win/ApplicationManagerEnt erprise_3_0_all.exe
Regards,
Rave -
Error: Couldn't find delivery channel for message
Hi All,
In our production environment, we sometime get the following error (Channel Audit Log):
2009-01-12 15:08:47 Error Unable to find channel ID
2009-01-12 15:08:47 Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Couldn't find delivery channel for message: 496b9e98-9466-0109-e100-8000ac10a218.
2009-01-12 15:08:47 Error The message status set to NDLV.
This particular interface runs around 100 times a day without any issues, however around once or twice a month we get this error.
This is a synchronous interface.
Could be because of number of threads alloted for Synchronous messages in Visual Admin.
Thanks.Hi XIer
try doing a CPACache Refresh:
Http://<host>:50000/CPACache/refresh?mode=full)
Best regards,
Chris
Maybe you are looking for
-
Problem with drivers/ sound stopping / vista32bit/ xfi fatal
i have an xfi fatality, installed the latest drivers and since then, sound will stop at random times usually happens when i am pausing something on media player (videos) and it might come back when i reopen the video sometimes i will watch a video on
-
Hi experts, In KM we created a folder for BW report links. The user start the report and the BW report is shown in the language selected in the IE settings (SAP user language is empty). This works fine, but for one user the BW reports always displaye
-
Hello, I am tasked with writing a paper that explains the three modes (bride, route, one-armed) of the CMS. I have accomplished this task. I have also been tasked with explaining, in detail, why one mode is better than the other modes, when they are
-
Canvas component won't receive focus
As you can see from the attached code, I have 2 TextInput fields followed by a Canvas. I would like the canvas to receive focus after I tab away from the second field but it doesn't, even when I set the following properties of the Canvas: 1. focusEna
-
My ipad mini is a little bent?
Recently I observed that my iPad mini is a little curved at the left back side. Now this curve is so small that you cannot see it easily, unless u hold it at an angle or keep it on a flat surface. I am really worried about this because I have never d