This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes Server problem (JasperException) Error Can't Write Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Server problem (JasperException) Error Can Watch "Server problem (JasperException) Error Can New topic
Author

Server problem (JasperException) Error Can't Write

Mike DeStefano
Ranch Hand

Joined: May 24, 2002
Posts: 36
OK... This is very weird in my opinion. I loaded my application (which works on my computer) to the hosting server. When I try to bring up my pages I get an error message as follows:
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/util/MyMail.class
error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/util/JavaMail.class
error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/pbatravel/MailForm.class
error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/pbatravel/Security.class
error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/pbatravel/Customer.class
error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/pbatravel/CustomerProfile.class
error: Can't write: /home/virtual/site22/fst/var/www/html/WEB-INF/classes/pbatravel/Registration.class
7 errors, 1 warning
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
etc...

After I refresh the page, I get the old page (old classes) which were there. None of any changes take effect, and the new jsp and classes are ignored. All classes compile perfectly, and everything is fine and dandy in my own pc environment. But I am getting these freakish messages everywhere, and have't a clue why. I am importing everything I am using (have to be, or it wouldn't work on my pc).
PLEASE HELP... I thank you in advance for your support and time.
- Mike DeStefano



-Mike Destefano<br />"Sometimes you feel like a nut..."
Dennis Meyer
Greenhorn

Joined: Sep 05, 2003
Posts: 16
Hi,

I got the same behaviour in the same scenario. If you did find a solution, please let me know!

THX, Dennis
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Server problem (JasperException) Error Can't Write
 
jQuery in Action, 3rd edition