I'm studying JAVA, using intelliJ IDEA as IDE , I want to set Glassfish as server on it. Working on linux, glassfish already installed on it (working from command line).
When i create new JavaEE project on intelliJ, on "Application Server" line i choose new -> "glassfish server" and then select glassfish5 folder but IntelliJ just doesn't accept it with error code : "selected directory is not a valid glassfish home".
I'm selecting the glassfish5 home directory, not the one named glassfish in it (tried it , didn't work either).
I've tried to change glassfish version, tried to unzip glassfish to another directory ...
Still exactly same error.
No problem installing tomcat on intelliJ, but no more clue installing glassfish.
Thanks anyone trying to help
I've found my mistake : i've forgotten to give local user permissions to the repository.
Just checked with IntelliJ IDEA 2020.1, Glassfish 5 works without issues. Double check you have these directories/files in the installation directory. Try a clean server installation if it doesn't work.
If nothing helps, provide the link to the Glassfish distribution that doesn't work for you and specify IntelliJ IDEA version.
Related
I'm trying to install the Java Hosting Package distributed by Helicon Zoo in order to host a java project (.war file) on IIS. The problem I'm having is that I can't install the package because Jetty 8 can't be installed.
At first it complained about Jetty 7 aswell but after I downloaded it, that was removed. This didn't however work for Jetty 8.
Error message on web platform installer (Screenshot):
http://imgur.com/qUgH5dW
Has anyone seen this before and possibly fixed it?
Hmm, It seems as if the url that the package is trying to fetch Jetty from: dist.codehaus.org/jetty/jetty-hightide-8.1.7/… has been shut down. I removed Jetty8 (which I manually installed to try to fix the issue, and downloaded it again from download.eclipse.org/jetty. This seems to have fixed the issue. Don't know what the issue was with the first download but maybe it was corrupt.
I am facing a issue that i had made a project in J2EE (JSP & servlet) and i had uploaded every file on web server.
My web server is linux server and so i need to install glassfish server on it.
And also i had stretched my hairs from many days but i am not successful in it.
Actually i am unaware that how can i install it.
If it happens then JSP and servlet files will be compatible and web server can read it perfectly.
Any kind of help is acceptable.
Thanks in advance.
Glassfish is JSP & Servlet compatible by default :)
To install it, you have different options, depending on your operating system.
1)
Just unzip it manually.
go to https://glassfish.java.net/download.html and download glassfish-4.1.zip
setup Java (JAVA_HOME and PATH)
use your favourite unzip tool or go to the folder with the zip file and type unzip glassfish-4.1.zip -d /here/
type /here/glassfish4/bin/asadmin start-domain to start the server
configure the server via asadmin or the Glassfish Admin UI
2)
For Glassfish 4.0 or 3.1 you can also use the installer package.
go to https://glassfish.java.net/download-archive.html and download glassfish-4.0-unix.sh
make sure that the file is executable (+x) before you run it
follow the installer instructions
I have Eclipse Juno with Spring Tools Suite plugin installed.
I need to deploy a newly imported web project to Tomcat 7, which I installed on my system via repository.
The problem is that the New Server Wizard screen won't allow me to select Tomcat 7, as the description is empty and unmodifiable.
How can I fix this? I can select other versions of Tomcat but when I select the installation path of Tomcat I get an error that the installed version is 7.
As per the instruction s provided in this site
Follow these steps, as this is a known issue
Go to Window–>Preferences–>Server–>Runtime Environments and fix the broken path/link for the server.
Rename the org.eclipse.jst.server.tomcat.core.prefs to org.eclipse.jst.server.tomcat.core.prefs.bak (or you can delete this file). This file can be found at \workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings
Rename the org.eclipse.wst.server.core.prefs to org.eclipse.wst.server.core.prefs.bak (or delete the file). This file also can be found at the same location as above.
Follow these steps
1.)Go to Window–>Preferences–>Server–>Runtime Environments and fix the broken path/link for the server.
2.)delete this file org.eclipse.jst.server.tomcat.core.prefs under this location \workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings
3.)delete this file org.eclipse.wst.server.core.prefs under this location \workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings
After following these step's you can configure tomcat in eclipse.
Click on Add Configuration Runtime environments
On the Server Runtime Environments Window you will more than likely see Apache Tomcat 7.
If you remove the runtime environment and then go Back to the New Server Wizard Tomcat 7 will be available to add again.
Hope that helps. That drove me nuts for a few days
The Eclipse Juno may not be fully compatible with the Apache Tomcat 7 yet. Installing and configuring with Tomcat 6 works. Simple.
I have been using the following to set up a jBPM/JBoss server on a remote machine (linux)
http://docs.jboss.org/jbpm/v5.1/userguide/ch03.html
The above linked worked fine locally on my windows box, without any hitches. However, I am having numerous errors with starting/shutting-down the server, and having the drools-guvnor page run completely (or any other than the JBoss AS splash page on localhost:8080). Should this be working fine on linux as well, or are there any other references that I can seek? Also, I have no desire to install eclipse, just to get the jBPM designer going.
Or am I better off attempting to load jBPM into a separate JBoss install?
Running Red Hate Enterprise Linux Server release 5.8
Thank you for your time
I was unable to get the jBPM installer demo (packaged with jboss) to work. Instead I did a separate installation of jBPM and JBoss and set the JBoss home in the build.xml file. Then performed the individual installation of guvnor and designer using
ant install.guvnor.into.jboss
ant install.designer.into.jboss
Still having errors, but the designer/guvnor are up and running, now it is a database problem :(
When I try to install/update any plugin from Help -> Install New Software I receive error messages like this:
No repository found at http://download.eclipse.org/releases/galileo.
or
Unable to connect to repository http://pydev.org/updates/site.xml
Invalid argument
This happens with all Eclipse versions.
I use Eclipse on Debian Sid.
I had the same problem, try running eclipse with these options:
-vmargs -Djava.net.preferIPv4Stack=true
It worked for me
(see https://lists.launchpad.net/openjdk/msg03123.html)
Try disabling proxies inside Eclipse. This helped me once.
Here are some generic eclipse error resolution steps I use:
1) Try run eclipse with the -clean option. This should cleanup some stuff. No clue if it helps with your problem, but maybe worth a try?
2) Delete .metadata directory (or move it temporarily away) from your workspace and run eclipse with the -clean option again.
3) (Skip if you have tried this) Try download another eclipse installation into another local directory and try to see if that works out of the box. If it works, your former eclipse installation was bugged. If it does not work, I suggest checking your general network access to the specific urls you mention.