有人将 Liferay 门户部署到 Eclipse Virgo Web 服务器上吗?
我正在尝试将 Liferay 门户部署到 Eclipse Virgo Web 服务器上,但运气不佳。我至少解决了这个过程中涉及的两个问题:
1)作为liferay依赖项一部分的portal.jar有一个格式错误的清单。 Bundle-SymbolicName 错误地将值设置为“JSR 286”,而该值应为“JSR286”(无空格)。另外,导入包有一堆空格/制表符,我删除了它们。这就解决了问题 1。2
)Virgo Web 服务器没有找到 liferay 依赖项 jar(至少没有找到我放置它们的位置),所以我只是将依赖项粘贴到主 liferay.WAR 中,并且已经摆脱了所有错误消息。
不幸的是,这并没有解决总体问题。也许还有其他问题,但 Virgo 没有报告任何错误。
我查看了 Liferay 和 Virgo 论坛,但似乎没有人对此有答案,所以我希望这里有人比我更成功。如果是这样,请告诉我您尝试过什么让它发挥作用。
更详细一点:我使用了 liferay-portal-6.0.5 WAR,它未与应用程序服务器捆绑在一起。而且,我正在使用 Virgo 2.1.0。
谢谢,
大卫
I am trying to deploy the Liferay portal onto the Eclipse Virgo Web Server and haven't had much luck. I have at least solved two of the problems involved in this process:
1) The portal.jar that is part of the liferay dependencies has a malformed manifest. The Bundle-SymbolicName incorrectly sets the value to "JSR 286" when it should be "JSR286" (no space). Also, the Import-Package has a bunch of spaces/tabs and I removed those. That took care of problem 1.
2) The Virgo web server wasn't finding the liferay dependency jars (at least not where I was putting them), so I just stuck the dependencies into the main liferay.WAR and that has gotten rid of all the error messages.
Unfortunately, this didn't solve the overall problem. Perhaps there are other issues, but Virgo is not reporting any errors.
I've looked on both the Liferay and Virgo forums, but no one seems to have an answer to this, so I'm hoping someone here has had more success than me. If so, please let me know what you tried to get it to work.
A little more detail: I used the liferay-portal-6.0.5 WAR that is not bundled with an app server. And, I'm using Virgo 2.1.0.
Thanks,
David
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我得到了它! http://sourceforge.net/projects/liferayforvirgo。但 Virgo 3.6.0.RELEASE 的性能太低,Liferay+Virgo 组合无法用于生产
I got it! http://sourceforge.net/projects/liferayforvirgo. But Virgo 3.6.0.RELEASE demonstrates too low performance and the couple Liferay+Virgo is not able to use for production