Author |
Message
|
kishoreraju |
Posted: Mon Mar 27, 2006 1:28 am Post subject: Problem with customnodes on AIX. |
|
|
Disciple
Joined: 30 Sep 2004 Posts: 156
|
Hi All,
I am facing some problems when i am deploying custom nodes on AIX broker(it working on windows with version 5 same version on AIX).
The below is the setup that i have on AIX broker.
1.i kept jarfile related to my custom node in jplugin directory.
2.all the other classes used used by the above jar is kept under /mqsi/classes
after restarting the broker, when i tried to deploy the flow it is giving an Error saying " LIL not found"
after this i set lil path by using mqsichangeborker with -l option.
still it is not working. i don't know why it is giving error like this. |
|
Back to top |
|
 |
JT |
Posted: Mon Mar 27, 2006 6:08 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
From what I've seen, the most common cause of the infamous "LIL not found" error was best explained by chenulu in this post: http://www.mqseries.net/phpBB2/viewtopic.php?t=19059
chenulu wrote: |
You need to have the jar files in the jplugin directory and any dependent jar files that your plugin needs should be referenced via the CLASSPATH environment variable. The EG on startup reads the jar files in jplugin directory and tries to load each class from the jar file and the
parent class that is being loaded fails becuase of the missing dependent class which is not in the jar files from the jplugin directory or the jar files from CLASSPATH. |
|
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Mar 27, 2006 6:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The other main cause of "LIL not found" errors is issues with the JAR file itself. Particularly with v5, make sure you build the jar file from the command line rather than from the Toolkit. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wbibrk |
Posted: Mon Mar 27, 2006 10:10 am Post subject: |
|
|
Apprentice
Joined: 09 Jul 2005 Posts: 46
|
Hi,
As Jeff mentioned, LIL not found error is generated because of the plugin fails to load so the broker can not find the JAR / LIL files. On windows, the application event log shows any java exceptionst that are thrown when the class is being loaded. I have not seen this on UNIXes. You can however see if there are any java exceptions by setting the following environment variables:
export MQSIJVERBOSE=-verbose:class,gc
export MQSI_RUN_ATTACHED=1
This will show you any exceptions that are being thrown by your UDN. |
|
Back to top |
|
 |
kishoreraju |
Posted: Tue Mar 28, 2006 4:25 am Post subject: |
|
|
Disciple
Joined: 30 Sep 2004 Posts: 156
|
Thanks for your reply.
It is the problem with jar file. jar file is not loaded properly when i uploaded to XIA mechine |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Mar 28, 2006 6:07 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
did you ftp the jar file to the AIX machine, and use 'text' mode? That will managle the jar.
Make sure you FTP using binary mode.
Or use something other than FTP to transfer the file. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|