This discussion is archived
1 Reply Latest reply: Mar 13, 2008 3:35 AM by 445913 RSS

Unable to receive inbound messages for SMPP driver

626024 Newbie
Currently Being Moderated
hi all,

I am running the sample apps (sdpmessagingsample-echo.ear )provided by SDP messaging enabler for SMPP driver.

The app registers an access point, receives SMS messages on that address and then echos the message back to sender(simulator). I am using Logica SMC simulator as SMSc to send/receive SMS messages

With the echo app, I am able to register a access point, but when I send a message from the simulator it throws the following exceptions and never invokes ClientReceiverBean.onMessage() method, which listens for the messages.

Exceptions:

<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-02-28T11:58:46.234-08:00</TSTZ_ORIGINATING>
<COMPONENT_ID>sdp</COMPONENT_ID>
<MSG_ID>SDP-25700</MSG_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>hbhimava-LAP</HOST_ID>
<HOST_NWADDR>141.144.35.33</HOST_NWADDR>
<MODULE_ID>messaging.driver.smpp</MODULE_ID>
<THREAD_ID>11</THREAD_ID>
<USER_ID>hbhimava</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>141.144.35.33:79397:1204227642843:1</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>An unexpected exception was caught.</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[java.io.EOFException
     at java.io.DataInputStream.readShort(DataInputStream.java:287)
     at oracle.sdpinternal.messaging.driver.smpp.SMPPDriver.parseCommand(SMPPDriver.java:1396)
     at oracle.sdpinternal.messaging.driver.smpp.SMPPDriver.receive(SMPPDriver.java:1690)
     at oracle.sdpinternal.messaging.driver.smpp.SMPPDriver.receive(SMPPDriver.java:2747)
     at oracle.sdpinternal.messaging.driver.smpp.SMPPResourceAdapter$Worker.run(SMPPResourceAdapter.java:462)
     at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
     at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
     at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
     at java.lang.Thread.run(Thread.java:595)
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-02-28T11:58:46.234-08:00</TSTZ_ORIGINATING>
<COMPONENT_ID>sdp</COMPONENT_ID>
<MSG_TYPE TYPE="NOTIFICATION"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>hbhimava-LAP</HOST_ID>
<HOST_NWADDR>141.144.35.33</HOST_NWADDR>
<MODULE_ID>messaging.driver.smpp</MODULE_ID>
<THREAD_ID>11</THREAD_ID>
<USER_ID>hbhimava</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>141.144.35.33:79397:1204227642843:1</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>SMPP-Driverreceived text message (len: 8, enc: IA5, from: null, to: pavel): |hello hi|</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-02-28T11:58:46.250-08:00</TSTZ_ORIGINATING>
<COMPONENT_ID>sdp</COMPONENT_ID>
<MSG_ID>SDP-25700</MSG_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>hbhimava-LAP</HOST_ID>
<HOST_NWADDR>141.144.35.33</HOST_NWADDR>
<MODULE_ID>messaging.driver.smpp</MODULE_ID>
<THREAD_ID>11</THREAD_ID>
<USER_ID>hbhimava</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>141.144.35.33:79397:1204227642843:1</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>An unexpected exception was caught.</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[java.lang.IllegalArgumentException: Address cannot be null
     at oracle.sdp.messaging.AddressFactory.buildAddress(AddressFactory.java:201)
     at oracle.sdpinternal.messaging.driver.smpp.SMPPDriver.onMessage(SMPPDriver.java:354)
     at oracle.sdpinternal.messaging.driver.smpp.SMPPDriver.parseCommand(SMPPDriver.java:1582)
     at oracle.sdpinternal.messaging.driver.smpp.SMPPDriver.receive(SMPPDriver.java:1690)
     at oracle.sdpinternal.messaging.driver.smpp.SMPPDriver.receive(SMPPDriver.java:2747)
     at oracle.sdpinternal.messaging.driver.smpp.SMPPResourceAdapter$Worker.run(SMPPResourceAdapter.java:462)
     at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
     at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
     at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
     at java.lang.Thread.run(Thread.java:595)
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>

Please guide me
Thanks,
Hema

Message was edited by:
Hema