Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Efter skift til openjdk fejler Springs JDBCTemplate fordi den manger …

…com.sun.rowset.CachedRowsetImpl (referenceimpl af CachedRowset). Nu deployer vi en frit downloadable rowset.jar der indeholder det nødvendige ind i hvert importermodul
  • Loading branch information...
commit fd16d709dd2f4e91386c8e20fb0143b44a8787cc 1 parent 27b9ef8
Jakob Færch authored September 11, 2012
9  environment/modules/jboss7as/manifests/importermodule.pp
@@ -22,10 +22,15 @@
22 22
 		content => template("jboss7as/log4j-nspslalog-importer.properties"),
23 23
 	}
24 24
 
  25
+    file {"/pack/jboss/modules/sdm4/config/${modulename}/main/rowset.jar":
  26
+        ensure => present,
  27
+        source => "puppet:///modules/jboss7as/rowset.jar",
  28
+        require => File["/pack/jboss/modules/sdm4/config/${modulename}/main"]
  29
+    }
  30
+
25 31
 	# JBoss module
26 32
    	file {["/pack/jboss/modules/sdm4/config/${modulename}", "/pack/jboss/modules/sdm4/config/${modulename}/main"]:
27 33
         ensure => directory,
28  
-        owner => "jboss",
29 34
         require => File["/pack/jboss"],
30 35
     }
31 36
 
@@ -38,6 +43,4 @@
38 43
 		content => template("jboss7as/sdm-importer-module.xml"),
39 44
 		require => File["/pack/jboss/modules/sdm4/config/${modulename}/main"],
40 45
 	}
41  
-
42  
-
43 46
 }
4  environment/modules/jboss7as/templates/sdm-importer-module.xml
@@ -2,5 +2,9 @@
2 2
 <module xmlns="urn:jboss:module:1.0" name="sdm4.config.<%=modulename%>">
3 3
     <resources>
4 4
         <resource-root path="."/>
  5
+        <resource-root path="rowset.jar"/>
5 6
     </resources>
  7
+    <dependencies>
  8
+        <module name="javax.sql"/>
  9
+    </dependencies>
6 10
 </module>

0 notes on commit fd16d70

Please sign in to comment.
Something went wrong with that request. Please try again.