Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 5.0 MB.
Max no of attachments : 1
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
New to this Portal?
Click on Join Now to Sign Up
Join Now
Help
Feedback
Sign In
WebNMS Developer Forums
Recent Topics
All Forums
Search All
Tags
Author
Advanced Search
Search
New Topic
Screen name:
ajane
ajane's Profile
1
Posts
5
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Ideas
Problems
Expanded view
List view
Private Message
RMI Problem,Please help~~~~~~~~~~
[8Replies]
02-Feb-2016 02:33 AM
Forum:
WebNMS Framework
The code chip:
if (apiName.equals("EventAPI") && eventAPI == null)
{
try
{
return Naming.lookup("//" + NmsClientUtil.applet.getParameter("BE_HOST_NAME") + "/" + apiName);
}
catch(Exception e)
{
e.printStackTrace();
}
}
The Exception:
java.rmi.UnknownHostException: Unknown host: PC2010102615aju; nested exception is:
java.net.UnknownHostException: PC2010102615aju
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at com.gview.net.tools.APIFactory.getAPIRefer(APIFactory.java:134)
at com.gview.net.tools.APIFactory.getEventAPI(APIFactory.java:62)
at com.gview.client.custom.EventsList.<init>(EventsList.java:998)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.adventnet.nms.startclient.MainPanel.createNmsPanel(MainPanel.java:7883)
at com.adventnet.nms.startclient.MainPanel.run(MainPanel.java:611)
at com.adventnet.nms.startclient.MainPanel.init(MainPanel.java:451)
at com.adventnet.nms.startclient.NmsMainFrame.init(NmsMainFrame.java:75)
at com.adventnet.nms.startclient.NmsMainApplet.run(NmsMainApplet.java:354)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.UnknownHostException: PC2010102615aju
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
... 21 more
«Prev
Next »
Moderate user : ajane
Forum