Error 500: Unresolved Compilation Error: URGENT HELP

Hi,
I need help with this error. I keep getting this error:

Error 500: Unresolved Compilation Error.

I using WSAD and I am running my web app on my localhost. I get my logon page where I enter my user id and pswd for the application. After I click submit I get the error. Any idea what might be causing this. This is URGENT help needed
suketu9Asked:
Who is Participating?
 
bloodredsunCommented:
It tells you your error. It is a compilation error as I guessed

...java.lang.Error: Unresolved compilation problem:

Specifically it is where you are getting your connection to your database as seen here (line 7 of ConnPool.java)

     at java.lang.reflect.Constructor.newInstance(Native Method)
     at com.ko.saprofile.util.ConnPool.getConnection(ConnPool.java:7)
     at com.ko.saprofile.mgmt.LogonManagement.getUserBO(LogonManagement.java:31)
     at com.ko.saprofile.ctrl.LogonController.processRequest(LogonController.java:63)
     at com.ko.saprofile.ctrl.BaseController.doPost(BaseController.java:51)

Compilation problem may mean many things but commonly it is caused by such things as:
missing jar files such as database drivers
malformed java syntax
missing java imports
variable scoping error
modifier errors

So that is what I would look for.
0
 
bloodredsunCommented:
What exacrtly does the exception report? 500 is an internal server error which normaly means that you have a coding error in your jsp or servlet
0
 
suketu9Author Commented:
this is what is displayed in console:

[3/29/06 16:11:00:271 EST] 650123a3 WebGroup      I SRVE0180I: [SPPS-webapp] [/spps] [Servlet.LOG]: /Login.jsp: init
[3/29/06 16:11:05:449 EST] 650123a3 WebGroup      I SRVE0180I: [SPPS-webapp] [/spps] [Servlet.LOG]: LogonController: init
[3/29/06 16:11:05:459 EST] 650123a3 WebGroup      I SRVE0180I: [SPPS-webapp] [/spps] [Servlet.LOG]: LogonController: Entered com.ko.saprofile.ctrl.LogonController via doPost()
[3/29/06 16:11:05:459 EST] 650123a3 WebGroup      I SRVE0180I: [SPPS-webapp] [/spps] [Servlet.LOG]: LogonController: Upon entering state = None
[3/29/06 16:11:06:180 EST] 650123a3 WebGroup      E SRVE0026E: [Servlet Error]-[Unresolved compilation problem:
]: java.lang.Error: Unresolved compilation problem:

      at java.lang.reflect.Constructor.newInstance(Native Method)
      at com.ko.saprofile.util.ConnPool.getConnection(ConnPool.java:7)
      at com.ko.saprofile.mgmt.LogonManagement.getUserBO(LogonManagement.java:31)
      at com.ko.saprofile.ctrl.LogonController.processRequest(LogonController.java:63)
      at com.ko.saprofile.ctrl.BaseController.doPost(BaseController.java:51)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
      at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
      at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
      at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
      at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258)
      at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
      at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
      at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
      at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
      at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
      at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
      at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
      at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
0
 
KuldeepchaturvediCommented:
As bloodred is saying, looks like your code is not a clean compile.. if you are using WASD.. then building the project in WASD will tell you exactly what compilation errors are there in your code..
0
 
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
check if there is an error shown by the Editor and try understanding the comments & try to clear or post  the comments.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.