Application context in cluster (using EJB3.1)

Hello there,
i want to ask for recommendation. What is the best strategy for storing global application data in clustered enviroment with usage of EJB3. Imagine e.g. users and contact lists. There are browser clients (let's say they invoke EJB from typical servlet) using polling mechanism (it's HTTP, i dont know about solutions how to do effective server push) - so asking application server again and again for refreshing their contact list.
I know that there is @Singleton beans and with this approach you are telling the server provider to take care about it. But im afraid with this approach it could be uneffective because nodes of cluster propably replicate those singletons or has to do some other expensive network operations. Or don't they?
Is @Singleton effective for such case? Or any mechanism like JMS topic could help me update data on clusters? It would be really nice to have it in application context somehow effectively. What do you think about it? Thank you:-)

ok, you suggested that contact list can (and maybe should) be placed within user session. It is true that contact list itself does not change much but what changes very frequently is who is currently online (users performing login and logout). So the main question leads to this problem. The stuff user's status could be linkend with contact list was just a idea, but it is not needed.
So now the problem, information who is logged in and how to periodically with good performance in cluster enviroment retrieve such information (in context of getting whole contact list with corresponding actual statuses for one specified user). What solution would you choose from the beginning? Just please try describe two scenarios and invocations.
1) user logs in
2) periodicaly request for updating contact list
E.g. (this is just showcase corresponding to previous posts)
Data who is and who isn't logged in is stored in database (e.g. column STATUS).
1) servlet invokes EJB login method. That puts message to JMS topic that user A just logged in, updates DB (changing status to online), than the method returns UserData retrieved from DB which will be stored within http session including contact list. The MDB (stored within EJB module?) in onMessage method recieves information that this user A just logged in, it will update http sessions (is it even possible to do somehow from ejb module?) of users which have user A in their contact lists - e.g. contact lists of user B, user C and user D.Maybe I did not state it explicitly in my previous post. But it is not possible for an MDB which receives a message asynchronously to access the HttpSession object. Besides which Session object are you going to update? As you rightly said, the new user who is online may be in the contact list of several other online users.
It's not that this is not possible to achieve - you can store a handle to these session objects globally (possibly in a static Collection accessible to the MDB layer) and iterate through each session object, figure out if the contact list in the user session does contain the newly logged in user as a contact and update the status accordingly.
But there is an easier option - you just maintain the list of active users in a cache. And everytime the user makes a request, check the contact list of the User (maintained in his session object) against this list of active users. For every user who is both in the contact list and active users list, you just update the status of the contact as active. Is that what you had asked initially :)? Only your last post made clear what you were trying to achieve.
You would maintain the active list of users using a JMS Topic/MDB listener mechanism. Note you will have to propogate the log off/session invalidation too to remove users from the active list.
2) periodical request will come on http session (it contains actual data because it is updated by MDB (if it is possible somehow) )Just use ajax to poll the server and then as mentioned above - for every request, check the contact list held in session against the active users list.
cheers,
ram.

