|
|
|
Glassfish 4.0 & mysql & jstl
|
|||
|---|---|---|---|
|
#18+
Всем привет! Начал осваивать JSTL. Сперва использовал Netbeans 7.2.1 + galssfish 3.1.2 Нарисовал страничку: Код: html 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. Далее в проекте Netbeanse добавил файл Glassfish JDBC Resources и с конфигурировал пул копдключений. Добавил к проекту web.xml сконфигурировал References. Запускаю проект, все работает. Обновил Netbeans и Glassfish. Теперь Netbeans 7.3.1, а Glassfish 4.0 Создаю точно такой же проект, но при запуске сервер пытается обратиться к JDBC/__default type Exception report messageInternal Server Error descriptionThe server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused." root cause javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused." note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.0 logs. Проверил в Glassfish наличие JDBC Connection Pool и JDBC Resources - все в порядке. JDBC Connection Pool - ping success. Подскажите, в чем проблема. Спасибо! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.07.2013, 11:48:54 |
|
||
|
|

start [/forum/topic.php?fid=59&msg=38315546&tid=2129074]: |
0ms |
get settings: |
16ms |
get forum list: |
28ms |
check forum access: |
7ms |
check topic access: |
7ms |
track hit: |
72ms |
get topic data: |
23ms |
get forum data: |
6ms |
get page messages: |
76ms |
get tp. blocked users: |
2ms |
| others: | 313ms |
| total: | 550ms |

| 0 / 0 |
