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
- 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...
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
<mre...@pacbell.net> wrote in message news:3ac8bcad$1...@newsgroups.bea.com...