File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Error 500: Failed to load target servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Error 500: Failed to load target servlet " Watch "Error 500: Failed to load target servlet " New topic

Error 500: Failed to load target servlet

Chad Schmidt

Joined: Nov 04, 2003
Posts: 16
Hello all,
I'm having difficulty running any Web project that uses the jt400.jar on my WS test application server. I am using the Websphere Developer Studio Client for iSeries version 5.0. My test server is set up as a WebSphere Test Applicaiton Server v 5.0. I had some problems with the previous install of the WS Developer Studio Client so I uninstalled and then re-installed it. I have even installed the available patches as found on IBM's support website. Everything seems to work as before except...
Before I uninstalled my client I made a backup of my old workspace folder. I then deleted it from my PC. Once I had re-installed my developer studio client I simply copied the old workspace over the default one and then started the studio client. It came up with no errors but when I try to run any of my previous Web projects, in my old profile, I get the error:
Error 500: Failed to load target servlet[name of servlet].
I'm also getting a error that reads:
[Servlet Error]-[name of servlet]: java.lang.NoClassDefFoundError: com/ibm/as400/access/AS400File
for each servlet I attempt to run that uses the jt400.jar. The jt400.jar is still included in the build path of each of my projects as before so I don't see what is going on. It's like none of my projects can see the jt400.jar even though it is still in the same place. What am I doing wrong?
Does anyone have an idea of what I need to do to get my servlets to run again? I am currently confused about what the "real" problem is.
Thank you,
Chad Schmidt

Chad Schmidt<br />ctschmidt
Vinod Bijlani
Ranch Hand

Joined: Mar 06, 2002
Posts: 133
jt400.jar should be in your war lib not in the build path
I agree. Here's the link:
subject: Error 500: Failed to load target servlet
It's not a secret anymore!