JBoss not running on Eclipse Luna (Ubuntu 14) - java

I've just installed a tar.gz version of jboss-as-7.1.1.Final on my Ubuntu 14 pc. I was trying to run it from my Eclipse Luna IDE. I've downloaded JBoss AS Tools from Eclipse's Help->Install new software and then added a new JBoss 7.1 Runtime Server, which is using my jdk1.7.0_60.
But when I try to run it that's the error I receive:
Publishing to JBoss 7.1 Runtime Server has encountered a problem.
An internal error occurred during: "Publishing to JBoss 7.1 Runtime Server...".
org/eclipse/osgi/framework/internal/core/FrameworkProperties
I actually can't understand this error, even trying googling it, no results.
Can someone help me please? Thanks!

It look like it wants the org.eclipse.osgi.framework.internal.core.FrameworkProperties class, but this is not part of the Eclipse Luna release, it was part of earlier releases.
So it looks like this version of JBoss is not compatible with Eclipse Luna.

Update JBoss Tools with the last release :
http://tools.jboss.org/downloads/jbosstools/luna/4.2.0.Final.html#update_site

JBoss is not compatible with Eclipse Luna.

Related

Oracle, GlassFish Tools in Eclipse Enterprise

Trying to setup eclipse following Definitive Guide to JSF in Java EE 8. Choosing 'No servers are available' does not list the required 'Oracle, GlassFish Tools'. I am using Eclipse version: 2021-06, on Windows 10 64-bit, Java JDK 15.0.2. I've trying installing GlassFish Tools from the eclipse market place without success. For some reason, on the Define New Server page, Tomcat v9.0 Server at localhost in listed as the Server name, Apache tomcat v9.0 is listed as the Server runtime environment.
Should I be re-installing eclipse for the enterprise?
You can use Payara Tools instead. I forked that initially from GlassFish Tools and added many improvements to it. It supports GlassFish as well.
The original GlassFish Tools hasn't been updated for a long time and is probably not compatible with the more recent Eclipse releases.

WebSphere Developer Tools 8.0 Not able to start server in modern Eclipse

I am trying to run Eclipse WebSphere Developer Tools with a local WebSphere 8.0.x installation. I also installed IBM's WebSphere Dev server and am having trouble successfully starting each server.
This is because the instructions say that the eclipse.ini should be updated to point to the IBM/WAS/AppServer/jre so that they match up. If you do not do this, the server will start but will spin at 100% because Eclipse can't get confirmation it started correctly. Eclipse warns you about not having the Eclipse JRE match the server JRE version.
I am using Eclipse Oxygen, which is Java 1.8. I installed WebSphere Developer Tools 8.0.x. WAS 8 is java 1.6, as such the server JRE/JDK is 1.6. Why would they make this tool for Eclipse Mars, Neon, Oxygen if you can't ever complete their instructions and make the Eclipse JRE align with the server JRE? Is there a way to get around this? I am wondering what I missed.
Eclipse Oxygen only supports Java 8 and above. You can get the JDK 8 from WebSphere Application Server v9 to run WDT in Oxygen. If you can point me to the instructions that you were following, we can review (and update if needed) to make sure the instructions are clear.

JBOSS 6.2 EAP not starting in eclipse

I have added Jboss 6.2 EAP in my eclipse toolkit and I am trying to start it in normal mode. But the server does not start at all and I dont see any errors in the console or in server.log or in boot.log.
I am using JDK 1.7 and JBOSS 7.2.1. I have added the entry for environment variables
Could you please help me resolve it?

JBoss server 7.1 not starting in Eclipse Luna

I have Eclipse Luna 4.4.1, and JBoss Server 7.1. The problem is when I start the Server, it never starts and after a long time it says Time Out Error. "JBoss is unable to start within 450 seconds".
How to resolve this issue?
The Console shows the following output and just hangs here for much time:
12:47:54,100 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
12:47:54,438 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
12:47:54,552 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
The Server never starts. I have changed the time settings but it never helps.
I solved that issue, I was using JDK version 1.8 and JBOSS 7.1, The JBOSS server always stuck on "Starting Brontes".... I have tried changing the server startup time, and settings but nothing helped.
I then unistalled JDK 1.8, and installed JDK 1.7, and this solves my issue. JBOSS 7.1 works with JDK 1.7.. :)
And one thing more, JDK 1.8 can work with JBOSS WildFly 8...
Compare the Java Build Path properties in your projects, maybe you mixed up the JDK versions.
I faced the same problem..using different java runtime environments in server an project configuration seems not to be the best way for starting the JBoss :)
If someone hit this problem in the future...
JBoss 7.1 need Runtime JRE 1.7. Edit this under Preferences > Server > Runtime Environments > JBoss 7.1 > edit > Runtime JRE (Change to 7.1)
You can increase the timeout associated with server starting time as part of the server settings in Eclipse. You might also want to check if you need all the modules that JBOSS starts up as part of the startup process. 6 minutes is a long time in a development environment. Do you have lot of apps being deployed? Would you need all of them for a development environment?
I didn't know that I can't run JBoss As 7.1 on JDK 1.8 and I had the same problem as Madhya Rehman. I've checked if jdk in project properties and jboss runtime is the same, then I set checkbox in project properties/project facets/ runtimes page/ jboss 7.1 runtime ant it seems to work.
For eclipse:
Double click on server
Go to General information
Change Run environment to Java 1.8
And it will work fine... ;)
Same problem and changing the java version helped me.
I was trying to start the Jboss bundled with liferay server on jboss as 7.1.I also had similar issue. I changed jre from 1.8 version to 1.7 that solved my issue and server started successfully.
Another posible fix is to change the hostname, from 'localhost' to '127.0.0.1' in eclipse jboss server configuration pane, in the 'General Information' section

Getting eclipse to use Java 1.7

I'm running Mac OS X 10.9.1 (Mavericks). I was having a problem getting eclipse kepler to recognize Java 1.7 (u45), which I installed from the Oracle site. System Preferences clearly pointed to this version but eclipse couldn't find it.
I reinstalled Mavericks then installed the latest version of Java (051) from Oracle. Then started kepler and got the following popup:
After searching for a solution and not finding one, I tried a backup version of eclipse: juno. Now I get his popup:
Which takes me to Apple software update, which runs successfully.
Now juno starts ok but with kepler, I get:
And I'm back where I started.
How do I get out of this loop?
My first guess is that installing the Apple Java messed up the Oracle installation. Try reinstalling that one.
Secondly you probably need to get Eclipse to use Oracle's JDK at startup. You can do that from the command line using the "-vm" parameter or patch the JDK's Info.plist as described in this post Eclipse Kepler for OS X Mavericks request Java SE 6.
So I went for the nuclear option. I trashed kepler and got a fresh download. Then installed the Google jdks and plugin. Eclipse now recognized my java 1.7 install and Google plugin happily deploys my code.
I'm glad to be back up an running but disappointed that I didn't learn what went wrong in the first place.

Categories

Resources