Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem in web app

0 views
Skip to first unread message

Gururaj Kosigi

unread,
May 7, 2001, 9:27:27 AM5/7/01
to

I am trying to create the web app directory sttucture like
webapplication
l---->WEB-INF
l----->classes
l----->web.xml
in weblogic properties i made an entry as follows

weblogic.httpd.webApp.webapplication=f:/webapplication

when I start the weblogic I am getting this below error.

The web.xml contains

<?xml version="1.0"?>
<!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>
<servlet>
<servlet-name>CountServlet</servlet-name>
<servlet-class>CountServlet/servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>CountServlet </servlet-name>
<url-pattern>/count</url-pattern>
</servlet-mapping>

<session-config>
<session-timeout>1000</session-timeout>
</session-config>
</web-app>

please help me how to solve this

Mon May 07 17:20:26 GMT+05:30 2001:<I> <EJB> 5 deployed, 0 failed to deploy.
[ServletEntityResolver] : Could not resolve entity '-//Sun Microsystems, Inc.//DTD
Web Application 2.2//EN'. Check your dtd reference.
Mon May 07 17:20:29 GMT+05:30 2001:<E> <HTTP> Error reading Web application 'f:\webapplication'
java.net.UnknownHostException: java.sun.com
at java.net.InetAddress.getAllByName0(InetAddress.java:571)
at java.net.InetAddress.getAllByName0(InetAddress.java:540)
at java.net.InetAddress.getAllByName(InetAddress.java:533)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:159)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:221)
at weblogic.net.http.HttpClient.<init>(HttpClient.java:85)
at weblogic.net.http.HttpClient.New(HttpClient.java:117)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:97)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:256)
at com.sun.xml.parser.Resolver.createInputSource(Resolver.java:253)
at com.sun.xml.parser.ExternalEntity.getInputSource(ExternalEntity.java:49)
at com.sun.xml.parser.Parser.pushReader(Parser.java:2748)
at com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2500)
at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1136)
at com.sun.xml.parser.Parser.parseInternal(Parser.java:480)
at com.sun.xml.parser.Parser.parse(Parser.java:283)
at weblogic.xml.dom.SunDOMParser.getDocument(SunDOMParser.java:69)
at weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:81)
at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:214)
at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:648)
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)

Johnny Valdez

unread,
May 8, 2001, 3:17:25 PM5/8/01
to

weblogic.httpd.webApp.webapplication=f:/webapplication

the webapplication must be a war file, you should write something like this:

weblogic.httpd.webApp.webapplication=f:/webapplication.war

0 new messages