• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

problem in runing example on Weblogic

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might get an answer to this in our Weblogic forum. I'm moving this there.
 
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"N Jain",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words (unfortunately 'N' does not constitute a word), separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
okay i've changed ID to "Jain Neeraj", I guess it should be ok
Thanks
 
This parrot is no more. It has ceased to be. Now it's a tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic