Good day experts!
i am trying to lunch the smsserver on a netbeans platform, but after using
this statement (System.setProperty("smsserver.configfile",
"/opt/smsserver/SMSServer.conf");) to call the smsserver, this error was
printed to the console:
java.io.FileNotFoundException: \opt\smsserver\SMSServer.conf (The system
cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at org.smslib.smsserver.SMSServer.loadConfiguration(SMSServer.java:147)
at org.smslib.smsserver.SMSServer.run(SMSServer.java:338)
at org.smslib.smsserver.SMSServer.main(SMSServer.java:578)
please can some one tell me *where to place* this statement (*
java-Dlog4j.configuration=file:/opt/smsserver/log4j.properties-Dsmsserver.configfile=/opt/smsserver/SMSServer.conf*-jar/opt/smsserver/smsserver-3.5.2
*) that re-directs the smssrever to where its cof file is.
thanks in advance....
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msg/smslib/-/Zsn_RJ4fIoUJ.
For more options, visit https://groups.google.com/groups/opt_out.