File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Java Micro Edition
an exception during sms sending
Joined: Sep 26, 2008
Sep 30, 2009 12:55:24
Hi, I was reading an article pointed by Ulf Dittmer at
, and I get continuously this exception:
[java] Exception in thread "Thread-1" ie.omk.smpp.util.PropertyNotFoundException [java] at ie.omk.smpp.util.APIConfig.getProperty(Unknown Source) [java] at ie.omk.smpp.util.APIConfig.getLong(Unknown Source) [java] at ie.omk.smpp.util.APIConfig.getLong(Unknown Source) [java] at ie.omk.smpp.Connection.sendRequestInternal(Unknown Source) [java] at ie.omk.smpp.Connection.bind(Unknown Source) [java] at ie.omk.smpp.Connection.bind(Unknown Source) [java] at net.nighttale.smsdemo.SMSDemo.connect(SMSDemo.java:42) [java] at net.nighttale.smsdemo.SMSDemo.run(SMSDemo.java:56) [java] Unbinding
file IS on the classpath, with a content of:
# # Example properties file for the smppapi # smppapi.net.tcp.so_timeout = 300000 # # Specify an 'in' buffer size of 6 kilobytes. # #smppapi.net.buffersize_in = 6k # # Specify an 'out' buffer size of 8192 bytes (8 kilobytes) # #smppapi.net.buffersize_out = 8192 # # Flush the network link after every packet written out. # smppapi.net.autoflush = true # # Allow 3 i/o exceptions in the receiver thread before it gives up the ghost! # smppapi.connection.rcv_daemon.ioex_count = 3 # # Specify the event dispatcher to use in the API. # #smppapi.event.dispatcher = ie.omk.smpp.event.ThreadedEventDispatcher #smppapi.event.threaded_dispatcher.pool_size = 30 #smppapi.event.threaded_dispatcher.queue_size = 90
So, everything is default just as in an example stay.
So what is the problem, I cannot figure out ?
I agree. Here's the link:
subject: an exception during sms sending
Extracting the contents of the String
Exception doesn't tell me where it occurs
How to read the complete contents of a file in a String?!
error on TreeMap
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014