shaileshnn

Greenhorn
+ Follow
since Sep 07, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by shaileshnn

I am getting the following error message, when I start Tomcat 4.0 server from Tomcat's bin directory. I am using Win 98, 128 mb RAM and JDk 1.2.2
---------------------------------------------------
D:\tomcat\jakarta-tomcat-4.0-m5\bin>startup
Using CLASSPATH: ..\bin\bootstrap.jar;c:\jdk1.2.2\bin;\lib\tools.jar
Cannot find file 'c:\jdk1.2.2\bin;\bin\java' (or one of its
components). Check to ensure the path and filename are correct
and that all required libraries are available.
----------------------------------------------------
It looks like the error is related to JDK1.2.2 But I could't find out the problem.
The following is a part of my autoexec.bat file
----------------------------------------------------
path C:\WINDOWS;C:\WINDOWS\COMMAND;c:\jdk1.2.2\bin;
set CLASSPATH=c:\jdk1.2.2\lib\tools.jar;
set JAVA_HOME=c:\jdk1.2.2\bin;
I even tried set JAVA_HOME=c:\jdk1.2.2;

Please do help me
Thanks
Shailesh
[This message has been edited by shaileshnn (edited September 24, 2001).]
22 years ago
I am running servlets using JSWDK 1.0.1 and JDK 1.2.2 and using URLDecoder and doget()method and SQL server 7.0. This code works fine on our Intranet. But the same code fails to work on the internet.
The error is as follows :
Error: 500
Internal Servlet Error:
java.lang.NullPointerException:
at java.net.URLDecoder.decode(URLDecoder.java:47)
at Notepad.doGet(Notepad.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:715)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
at com.sun.web.core.InvokerServlet.service(InvokerServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
at com.sun.web.core.Context.handleRequest(Context.java, Compiled Code)
at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java, Compiled Code)
22 years ago