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.
Exception is:
It seems to be caused by the following XML:Code:Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: port out of range:-14
If I change url toCode:<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>
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.Code:<prop key="java.naming.provider.url">t3://192.168.1.2"</prop>


Reply With Quote
.