[jbossws-commits] JBossWS SVN: r11981 - in stack/metro/trunk: modules/management/src/main and 4 other directories.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Tue Apr 13 10:58:22 EDT 2010


Author: alessio.soldano at jboss.com
Date: 2010-04-13 10:58:21 -0400 (Tue, 13 Apr 2010)
New Revision: 11981

Added:
   stack/metro/trunk/modules/management/src/main/pclwebapp/
   stack/metro/trunk/modules/management/src/main/pclwebapp/WEB-INF/
   stack/metro/trunk/modules/management/src/main/pclwebapp/WEB-INF/jboss-web.xml
   stack/metro/trunk/modules/management/src/main/pclwebapp/WEB-INF/web.xml
   stack/metro/trunk/modules/management/src/main/pclwebapp/index.html
   stack/metro/trunk/modules/management/src/main/pclwebapp/styles.css
Modified:
   stack/metro/trunk/modules/management/pom.xml
   stack/metro/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml
   stack/metro/trunk/src/main/scripts/assembly-deploy-artifacts.xml
Log:
[JBWS-2996] Add port component link servlet for Metro stack


Modified: stack/metro/trunk/modules/management/pom.xml
===================================================================
--- stack/metro/trunk/modules/management/pom.xml	2010-04-13 14:47:16 UTC (rev 11980)
+++ stack/metro/trunk/modules/management/pom.xml	2010-04-13 14:58:21 UTC (rev 11981)
@@ -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-metro-management</warName>
+               <warSourceDirectory>${basedir}/src/main/webapp</warSourceDirectory>
+               <webappDirectory>${project.build.directory}/jbossws-metro-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-metro-management-pcl</warName>
+               <warSourceDirectory>${basedir}/src/main/pclwebapp</warSourceDirectory>
+               <webappDirectory>${project.build.directory}/jbossws-metro-management-pcl</webappDirectory>
+               <webResources>
+                 <webResource>
+                   <directory>${basedir}/src/main/pclwebapp</directory>
+                   <filtering>true</filtering>
+                 </webResource>
+               </webResources>
+             </configuration>
+           </execution>
+         </executions>
       </plugin>
     </plugins>
   </build>

Added: stack/metro/trunk/modules/management/src/main/pclwebapp/WEB-INF/jboss-web.xml
===================================================================
--- stack/metro/trunk/modules/management/src/main/pclwebapp/WEB-INF/jboss-web.xml	                        (rev 0)
+++ stack/metro/trunk/modules/management/src/main/pclwebapp/WEB-INF/jboss-web.xml	2010-04-13 14:58:21 UTC (rev 11981)
@@ -0,0 +1,14 @@
+<?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>
+
+  <!--
+  <security-domain>java:/jaas/jbossws</security-domain>
+  -->
+  <context-root>jbossws</context-root>
+
+</jboss-web>


Property changes on: stack/metro/trunk/modules/management/src/main/pclwebapp/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/metro/trunk/modules/management/src/main/pclwebapp/WEB-INF/web.xml
===================================================================
--- stack/metro/trunk/modules/management/src/main/pclwebapp/WEB-INF/web.xml	                        (rev 0)
+++ stack/metro/trunk/modules/management/src/main/pclwebapp/WEB-INF/web.xml	2010-04-13 14:58:21 UTC (rev 11981)
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+  A web application that installs the JBossWS servlets
+-->
+
+<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>
+
+  <welcome-file-list id="WelcomeFileList">
+    <welcome-file>index.html</welcome-file>
+  </welcome-file-list>
+
+</web-app>


Property changes on: stack/metro/trunk/modules/management/src/main/pclwebapp/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/metro/trunk/modules/management/src/main/pclwebapp/index.html
===================================================================
--- stack/metro/trunk/modules/management/src/main/pclwebapp/index.html	                        (rev 0)
+++ stack/metro/trunk/modules/management/src/main/pclwebapp/index.html	2010-04-13 14:58:21 UTC (rev 11981)
@@ -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-metro- at 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">Documentation home page</a></li>
+	<li><a href="http://www.jboss.org/community/wiki/JBossWS-UserGuide">User guide</a></li>
+	<li><a href="http://www.jboss.org/community/wiki/JBossWS-FAQ">FAQ</a></li>
+	<li><a href="http://www.jboss.org/community/wiki/JBossWS-Recordsmanagement">Records 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&f=275">User forum</a></li>
+	<li><a href="http://www.jboss.org/index.html?module=bb&op=viewforum&f=174">Design forum</a></li>
+	<li><a href="https://lists.jboss.org/mailman/listinfo/jbossws-metro-users">Mailing 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">Subversion repository</a></li>
+	<li><a href="http://fisheye.jboss.com/viewrep/JBossWS">Browse sources online</a></li>
+</ul>
+</fieldset>
+</div>
+
+</body>
+</html>

Added: stack/metro/trunk/modules/management/src/main/pclwebapp/styles.css
===================================================================
--- stack/metro/trunk/modules/management/src/main/pclwebapp/styles.css	                        (rev 0)
+++ stack/metro/trunk/modules/management/src/main/pclwebapp/styles.css	2010-04-13 14:58:21 UTC (rev 11981)
@@ -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/metro/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml
===================================================================
--- stack/metro/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml	2010-04-13 14:47:16 UTC (rev 11980)
+++ stack/metro/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml	2010-04-13 14:58:21 UTC (rev 11981)
@@ -222,6 +222,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-metro-management-pcl.war"/>
+        </fileset>
+      </unzip>
+    </sequential>
+  </macrodef>
+
+  <!-- ================================================================== -->
   <!-- Deploy Deployers                                                   -->
   <!-- ================================================================== -->
 
@@ -299,7 +316,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}"/>

Modified: stack/metro/trunk/src/main/scripts/assembly-deploy-artifacts.xml
===================================================================
--- stack/metro/trunk/src/main/scripts/assembly-deploy-artifacts.xml	2010-04-13 14:47:16 UTC (rev 11980)
+++ stack/metro/trunk/src/main/scripts/assembly-deploy-artifacts.xml	2010-04-13 14:58:21 UTC (rev 11981)
@@ -168,6 +168,16 @@
         <include>jbossws-*/**</include>
       </includes>
     </fileSet>
+    
+    <!-- management console and port component link servlet -->
+    <fileSet>
+      <directory>modules/management/target</directory>
+      <outputDirectory>lib</outputDirectory>
+      <includes>
+        <include>jbossws-metro-management.war</include>
+        <include>jbossws-metro-management-pcl.war</include>
+      </includes>
+    </fileSet>
   </fileSets>
 
   <!-- This should be a moduleSet - see above -->



More information about the jbossws-commits mailing list