Can't open my application from Openshift using Eclipse Java EE IDE - eclipse

After that I logged in to the Openshift from Eclipse Java EE IDE for Web, I'm getting the following error:
Could not load applications, cartridges and gears
Could not request https://hub.openshift.com/api/v1/quickstarts/promoted.json: javax.net.ssl.SSLException:
java.lang.RuntimeException: Could not generate DH keypair
Do you know how I can fix it?

https://access.redhat.com/solutions/1219253
Could be a JDK version problem. Refer to the link above.

Related

NetBeans can't run Java Client with GlassFish5. Why?

I've been searching an answer for 3 days and without any result :-(.
I created an EJB project with NetBeans (Session Beans + Remote Client). I successfully deployed it on GlassFish5 on my REMOTE server.
But when I started my ClientApp in NetBeans it displayed an error. I looked it up in GlassFish Server, and it told me that ClientApp couldn't find Libraries.
Ok, but I am sure that the Libraries exist! How come?
P.S.
I use Java EE 8, NetBeans 15 and GlassFish 5.1.0 and Java idk 17.0.2 for NetBeans
Log from the Server:
My Project:

Eclipse Mars throwing Noclassdeffounderror when adding server runtime configuration

I am using Eclipse Mars for SAP cloud application development. I added the SAP plug ins successfully. Now when I am adding a Java Web as a server runtime using the Java Web Sdk, it is throwing an error "server error Java /sql /time". When I see the log file it says Noclassdeffounderror for Java. Sql. Time. Could anyone help.
Regards,
Nayeem
Eclipse Mars is tremendously outdated. You should use Oxygen for SAP Cloud development and fulfill all necessary prerequisites for it.

How to install Axis2 runtime in Eclipse Oxygen?

I'm doing some tests with the last Eclipse developer builds, the Oxygen RC3. I know it's only a RC product, but in the milestones there was no problem with the Axis2 runtime. Here and now the Axis Runtime it's not present.
When I try to run the wizard and create the Web Service, I just don't see the option to set Axis2 runtime, just the Axis runtime.
Also I tried to install the plugins moving them into the dropins folder, running Eclipse with the -console option from the command line (following the Apache instructions) and when I check in the console with the command ss axis2 it says "Framework is launched.", and also I get 2 bundles installed:
Unfortunately, when I try to start them I got the message: BundleException: Could no resolve module: org.apache.axis2.eclipse.service.plugin [107X] Unresolved requirement: Import-Package: javax.xml.stream; version="1.0.0"
I tried installing them on the plugins folder, not working.
Also, I follow other guides surfing the net unsuccessfully.
What can I do? Thanks in advance!
Well, after some research, I get the solution! Axis2 Tools and CXF Web Services come with Eclipse Java EE Developer Tools Project, so I suppossed that will be the package that includes Axis2.
So I just search on Google that package in the Eclipse Marketplace (this link), and drag the Install button into the Eclipse SDK. I check and install the Axis2 Tools, CXF Web Services, and required packages.
After restar Eclipse, magic has done.
I have the Axis2 Runtime Settings:
The Axis2 Code Generator and Axis2 Service Archiver wizards:
And, finally, I have the Web Service runtime Apache Axis2 inside the Web Service Client wizard:

Error during server start up after hotswap-agent configured with Tomcat and eclipse

I have configured hotswap agent in eclipse(version >3.3) and tomcat(version6.0) referring the below two sites.
http://www.hotswapagent.org/quick-start#
http://tirthalpatel.blogspot.com/2014/06/steps-to-setup-hotswap-agent-in-eclipse.html
I have followed all the steps as it is but am getting below error during tomcat server start up after I add "-XXaltjvm="dcevm" -javaagent:D:\Softwares\hotswap-agent.jar" in tomcat VM arguments.
JDK version : jdk1.7.0_45
Error occurred during initialization of VM
Unable to load native library: The specified procedure could not be found
Please help me to resolve this error and to use hotswap agent with Tomcat and Eclipse successfully.
I just had the issue and here's what helped me.
Go to DCEVM releases page and download the most recent one.
Make sure your JDK version matches DCEVM supported java version. Here you can download archived java releases.
On your IDE debug configuration specify patch to JDK you've patched as JRE.
Specify VM arguments needed for HotSwapAgent: -XXaltjvm=dcevm -javaagent:c:\java\hotswap-agent.jar(use your path to agent jar).
If that doesn't work, try to have only one jdk patched.

Jboss 7 and eclipse indigo plug in giving error while starting server?

I installed Eclipse indigo and jboss 7 server and jboss server plugins installed for struts2 application.
I created simple application with jsp page and deployed in to jboss7 server ( i installed server ,run from out side of eclipse and i saw new features of jboss 7 ) after deploying application .
I want to start the server but server giving error like " Error:no server JVM at c:\java\jre1.6\bin\server\jvmdll"
help me for this issue.
thanks
param
I also had this problem and did not find where I could set the JVM for JBoss in Eclipse Indigo. I got JBoss 7 working by removing the JRE6 from installed JREs in Eclipse and only having JDK6 there. I also changed JRE6 to JDK6 by double clicking the JBoss server -> Open launch configuration -> Classpath -> Bootstrap Entries.
After this I readded JRE6 to Eclipse for the projects that used it.
change jvm in jboss's tomcat conf from
C:\Program Files\Java\jre6\bin\server\jvm.dll
to
C:\Program Files\Java\jre6\bin\client\jvm.dll
I posted the below answer here
I've just been struggling with this same problem in Eclipse and I noted that as suggested by the answer above the JBoss site has a thread on this issue saying the same as the answer above to copy files from the jdk to the jre folder.
I noticed that you can avoid having to do this if you define the runtime to be the jdk when you create the server. I didn't find how to edit an existing server though.