How to access Apex environments that exist in multiple SID's on same Server

HI,
I've got a Linux Server which has 3 11gr2 Development instances (SID's), in each instance I'd like to setup Apex environment (I know Apex comes with the 11gr2 DB). How can I access a specific Apex environment (on one of the SID's) when all the database instances share the same IP Address?
Any suggestions?
TIA

Sorry for the silly Q, all I need to do is run EXEC DBMS_XDB.SETHTTPPORT(port); specifying a different port for each SID!

Similar Messages

  • How to access an EJB from a web application deployed in the same server

    Hey All,
    I deployed an EJB named EventServerBean to Sun Application Server 9.0, and put the client side jar file (named eventserver.jar which is generated by Sun Application Server) to C:\Sun\AppServer\lib. Now, I have a web application which is a simple jave file -- lookup EventServer EJB and invoke a remote method in this EJB. However, the web application always throws an exception "java.lang.NoClassDefFoundError: eventserver/EventServerRemoteHome"
    Here is my java class that access the ejb:
    public class Post_Event {
        public HashMap<String, String> getEventInfo(String event_name, String site) {
            System.out.println("Post_Event, the class path: " + System.getProperty("java.class.path"));       
            System.out.println("Post_Event, user.dir: " + System.getProperty("user.dir"));
            System.out.println("Post_Event, java.library.path: " + System.getProperty("java.library.path"));
            HashMap<String, String> result = null;
            EventServerRemote remote = null;
            StringTokenizer st, st2;
            // here get the event information from host
            try {
                String lookupStr = "corbaname:iiop:" + site + ":3700#ejb/EventServerBean";
                InitialContext initialContext = new InitialContext();
                EventServerRemoteHome remoteHome = (EventServerRemoteHome) javax.rmi.PortableRemoteObject.narrow(initialContext.lookup(lookupStr), EventServerRemoteHome.class);
                if (remoteHome != null) {
                    remote = remoteHome.create();
            } catch (javax.naming.NamingException ne) {
                ne.printStackTrace();
                return null;
            } catch (javax.ejb.CreateException ce) {
                ce.printStackTrace();
                return null;
            } catch (java.rmi.RemoteException re) {
                re.printStackTrace();
                return null;
            } catch (java.io.IOException ioe) {
                ioe.printStackTrace();
                return null;
            System.out.println("look up remote event server successfully.");
         result = remote.getEvent(event_name);
            return result;
        } I output the class path in this java file, and the class path DOES include the path C:\Sun\AppServer\lib where eventserver\EventServerRemoteHome.class is.
    Does anyone know why it happens? Why a java class can't find a class that is in its class path?
    appreciate any help!

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Wael Abbas ([email protected]):
    Thank you for your great topic.
    I think you need to copy the snippet code and past it to every application, applet, servlet or JSP every time you need to use your EJB.
    Its better to include this snippet code in a simple JavaBean and use this bean as a bridge to your EJB, you may include a connect method in your JavaBean or but the connection code in the constructor and include a setters, getters and other methods to encapsulate your EJB methods.
    You can use your JavaBean in any application, applet, servlet or JSP just create an object form it and call its methods.
    Its just an idea
    I hope it will be useful.
    <HR></BLOCKQUOTE>
    null

  • How to migrate Apex users with existing passwords.

    Hi Guys,
    Our apex env finally getting a upgrade from 3.1.1 to 4.1.1 (I know, it's been overdue for years)
    Some of our apps use 'Application Express' authentication, and have few hundreds users in Apex (and users belong to diff user groups).
    The issue is, the 4.1.1 env is set up on a brand new server and DB, we want to migrate these users with their existing passwords from the 3.1.1 env.
    I tried exporting the workspace, and the users are exported as below,
         begin
         wwv_flow_fnd_user_api.create_fnd_user (
         p_user_id => '10592934818556549584',
         p_user_name => 'TEST',
         p_first_name => 'a',
         p_last_name => 'b',
         p_description => '',
         p_email_address=> '[email protected]',
         p_web_password => 'E92903DEAD135E6E86BD6B64544D2BD9',
         p_web_password_format => 'HEX_ENCODED_DIGEST_V2',
         p_group_ids => '10592435401495787816:',
         p_developer_privs=> '',
         p_default_schema=> 'TEST',
         p_account_locked=> 'N',
         p_account_expiry=> to_date('201212040000','YYYYMMDDHH24MI'),
         p_failed_access_attempts=> 0,
         p_change_password_on_first_use=> 'Y',
         p_first_password_use_occurred=> 'N',
         p_allow_access_to_schemas => '');
         end;
    when I run this in 4.1.1 I had to modify it to the new format as below,
    also changed the p_group_ids to new user group but kept the password the same
         begin
         wwv_flow_fnd_user_api.create_fnd_user (
         p_user_id => '',
         p_user_name => 'TEST',
         p_first_name => 'a',
         p_last_name => 'b',
         p_description => '',
         p_email_address=> '[email protected]',
         p_web_password => 'E92903DEAD135E6E86BD6B64544D2BD9',
         p_web_password_format => 'HEX_ENCODED_DIGEST_V2',
         p_group_ids => '1399416797653068:',
         p_developer_privs=> '',
         p_default_schema=> 'TEST',
         p_account_locked=> 'N',
         p_account_expiry=> to_date('201209041006','YYYYMMDDHH24MI'),
         p_failed_access_attempts=> 0,
         p_change_password_on_first_use=> 'Y',
         p_first_password_use_occurred=> 'N',
    p_allow_app_building_yn=> 'N',
    p_allow_sql_workshop_yn=> 'N',
    p_allow_websheet_dev_yn=> 'N',
    p_allow_team_development_yn=> 'N',     
    p_allow_access_to_schemas => '');
         end;
    the result was that the user is created fine, but the password is not valid.
    Anyone knows how to export apex users with existing password to a new server?
    Thanks.
    Edited by: Danny on 3/12/2012 20:51

    Hi,
    Not sure why you say
    when I run this in 4.1.1 I had to modify it to the new format as below, If you just run the workspace export sql it should create the Workspace, Groups and Users
    The signature of the procedure is below. See the highlighted lines.
    procedure create_fnd_user (-- Description:
    -- This procedure allows for programatic and bulk creation of users.
    -- Example:
    -- From sqlplus logged in as the privileged flows user, first
    -- ensure that the security group id is set properly, then create
    -- your users.
    <b> -- begin wwv_flow_security.g_security_group_id := 20; end;</b>
    -- begin
    -- for i in 1..10 loop
    -- wwv_flow_fnd_user_api.create_fnd_user(
    -- p_user_name => 'USER_'||i,
    -- p_email_address => 'user_'||i||'@mycompany.com',
    -- p_web_password => 'user_'||i) ;
    -- end loop;
    -- commit;
    -- end;
    -- Arguments:
    -- p_user_id numeric primary key of user
    -- p_user_name the username the user uses to login
    -- p_first_name informational only
    -- p_last_name informational only
    <b> -- p_web_password the unencrypted password for the new user</b>
    -- p_group_ids A colon delimited list of group IDs from the table wwv_flow_fnd_user_groups
    -- p_developer_privs A colon delmited list of developer privs, privs include:
    -- ADMIN:BROWSE:CREATE:DATA_LOADER:DB_MONITOR:EDIT:HELP:MONITOR:SQL:USER_MANAGER
    -- p_default_schema A valid oracle schema that is the default schema for use in browsing and
    -- creating flows
    -- p_allow_access_to_schemas A colon delimited list of oracle schemas that the user is allowed to
    -- parse as. If null the user can parse as any schema available to the company.
    -- This does not provide privilege it only resticts privilege, so listing a schema
    -- does not provide the privilege to parse as a schema, it only restricts that user
    -- to that list of schemas.
    -- p_attributes_XX These attributes allow you to store arbitary information about a given user.
    -- They are for use by flow developers who want to extend user information.
    <b> -- p_web_password_format Identifies the format of the web password.
    -- The range of values is CLEAR_TEXT, HEX_ENCODED_DIGEST, DIGEST </b>
    -- p_person_type "E" marks the user as external
    -->
    Note there is no HEX_ENCODED_DIGEST, DIGEST_V2 listed. It may work, but not obvious from the signature.
    Cheers,

  • HT1751 how do i move songs that are in separate albums into the same album?

    how do i move songs that are in separate albums into the same album?

    Of course it should, but if it doesn't do you want fix it or leave it broken? iTunes draws on the CDDB database for track details. That database is incomplete, contains errors, and isn't explicitly designed to be "iTunes friendly". If you download an album from the iTunes store then the tracks should normally be grouped together, although there are ways of sorting the Songs view that will always break things up. If you purchase from Amazon, elsewhere, or rip your CDs then you may sometimes need to make a minor update to the tags to tidy things up. Which workaroud is needed depends on context, but the most common one of setting an Album Artist takes a few seconds.
    tt2

  • I wanna purchase new laptop, pls tell me how to do it so that all mu iTunes playlists etc stay same and also the data on iPhone4 is unaffected

    I wanna purchase new laptop, pls tell me how to do it so that all mu iTunes playlists etc stay same and also the data on iPhone4 is unaffected

    copy the entire iTunes folder (not just the iTunes music or media folder) from the old computer to the exact same location on the new machine.
    your iDevice will just continue to sync with the same old library as if nothing happend.

  • How do I edit or enter values on multiple sheets at the same time in Numbers?  I can do this Excel but don't know procedure in Numbers.  Thanks.

    How do I edit or enter values on multiple sheets at the same time in Numbers?  I can do it in Excel but I don't the procedure in Numbers.  Thank you!

    The only I way I can think of to modify a single value and have that value change in multipl locations is to have all "the other places" reference a single cell.  There is not way without a referene to modify a set of cells simulateously.
    This may be something like what you want:
    Enter a value in the table "Original Data" cell A1 and the A1 cells of tables Ref1, Ref2 and Ref2-1 will change

  • How do you take off reseiving messages on multiple devices using the same apple account

    How do you take off reseiving messages on multiple devices using the same apple account?

    Go to Settings>Messages>Send and Receive on all but one device and add a unique email address on each device and delete the commone Apple ID email device
    If there is also an iPhone with iOS 6 associated with the Apple ID, uncheck the phone number on all but the phone.

  • How do you apply a master page to multiple documents at the same time?

    How do you apply a master page to multiple documents at the same time?

    Hi friends,
    Thank you for trying to help me out.
    Let me explain it a bit to remove the ambiguity.
    I have 10 documents nested under a book. Each of these documents have 'n' number of pages. I want to apply my custom made master page "First" to the first page of all these 10 documents in one go. The remaining pages of the documents have to be in default "Right" master page format. How will I do it?
    I tried selecting all the documents and importing the formats from another document with the custom made "First" master page. The master page format is getting imported but the first page of all the documents still remain with the default "Right" master page format.
    I think now my question is more clear...

  • Sql loader issue(How to specify a file that exists on remote server)

    In sqlldr infile parameter I'd like to give a data file that exists on remote server.How can I specify???Please help me in the syntax.
    Any help would be greatly appreciated.
    Edited by: 792353 on Sep 24, 2010 7:22 AM

    sqlldr can accept any path that is VALID and it can be any type of share as long as the OS supports the share.
    so INFILE can be anything you want as sqlldr will simply attempt to access it via the OS.
    if you are on a linux box going to another linux box with an NSF mount point on the box running sqlldr simply reference:
    INFILE '/mountpoint/fname'
    Now I have never tried a UNC path before but I would guess that if you are on a windows box, going to another winddows box and the box running sqlldr was logged in with the right permissions it would simply be:
    INFILE '\\server\directory\file'
    I doubt that it will accept a URL as in:
    INFILE '//servername.com/directory/file'
    I don't think that sqlldr does anonymous ftp or htp file transfer protocol, but I could be wrong.
    NOTE: I have found that it is best to ALWAYS surround your INFILE parameter with single quotes.

  • How to configure Apex 3.2 in Oracle11gr2 RAC eniv with single http server

    Hi All,
    1. How to connect Apex 3.2 in oracle11gr2 RAC enironment for the single http server. We dont have any load balancing server here. I Mean to say that I need connect the two nodes from the single http(dad.conf) server.
    Is it possible to connect single node database PlsqlDatabaseConnectString with TNSFormat in http dad.conf file
    Thanks,
    Rj
    Edited by: pnr on 5 Sep, 2012 12:54 AM

    It is not clear what you want. But yes thats possible. I think the RAC or DB general forum would be better suited. Since it might depend upon how your listener configuration is set up.
    Apex (OHS or Apex Listener) is just like any other client in this regard. You can set it up to connect to both rac nodes (load balancing style) or you could set it up to connect to one dedicated apex rac node.

  • How come all my email that comes from facebook comes with the same from name

    All e-mail that comes from my facebook has the same from name like sandy wenfel when its from my mother,wife,friend ect.
    What did i do and how do i fix it

    Airmail you my friend are a Genius.
    I've been living with that nightmare for months, and you fixed it in seconds.
    I should have asked this question here a long time ago. Thank You Kevin (AKA)''Teeter-Kick-Azz [[#question-1056669|said]]''
    <blockquote>
    All e-mail that comes from my facebook has the same from name like sandy wenfel when its from my mother,wife,friend ect.
    What did i do and how do i fix it
    </blockquote>

  • How to create a proxy that accept requestes get/post in the same time?

    Hi everybody,
    I have two questions with Service Bus 11gR1.
    I have to create a proxy in https that accept request get/post in the same time, also this proxy should be able to recognize the common name of the certificate.
    Is it possibile?
    Thanks a lot.
    Ettore

    The approach I mentioned is part of correctly configuring client cert authentication. For client cert authentication to succeed weblogic expects the user derived from the certificate by the user name mapper class to exist ( just exist , it wont check the password) in its security realm. The problem you have mentioned is common for any type of 'authentication' and not just specific to this approach.
    The user name mapper class can be configured to accept any attribute in the certificate DN as the mapped user. Since the thread starter is interested in CN, then he has to set CN as the mapping attribute.
    Edited by: atheek1 on Nov 10, 2010 1:33 AM

  • How to deploy a Webapplication on WAS more than one times on same server?

    Hi all,
    I 've a special problem:
    In our web-app (some DC's) also stored propertie-Files. Now we would to deploy this application more than one times at same server using different WebContentRoots. (f.e. http://server/app1 and http://server/app2 a.s.o.)
    We know, that we must create different EAR-Projects and refer the web-Module and configure the application.
    But in the second application there it's recommended to change some properties.
    How we can handle this in JDI without copy the web-application?
    I hope my question can be understood.
    Best Regards
    Sven Rickelt
    Using Netweaver + WAS 6.40 2004 SP 13

    Hi Sven,
    as I'm new to NWDI, I cannot give you a 100 percent, field-tested solution. But have you already thought about using the Configuration-Adapter?
    If you can change the source of your web-app, you could maintain the data formerly stored in property files using the configuration adapter of visual administrator. The SC <a href="http://help.sap.com/saphelp_nw04/helpdata/en/45/e7e14b517b42788a1c166f9f32455e/content.htm">configuration</a> allows you to access this data.
    With this approach you can stick to one web-application and do the configuration work separately for each deployed application.
    Best regards,
    Frank

  • How Can I create a cluster of two instances running on the same server?

    Hello,
    I can't find how to create a cluster or even a failover rule for my two instances running on the same server ODSEE 11gR1.
    Could you please help?
    Thanks,

    Hello,
    Clustering (intended as Sun Cluster, Veritas Cluster, etc... ) IS NOT SUPPORTED since 7.0:
    http://docs.oracle.com/cd/E20295_01/pdf/821-1216.pdf [page 20]
    and, based on my own experience, is the WORST way of achieving high availability of an LDAP Directory Service and an almost GRANTED way to get replication issues in your topology (lock, split, re-init, etc...).
    Please use instead the 'application-level' clustering that you get out of the box with the Multi-Master Replication.
    http://docs.oracle.com/cd/E20295_01/html/821-1217/index.html
    http://docs.oracle.com/cd/E20295_01/html/821-1220/fhkry.html#scrolltoc
    HTH,
    Marco

  • How to integrate R/3 and XI if they are installed on same server (same IP),

    Hi,
    We are planning to instal R/3 and XI on same server as different instances.
    If we do this, how to integrate both these systesms. Normally we create port and RFCs in both R/3 and XI , so that these two systems identify each other during message flow.
    We have to give IP address during RFC creation. If both these instances are installed on the same server and IP address also same, how do we maintan different RFC in XI and R/3.
    Technical system creation in SLD should not be a problem as long as we have two different system IDs, even though its same IP address.
    Please clarify.

    you follow the normal way of configuring the RFC and IDOC for this....even tought you install the R/3 on the same Sever the SID, Host name will be different....try to make the diferent instance number.....let us know if you need more specific info..

Maybe you are looking for

  • How to resolve many-to-many join by 2 one-to-many joins

    Hi,    I was asked many times how to resolve many to many relationship between two tables. I read to use 2 one -to- many relationships to resolve this. Can some expalin me when many to many relationship occurs between two tables and how to reslove th

  • How to Open Find/Change with menuAction

    Hi, Read the question carefully I'm asking how to open the Find/Change dialog, not how to toggle it. Toggling is easy enough: app.menuActions.itemByName("$ID/Find/Change...").invoke(); But if it is open, this will close it, and vice versa. I'm wonder

  • How to maintain the state of a spry collapsible panel

    how can i get the index of an open collapsible panel dynamically... i've used two collapsible panels...if the second panel is open, then after page refresh, automatically the second one closes and the default one i.e. the first panel opens....

  • Debugger output text is centered

    In Coldfusion 9, when I enable "Enable Request Debugging Output" in the administrator settings, the debugging text on my site pages is centered from  "Scope Variables" to the end of the output. One of the fields is so wide that I have to scroll right

  • Plz help ! how do i restore songs from another itunes library?

    Okay, yesterday i charged my ipod in my mac laptop and this morning my brother pulled it out. then my ipod would turn on and the wire icon just kept appearing on the screen of my ipod. once i put it in my laptop my ipod froze and the only way any son