I have some problem while running this Project,
I can run it well when I use Castor-XML
plug-in . However, when I follow the readme to replacing the Castor-XML
plug-in with the hibernate plug-in. I got the following error message.
"HTTP Status 503 - Servlet action is currently unavailable"
Could anyone can teach me how to solve my problems?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Make sure you comment all references to the Castor-XML plug-in properly, or remove them from the struts-config. Most people forget that.
Make sure your MySQL server is running on port 3306 or edit WEB-INF/classes/hibernate.properties with the port number where your MySQL server is running.
Last but not least, ensure you created all the database tables on MySQL.
I can send you a sample struts-config.xml file ready to use with hibernate. I think the one on the .war has the hibernate plugin commented, so you need only to remove the Castor and comment out hibernate.
For the following versions I'll be using Spring and its bean managed config and persistence services, which will make everything much easier.
Hope this helps and if not, email me with a more detailed stacktrace.
Cheers
jorge
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have some problem while running this Project,
I can run it well when I use Castor-XML
plug-in . However, when I follow the readme to replacing the Castor-XML
plug-in with the hibernate plug-in. I got the following error message.
"HTTP Status 503 - Servlet action is currently unavailable"
Could anyone can teach me how to solve my problems?
Make sure you comment all references to the Castor-XML plug-in properly, or remove them from the struts-config. Most people forget that.
Make sure your MySQL server is running on port 3306 or edit WEB-INF/classes/hibernate.properties with the port number where your MySQL server is running.
Last but not least, ensure you created all the database tables on MySQL.
I can send you a sample struts-config.xml file ready to use with hibernate. I think the one on the .war has the hibernate plugin commented, so you need only to remove the Castor and comment out hibernate.
For the following versions I'll be using Spring and its bean managed config and persistence services, which will make everything much easier.
Hope this helps and if not, email me with a more detailed stacktrace.
Cheers
jorge