Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to use the activation library on SAP J2EE Engine

Hi my friends:

This post is referent to a note and their solution, but the solution is not clearly:


One wants to use the activation library provided together with the j2ee engine from an own library.

Reason and Prerequisites:

One wants to use the activation library from an own library but a ClassNotFound Exception or a NoClassDefFoundError keeps showing up.


For J2EE Engine 6.30/6.40:

To avoid the above mentioned exceptions one has to specify circular references between the activation library and the specific resource. When the engine's classloading system sees such references it creates a common loader for these resources and avoids the issue.

Some one knows how to do circular references in my program????,

i can use web applications or web dynpro with SAP Developer Studio Kit.

thnsk Forum


Former Member
Former Member replied


Java code needs jar (class files) during

1. Compile (build) time

2. Run Time.

In the scenario you have mentioned the activation jar need to be made available on the NWDS for build reference and the j2ee activation jar should be reference during runtime.

Incase of webdynpro project you can add the activation jar to the project as an external jar file on Java Build Path.

For more info on 'Circular Reference' refer

Hope that helps.



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question