You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/09/22 16:15:14 UTC

[GitHub] [netbeans] rivenbarkc opened a new issue, #4677: GlassFish JMS Resource Types

rivenbarkc opened a new issue, #4677:
URL: https://github.com/apache/netbeans/issues/4677

   ### 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
   
   1. In NetBeans 15 create a new web application project by selecting **Java Web** under **Categories** and **Web Application** under **Projects**.  Click **Next**.
   2. Name the project and click **Next**.
   3. Select a GlassFish 6.2.1 server and **Jakarta EE 9.1 Web** for the **Java EE Version**.
   4. Click Finish.
   5. Right-click the new project and select **New** -> **Other**.
   6. Select **GlassFish** under **Categories** and **JMS Resource** under **File Types**.  Click **Next**.
   7. 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.
   ![NetBeans JMS Issue](https://user-images.githubusercontent.com/16850405/191797712-5db42b4f-49b3-495f-a553-727f0677c0c0.png)
   
   
   ### 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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] rivenbarkc commented on issue #4677: GlassFish JMS Resource Types

Posted by GitBox <gi...@apache.org>.
rivenbarkc commented on issue #4677:
URL: https://github.com/apache/netbeans/issues/4677#issuecomment-1255255596

   GlassFish error is as follows:
   org.glassfish.deployment.common.DeploymentException: jakarta.resource.ResourceException: jakarta.resource.ResourceException: Invalid Resource Type: javax.jms.Queue


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists