Author: alessio.soldano(a)jboss.com
Date: 2010-04-13 10:45:42 -0400 (Tue, 13 Apr 2010)
New Revision: 11979
Added:
stack/cxf/trunk/modules/management/src/main/pclwebapp/
stack/cxf/trunk/modules/management/src/main/pclwebapp/WEB-INF/
stack/cxf/trunk/modules/management/src/main/pclwebapp/WEB-INF/jboss-web.xml
stack/cxf/trunk/modules/management/src/main/pclwebapp/WEB-INF/web.xml
stack/cxf/trunk/modules/management/src/main/pclwebapp/index.html
stack/cxf/trunk/modules/management/src/main/pclwebapp/styles.css
Modified:
stack/cxf/trunk/modules/management/pom.xml
stack/cxf/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml
Log:
[JBWS-2996] Port component link servlet for CXF stack
Modified: stack/cxf/trunk/modules/management/pom.xml
===================================================================
--- stack/cxf/trunk/modules/management/pom.xml 2010-04-13 10:23:10 UTC (rev 11978)
+++ stack/cxf/trunk/modules/management/pom.xml 2010-04-13 14:45:42 UTC (rev 11979)
@@ -87,14 +87,45 @@
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
- <configuration>
- <webResources>
- <resource>
- <directory>src/main/webapp</directory>
- <filtering>true</filtering>
- </resource>
- </webResources>
- </configuration>
+ <groupId>org.apache.maven.plugins</groupId>
+ <executions>
+ <execution>
+ <id>console</id>
+ <phase>package</phase>
+ <goals>
+ <goal>war</goal>
+ </goals>
+ <configuration>
+ <warName>jbossws-cxf-management</warName>
+
<warSourceDirectory>${basedir}/src/main/webapp</warSourceDirectory>
+
<webappDirectory>${project.build.directory}/jbossws-cxf-management</webappDirectory>
+ <webResources>
+ <webResource>
+ <directory>${basedir}/src/main/webapp</directory>
+ <filtering>true</filtering>
+ </webResource>
+ </webResources>
+ </configuration>
+ </execution>
+ <execution>
+ <id>pcl</id>
+ <phase>package</phase>
+ <goals>
+ <goal>war</goal>
+ </goals>
+ <configuration>
+ <warName>jbossws-cxf-management-pcl</warName>
+
<warSourceDirectory>${basedir}/src/main/pclwebapp</warSourceDirectory>
+
<webappDirectory>${project.build.directory}/jbossws-cxf-management-pcl</webappDirectory>
+ <webResources>
+ <webResource>
+ <directory>${basedir}/src/main/pclwebapp</directory>
+ <filtering>true</filtering>
+ </webResource>
+ </webResources>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
Added: stack/cxf/trunk/modules/management/src/main/pclwebapp/WEB-INF/jboss-web.xml
===================================================================
--- stack/cxf/trunk/modules/management/src/main/pclwebapp/WEB-INF/jboss-web.xml
(rev 0)
+++ stack/cxf/trunk/modules/management/src/main/pclwebapp/WEB-INF/jboss-web.xml 2010-04-13
14:45:42 UTC (rev 11979)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE jboss-web
+ PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd">
+
+<jboss-web>
+
+ <!-- A security domain that restricts access
+ <security-domain>java:/jaas/JBossWS</security-domain>
+ -->
+
+ <context-root>jbossws</context-root>
+
+</jboss-web>
Property changes on:
stack/cxf/trunk/modules/management/src/main/pclwebapp/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/trunk/modules/management/src/main/pclwebapp/WEB-INF/web.xml
===================================================================
--- stack/cxf/trunk/modules/management/src/main/pclwebapp/WEB-INF/web.xml
(rev 0)
+++ stack/cxf/trunk/modules/management/src/main/pclwebapp/WEB-INF/web.xml 2010-04-13
14:45:42 UTC (rev 11979)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <display-name>JBossWS</display-name>
+
+ <servlet>
+ <servlet-name>ContextServlet</servlet-name>
+
<servlet-class>org.jboss.wsf.framework.management.ContextServlet</servlet-class>
+ </servlet>
+
+ <servlet>
+ <servlet-name>PortComponentLinkServlet</servlet-name>
+
<servlet-class>org.jboss.ws.core.server.PortComponentLinkServlet</servlet-class>
+ </servlet>
+
+ <!-- now the mappings -->
+
+ <servlet-mapping>
+ <servlet-name>ContextServlet</servlet-name>
+ <url-pattern>/services/*</url-pattern>
+ </servlet-mapping>
+
+ <servlet-mapping>
+ <servlet-name>PortComponentLinkServlet</servlet-name>
+ <url-pattern>/pclink</url-pattern>
+ </servlet-mapping>
+
+ <!--
+ currently the W3C haven't settled on a media type for WSDL;
+
http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
+ for now we go with the basic 'it's XML' response
+ -->
+ <mime-mapping>
+ <extension>wsdl</extension>
+ <mime-type>text/xml</mime-type>
+ </mime-mapping>
+
+ <mime-mapping>
+ <extension>xsd</extension>
+ <mime-type>text/xml</mime-type>
+ </mime-mapping>
+
+</web-app>
Property changes on:
stack/cxf/trunk/modules/management/src/main/pclwebapp/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/cxf/trunk/modules/management/src/main/pclwebapp/index.html
===================================================================
--- stack/cxf/trunk/modules/management/src/main/pclwebapp/index.html
(rev 0)
+++ stack/cxf/trunk/modules/management/src/main/pclwebapp/index.html 2010-04-13 14:45:42
UTC (rev 11979)
@@ -0,0 +1,75 @@
+<html><head>
+<meta http-equiv='Content-Type content='text/html;
charset=iso-8859-1'>
+<title>JBossWS (@implementation.version@)</title>
+<link rel='stylesheet' href='./styles.css'>
+</head>
+<body>
+
+<div class='pageHeader'>JBossWS</div>
+
+<div class="pageSection">
+<h2>Welcome to JBoss Web Services</h2>
+JBossWS is a Web Service Framework contributing to the JBoss' JavaEE5 offering. It
integrates supported JAX-WS
+compliant web service stacks in JBoss AS while adding simplified management,
configuration, tooling, etc.
+</div>
+
+<div class="pageSection">
+<h3>Administration</h3>
+
+<fieldset>
+ <legend><b>Runtime information</b></legend>
+<ul>
+ <li><b>Version: jbossws-cxf-@version@</b></li>
+ <li><b>Build: @buildNumber@</b></li>
+ <li><a href="services">View a list of deployed
services</a></li>
+ <li><a href="/jmx-console/">Access JMX
console</a></li>
+</ul>
+</fieldset>
+</div>
+
+<div class="pageSection">
+<h3>Project information</h3>
+
+<fieldset>
+ <legend><b>Main resources</b></legend>
+
+<ul>
+ <li><a
href="http://jboss.org/jbossws">Project home
page</a></li>
+ <li><a
href="http://jboss.org/jbossws/downloads/">Latest download
and samples</a></li>
+</ul>
+</fieldset>
+<br/>
+
+<fieldset>
+ <legend><b>Documentation</b></legend>
+
+<ul>
+ <li><a
href="http://www.jboss.org/community/wiki/JBossWS">Documenta... home
page</a></li>
+ <li><a
href="http://www.jboss.org/community/wiki/JBossWS-UserGuide">...
guide</a></li>
+ <li><a
href="http://www.jboss.org/community/wiki/JBossWS-FAQ">FAQ&l...
+ <li><a
href="http://www.jboss.org/community/wiki/JBossWS-Recordsmanagement&...
management</a></li>
+</ul>
+</fieldset>
+
+</br>
+<fieldset>
+ <legend><b>Community</b></legend>
+<ul>
+ <li><a
href="http://www.jboss.org/index.html?module=bb&op=viewforum&...
forum</a></li>
+ <li><a
href="http://www.jboss.org/index.html?module=bb&op=viewforum&...
forum</a></li>
+ <li><a
href="https://lists.jboss.org/mailman/listinfo/jbossws-cxf-users&quo...
list</a></li>
+</ul>
+</fieldset>
+
+</br>
+<fieldset>
+ <legend><b>Source repository</b></legend>
+<ul>
+ <li><a
href="http://www.jboss.org/community/wiki/JBossWS-Subversion"&g...
repository</a></li>
+ <li><a
href="http://fisheye.jboss.com/viewrep/JBossWS">Browse
sources online</a></li>
+</ul>
+</fieldset>
+</div>
+
+</body>
+</html>
Added: stack/cxf/trunk/modules/management/src/main/pclwebapp/styles.css
===================================================================
--- stack/cxf/trunk/modules/management/src/main/pclwebapp/styles.css
(rev 0)
+++ stack/cxf/trunk/modules/management/src/main/pclwebapp/styles.css 2010-04-13 14:45:42
UTC (rev 11979)
@@ -0,0 +1,186 @@
+
+/* table for list views */
+.table_list {
+}
+
+/* table for detail views */
+.table_form {
+}
+
+.pageHeader {
+ font-size: 14pt;
+ font-weight: BOLD;
+ color: #ffffff;
+ border-bottom-width:1px;
+ border-bottom-style:solid;
+ border-color:#000066;
+ margin-bottom:15px;
+ padding-left:15px;
+ padding-top:5px;
+ padding-bottom:5px;
+ background-color: #3b4f66;
+ max-width: 900px;
+}
+
+.pageSection {
+ padding-left:15px;
+ margin-bottom: 5px;
+ max-width: 900px;
+}
+
+.metrics
+{
+ font-size: 6pt;
+ background-color: #dddddd;
+ width: 100%;
+}
+
+/* table row header */
+.list_tr_head {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ font-weight: 600;
+ text-align: center;
+ background-color: #3b4f66;
+}
+
+/* table row list view */
+.list_tr {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: top;
+ background-color: #ffffff;
+}
+
+/* table row list view odd lines */
+.list_tr_even {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: top;
+ background-color: #ffffff;
+}
+
+/* table row list view even lines */
+.list_tr_odd {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: top;
+ background-color: #dddddd;
+}
+
+/* form label */
+.form_label {
+ font-family: Verdana, sans-serif;
+ font-weight: 500;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: top;
+ background-color: #dddddd;
+ padding-top: 2px;
+ padding-bottom: 2px;
+}
+
+/* form value */
+.form_value {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ color: #000066;
+ vertical-align: baseline;
+}
+
+/* tiny writing */
+.tiny {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ color: #666666;
+}
+
+/* required input fields */
+.inputmust {
+ background-color: #dddddd;
+}
+
+/* error message */
+.error {
+ font-family: Courier New;
+ color: #990000;
+}
+
+/* error message */
+.error_trace {
+ font-family: Courier New;
+}
+
+/* active tree node */
+.tree_active_label {
+ font-weight: bold;
+}
+
+body {
+ font-family: Verdana,, sans-serif;
+ font-size: 8pt;
+ color: #000066;
+ background-color: #ffffff;
+}
+
+/* title style */
+h1 {
+ font-family: Verdana, sans-serif;
+ font-size: 14pt;
+ font-weight: 600;
+ color: #000066;
+}
+
+h2 {
+ font-family: Verdana, sans-serif;
+ font-size: 12pt;
+ font-weight: 600;
+ color: #000066;
+}
+
+h3 {
+ font-family: Verdana, sans-serif;
+ font-size: 10pt;
+ font-weight: 600;
+ color: #000066;
+}
+
+h4 {
+ font-family: Verdana, sans-serif;
+ font-size: 10pt;
+ font-weight: 500;
+ color: #000066;
+}
+
+/* table desk */
+td {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ padding-left: 5px;
+ padding-right: 5px;
+}
+
+input, textarea, select, option {
+ font-family: Verdana, sans-serif;
+ font-size: 8pt;
+ color: #000066;
+}
+
+a {
+ font-family: Verdana, sans-serif;
+ color: #3b4f66;
+ text-decoration: none;
+}
+
+a:hover{
+ font-family: Verdana, sans-serif;
+ color: #cc0000;
+ text-decoration: none;
+}
+
+pre {
+ background:#dddddd
+}
\ No newline at end of file
Modified:
stack/cxf/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml
===================================================================
---
stack/cxf/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml 2010-04-13
10:23:10 UTC (rev 11978)
+++
stack/cxf/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml 2010-04-13
14:45:42 UTC (rev 11979)
@@ -231,6 +231,23 @@
</macrodef>
<!-- ================================================================== -->
+ <!-- Deploy JBossWS Console + PortComponentLink servlet -->
+ <!-- ================================================================== -->
+
+ <macrodef name="macro-deploy-jbossws-jaxrpc-deployment">
+ <attribute name="thirdpartydir"/>
+ <attribute name="targetdir"/>
+ <sequential>
+ <mkdir dir="@{targetdir}"/>
+ <unzip dest="@{targetdir}">
+ <fileset dir="@{thirdpartydir}">
+ <include name="**/jbossws-cxf-management-pcl.war"/>
+ </fileset>
+ </unzip>
+ </sequential>
+ </macrodef>
+
+ <!-- ================================================================== -->
<!-- Deploy Deployers -->
<!-- ================================================================== -->
@@ -308,7 +325,7 @@
<macro-deploy-jbossws-lib targetdir="${installserver}/../../lib"
thirdpartydir="${thirdpartydir}"/>
<macro-deploy-jbossws-endorsed
targetdir="${installserver}/../../lib/endorsed"
thirdpartydir="${thirdpartydir}"/>
<macro-deploy-jbossws-server-lib
targetdir="${installserver}/../../common/lib"
thirdpartydir="${thirdpartydir}"/>
- <macro-deploy-jbossws-deployment
targetdir="${installserver}/deploy/jbossws-console.war"
thirdpartydir="${thirdpartydir}"/>
+ <macro-deploy-jbossws-jaxrpc-deployment
targetdir="${installserver}/deploy/jbossws-console.war"
thirdpartydir="${thirdpartydir}"/>
<macro-deploy-jbossws-deployers
targetdir="${installserver}/deployers/jbossws.deployer/"
thirdpartydir="${thirdpartydir}" artifactsdir="${artifactsdir}"
jbossid="${jbossid}"/>
<macro-deploy-jbossws-jaxrpc-deployers
targetdir="${installserver}/deployers/jbossws-jaxrpc.deployer/"
artifactsdir="${artifactsdir}" jbossid="${jbossid}"/>
<macro-deploy-juddi-sar
targetdir="${installserver}/deploy/juddi-service.sar"
thirdpartydir="${thirdpartydir}"/>