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
-~----------~----~----~----~------~----~------~--~---