|
linux上,JDK1.5,jmeter2.3, 在 jmeter.properties文件中, 设remote_hosts=127.0.0.1:1099
执行./jmeter-server ,没有反应,也没有相关进程启动。直接回到下一shell提示符状态。
再次执行。显示如下:- [teivd@ftp2 bin]$ ./jmeter-server
- java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
- java.net.BindException: Address already in use
- at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:249)
- at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:184)
- at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)
- at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)
- at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:180)
- at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92)
- at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:78)
- at sun.rmi.registry.RegistryImpl.main(RegistryImpl.java:322)
- Caused by: java.net.BindException: Address already in use
- at java.net.PlainSocketImpl.socketBind(Native Method)
- at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
- at java.net.ServerSocket.bind(ServerSocket.java:319)
- at java.net.ServerSocket.<init>(ServerSocket.java:185)
- at java.net.ServerSocket.<init>(ServerSocket.java:97)
- at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27)
- at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:333)
- at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:622)
- at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:237)
- ... 7 more
复制代码 在jmeter中,run -> remote start ->127.0.0.1:1099
结果:弹出对话框:“ERROR initaiting remote server”
网上搜了些相关的,结果没有正解。
哪位知道怎么办,在此谢过 |
|