Your conf file in GUI mode is not the same that the conf file using in
text mode. That is the problem I think. Check what file are you using
in each case.

HTH

Pietro

On Dec 14, 1:33 am, Esac mihilovich <[email protected]> wrote:
> this error happended when change sms server to gui
> ----------------------------
> Version: 3.4.3
> JRE Version: 1.6.0_05
> JRE Impl Version: 10.0-b19
> O/S: Windows XP / x86 / 5.1
> SMSServer: set balancer to: RoundRobinLoadBalancer
> SMSServer: set router to: NumberPoolRouter
> SMSServer: Unknown Gateway in configuration file!
> SMSServer: Unknown Gateway in configuration file!
> SMSServer: Unknown Interface in configuration file!
> Initialized.
> SMSServer exiting normally.
> SMSServer shutting down, please wait...
>
> ------------------------------------------
> SMSServer **True** running
>
> Version: 3.4.3
> JRE Version: 1.6.0_05
> JRE Impl Version: 10.0-b19
> O/S: Windows XP / x86 / 5.1
> SMSServer: set balancer to: RoundRobinLoadBalancer
> SMSServer: set router to: NumberPoolRouter
> SMSServer: added gateway modem1 / Default Serial Modem Gateway.
> SMSServer: added gateway Test1 / Default Test Gateway.
> SMSServer: added interface db1 / Default database interface. / INOUTBOUND
>
> -------------------------- Code -------------------
> private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {
>         // TODO add your handling code here:
>         StartSMSServer();
>
> }
>
> public void StartSMSServer()
>         {
>
>                 System.out.println(Library.getLibraryDescription());
>                 System.out.println("\nAPI version: " + 
> Library.getLibraryVersion());
>                 System.out.println("SMSServer version: " + 
> Library.getLibraryVersion());
>
>                 this.srv = new Service();
>                 this.infList = new ArrayList<Interface<? extends Object>>();
>                 Runtime.getRuntime().addShutdownHook(new Shutdown());
>                 this.inboundNotification = new InboundNotification();
>                 this.outboundNotification = new OutboundNotification();
>                 this.callNotification = new CallNotification();
>                 this.queueSendingNotification = new 
> QueueSendingNotification();
>                 this.inboundPollingThread = null;
>                 this.outboundPollingThread = null;
>                 getService().setInboundNotification(this.inboundNotification);
>                 
> getService().setOutboundNotification(this.outboundNotification);
>                 getService().setCallNotification(this.callNotification);
>                 
> getService().setQueueSendingNotification(this.queueSendingNotification);
>
> //              SMS app = new SMS();
> //              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
>                 {
>                         optRunOnce=true;
>                         run();
>                         System.out.println("SMSServer exiting normally.");
>                 }
>                 catch (Exception e)
>                 {
>                         System.out.println("SMSServer Error: ");
>                         try
>                         {
>                                 srv.stopService();
>                         }
>                         catch (Exception e1)
>                         {
>                                 // Swallow this...
>                         }
>                 }
>         }

--

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