Error when edit multiple records in a details table
Hi,
I have a requirement to provide forms like details table which allows user to add new rows or edit rows in the same page and same table.
My page is SetObjectivesPG under /oracle/apps/per/wpm/objectives/webui/
I embeded my custom region in the standard page which allows user to add or edit in same table like forms.
I can able to create mutlple records, and i'll save once I created all the records I want. But when I edit it is not allowing me to do multiple without committing each changes.
I'm getting the following error:
Unable to perform transaction on the record.
Cause: The record contains stale data. The record has been modified by another user.
Action: Cancel the transaction and re-query the record to get the new data.
Please give suggestions to solve this issue.
Thanks a lot in advance,
SAN
Hi,
Is there any specific reason that you are using 'Row.STATUS_NEW' ?
Comment that line and instead of that, write below line after setting all the values (i.e. after 'scorecardObjVO.getCurrentRow().setAttribute("StartDate", today);'):
newObjective.setNewRowState(Row.STATUS_INITIALIZED);
Check this and let me know if you are still facing the issue.
--Sushant
Similar Messages
-
MYSQL Error When Deleting multiple records
Folks,
I am finally converting my website from MS-Access to MySQL and until Monday I was having pretty good luck. However, I have come across a issue I cannot find any solution to and am wondering if one of you can assist.
When I try to delete a number of records using tgeh same commands that worked in Access, I get this error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e21'
ODBC driver does not support the requested properties.
/New_Site/Trade/Trade_Signup_Edit_Update.asp, line 34
This is the code:
Set adoCon2 = Server.CreateObject("ADODB.Connection") adoCon2.Open "DRIVER={MySQL ODBC 3.51 Driver}; SERVER=MySQLB1.webcontrolcenter.com;" &_ "DATABASE=pinotdays; UID=pinotdays; PASSWORD=********; OPTION=3" Set rsTrade_List = Server.CreateObject("ADODB.Recordset") strSQL = "SELECT * FROM Trade_List WHERE Entity_Number = " & request.form("ID") rsTrade_List.CursorType = 2 rsTrade_List.LockType = 3 rsTrade_List.Open strSQL, adoCon2 Set rsTrade_Delete = Server.CreateObject("ADODB.Recordset") StrSql = "DELETE * FROM Trade_List Where Parent_Entity_Number=" & request.form("ID") & " AND Entity_Number <> " & request.form("ID") rsTrade_Delete.CursorType = 2 rsTrade_Delete.LockType = 3 rsTrade_Delete.Open strSQL, adoCon2
The error occurs on the final line listed. Being new to MySQL, I thought I would change teh driver to 5.1 but that brought me nowhere. I used "SELECT" in the string and tried to do rsTrade_Delete.Delete and that did not work. I tried to delete a single record by selecting a ID=1 and that did not work.
So, is there a trick to deleting records in MySQL?
Thanks for your help....
Regards,
SteveStrSql = "DELETE * FROM Trade_List Where Parent_Entity_Number=" &
request.form("ID") & " AND Entity_Number <> " &
request.form("ID")
The DELETE statement for MySQL deletes entire rows. No need to specify fields (or all fields with the asterisk). In fact, that should probably result in a syntax error.
StrSql = "DELETE FROM Trade_List Where Parent_Entity_Number=" & request.form("ID") & " AND Entity_Number <> " & request.form("ID")
Mark A. Boyd
Keep-On-Learnin' :-) -
Short dump error when extracting delta records from R/3
I am working on BW 3.5 and I am facing some short dump error when extracting delta records from the r/3 to BW.
Below is the error message
Kindly do the needful ASAP.
Job started
Step 001 started (program SBIE0001, variant &0000000024277, user ID BWREMOTE)
Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
DATASOURCE = 0ISCM_PAYMENT_01
Current Values for Selected Profile Parameters *
abap/heap_area_nondia......... 2000000000 *
abap/heap_area_total.......... 2000000000 *
abap/heaplimit................ 40000000 *
zcsa/installed_languages...... DE *
zcsa/system_language.......... E *
ztta/max_memreq_MB............ 2047 *
ztta/roll_area................ 6500000 *
ztta/roll_extension........... 2000000000 *
2,454 LUWs confirmed and 2,454 LUWs to be deleted with function module RSC2_QOUT_CONFIRM_DAT
ABAP/4 processor: MESSAGE_TYPE_X
Job cancelledHi,
I look at the transaction ST22 to see which type of error has given you. Take a look at the notes to correct the error.
Another option is to look at OSS notes, because the error is giving you a standard extractor.
Greetings, -
I am evaluating Flash Builder 4.6. Windows 7 Ultimate x64
I am trying to go through the Flex in a week training series but I am getting a lot of the "Finding occurrences" errors when editing the mxml files.
The error:
An internal error occurred during: "Finding occurrences".
java.lang.NullPointerException
This error occurs almost every time an xml tag is edited.
I can dismiss the error window that pops up by hitting 'Enter' and can continue editing the .mxml file but the error keeps repeating.
I was getting this error in the Day 1 set of exercises but after awhile the errors just stopped.
Now that I have imported the Day 2 starter projects, the error has started again but is occurring on almost every keystroke when editing an xml tag/element!.
Anyone have any ideas how to correct this issue?Ok, I seemed to have found a solution/workaround for the error.
After importing the Day 2 starter projects, I did not exit and restart Flash Builder. After exiting/restarting Flash Builder, I can now edit the .mxml files without the annoying "Finding occurrences" errors. -
Can I run a Unix shell when insert some record on a specific table?
Can I run a Unix shell when insert some record on a specific table?
I need to run a Unix shell when a record be insert on a table. Is there a way in order to do that?
THanks,
Carlos.1. Make a backup of the extproc.c file in the c:\orant\rdbms80\extproc
directory.
2. Create a file called extern.c in the c:\orant\rdbms80\extproc directory.
The "extern.c" file :
#include <oci.h>
#define NullValue -1
#include<stdio.h>
#include<string.h>
long __declspec(dllexport) OutputString(context ,
path , path_ind ,
message , message_ind,
filemode , filemode_ind ,
len , len_ind )
char *path;
char *message;
char *filemode;
int len;
OCIExtProcContext *context;
short path_ind;
short message_ind;
short filemode_ind;
short len_ind;
FILE *file_handle;
int i ;
char str[3];
int value;
/* Check whether any parameter passing is null */
if (path_ind == OCI_IND_NULL || message_ind == OCI_IND_NULL ||
filemode_ind == OCI_IND_NULL || len_ind == OCI_IND_NULL ) {
text initial_msg = (text )"One of the Parameters Has a Null Value!!! ";
text *error_msg;
/* Allocate space for the error message text, and set it up.
We do not have to free this memory - PL/SQL will do that automatically. */
error_msg = OCIExtProcAllocCallMemory(context,
strlen(path) + strlen(initial_msg) + 1);
strcpy((char *)error_msg, (char *)initial_msg);
/*strcat((char *)error_msg, path); */
OCIExtProcRaiseExcpWithMsg(context, 20001, error_msg, 0);
/* OCIExtProcRaiseExcp(context, 6502); */
return 0;
/* Open the file for writing. */
file_handle = fopen(path, filemode);
/* Check for success. If not, raise an error. */
if (!file_handle) {
text initial_msg = (text )"Cannot Create file ";
text *error_msg ;
/* Allocate space for the error message text, and set it up.
We do not have to free this memory - PL/SQL will do that automatically. */
error_msg = OCIExtProcAllocCallMemory(context,
strlen(path) + strlen(initial_msg) + 1);
strcpy((char *)error_msg, (char *)initial_msg);
strcat((char *)error_msg, path);
OCIExtProcRaiseExcpWithMsg(context, 20001, error_msg, 0);
return 0;
i = 0;
while (i < len)
/* Read the hexadecimal value(1). */
str[0] = message;
i++;
/* Read the hexadecimal value(2). */
str[1] = message[i];
/* Convert the first byte to the binary value. */
if (str[0] > 64 && str[0] < 71)
str[0] = str[0] - 55;
else
str[0] = str[0] - 48;
/* Convert the second byte to the binary value. */
if (str[1] > 64 && str[1] < 71)
str[1] = str[1] - 55;
else
str[1] = str[1] - 48;
/* Convert the hex value to binary (first & second byte). */
value = str[0] * 16 + str[1];
/* Write the binary data to the binary file. */
fprintf(file_handle,"%c",value);
i++;
/* Output the string followed by a newline. */
/* fwrite(message,len,1,file_handle); */
/* Close the file. */
fclose(file_handle);
3. Use the make.bat available in the c:\orant\rdbms80\extproc directory. You
need to run vcvars32.bat file before running this batch file. This will
create a dll file.
4. Configure the tnsnames.ora and the listener.ora files.
The tnsnames.ora should contain the following entries.
extproc_connection_data.world =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = ORCL)
(CONNECT_DATA = (SID = extproc)
The listener.ora should contain the following entries.
# P:\ORANT\NET80\ADMIN\LISTENER.ORA Configuration File:p:\orant\net80\admin\listener.ora
# Generated by Oracle Net8 Assistant
LISTENER8 =
(ADDRESS = (PROTOCOL = TCP)(HOST = winnt_nsc)(PORT = 1521))
SID_LIST_LISTENER8=
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = winnt_nsc)
(SID_NAME = ORCL)
(SID_DESC =
(SID_NAME = extproc)
(PROGRAM = extproc)
5. Login from sqlplus and issue the following statements.
create library externProcedures as 'C:\orant\RDBMS80\EXTPROC\extern.dll';
Create or replace PROCEDURE OutputString(
p_Path IN VARCHAR2,
p_Message IN VARCHAR2,
p_mode in VARCHAR2,
p_NumLines IN BINARY_INTEGER) AS EXTERNAL
LIBRARY externProcedures
NAME "OutputString"
With context
PARAMETERS (CONTEXT,
p_Path STRING,
p_path INDICATOR,
p_Message STRING,
p_message INDICATOR,
p_mode STRING,
p_mode INDICATOR,
p_NumLines INT,
p_numlines INDICATOR);
This is the pl/sql block used to write the contents of the BLOB into a file.
Set serveroutput on before running it.
SQL> desc lob_tab;
Name Null? Type
C1 NUMBER
C2 BLOB
lob_tab is the table which contains the blob data.
declare
i1 blob;
len number;
my_vr raw(10000);
i2 number;
i3 number := 10000;
begin
-- get the blob locator
SELECT c2 INTO i1 FROM lob_tab WHERE c1 = 2;
-- find the length of the blob column
len := DBMS_LOB.GETLENGTH(i1);
dbms_output.put_line('Length of the Column : ' || to_char(len));
-- Read 10000 bytes at a time
i2 := 1;
if len < 10000 then
-- If the col length is < 10000
DBMS_LOB.READ(i1,len,i2,my_vr);
outputstring('p:\bfiles\ravi.bmp',rawtohex(my_vr),'wb',2*len);
-- You have to convert the data to rawtohex format. Directly sending the buffer
-- data will not work
-- That is the reason why we are sending the length as the double the size of the data read
dbms_output.put_line('Read ' || to_char(len) || 'Bytes');
else
-- If the col length is > 10000
DBMS_LOB.READ(i1,i3,i2,my_vr);
outputstring('p:\bfiles\ravi.bmp',rawtohex(my_vr),'wb',2*i3);
dbms_output.put_line('Read ' || to_char(i3) || ' Bytes ');
end if;
i2 := i2 + 10000;
while (i2 < len ) loop
-- loop till entire data is fetched
DBMS_LOB.READ(i1,i3,i2,my_vr);
dbms_output.put_line('Read ' || to_char(i3+i2-1) || ' Bytes ');
outputstring('p:\bfiles\ravi.bmp',rawtohex(my_vr),'ab',2*i3);
i2 := i2 + 10000 ;
end loop;
end; -
Error when inserting or changing in a sorted table
Hi Experts,
When i am executing a webdynpro application it says Error when inserting or changing in a sorted table. Can any one help for this.
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: GET_CATEGORY_LIST of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
Method: IF_COMPONENTCONTROLLER~GET_CATEGORY_LIST of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
Method: WDDOMODIFYVIEW of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP
Method: MODIFY_VIEW of program CL_WDR_VIEW===================CP
Method: DO_MODIFY_VIEW of program CL_WDR_CLIENT_COMPONENT=======CP
Method: DO_MODIFY_VIEW of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
in ST22
Object Definition
DATA: lo_node TYPE REF TO if_wd_context_node,
lo_node_info TYPE REF TO if_wd_context_node_info,
lo_element TYPE REF TO if_wd_context_element.
Additional Data declarations
DATA: lv_key TYPE string.
Get context node.
lo_node = wd_context->get_child_node( name = 'DROPDOWNLISTS' ).
lo_node_info = lo_node->get_node_info( ).
Call method to fetch the categories.
CALL METHOD cl_hap_wd_start_page_ui=>category_get_list
EXPORTING
add_on_application = add_on_application
IMPORTING
t_categories = lt_categories.
Append Default selection entry 'All'.
lw_category-category_id = '00000000'.
lw_category-category_name = 'All'.
APPEND lw_category TO lt_categories.
Sort table after appending the new entry.
SORT lt_categories ASCENDING.
Loop through the category list and populate key(category_id) value(category_name) pair for
LOOP AT lt_categories INTO lw_category.
lw_key_value-key = lw_category-category_id.
625 lw_key_value-value = lw_category-category_name.
>>>>> APPEND lw_key_value TO lt_key_values.------>Here it throws an error
627 CLEAR: lw_key_value, lw_category.
628 ENDLOOP.
629
630 * Bind the category key-value pair to the context attribute.
631 CALL METHOD lo_node_info->set_attribute_value_set
632 EXPORTING
633 name = 'CATEGORY_LIST'
634 value_set = lt_key_values.
635
636 * Make the entry 'All' as default selected.
637 CALL METHOD lo_node->set_attribute
638 EXPORTING
639 value = '00000000'
640 name = 'CATEGORY_LIST'.
641
642 ENDMETHOD.
643
644 method GET_EMPLOYEES.
645Hello Durga,
from the error what I understood is lt_key_values is a sorted table and you are trying append a new line to it. Incase of sorted table you need to use the INSERT statement and not the APPEND statement.
INSERT lw_key_value INTO table lt_key_values.
BR, Saravanan -
Inserting multiple records in to database table using webdynpro abap
Hi all,
I have created a username inputfield,a button and a table
with one coloumn.
If i enter names in the input field then the values should be
displayed in that table.
Even i have got the answer i am not able to insert
the values in to database(ztable) table.
i.e. only one value(1st) was inserted the second value was
not inserted ....
so kindly send me the coding to insert multiple records
into the database table......
by,
ranjithhi Ranjith,
If you want to insert multiple records from the webdynpro view table to database table then try the following code.
DATA lo_nd_tablenode TYPE REF TO if_wd_context_node.
DATA lo_el_tablenode TYPE REF TO if_wd_context_element.
DATA ls_tablenode TYPE wd_this->element_tablenode.
DATA it_tablenode LIKE STANDARD TABLE OF ls_tablenode.
navigate from <CONTEXT> to <tablenode> via lead selection
lo_nd_tablenode = wd_context->get_child_node( name = wd_this->wdctx_tablenode ).
get element via lead selection
lo_el_tablenode = lo_nd_tablenode->get_element( ).
get all declared attributes
lo_nd_tablenode->get_static_attributes_table(
IMPORTING
table = it_tablenode ).
MODIFY databasetablename FROM TABLE it_tablenode.
here it_tablenode is the internal table which holds the value from webdynpro view..
Regards,
Shamila. -
Locking multiple records in a database table at a time
Hi Experts,
I have a requirement to lock multiple records in the database table for writing. I have created lock object in SE11. But with this we have only 2 possibilities either lock entire table or lock a single record at a time.
My requirement is, i have table with key field PROJECTID. I want more than one project to be locked, but not the complete table. I dont have any other field in the table to compare.
Thanks in advance..
Regards,
AsrarHi ,
Try with FOR UPDATE in the SELECT sentence.
SELECT FOR UPDATE *
INTO Internal_Table
FROM Table
WHERE Conditions.
UPDATE "Table_name" FROM TABLE Internal_Table.
COMMIT WORK.
This sentence blocks only the records that satisfy of the WHERE conditions (not the entire table) and unlocks after commit work.
Hope this information is help to you.
Regards,
José -
ORA-01654 error message when inserting multiple records
Hello all,
I have a Test table with attributes TEST_ID, TEST_NAME, TEST_DATE, STATUS, and want to insert multiple records into this table based on user input form. If user select a value from the drop down list, and the number of records to insert into the Test table, the application should insert that many into the Test table with the same TEST_DATE, STATUS, but TEST_NAME should be the drop down list value + i (1....the number of inserted records). I manually created the form, and wrote a sql for the process.
For example if the user select MUSIC, 3 then data should look like this
TEST_ID TEST_NAME TEST_DATE STATUS
1 MUSIC1 04/06/2010 Y
2 MUSIC2 04/06/2010 Y
3 MUSIC3 04/06/2010 Y
I got the error ORA-01654: unable to extend index TEST_TOOL_ID.TEST_PK by 128 in table space FLOW_13120862905990037739.
The process query
DECLARE IDTEST NUMBER := 1;
BEGIN
WHILE (IDTEST < :P1_COUNT + 1) LOOP
INSERT INTO TEST ( TEST_NAME, TEST_DATE, STATUS )
VALUES ((:P1_TEST_NAME || ' ' ||IDTEST), SYSDATE, 'Y');
END LOOP;
END;
Here is the link to this application
http://apex.oracle.com/pls/apex/f?p=4000:1:3173416575551580::NO:RP:FB_FLOW_ID,F4000_P1_FLOW:32828,32828
Any help would be appreciated.
Thanks,
KarolineThis is the output i get when i change the getMessage with printStackTrace.
String getMessage() replaced with printStackTrace:
G:\studies\Chapter11\MakeDB.java:33: 'void' type not allowed here
System.out.println("Could not drop primary key on UserStocks table: "
^
G:\studies\Chapter11\MakeDB.java:43: 'void' type not allowed here
System.out.println("Could not drop UserStocks table: "
^
G:\studies\Chapter11\MakeDB.java:54: 'void' type not allowed here
System.out.println("Could not drop Users table: "
^
G:\studies\Chapter11\MakeDB.java:64: 'void' type not allowed here
System.out.println("Could not drop Stocks table: "
^
G:\studies\Chapter11\MakeDB.java:83: 'void' type not allowed here
System.out.println("Exception creating Stocks table: "
^
G:\studies\Chapter11\MakeDB.java:102: 'void' type not allowed here
System.out.println("Exception creating Users table: "
^
G:\studies\Chapter11\MakeDB.java:119: 'void' type not allowed here
System.out.println("Exception creating UserStocks table: "
^
G:\studies\Chapter11\MakeDB.java:133: 'void' type not allowed here
System.out.println("Exception creating UserStocks index: "
^
G:\studies\Chapter11\MakeDB.java:159: 'void' type not allowed here
System.out.println("Exception inserting user: "
^
9 errors
Tool completed with exit code 1 -
Error when deleting a record: "FRM-40202 Field must be entered"
Dear all, please I need your help in this little problem.
I am using Forms 10g , and I am having an issue when deleting a record at runtime. It is giving "FRM-40202 Field must be entered".
I have reviewed the code but still cannot guess what could be the reason.
Any idea please. Thanks
Edited by: user562674 on 02/05/2011 12:35 صHi
This error is caused due to the NOT NULL constraint u have in ur db for that item...
u have 2 options to use ...
1.Either u set the Required property of that item to > no
2.Or u give it an intial value...
To get ride of this error message...
Hope this helps...
Regards,
Ammatu Allah. -
Error when uploading multiple bank statement in ff_5.
Hi All,
I got below error when trying to upload multiple Electronic bank statement (BAI format) from presentation server on same day.
Acct 4126735166: Statement 00001 already exists; entry ignored.
I understood that there is already an entry in Table febko.
Note: I cannot change any data in the file before uploading.
Please let me know the way to resolve this issue.
Regads,
DastagirHi Pravin,
I cannot delete any records as the uploaded EBS has correct data.
The following scenario will be helpful to understand the issue clearly.
Suppose I uploaded one BAI format EBS for account number 4126735166 on today morning.
On same day evening I received another EBS file from the same bank for the same account number.
So when I tried to upload the second file for the same date, I get the following error.
Acct 4126735166: Statement 00001 already exists; entry ignored.
I understand that SAP Allows to upload only one EBS for a same Account number & same date.
Is there any other option to upload more than one EBS.
Regards,
Dastagir -
Error when the link is clicked for detail page
Hello I am creating pages using MySql and PHP with dream weaver. I created my master record set and detail page. the master record set works b but when you click the link to bring up the details page I get this error
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'name = 'Brandon' LIMIT 0, 10' at line 1"
Any help with guidance on trouble shooting error would be greatly appreciated.
David=====================================================Master page=============================================================
<?php require_once('Connections/Onantional.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
$currentPage = $_SERVER["PHP_SELF"];
$maxRows_Recordset1 = 10;
$pageNum_Recordset1 = 0;
if (isset($_GET['pageNum_Recordset1'])) {
$pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
$startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
mysql_select_db($database_Onantional, $Onantional);
$query_Recordset1 = "SELECT * FROM Roster";
$query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
$Recordset1 = mysql_query($query_limit_Recordset1, $Onantional) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
if (isset($_GET['totalRows_Recordset1'])) {
$totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
} else {
$all_Recordset1 = mysql_query($query_Recordset1);
$totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
$totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
$queryString_Recordset1 = "";
if (!empty($_SERVER['QUERY_STRING'])) {
$params = explode("&", $_SERVER['QUERY_STRING']);
$newParams = array();
foreach ($params as $param) {
if (stristr($param, "pageNum_Recordset1") == false &&
stristr($param, "totalRows_Recordset1") == false) {
array_push($newParams, $param);
if (count($newParams) != 0) {
$queryString_Recordset1 = "&" . htmlentities(implode("&", $newParams));
$queryString_Recordset1 = sprintf("&totalRows_Recordset1=%d%s", $totalRows_Recordset1, $queryString_Recordset1);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<table border="1" align="center">
<tr>
<td>First name</td>
<td>Last Name</td>
<td>Conference</td>
<td>email</td>
</tr>
<?php do { ?>
<tr>
<td><a href="details.php?recordID=<?php echo $row_Recordset1['First name']; ?>"> <?php echo $row_Recordset1['First name']; ?> </a> </td>
<td><?php echo $row_Recordset1['Last Name']; ?> </td>
<td><?php echo $row_Recordset1['Conference']; ?> </td>
<td><?php echo $row_Recordset1['email']; ?> </td>
</tr>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
</table>
<br />
<table border="0">
<tr>
<td><?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, 0, $queryString_Recordset1); ?>">First</a>
<?php } // Show if not first page ?>
</td>
<td><?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, max(0, $pageNum_Recordset1 - 1), $queryString_Recordset1); ?>">Previous</a>
<?php } // Show if not first page ?>
</td>
<td><?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, min($totalPages_Recordset1, $pageNum_Recordset1 + 1), $queryString_Recordset1); ?>">Next</a>
<?php } // Show if not last page ?>
</td>
<td><?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, $totalPages_Recordset1, $queryString_Recordset1); ?>">Last</a>
<?php } // Show if not last page ?>
</td>
</tr>
</table>
Records <?php echo ($startRow_Recordset1 + 1) ?> to <?php echo min($startRow_Recordset1 + $maxRows_Recordset1, $totalRows_Recordset1) ?> of <?php echo $totalRows_Recordset1 ?>
</body>
</html>
<?php
mysql_free_result($Recordset1);
?>
=====================================================end master ========================================================
========================================================details page=========================================================
<?php require_once('Connections/Onantional.php'); ?><?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
$maxRows_DetailRS1 = 10;
$pageNum_DetailRS1 = 0;
if (isset($_GET['pageNum_DetailRS1'])) {
$pageNum_DetailRS1 = $_GET['pageNum_DetailRS1'];
$startRow_DetailRS1 = $pageNum_DetailRS1 * $maxRows_DetailRS1;
$colname_DetailRS1 = "-1";
if (isset($_GET['recordID'])) {
$colname_DetailRS1 = $_GET['recordID'];
mysql_select_db($database_Onantional, $Onantional);
$query_DetailRS1 = sprintf("SELECT * FROM Roster WHERE First name = %s", GetSQLValueString($colname_DetailRS1, "text"));
$query_limit_DetailRS1 = sprintf("%s LIMIT %d, %d", $query_DetailRS1, $startRow_DetailRS1, $maxRows_DetailRS1);
$DetailRS1 = mysql_query($query_limit_DetailRS1, $Onantional) or die(mysql_error());
$row_DetailRS1 = mysql_fetch_assoc($DetailRS1);
if (isset($_GET['totalRows_DetailRS1'])) {
$totalRows_DetailRS1 = $_GET['totalRows_DetailRS1'];
} else {
$all_DetailRS1 = mysql_query($query_DetailRS1);
$totalRows_DetailRS1 = mysql_num_rows($all_DetailRS1);
$totalPages_DetailRS1 = ceil($totalRows_DetailRS1/$maxRows_DetailRS1)-1;
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<table border="1" align="center">
<tr>
<td>First name</td>
<td><?php echo $row_DetailRS1['First name']; ?> </td>
</tr>
<tr>
<td>Last Name</td>
<td><?php echo $row_DetailRS1['Last Name']; ?> </td>
</tr>
<tr>
<td>Conference</td>
<td><?php echo $row_DetailRS1['Conference']; ?> </td>
</tr>
<tr>
<td>email</td>
<td><?php echo $row_DetailRS1['email']; ?> </td>
</tr>
</table>
</body>
</html><?php
mysql_free_result($DetailRS1);
?> -
Error when starting JRA recording
Hello! I get an error when I try to use the JRARecordingStarter.
I'm running JBoss with a JRockit and set the -Xmanagement option. The management port is set to 7091.
Then I try
java -jar JraRecordingStarter.jar localhost 7091 d:/sednajra.xml 120
and it gives me the following error after a while:
Failed to start recording...
com.jrockit.common.rmp.JRockitNotAnRmpServerException: Handshaking with JRockit failed due to timeout waiting on server reply.
(Encapsulated exception: Connection lost to JRockit. Reason: RMP reply timed out for packet 'HELO'.)
at com.jrockit.console.connection.RmpConnection.handshake(RmpConnection.java:175)
at com.jrockit.console.connection.RmpConnection.<init>(RmpConnection.java:149)
at com.jrockit.jra.starter.JraConnectorModel.connect(JraConnectorModel.java:168)
at com.jrockit.jra.starter.JraRecordingStarter.main(JraRecordingStarter.java:63)
=== Encapsulated exception ===
com.jrockit.common.rmp.JRockitRmpPacketTimeOutException: Connection lost to JRockit. Reason: RMP reply timed out for packet 'HELO'.
at com.jrockit.console.connection.RmpConnection.getReplyPacket(RmpConnection.java:392)
at com.jrockit.console.connection.RmpConnection.sendRmpWithReply(RmpConnection.java:343)
at com.jrockit.console.connection.RmpConnection.handshake(RmpConnection.java:165)
at com.jrockit.console.connection.RmpConnection.<init>(RmpConnection.java:149)
at com.jrockit.jra.starter.JraConnectorModel.connect(JraConnectorModel.java:168)
at com.jrockit.jra.starter.JraRecordingStarter.main(JraRecordingStarter.java:63)
Do I make a mistake here?
Thanks!
stephanDon't bother... Version conflict. Updated jrockit and it works now.
-
Javascript error when editing an Event Template
I'm currently evaluating Adobe Connect to determine if it will work well for our company's webinars. As part of the evaluation, I attempted to create a custom event template. The first thing I did was to apply a custom background (using an image) to the template. The next thing I did was attempt to change the time zone from U.S./Michigan to U.S./Eastern. When the page refreshed, I got the error message included below. After that, every time I attempted to edit any template, I got the sam error message. I am accessing Adobe Connect using the Google Chrome browser Version 32.0.1700.107 m. I tried loggin in with Internet Explorer 9 version 9.0.8112.16421. At first, it seemed to work, but then I went to edit something in the catalog (adding a graphic), and, suddenly, I got the error again.
I tried to contact Support through chat, but they don't support trials. Can anyone help me with this issue?
Error during include of component '/apps/connect/components/eventlandingpage'
Error Message:
org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp
Processing Info:
Page
=
/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing
Resource Path
=
/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing/jcr:content
Cell
=
eventlandingpage
Cell Search Path
=
eventlandingpage|page
Component Path
=
/apps/connect/components/eventlandingpage
Sling Request Progress:
0 (2014-02-22 17:16:17) TIMER_START{Request Processing} 0 (2014-02-22 17:16:17) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message> 0 (2014-02-22 17:16:17) LOG Method=GET, PathInfo=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing.html 0 (2014-02-22 17:16:17) TIMER_START{ResourceResolution} 0 (2014-02-22 17:16:17) TIMER_END{0,ResourceResolution} URI=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing.html resolves to Resource=JcrNodeResource, type=cq:Page, superType=null, path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing 0 (2014-02-22 17:16:17) LOG Resource Path Info: SlingRequestPathInfo: path='/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing', selectorString='null', extension='html', suffix='null' 0 (2014-02-22 17:16:17) TIMER_START{ServletResolution} 0 (2014-02-22 17:16:17) TIMER_START{resolveServlet(JcrNodeResource, type=cq:Page, superType=null, path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing)} 0 (2014-02-22 17:16:17) TIMER_END{0,resolveServlet(JcrNodeResource, type=cq:Page, superType=null, path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing)} Using servlet /libs/foundation/components/primary/cq/Page/Page.jsp 0 (2014-02-22 17:16:17) TIMER_END{0,ServletResolution} URI=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing.html handled by Servlet=/libs/foundation/components/primary/cq/Page/Page.jsp 0 (2014-02-22 17:16:17) LOG Applying Requestfilters 0 (2014-02-22 17:16:17) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter 0 (2014-02-22 17:16:17) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter 0 (2014-02-22 17:16:17) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet 0 (2014-02-22 17:16:17) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter 0 (2014-02-22 17:16:17) LOG RedirectFilter did not redirect (MobileUtil.isMobileResource() returns false) 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter 0 (2014-02-22 17:16:17) LOG Applying Componentfilters 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter 0 (2014-02-22 17:16:17) TIMER_START{/libs/foundation/components/primary/cq/Page/Page.jsp#0} 0 (2014-02-22 17:16:17) LOG Including resource JcrNodeResource, type=connect/components/eventlandingpage, superType=null, path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing/jcr:content (SlingRequestPathInfo: path='/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing/jcr:content', selectorString='null', extension='html', suffix='null') 0 (2014-02-22 17:16:17) TIMER_START{resolveServlet(JcrNodeResource, type=connect/components/eventlandingpage, superType=null, path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing/jcr:content)} 0 (2014-02-22 17:16:17) TIMER_END{0,resolveServlet(JcrNodeResource, type=connect/components/eventlandingpage, superType=null, path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing/jcr:content)} Using servlet /libs/foundation/components/page/page.jsp 0 (2014-02-22 17:16:17) LOG Applying Includefilters 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter 0 (2014-02-22 17:16:17) TIMER_START{/libs/foundation/components/page/page.jsp#1} 0 (2014-02-22 17:16:17) LOG Including script head.jsp for path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing/jcr:content, type=connect/components/eventlandingpage: /apps/connect/components/page/head.jsp 0 (2014-02-22 17:16:17) TIMER_START{/apps/connect/components/page/head.jsp} 16 (2014-02-22 17:16:17) LOG SCRIPT ERROR: javax.servlet.ServletException: java.lang.Exception: unable to initialize connect properties 16 (2014-02-22 17:16:17) LOG SCRIPT ERROR: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp 16 (2014-02-22 17:16:17) TIMER_END{16,/libs/foundation/components/page/page.jsp#1} 16 (2014-02-22 17:16:17) LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html],order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=org.apache.sling.jcr.resource.JcrPropertyMap@139256bf), Config(type=mobiledebug, config=org.apache.sling.jcr.resource.JcrPropertyMap@aa7fc53), Config(type=contentsync, config=org.apache.sling.jcr.resource.JcrPropertyMap@36182d6f), serializer=Config(type=htmlwriter, config={}))} 16 (2014-02-22 17:16:17) TIMER_END{16,Request Processing} Dumping SlingRequestProgressTracker Entries
Full Exception:
org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:385) at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170) at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:456) at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500) at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64) at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:183) at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:150) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:257) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProcessorImpl.java:297) at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatcher.java:216) at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatcher.java:103) at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponentFilter.java:381) at org.apache.jsp.libs.foundation.components.primary.cq.Page.Page_jsp._jspService(Page_jsp.java:106) at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:420) at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter.java:59) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:233) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85) at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:453) at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358) at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170) at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:456) at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500) at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64) at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:147) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308) at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:257) at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64) at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:296) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:59) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:220) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:89) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServletStarterFilter.java:135) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcessorImpl.java:153) at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206) at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96) at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79) at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:238) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48) at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39) at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.java:250) at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315) at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334) at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:377) at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:351) at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:625) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:563) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:499) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443) at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter.java:59) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:233) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85) at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:453) at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358) ... 93 more Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: java.lang.Exception: unable to initialize connect properties at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:563) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:499) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443) at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter.java:59) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:233) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85) at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:453) at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358) at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170) at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:456) at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167) at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87) at org.apache.jsp.libs.foundation.components.page.page_jsp._jspx_meth_cq_005finclude_005f0(page_jsp.java:178) at org.apache.jsp.libs.foundation.components.page.page_jsp._jspService(page_jsp.java:148) at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:420) ... 98 more Caused by: java.lang.Exception: unable to initialize connect properties at org.apache.jsp.apps.connect.components.page.head_jsp._jspService(head_jsp.java:337) at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:420) ... 112 more Caused by: javax.jcr.PathNotFoundException: /content/connect/connectinfo at org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:192) at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361) at org.apache.jackrabbit.core.SessionImpl.getNode(SessionImpl.java:1109) at org.apache.jsp.apps.connect.components.page.head_jsp._jspService(head_jsp.java:328) ... 115 more
Day Communique 5 WCM Core Implementation / 5.5.6 ( (c) Day Management AG ) running on ApacheSling/2.2 (Day-Servlet-Engine/4.1.24, Java HotSpot(TM) 64-Bit Server VM 1.6.0_37, Windows Server 2008 R2 6.1 amd64)Hi tonua.carano,
As you mentioned that editing was working first time but after changing the template and then when you refreshed the page it shows error. So can you check the following steps and see if editing works -
1. Please ensure that the user should be member of Event Magnager group to edit the template.If the user who is getting error while editing is not a member of that group then please add this role to the user.
2. How are you changing the page background color ? There is component available in sidekick to change the page background. Are you using the same component ?
If still you are getting the same erro while editing the template with this user, then create a new user and provide this user Event Manager and Event Adminitrator group membership and try to edit the template using this user.
It should work fine and you should not get any error while editing. Please let me know if you face any issue.
Thanks,
Vikash Acharya -
Runtime Error when activating Comp Records
When trying to activate IT 0759 records in Comp to update Basic Pay, some employees received a Runtime Error. It states, "The exception CX_HRPA_VIOLATED_POSTCONDITION was raised, but it was not caught anywhere along the call hierarchy."
It says it was not caught in 'HR_ECM_INSERT_INFOTYPE' function.
Has anyone else seen this problem? It didn't happen for all employees.
Thanks!Hi guys,
Another reason for locked SPO's is:
The terrible attribute-change-run (ACR). When you try to activate a locked SPO, you only get a message like this:
Runtime Lock: Activity ACTIVATE_SPO, Object DATATARGET ZZZ
Unable to lock the semantically partitioned object
Error when activating Semantically Partitioned Object ZZZ
NO DTP request is running, so you can take all the day trying to find the error.
So in my case, there was an incomplete ACR (cancelled with error - red).
It's like a curse. It is not easy to find the relation between ACR an SPO activation process (SAP error message is not useful to identify the reason)
Finally, keep in mind:
Check any DTP request running or cancelled that affect your SPO model and
Check if you have an ACR (running or cancelled). This can lock your SPO object
regards!
Maybe you are looking for
-
Storage location determination.
Hi, I have one plant. and two stroage locations.In sto.loc 1 the total quantity is 100 and in sto.loc2 the total quantity is 50. so total quantity in the plant is 150. While iam creating the sales order for 120 quantity the system is confirming the q
-
Creative Cloud Installer won't install.
I've got a subscription to Photoshop CC and noticed that it doesn't appear to be up-to-date. I go to the Adobe website, to the downloads section, to see about manually downloading the latest version, but instead of getting a link to download Photosho
-
Where can I find the download link for Adobe Acrobat Installer DC? We bought the product as a program and not as a subscription. Thanks'
-
Can i delete all my cookies and still be able to access the websites some of the cookies came from
can i delete all my cookies and still be able to access the websites some of the cookies came from?
-
Synced Google Calendar with Ipod Calendar, but what about the other way?
Hello everyone, I have a ton of appointments on my Ipod Touch calendar. I decided to sync them with a brand new empty Google calendar. I followed these steps I found on the web to add the Google calendar to the Ipod Touch: Open the Settings appli