LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-22-2015, 03:16 PM   #1
hemo
LQ Newbie
 
Registered: Mar 2015
Posts: 13

Rep: Reputation: Disabled
I can not run the VanetMobiSim


Hi guys

when I want run VanetMobiSim for given trace files in Linux Terminal was facing ERROR follwing.

Error loading model from vanetsim.xml
java.io.FileNotFoundException: vanetsim.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:146)
at java.io.FileInputStream.(FileInputStream.java:101)
at Runner.loadModel(Unknown Source)
at Runner.(Unknown Source) at Runner.main(Unknown Source)
Can you help me for solving this problme?
Thanks
 
Old 05-24-2015, 12:27 AM   #2
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Rep: Reputation: Disabled
Keep in mind I know absolutely nothing about Java code...

I see the following in the error output:

Quote:
Originally Posted by hemo View Post
java.io.FileNotFoundException: vanetsim.xml (No such file or directory)
This implies to me that Java could not find the file "vanetsim.xml". Does the "vanetsim.xml" file exist somewhere, in some folder, on the system? If so, are you referencing its exact location in your Java code?
 
Old 06-13-2015, 04:58 PM   #3
hemo
LQ Newbie
 
Registered: Mar 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
I've installed the software VanetMobiSim and its output as follows:

Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
Usage: Runner modelSource.xml

But when I want see the output of program (for example vanetsim.xml) to use NS2 I faced with the following error:

Error loading model from vanetsim.xml
java.io.FileNotFoundException: vanetsim.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at java.io.FileInputStream.<init>(FileInputStream.java:101)
at Runner.loadModel(Unknown Source)
at Runner.<init>(Unknown Source)
at Runner.main(Unknown Source)

Please help me to solve this problem
Thanks
 
  


Reply

Tags
java, java7-ubuntu, ns2, ns2 ns-allinone, vanetmobisim



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error when run vanetmobisim hemo Linux - Networking 4 06-13-2015 04:58 PM
ERROR vanetmobisim hemo Linux - Networking 1 05-21-2015 04:59 PM
NS2: VanetMobiSim installation Help vishalpolara Linux - Software 5 05-22-2013 01:37 AM
vanetmobisim on ubuntu 11.04 farfattou Linux - Software 9 02-27-2013 08:58 AM
VanetMobiSim/ ns2 khedidja Linux - Networking 5 12-28-2012 07:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration