AVK does not find common libraries

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 supportfor 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

[943 byte] By [gkerstena] at [2007-10-3 0:30:44]
# 1

By copying commons-logging.jar in to ext lib, you have only made it available to AVK runtime. AVK does not make all extensions available to an application. An application must explicitly state a dependency on a library using Extension-List manifest entry. See the section "Mechanism 3: Installed Packages" in this article:

http://java.sun.com/j2ee/verified/packaging.html

Thanks,

Sahoo

sahooa at 2007-7-14 17:23:50 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 2
Thanks a lot, this seems to be exactly that what I had been desperately searching for.Gerd
gkerstena at 2007-7-14 17:23:50 > top of Java-index,Enterprise & Remote Computing,AVK Portability...