Complex application OC4J deployment

I need an help to deploy a "local deploy" developed application in OC4J.
I tried to deploy in OC4J a simple BC4J application, succesfully.
Now, this is my situation:
I have a lot of applications which have
1) a common set of BC4J package. This package has a single table EO, VO, and an ApplicationModule. This BC4Js have a common frame in all applications.
2) a set of BC4J used for single applications and used in other applications as imported in BC4J projects.
Now, deployed in local mode, I did a .jar and imported this jar in other project.
What I have to do to make all ApplicationModule remotable?
Do I need to change manually .jpx file to change the import location of Business component?
After all, is better to have a lot of EAR with common jar inside, or is better to build a single EAR?

In my test workspace I created Project1 and Project1 projects.
In Project1, I created a package of BC4J components named package1
I chose "Deploy Business Components..." on Project1 and selected a Simple Archive. Upon deployment, this created me two JAR files Project1CSCommon.jar and Project1CSMT.jar.
I created a library for Project1CSMT.jar and added this library to my Project2 project's library list.
In Project2, I created another BC4J package of components named package2
I right-mouse "Import Business Components..." and I navigate to the Project1CSMT.jar and use the file dialog to "drill down" into the jar file just like a folder, and pick the package1.xml file. This results in importing package1 into Project2.
I chose "Deploy Business Components..." in Project2 and select an AppModule Session Bean (BMT).
I expand the Project2EJB.bcdeploy node in the navigator and right-mouse on the Project2EJB.deploy node to pick "Settings...".
I click on the "Profile Dependencies" tab, and check [x] Project1MiddleTier.deploy and [x] Project1Common.deploy to make those two deployment profiles a dependency of this one.
Then I right-mouse "Deploy" on the Project2EJB.bcdeploy node and it deploys my AppModule in Project2 as a remoteable application module. I go out to the file system and do:
% jar tvf Project2EJB.ear
   329 Thu Jun 20 18:31:10 CEST 2002 META-INF/application.xml
  1665 Thu Jun 20 18:31:10 CEST 2002 META-INF/data-sources.xml
   286 Thu Jun 20 18:31:10 CEST 2002 META-INF/orion-application.xml
  4361 Thu Jun 20 18:31:10 CEST 2002 Project1CSCommon.jar
13344 Thu Jun 20 18:31:10 CEST 2002 Project1CSMT.jar
25345 Thu Jun 20 18:31:10 CEST 2002 Project2EJB.jar
  9185 Thu Jun 20 18:31:10 CEST 2002 Project2EjbCommon.jarto verify that it includes my imported JAR files into the EAR file.

