Error in tutorial video from YouTube

21 Oct '14, 11:05 AM
2,569 Views
No Forum Badges

Hello, I am a university student of Korea. I need a help!

I saw a tutorial video from YouTube.

Here is the link.
http://youtu.be/ClHo55OXdY8?list=PL1zRQKIyRXsFSsli0wRntOBVJkHMK4tQj

Though i have followed the video, an error occurred.

(In the video after 16 minutes and 30 seconds. Before that, there is no problem.)

This is the error message. What is the reason and How can I solve this problem?

 

----------------------------------------------Error Message-----------------------------------------------------

Connection refused

Details:

Could not create service 'page1' from class: class com.webratio.rtx.core.DefaultPageService
Error creating service: page1 - WEB-INF/descr/page1.descr
Could not create service '_access' from class: class com.webratio.rtx.db.AccessService
Error creating service: _access - WEB-INF/descr/_access.descr
Error creating service: db1.hibernate - db1.hibernate
Could not create a DBCP pool
Cannot create PoolableConnectionFactory (java.net.ConnectException : Error connecting to server localhost on port 50102 with message Connection refused.)
java.net.ConnectException : Error connecting to server localhost on port 50102 with message Connection refused.
Connection refused
Suggestions:

Refresh the database(s) and run the 'Find Model Problems' command on the domain model
Check the database Runtime properties (if defined)
Run the 'Generate Selection' command on the accessed page/operation

 
x 0
Follow
Answer Answer at this question and get points!
Forum Expert - Level 6

Hi,

it seems something related to the connection between Web App and Database.

The reasons can be different: database not existing, wrong port number, wrong host and so on.. 

Check the Database node properties from the Domain Model and once everything is set you can test the connection using the Refresh command.

Here you have one related topic http://www.webratio.com/forum/question-details/webratio-and-mysql and the dedicated video tutorial http://www.webratio.com/learn/learningobject/connecting-the-database.

 

 
x 0
Answer at this question and get points!