Deploy servlet with WAR file

Has anyone successfully deployed servlets using WAR file?I think I did everything right. The WAR file was deployed. But I can't accesss it.
          

I use .war files for deploying servlets in WLS 6.0 - they are much easier
          than exploded dirs...
          Usually, when I have a problem accessing the servlet once deployed, it's
          almost always the deployment descriptor.
          "Randy" <[email protected]> wrote in message
          news:3b311258$[email protected]..
          > Has anyone successfully deployed servlets using WAR file?I think I did
          everything right. The WAR file was deployed. But I can't accesss it.
          

Similar Messages

  • Deploying Servlet with HTML file on Tomcat

    Hi ,
    I created a servlet and an html file. The html file accepts user data and passes it to servlet.
    I want to deploy these two files using Tomcat server. Please tell me a sure procedure for deploying both files.
    Regards,
    ap.

    First of all its better to make a jsp rather than one HTML and a servlet but anyhow in order to deploy it first build your project and create a war file which should contain your HTML and servlet and the web.xml.
    Then place this war file inside the webapps folder of tomcat.Start the tomcat and hit your HTML on the browser....

  • Deploy Tomcat with .war file from JSC IDE(Help me, Please!)

    first run:
    com.sun.rave.web.ui.appbase.ApplicationException: #{BranchSet.button1_action}: javax.faces.el.EvaluationException: java.lang.AbstractMethodError: oracle.jdbc.driver.OracleDatabaseMetaData.locatorsUpdateCopy()Z
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:302)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    but, second run,that's all right!
    Why? Why? Why? Why?
    Any answer, very very admire

    remember that each time u export a jsc application to a war file, u should rename the war file before deployin on tomcat server, to work properly.

  • Unable to deploy a simple servlet using WAR file on Oracle9iAS v9.0.3

    Hi All,
    I am facing problem while deploying a simple servlet using WAR file on Oracle 9i App Server.
    I have installed Oracle9iAS J2EE and Web Cache v9.0.3 on Windows 2000 server.
    It includes:
         - Oracle HTTP Server
         - Oracle9iAS Containers for J2EE
         - Oracle9iAS Web Cache
         - Oracle Enterprise Manager
    The release of installed Oracle9iAS is Release 2 (9.0.3)      
    I referred following link to Deploy Applications Using WAR file:
         http://otn.oracle.com/products/ias/daily/sept12.html
    As mentioned in this documentation I have followed following steps to deploy WAR file:
    1] I have created a war file by name SimpleServlet.war. In SimpleServlet.war, there is a servlet by name Simple which prints time at which servlet was accessed.
    2] I have modified <ora9ias_home>\j2ee\home\config\application.xml and added following web module entry:
         <web-module id="SimpleServlet" path="../../home/applications/SimpleServlet.war" />
    3] To make this module accessible from over the web, I have modified file
         <ora9ias_home>\j2ee\home\config\default-web-site.xml and added following entry:
         <web-app application="SimpleServlet" name="SimpleServlet" root="/SimpleServlet"/>
    4] I saved both the files and started Oracle HTTP Server and accessed page as below:
              http://<server>:7777/SimpleServlet/Simple
    where Simple is servlet in SimpleServlet.war file.          
    In the browser, The page cannot be found is shown to user. I have verified that SimpleServlet.war is extracted to SimpleServlet folder under <ora9ias_home>\j2ee\home\applications folder. I found that Simple.class is stored under WEB-INF/classes folder and web.xml contains correct entry for url pattern for servlet Simple.
    What else could be the problem? Am I placing the war file in wrong place or modifying application.xml or default-web-site.xml in a wrong directory?
    This is very urgent. Please help me with your valuable comments on this.
    Thanks in advance.
    Regards,
    Sandesh

    Hi All,
    I am facing problem while deploying a simple servlet
    using WAR file on Oracle 9i App Server.
    I have installed Oracle9iAS J2EE and Web Cache v9.0.3
    on Windows 2000 server.
    It includes:
         - Oracle HTTP Server
         - Oracle9iAS Containers for J2EE
         - Oracle9iAS Web Cache
         - Oracle Enterprise Manager
    The release of installed Oracle9iAS is Release 2
    (9.0.3)      
    I referred following link to Deploy Applications
    Using WAR file:
         http://otn.oracle.com/products/ias/daily/sept12.html
    As mentioned in this documentation I have followed
    following steps to deploy WAR file:
    1] I have created a war file by name
    SimpleServlet.war. In SimpleServlet.war, there is a
    servlet by name Simple which prints time at which
    servlet was accessed.
    2] I have modified
    <ora9ias_home>\j2ee\home\config\application.xml and
    added following web module entry:
    <web-module id="SimpleServlet"
    path="../../home/applications/SimpleServlet.war" />
    3] To make this module accessible from over the web,
    I have modified file
    <ora9ias_home>\j2ee\home\config\default-web-site.xml
    and added following entry:
    <web-app application="SimpleServlet"
    name="SimpleServlet" root="/SimpleServlet"/>
    4] I saved both the files and started Oracle HTTP
    Server and accessed page as below:
              http://<server>:7777/SimpleServlet/Simple
    where Simple is servlet in SimpleServlet.war file.          
    In the browser, The page cannot be found is shown to
    user. I have verified that SimpleServlet.war is
    extracted to SimpleServlet folder under
    <ora9ias_home>\j2ee\home\applications folder. I found
    that Simple.class is stored under WEB-INF/classes
    folder and web.xml contains correct entry for url
    pattern for servlet Simple.
    What else could be the problem? Am I placing the war
    file in wrong place or modifying application.xml or
    default-web-site.xml in a wrong directory?
    This is very urgent. Please help me with your
    valuable comments on this.
    Thanks in advance.
    Regards,
    SandeshHave you restarted you http server and then tried to load it again? Are you using the right port; maybe you have to use port 7778? Check you server settings in the http server instance. Also check your url binding of you application at Farm > Application Server: infrastructurehost > OC4J_instance > Application: appname > Web Module: modulename
    Good luck!
    rgds Thomas

  • Unable to deploy a simple servlet using WAR file

    Hi All,
    I am facing problem while deploying a simple servlet using WAR file on Oracle 9i App Server.
    I have installed Oracle 9i App Server. I referred following link to Deploy Applications Using WAR file:
         http://otn.oracle.com/products/ias/daily/sept12.html
    As mentioned in this documentation I have followed following steps to deploy WAR file:
    1] I have created a war file by name SimpleServlet.war. In SimpleServlet.war, there is a servlet by name Simple which prints time at which servlet was accessed.
    2] I have modified <ora9ias_home>\j2ee\home\config\application.xml and added following web module entry:
         <web-module id="SimpleServlet" path="../../home/applications/SimpleServlet.war" />
    3] To make this module accessible from over the web, I have modified file
         <ora9ias_home>\j2ee\home\config\default-web-site.xml and added following entry:
         <web-app application="SimpleServlet" name="SimpleServlet" root="/SimpleServlet"/>
    4] I saved both the files and started Oracle HTTP Server and accessed page as below:
              http://<server>:7777/SimpleServlet/Simple
    where Simple is servlet in SimpleServlet.war file.          
    In the browser, The page cannot be found is shown to user. I have verified that SimpleServlet.war is extracted to SimpleServlet folder under <ora9ias_home>\j2ee\home\applications folder. I found that Simple.class is stored under WEB-INF/classes folder and web.xml contains correct entry for url pattern for servlet Simple.
    What else could be the problem? Am I placing the war file in wrong place or modfiying application.xml or default-web-site.xml in a wrong directory?
    This is very urgent. Please help me with your valuable comments on this.
    Thanks in advance.
    Regards,
    Sandesh

    Hi Juliana,
    Thanks a lot for your suggestion.
    I am sorry if I have posted this message to a wrong forum. This is first time I am posting a message to OTN. I will resend message to J2EE forum as per you suggestion.
    Meanwhile, please note information you asked for is as below:
    I installed Oracle9iAS J2EE and Web Cache v9.0.3 on Windows 2000 server.
    It includes:
         - Oracle HTTP Server
         - Oracle9iAS Containers for J2EE
         - Oracle9iAS Web Cache
         - Oracle Enterprise Manager
    The release of installed Oracle9iAS is Release 2 (9.0.3)      
    Please do reply at the earliest.
    Once again thanks and look forward to hear from you.
    Regards,
    Sandesh

  • Struts2 webapp is not starting up when deployed as unexploded war file

    Whereas if I deploy as exploded war file it works just fine.
    I am seeing following error when deploying as unexploded war file. I am deploying in weblogic 10.3. Using struts 2 with Spring as object factory.
    'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1235449766296> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.
    Action class [logAction] not found - action - zip:C:/servers/bea10/user_projects/domains/ro_domain/servers/AdminServer/tmp/_WL_user/loginWeb/tlbxoe/war/WEB-INF/lib/_wl_cls_gen.jar!/struts.xml:60:60
    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:374)
    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:329)
    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:429)
    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:239)
    at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)
    at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:152)
    at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
    at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
    at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
    at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)
    at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:329)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:95)
    Thanks in advance for your help.

    Post your question in WebLogic forum here:
    WebLogic Server - General

  • Can i call a file which is not bundled with war file

    i am dynamically creating a file which i want to call in another jsp but it is giving error file missing. i am working on sun app. server all the jsps servlet,beans are bundled with war file. can i call a file in some jsp which is not bundled with war. i am also setting path of server to that folder.but its not working. how can i do it.

    Do you have a small code sequence that you can share with us?

  • Deploying an existing WAR file into the Portal

    I have downloaded the Enterprise Portal and the SAP Netweaver Developer Studio (NDS) and have succeeded in creating a couple of projects of the ‘Hello World’ variety and deployed them on the Portal!  So far, so good.
    The problem I have is that need to deploy on the Portal an existing JSP/Struts application of ours which is available as a Web Archive (WAR) file.
    The problem is that I cannot find a way of deploying an existing WAR file on the Portal – either via a Project or otherwise.  I have found an entry in the Help files with the NDS which sounds promising, as it is entitled ‘Import a .WAR File into a new project’.  However, the menu entry it says you should use (File &#8209;> Import &#8209;> MDK: Import a web archive (.WAR) into a new project) this last entry does not exist on my installation of NDS.
    Any ideas or suggestions?

    Hi Mustafa (and All) - thanks you very much for your answers, which has enabled me to make good progress.
    I have created a project in the Deploy Tool, imported a simple WAR file into it, loaded to project and depployed it on my instance of the Portal - or at least I have deployed it as far as the Deploy Tool is concerned. 
    However, when I try to find it in the Portal in order to assign it to an iView in the Portal content, I can't find any evidence of its existence!!
    As another 'tack' in the NDS I have created an 'Enterprise Application Project', into which I appear to have imported the WAR file - but I cant package this as a PAR file, which is what I seem to need to do to get it into an iView on the Portal.  To create a PAR package I seem to need to create a 'Portal Application Project' - but I can't find a way of getting the WAR file into that!!
    Any further advice would be greatefully received.
    Thanks for your help to date and thanks in advance for any more you may be able to give.
    Regards,
    Dave

  • Is it possible to deploy a portlet war file on web container?

    Hi All,
    Is it possible to deploy a portlet war file on web container i.e say I have a JSF or struts portlet application deployed on a portal container which I need to run as a web application.
    So, I would need to deploy the application on web container.
    Can this be done directly without making any changes and without importing jars?or is it not possible at all?
    Did anyone try this?
    Would be very nice of you if you can reply asap.
    Thanks & Regards,
    Nishant

    I'm not sure using the DVT enabler portlet will do what you want. It basically just specifies the render dependencies to bring in the dojo and dvt javascript libraries. It doesn't provide any login support itself; the javascript it brings responds to the logged-in state of the user (accessed via DISC), so something else is required to login the user.
    Greg

  • How to deploy web application .war file into SAP NetWeaver Engine?

    Hi All,
    I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
    I tried to deploy .war file through SDM but it complained the following error
    - Hide quoted text -
    "Error loading archive
    C;\Document and Settings\cr1adm\Desktop\MyProject.war
      (server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
    com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    (F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
    Can any one please suggest how to deploy external web application into SAP netweaver engine.
    Is there any procedure to follow to do this.
    your inputs will be highly appreciated...
    Thanks in advance

    Hi,
    I think first you need to wrap it into an EAR file, then you can deploy it.
    As far as I know standalone deployment of WAR is deprecated as of 640.
    similar threads:
    How to deploy .war on NWDI
    Deploying an existing WAR file into the Portal
    Hopefully this tutorial also gives some idea:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
    Regards,
    Ervin

  • Problem with .war files

              I have created a .war file with my servlets in
              /WEB-INF/classes directory and all other classes jared into a single jar file
              in /WEB-INF/lib,but on calling the servlet only those classes that the servlet
              uses directly are recognized but for the other classes it gives an exception NoClassDef
              found.I later changed the .war file so that all the classes are put into /WEB-INF/classes
              directory directly(no jar),but this time it again fails with the same excception,is
              this a bug in weblogic or am I doing things wrong.please clarify.
              thanks and regards
              vijay
              

    Bobby,
              This appears to be a known problem and has been addressed by CR065104. Please
              contact support to obtain the appropriate patch.
              Thanks,
              Simon
              Developer Relations Engineer
              BEA Support
              Bobby Nations wrote:
              > Vijay,
              >
              > You're not alone, I'm experiencing these problems when moving a .war file
              > from WLS 6.1.0 to WLS 6.1.2. I'm running WLS 6.1.0 on my development
              > server, and whenever I deploy a .war file there, it finds the jar files
              > in WEB-INF/lib and handles everything properly. I move that exact .war
              > file to my staging server (one rung below production) along with the
              > config.xml and start script from development, and blammo, no go. It
              > complains of ClassNotFound for any class contained in a jar file under
              > the WEB-INF/lib directory. So, my symptoms break down like so: works for
              > WLS 6.1.0 but not for WLS 6.1.2.
              >
              > I think that this must be a bug in service pack 2 of WLS 6.1.
              >
              > Bobby
              >
              > In article <3bbc80e9$[email protected]>, "Vijayanand.R"
              > <[email protected]> wrote:
              >
              > > Hi Udit,
              > > thanks for the reply,
              > > the package under WEB-INF/classes is fine,it invokes the servlet too but
              > > it fails to recognize the jar under WEB-INF/lib and complains that the
              > > particular class it is looking for is not found
              > > Regards
              > > Vijay
              

  • Classpath issue with .war files on iPlanet 6.0

    Hi there,
    I'm using iPlanet 6.0 Web Server (SP1, I think), and I have an issue.
    We deploy a .war file as per normal. We go to the URL, and get a 500 error. Checking the error file gives us the following error (the application name has been blanked out with #####, and the server's domain name with <server>, but the actual package names remain -- they are libraries from ESRI):
    [08/Jul/2003:13:27:20] info ( 2705): Internal Info: loading servlet /#####/index.jsp
    [08/Jul/2003:13:27:21] info ( 2705): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP/opt/iplanet/servers/https-<server>/c
    onfig/../ClassCache/_jsps/_#####/_index_jsp.java:15: Package com.esri.aims.mtier.io not found in import.
    import com.esri.aims.mtier.io.*;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:16: Class com
    .esri.aims.mtier.model.map.layer.FeatureLayer not found in import.
    import com.esri.aims.mtier.model.map.layer.FeatureLayer;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:17: Class com
    .esri.aims.mtier.model.envelope.Envelope not found in import.
    import com.esri.aims.mtier.model.envelope.Envelope;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:18: Class com
    .esri.aims.mtier.model.acetate.Point not found in import.
    import com.esri.aims.mtier.model.acetate.Point;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:19: Class com
    .esri.aims.mtier.model.map.layer.query.Filter not found in import.
    import com.esri.aims.mtier.model.map.layer.query.Filter;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:20: Class com
    .esri.aims.mtier.model.map.layer.renderer.symbol.SimpleMarkerSymbol not found in import.
    import com.esri.aims.mtier.model.map.layer.renderer.symbol.SimpleMarkerSymbol;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:21: Class com
    .esri.aims.mtier.model.map.Map not found in import.
    import com.esri.aims.mtier.model.map.Map;
    ^
    7 errors
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
    at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
    at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
    at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)
    [08/Jul/2003:13:27:21] warning ( 2705): Internal error: Failed to get GenericServlet. (uri=/#####/index.jsp,SCRIPT_NA
    ME=/#####/index.jsp)
    Hopefully that is readable -- basically, it can't find a bunch-o-classes. Now, normally, I would snicker, and say something smart about classpaths. However, I have already done this, and looked in all the places that I think should have these classes in (I shall just use the last eg, com.esri.aims.mtier.model.map.Map, rather than all of them):
    # find /home/websites/#####/ |grep com.esri.aims.mtier.model.map.Map
    /home/websites/#####/WEB-INF/classes/com/esri/aims/mtier/model/map/Map.class
    # jar tvf /home/websites/#####/WEB-INF/lib/arcims_jconnect.jar |grep com.esri.aims.mtier.model.map.Map
    33267 Wed Dec 04 15:50:14 GMT+09:30 2002 com/esri/aims/mtier/model/map/Map.class
    So, as you can see, the relevant files are in not just one, but two places that I had assumed were in the classpath. Judging from the error messages, they are not. Am I doing something wrong here?
    Here's some of the config...
    The relevant line from web-apps.xml:
    <web-app uri="/#####" dir="/export/home/websites/#####" enable="true"/>
    The classpath from jvm12.conf:
    jvm.classpath=/opt/iplanet/servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar
    That's all that I can find that is relevant. Please ask if there is anything else I can give you (apart from access to the server or the application -- I can't give that).
    Any ideas?

    The solution was to download the DTD file and change
    the URL to a file: link, so iPlanet could
    successfully use the DTD. Did you have to define the file link as an absolute path? Or where you able to use a relative link.? If so, can you please provide the full syntax?
    We faced a similar problem and after much trial and error ended up placing the DTD on the server in /usr. But we'd like to try and find a way to define a relative file path and put the DTD right in the WEB-INF directory (or somewhere similar) so that we have one less configuration hassle and platform/server independence (i.e. the war file has everything it needs). But we have not been able to determine a way of doing this.
    Thanks

  • Fail to Deploy the applicaiton WAR file build by Spring2.5 framework

    The War File build by Spring2.5 Framework can deploy and run successfully on Local WebLogic (10.3.6)
    but this WAR file can not deploy on Java Cloud Service ;
    I tried to deploy it on the Java Cloud Services Control pages and with OEPE (the Eclipse IDE whichi download from Oracle Cloud Official ) ,but these two were all failed !
    the error logs as below ,and their no noticeable info in logs , ple help to fix it
    Thanks
    LOGS
    Deployment to Oracle Cloud failed, please check Error Log for detail.
    [deploy]
    2013-02-21 01:18:56 CST: Starting action "Deploy Application"
    2013-02-21 01:18:56 CST: Deploy Application started
    2013-02-21 01:19:02 CST: weblogic.application.ModuleException:
    2013-02-21 01:19:02 CST: WLS action state: failed
    2013-02-21 01:19:02 CST: Action FAILED with WLS state: failed
    2013-02-21 01:19:02 CST: Application deployment failed.
    2013-02-21 01:19:03 CST: [Deployer:149194]Operation 'remove' on application 'helloSpring' has succeeded on 'm0'
    2013-02-21 01:19:03 CST: WLS action state: completed
    2013-02-21 01:19:03 CST: "Deploy Application" complete: status FAILED
    [virus-scan]
    2013-02-21 01:18:36 CST: Starting action "Virus Scan"
    2013-02-21 01:18:36 CST: Virus Scan started
    2013-02-21 01:18:53 CST: ----------------------------------------------------------------------
    2013-02-21 01:18:53 CST: File Scanned:     "helloSpring.war".
    2013-02-21 01:18:53 CST: File Size:     "4049531".
    2013-02-21 01:18:53 CST: File Status:     "CLEAN".
    2013-02-21 01:18:53 CST: ----------------------------------------------------------------------
    2013-02-21 01:18:53 CST: Virus scan passed.
    2013-02-21 01:18:53 CST: "Virus Scan" complete: status SUCCESS
    [whitelist]
    2013-02-21 01:18:53 CST: Starting action "API Whitelist"
    2013-02-21 01:18:53 CST: API Whitelist started
    2013-02-21 01:18:56 CST: WARNING - There are 3 warnings(s) found for helloSpring.war.
    2013-02-21 01:18:56 CST: WARNING - Path:helloSpring.war (3 Warnings)
    2013-02-21 01:18:56 CST: WARNING - Path:helloSpring.war (3 Warnings)
    2013-02-21 01:18:56 CST: WARNING - Path:WEB-INF**** (1 Warning)
    2013-02-21 01:18:56 CST: WARNING - 1:Recommended child element "login-config" missing under element /
    javaee:web-app.
    If you want to make your application public, you can have empty
    <login-config/> in your web.xml. If you need authentication then you must
    have <login-config> and its child <auth-method> element in web.xml.
    Without this element(<login-config>), users may be challenged by SSO, but
    the application code will be executed as anonymous user only. Line No:5.
    2013-02-21 01:18:56 CST: WARNING - Path:WEB-INF**** (2 Warnings)
    2013-02-21 01:18:56 CST: WARNING - 1:Recommended child element "jsp-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    If you have a JSP file that is not pre-compiled, The compilation errors
    could be shown on the browser. It is recommended to include
    <jsp-descriptor><verbose>false<****><****-descriptor> in weblogic.xml.
    Line No:2.
    2013-02-21 01:18:56 CST: WARNING - 2:Recommended child element "session-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    You will be required to have distinct cookie-path, if multiple
    applications are accessed with in the same SSO session or if you have
    multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
    in the same service instance.
    Line No:2.
    2013-02-21 01:18:56 CST: WARNING - helloSpring.war had 3 warning(s).
    2013-02-21 01:18:56 CST: INFO - Whitelist validation has completed with 0 error(s) and 3 warning(s).
    2013-02-21 01:18:56 CST: Whitelist validation passed.
    2013-02-21 01:18:56 CST: "API Whitelist" complete: status SUCCESS

    This kind of deployment error is typically caused by usage of certain API's or an attempt by the SpringFramework to get certain restricted resources .
    Can you please find the Service logs (Via Java service Console " View Service Logs" link ) and se if anything is reported in the timeframe when this deployment error happend.

  • War with WAR files :-)

    HI All:
    I believe there are lot of issues with the current WAR file packaging which hinders its usage in many many practical scenarios.
    (1) Once I package an app in a WAR file, all the jars and classes inside that are merely becoming useless to external world. Suppose I want to develop an application using the classes inside the WAR file, is there any way to do this without unpacking t he WAR / duplicating the jars. FOr example, suppose I have deployed APP_A as app_a.war, now I am developing a new shell script. Can I write,
    set CLASSPATH = app_a.war??
    As far as I know it is a NO. Then am I supposed to duplicate the jar files / classes outside. That is too bad.
    (2) How is an end user supposed to modify a WAR file's web.xml. Many app servers, dont have a way to "introspect" the WAR file and open the web.xml in a GUI for modification. Suppose , I have my init parameters in web.xml, that should be modified by deployer, currently he has to manually explode it?
    (3) How do I dynamically add classes to WAR file? Suppose based on the installation parameters, I generate a class file dynamically for my application (which is deployed as WAR), how do I update the WAR with new class files?
    I am horribly lost due to these limitations. Please help.
    -Sanjay

    OK... Not much to read anyway :-))). it is merely NOT possible with the current spec of WAR files. Only way is to use just the WAR directory structure instead of packaging it. I think JAR inside WAR should ideally be accessible via:
    my.war!my.jar, I would say....
    -Sanjay

  • Hot Deploy Servlet in JAR file problem

    I've been playing with hot deploying servlets in WLS 5.1. I have SP2
              installed. I have things working fine with individual servlet class files. I
              decided to try hot deploying with jar files.
              I created a servlet, added it to a jar file, and then added the jar file to
              the 'weblogic.http.servlet.classpath'. I then restarted the server. I
              started the console and was able to hot deploy the servlet. So far so good.
              My next test is what failed. I modified the servlet, and rebuilt the jar
              file. I went back to the console, selected the servlet and hit the redeploy
              button. I went back to the browser and hit refresh - nothing, still the old
              servlet.
              It appears that WLS isn't reloading the jar file and the updated servlet.
              Everything works with individual class files.
              Does anyone know how I can cause the reload of updated servlets embedded
              within a jar file?
              Weblogic group - If there is no way now, will support be added soon?
              Thanks,
              Rick
              

    Hi,
              If I use weblogic.servlet.ServletServlet to try just the servlet , It
              works correctly.But When I develop it in a web application , there is a lot
              of hypelink to this servlet,thus I can't use the relative path reference to
              that servlet.I try to set the name of weblogic.servlet.ServletServlet same
              as the webapp,It doesn't work,how do I solve this problem?
              Thank you
              Pan
              Subject: Re: Hot deploy Servlet in webapp
              > http://www.weblogic.com/docs51/classdocs/API_servlet.html#134798
              >
              > It even explains why you shouldn't use it in production environment.
              >
              > Dimitri
              

