This discussion is archived
2 Replies Latest reply: Jul 14, 2006 11:48 AM by 843844 RSS

AVK does not find common libraries

843844 Newbie
Currently Being Moderated
In our current JBoss application we have commons-logging.jar in a lib directory common to all WebApps. Now we run AVK 1.4.2 prior to a migration. How to tell AVK about this common lib? Once it helped to copy it into C:\j2sdk1.4.2_08\jre\lib\ext, but now not even that helps. AVK just complains:
For [ demo#demo_EJB.jar#OrderStoreEJB ]
classes [ org.apache.commons.logging.LogFactory org.apache.commons.logging.Log ]
referenced by [ com.***.ejb.impl.OrderStoreBean] are not found
Please either bundle the above mentioned classes in the application
or use optional packaging support for them. 
In the log the extension directory was reported in coincidence with the one we used:
[exec] INFO: Extension Dir Path is
C:\j2sdk1.4.2_08\jre\lib\ext;C:\sun\javke1.4.2\appserver\domains\domain1\lib\ext
How can we tell AVK about the common library?

Gerd