Webapp as war-archive vs exploded inside EAR

We have an application consisting of an ear-archive containing a webapp (.war or exploded) and an ejb (.jar). For this application we have had a few situations where the EJB is recompiled at WLS start only if the webapp consists of a war-archive and not an exploded war (even though the webapps are identical). We have however been unable to reproduce this consistently. Are there any known issues related to using an ear-archive containing an exploded war?
As far as I'm aware the main reason not to deploy applications as exploded is to make sure that the deployed content cannot be modified once deployed. This is not an issue here as the exploded war is a part of an ear-archive. Is there any other reason not to use this application layout? Could it possibly cause any unexpected side-effects in production environments?

Not working as in 404 error?
Could be deploying under a different context (as opposed to the default/root
context).
Try /webAppName/index.jsp rather than /index.jsp, after replacing
"webAppName" with the name of your web application.
Bob
"Mona Ramlawi" <[email protected]> wrote in message
news:[email protected]..
Hi all,
I have my application working and running as exploded format.
When I packaged it into a WAR and included it with an EAR along with the
EJB JARS I have, it stopped running !
I have the application correctly deployed.
I can access some files under it.
I have doubts that maybe it could be that some files are referencing
others using relative paths.
Should we replace these with absolute paths ?
/mywebapp/myfolder/myfile.jsp instead of myfile.jsp ?
help appreciated
mona

