Your service seems to have a problem locating the configuration file. Have you used the -Dsmsserver.configdir directive?
2009/11/2 Andrey <[email protected]> > > I want to start SMSServer as a windows service. > I read and executed all instructions. > ( SMSSvr as a windows service by using Java Service Wrapper ) > File SMSServer.conf located in a directory "...\org\smslib\smsserver" > When start SMSLib.bat file I got a next error > System error 1067. > > Launching a JVM... > wrapper.log > WrapperManager: Initializing... > SMSLib: A Java API library for sending and receiving SMS via a GSM > modem or other supported gateways. > This software is distributed under the terms of the Apache v2.0 > License. > Web Site: http://smslib.org > SMSLib API version: 3.4.3 > SMSServer version: 3.4.3 > ERROR [WrapperSimpleAppMain] smslib logError- SMSServer Error: > SMSServer.conf ( can not find file) > INFO at java.io.FileInputStream.open(Native Method) > INFO at java.io.FileInputStream.<init>(FileInputStream.java:106) > INFO at java.io.FileInputStream.<init>(FileInputStream.java:66) > INFO at org.smslib.smsserver.SMSServer.loadConfiguration > (SMSServer.java:137) > INFO at org.smslib.smsserver.SMSServer.run(SMSServer.java:322) > INFO at org.smslib.smsserver.SMSServer.main(SMSServer.java:492) > INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > INFO at sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:39) > INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) > INFO at java.lang.reflect.Method.invoke(Method.java:597) > INFO at org.tanukisoftware.wrapper.WrapperSimpleApp.run > (WrapperSimpleApp.java:244) > INFO at java.lang.Thread.run(Thread.java:619) > STATUS | wrapper | 2009/11/02 14:44:37 | <-- Wrapper Stopped > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
