You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by br...@apache.org on 2012/11/23 04:50:50 UTC

svn commit: r1412740 - in /continuum/trunk: continuum-buildagent/continuum-buildagent-webapp/src/main/webapp/WEB-INF/jboss-web.xml continuum-webapp/src/main/webapp/WEB-INF/jboss-web.xml

Author: brett
Date: Fri Nov 23 03:50:49 2012
New Revision: 1412740

URL: http://svn.apache.org/viewvc?rev=1412740&view=rev
Log:
[CONTINUUM-2499] update jboss-web.xml

Applied as a starting point for someone that wants to work further on it. Looks like it still won't deploy by default until upgraded to Spring 3.0. I also noticed some problems deploying into JBoss AS 7 due to Spring.

Submitted by: Stephen Coy

Added:
    continuum/trunk/continuum-buildagent/continuum-buildagent-webapp/src/main/webapp/WEB-INF/jboss-web.xml   (with props)
Modified:
    continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jboss-web.xml

Added: continuum/trunk/continuum-buildagent/continuum-buildagent-webapp/src/main/webapp/WEB-INF/jboss-web.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-buildagent/continuum-buildagent-webapp/src/main/webapp/WEB-INF/jboss-web.xml?rev=1412740&view=auto
==============================================================================
--- continuum/trunk/continuum-buildagent/continuum-buildagent-webapp/src/main/webapp/WEB-INF/jboss-web.xml (added)
+++ continuum/trunk/continuum-buildagent/continuum-buildagent-webapp/src/main/webapp/WEB-INF/jboss-web.xml Fri Nov 23 03:50:49 2012
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License.  You may obtain a copy of the License at
+  ~
+  ~   http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied.  See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<!DOCTYPE jboss-web PUBLIC
+    "-//JBoss//DTD Web Application 5.0//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
+<jboss-web>
+
+  <class-loading java2ClassLoadingCompliance='false'>
+    <loader-repository>
+      org.apache.continuum:loader=continuum-buildagent
+      <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
+    </loader-repository>
+
+  </class-loading>
+
+  <context-root>continuum-buildagent</context-root>
+
+
+</jboss-web>
+

Propchange: continuum/trunk/continuum-buildagent/continuum-buildagent-webapp/src/main/webapp/WEB-INF/jboss-web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jboss-web.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jboss-web.xml?rev=1412740&r1=1412739&r2=1412740&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jboss-web.xml (original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jboss-web.xml Fri Nov 23 03:50:49 2012
@@ -18,24 +18,34 @@
   ~ under the License.
   -->
 
+<!DOCTYPE jboss-web PUBLIC
+    "-//JBoss//DTD Web Application 5.0//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
 <jboss-web>
 
+  <class-loading java2ClassLoadingCompliance='false'>
+    <loader-repository>
+      org.apache.continuum:loader=continuum
+      <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
+    </loader-repository>
+
+  </class-loading>
+
+  <context-root>continuum</context-root>
+
   <resource-ref>
     <res-ref-name>jdbc/continuum</res-ref-name>
-    <res-type>javax.sql.DataSource</res-type>
     <jndi-name>java:/continuum</jndi-name>
   </resource-ref>
 
   <resource-ref>
     <res-ref-name>jdbc/users</res-ref-name>
-    <res-type>javax.sql.DataSource</res-type>
     <jndi-name>java:/users</jndi-name>
   </resource-ref>
 
   <resource-ref>
     <res-ref-name>mail/Session</res-ref-name>
-    <res-type>javax.mail.Session</res-type>
-    <jndi-name>java:/Mail</jndi-name>
+    <jndi-name>java:jboss/mail/Default</jndi-name>
   </resource-ref>
 
 </jboss-web>