Fórum

probleme with liferay 6.0.6

alen dumas, modificado 11 Anos atrás.

probleme with liferay 6.0.6

Junior Member Postagens: 41 Data de Entrada: 12/03/12 Postagens Recentes
hello,
I can deploy a web application in struts 2 in liferay 6.0.6 bundle with jboss

This web application contains code to generate a report with jasper report pdf
This procedure is done with success

but when I try to connect this web application with the EJB project (for further operation: eg list the user base through a given link in the JSP application that uses the DAO EJB project) and generate a. jar for EJB and. war for the web part and put in the deploy folder of liferay

I can find the application deployed but when I clicked on the link found in the jsp page: Liser users

this error is displayed at liferay (portlet is unavailable)

in eclipse when I try to point to the server jboss 5.1 of liferay 6.0.6 bundle with jboss in order to add the WEB and EJB project in this server this error is displayed:
The server does not support version 3.1 of the J2EE EJB Module specification



I try to switch to liferay 6.1 bundled with jboss the same web application can not be deployed (I mean the first example which generate a PDF report with struts without using a project EJemoticon
maybe I inspired in the structure of web project (which I have already done to make reporting with jasper report) the structure of a portlet made with liferay 6.0.6

and the probleme that jasper report is not supported by liferay 6.1


I need help


best ragards

alen
thumbnail
David H Nebinger, modificado 11 Anos atrás.

RE: probleme with liferay 6.0.6

Liferay Legend Postagens: 14914 Data de Entrada: 02/09/06 Postagens Recentes
Sorry, Alen, I just got done posting a reply to your french post (I'm glad google translate works, my french is so rusty I could grasp 50% of what you had written).

As I said, I think your issue is probably more having to do w/ getting everything working under jboss 7 (to get the EJB 3.1 support you need).

Jasper is supported in the 6.0 and 6.1 lines, so I don't think the problem is necessarily there.
alen dumas, modificado 11 Anos atrás.

RE: probleme with liferay 6.0.6

Junior Member Postagens: 41 Data de Entrada: 12/03/12 Postagens Recentes
thank you for your reply

I try to work with liferay 6.1 bundle withe jboss (jboss 7 that supports EJB 3.1)
but as I say I have an example of a web application with struts2 which also contains another file as liferay-portlet.xml and display.xml that helps for the deployment in liferay

but the problem that this example is running in liferay 6.0.6 and not running in liferay 6.1

Note that this example does not contain a part of EJB

is the structure of a portlet 6.0.6 is different from a portlet 6.1 ?

in my example I change the file liferay-display.xml
liferay liferay-by-display_6_0_0.dtd display_6_1.dtd


<!--? xml version = "1.0"?-->
<!-- DOCTYPE display PUBLIC "- / / Liferay / / DTD Display 6.1 / / EN" "http://www.liferay.com/dtd/liferay-display_6_1.dtd"-->

<display>
<category name="category.sample">
</category></display>
alen dumas, modificado 11 Anos atrás.

RE: probleme with liferay 6.0.6

Junior Member Postagens: 41 Data de Entrada: 12/03/12 Postagens Recentes
this error is displayed when I deploy web project in liferay 6.1 budle with jboss

        ... 11 more

01:30:13,258 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads -
 2) Deployment of "Portlettest.war" was rolled back with failure message {"Fail
ed services" =&gt; {"jboss.deployment.unit.\"Portlettest.war\".INSTALL" =&gt; "org.jb
oss.msc.service.StartException in service jboss.deployment.unit.\"Portlettest.w
ar\".INSTALL: Failed to process phase INSTALL of deployment \"Portlettest.war\"
"},"Services with missing/unavailable dependencies" =&gt; ["jboss.naming.context.ja
va.module.Portlettest.Portlettest.Validator missing [ jboss.naming.context.jav
a.module.Portlettest.Portlettest ]","jboss.naming.context.java.module.Portlettest.Portlettest.ValidatorFactory missing [ jboss.naming.context.java.module.Portlettest.Portlettest ]"]}
01:30:13,304 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) Sto
pped deployment Portlettest.war in 48ms
01:30:13,306 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"C
omposite operation failed and was rolled back. Steps that failed:" =&gt; {"Operatio
n step-2" =&gt; {"Failed services" =&gt; {"jboss.deployment.unit.\"Portlettest.war\".
INSTALL" =&gt; "org.jboss.msc.service.StartException in service jboss.deployment.un
it.\"Portlettest.war\".INSTALL: Failed to process phase INSTALL of deployment \
"Portlettest.war\""},"Services with missing/unavailable dependencies" =&gt; ["jbos
s.naming.context.java.module.Portlettest.Portlettest.Validator missing [ jboss
.naming.context.java.module.Portlettest.Portlettest ]","jboss.naming.context.j
ava.module.Portlettest.Portlettest.ValidatorFactory missing [ jboss.naming.con
text.java.module.Portlettest.Portlettest]"]}}}
thumbnail
Neil Griffin, modificado 11 Anos atrás.

RE: probleme with liferay 6.0.6

Liferay Legend Postagens: 2655 Data de Entrada: 27/07/05 Postagens Recentes
I just saw the same "Validator missing" and "ValidatorFactory missing" errors in FACES-1208. Not sure if the problem you are experiencing is caused by the same thing as the Liferay Faces demo portlets, but the solution I found is posted there in the issue description.
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: probleme with liferay 6.0.6

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Neil, you've also commented that it can break http://issues.liferay.com/browse/FACES-183
Have you found any final solution to this?
thumbnail
Neil Griffin, modificado 11 Anos atrás.

RE: probleme with liferay 6.0.6

Liferay Legend Postagens: 2655 Data de Entrada: 27/07/05 Postagens Recentes
I haven't finished my testing yet, but I *think* JBoss 7.0.x and 7.1.x no longer need the following markup in WEB-INF/web.xml:
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>

So you might want to try keeping the listener and see what happens.
djo vitch, modificado 10 Anos atrás.

RE: probleme with liferay 6.0.6

New Member Postagens: 24 Data de Entrada: 04/04/13 Postagens Recentes
Hi alen, could you please share an example of jasper report and struts2 app. thanks