Similar Messages

  • How to archive an exploded format into EAR

    Hi all,
    I have my application in the following exploded format:
    c:\bea\...\mydomain\applications\MyApplication
    MyApplication
    \ejb
    \mypackage\....
    \META-INF\ejb-jar.xml, weblogic-...........
    \META-INF\application.cml, weblogic-application.xml
    \web
    \folder1\*.jsp
    \folder2\*.jsp
    \WEB-INF\web.xml
    \WEB-INF\lib\*.jar
    \WEB-INF\tld\*.tld
    \WEB-INF\classes\mypackage1\*.java
    Now, anyone please tell me how to package the above exploded format into .jar
    and war and finally the EAR.
    and also, after deploying the EAR, how can we access the application?
    Thanks in Advance,
    Seshu

    The bottom line is you should use ant.
    If your using a version prior to 8.1 you can use the built in jar/ear tasks,
    if you cant upgrade to 8.1 I reccomend it.
    If your using 8.1 we have an exploded directory structure for development
    known as split-dir (go to http://edocs.bea.com and search) with a set of ant
    tasks to do compilation and deployment. There is also one called wlpackage
    that will create an archived EAR for you as well.
    The basic principle is that in development you want to develop with an
    exploded format as it is much faster to compile and to deploy. When moving
    to production and for distribution you want an archive. You have a couple of
    options for the archive. You can archive EVERYTHING where each module
    inside of the ear is also archived.
    Such as:
    foo.ear
    META-INF/applicaiton.xml
    web.war
    ejb.jar
    I am not a huge fan of this because in development you really want
    everything exploded and if you archive your modules inside the ear you have
    to change the URI's in your applicaiton.xml. I prefer:
    foo.ear
    META-INF/applicaiton.xml
    web/
    WEB-INF/web.xml
    ejb/
    META-INF/ejb-jar.xml
    This is the format of the ear that wlpacage ant task creates for you.
    Cheers
    mbg
    "Seshagiri" <[email protected]> wrote in message
    news:3f08c9ea$[email protected]..
    >
    Hi all,
    I have my application in the following exploded format:
    c:\bea\...\mydomain\applications\MyApplication
    MyApplication
    \ejb
    \mypackage\....
    \META-INF\ejb-jar.xml, weblogic-...........
    \META-INF\application.cml, weblogic-application.xml
    \web
    \folder1\*.jsp
    \folder2\*.jsp
    \WEB-INF\web.xml
    \WEB-INF\lib\*.jar
    \WEB-INF\tld\*.tld
    \WEB-INF\classes\mypackage1\*.java
    Now, anyone please tell me how to package the above exploded format into.jar
    and war and finally the EAR.
    and also, after deploying the EAR, how can we access the application?
    Thanks in Advance,
    Seshu

  • Java files from a EAR file and from inner (inside EAR)

    I want to read all Java files from a EAR file and from inner (inside EAR) EAR or WAR file with out unpacking.
    suppose "Demo.ear" contaions the following files:
    abc.java
    programs / a.java
    programs / b.java
    src / index.java
    src / com / myFolder / main.java
    src.war
    and suppose "src.war" again contains some java files inside differenet folders.
    The main problem is that i can read all java files from "Demo.ear" but unable to reading from "src.war" b'coz my program is using JarFile class constructor which needs a archive file path, So only top level archive having the path but not the inner archives.
    So, pls help me out to this problems
    Thanks in advance

    Firstly Sorry to writing long letter. but i was unable to express my problem.
    see my code==============================
    JarFile jarFile = new JarFile("Demo.ear");
    Enumeration e=jarFile.entries();
    while (e.hasMoreElements())
    JarEntry entry=(JarEntry)e.nextElement();
    if (entry.getName().endsWith(".war"))
    // Then what Next to do...........
    ===========================================
    you have mentioned "theFile" , What is this?...............
    InputStream in = theFile.getInputStream(theEntryOfTheWAR);
    This line is not a compatible type casting in Java..........
    ZipOutputStream theWar = new ZipInputStream(in);

  • Help with APP-INF/lib inside EAR

    I have an EAR task in my ANT script, how do I add jars into APP-INF/
    lib inside EAR ?
    I dont want to create a folder structure in my project, only EAR
    should have
    <EAR root> /APP-INF/lib
    Edited by: Taranfx_com on Oct 12, 2008 4:49 AM

    try using prefer-web-inf-classes in the weblogic.xml file in your WAR file
    or using prefer-application-packages in the weblogic-application.xml file in your EAR.

  • Deploying .WAR archive gives classNotFound:FacesServlet error

    Hi all,
    I am using ANT scripts to build a .war archive of an ADF project, I am then using the .war archive to manually deploy to a weblogic server.
    However, when I do this, I get the following error message:
    [09 October 2012 09:30:27 o'clock BST] Initiating deploy operation ...
    [09 October 2012 09:30:27 o'clock BST] Validating deployment plan...
    [09 October 2012 09:30:28 o'clock BST] Deployment plan validated.
    [09 October 2012 09:30:28 o'clock BST] Archive: C:\MIDDLE~2\USER_P~1\domains\SOASUI~1\sysman\upload\deploy\otn\archive\otn.war
    [09 October 2012 09:30:28 o'clock BST] Deployment plan: C:\MIDDLE~2\USER_P~1\domains\SOASUI~1\sysman\upload\deploy\otn\config\plan.xml
    [09 October 2012 09:30:29 o'clock BST] [Deployer:149193]Operation 'deploy' on application 'otn' has failed on 'AdminServer'
    [09 October 2012 09:30:29 o'clock BST] java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    [09 October 2012 09:30:29 o'clock BST] javax.faces.webapp.FacesServlet
    [09 October 2012 09:30:29 o'clock BST] Deploy operation failed.
    Can anyone offer a solution to this problem?
    Thanks
    Onkar

    The problem was that the weblogic.xml specified a non-existent directory for "workingDir" parameter for jsp-descriptor.
              <jsp-descriptor>
              <jsp-param>
              <param-name>compileCommand</param-name>
              <param-value>javac</param-value>
              </jsp-param>
              <jsp-param>
              <param-name>workingDir</param-name>
              <param-value>d:\foo</param-value>
              </jsp-param>
              <jsp-param>
              <param-name>keepgenerated</param-name>
              <param-value>true</param-value>
              </jsp-param>
              </jsp-descriptor>
              please check your jsp-descriptor attribute.
              - Navaneeth

  • Using JMX to read ejb manifest jar and ejb-jar.xml in ejb jar inside ear

    Hello,
    I have an ear deployed on weblogic console. I need to check contents of manifest file and ejb-jar.xml of a jar that is present in the deployed ear.
    Currently I am using below code to access jar inside ear deployed :
    Hashtable env = new Hashtable(5);
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL,
    url);
    env.put(Context.SECURITY_PRINCIPAL, user);
    env.put(Context.SECURITY_CREDENTIALS, password);
    Context ctx = new InitialContext(env);
    mBeanHome = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    String type = "EJBComponentRuntime";
    Set beans = mBeanHome.getMBeansByType(type);
    try{
    for(Iterator it=beans.iterator();it.hasNext();)
    EJBComponentRuntimeMBean rt = (EJBComponentRuntimeMBean)it.next();
    if(rt.getParent().getName().equals("xxx")){
    System.out.println(rt.getName());
    l.add(rt.getName());
    Here xxx is the ear. Now I need to get inside the jar (represented) by variable rt and access its manifest file,ejb-jar.xml
    Does anyone have an idea how to do this?
    regards
    Sameer

    Isn't it possible to put them there manually? :)

  • Hi,Can a WAR file be deployed as EAR file and vice versa.

    Hi,Can a WAR file be deployed as EAR file and vice versa.If so what are the changes we need to do.

    hi tel me in detail why u want 2 do that
    why u want to cnvert a web arch into enterp arch

  • If the batteries exploded inside my wireless mouse, do i need to buy a new mouse?  any thoughts about saving my mouse?  thank you!  nancy

    if the batteries exploded inside my wireless mouse, do i need to buy a new mouse? any thoughts about saving my mouse? thank you! nancy

    The chemicals or materials from inside the batteries can cause circuit
    damage in the mouse, the mouse may need to be replaced. You may
    have to check with the battery manufacturers customer relations to see
    if they offer guarantees covering products damaged those batteries...
    And those chemicals may remain as a health concern since the mouse
    cannot be subjected to washing, since there are electrical parts inside.
    How old is the mouse, and how old are the batteries?
    Some products have a limited warranty or guaranty.
    In some locations, that may be longer than in others.
    Were the batteries rechargeable or disposable?
    I'd consult an Apple Store and genius bar about the mouse and issues
    or concerns about the cause (or blame?) of the leaking batteries, or
    which way to go in that matter. I cannot suggest what else to do; we're
    not Apple representatives, but in a retail Apple Store they have options.
    Good luck & happy computing!

  • JWS using WAR archives and Version based DL

    Hi everyone. I am having trouble with JWS. Let me explain what i am doing and maybe someone can tell me what i am doing wrong and what i need to do.
    I created a war file in the same structure as what is shown in the "Packaging JNLP Applications in a Web Archive" docs. So my jnlp file is in the war file in the app directory along with my jar files. The web.xml is in the WEB-INF directory and the other needed files in the WEB-INF/lib directory (that is where the jnlp-servlet.jar file is located within the war file).
    Next, i have an iplanet server. I created a directory on the server - eqam/app_version and i placed the war file there. I expect now when i goto my browser and go to "(server here)/eqam/app_version/app" it should go to servlet in the war file, which then launches the jnlp file. Is my understanding correct, because that does not work.
    Here are a few questions. Am i supposed to place the jnlp-servlet.jar anywhere else on the server outside of the war archive, or is the server supposed to expand the archive somehow (how do i get it to do that)? Also, how do i configure the iplanet server to use this servlet?
    Any help will be appreciated. Thanks!!
    Chris
    Here is the JNLP code...
    TS: 2002-07-22 14:30:00
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0"
    codebase="$$codebase"          
    href="$$name">
    <information>
    <title>Title</title>
    <vendor>Vendor</vendor>
    <homepage href="$$context"/>
    <description>Description</description>
    <description kind="short">Opera Style MDI</description>
    <icon href="images/check_digit_calc.gif"/>     
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
         <j2se version="1.4" />
         <jar href="guiMgr07152002.jar" version="1.5" download="eager"/>
         <jar href="accountpreview.jar" version="1.5" download="eager"/>
         <jar href="alert.jar" version="1.5" download="eager"/>
         <jar href="accountSearch.jar" version="1.5" download="eager"/>
         <jar href="CheckDigitalCal_srvc.jar" download="eager"/>
         <jar href="eqam_framework_07122002.jar" version="1.5" download="eager"/>
         <jar href="login_srvc.jar" version="1.5" download="eager"/>
         <jar href="resources.jar" version="1.5" download="eager"/>
         <jar href="serverside_07162002.jar" version="1.5" download="eager"/>
         <jar href="swingutil.jar" version="1.5" ftpdownload="eager"/>
         <jar href="desktopsrvc.jar" version="1.5" download="eager"/>
         <jar href="3rd_parties/weblogic_core_lite.jar" download="eager"/>
         <jar href="3rd_parties/weblogicaux_lite.jar" download="eager"/>
         <jar href="3rd_parties/xalan.jar" download="eager"/>
         <jar href="3rd_parties/xerces.jar" download="eager"/>
         <jar href="3rd_parties/jdomb8.jar" download="eager"/>
         <jar href="3rd_parties/lookAndFeel/kunststoff.jar" download="eager"/>
         <jar href="3rd_parties/lookAndFeel/macplaf.jar" download="eager"/>     
    </resources>
    <application-desc main-class="com.gs.eq.accountmaster.client.guimanager.AppManager"/>
    </jnlp>

    ensure you web.xml is set so the Download servlet processes requests for jar files
    eg
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <servlet>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>*.jnlp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
         <servlet-name>JnlpDownloadServlet</servlet-name>
         <url-pattern>*.jar</url-pattern>
    </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
         </welcome-file-list>
    </web-app>

  • Referencing Shared Java EE Libs in Weblogic from WAR inside EAR

    We have a number of applications that need to reference to both Oracle and our own Shared Java EE Libraries on WebLogic. They are structured as folows:
    Our own shared library, "framework", is packaged as a JAR inside an EAR, along with all non-Oracle, third-party libraries (JAR:s) and deployed as a shared library in WebLogic. This is it's manifest:
    Manifest-Version: 1.0
    Created-By: Apache Maven 3.0.4
    Built-By: lajokon
    Build-Jdk: 1.7.0_07
    Implementation-Vendor: <organization>
    Implementation-Title: Framework Lib
    Implementation-Version: 15.0.2
    Implementation-Vendor-Id: org
    Specification-Vendor: <organization>
    Specification-Title: Framework Lib
    Specification-Version: 15.0.2
    Extension-Name: framework-lib
    All JAR:s are in APP-INF/lib
    The applications are each packaged in a WAR inside its own EAR. The WAR weblogic.xml:
    <wls:weblogic-web-app>
    <wls:weblogic-version>10.3.6</wls:weblogic-version>
    <wls:context-root>app-name</wls:context-root>
    <wls:library-ref>
    <wls:library-name>adf.oracle.domain.webapp</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:exact-match>false</wls:exact-match>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>jsf</wls:library-name>
    <wls:specification-version>2.0</wls:specification-version>
    <wls:exact-match>false</wls:exact-match>
    </wls:library-ref>
    </wls:weblogic-web-app>
    The EAR application.xml:
    <application>
    <display-name>app-name</display-name>
    <module>
    <web>
    <web-uri>app-name.war</web-uri>
    <context-root>/app-name</context-root>
    </web>
    </module>
    </application>
    The EAR weblogic-application.xml:
    <weblogic-application>
    <library-ref>
    <library-name>adf.oracle.domain</library-name>
    <specification-version>1.0</specification-version>
    <exact-match>false</exact-match>
    </library-ref>
    <library-ref>
    <library-name>coherence</library-name>
    <specification-version>3.7</specification-version>
    <exact-match>false</exact-match>
    </library-ref>
    <library-ref>
    <library-name>framework-lib</library-name>
    <specification-version>15.0</specification-version>
    <exact-match>false</exact-match>
    </library-ref>
    </weblogic-application>
    All libraries are deployed by default or deploy correctly in WL. As does the application EAR.
    But, when I access the application i get runtime errors saying it can't load resources located in the WAR:s WEB-INF/classes dir!?
    However, I can see, from log output, that it loads resources from the Framework EAR. Why does WL not seem to care about the contents of my WAR?

    If I use the Admin Server Console to view the shared library, I can see ecif-ear(1.0,1.0) in the Deployments list. Its State is shown as "Active", Type is "Library", Deployment Order is 100.
    I deployed the shared library using the Admin Server Console but deployed the referencing application using WorkShop for WebLogic Platform by Run As -> Run on Server. The Eclipse error log shows the following Exception Stack Trace:
    com.bea.workshop.wls.core.j2eelib.UnresolvableReferenceException: ecif-ear|1.0|1.0|true
         at com.bea.workshop.wls.core.j2eelib.LibraryModuleRegistry.resolve(LibraryModuleRegistry.java:106)
         at com.bea.workshop.wls.core.j2eelib.LibraryModulesSvc.resolve(LibraryModulesSvc.java:884)
         at com.bea.workshop.wls.core.server.internal.J2EEDeploymentHelper.deployLibraryModules(J2EEDeploymentHelper.java:409)
         at com.bea.workshop.wls.core.server.internal.J2EEDeploymentHelper.deployAllLibraryModules(J2EEDeploymentHelper.java:392)
         at com.bea.workshop.wls.core.server.internal.J2EEDeploymentHelper.deploy(J2EEDeploymentHelper.java:198)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishModules(WeblogicServerBehaviour.java:893)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:459)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:334)
         at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:862)
         at org.eclipse.wst.server.core.internal.Server.publish(Server.java:850)
         at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:142)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

  • War inside ear; Classpath problem

    I have a deployment structure like the following:
    app.ear
    + META-INF
    --application.xml 
    --lib
    -- commons*.jar
    --ejb.jar
    --web.war
    --WEB-INF
    --META-INF 
    I have all the common jars inside top level lib directory. The war file references
    them through an entry in manifest.mf file. This setup works in weblogic 6.1
    But in weblogic 8.1, it complains that Digester class is unable to load one of
    web app presentation layer class.
    It works in 8.1 if i move the common jar files to APP-INF\lib; So is there anyway
    i can make it work with the entry manifest file?
    -Jay

    My guess is a problem with Digester not using the Thread's context
    classloader.
    Cheers
    mbg
    "Jay Rege" <[email protected]> wrote in message
    news:[email protected]...
    >
    Here is the stack trace.
    ==============
    [weblogic] | 2003-06-27 17:54:24,854 | ERROR |org.apache.commons.digester.Digester
    | Begin event threw e
    rror
    [weblogic] java.lang.NoClassDefFoundError:org/apache/commons/collections/FastHashMap
    [weblogic] atorg.apache.commons.beanutils.BeanUtils.<clinit>(BeanUtils.java:106)
    [weblogic] atorg.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule.java:2
    59)
    [weblogic] at org.apache.commons.digester.Rule.begin(Rule.java:200)
    [weblogic] atorg.apache.commons.digester.Digester.startElement(Digester.java:1273)
    [weblogic] atweblogic.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXPar
    ser.java:459)
    [weblogic] atweblogic.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Abstra
    ctXMLDocumentParser.java:
    221)
    [weblogic] javax.servlet.ServletException:org/apache/commons/collections/FastHashMap
    =============
    commons-digestor.jar and commons-beanutils.jar are there under top levellib directory.
    >
    I can use put them under APP-INF\lib, but i am trying to figure out why itdoesn't
    work with manifest file.
    -Jay
    "Mark Griffith" <[email protected]> wrote:
    Why not put it in APP-INF\lib?
    And where are the Digester classes and the web app presentation layer
    classes and what is the full stack?
    cheers
    mbg
    "Jay Rege" <[email protected]> wrote in message
    news:[email protected]...
    I have a deployment structure like the following:
    app.ear
    + META-INF
    --application.xml
    --lib
    -- commons*.jar
    --ejb.jar
    --web.war
    --WEB-INF
    --META-INF
    I have all the common jars inside top level lib directory. The warfile
    references
    them through an entry in manifest.mf file. This setup works in weblogic6.1
    But in weblogic 8.1, it complains that Digester class is unable toload
    one of
    web app presentation layer class.
    It works in 8.1 if i move the common jar files to APP-INF\lib; So isthere
    anyway
    i can make it work with the entry manifest file?
    -Jay

  • How change programmatically war context root inside ear

    Hi,
    We have an ear application containing a war.
    We need to specify by code at runtime the war application context root WITHOUT specifiy it in web.xml or application.xml deployment descriptor.
    Is it possibile?
    thanks in advance for help

    I found it. It is in the edit descriptor of the ear file, not war file. Sorry about that. My mistake.

  • How to migrate .war archived webservice to WebLogic 10.0.3

    Hi everyone.
    I have been requested to deploy a War file as Webservice on Weblogic Server 10.0.3 (installed on Redhat EL 5.0, I used Sun jdk 1.0.6 distributed along with installer bin file). This file
    was run well on TOMCAT 5.0.28 server.When hacking into this WAR file I know it use Xfire(1.2.2) as a base to construct Webservice, hibernate(3.0) to mapping with database (it use only a
    services.xml putting on META_INF to describe service as far as I know). Firstly, I use Adminstration Console, go to deployment link and deploy as this tool say, the result in Adminstration
    Console tell me I had deployed succedfully but when I digged into exploded directory of WAR file, I can not see any .class file under WEB_INF directory and my client actually can not access provided services. I thought there is problem when use Application Console to deploy so I switch to use other tool like wlst or ant task but result is the same. Finally, I had to upload WAR file, use jar to extract WAR file to a directory and use Adminstration Console to deploy the whole directory as a Web Application. All class file are under WEB_INF directory. But when I use a client to access services I got exception as below on WebBrowser
    Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Fault: java.lang.NullPointerException
    and no more detail (or I do not known where to get log file). Because I am just a system maintainer and do not know much a bout J2EE Webservice specification, I just read some materials
    and know that WebLogic support Web Services 2.1 (JAX-WS) and XML-Based RPC 1.1 (JAX-RPC). So I desire to know some thing below:
    1) What kind of Webservice in WAR file do I have (Web Services 2.1 (JAX-WS) and XML-Based RPC 1.1 (JAX-RPC) or something WebLogic do not support?
    2) How to migrate my WAR file to Weblogic by a very common way?
    3) How to get log to make more detail about exception above on WebLogic (does log4j archive this work?) ?
    Thank you so much
    Edited by: user10407314 on Oct 30, 2008 1:41 AM

    Hi all,
    May be I found the problem. The compatibility between Weblogic and hibernate 3.0 relating to antlr-2.7.5H3.jar library. Although I include all application's jar file in CLASSPATH when start server
    but Weblogic seem not to see my antlr-2.7.5H3.jar and use its default antlr library instead. So I set my antlr-2.7.5H3.jar directly into PRE_CLASSPATH variable on $DOMAIN_HOME/lib/setDomainEnv.sh
    file like below:
    PRE_CLASSPATH="$DOMAIN_HOME/lib/antlr-2.7.5H3.jar"
    export PRE_CLASSPATH
    By now my application use the desired lib and Webservice work fine.
    But I wonder if this is a good solution, is there any other good practice to set CLASSPATH for this situation? setting PRE_CLASSPATH is correct point and having no affection to the whole domain
    in the case there are more application reside in the domain?
    Thank all.
    Edited by: user10407314 on Oct 30, 2008 9:56 PM
    Edited by: user10407314 on Oct 30, 2008 9:57 PM

  • Checksum inside EAR Files

    Hello All,
    Is it possible to recurse an EAR file structure and compute checksums of the files inside the EAR file, say go inside wars, jars etc ? If it can be done then please let me know the Java API to use.
    TIA

    http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/package-summary.html

  • WAR archive and paths

    Hi all,
    I have my application working and running as exploded format.
    When I packaged it into a WAR and included it with an EAR along with the
    EJB JARS I have, it stopped running !
    I have the application correctly deployed.
    I can access some files under it.
    I have doubts that maybe it could be that some files are referencing
    others using relative paths.
    Should we replace these with absolute paths ?
    /mywebapp/myfolder/myfile.jsp instead of myfile.jsp ?
    help appreciated
    mona

    Not working as in 404 error?
    Could be deploying under a different context (as opposed to the default/root
    context).
    Try /webAppName/index.jsp rather than /index.jsp, after replacing
    "webAppName" with the name of your web application.
    Bob
    "Mona Ramlawi" <[email protected]> wrote in message
    news:[email protected]..
    Hi all,
    I have my application working and running as exploded format.
    When I packaged it into a WAR and included it with an EAR along with the
    EJB JARS I have, it stopped running !
    I have the application correctly deployed.
    I can access some files under it.
    I have doubts that maybe it could be that some files are referencing
    others using relative paths.
    Should we replace these with absolute paths ?
    /mywebapp/myfolder/myfile.jsp instead of myfile.jsp ?
    help appreciated
    mona

