我正在尝试从WAS8.5获取ear文件,以便在Liferay 6.2上注册
你好 谁能帮帮我吗 我正在使用WAS 8.5部署ear文件,一旦部署了ear文件,我就无法在Liferay上注册ear文件 以前有没有人遇到过这样的问题我正在尝试从WAS8.5获取ear文件,以便在Liferay 6.2上注册,liferay,Liferay,你好 谁能帮帮我吗 我正在使用WAS 8.5部署ear文件,一旦部署了ear文件,我就无法在Liferay上注册ear文件 以前有没有人遇到过这样的问题 请注意。您的portlet.war文件可能没有经过Liferay自动部署过程。在将portlet部署到WebSphere之前,Liferay需要操作.war文件并添加其自定义配置和库。如果没有自动部署,应用程序对Liferay是不可见的 portlet.war是否包含util java.jar库(+util bridges.jar,++util
请注意。您的portlet.war文件可能没有经过Liferay自动部署过程。在将portlet部署到WebSphere之前,Liferay需要操作.war文件并添加其自定义配置和库。如果没有自动部署,应用程序对Liferay是不可见的
portlet.war是否包含
util java.jar
库(+util bridges.jar
,++util taglib.jar
在/WEB-INF/lib
文件夹中)?如果不是,它不是自动部署的
使用portal-ext.properties
文件中的这些属性配置自动部署
#
# Set this to true to enable auto deploy of layout templates, portlets, and
# themes.
#
auto.deploy.enabled=true
#
# Set the directory to scan for layout templates, portlets, and themes to
# auto deploy.
#
auto.deploy.deploy.dir=${liferay.home}/deploy
#
# Set the directory where auto deployed WARs are copied to. The application
# server or servlet container must know to listen on that directory.
# Different containers have different hot deploy paths. For example, Tomcat
# listens on "${catalina.base}/webapps" whereas JBoss listens on
# "${jboss.home.dir}/deploy". Set a blank directory to automatically use the
# application server specific directory.
#
auto.deploy.websphere.dest.dir=${env.USER_INSTALL_ROOT}/wsadmin-deploy
以及其他配置选项
您需要做的是:
auto.deploy.deploy.dir
中auto.deploy.websphere.dest.dir
获取修改后的.war文件<plugin>
<groupId>com.liferay.maven.plugins</groupId>
<artifactId>liferay-maven-plugin</artifactId>
<version>6.2.10.11</version>
<executions>
<execution>
<id>pre-deploy</id>
<phase>package</phase>
<goals>
<goal>direct-deploy</goal>
</goals>
<configuration>
<appServerDeployDir><<LR will save the modified .war to this folder>></appServerDeployDir>
<appServerType>websphere</appServerType>
<liferayVersion>6.2.10.11</liferayVersion>
</configuration>
</execution>
</executions>
</plugin>
auto.deploy.copy.commons.logging = false
auto.deploy.copy.log4j = false
auto.deploy.websphere.wsadmin.app.manager.query =
您的portlet.war文件可能没有经过Liferay自动部署过程。在将portlet部署到WebSphere之前,Liferay需要操作.war文件并添加其自定义配置和库。如果没有自动部署,应用程序对Liferay是不可见的
portlet.war是否包含
util java.jar
库(+util bridges.jar
,++util taglib.jar
在/WEB-INF/lib
文件夹中)?如果不是,它不是自动部署的
使用portal-ext.properties
文件中的这些属性配置自动部署
#
# Set this to true to enable auto deploy of layout templates, portlets, and
# themes.
#
auto.deploy.enabled=true
#
# Set the directory to scan for layout templates, portlets, and themes to
# auto deploy.
#
auto.deploy.deploy.dir=${liferay.home}/deploy
#
# Set the directory where auto deployed WARs are copied to. The application
# server or servlet container must know to listen on that directory.
# Different containers have different hot deploy paths. For example, Tomcat
# listens on "${catalina.base}/webapps" whereas JBoss listens on
# "${jboss.home.dir}/deploy". Set a blank directory to automatically use the
# application server specific directory.
#
auto.deploy.websphere.dest.dir=${env.USER_INSTALL_ROOT}/wsadmin-deploy
以及其他配置选项
您需要做的是:
auto.deploy.deploy.dir
中auto.deploy.websphere.dest.dir
获取修改后的.war文件<plugin>
<groupId>com.liferay.maven.plugins</groupId>
<artifactId>liferay-maven-plugin</artifactId>
<version>6.2.10.11</version>
<executions>
<execution>
<id>pre-deploy</id>
<phase>package</phase>
<goals>
<goal>direct-deploy</goal>
</goals>
<configuration>
<appServerDeployDir><<LR will save the modified .war to this folder>></appServerDeployDir>
<appServerType>websphere</appServerType>
<liferayVersion>6.2.10.11</liferayVersion>
</configuration>
</execution>
</executions>
</plugin>
auto.deploy.copy.commons.logging = false
auto.deploy.copy.log4j = false
auto.deploy.websphere.wsadmin.app.manager.query =
你有什么例外吗?或者您的意思是portlet.ear部署正常(就WAS而言),但该portlet未在Liferay中注册?您好,Mark,我没有收到一个异常,portlet在WAS上正确部署,但它们未在Liferay中注册。请参阅我的答案。您的portlet可能没有经过LR自动部署过程。您有任何异常吗?或者您的意思是portlet.ear部署正常(就WAS而言),但该portlet未在Liferay中注册?您好,Mark,我没有收到一个异常,portlet在WAS上正确部署,但它们未在Liferay中注册。请参阅我的答案。您的portlet可能没有经过LR自动部署过程。嗨,Thomas,这里发布的设置已经存在,它们工作正常,没有问题,当前发生的情况是,我正在将EAR文件直接部署到WAS,它们部署时没有问题,我需要的是将ear文件部署到WAS并在Liferay上自动注册portlet.war是否包含
util java.jar
库(在/WEB-INF/lib
文件夹中)?如果没有,它不是自动部署的。是的,util-java.jar就在那里,或者我应该这样问,ear文件可以部署到Liferay吗?很好。现在我们真的需要Liferay日志。尝试从队列中查找消息部署
。您能找到该消息和任何以下异常吗?Liferya是否记录了其他部署尝试?嗨,Thomas,这里发布的设置已经存在,它们工作正常,没有问题,目前发生的情况是,我正在将EAR文件直接部署到WAS,它们部署时没有问题,我需要的是将ear文件部署到WAS并在Liferay上自动注册portlet.war是否包含util java.jar
库(在/WEB-INF/lib
文件夹中)?如果没有,它不是自动部署的。是的,util-java.jar就在那里,或者我应该这样问,ear文件可以部署到Liferay吗?很好。现在我们真的需要Liferay日志。尝试从队列中查找消息部署
。您能找到该消息和任何以下异常吗?Liferya是否记录其他部署尝试?