There is obviously something wrong in your code that manages the properties' file and how it passes the arguments to the constructor.
2008/11/3 patil <[EMAIL PROTECTED]> > > Hi > I tried to send messages using this SendMessage.java , it worked fine > but > I'm getting the exception when i tried to set the parameters/argument > of "SerialModemGateway()" from the properties file(I set a property > file to avoid hardcoding of the modem details i.e com, baudrate, modem > etc..), > i.e if i pass the parameters in the SendMessage.java i.e hard coding > not taking from property file then code executes without error/ > exception > > The following exception: > exception :org.smslib.GatewayException: Comm library exception: > java.lang.reflect.InvocationTargetException > > Following is the log file > exception :org.smslib.GatewayException: Comm library exception: > java.lang.reflec > t.InvocationTargetException > 0 [Thread-1] WARN org.smslib - WatchDog: Gateway: modem.com1 > restarting. > 31 [Thread-1] ERROR org.smslib - WatchDog: error while starting > Gateway: modem. > com1 > org.smslib.GatewayException: Comm library exception: > java.lang.reflect.Invocatio > nTargetException > at > org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java > :93) > at org.smslib.modem.AModemDriver.connect(AModemDriver.java: > 105) > at > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:108) > at org.smslib.Service$WatchDog.run(Service.java:1179) > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib Users 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 -~----------~----~----~----~------~----~------~--~---
