Hey Thanasis,
Sorry for the late reply but see .. am still getting the same error,
when am using the java -Dsmsserver syntax it is not setting the path
it is showing
some errors ...please help me out sir
D:\smslib-v3.3.0-bin>java -Dsmsserver.configfile=/org/smslib/smsserver/
SMSServer
.conf org.smslib.smsserver.SMSServer
Exception in thread "main" java.lang.NoClassDefFoundError: org/smslib/
smsserver/
SMSServer
Caused by: java.lang.ClassNotFoundException:
org.smslib.smsserver.SMSServer
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
319)
On Sep 25, 3:59 pm, Thanasis <[EMAIL PROTECTED]> wrote:
> It's not a matter of what I recommend. Java Service Wrapper is a
> mature product and should work ok. Sheirkoo's description is pretty
> detailed.
>
> The problem you are facing is with the configuration file.
> Whether you use the wrapper or not, the modem(s) should be attached
> and a valid config file should be provided to SMSServer.
>
> On Sep 25, 12:29 pm, "bvs sj" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Thanks for The reply Thanasis,
>
> > Do u recommend the usage of wrapper classes??
> > Do i need to connect Modem /phone before the server starts and
> > configured??
> > please kindly guide me the proccess...
>
> > John
>
> > On 25/09/2008, Thanasis <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > I have not worked with the Service wrapper. The only error message
> > > that makes sense from your stack dump is this:
>
> > > Cannot find SMSServer configuration file!
>
> > > The problem is that the configuration file is not found. Use the "-
> > > Dsmsserver.configdir" configuration parameter to point to where the
> > > SMSServer.conf resides.
>
> > > On Sep 25, 5:02 am, John <[EMAIL PROTECTED]> wrote:
> > > > Hello Thanasis,
>
> > > > Am new to SMSLib(but not to Java and J2ME)
> > > > Installed SMSLib relevant files accordingly,
> > > > got wrapper classes and used them as said by sheirkoo(Thanks dude)
> > > > but when am trying to start SMSLib Batch file the system is throwing
> > > > following Exceptions in the log.
>
> > > > WrapperManager: Initializing...
> > > > INFO | jvm 1 | 2008/09/25 07:04:14 | 0 [WrapperSimpleAppMain]
> > > > ERROR org.smslib - SMSServer Error:
> > > > INFO | jvm 1 | 2008/09/25 07:04:14 | org.smslib.SMSLibException:
> > > > Cannot find SMSServer configuration file!
> > > > INFO | jvm 1 | 2008/09/25 07:04:14 | at
> > > > org.smslib.smsserver.SMSServer.loadConfiguration(SMSServer.java:132)
> > > > INFO | jvm 1 | 2008/09/25 07:04:14 | at
> > > > org.smslib.smsserver.SMSServer.run(SMSServer.java:314)
> > > > INFO | jvm 1 | 2008/09/25 07:04:14 | at
> > > > org.smslib.smsserver.SMSServer.main(SMSServer.java:473)
> > > > INFO | jvm 1 | 2008/09/25 07:04:14 | at
> > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > INFO | jvm 1 | 2008/09/25 07:04:14 | at
>
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > > > 39)
> > > > INFO | jvm 1 | 2008/09/25 07:04:14 | at
>
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> > > l.java:
> > > > 25)
> > > > INFO | jvm 1 | 2008/09/25 07:04:14 | at
> > > > java.lang.reflect.Method.invoke(Method.java:597)
> > > > INFO | jvm 1 | 2008/09/25 07:04:14 | at
> > > > org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:
> > > > 236)
> > > > INFO | jvm 1 | 2008/09/25 07:04:14 | at
> > > > java.lang.Thread.run(Thread.java:619)
> > > > STATUS | wrapper | 2008/09/25 07:04:16 | <-- Wrapper Stopped
>
> > > > Could please anwser my Queries?
>
> > > > -->does the Modem or phone should be connected to PC before Starting
> > > > the SMSServer?
> > > > -->why SMSServer is not starting?
>
> > > > Am new to SMSLib (Hope u dont regret my post even it is silly )..hope
> > > > the Group helps me in this
> > > > as my application deadline is ahead and am still unable to satrt
> > > > SMSServer..:-(
>
> > > > John- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SMSLib Users" 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
-~----------~----~----~----~------~----~------~--~---