A good debugging advice: enable log4j ... you only need to copy one file 
and you will have a more detailed log with what's happening

On Sunday, July 29, 2012 3:24:05 AM UTC+3, marqo wrote:
>
> i did the same problem, solved by correct the path of SMSServer.conf
> you should check if the configuration file is correctly loaded. 
>
>
> Pada Sabtu, 14 Juli 2012 2:24:53 UTC+7, Fernando Falci menulis:
>>
>> Yes! Modem samples works fine.
>>  
>> Em quinta-feira, 21 de junho de 2012 16h55min41s UTC-3, T.Delenikas 
>> escreveu:
>>>
>>> I think that this is a side effect of some other issue.
>>> Are you sure your modem listens to COM5? Is javacomm installed correctly?
>>>
>>> On Tuesday, June 19, 2012 10:22:36 PM UTC+3, Fernando Falci wrote:
>>>>
>>>> I confess I do not have much experience with java.
>>>> I managed to run the SendMessage, but I can not run the SMSServer.
>>>>
>>>> I am running from IDE (Netbeans).
>>>> SMSServer.conf: http://pastebin.com/KbH8wQ0R
>>>>
>>>> console:
>>>>
>>>> debug:
>>>>> SMSLib: A Java API library for sending and receiving SMS via a GSM 
>>>>> modem or other supported gateways.
>>>>> This software is distributed under the terms of the Apache v2.0 
>>>>> License.
>>>>> Web Site: http://smslib.org
>>>>>
>>>>> SMSLib API version: 3.5.2
>>>>> SMSServer version: 3.5.2
>>>>> log4j:WARN No appenders could be found for logger (smslib).
>>>>> log4j:WARN Please initialize the log4j system properly.
>>>>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfigfor 
>>>>> more info.
>>>>> java.lang.NullPointerException
>>>>>     at 
>>>>> org.smslib.notify.NotifyQueueManager.cancel(NotifyQueueManager.java:66)
>>>>>     at org.smslib.Service.stopService(Service.java:356)
>>>>>     at org.smslib.smsserver.SMSServer$Shutdown.run(SMSServer.java:119)
>>>>> CONSTRUÍDO COM SUCESSO (tempo total: 0 segundos)
>>>>>
>>>>
>>>> I believe it has done everything right (except what was wrong.. lol) 
>>>>
>>>
> Pada Sabtu, 14 Juli 2012 2:24:53 UTC+7, Fernando Falci menulis:
>>
>> Yes! Modem samples works fine.
>>  
>> Em quinta-feira, 21 de junho de 2012 16h55min41s UTC-3, T.Delenikas 
>> escreveu:
>>>
>>> I think that this is a side effect of some other issue.
>>> Are you sure your modem listens to COM5? Is javacomm installed correctly?
>>>
>>> On Tuesday, June 19, 2012 10:22:36 PM UTC+3, Fernando Falci wrote:
>>>>
>>>> I confess I do not have much experience with java.
>>>> I managed to run the SendMessage, but I can not run the SMSServer.
>>>>
>>>> I am running from IDE (Netbeans).
>>>> SMSServer.conf: http://pastebin.com/KbH8wQ0R
>>>>
>>>> console:
>>>>
>>>> debug:
>>>>> SMSLib: A Java API library for sending and receiving SMS via a GSM 
>>>>> modem or other supported gateways.
>>>>> This software is distributed under the terms of the Apache v2.0 
>>>>> License.
>>>>> Web Site: http://smslib.org
>>>>>
>>>>> SMSLib API version: 3.5.2
>>>>> SMSServer version: 3.5.2
>>>>> log4j:WARN No appenders could be found for logger (smslib).
>>>>> log4j:WARN Please initialize the log4j system properly.
>>>>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfigfor 
>>>>> more info.
>>>>> java.lang.NullPointerException
>>>>>     at 
>>>>> org.smslib.notify.NotifyQueueManager.cancel(NotifyQueueManager.java:66)
>>>>>     at org.smslib.Service.stopService(Service.java:356)
>>>>>     at org.smslib.smsserver.SMSServer$Shutdown.run(SMSServer.java:119)
>>>>> CONSTRUÍDO COM SUCESSO (tempo total: 0 segundos)
>>>>>
>>>>
>>>> I believe it has done everything right (except what was wrong.. lol) 
>>>>
>>>
> Pada Sabtu, 14 Juli 2012 2:24:53 UTC+7, Fernando Falci menulis:
>>
>> Yes! Modem samples works fine.
>>  
>> Em quinta-feira, 21 de junho de 2012 16h55min41s UTC-3, T.Delenikas 
>> escreveu:
>>>
>>> I think that this is a side effect of some other issue.
>>> Are you sure your modem listens to COM5? Is javacomm installed correctly?
>>>
>>> On Tuesday, June 19, 2012 10:22:36 PM UTC+3, Fernando Falci wrote:
>>>>
>>>> I confess I do not have much experience with java.
>>>> I managed to run the SendMessage, but I can not run the SMSServer.
>>>>
>>>> I am running from IDE (Netbeans).
>>>> SMSServer.conf: http://pastebin.com/KbH8wQ0R
>>>>
>>>> console:
>>>>
>>>> debug:
>>>>> SMSLib: A Java API library for sending and receiving SMS via a GSM 
>>>>> modem or other supported gateways.
>>>>> This software is distributed under the terms of the Apache v2.0 
>>>>> License.
>>>>> Web Site: http://smslib.org
>>>>>
>>>>> SMSLib API version: 3.5.2
>>>>> SMSServer version: 3.5.2
>>>>> log4j:WARN No appenders could be found for logger (smslib).
>>>>> log4j:WARN Please initialize the log4j system properly.
>>>>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfigfor 
>>>>> more info.
>>>>> java.lang.NullPointerException
>>>>>     at 
>>>>> org.smslib.notify.NotifyQueueManager.cancel(NotifyQueueManager.java:66)
>>>>>     at org.smslib.Service.stopService(Service.java:356)
>>>>>     at org.smslib.smsserver.SMSServer$Shutdown.run(SMSServer.java:119)
>>>>> CONSTRUÍDO COM SUCESSO (tempo total: 0 segundos)
>>>>>
>>>>
>>>> I believe it has done everything right (except what was wrong.. lol) 
>>>>
>>>
> Pada Sabtu, 14 Juli 2012 2:24:53 UTC+7, Fernando Falci menulis:
>>
>> Yes! Modem samples works fine.
>>  
>> Em quinta-feira, 21 de junho de 2012 16h55min41s UTC-3, T.Delenikas 
>> escreveu:
>>>
>>> I think that this is a side effect of some other issue.
>>> Are you sure your modem listens to COM5? Is javacomm installed correctly?
>>>
>>> On Tuesday, June 19, 2012 10:22:36 PM UTC+3, Fernando Falci wrote:
>>>>
>>>> I confess I do not have much experience with java.
>>>> I managed to run the SendMessage, but I can not run the SMSServer.
>>>>
>>>> I am running from IDE (Netbeans).
>>>> SMSServer.conf: http://pastebin.com/KbH8wQ0R
>>>>
>>>> console:
>>>>
>>>> debug:
>>>>> SMSLib: A Java API library for sending and receiving SMS via a GSM 
>>>>> modem or other supported gateways.
>>>>> This software is distributed under the terms of the Apache v2.0 
>>>>> License.
>>>>> Web Site: http://smslib.org
>>>>>
>>>>> SMSLib API version: 3.5.2
>>>>> SMSServer version: 3.5.2
>>>>> log4j:WARN No appenders could be found for logger (smslib).
>>>>> log4j:WARN Please initialize the log4j system properly.
>>>>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfigfor 
>>>>> more info.
>>>>> java.lang.NullPointerException
>>>>>     at 
>>>>> org.smslib.notify.NotifyQueueManager.cancel(NotifyQueueManager.java:66)
>>>>>     at org.smslib.Service.stopService(Service.java:356)
>>>>>     at org.smslib.smsserver.SMSServer$Shutdown.run(SMSServer.java:119)
>>>>> CONSTRUÍDO COM SUCESSO (tempo total: 0 segundos)
>>>>>
>>>>
>>>> I believe it has done everything right (except what was wrong.. lol) 
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/smslib/-/vqHzMpmR15sJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to