GlassFish error: class java.lang.RuntimeException

I configured the Glassfish server with Eclipse Luna. I downloaded GlassFish from the market and configured it correctly. Now, when I click the Assign button in the JMS Resource section. When I click Create, it throws this exception.

class java.lang.RuntimeException

and I cannot add a new destination resource, the same for connections. Can someone tell me how to fix this problem?

thanks

+4
source share
2 answers

I got the same error and I used the CLI to create new JMS resources:

use asadmin utility in the \ glassfish4 \ glassfish \ bin path

on any command line.

Creating JMS Connection Factories

asadmin > create-jms-resource --restype javax.jms.ConnectionFactory --description " factory XXX" jms/ConnectionFactory

JMS

asadmin > create-jms-resource --restype javax.jms.Queue --property Name = PhysicalDestination jms/MyQueue

https://docs.oracle.com/cd/E18930_01/html/821-2416/ablkb.html .

+3

ConnectionFactory IDE NetBeans. → https://www.youtube.com/watch?v=Tc1NFved0BU

0

Source: https://habr.com/ru/post/1619568/


All Articles