Am using Nessi 2.1.2 with a MySQL user(root) but on providing MySQL settings to Nessi database preferences, a database isn't created as opposed to using the same details in Nessi 2.0.0 beta6 where the database is seamlessly created in MySQL can some one really rectify this in Nessi 2.1.2 because i cant proceed. Secondly i saw this error after trying to launch a simulation which threw a "cannot connect to back end" error the same error some raised in this thread https://sourceforge.net/p/nessi2/discussion/Open/thread/80e29ff3/ please urgent help is needed.
And another issue is that a novice who is trying to learn Nessi2 faces a lot of difficulties because there are no step by step content especially how to videos .... Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
That is the same issue am facing in Nessi 2.1.2, in Nessi2 2.0.0 beta6 besides having both database and back end status icons it also created the Database seamlessly easy, but switching to Nessi 2.1.2 it doesn't create one in fact even pointing it to an already existing database it doesn't use it either.
guess the prooblem is with this version of Nessi, can this be worked upon because we are stuck. thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
a database will only be created, if a successful connection to the backend was established. If I understand you correctly you are not connected to the backend, so that should be the reason why there is no database connection.
For the backend issue: Please make sure you use the same version for UI and backend and that you have an active network interface, there is issue with private IP addresses, that is related to libraries we are using.
If these two conditions are fulfilled, the connection to the backend should be established and the database created. We just concluded a lecture project using NeSSi2 2.1.2 and the students in that project did not experience any problems in that regard. So I am not sure how to help you without additional information, maybe you could provide us the log files from the UI and the backend?
Best,
Karsten
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for that reply I managed to create the database in Nessi 2.1.2 however, on running the Backend Batch File, the attached screen shot flashes and goes immediately though i quickly captured it. Secondly an error message could not connect to backend appears on Simulation. Kindly help me out so that am able to simulate my application.
this error message occurs, if you are using Java6. Since NeSSi 2.1.x we
migrated to Java7. If you need to have java6 installed, you might install
java7 to some other location and let the JAVA_HOME variable point to
that location, otherwise you just might upgrade your JRE
Best,
Jakob
Last edit: daell 2013-07-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the prompt reply, I pointed to Java7 and now am able to run the Batch File successfully. But now am still faced with the attached error on simulating. Is it because the required repositories have not yet been downloaded into the local .m2/repositories folder or how can i use Nessi to download them there without using the marven command line.
The repository feature is still in development and there is no public repository that can be used (although you could set-up your own repository). It is sufficient to have all NeSSi2 applications Jar files in the application folders of the UI and the backend. This is already the case for all default NeSSi2 applications, so if your simulation only uses them, you can ignore this message.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After changing the DB port to 9999, the backend is connecting successfully with Nessi2 and i cant see the error message again.
I am very thankful to you for your help. It is really appreciated. However I cant really see the simulation is there some thing wrong so that am being guided?
Thanks again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am not sure what you mean by changing the DB port to 9999. The default settings in NeSSi2 should actually work with a standard MySQL installation and the NeSSi2 backend. The only thing that need to be changed are the user name and the password for the access to the database. Note: NeSSi2 does allow an empty password, so there needs to be a password set for the user that should be used to access the database.
Details on the preferences and MySQL configuration are part of the NeSSi2 manual:
Section 4.2.14. (Preferences)
Section 3.3 and appendix D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi there , when i lunch simulation i get this error , unable to connect to database ; i've create the db in my sql with "project" name and set the user
user:"root"
pass" "my root password"
schema : project
but i don't know why it can't connect to the db
Please team
Am using Nessi 2.1.2 with a MySQL user(root) but on providing MySQL settings to Nessi database preferences, a database isn't created as opposed to using the same details in Nessi 2.0.0 beta6 where the database is seamlessly created in MySQL can some one really rectify this in Nessi 2.1.2 because i cant proceed. Secondly i saw this error after trying to launch a simulation which threw a "cannot connect to back end" error the same error some raised in this thread https://sourceforge.net/p/nessi2/discussion/Open/thread/80e29ff3/ please urgent help is needed.
And another issue is that a novice who is trying to learn Nessi2 faces a lot of difficulties because there are no step by step content especially how to videos .... Thanks.
Hello,
That is the same issue am facing in Nessi 2.1.2, in Nessi2 2.0.0 beta6 besides having both database and back end status icons it also created the Database seamlessly easy, but switching to Nessi 2.1.2 it doesn't create one in fact even pointing it to an already existing database it doesn't use it either.
guess the prooblem is with this version of Nessi, can this be worked upon because we are stuck. thanks
Hi,
a database will only be created, if a successful connection to the backend was established. If I understand you correctly you are not connected to the backend, so that should be the reason why there is no database connection.
For the backend issue: Please make sure you use the same version for UI and backend and that you have an active network interface, there is issue with private IP addresses, that is related to libraries we are using.
If these two conditions are fulfilled, the connection to the backend should be established and the database created. We just concluded a lecture project using NeSSi2 2.1.2 and the students in that project did not experience any problems in that regard. So I am not sure how to help you without additional information, maybe you could provide us the log files from the UI and the backend?
Best,
Karsten
Please Karsten,
Thanks for that reply I managed to create the database in Nessi 2.1.2 however, on running the Backend Batch File, the attached screen shot flashes and goes immediately though i quickly captured it. Secondly an error message could not connect to backend appears on Simulation. Kindly help me out so that am able to simulate my application.
Hope to hear from u shortly.
thanks
HI,
this error message occurs, if you are using Java6. Since NeSSi 2.1.x we
migrated to Java7. If you need to have java6 installed, you might install
java7 to some other location and let the JAVA_HOME variable point to
that location, otherwise you just might upgrade your JRE
Best,
Jakob
Last edit: daell 2013-07-15
Hello
Thanks for the prompt reply, I pointed to Java7 and now am able to run the Batch File successfully. But now am still faced with the attached error on simulating. Is it because the required repositories have not yet been downloaded into the local .m2/repositories folder or how can i use Nessi to download them there without using the marven command line.
Regards
Elvis
The repository feature is still in development and there is no public repository that can be used (although you could set-up your own repository). It is sufficient to have all NeSSi2 applications Jar files in the application folders of the UI and the backend. This is already the case for all default NeSSi2 applications, so if your simulation only uses them, you can ignore this message.
Please Sir,
After changing the DB port to 9999, the backend is connecting successfully with Nessi2 and i cant see the error message again.
I am very thankful to you for your help. It is really appreciated. However I cant really see the simulation is there some thing wrong so that am being guided?
Thanks again.
I am not sure what you mean by changing the DB port to 9999. The default settings in NeSSi2 should actually work with a standard MySQL installation and the NeSSi2 backend. The only thing that need to be changed are the user name and the password for the access to the database. Note: NeSSi2 does allow an empty password, so there needs to be a password set for the user that should be used to access the database.
Details on the preferences and MySQL configuration are part of the NeSSi2 manual:
hi there , when i lunch simulation i get this error , unable to connect to database ; i've create the db in my sql with "project" name and set the user
user:"root"
pass" "my root password"
schema : project
but i don't know why it can't connect to the db
Last edit: mike 2018-12-31