Fastest way of re-deploying j2ee applications

I am using Iplanet Application server to deploy j2ee applications. I want to know the fastest way to redeploy whole application after making some changes in JSPs, Servlets and EJBs?
Do i have to pack the whole ear again and then re-deploy it again to see the changes or there is any alternative?

If change is done in JSPs, u can test it copying in public_html folder in J2EE. And when JSPs are finalized make EAR file and redeploy it.But for EJBs u have to redeploy the EAR file again. Remember public_html folder contains files teporarily, if application is undeployed all the files are deleted.

Similar Messages

  • Updating a Deployed J2EE Application Component

    Hi All,
    I was going through this link below :
    http://e-docs.bea.com/wls/docs61/adminguide/utils.html#1139180
    Updating a Deployed J2EE Application
    To update a specific component, enter the following commands:
    % java weblogic.deploy -port 7001 -host localhost -component
    Basic_example:sampleserver,exampleserver update weblogicpwd Basic_example c:\updatesample\ejb\basic\BasicStatefulTraderBean.jar
    update will cause the application or component to be updated on all server instances
    to which is targeted.
    Does this require the application be deployed in a "Expanded Directory Format"
    and "Auto-deployment" turned 'on' ? - which is not good for Production, I guess.
    Regards,
    Nathan Pillai

    Hi Uday,
        Steps to be followed !!!
    1. Take a Copy of the .Ear to test.EAR
    2. Rename test.Ear to test.Zip
    3. Extract the Files present in the test.zip into a Folder 'test' (this folder has the .War file)
    4. Rename .war to .Zip
    5. Extract the Contents from .zip to a Folder(myRoot Folder should contain the JSP, WEB-INF, Filters, WebContent etc)
    6. Open NWDS --> create a Web Container Project(myContainerWar) in J2EE perspective
    7. Select myContainerWar --> right Click --> Choose IMPORT File --> Browse --> Select MYROOT folder created by us. FINISH
    WAR holds the total Structure of the Web Component based application.
    Meaning WAR structure will get created in the NWDS !!!!
    Once you are finished with the Changes, you have to create a EA project in NWDS and add the new WAR to it. Build the .EAR and deploy it !!!
    Thanks
    Suresh KB

  • SaxParser error when deploying J2EE application on 10gAS for IBM AIX 5.2

    Hello,
    We have problems deploying J2EE application on 10gAS 9.0.4.0.0, on IBM AIX 5.2. We deployed it on 10gAS for Windows 9.4.0.0 and 9.0.4.0.1, and on 10gAS 9.0.4.0.0 for Linux, without any trouble (installed ADF runtime, etc.).
    Application architecture is JSP/Struts/ADF BC4J. We used JHeadstart 10g framework.
    As soon as we start the application, we get the message described bellow. We saw that J2SE version, shipped with the AS is 1.4.1? On all the other AS versions, and in embedded JDeveloper OC4J is 1.4.2.
    We also use the Xerces library xercesImpl.jar, which is located in .../WEB-INF/lib directory (which contains SaxParser implementation), if that is important. But the application fails right on the beginning.
    The complete error message follows:
    javax.xml.parsers.FactoryConfigurationError: Provider null could not be
    instantiated: java.lang.NullPointerException at
    javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:30) at
    org.apache.commons.digester.Digester.getFactory(Digester.java:512) at
    org.apache.commons.digester.Digester.getParser(Digester.java:686) at
    org.apache.commons.digester.Digester.getXMLReader(Digester.java:902) at
    org.apache.commons.digester.Digester.parse(Digester.java:1567) at
    org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1433) at
    org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at
    oracle.jheadstart.controller.struts.JhsActionServlet.init(JhsActionServlet.java:219) at
    com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4523)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2561)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind[Oracle Application Server Containers for J2EE 10g
    (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:568)
    Any information would be helpful,
    Vladimir,
    MAOP d.o.o., Slovenia

    Figures, I've been fighting with this for the past day and a half and I figure it out shortly after I post the question.
    It turns out the tiles.jar that was in our WEB-INF/lib directory was an old one. It looks like the newer struts.jar (from jdeveloper) we're using includes the tiles information. Once I removed tiles.jar, commons-dbcp, pool, resources, and services, it works now.
    It looks like jdeveloper overwrites most of those files with it's built in struts integration, and we've just been lucky before that struts.jar was being loaded before tiles.jar and something with oas 10.1.3 is loading the jars in a different order--but I'm just guessing here.

  • What is the fastest way to transfer files and applications from an older iMac to a new MacBook Pro?

    What is the fastest way to transfer files and applications from an older iMac to a new MacBook Pro?
    I have a Firewire cable and Thunderbolt adapter, but no icons showing either Mac appear on either desktop.

    The fastest way is to use Carbon Copy Cloner and a external drive formatted GUID OS X Ext. J in Disk Utlilty, then connecting to the new Mac and using Migration Assistant in the Utilites folder.
    Even faster, if you can determine your going to replace all the apps from fresh sources anyway (like if the older Mac's OS X verison is old thus the apps) then just use a external drive and copy just your files to it, then connect to the new Mac and transfer over.
    Some apps you can just grab the registration code and install it fresh on the new machine with the old code, talk to the developer about transfering the program, as long as it's deleted on the older Mac in the process.
    It used to be Firewire Target disk mode was fastest, but since Thunderbolt came out...
    Notice this support doc hasn't been updated since june 2012, no Thunderbolt info
    https://support.apple.com/kb/HT1661

  • Deploying J2ee application using JBOSS3.2.5 and Eclipse 3.0

    Hi all
    i am trying to deploy a J2EE application using JBOSS3.2.5 and Eclipse 3.0.
    I have written the EJB bean, home, remote and a test JSP page. Can someone tell me the exact procedure...step by step ways to deploy the JBOSS server and run my application.
    My package structure is
    MyProject
    ejb
    client
    Servlet.java
    server
    Bean.java
    shared
    home.java
    remote.java
    please tell the various jar files that i must include. Kindly give information about the directory structure, the xml file details and the WAR file generation.
    i googled this topic..but i got the results for eclipse 2.0....
    Thankz in advance
    Arun :)

    Don't cross-post:
    http://forum.java.sun.com/thread.jsp?thread=550678&forum=13&message=2689332
    http://forum.java.sun.com/thread.jsp?thread=550673&forum=31&message=2689289

  • Deploying J2EE application on one instance for Clustering

    Hi,
    I was just wondering if anyone attempted this before. We are going to have multiple clusters of iAS with J2EE applications on each of them. However the source will be hosted on a non-iAS, non-J2EE disk and on the iAS/J2EE cluster, we will have a virtual link to the source files. That way, we only need to put the source files in one area and have the J2EE be a virtual link to the original source.
    Thanks.

    Hi. Well someone here suggested we have an OC4J instance on a Linux machine and another OC4J instance on another Linux machine. Each of them does not contain the original J2EE application source to be deployed. It will have a mirror of the J2EE application with each source files (JSP, class files, images, etc) acting as a virtual link to a centralized location to just store the application source.
    So to visualize, we have two different OC4J clustered instances with the empty source files pointing to one centralized location of the source files.
    This would only help us deploy in one location as oppose to each clustered location. Anyone ever tried this one before?

  • No Data Source found error while deploying J2EE application

    hi
    i am new to Oracle9ias. I was going through the Oracle by Example tutorial available on the site. There i followed the steps to deploy a sample J2EE application. Acc to it i first created the datasource and then tried to deploy the application. But i am getting "datasource not found" error. I am totally unaware of the possible cause of this. The error in specific is as follows
    Deployment failed: Nested exception Root Cause: No DataSource found at jdbc/hrDS. No DataSource found at jdbc/hrDS
    Please help
    thanks
    nitin

    Document is outdated & for now could you please follow http://dev.day.com/content/kb/home/cq5/Development/HowToConfigureSlingDatasource.html

  • Error in deploying J2EE application

    Hello
    I created EJB application and trying to deploy the same into my J2EE server (we are using J2EE engine of our XI WAS server).While deploying .ear file through NWDS its giving following error
    "Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !"
    we have mapped J2EE engine correctly i.e. Message Server IP and port. Still its giving this problem.Is it something need to be configure on J2EE server side?
    Regards
    Ashish

    Hi Ashish,
    First Configure your J2EE Server correctly.
    example:
    In your work bench.
    Go To  windows - preference - SAP J2EE Engine
    Select your J2EE engine accordingly..if you installed in it local the select SAP J2EE engine is installed on local host.
    give instance name and system name.
    ex: System name - F31
    J2EE Instance - 30
    SCS Instance - 31
    close and open Webdynpro.
    Go to J2EE Engine Tab.
    Dispatcher ,SDM,Server0 Everything should be in Green colour.
    Otherwise give some time to server for starting process.
    Now It should work for you.
    Now try to deploy your Application.
    Regards,
    Karthick

  • Deployed J2EE application successfully. But cannot access the application

    I installed SAP Netweaver 2004s and tried to create a Web application and an ear file looking at the example given at
    http://help.sap.com/saphelp_nw04/helpdata/en/7f/5c93acbd1343d4be7d79dc298faa7b/frameset.htm
    I followed all the steps listed there. The deployment from the Developer Studio showed success. When I try to access the application using the url
    http://localhost:50000/Calculator/Calculator.jsp I get the following error. I am not sure why it is looking at com.sap.engine.docs.examples for the file.
    The requested resource /Calculator/Calculator.jsp is not available
      Details:   File [Calculator/Calculator.jsp] not found in application root of alias [/] of J2EE application [sap.com/com.sap.engine.docs.examples].
    Please let me know what I am possibly doing wrong here. Any help is very much appreciated.

    Hi Viji,
    If you are opening the web browser from your desktop , instead of <localhost>, you should use the name of the machine on which your J2EE engine is installed.
    Call the calculator application by entering its URL in the Web browser:
    http://<host>:50000/<contextRoot>/<Name_of_JSP.jsp>
    Where <host> is where j2ee is installed.
    Regards,
    Siddhesh

  • HELP!!! Cannot deploy J2EE application with Oracle JDBC driver...

    Hi,
    I am writing a J2EE application which (in theory, at least)
    connects to an Oracle 9i database.
    I have written a simple Java test app utilising only the
    java.sql package classes (e.g. Connection, ResultSet) to directly
    connect to the database. As long as the classes12.zip is in the
    CLASSPATH it works fine.
    Now I have written an Enterprise application (SessionBean,
    Remote and Home interface and Client) which I am attempting to
    deploy via deploytool.
    If I include just the client jar and EJB jar in the application
    it deploys okay but when I run the application (using runclient)
    it produces the following error:
    java.lang.NoClassDefFoundError: oracle/jdbc/OracleDriver
    (It is nested within other error output but that is the core
    issue).
    However if I try to include the JAR libraries into the app
    (classes12.jar and nls_charset.jar from $ORACLE_HOME/jdbc/lib),
    then I get the following output from deploytool when I hit the
    "deploy" (or "redeploy") button:
    Deployment error: invalid entry compressed size
    (expected 14411 but got 14580 bytes)
    Can someone please tell me what is going on???
    How can I deploy the J2EE application including the Oracle
    JDBC Driver???
    My only other option at the moment is to place all the function-
    -ality in the client and not use the J2EE framework.
    Any help is greatly appreciated.
    Regards,
    Ben New
    Leftclick Software Development
    [email protected]

    OK Ben,
    I admit I'm a bit confused. Let me see if I understand where you're
    coming from.
    You have written a J2EE application that includes a session bean,
    correct? If so, your session bean needs to be deployed to an EJB
    container. What container are you using? The Oracle 9i database
    has an embedded EJB container which (theoretically) you can use.
    However, as far as I know, Oracle recommends you use OC4J as the
    EJB container. So again I ask, what EJB container are you using?
    If, as you say, you are new to EJB, then I think you should
    immediately start working wiht OC4J as your EJB container.
    Did you look at the tutorial link I gave in my previous post? It
    explains -- step by step -- how to create, deploy and run a J2EE
    application using OC4J as the EJB container. It also has links to
    introductory material for people without little knowledge of J2EE
    and EJB.
    I have 9iAS Enterprise Edition and 8.1.7.1.0 database server (and
    OC4J) installed on my SUN machine. I cannot find any of the
    utilities you mention -- "j2eeadmin","runclient" or "deploytool".
    What Oracle software have you installed? What are the versions?
    What platform are you using?
    A J2EE application (according to the specification from SUN)
    consists of modules. A module can either be a client module or an
    EJB module. A client module can either be a java application client
    or a web-based client (servlet or JSP). A J2EE application usually
    contains one client module and one EJB module. A J2EE application
    needs to be deployed to a J2EE container.
    Hopefully the J2EE picture is becoming clearer. I think you need
    to read some introductory material regarding J2EE if you intend
    to become proficient at it.
    I feel that you are under the impression that a J2EE application
    is a glorified JDBC application. It isn't (as far as I'm aware).
    Good Luck,
    Avi.

  • Deploying J2EE application with MDB

    Hi,
    I am looking for a solution to deploy a J2EE application with MDB and the resource provider as well. For now, I only see the solution to manually create a resource provider by the EM enterprise console or to add the resource provider into the application.xml in the oc4j instance.
    Any help appreciated
    Peter

    Hi,
    This looks like an incorrect AQ JMS Jar file. Please contact the AQ team if this is a known issue and if required log a tar against AQ.
    Thanks
    Raja

  • Deploying J2EE application on Red Hat Linux

    We have a J2EE application that has been successfully deployed and running on a Windows 2000 server, but has not been successful on Red Hat Linux.
    It appears that the application has been deployed on on Linux, but when we invoke the application this is the error encountered:
    javax.naming.NameNotFoundException : No object bound for java:comp/env/SecurityService where SecurityService is our EJB bean.
    (1)Is there any difference in deploying an EJB application on a WIndows 2000 server and a Linux server in terms of deployment descriptors, JNDI properties etc? (2)Can anybody provide examples or links to deploying an EJB application on Linux?
    Thanks in advance.

    I think you're looking up the wrong JNDI names for the SecurityService bean.
    So you check the location attribute of the orion-ejb-jar.xml file and pass the same value in the lookup method.

  • Deploying J2EE applications on one location

    Hi, someone in our group recommended this for our iAS (10.1.2.0.2) set up.
    1) We want multiple OC4J instances to be on multiple linux machines for clustering.
    2) Instead of deploying a J2EE app on each instance, can we configure the J2EE home to look at one centralized location? We would have all the source files be hosted on one centralized disk and have each OC4J instances (clustered) to be configured to use the source files on the centralized location?
    Thanks.

    Hi. Well someone here suggested we have an OC4J instance on a Linux machine and another OC4J instance on another Linux machine. Each of them does not contain the original J2EE application source to be deployed. It will have a mirror of the J2EE application with each source files (JSP, class files, images, etc) acting as a virtual link to a centralized location to just store the application source.
    So to visualize, we have two different OC4J clustered instances with the empty source files pointing to one centralized location of the source files.
    This would only help us deploy in one location as oppose to each clustered location. Anyone ever tried this one before?

  • Error deploying J2EE Application (EAR) to standalone OC4J

    Hi
    I'm invoking the admin_client.jar utility to deploy a webservice on a standalone OC4J, here is the command:
    java -jar %OC4J_HOME%\j2EE\home\admin_client.jar deployer:oc4j:localhost:23791 oc4jadmin test -deploy -file C:\10GIDS\BIN\johnTestWS.ear -deploymentname johnsws -bindAllWebApps default-web-site -contextRoot johnsws
    I get the following error:
    Deploy error: Deploy error: Operation failed with error:Error compiling :C:\JDeveloper_10g\j2ee\home\applications\johnsws\johnTestWS-web: Syntax error in source or compilation failed in: C:\JDeveloper_10g\j2ee\home\application-deployments\johnsws\johnTestWS-web\oracle\generated\runtime\XmlreturnBase__SOAPSerializer.java java.lang.NoClassDefFoundError: com/sun/tools/javac/MainException in thread "main"
    The java.lang.NoClassDefFoundError: com/sun/tools/javac/MainException in thread "main" error string (from my limited understanding) would mean there is a jar file missing from the CLASSPATH or something, yet, because the '-jar' option is selected when running the java command I don't have the option to include any classpath in the command string. What am I doing wrong?
    I've been trying to assemble and deploy this web service for ages now and I think I'm very close to the end, can someone please show me that I'm doing something very simple wrong....?

    smydo,
    I see you answered yourself in the other forum where you posted the same question:
    Problems deploying Web Service to standalone OC4J from Windows command line
    Good Luck,
    Avi.

  • Search of Tutorial on deploying j2ee applications(link)

    Can you please have a look at my post in the EJB forum and assist if possible:
    http://forum.java.sun.com/thread.jspa?threadID=636097&tstart=0I hope it is not bad netiquette, but it seems that forum is more rarely visited, and this one is more dynamic.
    Thank you for your attention
    Mike

    I think I found out where the major problems come from, until now we have defined no ejb references. And looked up beans' local home interfaces using the above syntax ("local..."). It seems that all ejb interrelations must be described in the ejb-jar xml as references. It seems inconvenient to me to specify for each bean which others it will use.
    I will play with the ejb-refs now, to see if I can make it work. But I will have to analyze the application to check how beans interact in order to describe the references properly. Of course we can continue the 'old way' by looking up remote interfaces, but I think this will introduce overhead.
    Please inform me whether I am wrong, i.e. there is some way not to change so generally the deployment descriptor and continue looking up the local home interfaces without having to declare ejb references
    Thanks for the attention
    Mike

Maybe you are looking for

  • How to save downloaded update installer files

    How can I locate a downloaded update installer file so I can save it and use to install on another mac without having to download all over again?  Today I downloaded updates for OS X and also for Office 2011.  The first is over 2GB and the second aro

  • Getting UTC date from NSDate

    I am using following function to convert NSDate in "UTC" date. -(NSString *)getUTCFormateDate:(NSDate *)localDate NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; NSTimeZone *timeZone = [NSTimeZone timeZoneWithName:@"UTC"]; [dateForma

  • Link color showed up as purple when I deliberately set it to gray

    Hi there, I have a text, and I set it as a link to another page. I also set the link color to be gray, and have it turn black during hover. Why is the text color PURPLE in the preview??????? The color is correct (gray) in dreamweaver, but when I prev

  • Looking for Oracle Document A33745

    Dear Sirs, I've read several research articles which cite a paper titled "Concurrency Control: Transaction Isolation and Serializability in SQL92 and Oracle7. Oracle White Paper, Part No. A33745, July, 1995." I haven't been able to find this white pa

  • Office 2013 - File New Default Location

    In Word when you go File - New is there any way to get it to default to the "Shared" templates instead of the "Featured" templates?