We are trying to use same spring.xml in Java EE and Jython applications. JMS configuration is working fine in Java, but an exception is thrown in Jython.
It seems to be caused by the following XML:
If I change url to
I don't get the error message, so for some reason the ':7003' part causes the issue. Changing the port number does not affect the error, i.e. ':7004' and ':1234' result in the same exception.
Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: port out of range:-14
<property name="environment"> <props> <prop key="java.naming.factory.initial">weblogic.jndi.WLInitialContextFactory</prop> <prop key="java.naming.provider.url">t3://192.168.1.2:7003"</prop> </props> </property>