Is there a NetBeans plugin to add JBoss AS 6 support? - java

JBoss 6 AS is released and I would like to test it in the NetBeans IDE.
In NetBeans 6.9.1 the JBoss 6.0.0.Final directory can not be chosen - the error message is "Provide a valid JBoss Application Server 4 or 5 Location"

I took the time to get it working you can find the information on how to make NetBeans 6.9 work with JBoss 6 here

it looks like folks have done that in the past: http://netbeans.org/bugzilla/show_bug.cgi?id=181753

Related

Tomcat Not Running Fresh 'Hello World' Netbeans Web App - Stuck # 'Please Wait...'

I've just created a fresh web application in Netbeans. Project builds fine. However, once I hit run Tomcat starts up fine, but no browser window opens.
If I go under Services > Apache Tomcat or TomEE > Web Applications I can see 'Please wait...' where my project name should be.
Why isn't Tomcat running my project. If I go to localhost/port I can see that Tomcat is running fine but the project is stuck on 'Please wait...'.
I'm using Tomcat 9, Java 16, Java EE 8 Web, Netbeans 12, and Maven Compiler 3.1. If anything else is need to help then please leave comment or message me and I'll get right back
I can't seem to see any issue in the server logs either. What is the issue?
'Please Wait': https://i.stack.imgur.com/y3AOI.png
Server Log: https://i.stack.imgur.com/LT1dU.png
Can't embed images as I don't have enough rep.
Thanks
Not sure how to close the question so I'll answer it myself in case others run into same issue. Problem was simply that the version of Netbeans (12.0 LTS) I was using wasn't compatible with JDK 16 as #skomisa mentioned in a comment. Thanks.

Glassfish 4.0 with Java 9

Recently we started working on technology upgrade of our system and would like to know if Java 9.0 supported for Glassfish 4.0.
Also I wanted to know if Netbeans 8.X version is having support on Java 9. If so how to configure Java in netbeans? As I see, when I try to configure Java 9, I could not see any jar files loaded.
Please suggest me how to configure Java 9 with Glassfish 4.0 and NetBeans 8.x (To be precise, I am using Netbeans 8.0.2)
would like to know if Java 9.0 supported for Glassfish 4.0.
Yes, the current version of Glassfish 4.x (4.1.2) will run web applications built using Java 9.
I wanted to know if Netbeans 8.X version is having support on Java 9.
Definitely not. NetBeans 8.x only supports JDK 8 and earlier.
Please suggest me how to configure Java 9 with Glassfish 4.0 and
NetBeans 8.x
As mentioned above, you can't use Java 9 with NetBeans 8.x so discard that option. But you can build Java 9 web apps that run on Glassfish 4.x using NetBeans 9 Beta. To do that:
Download and install JDK 9.
Download and unzip Glassfish 4.1.2
Download and unzip Apache NetBeans 9 Beta.
Start Apache NetBeans 9 Beta by running netbeans64.exe (or netbeans.exe on 32-bit).
Select Tools -> Plugins -> Available Plugins and install everything with a Category of Java Web and EE. NetBeans will restart.
Select Tools -> Java Platforms to add JDK 9 as a platform (as shown in the OP).
Select the Services tab, right click on the Servers node and select Add Server... from the popup menu.
In the Add Server Instance wizard select Glassfish Server and click the Browse... button to navigate to your unzipped installation of Glassfish 4.1.2.
From the Services tab start the Glassfish server you just added, and then go to http://localhost:8080 in a broswer to verify that Glassfish 4.1.2 is running OK.
Use the File -> New Project... -> Java Web -> Web Application wizard to create a simple web application that is configured to run on the Glassfish server you just added.
In the Projects panel select your web project, right click and select Properties.
Select Libraries from the Categories list and set Java Platform to JDK 9.
Select Sources from the Categories list and set Source/Binary Format to JDK 9. Click OK.
In the Projects panel select the web project, right click and select Run. The page for your JDK 9 web app should open in the default browser.
Notes:
You can install and use JDK 10 instead of JDK 9 (or as well as JDK 9) on NetBeans 9 Beta.
You can freely run NetBeans 9 Beta concurrently with an existing installation of NetBeans 8.x. They are completely separate and will not impact each other.
Use the latest version of Glassfish (currently 4.1.2) rather than version 4.0 since a lot of bugs have been fixed.
Go to the Apache Netbeans 9 Beta web site for more details.

Selecting Apache Tomcat Server Causes Java EE Dropdown Menu Failure, NetBeans 7.4

So here's where I'm at:
I've installed the Apache Tomcat Server successfully.
I've configured the JAVA_HOME path successfully, and created a /common/lib directory (as opposed to plain /lib) to get around an issue with NetBeans recognising recent versions of Tomcat.
If I select GlassFish 4.0 as my server, instead of Tomcat, everything's fine -- but I don't want GlassFish 4.0 as my server, as I'm working through a book on Java WebApps and don't want to run into intractable problems further down the line.
When I select Tomcat as my server, I run into the problem that the dropdown menu to select my "Java EE Version" decides it doesn't want to give me any options at all.
Has anyone experienced this problem before, or can anyone offer a rough guess as to what my problem might be?
Thanks in advance!
EDIT: Update - it's not a problem with the JDK classpath of Tomcat. Tomcat works fine on the .jsp files it came bundled with.
I had the similar problem with Tomcat 8. But after downloading Tomcat 7.0.47 I can now choose from Java EE 5 and 6. Hope that helps.

Use wildfly (Jboss 8) with Intellij Idea

I just needed to upgrade my Jboss Server to 8 (http://www.wildfly.org/) and I'd like to know if there is any way to use it like Jboss6-7 in Intellij ?
When i try to add a Jboss server I get the message : "The selected directory is not a valid
Jboss home" (I select the folder up to all subfolders, like I do for any other jboss server).
The server configuration seems to be the same as Jboss 7 (folders, files)
ANSWER : Works nicely with Intellij Idea 132.425 (Cardea) preview
This is fixed in recently released WildFly 8 Beta1
get it at http://www.wildfly.org/download/
For now we have workaround in WildFly to make Idea believe it is still "jboss as"

creating a TomCat 6.0 Web Application

I am trying to create a small Java application using Tomcat and am having some trouble getting started. Are there any resources online that can point me in the right direction? I've tried http://www.online-etraining.com/creating-a-tomcat-web-application but it's saying to use version 5.x of TomCat. I am currently running Eclipse with TomCat 6.0 on a Windows 7 machine. Any help is greatly appreciated.
Thanks,
Sebastian
I suggest you use Eclipse Web Tools (WTP) 'Dynamic Web Project'
I've already covered how to set it up here ->
How do I properly deploy and structure projects in Eclipse against Tomcat?
It also talks about Tomcat 5.5, but that is because the OP there asked about that particular version. It actually works the same with 6.0 and even 7.0
I've covered how to get WTP installed here -> Integrating Tomcat7 and Eclipse Helios on Snow Leopard
This is also just for tomcat 5, but the steps should be similar:
http://www.ibm.com/developerworks/opensource/library/os-eclipse-tomcat/index.html
For my website, which is a Java Web App, I started of with http://static.springsource.org/docs/Spring-MVC-step-by-step/. Although, I'm not sure of you're planning to use MVC or not, but I highly recommend it.

Categories

Resources