Library xmlaccess portlet

I have a problem deploying the JSR168 portlet using xmlaccess. I have no problem deploying and joining an isolated page, but I would like to add a link to the shared library automatically. Is it possible?? I added a shared library named "libshared" using the IBM WS console. Can I add this link in input xml using xmlaccess?

+3
source share
3 answers

I do not think you can do this in xmlaccess. But you can try placing the library link in the Manifest.MF file of the META-INF directory of your military portlet file.

Or you can simply put the shared jar file in the / shared / ext directory. Or you can put it in your wps.ear file. Keep in mind that either of these two solutions will share your library with the entire portal installation, rather than just choosing portlets.

0
source

You can deploy the application using wsadmin or similar and use this to update the class path (i.e. for a shared library), then you can use xmlaccess to deploy portlets and link to a previously deployed application - although I think this can only work in WebSphere Portal 6.1.

Give me a shout if you need more details.

0
source

, IBM .

XMLAccess ​​ " " Portlet; , Portlet .

WAR XMLAccess, WAS; , WAR XMLAccess WebSphere Portal "EAR" "" WAR; script .

(, (WebSphere_Portal))

If your deployment strategy instead includes deploying Portlet applications packaged as EARs, then you are in a better position; you can automate the sharing of the shared library as part of the EAR deployment process, and then use XMLAccess to inform WebSphere Portal of the location of your Portlet applications in the EAR (this is what Michael mentioned above, it works in WebSphere Portal 6.0 as a).

Good luck.

0
source

Source: https://habr.com/ru/post/1720889/


All Articles