You don't have to modify the SMSServer sources. There is the "-
Dsmsserver.configdir" parameter if you wish to select a different path
for your configuration file.
More: http://code.google.com/p/smslib/wiki/SMSServer

On Sep 7, 5:11 am, Peogrammer Base <[email protected]> wrote:
> Hi All,
>
> i try to use smsserver and i don't know configuration  file
> SMSServer.conf
> when comiler reach the follow line ,my program shown this:
>
> private void loadConfiguration() throws Exception
>         {
>                 FileInputStream f;
>                 this.props = new Properties();
>  //modify this line "Windows"
>                 f = new FileInputStream("F:\\JAVA\\GSM\\src\\org\
> \smslib\\SMSServer.conf");
>         ==> getProperties().load(f);
>
> "SMSServer Error:
> "SMSServer shutting down, please wait...
>
> -------------------------------------------2---------------
>
> i don't know entern the args and comment some line.
> are true this act.
>
> public static void main(String[] args)
>         {
>                 System.out.println(Library.getLibraryDescription());
>                 System.out.println("\nSMSLib API version: " +
> Library.getLibraryVersion());
>                 System.out.println("SMSServer version: " + 
> Library.getLibraryVersion
> ());
>                 SMSServer app = new SMSServer();
> //              for (int i = 0; i < args.length; i++)
> //              {
> //                      if (args[i].equalsIgnoreCase("-runonce")) 
> app.optRunOnce = true;
> //                      else System.out.println("Invalid argument: " + 
> args[i]);
> //              }
>                 try
>                 {
>                     app.optRunOnce=false;
>                         app.run();
> ......
> ......
> ......
>
> please help to run smsserver
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib for Java User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to