Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Help needed to run HelloWorld servlet in weblogic

Help needed to run HelloWorld servlet in weblogic

2003-12-24       - By Murugan

 Back
Hi,
      I am using Weblogic 8.1 beta verision. I deployed Helloworld.war. It has
HelloWorld.java, Helloworld.class and index.html.

I deployed through weblogic console. It was deployed successfully. If tried to
open that HelloWorld in browser, It is giving

this error message

Error 404--Not Found
     From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
     10.4.5 404 Not Found
     The server has not found anything matching the Request-URI. No indication
is given of whether the condition is temporary or permanent.

     If the server does not wish to make this information available to the
client, the status code 403 (Forbidden) can be used instead. The 410 (Gone)
status code SHOULD be used if the server knows, through some internally
configurable mechanism, that an old resource is permanently unavailable and has
no forwarding address.
   

My web.xml is here
<?xml version="1.0" encoding="UTF-8 (See http://UTF-8.ora-code.com)" ?>
 <!DOCTYPE web-app (View Source for full doctype...)>
- <web-app>
 <display-name>Sample</display-name>
- <!--
Standard Action Servlet Configuration (with debugging)
 -->
- <servlet>
 <servlet-name>HelloWorld</servlet-name>
 <servlet-class>HelloWorld</servlet-class>
 <load-on-startup>2</load-on-startup>
 </servlet>
 </web-app>

I tried this
http://localhost:7001/helloworld/HelloWorld

How to solve this? Can any one pls help me? I am new to J2EE platform. Thanks
in advance.


With Regards from
Murugan

