java - jboss and sonic mq not playing nice -
java - jboss and sonic mq not playing nice -
here's have been beating head against day now. have older version of jboss (jboss4), , within launching code go out , connect implementation of sonic mq (7.6, think) running client. running java 1.6.0_23. beingness said seeing weird behavior cant seem figure out.
when process starts load of jndi props need found connection sonic mq server, phone call out this
context ic = new initialcontext(jndienv);
however see no traffic on wire shark @ point , baffling me. time out giving me exception
javax.naming.namingexception. root exception com.sonicsw.mf.comm.connecttimeoutexception: timeout occured while attempting connect
the real kick in teeth run process standalone jar (instead of within jboss) on same server , connects fine?
hey comes across this... solved issue , thought share ...
it turns out tho sonic tech team said code never looks @ jvm variable javax.ssl.keystore ... does...
it set javax.ssl.keystore=c:something cause initial context generation hang until time out. javax.ssl.keystore=c:\something work. , if not set work well...
i have expect kind of exception thrown :?
i hope helps sometime! :)
thanks j
java jboss timeout sonicmq
Comments
Post a Comment