Building and deploying J2EE apps ?  Now there is a solution for production root cause analysis.

Is your organization building and deploying J2EE apps? If so, Halo
can help solve one of the toughest issues facing enterprises today:
Finding the root cause of software faults.
"Halo monitors, pinpoints, reports on and provides a source-code level
root cause of software faults in deployed J2EE apps. Halo is unique
because it's the only technology that can give you a root cause
diagnosis in a fully deployed, live production application. Halo has
such low performance overhead that customers deploy their final,
production versions of their applications with Halo enabled.
Used with Web Application Servers like WebLogic, Halo helps ensure
that deployed code is reliable and able to be quickly fixed if
problems turn up. Most important, because Halo is an "always on"
technology, you get all the information you need to rapidly solve a
problem on the first fault. Problem replication and bug reports are
obsolete with Halo
"Halo has a unique ability to provide a root cause diagonosis and
understanding
of software problems in production systems, without needing to
replicate the
issue.
Test on WebLogic proved that Halo runs with extremely low overhead and
is suitable for use in deployed production systems"
Andrew Sliwkowski, Software Engineer
BEA Systems, Inc.
The key is Halo's high performance, low overhead TraceBack
instrumentation technology. Based on technology out of MIT and proven
in the field, TraceBack enables you to instrument JARs, EARs and WARs
within minutes, without touching source code.
Halo is useful throughout the entire application life cycle, from
development through test, beta and deployment.
If you have interest in learning more visit our website at
www.incer.com or email me directly at [email protected] (Rick Martin)

I have two questions. We have just started developing apps using jdev9i, 9iAS v2 and are new to the j2ee environment so my questions may be very easy ones.
Question 1: We have set up Oracle pooling connection to our databases. We have a development, test and production database. When I deploy my application, it includes the connections. This is preventing me from moving the EAR files from dev to test to prod without modification and re deploying to my EAR file. Is there a way or a place that I can put my database connections that will not be included in my EAR files and the application still find them?datasources.xml is where the info regradings connection to databases is licated. If you're using 9iAS
you can use EM to create datasource entry at the global level. In OC4J standalone you could use admin.jar
or edit the file. Check out the standalone user's guide at http://otn.oracle.com/tech/java/oc4j/pdf/oc4j_so_usersguide_r2.pdf.
Also, you will othe OC4J docs on OTN.
Question 2: I have a stand alone oc4j set up for our developers to use while testing their applications. The applications include libraries supplied in jdev such as xml parser v2. I do not want to deploy those lib files with the app because I will have to redeploy all my apps if I upgrade jdev. I just want to be able to upgrade the libraries, test the apps and not have to redeploy everything. I can do this by coping the jdev lib to 9iAS but I can't seem to find the right place to put the lib for the stand alone oc4j instance. You can use the library tag within application.xml for server wide availability. Check out the article
http://otn.oracle.com/oramag/oracle/02-sep/o52oc4j_2.html specifically class loading in OC4J section
Any help would be greatly appreciated. Thanks in advance.

