Retrieve asyn process result via java

How can I get the asyn process result through com.oracle.bpel.client.Locator?
I have already got the conversation id and the IInstanceHandle
but the getResult and getField are not return a value
Can anyone help me?
Thank you
Roy

Hi Priya,
Please check the links
Working with Tuples
http://help.sap.com/saphelp_nwmdm71/helpdata/en/f9/ff1d5f39c048eaa6e1eb7012004c32/content.htm
and  check
programming interfaces-What's New in MDM Java and .NET API-MDM 7.1
http://help.sap.com/saphelp_nwmdm71/helpdata/en/07/75ee377070466c9fb65030ae2ae4af/frameset.htm
Thanks,
Sudhanshu

Similar Messages

  • Invoking a BPEL Process via Java Remote Client

    Hi everyone!
    I want to invoke a BPEL process from my Java Application which is not running on the same Application-Server (not the same Java RE) as the BPEL processmanager does.
    For Applications running on the same AS there is the IDeliveryService class to which you can send a XML-request in order to invoke a BPEL process.
    Is the only way to invoke a BPEL Process from an external application to use a webservice client or is there a similar class for java remote clients?
    For access to the users worklist I use
    IWorkflowServiceClient wfClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
    it works fine an I thought there might be a similar way to invoke a bpel process via remote too.
    If anyone knows if it's possible or not please tell me ;)
    Thanks in advance
    Markus

    Hello,
    Here is the code I use:
    Properties props = new Properties();
    Locator locator = null;
    props.put("orabpel.platform", "ias_10g" );
    props.put("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory" );
    props.put("java.naming.provider.url","opmn:ormi://host:port/orabpel" );
    props.put("java.naming.security.principal", "adminuser" );
    props.put("java.naming.security.credentials", "mdp" );
    String securityCredentials = "adminuser";
    String selectedDomain = "default";
    locator = new Locator(selectedDomain,securityCredentials,props);
    IBPELProcessHandle procs[] = locator.listProcesses();
    The error is:
    Exception in thread "main" java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: com.oracle.bpel.client.BPELProcessHandle; local class incompatible: stream classdesc serialVersionUID = 5429682712928177644, local class serialVersionUID = 8176841433835717563
    at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:82)
    at com.oracle.bpel.client.Locator.listProcesses(Locator.java:309)
    Thanks for help.
    Edited by: 857737 on 14 sept. 2012 10:00

  • Retrieve SQL Agent Process ID via T-SQL below SQL Server 2008 R2 SP1.

    Dear Folks,
    I have to retrieve the process ID of SQL Agent (as shown in Configuration Manager) via T-SQL Script. It can be easily retrieved in SQL Server 2008 R2 SP1 or above using 'sys.dm_server_services'
    DMV. But I have to retrieve it in SQL Server 2008 R2 RTM and above DMV was not introduced in it. Using XP_cmdshell 'tasklist' is useless as well, as it doesn't reflect the instance specific details of SQLAgent process. Please Suggest the solution. Thanks in
    advance. :)   
    Pranshul Gupta

    Dear Folks,
    I have to retrieve the process ID of SQL Agent (as shown in Configuration Manager) via T-SQL Script. It can be easily retrieved in SQL Server 2008 R2 SP1 or above using 'sys.dm_exec_request' DMV.
    But I have to retrieve it in SQL Server 2008 R2 RTM and above DMV was not introduced in it.
    Using XP_cmdshell 'tasklist' is useless as well, as it doesn't reflect the instance specific details of SQLAgent process. Please Suggest the solution. Thanks in advance. :)   
    Pranshul Gupta
    Hello,
    Sys.dm_exec_requests DMV was introduced from sql server 2005.See this link
    http://technet.microsoft.com/en-us/library/ms177648(v=sql.90).aspx
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • How to make BPEL process to be exposed via java binding?

    How to make a BPEL process itself to be exposed via java binding?

    You can using WSIF. There are a few doc on the internet that explain this here are a few to get you started.
    http://www.oracle.com/technology/pub/articles/bpel_cookbook/juric.html
    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/java.htm
    cheers
    James

  • Problem with starting a sqlplus-process via java.lang.Process

    Hi,
    I want to start a sqlplus-Process from a java-application via java.lang.Process. Works great with XP. On a W2K-Machine, the process is started (I can see it in the Taskmanager), but it doesn't connect to the db - the OS-process hangs, also the java-application which invoked the process.
    If I start a sqlplusw.exe-Process instead of sqlplus.exe, it works as well.
    Does anybody know what's going wrong ?
    I'm using java 1.5.0_11 and Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Thanks in advance
    Jens

    java.lang.Process can be used to perform an OS Shell to launch specific tasks. But why are you interested in specifically launching sqlplus from here?
    ~ Madrid
    http://hrivera99.blogspot.com/

  • How to get process id in java

    I am executing exe file from my java application by using Runtime.exec
    How can i find out from my application whether the exe file is running or not?

    What would you do with the pid? the actual pid is OS dependent in form and how to react. You could do what I've done in the past and that is to do the following.
    I have a java task that spawns new instances of 'things'. As each thing is 'exec'ed, I place its Process object into a 'running queue' and then periodically check its exitValue() to determine if it is still running or not.
    if you don't care about OS dependency and happen to be on a unix system, then when you exec the process, add a unique string as a command line argument that you know won't be used. something like this:
    mypgm -a=blah -b=blah2 myUniqueString
    Then in your code that retrieves the process id, simply do something like this:
    ps -efwww | grep myUniqueString | awk ....
    awk it into something usable or perhaps just grab the raw and parse it in java to extract the process id.
    I think the danger would reside in the idea that if you were to grab the processid and then do a 'kill -9 xx' that java might not clean up correctly. What would happen if a db transaction was taking place right as the -9 signal was received? The results of course would be OS dependent.
    Why do you need the process id? thats the real question....

  • How to open-up a pdf file to a particular page via java? (file and page number from another program)

    I have created an Access 2003 Form. Data is entered. The data can be viewed once entered in the same form format, with one addition. The addition is a link to another program where we store files. The files stored are pdf documents. Each document is a scanned file (500+ pages). The link can open-up the pdf file. I want the link to open-up the pdf file to a particular page. I will supply the page number from the database.
    I am aware of Adobe Acrobat 7.0 PDF Open Parameters using a URL that specifies the file to be opened plus actions to be performed once the file is openend (i.e. http://example.org/doc.pdf#page=3). However, the 3rd party program transfers a file from a server to the client via java. The file does not go via a web browser. The java code transfer the file directly from the file server to the the client.
    Any idea how to accomplish the task of viewing a particular page with the process flow described?
    I am using Adobe Acrobat 7.0 Professional.

    So you are reading this file in a standalone version of Acrobat? If so then use the PDF Open Parameters /a option via the command line.
    Sabian
    Example:
    C:\Program Files\Adobe\Acrobat 7.0\Acrobat>Acrobat.exe /A "zoom=1000=OpenActions" "C:\Program Files\Adobe\Acrobat 7.0\Acrobat\SimpleSubmit.pdf"
    Where:
    Path to Acrobat: C:\Program Files\Adobe\Acrobat 7.0\Acrobat>Acrobat.exe
    Note: The example starts in the Acrobat application directory
    Switch: /A
    Parameter Syntax: "zoom=1000=OpenActions"
    Path to file: "C:\Program Files\Adobe\Acrobat 7.0\Acrobat\SimpleSubmit.pdf"
    Note: The quotes are very important for the syntax to work appropriately.

  • How to create table in interactive form via Java Web Dynpro

    Hi,
    How to create table in interactive form via Java Web Dynpro ?
    Any online tutorial / example ?
    Thank you.
    Regards,
    Eric

    Hi Eric,
    Just choose the UI element Table from Form Library and drag and drop it on the form. now choose the no. of rows and columns and other settings you want about table from the wizard initiated through this process. This all is what you have to do to create the table. Now to bind it to the fields of the data source bind the individual colums to individual attributes of the node in the datasource.
    Hope it will solve your query.
    Regards,
    Vaibhav Tiwari.

  • Logging variable value to log via Java Invocation

    Hi,
    I'm trying to log a variable value to log file via Java Invocation.
    This are my imports:
      <bpelx:exec import="java.util.logging.Logger"/>
      <bpelx:exec import="java.util.logging.Level"/>
      <bpelx:exec import="oracle.fabric.logging.LogFormatter"/>
      <bpelx:exec import="org.w3c.dom.*"/>
      <bpelx:exec import="oracle.xml.parser.v2.XMLElement"/>
      <bpelx:exec import="java.util.*"/>
      <bpelx:exec import="java.lang.*"/>
      <bpelx:exec import="java.math.*"/>
      <bpelx:exec import="java.io.*"/>
      <bpelx:exec import="oracle.soa.common.util.Base64Decoder"/>If I do this, my bpel compiles fine:
            <bpelx:exec name="Java_Embedding_1" version="1.5" language="java">
              <![CDATA[
                  Logger logger = Logger.getLogger("oracle.soa.Logger");
                  LogFormatter.configFormatter(logger);]]>
            </bpelx:exec>Now, if I do this (in order to cast the getVariableData(...) to Element or String, to get it logged):
            <bpelx:exec name="Java_Embedding_1" version="1.5" language="java">
              <![CDATA[
                  Logger logger = Logger.getLogger("oracle.soa.Logger");
                  LogFormatter.configFormatter(logger);
                  getVariableData("sendMessage_InputVariable","body","/ns2:sendMessageInput/ns2:invocationId");]]>
            </bpelx:exec>my BPEL won't compile. I get the error
    Error(55,33): Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "BPELProcess" of composite "default/JDeveloper_BPEL_Project!1.0"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    Not much help in my scac.log. No error, just warning:
    2012-11-13 14:59:40 com.collaxa.cube.CubeLogger info
    INFO: LibClasspath=/opt/Oracle_Middleware_Home/jdeveloper/../oracle_common/modules/commonj.sdo_2.1.0.jar:/opt/Oracle_Middleware_Home/jdeveloper/../oracle_common/modules/oracle.fabriccommon_11.1.1/fabric-common.jar:/opt/Oracle_Middleware_Home/jdeveloper/../oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/orabpel-thirdparty.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/orabpel.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/orabpel-exts.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/orabpel-common.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/orabpel-validator.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/fabric-client.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/oracle.soa.fabric.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/soa-infra-tools.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/fabric-ext.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.ext_11.1.1/classes/:/opt/Oracle_Middleware_Home/jdeveloper/../oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar
    2012-11-13 14:59:40 com.collaxa.cube.CubeLogger info
    INFO: validating "BPELProcess.bpel" ...
    2012-11-13 14:59:41 com.collaxa.cube.CubeLogger warn
    WARNING: CubeProcessor.compileGeneratedClasses() classpath is: /opt/Oracle_Middleware_Home/jdeveloper/jdev/extensions/oracle.sca.modeler.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/opt/Oracle_Middleware_Home/oracle_common/modules/oracle.fabriccommon_11.1.1/fabric-common.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/orabpel.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.mediator_11.1.1/mediator_client.jar:/opt/Oracle_Middleware_Home/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar:/opt/Oracle_Middleware_Home/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/opt/Oracle_Middleware_Home/oracle_common/modules/oracle.xdk_11.1.0/xml.jar::/home/veronica/myProject/myProject_Repozytorium/Asynchronic_BPEL/JDeveloper_Asynchronic_BPEL/JDeveloper_BPEL_Project/SCA-INF/classes:/home/veronica/myProject/myProject_Repozytorium/Asynchronic_BPEL/JDeveloper_Asynchronic_BPEL/JDeveloper_BPEL_Project/SCA-INF/classes:/home/veronica/myProject/myProject_Repozytorium/Asynchronic_BPEL/JDeveloper_Asynchronic_BPEL/JDeveloper_BPEL_Project/SCA-INF/gen-classes:/opt/Oracle_Middleware_Home/jdeveloper/../oracle_common/modules/commonj.sdo_2.1.0.jar:/opt/Oracle_Middleware_Home/jdeveloper/../oracle_common/modules/oracle.fabriccommon_11.1.1/fabric-common.jar:/opt/Oracle_Middleware_Home/jdeveloper/../oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/orabpel-thirdparty.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/orabpel.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/orabpel-exts.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/orabpel-common.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.bpel_11.1.1/orabpel-validator.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/fabric-client.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/oracle.soa.fabric.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/soa-infra-tools.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.fabric_11.1.1/fabric-ext.jar:/opt/Oracle_Middleware_Home/jdeveloper/soa/modules/oracle.soa.ext_11.1.1/classes/:/opt/Oracle_Middleware_Home/jdeveloper/../oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jarIs it missing something? What it is missing?

    Actually I got it to work, and I'm not sure why it hasn't worked before.
    Where are the compiler complaints stored?

  • How to close external files opened via java via java itself?

    hi,
    I am using jdk1.6 so I've used the Desktop Class to run the .bat file for some purposes via java with the open(File f) method. Now, what I want is to close those opened .bat files but had no idea so I would appriciate any help.
    thank you,
    Jay

    Okay, now I've used the ProcessBuilder class for that
    approach. Now I can find the destroy() method in the
    Process class but it didn't help me. Here's how I
    tried:
    public class Main extends JFrame implements
    ActionListener
    Command com;
    public Main()
    super();
    com=new Command(1,this); // this class
    class implements ActionListener and handles the
    actions happening in the Main class.
    a_button.addActionListener(com);
    /* from the Command class the ProcessBuilder is
    der is started returning the instance proc of the
    class Process.*/
    public void windowClosing(WindowEvent evt)
    com.proc.destryo(); //<------ does the API really have a typo in it?
    System.exit(0);
    public void window.....(WindowEvent evt){}....
    }regards,
    Jay

  • Error processing WSDL document: java.lang.ClassCastException: java.util.Ar

    Hi
    Program is giving unpredictable behaviour.
    Am trying to consume webservice using Axis Client.
    When running as stand alone Java programs its working fine.
    But when deployed on OC4J its giving problem
    Error processing WSDL document: java.lang.ClassCastException: java.util.ArrayList
    Could you please give some hint
    Regards
    Bajarang

    Here is the program
    QName serviceQN = new QName(targetNamespace,serviceName );
    System.out.println("After serviceQN "+ serviceQN);
    QName portQN = new QName( targetNamespace, portName );
    System.out.println("After port "+ portQN);
    // This Call object will be used the invocation
    Service service = new Service(implURI,serviceQN);
    System.out.println("After service "+ service);
    Call call = (Call) service.createCall();
    System.out.println("After call "+ call);
    // Now make the call...
    System.out.println("Invoking service>> " + serviceName + " <<...");
    call.setOperation(portQN,operationName);
    call.invoke( inputParams );
    System.out.println("Result returned from call to "+ serviceName+" ");
    Error while execution
    javax.xml.rpc.ServiceException: Error processing WSDL document:
    java.lang.ClassCastException: java.util.ArrayList

  • How to access calendar rules via java

    Hi to all,
    We have a process in which we need to set a Timer, but the date must be validated against Calendar Rules. We searched in forums, webs, documentation and we couldn't find a way to do this.
    I know it is possible to set an expiration date based on Business Calendar on a Human Task (deadline tab in Human task editor), but this is not what we need.
    We actually need a way to set a variable date in the process that can handle only business days. e.g.: 'now' + 2 business days.
    Right now we are setting the Timers with this expression from a Business Rule: Duration.from string("PT48H")
    Then I associate the business rule output with a Time type variable(deadlineTime) doing: 'now' + deadlineTime
    So right after that I can use the Time variable on a timer attached to the human tasks I need. * We need to use business rules because the customer may want to change the times accordingly to their needs through BPM Composer. *
    The problem is that this solution does not take into account Saturday and Sundays (holidays are a concern too).
    We need to set the expiration time to timers attached to human tasks, but the time should consider working days only. We consulted with experts from Oracle and told us that functionality is available in the PS 6 version. At the moment it is impossible to migrate to that version. I need to know how to access via Java APIs to the calendar rules for checking programmatically.
    JDeveloper version: 11.1.1.6
    Any suggestion?
    Thanks in advance
    Marcelo

    Hi Yarner,
    Once you have all your dll included in a jar and used the nativelib tag, you have to use, at the beginning of you application, the command System.loadLibrary to load all the dll you need. Including the ones called by the others you have direct access.
    The dll�s have to be explicitly loaded in the order they are called.
    For example: you use lib1.dll and lib2.dll. The lib1.dll needs lib0.dll.
    Even if you don't use lib0.dll directly, once its called by lib1.dll you have to put then in the order.
    System.loadLibrary("lib0.dll");
    System.loadLibrary("lib1.dll");
    System.loadLibrary("lib2.dll");
    I hope it may help you, good luck.
    Mario

  • Extract image and Features from the Catalog via JAVA API

    Hello,
    I would like to Extract image from the Catalog via JAVA API, Can anybody help on that? I also tried to extract the Features field form the Catalog but results in the error "Features field not found" Any ideas what could have wrong?
    Many thanks,
    Dharmi

    Hello,
    Can anybody tell me where i can find the latest JAVAAPI reference guide? I found the one for MDM 5.5 SP 1 but that also refers to the last parameter of the CatalogCache.Init as int and not string.
    I looked up in service.sap.com/instguides -> SAP Netweaver -> Release 4 -> Installation and there only following 3 files are there for MDM 5.5 SP2
    MDM 5.5 SP02 - Configuration Guide  SAP MDM
    MDM 5.5 SP02 - Installation Guide   SAP MDM
    MDM 5.5 SP02 – ERP-MDM Field Mapping and Check Tables
    Regards,
    Dharmi
    Message was edited by: Dharmi Tanna
    Message was edited by: Dharmi Tanna

  • UWL - Retrieve Rejection text entered via UserDecisionNote

    Hello SDNers,
    I am using task TS20000131 for expense report approval process. I have setup UWL configuration for the same and every thing works fine except the Rejection text.
    In UWL configuration I am using UserDecisionNote and DecisionKey for including a mandatory rejection reason / text.
    However, I am not able to retrieve the text entered via UWL in the backend ECC system.
    I am able to see the text entered via UWL - show memo option in the further steps of the process.
    Where does the text entered get stored?
    We are on EP 7.01 and ECC 6.0 EHP4.
    Can someone help me by guiding me in the right path for this?
    Thanks,
    Kalyan
    The following is my UWL config
    <ItemType name="uwl.task.webflow.decision.TS20000131.ECCDEV" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.tra.view.TripApprovalView" defaultAction="com.sap.pct.erp.mss.tra.action.DisplayExpenseForm" executionMode="default">
          <ItemTypeCriteria systemId="ECCDEV" externalType="TS20000131" connector="WebFlowConnector"/>
          <CustomAttributes>
            <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">
              <Attribute name="TripNumber" type="string" displayName="Trip Number"/>
              <Attribute name="EmployeeNumber" type="string" displayName="Employee Number"/>
            </CustomAttributeSource>
          </CustomAttributes>
    <Actions>
    <Action name="com.sap.pct.erp.mss.tra.action.approver.SendBackTrip" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.SendBack" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="UserDecisionNote" value="true"/>
                <Property name="decisionKey" value="2"/>
              </Properties>
            </Action>
    <Action name="com.sap.pct.erp.mss.tra.action.approver.RejectTrip" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.Reject" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="UserDecisionNote" value="mandatory"/>
                <Property name="decisionKey" value="3"/>
              </Properties>
            </Action>
          </Actions>
        </ItemType>

    Hi Susan,
    This was a little tricky.
    I was not able to locate the entered text initially.
    The text was getting stored as an attachment in the workflow.
    The UWL config I have above worked fine.
    To locate the text entered via Rejection Reason, please do the following:
    1. After you enter the text and perform the appropriate action from UWL, login to your Backend system and go to transaction SWI1.
    2. Select your Work Item / Dialog Step by double clicking on it.
    3. Click on the "Log" button
    4. Click on the "Details" icon for the step where you entered the rejection text.
    5. At the bottom, now you should see the details of the selected step. In the details, you should one step with executed action saying "Attachment added". Here if you click on the "Office Document" link from the Object column --- you should see the Rejection text entered via UWL.
    Let me know if you are still facing the issue.
    Thanks,
    Kalyan

  • Access System Resources using Java Applet via Java Script

    Hello
    I can access my Applet public methods (and this methods access system resources) via Java Script if I do the following: System.setSecurityManager(null);However, I'm making this post because I don't like this solution.
    Supposedly, setting the SM to null is like making the Applet (which is signed and was accepted by the user via a prompt from the browser) behave like a normal Java program that has no restrictions. (http://java.sun.com/docs/books/tutorial/essential/environment/security.html, second paragraph)
    However, this feels like a workaround of something that is supposed to be there (the SM).
    Also, if I make the methods invocation from inside the applet (using swing buttons and textboxes for example) I can use the standard SM without no problems.
    From my readings, the problem regarding Java Script invocation, comes from the fact that the Java Script is not a secure (not signed) source (because you can invoke public methods the way you wish from it i guess) on the contrary to the applet methods invoked by the buttons.
    Possible solutions I found in the web range from using the public static Object doPrivileged(PrivilegedAction action) method or imaginative things like creating new threads on the public method that call the private methods that access the system resources (supposedly because the new thread runs under the safe environment of the applet)
    I almost got a glimpse of hope with this post http://forums.sun.com/thread.jspa?threadID=5325271&tstart=0
    However, none of these solutions worked, the only results were with the setResourceManager(null)So, any one can contribute with a solution for this? Should I keep trying to find a solution other then the one I already have?
    Regards
    Cad

    1. yes
    2. yes
    Note for 2. the converter will run the applet with SUN jre for sure if the user has IE.
    IE will use the ActiveX technology to run the applet (as with Macromedia Flash).
    For Netscape I am not sure, but I would think Netsape will use the plug in provided by
    SUN.
    Note for SUN jre 1.3. If this applet is to be used within a company that uses a proxy with
    ntlm authentication the 1.3 applet cannot connect (to the Internet) through this proxy since
    ntlm athentication is supported since j2re1.4.2_03. There is one version before that but
    that one will pop up a window asking for the user's domain account and password wich
    is both lame and crappy.
    As for the IE settings, IE has a default setting that askes users the "do you trust"
    queston for AciveX controls within the Internet securety zone (tools -> internet options
    -> security).
    Sincy anybody can make ActiveX controls (allso sign them) a user that has a problem
    to find the "no" button will sooner or later install a malicuous ActiveX control (spy ware
    or a virus).
    If this user's desktop is within your company's network it will cause serious harm.
    This is why most company's disable this by changing the default internet expolorer
    settings. Since I assume you are writhing this applet to be used by a company I allso
    assumed that company has someone to maintain the desktops. In that case I
    assume that person would want to control the security within the SUN jre instead of
    letting the user deside what to trust and what not.

Maybe you are looking for

  • My EMR is no longer working in any browser on my iPad.  Tips?

    My husband is a chiropractor and for the last three years we have been using iPads to check patients in in our adjusting bays.  We used a web browser called Atomic Web because it was the only one that worked.  All of our computers are Apple products.

  • HU error when Reversing the goods issue in STO process

    Hello Gurus, I will explain the whole process we follow for STO: 1. Create sales order ->Based on PR in sales order schedule lines, PO will be created -> outbound delivery -> Pack in HU -> PGI -> based on output type Idoc will be triggered -> this ou

  • Error of serial no while doing stock movement 343

    Hello all gurus please help me out I am in junk state.my problame is I am doing the stock movement from blocked stock to unrestricted stock through Mb1B movement type 343 when i m doing this system asking serial no i m searching the serial no by givi

  • Move tool in Photoshop CS5 on MacBook Pro

    I am trying to move one photo into another in Photoshop CS5. Instead of being able to to drag one tab overtop of the other to put one photo in a layer over another, the tab I am trying to drag snaps back into place. This is really frustrating. I have

  • CSM with Veritas HA geographic redundancy fails over without visible reason

    Hello. Cisco Security Manager shuts down and Veritas fails it over to another site, I have no idea why. It is clean installation without elements. In Veritas engine log I found this: 2013/02/06 12:52:22 VCS INFO V-16-2-13001 (KV-CSM-01-1) Resource(AP