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

HelloWorld.jsp

1 view
Skip to first unread message

david.sw...@name.net

unread,
Mar 30, 2001, 3:38:24 PM3/30/01
to
Anybody know why I wouldn't be able to get HelloWorld.jsp (from /examples
directory) to run properly, even though I've commented-out the appropriate
JSP sections of weblogic.properties?


Mike Reiche

unread,
Mar 30, 2001, 4:13:32 PM3/30/01
to

No idea.

Post some hints and we'll help.

What do you see in the browser?

What do you see in the weblogic.log file?

Have you moved it into the public_html directory?

What URL do you use?

You've commented out the JSPServlet ? It needs to be un-commented.

Mike

david.sw...@name.net

unread,
Mar 30, 2001, 4:35:43 PM3/30/01
to
Mike; thanks for your assistance:

- Windows 2000 Professional
- WL Version 5.1, no service packs
- JDK 1.2.2 in c:\jdk1.2.2
- mods to setenv.cmd:
set WL_HOME=e:\weblogic
set JAVA_HOME=c:\jdk1.2.2
- commented-out JSP section in weblogic.properties (see copy below)
- I usually start the server by running setenv.cdm and then
startWebLogic.cmd
- I also get the problem if I start the server from the Windows / Start menu

- *** NOTE: in the WL console, under myserver>HTTP>Servlet Web
Applications>General>*.jsp on the "Servlet Class" line, I see the message:
"weblogic.servlet.JSPServlet unavailable or initialization problem"

- I placed HelloWorld.jsp from the examples directory into
/myserver/public_html/ and request it at
http://localhost:7001/file/HelloWorld.jsp
- The symptom is the scriptlet code in the <% %> section does not interpret,
it just passes through to browser
- When the page displays in my browser, I get the following in the MS-DOS
command shell:

"Fri Mar 30 16:29:56 EST 2001:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=584 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java:254)
at
weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java:157)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:267)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)"

Here's the JSP section of my weblogic.properties file:

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# WEBLOGIC JSP PROPERTIES
# ------------------------------------------------
# Sets up automatic page compilation for JSP. Adjust init args for
# directory locations and uncomment to use.
weblogic.httpd.register.*.jsp=weblogic.servlet.JSPServlet
weblogic.httpd.initArgs.*.jsp=\
pageCheckSeconds=1,\
compileCommand=c:/jdk1.2.2/bin/javac.exe,\
workingDir=e:/weblogic/myserver/classfiles,\
verbose=true

"Mike Reiche" <mre...@pacbell.net> wrote in message
news:3ac4f6fc$1...@newsgroups.bea.com...

mre...@pacbell.net

unread,
Apr 2, 2001, 2:53:49 PM4/2/01
to

If you put the file in the public_html directory, and your documentRoot is the
public_html directory, then the URL
you should use is

http://localhost:7001/HelloWorld.jsp

Mike

david.sw...@name.net

unread,
Apr 2, 2001, 4:45:42 PM4/2/01
to
That was it! Dang! So many hours wasted. Not sure how I got on the wrong
track.

David

<mre...@pacbell.net> wrote in message news:3ac8bcad$1...@newsgroups.bea.com...

0 new messages