cancel
Showing results for 
Search instead for 
Did you mean: 

Build can't see public part

Former Member
0 Kudos

I'm getting a really strange error. When the CBS tried to build a DC, I see this message in the request log:

Using generic UNIX platform support.
	Synchronize sources... finished at 2006-06-14 13:25:50.710 GMT and took 2 s 105 ms
	Synchronize used libraries...
		"company.ca/wl/details/wd"  in compartment "company.ca_TRACK_1" 
                           cannot be built and will be marked as BROKEN.
			Used component "company.ca/wl/models/user/wd" has NO 
                           PUBLIC PART with name "compilation". Such a public 
                           part has not yet been defined or activated.
			[DC 181 variant "default"][SC 71] using [PP "compilation" of
                           DC 166 variant "default"][SC 71][last successful build: 399]
		public part "default" of component "sap.com/com.sap.exception" ... OK
                (etc)

Now, the DC in question, /wl/models/user/wd, does in fact have a public part called 'compilation' - the public part shows up in the CBS ui. I've tried rebuilding DC /wl/models/user/wd, followed by rebuilding the /wl/details/wd DC, but I keep getting the same error.

As near as I can tell, all activities have been activated, so everything should be in sync.

Anyone have any ideas how I can go about solving this issue?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ken,

what does the build or request log for the company.ca/wl/models/user/wd DC say? Any warnings? Is there any indication in the log that a "compilation" public part is really created?

Worst case I'd try to initialize the compartment.

Marc

Former Member
0 Kudos

NWDI and NWDS are both on SP16, with the build plugins patched to current levels.

The logs for the component that had the public part did not have any error messages - near as I could tell, the build was clean. However, if you tried to click on the PPA, I would get an error indicating that the public part did not exist, or had not yet been released. Odd, it was fine a few days ago. But this would certainly explain why the build for dependant DC's were failing.

Anyways, I ended up recreating the public part, and checking in the activity. Once I did that, I was able to build the component, and the CBS rebuilt everything successfully.

Still, it's worrisome that a public part could become damaged like that. If it happens again, I'll have to open an OSS ticket, since this would be classed (at least in my books) as a severe bug.

Former Member
0 Kudos

Was there maybe a difference between the public part name and the name of the public part definition file (the *.pp file)?

In that case CBS could fail to pick up the (correctly built) public part. There should be some indication in the request log (not the build log) for that.

Marc

Former Member
0 Kudos

Further to my message above, I get this exception when I try and access the 'compilation' public part archive of the DC:

com.sap.tc.cbs.api.NoSuchPublicPartException: Development component '/wl/models/user/wd' of component vendor 'company.ca' does not contains public part 'compilation'!
	at com.sap.tc.cbs.api.impl.BSState.getPPA(BSState.java:919)
	at com.sap.tc.cbs.receiver.ArchiveServlet.getPPA(ArchiveServlet.java:1178)
	at com.sap.tc.cbs.receiver.ArchiveServlet.doGet(ArchiveServlet.java:106)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
	at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
	at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
	at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
	at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
	at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
	at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
	at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
	at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
	at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
	at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
	at java.security.AccessController.doPrivileged(AccessController.java:180)
	at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
	at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

So, it appears that the CBS is really confused about this DC. I tried deleting and recreating the public part, but I get the same error message.

Note that everything builds correctly on my dev. workstation.

Message was edited by: Ken Miller

Former Member
0 Kudos

What versions of NWDI and NWDS are you using?