Java Embedding setVariableData not working - Urgent

Hi Guys,
I tried a simple HelloWord/Echo Kinda example, accessing input variable using getVariableData and assigning it to output variable using setVariable data in Java Embedding. It's throwing an error.
JavaEnbedCode :
String xmlData = ((oracle.xml.parser.v2.XMLElement) getVariableData("inputVariable","payload","/client:HelloJavaEmbedBPELProcessRequest/client:input")).getFirstChild().getNodeValue();
setVariableData("outputVariable","payload","/client:HelloJavaEmbedBPELProcessResponse/client:result",xmlData);
Imports:
<bpelx:exec import="java.util.*"/>
<bpelx:exec import="java.lang.*"/>
<bpelx:exec import="java.rmi.RemoteException"/>
<bpelx:exec import="javax.naming.NamingException"/>
<bpelx:exec import="org.w3c.dom.Element"/>
<bpelx:exec import="java.math.*"/>
<bpelx:exec import="java.io.*"/>
<bpelx:exec import="java.net.*"/>
Error:
<selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
messageType: {}
parts: {{summary=&lt;summary>XPath query string returns zero node.
According to BPEL4WS spec 1.1 section 14.3, The assign activity &amp;amp;lt;to&amp;amp;gt; part query should not return zero node.
Please check the BPEL source at line number "" and verify the &amp;amp;lt;to&amp;amp;gt; part xpath query.
&lt;/summary>
</summary>
</part></selectionFailure>
I am using Jdev 10.1.3.3 and SOA Suite 10.1.3.3
Thanks in adavance.

I gave up trying to reference elements, especially those that are accessed through the input and output messages and leave that up to BPEL Assigns. So my inline Java looks like this and it works in 10.1.3.3.
Hopefully the forum leaves enough of the formatting intact for you to get the idea.
/*Write your java code below e.g.
     System.out.println("Hello, World");
try{                                                              
String in = (String)getVariableData("Input_Value");
addAuditTrailEntry("You Entered: " + in);
int InvalidCharsFound = 0;
String ValidChars="0123456789.";
String FilteredChars="$ ,";
String TempChar="";
String Tempstring="";
int innum;
double inval;
innum=in.length();//get string length
for (int i=0;i<innum;i++){         
TempChar = in.substring(i,i+1);
if (ValidChars.contains(TempChar)){         
Tempstring+=TempChar;
else {         
if (FilteredChars.contains(TempChar)){   
//filtered char was found
addAuditTrailEntry("A filtered character was found such as: " + FilteredChars);
else{   
//invalid chars
InvalidCharsFound = 1;
addAuditTrailEntry("An invalid character was found");
if (InvalidCharsFound == 0){  
//clean number input was detected so proceed.
inval = Double.valueOf(Tempstring).doubleValue();
inval *= 100;//multiply by 100
addAuditTrailEntry("Times 100 is: " + inval);
double out = Math.rint(inval);
addAuditTrailEntry("Rounded is: " + out);
out /= 100;
addAuditTrailEntry("Divided by 100 is: " + out);
DecimalFormat myFormatter = new DecimalFormat("###.00");
String output = myFormatter.format(out);
addAuditTrailEntry("Formated is: " + output);
setVariableData("Output_Value",output);
else
// The number input was not a good clean number
setVariableData("Output_Value","ERROR the input was not a number");
catch(Exception e){                                                                    
addAuditTrailEntry(e);
If you actually find this Java example that I made usefull keep in mind the Math.rint
function incorrectly rounds 100.5 to 100 instead of 101. Or in other words with this program if you try to round 100.245 it will produce 100.24. This is not a problem for what I'm using it for as I'm simply trying to correct small inaccuracies found when adding 2 currency numbers using BPEL see Bug No. 6451541
As far as the Math.rint "bug" I have found this same issue duscussed on the sun java forums and as far as I can tell someone who is mathematically brilliant (compared to me) decided that this was the correct way to round. I'm glad I'm not in school any more.
Oh the complete BPEL source looks like this (I probably should have included this instead)
<?xml version = "1.0" encoding = "UTF-8" ?>
<!--
Oracle JDeveloper BPEL Designer
Created: Tue Sep 04 10:45:03 PDT 2007
Author: RTaylor
Purpose: Synchronous BPEL Process
-->
<process name="BPEL_Round_Currency"
targetNamespace="http://xmlns.oracle.com/BPEL_Round_Currency"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:client="http://xmlns.oracle.com/BPEL_Round_Currency"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
<!--
PARTNERLINKS
List of services participating in this BPEL process
-->
<partnerLinks>
<!--
The 'client' role represents the requester of this service. It is
used for callback. The location and correlation information associated
with the client role are automatically set using WS-Addressing.
-->
<partnerLink name="client" partnerLinkType="client:BPEL_Round_Currency"
myRole="BPEL_Round_CurrencyProvider"/>
</partnerLinks>
<!--
VARIABLES
List of messages and XML documents used within this BPEL process
-->
<variables>
<!-- Reference to the message passed as input during initiation -->
<!-- Reference to the message that will be returned to the requester-->
<variable name="inputVariable"
messageType="client:BPEL_Round_CurrencyRequestMessage"/>
<variable name="outputVariable"
messageType="client:BPEL_Round_CurrencyResponseMessage"/>
<variable name="Input_Value" type="xsd:string"/>
<variable name="Output_Value" type="xsd:string"/>
</variables>
<!--
ORCHESTRATION LOGIC
Set of activities coordinating the flow of messages across the
services integrated within this business process
-->
<sequence name="main">
<!-- Receive input from requestor. (Note: This maps to operation defined in BPEL_Round_Currency.wsdl) -->
<receive name="receiveInput" partnerLink="client"
portType="client:BPEL_Round_Currency" operation="process"
variable="inputVariable" createInstance="yes"/>
<!-- Generate reply to synchronous request -->
<assign name="Copy_Input">
<copy>
<from variable="inputVariable" part="payload"
query="/client:BPEL_Round_CurrencyProcessRequest/client:input"/>
<to variable="Input_Value"/>
</copy>
<copy>
<from variable="inputVariable" part="payload"
query="/client:BPEL_Round_CurrencyProcessRequest/client:input"/>
<to variable="Output_Value"/>
</copy>
</assign>
<bpelx:exec import="java.text.DecimalFormat"/>
<bpelx:exec name="Round_Output" language="java" version="1.3">
<![CDATA[/*Write your java code below e.g.                                       
     System.out.println("Hello, World");                                      
try{                                                              
   String in = (String)getVariableData("Input_Value");                                                                   
   addAuditTrailEntry("You Entered: " + in);  
   int InvalidCharsFound = 0;  
   String ValidChars="0123456789.";   
   String FilteredChars="$ ,";   
   String TempChar="";         
   String Tempstring="";         
   int innum;         
   double inval;         
   innum=in.length();//get string length         
   for (int i=0;i<innum;i++){         
          TempChar = in.substring(i,i+1);         
          if (ValidChars.contains(TempChar)){         
              Tempstring+=TempChar;         
else {         
if (FilteredChars.contains(TempChar)){   
//filtered char was found
addAuditTrailEntry("A filtered character was found such as: " + FilteredChars);
else{   
//invalid chars
InvalidCharsFound = 1;
addAuditTrailEntry("An invalid character was found");
if (InvalidCharsFound == 0){  
//clean number input was detected so proceed.
inval = Double.valueOf(Tempstring).doubleValue();
inval *= 100;//multiply by 100
addAuditTrailEntry("Times 100 is: " + inval);
double out = Math.rint(inval);
addAuditTrailEntry("Rounded is: " + out);
out /= 100;
addAuditTrailEntry("Divided by 100 is: " + out);
DecimalFormat myFormatter = new DecimalFormat("###.00");
String output = myFormatter.format(out);
addAuditTrailEntry("Formated is: " + output);
setVariableData("Output_Value",output);
else
// The number input was not a good clean number
setVariableData("Output_Value","ERROR the input was not a number");
catch(Exception e){                                                                    
addAuditTrailEntry(e);
}]]>
</bpelx:exec>
<assign name="Copy_Output">
<copy>
<from variable="Output_Value"/>
<to variable="outputVariable" part="payload"
query="/client:BPEL_Round_CurrencyProcessResponse/client:result"/>
</copy>
</assign>
<reply name="replyOutput" partnerLink="client"
portType="client:BPEL_Round_Currency" operation="process"
variable="outputVariable"/>
</sequence>
</process>

Similar Messages

  • Java script is not working in custom tabular form

    hai all,
    i have changed my built in tabular form to custom tabular form.my java script is coding working fine in built in tabular form . But in my custom tabular form java script is not working ,since it is created as standard report(Display As).
    pls help me.
    with thanks and regards
    sivakumar.G

    Is the appostrophe function test(pthis) *'* present in your javascript code...
    If not can you post the same in apex.oracle.com and give the credential so that I can the why its not wroking
    Regards,
    Shijesh

  • Java command still not working - please help

    i have installed jdk1.6.0_05. The javac command works fine but the java command does not work at all. even when i try java HelloWorld i receive this exception message
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld
    Caused by: java.lang.ClassNotFoundException: HelloWorld
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    please help (you to SUN)!!

    bart@kerberos:~$ javac -help
    Usage: javac <options> <source files>
    where possible options include:
      -g                         Generate all debugging info
      -g:none                    Generate no debugging info
      -g:{lines,vars,source}     Generate only some debugging info
      -nowarn                    Generate no warnings
      -verbose                   Output messages about what the compiler is doing
      -deprecation               Output source locations where deprecated APIs are used
      -classpath <path>          Specify where to find user class files and annotation processors
      -cp <path>                 Specify where to find user class files and annotation processors
      -sourcepath <path>         Specify where to find input source files
      -bootclasspath <path>      Override location of bootstrap class files
      -extdirs <dirs>            Override location of installed extensions
      -endorseddirs <dirs>       Override location of endorsed standards path
      -proc:{none,only}          Control whether annotation processing and/or compilation is done.
      -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
      -processorpath <path>      Specify where to find annotation processors
      -d <directory>             Specify where to place generated class files
      -s <directory>             Specify where to place generated source files
      -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files
      -encoding <encoding>       Specify character encoding used by source files
      -source <release>          Provide source compatibility with specified release
      -target <release>          Generate class files for specific VM version
      -version                   Version information
      -help                      Print a synopsis of standard options
      -Akey[=value]              Options to pass to annotation processors
      -X                         Print a synopsis of nonstandard options
      -J<flag>                   Pass <flag> directly to the runtime systemSee the bold part.
    More information: [http://java.sun.com/docs/books/tutorial/java/package/managingfiles.html]

  • Could not find an installed JDK, SCM Java Tools may not work until registry

    Hello all,
    I've downloaded the latest full version of Designer (10.1.2.3), but getting installation error: Could not find an installed JDK, SCM Java Tools may not work until registry
    Any solution?

    3. install the Designer 10.1.2.3 patch to the Developer suite home.When I try to do this at C:\oracle\product\Ora10gDSR2, I get a message OUI-10137: An Oracle Home with name OUIHome already exits at C:\OraHome (a directory that doesn't exist) please specify another name for Oracle Home.
    I don't want to just specify another name because cleaning up these faulty installations requires deleting registry keys, etc, since the deinstall does't really remove everything sufficiently to start with a clean slate.
    I also got the Java JDK message because the JDK 5 is no longer being put straight onto the C drive, it is buried in C:\Sun\SDK\jdk, so some java programs have to be pointed to it. The Oracle installer doesn't provide this option.
    Also, Michael, your post, "Re: Designer 10.1.2.3 on windows Xp Posted: Oct 20, 2007 7:05 AM in response to: mmehdi" is full of unreadable characters and question marks. Maybe I don't have a font you are using. There are also references to a zip file and a Word document that aren't there.
    Anyway, thanks for all your time and effort,
    Edward

  • HT1338 Hi, as I shall correct Java for a new mountain ...? Java is currently not working at all Jarda

    Hi, as I shall correct Java for a new mountain ...?
    Java is currently not working at all
    Jarda

    Your question doesn't make much sense, so this is a WAG. Launch the Java Preferences.app in /Utilities, install the Java Runtime Environment when prompted, and, when that's finished, enable Java and Web Start apps.

  • Java session is not working in browser sometimes

    Hi,
    In some PC, sometimes session is not working properly in browser.
    In JSP, I am creating the session like below
         session = request.getSession(true);
         session.putValue("loginid",login);
    But in next page, it is showing null value.
    I have checked the browser setting... cookies are enabled... everything is ok in browser setting..
    In our company, this issue is coming in some of PC not all in all the PC
    If we format the harddisk & again reinstall the OS, it starts working.
    Anyone can pls help me on this?. This is very urgent.
    Regards
    Selva

    As of Version 2.2 putValue(java.lang.String name,
    java.lang.Object value) has been deprecated.
    Use session.setAttribute("loginid",login) instead of putValue()

  • Sharepoint 2013 Server Search Not Working, URGENT!!

    Hi thr,
    im a current sharepoint 2013 server user and im facing a severe problem with sharepoint now, i cannot search using the search bar 
    And the Search Service Application keeps giving me this error, 'The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component in search application ‘Search Service Application’
    is in a good state and try again. '
    I have tried every possible way including creating new search service application, restarting the services , everything i had already tried but its still not working and keep giving me errors
    Anyone can help me? its very urgent here, thanks

    Can you check out the patch status of the servers? If you've got auto-update on the servers and something for SharePoint has been downloaded and installed, it might need to be configured still. Either the PS Config (as suggested below) or the Set-up wizard
    will take care of this
    Additionally, the TechNet Wiki has something that might help you out
    http://social.technet.microsoft.com/wiki/contents/articles/22838.sharepoint-2013-the-search-service-is-not-able-to-connect-to-the-machine-that-hosts-the-administration-component.aspx
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Java Gridbag Layout Not Working

    Hi,
    I have a java sound applet that works, with buttons and icons and combo boxes. I have just added a label and I want the label to appear beneath the buttons and combo boxes, so I decided that Gribag is the best way of achieving this. However, I have set all the co-ordinates to the right places, and suddenly, everything is in the center in one line. Here is the code:
    import javax.swing.*;
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class SoundApplet extends JApplet
                             implements ActionListener,
                                        ItemListener {
        AppletSoundList soundList;
        String auFile = "spacemusic.au";
        String aiffFile = "flute+hrn+mrmba.aif";
        String midiFile = "trippygaia1.mid";
        String wavFile = "monkwebstune.wav";
        String chosenFile;
        AudioClip onceClip, loopClip;
        JComboBox formats;
        JButton playButton, loopButton, stopButton;
        boolean looping = false;
        public void init() {
            String [] fileTypes = {auFile,
                                   aiffFile,
                                   midiFile,       
                                   wavFile,};
            Container contentArea = getContentPane();
            contentArea.setBackground(Color.black);
            GridBagLayout flowManager = new GridBagLayout();
            GridBagConstraints pos = new GridBagConstraints();
            contentArea.setLayout (flowManager);
            formats = new JComboBox(fileTypes);
            formats.setSelectedIndex(0);
            chosenFile = (String)formats.getSelectedItem();
            formats.addItemListener(this);
            formats.setBackground(Color.blue);
            formats.setForeground(Color.white);
            pos.gridx = 1; pos.gridy = 1;
            contentArea.add(formats, pos);
            Image playImage = getImage( getCodeBase () , "play.gif" );
            ImageIcon playIcon = new ImageIcon( playImage );
            playButton = new JButton("Play", playIcon);
            playButton.addActionListener(this);
            playButton.setBackground(Color.green);
            playButton.setForeground(Color.black);
            pos.gridx = 1; pos.gridy = 1;
            contentArea.add(playButton, pos);
            Image loopImage = getImage( getCodeBase () , "loop.gif" );
            ImageIcon loopIcon = new ImageIcon( loopImage );
            loopButton = new JButton("Loop", loopIcon);
            loopButton.addActionListener(this);
            loopButton.setBackground(Color.yellow);
            loopButton.setForeground(Color.black);
            pos.gridx = 2; pos.gridy = 1;
            contentArea.add(loopButton, pos);
            Image stopImage = getImage( getCodeBase () , "stop.gif" );
            ImageIcon stopIcon = new ImageIcon( stopImage );
            stopButton = new JButton("Stop", stopIcon);
            stopButton.addActionListener(this);
            stopButton.setEnabled(false);
            stopButton.setBackground(Color.red);
            stopButton.setForeground(Color.black);
            pos.gridx = 3; pos.gridy = 1;
            contentArea.add(stopButton, pos);
            JLabel Occult = new JLabel ("Occult");
            pos.gridx = 2; pos.gridy = 3;
            contentArea.add(Occult, pos);
            setContentPane(contentArea);
            JPanel controlPanel = new JPanel();
            controlPanel.add(formats);
            controlPanel.add(playButton);
            controlPanel.add(loopButton);
            controlPanel.add(stopButton);
            controlPanel.add(Occult);
            getContentPane().add(controlPanel);
            controlPanel.setBackground(Color.black);
            setContentPane(contentArea);
            startLoadingSounds();  
        public void itemStateChanged(ItemEvent e) {
            chosenFile = (String)formats.getSelectedItem();
            soundList.startLoading(chosenFile);
        void startLoadingSounds() {
            //Start asynchronous sound loading.
            soundList = new AppletSoundList(this, getCodeBase());
            soundList.startLoading(auFile);
            soundList.startLoading(aiffFile);
            soundList.startLoading(midiFile);
            soundList.startLoading(wavFile);
        public void stop() {
            onceClip.stop();        //Cut short the one-time sound.
            if (looping) {
                loopClip.stop();    //Stop the sound loop.
        public void start() {
            if (looping) {
                loopClip.loop();    //Restart the sound loop.
        public void actionPerformed(ActionEvent event) {
            //PLAY BUTTON
            Object source = event.getSource();
            if (source == playButton) {
                //Try to get the AudioClip.
                onceClip = soundList.getClip(chosenFile);
                onceClip.play();     //Play it once.
                stopButton.setEnabled(true);
                showStatus("Playing sound " + chosenFile + ".");
                if (onceClip == null) {
                    showStatus("Sound " + chosenFile + " not loaded yet.");
                return;
            //START LOOP BUTTON
            if (source == loopButton) {
                loopClip = soundList.getClip(chosenFile);
                looping = true;
                loopClip.loop();     //Start the sound loop.
                loopButton.setEnabled(false); //Disable loop button.
                stopButton.setEnabled(true);
                showStatus("Playing sound " + chosenFile + " continuously.");
                if (loopClip == null) {
                    showStatus("Sound " + chosenFile + " not loaded yet.");
                return;
            //STOP LOOP BUTTON
            if (source == stopButton) {
                if (looping) {
                    looping = false;
                    loopClip.stop();    //Stop the sound loop.
                    loopButton.setEnabled(true); //Enable start button.
                else if (onceClip != null) {
                    onceClip.stop();
                stopButton.setEnabled(false);
                showStatus("Stopped playing " + chosenFile + ".");
                return;
    }How can I get everything to follow the co-ordinates I specified?
    Thanks in advance.

    try setting a weightx or weighty with a non-zero number between 0 and 1.
    constraint.weightx = 0.5;

  • Java Applet is not working in IE11 in win8/win 2008 server

    Hi,
    we have developed web application using PHP. in the start of the page we have link which will kick start the Java Applet application on click.  
    It is not working in IE 11 browser with all windows machine until we add that page in the compatibility view settings.
    we have tried with many options like setting the meta tag in the start of the HTML page.
    but this is also not helped. we expect some more idea/solution to solve this issue.
    Thanks in Advance.
    Thanks.
    Udhayakumar Gururaj.

    IE 11 is not a supported browser of JavaFx. See http://www.oracle.com/technetwork/java/javafx/downloads/supportedconfigurations-1506746.html.
    If you want Oracle to change their support policy, ask Oracle customer support.
    Visual C++ MVP

  • Java script is not working while coming back to the page.

    Hi Experts,
    I am working in jdev 11.1.1.3.0 with ADF BC.
    I am callling javascript in my jsff, while this javascrip is invoking file download method. this java script i am inovking from another button action, because in some case i need to invoke popup and some case i need to invoke file download for this i have taken one button in that button i am invoking these 2 based on some condition. everything is working fine except if i move another jsff and come back to this jsff then the file download is not happening.
    can any one tell me what is the issue here.
    java script:
    function customHandler(event) {
    var exportCmd = AdfPage.PAGE.findComponentByAbsoluteId("pt1:pt_region0:1:cb1")
    var actionEvent = new AdfActionEvent(exportCmd);
    actionEvent.noResponseExpected();
    actionEvent.queue();
    java bean:
    if(downloadFile!=null){
    System.out.println("invoking downloads...............................");
    erks.addScript(context, "customHandler();");
    } if (requestClause != null){
    System.out.println("invoke popup");
    executeSactionCheckVO(requestClause);
    ADFUtils.invokePopup(this.getP2().getClientId(FacesContext.getCurrentInstance()));
    Here my bean is in backing bean scope.
    can any one help what may be the issue here. or if you can tell me how to call file download method from backing that can be great help full to me.
    Edited by: user5802014 on Aug 27, 2010 1:52 PM

    Hi:
    So it's the "erks.addScript(context, "customHandler();");" may not work properly the next time coming back from another jsff.
    And very likely the statement of: var exportCmd = AdfPage.PAGE.findComponentByAbsoluteId("pt1:pt_region0:1:cb1") in your javascript command gave you error. Are you sure that "pt1:pt_resion0:1:cb1" is valid all the time no matter how the page is rendered?
    Please mark my answer as 'Helpful' if it helps.
    Thanks,
    Alex

  • IMessage and FaceTime not working, Urgent Help please!!!

    Hi guys,
    Need help urgently, my iMessage and FaceTime are both not working on my Macbook Pro.
    The iMessage gives giving this message "Could not sign in. Please check your network connection and try again.", while FaceTime just simply cannot login.
    Please help!!!

    This could be a complicated problem to solve, as there are many possible causes for it. Test after taking each of the following steps that you haven't already tried. Back up all data before making any changes.
    Before proceeding, test on another network, if possible. That could be a public Wi-Fi hotspot, if your computer is portable, or a cellular network if you have a mobile device that can share its Internet connection. If you find that iMessage works on the other network, the problem is in your network or at your ISP, not in your computer.
    Step 1
    Check the status of the service. If the service is down, wait tor it to come back up. There may be a localized outage, even if the status indicator is green.
    Step 2
    Sign out of iMessage and FaceTime on all your Apple devices. Log out and log back in. Try again to sign in.
    Step 3
    Restart your router and your broadband device, if they're separate. You may have to skip this step if you don't control those devices.
    Step 4
    From the menu bar, select
               ▹ About This Mac
    Below the "OS X" legend in the window that opens, the OS version appears. Click the version line twice to display the serial number. If the number is missing or invalid according to this web form, take the machine to an Apple Store or other authorized service center to have the problem corrected.
    Step 5
    Take the steps suggested in this support article. If you don't understand some of the steps or can't carry them out, ask for guidance.
    Step 6
    From the menu bar, select
               ▹ System Preferences... ▹ Network
    If the preference pane is locked, click the lock icon in the lower left corner and enter your password to unlock it. Then click the Advanced button and select the Proxies tab. If the box marked SOCKS Proxy is checked, uncheck it. You don’t need to change any other settings in the window. Click OK and then Apply. Test.
    The result may be that you can't connect to the Internet at all. Revert the change if that happens, or if iMessage still doesn't work. Remember that you must Apply any changes you make in the preference pane before they take effect.
    Step 7
    Select from the menu bar
               ▹ System Preferences… ▹ Flash Player ▹ Storage
    and click
              Block all sites from storing information on this computer
    Close the preference pane.
    Step 8
    Make sure you know the ID and password you use with iMessage. Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Use the search box in the toolbar of the Keychain Access window to find and delete all items with "iMessage" or "com.apple.idms" in the name. Log out and log back in.
    Step 9
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    If iMessage worked in the guest account, stop here and post your results.
    Step 10
    Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you start up, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start and run than normal, with limited graphics performance, and some things won’t work at all, including sound outputand Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. After testing, restart as usual (i.e., not in safe mode) and test again.
    If iMessage worked in safe mode, but still doesn't work when you restart in "normal" mode, stop here and post your results.
    Step 11
    Triple-click anywhere in the line below on this page to select it:
    /Library/Preferences/com.apple.apsd.plist
    Right-click or control-click the highlighted line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash. You may be prompted for your administrator login password. Restart the computer and empty the Trash.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    Step 12
    Reset the NVRAM.
    Step 13
    Reset the System Management Controller (SMC).
    Step 14
    Reinstall OS X.
    Step 15
    If none of the above steps resolves the issue, make a "Genius" appointment at an Apple Store, or contact Apple Support. When you set up a support call, select "Apple ID" as the product you need help with, not the hardware model. That way, if you're not under AppleCare, you may be able to talk your way out of being charged for the call.

  • Java Proxy Generation not working - Support for Parallel Processing

    Hi Everyone,
    As per SAP Note 1230721 - Java Proxy Generation - Support for Parallel Processing, when we generate a java proxy from an interface we are supposed to get 2 archives (one for serial processing and another suffixed with "PARALLEL" for parallel processing of jaav proxies in JPR).
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1230721
    We are on the correct patch level as per the Note, however when we generate java proxy from the IR for an outbound interface, it genrates only 1 zip archive (whose name we ourselves provide in the craete new archive section). This does not enable the parallel processsing of the messages in JPR.
    Could you please help me in this issue, and guide as to how archives can be generated for parallel processing.
    Thanks & Regards,
    Rosie Sasidharan.

    Hi,
    Thanks a lot for your reply, Prateek.
    I have already checked SAP Note 1142580 - "Java Proxy is not processing messages in parallel" where they ask to modify the ejb-jar.xml. However, on performing the change in ejb-jar.xml and while building the EAR, I get the following error:
    Error! The state of the source cache is INCONSISTENT for at least one of the request DCs. The build might produce incorrect results.
    Then, on going through the SAP Note 1142580 again, I realised that the SAP Note 1230721 also should be looked onto which will be needed for generating the Java proxy from Message Interfaces in IR for parallel processing.
    Kindly help me if any of you have worked on such a scenario.
    Thanks in advance,
    Regards,
    Rosie Sasidharan.

  • Java plugin is not working properly

    I have FF 16.0.1 and Java plugin 7 u 9, this is not the java with security problems...
    http://web.psjaisd.us/auston.cron/ABCronPortal/GeoGebraMenu/Investigating%20Parent%20FunctionsUsing%20GeoGebraGeoGebra%20is%20graphing.htm
    loads very slowly or not at all, including the majority of the links on the page...this is a menu to multiple Java applets in GeoGebra. This page has a preload link which causes a problem. All links are java applets which until your security issues on Java were implements worked flawlessly and better than any other browser service...
    You are forcing me to us IE, which I despise!
    I cannot copy from crashing page...

    So, you are having problems with Java 7 update 9 in Firefox? You said "until your security issues on Java were implements worked flawlessly and better than any other browser service..." I don't know what you mean. Java security updates are from java.com (Oracle) not Mozilla.
    In case it helps, I downgraded from Java 7 to Java 6 awhile back for security reasons and I'm now running [http://java.com/en/download/manual_v6.jsp Java 6 Update 37], which is the latest Java 6 and has all current security patches. (I'll eventually switch back to Java 7 once Java 6 is no longer supported). Except for a few of the links loading slowly, I don't see any issues on the page you mentioned. Hopefully someone with Java 7 u9 will be along and test the links but you could try uninstalling Java 7 and installing Java 6. More on Java here:
    *http://kb.mozillazine.org/Java
    *[[Use the Java plugin to view interactive content on websites]]
    You also said, "I cannot copy from crashing page". Is Firefox crashing? Do you have any recent crash reports?
    #Enter about:crashes in the Firefox location bar (that's where you enter your website names) and press Enter. You should now see a list of submitted crash reports.
    #Copy the most recent 5 report IDs that you see in the crash report window and paste them into your forum response.
    More information and further troubleshooting steps can be found in the [[Firefox crashes]] article.
    Also, Firefox 16.0 is not the current version and is insecure. See http://www.mozilla.org/security/known-vulnerabilities/firefox.html
    Unless you have reasons for using an older version despite the vulnerabilities, you should [[update Firefox to the latest version]], currently 17.0.1.

  • Java Script Code not working properly for visios in sharepoint 2013

    Hi all ,
                 I have few visios and I am using the visio web part to display and to redirect from one visio to other visio I am using the java script code through content editor web part . 
    In share point 2010 it's working fine , I was able to redirect to all the visios and code is working fine .
    In share point 2013 its not the same , Its not working properly . only for the first time the code is working fine . once it goes to next visio the code stops working . 
    For example if i click in visio A it gets redirect to Visio B and its stops working , it wont allow to do any other steps . 
    I have checked with the URL its correct , I am not able to find any error also .
    Indresh

    This will be likely caused by the Minimal Download Strategy not registering the Javascript on the page reload. You can turn off the MDS feature to test this.
    You can either turn off MDS in your site, or register your Javascript functions with MDS to ensure they are called. To do this, you'll need all of your code to be wrapped in a javascript file (Embed this on the page using a <script> tag and
    inside that file in a function, which you then register with MDS as follows (I usually do this in the first line of the javascript file):-
    RegisterModuleInit("/SiteAssets/YourJavaScriptFile.js", NameOfYourFunction);
    Regards
    Paul.
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • WD java-Blackberry link not working

    Hi,
    I have a application which has two links that the user gets via a mail which is trigered automatically once the billing form is saved for approval (Mangaer gets the mail which on clicking opens a wd java application).
    1. For general user and other
    2.For Blackberry users.
    This application was working properly with previous versions of ECC.But after a recent patch update ECC 6.0 EHP4,the blackberry link is not working properly.After searching the sdn I came to know that the recent update allows only encrypted url
    to be sent and decrypted at the server (/thread/1769302 [original link is broken]).
    Please suggest me how do i get the url as per the current ECC EHP4 patch so that the approver on clicking the blackberry link will be directed to the Webdynpro application that we have developed.
    Please suggest.
    Regards,
    Ranjan.

    Well I am sure it will get fixed, the big question is when ? I like you have a Blackberry phone and a Mac Book Pro and did not update to Yosemite yet but it is only a matter of time as there will be no more updates for Mavericks and Apple keeps popping up reminding me every time I open a program.
    Things move too fast today and everyone wants to be the best so the upgrades just keep coming and coming giving us little time to adjust and making others play catch-up and there seems to be many more issues that have to be fixed.
    When they do get fixed along comes another upgrade and it starts all over again. Change is good but I think most people will opt out of change for reliability.
    Please let me know how Media sync works and don't forget you can still use BB Device Manager for most things but not all.
    I use only BB Device Manager as my Contacts and Calendar are backed up at MSN.

Maybe you are looking for

  • Problem viewing form response pdf

    Hi All, I created a form using Acrobat X Pro that I emailed to myself to test before distributing. I filled out the form, then tried to view the response. I got an this error message: So I installed the new Flash, but when I went back to view the res

  • Restore lost Notes

    In a recovery from lost bookmarks, I had to PUSH a replacement set to the iPad (USB connect to my Pro). The "notes" seemed to push as well - replacing my active notes with some old notes from my pro. Is there ANY way to restore or recover my notes? A

  • Will i lose apps when I install mountain lion?

    I'm concerned that I will lose vital applications such as QuickBooks for Mac if I upgrade to Mountain Lion.  I know that in the past non-compliant software simply didn't have access to all features.  With Lion, however, I lost non-compliant applicati

  • Stack overflow error in query region

    HI All I have a query region with advanced table. I also have a detailed region inside this advance table. I.e. table inside table master detail type. I have advance search and view panel set to true . Everything is working fine I.e. simple , advance

  • Abap report to send email in background

    Hello, This code works perfectly in foreground, but don't work in Background !! DATA: out   TYPE ole2_object,          outmail TYPE ole2_object. CREATE OBJECT out 'Outlook.Application' .    CALL METHOD OF out 'CREATEITEM' = outmail    EXPORTING #1 =