java.lang.IllegalArgumentException:端口超出范围:67001 [英] java.lang.IllegalArgumentException: port out of range:67001
本文介绍了java.lang.IllegalArgumentException:端口超出范围:67001的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
运行脚本时遇到以下错误.该脚本正在尝试调用Webservice ..,并成功调用Webservice.最后,它还会打印成功的消息,只是在两者之间使用LOG UTILS抛出一些错误.请看看并提出建议.
I am facing the below error while running the script. The script is trying to invoke a webservice..and its succesfull in invoking the webservice. At the end.. its printing the sucessful msgs also, just its throwing some rrors with LOG UTILS in between. Please have a look and suggest..
java.lang.IllegalArgumentException: port out of range:67001
java.lang.NullPointerException
at com . drivelogic.services.logging.LogConfig.isDevMode(LogConfig.java:89)
at com.drivelogic.services.logging.DlLogger.isTraceLog(DlLogger.java:277)
at com.drivelogic.services.logging.DlLogger.log(DlLogger.java:55)
at com.drivelogic.common.util.LogUtils.log(LogUtils.java:114)
at com.drivelogic.common.util.LogUtils.fine(LogUtils.java:252)
at com.cccis.frm.reprocess.util.PublishUtil.invokeWebService(PublishUtil.java:304)
at com.cccis.frm.reprocess.batch.SOABatchReprocessor.reprocess(SOABatchReprocessor.java:137)
at com.cccis.frm.reprocess.batch.SOABatchReprocessor.main(SOABatchReprocessor.java:56)
java.lang.IllegalArgumentException: port out of range:-2
at java.net.InetSocketAddress.<init>(InetSocketAddress.java:83)
at weblogic.socket.SocketMuxer.newSocket(SocketMuxer.java:373)
at weblogic.socket.SocketMuxer.newClientSocket(SocketMuxer.java:383)
at weblogic.socket.ChannelSocketFactory.createSocket(ChannelSocketFactory.java:86)
at weblogic.socket.BaseAbstractMuxableSocket.createSocket(BaseAbstractMuxableSocket.java:133)
at weblogic.rjvm.t3.MuxableSocketT3.newSocketWithRetry(MuxableSocketT3.java:214)
at weblogic.rjvm.t3.MuxableSocketT3.connect(MuxableSocketT3.java:383)
at weblogic.rjvm.t3.ConnectionFactoryT3.createConnection(ConnectionFactoryT3.java:34)
at weblogic.rjvm.ConnectionManager.createConnection(ConnectionManager.java:1784)
at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1424)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:443)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316)
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:353)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.drivelogic.services.logging.QueueHandler.send(QueueHandler.java:60)
at com.drivelogic.services.logging.DlLogger.log(DlLogger.java:66)
at com.drivelogic.common.util.LogUtils.log(LogUtils.java:114)
at com.drivelogic.common.util.LogUtils.fine(LogUtils.java:252)
at com.cccis.frm.reprocess.util.PublishUtil.invokeWebService(PublishUtil.java:304)
at com.cccis.frm.reprocess.batch.SOABatchReprocessor.reprocess(SOABatchReprocessor.java:137)
at com.cccis.frm.reprocess.batch.SOABatchReprocessor.main(SOABatchReprocessor.java:56)
推荐答案
the maximum port number is 65535 and here is a list of known service port (The list is updated frequently). Try using a lower port number.
这篇关于java.lang.IllegalArgumentException:端口超出范围:67001的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文