Deploying the exploded directory

I am trying to find out if there are any known bugs for deploying the
exploded directory.

Yes. See my recent post in the ejb section called "Classpath Help?"
Peace,
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com
Tangosol: How Weblogic applications are customized
"Mukesh Kumar" <[email protected]> wrote in message
news:3b4e0e25$[email protected]..
I am trying to find out if there are any known bugs for deploying the
exploded directory.

Similar Messages

  • Any tool to help deploy with Exploded Directory Format

    I read through the "Oracle9iAS Containers for J2EE" Getting Started document and saw the section on "Deploying with Exploded Directory Format". I would like to take the Petstore1.1.2 code and put it in exploded directory format so that OC4J can easily pick up changes to servlets and EJBs. But the codebase for Petstore is complicated enough that I would like to have a tool (possibly ant) that can automate the process of going from either the source directory or even ear file to the "exploded directory format".
    Are there any tools available to help automate this process??

    Never mind. This stuff is a lot simpler than I initially thought. There is no need for a tool because it is easy enough to do by hand.
    Sorry for bothering everyone

  • Web app failing to deploy in exploded directory format in weblogic6.1

    Hi,
    My web applications are failing to deploy in exploded format ,i.e when copied
    to the the applications directory of the domain mydomain/applications. The logs
    doesn't show any error, the server is just failing to read the applications other
    than the default ones in myserver/applications directory
    The deployment works if I create a .war file of the same directory structure and
    deploy it via console
    waiting for an early reply

    make sure your config.xml is configured correctly to the exploded format
    (i.e. URI doesn't say webapp.war).
    war:
    <Application Deployed="true" Name="webapp"
    Path=".\config\mydomain\applications">
    <WebAppComponent Name="webapp" Targets="myserver" URI="webapp"/>
    </Application>
    exploded:
    <Application Deployed="true" Name="webapp"
    Path=".\config\mydomain\applications">
    <WebAppComponent Name="webapp" Targets="myserver" URI="webapp.war"/>
    </Application>
    - Jamie
    "Srinivas" <[email protected]> wrote in message
    news:3b6a7f51$[email protected]..
    >
    Hi,
    My web applications are failing to deploy in exploded format ,i.e whencopied
    to the the applications directory of the domain mydomain/applications. Thelogs
    doesn't show any error, the server is just failing to read theapplications other
    than the default ones in myserver/applications directory
    The deployment works if I create a .war file of the same directorystructure and
    deploy it via console
    waiting for an early reply

  • Behaviour differences between  war file and exploded directory

    Hi,
    I'm baffled by differences in how my web app behaves when deploy in a war file and when deployed in exploded directory.
    Firstly when I deploy in exploded directory format (using wldeploy in ant) - the jsps do not precompile. However, when I deploy the war file - again using ant and wldeploy - precompile works just fine - and general performance seems better.
    Secondly - the webapp has a pdf file - which is used as a template to dynamically produce a document. When deployed
    in exploded format - the webapp works fine and is able to read the pdf. However, when I deploy in war file, the pdf cannot be read.
    Surely the behaviour should be the same whether we deploy as a war or exploded.
    Someone please help
    Tariq

    Some behaviors will be different between a WAR file deployment and an exploded WAR deployment.
    With respect to JSP precompile, you just say "they do not precompile", so I can't tell anything about that.
    When you read files from an exploded WAR, you can reference them in two ways: as a resource, or as an absolute file path. When you read files from a WAR file, you can only read files as a resource, and not as an absolute file path. You're not giving any information about how you're reading the file, so I can't tell about that either.
    You'd have to provide more detail to get better answers.

  • Exploded directory

    Is it possible for me to deploy an exploded directory in WAS 6.40?
    I need to test my JSPs quickly and the process of building WAR -> EAR -> Deploy is really taking a toll on productivity.

    Hi,
    Yes it is possible to test your JSPs quickly without building WAR->EAR files each time. The condition is that you should have deployed the EAR application once for the first time. For your subsequent changes, you can just keep changing the JSPs in the deployed location of the application on the J2EE engine.
    After you have deployed the EAR for the first time, got to this location on the J2EE engine installation:
    \usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\<EAR_APP_NAME>\servlet_jsp\<CONTEXT_ROOT_NAME>\root
    Change your instance names accordingly.
    This is the location where you will have your JSPs. Make your changes here and save and it works!
    Hope this helps.
    Regards,
    Manish

  • 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]

  • 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

  • Deploying custom page to MDS respository: The root directory does not exist

    Hi,
    with XMLImport, I have
    java oracle.jrad.tools.xml.importer.XMLImporter /u01/jdevhomes/sjallerat/jdevhome/myprojects/technip/oracle/apps/xxepc/deploying/webui -jdk13 -mmddir "/u01/jdevhomes/sjallerat/jdevhome/myhtml/OA_HTML/jrad" -username apps -password venus -rootdir /u01/jdevhomes/sjallerat/jdevhome/myprojects -validate -dbconnection "(description = (address_list = ( address =(protocol = tcp)(host = xxxxxxxxxxxxxxxxx)(port = xxxx)))(connect_data = (sid = xxxx)))"
    Importing /technip/oracle/apps/xxXXX/deploying/webui/EpcTestMessagesPG
    Error: The root directory does not exist.
    xxXXX is new. With existing app, add one module .xml is OK.
    Thank you for yor help.
    Serge

    We have registered XXYYY as a new application in our instance of oracle application with a basepath = XXYYY_TOP.
    And add in Linux's file xxxxxx.env the declaration : XXYYY_TOP with rootpath = /xxxxxxx/oracle/xxxappl/XXYYY/11.5.0.
    Let us must be made another statement in another file?
    Thank you.

  • Weblogic only deploys 'WEB-INF' directory....

    Hi,
    I desperatly try to deploy an exploded war file - but it seems weblogic just pics the web-inf folder & leaves everything else behind. Deployment failes because during startup the application tries to access a file stored outside the WEB-INF, which would be the top-level of the war archive.
    Anyone knows why this is the case? Is this configureable somehow?
    Weblogic version is 11g (10.3.2) under Windows....

    Thanks for the quick response!
    It's a Webservice using Axis.
    I know that during startup, a servlet tries to load stuff like configuration details, logging details etc. "Unfortunatly" those files are stored in a config folder on the "root" level of the war file.
    In essence, the structure looks like this:
    ---| some_webservices.war
    ------| WEB-INF
    ---------| lib
    ---------| ..........
    ------| META-INF
    ------| config
    ---------| ...some files...
    If i deploy the whole thing as a archive, the applicaton works fine - but if I explode the war file & choose to deploy the root folder, weblogic just grabs the web-inf folder, copies it to the server & starts the application (which leads to the problem).
    To answer your other questions:
    - no there are no "weblogic" errors in the logfile - the only error comes from the application, because it tries to load a file from the config directory...

  • Re: Exploded directory format in an EAR

              I am now trying to deploy the ear file in v6.1 sp2. Has anyone managed to deploy
              an ear where util / third party classes are stored in a lib directory of the ear
              and referenced in EJB-jar manifest.mf files using the classpath header?
              ie as documented in bea weblogic server bible on page 614/615
              EntApp/
              accountEJB.jar
              accountManager.war
              /lib/
              xerces.jar
              xalan.jar
              log4j.jar
              /META-INF/
              application.xml
              "erik" <[email protected]> wrote:
              >
              >This is hearsay but I was recommended to use v 6.1 SP 2.
              >/erik
              >
              >"Ivan" <[email protected]> wrote:
              >>
              >>I have a problem wrapping up an exploded directory format application
              >>into an ear
              >>file running weblogic 6.0sp2 on winnt 4. One of the things I would like
              >>to do
              >>is load a config file from a helper class without specifying a path.
              >>
              >>
              >>EAR APP statementapp.ear contains: META-INF/MANIFEST.MF statement.jar
              >>statementwebapp.war
              >>META-INF/application.xml lib/log4j.jar (and other third party jar files
              >>crimson.jar,
              >>jaxp.jar etc.)
              >>
              >>The third party jar files have been manually unjar'ed and re-jar'ed
              >without
              >>compression
              >>(after reading that a suggestion to someone else).
              >>
              >>WEB APP statementwebapp.war contains: all my jsp's at root level WEB-INF/classes/uk/.../servlets
              >>- servlets WEB-INF/classes/uk/.../util - helper classes WEB-INF/tlds
              >>- tag library
              >>descriptors WEB-INF/web.xml & weblogic.xml - deployment descriptors
              >
              >>
              >>Some of the helper classes make use of configuration files (for example
              >>I have
              >>a Logger class that uses Log4j). Here is how I would like to access
              >the
              >>config
              >>file
              >>
              >>... private static final String config = "config.properties" ; PropertyConfigurator.configure(
              >>config ) ; ...
              >>
              >>I have tried putting the config.properties file in the WEB-INF/classes
              >>directory
              >>and in the WEB-INF directory, however they don't seem to be found by
              >>the class
              >>loader.
              >>
              >>EJB statement.jar contains an ejb with the following: uk...business.statement...
              >>- Statement ejb classes with ejbc generated stub and skeleton classes
              >>uk...util
              >>- Several Helper classes
              >>
              >>One such helper is Logger for which the Log4j jar file is needed. I
              >deploy
              >>the
              >>statement.jar file in the ear (as listed above). Weblogic throws an
              >error
              >>message
              >>saying cannot deploy statement (NoClassDefFound...): java.lang.NoClassDefFoundError:
              >>org/apache/log4j/Category ie it cannot find the log4j package which
              >is
              >>referenced
              >>in the Class-Path header of the manifest.mf file and located in the
              >ear
              >>file under
              >>the lib directory.
              >>
              >>The manifest.mf file contains a line with the following: Class-Path:
              >>lib/log4j.jar
              >>lib/crimson.jar lib/jaxp.jar which I have read should allow the enterprise
              >>classloader
              >>to pick up the log4j.jar and xml parsing classes (ref. weblogic server
              >>bible chap
              >>18) without needing to be referenced in the weblogic start up class
              >path.
              >>
              >>
              >>Can manifest class-path references be used like this in weblogic 6.0?
              >>Where should
              >>I put the application properties files in the war and jar files?
              >>
              >>Clarification much appreciated. Ivan.
              >>
              >>PS: I had this application working in exploded directory format with
              >>the jar files
              >>in the system classpath and the properties file locations hardcoded
              >in
              >>the class
              >>files. (not ideal for a clustered production environment!)
              >>
              >
              

              This is hearsay again.
              These people did as you did no compression etc. they were able to put the application's
              utility classes in a lib but not the third party jars. They suspected that the
              ear where to big to deploy so they put all thirdparty jars in the system classpath
              and then the internal utility classes were loaded by using CLASSPATH in the manifest
              file.
              I gave up because I could deploy everything except servlets and I went back to
              exploded deployment. That bloody EAR thing took to much time.
              If you succeed in everything including warfiles with JSPs and servlets (those
              I was talking about only had EJBs)
              let me know.
              I also had a peculiar problem with EARs that a cascading stylesheet was not found
              in the ear but it worked in an exploded it worked fine
              Otherwise I must recommend Orion, which I had up and running in a matter of days
              when ported from WLS 5.1.
              Good luck.
              "Ivan" <[email protected]> wrote:
              >
              >I am now trying to deploy the ear file in v6.1 sp2. Has anyone managed
              >to deploy
              >an ear where util / third party classes are stored in a lib directory
              >of the ear
              >and referenced in EJB-jar manifest.mf files using the classpath header?
              >
              >ie as documented in bea weblogic server bible on page 614/615
              >EntApp/
              > accountEJB.jar
              > accountManager.war
              > /lib/
              > xerces.jar
              > xalan.jar
              > log4j.jar
              > /META-INF/
              > application.xml
              >
              >"erik" <[email protected]> wrote:
              >>
              >>This is hearsay but I was recommended to use v 6.1 SP 2.
              >>/erik
              >>
              >>"Ivan" <[email protected]> wrote:
              >>>
              >>>I have a problem wrapping up an exploded directory format application
              >>>into an ear
              >>>file running weblogic 6.0sp2 on winnt 4. One of the things I would
              >like
              >>>to do
              >>>is load a config file from a helper class without specifying a path.
              >>>
              >>>
              >>>EAR APP statementapp.ear contains: META-INF/MANIFEST.MF statement.jar
              >>>statementwebapp.war
              >>>META-INF/application.xml lib/log4j.jar (and other third party jar files
              >>>crimson.jar,
              >>>jaxp.jar etc.)
              >>>
              >>>The third party jar files have been manually unjar'ed and re-jar'ed
              >>without
              >>>compression
              >>>(after reading that a suggestion to someone else).
              >>>
              >>>WEB APP statementwebapp.war contains: all my jsp's at root level WEB-INF/classes/uk/.../servlets
              >>>- servlets WEB-INF/classes/uk/.../util - helper classes WEB-INF/tlds
              >>>- tag library
              >>>descriptors WEB-INF/web.xml & weblogic.xml - deployment descriptors
              >>
              >>>
              >>>Some of the helper classes make use of configuration files (for example
              >>>I have
              >>>a Logger class that uses Log4j). Here is how I would like to access
              >>the
              >>>config
              >>>file
              >>>
              >>>... private static final String config = "config.properties" ; PropertyConfigurator.configure(
              >>>config ) ; ...
              >>>
              >>>I have tried putting the config.properties file in the WEB-INF/classes
              >>>directory
              >>>and in the WEB-INF directory, however they don't seem to be found by
              >>>the class
              >>>loader.
              >>>
              >>>EJB statement.jar contains an ejb with the following: uk...business.statement...
              >>>- Statement ejb classes with ejbc generated stub and skeleton classes
              >>>uk...util
              >>>- Several Helper classes
              >>>
              >>>One such helper is Logger for which the Log4j jar file is needed. I
              >>deploy
              >>>the
              >>>statement.jar file in the ear (as listed above). Weblogic throws an
              >>error
              >>>message
              >>>saying cannot deploy statement (NoClassDefFound...): java.lang.NoClassDefFoundError:
              >>>org/apache/log4j/Category ie it cannot find the log4j package which
              >>is
              >>>referenced
              >>>in the Class-Path header of the manifest.mf file and located in the
              >>ear
              >>>file under
              >>>the lib directory.
              >>>
              >>>The manifest.mf file contains a line with the following: Class-Path:
              >>>lib/log4j.jar
              >>>lib/crimson.jar lib/jaxp.jar which I have read should allow the enterprise
              >>>classloader
              >>>to pick up the log4j.jar and xml parsing classes (ref. weblogic server
              >>>bible chap
              >>>18) without needing to be referenced in the weblogic start up class
              >>path.
              >>>
              >>>
              >>>Can manifest class-path references be used like this in weblogic 6.0?
              >>>Where should
              >>>I put the application properties files in the war and jar files?
              >>>
              >>>Clarification much appreciated. Ivan.
              >>>
              >>>PS: I had this application working in exploded directory format with
              >>>the jar files
              >>>in the system classpath and the properties file locations hardcoded
              >>in
              >>>the class
              >>>files. (not ideal for a clustered production environment!)
              >>>
              >>
              >
              

  • Exploded directory format in an EAR

              I have a problem wrapping up an exploded directory format application into an ear
              file running weblogic 6.0sp2 on winnt 4. One of the things I would like to do
              is load a config file from a helper class without specifying a path.
              EAR APP statementapp.ear contains: META-INF/MANIFEST.MF statement.jar statementwebapp.war
              META-INF/application.xml lib/log4j.jar (and other third party jar files crimson.jar,
              jaxp.jar etc.)
              The third party jar files have been manually unjar'ed and re-jar'ed without compression
              (after reading that a suggestion to someone else).
              WEB APP statementwebapp.war contains: all my jsp's at root level WEB-INF/classes/uk/.../servlets
              - servlets WEB-INF/classes/uk/.../util - helper classes WEB-INF/tlds - tag library
              descriptors WEB-INF/web.xml & weblogic.xml - deployment descriptors
              Some of the helper classes make use of configuration files (for example I have
              a Logger class that uses Log4j). Here is how I would like to access the config
              file
              .. private static final String config = "config.properties" ; PropertyConfigurator.configure(
              config ) ; ...
              I have tried putting the config.properties file in the WEB-INF/classes directory
              and in the WEB-INF directory, however they don't seem to be found by the class
              loader.
              EJB statement.jar contains an ejb with the following: uk...business.statement...
              - Statement ejb classes with ejbc generated stub and skeleton classes uk...util
              - Several Helper classes
              One such helper is Logger for which the Log4j jar file is needed. I deploy the
              statement.jar file in the ear (as listed above). Weblogic throws an error message
              saying cannot deploy statement (NoClassDefFound...): java.lang.NoClassDefFoundError:
              org/apache/log4j/Category ie it cannot find the log4j package which is referenced
              in the Class-Path header of the manifest.mf file and located in the ear file under
              the lib directory.
              The manifest.mf file contains a line with the following: Class-Path: lib/log4j.jar
              lib/crimson.jar lib/jaxp.jar which I have read should allow the enterprise classloader
              to pick up the log4j.jar and xml parsing classes (ref. weblogic server bible chap
              18) without needing to be referenced in the weblogic start up class path.
              Can manifest class-path references be used like this in weblogic 6.0? Where should
              I put the application properties files in the war and jar files?
              Clarification much appreciated. Ivan.
              PS: I had this application working in exploded directory format with the jar files
              in the system classpath and the properties file locations hardcoded in the class
              files. (not ideal for a clustered production environment!)
              

              This is hearsay but I was recommended to use v 6.1 SP 2.
              /erik
              "Ivan" <[email protected]> wrote:
              >
              >I have a problem wrapping up an exploded directory format application
              >into an ear
              >file running weblogic 6.0sp2 on winnt 4. One of the things I would like
              >to do
              >is load a config file from a helper class without specifying a path.
              >
              >
              >EAR APP statementapp.ear contains: META-INF/MANIFEST.MF statement.jar
              >statementwebapp.war
              >META-INF/application.xml lib/log4j.jar (and other third party jar files
              >crimson.jar,
              >jaxp.jar etc.)
              >
              >The third party jar files have been manually unjar'ed and re-jar'ed without
              >compression
              >(after reading that a suggestion to someone else).
              >
              >WEB APP statementwebapp.war contains: all my jsp's at root level WEB-INF/classes/uk/.../servlets
              >- servlets WEB-INF/classes/uk/.../util - helper classes WEB-INF/tlds
              >- tag library
              >descriptors WEB-INF/web.xml & weblogic.xml - deployment descriptors
              >
              >Some of the helper classes make use of configuration files (for example
              >I have
              >a Logger class that uses Log4j). Here is how I would like to access the
              >config
              >file
              >
              >... private static final String config = "config.properties" ; PropertyConfigurator.configure(
              >config ) ; ...
              >
              >I have tried putting the config.properties file in the WEB-INF/classes
              >directory
              >and in the WEB-INF directory, however they don't seem to be found by
              >the class
              >loader.
              >
              >EJB statement.jar contains an ejb with the following: uk...business.statement...
              >- Statement ejb classes with ejbc generated stub and skeleton classes
              >uk...util
              >- Several Helper classes
              >
              >One such helper is Logger for which the Log4j jar file is needed. I deploy
              >the
              >statement.jar file in the ear (as listed above). Weblogic throws an error
              >message
              >saying cannot deploy statement (NoClassDefFound...): java.lang.NoClassDefFoundError:
              >org/apache/log4j/Category ie it cannot find the log4j package which is
              >referenced
              >in the Class-Path header of the manifest.mf file and located in the ear
              >file under
              >the lib directory.
              >
              >The manifest.mf file contains a line with the following: Class-Path:
              >lib/log4j.jar
              >lib/crimson.jar lib/jaxp.jar which I have read should allow the enterprise
              >classloader
              >to pick up the log4j.jar and xml parsing classes (ref. weblogic server
              >bible chap
              >18) without needing to be referenced in the weblogic start up class path.
              >
              >
              >Can manifest class-path references be used like this in weblogic 6.0?
              >Where should
              >I put the application properties files in the war and jar files?
              >
              >Clarification much appreciated. Ivan.
              >
              >PS: I had this application working in exploded directory format with
              >the jar files
              >in the system classpath and the properties file locations hardcoded in
              >the class
              >files. (not ideal for a clustered production environment!)
              >
              

  • Exploded directory: wl6.0 sp2: how to define in config.xml?

    hi,
              how do i define a web server with exploded directory format. i dont want to
              use webcomponent because it creates a war and the jsp changes are not
              reflected. war is fine for production, but during development i dont want to
              restart the server to see the jsp changes.
              is there a way to create a web server component with an exploded directory
              format in config.xml. i want to map the current jsp directory to the web
              server.
              in short: i want to see the jsp changes immediately without restarting the
              server everytime.
              thanks.
              

              "Muthu Ram" <[email protected]> wrote:
              >hi,
              >
              >how do i define a web server with exploded directory format. i dont want
              >to
              >use webcomponent because it creates a war and the jsp changes are not
              >reflected. war is fine for production, but during development i dont
              >want to
              >restart the server to see the jsp changes.
              >
              >is there a way to create a web server component with an exploded directory
              >format in config.xml. i want to map the current jsp directory to the
              >web
              >server.
              >
              >in short: i want to see the jsp changes immediately without restarting
              >the
              >server everytime.
              >
              >thanks.
              >
              >
              apparently if you create an empty file called REDEPLOY (no exstension) in your
              meta-inf directory then either touch it if on unix or change it and save it (i
              add then delete a spce in it) in win32. apparently wls looks at this file and
              if its been changed it reloads the rest off the webapp and hey presto dynamic
              deployment. the alternative is to goto the console goto your app uncheck the deployed
              box click apply then check the deployed box and click apply (this should redeploy
              it). Note jsps don't seem to redeploy well if you have keepgenerate set to true
              in the weblogic.xml.
              

  • How to deploy the finished app (JSF)?

    Hi Guys,
    may be the question is obvious, but I spent enough time fighting with this IDE, that I don't want to waste any minute more.
    The problem:
    I prepared my web-app in JSF. Now I'd like to take it outside of the environment and run on a extern server (not started from Eclipse of course). but HOW?
    Is it possible to generate a war? Do I have to copy my application manually from the workspace? What about the non-standard of the directories-structure (all in "web" directory: WEB-INF inside) and the deployment on the target-server? I would just like to take it to the for example Tomcat and just start it. but it doesn't work in this way..
    Some hints? Many thanks in advance.
    kubek

    Currently Workshop does not support creation of .war file. You can use the popular ant utility tool to build the war file.
    FYI, most of the servers support exploded directory deployment - meaning no need to bundle in a war file. If you have created the web application using Workshop wizard then all the contents of "web" folder can be deployed (copied) to the server.
    Ex: Tomcat
    - Copy the content of "web" to tomcat-home\webapps<application-name>
    - start server
    - access http:\\localhost:8080\application-name
    OR
    Alternatively, you can also deploy the application with the help of Tomcat's server.xml
    - Open <tomcat-home>conf\server.xml
    - include a context-element for your application
    <Context debug="0" docBase="/C:/workshop-home/eclipse/workspace/workshop-tour/site/" path="" reloadable="true" />
    - save file
    - start server
    - access http:\\localhost:8080\

  • Deployment question: exploded EAR application

    I've been having some EJB connection problems when I try to deploy an exploded
    EAR app.
    Here is some background info.
    Running WL 6.1 SP2 on Solaris 8
    I have the following directory structure for my EAR app which
    contains my EJB's and WEB app
    /deployment/config/mydomain
    /myApp
    /META-INF/application.xml
    /classes
    /ejb
    /webApp
    /WEB-INF/web.xml
    /weblogic.xml
    The application.xml file contains all the descriptors for each EJB jar file in
    the ejb directory as well as the deployment descriptor to the webApp.
    In the Weblogic console I can create a new application called myApp and point
    it to the above directory (/deployment/config/mydomain/myApp) and it will deploy
    all the EJB's and the web app and I can display the login page to my webApp but
    as soon as I try to login and the webApp has to connect to a LOGIN ejb it fails
    because it cannot connect to the EJB.
    If I deploy each ejb jar file separately into a running weblogic environement
    I can login which means I can successfully connect to the EJB's.
    Has anyone done something similar to this. I'm following the BANK example that
    came with WL6.1, but I have not been successful and wondering if anyone can shed
    some light here for me.
    If you want to see my application.xml or web.xml let me know and I'll post it
    up.
    Thanks
    Ray

    Make sure your EJB's have a deployment target. I noticed that when I
    deployed an exploded ear file, the EJB's weren't deployed to the server,
    they were present in the console, but not deployed.
    -Brett Schmoll
    "Ray" <[email protected]> wrote in message
    news:3c374e60$[email protected]..
    >
    I've been having some EJB connection problems when I try to deploy anexploded
    EAR app.
    Here is some background info.
    Running WL 6.1 SP2 on Solaris 8
    I have the following directory structure for my EAR app which
    contains my EJB's and WEB app
    /deployment/config/mydomain
    /myApp
    /META-INF/application.xml
    /classes
    /ejb
    /webApp
    /WEB-INF/web.xml
    /weblogic.xml
    The application.xml file contains all the descriptors for each EJB jarfile in
    the ejb directory as well as the deployment descriptor to the webApp.
    In the Weblogic console I can create a new application called myApp andpoint
    it to the above directory (/deployment/config/mydomain/myApp) and it willdeploy
    all the EJB's and the web app and I can display the login page to mywebApp but
    as soon as I try to login and the webApp has to connect to a LOGIN ejb itfails
    because it cannot connect to the EJB.
    If I deploy each ejb jar file separately into a running weblogicenvironement
    I can login which means I can successfully connect to the EJB's.
    Has anyone done something similar to this. I'm following the BANK examplethat
    came with WL6.1, but I have not been successful and wondering if anyonecan shed
    some light here for me.
    If you want to see my application.xml or web.xml let me know and I'll postit
    up.
    Thanks
    Ray

  • Error while deploying the application

    Hi,
    I am trying to deploy an application on WLS 9.0 on Windows XP.
    I get the following error while deploying.
    "Cannot set web app root system property when WAR file is not expanded"
    Here is the command I used and the output.
    C:\bea\weblogic90\server\bin>java weblogic.Deployer -adminurl t3://localhost:7001 -username weblogic -password weblogic -deploy -name prs -source C:\bea\user_projects\domains\consoleExtensions\applica
    tions\abc.war -targets AdminServer
    weblogic.Deployer invoked with options: -adminurl t3://localhost:7001 -username weblogic -deploy -name abc -source C:\bea\user_projects\domains\consoleExtensions\applications\abc.war -targets AdminServer
    <Feb 28, 2006 10:58:49 AM CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operatio
    n for application, abc [archive: C:\bea\user_projects\domains\consoleExtensions\applications\abc.war], to AdminServer .>
    Task 0 initiated: [Deployer:149026]deploy application abc on AdminServer.
    Task 0 failed: [Deployer:149026]deploy application abc on AdminServer.
    Target state: deploy failed on Server AdminServer
    Cannot set web app root system property when WAR file is not expanded
    I am deploying my application as a .war file. I dont get this error on solaris. I dont get this error even on windows when it is deployed in exploded format.
    Has anyone ran into such problem. Please let me know if you anyone knows what is the problem.
    Any help is greatly appreciated.
    Thanks in advance
    Sarat

    I changed the schema location in my WSDL and tried deploying it and it worked.
    But now there is a new problem that has come up. When I try testing the service, it gives me an error saying that there is a problem with the end point.
    The error I get is as follows:
    The selected operation process could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): http://prodtest.sj.vindicia.com/soap.pl<br>
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): http://prodtest.sj.vindicia.com/soap.pl
    The server seems to be on but I'm not able to reach it.

Maybe you are looking for