Stopping the assembler from deleting the war file

Is there any way to stop the Web Services assembler from deleting the build directory (or the war file) after it is done packaging the ear file? I want to take the war file and package it into my own ear file.

Using wsa from 10.1.3, you have the -war option wich can be used to provide the location where to put the file that will be otherwise packaged in the war file.
For more details check the documentation page 172 at http://download-west.oracle.com/otn/java/oc4j/1013/doc/web.1013/b14434.pdf
Hope this helps,
Eric

Similar Messages

  • Unable to deploy the war file generated from jdeveloper to tomcat

    Hi
    I was able to deploy the war file after modification in the web.xml but unable to run the servlet application
    Please Help
    Dolphy

    After going thru all the steps specified in online help to deploy the web application in Tomcat server.
    I am getting the following error
    first the webapps could not be deployed because of url pattern
    <servlet-mapping>
    <servlet-name>mypackage1.BIController1</servlet-name>
    <url-pattern>mypackage1.BIController1</url-pattern>
    </servlet-mapping>
    which when i change to
    <servlet-mapping>
    <servlet-name>mypackage1.BIController1</servlet-name>
    <url-pattern>\mypackage1\BIController1</url-pattern>
    </servlet-mapping>
    deploys the application
    but i get the following errors in the tomcat log file
    2004-05-03 10:34:12 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2004-05-03 10:34:12 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2004-05-03 10:34:12 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2004-05-03 10:34:13 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2004-05-03 10:34:13 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2004-05-03 10:34:13 StandardContext[webapp1]Marking servlet uix as unavailable
    2004-05-03 10:34:13 StandardContext[webapp1]Error loading WebappClassLoader
    delegate: false
    repositories:
    /WEB-INF/classes/
    ----------> Parent Classloader:
    StandardClassLoader
    delegate: true
    repositories:
    file:C:\tomcat\shared\classes\
    ----------> Parent Classloader:
    StandardClassLoader
    delegate: true
    repositories:
    file:C:\tomcat\common\classes\
    file:C:\tomcat\common\endorsed\xercesImpl.jar
    file:C:\tomcat\common\endorsed\xmlParserAPIs.jar
    file:C:\tomcat\common\lib\ant.jar
    file:C:\tomcat\common\lib\commons-collections.jar
    file:C:\tomcat\common\lib\commons-dbcp-1.1.jar
    file:C:\tomcat\common\lib\commons-el.jar
    file:C:\tomcat\common\lib\commons-pool-1.1.jar
    file:C:\tomcat\common\lib\jasper-compiler.jar
    file:C:\tomcat\common\lib\jasper-runtime.jar
    file:C:\tomcat\common\lib\jmx.jar
    file:C:\tomcat\common\lib\jsp-api.jar
    file:C:\tomcat\common\lib\naming-common.jar
    file:C:\tomcat\common\lib\naming-factory.jar
    file:C:\tomcat\common\lib\naming-java.jar
    file:C:\tomcat\common\lib\naming-resources.jar
    file:C:\tomcat\common\lib\servlet-api.jar
    ----------> Parent Classloader:
    sun.misc.Launcher$AppClassLoader@4afa9e
    oracle.cabo.servlet.UIXServlet
    java.lang.ClassNotFoundException: oracle.cabo.servlet.UIXServlet
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1383)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:979)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3959)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:727)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
         at org.apache.catalina.core.StandardService.start(StandardService.java:519)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    2004-05-03 10:34:13 StandardContext[webapp1]Servlet /webapp1 threw load() exception
    javax.servlet.ServletException: Wrapper cannot find servlet class oracle.cabo.servlet.UIXServlet or a class it depends on
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:989)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3959)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:727)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
         at org.apache.catalina.core.StandardService.start(StandardService.java:519)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    ----- Root Cause -----
    java.lang.ClassNotFoundException: oracle.cabo.servlet.UIXServlet
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1383)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:979)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3959)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:727)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
         at org.apache.catalina.core.StandardService.start(StandardService.java:519)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    Thanks
    Dolphy

  • WLS 7.0 - util jars being accessed from the war file

    Some of classes in the warfile (servlets) need access to some of the util jars in my ear file. I really don't want to put them in the war file/WEB-INF/lib directory and in the ear file. Is there any way to do this without putting them in the classpath.
    Any info would be appreciated.
    Thanks,
    Ian

    Ian,
    Examine the following link on packaging utility classes and the Weblogic classloader
    architecture
    This link should provide (hopefully :-) ) the answer to your question
    http://e-docs.bea.com/wls/docs70/programming/classloading.html
    Chuck Nelson
    DRE
    BEA Technical Support

  • Error in deploying the war file on to the weblogic server(6.1)

    Hi,
    I created the war file and tried to deploy it on the weblogic server 6.1 it is unable to deploy and is give these errors i am unable to find out the problem.Can any one help me out in finding why this is so.
    Help will be appreciated
    java.lang.NullPointerException
         at weblogic.management.internal.MBeanProxy.getAttribute(MBeanProxy.java:253)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:187)
         at $Proxy65.isDeployed(Unknown Source)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:744)
         at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy5.update(Unknown Source)
         at weblogic.management.console.webapp._domain.__upload_app._jspService(__upload_app.java:149)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:241)
         at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
         at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Thanks,
    Reji

    Hi jmendelak,
    In the warfile i have jsp,servlets,java classes.
    In my working directory i have jsp and html files and in web-inf folder i have a folder by name classes in which i have the servlets and java classes.
    I made the war file and when i tried to deploy i was getting this error.
    I had previously deployed this war file on weblogic6.1 it was working fine.
    I have upgraded my operating sytem to Windows2000 professional from WinNT 4.0.I reinstalled the weblogic again and had set up the environment variables.
    After going through the error could you find out the reason?Is it because some seeting is missing?
    Raji

  • How to open a document out side the .war file

    Hi all,
    I have initially stored a document outside the WEB-INF in the .war file to retrieve it from a jsp file of the same war file. But now the file has been stored at a location on the same server and outside the .war file. how can I retrieve the file path and location outside the war file from the jsp. I ve previously used the following code when retrieving from a directory "docs" of the same .war file as:
                      <td  class="FormLableLeft"><a href="#" onClick=window.open("/docs/<%=colData.get("DOCUMENT_NAME")%>")><%=colData.get("File_NAME")%></a> </td>please suggest me how to retrieve the document located outside the war.

    Create a servlet which reads the file from the local file system and writes it to the outputstream of the response after having set the response headers accordingly. Then simply call that servlet by URL along with the file ID as request parameter or pathinfo. You may find this example useful: [http://balusc.blogspot.com/2007/07/fileservlet.html].

  • I didn't get log statements in console after deploying the war file IN WAS6

    I am new to web sphere 6.o server, I didn't get log statements in console after deploying the war file into the WAS

    Albenn
    Welcome to the Apple user discussion forums
    I'll hit a few of your questions - others will have to do others since I'm not up on some of the issues you ask about
    4) is there an easy way to review/delete items (in 6, i run a basic slideshow and delete on the fly -- is this still workable in 7?)?
    Yes
    5) Are there significant functionality benefits of 7 over 6 (e.g., does the noise function or shadow/highlight really offer significant benefits? The Events seems obvious, but I'm more interested in "under the hood" experience
    Yes
    Loseless editing - web galleries - events
    a) Is import any faster? As my library is growing in size, the import is getting overly slow
    It is fine for me (only you can compare to your current) - I have 20542 items using 26.3 GB in 271 events
    7) Is there a full-screen edit mode?
    yes
    8) Can you configure events so that it's not just by day?
    yes
    9) Is 6's "roll" structure as mirrored in the file system still available in the Events approach, or is the database structure that once you've converted a library, there's no going back?
    Events replace rolls (if your rolls are named - NOT the default rollxxx name - they will come across as is - to me events are rolls with much more capability and a new name - some people are VERY putoff by the change (but most love it) for reasons that I simply do not comprehend
    10) What is the effective (or advised) maximum library size? I've probably got over 60GB of images in my libraries now, with 20,000 images or so. If 7 can readily digest them (and preserve all my albums, etc.), then I'd love to combine them into one, unless that will kill performance, make the database unstable, drive backups into interminable waits, etc.
    The advertised max is 250,000 photos - I have about the same number of photos as you in about 1/3 the space - there are a few users here with libararies your size. With iPhoto Library Manager it is easy to maintain multiple libraries if you choose
    LN
    Message was edited by: LarryHN

  • How do a client access the WAR file at loading a URL?

    I would like to apprehend that how do a client access the WAR file at loading a URL?
    Actually a web containter,for example,servlet container can have the software tool such as iPlanet[tm] Application server to deploying the servlet classes and JSP files by containing the WEB-INF directory.
    how could the process of request and reponse be done by employing the WAR file..plz steer me....

    clients don't access a war file. that's just a package for the container to deal with.
    when the WAR is deployed, the container unpackages the contents and deploys the app. From that point forward clients use the deployed stuff. the unpackaged servlets handle requests from then on.
    your question makes little sense to me.
    %

  • J2EE, possible to serve clients jsp files that are outside the war file?

    Hi, I was wondering with a J2EE webserver if it was possible to serve clients webpages from jsp files that were outside the client.
    For example say you got your war file in the auto deploy directory on the server and also on the server you got a directory full of jsp files that could be accessed by the webserver just like normal jsp files inside the war file?
    ...I want to do this because I want to be able to add jsp files without rebuilding the war file.
    ....Or is it possible to make the webserver rebuild itself, eg to add or remove files?
    Thanks

    If you are using a S1WS6.1, please try to find a line with WEBAPP in server.xml.
    You should find a line like this.
    <WEBAPP uri="/simple" path="/opt/SUNWwbsvr/https-test/webapps/https-test/simple" enabled="true"/>
    The path parameter shows the directory where the S1WS refers to when the webapplication is executed.
    You can put a jsp into the directory and modify it accordingly.
    Please refer to the following docs. They might help.
    http://docs.sun.com/source/817-6251/pwadeply.html#wp25317
    http://docs.sun.com/source/817-6251/pwadeply.html#wp25890
    thanks,
    -Yuji

  • Error while deplying the war file.

    Hi ,
    I am using jdev 11.1.1.2
    While deploying war file I am getting the following error:
    java.io.IOException
    java.io.IOException
    at oracle.jdeveloper.xml.DomIO.loadImpl(DomIO.java:132)
    at oracle.jdeveloper.xml.StreamDomIO.load(StreamDomIO.java:29)
    at oracle.jdeveloper.xml.BindingIO.load(BindingIO.java:61)
    at oracle.jdeveloper.xml.BindingIO.load(BindingIO.java:55)
    at oracle.jdevimpl.deploy.weblogic.ear.WeblogicAssembler$3.mergeOrGen(WeblogicAssembler.java:440)
    at oracle.jdevimpl.deploy.weblogic.ear.WeblogicAssembler.addPlatformXmlFilesImpl(WeblogicAssembler.java:575)
    at oracle.jdevimpl.deploy.weblogic.ear.WeblogicAssembler.addPlatformXmlFiles(WeblogicAssembler.java:92)
    at oracle.jdevimpl.deploy.ear.ApplicationAssembler.prepareImpl(ApplicationAssembler.java:187)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.prepare(AbstractDeployer.java:69)
    at oracle.jdevimpl.deploy.fwk.WrappedDeployer.prepareImpl(WrappedDeployer.java:32)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.prepare(AbstractDeployer.java:69)
    at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:451)
    at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:217)
    at oracle.jdevimpl.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:86)
    at oracle.jdeveloper.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:63)
    at oracle.jdeveloper.deploy.common.ModulePackager.deployImpl(ModulePackager.java:52)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
    at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
    at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
    at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
    It was working today morning.Not sure what went wrong..
    Please let me know what could be the possible cause for this ?
    Regards
    Aradhana

    Where and how do you deploy the war file?
    I normally deploy EAR files.
    Timo

  • How to create the War file

    Can you help me , how to create the war file.
    I am using the tomcat 5.0 server, i have book folder in webapp.
    how i can create the war file? what is command?
    help me
    ramya

    using jar command u can create a war file
    jar -cmf myweb.war *.*<files to be included in war file>
    regd,
    ritu

  • How To Access a jar file present outside the war file through a jnlp

    Aoa
    I m new to this forum
    I m having problem with my jnlp file
    i want to know is there any way to access a jar file through jnlp.The problem is that my jnlp file is present in the war file
    and i want to know how to acess a jar file through this jnlp.The scenerio is as below
    I m using ear file on jboss.Its hirerchy is as
    -PAN-war.war
    -launch.jnlp
    -PAN-app-client.jar
    my jnlp file is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8080/" href="PAN/launch.jnlp">
    <information>
    <title>PanEmirates</title>
    <vendor>M Fazal Ur Rehman</vendor>
    <description>PanEmirates</description>
    <description kind="short">PanEmirates</description>
    <homepage href=""/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.5+"/>
    <jar href="PAN-app-client.jar" download="eager"/>
    <jar href="lib/javafxrt.jar" main="true" download="eager" />
    <jar href="lib/Filters.jar" download="eager"/>
    <jar href="lib/javafx-netbeans-fxuserlib.jar" download="eager"/>
    <jar href="lib/swing-layout-1.0.3.jar" download="eager"/>
    </resources>
    <application-desc main-class="net.java.javafx.FXShell">
    <argument>pan.Main</argument>
    </application-desc>
    </jnlp>
    when i run launch.jnlp file it says unable to download resource http://localhost:8080/PAN/PAN-app-client.jar
    how to access this jar file
    Any help or comment would be highly appreciated
    Regards
    M Fazal Ur Rehman

    Excellent question. I don't see any client-jar in your EAR file structure. So I am assuming you are writing a separate client application which will talk to the ejbs deployed as part of this EAR. You need to do the following:
    Write another EAR file with the following structure:
    ear:
    META-INF/application.xml
    util.jar
    client.jar
    client.jar should have a META-INF/MANIFEST.MF and that should contain Class-Path:util.jar and value for Main-Class attribute.
    Now deploy this new ear to your application server and execute it using Application Client Container that comes with your app server.
    If you don't want to write another EAR file, then bundle th client.jar in your original EAR file.
    Points to note are:
    you have to repackage util.jar again inside this ear file.
    For portability reason, you should use Class-Path manifest entry in client.jar. Refer to http://java.sun.com/j2ee/verified/packaging.html and J2EE platform spec section #8.2.
    Hope this helps,
    Sahoo

  • I have a created a directory structure ias\ias-samples\myapps\src\docroot.In docroot folder i have a single jsp.i created a war file having that jsp,and ear file having the war file

    I deployed the ear file.Now i try calling http://localhost/myapps/test.jsp ??
    i'm i doing the right thing ?

    Hi,
    This is right provided you have installed the webserver & app server
    on the same machine and the port number for the web server is 80 by
    default.
    Regards
    Raj
    Arif Khan wrote:
    I have a created a directory structure
    ias\ias-samples\myapps\src\docroot.In docroot folder i have a single
    jsp.i created a war file having that jsp,and ear file having the war
    file
    I deployed the ear file.Now i try calling
    http://localhost/myapps/test.jsp ??
    i'm i doing the right thing ?
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Do i have to pack all files into the war file/

    Hi,
    suppose a file (say bb.html, for example) within a war has a link to a document outside the war, say c:\aa.doc for example, after deploying the war into the j2ee application server, the linked file cant be found, simply because the file(aa.doc) isn't packed with bb.html. I am wondering if there is a way that I can establish the link, even they are placed in different location.
    to exend the question, in my understanding, the web container within the j2ee application server is a Tomcat run evironment, do I need to connection the applicaiton server to one of web servers like appache web server, IIS etc to get better preform? if yes, how?
    Can anyone give some explanation please?
    Thank you very much!
    Ken

    No they do not have to be packed into the same War file.
    The application server does have to know where they are so that it can handle requests for a given "html" file.
    For example: "bb.html" was found in the war file you deployed.
    it links to "aa.doc" - where is the directory or war file that contains "aa.doc"?
    It too needs to be "deployed" within the server in order to be found.
    I hope this helps.

  • Where are the .war files

    Hi,
    This issue has really stumped me. After i run 'ant install' the site works. But I am not able to locate the .war files for the GSApp application. Could someone help me locate where exactly is the .war file.
    thanks,

    i dont think that ant install copies a war file to the tomcat webapps directory.
    if you run 'ant dist' then this will build a war file for you, and place in your {$app.name}/build/ directory.
    Hope this helps,
    Chris.

  • Where to find the war file

    i would like to deploy my jsf application (done in sun one studio + sun aaplication server + Mysql) in tomcat.
    where do i find the war file???

    hi!
    Move into the folder in which you'r project is placed. Then issue the following command:
    jar -cvf filename.war . dont forget . at the end which means current directory