Similar Messages

  • What are best practice for packaging and deploying j2EE apps to iAS?

    We've been running a set of J2EE applications on a pair of iAS SP1b for about a year and it has been quite stable.
    Recently however we have had a number of LDAP issues, particularly when registering and unregistering applications (registering ear files sometimes fails 1st time but may work 2nd time). Also We've noticed very occasionally that old versions of classes sometimes find their way onto our machines.
    What is considered to be best practice in terms of packaging and deployment, specifically:
    1) Packaging - using the deployTool that comes with iAS6 SP1b to package is a big manual task, especially when you have 200+ jsp files. Are people out there using this or are they scripting it with a build tool such as Ant?
    2) Deploying an existing application to multiple iAS's. Are you guys unregistering old application then reregistering new application? Are you shutting down iAS whilst doing the deployment?
    3) Deploying ear files can take 5 to 10 mins, is this normal?
    4) In a clustered scenario where HTTPSession is shared what are the consequences of doing deployments to data stored in session?
    thanks in asvance for your replies
    Owen

    You may want to consider upgrading your application server environment to a newer service pack. There are numerous enhancements involving the deployment tool and run time layout of your application that make clear where you're application is loading its files from.
    If you've at a long running application server environment, with lots of deployments under your belt, you might start to notice slow downs in deployment and kjs start time. Generally this is due to garbage collecting in your iAS registry.
    You can do several things to resolve this. The most complete solution is to reinstall the application server. This will guarantee a clean ldap registry. Of course you've got to restablish your configurations and redeploy your applications. When done, backup your application server install space with the application server and directory server off. You can use this backup to return to a known configuation at some future time.
    For the second method: <B>BE CAREFUL - BACKUP FIRST</B>
    There is a more exhaustive solution that involves examining your deployed components to determine the active GUIDS. You then search the NameTrans section of the registry searching for Applogic Servlet *, and Bean * entries that represent your previously deployed components but are represented in the set of deployed GUIDs. Record these older GUIDs, remove them from ClassImp and ClassDef. Finally remove the older entries from NameTrans.
    Best practices for deployment depend on your particular environmental needs. Many people utilize ANT as a build tool. In later versions of the application server, complete ANT scripts are included that address compiling, assembly and deployment. Ant 1.4 includes iAS specific targets and general J2EE targets. There are iAS specific targets that can be utilized with the 1.3 version. Specialized build targets are not required however to deploy to iAS.
    Newer versions of the deployment tool allow you to specify that JSPs are not to be registered automatically. This can be significant if deployment times lag. Registered JSP's however benefit more fully from the services that iAS offers.
    2) In general it is better to undeploy then redeploy. However, if you know that you're not changing GUIDs, recreating an existing application with new GUIDs, or removing registered components, you may avoid the undeploy phase.
    If you shut down the KJS processes during deployment you can eliminate some addition workload on the LDAP server which really gets pounded during deployment. This is because the KJS processes detect changes and do registry loads to repopulate their caches. This can happen many times during a deployment and does not provide any benefit.
    3) Deploying can be a lengthy process. There have been improvements in that performance from service pack to service pack but unfortunately you wont see dramatic drops in deployment times.
    One thing you can do to reduce deployment times is to understand the type of deployment. If you have not manipulated your deployment descriptors in any way, then there is no need to deploy. Simply drop your newer bits in to the run time space of the application server. In later service packs this means exploding the package (ear,war, or jar) in to the appropriate subdirectory of the APPS directory.
    4) If you've changed the classes of objects that have been placed in HTTPSession, you may find that you can no longer utilize those objects. For that reason, it is suggested that objects placed in session be kept as simple as possible in order to minimize this effect. In general however, is not a good idea to change a web application during the life span of a session.

  • How to build and deploy JavaFX app

    OpenJfx forum is clumsy, awkward and practically unusable so please excuse posting it here.
    Say, I have written a, hopefully, correct .fx script source file or files.
    Then, next, what should I do to run it/them as a standalone Java program, and, an applet-like executable on the browser?
    The current tutorial on OpenJfx site has no mention on this most basic issue.
    Without any IDE, please.

    Got an half-answer on the openjfx:
    https://openjfx.dev.java.net/servlets/ProjectForumMessageView?messageID=20914&forumID=2666
    <quote>
    This information was gleaned from the mailing lists and a
    bit of elbow grease:
    http://jfx.wikia.com/wiki/Programmatically_invoking_a_JavaFX_Script
    http://jfx.wikia.com/wiki/A_command_line_development_of_HelloWorld.fx
    </quote>

  • Is there a documented solution for the FlashPlayer Metafile Download error that works?

    Many people are experiencing problems when downloading the new FlashPlayer version 10.3.183.5 from the Adobe website.  During the download process a "Metafile Download Error" occurs when performed from an office or client facing facility.   This issue is not isolated to Win7, but is also an issue with Win XP and/or Vista.  Is there a documented solution for the FlashPlayer Metafile Download error that works?

    Use the download links in this post when that error occurs: http://forums.adobe.com/thread/889580

  • How to build and deploy ejb in j2ee!!

    HI there!!
    Newbie Question. I know this is very rude to ask a question "How to build and deploy ejb in j2ee server??", but please help me. I just learned some servlets worked with tomcat. Now I want to learn more about ejb, could anyone suggest me any online tutorial or book where in it is explained step by step builiding and deploying ejb's in j2ee server, please help me. I would be grateful to you.

    A good book to start with is Enterprise JavaBeans by Monson-Haefel (O'Reilly press). It covers deployment of EJBs on J2EE servers. Also check out sites specific to your server, sometimes they have specific requirements (like Weblogic).

  • Building and Deploying Within a Directory ?

    Hi Guys,
    Iv just been going through the "Oracle9iAS Containers for J2EE Users Guide, Release 2 (9.0.2)" pdf and have juts gone through the Building and Deploying within a directory.
    This is something, as a developer I would love or even demand to be able to do as createing war , jar and ear files each time I make a change is a total time nightmare...
    Unfortunately I was'nt able to get the above working with a very simple app.
    Before trying the app I made sure I could deploy it normally as a an ear file which worked.
    Below follows a description of the dir structure plus info added to relavent .xml files ( gods theres so many )..
    j2ee/home/applications/BalanceManager
    WebModule/
    WEB-INF/
    lib/
    classes/
    web.xml
    AccountHolders.jsp
    META-INF
    EJBModule/
    META-INF/
    application.xml
    application.xml ( not the one in config dir but the one in the above dir struct, ear application.xml) :-
    <application>
    <display-name>BM</display-name>
    <module>
    <ejb>EJBModule</ejb>
    </module>
    <module>
    <web>
    <web-uri>WebModule</web-uri>
    <context-root>BM</context-root>
    </web>
    </module>
    </application>
    server.xml ( in j2ee/home/config )
    <application name="BM" path="../applications/BalanceManager" auto-start="true" />
    http-web-site.xml:-
    <web-app application="BM" name="BalanceManager/WebModule" root="/BM" />
    The above files have been edited as of the document above, which can also be found at http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95880.pdf.
    When I start up OC4J the application gets deployed ( dos prompt ):-
    C:\devenv\oc4j\j2ee\home>java -jar oc4j.jar
    Auto-deploying BM (New server version detected)...
    Copying default deployment descriptor from archive at C:
    pplications\BalanceManager\BaEJBModule/META-INF/orion-ej
    directory C:\devenv\oc4j\j2ee\home\application-deploymen
    Auto-deploying BaEJBModule (No previous deployment found
    Auto-deploying file:/C:/devenv/oc4j/j2ee/home/applicatio
    odule/ (New server version detected)...
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    and also a BM dir is created in the application-deployements dir.
    So everything looks great, but when I navigate to -
    http://localhost:8686/BM/AccountHolders.jsp
    I get http 500 error page cannot be displayed.
    So it looks like the context root BM did'nt get added to the servers web context,
    but why??
    Obviously AccountHolders.jsp is the jsp in the WebModule dir.
    Iv been tweaking this and that and obviously tweaking never seems to work so if any ones got any ideas or suggestions on how to setup and deploy within dirs instead of ears please reply to me asap.
    Look forward to your answers,
    Stephen.

    Stephen,
    The entry in the http-web-site.xml should be:
    <web-app application="BM" name="WebModule" root="/BM" />
    This should be the name of the web-module in the application (EAR).
    regards
    Debu Panda
    oracle

  • Build and Deployment Automation

    Hi,
    What are the best ways to Automate the build and deployment process to reduce time and increase accuracy. are there any recommendations to make the Build & Deployment process effective?
    Thanks & Regards

    Hi,
    For the builds you can use TFS builds (if you are using VSO hosted build services), and use VS 2013 Release Management to create release pipelines through different stages (For VSO use release management services).
    You can get details from below links
    https://curah.microsoft.com/42805/getting-started-with-release-management
    https://msdn.microsoft.com/en-us/library/dn449957.aspx
    http://www.visualstudio.com/en-us/explore/release-management-vs.aspx 
    https://msdn.microsoft.com/en-us/library/dd793166.aspx
    http://nakedalm.com/configuring-jenkins-talk-tfs-2013/
    http://blogs.msdn.com/b/visualstudioalm/archive/2012/10/19/building-ios-apps-in-tfs.aspx
    I just provided general information. If you have more questions when implementing, ask here and we will support you.
    Cheers!
    Chaminda

  • Build and deploy iPhone application from terminal

    Hi,
    I'm new to the Mac world and was trying to build an application from the terminal without success although the documentation mentions its possible (but doesn't provide any documentation on the tools or any other details).
    So, anyone can give me a simple example of how to build an application from the terminal and deploy it to the simulator and/or sign and deploy to an iphone?
    Thanks

    Hello lancea,
    sorry for not specifying my Qs clearly.
    But now I got clear idea about asant command.
    Actualy my problem is How to package an ear for obove mentiioned files, which all are in package.
    When I tried to build .ear for particular session bean and accessed from remote client
    I am getting following exeption. It seems application is not able to refer classes in package.
    C:\j2ee\orcaclient>java -classpath ".;c:/sun/appserver\lib\orcaClient.jar;C:\j2
    ee\orcaclient\jp\or\med\orca\sdk\server\base\manager\orcaAppClient.jar;c:/sun/ap
    pserver\lib\j2ee.jar;c:/sun/appserver\lib\appserv-rt.jar" -Dorg.omg.CORBA.ORBIni
    tialHost=JAVADEV01 -Dorg.omg.CORBA.ORBInitialPort=3700 jp.or.med.orca.sdk.server
    .base.manager.Client
    Exception in thread "main" java.lang.NoClassDefFoundError: jp/or/med/orca/dbs/DB
    SIllegalStatusException
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.sun.corba.ee.impl.util.Utility.loadStub(Utility.java:912)
    at com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableR
    emoteObject.java:285)
    at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
    at jp.or.med.orca.sdk.server.base.manager._DBSAccessorSessionHome_Stub.c
    reate(Unknown Source)
    at jp.or.med.orca.sdk.server.base.manager.Client.main(Unknown Source)
    I hope you got my problem.
    Thanks in advance.
    Regards,
    Prashant-

  • OSM 7.03 build and deploy

    We have installed the OSM server on Solaris Sparc server with 10.3.1 Weblogic server. The Eclipse is installed on the Windows machine which has 10.3.3 weblogic. Will building the cartrdiges with 10.3.3 weblogic lib files and deploying them on to a server which is 10.3.1 cause any issues?

    None of the Weblogic files referenced by Design Studio are bundled into the automation plugin files that are deployed to the server, so it shouldn't cause any issues. That being said, the safest (and supported) approach would be to have the same WLS version in both places.
    Generally we would recommend customers use WLS 10.3.3 if you are on OSM 7.0.3.x. There are a number of important fixes in that release that are important to consider.
    Brian.

  • How to automate the build and deploy?

    Is there any way to build and deploy component to UCM using command line? such as ant script? or is there anyway to run "component wizard" in a command line without GUI? I'm looking for a way to automate the build and deploy process.
    Thanks

    Here is link for build script using ant
    http://wiki.oracle.com/page/UCM+Ant+Buid+Script
    there are some videos in you tube also
    http://www.youtube.com/watch?v=QIT6gkEC2Tc

  • Cross Farm Continuous build and deployment practice

    Hi All,
    What is the best practice to move the wsp deployments and content deployment from dev server to test server 
    and then test server to production? 
    powershell commands is one of the solution , but for continuous build and deployment is their any better practice?
    Is there any tool which keeps track of the deployments (similar to cruise control for build)
    Thanks and Regards,
     Swati
    SP Page: http://www.facebook.com/SharePointQ SP Blog: http://swatipoint.blogspot.com

    I think this is one of the way of doing this
    http://www.sharepointnutsandbolts.com/2011/06/sp2010-continuous-integrationpt-1.html
    SP Page: http://www.facebook.com/SharePointQ SP Blog: http://swatipoint.blogspot.com

  • Build and Deployment Tools

    Hi All,
    Are there automated build and deployment tools available? are there any recommendations?
    Thanks
    Sravz

    user11138361 wrote:
    Is there one which does both
    1. Automatic Build
    2. Automatic DeploymentYes, lots of them. Search for 'Continuous Integration' tools. We use Jenkins in our shop.

  • Building and Deploying Java Portlets

    I want to build a java portlet, the typical HelloworldApp.class. I've created the provider.xml file, the HelloWorldApp.class and I'm ready to deploy the provider. I follow the orders of the "How to build a Java Portlet" document. Then I go to the "Configuring OC4J" section where it says to refer tha article "Packaging and Deploying your provider". There, in the "Packaging your Provider" paragraph, says: 2. extract the template war file..." Where is that file?? Can anybody help. It's supposed to be an easy procedure. Isn't it? The same prosedure is followed to build a jsp portlet and a servlet portlet. Please help!!!
    Best Regards
    George Drepaniotis

    hi
    template.war file is in pdk.zip.
    it is in the template.ear file. when you extract template.ear file you can see that.
    i waste very much time to find it.i understand that
    oracle help documents are so complex and not clear.
    there are many products versions.and there is no organization to productbased documentation.
    if you know how to create .war and .ear file in windows200 please announce me.
    best regards

  • How to build and deploy EJB3.0 jar on JBoss Server

    Hi:
    I want to create web service using EJB3.0.
    For that first i have created EJB project,in that i add following code:
    package com.ejb;
    import javax.ejb.Stateless;
    import javax.jws.WebService;
    @Stateless
    @WebService
    public class TemperatureConverter {
         public double celsiusToFarenheit(double temp){
              return ((temp*1.8) + 32);
         public double farenheitToCelsius(double temp){
              return ((temp-32)/1.8);
    }Now i want to build and deploy the jar on server.
    How can i do this?
    Thank You.

    Hi AnupDesai,
    I suggest you to have a read of the [*JBoss EJB3 Documentation*|http://www.jboss.org/ejb3/docs].

  • How to Build and Deploy Flex application in EP6

    Hi All,
    Can anyone tell how to build and deploy Flex application in EP6.
    I want to build a normal application in flex and present it through iviews. How do I configure my Iiview to have flex component running in Portal Environment.
    Thanks
    Deepak

    A good book to start with is Enterprise JavaBeans by Monson-Haefel (O'Reilly press). It covers deployment of EJBs on J2EE servers. Also check out sites specific to your server, sometimes they have specific requirements (like Weblogic).

Maybe you are looking for

  • HP Photosmart 7515 says it is connected to wireless network but won't print from anywhere.

    My HP photosmart 7515 used to work on my network.  I could print from iphones and my mac mini.  Now it says its connected, it has the IP address 10.0.1.3 and everything on the HP network configuration page says it is functioning normally, but the pri

  • Number of elements in an array

    Hi, I have been trying looking for a simple function to get number of elements is an array. Have gone though older posts but could not find answer to it. The function should work for following examples: char* name = "nInstruments" float state[] = {1.

  • BAPI or FM for CHANGING Internal Order

    Hi all, I am looking for a BAPI or Function module for changing a End of Work field (DATE field) for that Internal Order.  Transaction for internal order KO02 Please suggest. Edited by: Anu on Jul 6, 2009 3:30 PM

  • Mailto support

    Best I can tell, it is not possible to email any content other than user-written notes from an ibook created in iBooks Author. When text is highlighted and added to notes, the highlighted/copied text cannot be emailed--only the user-written notes. Wh

  • Louts Notes JDBC Connectivity problem

    Hi all, I have problem accessing the lotus notes database in my own PC. The error which I have encountered is "SQLException [Lotus][Domino Driver for JDBC] unable to find path to server. These are my codings: connect instance = new connect();      St