A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
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 ?
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: an exception during sms sending
How to read the complete contents of a file in a String?!
Exception doesn't tell me where it occurs
error on TreeMap
Extracting the contents of the String
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015