Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Migrating apps to a new server, getting errors

 
Scott Gardner
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have been tasked with migrating a website from one server to another since the hardware on the old server is failing. I think I've set up Apache and Tomcat correctly (anyway, the test page at http://localhost:8080 would indicate I did it right). Then I copied all my files over to the $CATALINA_BASE\webapps\ROOT directory, but when I try to run them, I get the following:

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 13 in the generated java file
Only a type can be imported. com.oreilly.servlet.MultipartRequest resolves to a package

An error occurred at line: 153 in the jsp file: /dhcp/index.jsp
MultipartRequest cannot be resolved to a type


I don't really know what to do now. I'm not a java expert, but am Linux proficient. Any help would be super!

Thanks,
Scott
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64692
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're doing a file upload in a JSP?
 
Scott Gardner
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:You're doing a file upload in a JSP?

I guess? I didn't write these apps. I'm in the process of replacing them with something I am writing, but I need these to continue working until I'm done. Any ideas on things I can try to get these to work until I'm finished with the new system?

-Scott
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64692
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My condolences.

The error message is a tad mystifying. First thing to check is to make sure that the O'Reilly upload jar file made it across the migration intact. Is it in place? Is it corrupted?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic