• Post Reply Bookmark Topic Watch Topic
  • New Topic

Migrating apps to a new server, getting errors  RSS feed

 
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
Posts: 66157
146
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
Posts: 66157
146
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?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!