Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in runing example on Weblogic

 
N Jain
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,
I'm trying to run an example on Web Application given in Weblogic 5.1 at D:\weblogic\examples\webapp (on my system).
It is running very well untill i try to run it as '.war' application (As per the instruntions given in D:\weblogic\examples\webapp\index.html). When i create the .war file and place it under d:\weblogic\myserver\cookieWar.war and also make an entry in weblogic.properties as
weblogic.httpd.webApp.cookie=d:/weblogic/myserver/cookieWar.war
and now when i start the weblogic server it shows me this error at console

Thu Aug 09 12:51:44 GMT+05:30 2001:<E> <HTTP> Could not find Web application 'd:/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)
Thu Aug 09 12:51:44 GMT+05:30 2001:<E> <HTTP> Error creating servlet context for
Web application 'd:/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)
Thu Aug 09 12:51:44 GMT+05:30 2001:<I> <ZAC> ZAC ACLs initialized
Thu Aug 09 12:51:44 GMT+05:30 2001:<I> <ZAC> ZAC packages stored in local direct
ory exports
Thu Aug 09 12:51:44 GMT+05:30 2001:<I> <SSLListenThread> Listening on port: 7002
Thu Aug 09 12:51:44 GMT+05:30 2001:<I> <ListenThread> Listening on port: 7001
<NT Performance Pack> NATIVE: created IoCompletionPort successfully. IoPort=0x00
000428
Thu Aug 09 12:51:45 GMT+05:30 2001:<I> <WebLogicServer> WebLogic Server started
I'm not understanding why i'm getting this error.
Any help is appreciated.
Thanks,
N
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might get an answer to this in our Weblogic forum. I'm moving this there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic