Not firing valueUnbound for HttpSessionBindingListener
Hi,
Having an application deployed in Websphere 5.1. When the session is created for a user, valueBound() is called properly. Session timeout has been set to 10 mins. On timeout, it is suppose to call the valueUnbound(). It was tested and found to be working fine in Tomecat 4.x. Is there any issue making use of HttpSessionBindingListener in websphere ?
Can anyone help in this regard ?
regards,
Pravash
Hey, its working fine after few minutes of the acutal time out. This is found in IBM site as a bug in Websphere, which needs to be fixed using a patch released by them.
However, there is a potential trouble, when the applicaion is deployed in a CLUSTERED environment. valueUnbound() is not getting invokded on session timeout. Can any one help me in understanding how the clustered environment works. I had a look at few documents in IBM sites but am not very clear of the stuffs.
regards,
Pravash
Similar Messages
-
Schema Trigger not firing except for the schema's user
Hi. I've created this schema level trigger. The schema is TTMS and the user I created the trigger with is named TTMS. The trigger is designed to alert me by email when someone alters a schema object.
My problem is that the trigger only fires when I'm logged in as the schema owner (TTMS). When I'm logged in as TTMS and add a column to a table in this schema I get the email alert as expected. But if I log in as my own individual username (SSBUECHL) the trigger doesn't fire.
Is there a privilege that the TTMS user needs to grant to my user so that this trigger will fire when I'm logged in as SSBUECHL? Any help would be greatly appreciated.
CREATE OR REPLACE TRIGGER TTMS.altered_ttms_tabs_trigger
AFTER ALTER ON ttms.SCHEMA
DECLARE
PSENDER VARCHAR2(200);
PRECIPIENT VARCHAR2(200);
P_CC_RECIPIENT VARCHAR2(200);
P_BCC_RECIPIENT VARCHAR2(200);
PSUBJECT VARCHAR2(200);
PMESSAGE VARCHAR2(6000);
auditTable_ind varchar2(1);
BEGIN
select nvl(count(table_name),0)
into auditTable_ind
from all_triggers
where substr(trigger_name,1,9) = upper('tr_audit#')
and table_name=ora_dict_obj_name;
if auditTable_ind > 0 then
INSERT INTO altered_tabs
VALUES
(ora_dict_obj_type, ora_dict_obj_name, SYSDATE, user);
PSENDER := '[email protected]';
PRECIPIENT := '[email protected]';
P_CC_RECIPIENT := '[email protected]';
P_BCC_RECIPIENT := '[email protected]';
PSUBJECT := 'TTMS Audit - Altered Audit Table Alert - Action Required';
PMESSAGE := ora_dict_obj_name||' was altered on '||sysdate||' by '||user||'. Please rebuild the audit index immediately.';
TTMS.SEND_MAIL ( PSENDER, PRECIPIENT, P_CC_RECIPIENT, P_BCC_RECIPIENT, PSUBJECT, PMESSAGE );
end if;
END;
/No, but I've alter the code as such and it still only fires for the TTMS user:
CREATE OR REPLACE TRIGGER TTMS.altered_ttms_tabs_trigger
AFTER ALTER ON ttms.SCHEMA
DECLARE
PSENDER VARCHAR2(200);
PRECIPIENT VARCHAR2(200);
P_CC_RECIPIENT VARCHAR2(200);
P_BCC_RECIPIENT VARCHAR2(200);
PSUBJECT VARCHAR2(200);
PMESSAGE VARCHAR2(6000);
auditTable_ind varchar2(1);
BEGIN
select nvl(count(table_name),0)
into auditTable_ind
from all_triggers
where substr(trigger_name,1,9) = upper('tr_audit#')
and table_name=ora_dict_obj_name;
if auditTable_ind > 0 then
*/ INSERT INTO altered_tabs
VALUES
(ora_dict_obj_type, ora_dict_obj_name, SYSDATE, user);
PSENDER := '[email protected]';
PRECIPIENT := '[email protected]';
P_CC_RECIPIENT := '[email protected]';
P_BCC_RECIPIENT := '[email protected]';
PSUBJECT := 'TTMS Audit - Altered Audit Table Alert - Action Required';
PMESSAGE := ora_dict_obj_name||' was altered on '||sysdate||' by '||user||'. Please rebuild the audit index immediately.';
TTMS.SEND_MAIL ( PSENDER, PRECIPIENT, P_CC_RECIPIENT, P_BCC_RECIPIENT, PSUBJECT, PMESSAGE );
-- end if;
END;
/Edited by: sharpe on Jun 9, 2011 3:39 PM -
Alert not firing for SQL Statement Script
Hi All,
I have defined an alter which will trigger when a requisition is stuck with the requestor.
At the time i need to send an email to the requestor and update the status of the requisition to 'INCOMPLETE'.
i have defined two action sets one for email and another for update. The email part is working fine but the sql script which updates the status is not firing.
It is a standard script residing in PO directory sql.
It has two parameters
1) Requisition number 2) org_id
these two are the output of the mail alert query.
i have defined the application as 'Puchasing'
arguments as &SQL_REQ_NUMBER &SQL_ORG_ID
and gave the file name 'poresreq.sql' in the file location.
but the status is not updating.
how can i know the reason for not firing.
Regards,
JanaHi Jana;
What is your EBS and OS? Did you run query manualy? Did you get any error message?
Regard
Helios -
Exit for batch no check not fired for Tr MFBF
hi. experts,
i'm new to abap.
i've to check the manually entered BATCH No. entered in Tr. MFBF and accordingly throw a error message for wrong entry on the first screen.
for this m using the exit SAPLV1ZE and its Function module EXIT_SAPLV01Z_004.
i've created a project in Tr. CMOD and have assigned this exit. also i've created the include given inside the function module. i've activated all.
But while i set a breakpoint there and try executing the transaction, the transaction doesnot stop at the specified break-point in debugger and hence the message doesnot get fired.
Plz help as to why the exit is not fired and why it doesnot stop in the debugger.try this XMRM0001 enhance ment in smod for mfbf.
NB : activate all the things.
regards
shiba dutta -
Shopping Cart Workflow - "Wait for change event" not firing?
Hi there,
I have a scenario where if I create a shopping cart above my spending limit it will go into the approver's inbox, that is fine.
Now if I change the total value of the shopping cart to be within my spending limit the original workflow should be "logically deleted" and a "no step approval workflow" should be triggered.
I see when the SC workflow triggers it also branches with a "wait for events", so that if it changes etc it will get caught here.
When I change the SC it does not do anything, the value of the cart changes but it still sits in the approvers inbox and the "no step approval workflow" does not trigger.
We are busy upgrading to SRM 5.0, it worked perfectly in the SRM 3.0 system we had.
Any ideas what would cause the "change event" not to fire?
Thanks for the help
LyntonHey Masa,
You are the man!! That solved it.....I have implemented the BBP_WFL_SECUR_BADI and for whatever reason I set the security level to 4 when it should have been 2.
4 "High" (workflow is never restarted when changes are made)
3 "Medium" (WF restarted conditionally when changes are made)
2 "Low" (workflow is always restarted when changes are made)
1 "None" (changes to the object are not allowed)
0 "Not defined"
Thanks for the help
Lynton -
Output--- automatic mail is not firing to sold to party.
Dear Gurus,
My client requirement is to sent mail to sold party when saving a sales order.
For this I creted a new output type with following assignments
In General data tab:acess sequence assigned and Access to conditions is checked
In Default values tab: Dispatch time(send immadiately), transmission medium(External send), partner function(Sp
),Communication strategy(CS01) assigned.
In Time tab: no information given
In Storage system tab :Storage mode(print and archive),Document type(SDOORDER) info given.
In Print tab: print parameters(sales org) assigned.
In mail tab: nothing assigned.
In sort order tab:nothing assigned
In mail title and texts: En and DE languages are assigned.
in processing routines: program and form routine is assgned.
in partner functions: External send+ SP is maintained.
and in condtion record maintained in VV11 tcode with details
Partner function and in communication assigned printer and selected check box print immadiately and release after out.
But automatic mail is not firing when saving the sales order, but in change sales order in menu bar selected sales document and issue output to and selected print then mail is firing to the sold to party, pls tell me where i had done the mistake.
Rgrads,
kishore.
Edited by: kishore gopala on Sep 13, 2008 1:42 PMCheck whether you have maintained the email address in the customer master of Sold to party in the General Data>Address Tab> Under Communication Area??
In the SCOT Transaction, check under SMTP (SMTP Mail Server)-->under INT (Internet) --> an '*' asterisk has been maintained or not.
Check the status of the email output in the Sales Order, is it showing with a green traffic light???
If it is showing with a green traffic light you can manually see the status of the mail mesages in Transaction SOST.(by executing, by putting the Sender Id)
If they have not gone you will be able to see them queued up there.
Select the individual messages and press execute button. By doing this email outputs will be released.
Hope this helps you.
Caution: One word of caution is that SCOT is a very critical transaction. And if you are working on a live server, do not play with it as it controls the entire SAPconnect Administration Nodes.
Hope this helps.
Regards,
Vivek -
WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION
We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
opening Copy Quote for this Form Personalization written.
For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
trigger-event: when-new-item-instance
Trigger-object:copy_group
condition:when copy_group='ALL'
Action: showing message.
The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
Just I am thinking this overriding by Item level trigger of form.
Please kindly help me quickly .What I need to do?
How can I make trigger to Fire?
Please kindly give solution.....Its very urgent Requirement.pls help me.
Regards,
BasavarajPlease kindly help me quickly .What I need to do?
> Please kindly give solution.....Its very urgent Requirement.pls help me.
Kindly log a SR for urgent issues.
Thanks,
Hussein -
WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION(R12 UPGRAD
We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
opening Copy Quote for this Form Personalization written.
For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
trigger-event: when-new-item-instance
Trigger-object:copy_group
condition:when copy_group='ALL'
Action: showing message.
The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
Just I am thinking this overriding by Item level trigger of form.
Please kindly help me quickly .What I need to do?
How can I make trigger to Fire?
Please kindly give solution.....Its very urgent Requirement.pls help me.
Regards,
BasavarajPlease kindly help me quickly .What I need to do?
> Please kindly give solution.....Its very urgent Requirement.pls help me.
Kindly log a SR for urgent issues.
Thanks,
Hussein -
Hi,
I have a custom visual web part that I've developed for SharePoint 2013 Foundation. I am using Visual Studio 2013 to develop this web part.
In my visual web part I have GridView that I use to update data in a SQL 2008 R@ Server Database. In dev and test the OnRowUpdatingEvent fires properly, but in production it does not. I have the same version of SharePoint running on dev/test/prod.
The main difference between the three environments is the hardware. Production has a much beefier sever than dev and test. Dev and test are also virtual machines where production is.
At first I thought my problem was cache related, and I made adjustments per this article:
http://www.dmcinfo.com/latest-thinking/blog/id/8657/fix-sharepoint-2013-distributed-cache-timeouts
That didn't help because the event is still not firing. I took my test application and pointed it to the production database, and that event still fires in test but not in production. So I believe that eliminates database permission errors since I'm
using the same credentials in both instances.
My guess is that I need to change some settings in the production environment, but I'm not sure at this point what that might be.
Any suggestions on what settings to look at?
Brian
Brian Hochgurtel
My blogTry this solution :
http://stackoverflow.com/questions/5893373/c-sharp-rowupdating-method-not-called-when-update-is-clicked-in-a-gridview -
I am working on an Oracle 10g database and am using Oracle Forms Developer 10g to create forms. I have created a new 2 field table in my database:
CREATE TABLE career_cluster
(career_cluster_code VARCHAR2(3) NOT NULL
,CONSTRAINT career_cluster_pk
PRIMARY KEY (career_cluster_code)
USING INDEX
TABLESPACE GALINDX
,career_cluster_desc VARCHAR2(30) NOT NULL
TABLESPACE galaxy;
I have also created a form so that users can enter data into this table. I have a career_cluster data block in my form with two items: career_cluster_code (set with a maximum length of 3 in my property palette) and career_cluster_desc (set with a maximum length of 30 in my property palette). Both items are also set in the property palettes to a char data type. In my SQL code (in the form) I always have these two items set as varchar2 with (3) and (30), respectively.
The form opens fine when I run it, however when I click on my SAVE button my KEY-COMMIT trigger is not fired -- it jumps directly to my ON-ERROR trigger and I get an Oracle ORA-06502 error message. I don't see any inconsistencies in my data types or lengths. Below is my KEY-COMMIT code:
DECLARE hold_item varchar2(30) := :system.cursor_item;
hold_record varchar2(10) := :system.cursor_record;
mess_name varchar2(80);
mess_text varchar2(80);
BEGIN
go_block('career_cluster');
if (error_code = 40202) then
goto end_of_trigger;
end if;
if :system.block_status = 'CHANGED' then null;
commit_form;
if FORM_SUCCESS then null;
mess_name := 'Transaction Complete';
mess_text := 'Career Cluster(s) committed to the database';
DISP_ALERT2(mess_text,mess_name);
end if;
else null;
mess_name := 'No changes to commit';
mess_text := 'No changes have been made to the Career Cluster Code Table';
DISP_ALERT2(mess_text,mess_name);
end if;
go_item(hold_item);
go_record(hold_record);
<<end_of_trigger>>
null;
END;
I put in a DISP_ALERT message right after the BEGIN statement but it never displayed so I don't think this trigger is firing. I also put a similar DISP_ALERT message in my ON-ERROR trigger and that does display, so I know it is going right to my ON-ERROR trigger. Does anyone have any ideas what might be triggering the ON-ERROR?
Thanks,
-NTWORA-06502 is a numeric or value error string which is raised when an arithmetic, numeric, string, conversion, or constraint error occurrs. For example, this error occurs if an attempt is made to assign the value NULL to a variable declared NOT NULL, or if an attempt is made to assign an integer larger than 99 to a variable declared NUMBER(2).
I would suggest you to look at the columns definitions in the table and the form fields/variables data types and lengths and make sure they are same as the backend table columns.
Also, you don't need to put NULL; after each IF ELSE conditions if you have any other statements.
I would also suggest that you handle any errors in either exception handler of the block or in the ON-ERROR triggers.
Try this:
DECLARE
hold_item varchar2(30) := :system.cursor_item;
hold_record varchar2(10) := :system.cursor_record;
mess_name varchar2(80);
mess_text varchar2(80);
BEGIN
GO_BLOCK('career_cluster');
IF :system.block_status = 'CHANGED' THEN
commit_form;
IF FORM_SUCCESS THEN
mess_name := 'Transaction Complete';
mess_text := 'Career Cluster(s) committed to the database';
DISP_ALERT2(mess_text,mess_name);
END IF;
ELSE
mess_name := 'No changes to commit';
mess_text := 'No changes have been made to the Career Cluster Code Table';
DISP_ALERT2(mess_text,mess_name);
END IF;
GO_RECORD(hold_record);
GO_ITEM(hold_item);
EXCEPTION
WHEN OTHERS THEN MESSAGE(TO_CHAR(ERROR_CODE)||'-'||ERROR_TEXT);
RAISE FORM_TRIGGER_FAILURE;
END; -
sharepoint document library incoming email without attachment not firing event and not getting email
If email contains attachment it works. Is there any setting in document library that will allow emails and eventhandler to fire with out attachment?
MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint LeadWhat is the purpose of email sent to document library if no attachment. What document library will do what that email if it cant find attachment to save and create a spdoc object. If you want to store email/communication body then opt for site mailbox
app.
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply. -
On New Instance computation not firing if user fails authorisation
Hi there,
In my Apex 4 application I have:
- An application-level field
- An On New Instance computation that computes the above field (no conditions or authorisations set on it)
- A public page
- A secure page to which the user I use to log in doesn't have access
If, after logging in, I go straight to the public page and then to the secure page, I get the error "user not authorised" but the application item is computed.
However, if I go straight to the secure page after logging in the application I get the error message but item is not computed! (I know that because I am displaying the item in the error page template using the format &F_FIELD.)
I thought On-New-Instance-Anything should always be executed.. but that does not seem to be the case... Or am I missing something?
How to fix this? I need the on new instance computation to always execute even if the user fails authorisation.
Thanks
Luis- If I understand you correctly, you are suggesting to move the application computation into the login page, as a page computation?An assignment statement in a PL/SQL process that runs after the login process could work, but it would be safer to use an application-level computation that fires only after APP_USER is definitely set to the authenticated username. The condition would be something like "if :MY_USER_ID_ITEM is null and :APP_USER not in ('nobody', 'HTMLDB_PUBLIC_USER','APEX_PUBLIC_USER','ANONYMOUS')...". Then your application will work if you decide not to have a login page someday, e.g., if you switch to SSO.
If the computation point is "after submit", why do I need to worry about "per session"? It will be fired only when the user enter/re-enter the system, right?Yes.
My logout URL was constructed by page wizard. I don't see any session id there. Should I look anywhere specific?If you still have problems with an on-new instance event not firing after a logout URL results in a new session being created let me know. It may be moot for this case.
Scott -
Hi all
We are seeing a strange problem in forms 10g R2. the when-new-item-instance trigger is firing only for the first time ou click on the item. subsequent clicks on the item from an another item does not fire this trigger. This trigger was firing all the time whenever you navigate to an item in 6i. Hs the behavior changed,
This is urgent any help is appreciated.
Rgds
Arvind BalaramanHi Grant
All the forms were initially created and run in AIX (6i patch 13).
We have migrated all these forms to 10g under Linux. The forms run on the users desktop which is XP. As a part of the upgrade we have recompiled all the forms.
Rgds
Arvind Balaraman -
Hi
I am new to SP.I written a code which is executed at back end succesfully but its not firing at front end.
I used this SP to restrict the user to change the unit price(Comes automatically from item master) for a particular item group in PO.its not showing the error message when i change the unit proce of PO.Can anyone suggest me on how to proceed?
CREATE proc dbo.SBO_SP_RESTRICTPRICE
@object_type nvarchar(25), -- SBO Object Type
@transaction_type nchar(1), -- [A]dd, pdate, [D]elete, [C]ancel, C[L]ose
@num_of_cols_in_key int,
@list_of_key_cols_tab_del nvarchar(255),
@list_of_cols_val_tab_del nvarchar(255)
AS
begin
-- Return values
declare @error int -- Result (0 for no error)
declare @error_message nvarchar (200) -- Error string to be displayed
select @error = 0
select @error_message = N'Ok'
IF(@object_type='22') and (@transaction_type IN ('A','U'))
begin
IF Exists(select T0.Price from POR1 T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode INNER JOIN ITM1 T2 ON T1.ItemCode = T2.ItemCode where T0.ItemCode = T1.ItemCode AND T1.ItmsGrpCod = '126' AND T0.Price <> T2.Price AND T0.DocEntry = @list_of_cols_val_tab_del)
Begin
SET @error = 30
SET @error_message =N'You are not authorized to change the price'
end
END
endHi Kamdasan,
Try this.
Insert this code in SBO_SP_TRANSACTIONNOTIFICATION
USE [Cmp_Test]
GO
/****** Object: StoredProcedure [dbo].[SBO_SP_TransactionNotification] Script Date: 06/23/2011 10:58:51 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER proc [dbo].[SBO_SP_TransactionNotification]
@object_type nvarchar(20), -- SBO Object Type
@transaction_type nchar(1), -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
@num_of_cols_in_key int,
@list_of_key_cols_tab_del nvarchar(255),
@list_of_cols_val_tab_del nvarchar(255)
AS
begin
-- Return values
declare @error int -- Result (0 for no error)
declare @error_message nvarchar (200) -- Error string to be displayed
select @error = 0
select @error_message = N'Ok'
-- ADD YOUR CODE HERE
IF (@object_type = '22') and (@transaction_type IN ('A', 'U'))
BEGIN
IF exists (SELECT T1.[Dscription], T4.[ItmsGrpNam], T4.[ItmsGrpCod], T3.[PriceList], T1.[Price]
FROM OPOR T0 INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode
INNER JOIN ITM1 T3 ON T2.ItemCode = T3.ItemCode
INNER JOIN OITB T4 ON T2.ItmsGrpCod = T4.ItmsGrpCod
INNER JOIN OPLN T5 ON T3.PriceList = T5.ListNum
WHERE T4.[ItmsGrpCod] = '130'
and T3.[PriceList] = 40
and T3.[Price] <> T1.[Price])
Begin
Select @error = -1,
@error_message ='You are not authorized to change Unit Price For This Item Group'
End
END
-- Select the return values
select @error, @error_message
end
Thanks
Malhaar -
Why checkboxlist selectedindexchanged event firing from within user control in Chrome or Firefox, but radiobuttonlist selectedindexchanged event not firing from chrome or Firefox?
Hi Ndogs,
For ASP.NET issue , please reopen a new post on the following forum:
http://forums.asp.net/
Regards,
Barry Wang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
How to get JSP to forward a request over SSL?
I'm new to JSP and servlets, although I've been working with Java for a long time. I'm trying to write a simple user registration and login system to teach myself JSP. I would like to set things up so that the user is able to login securely over http
-
Is it normal for a synch to take forever???
I have just got my Apple TV (yay). No problems connecting it all up and it displays beautifully on my 50" plasma. The only concern I have is that it looks like it is stuck synching the first item with my iTunes library. The first item that it decided
-
How do I get my apps downloaded to devices after original computer crashed.
my computer crashed and loaded new computer but it will no let me sink apps that I purchased and I cant deautherise the old one.
-
Superdrive MATSHITADVD-R UJ-815 Media
I have a Powerbook G4 with Superdrive UJ-815. I am having trouble finding DVD-R discs that work in this drive. Sometimes I get hardware error, and sometimes invalid media. Is there a recommeded DVD-R disc that proves reliable? Also, I found a URL tha
-
Building Universe Connection I get error CS: COM Provider CLSID not specifi
Can anyone help me with this error? I just installed Edge XIR3 and am trying to create a universe to a MS SQL 2005 server using an oledb connection. When I type in the credentials and test I get this error. CS: COM Provider CLSID not specified or err