Reg : Checking for userLogin in each JSP using Filters
Hi,
To check for UserLogin in each JSP page i am using a filter.
1) -downloaded accessflt.jar
2) added the below in web.xml
<filter>
<filter-name>AccessFilter</filter-name>
<filter-class>com.cj.accessflt.AccessFilter</filter-class>
<init-param>
<param-name>attribute</param-name>
<param-value>OK</param-value>
</init-param>
<init-param>
<param-name>redirect</param-name>
<param-value>/index.jsp</param-value>
</init-param>
<init-param>
<param-name>except</param-name>
<param-value>/index.jsp</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>AccessFilter</filter-name>
<url-pattern>/faces/*.jsp</url-pattern>
</filter-mapping>
3) when User logged in Setting
session.setAttribute("OK","yes");
I am getting the below error
javax.servlet.jsp.JspException: Cannot find FacesContext
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:427)
at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:125)
Can anybody help me please,
i will appreciate your help.
Thanks,
Sudha.
Hi,
I am doing any fundamental mistake??
please anybody help or can u please tell me how to handle this situation
when user hits any JSP needs to check wether he logged in or not.
if he is not login needs to redirect to Login URL.
read the previous posts but i am not clear
please anybody help me
Thanks,
Arthi
Similar Messages
-
Availity Check for Customers and materials with useful life
Hello All,
Can anyone help me, about this issue . What i need to do to procedure to check availability for material and customers ?
I have a problem , all material have a expired date ( i work in a drink company) , and for this all products have a date limit for delivery (period of useful product life) , but this date it can be changed for each customer.
We have customer with one moth and another customer with differents (period of useful product life), and a priority for each customer.
Well when i check availability of material i need to have a control of this period of useful product life, in order to assign confirmed quantity for each customer.
Thanks
SebasYes products use batch funcionality and i have a new table for customer / product with useful product life.
For exemple :
Product XXX with 365 days for Total Shelf Life .
Have two customers with differents % of Total Shelf Life, customer AAA 33% and customer BBB 50%.
Result:
Customer AAA for product XXX need 120 days for availity Check
Customer BBB for product XXX need 183 days for availity Check
Where i could introduce search strategy for each customer ?
Do you know user exit i need to change for availity check , in order to introduce my new table.
Thanks a lot, for your help.
Sebas -
Reg : Issue for Sending of external email using SO_OBJECT_SEND
There is one issue while sending external email using SO_OBJECT_SEND functional module.
1. The body of the mail is also included as attachment.
I want to avoid the same.
Please anyone can give the solution.hi check this example ,
Sending mail with attachment report in Background
Content Author: Fernando Faian
I have read the hint about "Sending mail with attachment report".
It's great, but how can I make this function work in background??
I had that needed last year too. See attachment a function group with two functions. The second one has that functionality to send email or fax (SAP office) with attachment objects in background job using SO_ATTACHMENT_INSERT function.
Pay attention because its working with output list from spool converted to pdf.
=================================================================================
z_send_email_fax_global
FUNCTION-POOL z_gfaian_mail_fax. "MESSAGE-ID ..
WORK TABLE AREAS
TABLES: tsp01.
INTERNAL TABLES
DATA: lt_rec_tab LIKE STANDARD TABLE OF soos1 WITH HEADER LINE,
lt_note_text LIKE STANDARD TABLE OF soli WITH HEADER LINE,
lt_attachments LIKE STANDARD TABLE OF sood5 WITH HEADER LINE.
DATA: lt_objcont LIKE STANDARD TABLE OF soli WITH HEADER LINE,
lt_objhead LIKE STANDARD TABLE OF soli WITH HEADER LINE.
DATA: pdf_format LIKE STANDARD TABLE OF tline WITH HEADER LINE.
TYPES: BEGIN OF y_files,
file(60) TYPE c,
END OF y_files.
DATA: lt_files TYPE STANDARD TABLE OF y_files WITH HEADER LINE.
DATA: l_objcont LIKE soli OCCURS 0 WITH HEADER LINE.
DATA: l_objhead LIKE soli OCCURS 0 WITH HEADER LINE.
STRUCTURES
DATA: folder_id LIKE soodk,
object_id LIKE soodk,
link_folder_id LIKE soodk,
g_document LIKE sood4,
g_header_data LIKE sood2,
g_folmem_data LIKE sofm2,
g_header_data LIKE sood2,
g_receive_data LIKE soos6,
g_ref_document LIKE sood4,
g_new_parent LIKE soodk,
l_folder_id LIKE sofdk,
v_email(50).
DATA: hd_dat like sood1.
VARIABLES
DATA: client LIKE tst01-dclient,
name LIKE tst01-dname,
objtype LIKE rststype-type,
type LIKE rststype-type.
DATA: numbytes TYPE i,
arc_idx LIKE toa_dara,
pdfspoolid LIKE tsp01-rqident,
jobname LIKE tbtcjob-jobname,
jobcount LIKE tbtcjob-jobcount,
is_otf.
DATA: outbox_flag LIKE sonv-flag VALUE 'X',
store_flag LIKE sonv-flag,
delete_flag LIKE sonv-flag,
owner LIKE soud-usrnam,
on LIKE sonv-flag VALUE 'X',
sent_to_all LIKE sonv-flag,
g_authority LIKE sofa-usracc,
w_objdes LIKE sood4-objdes.
DATA: c_file LIKE rlgrap-filename,
n_spool(6) TYPE n.
DATA: cancel.
DATA: desired_type LIKE sood-objtp,
real_type LIKE sood-objtp,
attach_type LIKE sood-objtp,
otf LIKE sood-objtp VALUE 'OTF', " SAPscript Ausgabeformat
ali LIKE sood-objtp VALUE 'ALI'. " ABAP lists
CONSTANTS
CONSTANTS: ou_fol LIKE sofh-folrg VALUE 'O',
c_objtp LIKE g_document-objtp VALUE 'RAW',
c_file_ext LIKE g_document-file_ext VALUE 'TXT'.
=================================================================================
z_send_email_fax2
FUNCTION z_faian_mail_fax2.
""Interface local:
*" IMPORTING
*" REFERENCE(SRC_SPOOLID) LIKE TSP01-RQIDENT
*" REFERENCE(FAX_MAIL_NUMBER) TYPE SO_NAME
*" REFERENCE(HEADER_MAIL) TYPE SO_OBJ_DES
*" REFERENCE(OBJECT_TYPE) TYPE SO_ESCAPE
*" TABLES
*" LT_BODY_EMAIL STRUCTURE SOLI
*" EXCEPTIONS
*" ERR_NO_ABAP_SPOOLJOB
Fist part: Verify if the spool really exists
SELECT SINGLE * FROM tsp01 WHERE rqident = src_spoolid.
IF sy-subrc NE 0.
RAISE err_no_abap_spooljob. "doesn't exist
ELSE.
client = tsp01-rqclient.
name = tsp01-rqo1name.
CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
EXPORTING
authority = 'SP01'
client = client
name = name
part = 1
IMPORTING
type = type
objtype = objtype
EXCEPTIONS
fb_error = 1
fb_rsts_other = 2
no_object = 3
no_permission = 4
OTHERS = 5.
IF objtype(3) = 'OTF'.
desired_type = otf.
ELSE.
desired_type = ali.
ENDIF.
CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
EXPORTING
rqident = src_spoolid
desired_type = desired_type
IMPORTING
real_type = real_type
TABLES
buffer = l_objcont
EXCEPTIONS
no_such_job = 14
type_no_match = 94
job_contains_no_data = 54
no_permission = 21
can_not_access = 21
read_error = 54.
IF sy-subrc EQ 0.
attach_type = real_type.
ENDIF.
CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
EXPORTING
owner = sy-uname
region = ou_fol
IMPORTING
folder_id = l_folder_id
EXCEPTIONS
OTHERS = 5.
fill out informations about the header of the email
CLEAR: g_document.
g_document-foltp = l_folder_id-foltp.
g_document-folyr = l_folder_id-folyr.
g_document-folno = l_folder_id-folno.
g_document-objtp = c_objtp.
g_document-objdes = header_mail.
g_document-file_ext = c_file_ext.
g_header_data-objdes = header_mail.
CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
EXPORTING
method = 'SAVE'
office_user = sy-uname
IMPORTING
authority = g_authority
TABLES
objcont = lt_body_email
attachments = lt_attachments
CHANGING
document = g_document
header_data = g_header_data
EXCEPTIONS
OTHERS = 1.
folder_id-objtp = l_folder_id-foltp.
folder_id-objyr = l_folder_id-folyr.
folder_id-objno = l_folder_id-folno.
object_id-objtp = c_objtp.
object_id-objyr = g_document-objyr.
object_id-objno = g_document-objno.
link_folder_id-objtp = l_folder_id-foltp.
link_folder_id-objyr = l_folder_id-folyr.
link_folder_id-objno = l_folder_id-folno.
REFRESH lt_rec_tab.
CLEAR lt_rec_tab.
lt_rec_tab-sel = 'X'.
lt_rec_tab-recesc = object_type. "This field for FAX/MAIL
lt_rec_tab-recnam = 'U-'.
lt_rec_tab-deliver = 'X'.
lt_rec_tab-not_deli = 'X'.
lt_rec_tab-read = 'X'.
lt_rec_tab-mailstatus = 'E'.
lt_rec_tab-adr_name = fax_mail_number.
lt_rec_tab-sortfield = fax_mail_number.
lt_rec_tab-recextnam = fax_mail_number.
lt_rec_tab-sortclass = '5'.
APPEND lt_rec_tab.
lt_rec_tab-recextnam = fax_mail_number.
lt_rec_tab-recesc = object_type.
lt_rec_tab-sndart = 'INT'.
lt_rec_tab-sndpri = 1.
APPEND lt_rec_tab.
lt_files-file = c_file.
APPEND lt_files.
begin of insertion by faianf01
hd_dat-objdes = header_mail.
CALL FUNCTION 'SO_ATTACHMENT_INSERT'
EXPORTING
object_id = object_id
attach_type = attach_type
object_hd_change = hd_dat
owner = sy-uname
TABLES
objcont = l_objcont
objhead = l_objhead
EXCEPTIONS
active_user_not_exist = 35
communication_failure = 71
object_type_not_exist = 17
operation_no_authorization = 21
owner_not_exist = 22
parameter_error = 23
substitute_not_active = 31
substitute_not_defined = 32
system_failure = 72
x_error = 1000.
IF sy-subrc > 0.
ENDIF.
end of insertion by faianf01
send email from SAPOFFICE
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
folder_id = folder_id
object_id = object_id
outbox_flag = outbox_flag
link_folder_id = link_folder_id
owner = sy-uname
check_send_authority = 'X'
TABLES
receivers = lt_rec_tab
note_text = lt_note_text
EXCEPTIONS
active_user_not_exist = 35
communication_failure = 71
component_not_available = 1
folder_no_authorization = 5
folder_not_exist = 6
forwarder_not_exist = 8
object_no_authorization = 13
object_not_exist = 14
object_not_sent = 15
operation_no_authorization = 21
owner_not_exist = 22
parameter_error = 23
substitute_not_active = 31
substitute_not_defined = 32
system_failure = 72
too_much_receivers = 73
user_not_exist = 35.
ENDIF.
ENDFUNCTION.
=================================================================================
z_send_email_fax
FUNCTION ZCBFS_SEND_MAIL.
""Interface local:
*" IMPORTING
*" REFERENCE(SRC_SPOOLID) LIKE TSP01-RQIDENT
*" REFERENCE(HEADER_MAIL) TYPE SO_OBJ_DES
*" TABLES
*" LIST_FAX_MAIL_NUMBER STRUCTURE SOLI
*" EXCEPTIONS
*" ERR_NO_ABAP_SPOOLJOB
DATA: vg_achou(1) TYPE n.
Fist part: Verify if the spool really exists
vg_achou = 1.
DO 60 TIMES.
SELECT SINGLE * FROM tsp01 WHERE rqident = src_spoolid.
IF sy-subrc IS INITIAL.
CLEAR vg_achou.
EXIT.
ELSE.
WAIT UP TO 1 SECONDS.
ENDIF.
ENDDO.
IF vg_achou = 1.
RAISE err_no_abap_spooljob. "doesn't exist
ENDIF.
client = tsp01-rqclient.
name = tsp01-rqo1name.
CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
EXPORTING
authority = 'SP01'
client = client
name = name
part = 1
IMPORTING
type = type
objtype = objtype
EXCEPTIONS
fb_error = 1
fb_rsts_other = 2
no_object = 3
no_permission = 4
OTHERS = 5.
IF objtype(3) = 'OTF'.
desired_type = otf.
ELSE.
desired_type = ali.
ENDIF.
CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
EXPORTING
rqident = src_spoolid
desired_type = desired_type
IMPORTING
real_type = real_type
TABLES
buffer = l_objcont
EXCEPTIONS
no_such_job = 14
type_no_match = 94
job_contains_no_data = 54
no_permission = 21
can_not_access = 21
read_error = 54.
IF sy-subrc EQ 0.
attach_type = real_type.
ENDIF.
CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
EXPORTING
owner = sy-uname
region = ou_fol
IMPORTING
folder_id = l_folder_id
EXCEPTIONS
OTHERS = 5.
fill out informations about the header of the email
CLEAR: g_document.
g_document-foltp = l_folder_id-foltp.
g_document-folyr = l_folder_id-folyr.
g_document-folno = l_folder_id-folno.
g_document-objtp = c_objtp.
g_document-objdes = header_mail.
g_document-file_ext = c_file_ext.
g_header_data-objdes = header_mail.
CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
EXPORTING
method = 'SAVE'
office_user = sy-uname
IMPORTING
authority = g_authority
TABLES
attachments = lt_attachments
CHANGING
document = g_document
header_data = g_header_data
EXCEPTIONS
OTHERS = 1.
folder_id-objtp = l_folder_id-foltp.
folder_id-objyr = l_folder_id-folyr.
folder_id-objno = l_folder_id-folno.
object_id-objtp = c_objtp.
object_id-objyr = g_document-objyr.
object_id-objno = g_document-objno.
link_folder_id-objtp = l_folder_id-foltp.
link_folder_id-objyr = l_folder_id-folyr.
link_folder_id-objno = l_folder_id-folno.
REFRESH lt_rec_tab.
LOOP AT LIST_FAX_MAIL_NUMBER.
lt_rec_tab-recextnam = LIST_FAX_MAIL_NUMBER-LINE.
lt_rec_tab-recesc = 'U'.
lt_rec_tab-sndart = 'INT'.
lt_rec_tab-sndpri = 1.
APPEND lt_rec_tab.
ENDLOOP.
lt_files-file = c_file.
APPEND lt_files.
hd_dat-objdes = header_mail.
CALL FUNCTION 'SO_ATTACHMENT_INSERT'
EXPORTING
object_id = object_id
attach_type = attach_type
object_hd_change = hd_dat
owner = sy-uname
TABLES
objcont = l_objcont
objhead = l_objhead
EXCEPTIONS
active_user_not_exist = 35
communication_failure = 71
object_type_not_exist = 17
operation_no_authorization = 21
owner_not_exist = 22
parameter_error = 23
substitute_not_active = 31
substitute_not_defined = 32
system_failure = 72
x_error = 1000.
IF sy-subrc > 0.
ENDIF.
send email from SAPOFFICE
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
folder_id = folder_id
object_id = object_id
outbox_flag = outbox_flag
link_folder_id = link_folder_id
owner = sy-uname
TABLES
receivers = lt_rec_tab
note_text = lt_note_text
EXCEPTIONS
active_user_not_exist = 35
communication_failure = 71
component_not_available = 1
folder_no_authorization = 5
folder_not_exist = 6
forwarder_not_exist = 8
object_no_authorization = 13
object_not_exist = 14
object_not_sent = 15
operation_no_authorization = 21
owner_not_exist = 22
parameter_error = 23
substitute_not_active = 31
substitute_not_defined = 32
system_failure = 72
too_much_receivers = 73
user_not_exist = 35.
ENDFUNCTION.
=================================================================================
regards,
venkat. -
Approaches for Prepopulating dropdowns in Jsp using struts.
Hi,
I'm having a functionality working of pre-populating dropdowns using struts like:
ArrayList list = getRoles(); //This method will return list of roles
request.setAttribute("roles", list);
By setting this collection in the request it will be availbel to <html:select and <html:options> tags for pre-populating. My question here is do we need to set the list (that is to be displayed in the JSP) in request scope deliberately, or there are other better approaches as well to do the same, like using expression language and accessing the method directly.
Thanks,
Prashant.Why dont you use ActionForm.
declare a private variable
//variable
private List roles=null;
//methods
public List getRoles();
public void setRoles(List roles);and in ActionClass
ArrayList list = getRoles(); //This method will return list of roles
form.setRoles(list);This collection object will be available in the jsp forwarded from that action in the scope specified in the struts-config.
then use
<html:select>
<html:options collection="roles" labelProperty="name" property="id" />
</html:select> -
How to check for physical damage on a disk using the Command Line
I have a startup disk that I suspect of physical damage. The symptoms is that the server (10.4.7) would "hang" randomly, about once a day. I have already changed it and restored from a backup, and now everything is fine. However just out of curiosity are there any command line utilities to do a physical surface scan of the drive, like TechTool Pro but included in Mac OS X Tiger?
G4 Dual 1.42 Ghz Mac OS X (10.4.6)Extract from the Command Line Guide for Tiger Server:
Checking for Disk Problems
You can use the diskutil or fsck command (fsck_hfs for HFS volumes) to check the physical condition and file system integrity of a volume. For more information, see the related man pages.
MacBook Pro Mac OS X (10.4.7) -
Failed preliminary checks for Oracle Real Application Cluster 12C.
Hi, all. Please, help to investigate and solve. Thanks.
[grid@orac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n orac1,orac2 -fixup -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "orac1"
Destination Node Reachable?
orac1 yes
orac2 yes
Result: Node reachability check passed from node "orac1"
Checking user equivalence...
Check: User equivalence for user "grid"
Node Name Status
orac2 passed
orac1 passed
Result: User equivalence check passed for user "grid"
Checking node connectivity...
Checking hosts config file...
Node Name Status
orac1 passed
orac2 passed
Verification of the hosts config file successful
Interface information for node "orac1"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
eth0 10.154.137.101 10.154.137.0 0.0.0.0 10.0.4.2 08:00:27:28:D1:1F 1500
eth1 10.154.138.101 10.154.138.0 0.0.0.0 10.0.4.2 08:00:27:51:E8:B9 1500
eth2 10.0.4.15 10.0.4.0 0.0.0.0 10.0.4.2 08:00:27:5B:D7:29 1500
Interface information for node "orac2"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
eth0 10.154.137.102 10.154.137.0 0.0.0.0 10.0.4.2 08:00:27:7F:C8:70 1500
eth1 10.154.138.102 10.154.138.0 0.0.0.0 10.0.4.2 08:00:27:9D:27:D8 1500
eth2 10.0.4.15 10.0.4.0 0.0.0.0 10.0.4.2 08:00:27:6E:92:43 1500
Check: Node connectivity of subnet "10.154.137.0"
Source Destination Connected?
orac1[10.154.137.101] orac2[10.154.137.102] yes
Result: Node connectivity passed for subnet "10.154.137.0" with node(s) orac1,orac2
Check: TCP connectivity of subnet "10.154.137.0"
Source Destination Connected?
orac1:10.154.137.101 orac2:10.154.137.102 failed
ERROR:
PRVF-7617 : Node connectivity between "orac1 : 10.154.137.101" and "orac2 : 10.154.137.102" failed
Result: TCP connectivity check failed for subnet "10.154.137.0"
Check: Node connectivity of subnet "10.154.138.0"
Source Destination Connected?
orac1[10.154.138.101] orac2[10.154.138.102] yes
Result: Node connectivity passed for subnet "10.154.138.0" with node(s) orac1,orac2
Check: TCP connectivity of subnet "10.154.138.0"
Source Destination Connected?
orac1:10.154.138.101 orac2:10.154.138.102 failed
ERROR:
PRVF-7617 : Node connectivity between "orac1 : 10.154.138.101" and "orac2 : 10.154.138.102" failed
Result: TCP connectivity check failed for subnet "10.154.138.0"
Check: Node connectivity of subnet "10.0.4.0"
Source Destination Connected?
orac1[10.0.4.15] orac2[10.0.4.15] yes
Result: Node connectivity passed for subnet "10.0.4.0" with node(s) orac1,orac2
Check: TCP connectivity of subnet "10.0.4.0"
Source Destination Connected?
orac1:10.0.4.15 orac2:10.0.4.15 failed
ERROR:
PRVF-7617 : Node connectivity between "orac1 : 10.0.4.15" and "orac2 : 10.0.4.15" failed
Result: TCP connectivity check failed for subnet "10.0.4.0"
Interfaces found on subnet "10.0.4.0" that are likely candidates for VIP are:
orac1 eth2:10.0.4.15
orac2 eth2:10.0.4.15
WARNING:
Could not find a suitable set of interfaces for the private interconnect
Checking subnet mask consistency...
Subnet mask consistency check passed for subnet "10.154.137.0".
Subnet mask consistency check passed for subnet "10.154.138.0".
Subnet mask consistency check passed for subnet "10.0.4.0".
Subnet mask consistency check passed.
ERROR:
PRVG-1172 : The IP address "10.0.4.15" is on multiple interfaces "eth2,eth2" on nodes "orac2,orac1"
Result: Node connectivity check failed
Checking multicast communication...
Checking subnet "10.154.137.0" for multicast communication with multicast group "224.0.0.251"...
PRVG-11138 : Interface "10.154.137.101" on node "orac1" is not able to communicate with interface "10.154.137.101" on node "orac1" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.154.137.101" on node "orac1" is not able to communicate with interface "10.154.137.102" on node "orac2" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.154.137.102" on node "orac2" is not able to communicate with interface "10.154.137.101" on node "orac1" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.154.137.102" on node "orac2" is not able to communicate with interface "10.154.137.102" on node "orac2" over multicast group "224.0.0.251"
Checking subnet "10.154.138.0" for multicast communication with multicast group "224.0.0.251"...
PRVG-11138 : Interface "10.154.138.101" on node "orac1" is not able to communicate with interface "10.154.138.101" on node "orac1" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.154.138.101" on node "orac1" is not able to communicate with interface "10.154.138.102" on node "orac2" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.154.138.102" on node "orac2" is not able to communicate with interface "10.154.138.101" on node "orac1" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.154.138.102" on node "orac2" is not able to communicate with interface "10.154.138.102" on node "orac2" over multicast group "224.0.0.251"
Checking subnet "10.0.4.0" for multicast communication with multicast group "224.0.0.251"...
PRVG-11138 : Interface "10.0.4.15" on node "orac1" is not able to communicate with interface "10.0.4.15" on node "orac1" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.0.4.15" on node "orac1" is not able to communicate with interface "10.0.4.15" on node "orac2" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.0.4.15" on node "orac2" is not able to communicate with interface "10.0.4.15" on node "orac1" over multicast group "224.0.0.251"
PRVG-11138 : Interface "10.0.4.15" on node "orac2" is not able to communicate with interface "10.0.4.15" on node "orac2" over multicast group "224.0.0.251"
Checking ASMLib configuration.
Node Name Status
orac1 passed
orac2 passed
Result: Check for ASMLib configuration passed.
Check: Total memory
Node Name Available Required Status
orac2 5.714GB (5991520.0KB) 4GB (4194304.0KB) passed
orac1 5.714GB (5991520.0KB) 4GB (4194304.0KB) passed
Result: Total memory check passed
Check: Available memory
Node Name Available Required Status
orac2 5.2293GB (5483324.0KB) 50MB (51200.0KB) passed
orac1 5.1456GB (5395600.0KB) 50MB (51200.0KB) passed
Result: Available memory check passed
Check: Swap space
Node Name Available Required Status
orac2 6.125GB (6422520.0KB) 5.714GB (5991520.0KB) passed
orac1 6.125GB (6422520.0KB) 5.714GB (5991520.0KB) passed
Result: Swap space check passed
Check: Free disk space for "orac2:/usr,orac2:/var,orac2:/etc,orac2:/sbin,orac2:/tmp"
Path Node Name Mount point Available Required Status
/usr orac2 / 37.8398GB 1.0635GB passed
/var orac2 / 37.8398GB 1.0635GB passed
/etc orac2 / 37.8398GB 1.0635GB passed
/sbin orac2 / 37.8398GB 1.0635GB passed
/tmp orac2 / 37.8398GB 1.0635GB passed
Result: Free disk space check passed for "orac2:/usr,orac2:/var,orac2:/etc,orac2:/sbin,orac2:/tmp"
Check: Free disk space for "orac1:/usr,orac1:/var,orac1:/etc,orac1:/sbin,orac1:/tmp"
Path Node Name Mount point Available Required Status
/usr orac1 / 32.4382GB 1.0635GB passed
/var orac1 / 32.4382GB 1.0635GB passed
/etc orac1 / 32.4382GB 1.0635GB passed
/sbin orac1 / 32.4382GB 1.0635GB passed
/tmp orac1 / 32.4382GB 1.0635GB passed
Result: Free disk space check passed for "orac1:/usr,orac1:/var,orac1:/etc,orac1:/sbin,orac1:/tmp"
Check: User existence for "grid"
Node Name Status Comment
orac2 passed exists(1100)
orac1 passed exists(1100)
Checking for multiple users with UID value 1100
Result: Check for multiple users with UID value 1100 passed
Result: User existence check passed for "grid"
Check: Group existence for "oinstall"
Node Name Status Comment
orac2 passed exists
orac1 passed exists
Result: Group existence check passed for "oinstall"
Check: Group existence for "dba"
Node Name Status Comment
orac2 passed exists
orac1 passed exists
Result: Group existence check passed for "dba"
Check: Membership of user "grid" in group "oinstall" [as Primary]
Node Name User Exists Group Exists User in Group Primary Status
orac2 yes yes yes yes passed
orac1 yes yes yes yes passed
Result: Membership check for user "grid" in group "oinstall" [as Primary] passed
Check: Membership of user "grid" in group "dba"
Node Name User Exists Group Exists User in Group Status
orac2 yes yes yes passed
orac1 yes yes yes passed
Result: Membership check for user "grid" in group "dba" passed
Check: Run level
Node Name run level Required Status
orac2 5 3,5 passed
orac1 5 3,5 passed
Result: Run level check passed
Check: Hard limits for "maximum open file descriptors"
Node Name Type Available Required Status
orac2 hard 4096 65536 failed
orac1 hard 4096 65536 failed
Result: Hard limits check failed for "maximum open file descriptors"
Check: Soft limits for "maximum open file descriptors"
Node Name Type Available Required Status
orac2 soft 1024 1024 passed
orac1 soft 4096 1024 passed
Result: Soft limits check passed for "maximum open file descriptors"
Check: Hard limits for "maximum user processes"
Node Name Type Available Required Status
orac2 hard 46654 16384 passed
orac1 hard 46654 16384 passed
Result: Hard limits check passed for "maximum user processes"
Check: Soft limits for "maximum user processes"
Node Name Type Available Required Status
orac2 soft 1024 2047 failed
orac1 soft 1024 2047 failed
Result: Soft limits check failed for "maximum user processes"
Check: System architecture
Node Name Available Required Status
orac2 x86_64 x86_64 passed
orac1 x86_64 x86_64 passed
Result: System architecture check passed
Check: Kernel version
Node Name Available Required Status
orac2 2.6.32-279.el6.x86_64 2.6.32 passed
orac1 2.6.32-279.el6.x86_64 2.6.32 passed
Result: Kernel version check passed
Check: Kernel parameter for "semmsl"
Node Name Current Configured Required Status Comment
orac1 250 250 250 passed
orac2 250 250 250 passed
Result: Kernel parameter check passed for "semmsl"
Check: Kernel parameter for "semmns"
Node Name Current Configured Required Status Comment
orac1 32000 32000 32000 passed
orac2 32000 32000 32000 passed
Result: Kernel parameter check passed for "semmns"
Check: Kernel parameter for "semopm"
Node Name Current Configured Required Status Comment
orac1 100 100 100 passed
orac2 100 100 100 passed
Result: Kernel parameter check passed for "semopm"
Check: Kernel parameter for "semmni"
Node Name Current Configured Required Status Comment
orac1 128 128 128 passed
orac2 128 128 128 passed
Result: Kernel parameter check passed for "semmni"
Check: Kernel parameter for "shmmax"
Node Name Current Configured Required Status Comment
orac1 4398046511104 4398046511104 3067658240 passed
orac2 4398046511104 4398046511104 3067658240 passed
Result: Kernel parameter check passed for "shmmax"
Check: Kernel parameter for "shmmni"
Node Name Current Configured Required Status Comment
orac1 4096 4096 4096 passed
orac2 4096 4096 4096 passed
Result: Kernel parameter check passed for "shmmni"
Check: Kernel parameter for "shmall"
Node Name Current Configured Required Status Comment
orac1 4294967296 4294967296 599152 passed
orac2 4294967296 4294967296 599152 passed
Result: Kernel parameter check passed for "shmall"
Check: Kernel parameter for "file-max"
Node Name Current Configured Required Status Comment
orac1 6815744 6815744 6815744 passed
orac2 6815744 6815744 6815744 passed
Result: Kernel parameter check passed for "file-max"
Check: Kernel parameter for "ip_local_port_range"
Node Name Current Configured Required Status Comment
orac1 between 9000 & 65500 between 9000 & 65500 between 9000 & 65535 passed
orac2 between 9000 & 65500 between 9000 & 65500 between 9000 & 65535 passed
Result: Kernel parameter check passed for "ip_local_port_range"
Check: Kernel parameter for "rmem_default"
Node Name Current Configured Required Status Comment
orac1 262144 262144 262144 passed
orac2 262144 262144 262144 passed
Result: Kernel parameter check passed for "rmem_default"
Check: Kernel parameter for "rmem_max"
Node Name Current Configured Required Status Comment
orac1 4194304 4194304 4194304 passed
orac2 4194304 4194304 4194304 passed
Result: Kernel parameter check passed for "rmem_max"
Check: Kernel parameter for "wmem_default"
Node Name Current Configured Required Status Comment
orac1 262144 262144 262144 passed
orac2 262144 262144 262144 passed
Result: Kernel parameter check passed for "wmem_default"
Check: Kernel parameter for "wmem_max"
Node Name Current Configured Required Status Comment
orac1 1048576 1048576 1048576 passed
orac2 1048576 1048576 1048576 passed
Result: Kernel parameter check passed for "wmem_max"
Check: Kernel parameter for "aio-max-nr"
Node Name Current Configured Required Status Comment
orac1 1048576 1048576 1048576 passed
orac2 1048576 1048576 1048576 passed
Result: Kernel parameter check passed for "aio-max-nr"
Check: Package existence for "binutils"
Node Name Available Required Status
orac2 binutils-2.20.51.0.2-5.34.el6 binutils-2.20.51.0.2 passed
orac1 binutils-2.20.51.0.2-5.34.el6 binutils-2.20.51.0.2 passed
Result: Package existence check passed for "binutils"
Check: Package existence for "compat-libcap1"
Node Name Available Required Status
orac2 compat-libcap1-1.10-1 compat-libcap1-1.10 passed
orac1 compat-libcap1-1.10-1 compat-libcap1-1.10 passed
Result: Package existence check passed for "compat-libcap1"
Check: Package existence for "compat-libstdc++-33(x86_64)"
Node Name Available Required Status
orac2 compat-libstdc++-33(x86_64)-3.2.3-69.el6 compat-libstdc++-33(x86_64)-3.2.3 passed
orac1 compat-libstdc++-33(x86_64)-3.2.3-69.el6 compat-libstdc++-33(x86_64)-3.2.3 passed
Result: Package existence check passed for "compat-libstdc++-33(x86_64)"
Check: Package existence for "libgcc(x86_64)"
Node Name Available Required Status
orac2 libgcc(x86_64)-4.4.7-11.el6 libgcc(x86_64)-4.4.4 passed
orac1 libgcc(x86_64)-4.4.7-11.el6 libgcc(x86_64)-4.4.4 passed
Result: Package existence check passed for "libgcc(x86_64)"
Check: Package existence for "libstdc++(x86_64)"
Node Name Available Required Status
orac2 libstdc++(x86_64)-4.4.7-11.el6 libstdc++(x86_64)-4.4.4 passed
orac1 libstdc++(x86_64)-4.4.7-11.el6 libstdc++(x86_64)-4.4.4 passed
Result: Package existence check passed for "libstdc++(x86_64)"
Check: Package existence for "libstdc++-devel(x86_64)"
Node Name Available Required Status
orac2 libstdc++-devel(x86_64)-4.4.7-11.el6 libstdc++-devel(x86_64)-4.4.4 passed
orac1 libstdc++-devel(x86_64)-4.4.7-11.el6 libstdc++-devel(x86_64)-4.4.4 passed
Result: Package existence check passed for "libstdc++-devel(x86_64)"
Check: Package existence for "sysstat"
Node Name Available Required Status
orac2 sysstat-9.0.4-20.el6 sysstat-9.0.4 passed
orac1 sysstat-9.0.4-20.el6 sysstat-9.0.4 passed
Result: Package existence check passed for "sysstat"
Check: Package existence for "gcc"
Node Name Available Required Status
orac2 gcc-4.4.7-11.el6 gcc-4.4.4 passed
orac1 gcc-4.4.7-11.el6 gcc-4.4.4 passed
Result: Package existence check passed for "gcc"
Check: Package existence for "gcc-c++"
Node Name Available Required Status
orac2 gcc-c++-4.4.7-11.el6 gcc-c++-4.4.4 passed
orac1 gcc-c++-4.4.7-11.el6 gcc-c++-4.4.4 passed
Result: Package existence check passed for "gcc-c++"
Check: Package existence for "ksh"
Node Name Available Required Status
orac2 ksh-20120801-21.el6.1 ksh-... passed
orac1 ksh-20120801-21.el6.1 ksh-... passed
Result: Package existence check passed for "ksh"
Check: Package existence for "make"
Node Name Available Required Status
orac2 make-3.81-20.el6 make-3.81 passed
orac1 make-3.81-20.el6 make-3.81 passed
Result: Package existence check passed for "make"
Check: Package existence for "glibc(x86_64)"
Node Name Available Required Status
orac2 glibc(x86_64)-2.12-1.149.el6 glibc(x86_64)-2.12 passed
orac1 glibc(x86_64)-2.12-1.149.el6 glibc(x86_64)-2.12 passed
Result: Package existence check passed for "glibc(x86_64)"
Check: Package existence for "glibc-devel(x86_64)"
Node Name Available Required Status
orac2 glibc-devel(x86_64)-2.12-1.149.el6 glibc-devel(x86_64)-2.12 passed
orac1 glibc-devel(x86_64)-2.12-1.149.el6 glibc-devel(x86_64)-2.12 passed
Result: Package existence check passed for "glibc-devel(x86_64)"
Check: Package existence for "libaio(x86_64)"
Node Name Available Required Status
orac2 libaio(x86_64)-0.3.107-10.el6 libaio(x86_64)-0.3.107 passed
orac1 libaio(x86_64)-0.3.107-10.el6 libaio(x86_64)-0.3.107 passed
Result: Package existence check passed for "libaio(x86_64)"
Check: Package existence for "libaio-devel(x86_64)"
Node Name Available Required Status
orac2 libaio-devel(x86_64)-0.3.107-10.el6 libaio-devel(x86_64)-0.3.107 passed
orac1 libaio-devel(x86_64)-0.3.107-10.el6 libaio-devel(x86_64)-0.3.107 passed
Result: Package existence check passed for "libaio-devel(x86_64)"
Check: Package existence for "nfs-utils"
Node Name Available Required Status
orac2 nfs-utils-1.2.3-26.el6 nfs-utils-1.2.3-15 passed
orac1 nfs-utils-1.2.3-26.el6 nfs-utils-1.2.3-15 passed
Result: Package existence check passed for "nfs-utils"
Checking availability of ports "6200,6100" required for component "Oracle Notification Service (ONS)"
Node Name Port Number Protocol Available Status
orac2 6200 TCP yes successful
orac1 6200 TCP yes successful
orac2 6100 TCP yes successful
orac1 6100 TCP yes successful
Result: Port availability check passed for ports "6200,6100"
Checking for multiple users with UID value 0
Result: Check for multiple users with UID value 0 passed
Check: Current group ID
Result: Current group ID check passed
Starting check for consistency of primary group of root user
Node Name Status
orac2 passed
orac1 passed
Check for consistency of root user's primary group passed
Starting Clock synchronization checks using Network Time Protocol(NTP)...
NTP Configuration file check started...
The NTP configuration file "/etc/ntp.conf" is available on all nodes
NTP Configuration file check passed
Checking daemon liveness...
Check: Liveness for "ntpd"
Node Name Running?
orac2 yes
orac1 yes
Result: Liveness check passed for "ntpd"
Check for NTP daemon or service alive passed on all nodes
Checking whether NTP daemon or service is using UDP port 123 on all nodes
Check for NTP daemon or service using UDP port 123
Node Name Port Open?
orac2 yes
orac1 yes
NTP common Time Server Check started...
NTP Time Server "193.27.209.1" is common to all nodes on which the NTP daemon is running
NTP Time Server "194.29.130.252" is common to all nodes on which the NTP daemon is running
Check of common NTP Time Server passed
Clock time offset check from NTP Time Server started...
Checking on nodes "[orac2, orac1]"...
Check: Clock time offset from NTP Time Server
Time Server: 193.27.209.1
Time Offset Limit: 1000.0 msecs
Node Name Time Offset Status
orac2 -355.25 passed
orac1 -124.19 passed
Time Server "193.27.209.1" has time offsets that are within permissible limits for nodes "[orac2, orac1]".
Time Server: 194.29.130.252
Time Offset Limit: 1000.0 msecs
Node Name Time Offset Status
orac2 -358.87 passed
orac1 -109.63 passed
Time Server "194.29.130.252" has time offsets that are within permissible limits for nodes "[orac2, orac1]".
Clock time offset check passed
Result: Clock synchronization check using Network Time Protocol(NTP) passed
Checking Core file name pattern consistency...
Core file name pattern consistency check passed.
Checking to make sure user "grid" is not in "root" group
Node Name Status Comment
orac2 passed does not exist
orac1 passed does not exist
Result: User "grid" is not part of "root" group. Check passed
Check default user file creation mask
Node Name Available Required Comment
orac2 0022 0022 passed
orac1 0022 0022 passed
Result: Default user file creation mask check passed
Checking integrity of file "/etc/resolv.conf" across nodes
Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined
WARNING:
PRVF-5640 : Both search and domain entries are present in file "/etc/resolv.conf" on the following nodes: orac1,orac2
Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...
Checking file "/etc/resolv.conf" to make sure that only one domain entry is defined
More than one "domain" entry does not exist in any "/etc/resolv.conf" file
All nodes have same "domain" entry defined in file "/etc/resolv.conf"
Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes...
Checking file "/etc/resolv.conf" to make sure that only one search entry is defined
More than one "search" entry does not exist in any "/etc/resolv.conf" file
All nodes have same "search" order defined in file "/etc/resolv.conf"
Checking DNS response time for an unreachable node
Node Name Status
orac1 passed
orac2 passed
The DNS response time for an unreachable node is within acceptable limit on all nodes
Check for integrity of file "/etc/resolv.conf" passed
Check: Time zone consistency
Result: Time zone consistency check passed
Checking integrity of name service switch configuration file "/etc/nsswitch.conf" ...
Checking if "hosts" entry in file "/etc/nsswitch.conf" is consistent across nodes...
Checking file "/etc/nsswitch.conf" to make sure that only one "hosts" entry is defined
More than one "hosts" entry does not exist in any "/etc/nsswitch.conf" file
All nodes have same "hosts" entry defined in file "/etc/nsswitch.conf"
Check for integrity of name service switch configuration file "/etc/nsswitch.conf" passed
Checking daemon "avahi-daemon" is not configured and running
Check: Daemon "avahi-daemon" not configured
Node Name Configured Status
orac2 yes failed
orac1 yes failed
Daemon not configured check failed for process "avahi-daemon"
Check: Daemon "avahi-daemon" not running
Node Name Running? Status
orac2 yes failed
orac1 yes failed
Daemon not running check failed for process "avahi-daemon"Yes, i can.
Node1.
[grid@orac1 grid]$ ping 10.154.137.101
PING 10.154.137.101 (10.154.137.101) 56(84) bytes of data.
64 bytes from 10.154.137.101: icmp_seq=1 ttl=64 time=0.105 ms
64 bytes from 10.154.137.101: icmp_seq=2 ttl=64 time=0.089 ms
64 bytes from 10.154.137.101: icmp_seq=3 ttl=64 time=0.056 ms
64 bytes from 10.154.137.101: icmp_seq=4 ttl=64 time=0.086 ms
^C
--- 10.154.137.101 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3098ms
rtt min/avg/max/mdev = 0.056/0.084/0.105/0.017 ms
[grid@orac1 grid]$ ping 10.154.137.102
PING 10.154.137.102 (10.154.137.102) 56(84) bytes of data.
64 bytes from 10.154.137.102: icmp_seq=1 ttl=64 time=2.15 ms
64 bytes from 10.154.137.102: icmp_seq=2 ttl=64 time=0.497 ms
64 bytes from 10.154.137.102: icmp_seq=3 ttl=64 time=0.364 ms
^C
--- 10.154.137.102 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2495ms
rtt min/avg/max/mdev = 0.364/1.003/2.150/0.813 ms
[grid@orac1 grid]$ ping 10.154.138.101
PING 10.154.138.101 (10.154.138.101) 56(84) bytes of data.
64 bytes from 10.154.138.101: icmp_seq=1 ttl=64 time=0.059 ms
64 bytes from 10.154.138.101: icmp_seq=2 ttl=64 time=0.173 ms
64 bytes from 10.154.138.101: icmp_seq=3 ttl=64 time=0.046 ms
64 bytes from 10.154.138.101: icmp_seq=4 ttl=64 time=0.056 ms
^C
--- 10.154.138.101 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3205ms
rtt min/avg/max/mdev = 0.046/0.083/0.173/0.052 ms
[grid@orac1 grid]$ ping 10.154.138.102
PING 10.154.138.102 (10.154.138.102) 56(84) bytes of data.
64 bytes from 10.154.138.102: icmp_seq=1 ttl=64 time=1.80 ms
64 bytes from 10.154.138.102: icmp_seq=2 ttl=64 time=0.418 ms
64 bytes from 10.154.138.102: icmp_seq=3 ttl=64 time=0.899 ms
^C
--- 10.154.138.102 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2860ms
rtt min/avg/max/mdev = 0.418/1.041/1.808/0.577 ms
[grid@orac1 grid]$
Node2.
[grid@orac2 ~]$ ping 10.154.137.101
PING 10.154.137.101 (10.154.137.101) 56(84) bytes of data.
64 bytes from 10.154.137.101: icmp_seq=1 ttl=64 time=0.537 ms
64 bytes from 10.154.137.101: icmp_seq=2 ttl=64 time=1.79 ms
64 bytes from 10.154.137.101: icmp_seq=3 ttl=64 time=0.733 ms
^C
--- 10.154.137.101 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2774ms
rtt min/avg/max/mdev = 0.537/1.021/1.794/0.552 ms
[grid@orac2 ~]$ ping 10.154.137.102
PING 10.154.137.102 (10.154.137.102) 56(84) bytes of data.
64 bytes from 10.154.137.102: icmp_seq=1 ttl=64 time=0.043 ms
64 bytes from 10.154.137.102: icmp_seq=2 ttl=64 time=0.106 ms
64 bytes from 10.154.137.102: icmp_seq=3 ttl=64 time=0.039 ms
64 bytes from 10.154.137.102: icmp_seq=4 ttl=64 time=0.039 ms
^C
--- 10.154.137.102 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3282ms
rtt min/avg/max/mdev = 0.039/0.056/0.106/0.029 ms
[grid@orac2 ~]$ ping 10.154.138.101
PING 10.154.138.101 (10.154.138.101) 56(84) bytes of data.
64 bytes from 10.154.138.101: icmp_seq=1 ttl=64 time=0.718 ms
64 bytes from 10.154.138.101: icmp_seq=2 ttl=64 time=0.515 ms
64 bytes from 10.154.138.101: icmp_seq=3 ttl=64 time=0.504 ms
^C
--- 10.154.138.101 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2468ms
rtt min/avg/max/mdev = 0.504/0.579/0.718/0.098 ms
[grid@orac2 ~]$ ping 10.154.138.102
PING 10.154.138.102 (10.154.138.102) 56(84) bytes of data.
64 bytes from 10.154.138.102: icmp_seq=1 ttl=64 time=0.058 ms
64 bytes from 10.154.138.102: icmp_seq=2 ttl=64 time=0.087 ms
64 bytes from 10.154.138.102: icmp_seq=3 ttl=64 time=0.052 ms
64 bytes from 10.154.138.102: icmp_seq=4 ttl=64 time=0.090 ms
^C
--- 10.154.138.102 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3755ms
rtt min/avg/max/mdev = 0.052/0.071/0.090/0.019 ms
[grid@orac2 ~]$ -
I rented a movie a couple of days ago, still not in in "downloads..?" I get the "Unable to check for dowloads" message each time I try. I have since purchased two movies and rented another without any issues. ANY IDEAS? THanks
I had the same problem and this worked. First do a factory reset of the apple tv - hold down the menu and the "-" key for about 6 seconds and the unit will reset. Then in the menu choose "factory reset". the unit will now reset all settings (including all network and account information which will have to be re-input later). When the unit restarts put in your network info. Then do a software update - there is new software which seems to be causing the problem (perhaps you can try the software update without resetting the unit first???) Anyway, after the software update and another restart the unit worked fine and downloads worked again. Good luck,
-
Checking for a running program?
I have a program I'm working on that will have background threads, and instead of starting up a new instance when the main method is invoked, I'd like to bring the GUI up (just gui.show();) if the background threads arent running.
How do I go about checking for the running program?Use the locking concept. You can either create your own, or a popular one to use is ESINDX, passing parameters: relid 'ZZ', SRTFD program name, and SRTF2 = 0.
The logic is:
Attempt to get lock (FM ENQUEUE_ESINDX, perhaps).
If lock got -> run program
If lock not got -> quit.
You have to put this logic at the start of your program.
matt -
I have a form that submits to itself. My submit is the
standard :
<input type="submit" name="btnsubmit" value="Submit Your
Order">
When the form is submitted, I check for the existence of
btnsubmit using paramerexists or isDefined :
<cfif parameterexsits(btnsubmit)>
perform inserts, etc.
</cfif>
This works fine. But my question is what do I do if the
type=button instead of submit ? For example
<input type="button" name="btnSubmit" value="Submit Your
Order">
I have some javascrpt validation that will submit the form
when the button is clicked. Howver, how do I determine whether the
button was seleceted or not, so that I can do my processing
(insert, etc. ) ? I tried to use the isDefined or parameterexists
like before but that does not work ?
What is the command to check that a button was selected
?Assuming your <input> button is inside of the form you
are submitting,
simply use
<cfif isDefined('form.btnSubmit')>
However - some browsers only pass the button value if that
particular
button is clicked.
In other words, hitting 'enter' in another field of the form
may not
pass in the submit button value as part of the form scope. In
this case
you'd want to check for another one of the form variables,
ideally a
required field.
trojnfn wrote:
> I have a form that submits to itself. My submit is the
standard :
> <input type="submit" name="btnsubmit" value="Submit
Your Order">
>
> When the form is submitted, I check for the existence of
btnsubmit using
> paramerexists or isDefined :
> <cfif parameterexsits(btnsubmit)>
> perform inserts, etc.
> </cfif>
>
> This works fine. But my question is what do I do if the
type=button instead of
> submit ? For example
> <input type="button" name="btnSubmit" value="Submit
Your Order">
>
> I have some javascrpt validation that will submit the
form when the button is
> clicked. Howver, how do I determine whether the button
was seleceted or not, so
> that I can do my processing (insert, etc. ) ? I tried to
use the isDefined or
> parameterexists like before but that does not work ?
>
> What is the command to check that a button was selected
>
Michael Evangelista, Evangelista Design
Web : www.mredesign.com
Forums: news://forums.mredesign.com
Blog : www.miuaiga.com -
"Check for Update" does NOT find 3.6.9
I am running Firefox 3.6.8 at home on two computers (Win7 Home Premium) 64-bit on one, WinXP Home on the other).
When I run a manual "check for update" on each computer,
they both say that no updates are available.
The time (GMT) is September 11, 3:00 amNothing happens with your personal data that is stored in a separate location.
See http://kb.mozillazine.org/Profile_folder_-_Firefox
You should however always have a backup of your personal data.
See http://kb.mozillazine.org/Profile_backup and [[Backing up your information]] -
I need to back up my imac running Tiger (no time machine) so that we can upgrade OS. It is set up for multiple accounts. How do I capture all files in each account using newly purchased USB external hard drive? Thanks!
Backup Software Recommendations
Carbon Copy Cloner
Data Backup
Deja Vu
SuperDuper!
Synk Pro
Tri-Backup
Others may be found at VersionTracker or MacUpdate.
Visit The XLab FAQs and read the FAQ on backup and restore. Also read How to Back Up and Restore Your Files.
Or you can simply use the Restore option of Disk Utility to clone the drive to the backup:
Clone using Restore Option of Disk Utility
Open Disk Utility from the Utilities folder.
Select the destination volume from the left side list.
Click on the Restore tab in the DU main window.
Check the box labeled Erase destination.
Select the destination volume from the left side list and drag it to the Destination entry field.
Select the source volume from the left side list and drag it to the Source entry field.
Double-check you got it right, then click on the Restore button.
Destination means the external backup drive. Source means the internal startup drive. -
Reg:Single Check for Multiple Vendors
Hi Experts,
I want to Issue a Single check for all vendor open items...
For this is I created one Group Key and assigned in the vendor master record, but while doing the payment separate check issuing for each vendor,
any ideaHi,
Can you check the below thread of urs.
[Reg:Single Check for Multiple Vendors]
In addition to the above, please make sure that in OBVU, the check box separate payment for each ref is deselected for your questioned comapny code.
You would have continued your earlier thread instead, rather than a new thread.
Thanks,
Srinu -
Checking for empty tags using expression builder for XPATH
I am creating several filters in a mediator for several parallel paths. I am trying to route the mediator to the correct DB adapter based on what tags are empty in the incoming XML. The XML has 1 required tag and 3 optional. So for the expression, I am using the expression builder to load the tag name then putting either [text()] or [not(text())] immediately after each tag with an "and" in between for the 3 optional elements. The problem I am having is they always return false. For example, if I enter a value for an optional tag and put [text()] after it, it evaluates to false. What is the correct way to check if an element has text or not?
Thanks in advance!Hi,
Its not recognizing the getVariableData func... instead try this:
string-length(xpath)>0
ex: string-length($in.body/imp1:manoj/imp1:C1)>0
It works... Happy deploying ... :) -
Checking for files using infoview
Hi
I am new to use Infoview in BO. In my project they are scheduling CR in infoview for a particular time. now new requirement is :
On nightly basis files will be send for each region.once they are loaded message will be generated using script in unix. Now my part is to login to the unix server and check for the message(access to the path will be provided. message may be content in file or may be a touch file.not my part) and the schedule timing through infoview and should run the report.
To schedule report for a particular time i went into schedule option and given database details where CR is present,destination details to where it need to be ftped and the format of output and timine on which the report need to be run.
But i dont know the process how to login to unix server and check for message.
Please let me know is there any option for the baove requirement in infoview.
Thanks in advance.CMC is the administration console. I would recommend to take a look at the following document:
http://help.sap.com/businessobject/product_guides/boexir2/en/xir2_bip_Admin_en.pdf
Start at page 200.
Regards,
Stratos -
Spell check for kids using flash
I am creating a spell check for kids using flash.
The flash starts with a silhouettes of a word say B A N A N A and below it shows a jumbled up letters. The kids drags and drops each letter on top of the dark silhouettes. If it matches scores points.
Any help in creating AS3 script will be apreciated. I did create one using mc and target mc and works fine when the mc is draged on to target mc. Only problem arises when there are duplicate letters.
Thanks in advanceWhat I described will work as you describe wanting. If every A movieclip has a property (name this property anything you want, like "myLetterValue") with a value of "A" and every A-target movieclip also has a property with a value of "A", then you can use those properties to determine when any object with an "A" is planted on any target with an "A"
So when you drop a letter on a target you compare the property of each to see if they are equal... if(targetMC.myLetterValue == letterMC.myLetterValue){ // correct match }
Maybe you are looking for
-
Blazeds 4.0.0.7548 is not working on Websphere over HTTPS protocol
Hi All Our application is on Blazeds 4.0.0.7548 deployed on websphere 7.0. While this application works fine on HTTP but it doesn't work consistently on HTTPS. It throws following exception FaultEvent fault=[RPC Fault faultString="error" faultCode=
-
How do I move my sons Ipod touch to a new I tunes account?
Both my sons have a I-Pod touch and they are on my I-tunes account. How do I move my older sons I-Pod to his own I-Tunes account so that when they do face time with their friends it does not show up on both I-Pods.
-
Freeze after updating to OSX Snow Leopard and version 10.6.8
My iMac periodically freezes. This doesn't seem to be related to a particular app or website.
-
Sender ebXML Adapter for handling multiple documents
Hi all, I would like to ask for input on how to implement the use of sender Seeburger ebXML channel that will send multiple documents types (CIDX ordercreate and CIDX orderchange). For Seeburger AS2 adapter, handling of ANSI X12 documents (EDI850 and
-
Consignment and pipeline settlement error
Hi Expert! I have error when processing consignment and pipeline settlement for company code 4424. The error is "No message was found for partner 146073/company code 4424". Can anyone tell me what has going wrong and how to solve it? Thanks.