Check JTextField validity when Focuslost.

import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.util.*;
public class Frame1 extends JFrame {
JTextField jTextField1 = new JTextField();
JButton jButton1 = new JButton();
public Frame1() {
try {
jbInit();
catch(Exception e) {
e.printStackTrace();
public static void main(String[] args) {
Frame1 frame1 = new Frame1();
frame1.setSize(500,500);
frame1.setVisible(true);
private void jbInit() throws Exception {
jTextField1.setBounds(new Rectangle(38, 168, 150, 26));
jTextField1.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(FocusEvent e) {
jTextField1_focusLost(e);
this.getContentPane().setLayout(null);
jButton1.setBounds(new Rectangle(229, 169, 101, 27));
jButton1.setText("jButton1");
this.getContentPane().add(jTextField1, null);
this.getContentPane().add(jButton1, null);
Hi All
I need to verify whether JTextField is empty or not and if it is empty I need to show dialog box and focus into JTextField once again.
I tried with following code. But end up with endless loop.
Please advice me.
BR
Senaka
void jTextField1_focusLost(FocusEvent e) {
Date dateEnd = new Date();
if(jTextField1.getText().equals("")) {
     JOptionPane.showMessageDialog(
this,
"Error",
"Error",
JOptionPane.ERROR_MESSAGE);
     jTextField1.requestFocus();
}else {
}

the problem is that you are calling the function on focuslost, when u click on the button, the field loses focus and so the loop goes on to infinite, instead use Actionevent, i have attached this code, try and let me know
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.util.*;
public class Frame1 extends JFrame {
JTextField jTextField1 = new JTextField();
JButton jButton1 = new JButton();
public Frame1() {
try {
jbInit();
catch(Exception e) {
e.printStackTrace();
public static void main(String[] args) {
Frame1 frame1 = new Frame1();
frame1.setSize(500,500);
frame1.setVisible(true);
private void jbInit() throws Exception {
jTextField1.setBounds(new Rectangle(38, 168, 150, 26));
this.getContentPane().setLayout(null);
jButton1.setBounds(new Rectangle(229, 169, 101, 27));
jButton1.setText("jButton1");
jButton1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
     jTextField1_focusLost();
this.getContentPane().add(jTextField1, null);
this.getContentPane().add(jButton1, null);
void jTextField1_focusLost() {
Date dateEnd = new Date();
if(jTextField1.getText().equals("")) {
JOptionPane.showMessageDialog(null,"Field Empty");
else {
JOptionPane.showMessageDialog(null,"Yes Field has text");
any problems just give a shout :)
enjoy!!

Similar Messages

  • Check JTextField validity

    Hi All
    I need to verify whether JTextField is empty or not and if it is empty I need to show dialog box and focus into JTextField once again.
    I tried with following code. But end up with endless loop.
    Please advice me.
    BR
    Senaka
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    public class Frame1 extends JFrame {
    JTextField jTextField1 = new JTextField();
    JButton jButton1 = new JButton();
    public Frame1() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    public static void main(String[] args) {
    Frame1 frame1 = new Frame1();
    frame1.setSize(500,500);
    frame1.setVisible(true);
    private void jbInit() throws Exception {
    jTextField1.setBounds(new Rectangle(38, 168, 150, 26));
    jTextField1.addFocusListener(new java.awt.event.FocusAdapter() {
    public void focusLost(FocusEvent e) {
    jTextField1_focusLost(e);
    this.getContentPane().setLayout(null);
    jButton1.setBounds(new Rectangle(229, 169, 101, 27));
    jButton1.setText("jButton1");
    this.getContentPane().add(jTextField1, null);
    this.getContentPane().add(jButton1, null);
    void jTextField1_focusLost(FocusEvent e) {
    Date dateEnd = new Date();
    if(jTextField1.getText().equals("")) {
         JOptionPane.showMessageDialog(
    this,
    "Error",
    "Error",
    JOptionPane.ERROR_MESSAGE);
         jTextField1.requestFocus();
    }else {
    }

    the problem is that you are calling the function on focuslost, when u click on the button, the field loses focus and so the loop goes on to infinite, instead use Actionevent, i have attached this code, try and let me know
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    public class Frame1 extends JFrame {
    JTextField jTextField1 = new JTextField();
    JButton jButton1 = new JButton();
    public Frame1() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    public static void main(String[] args) {
    Frame1 frame1 = new Frame1();
    frame1.setSize(500,500);
    frame1.setVisible(true);
    private void jbInit() throws Exception {
    jTextField1.setBounds(new Rectangle(38, 168, 150, 26));
    this.getContentPane().setLayout(null);
    jButton1.setBounds(new Rectangle(229, 169, 101, 27));
    jButton1.setText("jButton1");
    jButton1.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
         jTextField1_focusLost();
    this.getContentPane().add(jTextField1, null);
    this.getContentPane().add(jButton1, null);
    void jTextField1_focusLost() {
    Date dateEnd = new Date();
    if(jTextField1.getText().equals("")) {
    JOptionPane.showMessageDialog(null,"Field Empty");
    else {
    JOptionPane.showMessageDialog(null,"Yes Field has text");
    any problems just give a shout :)
    enjoy!!

  • 'ORABPEL-11812 Failed Function Security validation' when invoking EBS webservice

    Hi,
    I got a problem when test web service on EBS R12.1.3.
    I used SYSADMIN to test ISG installation using operation TESTUSERNAME in FND_USER_PACKAGE, but failed. Below is the log
    Can anyone help me with this please? Thanks.
    New Logger Instantiated...
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Process Message received at : Mon Oct 13 23:27:24 CST 2014
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Too many principals obtained from LoginModule.  Using first one.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Setting Principal Value = SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getUserIdFromName : User_id: 0 fetched for name: SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : User id for the principal = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getSOAPBodyElement : SOAP Body Element Found.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Body tns : http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/testusername/
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : Product = fnd
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : IRep Suffix = plsql/fnd_user_pkg/testusername/
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : InterfaceType PLSQL
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : ITYPE CLASS
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : class FND_USER_PKG
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getClassId : Class Id for irep_name FND_USER_PKG = 2702
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : classId 2702
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : FUNCTION_NAME TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : IRep Function Name PLSQL:FND_USER_PKG:TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getFunctionId : Function Id for function name PLSQL:FND_USER_PKG:TESTUSERNAME = 43542
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : FUNCTION_ID 43542
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = Responsibility
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = SYSTEM_ADMINISTRATOR
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = RespApplication
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = SecurityGroup
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = STANDARD
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = NLSLanguage
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = AMERICAN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = Org_Id
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = 82
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractHeaders : Found Header. Name = SOAHeader
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractHeaders : Header Type = SOAHeader
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : Username from Header : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityName from Header : SYSTEM_ADMINISTRATOR
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityApplName from Header : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : SecurityGroupName from Header  : STANDARD
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : NLSLanguage from Header  : AMERICAN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : statusCode = S
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : UserId = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityId = 20420
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityApplId = 1
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : SecurityGroupId = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : NLSLanguageCode = US
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getLanguageFromCode : NLS language for code US = AMERICAN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : NLSLanguage = AMERICAN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : Inserting Following ID values into header table
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : UserId = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityId = 20420
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityApplId = 1
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : SecurityGroupId = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : NLSLanguageCode = US
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : In Audit Util.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Creating WebAppsContext.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Obtained context.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Obtained Store.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Obtained Profile.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Request Date Mon Oct 13 23:27:24 CST 2014
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Remote Host 10.161.73.55
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : HeaderData created
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : buildversion in auditRequest is 1213
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : HeaderBody created
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Msg ID 10075
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : MsgId from AuditRequest 10075
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.setSecurityContext : Is security context set = true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.setNLSContext : Is nls context set = true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.isServiceDeployed : Service Deployed Flag : Y
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.isServiceDeployed : Service with Class Id2702 Deployed : true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getInterfaceType : Function Name for function id 43542 = PLSQL:FND_USER_PKG:TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Checking log level for the current user and service combination
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.getInstanceId : Instance id is : 10075
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Log level for the current operation : 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : Username from Header : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : FunctionName   : PLSQL:FND_USER_PKG:TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : FunctionId             : 43542
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : overloadSeq            : 1
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : Function is not null.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : Creating data context.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : Is Function Authorized = true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Authorization check passed.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : serviceFactory instance is created
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.ServiceFactory.getServiceImplementation : Creating Handler for Interface Type = PLSQL
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : serviceHandler in
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Request passed to oracle.apps.fnd.soa.provider.services.jca.JCAHandler
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : function id to be passed= 43542
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : overload count= 1
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : Found JCAWSDL Location = /d01/oracle/ECPPROD/inst/apps/ECPPROD_ecpebs/soa//PLSQL/2702/TESTUSERNAME.wsdl
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest : JCAWSDLLocation : /d01/oracle/ECPPROD/inst/apps/ECPPROD_ecpebs/soa//PLSQL/2702/TESTUSERNAME.wsdl
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.WSDLUtil.getOperationName : Operation Name = TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.WSDLUtil.getOperationName : Response Required : true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractInputMessage : Found Body Element : InputParameters
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractInputMessage : Converting to element : oracle.j2ee.ws.saaj.soap.soap11.BodyElement11
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting Username as : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting Responsibility as : SYSTEM_ADMINISTRATOR
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting Responsibility Application Short Name as : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting Security Group name as : STANDARD
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting NLS Language as : US
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting ORG_ID as : 82
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting isISG as : yes
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting IsLoggingEnabled  as : N
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting logLevel as 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting TransactionId  as :39676
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAClientFactoryCrated.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAInterfaceCreated.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAOperationCreated.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : buildversion in jcahanlder is 1213
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : found runtime classes
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : created instance for runtime classes
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : runtime Methods found [Ljava.lang.reflect.Method;@f61f70
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : method executeRequestResponseOperation found
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : executing 3 parameter method
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : Exception returned from JCA Service Runtime.java.lang.reflect.InvocationTargetException
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : Exception returned from JCA Service Runtime.oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JCA Service Runtime. null
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest : Exception returned from JCA Service Runtime.oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Creating Error Response Message.
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.getNLSTranslatedMessage : Error code : FND_SOA_SERVICE_EXECUTION_ERR
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.setSecurityContext : Is security context set = true
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.setNLSContext : Is nls context set = true
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.getNLSTranslatedMessage : NLS Compliant Error Msg = FND_SOA_SERVICE_EXECUTION_ERR
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Setting fault string = FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
      :Please see service monitor logs for full error trace
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Error Response Message Created
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:135)
      at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
      at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
      at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
      at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:619)
    java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke(JCAHandler.java:193)
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:123)
      at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
      at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
      at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
      at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:619)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: file:/d01/oracle/ECPPROD/inst/apps/ECPPROD_ecpebs/soa/PLSQL/2702/TESTUSERNAME.wsdl [ TESTUSERNAME_ptt::TESTUSERNAME(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'TESTUSERNAME' failed due to: Error while processing an API interaction execution.
    An error occurred while processing the interaction for invoking the FND_USER_PKG.TESTUSERNAME API. Cause: oracle.tip.adapter.apps.FunctionSecurityValidationException: Failed Function Security validation for user SYSADMIN with responsibility SYSTEM_ADMINISTRATOR for API PLSQL:FND_USER_PKG:TESTUSERNAME
    ; nested exception is:
      ORABPEL-11812
    Error while processing an API interaction execution.
    An error occurred while processing the interaction for invoking the FND_USER_PKG.TESTUSERNAME API. Cause: oracle.tip.adapter.apps.FunctionSecurityValidationException: Failed Function Security validation for user SYSADMIN with responsibility SYSTEM_ADMINISTRATOR for API PLSQL:FND_USER_PKG:TESTUSERNAME
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. Contact oracle support if error is not fixable.
      at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:642)
      at oracle.tip.adapter.client.JCABindingOperation.invokeWsifProvider(JCABindingOperation.java:275)
      at oracle.tip.adapter.client.JCABindingOperation.executeRequestResponseOperation(JCABindingOperation.java:182)
      ... 27 more
    Caused by: ORABPEL-11812
    Error while processing an API interaction execution.
    An error occurred while processing the interaction for invoking the FND_USER_PKG.TESTUSERNAME API. Cause: oracle.tip.adapter.apps.FunctionSecurityValidationException: Failed Function Security validation for user SYSADMIN with responsibility SYSTEM_ADMINISTRATOR for API PLSQL:FND_USER_PKG:TESTUSERNAME
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. Contact oracle support if error is not fixable.
      at oracle.tip.adapter.db.sp.SPUtil.createResourceException(SPUtil.java:176)
      at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:154)
      at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:1037)
      at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:240)
      at oracle.tip.adapter.apps.AppsInteraction.execute(AppsInteraction.java:195)
      at oracle_tip_adapter_apps_AppsInteraction_Proxy.execute()
      at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:486)
      ... 29 more
    Caused by: oracle.tip.adapter.apps.FunctionSecurityValidationException: Failed Function Security validation for user SYSADMIN with responsibility SYSTEM_ADMINISTRATOR for API PLSQL:FND_USER_PKG:TESTUSERNAME
      at oracle.tip.adapter.apps.AppsCciLocalTransaction.beginInternal(AppsCciLocalTransaction.java:200)
      at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:117)
      ... 34 more
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Auditing error: FND_SOA_SERVICE_EXECUTION_ERR
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : function id to be passed= 43542
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : overload count= 1
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : Found JCAWSDL Location = /d01/oracle/ECPPROD/inst/apps/ECPPROD_ecpebs/soa//PLSQL/2702/TESTUSERNAME.wsdl
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.WSDLUtil.getOperationName : Operation Name = TESTUSERNAME
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.WSDLUtil.getOperationName : Response Required : true
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : Response Date Mon Oct 13 23:27:25 CST 2014
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : buildversion in auditResponse is 1213
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : Response Body : <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xmlns="">SOAP-ENV:Server</faultcode><faultstring xmlns="">FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
      :Please see service monitor logs for full error trace</faultstring></env:Fault></env:Body></env:Envelope>
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : msgId : 10075
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : operationName : TESTUSERNAME
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : responseDate : Mon Oct 13 23:27:25 CST 2014
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : errorCode : FND_SOA_SERVICE_EXECUTION_ERR
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : errorTrace: oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:135)
      at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
      at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
      at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
      at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:619)
    java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke(JCAHandler.java:193)
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:123)
      at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
      at java.security.AccessController.doPrivileged(Native Method)

    Pl do not post duplicates - 'ORABPEL-11812 Failed Function Security validation' when invoking EBS webservice

  • How to Do Validations When Approval Hits Reject Button?

    The transaction has been initiated and now it routes to the next approval.  The approval opens up the work item and it brings the form with the details transaction initiated.  The approval hit "Reject" button to reject the transaction.
    Is there a way / BADI that I can put a validations so that it'll throw a message whenever user hit "Reject" button?

    Hi Shreya,
    I saw that this question has been marked answered.
    Do you mind to share the solution as I am also having the same problem here.
    What i need to do is to add validation when approvers hit on Approve button or Back to Author button.
    The validation will be checking whether comment is entered, error msg will be prompted if no comment entered.
    Please advice.
    Thanks
    Regards,
    Justin

  • Ehancement for to check the validations in ME21n,ME22n,ME28,ME29n

    Hi experts...
    I have one requirement in Ehancement for to check the validations in ME21n,ME22n,ME28,ME29n...
    If the PO document date is after 31.12.2010 and vendor Group 1800 then check the Inco-terms with "SET" values whether the user entered value fals with in the "SET" value, if so then allow to save the PO else Else system should read the "SET" values and suggest user to select correct Inco terms.
    Example when user enter wrong Inco-Terms then system shoud give Error Message Please Select Inco-terms CPT or DAP or FCA..
    Can any body plz suggest me the user exit or Is it possible through the enhancement Framework...
    plz help me how to proceedd??
    Thanks & Regards,
    Veena.
    Moderator Message: Spec-dumping is not allowed.
    Edited by: kishan P on Jan 3, 2011 11:00 AM

    Hi Veena,
    To find a BADI for a given tcode follow the below steps.
    1. Go to the TCode.
    2. Menu Item System -> Status.
    3. Double click on the transaction Name (For ME21N double click on ME21N).
    4. Check the Package (e.g. ME)
    5. Go to TCode SE80
    6. In the drop down choose Package and type the Package Name (e.g. ME). Dont forget to Hit Enter or display.
    7. Object Name Enhancements -> Business Add-ins (Def.) (You will see all the BADI's available here ).
    In your case, you need BADI : ME_BAPI_PO_CUST.
    Go to SE19 to implement the BADI.
    If you put your conditions in Create Purchase Order(ME21N), you will not need to add them in Release PO(ME28N) since the conditions will be checked when PO is created.
    Regards,
    Jovito.

  • Check URL Validity

    Hello, I'm trying to figure out how to check the validity of a URL. I have wrote something, but it's not exactly what I want. Here is what I have:
         public boolean URLCheck(String checkme) {
              if((checkme.contains("http://") || checkme.contains("https://") ||
                        checkme.contains("ftp://")) && (checkme.contains(".edu") ||
                        checkme.contains(".com") || checkme.contains(".net") ||
                        checkme.contains(".org"))) {
                   return true;
              else{
                   output.setText("Bad URL.");
                   return false;
         }This is obviously very flawed, it only checks the protocol and the end of the server address (com,org,net,etc...).
    I would like to write a piece of code that could check if the URL is in this format, but I'm not sure where to begin.
    < url > ::= < protocol >://< server_address >/< local_address >
    < protocol > ::= http | https | ftp
    < server_address > ::= < host >.< domain > | < host>.< domain >:< port >
    < host > ::= < alphanumeric_character_string >
    < domain > ::= < alphanumeric_character_string > |
                   < alphanumeric_character_string >.< domain >
    < port > ::= < numerical_string >
    < local_address > ::= ~< login_name >/< location > | < location >
    < location > ::= < null_string > | < file_name > |
                     < path >/ | < path >/< file_name >
    < path > ::= < directory_name > | < directory_name >/< path >I'm not asking to have the code written for me, but I was wondering if someone could tell me how I could go about doing something like this.
    Thank you in advance!

    Thank you, here is what I tried:
         public void grabURLContents(String contents) throws Exception {
              try {
                   URL inputFile = new URL(contents);
                   BufferedReader in = new BufferedReader(
                                  new InputStreamReader(
                                  inputFile.openStream()));
                   String inputLine, storage = "";
                   while ((inputLine = in.readLine()) != null)
                       storage += inputLine +"\n";
                   output.setText(storage);
                   in.close();
              catch(Exception e) { output.setText("BAD URL: \n" + e); }
         }The only problem with this is: when I enter a url that obviously doesn't exist such as http://awdawfagasegr.com it still prints the html contents of my ISP's "Page not Found" page. Is there any way to prevent this?
    Thank you for your help by the way. Sorry if I seem very ignorant, I am not familiar with Java's URL class.

  • Did you know that Verizonwireless is saving your checking account information when you pay your bill by check and then making it part of your "MyVerizon"? This means of course if they get hacked that information could be compromised. What do you think of

    Did you know that Verizonwireless is saving your checking account information when you pay your bill by check and then making it part of your "MyVerizon"  without you adding it? This means of course if they get hacked that information could be compromised. What do you think of this?

    Credit card and debit card and checking and savings information is encrypted so it is possible to be hacked, but the odds are greater to get hit by the Love Boat then to have a wide scale hack.
    Oh yes they do happen, Bank of America, Chase, Citibank, Target and quite a few others. But in all the years I have paid my invoice with saved card information I never been hacked.
    You use good passwords and the risk is minimal.
    Good Luck

  • Error ORA-00980: synonym translation is no longer valid when i issue

    i accidentally drop one of my table. To bring it back i used Imp tool. But it gives an error ORA-00980: synonym translation is no longer valid when i issue
    Select * from ship_sched_fact_notice_det
    Action taken using Imp
    Username: erpdada
    Password:
    Connected to: Oracle Database 10g Release 10.1.0.2.0 - Production
    Import file: EXPDAT.DMP > e:\erpdada_august13.dmp
    Enter insert buffer size (minimum is 8192) 30720> 30720
    Export file created by EXPORT:V10.01.00 via conventional path
    Warning: the objects were exported by SYSTEM, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    List contents of import file only (yes/no): no > y
    Import entire export file (yes/no): no > n
    Username: erpdada
    Enter table(T) or partition(T:P) names. Null list means all tables for user
    Enter table(T) or partition(T:P) name or . if done: ship_sched_fact_notice_det
    Enter table(T) or partition(T:P) name or . if done: .
    "CREATE PUBLIC SYNONYM "XMLTYPE" FOR "SYS"."XMLTYPE""
    "CREATE TABLE "SHIP_SCHED_FACT_NOTICE_DET" ("SSFND_ITEM_NOT_DET_ID" NUMBER, "
    ""SSFN_FACTORY_ID" VARCHAR2(40) NOT NULL ENABLE, "SSFN_FAC_NOTICE_ID" NUMBER"
    " NOT NULL ENABLE, "SSD_SHIP_ITEM_ID" NUMBER NOT NULL ENABLE, "OI_ITEM_ID" N"
    "UMBER NOT NULL ENABLE, "ORDER_TYPE" VARCHAR2(1), "SSFND_ITEM_CODE" VARCHAR2"
    "(300), "SSFND_QTY" NUMBER, "SSFND_CTN" NUMBER, "SSFND_TOT_CBM" NUMBER, "SSF"
    "ND_REM1" VARCHAR2(256), "SSFND_REM2" VARCHAR2(256), "SSFND_UNIT_ID" VARCHAR"
    "2(40), "SSFND_IS_EXCL_SUMMARY" VARCHAR2(1))  PCTFREE 10 PCTUSED 40 INITRANS"
    " 1 MAXTRANS 255 STORAGE(INITIAL 81920 FREELISTS 1 FREELIST GROUPS 1 BUFFER_"
    "POOL DEFAULT) TABLESPACE "ORDER_DATA01" LOGGING NOCOMPRESS"
    . . skipping table "SHIP_SCHED_FACT_NOTICE_DET"
    "GRANT DELETE ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT INSERT ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT SELECT ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT UPDATE ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "CREATE UNIQUE INDEX "PK_SHIP_SCHED_FACT_NOTICE_DET" ON "SHIP_SCHED_FACT_NOT"
    "ICE_DET" ("SSFND_ITEM_NOT_DET_ID" )  PCTFREE 10 INITRANS 2 MAXTRANS 255 STO"
    "RAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLE"
    "SPACE "ORDER_DATA01" LOGGING"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD  CONSTRAINT "PK_SHIP_SCHED_FAC"
    "T_NOTICE_DET" PRIMARY KEY ("SSFND_ITEM_NOT_DET_ID") USING INDEX PCTFREE 10 "
    "INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1"
    " BUFFER_POOL DEFAULT) TABLESPACE "ORDER_DATA01" LOGGING ENABLE "
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD CONSTRAINT "SHIP_SCHED_FACT_NO"
    "TICE_DE_FK1" FOREIGN KEY ("SSD_SHIP_ITEM_ID") REFERENCES "SHIPPING_SCHEDULE"
    "_DETAILS" ("SSD_SHIP_ITEM_ID") ENABLE NOVALIDATE"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD CONSTRAINT "SHIP_SCHED_FACT_NO"
    "TICE_DE_FK2" FOREIGN KEY ("SSFN_FAC_NOTICE_ID") REFERENCES "SHIP_SCHED_FACT"
    "ORY_NOTICE" ("SSFN_FAC_NOTICE_ID") ENABLE NOVALIDATE"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ENABLE CONSTRAINT "SHIP_SCHED_FACT"
    "_NOTICE_DE_FK1""
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ENABLE CONSTRAINT "SHIP_SCHED_FACT"
    "_NOTICE_DE_FK2""
    Import terminated successfully with warnings.
    I drop the old synonym and re-create it but still it gives the same error...

    Since you are on 10g did you try flashback table feature - http://tonguc.wordpress.com/2007/01/01/oracle-10g-flashback-versions-query-drop-table-and-recyclebin-management/
    FLASHBACK TABLE <tabname> TO BEFORE DROP;
    If you didnt use purge option, the dropped object is on your recyclebin - http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9018.htm#sthref9593
    Best regards.

  • How to avoid Entity Object validations when comiting a DB transaction

    Hello,
    I have a screen that have three sections:
    1. Header
    2. First tab that contains rows, lets call it User Details  - only the ability to add records and update existing
    3. Second tab that contains rows, lets call it Roles  - ability to create, modify and delete
    -- I have a Save and Cancel button
    I have an Entity Object that covers the whole page UserDetailsEO and it has its validation methods on the implementation UserDetailsEOImpl.java.
    On the second tab when deleting the record, the delete binding method its called and it has a row to commit the transaction. By doing so the validations for the EO are called.
    However I want to avoid performing validation at this point. I can delete rows without any validation, I just want to do the validation when clicking Save.
    Is there any way to accomplish this?
    Thank you,

    Hello Timo,
    Thanks for your answer, the delete action comes from an applicationTable, here is my code:
    The deleteImmediate is set to true.
    <fnd:applicationsTable tableId="t2" id="AT1"
                                             deleteEnabled="true"
                                             createPatternType="inline"
                                             createImmediate="true"
                                             createText="#{applcoreBundle.ADD_ROW}"
                                             deleteActionListener="#{ParticipantDetailPageBean.invokeConfirmationDelete}"
                                             deleteImmediate="true"
                                             styleClass="AFStretchWidth"
                                             deleteMsg="#{applcoreBundle.DELETE_CONFIRM}"
                                             deletePartialTriggers="_ATp:t2"
                                             duplicateEnabled="false">
    The popup does not have buttons itself. Here is the code
    <af:popup id="confirmDeletePopup"
                                      binding="#{ParticipantDetailPageBean.deleteYesNoPopup}"
                                      childCreation="deferred">
                              <af:dialog id="d1" type="okCancel"
                                         dialogListener="#{ParticipantDetailPageBean.handleConfirmDeleteDialog}"
                                         title="#{IcCnSrpTopGenBundle['Header.RoleAssignmentDeleteWarning']}">
                                <af:panelGroupLayout id="pgl4">
                                  <af:panelFormLayout id="pfl2">
                                    <f:facet name="footer"/>
                                    <af:activeOutputText value="#{applcoreBundle.DELETE_CONFIRM}"
                                                         id="aot1"/>
                                  </af:panelFormLayout>
                                </af:panelGroupLayout>
                              </af:dialog>
                            </af:popup>

  • HT4436 On my touch I have an iCloud backup message asking me to check my settings, when I click on settings nothing happens and the screen goes black. It will not allow me to turn my touch on or off. What should I do to rectify this?

    On my touch I have an iCloud backup message asking me to check my settings, when I click on settings nothing happens and the screen goes black. It will not allow me to turn my touch on or off. What should I do to rectify this?

    Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • How to avoid JMS validation when starting weblogic server

    Hi All,
    When starting up WebLogic server, it will validate JMS destinations one by one for deployed applications.
    If I don't connect the VPN, then these JMS destinations are not reachable, and WebLogic Server will spend a lot of time to try connecting to these JMS destinations.
    Thus it will take a lot of time to startup the WebLogic Server.
    How can I disable JMS validation when starting weblogic server?
    Thanks and Regards!

    Hi Daniel,
    By blank do you mean that the screen is black? Is it gray? Is it blue? The word "blank" is vague when trying to determine and isolate startup issues.

  • Is there anyway we can check the validity of dump file in Unix system

    Hi,
    I have taken export of 2 tables which are huge in volume. one of the table seems to be successfully exported yet another one failed due to space scarcity. Since both the tables share a single dumpfile.
    I wanted to know.
    1. Can we use the same dumpfile to import the table which is successfull or it can not be used because the second table got error while exporting?
    2. Is there any way we can check the validity of dumpfile in unix plateform.
    Your reply is highly appreciated.

    784786 wrote:
    Hi,
    I have taken export of 2 tables which are huge in volume. one of the table seems to be successfully exported yet another one failed due to space scarcity. Since both the tables share a single dumpfile.
    I wanted to know.
    1. Can we use the same dumpfile to import the table which is successfull or it can not be used because the second table got error while exporting?No. It is better to take another backup of the same
    >
    2. Is there any way we can check the validity of dumpfile in unix plateform.
    Please check the export log backup. If it says that export terminated successfully, then the dump may be fine.

  • The page contains markup that is not valid when attached to master page

    Hi,
    I have create an web application in VS 2005 and convert into VS2008. now i am facing a problem that a single page is not open in design mode which is inherit from master page.
    and a message comes.
    Error: The page contains markup that is not valid when attached to master page
    please give me the suggestion that how can i open this page in design mode.
    Thanks
    Gaurav Anand

    Neither worked for me.  Here is my code.
    <
    asp:Content ID="Content1" ContentPlaceHolderID="fkhead" Runat="Server">
    <script runat="server">
    Public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    If Not Page.IsPostBack Then
    Dim a As String = "This is other data"
    pqriminadpaylbl.Text = a
    pqrimincustlbl.Text = a
    pqriminadpaylbl.Text = a
    pqriminpcdevlbl.Text = a
    pqriminpctoollbl.Text = a
    pqriminsaleslbl.Text = a
    pqriminspadeslbl.Text = a
    pqriminspamatlbl.Text = a
    pqrimintdamortlbl.Text = a
    pqrimintdcclbl.Text = a
    pqrimintddtlbl.Text = a
    pqrimintdfclbl.Text = a
    pqrimintucdeslbl.Text = a
    pqrimintucdollarlbl.Text = a
    pqrimintucmatlbl.Text = a
    pqriminvolaslbl1.Text = a
    pqriminvolaslbl2.Text = a
    pqriminvolasyear1lbl1.Text = a
    pqriminvolasyear1lbl2.Text = a
    pqriminvolasyear1lbl3.Text = a
    pqriminvolasyear1lbl4.Text = a
    pqriminvolasyear1lbl5.Text = a
    pqrimindislbl.Visible =
    False
    pqriminprevbtn.Visible =
    False
    pqriminnextbtn.Visible =
    False
    End If
    End Sub
    </script>
    <style type="text/css">
    .trest
    .newStyle1
    text-align: right;
    .table
    width: 100%;
    .newStyle2
    font-size: 20pt;
    font-weight: bold;
    text-decoration: underline;
    text-align: center;
    .tdparts2
    font-size: 16pt;
    font-weight: bold;
    .tb25
    width: 25%;
    font-size: 9pt;
    .tb20
    width: 20%;
    font-size: 9pt;
    .tb40
    width: 40%;
    font-size: 9pt;
    .tb30
    width: 30%;
    font-size: 9pt;
    </style>
    </
    asp:Content>
    It works fin, but the designer keeps craping out.  This was not happening until recently.  Not sure what is up with it.

  • How can I add a language on pages (Greek) to check the spelling when that language is not on the list?

    how can I add a language on pages (Greek) to check the spelling when that language is not on the list?
    I can see other languages available for spelling check, but not Greek and I dont see how to add it.
    I have added the Greek keyboard on the Mac, so I can write in Greek , but I dont know how to check the spelling in Greek on pages

    You can try to add a 3rd party spellchecker
    http://milaraki.com/blog/2010/11/greek-spelling-at-pages-how-to/

  • Bypass Required Field Validation when needed in PDF Dynamic Form

    I faced a tricky situation, where some fields are required, but we need to allow bypass required (mandatory) validation rule when saving the form, and require to fill such fields when submitting the form. In other words, provide flexible control when to turn On / Off this feature.
    I wanted to implement a flexible solution, and I will post my findings here. Appreciate your feedback for improvements.
    Steps:
    1. Mark rquired fields as required.
    2. Specify "Empty Message" as "This field cannot be left blank", or similar.
    3. Specify "Validation Script Message" as "This field must have a proper value before submit", or similar.
    4. Create a Global Form Level Variable something like "StopTotalValidation" and default as "1" means by default, Turn Off Validation for some cases.
    5. For the fields which require this type of control, add the script (to be defined later) on the "validate" event:
    myTools.validateForRequiredField(this);
    6. Create a Script Object "myTools" and add the following script:
    function initStringFunc() {
    //call this function on Document Initialize
    String.prototype.trim = function() {
        return this.replace(/^\s+|\s+$/g,"");
    String.prototype.ltrim = function() {
        return this.replace(/^\s+/,"");
    String.prototype.rtrim = function() {
        return this.replace(/\s+$/,"");
    String.prototype.isEmpty = function() {
        return (this == null) || this.trim() == "";
    function setNodeProperty(theNode, theProperty, newValue) {
       if (theNode[theProperty] != newValue) {
            theNode[theProperty] = newValue; 
    function isNodePropertyEmpty(theNode, theProperty) {
        var result;
        if (theNode == null || theNode[theProperty] == null) {
            result = true;
        } else {
            result = theNode[theProperty].isEmpty();
        return result;
    function disableTotalValidation() {
        StopTotalValidation.value = "1";
    function enableTotalValidation() {
        StopTotalValidation.value = "0";
    function isTotalValidationOn() {
        return StopTotalValidation.value != "1";
    function isTotalValidationOff() {
        return StopTotalValidation.value == "1";
    const conRequired = "(required)";
    function validateForRequiredField(theFld) {
        // Bypass Required Field Validation when Global Validation is Off.
        var result=false;
        if (theFld) {
            if (theFld.mandatory && theFld.mandatory == "error") {
                if (myTools.isNodePropertyEmpty(theFld, "rawValue")) {
                    myTools.setNodeProperty(theFld, "rawValue", conRequired);
                if (isTotalValidationOn()) {
                    if (isNodePropertyEmpty(theFld, "rawValue") || theFld.rawValue.toLowerCase() == conRequired.toLowerCase()) {
                        result = false;
                    } else {
                        result = true;
                } else {
                    result = true;             
        } else {
            result = false;
        return result;
    7. Now, on the click of "Save" button call the function "disableTotalValidation()" and on the click of "Submit" button call the function "enableTotalValidation()".
    I have just finished implementing the above solution, and as per my initial testing, it is working fine.
    I will post this to my Google Docs workspace, and provide updates their.
    Tarek.

    Hi Tarek,
    I see what you mean in relation to clarity if you used the form variable approach. It was only a suggestion. Like so many things in LC, there is more than one way to finding a solution to a problem.
    The triple equal sign (===) is testing if the condition is equal, but to a higher standard. It is testing if the values are identical to each other. For example if you were testing if a textfield was empty, with Equality (==) you might have this:
    if (this.rawValue == null || this.rawValue == "") {
         // Some script
    If you use Identity (===) you can do the same thing with less script:
    if (this.rawValue === null) {
         // Some script
    It is also useful when testing the value of an object, but also the type (eg string, number, Boolean).
    Lastly, it can be used for non-identity (!==).
    In relation to createNode() etc, apart from John's blog, it is covered in the LC documents: http://www.adobe.com/support/documentation/en/livecycle/documentation.html. Look for the scripting guides and the guide to the XML Form Object Model.
    Good luck,
    Niall

Maybe you are looking for

  • Assigning learners to Learner Group and creation of Learner Group.

    Hi All, Are there any standard ways to create Learner Groups from R12.1.3. I have tried looking for Oracle standard APIs but did not find them. Is there any other way we can create Learner group from back end. I know to create them from Application b

  • Initial Time Machine Backup never ends

    Hi all folks, I try to backup my PB12 Disc (120 GB) to a external 500 GB Disc, connected via FW400, but the backup never ends, I think. The backup starts with 100MB/min but after 20h (80GB are store to a external Disc) it slow down to 1MB/min. With t

  • Button change?

    I have a a twitter logo, jpeg, exported out of Photoshop... I have it marked as a button, but how do I edit up, over, down, and disabled states so like when the mouse is hovered over the button, it changes color/appearance, kind of like around 3:00 h

  • Deployed portlet invisible in Access Manager when creating channel

    Hi I'm hoping one of you can help me out on this one. I'm trying to deploy a new build portlet, but get stuck when I want to create a new channel in SJS Access Manager. For some reason my portlet is not shown in the dropdownlist. Please note: the por

  • Exporting stuff out of ACS

    Thought it worth noting that as part of aaa-reports! we have various VBS scripts for exporting the ACS database into csv's containing usernames,groups,devices & NDGs. Passwords are not included, but its useful to get basic data out for admin purposes