Ok, if I remove httpserver interface completely, I get the error. I unjared the jar and Http.class exists under the interfaces directory.
On Mar 6, 7:59 pm, JoeG <[email protected]> wrote: > I checked and didn't have a space there. I took out the space after > the , in the interface line for both interfaces. I tried to put a > space after the httpServer and nothing changed. There the error > output > > INFO: SMSServer: set balancer to: RoundRobinLoadBalancer > Mar 6, 2010 7:47:16 PM org.smslib.helper.Logger logInfo > INFO: SMSServer: added gateway modem1 / Default Serial Modem Gateway. > Mar 6, 2010 7:47:16 PM org.smslib.helper.Logger logError > SEVERE: SMSServer: Unknown Interface in configuration file! > Mar 6, 2010 7:47:16 PM org.smslib.helper.Logger logInfo > INFO: SMSServer: added interface httpServer / Default HTTP Server > interface. / INOUTBOUND > Mar 6, 2010 7:47:16 PM org.smslib.helper.Logger logInfo > INFO: SMSServer: interface: org.smslib.smsserver.interfaces.HttpServer > started. > Mar 6, 2010 7:47:16 PM org.smslib.helper.Logger logInfo > INFO: GTW: modem1: Starting gateway, using MultiTech (Generic) AT > Handler. > Mar 6, 2010 7:47:16 PM org.smslib.helper.Logger logInfo > INFO: GTW: modem1: Opening: COM3 @115200 > Mar 6, 2010 7:47:16 PM sun.reflect.NativeMethodAccessorImpl invoke0 > INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) > via org.mortbay.log.Slf4jLog > Mar 6, 2010 7:47:16 PM sun.reflect.NativeMethodAccessorImpl invoke0 > INFO: jetty-6.1.12.rc2 > Mar 6, 2010 7:47:16 PM sun.reflect.NativeMethodAccessorImpl invoke0 > INFO: Started [email protected]:8080 > Mar 6, 2010 7:47:24 PM org.smslib.helper.Logger logInfo > INFO: GTW: modem1: GSM: Registered to home network. > > I rechecked my build and the http.java was built into a http.class and > all of the dates line up. > > I'm on a Windows box...Always use Notepad to edit the config file. > > I changed the config to interface.1=http and interface.2=httpserver > - seemed to skip both interfaces - no errors but no added > interface... > > On Mar 6, 1:52 pm, Thanasis <[email protected]> wrote: > > > Well... this got me mad ! > > > I think I've found something - I can get almost the same errors as > > you, if I put extra spaces at the end of the configuration lines. > > I.e instead of > > > interface.1=httpServer, HttpServer<no-space-here> > > > to write > > > interface.1=httpServer, HttpServer<space-here!!!> > > > With those spaces, everything breaks up. > > Can you confirm? -- You received this message because you are subscribed to the Google Groups "SMSLib 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.