Similar Messages

  • Setting Application Context Attributes for Enterprise Users Based on Roles

    Hello,
    We have an Oracle 11g database with a table containing data from multiple sites (a SiteID field identifies the site for a record). Since application users can have access to different subsets of sites, we would like to use Oracle's Virtual Private Database feature to enforce row-level security on the table.
    I did a successful proof-of-concept with database users. I created a role for each site (example: USER_SITE_A, USER_SITE_B, ...), and then assigned the appropriate site roles to each database user. I then created a package (run via a logon trigger) which set application context attributes for each site. If the current database user has been assigned a role for a given site, then the corresponding attribute named "SITE_PRIVILEGE_SiteID" is set to 'Y'... otherwise, it is set to 'N'. Here is the code which worked to set application context attributes for database users:
    -- For each record in my RoleSitePrivileges table, set
    --   an attribute named 'SITE_PRIVILEGE_<SiteID>'.
    --   If the current user has been assigned a role matching
    --   the value in the 'RoleName' field, set the corresponding
    --   attribute to 'Y'... otherwise, set it to 'N'.
    FOR iPrivRec IN (SELECT RoleName, SiteID
                       FROM RoleSitePrivileges
                       ORDER BY SiteID)
       LOOP
          SELECT COUNT(*)
            INTO roleExists
            FROM dba_role_privs
            WHERE granted_role = UPPER(iPrivRec.RoleName)
              AND grantee = USER;
          IF roleExists > 0 THEN
             DBMS_SESSION.set_context(
                         namespace   => 'my_ctx',
                         attribute   => 'SITE_PRIVILEGE_' || iPrivRec.SiteID,
                         value       => 'Y');
          ELSE
             DBMS_SESSION.set_context(
                         namespace   => 'my_ctx',
                         attribute   => 'SITE_PRIVILEGE_' || iPrivRec.SiteID,
                         value       => 'N');
          END IF;
       END LOOP;To finish things off, I created a security policy function for the table which returns the following:
    RETURN 'SiteID IN (SELECT TO_NUMBER(SUBSTR(attribute, 15))
                         FROM session_context
                         WHERE attribute LIKE ''SITE_PRIVILEGE_%''
                            AND value = ''Y'')';This setup worked great for database users. I am now working to do a comparable proof-of-concept for enterprise users created in Oracle Internet Directory (OiD). I have Enterprise User Security (EUS) up and running with OiD, global roles created in the database, enterprise roles defined in EUS with global role assignments, and enterprise roles assigned to OiD users. The enterprise users are able to successfully login to the database, and I can see the appropriate global role assignments when I query the session_roles view.
    I tried using the same application context package, logon trigger, and security policy function with the enterprise users that I had used with the database users. Unfortunately, I found that the application context attributes are not being set correctly. As you can see from the code above, the applicaiton context package was referencing the dba_role_privs view. Apparently, although this view is populated for database users, it is not populated for enterprise users.
    I tried changing the application context package to use invoker's rights and to query the session_roles view instead of the dba_role_privs view. Although this package sets the attributes correctly when called manually, it does not work when called from the logon trigger. That was an oops on my part, as I didn't realize initially that a PL/SQL procedure cannot be called with invoker's rights from a trigger.
    So, I am now wondering, is there another view that I could use in code called from a logon trigger to access the roles assigned to the enterprise user ? If not, is there a better way for me to approach this problem? From a maintenance standpoint, I like the idea of controlling site access from the LDAP directory service via role assignments. But, I am open to other ideas as well.
    Thank you!

    Hello,
    We have an Oracle 11g database with a table containing data from multiple sites (a SiteID field identifies the site for a record). Since application users can have access to different subsets of sites, we would like to use Oracle's Virtual Private Database feature to enforce row-level security on the table.
    I did a successful proof-of-concept with database users. I created a role for each site (example: USER_SITE_A, USER_SITE_B, ...), and then assigned the appropriate site roles to each database user. I then created a package (run via a logon trigger) which set application context attributes for each site. If the current database user has been assigned a role for a given site, then the corresponding attribute named "SITE_PRIVILEGE_SiteID" is set to 'Y'... otherwise, it is set to 'N'. Here is the code which worked to set application context attributes for database users:
    -- For each record in my RoleSitePrivileges table, set
    --   an attribute named 'SITE_PRIVILEGE_<SiteID>'.
    --   If the current user has been assigned a role matching
    --   the value in the 'RoleName' field, set the corresponding
    --   attribute to 'Y'... otherwise, set it to 'N'.
    FOR iPrivRec IN (SELECT RoleName, SiteID
                       FROM RoleSitePrivileges
                       ORDER BY SiteID)
       LOOP
          SELECT COUNT(*)
            INTO roleExists
            FROM dba_role_privs
            WHERE granted_role = UPPER(iPrivRec.RoleName)
              AND grantee = USER;
          IF roleExists > 0 THEN
             DBMS_SESSION.set_context(
                         namespace   => 'my_ctx',
                         attribute   => 'SITE_PRIVILEGE_' || iPrivRec.SiteID,
                         value       => 'Y');
          ELSE
             DBMS_SESSION.set_context(
                         namespace   => 'my_ctx',
                         attribute   => 'SITE_PRIVILEGE_' || iPrivRec.SiteID,
                         value       => 'N');
          END IF;
       END LOOP;To finish things off, I created a security policy function for the table which returns the following:
    RETURN 'SiteID IN (SELECT TO_NUMBER(SUBSTR(attribute, 15))
                         FROM session_context
                         WHERE attribute LIKE ''SITE_PRIVILEGE_%''
                            AND value = ''Y'')';This setup worked great for database users. I am now working to do a comparable proof-of-concept for enterprise users created in Oracle Internet Directory (OiD). I have Enterprise User Security (EUS) up and running with OiD, global roles created in the database, enterprise roles defined in EUS with global role assignments, and enterprise roles assigned to OiD users. The enterprise users are able to successfully login to the database, and I can see the appropriate global role assignments when I query the session_roles view.
    I tried using the same application context package, logon trigger, and security policy function with the enterprise users that I had used with the database users. Unfortunately, I found that the application context attributes are not being set correctly. As you can see from the code above, the applicaiton context package was referencing the dba_role_privs view. Apparently, although this view is populated for database users, it is not populated for enterprise users.
    I tried changing the application context package to use invoker's rights and to query the session_roles view instead of the dba_role_privs view. Although this package sets the attributes correctly when called manually, it does not work when called from the logon trigger. That was an oops on my part, as I didn't realize initially that a PL/SQL procedure cannot be called with invoker's rights from a trigger.
    So, I am now wondering, is there another view that I could use in code called from a logon trigger to access the roles assigned to the enterprise user ? If not, is there a better way for me to approach this problem? From a maintenance standpoint, I like the idea of controlling site access from the LDAP directory service via role assignments. But, I am open to other ideas as well.
    Thank you!

  • Weblogic 6.1  Cluster using oracle clusterware

    Hi,
    I am very new to Weblogic Application Server. I have to set-up Weblogic Application Server 6.1 in cluster.The operating System is Solaris Sparc.
    What I want to know is that is it possible to configure Weblogic Application Server in Cluster using Oracle Clusterware?
    Also which cluterware will be a better solution for this Oracle Clusterware or Sun Clusterware?
    If you can give me url of some doc regarding this also , I will be more than thankfull.
    If anybody has any idea about it please reply it.
    Thanks in advance
    Vijay

    Hi,
    I am very new to Weblogic Application Server. I have to set-up Weblogic Application Server 6.1 in cluster.The operating System is Solaris Sparc.
    What I want to know is that is it possible to configure Weblogic Application Server in Cluster using Oracle Clusterware?
    Also which cluterware will be a better solution for this Oracle Clusterware or Sun Clusterware?
    If you can give me url of some doc regarding this also , I will be more than thankfull.
    If anybody has any idea about it please reply it.
    Thanks in advance
    Vijay

  • Setting session variables in application context using OpenJPA

    Hi!
    I am using openjpa 1.2 with EJB 3.0. I am connecting to Oracle 11g database and need to use the oracle virtual private database for security and data segregation. For this purpose, I need to set some custom variables at the session level of the application context such as the application user name. Since, I am using container injected EntityManager using @PersistenceContext, I am finding it hard to do so.
    Can anyone please help me out
    Thanks in advance
    Abhi

    You will probably want to ask your question on an OpenJPA forum to see if they even can support VPD (if not, see EclipseLink http://wiki.eclipse.org/Introduction_to_EclipseLink_Sessions_(ELUG)#Isolated_Client_Sessions_and_Oracle_Virtual_Private_Database_.28VPD.29 )
    You might also want to try injecting the factory instead and use that to get the EntityManager instead of injecting the em directly. ie
    @PersistenceUnit(unitName="my-pu")
    private EntityManagerFactory emf;
    Best Regards,
    Chris

  • How to develop web application using ejb3.0 with eclipse

    Hi ,
    I am new to ejb3.0 with eclipse. If any one familar that please guide me...
    how to develop web application using ejb3.0 with eclipse.please help me... server jboss4.2.2. database mqsql5.0
    Thanks,

    jsf_VWP5.5.1 wrote:
    I am new to ejb3.0 with eclipse. If any one familar that please guide me...http://help.eclipse.org/help33/index.jsp

  • Using Application Module outside ADF Application context

    I am trying to run application module using a standalone java class. Trying to use Application Module outside ADF Application context.
    I have created a jar file on my standalone java class, and added my ADF application jar files to the classpath while running my standalone java file as a Jar file.
    I could connect to the application module and I am able to get the response from my application module.
    Below is the code I used to invoke my application module method from my standalone java class.
         public static void main(String[] args) {
              System.out.println("Testing .....");
             String jdbcURL = "jdbc:oracle:thin:@localhost:1521:XE";
             Hashtable env = new Hashtable();
             env.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
             env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
             try {
                 Context ic = new InitialContext(env);
                 String defName = "com.org.model.BatchJobAppModule";
                 ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(defName);
                 ApplicationModule mbApplicationModule= (ApplicationModule)home.create();
                 mbApplicationModule.getTransaction().connect(jdbcURL, "HR", "HR");
                    ((BatchJobAppModuleImpl)mbApplicationModule).connectToDatabase();
             } catch (NamingException ne) {
                 // TODO: Add catch code
                 ne.printStackTrace();
    {code}
    I am getting following messages.
    {code: warning}
    oracle.adf.share.ADFContext getCurrent
    WARNING: Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    Dec 14, 2012 10:16:37 PM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration
    SEVERE: java.io.FileNotFoundException: D:\satya\testPackage\.\config\jps-config.xml (The system cannot find the path specified)
    {code}
    I have another question regarding connecting to database.
    How to get connection from a datasource, to avoid supplying database credentials which will vary from one environment to another.
    Please let me know if any one has pointers.
    Thanks in advance.
    Regards,
    Satya
    Edited by: 921138 on Dec 14, 2012 9:20 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Thanks Shay for your response.
    When I run the standalone java class from jDeveloper 11.1.1.5.0, I am able to get application module and also able to get the out put from application module method. While running the java class jdev is exectung the class with javaw command. I tried to execute the same from commnd prompt, it didn't print anything on the command prompt. So I tried to execute java command with "java followed by class path" as below.
    set JAVA_HOME=C:\Oracle\Middleware\jdk160_24\jre
    set PATH=%JAVA_HOME%\bin;%PATH%
    java -classpath E:\poc\TestBatchJobClient\Project1\deploy\First.jar;E:\poc\BatchJobApp\Model\deploy\adf-share-base.jar;E:\poc\BatchJobApp\Model\deploy\adfm.jar;E:\poc\BatchJobApp\Model\deploy\BatchJobApp_Model.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-support.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-ca.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-base.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\adflogginghandler.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\adfsharembean.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jmx_11.1.1\jmxframework.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jmx_11.1.1\jmxspi.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.idm_11.1.1\identitystore.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\adfm.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\bc4j-mbeans.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\bc4jwizard.jar;C:\Oracle\Middleware\oracle_common\modules\groovy-all-1.6.3.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\db-ca.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\jdev-cm.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.ldap_11.1.1\ojmisc.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\commons-el.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\jsp-el-api.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\oracle-el.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.javatools_11.1.1\resourcebundle.jar;C:\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-4-1.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.mds_11.1.1\oramds.jar;C:\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;C:\Oracle\Middleware\modules\javax.jsp_1.2.0.0_2-1.jar;C:\Oracle\Middleware\jdeveloper\ide\macros\..\..\..\wlserver_10.3\server\lib\ojdbc6.jar;C:\Oracle\Middleware\oracle_common\jlib\commons-cli-1.0.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.bali.share_11.1.1\share.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xmlef_11.1.1\xmlef.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.dms_11.1.1\dms.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.javacache_11.1.1\cache.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.ucp_11.1.0.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.javatools_11.1.1\javatools-nodeps.jar;C:\Oracle\Middleware\modules\javax.management_1.2.1.jar;C:\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.ldap_11.1.1\ldapjclnt11.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-api.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-common.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-ee.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-internal.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-unsupported-api.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-manifest.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\jacc-spi.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.pki_11.1.1\oraclepki.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.osdt_11.1.1\osdt_core.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.osdt_11.1.1\osdt_cert.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.osdt_11.1.1\osdt_xmlsec.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.osdt_11.1.1\osdt_ws_sx.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.iau_11.1.1\fmw_audit.jar;C:\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.adf.security_11.1.1\adf-share-security.jar -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks com.org.TestMyClass
    {code}
    I got the same old error.
    Regards,
    Satya                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Getting values from application context

    I want to set an input box with the value from the jsp getRemoteHost() in jsf page..
    In my page i have this
    <h:inputText value="#{sok.Searchstring}">...
    where the reference sok is a java bean
    public class sok
         private String Searchstring;
         public sok()
              // I want to set the Searchstring = getRemoteHost()
         public String getSearchstring()
            return this.sokVerdi;
        public void setSearchstring(String data)
            this.sokVerdi = data;
    }How can this be done? Should I avoid using http request.. couldn't I get it from the application context, and how do I do that?? I'am kinda empty on ideas to solve this very issue.

    I getting the getRemoteHost to work perfectly.. and as for getParameter() too.. but when I try doing getRemoteUser(), it gives me null.. I also did getRemoteUser() in the jsf file, and there I do get the right output..
    How come? Why do I not get the correct value from the java bean?
    public sok()
              ExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();
              HttpServletRequest httpServletRequest = (HttpServletRequest)externalContext.getRequest();
              sokVerdi = "h: " + httpServletRequest.getRemoteUser();
              //sokVerdi = "g: " + httpServletRequest.getParameter("fardin");
                   //sokVerdi = "g: " + httpServletRequest.getRemoteHost();
         }

  • Problem with tutorial; "Build a Web Application with JDeveloper 11g Using "

    I've got a rather new installation of Vista Business x64 on my developer rig, and last week I installed the new JDeveloper 11g version. The installation was all-inclusive, no customization on my end.
    In addition I've got a test installation of an Oracle DB 11gR1 on an available server here.
    To familiarize myself with the new JDeveloper I decided to spend some time with the JDeveloper 11g tutorials found here: http://www.oracle.com/technology/obe/obe11jdev/11/index.html.
    I've started twice on the second tutorial, "Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces", and find myself repeatedly stuck at step 19 in section "Creating the Data Model and Testing it".
    It seems impossible to deploy the application to the default application server. The server starts fine on its own, I can access it via the admin console on port 7001 and it looks good. However, when I try to run the HRFacadeBean funny things are happening, symptomized by the following error messages seen in the IDE log-area:
    The "Messages" pane displays:
    "Compiling...
    Context: MakeProjectAndDependenciesCommand application=HR_EJB_JPA_App.jws project=EJBModel.jpr
    C:\Oracle\Middleware\jdk160_05\jre\bin\java.exe -jar C:\Oracle\Middleware\jdeveloper\jdev\lib\ojc.jar -g -warn -nowarn:320 -nowarn:372 -nowarn:412 -nowarn:413 -nowarn:415 -nowarn:486 -nowarn:487 -nowarn:489 -nowarn:556 -nowarn:558 -nowarn:560 -nowarn:561 -nowarn:705 -Xlint:-fallthrough -Xlint:-serial -Xlint:-unchecked -source 1.6 -target 1.6 -noquiet -encoding Cp1252 -d C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes -namereferences -make C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes\EJBModel.cdi -classpath C:\Oracle\Middleware\jdk160_05\jre\lib\resources.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\rt.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jsse.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jce.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\charsets.jar;C:\JDeveloper\mywork\HR_EJB_JPA_App\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xmlparserv2.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xml.jar;C:\Oracle\Middleware\modules\javax.jsf_1.2.0.0.jar;C:\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;C:\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;C:\Oracle\Middleware\modules\javax.interceptor_1.0.jar;C:\Oracle\Middleware\modules\javax.jms_1.1.1.jar;C:\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;C:\Oracle\Middleware\modules\javax.jws_2.0.jar;C:\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;C:\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;C:\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;C:\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;C:\Oracle\Middleware\modules\javax.resource_1.5.1.jar;C:\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;C:\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;C:\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\wlserver_10.3\common\lib -sourcepath C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src;C:\Oracle\Middleware\jdk160_05\src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink-src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink-src.zip C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Dept.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Emp.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeLocal.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeClient.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacade.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeBean.java
    [11:45:27 PM] Successful compilation: 0 errors, 0 warnings.
    [Application HR_EJB_JPA_App is bound to Server Instance DefaultServer]
    [Starting Server Instance DefaultServer]
    #### Server Instance DefaultServer could not be started: Server Instance was terminated.
    The "Running: DefaultServer" displays:
    "C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    [Server Instance DefaultServer is shutting down.  All applications currently running will be terminated and undeployed.]
    Process exited.
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin\stopWebLogic.cmd
    Stopping Weblogic Server...
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Connecting to t3://localhost:7101 with userid weblogic ...
    This Exception occurred at Wed Oct 29 23:47:40 CET 2008.
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
         at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
         at weblogic.jndi.Environment.getContext(Environment.java:315)
         at weblogic.jndi.Environment.getContext(Environment.java:285)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:512)
         at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:565)
         at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:305)
         at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
         at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
         at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:125)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
         at org.python.core.PyMethod.__call__(PyMethod.java:96)
         at org.python.core.PyObject.__call__(PyObject.java:248)
         at org.python.core.PyObject.invoke(PyObject.java:2016)
         at org.python.pycode._pyx4.connect$1(<iostream>:16)
         at org.python.pycode._pyx4.call_function(<iostream>)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyTableCode.call(PyTableCode.java:404)
         at org.python.core.PyFunction.__call__(PyFunction.java:184)
         at org.python.pycode._pyx16.f$0(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py:1)
         at org.python.pycode._pyx16.call_function(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyCode.call(PyCode.java:14)
         at org.python.core.Py.runCode(Py.java:1135)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
         at weblogic.management.scripting.WLST.main(WLST.java:129)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.WLST.main(WLST.java:29)
    Caused by: java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:203)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
         at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
         ... 38 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:303)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:193)
         ... 43 more
    Problem invoking WLST - Traceback (innermost last):
    File "C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py", line 1, in ?
    File "<iostream>", line 22, in connect
    WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://localhost:7101 Use dumpStack() to view the full stacktrace
    Done
    I'm not that familiar with these things but it seems to me that there is an issue with port numbers here. The application seems to expect a app.server service at port 7101, but does'nt find one.
    Any suggestions on how to fix this problem would be appreciated?
    LA$$E

    Jupp,
    It fails in a similar way.
    What I did was; create a simle 'Hello World' html file, saving it with the jsp extension. In Jdev11g i made a new application and an emtpy project, then loaded the jsp file and made it the default run-target. This compiles nicely.
    When running the project it first attempts to start the WebLogicServer (WLS). After a few minutes it is started as seen in the "Running: DefaultServer" pane:
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=;C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
    PATH=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\oracle_client\product\11.1.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
    Starting WLS with line:
    C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=false -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
    <30.okt.2008 kl 19.20 CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
    <30.okt.2008 kl 19.20 CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <30.okt.2008 kl 19.20 CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
    <30.okt.2008 kl 19.20 CET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "Kromp.lan", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
    <30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.0.0.8:7001 for protocols iiop, t3, ldap, snmp, http.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "127.0.0.1", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    DefaultServer startup time: 121552 ms.
    DefaultServer started.
    In the "Messages" pane, however, things are not looking so good:
    Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
    [7:20:49 PM] Successful compilation: 0 errors, 0 warnings.
    [Application TestAppJsp is bound to Server Instance DefaultServer]
    [Starting Server Instance DefaultServer]
    #### Server Instance DefaultServer could not be started: Server Instance was terminated.
    But, of course, the server is actually running as I can access it via its Admin Console.
    So, I try to run the project again, and this time the following is shown in the "Messages" pane:
    Compiling...
    Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
    [7:26:39 PM] Successful compilation: 0 errors, 0 warnings.
    [Application TestAppJsp is bound to Server Instance DefaultServer]
    [Starting Server Instance DefaultServer]
    #### Server Instance DefaultServer could not be started: Server Instance was terminated.
    The "Running: DefaultServer" now comes up with:
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    [Server Instance DefaultServer is shutting down.  All applications currently running will be terminated and undeployed.]
    Process exited.
    The WLS is still running though as I can still access its adm console.
    To me it seems that it is attempting to start a separate instance of the WLS for each run attempt, but then I could be wrong.....:(
    Later I'll try to change the default WLS port from 7001 to 7101 as suggested in another port here.
    I must admit that I'm a bit surprised that the JDev11g doesn't work fine at this very simple level when performing a default install.

  • Issue with LCM while migrating planning application in the cluster Env.

    Hi,
    Having issues with LCM while migrating the planning application in the cluster Env. In LCM we get below error and the application is up and running. Please let me know if anyone else has faced the same issue before in cluster environment. We have done migration using LCM on the single server and it works fine. It just that the cluster environment is an issue.
    Error on Shared Service screen:
    Post execution failed for - WebPlugin.importArtifacts.doImport. Unable to connect to "ApplicationName", ensure that the application is up and running.
    Error on network:
    “java.net.SocketTimeoutException: Read timed out”
    ERROR - Zip error. The exception is -
    java.net.SocketException: Connection reset by peer: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)

    Hi,
    First of all, if your environment for source and target are same then you will have all the users and groups in shared services, in that case you just have to provision the users for this new application so that your security will get migrated when you migrate the from the source application. If the environs are different, then you have to migrate the users and groups first and provision them before importing the security using LCM.
    Coming back to the process of importing the artifacts in the target application using LCM, you have to place the migrated file in the @admin native directory in Oracle/Middleware/epmsystem1.
    Open shared services console->File system and you will see the your file name under that.
    Select the file and you will see all your exported artifacts. Select all if you want to do complete migration to target.
    Follow the steps, select the target application to which you want to migrate and execute migration.
    Open the application and you will see all your artifacts migrated to the target.
    If you face any error during migration it will be seen in the migration report..
    Thanks,
    Sourabh

  • Error System Copy on cluster using R3load

    Hi currently we are doing a system copy on Cluster using R3load
    Source System win2003 SP2 32bit, MSSQl2000 SP4 32 bit
    Target System  win 2003 Sp2 64bit, MSSQL2005 SP2 X64 Server
    We have successfully installed MSSQL2005 Sp2 64 bit
    We have successfully installed Central Instance
    When we are trying to install the database Instance using R3load dump
    We are getting the fallowing error
    ERROR 2008-09-07 20:55:14
    MDB-05053  Errors when executing sql command: <p nr="0"/> If this message is displayed as a warning - it can be ignored. If this is an error - call your SAP support.
    Please help me out to resolve this issue
    Thanx
    Jarish
    Entire log
    INFO 2008-09-07 20:26:00
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/keydb.xml to: q0w9e9r8t7.1.xml.
    INFO 2008-09-07 20:26:00
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/keydb.xml to: q0w9e9r8t7.1.xml.
    INFO 2008-09-07 20:26:00
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\q0w9e9r8t7.1.xml.
    INFO 2008-09-07 20:26:01
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/keydb.xml to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/keydb.1.xml.
    INFO 2008-09-07 20:26:01
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/keydb.xml to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/keydb.1.xml.
    INFO 2008-09-07 20:26:01
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\keydb.1.xml.
    INFO 2008-09-07 20:26:01
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\change.log.
    INFO 2008-09-07 20:26:01
    Output of change user /install is written to the logfile change.log.
    WARNING 2008-09-07 20:26:01
    Execution of the command "change user /install" finished with return code 1. Output:
    Install mode does not apply to a Terminal server configured for remote administration.
    INFO 2008-09-07 20:26:01
    File not found: [C:/DOCUME1/ADMINI1.SBA/LOCALS~1/Temp/2/sapinst_exe.1064.1220804594/msvcp71.dll].
    INFO 2008-09-07 20:26:01
    File not found: [C:/DOCUME1/ADMINI1.SBA/LOCALS~1/Temp/2/sapinst_exe.1064.1220804594/msvcr71.dll].
    INFO 2008-09-07 20:26:01
    Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'SBA\Administrator' on host '.'.
    INFO 2008-09-07 20:26:01
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\summary.html.
    PHASE 2008-09-07 20:26:01
    Prepare the installation program.
    INFO 2008-09-07 20:26:03
    Installation start: Sunday, 07 September 2008, 20:26:00; installation directory: C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB; product to be installed: SAP R3E 4.7 Extension Set 2 SR1> ABAP System> MS SQL Server> Non-Unicode> Database Instance Installation
    INFO 2008-09-07 20:26:38
    Host operation t_HostInfo_SHARED processed successfully.
    INFO 2008-09-07 20:28:26
    The 'saploc' share exists in directory 'S:/usr/sap'. Choosing drive S: as the SAP system drive.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/mssversions.xml to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/mssversions.xml to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mssversions.xml.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/db_all.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/db_all.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\db_all.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/db_di_clust.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/db_di_clust.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\db_di_clust.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/db_std_checks.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/db_std_checks.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\db_std_checks.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_get_defpath.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_get_defpath.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mss_get_defpath.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_get_r3db_config.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_get_r3db_config.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mss_get_r3db_config.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_init_jc.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_init_jc.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mss_init_jc.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_r3db_gconf.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_r3db_gconf.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mss_r3db_gconf.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_r3db_lconf.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_r3db_lconf.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mss_r3db_lconf.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_r3srv_conf.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_r3srv_conf.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mss_r3srv_conf.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_schema_cnv.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_schema_cnv.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mss_schema_cnv.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_sps_droptmp.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_sps_droptmp.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mss_sps_droptmp.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_users_sid_drop.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_users_sid_drop.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mss_users_sid_drop.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_users_sid_drop_objs.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/mss_users_sid_drop_objs.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mss_users_sid_drop_objs.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/srvchk.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/srvchk.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\srvchk.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/usrabap.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/usrabap.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\usrabap.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/usrstd.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL/usrstd.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\usrstd.sql.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL9/db_all.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL9/db_all.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL9/db_std_checks.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL9/db_std_checks.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL9/mss_r3db_gconf.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL9/mss_r3db_gconf.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL9/usrabap.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL9/usrabap.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL9/usrstd.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:29:17
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/SQL9/usrstd.sql to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO[E] 2008-09-07 20:30:00
    Account group="ORA_PRD_DBA" does not exist.
    INFO[E] 2008-09-07 20:30:00
    Account group="ORA_PRD_OPER" does not exist.
    INFO[E] 2008-09-07 20:30:00
    Account group="SBA\dbprdctl" does not exist.
    INFO 2008-09-07 20:48:16
    Copying file E:/Export_PRD/DB/MSS/DBSIZE.XML to: DBSIZE.XML.
    INFO 2008-09-07 20:48:16
    Copying file E:/Export_PRD/DB/MSS/DBSIZE.XML to: DBSIZE.XML.
    INFO 2008-09-07 20:48:16
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\DBSIZE.XML.
    INFO 2008-09-07 20:50:58
    Package table created
    INFO 2008-09-07 20:50:58
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/mssprocs620.dat to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:50:58
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/mssprocs620.dat to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:50:58
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mssprocs620.dat.
    INFO 2008-09-07 20:50:58
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/mssprocs620BW.dat to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:50:58
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/mssprocs620BW.dat to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:50:58
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mssprocs620BW.dat.
    INFO 2008-09-07 20:50:58
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/mssprocs640.dat to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:50:58
    Copying file E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08/IM_WINDOWS_X86_64/SAPINST/NT/COMMON/MSS/mssprocs640.dat to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB.
    INFO 2008-09-07 20:50:58
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mssprocs640.dat.
    INFO 2008-09-07 20:53:12
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/summary.html to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/summary.1.html.
    INFO 2008-09-07 20:53:12
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/summary.html to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/summary.1.html.
    INFO 2008-09-07 20:53:12
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\summary.1.html.
    PHASE 2008-09-07 20:53:12
    SAP Web Application Server
    PHASE 2008-09-07 20:53:12
    Request common parameters of SAP system
    PHASE 2008-09-07 20:53:12
    Collecting information on database configuration
    PHASE 2008-09-07 20:53:12
    Collecting information on database configuration
    PHASE 2008-09-07 20:53:12
    Create accounts
    INFO 2008-09-07 20:53:12
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/product.xml to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/product.1.xml.
    INFO 2008-09-07 20:53:12
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/product.xml to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/product.1.xml.
    INFO 2008-09-07 20:53:12
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\product.1.xml.
    INFO 2008-09-07 20:53:12
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/product.xml to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/product.2.xml.
    INFO 2008-09-07 20:53:12
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/product.xml to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/product.2.xml.
    INFO 2008-09-07 20:53:12
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\product.2.xml.
    INFO 2008-09-07 20:53:12
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/mssversions.xml to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/mssversions.1.xml.
    INFO 2008-09-07 20:53:12
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/mssversions.xml to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/mssversions.1.xml.
    INFO 2008-09-07 20:53:12
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\mssversions.1.xml.
    INFO 2008-09-07 20:53:12
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/DBSIZE.XML to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/DBSIZE.1.XML.
    INFO 2008-09-07 20:53:12
    Copying file C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/DBSIZE.XML to: C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/DBSIZE.1.XML.
    INFO 2008-09-07 20:53:12
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\DBSIZE.1.XML.
    WARNING 2008-09-07 20:53:25
    Existing account SAPMssXPUser has the primary group None, not Administrators. Changing primary group.
    PHASE 2008-09-07 20:53:25
    Preparing OS account for MCOD installation
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    PHASE 2008-09-07 20:53:25
    Request operating system user information
    INFO 2008-09-07 20:53:26
    Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'S-1-5-21-2140900914-1967063802-3263448767-500' on host 'QASECC1'.
    INFO 2008-09-07 20:53:26
    Successfully added privileges 'SeServiceLogonRight SeNetworkLogonRight SeDenyInteractiveLogonRight SeDenyRemoteInteractiveLogonRight' to account 'SBA\SAPServicePRD' on host 'QASECC1'.
    INFO 2008-09-07 20:53:26
    Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'SBA\prdadm' on host 'QASECC1'.
    INFO 2008-09-07 20:53:26
    All 'tNT_RegistryEntries' table rows evaluated.
    PHASE 2008-09-07 20:53:27
    Preparing DBMS-specific environment variables
    INFO 2008-09-07 20:53:27
    Switched to user: prdadm.
    INFO 2008-09-07 20:53:27
    All NT registry entries from the tNT_RegistryEntries table created or updated successfully.
    INFO 2008-09-07 20:53:27
    Switched to user: prdadm.
    INFO 2008-09-07 20:53:27
    All NT registry entries from the tNT_RegistryEntries table created or updated successfully.
    INFO 2008-09-07 20:53:28
    Switched to user: prdadm.
    INFO 2008-09-07 20:53:28
    All NT registry entries from the tNT_RegistryEntries table created or updated successfully.
    INFO 2008-09-07 20:53:28
    Switched to user: prdadm.
    INFO 2008-09-07 20:53:28
    All NT registry entries from the tNT_RegistryEntries table created or updated successfully.
    INFO 2008-09-07 20:53:28
    Switched to user: prdadm.
    INFO 2008-09-07 20:53:28
    All NT registry entries from the tNT_RegistryEntries table created or updated successfully.
    INFO 2008-09-07 20:53:28
    Switched to user: prdadm.
    INFO 2008-09-07 20:53:28
    All NT registry entries from the tNT_RegistryEntries table created or updated successfully.
    INFO 2008-09-07 20:53:29
    Switched to user: prdadm.
    INFO 2008-09-07 20:53:29
    All NT registry entries from the tNT_RegistryEntries table created or updated successfully.
    INFO 2008-09-07 20:53:29
    Switched to user: prdadm.
    INFO 2008-09-07 20:53:29
    All NT registry entries from the tNT_RegistryEntries table created or updated successfully.
    INFO 2008-09-07 20:53:29
    Switched to user: prdadm.
    INFO 2008-09-07 20:53:29
    All NT registry entries from the tNT_RegistryEntries table created or updated successfully.
    PHASE 2008-09-07 20:53:29
    Adapt file system
    PHASE 2008-09-07 20:53:29
    Prepare check/adapt SAP instance file system
    INFO 2008-09-07 20:53:30
    File system node S:\usr\sap exists.
    INFO 2008-09-07 20:53:30
    All file system node operations of table t_SAPComponent_Filesystem_Action_SHARED processed successfully.
    INFO 2008-09-07 20:53:30
    File system node S:\usr\sap/PRD exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node S:\usr\sap/tmp exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node
    DEVECC64\sapmnt\trans exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node
    DEVECC64\sapmnt\trans/tmp exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node
    DEVECC64\sapmnt\trans/EPS exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node
    DEVECC64\sapmnt\trans/EPS/in exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node
    DEVECC64\sapmnt\trans/EPS/out exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node
    DEVECC64\sapmnt\trans/EPS/log exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node
    DEVECC64\sapmnt\trans/bin exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node
    DEVECC64\sapmnt\trans/buffer exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node
    DEVECC64\sapmnt\trans/cofiles exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node
    DEVECC64\sapmnt\trans/data exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node
    DEVECC64\sapmnt\trans/etc exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node
    DEVECC64\sapmnt\trans/log exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    File system node
    DEVECC64\sapmnt\trans/sapnames exists already. Nothing to do.
    INFO 2008-09-07 20:53:30
    All file system node operations of table t_SAPComponent_Filesystem_Action_SHARED processed successfully.
    INFO 2008-09-07 20:53:30
    All file system node operations of table t_SAPComponent_Filesystem_Action_SHARED processed successfully.
    INFO 2008-09-07 20:53:31
    All NT shares while processing the table 'tNT_SHARE' created successfully.
    PHASE 2008-09-07 20:53:31
    Extract archives
    INFO 2008-09-07 20:53:31
    All file system node operations of table t_SAPComponent_Archives_FORMS_SHARED processed successfully.
    PHASE 2008-09-07 20:53:31
    Extract SAP System kernel archives
    INFO 2008-09-07 20:53:32
    Copying file S:/usr/sap/PRD/SYS/exe/run/rfcexec.sec to: /rfcexec.sec.
    INFO 2008-09-07 20:53:32
    Copying file S:/usr/sap/PRD/SYS/exe/run/rfcexec.sec to: /rfcexec.sec.
    INFO 2008-09-07 20:53:32
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB\SAPMMC.SAR.log.
    INFO 2008-09-07 20:53:33
    C:/DOCUME1/ADMINI1.SBA/LOCALS~1/Temp/2/sapinst_exe.1064.1220804594\sapcar.exe -xvgf E:/4.7_200Ext/51033746_15_Inst_Master/Installation_Master_6.20_6.40_05_08\IM_WINDOWS_X86_64/SAPINST/NT/AMD64/MMC/SAPMMC.SAR, -R C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DB succeeded. (See output in './SAPMMC.SAR.log'.)
    INFO 2008-09-07 20:53:33
    While copying node C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/sapmmc.dll to C:/WINDOWS/system32/sapmmc.dll, source is not newer than the target. Nothing to do.
    INFO 2008-09-07 20:53:33
    While copying node C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/sapmmcada.dll to C:/WINDOWS/system32/sapmmcada.dll, source is not newer than the target. Nothing to do.
    INFO 2008-09-07 20:53:33
    While copying node C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/sapmmcdb6.dll to C:/WINDOWS/system32/sapmmcdb6.dll, source is not newer than the target. Nothing to do.
    INFO 2008-09-07 20:53:33
    While copying node C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/sapmmcinf.dll to C:/WINDOWS/system32/sapmmcinf.dll, source is not newer than the target. Nothing to do.
    INFO 2008-09-07 20:53:33
    While copying node C:/Program Files/sapinst_instdir/R3E47X2/SYSTEM/ABAP/MSS/NUC/DB/sapmmcms.dll to C:/WINDOWS/system32/sapmmcms.dll, source is not newer than the target. Nothing to do.
    INFO 2008-09-07 20:53:33
    All file system node operations of table t_SAPComponent_Archives_Copy_SHARED processed successfully.
    INFO 2008-09-07 20:53:33
    Removing file S:\usr\sap\PRD\SYS\exe\run\strdbs.cmd.
    INFO 2008-09-07 20:53:33
    Creating file S:\usr\sap\PRD\SYS\exe\run\strdbs.cmd.
    INFO 2008-09-07 20:53:34
    All 'tNT_RegistryEntries' table rows evaluated.
    INFO 2008-09-07 20:53:34
    All NT registry entries from the tNT_RegistryEntries table created or updated successfully.
    PHASE 2008-09-07 20:53:34
    Creating service ports
    PHASE 2008-09-07 20:53:35
    Generate instance profiles
    PHASE 2008-09-07 20:53:35
    Create versions of default profile, instance profile and start profile
    INFO 2008-09-07 20:53:35
    All file system node operations of table t_SAPComponent_Profiles_FORMS_SHARED processed successfully.
    PHASE 2008-09-07 20:53:35
    Preparing DBMS-specific profile parameters
    INFO 2008-09-07 20:53:35
    Adapt operation t_SAPComponent_Profiles_SHARED processed successfully.
    PHASE 2008-09-07 20:53:35
    Setting up database server
    ERROR 2008-09-07 20:53:36
    MDB-05053  Errors when executing sql command: <p nr="0"/> If this message is displayed as a warning - it can be ignored. If this is an error - call your SAP support.
    ERROR 2008-09-07 20:55:14
    MDB-05053  Errors when executing sql command: <p nr="0"/> If this message is displayed as a warning - it can be ignored. If this is an error - call your SAP support.

    Hi,
    I think some of the Microsoft runtime DLLs are missing, which you can observe in the above pasted log :-
    INFO 2008-09-07 20:26:01
    File not found: C:/DOCUME1/ADMINI1.SBA/LOCALS~1/Temp/2/sapinst_exe.1064.1220804594/msvcp71.dll.
    INFO 2008-09-07 20:26:01
    File not found: C:/DOCUME1/ADMINI1.SBA/LOCALS~1/Temp/2/sapinst_exe.1064.1220804594/msvcr71.dll.
    Do have a look at snote Note 684106 - Microsoft runtime DLLs to drill more in to the issue.
    Rgds
    Radhakrishna D S

  • Setup Cluster using Solaris Container data service

    We have a two-node cluster that we would like to use to create either a zone cluster or use the Solaris Container data service that would create a scalable (or multiple master) data service of two zones, one on each node. We have an app running in the zone, CiscoWorks, that has a local database of jobs that are scheduled to run to configure Cisco switches. I was curious how we setup the storage. If each zone is running on local disks, how do the zones stay in sync and the database updated with job information? Would I setup a device group of the disks where the zones will reside on each node? Can I use SAN as the local disk so the zones can be replicated to a Disaster Recovery location?
    Thanks for any help,
    Chuck

    Chuck,
    Sadly, I think I'm going to make your implementation decisions a lot more complicated because there are three ways you can use zones within Solaris Cluster.
    1. Create a failover zone using the HA Solaris Container Data Service. Here the zone root moves between the cluster nodes as the zone fails over.
    2. Create static zones between with resource groups can migrate. Each zone root is local the the physical node. However, the configuration of the zones can be subtly different.
    3. Create a virtual cluster using static zones within which resource groups can migrate. Each zone root is local the the physical node. However, the configuration of the zones are forced to be the same.
    Note also, that a ZFS zpool can only be mounted on one node or zone at anyone time, although it can be mounted read/write in one zone and read-only in other zones on the same node (IIRC).
    I would be inclined to put your database into an HA configuration, i.e. one that runs on one node at any one time. I would then constrain that in a zone cluster that is bound to a project with restricted resources, i.e. CPUs and memory. Any other tiers of the application, could then be placed either in the global zone (main cluster) or placed in another zone cluster and equally constrained.
    I don't know if that's any help. I can recommend a good book on the subject <shameless plug "Oracle Solaris Cluster Essentials"/>. The example chapters should be of help.
    Regards,
    Tim
    ---

  • Multiple values in 1 application context

    All, I'm trying to return multiple values from a query and store them in an application context.
    I have an employee that can be a part of multiple divisions. I already captured emp_id:
    dbms_session.set_context('COMPANY', 'emp_id', emp_id);
    but also want to capture division_id for the person. Most people will only have 1 division_id, but some will have multiple division_id's.
    What's the best way for me to capture multiple numeric values and store them in an application context like this.
    I'm trying to set up VPD policies and don't have to have to reissue a query every time I need to access the division_id.
    Thanks,
    Jon.

    One option would be to store a comma-delimited list of the division_ids in the context and then your VPD filter can use this and the TABLE function to limit the rows:
    sql>create or replace type NumberTable as table of number;
      2  /
    Type created.
    sql>create or replace function f_number_table(
      2    p_list       in  varchar2,
      3    p_delimiter  in  varchar2 default ',')
      4    return numbertable
      5  is
      6    v_string  long := p_list || p_delimiter;
      7    v_pos     pls_integer;
      8    v_data    numbertable := numbertable();
      9  begin
    10    loop
    11      v_pos := instr(v_string, p_delimiter);
    12      exit when (nvl(v_pos, 0) = 0);
    13      v_data.extend;
    14      v_data(v_data.count) := trim(substr(v_string, 1, v_pos - 1));
    15      v_string := substr(v_string, v_pos + 1);
    16    end loop;
    17    return (v_data);
    18  end f_number_table;
    19  /
    Function created.
    Then, in your VPD package:
    -- build a list of the division_ids by looping through a cursor
    -- set the context using this list of division_ids:
    dbms_session.set_context('company', 'div_id', '10,20');
    -- later, you would replace the literal value below with a call to sys_context to retrieve it
    sql>select empno, ename, deptno
      2    from emp
      3   where deptno in (select *
      4                      from table(f_number_table('10,20')));
        EMPNO ENAME         DEPTNO
         7782 CLARK             10
         7839 KING              10
         7934 MILLER            10
         7369 SMITH             20
         7876 ADAMS             20
         7902 FORD              20
         7788 SCOTT             20
         7566 JONES             20
    8 rows selected.

  • Application Context - VPD

    APEX: 2.0.0.00.49
    DB: 10R2
    I am using table based security. Upon login, I am setting a number of different context variables (e.g., sessionid, userid, name, etc). They are also being set in my application (F100_SESSIONID, F100_USERID, etc).
    Recently, our company decided to host another company's data. Not having EE, I decided to add a column to the appropriate tables and then create views accessible through the application. Each view would have a predicate:<BR>
    WHERE companycode = SYS_CONTEXT( 'PFS_CTX', 'COMPANYCODE' )<br>
    Now, after submit, (I haven't tested every single page), session state seems to be lost.<br>
    Debug info before Submit:<br>
    0.00: S H O W: application="100" page="26" workspace="" request="" session="12483598699829578467"
    0.00: ...Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    0.00: alter session set nls_language="AMERICAN"
    0.00: alter session set nls_territory="AMERICA"
    0.00: NLS: CSV charset=WE8MSWIN1252
    0.00: ...Setting NLS Decimal separator="."
    0.00: ...Setting NLS Group separator=","
    0.00: ...Setting NLS date format="DD-MON-RR"
    0.00: NLS: Language=en-us
    0.00: Application 100, Authentication: CUSTOM2, Page Template: 653625525474071
    0.02: ...Supplied session ID can be used
    0.02: ...Application session: 12483598699829578467, user=USER_PFS
    0.02: ...Determine if user PFS_ADMIN with SGID 635206529335328 can develop application 100 in workspace 635206529335328
    0.02: Fetch session state from database
    0.02: Fetch session header information
    0.02: ...fetch page attributes: f100, p26
    0.02: Branch point: BEFORE_HEADER
    0.03: Fetch application meta data
    0.03: Computation point: BEFORE_HEADER
    0.03: Processing point: BEFORE_HEADER
    0.03: Show page template header
    0.03: Computation point: AFTER_HEADER
    0.03: Processing point: AFTER_HEADER<br>
    The Select List I have renders correctly. The query behind the Select List is:<br>
    SELECT projectname, projectid
    FROM pnet_projects<br>
    The view text is:<br>
    SELECT projectid, projectname,...
    FROM vw_projects
    WHERE companycode = SYS_CONTEXT( 'PFS_CTX', 'COMPANYCODE' )<BR>
    After Submit, the Select List is empty and here is the Debug info:<br>
    0.00: A C C E P T: Request="SUBMIT"
    0.00: Fetch application info
    0.00: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    0.00: alter session set nls_language="AMERICAN"
    0.00: alter session set nls_territory="AMERICA"
    0.00: NLS: CSV charset=WE8MSWIN1252
    0.00: ...Setting NLS Decimal separator="."
    0.00: ...Setting NLS Group separator=","
    0.00: ...Setting NLS date format="DD-MON-RR"
    0.02: Fetch session state from database
    0.02: ...Check instance 12483598699829578467 owner
    0.02: ...Fetch iconbar, page, computation, process, ...
    0.02: Fetch session header information
    0.02: ...fetch page attributes: f100, p26
    0.02: ...Check security schemes
    0.02: Save form items and p_arg_values
    0.02: ...P26_PROJECTID session state saving same value: "NONE"
    0.02: ...P26_TIMEIN session state saving same value: ""
    0.03: ...P26_PERSONID session state saving same value: ""
    0.03: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.03: Branch point: BEFORE_COMPUTATION
    0.03: Computation point: AFTER_SUBMIT
    0.03: Perform Branching for Tab Requests
    0.03: Branch point: BEFORE_VALIDATION
    0.03: Perform validations:
    0.03: Display inline error messages that are a result of failed validations.
    0.03: S H O W: application="100" page="26" workspace="" request="" session="12483598699829578467"
    0.03: NLS: Language=en-us
    0.03: Application 100, Authentication: CUSTOM2, Page Template: 653625525474071
    0.05: ...Supplied session ID can be used
    0.05: ...Application session: 12483598699829578467, user=USER_PFS
    0.05: ...Determine if user PFS_ADMIN with SGID 635206529335328 can develop application 100 in workspace 635206529335328
    0.05: ...fetch page attributes: f100, p26
    0.05: Branch point: BEFORE_HEADER
    0.05: Fetch application meta data
    0.05: Computation point: BEFORE_HEADER
    0.05: Processing point: BEFORE_HEADER
    0.05: ......do not perform process because inline validation condition found.
    0.05: ...Recompute field lables for fields in error.
    0.05: Show page template header   
    0.05: Computation point: AFTER_HEADER
    0.05: Processing point: AFTER_HEADER<br>
    In the ACCEPT portion, there's a line "Fetch session state from database" which I am guessing gets the Application Context. There is no such line in the SHOW section.<br><br>
    I have used Branch to Page Identified by Item and a Branch to Page or URL. Same result.<br><br>
    Does anyone have a suggestion as to how I should proceed? Can I use APEX/Application Context in this manner?<br><br>
    chet

    FUNCTION login
      (p_username IN VARCHAR2,
       p_password IN VARCHAR2,
       p_systemcode IN VARCHAR2 DEFAULT 'PFS') RETURN NUMBER
    IS
      l_sessionid NUMBER(15);
      l_password PERSON_SYSTEMS_TAB.PASSWORD%TYPE;
      l_personsystemid PERSON_SYSTEMS_TAB.PERSONSYSTEMID%TYPE;
      l_personid PERSON_SYSTEMS_TAB.PERSONID%TYPE;
      l_passwordexpires PERSON_SYSTEMS_TAB.PASSWORD_EXPIRES%TYPE;
      l_accountlocked PERSON_SYSTEMS_TAB.ACCOUNTLOCKED%TYPE;  
      l_expiredate DATE;
      l_entityid ENTITY_TAB.ENTITYID%TYPE;
      l_companyname VARCHAR2(150);
      l_companycode VARCHAR2(30);
    BEGIN
      SELECT password, personsystemid, personid, password_expires, accountlocked, date_expired, companycode
      INTO l_password, l_personsystemid, l_personid, l_passwordexpires, l_accountlocked, l_expiredate, l_companycode
      FROM vw_person_systems
      WHERE systemcode = p_systemcode
        AND date_expired IS NULL
        AND UPPER( username ) = UPPER( p_username );
      IF l_password = p_common.hash(p_username, p_password) THEN --successful login
      --1 create session
      --2 set app context
      --3 return sessionid
        l_sessionid := create_session( l_personsystemid );
        l_companyname := p_common.get_company_name( l_personid ); 
        l_entityid := p_common.get_entityid( l_personid );
        p_ctx.set_sessionid( l_sessionid );        
        p_ctx.set_context( 'NAME', p_login.get_name( l_personid ) );
        p_ctx.set_context( 'PERSONSYSTEMID', l_personsystemid );
        p_ctx.set_context( 'PERSONID', l_personid );
        p_ctx.set_context( 'COMPANYID', SUBSTR( l_companyname, 1, INSTR( l_companyname, ':' ) - 1 ) );
        p_ctx.set_context( 'COMPANYNAME', SUBSTR( l_companyname, INSTR( l_companyname, ':' ) + 1, LENGTH( l_companyname ) ) );
        p_ctx.set_context( 'SESSIONID', l_sessionid );
        p_ctx.set_context( 'EMAILADDRESS', p_username );
        p_ctx.set_context( 'ENTITYID', l_entityid );
        p_ctx.set_context( 'COMPANYCODE', l_companycode );
      END IF;
      RETURN l_sessionid;
    EXCEPTION
      WHEN no_data_found THEN
        raise_application_error(-20002, 'invalid username');
    END login;<br>
    None of this code has changed in quite some time. The only thing that changed was the view reference from APEX. This seems to occur only when the page is submitted (with or without validations).

  • Creating Context Sensitive Webhelp Using Robohelp 9

    I want to create a Context sensitive Webhelp - one help topic for one page/function for web application. I'm using Robohelp 9 with Team Foundation Server 2012. I also have MSSCCI provider installed. I will be using unique ID (Map ID) or unique window names for mapping.
    Below are the details about what I have and my requirements:
    I have multiple module projects in Robohelp 9 integrated with Team Foundation Server 2012. I want to merge these projects to create one tree structure which will display all the functions same as application.
    Which are the files that I need to give to developer to integrate Web Help?
    What are the steps for linking and generating Webhelp in merged projevct?
    Can we do merging of ToC in merged project and extract the  ToC (.hhc file) and use it in all modules projects just like merging chms and extracting ToC?
    What is the simplest way to do create the Webhelp?
    Can we use a single Robohelp project for large number of topics to avoid merging?
    Please suggest as soon as possible.

    First take a look at Merged Help on my site. It gives detailed information about creating merged webhelp.
    Can you use a single project for a large number of topics? Define large. It's a mix of topics and graphics. My experience is Rh can, not will, get slow around 4/5000 topics with a some graphics.
    You give the generated help and tell them to put ALL the files on the server.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to get resultset from oracle procedure use ejb3

    how to get resultset from oracle procedure use ejb3
    i know oracle procedure should like this
    Create or replace PROCEDURE resultset_test(
    aaa IN NUMBER,
    bbb OUT sys_refcursor) ....
    but what s the ejb3 scripts looks like? please give me an example or link~
    ths

    - there are no EJB3 scripts, only compiled application code
    - the part of the EJB spec that deals with databases is called the Java Persistence API, but likely you are just looking for the JDBC API.
    Now you should know what to Google to get your "example script": "java jdbc oracle procedure"

Maybe you are looking for

  • Report to show changes in special prices

    Hi All We are having a problem currently where some users change the prices in the system and since the special prices table or price table does not have a log it makes it difficult to check who changed the prices from what price to what price and wh

  • Is there a way to import 30 playlist at one time?

    Is there a way to import 30 playlist at one time? I know the old stand by way.

  • Blackberry Desktop Software 6.0 will not open

    Desktop Software 6.0 On load: "Application has generated an exception that could not be handled" Process ID=0x7ac (1964), Thread ID=0x780 (1920). I have uninstalled the desktop software and Microsoft .Net 3.5 SP1 and reinstalled both and continue to

  • Sides of Keynote presentation cut off when exported to iDVD

    Hi, I have a keynote presentation with the slides set to 800X600 that I am trying to burn to a DVD. I am able to burn fine but when it plays on my DVD player and CRT Samsung TV, the sides of the slides are cut off so that the first and last letters o

  • Open pdf in visual basic form

    Hi I opened a PDF file in a Visual Basic form. When I open "Open full Reader search not show " look  i. Not work  use advanced search. Can you help? Luciano