Maybe you are looking for

  • Wont open in Elements

    I set the preferences to edit in Elements 3 and Elements opens when I double click the picture but will not open with the picture. Any ideas? I did not have any trouble getting this to work in iPhoto 05.

  • Free Shipping by Postcode?

    Hi, racking my brains on this one. Have a list of postcodes which I want to be able to offer free shipping on all orders to. The easiest option would seem to be to simply set the value generated by (I think) shippingCalc to 0, but I can't seem to fin

  • OS X 10.4.6 Update problem-Waking up

    hello everyone. I am a new mac user after finally having enough of Bill's Windows Bulls*. I did the 10.4.6 update and since then it appears that when my comp goes to sleep it seems normal but when I open the cover of the laptop it doesnt wake up. Jus

  • Macbook won't go 1920x1080 on external display

    Hello everybody! I recently purchased a Macbook (new, current model) and I've been trying to connect it to a Samsung SyncMaster P2270 display. I bought the DVI-to-MiniDisplayPort connector from Apple for that. It works fine, both in mirrored and exte

  • Bookmark Sync needs user management tools so that I can see which of my PCs has updated, because at the moment, update doesnt seem to work and I can't see why.

    I have Synced 3 computers. My main one is A. I used B in July 2013 and then C in August. Now I am on B again, in September, but my Bookmarks go up to 08Jul and then start again with 13Sep, when I logged in on B. I press Sync Now, but nothing seems to