Hello all, I have added the datasource to the serv...
# lucee
f
Hello all, I have added the datasource to the server using
cfconfig
but the new website says there is no datasource with that name but i can see in the server configurations using
cfconfig
show datasources command. Now, i am trying to restart the server. While stopping the server i am getting the following error.
CommandBox:websites> *server stop*
Stopping websites...
ERROR
Error stopping serverError: Could not find or load main class runwar.Stop
Caused by: java.lang.ClassNotFoundException: runwar.Stop
b
The server stop error is unrelated. A couple people have reported that one, but it's a puzzle to be as I can't reproduce it
Regarding your datasource, I would guess it's either imported into the wrong place, or references a DB driver that's not installed
Either way, more information would be required to help
f
@bdw429s Thanks for always being a helping guy. From this command
cfconfig datasource list
i get the following datasources.
Name: turcweb
DB Driver: MSSQL
Host: localhost
Port: 1433
Database: TURCWebsite
Name: turcemarketing
DB Driver: MSSQL
Host: localhost
Port: 1433
Database: SixSixNineFive
Image of the error is attached
And turcemarketing is working fine on other site
I wanted to restart the server, maybe it is not applying current changes?
@bdw429s Thank you . My issue has been resolved. I just kill the pid on which the server was running and start the server again. All good now.