===========================================================================
To unsubscribe, send email to listserv@(protected) and include in the body
of the message "signoff J2EE-INTEREST".  For general help, send email to
listserv@(protected) and include in the body of the message "help".


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-2022 (See http://iso-2022.ora-code.com)-jp">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am using
Weblogic 8.1 beta verision. I deployed Helloworld.war. It has HelloWorld.java,
Helloworld.class and index.html. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I deployed through weblogic console. It was
deployed successfully. If tried to open that HelloWorld in browser, It is
giving</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>this error message</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>Error 404--Not Found</DIV>
<DIV>
<TABLE cellPadding=10 width="100%" border=0>
 <TBODY>
 <TR>
   <TD vAlign=top width="100%" bgColor=white><FONT face="Courier New"><FONT
     face=Helvetica size=3>
     <H3>From RFC 2068 <I>Hypertext Transfer Protocol --
     HTTP/1.1</I>:</H3></FONT><FONT face=Helvetica size=3>
     <H4>10.4.5 404 Not Found</H4></FONT>
     <P><FONT face="Courier New">The server has not found anything matching
the
     Request-URI. No indication is given of whether the condition is temporary
     or permanent.</P>
     <P>If the server does not wish to make this information available to the
     client, the status code 403 (Forbidden) can be used instead. The 410
     (Gone) status code SHOULD be used if the server knows, through some
     internally configurable mechanism, that an old resource is permanently
     unavailable and has no forwarding
address.</FONT></P></FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>My web.xml is here</DIV>
<DIV>&nbsp;<FONT color=#0000ff><SPAN class=m>&lt;?</SPAN><SPAN class=pi>xml
version="1.0" encoding="UTF-8 (See http://UTF-8.ora-code.com)" </SPAN><SPAN class=m>?&gt;</SPAN></FONT>
<DIV class=e><SPAN><SPAN class=b><STRONG><FONT face="Courier New"
color=#ff0000>&nbsp;</FONT></STRONG></SPAN> <SPAN class=d><FONT
color=#0000ff>&lt;!DOCTYPE web-app<I> (View Source for full
doctype...)</I>&gt;</FONT></SPAN> </SPAN></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><A class=b onfocus=h()
onclick="return false"
href="file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp
/web.xml#"><STRONG><FONT
face="Courier New" color=#ff0000>-</FONT></STRONG></A> <SPAN class=m><FONT
color=#0000ff>&lt;</FONT></SPAN><SPAN class=t><FONT
color=#990000>web-app</FONT></SPAN><SPAN class=m><FONT
color=#0000ff>&gt;</FONT></SPAN></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><SPAN class=b><STRONG><FONT
face="Courier New" color=#ff0000>&nbsp;</FONT></STRONG></SPAN> <SPAN
class=m><FONT color=#0000ff>&lt;</FONT></SPAN><SPAN class=t><FONT
color=#990000>display-name</FONT></SPAN><SPAN class=m><FONT
color=#0000ff>&gt;</FONT></SPAN><SPAN
class=tx><STRONG>Sample</STRONG></SPAN><SPAN class=m><FONT
color=#0000ff>&lt;/</FONT></SPAN><SPAN class=t><FONT
color=#990000>display-name</FONT></SPAN><SPAN class=m><FONT
color=#0000ff>&gt;</FONT></SPAN> </DIV></DIV>
<DIV class=k><SPAN><A class=b style="VISIBILITY: hidden" onfocus=h()
onclick="return false"><STRONG><FONT face="Courier New"
color=#ff0000>-</FONT></STRONG></A> <SPAN class=m><FONT
color=#0000ff>&lt;!--</FONT></SPAN></SPAN> <SPAN class=ci id=""><PRE><FONT
color=#888888> Standard Action Servlet Configuration (with debugging) </FONT><
/PRE></SPAN><SPAN
class=b><STRONG><FONT face="Courier New"
color=#ff0000>&nbsp;</FONT></STRONG></SPAN> <FONT color=#0000ff><SPAN
class=m>--&gt;</SPAN>
<SCRIPT>f(clean);</SCRIPT>
</FONT> </DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><A class=b onfocus=h()
onclick="return false"
href="file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp
/web.xml#"><STRONG><FONT
face="Courier New" color=#ff0000>-</FONT></STRONG></A> <SPAN class=m><FONT
color=#0000ff>&lt;</FONT></SPAN><SPAN class=t><FONT
color=#990000>servlet</FONT></SPAN><SPAN class=m><FONT
color=#0000ff>&gt;</FONT></SPAN></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><SPAN class=b><STRONG><FONT
face="Courier New" color=#ff0000>&nbsp;</FONT></STRONG></SPAN> <SPAN
class=m><FONT color=#0000ff>&lt;</FONT></SPAN><SPAN class=t><FONT
color=#990000>servlet-name</FONT></SPAN><SPAN class=m><FONT
color=#0000ff>&gt;</FONT></SPAN><SPAN
class=tx><STRONG>HelloWorld</STRONG></SPAN><SPAN class=m><FONT
color=#0000ff>&lt;/</FONT></SPAN><SPAN class=t><FONT
color=#990000>servlet-name</FONT></SPAN><SPAN class=m><FONT
color=#0000ff>&gt;</FONT></SPAN> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><SPAN class=b><STRONG><FONT
face="Courier New" color=#ff0000>&nbsp;</FONT></STRONG></SPAN> <SPAN
class=m><FONT color=#0000ff>&lt;</FONT></SPAN><SPAN class=t><FONT
color=#990000>servlet-class</FONT></SPAN><SPAN class=m><FONT
color=#0000ff>&gt;</FONT></SPAN><SPAN
class=tx><STRONG>HelloWorld</STRONG></SPAN><SPAN class=m><FONT
color=#0000ff>&lt;/</FONT></SPAN><SPAN class=t><FONT
color=#990000>servlet-class</FONT></SPAN><SPAN class=m><FONT
color=#0000ff>&gt;</FONT></SPAN> </DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><SPAN class=b><STRONG><FONT
face="Courier New" color=#ff0000>&nbsp;</FONT></STRONG></SPAN> <SPAN
class=m><FONT color=#0000ff>&lt;</FONT></SPAN><SPAN class=t><FONT
color=#990000>load-on-startup</FONT></SPAN><SPAN class=m><FONT
color=#0000ff>&gt;</FONT></SPAN><SPAN class=tx><STRONG>2</STRONG></SPAN><SPAN
class=m><FONT color=#0000ff>&lt;/</FONT></SPAN><SPAN class=t><FONT
color=#990000>load-on-startup</FONT></SPAN><SPAN class=m><FONT
color=#0000ff>&gt;</FONT></SPAN> </DIV></DIV>
<DIV><SPAN class=b><STRONG><FONT face="Courier New"
color=#ff0000>&nbsp;</FONT></STRONG></SPAN> <SPAN class=m><FONT
color=#0000ff>&lt;/</FONT></SPAN><SPAN class=t><FONT
color=#990000>servlet</FONT></SPAN><SPAN class=m><FONT
color=#0000ff>&gt;</FONT></SPAN></DIV></DIV></DIV>
<DIV><SPAN class=b><STRONG><FONT face="Courier New"
color=#ff0000>&nbsp;</FONT></STRONG></SPAN> <SPAN class=m><FONT
color=#0000ff>&lt;/</FONT></SPAN><SPAN class=t><FONT
color=#990000>web-app</FONT></SPAN><SPAN class=m><FONT
color=#0000ff>&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=m><FONT color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=m><FONT color=#0000ff>I tried this</FONT></SPAN></DIV>
<DIV><SPAN class=m></SPAN><SPAN class=m><FONT face=Arial size=2><A
href="http://localhost:7001/helloworld/HelloWorld">http://localhost:7001
/helloworld/HelloWorld</A></FONT></SPAN></DIV>
<DIV><SPAN class=m><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=m><FONT face=Arial size=2>How to solve this? Can any one pls
help me? I am new to J2EE platform. Thanks in advance.</FONT></SPAN></DIV>
<DIV><SPAN class=m><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=m></SPAN><SPAN class=m><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=m><FONT face=Arial size=2>With Regards from</FONT></SPAN></DIV>
<DIV><SPAN class=m><FONT face=Arial
size=2>Murugan</FONT></SPAN></DIV></DIV></DIV></DIV></BODY></HTML>
===========================================================================
To unsubscribe, send email to listserv@(protected) and include in the body
of the message "signoff J2EE-INTEREST".  For general help, send email to
listserv@(protected) and include in the body of the message "help".
<p>

©2008 junlu.com - Jax Systems, LLC, U.S.A.