Have you tried the ReadMessages example? Does it work? I see some
timeouts in your log.

Its better to try the ReadMessages (much simpler) and see if your
modem works.

On Sep 18, 10:24 am, Raj <[EMAIL PROTECTED]> wrote:
> I added .so files to the library path. and the above problem is solved
> now.
>
> i have a new error now. SMSServer Start and stops after some time
>
> 30058 [Thread-1] INFO org.smslib  - WatchDog running...
> 45062 [Thread-1] INFO org.smslib  - WatchDog running...
> 49187 [Thread-2] DEBUG org.smslib  - GTW: myModem: Buffer contents on
> timeout:
> 49188 [Thread-2] DEBUG org.smslib  - GTW: myModem: Trying to shutdown
> keepAlive thread...
> 49188 [Thread-2] DEBUG org.smslib  - GTW: myModem: Trying to shutdown
> asyncNotifier thread...
> 49188 [Thread-2] DEBUG org.smslib  - GTW: myModem: Trying to shutdown
> asyncMessageProcessor thread...
> 49188 [Thread-2] DEBUG org.smslib  - GTW: myModem: Trying to shutdown
> modemReader thread...
> 49188 [Thread-6] DEBUG org.smslib  - GTW: myModem: ModemDriver:
> KeepAlive thread ended.
> 49188 [Thread-8] DEBUG org.smslib  - GTW: myModem: AsyncNotifier
> thread ended.
> 49189 [Thread-9] DEBUG org.smslib  - GTW: myModem:
> AsyncMessageProcessor thread ended.
> 49189 [Thread-7] DEBUG org.smslib  - GTW: myModem: ModemReader thread
> ended.
> 49189 [Thread-5] DEBUG org.smslib  - GTW: myModem: ThreadReader
> stopped.
> 49189 [Thread-2] INFO org.smslib  - GTW: myModem: Closing: /dev/ttyS8
> @230400
> 49268 [main] INFO org.smslib  - SMSServer: Interface HTTP stopped.
> 49268 [Thread-1] DEBUG org.smslib  - WatchDog stopped.
> 49268 [main] INFO org.smslib  - GTW: myModem: Stopping gateway...
> 49268 [main] INFO org.smslib  - GTW: myModem: Closing: /dev/ttyS8
> @230400
> 49268 [main] INFO org.smslib  - GTW: myModem: Gateway stopped.
> 49269 [main] INFO org.smslib  - SMSServer exiting normally.
> 50095 [Thread-0] INFO org.smslib  - SMSServer shutting down, please
> wait...
> 50095 [Thread-0] INFO org.smslib  - SMSServer: Interface HTTP stopped.
> 50096 [Thread-0] INFO org.smslib  - GTW: myModem: Stopping gateway...
> 50096 [Thread-0] INFO org.smslib  - GTW: myModem: Closing: /dev/ttyS8
> @230400
> 50096 [Thread-0] INFO org.smslib  - GTW: myModem: Gateway stopped.
>
> On Sep 18, 11:50 am, Raj <[EMAIL PROTECTED]> wrote:
>
>
>
> > hi. i get the following error while running SMSserver under Linux.
>
> > Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: no
> > LinuxSerialParallel in java.library.path
> > Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError:
> > com.sun.comm.Unix.isDevLink(Ljava/lang/String;)Z
> >         at com.sun.comm.Unix.isDevLink(Native Method)
> >         at com.sun.comm.PathBundle.add(PathBundle.java:108)
> >         at
> > com.sun.comm.PlatformPortBundle.<init>(PlatformPortBundle.java:44)
> >         at
> > javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:138)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:169)
> >         at
> > org.smslib.helper.CommPortIdentifier.<clinit>(CommPortIdentifier.java:
> > 65)
> >         at
> > org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java:
> > 68)
> >         at org.smslib.modem.AModemDriver.connect(AModemDriver.java:
> > 105)
> >         at
> > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:108)
> >         at org.smslib.Service$1Starter.run(Service.java:226)
>
> > Thanks
> > Raj- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to