WSO2碳4.2.0(图灵)和释放矩阵(区块06)
我已经安装了WSO2 Carbon 4.2.0。根据在线产品文档,我尝试使用“功能管理-->安装功能-->通过UI安装功能”安装各种产品,但无法成功安装所有产品 将存储库添加为并安装列出的功能后,该过程失败。似乎在通过UI安装之后,系统无法解决依赖关系并退出已安装的组件版本,因此建议通过POM(Maven)安装。但是,关于如何创建POM并列出要安装在WSO2 Carbon 4.2.0上的所有WSO2产品,还没有进一步的文档记录 关于安装所有产品(或与列表兼容的产品)有何想法 此外,我还尝试使用Carbon 4.2.0 P2(.ZIP)文件安装产品,即使用存储库管理中的本地存储库添加存储库,但安装失败,出现以下异常,我已确认文件夹中缺少webapp-classloading-environments.xml:WSO2碳4.2.0(图灵)和释放矩阵(区块06),wso2,wso2carbon,Wso2,Wso2carbon,我已经安装了WSO2 Carbon 4.2.0。根据在线产品文档,我尝试使用“功能管理-->安装功能-->通过UI安装功能”安装各种产品,但无法成功安装所有产品 将存储库添加为并安装列出的功能后,该过程失败。似乎在通过UI安装之后,系统无法解决依赖关系并退出已安装的组件版本,因此建议通过POM(Maven)安装。但是,关于如何创建POM并列出要安装在WSO2 Carbon 4.2.0上的所有WSO2产品,还没有进一步的文档记录 关于安装所有产品(或与列表兼容的产品)有何想法 此外,我还尝试使用C
[2014-02-01 14:34:55,665] ERROR {org.wso2.carbon.feature.mgt.services.prov.ProvisioningAdminService} -
Error occurred while performing provisioning actionorg.wso2.carbon.feature.mgt.core.ProvisioningException:
NLS missing message: Phase_Configure_Error in: org.eclipse.equinox.internal.p2.engine.messages
NLS missing message: session_context in: org.eclipse.equinox.internal.p2.engine.messages
Error while executing AddXMLElementAction touchpoint
C:\wso2.com\WSO2-Servers\wso2carbon-4.2.0\repository\components\default\..\..\..\repository\conf\tomcat\webapp-classloading-environments.xml (The system cannot find the file specified)
at org.wso2.carbon.feature.mgt.core.util.ProvisioningUtils.performProvisioningAction(ProvisioningUtils.java:77)
at org.wso2.carbon.feature.mgt.core.util.ProvisioningUtils.performProvis............
下面是一个示例pom文件,您可以使用它来组合产品。以下步骤描述了如何使用它
<feature>
<id>org.wso2.carbon.webapp.mgt.feature.group</id>
<version>${carbon.platform.version}</version>
</feature>
您将安装哪些产品?添加了一个答案。在“图灵”平台发布下发布的所有产品都彼此兼容。这意味着给定平台版本下的所有chunk版本都彼此兼容。是否有任何生成位置可用于下载chunk06和兼容的其他WSO2产品或chunk06需要从源代码生成?产品二进制文件显然可用。下载链接可以在这里找到-
<?xml version="1.0" encoding="utf-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.wso2.appserver</groupId>
<artifactId>wso2appserver-parent</artifactId>
<version>5.2.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wso2product-p2-gen</artifactId>
<packaging>pom</packaging>
<name>WSO2 Product Profile Generation</name>
<url>http://wso2.org</url>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<inherited>false</inherited>
<executions>
<execution>
<id>1-unpack-p2-agent-distribution</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.carbon</groupId>
<artifactId>wso2carbon-core</artifactId>
<version>${carbon.kernel.version}</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-equinox-executable</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.eclipse.equinox</groupId>
<artifactId>org.eclipse.equinox.executable</artifactId>
<version>3.5.0.v20110530-7P7NFUFFLWUl76mart</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.wso2.maven</groupId>
<artifactId>carbon-p2-plugin</artifactId>
<version>${carbon.p2.plugin.version}</version>
<executions>
<execution>
<id>3-p2-profile-generation</id>
<phase>package</phase>
<goals>
<goal>p2-profile-gen</goal>
</goals>
<configuration>
<profile>default</profile>
<metadataRepository>file:${basedir}/p2-repo</metadataRepository>
<artifactRepository>file:${basedir}/p2-repo</artifactRepository>
<destination>
${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
</destination>
<deleteOldProfileFiles>true</deleteOldProfileFiles>
<features>
<feature>
<id>org.wso2.carbon.logging.mgt.feature.group</id>
<version>${carbon.platform.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.webapp.mgt.feature.group</id>
<version>${carbon.platform.version}</version>
</feature>
</features>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<phase>package</phase>
<configuration>
<tasks>
<replace token="false" value="true"
dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components">
<include name="**/bundles.info"/>
</replace>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<carbon.platform.version>4.2.0</carbon.platform.version>
<carbon.kernel.version>4.2.0</carbon.kernel.version>
</properties>
<repositories>
<repository>
<id>wso2-nexus</id>
<name>WSO2 internal Repository</name>
<url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
<checksumPolicy>ignore</checksumPolicy>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>wso2-maven2-repository-1</id>
<url>http://dist.wso2.org/maven2</url>
</pluginRepository>
<pluginRepository>
<id>wso2-maven2-repository-2</id>
<url>http://dist.wso2.org/snapshots/maven2</url>
</pluginRepository>
</pluginRepositories>