|
-
null pointer exception in JWSDK
I have installed on my PC the JWSDK 2.1 .
This is my default.cfg file :
server.port=8080
server.hostname=localhost
server.inet=127.0.0.1
server.docbase=webpages
server.tempdir=tmp
server.webapp.examples.mapping=/examples
server.webapp.examples.docbase=examples
When I run the startserver.bat I create an endpoint in localhost/127.0.0.1
on port 8080
I open my broswer to http://localhost:8080 , and I get this error message :
Error: 500
Internal Servlet Error:
java.lang.NullPointerException
at com.sun.web.core.DefaultServlet.doGet(DefaultServlet.java:66)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140)
at com.sun.web.core.Context.handleRequest(Context.java:375)
at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:135)
Where is the error ?
Thamk you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks