aspose file tools*
The moose likes JSP and the fly likes Migrating apps to a new server, getting errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Migrating apps to a new server, getting errors" Watch "Migrating apps to a new server, getting errors" New topic
Author

Migrating apps to a new server, getting errors

Scott Gardner
Greenhorn

Joined: Mar 04, 2009
Posts: 2
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

Joined: Jan 10, 2002
Posts: 61224
    
  66

You're doing a file upload in a JSP?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Scott Gardner
Greenhorn

Joined: Mar 04, 2009
Posts: 2
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

Joined: Jan 10, 2002
Posts: 61224
    
  66

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?
 
 
subject: Migrating apps to a new server, getting errors