组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Ram Manusani
Non Liferay JBoss Configuration
2012年4月20日 下午8:02
答复

Ram Manusani

等级: Regular Member

帖子: 124

加入日期: 2011年10月27日

最近的帖子

I am using Liferay 6.1 with the traditional JBOSS 5.1(Non Liferay Jboss) and I was able to successfully deploy my themes, layouts but not portlets.

Every time I deploy the portlet I see the error like:


vfsfile:/usr/local/jboss-eap-5.1/jboss-as/server/default/deploy/LiferayTest-portlet.war/ -> org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/usr/local/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as/server/default/deploy/LiferayTest-portlet.war/


DEPLOYMENTS IN ERROR:
Deployment "vfsfile:/usr/local/jboss-eap-5.1/jboss-as/server/default/deploy/LiferayTest-portlet.war/" is in error due to the following reason(s): org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 31:3 The declaration for the entity "HTML.Version" must end with '>'.

For first I thought the problem was with my portlet, but any portlet that has a service builder in it throws the same error.

Do I have to configure something in JBoss to run the service builder successfully?

As I am using a Non Liferay JBoss, should I have to modify any files for letting Jboss to understand Service builder generated classes?


Any insights will be greatly appreciated..
Brian Chan
RE: Non Liferay JBoss Configuration
2012年4月20日 下午8:12
答复

Brian Chan

LIFERAY STAFF

等级: Liferay Master

帖子: 751

加入日期: 2004年8月4日

最近的帖子

This was recently fixed. See http://issues.liferay.com/browse/LPS-26057

It has to do with how jboss 5 uses "vfs" and later jboss versions use "vfsfile" (or vice versa).

So search *.java in the latest trunk, and look for the word "vfs" and you should be able to find the ticket that fixes it.
Ram Manusani
RE: Non Liferay JBoss Configuration
2012年4月20日 下午8:40
答复

Ram Manusani

等级: Regular Member

帖子: 124

加入日期: 2011年10月27日

最近的帖子

When you say trunk, Do u mean Issue Navigator?

I see some tickets for vfs but not finding the solution thou
Olaf Kock
RE: Non Liferay JBoss Configuration
2012年4月21日 上午2:21
答复

Olaf Kock

LIFERAY STAFF

等级: Liferay Legend

帖子: 1808

加入日期: 2008年9月23日

最近的帖子

If you go to the issue that Brian mentioned, click "All" and you'll see some pull requests, leading to this one with the LPS ticket name. I can't say if this is all you need, but it's a starting point, given the information above
devaraj s
RE: Non Liferay JBoss Configuration
2012年6月24日 下午10:18
答复

devaraj s

等级: Regular Member

帖子: 206

加入日期: 2012年5月21日

最近的帖子

I already developed liferay in local system. Now I want to host this in public server JBOSS 7 but which folder I will make war in liferay bundle and deploy. If any one one perfect in hosting please do the needful. And i saw the documentation about deploying liferay in exsting server in this link "http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/installing-liferay-on-an-existing-application-server".

But for this i need to make some configuration in jboss configuration file if i follow those steps, It will affect to My another J2ee application is running on server.
Olaf Kock
RE: Non Liferay JBoss Configuration
2012年6月25日 上午2:52
答复

Olaf Kock

LIFERAY STAFF

等级: Liferay Legend

帖子: 1808

加入日期: 2008年9月23日

最近的帖子

It helps starting a new thread for a new topic like this. This will enable easier linking/finding of issues.

That being said, you already found the documentation. Liferay needs some files on the global classpath - there's no way around that. Yes, they will be available to other applications that run on the same server, but that's the price you pay for being able to deploy additional portlets and plugins.

There might be a way around the steps outlined in the documentation, but if you run into problems with such a setup (like plugins not working - or not working in the expected way) you'd be outside of expectations for how Liferay operates. If you don't have more experience with JBoss, I recommend to set up a separate instance.

Unfortunately I don't have a lot of real-world experience with JBoss, so I can't tell you if there are some OOTB features in JBoss to mitigate this.
devaraj s
RE: Non Liferay JBoss Configuration
2012年7月2日 下午9:44
答复

devaraj s

等级: Regular Member

帖子: 206

加入日期: 2012年5月21日

最近的帖子

First i would like to say thanks for valuable reply.
I have successfully deployed liferay 6.1 in jboss 7.1 existing server by following the documentation "http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/installing-liferay-on-an-existing-application-server" . But I am not able to setup the portal wizard properties like to set new password,password reminder, and also not able to login to portal.


please if any one know the solution for this plesae do the needful.
Praveen P
RE: Non Liferay JBoss Configuration
2012年7月3日 上午4:21
答复

Praveen P

等级: Regular Member

帖子: 100

加入日期: 2012年2月20日

最近的帖子

Remove portal-setup-wizard.properties file, and just have a portal-ext.properties file in your classes of liferay bundle, in liferay 6.1 that setup-wizard.properties file is automatically created but causing some problem so try to have portal-ext.properties file and also by default the preference is first portal.properties then portal-ext.properties then portal-setup-wizard.properties try this out