Maybe you are looking for

  • Can't Edit In Photoshop from LR

    Hi All I'm on a Mac using the latest versions of LR, Photoshp CS5, and Camera RAW.  Editing 5D and 40D files. I cannot get RAW files to completely open up in Photoshop using either the COMMAND+E or right click Edit In Photoshop.  Upon using either of

  • Recording the screen with a video camera

    Can someone help me be able to record everything on my screen to my video camera? Can I use a firewire to do so? Is there a specific application i require? What I DON'T want to do is record my screen straight to the computer (this will be processor/s

  • F4 Input values for variables based on Navigation Attributes

    Hi, We would like to use the option "Q Only Posted values for navigation"  from the set F4 mode 'Query Execution Filter Val. Selectn' in the Multiprovider specific properties. The problem is that  this option Works for Infoobject stored on the infocu

  • Sorting multidimensional arrays

    I have an array containing random dates, each in its own small array of which the first node is the month and the second the year: var arr:Array = [ [1,2008], [2,2009], [6,2009], [4,2008], [4,2008] I am trying to write a sorting function to use with

  • Backup Mail account settings before upgrade

    I want to backup my account settings before I do a complete fresh install of the OS, to save having to setup all my e-mail accounts again. I see you can Archive mail boxes, but to me this sounds like an archive of the actuall mail, and not the actual