Hi,

1) Yes, there is a warning about a deprecated library method call. Forget
about this for now.
2) I guess that your error comes from the "priority" field. The table has
changed and its now an integer field (not a char field).

Have a look at the database interface documentation:
http://smslib.org/doc/smsserver/interfaces/db/

and be sure that you keep your tables in sync.



2008/11/21 nchin <[EMAIL PROTECTED]>

>
> I encounter two problems with SMS Server v3.3.1.
>
> 1) During compilation, there is a warning reported by NetBeans IDE
> 2) Unable to send sms. The status field shows "U" on the outbound
> table. The error message is shown below.
>
> Error message during compilation
> =========================
> C:\Data\Apps\SMSLib_331\src\java\org\smslib\modem\athandler
> \ATHandler_Wavecom_WISMOQCDMA.java:33: warning:
> sun.io.ByteToCharConverter is Sun proprietary API and may be removed
> in a future release
> import sun.io.ByteToCharConverter;
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 1 warning
>
>
> Here is the error message reported by Sms Server: -
> =====================================
> ...
> ...
> 9500 [SMSServer - OutboundPollingThread] DEBUG org.smslib  - Error in
> OutboundPo
> llingThread()
> java.sql.SQLException: Invalid value for getInt() - 'N'
>        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:
> 1055)
>        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:
> 956)
>        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:
> 926)
>        at com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:
> 2646)
>        at com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:
> 2734)
>        at org.smslib.smsserver.interfaces.Database.getMessagesToSend
> (Database.j
> ava:225)
>        at org.smslib.smsserver.SMSServer.sendMessages(SMSServer.java:
> 368)
>        at org.smslib.smsserver.SMSServer$OutboundPollingThread.run
> (SMSServer.ja
> va:276)
> 15391 [SMSLib-WatchDog] INFO org.smslib  - WatchDog running...
> >
>

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

Reply via email to