问题描述:

I am using Openshift and installed Tomcat 7 (JBoss EWS 2.0) and Mysql 5.5. My application is based on Struts 2 where i have provided database connectivity details in struts.xml. now after giving details like host and password. it still not able to connect.

i have two concerns.

1-- How to debug when using the deployed application. I can see the log but its not detailed. both the application and database in is openshift and have added catridge of Jboss and mysql. is it sufficient??

2.-- How to use openshift db from my locally deployed application. it says unable to connect.

网友答案:

I think you should set up a JNDI data source in JBOSS instead of using Struts for connectivity. Struts is web MVC.

相关阅读:
Top