Have you turned on Plugin logs set to fine or all and reproduce these timeouts? 
I wonder if you are running short on plugin server threads?

Joe



----- Original Message ----
From: YahooJeff YahooJeff <[EMAIL PROTECTED]>
To: arslist@ARSLIST.ORG
Sent: Wednesday, September 3, 2008 4:54:07 PM
Subject: Java Plug-in Unreliable

The Java Plug-in interface is a neat feature that appears to be unreliable.  I 
wrote a Java ARDBC plug-in (7.1.00 P4) that mostly works. The plug-ins reads 
query on a vendor form, gets data from an external system and returns a 
result.  However it occasionally gives errors in the log. Sometimes these 
errors results in RPC-timeouts that won’t go away without restarting Remedy’s 
Java Plug-in process. Unfortunately I haven’t found a good way to catch these 
“errors” so I can try to work around them when they come up.


One error is
org.acplt.oncrpc.OncRpcAuthenticationException: ONC/RPC authentification error

I've checked that my Java plug-in name, ar.conf and pluginsvr_config.xml files 
all list the name of the plug-in the same way.  This error usually doesn't lock 
the system.


A second is
ERROR [TCP server transport connection thread]
com.bmc.arsys.pluginsvr.c.a (?:?) - Data decryption error encountered
com.bmc.arsys.arencrypt.AREncryptionException:
javax.crypto.BadPaddingException: Given final block not properly padded
..
ERROR [TCP server transport connection thread]
com.bmc.arsys.pluginsvr.a.a (?:?) - Decrypting of the input arguments failed
ERROR (8785): Data decryption error encountered
..

This error usually hangs the plug-in service.

Both errors occur in the same place.
After Initialize() which successfully creates the Plugin and before 
getListEntrywithFields().
com.bmc.arsys.pluginsvr.a.d (?:?) - dispatchCall
com.bmc.arsys.pluginsvr.a.d (?:?) - RPC call is encrypted
com.bmc.arsys.pluginsvr.a.d (?:?) - Procedure No. 7  ( Or Procedure No. 9 )
Next comes one of the errors.

I did try to update Remedy’s older version of Remote Tea’s oncrpc.jar, thinking 
the error may lie there.  However to do this right, I need Remedy’s source code.

Any suggestions?

Thanks,

Jeff




_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to