Short question to WAR-file

Hi there,
I've searched the forum but couldn't find what I'm looking for ... I'm just about to test Tomcat with WAR-files:
1) I got Tomcat 5, unzip, startup --> running fine
2) Have created a demo WAR using NetBeans, working fine, too (in NetBeans)
3) tried to copy the war file into the webapps folder in tomcat --> deployed (no errors)
4) looked up, what's the URL-pattern for my service (is "/servlet/Eval") <-- well ...
5) tried to access the service via "http://localhost:8080/servlet/Eval" --> NOT FOUND (???)
Port is right 'cause the start-page appears. What's wrong here?
Thx for reading.

I think the URL you used to invoke the servlet is incorrect.
I'll assume that:
Your WAR file is named my-app,
You have a web.xml in its WEB-INF directory that maps your servlet class to a URL /my-servlet,
Your servlet is in a package.
If all this is true, the URL should be:
http://localhost:8080/my-app/my-servlet
See if that's better.

Similar Messages

  • Reposting Question about WAR files because...

    ... because I am truly at my wits end and almost out of time for this project. My apologies. Can someone please help? Thanks.
    +=====================
    I know this should be trivial but it is just not working for me...
    I have a (Tomcat 3.2.3) application consisting of various html and jsp and tld files currently under \webapps\alan\app1. The tags refer to handlers and tei files in \webapps\WEB-INF\classes\alan\app1. The web.xml file in \webapps\WEB-INF does not refer to any of these elements at the moment. Everything works just fine.
    I want to create an app1.war file for all the above which can be deployed somewhere else entirely, say c:\bob. According to what I read in various places, all I need to do is create a web.xml file that adds a <servlet> tag for the jsp files (using <jsp-file> rather than <servlet-class>), create an app1.war file using the jar utility, and add a <context> block to server.xml to define a virtual path to c:\bob\app1.war. I did all these but Tomcat (after restart) cannot find my jsp files.
    I believe I must be specifying something incorrectly. Would the context block be something like:
    <context path="/whatever" docBase="c:\bob\app1.war" crossContext="false" debug="0" reloadable="true" trusted="false">
    Also, in the original location I pointed my browser at alan1/app1/fu.jsp and Tomcat found the files easily (since they were under webapps). Is it enough to just add to the web.xml file blocks like
    <servlet><servlet-name>fu</servlet-name><jsp-file>fu.jsp</jsp-file>
    or must I add something else to web.xml?
    Perhaps the problem is in the URL I type into the browser address?? Should it be
    http://host/whatever/fu
    or
    http://host/whatever/fu.jsp
    or
    http://host/whatever/alan/app1/fu.jsp
    where "/whatever" is the virtual path to c:\bob\app1.war defined in server.xml?
    Actually I tried all these (and other combinations) but without luck...
    Please excuse the simplicity of this question but I just cannot seem to get the war file working

    Your context is incorrect. The docBase parameter is relative to the Tomcat install directory. The following should work, provided tomcat is installed on the same drive as the jsp files etc:
    <context path="/whatever" docBase="../bob/app1"
    crossContext="false" debug="0" reloadable="true"
    trusted="false">
    The above works for the directory c:\bob\app1 with jsp & html in it, but I couldn't get it to work for a war file.
    The idea of war files is that you upload them to a server, which unpacks them wherever it wants, and automatically adds the context to its list (so you really don't need to worry about context settings in server.xml, unless you want to define a custom url that maps to your files)
    You can see this in action if you just put your war file in %TOMCAT_HOME%\webapps and start the server (don't make any other changes) - it will expand the war file automatically and add the context.
    In fact, this would be a good first step to make sure your war works and you can access the jsps after you've changed the web.xml file
    Incidentally, you wouldn't need to change the web.xml file, either, unless you specifically want to map an "alias" name to your jsps/servlets. If you're happy with just typin their actual names in your urls, then don't touch web.xml. If, however, you want the user to type "http://host/whatever/fu" instead of "http://host/whatever/fu.jsp", then you'd need to mess with web.xml
    I'd advise doing one minimalist step at a time, since Tomcat will bite & scratch you otherwise ;-)

  • How to deploy a war file with no descriptors in WLS - quick question

    Hi All
    How do we deploy a war file, which doesnt have weblogic.xml nor web.xml in it ?
    We have these xml files.
    1- How do we include these xml files ? any command line to do that ?
    2- Which is an easier approach to deploy a war file
    a) include these xml files into the war and then deploy with WLS using weblogic.Deployer or
    b) explode the war and then copy these xml files to its WEB-INF ?
    Is there an example we could use to follow to deploy our war file ?
    Thanks

    Puthanampatti, thanks for responding.
    What is the complete command line to deploy the war to a managed server, not Admin Server ?
    Our thinking is to deploy an exploded war directory but copy the descriptor files first.
    What do you think ?

  • Novice Question - When to use WAR files

    Sorry I'm so thick, I just don't seem to grasp the concept of how to structure my web pages in tomcat (or any j2ee server I suppose). Any help, as always, is greatly appreciated.
    Let's say I want to build a personal website that would have a default homepage and two fairly complex "applications", a photo album and a recipes collection.
    Would I build my default page, let's call it index.jsp and then my applications in two sub-directories (say, "photos" and "recipes") and the wrap the whole thing up in a WAR file and upload it to my server.
    Or would upload my index.jsp page by itself to my server then create two WAR files, one for photos and one for recipes and upload those to my server?
    Thanks

    Sorry I'm so thick, I just don't seem to grasp the concept of how to structure my web pages in tomcat (or any j2ee server I suppose). Any help, as always, is greatly appreciated.
    Let's say I want to build a personal website that would have a default homepage and two fairly complex "applications", a photo album and a recipes collection.
    Would I build my default page, let's call it index.jsp and then my applications in two sub-directories (say, "photos" and "recipes") and the wrap the whole thing up in a WAR file and upload it to my server.
    Or would upload my index.jsp page by itself to my server then create two WAR files, one for photos and one for recipes and upload those to my server?
    Thanks

  • Deploy war file - quick question

    Hi
    using weblogic.Deployer, is that deployment command line options for deploying a war file the same as deploying an ear file ?
    Will it deploy to the remote directory WLS of upload directory ?
    Thanks

    Hi,
    using weblogic.Deployer, is that deployment command line options for deploying a war file the same as deploying an ear file ?Yes,
    Example
    java weblogic.Deployer -adminurl t3://localhost:7001 -username weblogic -password weblogic123 -deploy -name Fabian_Ear -appversion VesionA -targets <Managed_Server_name> -source /apps/Original/Fabian.ear
    More details about Weblogic.deployer can be found under below link
    http://docs.oracle.com/cd/E13222_01/wls/docs90/deployment/wldeployer.html
    Regards
    Fabian

  • How to prepare and deploy a war file - quick question

    Hi All
    Is there a simple example on what xml files to create and how and what to include to deploy a war file, which doesnt contain weblogic.xml nor web.xml, to WLS ?
    There are many examples of deploying ear but not war.
    What are the pre-requisites of files to create to deploy a war file and how and what are the steps ?
    Thanks

    [att1.html]
              

  • Web application deployment failure when Mozilla Rhino 15R2 included in war file

    Hi Guys
    I'm currently attempting to deploy a web application under weblogic 6.1.
    The application makes use of Mozilla Rhino15R2, packaged in the file js.jar.
    With js.jar contained in the WEB-INF\lib directory in the war file, the
    application fails to install, the weblogic.log file has the following entry.
    ####<22-Oct-00 09:53:53 BST> <Info> <HTTP> <winnt2> <winnt2> <main> <system>
    <> <101053> <[HTTP winnt2] Loading web app: SWIFTAccessControl>
    ####<22-Oct-00 09:53:53 BST> <Info> <HTTP> <winnt2> <winnt2> <main> <system>
    <> <101059> <[winnt2] Loading SWIFTAccessControl from WAR file:
    I:\bea\wlserver6.1\.\config\mydomain\applications\.wlnotdelete\wl_comp53845.
    war>
    ####<22-Oct-00 09:53:53 BST> <Info> <HTTP> <winnt2> <winnt2> <main> <system>
    <> <101031>
    <[WebAppServletContext(6025277,SWIFTAccessControl,/SWIFTAccessControl)]
    extracting classfiles to
    I:\bea\wlserver6.1\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_wa
    r_winnt2_winnt2_SWIFTAccessControl:>
    ####<22-Oct-00 09:53:53 BST> <Debug> <HTTP> <winnt2> <winnt2> <main>
    <system> <> <101158> <Exception thrown while loading SWIFTAccessControl:
    java.lang.IllegalArgumentException: Prefix string too short>
    java.lang.IllegalArgumentException: Prefix string too short
    ####<22-Oct-00 09:53:54 BST> <Error> <J2EE> <winnt2> <winnt2> <main>
    <system> <> <160001> <Error deploying application SWIFTAccessControl: Could
    not load SWIFTAccessControl>
    If I rebuild the war file, excluding js.jar weblogic successfull deploys the
    application and I can access the application. Question has anyone come
    across a similar problem and does any one know of a solution. I'd be most
    grateful for any help on this one.
    Regards
    Tony

    Check this thread...
    Spring's JSF DelegatingVariableResolver cause InvocationTargetException

  • 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

  • War file doesn't take new classess

    Not sure if this is right place to ask this question, but please help.
    I had a war file deployed to weblogic 8 server, and I want to fix a problem quickly so I exploded the war file and put new classes files in /WEB-INF/classess directory. After I re-deploy this new war file, it still take the old version of classes file from somewhere I don't know.
    Please help, I think this is short-cut to fix application but it turns to take even longer.

    Not sure if you are stalled by a firewall or security in your web application or other mishap. Can you take a look at the relevant log at the server site? Look at the .log files at j2ee/home/log/. From *-web-access.log, you can determine if your url request indeed hit your server. From application-deployments/<youApp>/application.log, you would see the relevant exception.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • War file doesn't take new classes

    Not sure if this is right place to ask this question, but please help.
    I had a war file deployed to weblogic 8 server, and I want to fix a problem quickly so I exploded the war file and put new classes files in /WEB-INF/classess directory. After I re-deploy this new war file, it still take the old version of classes file from somewhere I don't know.
    Please help, I think this is short-cut to fix application but it turns to take even longer.

    Not sure if you are stalled by a firewall or security in your web application or other mishap. Can you take a look at the relevant log at the server site? Look at the .log files at j2ee/home/log/. From *-web-access.log, you can determine if your url request indeed hit your server. From application-deployments/<youApp>/application.log, you would see the relevant exception.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to work with two different backend with same MI Server and war file

    Hi All,
    We have a requirement that we need to work with one Middleware for two backends. For that we had to copy MAM30 sync bo's to zsync BO'S with the name ZMAM30. Now both sync BO'S will point to different backends.
    I have a standard war file which was working well with standards sync bo's. Now to work on zsync bo's what all the changes do I have to do in the standard war file(code).
    As per my knowledge we have a file called "syncbonamelist.properties" which maps the sync bo keys. Also there is another file called "mapping.xml" file which maps the package name with BO name.
    Can any body please tell me, are there any other files needed to be change like "meRepMeta.xml", other than any existing code like java objects are also needed to be changed.
    Your help in this regard is highly appreciable.
    Regards
    Murthy

    Hi Murthy,
    I try to get my head around the question:WHY?
    The reason for my question is, that this influences the answer!
    Because of several reasons it is NOT possible to handle MAM and zMAM Bos at the SAME TIME on the SAME MACHINE in the way you describe it - and it makes no sence to do so at all! But anyway......
    Lets say you have two backends, cause you have two different areas of the company. But both want to use the same MI server - but the client should be independend.
    So you need two apps. One uses the MAM BOs and the second one uses the zMAMBos.
    If this is the case, dev should be straight forward I think and you solution should work already......... so I ask myself, what is the problem you have? Do you get an error?
    - First create a new MEREPMETA-XML with just the zMAMBOs instead of the MAM BOs.
    - Change the two files you mentioned above.
    This should be all then.
    If you have a look into the implementation for MAM001Impl for example, there you find a line like:
         private static final String SYNC_BO_NAME
              = ResourceBundle.getBundle("com.sap.mbs.mam.bo.impl.syncbonamelist").getString("MAM30_040");
    This takes the name from the properties file and maps it to the real BO. So changing the name in the property file to
    MAM30_040 = zMAM30_040
    will result in MAM uses the zMAM BOs.
    Be aware: after you place the WAR file in the WEBAPPS folder and do a restart to deploy the file, you need to do a data reset to make sure the new MEREPMETA.XML is read.
    AND: two apps! one for MAM and one for zMAM BOs. One APP is not possible! Cause if you have something like that in the properties file:
    MAM30_040 = MAM30_040
    MAM30_040 = zMAM30_040
    if will only take the first reading.
    But I think this is clear to you anyway
    Regards,
    Oliver

  • How to deploy a war file on Weblogic Server 7.0??

    Hello Everyone
    I am trying to deploy a servlet on Weblogic Server 7.0 as a WAR file. Can anyone of u plz tell me the steps required to do that. I am posting this question on EJb forum and not on servlets coz this is not a servlet problem, rather this is something which is related to J2EE, ie how to deploy a war file on J2EE Server.
    This is how i have done it, but this is not working---
    (1) First i created a directory structure for the web application according to J2EE Specification.
    C:\Work\
    myServletWAR\
    META-INF\
    WEB-INF\
    classes\
    HelloServlet.class
    web.xml
    i.e within work directory, there is a dic called myServletWAR which is my application directory which contains 2 sub directories viz META-INF which contains the mainifest file being generated by the jar utility. the second directory in the myServletWAR application dir is WEB-INF, which contains one file called web.xml for servlet mapping and one directory classes which contains HelloServlet.class
    (2) I used following command for creating war file from myServletWAR director(i.e from my web application's directory).
    jar -cvf TestServletWAR.war .
    This creates the TestServletWAR.war file in myServletWAR dir.
    Here is how my Servlet and web.xml looks like...
    Servlet code
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloServlet extends HttpServlet
    public void doPost ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    doGet( req, res );
    public void doGet ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    res.setContentType( "text/html" ); // Can also use "text/plain" or others.
    PrintWriter out = res.getWriter();
    // Get the requestor's IP address (See JavaDocs to see how to get other info):
    String addr = req.getRemoteAddr();
    // Create output (the response):
    out.println( "<HTML><HEAD><TITLE>HelloServlet in myServletWAR</TITLE></HEAD>" );
    out.println( "<BODY><H1 ALIGN=\"CENTER\">" );
    out.println( "Hello " + addr + ", from HelloServlet in myServletWAR!" );
    out.println( "</H1></BODY></HTML>" );
    out.close();
    ************************Servlet Ends Here **************************
    web.xml
    ---------------------------------------------------------- <!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>
    <display-name>myServletWAR, a first Web Application</display-name>
    <description>
    This is a simple web application containing a single servlet
    of the "Hello, World" variety.
    </description>
    <servlet>
    <servlet-name>myHello</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>myHello</servlet-name>
    <url-pattern>/myHello</url-pattern>
    </servlet-mapping>
    </web-app>
    ****************************web.xml file ends here********************
    After deploying the TestServletWAR.war file on the weblogic 7.0, i tried to execute the servlet from the browser by the following URL
    http://localhost:7001/myServletWAR/myHello
    I am getting the HTTP 404 Error, which is an indication that weblogic was unable to find the resourse, which it was requested for. Can anybody plz tell me what i m doing worng?? do i need to use weblogic related xml file (i.e weblogic.xml) also along with web.xml. If yes, then what all i need to include that. I m not very sure. A sample weblogic.xml file for this HelloWorld example will help me a lot.
    Looking forward for your help
    Thanx in advance
    Nisha

    hi i have read ur answer regarding deploing a servlet in weblogic 7.0
    i am facing another problem
    when i try to access the servlet inside my classes directory it throwa an error stating this :
    IT DOES NOT FOUND THE CLASSES ON WHICH MY SERVLET DEPENDS.WHAT DOEES ATHIS MEAN
    KINDLY TELL ME
    PUNEET JAIN
    <May 28, 2003 1:46:25 PM IST> <Error> <HTTP> <101250> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Se
    rvlet class myclasses.Wservlet for servlet welcome could not be loaded because a class on which it depends was not found
    in the classpath D:\bea\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\W
    ebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)>
    <May 28, 2003 1:46:26 PM IST> <Error> <HTTP> <101018> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)] Ser
    vlet failed with ServletException
    javax.servlet.ServletException: [ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Servlet class myclasses.W
    servlet for servlet welcome could not be loaded because a class on which it depends was not found in the classpath D:\be
    a\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\WebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:791)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

  • Error while deploying war file inOC4J through o9ias

    Dear friends
    I receive an error while deploying a war file to oracle 9i application server stating that one or more process is running, shutdown by 9iAS or by enterprise manager or use dcmctl resynInstance to free the resource.
    This error happens when one deploy is either interrupted or not deployed properly. But even after stopping the process by "dcmctl stop" or by the command "dcmctl resynInstance" i am not able to deploy any more applications. Kindly guide me

    You probably want to post this question over in the OC4J forum or in one of the 9iAS forums. ODBC is a Windows C++ & VB client API, so it doesn't have a lot to do with the Oracle application server or OC4J.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Deploying a WAR File, WL 6.0

    Hi!
    I'm trying to deploy a web application on WL 6.0. This application
    runs on Tomcat 3.x and 4.x. I have a WAR file containing jars,
    JSP, html etc. Using the tools of WL6.0 I can upload and deploy
    the application. I can also access the HTML files from the welcomelist.
    However when I want to access the JSPs I hit an:
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented
    it from fulfilling the request.
    Looking at the log files it turns out that WL cannot find a properties
    file (See below).
    Questions:
    - How can I make sure WL finds the file -- note that the properties
    file is contained in the WAR file. It appears (just searching for
    this file on the disk) that the WAR install program of WL does
    not unpack the file.
    - The properties file contains relative paths -- can WL handle
    that?
    If you want to try it your self you can pick up the WAR file at
    ftp://ftp.b3idev.com/anonup/Bea/jetspeed.war
    Later..
    ++Dirk
    [WebAppServletContext(7037379,jetspeed)] jetspeed: init
    Feb 27, 2001 5:03:21 PM EST Info HTTP
    [WebAppServletContext(7037379,jetspeed)] jetspeed: init
    Feb 27, 2001 5:03:21 PM EST Info HTTP
    [WebAppServletContext(7037379,jetspeed)] jetspeed: Turbine:
    init() failed: org.apache.turbine.services.InitializationException:
    Turbine::init(ServletConfig) - The Turbine Resources
    File - './WEB-INF/conf/TurbineResources.properties' does not exist.
    Please create it or change the 'properties' Init Parameter Value
    to a file name that exists and contains the TurbineResources.

    Hi!
    I'm trying to deploy a web application on WL 6.0. This application
    runs on Tomcat 3.x and 4.x. I have a WAR file containing jars,
    JSP, html etc. Using the tools of WL6.0 I can upload and deploy
    the application. I can also access the HTML files from the welcomelist.
    However when I want to access the JSPs I hit an:
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented
    it from fulfilling the request.
    Looking at the log files it turns out that WL cannot find a properties
    file (See below).
    Questions:
    - How can I make sure WL finds the file -- note that the properties
    file is contained in the WAR file. It appears (just searching for
    this file on the disk) that the WAR install program of WL does
    not unpack the file.
    - The properties file contains relative paths -- can WL handle
    that?
    If you want to try it your self you can pick up the WAR file at
    ftp://ftp.b3idev.com/anonup/Bea/jetspeed.war
    Later..
    ++Dirk
    [WebAppServletContext(7037379,jetspeed)] jetspeed: init
    Feb 27, 2001 5:03:21 PM EST Info HTTP
    [WebAppServletContext(7037379,jetspeed)] jetspeed: init
    Feb 27, 2001 5:03:21 PM EST Info HTTP
    [WebAppServletContext(7037379,jetspeed)] jetspeed: Turbine:
    init() failed: org.apache.turbine.services.InitializationException:
    Turbine::init(ServletConfig) - The Turbine Resources
    File - './WEB-INF/conf/TurbineResources.properties' does not exist.
    Please create it or change the 'properties' Init Parameter Value
    to a file name that exists and contains the TurbineResources.

  • Problem deploying a WAR file in Weblogic 10

    I get an error trying to deploy a WAR file on WebLogic 10 on two of my co-workers computers. On my computer it works fine and on our development server running on SUSE 10 it is also fine. We are using Struts 2, Hibernate 3 and Spring 2.5. The exception says that weblogic.wsee.async.AsyncResponseBean failed to preload because weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found. We are not knowingly trying to use these classes. We do not have web services. The full text of the error we get when trying to deploy is:
    <Aug 20, 2008 3:01:45 PM CDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application '_appsdir_pilotVacation_war'.
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "weblogic.wsee.async.AsyncResponseBean" failed to preload on startup in Web application: "pilotVacation.war".
    class: weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found
    at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
    at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
    at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
    at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
    at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
    at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229)
    at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315)
    at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125)
    at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:950)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    class: weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found
    at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
    at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
    at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
    at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
    at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
    Truncated. see log file for complete stacktrace
    >

    Hey,
    From what I understand, your configuration is obviously different from your co-workers' config.
    So you've got two choices : either you make their environments work like yours, or you make the application to work anywhere !
    In order to do so, I would advise you to use a comparison tool, such as BeyondCompare (excellent) and compare your domain configurations (config directories)
    Or as James suggested it, you go hunt for unnecessary libraries in your application DD.
    Extra question : have you tried to create a new domain, and activate the Workshop extension ? Try then to deploy your application and tell us what's the result.
    If you created your application in Workshop, mind the facets : if you do not chose the correct set of facets, you'll have lots of extra libs, more annoying than helping.

Maybe you are looking for