That didnt help :(

On Tue, Sep 29, 2009 at 3:38 PM, István Kiss <[email protected]> wrote:

>
> Hi,
>
> a small linux magic may do the trick: try to make a simlink to that device
>
> #> ln -s /dev/USB0 /pathtoyoursimlink/whateveryouwanttonameit
>
> and try to configure smslib with the symlink. The symlink will exist
> when the device is disconnected, but in that case it will point to a
> not existing file, so this workaround may work, or not, take a try!
>
> István
>
>
>
> On Tue, Sep 29, 2009 at 11:57, Hemanth kumar <[email protected]>
> wrote:
> > Hi
> >
> >                  Thanks for the prompt reply.When the modem is connected
> it
> > gets detected in the port /dev/ttyUSB0.But when it is disconnected there
> is
> > no file as /dev/ttyUSB0,so smslib searches for the file and ultimately
> kills
> > the jvm.I dont want smslib to get killed.The thread must not be killed
> until
> > it is asked for.
> >
> > Regards,
> > Hemanth
> >
> > On Tue, Sep 29, 2009 at 3:23 PM, István Kiss <[email protected]>
> wrote:
> >>
> >> Hi, try to list the devices:
> >>
> >> #> ls /dev
> >>
> >> There will be many files and directories under /dev
> >> You have to find out wich device is your modem connected at, it looks
> >> like it is not the /dev/ttyUSB0 what your config says.
> >>
> >> István
> >>
> >>
> >>
> >> On Tue, Sep 29, 2009 at 11:18, Hemanth kumar <[email protected]>
> >> wrote:
> >> > Hi All,
> >> >
> >> >                       Smsserver crashes when the Modem is
> >> > disconnected.Since
> >> > the exception is from the native, the jvm crashes without any
> >> > stacktrace.Here is the last output found out:
> >> >
> >> >
> >> >                       /dev/ttyUSB0: No such file or directory
> >> >
> >> >
> >> >                        Please help to resolve this problem.FYI iam
> using
> >> > librxtxSerial.so file in java library path.
> >> >
> >> > Regards,
> >> > Hemanth.
> >> >
> >> > >
> >> >
> >>
> >>
> >
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to