Authentication mechanism - PAPI-WS-Instance Creation

Hi,
I am trying to create instance using papi-ws. Each instance is created for each webservice call from one system. so i dont have any specific user login to connect for login. Otherwise we use single sign on. Could anyone help me out how to proceed for authentication in BPM login. Many thanks..

Hi,
You can use both interfaces but keep in mind that when exposing a process as a webservice the two activities that you can invoke are the Begin and the Notification Wait.
Regards

Similar Messages

  • Strange error in explicit instance creation

    Dear all,
    using NW2004s I have a strange error while explicit instance creation:
    Let´s say I have a class a in the Class Builder calles c1. With method "check_data".
    In my program I do the following:
    DATA: ref_chk TYPE REF TO object.
    create object ref_chk type ('C1').
    c1->check_data( );
    If I do so I get an syntax error: The method check_data is unknown, private or protected.
    But the method is public.
    I need the explicite instance creation beacuse the class changes and I want to set it with a variable.
    Any idea what´s wrong? How can I solve the problem?
    Regards
    Roman

    Hi Roman,
    The best way to do this would be to use an Interface and then cast the class to an interface type once it has been created. However if this is not possible (i.e. the interface is not fixed for all the different classes you want to create) you can use the following code to call your class.
    DATA: ref_chk TYPE REF TO object.
    create object ref_chk type ('C1').
    call method ref_chk->('CHECK_DATA').
    Just a note the 'CHECK_DATA' in brackets can also be replaced with a variable as in the follwing example:
    DATA: ref_chk TYPE REF TO object.
    DATA: method_name type string.
    create object ref_chk type ('C1').
    method_name = 'CHECK_DATA'.
    call method ref_chk->(method_name).
    Cheers,
      De Wildt

  • Process instance creation on 5.5 from a process A to a process B Dif engine

    Process Instance creation on 5.5 from a Process A to a Process B on different engine.
    I have 5.5 enterprise with 2 engines.
    I want to create a process instance from process a to process b
    this is the example that is working if processes are deployed on the same engine
    argumentos = this.buildInstanceArgs(arg_processID : AltaDeCuentas, arg_xmlObj : xmlObj);
    suc = suc + "/AltaDeCuentasSucursales";
    ProcessInstance.create(processId : suc, arguments : argumentos, argumentsSetName : "BeginIn");
    break;
    This example uses the OU and the process id I also need to set the engine where the process is deployed
    Thanks In advance!
    Nico

    Hi, just an update, at least now I have an error message on the first button,
    there was a condition that I left over preventing it to work,
    I have also amended the JavaScript code removing " from the "dataType"
    Its now
    function PrintSelectedItems()
    var r = confirm("In print selected items");
    apex.server.process('DISPLAY_SELECTED_ITEMS',
    {"x01": "Sent from Page 5",
    dataType: "text"},
    {success: function(data){alert("here->" + data);}}
    and I get Error: parsererror - SyntaxError: JSON.parse: unexpected character

  • Unable to create SASL client connection for authentication mechanism [PLAIN

    I have problem to use dscc to admin my ds/dps servers, since I the dscc can't contact dscc agent. Though the agent is running on the default port number with network-bind-port of 0.0.0.0, there is nothing I can do to fix it.
    I debug the problem, and found following errors in server.log under dscc (deployed on SUN AS 8.2):
    Message: Unable to create SASL client connection for authentication mechanism [PLAIN]|#]
    [#|2007-08-21T15:28:40.252-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.jmx.remote.opt.security.SASLClientHandler.initialize(SASLClientHandler.java:124)|#]
    [#|2007-08-21T15:28:40.253-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.jmx.remote.opt.security.AdminClient.connectionOpen(AdminClient.java:131)|#]
    [#|2007-08-21T15:28:40.254-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.jmx.remote.generic.ClientSynchroMessageConnectionImpl.connect(ClientSynchroMessageConnectionImpl.java:71)|#]
    [#|2007-08-21T15:28:40.256-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | javax.management.remote.generic.GenericConnector.connect(GenericConnector.java:177)|#]
    [#|2007-08-21T15:28:40.257-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | javax.management.remote.jmxmp.JMXMPConnector.connect(JMXMPConnector.java:119)|#]
    [#|2007-08-21T15:28:40.258-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)|#]
    [#|2007-08-21T15:28:40.260-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.nquickclient.NquickClient.getJmxConnector(NquickClient.java:816)|#]
    [#|2007-08-21T15:28:40.261-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.nquickclient.NquickClient.getConnector(NquickClient.java:519)|#]
    [#|2007-08-21T15:28:40.262-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.nquickclient.NquickClient.getConnectorSystemAuthentication(NquickClient.java:314)|#]
    [#|2007-08-21T15:28:40.263-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.dcc.core.NquickPool.getSyncServerMBean(NquickPool.java:435)|#]
    [#|2007-08-21T15:28:40.264-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.dcc.core.NquickPool$1.run(NquickPool.java:320)|#]
    [#|2007-08-21T15:28:40.271-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | java.lang.Thread.run(Thread.java:534)|#]
    [#|2007-08-21T15:28:40.289-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.ui.taglib.pagetitle.CCPageTitleTag:appendPageTitleAlertAndText | Node has no attributes.|#]
    [#|2007-08-21T15:28:40.293-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.ui.taglib.pagetitle.CCPageTitleTag:appendPageActions | Could not obtain pageactions element.|#]
    [#|2007-08-21T15:28:40.295-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.ui.taglib.pagetitle.CCPageTitleTag:appendPageViewsMenu | Could not obtain pageviews element.|#]
    Please help if you could figure out what's going on. Thanks!

    Bug ID: 6551672
    Synopsis: SunAS claims "Unable to create SASL client conn for auth mechanism" and do not talk to Cacao
    Work Around:
    Work arround:
    Change the JVM of used by App Server.
    Edit the file:
         /usr/appserver/config/asenv.conf
    and replace
         AS_JAVA="/usr/j2se"
    by
         AS_JAVA="/usr/java"
    Then restart your AS domain.

  • Easily fixing parameters for instance creation script

    H all,
    In the classical instance creation scripts numerous parameters are repeated even if they are similar. For example, the directory into which saving the different tablespaces is often the same. Also i'm looking for passing them as parameters. My first tries give the following:
    -> In the .bat launching the creation:
    set MY_DB_USER=sys
    set MY_DB_PWD=change_on_install
    set MY_DB_NAME=DragNFly
    set ORACLE_SID=DragNFly
    set MY_DB_CREATION_SOURCE=F:\Oracle\oradata\Instance_creation_scripts
    set MY_DB_CREATION_DESTINATION=E:\Oracle_DragNFly
    set MY_ORACLE_BIN=F:\oracle\bin
    set MY_ORACLE_HOME=F:\oracle
    mkdir %MY_ORACLE_HOME%\admin\%ORACLE_SID%\bdump
    mkdir %MY_ORACLE_HOME%\admin\%ORACLE_SID%\cdump
    mkdir %MY_ORACLE_HOME%\admin\%ORACLE_SIDD%\create
    mkdir %MY_ORACLE_HOME%\admin\%ORACLE_SID%\udump
    mkdir %MY_DB_CREATION_DESTINATION%\%ORACLE_SID%
    %MY_ORACLE_BIN%\oradim.exe -new -sid %ORACLE_SID% -startmode m
    %MY_ORACLE_BIN%\oradim.exe -edit -sid %ORACLE_SID% -startmode a
    %MY_ORACLE_BIN%\orapwd.exe file=%MY_ORACLE_HOME%\Database\PWD%MY_DB_NAME%.ora password=%MY_DB_PWD%
    %MY_ORACLE_BIN%\sqlplus /nolog connect %MY_DB_USER%/%MY_DB_PWD% @%ORACLE_SID% as sysdba
    %MY_ORACLE_BIN%\sqlplus /nolog @%MY_DB_CREATION_SOURCE%\StartCreation.sql
    -> Then in the first sql file, fixing all the variables and calling the other ones:
    DEFINE MY_DB_USER=SYS
    DEFINE MY_DB_PWD=change_on_install
    DEFINE MY_DB_NAME=DragNFly
    DEFINE MY_DB_SID=DragNFly
    DEFINE MY_DB_CREATION_DESTINATION=E:\Oracle_DragNFly
    DEFINE MY_DB_CREATION_SOURCE=F:\Oracle\oradata\Instance_creation_scripts
    DEFINE MY_ORACLE_BIN=F:\oracle\bin
    DEFINE MY_ORACLE_HOME=F:\oracle
    connect &&MY_DB_USER/&&MY_DB_PWD as SYSDBA
    -- # The following files have to be stored in the #
    -- # same repertory as the present file #
    @@CreateDBdb &&MY_DB_USER &&MY_DB_PWD &&MY_DB_NAME &&MY_DB_SID &&MY_DB_CREATION_DESTINATION &&MY_DB_CREATION_SOURCE &&MY_ORACLE_BIN &&MY_ORACLE_HOME
    @@CreateDBtbs &&MY_DB_USER &&MY_DB_PWD &&MY_DB_NAME &&MY_DB_SID &&MY_DB_CREATION_DESTINATION &&MY_DB_CREATION_SOURCE &&MY_ORACLE_BIN &&MY_ORACLE_HOME
    @@CreateDBcat &&MY_DB_USER &&MY_DB_PWD &&MY_DB_NAME &&MY_DB_SID &&MY_DB_CREATION_DESTINATION &&MY_DB_CREATION_SOURCE &&MY_ORACLE_BIN &&MY_ORACLE_HOME
    @@postDBcreate &&MY_DB_USER &&MY_DB_PWD &&MY_DB_NAME &&MY_DB_SID &&MY_DB_CREATION_DESTINATION &&MY_DB_CREATION_SOURCE &&MY_ORACLE_BIN &&MY_ORACLE_HOME
    @@CreateDBuser &&MY_DB_USER &&MY_DB_PWD &&MY_DB_NAME &&MY_DB_SID &&MY_DB_CREATION_DESTINATION &&MY_DB_CREATION_SOURCE &&MY_ORACLE_BIN &&MY_ORACLE_HOME
    exit;
    -> Finally one example of use in CreateDB.sql is:
    connect &&1/&&2 as SYSDBA
    set echo on
    spool &&5\&&3\Create&&3.db.log
    startup nomount pfile="&&6\init_DB.ora";
    CREATE DATABASE &&3
    MAXINSTANCES 1
    MAXLOGHISTORY 1
    MAXLOGFILES 5
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    DATAFILE '&&5\&&3\system_&&3.01.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL
    DEFAULT TEMPORARY TABLESPACE &&3._TMP TEMPFILE '&&5\&&3\temp_&&3.01.dbf' SIZE 1500M REUSE
    UNDO TABLESPACE "&&3._UNDO" DATAFILE '&&5\&&3\undo_&&3.01.dbf' SIZE 500M REUSE
    CHARACTER SET WE8ISO8859P1
    NATIONAL CHARACTER SET AL16UTF16
    LOGFILE GROUP 1 ('&&5\&&3\redo_&&3.01.log', '&&5\&&3\redo_&&3.01bis.log') SIZE 102400K,
    GROUP 2 ('&&5\&&3\redo_&&3.02.log', '&&5\&&3\redo_&&3.02bis.log') SIZE 102400K,
    GROUP 3 ('&&5\&&3\redo_&&3.03.log', '&&5\&&3\redo_&&3.03bis.log') SIZE 102400K;
    spool off;
    As you can see a first problem is that i have to set the variables the first time in the .bat and a second time in the first .sql. I don't know how to use an unique file for setting all the variables i need.
    Second difficulty is: fixing names and directories is a first step but i would like to fix all the different size values in this same file. The goal is to have only one file with dozen of values to change before creating new instances instead of checking all the different parameters inside of the different files.
    What is your mind on this?
    Probably there are better examples that i don't found?
    Regards,
    Tif

    One error i didn't suspect -> don't using SID with lowercase and uppercase in the name.
    Thing i've forgotten to say: variables have to be set both in the .bat and the first .sql but they have to match too with values in the init.ora. That why i would like to simplify all these declarations with unifying them into a single file.
    If somebody can help me, please
    Tif

  • Is following message due to 'Java' setting left unchecked? Mac OSX supportsUser Authentication Mechanism (UAM) plug - ins from other manufacturers to control access to servers.To use a UAM, copy the plug - in to: Library/ Filesystems/ AppleShare/ Authenti

    Is following message due to 'Java' setting left unchecked?
    Mac OSX supportsUser Authentication Mechanism (UAM) plug - ins from other manufacturers to control access to servers.To use a UAM, copy the plug - in to: Library/ Filesystems/ AppleShare/ Authenti

    Man that is an ancient message.
    The last time I saw that was using Mac clients connected to a Microsoft (Windows) Server running 'Services for Macintosh' which included the ability to act as an AppleShare compatible file server. Because Microsoft have a different security system for defining accounts which includes the 'domain' as well as username, the standard Mac AFP client did not know how to send that information.
    Therefore Apple made it possible to installed a plugin in the form of a UAM or User Authentication Mechanism which added the ability to send this information to login to the fileserver.
    See http://support.microsoft.com/kb/101747
    However Microsoft have long discontinued 'Services for Macintosh' and now the only way for a Mac to connect to a standard Windows Server is via SMB not AFP. I don't believe this plugin is available to download anymore.

  • Passing variables from .bat to .sql in instance creation scripts

    Hi all,
    In the classical instance creation scripts numerous parameters are repeated even if they are similar. For example, the directory into which saving the different tablespaces is often the same. Also i'm looking for passing them as parameters from the .bat launching the instance creation. My first tries give the following:
    -> In the .bat launching the creation:
    set MY_DB_USER=sys
    set MY_DB_PWD=change_on_install
    set MY_DB_NAME=DragNFly
    set ORACLE_SID=DragNFly
    set MY_DB_CREATION_SOURCE=F:\Oracle\oradata\Instance_creation_scripts
    set MY_DB_CREATION_DESTINATION=E:\Oracle_DragNFly
    set MY_ORACLE_BIN=F:\oracle\bin
    set MY_ORACLE_HOME=F:\oracle
    mkdir %MY_ORACLE_HOME%\admin\%ORACLE_SID%\bdump
    mkdir %MY_ORACLE_HOME%\admin\%ORACLE_SID%\cdump
    mkdir %MY_ORACLE_HOME%\admin\%ORACLE_SIDD%\create
    mkdir %MY_ORACLE_HOME%\admin\%ORACLE_SID%\udump
    mkdir %MY_DB_CREATION_DESTINATION%\%ORACLE_SID%
    %MY_ORACLE_BIN%\oradim.exe -new -sid %ORACLE_SID% -startmode m
    %MY_ORACLE_BIN%\oradim.exe -edit -sid %ORACLE_SID% -startmode a
    %MY_ORACLE_BIN%\orapwd.exe file=%MY_ORACLE_HOME%\Database\PWD%MY_DB_NAME%.ora password=%MY_DB_PWD%
    %MY_ORACLE_BIN%\sqlplus /nolog connect %MY_DB_USER%/%MY_DB_PWD% @%ORACLE_SID% as sysdba
    %MY_ORACLE_BIN%\sqlplus /nolog @%MY_DB_CREATION_SOURCE%\StartCreation.sql
    -> Then in the first sql file, fixing all the variables and calling the other ones:
    DEFINE MY_DB_USER=SYS
    DEFINE MY_DB_PWD=change_on_install
    DEFINE MY_DB_NAME=DragNFly
    DEFINE MY_DB_SID=DragNFly
    DEFINE MY_DB_CREATION_DESTINATION=E:\Oracle_DragNFly
    DEFINE MY_DB_CREATION_SOURCE=F:\Oracle\oradata\Instance_creation_scripts
    DEFINE MY_ORACLE_BIN=F:\oracle\bin
    DEFINE MY_ORACLE_HOME=F:\oracle
    connect &&MY_DB_USER/&&MY_DB_PWD as SYSDBA
    -- # The following files have to be stored in the #
    -- # same repertory as the present file #
    @@CreateDBdb &&MY_DB_USER &&MY_DB_PWD &&MY_DB_NAME &&MY_DB_SID &&MY_DB_CREATION_DESTINATION &&MY_DB_CREATION_SOURCE &&MY_ORACLE_BIN &&MY_ORACLE_HOME
    @@CreateDBtbs &&MY_DB_USER &&MY_DB_PWD &&MY_DB_NAME &&MY_DB_SID &&MY_DB_CREATION_DESTINATION &&MY_DB_CREATION_SOURCE &&MY_ORACLE_BIN &&MY_ORACLE_HOME
    @@CreateDBcat &&MY_DB_USER &&MY_DB_PWD &&MY_DB_NAME &&MY_DB_SID &&MY_DB_CREATION_DESTINATION &&MY_DB_CREATION_SOURCE &&MY_ORACLE_BIN &&MY_ORACLE_HOME
    @@postDBcreate &&MY_DB_USER &&MY_DB_PWD &&MY_DB_NAME &&MY_DB_SID &&MY_DB_CREATION_DESTINATION &&MY_DB_CREATION_SOURCE &&MY_ORACLE_BIN &&MY_ORACLE_HOME
    @@CreateDBuser &&MY_DB_USER &&MY_DB_PWD &&MY_DB_NAME &&MY_DB_SID &&MY_DB_CREATION_DESTINATION &&MY_DB_CREATION_SOURCE &&MY_ORACLE_BIN &&MY_ORACLE_HOME
    exit;
    -> Finally one example of use in CreateDB.sql is:
    connect &&1/&&2 as SYSDBA
    set echo on
    spool &&5\&&3\Create&&3.db.log
    startup nomount pfile="&&6\init_DB.ora";
    CREATE DATABASE &&3
    MAXINSTANCES 1
    MAXLOGHISTORY 1
    MAXLOGFILES 5
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    DATAFILE '&&5\&&3\system_&&3.01.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL
    DEFAULT TEMPORARY TABLESPACE &&3._TMP TEMPFILE '&&5\&&3\temp_&&3.01.dbf' SIZE 1500M REUSE
    UNDO TABLESPACE "&&3._UNDO" DATAFILE '&&5\&&3\undo_&&3.01.dbf' SIZE 500M REUSE
    CHARACTER SET WE8ISO8859P1
    NATIONAL CHARACTER SET AL16UTF16
    LOGFILE GROUP 1 ('&&5\&&3\redo_&&3.01.log', '&&5\&&3\redo_&&3.01bis.log') SIZE 102400K,
    GROUP 2 ('&&5\&&3\redo_&&3.02.log', '&&5\&&3\redo_&&3.02bis.log') SIZE 102400K,
    GROUP 3 ('&&5\&&3\redo_&&3.03.log', '&&5\&&3\redo_&&3.03bis.log') SIZE 102400K;
    spool off;
    As you can see a first problem is that i have to set the variables the first time in the .bat and a second time in the first .sql. I don't know how to use an unique file for setting all the variables i need.
    Second difficulty is: fixing names and directories is a first step but i would like to fix all the different size values in this same file. The goal is to have only one file with dozen of values to change before creating new instances instead of checking all the different parameters inside of the different files.
    Third problem: variables are not transmitted to the init.ora. I think that it's possible to generate it using template and the defined variables, but i don't try for the moment.
    What is your mind on this?
    Probably there are better examples that i don't found?
    Regards,
    Tif

    the problem is nothing your showed.   did you see a security warning that you ignored?
    to test, if that's the problem go here and adjust your security settings:  http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04a.ht ml
    if that fails, upload your files to a server and confirm everything works.  then start working on your local configuration.

  • How to check for outstanding service instance creation requests

    Greetings,
    In preparation to upgrade my OEM Cloud Control from 12.1.0.1 to 12.1.0.3 I am reading the OEM Cloud Control Upgrade Guide. Step 2b in Chapter 3 (Getting Started) says to check for outstanding database service instance creation requests as follows: In Cloud Control from the Enterprise menu, select Infrastructure Cloud. I do not see an Infrastructure Cloud option under the Enterprise dropdown. I don't understand why not. If anyone can shed some light on this I would appreciate it.
    Thank you.
    Bill Wagman

    Step 2b applies to sites with DBaaS (database as a service) feature enabled. If you have not set up DBaaS, it is not necessary to check on database requests referred to in the step.
    Doc on DBaaS:
    http://docs.oracle.com/cd/E24628_01/doc.121/e28814/cloud_db_using.htm#CHDFDDBC
    By the way, it is recommended that you check out the following notes on upgrade:
      1568143.1 - EM 12c R3: Checklist for Upgrading Enterprise Manager Cloud Control from Version 12.1.0.x to 12.1.0.3
      1569883.1 - EM 12c R3: Checklist for Upgrading Management Agents Version 12.1.0.x to 12.1.0.3

  • 550 Local user only or Authentication mechanism

    follow is the source code of a jsp page used to send mail, while when ran ,i got an exception :
    Invalid Addresses; nested exception is: class com.sun.mail.smtp.SMTPAddressFailedException: 550 Local user only or Authentication mechanism
    why?
    and following is the source code of the jsp page:
    <%@ page import="javax.mail.Session,
    javax.mail.Message,
    javax.mail.internet.MimeMessage,
    javax.mail.internet.InternetAddress,
    javax.activation.DataHandler,
    javax.mail.Transport"%>
    <%
         String host = "mail.server.com.cn";
         String username = "mayf";
         String password = "1111111";
         String from = "[email protected]";
         String to = "[email protected]";
         String content = ""; // it could be just a line of text or some HTML.
         content += "<html><head><title></title>";
         content += "</head>";
         content += "<body>";
         content += "HTML works fine but you could just cut these lines...";
         content += "</body>";
         content += "</html>";
         String subject = "test SMTP";
         java.util.Properties props = System.getProperties();
         props.put("mail.smtp.host", host);
         props.put("mail.smtp.auth","true");
         Session mailSession = Session.getDefaultInstance(props, null);
         Message message = new MimeMessage(mailSession);
         message.setSubject(subject);
         message.setFrom(new InternetAddress(from));
         try {
              message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
         } catch (Exception e) {
              out.print(e.getMessage());
         message.setDataHandler(new DataHandler(content, "text/html"));
         try {
              Transport transport = mailSession.getTransport("smtp");
              transport.connect(host, username, password);
              transport.sendMessage(message, message.getAllRecipients());
              transport.close();
         } catch (Exception e) {
              out.print(e.getMessage());
    %>

    Hi, i'd try getReturnCode since it involves some server error response..
    Class SMTPAddressFailedException
    public int getReturnCode()
    Return the return code from the SMTP server that indicates the reason for the failure. See RFC 821 for interpretation of the return code.
    --------------------------------------------------

  • Instance Creation on Secondary Site with Mirroring as DR Mechanism

    Hello all..........I am trying to create a multi-site failover cluster (Sql Server 2012).  Due to some support issues, I am unable to use AOAG, so I have decided to use Mirroring among two-2 locations with each
    location holding separates instances.  Consider following:
    There is Location A and B.
    There are two-2 servers each in Location A and B.  They have their own storage.
    Location A already has two-2 node failover cluster.  It has instance named Instance_A.
    We need to introduce two-2 nodes from Location B to the failover cluster in Location A with its separate instance named Instance_B? How can I make it work?
    If I go ahead with the setup.exe from SQL media and try to add node, it will ask me to choose the instance and the only instance available would be Instance_A, but I do not want it to connect to Instance_A.  I
    want to join the two-2 nodes in Location B to the failover cluster in a way that Instance_B stays on Location B servers and Instance_A stays on Location A servers.  So that I can configure mirroring among the two.  I would appreciate headway into
    this.  Thanks.   

    Hi Technet Junkie,
    For multisite cluster, failover cluster not “aware” the shared storage replicate, therefore you must ask your storage vendor for the multisite storage replicate solution, In
    SQL Server 2008 support multi-instances in one cluster environment. The method used to install a new SQL Server 2008 cluster instance is the same with the first one. The detail steps to fulfill that, please refer to the document: How to: Create a New SQL Server
    Failover Cluster (Setup): http://msdn.microsoft.com/en-us/library/ms179530.aspx
    Based on my experience, there is one thing we need to pay attention. It is the instance ID. In SQL Server 2008, the instance ID decides not only the instance Name but also the
    folder path name on the disk. Please make sure the instance ID for one instance is identical on the nodes, but different with the other instance.
    The similar thread:
    SQL 2012 Cluster Multi Instances !
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/56f2d87b-3d7d-4ebb-8ae1-000727acef20/sql-2012-cluster-multi-instances-?forum=sqldisasterrecovery
    More detail about the SQL Server question please post to theSQL Server forum.
    SQL Server forum:
    http://social.technet.microsoft.com/Forums/sqlserver/en-us/home?category=sqlserver
    Thanks for your understanding and support.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Regarding Instance Creation

    Hi,
    I am having one process "FilterApplications" which consists of series of Automatic activities. I have deployed the process in Enterprise Server. Now, I have imported the PAPI WS in SOAP UI, when I am trying to create instances through processCreateInstance(PAPI WS) method, I am getting the following error:-
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
    <S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
    <faultcode>S:Server</faultcode>
    <faultstring>Process '/FilterApplications' not available.</faultstring>
    <detail>
    <ns2:OperationException xmlns:ns2="http://bea.com/albpm/PapiWebService">
    <exceptionName>fuego.papi.ProcessNotAvailableException</exceptionName>
    <message>Process '/FilterApplications' not available.</message>
    <technicalInfo>fuego.papi.ProcessNotAvailableException: Process '/FilterApplications' not available.
    Detail:Process: '/FilterApplications' is not deployed, it is deprecated,
    the Engine where it is deployed is not running or the connected user does not have permission to access the process.
    Even I have created the required participant to connect to PAPI WS using SOAP UI.
    But if the process contains any role, the above method(processCreateInstance) is able to create instance for the process using PAPI WS in SOAP UI.
    Can anyone suggest what is the issue here?
    Thanks,
    Abhishek

    Yes - this is the designed behavior.
    The thought is that your PAPI-WS logic should not be able to create an instance unless the authentication user used in your logic has been assigned to a role in the process. This also keeps you from retrieving a list of instances from a filter unless your user id is assigned to at least one role in the process.
    Dan

  • Extend the SSO Oracle Portal Authentication Mechanism

    Hi All,
    I need to put some logic just before the Oracle Portal user is authenticated to SSO.
    Specifically I need to collect some information about the user from a database just before the SSOLoginServlet is called with all the parameters it needs. (username, password, sitetoken etc...)
    Is there a class i can extend, an API I can use.... whatever
    In fact I need to extend and put some more logic to the login mechanism of SSO.
    Is there a way to do that?
    If there are many what is the best method?
    Thanks

    I'm not an expert, but I think this might be fairly easy to implement. If you look at Chapter 12 of the SSO Admin Guide (http://download-east.oracle.com/docs/cd/B28196_01/idmanage.1014/b15988/custom.htm), it tells you what parameters and what url to call for the login process to complete. Therefore, you should be able to submit your custom login page to another servlet for your pre-processing, and then forward on to the sso logon servlet.

  • DB Instance creation using DBCA Gives ERROR

    Hi All,
    I am getting below error while creating a new DB instance using DBCA. Initially I thought it could be a problem of the oracle version. But I checked it is Oracle 10G server version 10.2.0.1. I got it re-installed 3 times, but still same issue. Please help !!!
    ORA-31011: XML parsing failed
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 3
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 14
    ORA-06512: at line 143

    I remember that issue from long long ago, for that old version, although I didn't encounter it that often.
    If I am not mistaken, I solved it by running @?/rdbms/admin/catqm after creation (a multiple times?) and @?/rdbms/admin/utlrp
    Maybe the following will help/assist in solving the issue: http://www.liberidu.com/blog/2009/07/13/howto-clean-xml-db-install/

  • Instance creation using WAPI

    Hi,
    In our project, there is a requirement to show a UI (JSF which is imported in Global Creation screenflow)which should create an instance in Oracle BPM from an external web application. For this purpose we are using WAPI. Is this approach right?
    Also, we need to pass values from external web application to BPM which are used to display on the UI mentioned above. How to acheive this using WAPI?
    It will be really helpful if some one provides examples for the same.
    Thanks,
    Sana

    Thanks Dan for the document link.
    In the document it is given that
    "WAPI provides two different ways to interact with the FuegoBPM Work Portal.
    • External to the Work Portal, through the HTML Process API, and
    • Internal to the Work Portal, through the URLForAction Java Class."
    For my requirement, i have to use HTML Process API since I need to create instance from an External WebApplication. I tried out the example given for HTML Process API. But the url "http://localhost:8585/portal/servlet/ExecutionDispatcher" is not found exception is coming.
    What is the corresponding url in Oracle BPM 10g.
    This requirement is very urgent. Please give your suggestions.

  • Instance creation

    hi
    Assume the operating system is unix.
    I can create the oracle database by using :
    create database .......
    How about the instance?
    Can I create it manually, or is it created automatically after database creation ?
    Assume I can not use dbca

    This issue once more has to do with basic architecture concepts, the instance is not created, the instance exists after you start it with the startup nomomount command, it does not have to do with running or not running oradim.
    Oradim exists in windows environments only due to platform specific architecture issues. Oradim does not create the service, it is used to create the entries required to manage the instance, but it issues a startup command which is actually the one which will start the oracle instance and will mount and open the database.
    In a windows environment you must create the windows service, it does not mean the oracle instance will be created. You can perform a simple experiment, change a critical value in the spfile a backup is required) just like db_name, then try to start the service, and you will see the instance is not 'created'. The windows service is not the oracle instance.
    The term 'Create the Instance' is inaccurate, you must use 'Start the Instance' instead.
    In order to keep things simple, just use the DBCA assistant to create the database, this will take care of the details. If you want you can ask DBCA to create a script, you can analyze this script later and perform reverse engineering to determine the commands to manually start the Oracle instance and create a database.
    ~ Madrid
    http://hrivera99.blogspot.com

Maybe you are looking for