cancel
Showing results for 
Search instead for 
Did you mean: 

About pcdservice

Former Member
0 Kudos

Because our development enviroment has upgraded from EP5 to EP6

some old projects written within EP5, used the EP library: pcdservice.

But when I compiled them successfully and uploaded them to EP6, such error happened:

iView : N/A

Could not find portal application pcdservice.

Exception id: 04:26_13/01/06_0040_19991450

See the details for the exception ID in the log file

What can I do to resolve this tough problem?

Thanks for your help, bow

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Liang,

I am also having the same kind of problem now.Did you get any workaround for this?

If you found out the solution please let me know.

Regards,

Karthick

detlev_beutner
Active Contributor
0 Kudos

Hi Karthick,

huaaahhh Why don't you just follow my hints given above?! It's (a) more or less straight forward (OK, downloading ClassLocator, installing it and setting it up correctly and getting used to it will take 1-2 hours, but it's worth the effort!), and (b) you can stop guessing what's the equivalent of pcdservice. You should get used to these relations, you'll need it again and again...

Hope it helps

Detlev

Former Member
0 Kudos

Hi Detlev,

I've installed ClassLocator and i am able to find the exact jar files also (pcdservicecore.jar,pcdmanagercore.jar).but there is no use of this.

I added it in JavaBuildPath->Add Jars->and added the jar files mentioned earlier.

Can you please guide me how to use these services in my application.

Thankyou for your replies.

Actually I am trying these for more than a week.Could you please give me some clue for this?

Regards,

Karthick

detlev_beutner
Active Contributor
0 Kudos

Hi Karthick,

if you use ClassLocator (the right way), you don't have to manually add entries to the classpath, ClassLocator does it for you!!!

And from these entries, you can derive the needed SharingReferences, see above, I've given the pattern.

Be aware that you cannot access classes which are part of JARs to be found under /private/lib within some given portal app!

Hope it helps

Detlev

detlev_beutner
Active Contributor
0 Kudos

Hi,

has the answer been of any value for you? If yes, please consider rewarding points for helpful answers! Thanks in avance!

Best regards

Detlev

detlev_beutner
Active Contributor
0 Kudos

Hi,

the portalapp.xml needs the SharingReference to all portal applications the code refers to.

Under .../WEB-INF/portal/portalapps, each directory represents a portal application. This may also have an alias, but you can alway use the portal application name anyhow.

So if your code uses class XY which is part of portal application "com.sap.someApp.pcd" (means the class is to be found in some JAR under .../WEB-INF/portal/portalapps/com.sap.someApp.pcd/lib), just add "com.sap.someApp.pcd" into the SharingReference of the portalapp.xml.

You should use ClassLocator from SourceForge to make it easy to find the files / places needed.

Hope it helps

Detlev

PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!