Maybe you are looking for

  • Powerdns pkgbuild - a dns deamon supporting many backends

    I made this some time ago and almost forgot to post it :-) It's a very nice dns daemon with support  for many many backends like postgresql, mysql, sqlite, ldap, bind, pipes and even more (like random backend :-)). You can read all about it in powerd

  • HOW TO REMOVE MEDIA DOWNLOADER, FREE.

    i am being swamped with request to Download, "MEDIA DOWNLOADER" along with loads of window adds, how do I get rid of this Virus?

  • Automatically finding folders that have been moved?

    (LR 1.3.1 on WinXP) I used to have My Pictures\yyyy-mm-dd-topic as my directory structure, and to aid in backups, added a new intermediate level diretory for the year, and moved all the folders for a given year into that year's folder. Using Explorer

  • PSE 9.0.3 on Mac - files now opening in tabs?

    Tabbed windows don't work for me in PSE, I often need to look at more than one document. With v9.0.3, files open in tabs by default. I looked and looked for a preference setting to change that to no avail. Is there a setting for that?

  • Infopath 2010 - Naming the form

    Hello, I am wking on the infopath forms. Want to know if the infopath form can be named automatically when saved, as I want a unique nme for each form to further use it in the workflow. Can I please have a detailed description or an online resurce as