Deploying application in Exploded format

For simplification and to make changes easier we want to deploy our EJB's and web
application
in exploded format.
I created the following directory structure in my home area:
Application/
deploy/
META-INF/
application.xml
web/
jsps, html
WEB-INF/
*.xml
classes/
servlet .class files
lib/
ejb/
META-INF/
*.xml
com/ .... directory structure for EJB.
I deployed the application using the admin console and referencing myhome/application/deploy.
This results in the following error in the log:
<Dec 18, 2001 5:25:46 PM MST> <Error> <HTTP> <[web] Error reading Web application
"/myhome/application/deploy/web"
java.net.ConnectException: Tried all: '1' addresses, but could not connect over
HTTP to server
: 'java.sun.com', port: '80'
None of my WLS servers are configured to use port 80. This particular server
is configured
to listen on port 7009.
Any help or insight would be greatly appreciated.

I think I ran into the same problem with using the localhost address on our
application. Are you using the ip of one of your managed servers?
Are you upgrading or using WLS 6.1 SP1 ..by the way?
"Terry Jahelka" <[email protected]> wrote in message
news:3c20c99e$[email protected]..
>
For simplification and to make changes easier we want to deploy our EJB'sand web
application
in exploded format.
I created the following directory structure in my home area:
Application/
deploy/
META-INF/
application.xml
web/
jsps, html
WEB-INF/
*.xml
classes/
servlet .class files
lib/
ejb/
META-INF/
*.xml
com/ .... directory structure for EJB.
I deployed the application using the admin console and referencingmyhome/application/deploy.
This results in the following error in the log:
<Dec 18, 2001 5:25:46 PM MST> <Error> <HTTP> <[web] Error reading Webapplication
"/myhome/application/deploy/web"
java.net.ConnectException: Tried all: '1' addresses, but could not connectover
HTTP to server
: 'java.sun.com', port: '80'
None of my WLS servers are configured to use port 80. This particularserver
is configured
to listen on port 7009.
Any help or insight would be greatly appreciated.

