java - Glassfish, cannot find folder portlet-container in glassfish/domain/domain1 -
hello need run portlets on glassfish , use netbeans development, downloaded netbeans 7.0 bundle glassfish, installed. went http://portlet-container.java.net/public/download.html page, downloaded jar, tried install, here have problem cannot find portlet-container in folder glassfish/domain/domain1. opened directory /usr/local/glassfish-3.1/glassfish/domains/domain1, there no portlet-container folder!
must install portlet container glassfish? here actual error:
severe: portlet container configuration failed. /usr/local/glassfish-3.1/glassfish/domains/domain1/portlet-container/portlet-container.zip (no such file or directory)
it looks portlet container installer assumes have write permission in domain1 directory. if have installed glassfish /usr/local, may not have write permission... discovered.
you can run portlet container installer root or can following (which doesn't require rootiness):
asadmin create-domain --domaindir ~/mydomains --adminport 4848 domain1
then run installer , specifiy ~/mydomains/domain1 domain dir.
Comments
Post a Comment