加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

shell – java.lang.IllegalArgumentException:port超出范围:6

发布时间:2020-12-15 21:32:53 所属栏目:安全 来源:网络整理
导读:我在运行脚本时遇到以下错误.该脚本试图调用webservice..and它成功调用webservice.最后..它还打印了成功的消息,只是在它之间抛出一些带有LOG UTILS的错误.请看看并建议.. java.lang.IllegalArgumentException: port out of range:67001 java.lang.NullPointe
我在运行脚本时遇到以下错误.该脚本试图调用webservice..and它成功调用webservice.最后..它还打印了成功的消息,只是在它之间抛出一些带有LOG UTILS的错误.请看看并建议..

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)

解决方法

最大端口号为65535,此处为 list of known service port(列表经常更新).尝试使用较低的端口号.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读