Similar Messages

  • Does the Jheadstart application can deploy to Application 10g

    Hi Jhs team:
    Does the Jheadstart application can deploy to Application 10g ?

    Ting Rung,
    We did not test this yet, but assuming OC4J did not break backwards compatibility, it should work.
    I would say, give it a try, and let us know if you run into problems.
    Steven Davelaar,
    JHeadstart Team.

  • Complex application dependencies

    I have a somewhat complex application dependency tree.
    I have four applications A, B, C, and D. Each application is deployed in its own EAR file. B depends on EJB's from application A. C also depends on A. D depends on A, B, and C. In addition, A depends on B and C. So it makes a diamond, with A at the top, B and C side-by-side on the middle level, and D at the bottom. Each application is deployed in its own EAR file.
    The parent attrib in server.xml doesn't handle this at all. First, you can only specify one parent for each application, and I have one app (D) that depends on three others. Also, the parent relationship only flows one direction. I have three apps that have bidirectional dependencies (A<->B, A<->C).
    Putting all the EJB's in a single EAR file would be very clunky. A couple of my apps already take serveral minutes to deploy, putting them all together would seriously dent development productivity.
    Has anyone else had complex dependencies like this? If so, how did you deal with them?
    Thanks,
    Lance

    On 19/7/09 16:04, Ralf Ebert wrote:
    > I have to agree, setting up a run configuration and dependencies for
    > SWTBot for a complex application is tedious.
    >
    > What do you think about reducing the runtime dependencies of SWTBot?
    > Something like a single plug-in "org.eclipse.swtbot.runtime" containing
    > all the classes required at runtime (maybe complemented by separate
    > finder plug-ins)?
    Could you elaborate more on what you mean by a plugin containing runtime
    classes and how you propose to split them ?
    Ketan
    http://studios.thoughtworks.com/twist | http://twitter.com/ketanpkr

  • Hyperion planning installation(Problem with application server deployment)

    Hi There:
    I am new to hyperion planning.I am trying to install planning.I got problem with Hyperion Configuration utility while configuring application server deployment.Its show message failed.Please guide me how to fix this.If it is possible can you please send me any personal documentation on installation.I am trying this for past 4 day's.Below is the error its showing in configtool
         ... 10 more
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.ProductTaskSelectionPanel, INFO, Validating dependencies...
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.ProductTaskSelectionPanel$5, DEBUG, Product: Planning; Dependencies: []
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.ProductTaskSelectionPanel, DEBUG, task to execute: HspDBPropertyLocation
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.ProductTaskSelectionPanel, DEBUG, task to execute: applicationServerDeployment
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.PanelEventDispatcher, DEBUG, constructor
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, AppServerSelectionPanel in queryEnter
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, Server: WebLogic 8.1; deployment type = both
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, Server: WebSphere 5.1; deployment type = both
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, Server: Tomcat 5.0.28; deployment type = both
    (Mar 09, 2008, 08:26:08 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, AppServerSelectionPanel in queryExit
    (Mar 09, 2008, 08:26:08 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, DEBUG, AppServer selected: WebLogic 8.1
    (Mar 09, 2008, 08:26:08 PM), com.hyperion.cis.config.wizard.ProductCustomInputPanel, ERROR, Error:
    java.lang.NullPointerException
         at com.hyperion.cis.config.wizard.ProductCustomInputPanel.queryEnter(ProductCustomInputPanel.java:88)
         at com.installshield.wizard.awt.AWTWizardUI.currentBeanChanged(Unknown Source)
         at com.installshield.wizard.swing.SwingWizardUI.currentBeanChanged(Unknown Source)
         at com.installshield.wizard.StandardWizardListener.currentBeanChanged(Unknown Source)
         at com.installshield.wizard.Wizard$RunThread.run(Unknown Source)
    (Mar 09, 2008, 08:26:09 PM), com.hyperion.cis.config.AppServerDeployer, DEBUG, Starting WebLogic 8.1 deployment...
    (Mar 09, 2008, 08:26:09 PM), com.hyperion.cis.config.AppServerDeployer, DEBUG, pre-Deploy: Planning
    (Mar 09, 2008, 08:26:09 PM), com.hyperion.cis.config.AppServerDeployer, DEBUG, Deploy: Planning
    (Mar 09, 2008, 08:26:09 PM), com.hyperion.cis.config.wizard.RunAllTasksWizardAction, ERROR, Error:
    java.lang.NullPointerException
         at com.hyperion.cis.config.AppServerDeployer.initContexts(AppServerDeployer.java:628)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:548)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:526)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.executeDeployerTask(RunAllTasksWizardAction.java:251)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.execute(RunAllTasksWizardAction.java:156)
         at com.installshield.wizard.RunnableWizardBeanContext.run(Unknown Source)
    (Mar 09, 2008, 08:26:13 PM), com.hyperion.cis.config.wizard.CustomSummaryPanel, DEBUG, CustomSummaryPanel in queryExit
    Please help me.Email id:[email protected]
    Thanks
    Harsha.
    Message was edited by:
    user603943

    I think the installation of planning on Vista is difficult. As some of the files doesn't support even i am tired of doing that.
    But tell me one thing have you installed all other products , I mean Essbase, (server, client) , AAS and Shared services.
    Are they working good .
    I have formatted my system to XP and installed everything , but the problem is when i install planning it prompts me that IIS 5 should be greater other wise EPM will not install...
    there are lot of things with planning 1) i can't datasource as it is not highlighting when we configure with Shared services
    2) It does not create product instance .
    If any one can fix this thing by giving me a suggestions.
    Advance Thanks

  • Pagelets not rendering in Fusion ADF application pages deployed on standalone weblogic server

    HI All,
    I am creating a Pagelet Producer connection, and dragging a pagelet on the page as iframe, with height auto. When I run the application in the integrated weblogic server, I am able to see the pagelet. However when I deploy the application on the standalone weblogic server, then the pagelet isn't rendered.
    I am using fusion ADF application 11.1.1.7  and standalone weblogic server v 10.3.6.
    Thanks in advance for yours assistance. Please I need a solution for this uregently. DO let me know, if you need any additonal information.
    Regards,
    Nikhil Mahto

    Sorry for the wrong infromation. The correct scenario is:
    I have an ADF application, in which I have a Pagelet producer connection, pages and taskflows. This ADF application is inlcuded in a Webcenter Portal Framework application, as a shared library. When the WCF application is deployed on the Weblogic server, the pagelets don't appear on the pages.
    I tried the FRAMEBUSTING context parameter to never but it didn't help.
    Regards,
    Nikhil Mahto

  • HR_INFOTYPE_OPERATION-- Complex Application Error

    Hi:
    I am using the FM "HR_INFOTYPE_OPERATION" for uploading data from flat file to IT0008 infotype.It's giving some error "A complex application error has occurred".I have checked SAP note 710779 but it does not help very much because we are already in the release and the correction is already there.Anybody with any idea is highly appriciated.Award points confirmed.
    ~Sinchan

    try putting DIALOG_MODE = '2' and execute the program.. you cn check if the values get passed to the function module ocrrectly..
    ~Suresh

  • Most complex application

    What is the most complex application that users have developed using HTMLDB? Is it available for preview (read-only) on htmldb.oracle.com?
    I am having difficulty "selling" HTMLDB in our predominantly client-server/VB/.NET/ASP, etc shop. "This is a configurator, not a development environment, you cant develop really complex apps using this" "You dont even have access to the raw HTML to tweak it". "Our typical apps have loads of business logic in it, no way this toy can do it", "The (MS) tools we are currently using can do all of this stuff, why would I want to consider learning a new tool and switching", etc.
    Thanks

    to be derived from zero experience or knowledge of
    HTML DB.Right, these were the comments I received after a 1-hour demo of HTMLDB to a group of MS-based developers who had never seen HTMLDB before.
    I do not understand the comparison to a configurator,
    that one is confusing. HTMLDB is a "configurator". You guys call it a "declarative programming environment". If anyone has seen Siebel Tools, that is also a configurator. In other words, a tool/environment which generates code for you and provides hooks to override/customize the generated code. The code in this case is HTML.
    Their thought was that any point-n-click, wizard-based tool is for sissies. "Real men" use Visual Studio or the other MS offerings. HTMLDB was compared to MS Front Page or even MS Access to build simple data-manipulation forms.
    I guess I would ask what is the definition of a "really > complex app"?An app with a lot of complex business logic, complex navigation, validations, high degree of client interaction (Javascript/DHTML with the browser paradigm), etc.
    I also like the conclusion of "the MS tools...can do
    all of this stuff". Do what? Write all of your
    business logic for you automagically? Hardly. TheBy "all this stuff", they meant the application development environment that HTMLDB provides, the widgets, the branching, the validations, etc. That is not exactly ground-breaking, a number of development environments out there offer similar things.
    Needless to say, I didnt agree. IMHO, HTMLDB is not a revolution, its a natural evolution for Oracle as a database company to provide tools to build apps using that data. But I can see how it does not offer anything so compelling as to persuade a 10-year MSCE veteran to consider switching
    Thanks

  • How to check via wlst that application was deployed on specific server?

    There is several managed servers(not in claster) on environment.
    My application is deployed on a few of them.
    1. How to check if application was already deployed on some specific managed server?
    2. Is it possible to redeploy application only on one managed server?
    3. How to redeploy application on all managed servers?
    Edited by: vbez on Sep 13, 2010 6:26 AM

    How to check if application was already deployed on some specific managed server?
    applicationRuntime = cmo.getAppRuntimeStateRuntime();
    state = applicationRuntime.getCurrentState("deploymentname", "deploymenttarget");Is it possible to redeploy application only on one managed server?
    If you redeploy an application it is deployed to all the targets it has been assigned to.
    How to redeploy application on all managed servers?
    See above. If your application has been targetted to the managed servers
    it gets redeployed to these targetted servers.

  • How to execute web applications without deploying them?

    How can I execute web applications without deploying them (without mentioning them in the server.xml)?
    I have an IWS 6.1 SP1 installed with default parameters (JES). I would like that a posix user could execute his own web application without administrator collaboration.
    Does it exist some sort of "autodeploy" like in tomcat?
    (I know about the invoker mapping in default-web.xml, just I don't realy understand what does it eventuate. I tried to unzip webapps-simple.war in the directory $IWS_SERVER_HOME/webapps/$instance_name/servlet/tmp/
    but the http://a.a.tg/servlet/tmp request failed:
    javax.servlet.ServletException: WEB2784: Wrapper cannot find servlet class tmp or a class it depends on
    ----- Root Cause -----
    java.lang.ClassNotFoundException: tmp
    How can I solve this? Users should have write permission to the directories in the classpath to put their servlet.class files into? Bad idea...
    (I tried to "execute" the $IWS_SERVER_HOME/plugins/java/samples/webapps/simple/webapps-simple.war)
    (Sorry for my language skills)

    Do as many of the rest of us do, until this behavior is changed (if ever). Eport your WEb gallery to your Hd and use an FTP client, there are so many, including Drreamweaver's, and Shareware ones, and upload just the relevant files/folders. Some can even check and do this for you.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.10 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • How to identify which application is deployed wirelessly by BES?

    From BlackBerry Manager, can we identify which application is deployed wirelessly by BES, which is deployed by end user himself?  thanks.

    Thanks, but is a thumb rule that smaller table will be hashed ?
    Also, how can i be sure by seeing the executing plan that smaller table is hashed ?

  • J2EE admin is locked every time the application is Deployed.

    J2EE admin is locked every time the application is Deployed.
    So, the admin should be unlocked after every deployment
    Please give me why this is happning? It's very very urgent

    Hi Krishnaveni,
       Can you check for this property "No password change required" - in your visual Admin?
    For this one please follow below steps.
        Open "Visual Administrator" in that "Cluster> Server>Services-->Security Provider"
        Goto "Runtime" - tab and then "User Management". Search for the user "J2EE_Admin" and double click on the user name to get the user management property sheet. There you can find "No password change required". If it is not checked, please check that one. then that password wont expire for every deployment.
    Regards,
    Sridhar

  • Can Jdeveloper support Weblogic Application Server Deploy ??

    Can Jdeveloper support the Weblogic application server deploy in EJB part ?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Michael Cheng ([email protected]):
    Can Jdeveloper support the Weblogic application server deploy in EJB part ?<HR></BLOCKQUOTE>
    Yes.
    null

  • Query applications and deployment types

    Hi,
    I got this powershell script to perform the above task (a query for applications and deployment types from SCCM)
    But getting the following error after running the script:
    "You cannot call a method on a null-valued expression
    At Line:2 char:13"
    $SCCMApplications = get-cmapplication
       ForEach($SCCMApplication in $SCCMApplications) {
            if ($ApplicationsToRename.ContainsKey($SCCMApplication.LocalizedDisplayName)){
                $SCCMDeploymentTypes = get-cmdeploymentType -applicationname $SCCMApplication.LocalizedDisplayName
                foreach($SCCMDeploymentType in $SCCMDeploymentTypes)
                        Write-Host "Found SCCM deployment type '$($SCCMDeploymentType.LocalizedDisplayName)' exists for application '$($SCCMApplication.LocalizedDisplayName)'."

    In addition, This tool might be helping you.
    ConfigMgr 2012 - Powershell Right Click Tools
    http://psrightclicktools.codeplex.com/
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party
    contact information.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Difference between Installing an application and Deploying and application

    What is the Difference between Installing an application and Deploying and application from the console?
    When deploying and app from console - > Click on deployments -> Install -> choose app path, next, next,.. Finish.
    Then it will be in prepared state. Once you activate changes, the app deployed will be in activate state. Some times even if you activate changes, it will be in prepared state. then you need to start the app which then comes to activate state.
    From above, which part is called Installing an app? Which part is called deploying an app?
    Or Are Install and Deploy both mean same?
    Edited by: user734247 on Apr 26, 2012 3:16 PM

    Installation is generally referred to making an application's physical file or directory known/accessible to WebLogic Server by configuring through the "New" option in the "Deployments" screen and targeting the servers. Installation of an application will put the status of the application in "prepared" state.
    Start is the next action expected so that the application's state transforms into "ACTIVE" by initializing the application and loading the necessary classes and creating the necessary objects to run the application.
    The above two steps together are referred to as "Deployment of an application"
    Bottomline: In short, "Deploying an application" includes "Installation of the application" AND "Activation/Start of the application"
    Arun

  • Applications not deploying on startup / multiple applications

    On one of our production servers (just one), when I restart weblogic,
    my web applications are not deploying; I have to deploy them manually.
    This is bad, obviously, because the server won't restore properly
    after a restart.
    After a while, I get target="box,box,box,box" that represents the
    multiple times I've deployed that application to the target "box".
    From config.xml:
    <Application Deployed="true" Name="revx" Path="F:\revx">
    <WebAppComponent Name="revx"
    Targets="giocm,giocm,giocm,giocm,giocm,giocm,giocm"
    URI="revx"/>
    </Application>
    The operating system is Windows 2000 5.00.2195 ... everything was
    working fine until I re-installed the Windows service this weekend.
    I've checked permissions on the folder, on the file, and who the
    service is running as. I've manually edited config.xml to remove the
    duplicate target entries.
    I've seen some other posts from people who have also experienced
    applications not deploying on WL restart, but I don't see any
    resolutions.
    Rob

    Thank you, but the problem is a little different from that. These are
    exploded web apps outside the applications dir. I deployed them
    through the console initially; on the other servers, when WL restarts,
    the apps are deployed back to their targets just fine. It's only this
    box that loses sense of the targets on WL restart.
    We're on 6.1, so a few people have suggested upgrading to 6.1 sp4 --
    they've said they've seen this problem, and the sp corrects it.
    That said, this is a production box and upgrading it is a hassle. I'll
    get started on scheduling that, but if anyone has any ideas in the
    meantime, I'd greatly appreciate it. If not, thanks anyway. :)
    Rob
    "Deepak Vohra" <[email protected]> wrote in message news:<3eebae8e$[email protected]>...
    WLServer should start in development mode for a application
    in the applications dir to deploy.
    STARTMODE=false
    [email protected] (Rob Young) wrote:
    On one of our production servers (just one), when I restart weblogic,
    my web applications are not deploying; I have to deploy them manually.
    This is bad, obviously, because the server won't restore properly
    after a restart.
    After a while, I get target="box,box,box,box" that represents the
    multiple times I've deployed that application to the target "box".
    From config.xml:
    <Application Deployed="true" Name="revx" Path="F:\revx">
    <WebAppComponent Name="revx"
    Targets="giocm,giocm,giocm,giocm,giocm,giocm,giocm"
    URI="revx"/>
    </Application>
    The operating system is Windows 2000 5.00.2195 ... everything was
    working fine until I re-installed the Windows service this weekend.
    I've checked permissions on the folder, on the file, and who the
    service is running as. I've manually edited config.xml to remove the
    duplicate target entries.
    I've seen some other posts from people who have also experienced
    applications not deploying on WL restart, but I don't see any
    resolutions.
    Rob

Maybe you are looking for

  • Java update

    In this thread here http://www.adobeforums.com/webx?128@@.59b82baf the OP appears to lay the blame for a corrupted Preferences file firmly at the Java updates door. Now I know less than nothing about Java let alone what it does but this morning I rec

  • Missing Logo??

    In Forms Central, when I Save as PDF Form, the logo in my header disappears. It is an image I have imported into Forms Central. Please help me work out how to prevent this!

  • Oracle portal use in different application servers

    Instead of Oracle 9iAS, can Oracle Portal run on other Application Server?

  • Unexpected Error when submitting Claim Code

    Hi there. I have tried all instructions on HP site to link printer for HP ePrint. However, when submitting Claim Code I get the message 'Unexpected Error'. Can someone help?.Thank you.

  • Just set up Time Capsule and imac is backed up.  Can I back up ipad and iphone too?  If so, how do I do it?

    Just bought AirPort Time Capsule (2TB) and my imac 10.7.5 is backed up. Can I back up the information on my iphone and ipad - both are iOS 7.1.2? On AirPort Utility I am not able to open other Wi-Fi Devices.  TC indicates ipad and iphone are wireless