Similar Messages

  • Deploying Enterprise application in exploded format

    ewsgroup: to weblogic.developer.interest.webserver
    For simplification and to make changes easier
    we want to deploy our EJB's
    and web application in exploded format.
    I created the following directory structure
    in my home area:
    Application/
    deploy/
    META-INF/
    application.xml
    web/
    jsps, html
    WEB-INF/
    *.xml
    classes/
    servlet
    .class files
    lib/
    ejb/
    META-INF/
    *.xml
    com/ .... directory
    structure for EJB.
    I deployed the application using the admin
    console and referencing
    myhome/application/deploy. This results in
    the following error in the log:
    <Dec 18, 2001 5:25:46 PM MST> <Error> <HTTP>
    <[web] Error reading
    Web application "/myhome/application/deploy/web"
    java.net.ConnectException: Tried all: '1' addresses,
    but could not connect
    over HTTP to server : 'java.sun.com', port:
    '80'
    None of my WLS servers are configured to use
    port 80. This particular
    server is configured to listen on port 7009.
    Any help or insight would be greatly appreciated.

    I think I ran into the same problem with using the localhost address on our
    application. Are you using the ip of one of your managed servers?
    Are you upgrading or using WLS 6.1 SP1 ..by the way?
    "Terry Jahelka" <[email protected]> wrote in message
    news:3c20c99e$[email protected]..
    >
    For simplification and to make changes easier we want to deploy our EJB'sand web
    application
    in exploded format.
    I created the following directory structure in my home area:
    Application/
    deploy/
    META-INF/
    application.xml
    web/
    jsps, html
    WEB-INF/
    *.xml
    classes/
    servlet .class files
    lib/
    ejb/
    META-INF/
    *.xml
    com/ .... directory structure for EJB.
    I deployed the application using the admin console and referencingmyhome/application/deploy.
    This results in the following error in the log:
    <Dec 18, 2001 5:25:46 PM MST> <Error> <HTTP> <[web] Error reading Webapplication
    "/myhome/application/deploy/web"
    java.net.ConnectException: Tried all: '1' addresses, but could not connectover
    HTTP to server
    : 'java.sun.com', port: '80'
    None of my WLS servers are configured to use port 80. This particularserver
    is configured
    to listen on port 7009.
    Any help or insight would be greatly appreciated.

  • J2ee application in  exploded format in oracle 10g

    sorry: folder structure is like this:
    test_app
    --META-INF
    -----application.xml     
    --test_web
    -----pages
    -------welcome.jsp
    -----WEB-INF
    -------web.xml
    -------lib
    -------src     
    Regards,
    Roopa.
    Message was edited by:
    user447401

    Roopa, it looks like there is no problem with the deployment of your application in exploded format. Have you accessed http://server-ipaddress:7778/test_app/pages/welcome.jsp? Any problem access http://server-ipaddress:7778/j2ee/, the default home page of the default-web-app ?
    When you say the url http://server-ipaddress:7778/test_app is not working, what is the error message if any on the browser, on server console, in the server.log and http-web-access.log of ORACLE_HOME/j2ee/home/log/, ORACLE_HOME/j2ee/home/application-deployments/test_app/application.log?

  • Help redeploying an application in exploded format

    Hi,
    I am trying to redeploy my application that has been deployed in exploded
    format,
    but it doesn't seem to be working.
    I am following the steps presented in the Admin guide as follows:
    1. I have an empty file named REDEPLOY in the directory where my exploded
    application resides.
    2. I make my changes to my application & compile. The .class files end up
    in a different folder than
    my exploded deployment directory.
    3. I copy the updated .class files to the exploded deployment directory.
    4. Touch the REDEPLOY file to update its timestamp.
    But my new changes are not seen. (Of course they are seen if I restart the
    server).
    My environment is W2K; WL6.1, SP1.
    Any ideas?
    Thanks,
    Beth

    The REDEPLOY file is inside the WEB-INF directory and we still couldn't get
    it to work.
    Our Web Application resides outside the Weblogic Home directory and we are
    compiling
    directly into this directory now (the original message stated we were
    compiling to a different
    directory, then copying the .class files).
    We were able to get the hot redeploy working by using the Weblogic Console
    and unchecking &
    rechecking the check box that said whether or not the application was
    deployed- the current environment
    that this is working is WL6.1 (we backed out the Service Pack for a
    different reason). We did
    find that we do need to shut down any existing browser sessions; but as long
    as we start a new browser
    session we don't need to restart the WL server and all the new changes are
    picked up.
    Even though the hot redeploy is working for us without touching the REDEPLOY
    file, I'm
    still curious if we are missing something here about how this works. If
    anyone has any ideas,
    I'd like to hear them.
    Thanks,
    Beth
    "Mihir Kulkarni" <[email protected]> wrote in message
    news:[email protected]..
    The REDEPLOY file should be inside the WEB-INF directory of the exploded
    webapp.
    http://e-docs.bea.com/wls/docs61////webapp/deployment.html#138990
    - mihir
    Beth wrote:
    Hi,
    I am trying to redeploy my application that has been deployed in
    exploded
    format,
    but it doesn't seem to be working.
    I am following the steps presented in the Admin guide as follows:
    1. I have an empty file named REDEPLOY in the directory where myexploded
    application resides.
    2. I make my changes to my application & compile. The .class files endup
    in a different folder than
    my exploded deployment directory.
    3. I copy the updated .class files to the exploded deploymentdirectory.
    4. Touch the REDEPLOY file to update its timestamp.
    But my new changes are not seen. (Of course they are seen if I restartthe
    server).
    My environment is W2K; WL6.1, SP1.
    Any ideas?
    Thanks,
    Beth

  • Deploying web application in OAS Release 3 (10.1.3.1.0) in exploded format

    How to deploy a web application in exploded format in OAS server.

    Refer these:
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28221/depapp003.htm#JIEJB00906
    http://download.oracle.com/docs/cd/B31017_01/migrate.1013/b31269/servlets_weblogic.htm#i1018012
    Thanks
    Shail

  • J2ee Web application exploded format in oracle 10g

    Hi,
    I am trying to develop a simple j2ee application in Exploded Format
    in oracle 10g AS. i have created a new OC4J instance called
    TestOC4j for this. A .war file works fine in this instance.
    I have placed the application under applications directory of TestOC4j.
    I have made entries in server.xml, oc4j_mod.conf,
    default-web-site.xml,http-web-site.xml and application.xml in META-INF
    of the application.
    The application get deployed with no errors.gets created in
    application-deployments too.
    But the url http://server-ipaddress:7778/test_app is not working.
    Please help.
    The folder struture is as follows:
    test_app
    --META-INF
    -----application.xml
    --test_web
    -----pages
    -------welcome.jsp
    -----WEB-INF
    -------web.xml
    -------lib
    -------src
    The entries in server.xml is as follows:
    <application name="test_app" path="../applications/test_app" auto-start="true" />
    <web-site path="./http-web-site.xml" />
    The entries in application.xml is as follows :
    <module>
    <web>
    <web-uri>test_web</web-uri>
    <context-root>/test_app</context-root>
    </web>
    </module>
    The entries in default-web-site.xml is as follows:
    <web-app application="test_app" name="test_web" load-on-startup="true" root="/test_app" />
    The entries in http-web-site.xml is as follows:
    <web-app application="test_app" name="test_web" load-on-startup="true" root="/test_app" />
    The entries in oc4j_mod.conf is as follows:
    Oc4jMount /test_app TestOC4j
    Oc4jMount /test_app/* TestOC4j
    Regards,
    Roopa

    Roopa, it looks like there is no problem with the deployment of your application in exploded format. Have you accessed http://server-ipaddress:7778/test_app/pages/welcome.jsp? Any problem access http://server-ipaddress:7778/j2ee/, the default home page of the default-web-app ?
    When you say the url http://server-ipaddress:7778/test_app is not working, what is the error message if any on the browser, on server console, in the server.log and http-web-access.log of ORACLE_HOME/j2ee/home/log/, ORACLE_HOME/j2ee/home/application-deployments/test_app/application.log?

  • Bug in deploying in exploded format

              when i deploy my whole application in exploded format..the welcome page is not
              picking up from the web.xml file.is it a bug? if anybody knows,i would be appreciated
              if you reply me soon
              thanks
              Seri
              

    [att1.html]
              

  • Read XML file in WEB-INF works in exploded format but fails in EAR

    I'm able to read an XML file stored in the WEB-INF when my application is deployed in the exploded format, but when its deployed in an EAR, the reading fails.
              I read from forums that getRealPath could fail, so I added in the getResourceAsStream to fall back on. But in the EAR format, both fails.
              What did I miss out?
              Here's my codes:
                          StringBuffer configFileName = new StringBuffer();
                configFileName.append(File.separatorChar).append("WEB-INF");
                configFileName.append(File.separatorChar).append("app-config.xml");
                String fileName = getServletContext().getRealPath(configFileName.toString());
                if (fileName == null) {
                  request.setAttribute("efs/xmlmappings-is", getServletContext().getResourceAsStream(configFileName.toString()));
                } else {
                  request.setAttribute("efs/xmlmappings-str", fileName);
              

    Hi          > Thread.currentThread().getContextClassLoader().getReso
              > urceAsStream()
              >
              > getClass().getClassLoader().getResourceAsStream()
              > should also work
              > if the file is in WEB-INF/classes
              >
              > regards
              > deepak
              It works, thanks!

  • Deploy web application with exploded directory format

    I am quite new with Oracle9iAS Containers for J2EE. Currently, my project is not using EJB, only JSP and Servlets. I want to deploy the war file with exploded directory format. I don't want to use the default web application directory j2ee/home/default-web-app. The "Using Oracle9iAS Containers for J2EE" get start documentation only explained how to deploy J2ee application. What about the web application without EJB jar file? Anybody knows how to do that. Please let me know.
    Thanks in advance.

    Though you don't have ejbs, you can still use the ear file format. This would be most convenient way of deploying.
    Use of a tool like Ant is recommended if you are not using JDeveloper.
    Also, you can findinfo on deploying using a exploded directory
    http://otn.oracle.com/docs/tech/java/oc4j/htdocs/getstart.htm#1027810
    But recommed having ear file as it is convenient. If you want to see an example of use of Ant and deploying using ear file
    check out one of the recently posted how-tos E.g. http://otn.oracle.com/tech/java/oc4j/htdocs/how-to-servlet-events.html

  • Unable  to deploy a web application in war format

    Hello,
    I have created a chat application containing jsps and beans, and deployed it first
    in the exploded directory format.
    It works fine and I was able to run and test it.
    Since all the tests are done and the module is over,now i want to package it in
    war file and deploy it.Here comes the problem :-
    I have packaged the application in a war file using jar command and copied it
    under applications directory but when i restarted the server(wls 6.0 sp1) ,i found
    in console the application is deployed under applications node and not under web
    applications node-why?
    Agian unpacked the war file and deployed it in exploded directory format now the
    console shows it under web app node then why does not it deploy it as web application
    when deployed in war format.
    Any body faced the same situation,Plz help.
    rds
    rashmi

    In 6.0, if a web app is showing up under the "applications" node instead of
    the "web applications" node, I suspect you have either omitted or
    mis-configured the WEB-INF/web.xml deployment descriptor.
    Check out
    <http://e-docs.bea.com/wls/docs60/programming/webappdeployment.html> for
    help on writing the deployment descriptor, or upgrade to WebLogic Server 6.1
    where WLS creates a default web.xml for you if you don't supply one.
    "Rashmi" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hello,
    I have created a chat application containing jsps and beans, and deployedit first
    in the exploded directory format.
    It works fine and I was able to run and test it.
    Since all the tests are done and the module is over,now i want to packageit in
    war file and deploy it.Here comes the problem :-
    I have packaged the application in a war file using jar command and copiedit
    under applications directory but when i restarted the server(wls 6.0 sp1),i found
    in console the application is deployed under applications node and notunder web
    applications node-why?
    Agian unpacked the war file and deployed it in exploded directory formatnow the
    console shows it under web app node then why does not it deploy it as webapplication
    when deployed in war format.
    Any body faced the same situation,Plz help.
    rds
    rashmi

  • Web application in war format deployed as application-Plz show some light

    hello,
    I have created a war file which contains jsps and beans only ,no ejbs.When I deploy
    the same application in exploded directory format it runs perfect but when i pack
    the application in war file and try to deploy it, the application is shown under
    applications node in administration console not under web application node.Why
    ,do some thing special have to be done to deploy it in war format.I have copied
    the war file under applications directory in order to deploy it but it works fine
    if I copy the top level directory (i.e deploying in exploded directory format)
    under applications directory but why not with war file.
    Any immediate help is highly appreciated.
    Regards
    Rose

    In 6.0, if a web app is showing up under the "applications" node instead of
    the "web applications" node, I suspect you have either omitted or
    mis-configured the WEB-INF/web.xml deployment descriptor.
    Check out
    <http://e-docs.bea.com/wls/docs60/programming/webappdeployment.html> for
    help on writing the deployment descriptor, or upgrade to WebLogic Server 6.1
    where WLS creates a default web.xml for you if you don't supply one.
    "Rashmi" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hello,
    I have created a chat application containing jsps and beans, and deployedit first
    in the exploded directory format.
    It works fine and I was able to run and test it.
    Since all the tests are done and the module is over,now i want to packageit in
    war file and deploy it.Here comes the problem :-
    I have packaged the application in a war file using jar command and copiedit
    under applications directory but when i restarted the server(wls 6.0 sp1),i found
    in console the application is deployed under applications node and notunder web
    applications node-why?
    Agian unpacked the war file and deployed it in exploded directory formatnow the
    console shows it under web app node then why does not it deploy it as webapplication
    when deployed in war format.
    Any body faced the same situation,Plz help.
    rds
    rashmi

  • Exploded format deployment

    Hi,
    I am looking into the weblogic documentation here where it says:
    http://e-docs.bea.com/wls/docs81/webapp/deployment.html#158848
    "You can redeploy a Web application deployed in exploded directory format when using auto-deployment by modifying a special file called REDEPLOY. You can also cause a partial redeploy by copying a new version of a class file over an old in the WEB-INF/classes directory."
    The last statement regarding partial redeploy by copying a new version of classfile, Does weblogic poll for changes in classfile timestamps?
    If so, what attribute would control this?
    (I am referring to regular java class (not servlet-reloadxxx))
    Thanks,
    Vijay

    Hi,
    Yes this is possible in WLW8.1Sp2.
    Few things to consider for the exploded directory structure to work
    1) The top level directory should always be named with a .ear extension
    For ex: if you applicatio name is sampleApp
    then the toplevel directory should be "sampleApp.ear"
    2) You could either create an ear and just unzip it in the production environment
    thereby preserving the extension
    or
    3) You could build the application and copy it into production environment and
    rename the top level directory with a .ear extension. Just make sure you don't
    have any project folders in your application folder which is not part of the application.
    The need for the directory to have a ".ear" is a requirement with the way Workshop
    is designed as of now.
    Let me know if you have further questions.
    Thanks a lot,
    Vimala
    "garbl" <[email protected]> wrote:
    >
    Hy ,
    id there a way to build a deployable ear in exploded format fully compatible
    with
    ear standards? I mean creating a true ear structure (no split directory
    !) without
    archiving everything in an .ear?
    We need being able to keep an exploded structure in prod environment
    in order
    to be able to keep on using app configuration via property / xml files
    thanks

  • Deploying Weblogic 8 EAR in exploded format

    Hello,
    Sorry, was lil away from WLS...
    Is there a way I can deploy EAR in the exploded directory structure which means all the WARs included in
    the EAR also need to be in exploded structure.
    Thanks

    I'm not sure I understand exactly what you want to know.
    You can deploy applications via the WebLogic Console, the command-line
    utility weblogic.Deployer, or the ant-task wldeploy.
    Any of these should work fine with an exploded ear.
    -- Rob
    A B wrote:
    Sorry Rob, I did not see the answer..
    What do I need to do to deploy WLS8 ear in exploded format?
    Thanks

  • What is deployment in Exploded Format means??

    What is deployment in Exploded Format means??

    > Like rain on your wedding day?
    Exactly. Like a free ride, when you've already paid.
    > Hey Steve. Long time no see... :) Next time
    I'll try the beer, too.
    I hope "next time" isn't too far off. I'm telling
    you, I'll have to plan a trip to France sometime
    soon... :o) Nice pictures, by the way.Scheduled so far is 2008. I'd be more than happy to welcome you here. The border isn't far away from my place, we could go and have some German beer, too. :) And thanks. Did I mention that you don't look at all like the pic on your blog?

  • Deploy Petstore in Exploded Directory(Weblogic 7.0)

    I can deploy and run the Petstore in .ear format under Weblogic 7.0. How do I
    run it in the Exploded format? Do I need to remove all the .ear, .jar, .war entries/tags
    in my config.xml and application.xml files.
    I did un-jar all the petstor.ear file and all the .jar files inside the petstore.ear(except
    the jar files in the WEB-INF/lib/ directory). I did delete all the .ear, .jar
    & .war files(except the jar files in the WEB-INF/lib/ directory), before I put
    the exploded petstore/ directory under the ...server/config/examples/applications
    directory.
    Do I need to put an empty REDEPLOY file in the WEB-INF directory? Anything else
    that I'm missing?
    Please help! I'm stucked here.
    I've attached a jar file, which includes my xml files and log files:
    1. ...samples/server/config/examples/config.xml
    2. ...samples/server/config/examples/applications/petstore/META-INF/application.xml
    3. ...samples/server/config/examples/applications/petstore/WEB-INF/web.xml
    4. ...samples/server/config/examples/applications/petstore/WEB-INF/weblogic.xml
    5. 3 log files: wl-domain.log, wxamplesServer.log & access.log
    [petstore_xml_log_files.jar]

    I can deploy and run the Petstore in .ear format under Weblogic 7.0. How do I
    run it in the Exploded format? Do I need to remove all the .ear, .jar, .war entries/tags
    in my config.xml and application.xml files.
    I did un-jar all the petstor.ear file and all the .jar files inside the petstore.ear(except
    the jar files in the WEB-INF/lib/ directory). I did delete all the .ear, .jar
    & .war files(except the jar files in the WEB-INF/lib/ directory), before I put
    the exploded petstore/ directory under the ...server/config/examples/applications
    directory.
    Do I need to put an empty REDEPLOY file in the WEB-INF directory? Anything else
    that I'm missing?
    Please help! I'm stucked here.
    I've attached a jar file, which includes my xml files and log files:
    1. ...samples/server/config/examples/config.xml
    2. ...samples/server/config/examples/applications/petstore/META-INF/application.xml
    3. ...samples/server/config/examples/applications/petstore/WEB-INF/web.xml
    4. ...samples/server/config/examples/applications/petstore/WEB-INF/weblogic.xml
    5. 3 log files: wl-domain.log, wxamplesServer.log & access.log
    [petstore_xml_log_files.jar]

Maybe you are looking for

  • Unable to access Workspace through Apache web server

    Hi, I have configured Hyperion 9.3.1. products in windows. I am getting the following error message when trying to access Workspace through Apache web server(port 19000). But, able to access through Weblogic Application server(port 45000). please ass

  • Which table stores Supplier Name information?

    Hi Guys, Can anyone tell me which table in EBS stores Supplier Information? Thanks in advance.

  • Installation of SOA Suite

    Hi, is it possible to install only some parts of SOA Suite, not the all available? For instance, I need BPEL and Business Rules, and thats it. So I wonder if somehow I can omit installation of other components. Thanks. Edited by: frf on 7/4/2011 0:23

  • Help setting a repository with EMC Fiber storage

    Hello We have a couple of servers running OVM 3.2.2 to setup a test environment. The only common space are 6 LUNS on a EMC CX3-40. I can see the luns with multipath from the servers and available on /dev/mpath [root@dvmicovm1 bin]# multipath -ll |gre

  • Cannot restore iPad mini from iOS 6.1 to 6.0

    I backup my ipad mini while have ios 6.1.3, and now i bought new ipad mini and need to restore that backup to it but it have ios 6.0 and i'm not able to restore lack of ios maybe.. Any one have any idea, and if i update my new ipad mini with ios 7 wi