Malformed Guid String
I have been getting the message "Malformed Guid String" in my event window - little red circle cross thing bottom right of timeline. It doent seem terminal.
I was testing speech analysis(right click on clip in project panel>analyze content), than Media Encoder renders that preview in Temp folder, creating metadata, etc. Than I deleted that rendered files from Temp folder. And I got same message, so, Premiere tells you that something missing. And this is not application problem, just someting deleted that is related to Premiere.
Similar Messages
-
Malformed GUID. in query expression
Hello I have a script that was developed a long time ago. I
wish to use it now, However i'm receiving the following errors. Is
this because it was developed with an older version of CF? Can
anyone spot out what I can change to make this work. Im running
CFmx7. Any help is much appreciated.
Thanks,
Brian
Error Executing Database Query.
Malformed GUID. in query expression 'EVENT.Inactive = 0 AND
EventPrivate = 0 AND Event.TaskID = 0 and { fn MONTH(EventDate)} =
{ fn MONTH( #2007-11-29 10:38:13# )} AND { fn YEAR(EventDate)} = {
fn YEAR( #2007-11-29 10:38:13# )}'.
<CFQUERY NAME="GetEvents"
DATASOURCE="#application.datasource#">
SELECT
EventCategory.EventCategory,EventPrivate,EVENT.EventCatID,EventDate,EventDateEnd,EventNoT ime,EventDescr,EventID,EventName,EventDate
FROM EVENT left join EventCategory on EVENT.EventCatID =
EventCategory.EventCatID
WHERE EVENT.Inactive = 0 AND EventPrivate = 0 AND
<cfif session.userid is "">
Event.TaskID = 0 and
<cfelse>
<cfif #session.userTasks# neq 0> (Event.TaskID IN
(#session.userTasks#) or (Event.TaskID = 0 )) and </cfif>
<cfif #session.SrchTaskid# neq 0> Event.TaskID =
#session.SrchTaskid# and </cfif>
</cfif>
{fn MONTH(EventDate)}={fn MONTH(#ThisDate#)} AND
{fn YEAR(EventDate)}={fn YEAR(#ThisDate#)}
<cfif CatIDs neq 0>
AND EVENT.EventCatID in (#PreserveSingleQuotes(CatIDs)#)
</cfif>
</CFQUERY>You might be missing an AND keyword with all that if/else
logic in your your sql
I'm assuming that this:
{fn YEAR(EventDate)}={fn YEAR(#ThisDate#)}
is the way you call functions when using something other than
cold fusion. Try changing it to
YEAR(EventDate) = YEAR(#ThisDate#) -
Malformed SQL92 string at position: 227
What is wrong with the following anonymous block? I am getting an error - "Malformed SQL92 string at position: 227".
DECLARE
TYPE typ_tb_bw_lg_mstr IS TABLE OF tb_bw_lg_mstr%ROWTYPE INDEX BY BINARY_INTEGER;
my_tab typ_tb_bw_lg_mstr;
v_sql VARCHAR2(128);
BEGIN
v_sql:=q'{'SELECT * FROM tb_bw_lg_mstr WHERE system_date='31-JUL-2011'}';
OPEN v_sql
LOOP
FETCH v_sql BULK COLLECT INTO my_tab LIMIT 500;
FOR i IN my_tab.FIRST .. my_tab.LAST
LOOP
IF my_tab.EXISTS(i) THEN
Dbms_Output.Put_Line( my_tab(i).sales_code ) ;
END IF;
END LOOP;
EXIT WHEN v_sql%NOTFOUND;
END LOOP;
EXCEPTION
WHEN OTHERS THEN
Dbms_output.put_line(SQLERRM);
END;
/Oops, I missed two more errors. You are using v_sql as a cursor which is completely wrong. It is a string holding SQL statement text - nothing more. And I also missed SQL statement has extra quote. Use:
SQL> create table tb_bw_lg_mstr
2 as select ename, job as sales_code,date'2011-07-31' as system_date from emp
3 /
Table created.
SQL> set serveroutput on
SQL> DECLARE
2 TYPE typ_tb_bw_lg_mstr IS TABLE OF tb_bw_lg_mstr%ROWTYPE INDEX BY BINARY_INTEGER;
3 my_tab typ_tb_bw_lg_mstr;
4 v_sql VARCHAR2(128);
5 v_cur sys_refcursor;
6 BEGIN
7 v_sql:=q'{SELECT * FROM tb_bw_lg_mstr WHERE system_date=date'2011-07-31'}';
8 OPEN v_cur FOR v_sql;
9 LOOP
10 FETCH v_cur BULK COLLECT INTO my_tab LIMIT 500;
11 FOR i IN my_tab.FIRST .. my_tab.LAST
12 LOOP
13 IF my_tab.EXISTS(i) THEN
14 Dbms_Output.Put_Line( my_tab(i).sales_code ) ;
15 END IF;
16 END LOOP;
17 EXIT WHEN v_cur%NOTFOUND;
18 END LOOP;
19 EXCEPTION
20 WHEN OTHERS THEN
21 Dbms_output.put_line(SQLERRM);
22 END;
23 /
CLERK
SALESMAN
SALESMAN
MANAGER
SALESMAN
MANAGER
MANAGER
ANALYST
PRESIDENT
SALESMAN
CLERK
CLERK
ANALYST
CLERK
PL/SQL procedure successfully completed.
SQL> SY. -
Malformed GUID in hosting migration
I am moving a site from a Win2k3 server running IIS6, CF7 and
using an MS Access database to new hosting provider. I'm using
their Windows Hosting option so I can just set up the access
datasource and move the code, but have run into an error I have
been unable to solve after hours of googling. Any help?
Malformed GUID. in query expression 'sdate <= #03-15-2008#
AND edate >= #03-15-2008# OR { fn MONTH(sdate)} = 3 AND { fn
DAYOFMONTH(sdate)} = 15 AND recur = true'.
I cut up both halves of the query and was able to isolate it
down to having something to do with the MONTH and DAYOFMONTH
functions. This code works just fine on the old server. Seems like
standard enough SQL, what would the new host be doing to cause
these functions to error?I'm not really sure why the {fn syntax was necessary on the
original code, but this code is from 1996 and I believe back then I
still needed it. Getting rid of that didn't fix it, but getting rid
of that AND changing DAYOFMONTH to just DAY appears to have
resolved the problem. Not sure why the one server (which is
relatively new) still supported that old code but not the new
server. Thanks for your help! -
Formatting of the GUID string.
Dear gurus, I already get good help for other problem. I hope to follow guidelines this time.
In our firm we have to deal with the GUID. Now, the GUID come in 3 formats (see the other posting
of the GUID in this newsgroup). I have the several GUIDS as below
with mydata as (
select '77DB966B620D4FEBB9959D016E0BD590' as guid from dual union
select '159F25C035E845CFA95CFF4F3365B330' from dual union
select '0485FA87A2FF445E965333B6980EC176' from dual)
select guid from mydata;Now, instead of the phrase "select guid from mydata" what I wish for is to have the
select regexp_replace(guid, xxxxxxxxxxxx, yyyyyyyyyyyy, zzzzzzzzzzz) from mydata for the following of the result.
desired result
select regexp_replace(guid, xxxxxxxxxxxx, yyyyyyyyyyyy, zzzzzzzzzzz) from mydata;
77DB966B-620D-4FEB-B995-9D016E0BD590
159F25C0-35E8-45CF-A95C-FF4F3365B330
0485FA87-A2FF-445E-965333B6980EC176
and also desired result - difference in expression
{77DB966B-620D-4FEB-B995-9D016E0BD590}
{159F25C0-35E8-45CF-A95C-FF4F3365B330}
{0485FA87-A2FF-445E-965333B6980EC176}the needing is as the follows: put the - (hyphen charachter) at 8, 12, 16, 20 in the GUID string
and also possible choose add the bracket cureley { } at beginning end of string. I am not very strong
(still doing the learning) of the regular expressions. If any guru can help, I would be most grateful.
Jehangir.Hi, Jehangir,
Here's how to do that using REGEXP_REPLACE:
SELECT guid AS raw_guid
, REGEXP_REPLACE ( guid
, '{\1-\2-\3-\4}'
) AS formatted_guid
FROM mydata
;Results, given the sample data you posted:
RAW_GUID FORMATTED_GUID
0485FA87A2FF445E965333B6980EC176 {0485FA87-A2FF-445E-965333B6980EC176}
159F25C035E845CFA95CFF4F3365B330 {159F25C0-35E8-45CF-A95CFF4F3365B330}
77DB966B620D4FEBB9959D016E0BD590 {77DB966B-620D-4FEB-B9959D016E0BD590}In the 3rd argument to REGEXP_REPLACE, the curly brackets have no special meaning. You can use them like any plain character.
You could also get the same results using SUBSTR, which will probably be a little more efficient.
Jehangir Khan wrote:
Dear gurus, I already get good help for other problem. I hope to follow guidelines this time.
In our firm we have to deal with the GUID. Now, the GUID come in 3 formats (see the other posting
of the GUID in this newsgroup).Copy the relevant information into this thread, or at least post a link.
I have the several GUIDS as belowSorry, I don't understand. What is the difference between the 3 formats? All the strings you posted seem to have the same format.
>
with mydata as (
select '77DB966B620D4FEBB9959D016E0BD590' as guid from dual union
select '159F25C035E845CFA95CFF4F3365B330' from dual union
select '0485FA87A2FF445E965333B6980EC176' from dual)
select guid from mydata;Now, instead of the phrase "select guid from mydata" what I wish for is to have the
select regexp_replace(guid, xxxxxxxxxxxx, yyyyyyyyyyyy, zzzzzzzzzzz) from mydata for the following of the result.
desired result
select regexp_replace(guid, xxxxxxxxxxxx, yyyyyyyyyyyy, zzzzzzzzzzz) from mydata;
77DB966B-620D-4FEB-B995-9D016E0BD590
159F25C0-35E8-45CF-A95C-FF4F3365B330
0485FA87-A2FF-445E-965333B6980EC176the needing is as the follows: put the - (hyphen charachter) at 8, 12, 16, 20 in the GUID stringThe last row only has 3 hyphens in the output. Why is that one different? Is that an example of a different one of the 3 formats?
Edited by: Frank Kulash on Jul 16, 2012 10:41 AM -
Invalid GUID Strings in RDC Report Engine Merge Module
The "CrystalReports11_5_RDC_Reportengine.msm" merge module for Crystal Reports XI R2 SP6 contains some invalid GUID strings that cause validation errors for installers that include that merge module. Basically, there are three components in the merge module whose component ID GUIDs contain lower-case characters, and these lower-case characters violate Windows Installer rules as the characters should be all upper-case. These three component ID GUIDs are {C3122AE7-7812-4ab7-8187-4AFA5C3FB819}, {5CCE2FBC-BC46-4fb0-91FE-10FBA2C713DE}, and {C9105D9E-BCCD-45c1-B0B1-BB8D2382D12A}. To see the validation errors, open the merge module in Microsoft's Orca tool and run the validation command using the "Merge Module Validation Suite" option. There will be three ICE03 validation errors with messages like "Invalid GUID string (Be sure GUID is all UPPER case)..."
This problem seems to have been introduced in the CR XI R2 SP6 version of this merge module, as prior versions did not appear to suffer from it. I also checked the CR XI R2 SP6 Fix Pack 6.1 version of the merge module, and it too has the same problem.
Will the problem be fixed in the next version (Fix Pack 6.2?) of the merge module?
ThanksAnswered in this thread:
Invalid GUID strings in .NET merge modules
Locking this thread.
Ludek -
I downloaded code for a reservation event receiver from here:
http://blog.sharepointsydney.com.au/post/Setting-up-multiple-calendars-for-meeting-room-bookings-prevent-double-booking.aspx
However, on the ItemUpdating it throws an "Object Reference Not Set to an Instance of an Object" error. By commenting out parts of the code and re-deploying I have narrowed the issue down to the line that gets the item's GUID:
string guid_internal = collItems.List.Fields["GUID"].InternalName;
When I modify it to something like "UniqueId" I get the "Value does not fall within expected range" error. Is there a better way to obtain the GUID of the calendar list item - or am I missing something? Full code below:
using System;
using Microsoft.SharePoint;
namespace Webcoda.WSS.Calendar.Events
class PreventDoubleBooking: SPItemEventReceiver
/// <summary>
/// This event is triggered when the user adds a new item
/// </summary>
/// <param name="properties"></param>
public override void ItemAdding(SPItemEventProperties properties)
//Our query string variable
string strQuery = null;
try
//Get the Sharepoint site instance
using (SPWeb oWebsite = new SPSite(properties.SiteId).OpenWeb(properties.RelativeWebUrl))
//Get the collection of properties for the Booking item
SPListItemCollection collItems = oWebsite.Lists[properties.ListTitle].Items;
//Get the Calendar List that we will be querying against
SPList calendar = oWebsite.Lists[properties.ListId];
//Get the internal name of the fields we are querying.
//These are required for the CAML query
string start_internal = collItems.List.Fields["Start Time"].InternalName;
string end_internal = collItems.List.Fields["End Time"].InternalName;
string MeetingRoom_Internal = collItems.List.Fields["Meeting Room"].InternalName;
//Get the query string parameters
string start_str = properties.AfterProperties[start_internal].ToString();
string end_str = properties.AfterProperties[end_internal].ToString();
string MeetingRoom_str = properties.AfterProperties[MeetingRoom_Internal].ToString();
//Construct a CAML query
SPQuery query = new SPQuery();
//Create the CAML query string that checks to see if the booking we are attemping
//to add will overlap any existing bookings
strQuery = string.Format(@"
<Where>
<And>
<Or>
<Or>
<And>
<Leq>
<FieldRef Name='EventDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{0}</Value>
</Leq>
<Gt>
<FieldRef Name='EndDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{0}</Value>
</Gt>
</And>
<And>
<Lt>
<FieldRef Name='EventDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{1}</Value>
</Lt>
<Geq>
<FieldRef Name='EndDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{1}</Value>
</Geq>
</And>
</Or>
<Or>
<And>
<Leq>
<FieldRef Name='EventDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{0}</Value>
</Leq>
<Geq>
<FieldRef Name='EndDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{1}</Value>
</Geq>
</And>
<And>
<Geq>
<FieldRef Name='EventDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{0}</Value>
</Geq>
<Leq>
<FieldRef Name='EndDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{1}</Value>
</Leq>
</And>
</Or>
</Or>
<Eq>
<FieldRef Name='Meeting_x0020_Room' />
<Value Type='Choice'>{2}</Value>
</Eq>
</And>
</Where>
<OrderBy>
<FieldRef Name='EventDate' />
</OrderBy>
", start_str, end_str, MeetingRoom_str);
//Set the query string for the SPQuery object
query.Query = strQuery;
//Execute the query against the Calendar List
SPListItemCollection existing_events = calendar.GetItems(query);
//Check to see if the query returned any overlapping bookings
if (existing_events.Count > 0)
//Cancels the ItemAdd action and redirects to error page
properties.Cancel = true;
//Edit the error message that will display on the error page
properties.ErrorMessage += "This booking cannot be made because of one or more bookings in conflict. <BR><BR>";
//Here you can loop through the results of the query
//foreach (SPListItem oListItem in existing_events)
properties.ErrorMessage += "Please go back and schedule a new time.";
catch (Exception ex)
//Cancels the ItemAdd action and redirects to error page
properties.Cancel = true;
//Edit the error message that will display on the error page
properties.ErrorMessage = "Error looking for booking conflicts: " + ex.Message;
/// <summary>
/// This event is triggered when the user edits an calendar item
/// </summary>
/// <param name="properties"></param>
public override void ItemUpdating(SPItemEventProperties properties) {
string strQuery = null;
try {
//Get the Sharepoint site instance
using (SPWeb oWebsite = new SPSite(properties.SiteId).OpenWeb(properties.RelativeWebUrl)) {
//Get the collection of properties for the Booking item
SPListItemCollection collItems = oWebsite.Lists[properties.ListTitle].Items;
//Get the Calendar List that we will be querying against
SPList calendar = oWebsite.Lists[properties.ListId];
//Get the internal name of the fields we are querying.
//These are required for the CAML query
string start_internal = collItems.List.Fields["Start Time"].InternalName;
string end_internal = collItems.List.Fields["End Time"].InternalName;
string MeetingRoom_Internal = collItems.List.Fields["Meeting Room"].InternalName;
string guid_internal = collItems.List.Fields["GUID"].InternalName;
//Get the query string parameters
string start_str = properties.AfterProperties[start_internal].ToString();
string end_str = properties.AfterProperties[end_internal].ToString();
string MeetingRoom_str = properties.AfterProperties[MeetingRoom_Internal].ToString();
string guid_str = properties.AfterProperties[guid_internal].ToString();
//Construct a CAML query
SPQuery query = new SPQuery();
//Create the CAML query string that checks to see if the booking we are attemping
//to change will overlap any existing bookings, OTHER THAN ITSELF
strQuery = string.Format(@"
<Where>
<And>
<And>
<Or>
<Or>
<And>
<Leq>
<FieldRef Name='EventDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{0}</Value>
</Leq>
<Gt>
<FieldRef Name='EndDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{0}</Value>
</Gt>
</And>
<And>
<Lt>
<FieldRef Name='EventDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{1}</Value>
</Lt>
<Geq>
<FieldRef Name='EndDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{1}</Value>
</Geq>
</And>
</Or>
<Or>
<And>
<Leq>
<FieldRef Name='EventDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{0}</Value>
</Leq>
<Geq>
<FieldRef Name='EndDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{1}</Value>
</Geq>
</And>
<And>
<Geq>
<FieldRef Name='EventDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{0}</Value>
</Geq>
<Leq>
<FieldRef Name='EndDate' />
<Value Type='DateTime' IncludeTimeValue='TRUE'>{1}</Value>
</Leq>
</And>
</Or>
</Or>
<Eq>
<FieldRef Name='Meeting_x0020_Room' />
<Value Type='Choice'>{2}</Value>
</Eq>
</And>
<Neq>
<FieldRef Name='GUID' />
<Value Type='GUID'>{3}</Value>
</Neq>
</And>
</Where>
<OrderBy>
<FieldRef Name='EventDate' />
</OrderBy>
", start_str, end_str, MeetingRoom_str, guid_str);
//Set the query string for the SPQuery object
query.Query = strQuery;
//Execute the query against the Calendar List
SPListItemCollection existing_events = calendar.GetItems(query);
//Check to see if the query returned any overlapping bookings
if (existing_events.Count > 0)
//Cancels the ItemAdd action and redirects to error page
properties.Cancel = true;
//Edit the error message that will display on the error page
properties.ErrorMessage += "This booking cannot be made because of one or more bookings in conflict. <BR><BR>";
//Here you can loop through the results of the query
//foreach (SPListItem oListItem in existing_events)
properties.ErrorMessage += "Please go back and schedule a new time.";
catch (Exception ex)
//Cancels the ItemAdd action and redirects to error page
properties.Cancel = true;
//Edit the error message that will display on the error page
properties.ErrorMessage = "Error looking for booking conflicts: " + ex.Message;Hi there,
Please verify the internal name of column which you have hardcoded in the code i.e
string start_internal = collItems.List.Fields["Start Time"].InternalName;
string end_internal = collItems.List.Fields["End Time"].InternalName;
I have used the Room reservation template from MSDN which has provided by MS under the code name of "Fantastic 40" along with below James Finn article.
http://www.codeproject.com/Articles/30983/SharePoint-Reservations
It worked for me for reservation. -
How to use java classes of DC1 in DC2
When I was trying to use a java-class from another DC, I stumbled into an error I didn't expect:
java.lang.NoClassDefFoundError: com/company/application/utils
This is what I did to get this far:
1. Created an empty Web Dynpro DC (DC1), to be used as a utilities library.
2. Added a Java class to the webdynpro project.
3. Added the class to a public part of type compilation.
4. Created a second Web Dynpro DC (DC2), which is supposed to consume the class from DC1.
5. Added a DC-usage relation, so that DC1 is in DC2's used DCs. In this usage-relation built-time and run-time were checked
5. Used DC1's class in DC2's component controller
6. Built both DCs and deployed them
7. Ran the application in DC2.
When I run the application, the application dumps a stack trace at the moment that and object is created based on the class in DC1.
Any idea how to get this working?Vincenzo, here is the real error message:
java.lang.IllegalAccessError: tried to access method nl.phoqus.pataut.Guid.getGuidString()Ljava/lang/String; from class nl.phoqus.pataut.PatientAuthorization
I have inserted a very simple GUID generator that I used in a previous project. Please find the class file below:
package nl.phoqus.pataut;
import java.util.Random;
public class Guid {
private static Guid guidFactory = new Guid();
static Random random = new Random();
* Allow global replacement of the GUID generator. Applications
* wishing to install their own GUID generators should sub-class
* Guid, override the getGuid() method, and use this method to
* install their generator.
public static void
setGuidImpl(Guid factory) {
guidFactory = factory;
* Return a GUID as a string.
public static String getString() {
return guidFactory.getGuidString();
* Return a GUID as a string. This is completely arbitrary, and
* returns the hexification of a random value followed by a
* timestamp.
protected String getGuidString() {
long rand = (random.nextLong() & 0x7FFFFFFFFFFFFFFFL) | 0x4000000000000000L;
return Long.toString(rand, 32) + Long.toString(System.currentTimeMillis()&0xFFFFFFFFFFFFFL, 32);
I'm calling the class using the following statements from the component controller of DC2:
Guid x = new Guid();
String y = x.getGuidString();
The component controller resides in package package nl.phoqus.pataut.
Would that be the problem? -
How to allow multiple output parameters in a user-defined service operation???
I have creating a self-defined service operation “LDAPAddUser” to connect to LDAP server to create user accounts. I want to get 2 output parameters after executing the operation. One is the result (Boolean data type) and one is the error message (String data type). However, since Java only support one return value in a method, it seems that only one output parameter can be returned. May I have the suggestion so that multiple parameters can be supported in this case? Here is the extracted code
In Java program,
public Boolean addUser(String url, String aName)
In file "component.xml",
<operation name="addUser" method="addUser" orchestrateable="true" anonymous-access="true">
<hint>Add a new user</hint>
<input-parameter name="url" type="java.lang.String" required="true" title="LDAP URL">
</input-parameter>
<input-parameter name="aName" type="java.lang.String" required="true" title="Admin Login Name">
</input-parameter>
<output-parameter name="Result" title="Result" type="java.lang.Boolean">
</output-parameter>
Besides the boolean return value, I want to get another return value (string data type). Any suggestion ?I've returned multiple values to LiveCycle by using a complex object as an intermediatory.
For example if I need to return two strings (firstName and lastName), I'll first build a single class (name) with two string attributes (private String firstName; private String LastName) and add getters and setters to my "name" class for each. My service class method will return an object of type "name".
for example public name mymethod(String GUID, String username, String password).......
Then in the component.xml you can return the two strings as long as you use the binding type "Bean":
<output-parameter name="firstName" title="First Name" binding-type="Bean" property="firstName">
</output-parameter>
<output-parameter name="lastName" title="Last Name" binding-type="Bean" property="lastName">
</output-parameter> -
Group calendars on 10.6.4 client machines no longer work with iCal Server
After updating 2 client machines to 10.6.4 I realized my group calendars no longer work in iCal.
I get "Server Responded With an Error" on all my group calendars, on both machines.
Preferences>Accounts>Server Path reveles the server path has reverted back to a GUID "/principals/_uids_/GUID string/" .
I change it back to "/principals/_uids_/wiki-GroupName/" and get it working again, but if I quit iCal and restart it again reverts back to the GUID.
I've trashed all calendars in ~/Library/Calendars, and the Prefs. I also tried "/principals/wikis/GroupName/", but again it reverts.
I booted to my 10.6.3 clone and have no problems with the group calendars there.
(I'm running 10.6.4 Server)
Is anyone else having this issue?
Any ideas?Are you asking for an example of how to use calendarservermanageprincipals? While the tool is designed to help you configure privileges on resources and locations, it works fine for users. So I created a new user in Workgroup Manager to represent my Marketing department's calendars. I named this user "sharedmarketing".
Then, I wanted to give staff read-only access to the calendar and give Marketing write access, so I executed these two commands:
sudo calendarservermanageprincipals --add-write-proxy groups:marketing users:sharedmarketing
sudo calendarservermanageprincipals --add-read-proxy groups:staff users:sharedmarketing
I then imported the content from the Marketing Wiki calendar into this calendar and that was it!
If I logged in directly to the sharedmarketing account (not necessary), and looked how the account was set to be delegated, it properly showed group names:
There is no way to configure it like this using the iCal GUI, and this was I always felt that the management of privileges was the biggest obstacle in setting up iCal Server in this proper, supported fashion.
Then, from the client, I can naturally access those group calendars:
This is SO much easier to setup and maintain as each user only needs to have their ONE iCal account configured and they can just add the necessary groups, which is WAY easier than supplying users with crazy wiki-calendar URLs. -
Some ADF pages are broken on old firefox browser in Linux OS
Hi all,
Recently few of the ADF pages in my area are reported to be broken in old firefox browser running on RHEL 5 64 bit OS.
Firefox version: 3.6.26 (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.26) Gecko/20120131 Oracle/3.6-1.0.1.el5_7 Firefox/3.6.26)
Triaging the issue I found that for all broken pages the page is refreshed again after complete load and URL for second load has a malformed escaped string appended which I suspect might be causing this issue.
URL for first load:
http://adc4120388.us.oracle.com:15227/em/faces/ai/ess/listSchedules?target=%2FFarm_WLS_SOA%2FWLS_SOA%2Fess_server1%2FESSAPP&type=scheduler_service&appContext=enabledApp&Adf-Rich-Message=true&unique=1362573084657&oracle.adf.view.rich.STREAM=emT:searchResults:schedulesTable&Adf-Page-Id=6&javax.faces.ViewState=!8wifg1j3&Adf-Window-Id=w1
URL for second load:
http://adc4120388.us.oracle.com:15227/em/faces/ai/ess/listSchedules?target=%2FFarm_WLS_SOA%2FWLS_SOA%2Fess_server1%2FESSAPP&type=scheduler_service&appContext=enabledApp&Adf-Rich-Message=true&unique=1362573084657&oracle.adf.view.rich.STREAM=emT:searchResults:schedulesTable&Adf-Page-Id=6&javax.faces.ViewState=!8wifg1j3&Adf-Window-Id=w1#!6%40%2Fai%2Fess%2FlistSchedules%40%3Ftarget%3D%252FFarm_WLS_SOA%252FWLS_SOA%252Fess_server1%252FESSAPP%26type%3Dscheduler_service%26appContext%3DenabledApp
Additional malformed string in second reload URL:
#!6%40%2Fai%2Fess%2FlistSchedules%40%3Ftarget%3D%252FFarm_WLS_SOA%252FWLS_SOA%252Fess_server1%252FESSAPP%26type%3Dscheduler_service%26appContext%3DenabledApp
Note that this happens only in the above mentioned firefox browser in Linux OS, this second reload was not happening in my windows latest firefox browser (v 15.0.1), and hence these pages were coming up fine.
Is this kind of behavior a known issue? Or any hints on what could be causing this second reload?
Thanks,
RahulHi,
you would need to file a service request with support and provide a test case for this problem to be analyzed by development. For this you need a support contract. Depending on the JDeveloper version you use, it may be that this old browser hasn't been tested. Also note that with 12c we probably start de-supporting old browsers like this.
Frank -
[CS3][JS] Uniquely identifying documents with common names - possible?
Hi!
Is there no way to refer directly to a document in app.documents when there are several documents with the same name open at the same time (located in different folders)?
I have tried to assign unique labels to the documents when opening them, but have not succeeded in referring to documents by their labels, only by name - and the name not being unique, I get just one document reference (the first).
I also tried using the documents.itemByRange function, supposedly returning an array of all documents in the range defined by the parameters sent to the function. However, sending in the same name in the "from" and "to" parameters, returned only one document:
app.documents.itemByRange('test.indd', 'test.indd').getElements().length
Result: 1
//(I would have expected to get both of them)
// Referring directly by the name:
app.documents.item('test.indd').getElements().length
Result: 1
// Checking the name of the documents by their indexes:
app.documents.item(0).name
Result: test.indd
app.documents.item(1).name
Result: test.indd
Do you really have to loop through all open documents and check their fullName to be able to uniquely identify a document if the names are not unique?
Kind regards,
Andreas JanssonHi Dave,
Make that three or four... ;)
Kris at Rorohiko created a method to get unique references to two
different documents with the same name. It's usable if you have the free
APID ToolAssistant version 1.0.44 or higher. (it doesn't need to be
licensed...)
Here's an excerpt from the reference manual:
The get doc GUID function is used as follows:
guid =
app.callExtension(0x90B6C,10008,document);
This function returns a GUID (Globally Unique Identifier) for a
document. This is a string of the form
{nnnnnnnn-nnnn-nnnnnnnnnnnnnnnnnnnn}
where all 'n' stand for a hexadecimal digit.
These GUID allow you to work with same-name documents that
are concurrently open without getting tangled in the confusion
that occurs when using resolve calls.
As long as a document is not moved from its original location on
disk, it will keep the same GUID. Two documents with the same
name but different paths will have different GUID.
Opening, closing, (re)saving to the same location will NOT
change the GUID.
Moving a document to another location will change the GUID.
The find open doc by GUID function is used as follows:
doc = app.callExtension(0x90B6C,10009,guid);
This function retrieves a reference to an already open document
based on its GUID string.
These GUID strings are unique and persistent and allow
persistent references to same-name documents without resolvelike
issues (but the documents are meant to be 'unmovable' i.e.
they cannot be renamed or moved to another folder). Once the
document is open, it can be retrieved via its GUID.
HTH,
Harbs -
Hi,
I am working on a scenario where in i need to raise alerts to business end users from mapping errors. The mapping errors occurs due to missing data in Idoc segments. I have tried using the control step in exception branch and posting a call to the Alert Category defined in ALRTCATDEF in the ABAP stack.
In the alert category, i have defined the container variables and used the following configurations in the long text -
Message ID : &SXMS_MSG_GUID&
Sender Service : &SXMS_FROM_SERVICE&
Sender Interface : &SXMS_FROM_INTERFACE&
Sender NameSpace : &SXMS_FROM_NAMESPACE&
Receiver Service : &SXMS_TO_SERVICE&
Receiver Interface : &SXMS_TO_INTERFACE&
Receiver Namespace : &SXMS_TO_NAMESPACE&
Adapter Error : &SXMS_TO_ADAPTER_ERRTXT&
Error Category : &SXMS_ERROR_CAT&
Error Code : &SXMS_ERROR_CODE&
However on mapping error, i get the alert message in the inbox with all the above fields blank. Even i am not getting the possible subsequent activities in the alert mail.
The client requires the details to be filled in case of mapping errors.
For your information, the above information is well filled in case of any adapter error or Network issues (ICM failure etc..).
I doubt that the data is unable to be filled in due to mapping being executed on the Java stack.
Please suggest.
Thanks,
AmitHi Amit,
I faced the same issue in one of my projects.
You canot get dynamic messages(Using container variables) with the long text option in your alert category.
You can do the following.
1) In the Exception branch, have a transformation step with source message as the source message in your actual mapping and target message as an abstartct interface(Name it as Alert_Variables(NOt mandataory to name it the same way) ) with one node and one child (of type string).
2) Have a mapping between your source message and your target Alert_Variables.
3) Write a UDF to get the concatenated text with all the variables you need and map to the target field.
//write your code here
String constant;
java.util.Map map;
map = container.getTransformationParameters();
constant = "Message GUID:"+(String) map.get(StreamTransformationConstants.MESSAGE_ID)+"\n"
+"Sender Party:"+(String) map.get(StreamTransformationConstants.SENDER_PARTY)+"\n"
+"Sender Service:"+(String) map.get(StreamTransformationConstants.SENDER_SERVICE)+"\n"
+"Sender Namespace:"+(String) map.get(StreamTransformationConstants.SENDER_NAMESPACE)+"\n"
+"Sender Interface:"+(String) map.get(StreamTransformationConstants.INTERFACE)+"\n"
+"\n"
+"Receiver Party:"+(String) map.get(StreamTransformationConstants.RECEIVER_PARTY)+"\n"
+"Receiver Service:"+(String) map.get(StreamTransformationConstants.RECEIVER_SERVICE)+"\n"
+"Receiver Namespace:"+(String) map.get(StreamTransformationConstants.RECEIVER_NAMESPACE)+"\n"
+"Receiver Interface:"+(String) map.get(StreamTransformationConstants.RECEIVER_NAME)+"\n"
+"\n";
return constant;
4) After the transformation step in your exception branch, you can have a container step to assign the value of the target node's child element(That was returned by the transformation step).
5) Have the control step to raise the alert category. The alert text should include only the container variable that holds the concatenated value of all the information.
6) Check the Dynamic text checkbox in your ALert category defined in your abap stack.
Regards,
Ravi Kanth Talagana -
Handling of this ADSVALUE type is not yet implemented
Hi,
I have setup an authentication source to import groups from our MS AD server. On running a job, I am getting the error below. The auth source does not pass a username/password since I am able to browse the AD anonymously. I was hoping I could get more details regarding the error via log4net but strangely, log4net is not generating a ADAWSLog.txt file (level=INFO).
Jul 7, 2006 5:07:04 PM- PTAuthSourceAgent::ProcessGroups: Call to retrieve the groups on this auth source failed. Please check that the authentication source server is online.
*** Exception: com.plumtree.server.impl.soap.OpenSoapException: Error in function AWSProvider.GetGroups (): Error in function SOAPEnvelope.Restore (arrayText == [B@864e43): SOAP fault: faultcode='soap:Server' faultstring='Server was unable to process request. --> Unable to create GUID string for group LDAP://server:389/path. Error message: Handling of this ADSVALUE type is not yet implemented (type = 0xb).: GetGroupsInternal error looping through results: GetGroupsInternal Error in GetGroups'
at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:371)
at com.plumtree.server.impl.users.providers.AWSProvider.GetGroups(AWSProvider.java:554)
at com.plumtree.automationserver.agents.PTAuthSourceAgent.ProcessGroups(PTAuthSourceAgent.java:857)
at com.plumtree.automationserver.agents.PTAuthSourceAgent.PerformOperation(PTAuthSourceAgent.java:266)
at com.plumtree.automationserver.shell.PTJobShell.perform(PTJobShell.java:628)
at com.plumtree.automationserver.shell.PTJobShell.runJob(PTJobShell.java:210)
at com.plu
mtree.automationserver.shell.PTJobShell.run(PTJobShell.java:100)
Caused by: com.plumtree.server.impl.soap.OpenSoapException: Error in function SOAPEnvelope.Restore (arrayText == [B@864e43): SOAP fault: faultcode='soap:Server' faultstring='Server was unable to process request. --> Unable to create GUID string for group LDAP://server:389/path. Error message: Handling of this ADSVALUE type is not yet implemented (type = 0xb).: GetGroupsInternal error looping through results: GetGroupsInternal Error in GetGroups'
at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:371)
at com.plumtree.server.impl.soap.SOAPEnvelope.Restore(SOAPEnvelope.java:68)
at com.plumtree.server.impl.webservice.PTWebService.Invoke(PTWebService.java:1017)
at com.plumtree.server.impl.webservice.PTWebService.Invoke(PTWebService.java:906)
at com.plumtree.server.impl.users.providers.AWSProvider.GetGroups(AWSProvider.java:547)
... 5 more
Caused by: com.plumtree.server.impl.soap.OpenSoapException: SOAP fault: faultcode='soap:Server' faultstring='Server was unable to process request. --> Unable to create GUID string for group LDAP://server:389/path. Error message: Handling of this ADSVALUE type is not yet implemented (type = 0xb).: GetGroupsInternal error looping through results: GetGroupsInternal Error in GetGroups'
at com.plumtree.server.impl.soap.SOAPParser.LoadInternal(SOAPParser.java:681)
at com.plumtree.server.impl.soap.SOAPParser.LoadBinary(SOAPParser.java:590)
at com.plumtree.server.impl.soap.SOAPEnvelope.Restore(SOAPEnvelope.java:65)
... 8 more
Jul 7, 2006 5:07:04 PM- *** Job Operation #1 failed: ProcessGroups failed(282610)
Jul 7, 2006 5:07:04 PM- Done with job operations.Have you solved this issue? I have the same error message, although all my servers are up, and pingable.
Thanks,
Dave -
Problem with Compression (Deflater & GZip)
Hi All,
I've large data as a String which I need to save in Oracle in VARCHAR2 column. As Varchar2 allows maximum of 4000 characters, I wish to compress this String and save in DB.
I tried to compress the String using Delfater and GZip. In both methods I uses Streams concep (DeflaterOutputStream, GZipOutputStream) and both Classes have the option to return the Compressed data in byte[] and String format.
When I returned in String format, the same String is giving error while decompressing "java.util.zip.ZipException: incorrect data check". How to solve this problem.
When I tried to save the compressed String in DB (Oracle),
initially I got the error "java.sql.SQLException: Malformed SQL92 string at position: 1109"
and later I tried to save like this 'strCompressed.replace("'","''") i.e., I replaced all single quotes to 2-single quotes and the error message is "java.sql.SQLException: ORA-00911: invalid character".
Is there any character to replace in the compressed String. and how to solve the problem with decompression.
Please help me in this.
Thanks in advance.
Regards
Pavan Pinnu.both Classes have the option to return the Compressed data in byte[] and String format.Don't do that. String is not a container for binary data. You can't use it for compressed data. Use the byte[], send the byte[] to the database, get it back from the database, uncompress it, and then turn that back into a String.
Maybe you are looking for
-
Audit Vault Installation problem on windows platform
Hello! I'm trying to install Audit Vault 10.2.2 on windows platform. The installation procedure is successfull (there are no alerts about errors during installation). The enterprise manager is working at http://localhost:1158/em without any problem.
-
local provider Qwest nstalled "Bing" onto my internet without my permission , and since then, i cant log into my Gmail acct. Wont recognize my name or PW. no log in for over 2 weeks now. Getting desperate. i have asked for help using online support d
-
/616 Add gross salary Issue
HI, We have an issue in /616 wage type (Add Gross salary) 1. How do we calculate /616 wage type value manually? 2. /616 wage type is difference between grass salary that including arrears payment i guess. but i don't know how do we calculate manually
-
Hi all, Im having a real problem capturing this tape. Basically a friend was over from the states with her camera and recored a wedding on mini dv NTSC Long Play mode. She has left me the tape so I can edit it for her and put onto DVD. I have tried t
-
How to add imort cash delivery duty to material cost
Dear Friends, The requirement is like this: We pay some import duties on cash on delivery basis. How could it be added to the material cost?We can not add it on PO as we get the invoice (like courrier charges) on delivery basis. Can we put it during