Recommended Deployment Strategies for Building FlexStack

I have found the "Recommended deployment strategies for building flexstack"
These are the important items to consider when deploying FlexStack:
• It is recommended that the stack master not contain uplinks if it is possible to distribute the uplinks across other stack member
• When using only two uplinks in a stack of four members, put the uplinks on members that are not directly connected with FlexStack links. Directly connected members are those connected together with FlexStack connections. This is only relevant on FlexStack groups that contain four members.
– This recommendation is purely for stack bandwidth efficiency. Placing the FlexStack uplinks on directly connected members is less efficient on stack bandwidth. In a four-member stack, with members connected 1-2, 2-3, 3-4, 4-1, put the uplinks on members 2 and 4 or 1 and 3.
So For a Stack of 4 WS-C2960S If we use two links to create an etherchannel "Recommended deployment strategies for building flexstack" is to use an interface on Switch 2 and another on  Switch 4 for the etherchannel to Core Switch.
If we want to create an etherchannel of four links, is the recommanded deployment strategies also to use two interfaces on Switch 2 and two interfaces on Switch 4?

Which activities are taking a long time? The ejbc/appc step? or the boot of the
server and deployment of all the beans? Makes a difference, because splitting
up a large number of beans in to multiple JAR files might help with the time it
takes to create each JAR file but wouldn't help with deployment time.
I've seen applications with 300+ entity beans, and while it is a little painful
to run ejbc/appc and deploy the resulting ejb file, it wasn't bad enough to invalidate
the approach or require multiple files. How long are steps taking now? How many
beans, and what hardware are you using for the various steps in the process?
-Greg
http://www.amazon.com/exec/obidos/ASIN/047128128X/
"monica" <[email protected]> wrote:
>
I am working in a medium project that have in average 200 CMP entity
beans. Actually,
we have a mapping between each data base table with a CMP. Every time
that we
develop a new functionality the jar grows up and in fact, the deploying
time grows
up. This is a big problem if we think that only we had develop the 5%
of all project
and it spent much time making building of the jar. I would like to know
if exist
an extrategy to control the growth of the jar, for example do not map
every table
to an entity to make modules, and make build in independent form, one
module for
one group of functionality. The problem is that in this project exist
a group
of entities that are common for every functionality, Country, City, User,
etc..
This is the only strategy in which we could think but we do not have
a clear judgement
to decide which tables must to be mapped, only the ones that are not
catalogs?.
If you can guide me about the better form to organize my project or show
me a
knowledge base with similars problems I would thank you , very much.
Thanks in advance,
Monica A.

