Deploying BC4J apps to different platforms/databases

Hi all,
Maybe I've missed something very basic... This seems like it should be a breeze to set up, but after a decent amount of searching the help docs and the forums, I haven't found a good way to specify different database settings for different deployment platforms (e.g. development, QA, production, etc). All I really want to do is point the application to a different database for each different deployment platform.
It seems like the Deployment Descriptor might be a prime place for this stuff, but I don't see anything like that in the deployment settings.
I've also successfully messed around with different configurations on a per-app-module basis (e.g. creating configs called "DEV", "QA", etc with different connection strings)... This works, but it's kind of a hack if you use a lot of different app modules. Managing (in my case) six different deployment platforms for each app module can get tedious.
I can see something in the Configuration properties called "Deployment Platform", but this field is read-only and I can't figure out how to get the app module to point to different DBs based on this property... I also can't figure out how to add any other deployment platforms -- I always just see "LOCAL"...
Any help with this would be greatly appreciated. At this point my best option is to create six different configurations in each app module, and call them something like MyBizModule-DEV, MyBizModule-QA, etc... Then I specify which platform to use in a properties file, e.g. "DEV", and when I create an app module, I just append that platform keyword to the app module name to get the configuration name... But I know there has to be a more elegant way of doing this.
Thanks,
Jeff

Jeff,
It seems you are confusing the deloyment platform to the database server being used. The deployment platform property in the configuration is used to determine how the appmodule is deployed --locally, as an ejb session bean or as a corba server. The database connection to be used is referred to by <JDBCName> or the <JDBCDataSource> property. JDBCName refers to the named database connection defined in the ide. <JDBCDataSource> refers the jdbc 2.0 datasource defined in the appserver. Both the mechanisms provide the abstraction for changing the target database url.
Instead of creating different configurations you can change the connection definition for different environments.
Hope this helps
Dhiraj

