• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with WAR file deployment in Weblogic 5.1

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Problem with WAR file deployment in Weblogic 5.1
I'm trying to deploy the sample war file(cookie example) given by weblogic. I have created the war file in the WL_HOME/myserver directory and also referenced it in the weblogic.properties file. When I start Weblogic 5.1, it's giving me the error pasted below. Essentially, it doesn't seem to recognise the XML file or the war file. Please provide any inputs you may have to resolve this.

Weblogic Server started
Fri Apr 13 14:54:38 PDT 2001:<E> <HTTP> Could not find Web application 'c:\weblogic\myserver\cookieWar.war'
java.io.FileNotFoundException: WEB-INF/web.xml XML file not found in jar file
at weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:93)
at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader
.java:132)
at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:645)
at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:625)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:442)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1302)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
Fri Apr 13 14:54:38 PDT 2001:<E> <HTTP> Error creating servlet context for Web application 'c:\weblogic\myserver\cookieWar.war'
java.lang.NullPointerException
at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:626)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:442)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1302)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I trust that you do have web.xml inside your .war file, right?
 
reply
    Bookmark Topic Watch Topic
  • New Topic