×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

IOException Error when compiling -

IOException Error when compiling -

IOException Error when compiling -

(OP)
I am using IIS 4.0 WebServer on NT 4 Server, and JRun 3.0 at the moment, I tried JRun 2.3.3 build 153 and received compilation errors as well so I grabbed the newest version from allaire.

From this error I am unsure whether the compilation error is refering to an error within the code; i.e. the syntax for the Calander package, or in my configuration; i.e. missing a directory in my Classpath.

Any ideas on what this error is reffering to would be greatly appreciated.  Thanks.
_______________________________________________________

500 Internal Server Error
/vansales/jsp/start/login.jsp:

javax.servlet.ServletException: Compilation error occured:
 Found 2 errors in JSP file:
:33: Error: "Calendar" is either a misplaced package name or a non-existent entity.
:69: Error: Type IOException was not found.

allaire.jrun.scripting.DefaultCFE:
Errors reported by compiler:E:/JRun/servers/default/default-app/WEB-INF/jsp/jrun__vansales__jsp__start__login2ejsp1d.java:2684:38:2684:45: Error: "Calendar" is either a misplaced package name or a non-existent entity.
E:/JRun/servers/default/default-app/WEB-INF/jsp/jrun__vansales__jsp__start__login2ejsp1d.java:2720:32:2720:42: Error: Type IOException was not found.

at allaire.jrun.scripting.JavaCompilerService.compile(JavaCompilerService.java:122)
at allaire.jrun.jsp.JSPServlet.compilePage(JSPServlet.java:452)
at allaire.jrun.jsp.JSPServlet.createServlet(JSPServlet.java:393)
at allaire.jrun.jsp.JSPServlet.loadPage(JSPServlet.java:201)
at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:168)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:354)
at allaire.jrun.ThreadPool.run(ThreadPool.java:267)
at allaire.jrun.WorkerThread.run(WorkerThread.java:74)

RE: IOException Error when compiling -

HI,
I think u r using wrong webserver becuase jsp pages need either the jswdk or the tomcat jakarta u can download it from java's side , this webserver translates the jsp page into html for ur browser just as in the case of asp when using with pws or iis.

RE: IOException Error when compiling -

Since the stack trace has references to classes like allaire.jrun.jsp.JSPServlet I would guess that your server supports JSP. It's fairly likely to be a CLASSPATH problem I'd have thought - try referencing java.io.IOException rather than IOException, and check that any classes you've written yourself are located correctly.

RE: IOException Error when compiling -

(OP)
thanks for the replies guys.

I've been thinking it's the Classpath, since the SnoopServelet and HelloWorld Servlets that come with JRun seem work just fine.  It's as if when compiling it can't find the "calander" package which is in a *.jar file, and the *.jar file directory is in the Classpath - I've even tried referrencing that *.jar file specifically to no avail.  Is it possible that I am missing other *.jar files?

I shall give the java.io.IOException a shot.  Thanks for the tip.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close