[Mmslib-devel] JMmsLib Unnkown Exeption
Status: Alpha
Brought to you by:
koobla
|
From: Leonardo A. <lad...@al...> - 2009-11-02 06:50:04
|
Hi,
I'm currently trying to send an mms using the JmmsLib but I get the following error when I try to send the mms using the same IP Address I have configured and working on my mobile to send mms (200.35.64.73)
java.net.UnknownHostException: "200.35.64.73"
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
at java.net.InetAddress.getAddressFromNameService(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getByName(Unknown Source)
at net.sourceforge.jwap.WAPClient.<init>(Unknown Source)
at net.sourceforge.jmmslib.sendmms.SendMms.sendMMS(SendMms.java:215)
at net.sourceforge.jmmslib.sendmms.SendMms.main(SendMms.java:434)
214 private void sendMMS(String wapGatewayHost, int wapGatewayPort, String servlet) throws IllegalStateException, IOException, MmsDecoderException, MmsMessageException {
215 WAPClient wapClient = new WAPClient(wapGatewayHost, wapGatewayPort); //THIS LINE
216 PostRequest request = new PostRequest(servlet);
My current settings on the file sendmms.properties are:
APN: mms.movistar.ve
Login: <vacío>
Pass: <vacío>
#IP address of the wap gateway
waphost="200.35.64.73"
#Port number of the wap gateway
wapport=9001
#Servlet through which send the mms
mmsservlet=http://mms.movistar.com.ve:8088/mms
#Define the sender
sender=
When I execute the SendMms.class with the arguments "+584241781303 -t example_text" I get the error described above.
Any thougts? I would really aprreciate if you can provide me some help on this.
Regards,
Leonardo |