Similar Messages

  • Good strategies for building ATG EAR with Maven?

    It's been a while since I've looked at this. is there a clean set of choices for building an ATG-based EAR using Maven? Is the best we can do to use the antrun plugin, or is there a cleaner integration with Maven to do this? Is there reasonable documentation someone can point me to that details the strategies?

    Yes while using Maven, chances are that we may end up using the Ant task for invoking ATG's runAssembler inside pom to build the EAR. While using the Ant task within Maven helps us accomplishing the task but we tend to loose the power of Maven that way. It would be better if we either use Ant for the whole stuff or just Maven without mixing them.
    There is ATG DUST(Dynamo Unit and System Tests) framework for building JUnit tests for ATG applications which uses Maven.
    http://atgdust.sourceforge.net/first-test.html
    But I think DUST uses Maven just to build the JARs and does not uses ATG's assembler.
    I have never tried it but you may want to take a look at this Maven plugin which seems to be capable of generating ATG based EAR.
    http://jira.codehaus.org/browse/MOJO-1116
    Although it seem to be not updated off late. The plugin page mentions ATG 7.1 while the latest ATG offering is 10.1.1 But I guess it might work with a recent ATG version also (may be with some tweaks) as I don't think there would have been any major changes in the way ATG's runAssembler works and generates ATG EAR.

  • Book Recommendation for Building Swing Applications

    I'm looking for recommendations on books for building swing applications from the ground up.
    I'm not a strong GUI developer. 95% of my experience has been strictly on back end development in many other languages. What little GUI experience I have has been with C++ (years ago) and most recently with HTML.
    I know what I want to develop, and even have the GUI design for my application drawn out. I just need a good book that can walk me through developing the interface in Java.
    I already have several books on Java. But, I find them somewhat limiting because they don't help me build the app from the ground up.
    Yes, I've tried the online book on the Sun site, "The Jfc Swing Tutorial: Guide to Constructing Gui's".
    Please offer some recommendations and reasons on why you like the book.
    Thanks.

    A few comments to that ....
    the first thing is understanding the LayoutManagers, that are available.
    I will give you a short guideline where they are usefull:
    FlowLayout - usefull for JLabel-JTextField combinations or several JButtons
    BorderLayout - usefull for the structure of basic containers
    CardLayout - usefull for every area of the screen, where you want to appear different panels
    GridLayout - usefull for a group of same-sized components laid out in a grid
    GridBagLayout - usefull for a group of components, that have different sizes, very flexible
    JTabbedPane - a special container, that is similar to CardLayout but with visible tabs to switch panels
    Normally you can say "I want that group at the bottom of the frame, that other group at its left side, that toolbar at its top" - if you can say so - that shouts for BorderLayout. If you can say "in this area I want to use several panels" that means CardLayout or a JTabbedPane.
    You see, if you have an idea, what the LayoutManagers do, you know exactly which area needs what Layout - so you have a guideline, which LayoutManager to use in that panel.
    To make an example:
    You want 3 buttons centered at the bottom of a frame - this 3 buttoms should be of that size, that is needed by the button texts. So, what to do:
    1. create a JPanel with FlowLayout
    2. create the buttons and add it to that JPanel
    3. create another JPanel with BorderLayout
    4. add that first JPanel to the second JPanel at BorderLayout.CENTER
    5. add this Panel to the ContentPane of the frame at BorderLayout.SOUTH
    that is a simple panel in panel construct - placing 3 buttons centered at the bottom of the frame. You have to play with that different LayoutManagers a little bit - the way you stick one panel in another changes the look of the GUI - if you know, how it changes (by playing with the examples of the tutorial), you will have that "from the ground"-experience, you are looking for - believe me.
    greetings Marsian

  • Recommended deployment topologies

    Hello,
    I've read the "Recommended deployment topologies" for Oracle AS 10g Release 2. There's mentioned that HTTPS-to-HTTP protocol conversion should preferably be handled by a load balancer. Is there a document describing HOW TO configure Oracle AS to let the load balancer handle HTTPS-to-HTTP conversion?
    Kind regards,
    Philip

    Found the info at:
    http://download-uk.oracle.com/docs/cd/B14099_04/portal.1012/b14037/cg_secur.htm#i1036333

  • (Deployment) Minimum Software required for BUILD server and IIS WebServer

    We have a simple .Net SDK application written using VB-2005 and the Crystal Reports XI (R2) DEVELOPER package.
    The RPT files are posted on our BOE-XI (R2) server, and are called using the View-On-Demand method from the Page Server (similar to the SDK sample application). At some point in the future, our .Net applications may invoke some of the other SDK content types.
    In our environment, the .NET web-applications are checked-in to Clear Case, and then sent to a stand-alone BUILD server to be compiled. The compiled .NET web-applications are then posted to a stand-alone IIS WebServer (not the IIS server that hosts BOE InfoView/CMC).
    The BUILD server and IIS WebServer have to be as "stripped-down" as possible in order to go through our QAT and Impact Analysis process.
    So far we have had success if we deploy the SDK-only install from the Crystal Reports XI (R2) DEVELOPER package, and the service packs, but it doesn't include all the SDK components for other BOE content types.
    If we deploy the Client-only install from the BOE-XI (R2) package, and the service packs - it doesn't seem to include the CR-Viewer which we need. But it does includes a bunch of extra software (eg. UNIVERSE DESIGNER) on the desktop of the BUILD server and IIS WebServer that our QA guys don't like.
    What are the Minimum Software required for BUILD server and IIS WebServer to support CR and BOE SDKs...?
    Are there any install packages that contain JUST those components, and not all the extra software that is not needed to Build/Deploy in .NET...?
    Thanks in advance for the advice.

    Due to the CrystalDecisions.web.dll for the 2.0 framework being left off the BOE CD you will need to install the Crystal XI R2 runtimes as well as the BOE SDK.
    To get the BOE SDK launch the Enterprise XI R2 installer and choose Server Install - not Client Install.  Choose a Custom install.  You'll be presented with a drop down list for the Enterprise components.  Deselect everything and then look for the Developer Components option.  You may have to drill down into one of the levels to find it.  Under Developer Components you'll see the BusinessObjects Enterprise .NET SDK.  Select it to install it.
    Jason

  • Recommended Hardware Config for huge OLAP Cube build

    Hi David ,
    Can you please provide the recommended hardware config for cube having billions of data under fact table . We ran a cube with 0.1 billion of data took around 7 hours to process. What could be the key areas to gain the performance benefit ? ansd also what could be the CPU , RAM (server) , RAM (Oracle DB) to gain much more perf benefit in such configurations ?
    Also we have 32 bit windows 2003 server .Can we get better result if we switch to 64 bit ?
    Thanks in advance,
    DxP.

    Hi!
    Well, I would definitely recommend you to proceed with a consultant because I feel that you have some lack of methodology and experience together with time constraints for your project.
    Regarding hardware, unfortunately, I would not be able to give you any precise figures because I have no supporting information. What you should bear in mind that your system must be balanced. You (better with consultant) need to find a right balance between all the factors you consider as important while building a pile of hardware:
    - cost
    - architecture
    - speed
    - availability
    - load scenarios
    etc...
    Regarding architecture point bear in mind that today finding right balance between processing power and storage processing capacity is a challenge. Put attention to this.
    Regards,
    Kirill

  • Where is the doc for xml task options for deploy and ojdeploy-build ?

    I am a new user.
    I tried using jdev help to find my answer, but got lost quickly in the zillions of manuals.
    1) Where is the manual/doc for the xml task attributes/options for the Ant tags <deploy> and <ojdeploy-build>?
    I am modifying an xml script that ojdeploy will call, but do not know what attributes/options are supported for these tags. I need to know whether an option such as failonerror exists, so that I can report a bug that <deploy> does not default to fail on error (or that <ojdeploy-build> ignores the error and continues with the script.
    Followup questions:
    2) How do I find the java code that implements the tags <deploy> and <ojdeploy-build>?
    3) How do I report a bug on the implementation for these tags and propose a fix (assuming I can see the java source code)?

    I guess I wasn't clear enough. What I tried to say was:
    1) Where is the manual/doc for the xml task attributes/options [I meant to say attributes/elements] for the Ant tags [I meant to say tasks] <deploy> and <ojdeploy-build>?
    I did not mean the ojdeploy command, but the Ant tasks <ojdeploy-build> and <deploy>.
    The jdev help does not seem to provide the complete list of elements or attributes for these critical Ant tasks, though it has a few examples.
    So far, it appears that <deploy> has been misdesigned and I cannot do what I want, which is to "failonerror" (failonerror="true" should be the default but the opposite is true and there is no attribute to change the setting).
    You could consider this to be a bad flaw in Ant itself, that you cannot get the exit code from every Ant task (since they are java programs they do have an exit code), so when new tasks are implemented by folks who lack experience they may leave out access to this programming feature that is however implemented for a bunch of important core Ant tasks such as "java" or "exec". It would have been far more useful to make this a generic feature of all Ant tasks. Of course then folks would be asking for stuff like "fail if" or "fail unless" and where would it end? Maybe with a real programming language like TCL but in XML form.

  • Which are the highly recommended JMS brokers for live deployment?

    Which are most widely deployed JMS messaging servers (brokers) in live applications?
    Which are the most recommended JMS servers for a new deployment?
    Any tips on these will be very helpful.

    function(){return A.apply(null,[this].concat($A(arguments)))}
    I have my dev server - I leave this on 512MB and that's fine for
    most of the stuff I do. We generally up this to a gig on our live
    servers (which only run 3-4 small sites), and historically we've not
    gone above this on our Shared servers (which host anywhere up to 400
    sites) because of the 32-bit limit.
    However, now we're running CF9 on 64-bit Server 2008, we've obviously got a lot more RAM available. The obvious choice is to ramp it up high, but I've also been heard that causes issues of its own - the Java GC then has far more work to do when it's called and as the memory fills it's harder to get a contiguous block of RAM, so performance can suffer.
    Leave the memory setting at the default value, until testing requires you to do otherwise, or your sites unravel some unforeseen memory demand. It's a risk our SysAdmin colleagues are prepared to take. With the coming of 64-bit, they've been on the alert, and have always cattle-prodded us whenever we've been tempted to push the button to go higher.
    Our defaults almost coincide with yours: 512 MB for 32-bit and just over 1GB for 64-bit. So what you yourself have just said is my own basic wisdom on the subject, too: if it aint broke, don't try to fix it.
    [postscript: I work full-time at one company, part-time at another. By pure coincidence, both use the same JVM memory settings.]

  • Version control and deployment strategies

    Hi,
    I was looking for input from the community on general
    strategies for using version control and managing deployments to
    test/stg/production.
    Currently, I am using subversion to track my source code, and
    using the standard flex builder build routine to produce my binary
    output and test. My output is stored locally on a shared vmware
    drive, so that it can be served up with a linux vm running apache
    (this is not dissimilar to just local testing)
    Now I'm getting ready to deploy to some remote testing server
    though, so I'm trying to think of the best way to go about it. I
    would like to tag my code in svn with a release tag, as is my
    practice in other platforms. Should I also store the bin folder in
    svn? Should I check in the resulting binary code independently in a
    separate repository/directory and then tag it there? Should I
    create a new build target to deploy directly to my testing server?
    The issue with the tagging approach seems to be that if I
    want to rebuild the code or redeploy it for any reason, I would
    have to checkout the tagged code in a separate directory, import it
    as a new project, rebuild and then redeploy.
    If I checked in the tested binaries into a separate
    repository/folder, I could always just do an svn export for
    deployment, but I'm not sure if that would cause any weird issues,
    and it seems a bit wasteful. I suppose I could build from the tag
    and zip up the resulting release and just make it available via
    normal download, but it seems that I would likely then have lots of
    working directory checkouts as flex builder projects for each tag
    or release, just so that I could rebuild from them....doesn't seem
    very elegant.
    I'm very interested in hearing any feedback on this. How do
    you do it?
    thanks,
    Cliff

    flex with ant is still not very very popular
    combination,since FB does all for you anyways, but I have to say
    ant is lot more flexible, especialy if you combine it with FB, ant
    can do pretty much anything, ...
    here is link about flex's ant tasks
    http://livedocs.adobe.com/flex/3/html/help.html?content=anttasks_1.html
    most of the projects I have done in Flex were with ant,
    here is general approach:
    for internal testing I let flex builder build and deploy
    within integrated tomcat,this is also where I do debugging, FB is
    pretty good about that.
    then I have following targets :
    build target - builds optimized version of flex app, only
    using library classes that are needed by project, also using that
    to feed my Modules building tasks so that they exclude all class
    references (like Button, Tabnavigation etc... ) from their compiled
    units,
    something like this (this is my old fb2 example) i don't have
    fb3 example handy right now :
    quote:
    <mxmlc file="${basedir}/main.mxml"
    debug="false"
    optimize="true"
    output="${dir.web}/main.swf"
    show-binding-warnings="false"
    show-actionscript-warnings="false"
    link-report="${basedir}/docs/my-links.xml"
    use-network="true">
    <load-config
    filename="/configdir/modified/flex-config.xml"/>
    <source-path path-element="${FLEX_HOME}/frameworks"/>
    <compiler.library-path dir="." append="true">
    <include name="lib" />
    </compiler.library-path>
    <compiler.source-path path-element=""/>
    <compiler.source-path path-element="src"/>
    <metadata description="some app">
    <contributor name="John Doe" />
    <contributor name="Apple Orangino" />
    </metadata>
    </mxmlc>
    <!-- compile module mymodule-->
    <mxmlc file="${basedir}/mymodule.mxml"
    debug="false"
    optimize="true"
    output="${dir.web}/mymodule.swf"
    show-binding-warnings="false"
    show-actionscript-warnings="false"
    load-externs="${basedir}/docs/my-links.xml"
    use-network="true" >
    <load-config
    filename="/configdir/modified/flex-config.xml"/>
    <source-path path-element="${FLEX_HOME}/frameworks"/>
    <compiler.source-path path-element=""/>
    <compiler.source-path path-element="src"/>
    <metadata description="some app">
    <contributor name="John Doe" />
    <contributor name="Apple Orangino" />
    </metadata>
    </mxmlc>
    tag -target tags release based on parameter of latest tag
    plus number increment I configure in properties file.
    Utility targets :
    classpath target - builds classpath string for compc task.
    commit target : commits source code, before building.
    resources target - copies all resources files to build
    directory,
    deploy-local target- deploy to local Integration server
    deploy-remote target deploy to remote uat server.
    test -target - run test cases over classes and generate
    report.
    and of course all famous asDoc target :)
    good thing is that you can create "ant builder" under project
    properties and chain your targets with flexbuilder's build
    commands,
    you can also easily integrate with build servers ( I use
    hudson)
    here is example :
    http://hudson.amostudio.com/
    MR hudson checks out code for you, builds it using ant
    targets you tell it to use, and reports to you, its pretty cool and
    very handy to always have active build proccess over codebase, of
    course in some cases its overkill, but most of the times, MR hudson
    is good to have.
    unfortunately all my ant files are for external clients I
    cant disclose them, but I can write blog about some general (apples
    and oranges) example, hhm that's actually good idea :) I can shake
    off some stress as well :)
    thanks for the idea :)
    hth
    regards
    levan

  • Help needed regarding the deployment architecture for PROD env

    Dear All,
    Please help me with some clarifications regarding the deployment architecture for PROD env.
    As of now I have 2 single node 12.1.1 installations for DEV and CRP/TEST respectively.
    Shortly I will be having a PROD env of 12.1.1 with one DB node and 2 middle tier (apps) node. I need help in whether -
    1) to have a shared APPL_TOP in the SAN for the 2 apps node or to have seperate APPL_TOPs for the 2 apps node. The point is that which will be benificitial in my case from business point of view. The INST_TOPS will be node specific in any case right?
    2) Where to enable the Concurrent Managers, in the DB node or in the primary apps node or in 2 apps node both for better performance.
    12.1.1 is installed in RHEL 5.3
    Thanks and Regards

    Hi,
    Please refer to (Note: 384248.1 - Sharing The Application Tier File System in Oracle E-Business Suite Release 12).
    For enabling the CM, it depends on what resources you have on each server. I would recommend you install it on the the application tier node, and leave the database installed on one server with no application services (if possible).
    Regards,
    Hussein

  • Error at the time of deploying App for SP 2013

    When I try to deploy any App created using VS 2012, giving error below. Please provide some help to resolve it.
    Build started: Project: FleetManagementApp, Configuration: Debug Any CPU ------
    ------ Deploy started: Project: FleetManagementApp, Configuration: Debug Any CPU ------
    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...
    Error occurred in deployment step 'Install app for SharePoint': We're sorry, we weren't able to complete the operation, please try again in a few minutes.
    If you see this message repeatedly, contact your administrator.
    ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
    ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

    Hi,
    Please check the link below, it about the simialr issue.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/c8eb6c92-e1b2-45a9-840e-c782bdc933ec/error-occurred-in-deployment-step-install-app-for-sharepoint-were-sorry-we-werent-able-to?forum=sharepointdevelopment
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Please recommend a tool for stress-testing ?

    Could anyone please recommend a (free) tool to do multi-threaded stress-test, on plain java classes ?
    In more detail: I'd like to do unit-test for some plain java methods (only mathematical calculations. No web interface, no swing).
    The emphasis is stress test: i need to launch multiple threads, all of them repeately invoking my method. Under these conditions, I need to report correctness (has the method yielded the expected return value), and statistics on response time.
    Any recommendations would be appreciated . Thanks !

    alex888 wrote:
    Working on a project that need me read data from delimited text file, the data will be converted to a tree-structure. So it's better parse the data into XML format first.What??? Why? You've got a text file and need an object tree, why do you think going to XML in between is a good idea?
    Besides j2se or jdom, any fast tool for it?What do you mean with "j2se", that's not a XML handling tool (it contains several, 'though).
    SAX sounds good for building object trees from XML, but there are several XML mapping libraries out there (try google).

  • Equipment for building test lab

    Hello all,
    I'm looking for a little input on the two options I'm weighing for building my virtual test lab. If at all possible, I would rather not have my daily PC running my virtual lab, but I leave that option open. I'm thinking of purchasing a Dell PowerEdge 2950 II
    (from ebay), installing Windows Server 2008 R2, installing VM VirtualBox so that I can set up an Active Directory environment to prepare me for the MCITP exams. This option would allow me to conserve the resources of my daily PC. If I were to use my daily
    PC (I7 quad, 3GB RAM, 80GB SSD, and 1TB storage with only 200GB of free space) I would more than likely have increase RAM and buy another HDD to store the VMs. How much more trouble would it be to go the PowerEdge 2950 II route?
    Thanks.

    Hi,
    We recommend that you review the Windows Catalog to identify servers that are qualified for use with Hyper-V. You can identify systems that support the x64 architecture and
    Hyper-V by searching the Windows Server catalog. Personal advice is you’d better to buy the 2950III
    it’s the newer product.
    More information:
    Requirements and Limits for Virtual Machines and Hyper-V in Windows Server 2008 R2
    http://technet.microsoft.com/en-us/library/ee405267(WS.10).aspx
    Hope this helps.
    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.

  • Bpel deployment fails for all processes that have revision other than 1.0.

    Using: Release *10.1.3.3.1*
    Hello All,
    Bpel deployment fails for all processes that have revision other than *1.0*.
    We have been attempting to deploy several BPEL projects via ANT script to a target environment and are encountering failures to deploy for every project which isn’t a (revision 1.0). We are getting the following error whenever we try to deploy a process with a revision other than 1.0:
    D:\TJ_AutoDeploy\BPEL_AutoDeploy_BETA\build.xml:65: BPEL archive doesnt exist in directory "{0}"
         at com.collaxa.cube.ant.taskdefs.DeployRemote.getJarFile(DeployRemote.java:254)
         at com.collaxa.cube.ant.taskdefs.DeployRemote.deployProcess(DeployRemote.java:409)
         at com.collaxa.cube.ant.taskdefs.DeployRemote.execute(DeployRemote.java:211)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at org.apache.tools.ant.Main.runBuild(Main.java:668)
         at org.apache.tools.ant.Main.startAnt(Main.java:187)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    The structure of our automated deployment script is as follows:
    First, a batch script calls (Jdeveloper_BPEL_Prompt.bat) in order to set all necessary environment variables i.e. ORACLE_HOME, BPEL_HOME, ANT_HOME, etc for ant.
    Next, the script lists every .jar file within the directory to an .ini file called BPEL_List.ini. Furthermore, BPEL_DIR, ADMIN_USER and ADMIN_PSWD variables are set and initialized respectively to:
    -     “.” – point to directory where script is running from because all the BPEL processes are located here
    -     “oc4jadmin”
    -     “*********” (whatever the password for out environment is)
    We’ve developed a method to have the script prompt the user to select the target environment to deploy to. Once the user selects the appropriate environment, the script goes through the BPEL_List.ini files and a loop tells it that for every BPEL process listed:
    DO ant
    -Dprocess.name=%%b
    -Drev= !Rev!
    -Dpath=%BPEL_DIR%
    -Ddomain=default
    -Dadmin.user=%ADMIN_USER%
    -Dadmin.password=%ADMIN_PWD%
    -Dhttp.hostname=%HOST%
    -Dhttp.port=%PORT%
    -Dverbose=true
    (What’s happening is that the variables in the batch file are being passed on to the ANT script where *%%b* is the process name, !rev! is revision #, and so on…)
    The loop goes through each line in the BPEL_List.ini and tokenizes the BPEL process into 3 parts *(%%a, %%b, and %%c)* but we only extract 2 parts: *%%b* (process name) and *%%c* which becomes !Rev! (revision number).
    Example:
    Sample BPEL process:
    bpel_ThisIsProcess1_1.0.jar
    bpel_ThisIsProcess2_SOAv2.19.0.001B.jar
    After tokenizing:
    %%a     %%b     %%c
    bpel     ThisIsProcess1     1.0.jar
    bpel     ThisIsProcess2     SOAv2.19.0.001B.jar
    *!Rev!* and not *%%c* because *%%c* will return whatever the revision number is + the “.jar” file extension as illustrated above. So to circumvent this, we parse *%%c* so that the last 4 characters are stripped. Such is done like this:
    set RevN=%%c
    set RevN=!RevN:~0,-4!
    Hence, the usage of !Rev!.
    Below is a screenshot post of the ANT build.xml that goes with our script:
    <!--<?xml version="1.0"?>-->
    <!--BUILD.XML-->
    <project name="bpel.deploy" default="deployProcess" basedir=".">
         <!--
         This ant build file was generated by JDev to deploy the BPEL process.
         DONOT EDIT THIS JDEV GENERATED FILE. Any customization should be done
         in default target in user created pre-build.xml or post-build.xml
         -->
         <property name="process.dir" value="${basedir}" />
              <!-- Set BPEL process name -->
              <!--
              <xmlproperty file="${process.dir}/bpel/bpel.xml"/>
              <property name="process.name" value="${BPELSuitcase.BPELProcess(id)}"/>
              <property name="rev" value="${BPELSuitcase(rev)}"/>
              -->
         <property environment="env"/>
         <!-- Set bpel.home from developer prompt's environment variable BPEL_HOME -->
              <condition property="bpel.home" value="${env.BPEL_HOME}">
                   <available file="${env.BPEL_HOME}/utilities/ant-orabpel.xml" />
              </condition>
         <!-- show that both bpel and oracle.home are located (TESTING purposes ONLY) -->
         <!-- <echo>HERE:${env.BPEL_HOME} ${env.ORACLE_HOME}</echo> -->
         <!-- END TESTING -->
         <!--If bpel.home is not yet using env.BPEL_HOME, set it for JDev -->
         <property name="oracle.home" value="${env.ORACLE_HOME}" />
         <property name="bpel.home" value="${oracle.home}/bpel" />
         <!--First override from build.properties in process.dir, if available-->
         <property file="${process.dir}/build.properties"/>
         <!--import custom ant tasks for the BPEL PM-->
         <import file="${bpel.home}/utilities/ant-orabpel.xml" />
         <!--Use deployment related default properties-->
         <property file="${bpel.home}/utilities/ant-orabpel.properties" />
         <!-- *************************************************************************************** -->
         <target name="deployProcess">
              <tstamp>
                   <format property="timestamp" pattern="MM-dd-yyyy HH:mm:ss" />
              </tstamp>
              <!-- WRITE TO LOG FILE #tjas -->
              <record name="build_verbose.log" loglevel="verbose" append="true" />
              <record name="build_debug.log" loglevel="debug" append="true" />
              <echo></echo>
              <echo>####################################################################</echo>
              <echo>BPEL_AutoDeploy initiated @ ${timestamp}</echo>
              <echo>--------------------------------------------------------------------</echo>
              <echo>Deploying ${process.name} on ${http.hostname} port ${http.port} </echo>
              <echo>--------------------------------------------------------------------</echo>
              <deployProcess
                   user="${admin.user}"
                   password="${admin.password}"
                   domain="${domain}"
                   process="${process.name}"
                   rev="${rev}"
                   dir="${process.dir}/${path}"
                   hostname="${http.hostname}"
                   httpport="${http.port}"
                   verbose="${verbose}" />
              <sleep seconds="30" />
              <!--<echo message="${process.name} deployment logged to ${build_verbose.log}"/>
              <echo message="${process.name} deployment logged to ${build.log}"/> -->
         </target>
         <!-- *************************************************************************************** -->
    </project>
    SUMMARY OF ISSUE AT HAND:
    ~ Every bpel process w/ 1.0 revision deploys with no problems
    ~ At first I would get an invalid character error most likely due to the “!” preceding “Rev”, but then I decided to set rev=”false” in the build.xml file. That didn’t work quite well. In another attempt, I decided to leave the –Drev= attribute within the batch script blank. That still led to 1.0s going through. My next thought was deploying something other than a 1.0, such as 1.2 or 2.0 and that’s when I realized that if it wasn’t a 1.0, it refused to go through.
    QUESTIONS:
    1.     IS THERE A WAY TO HAVE ANT LOOK INTO THE BPEL PROCESS AND PULL THE REVISION ID?
    2.     WHAT ARE WE DOING WRONG? ARE WE MISSING ANYTHING?
    3.     DID WE GO TOO FAR? MEANING, IS THERE A MUCH EASIER WAY WE OVERLOOKED/FORGOT/OR DON’T KNOW ABOUT THAT EXISTS?
    Edited by: 793292 on Jul 28, 2011 12:38 PM

    Only thing i can think of is instead of using a MAC ACL , u cud jus use the default class
    Policy Map Test
    class class-default
    police 56000 8000 exceed-action drop
    Class Map match-any class-default (id 0)
    Match any
    You would be saving a MAC-ACL ;-).

  • Urgent!! Deploy reports for Developer suite 10g (Newbie)

    Hi All,
    I've generated few jsp report using report builder from developer suite 10g. I know in the developer suite 9i. I just copy these jsp files under \reports\j2ee\web. Then start OC4J Instance, and type in from browser as http://localhost:8888/reports/testreport.jsp?userid=username/password@dbconnection. However, it doesn't work for 10g. Is there any different in deploy report for 10g? Please help....
    Thanks,
    Best Regards,

    Andy,
    It's impossible to help us if you doesn't specify what error messages you get?
    If I should take a guess, you're using the wrong port number. Did you check if it's correct before posting your message? Most Developer Suite 10g installations comes with port number 8889.
    Regards,
    Martin Malmstrom

Maybe you are looking for