-
Notifications
You must be signed in to change notification settings - Fork 3
Troubleshooting FAQs
Here you can find the most common errors that some previous students have found
The Glassfish link is missing when creating a new server. It sometimes happen during the first creation of a GlassFish server that the option for GlassFish is not found
These links solved most of the cases for the issue described above:
https://stackoverflow.com/questions/45641337/how-to-add-glassfish-server-to-eclipse-oxygen
The command prompt console (e.g., CMD in Windows) recognizes "java" but it does not recognizes "javac".
Sometimes the installations need a restart of the console or even the machine. After rebooting the computer both enviromental variables should be detected.
The command "java" does not show the version I installed.
Sometimes more than one JRE is installed in the same machine. It is important that the Environment Variables are properly pointing to the right java Paths. Make sure you double check that the paths do not contain typos! You can find how to set these variables in the page Install the Java Development Kit (JDK).
Java is recognized but not Maven.
There might be some error in the paths when using "nano" command.
He could not run the projects provided in this github. The problem were coming from some interference with another software called "Anaconda" and Glassfish.
How he identified the problem:
In the terminal, write "which asadmin".
If the response is "/anaconda/bin/asadmin" or anything other than "/opt/glassfish4/bin/asadmin" that might be the source of the problem.
Open "~/.bash_profile" and comment out every line that has to do with "anaconda" or "python".
Save, and execute "source ~/.profile" to run the new setup.
Restart eclpise.
You may have a problem connecting to the DB or deploying the app. The problem may be solved using a VPN.
To connect to the UiB VPN follow this guide: https://it.uib.no/Tilkobling_til_UiBs_nettverk_utenfra.