構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Ram Manusani
Non Liferay JBoss Configuration
2012/04/20 20: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/04/20 20:12
答え

Brian Chan

LIFERAY STAFF

ランク: Liferay Master

投稿: 751

参加年月日: 2004/08/04

最近の投稿

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/04/20 20: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/04/21 2:21
答え

Olaf Kock

LIFERAY STAFF

ランク: Liferay Legend

投稿: 3467

参加年月日: 2008/09/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/06/24 22:18
答え

devaraj s

ランク: Regular Member

投稿: 209

参加年月日: 2012/05/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/06/25 2:52
答え

Olaf Kock

LIFERAY STAFF

ランク: Liferay Legend

投稿: 3467

参加年月日: 2008/09/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/07/02 21:44
答え

devaraj s

ランク: Regular Member

投稿: 209

参加年月日: 2012/05/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/07/03 4:21
答え

Praveen P

ランク: Regular Member

投稿: 100

参加年月日: 2012/02/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