Good day everyone..
I have problem with the connection of SQL Server.
I got this error:
Unable to connect to the existing database Could not establish connection with the data base BASDB
Creating main data base...
Unable to create database BASDB Unable to get information from SQL Server: localhost.
Aware IM Server startup error Aware IM was unable to create or locate the databases it requires.
Error message returned by the database is:
Unable to create database BASDB Unable to get information from SQL Server: localhost. exiting...
com.bas.basserver.bsmanager.StartupException: Aware IM was unable to create or locate the databases it requires.
Error message returned by the database is:
Unable to create database BASDB Unable to get information from SQL Server: localhost.
at com.bas.basserver.persistence.PersistenceManager.initialise(Unknown Source)
at com.bas.basserver.bsmanager.f.a(Unknown Source)
at com.bas.basserver.bsmanager.o.if(Unknown Source)
at com.bas.basserver.bsmanager.j$c.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Process status: Aware IM Server: Aware IM was unable to create or locate the databases it requires.
Error message returned by the database is:
Unable to create database BASDB Unable to get information from SQL Server: localhost.
Overall status: Unable to start Aware IM server
In the Database Properties:
I have select SQL Server
User Name: sa
Password: Pa55word
Machine Name: localhost
Port: 1433
Main Database: BASDB
Test Database: BASDBTEST
Instance Name: SQLExpress
In the SQL Express, TCPIP Enable, Server Authentication
In the Firewall, allowed for Port Number 1433 already
From the SQL Server Management Studio, after enter the login and password, I can access the System Database.
BASServer File:
#Sun Aug 28 18:40:59 GMT+08:00 2011
DriverTestURL=jdbc:jtds:sqlserver://localhost:1433/BASDBTEST;user\=sa;password\=Pa55word;instance\=SQLEXPRESS
UIProcessTimeout=1800000
ChannelTypeTimer=com.bas.basserver.channels.TimerChannelType
AwaresoftPort=8080
DirectoryServiceProvider=jnp://localhost:9650/
SystemPort=9000
DirectoryService=org.jnp.interfaces.NamingContextFactory
ChannelTypeMail=com.bas.basserver.channels.EmailChannelType
MaxNmbOfRepeats=1000
ChannelTypeSK=com.bas.basserver.channels.SocketChannelType
NotificationInQueue=queue/notifinqueue
EndRange=100000
MaxNmbOfRepeatsWithoutChange=50
AwaresoftHost=localhost
DriverURL=jdbc:jtds:sqlserver://localhost:1433/BASDB;user\=sa;password\=Pa55word;instance\=SQLEXPRESS
JMSFactory=ConnectionFactory
NotificationOutTopic=topic/notifouttopic
DatabaseName=BASDB
Hub=true
SessionTimeout=1800000
ChannelTypeWebServices=com.bas.basserver.channels.WebServicesChannelType
DatabaseComponent=com.bas.basserver.persistence.dbplugins.MSSQLServerInterface
BootstrapURL=jdbc:jtds:sqlserver://localhost:1433/;user\=sa;password\=Pa55word;instance\=SQLEXPRESS
ChannelTypeURL=com.bas.basserver.channels.URLChannelType
LocalTopic=topic/defaultoutputtopic
LocalQueue=queue/defaultinputqueue
DriverClassName=net.sourceforge.jtds.jdbc.Driver
DatabaseNameTest=BASDBTEST
StartRange=1
DocumentEngines=com.bas.basserver.documents.JasperReportsEngine,com.bas.basserver.documents.MSWordDocumentEngine,com.bas.basserver.documents.TextDocumentEngine,com.bas.basserver.documents.HtmlDocumentEngine,com.bas.basserver.documents.MSExcelDocumentEngine
RequestQueue=queue/skinputqueue
ReplyTopic=topic/skoutputtopic
Where go wrong?
Do I need to create the BASEDB and BASETEST inside the SQL Server? Or it will automatically created?
Why AwareIM "Unable to create database BASDB Unable to get information from SQL Server: localhost. exiting..."??
Where go wrong? Any setting I need to set?
Million Thanks.