I am working on a tutorial using glassfish inside netbeans https://netbeans.org/kb/docs/javaee/ecommerce/setup.html . I reached this point in the tutorial (Don't mind the Pool name, I changed it to fit my own)
But when I click next I get this error
I read on the internet that some people say this error occurs cause there is a bug in glassfish version 4.1.1 but when I try to update glassfish from inside Netbeans
And I click yes then I get this error
It doesn't help either if I go into the glassfish admin area and click on Update tool
Cause no Items show up even though there have been updates since and glassfish is now on version 5.0. I by the way checked if I was behind a proxy here http://amibehindaproxy.com/ and I wasn't and my internet speed showed this
So is there anybody who can tell me what I do wrong??? There are some other post about the subject but non of the solutions helped me.
The Update Center in GlassFish no longer works because the server it tries to connect to does not exist any more after Oracle ended commercial support. To update GlassFish you will need to:
Download GlassFish separately
Unzip it to a location of your choice
Add it to netbeans manually by right-clicking "servers" and choosing "Add Server"
If you are concerned about bugs in GlassFish, you may want to try Payara Server, which is derived from GlassFish but has many more bug fixes. (Payara Server has the same free, open source license as GlassFish)
Related
for those who are familiar with the web application iteraplan, I really need help. I've been having trouble getting iteraplan to work on my Mac because some factors or requirements can't be fulfilled.
For this reason I needed to install Tomcat since it's a web application but I'm a newbie to it. Tomcat doesn't work even though I installed it properly, moved it to the right folder and made sure that Eclipse recognizes it as a server. When I'm trying to open anything on Tomcat on my localhost I can't open further pages of Tomcat because I always receive the same error:"The requested resource is not available" When I'm trying to run the web application iteraplan through my terminal, the localhost doesn't open either and I get the same error.
I already changed most of the server file (which seems necessary for getting the web application to work) but that doesn't help either. Is there anything I might gave forgotten? Maybe something I would have to launch or something?
I would be glad for any advice because I desperately need this to work for my thesis.
Thanks in advance.
Yash, have you made sure that your Tomcat installation is working properly? You should be able to access the manager app (usually under localhost:8080/manager/html) and see all running applications, regardless of whether you have iteraplan deployed on the server or not. Also, to run iteraplan, you need a database (details can be found in the iteraplan installation guide: http://www.iteraplan.de/wiki/display/iteraplan34/Installation+Guide). Finally, if you just want to run the application, without modifying the code, it would be simpler to download one of the bundles available in sourceforge (http://sourceforge.net/projects/iteraplan/files/iteraplan Community Edition/). They have a Tomcat server and a database included.
Has anyone out there actually gotten an existing Eclipse Dynamic Web Project working under OpenShift? Does anyone know a tutorial that ties all three title elements together?
I have the OpenShift plug-in and the EGIT plug-in added to Eclipse Kepler.
I've tried creating a new OpenShift Project in Eclipse. It does well until the final step when it errors for wanting the location an ssh "pub" file. Nothing prior had mentioned this and even if I knew where it was or what they were talking about, there's no place in any of the dialogs to enter it.
I've started any number of GIT and OpenShift tutorials or guidelines. Most think that everyone is using Red Hat Linux. I'm using Windows 8.
It doesn't appear that OpenShift will let you select an existing Eclipse Dynamic Web Project that doesn't already somehow magically exist in OpenShift.
I've read the solutions to other user's problems as supplied by Red Hat and they're all very fragmentary and tend to stipulate a degree of knowledge that the questioner simply doesn't have.
It's all been very confusing. I want to host my Dynamic Web Project on OpenShift because they support Tomcat 7, JDK 7 and MySQL 5.5, but somehow I've not found the magic bullet.
I recommend to use newer version of JBT (or OpenShift tools) - there are more and more changes over time (new features, fixes...). Newer JBT cannot allow you to start create a new application without having your public key on your OpenShift account.
According to your issue. You have to have uploaded your public ssh key on the OpenShift to successfully deploy your existing application. It's required, bcs. there is at first created OpenShift application with specific cartridge (in your case Tomcat 7) and then it is overwritten by local application (forced push) - and there is required ssh key for secured connection. That is a reason why you cannot deploy your existing application.
To upload SSH key to your OpenShift account open OpenShift explorer and choose your connection, open its context menu and choose Manage SSH Keys... (older version could have different label for this, but it would not be much more different). If you don't have any ssh key, wizard allow you to create your own key pair. Make sure, that SSH key is also added into Eclipse SSH2 preferences (I am not sure, which version of OpenShift tools do you use, if there is not link to eclipse preferences, go through Preferences -> General -> Network Connection -> SSH2).
I am trying to create my first JSF web dynamic project with eclipse. In second last step, i need to select the user library in which the download library window is empty. Can anyone help how to add the library in that?
For me the problem was, that I could select version 2.3 of JavaServer Faces, but that wasn't added to the download providers yet, that Eclipse can see. For older versions I could see the libraries.
This was due to my machine was not able to connect to Internet. When i give the Preferences->Network Connections as Manual with a proxy, then it started appearing with user libraries.
I have referred to the question Here and have been unable to resolve my issue at all.
I'm making a dynamic web project that uses jsp / css as well as jquery. Right now I need to stop the server, clean, and republish.
I have build automatically checked, I have selected automatically publish on the server... I'm not really sure if I'm missing something but I'd love to get this working as frontend development without realtime editing is horrid.
I'm not using maven or any other form of source control (yet)(I can add in ivy, if need be?)
Thanks.!
Image of server setup
If your are using the JBoss Server Manager that came with the Jboss Tools Suite you have to mark the "Automatically publish when resources change" option of the "Publishing" section of your Jboss Server Configuration.
You can find the Jboss Tools for Juno here, or you can use the Jboss Developer Studio IDE, that is an Eclipse Indigo + Jboss Tools like explained here (I'm using it, and it runs way better than eclipse, don't know why, but that's just my experience)
I am using the Weblogic Workshop for Portlet development. It's built on Eclipse. I upgraded my Eclipse from 3.2 to Weblogic Workshop.
The problem is that everytime I start the Workshop it gives me an upgrade information that I need to upgrade my projects as they were created with older version of Eclipse.
This should have to be done only once, right? Not everytime. Is there a solution?
Text of message:
"Upgrade projects created with older release of Eclipse and/or related plugins."
Thanks,
Sid
Is your project in a source control system that may have made some files read-only? If so, use your source control client to "check out" all project files before opening the project in Eclipse. Then find files that have been changed by upgrade and check them back in.
If that doesn't apply to your situation, take a look at your Error Log view in Eclipse after upgrade. Are there any errors/exceptions in there? You may want to clear the log and repeat to get only the most recent problems. Use information that you gather to open a support ticket at Oracle. The problem that you are describing is likely a bug.