cancel
Showing results for 
Search instead for 
Did you mean: 

Error during activation-Public part is not getting recognized

Former Member
0 Kudos

Hi All

I have a Webdynpro DC and

I also have Development Component of type EJB DC that includes one EJB with business methods

Also, there is a java file that is used as GetterSetter in the EJB DC.

The EJB DC generates two public parts: ejbjar (assembly) and client (compilation).

ejbjar puclic part is used by the EAR deployed in the server.

client public part can be used by another DCs which make use of the EJB business methods (via remote and local interfaces).

I have defined another public part: MyPublicPart(compilation), that includes the java class file.

I deployed the ear

Did a DC build of Webdynpro DC and deployed the Webdynpro component

Every thing works fine.

But when I checkin and Activate the activation failed

when I check the Log I found the following error

-


'<Webdynpro DC>' variant 'default' cannot be built. ACTIVATION will fail.INVALID dependency is declared

[public-part: MyPublicPart] AS Build-Time Dependency [validity: USED COMPONENT OR PUBLIC PART IS UNKNOWN OR UNDEFINED]

-


So how to make this the public part (MyPublicPart) known during Activation

Thanks

Murali.K.N

Edited by: murali narayanasamy on Jun 28, 2009 1:51 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

nitin_mahajan2
Contributor
0 Kudos

Hello Murali,

What is the dependency set for the usage of these three public parts?

For a Runtime PP, usage dependency has to be runtime = true

For a compiletime PP, usage dependency has to be designtiem = true.

Also,

Is the EJB DC and the other DC deployed/build properly on your Track? Check their status too.

Since the error is with MyPublicPart DC, check if it is deployed properly and also, verify its usage type please. You may have created/imported only one Public Part.

Regards,

Nitin

Former Member
0 Kudos

Hi Murali,

If it is working in local environment and not in NWDI means, the code was not went to DTR successfully.

Did you successfully checked - in and activated the activity, which involves the changes related to the public part of EJB Dc?

If so, just verify the changes went to DTR or not?

Regards,

Jaya.