Hi Thanasis !, Thank you for your answer. wrapper is started from bat file with wrapper.conf as a parameter. *************** rem rem Start the Wrapper rem :startup "%_WRAPPER_EXE%" -c %_WRAPPER_CONF% if not errorlevel 1 goto :eof pause *************** In wrapper.conf there is path on SMSServer.conf and other classpath.
does anybody start a SMSServer as a service ? On 2 ноя, 19:22, Thanasis <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
