I heard there are 2 possibilities.
1st: try other version of the library (i'll test now)
2nd: write your own classloader
I believe the 1st possibility isn't going to work, but I'll try. So, my question:
??? HOW TO WRITE YOUR OWN CLASSLOADER FOR JBOSS ???
or If anybody knows how to send a file over SFTP in BPEL
Anybody tried ?
Igor JStarter wrote:
Make a shared lib ? How ?
Try placing it in JBOSS_HOME/server/<servername>/lib folder.
No change if I copy the jar to /server/default/lib/.
If I don't have the jar in the jboss/bin, i always get:
If I have the jar in the jboss/bin and don't load the jar into the axis2 archive when making it:
If I have the jar in the jboss/bin and load it when making axis2 archive:
native library already loaded...
And there are no changes... no matter where I copy the library
If I understand this right...
Because I have chilkat in jboss/bin, it probably loaded by the classloader...
And because I loaded chilkat into the axis2 archive, it will load this library too -> error: already loaded...
I have to tell axis2 that he should use the SHARE lib, which is /server/default/lib ?? And not take his attached library ...
Is this right ?
What is more... I read about changing <attribute name="UseJBossWebLoader"> to TRUE could force JBoss to load every library just once.
Anybody did that ?
I don't even find that .... shuold be in jbossweb-tomcat55.sar/META-INF/jboss-service.xml, but I don't find that in JBoss5.1 in the jbossweb.sar