I am using NetBeans 15 with Eclipse GlassFish 6.2.5 and Jakarta EE 9. When I create a web application and add a GlassFish JMS Resource, the only available Resource Types are javax.jms and jakarta.jms is not available. Thus the deployment fails because the Glassish server is looking for the jakarta.jms types.
How to reproduce
In NetBeans 15 create a new web application project by selecting Java Web under Categories and Web Application under Projects. Click Next.
Name the project and click Next.
Select a GlassFish 6.2.1 server and Jakarta EE 9.1 Web for the Java EE Version.
Click Finish.
Right-click the new project and select New -> Other.
Select GlassFish under Categories and JMS Resource under File Types. Click Next.
Under Choose Resource Type the only available types are javax.jms and jakarta.jms is not available. GlassFish 6.2.1 expects jakarta.jms types and generates an error when trying to deploy javax.jms types.
Did this work correctly in an earlier version?
No / Don't know
Operating System
Windows 10 21H2
JDK
JDK 17 by default, Jakarta 9 for the Web Application
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
The issue occurs every time.
Issue was present in NetBeans 14 as well.
Apache NetBeans version
Apache NetBeans 15
What happened
I am using NetBeans 15 with Eclipse GlassFish 6.2.5 and Jakarta EE 9. When I create a web application and add a GlassFish JMS Resource, the only available Resource Types are javax.jms and jakarta.jms is not available. Thus the deployment fails because the Glassish server is looking for the jakarta.jms types.
How to reproduce
Did this work correctly in an earlier version?
No / Don't know
Operating System
Windows 10 21H2
JDK
JDK 17 by default, Jakarta 9 for the Web Application
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
The issue occurs every time. Issue was present in NetBeans 14 as well.
Are you willing to submit a pull request?
Yes
Code of Conduct
Yes