Similar Messages

  • Building and Deploying Java applications in different platform (OS)

    Hi all,
    We currently have a J2EE based web services application that is built (compiled) and deployed on Windows 2000 Advanced server. But in future, we will be using WIndows 2000 server for development only and HP-UX for production.
    So, we are planning on executing the build (compilation) of our application on Windows 2000 server and deploy the same binaries (WAR) on HP-UX also. So, I wanted to know anyone has faced issues in the past by deploying an application on a different platform than the one on which it was compiled. Is it recommended by SUN to compile and build Java applications on the same platform on which the application is deployed.
    Note that in my case, the JVM versions between Windows server and HP-UX would be the same. But the JVM for Windows server has been provided by Sun and the JVM for HP-UX has been provided by HP-UX.
    Your inputs are greatly appreciated.

    Well, it's all Java, right? So what's the problem? Since the JVM for HP-UX isn't made by Sun, so there could be compatibility problems, but I would expect that would be minimal if a problem at all. But you can't know unless you run it.
    I don't know about building on the different systems. Java's supposed to be write once, run anywhere.... The byte code should be compatible no matter what. I've never heard of Sun saying "compile it on each platform". If the HP JVM isn't going to like bytecode compiled on Windows or another OS, then something isn't kosher with someone's JVM or compiler.

  • Help -- Can we deploy BC4J app to the OC4J in 9i DS?

    Hi Experts,
    I have built an BC4J application using the Jdeveloper of 9i Developer Suite. The app runs fine within Jdev (using the embeded OC4J), and runs pretty well when it is automatically deployed to a stand-alone OC4J (9.0.2.0.0). Since the stand-alone OC4J does not "serve" reports, I had to "deployed" the reports to the OC4J bound with 9iDS. (All these stuff are on the same Win2000 machine, but different Oracle homes.)
    Now, when I tried to deploy the entire application to the 9iDS-bound OC4J, it did not work. I used Jdev to deploy it to the iAS automatically (just like deploying it to the stand-alone OC4J), and the processes finished without any errors . However, when I pointed the browser to the app in the 9iDS server, I got the 404 error.
    I compared a few configuration files, like server.xml, http-web-site.xml, application.xml, web.xml, etc. in the stand-alone and 9iDS-bound OC4J's and did not find obvious difference. The structure of the two applications directories are very much the same, too.
    THERE IS an obvious difference in the two application-deployments directories though: On the stan-alone OC4J, there is a persistence\_pages subdirectory under my app home directory, which does not exist On the 9iDS-bound OC4J.
    Anyone has any ideas on the whys and hows please? Thank you very much.
    Zhirong

    WDS installed on SCCM server. I did to enable "PXE" on the PXE tab of  the Distribution Point ans WDS install before. In the same VLAN, I can build and Capture Windows7 Pro x64
    task and deployment to client. The client in the same VLANs can see TFTP server and "F12" to follow the SCCM menu. But in differrent can not deployment

  • Problem in Connection pooling after deploying BC4J App Module as EJB

    Hi,
    We have deployed the application modules on standalone OC4J as stateful EJB session beans.
    The problem is that with each user, the number of database connections seem to increase. This is making the application unscalable, which defeats the purpose of using EJB!
    Can someone please suggest how to limit the number of database conections in this scenario?
    Can this be solved by application module pooling? How can we use the PoolMgr to work with the session beans?
    We have tried to invoke disconnect on the application module after calling methods(using appmodule.disconnect(true)) and reconnect (appmodule.reconnect()) on entering the method. This keeps the number of connections low and works the first time the method is invoked. But subsequently, it gives nullpointerexception when the Row is accessed in the JSP.
    The exception we are getting is :
    java.lang.NullPointerException
         at oracle.jbo.client.remote.ViewUsageImpl.getStructDef(ViewUsageImpl.java:241)
         at oracle.jbo.client.remote.ViewUsageImpl.findAttributeDef(ViewUsageImpl.java:275)
         at oracle.jbo.client.remote.RowImpl.getAttributeIndexOf(RowImpl.java:368)
         at oracle.jbo.client.remote.RowImpl.getAttribute(RowImpl.java:144)
         at Supplier.client.ejb.beanmanaged.SupplierAM_IntPaymtVORowBeanManagedClient.getMdid(SupplierAM_IntPaymtVORowBeanManagedClient.java:63)
         at supplier.sccPayCheq._jspService(_sccPayCheq.java:102)
         [SRC:/Supplier/sccPayCheq.jsp:44]
    The Application module configuration (in bc4j.xcfg) is:
    <AppModuleConfig name="SupplierAM9iAS">
    <AppServerConnectionName>StandaloneOC4JConnection</AppServerConnectionName>
    <AppModuleJndiName>Supplier.SupplierAM</AppModuleJndiName>
    <java.naming.security.credentials>admin</java.naming.security.credentials>
    <DeployPlatform>EjbIas</DeployPlatform>
    <java.naming.security.principal>admin</java.naming.security.principal>
    <DtMiddleTierDeploymentProfile>ProjectMiddleTier.deploy</DtMiddleTierDeploymentProfile>
    <ApplicationName>Supplier.SupplierAM</ApplicationName>
    <DtDeploymentProfile>ProjectEJB.deploy</DtDeploymentProfile>
    <DtCommonDeploymentProfile>ProjectCommon.deploy</DtCommonDeploymentProfile>
    <JDBCDataSource>jdbc/ConnectionCoreDS</JDBCDataSource>
    <jbo.server.internal_connection>jdbc/ConnectionCoreDS</jbo.server.internal_connection>
    <jbo.ejb.txntype>local</jbo.ejb.txntype>
    <jbo.doconnectionpooling>true</jbo.doconnectionpooling>
    <ApplicationPath>ProjectEJB</ApplicationPath>
    </AppModuleConfig>
    The Datasource used (in $ORACLE_HOME/j2ee/home/config/data-sources.xml) is:
    <data-source
              class="oracle.jdbc.pool.OracleConnectionCacheImpl"           connection-driver="oracle.jdbc.driver.OracleDriver"
              ejb-location="jdbc/ConnectionDS"
              inactivity-timeout="30"
              location="jdbc/ConnectionCoreDS"
              name="ConnectionDS"
              password="*******"
              pooled-location="jdbc/ConnectionPooledDS"
              url="jdbc:oracle:thin:@<IPADDESS>:<SID>"
              username="USER"
              xa-location="jdbc/xa/ConnectionXADS"
              max-connections="5"
              min-connections="1"/>

    Can this be solved by application module pooling? How
    can we use the PoolMgr to work with the session
    beans?You can use a stateless checkout/checkin appmodule.
    Take a look at the following help topics which explain this in good detail.
    "About Application Module Pooling"
    "About JSP Pages and Application Module Pooling"
    The pool can help reuse the appmodule instance across requests thus reducing the number of concurrent db sessions.
    Dhiraj

  • Error: deploy BC4J on 8.1.6 database.

    Hi all,
    I'm trying to deploy of a BC4J project as an Oracle 8i session bean. When I deploy when create the deployment profile, I get ORA-1000: end-of-file on communication chanel. But if I try to make a deploy of an only one file, I get this error:
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...
    -- This is the error --
    Cannot locate the LoadJava server: Unknown reasons
    *** Errors occurred while deploying the EJB to 8i JVM ***
    *** Deployment completed ***
    But loadjava.bat file was in system path (Windows NT 4.0).
    Thanks in advance.

    "Cannot locate the LoadJava server: Unknown reasons" is consistent with a jdev - rdbms mismatch ...
    are you trying to deploy to 816 when using jdev 3.2 ?
    Jdev 3.1 --- 8.1.6
    Jdev 3.2 --- 8.1.7
    so you may need to upgrade to 8.1.7
    that would explain why jdev 3.1.1.2 deploys successfully ...

  • Deploying an app from export script stored in the database.

    I am in the situation where I want to deploy a copy of an application programatically into the current workspace, but each against a separate schema. The end game would be to have many copies of the same App in the same workspace (obviously with different application numbers assigned) but each app pointing to a different schema.
    The workflow would be something like this:
    <ol>
    <li>Create a new tablespace for the new schema</li>
    <li>Create the new Schema</li>
    <li>create the required objects in the new schema (we're going to use DataPump for that)
    </li>
    <li>Assign the schema to the current workspace (make it available to use for a new APP)</li>
    <li>Read the app.sql from a BLOB in the database and deploy it into the current workspace pointed to the new schema.</li>
    </ol>
    I was wondering if there are already API's in place that would help me do these things (especially steps 4 and 5).
    I started poking around in the ApEx internals, looking specifically at the deployment of the SAMPLE apps to see if there was anything I could use, but it looks like the WWV_FLOW_SAMPLE_APP package is wrapped so I can't see what it's doing.
    I also looked at the code behind the "COPY APPLICATION" function and it looks like I might be able to use wwv_flow_imp_parser.parse to install the application in the current schema, but would probably need some clarification on whether there are any "gotchas" there.
    If that works, then it seems the hard part is assigning the new schema to the workspace as normally that is done from within the INTERNAL user's workspace.
    Thanks in advance for the help.
    Doug

    Ok... For others who may be interested in this, I have figured out part of the answer...
    To complete steps 2 and 4 mentioned in my original messages (Creating the user and makeing it available to a workspace) here is what I've come up with.
    DECLARE
    l_username varchar2(256);
    l_password varchar2(256);
    l_df_ts    varchar2(256);
    l_tmp_ts   varchar2(256);
    l_PCID     number;
    l_workspace_name varchar2(255);
    BEGIN
    l_username := 'DOUG';
    l_password := 'DOUG';
    l_df_ts    := 'USERS';
    l_tmp_ts   := 'TEMP';
    l_workspace_name := 'HAAS';
    -- CREATE THE USER AND THEN ADD THAT USER TO THE CORRECT WORKSPACE.
    -- First make sure that
    --  1. The name you're trying to create is not a "reserved" name like INTERNAL
    --  2. We're not working in an installation that is "RUNTIME ONLY"
    --  3. We're not working with a schema that is already in place or restricted.
    IF  flows_030100.wwv_flow_provisioning.reserved_schema(p_schema => l_username) = false
    and not (flows_030100.wwv_flow_provisioning.site_admin_is_restricted
              and
             flows_030100.wwv_flow_provisioning.restricted_schema(p_schema => l_username, p_workspace_name => l_worlkspace_name)
    THEN
        -- CREATE THE USER
        flows_030100.wwv_flow_provision.create_user(
        p_username    => l_username,
        p_password    => l_password);
        -- ASSIGN THE TABLESPACEs
        flows_030100.wwv_flow_provision.set_user_tablespace(
        p_username    => l_username,
        p_default_ts  => l_df_ts,
        p_temp_ts     => l_tmp_ts);
        -- Grant the appropriate roles and privs to the user
        flows_030100.wwv_flow_provision.grant_initial_privs(l_username);
        -- Create the link between the workspace and the schema name.
         BEGIN
        -- FIRST get the Workspace ID (known as the PROVISIONING_COMPANY_ID) from the APEX Dictionary.
        -- This assumes that the workspace we're working in is HAAS
            select provisioning_company_id
              into l_PCID
              from flows_030100.wwv_flow_companies
             where short_name = l_workspace_name;
        -- Now insert a row into the company_schema table to line the schema to a workspace.   
            insert into flows_030100.wwv_flow_company_schemas (security_group_id, schema)
            values (l_pcid, upper(l_username));
            commit;
        EXCEPTION
           WHEN NO_DATA_FOUND then
                --IF things fail then we need to kill to drop the user that we created.
                flows_030100.wwv_flow_provision.drop_user(p_username => l_username);
                --Then rais the application error or do whatever...
                raise_application_error(-20100,'Trying to use an invalid worksapce - '|| l_workspace_name);
        END;
    end if;
    end;I'm still trying to work on deploying the APP stored in a BLOB to the workspace and so far have the following code, but get the message :
    ORA-20001: You do not have privs on the DAVID schema.
    ORA-06512: at "FLOWS_030100.WWV_FLOW_IMP_PARSER", line 1599
    ORA-06512: at line 29
    declare
      l_file_id   number := 2113831202674379;
      l_parse_as_schema varchar2(4000) := 'DAVID';
      l_new_ap_ID number;
      l_orig_ap_id number;
      l_workspace_name varchar2(255) := 'HAAS';
      l_PCID     number;
    begin
        execute immediate 'alter session set current_schema = FLOWS_030100';
        flows_030100.wwv_flow_security.g_security_group_id := 10;
        flows_030100.wwv_flow_security.g_user := 'ADMIN';
      -- Import copy from application with new application ID and name
      -- First get the new Application ID
      l_new_ap_id := flows_030100.wwv_flow_utilities.minimum_free_flow;
      BEGIN
        select flow_id
          into l_orig_ap_id
          from flows_FILES.wwv_flow_file_objects$
         where id = l_file_id;
      end;
      flows_030100.wwv_flow_imp_parser.parse (
         p_file_id          => l_file_id,
         p_parse_as_schema  => l_parse_as_schema,   
         p_install_as_flow  => l_new_ap_id,
         p_original_flow_id => l_orig_ap_id,
         p_adjust_offset    => TRUE
      -- Get the Security group ID
          select provisioning_company_id
              into l_PCID
              from flows_030100.wwv_flow_companies
             where short_name = l_workspace_name;
      -- reset name with new application name
      update flows_030100.wwv_flows
      set name = 'TEST_NAME'
      where id = l_new_ap_id
      and security_group_id = l_PCID;
    end;

  • Can't deploy my app on  Sun Java System Application Server Platform Edition

    Hi,
    I am trying to deploy me app on the Sun's app server but I get the following error:
    I am using Sun Java System Application Server Platform Edition 8.2
    Invalid Deployment Descriptors in archive jag-ejb.jar in deployment descriptor file META-INF/ejb-jar.xml
    Line 29 Column 15 -- The content of element type "session" must match
    "(description?,display-name?,small-icon?,large-icon?,ejb-name,home?,remote?,local-home?,local?,ejb-class,session-type,transaction-type,env-entry*,ejb-ref*,ejb-local-ref*,security-role-ref*,security-identity?,resource-ref*,resource-env-ref*)". "It deploys on Orion 2.02
    The ejb.xml file is as follows:
      <enterprise-beans>
        <session>
          <display-name>Facade stateless session bean</display-name>
          <ejb-name>ejb/PetardsFacade</ejb-name>
          <home>com.jag.petardscmsbeans.interfaces.PetardsFacadeHome</home>
          <remote>com.jag.petardscmsbeans.interfaces.PetardsFacade</remote>
          <local-home>com.jag.businesslogic.interfaces.FacadeLocalHome</local-home
          ><local>com.jag.businesslogic.interfaces.FacadeLocal</local>
          <ejb-class>com.jag.petardscmsbeans.ejb.PetardsFacadeEJB</ejb-class>
          <session-type>Stateless</session-type>
          <transaction-type>Container</transaction-type>
          <resource-ref>
            <res-ref-name>jdbc/OracleDSRES</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Container</res-auth>
          </resource-ref>
          <env-entry>
            <env-entry-name>DSName</env-entry-name>
            <env-entry-type>java.lang.String</env-entry-type>
            <env-entry-value>jdbc/OracleDSRES</env-entry-value>
          </env-entry>
        </session>
      </enterprise-beans>also, in the error message what does ? and * signify?
    Thanks

    This is an element ordering issue. env-entry is before resource-ref in the schema so it must be declared in the same order.
    --ken                                                                                                                                                                                                                                                                               

  • The content database on the server is temporarily unavailable while deploying a app

    HI,
    I got the following error while deploying a app. I have not added any logic in App.
    What i have tried yet:
    1. Configured Server for Using App
    2. Added permission to user2 (app developer account by which i open VS 2012) as mentioned in following URL
    http://community.zevenseas.com/Blogs/Akhilesh/Lists/Posts/Post.aspx?ID=10
    Please let me know if anyone have faced and resolved it before....
    Here we go .............................
    Active Deployment Configuration: Deploy App for SharePoint
      Skipping deployment step because a pre-deployment command is not specified.
      Skipping the uninstall step because the app for SharePoint is not installed on the server.
      Install app for SharePoint:
      Uploading the app for SharePoint...
      Installation is in progress (00:00:00)
      Installation is in progress (00:00:01)
      Installation is in progress (00:00:02)
      Installation is in progress (00:00:03)
      Installation is in progress (00:00:04)
      Installation is in progress (00:00:05)
      App failed to install, cleaning up...
      App installation cleanup failed due to errors.  Please see the app on the SharePoint site’s “Site Contents” page for details.
      App installation encountered the following errors:
      11/19/2013 2:42:13 PM
      @"Error 1
            CorrelationId: e6d878ab-ae8b-442c-90c1-ee989f5e719b
            ErrorDetail: The content database on the server is temporarily unavailable.
            ErrorType: Transient
            ErrorTypeName: Intermittent
            ExceptionMessage: System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>
       at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
       at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
       at Microsoft.SharePoint.SPWeb.GetList(String strUrl)
       at Microsoft.SharePoint.Administration.SPDeveloperData.AddToDraftApps(Guid appInstanceId)
       at Microsoft.SharePoint.Lifecycle.FinalFixupTask.Deploy()
       at Microsoft.SharePoint.Administration.SPAppTask.DeployOperation()
       at Microsoft.SharePoint.Lifecycle.MonitoredTaskExecution.DoTask()
            Source: Finalization
            SourceName: App Deployment Finalization
      @"Error 2
            CorrelationId: e6d878ab-ae8b-442c-90c1-ee989f5e719b
            ErrorDetail: The content database on the server is temporarily unavailable.
            ErrorType: Transient
            ErrorTypeName: Intermittent
            ExceptionMessage: System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>
       at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
       at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
       at Microsoft.SharePoint.SPWeb.GetList(String strUrl)
       at Microsoft.SharePoint.Administration.SPDeveloperData.RemoveFromDraftApps(SPSite site, Guid appInstanceId)
       at Microsoft.SharePoint.Lifecycle.FinalFixupTask.Rollback()
       at Microsoft.SharePoint.Administration.SPAppTask.DeployOperation()
       at Microsoft.SharePoint.Lifecycle.MonitoredTaskExecution.DoTask()
            Source: Finalization
            SourceName: App Deployment Finalization
    Harsh

    no ,it does has db permissions , this whole thing I think is related with weird and strange new condition of havinng sub-domains for apps ? by some changes I found it gos to my website and find outs that no resource available there , sometime 404 sometimes
    502 error. 
    The whole idea of office team about app deployment is crazy , no proper documentation or knowledge base available for people using on-prem sharepoint, this may because of the idea using cloud more ,why should we use cloud for our enterprise data ?
    btw links you gave not working either 
    Tech Learner

  • OCI database connection.. move app between different env

    I'm using Oracle E-business suite 11.5.10 together with Jdev OA (RUP4) to create a wep app. However I'm a litte confused about how to set up an OCI database connection while making it possible to move the web app between different environments, with different apps passwords etc.
    I would like to use local environment variables to set the connection string (SID, apps password etc), but I'm not sure howto do this since the connection is stored in static xml files.
    A possible solution is that to change the ConnectionDefinition in oc4j.xcfg file at runtime?
    Please give me an idea on how it should be done
    Best regards,
    Michael

    Michael,
    OA Framework tends to have it's own quirks and requirements in regards to connection setup. I'd suggest that you'd get a better answer in the OA Framework forum: OA Framework
    Regards,
    John

  • Database Client - Server Interoperability betwen different platforms

    Hi everyone,
    we run a 11.1.0.7 on HP-UX Itanium servers. We use COBOL, and connecting to database is via Database Client libraries (COBOL precompiler, client libraries linked to application). Application, Client and Server are on the same server.
    Now we are planning to move database to different server and even to different platform. So finally we would have a HP-UX server with a Database Client software (the same version as database server) with a COBOL procompilers libraries and the database server on different server on IBM AIX server.
    Do you thing this is a problem? As I expect there wouldn't be a problem because client and database comunnicates on platform-free (endian-free) protocol OCI or whichever protocol it is.
    Thanks for any reactions,
    Michal

    Hi;
    please see Master Note For Oracle Database Client Installation [ID 1157463.1] note which is cover Database Client - Server Interoperability betwen different platforms concept
    Regard
    Helios

  • Using BC4J Components with different App Servers

    Can we use BC4J with 3rd party Application Servers (WebSphere, Weblogic, iPlanet etc)?
    If so any advantages (Performance, Implementation, installation) in using these components with Oracle iAS?
    Thanks
    null

    BC4J allows different ways of deploying your application.
    1) Local Mode : where your client application and BC4J application are colocated togther and running in the same VM
    2) As a EJB session bean
    3) As a corba server object.
    Using the Local mode deployment option you can deploy the BC4J application to any appservers (weblogic, websphere, iplanet) as long as they have standard VM and if your client application is JSP or Servlet then the appservers need a JSP or Servlet engine.
    In JDeveloper 3.1 you can deploy BC4J applicaiton as EJB session bean to Oracle8i
    In JDeveloper 3.2 ( which will released in next few weeks) you can deploy BC4J application as EJB session bean to Oracle8i , Oracle iAS and weblogic .
    iAS comes preconfigured with BC4J runtime by default
    raghu

  • Deploying BC4J JSP app to 9iAS (via EJB?)

    Hello. Please help a newbie (new to Java, JDev, JSP, and 9iAS R2).
    I've just built my first BC4J JSP app in JDev, and I've even setup a remote DCM connection to my 9iAS R2 server.
    1. JDev release notes say that BC4J deployment from JDev to 9iAS R2 is not supported. Confusing. What is the best way to deploy this app?
    2. I've created an EJB .ear file in JDev 9.0.3 and deployed it using the EM from OC4J_home. It seemed to deploy okay, but I don't know how to find it via an http path (I know, sounds dumb). Do I need to include a port number? Do I still point to my JSP page, or do I point to a servlet? What would a sample path look like?
    3. Can you recommend a good book, something like "Oracle 9iAS and JSP Apps for Dummies?"
    Thanks in advance.
    -Tony.

    Hello - I've just asked one of the BC4J team to take a look at your questions, so please keep a lookout for a response.
    I am not super familiar with BC4J, but since it's deployed as a J2EE application it should work in the following way:
    When you deploy an EAR file which contains a Web application module, you have to tell the server what URL pattern it should use to know when to send the request to the Web application. The deployment screens in OEM prompt you to enter these URLs when the deployment is done.
    Once the deployment is complete (and assuming that you've not modified the HTTP server port) you should then be able to access the application using
    http://<server-host>:7777/<url>
    where <url> is the pattern you entered for the Web application during the deployment process.
    cheers
    -steve-

  • Deploying BC4J application: the right choice

    We have developed three applications (A, B, C):
    - A is a BC4J application
    - B is a JSP application accessing A
    - C is a Java GUI client accessing A
    We want A and B to run in the same web server, so we would have chosen LOCAL deployment for application A.
    The problem is with application C that will run remotely on individual client machines.
    The questions are:
    1. Can application C access application A deployed on the server using BC4J LOCAL deployment?
    2. If not (as I think), what kind of deployment (EJB/Corba) and platform (Application Server/Oracle Database Server) should be chosen for my scenario to give better performance?
    Any help would be very appreciated.
    Thanks in advance.
    Michele
    null

    Hi Michele,
    the official solution for your problem would be:
    Deploy A as EJB session bean or Java CORBA object to an appropriate server.
    Let B and C connect to the common business logic tier.
    But:
    Currently (JDeveloper 3.2.3) an EJB deployment of BC4J apps to OC4J isn't supported, so: If you want to use Oracle9i AS, you have to deploy to the EJB/CORBA Server implemented in the Oracle Database. We tried to do this and had lots and lots of problems, mainly performance problems. If you ask me: Don't do that!
    We tested the deployment to Borland Visibroker and got it work after a while, and your little example worked quite good. So probably you could ask for experiences with other App Servers.
    If you can wait, try to test EJB Session Bean Deployment to OC4J. I saw some demos on the Oracle OpenWorld in Berlin/Germany and it seems to have a quite better performance and stability. But: This will be supported by JDeveloper9i, what should be available as beta release end of this month, and production at the end of this year. So probably you can't wait that long.
    Sorry, but that's the way it is...
    To Raghu/JDev Team: Any better advice?
    Regards
    Stefan
    null

  • Urgent! Application tier and Data tier on different platforms

    Hello!
    I would be very grateful if someone confirms that the deployment of the Beehive, where Application tier and Data tier are placed on different platforms, is supported.
    For example, Oracle Database (Data tier) on Linux, and Oracle Application Server (Application tier) on Windows.
    Thanks in advance.
    Dima.

    Hi Dima,
    Yes, this will work.

  • Understanding Workspaces, Deploying new Apps and Upgrades

    Hi all,
    I'm learning Oracle Apex, and finished some OBEs about it. I'm very excited about the platform, and liking very much. But a lot of questions come to my mind.
    If I understood it, a Workspace, is a "place" to develop some apps, and encapsule it, and from this workspace, I can export an app to deploy on another server, but, I don't see any options about what tables need to be exported.
    In one workspace/schema, I can have more than one app, and I don't see where you define wich tables belongs to each app.
    I don't see either, how an upgrade works. If I have deployed an app on a customer, and I need to upgrade it, upgrade of the database, without losing data is automatically?
    Another thing I don't understad very well, is about runtime installation.
    In Learn more Page,Security -> http://apex.oracle.com/pls/otn/f?p=4600:42:0::NO::: , I can read:
    For testing and production instances, Oracle Application Express supports the ability to install just a runtime version. This minimizes the installed footprint and privileges. It also improves your application consistency because in a runtime instance developers cannot inadvertently update any application source.
    I understand correctly, thath this means I can't modify a deployed app, but I can upgrade it?
    Regards.
    Edited by: GiuseppeL on 26-dic-2012 12:22
    Edited by: GiuseppeL on 26-dic-2012 12:23

    GiuseppeL wrote:
    If I understood it, a Workspace, is a "place" to develop some apps, and encapsule it, and from this workspace, I can export an app to deploy on another server, but, I don't see any options about what tables need to be exported.Tables and database objects all have to be handled separately from the application. If you look at the SQL workshop in the Apex builder there are some tools to do the database object exports.
    In one workspace/schema, I can have more than one app, and I don't see where you define wich tables belongs to each app.You can have one or more schemas per workspace. And an application can use whatever schemas are available to the workspace or whatever schemas the workspace schema has been granted to through database grants.
    I don't see either, how an upgrade works. If I have deployed an app on a customer, and I need to upgrade it, upgrade of the database, without losing data is automatically?Application exports can be completely (most of the time) independent of the data and database objects. If you change the structure of your database objects with your application upgrade then you need to upgrade the database objects in order for the application to work. Whatever application features depend on the database changes will not work.
    Another thing I don't understad very well, is about runtime installation.Runtime installation basically does not allow any editing of the application definition once it's installed. You need to keep an independent location where you do your application development/modification. Deploying to a runtime application is not reversible, meaning you can't change it to an editable application once you've set it as runtime only.
    Earl

Maybe you are looking for

  • How do I remove my husband's contacts from my phone?

    We share a computer and when I log in to sync my phone, his contacts are synced also.  I've configured my contacts to my email account but that didn't work. Help?!

  • Fluid grid for Wordpress: insert PHP code into DW or DW code into Wordpress?

    This may be a stupid question but it's a dilemma for me. Here's the problem. I want to create a mobile first, fluid grid Wordpress website in Dreamweaver CS6 based on an existing Wordpress theme. I can see two ways of doing that: 1) Create a fluid gr

  • Bridge on a server working with 2 mac's image rotation issue

    I wonder if anyone can help: I'm asking a question for my father-in-law who is a proffessional Photographer http://www.johnholbrookphotography.co.uk He has recently switched to Mac from PC. He has 2 support staff that collate all the photos from his

  • Automatic Append Message Output for PO

    hello all, My scenario is after creating PO completely then go to message output through Messages button on icon row. On message output screen, there's no output item available. Then I must add NEU output type manually. Normally there's output type i

  • UNION on two views in Different databases

    Hi All, Could you please help me in sorting out this requirement. We have two views in one database and two more views in another database. Now I want to create one view which should give the union of all these four views. We have DB links. Is it pos