How to configure JBoss 5.1.0GA using JDK1.6 on Eclipse 2018-12 and Fedora 29? - eclipse

I'm trying to configure JBoss AS Server on Eclipse 2018-12, but I can not create a server Jboss 5.1.0.GA using Jboss Tools 4.9.0.Final. The Error message is: 'This server requires an execution environment from J2SE-1.4 through JavaSE-1.8, but no valid JRE was found. Caution is advised.'
Error Message - Add Server
Even Though I have changed the Execution Environment, I can not find a compatible JRE Execution (JDK 1.6) for the Environment Execution.
Compatible JRE Execution
Previously I have configured the Installed JRE with a JDK 6.0, but I have noticed that some jars files are not present at moment of config, that are:
jre/lib/resources.jar;
jre/lib/jsse.jar;
jre/lib/jce.jar;
jre/lib/charsets.jar.
Libs not present
These jars present on oracle jdk_1.6.0_45 are visible at moment of config in the case of Ubuntu 18.04, but on Fedora 29, it is not present.
How can I configure to make possible to add JBoss server, and make it running on JDK1.6?

I tried your configuration on a F29 VM.
Here's what I did:
installed JDK1.6.0_45 (from Oracle)
installed 2018-12
launched 2018-12
installed JBoss Tools server adapters
tried to add a JBoss 5.1 but noticed it was not possible
removed Java 11 (sudo yum remove java-11-openjdk-headless)
installed Java 8 (sudo yum install java-1.8.0-openjdk-devel)
relanched 2018-12
got an error while creating the JBoss 5.1 server
noticed in the error log JDK1.6.0 is missing the libnsl.so.1)
installed libnsl (sudo yum install libnsl)
create and start server were now successful
Hope this helps

Related

Eclipse Mars Tomcat 8 server disappeared

I'm trying to define a Tomcat 8.5.16 server but everytime I use the 7 I get an error and when I go into preference to use the newer server it tells me the v8 installation is expecting an 8 server although I am pointing it to my tomcat 8. Please help.
I click OK and get "The Apache Tomcat installation at this directory is version 8.5.16. A Tomcat 8.0 installation is expected."
This is under windows->preferences-> Adding a server.
I think Tomcat 8.5.16 cannot be added as Tomcat 8.0.
See also:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=494936
You may have to upgrade your eclipse or apply a patch, for example,
https://bugs.eclipse.org/bugs/attachment.cgi?id=262418&action=edit

jboss installation

I want to install jboss 7 on my Redhat linux server but I am not able to do so. I have already installed JDK 1.8 and 1.7 files but i need to install jboss 7. Currently jboss 5 is installed. Please help me to update the instance.
Installation Guide for use with Red Hat JBoss Enterprise Application Platform 7.0:
https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.0/html-single/installation_guide/

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.

No server runtime environment for GlassFish on eclipse kepler?

I am using Eclipse Kepler and GlassFish tools plungin. After I upgraded the latest version of GlassFish tools (6.5.0.201405081811) and other eclipse components, the Server Runtime Environment for GlassFish is gone.
The Server Runtime Environment only has Apache, Basic, JBoss and ObjectWeb. I can't start up GF server in eclipse anymore.
I am using JDK1.6 to startup eclipse, I don't know whether this is the root cause.
I ran into this same problem. Un-installing, then re-installing the glassfish tools did the trick for me.

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.