[jboss-cvs] JBossAS SVN: r88011 - in projects/fresh/trunk: etc and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Apr 29 11:46:01 EDT 2009


Author: ctomc
Date: 2009-04-29 11:46:01 -0400 (Wed, 29 Apr 2009)
New Revision: 88011

Added:
   projects/fresh/trunk/etc/
   projects/fresh/trunk/etc/0010-cp2-system-service.xml
   projects/fresh/trunk/etc/0020-cp2-threadpool-service.xml
   projects/fresh/trunk/etc/0040-cp2-vfs-service.xml
   projects/fresh/trunk/etc/0050-cp2-systemshell-service.xml
   projects/fresh/trunk/etc/0051-cp2-vfs-init-service.xml
   projects/fresh/trunk/etc/0053-cp2-scripting-service.xml
   projects/fresh/trunk/etc/0055-cp2-staticinit-service.xml
   projects/fresh/trunk/etc/0062-cp2-ssh-service.xml
   projects/fresh/trunk/etc/cp2-scripting.xml
Log:
configs

Added: projects/fresh/trunk/etc/0010-cp2-system-service.xml
===================================================================
--- projects/fresh/trunk/etc/0010-cp2-system-service.xml	                        (rev 0)
+++ projects/fresh/trunk/etc/0010-cp2-system-service.xml	2009-04-29 15:46:01 UTC (rev 88011)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--  # # #  SYSTEM  # # # -->
+<!-- we should change this ... don't use constructor to initialize parameters. -->
+<server>
+	<!--mbean code="org.jboss.fresh.parsek.deployer.modules.Cp2ConfigurationService" name="FRESH:service=Cp2ConfigurationService">
+		<attribute name="JNDIName">java:/FRESH/Configuration</attribute>
+                <attribute name="Properties">
+				cp2.UserTransaction.jndiName=UserTransaction
+		</attribute>
+	</mbean-->
+
+    <mbean code="org.jboss.fresh.parsek.deployer.modules.ContextBinder" name="FRESH:service=GlobalContext">
+	    <attribute name="JNDIName">java:/FRESH/GlobalContext</attribute>
+    </mbean>
+
+</server>
\ No newline at end of file

Added: projects/fresh/trunk/etc/0020-cp2-threadpool-service.xml
===================================================================
--- projects/fresh/trunk/etc/0020-cp2-threadpool-service.xml	                        (rev 0)
+++ projects/fresh/trunk/etc/0020-cp2-threadpool-service.xml	2009-04-29 15:46:01 UTC (rev 88011)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+  <mbean code="org.jboss.fresh.parsek.deployer.modules.PoolService" name="FRESH:service=ThreadPool">
+		<attribute name="JNDIName">java:/FRESH/ThreadPool</attribute>
+		<attribute name="FactoryName">org.jboss.fresh.cpii.services.PoolRunnerFactory</attribute>
+		<attribute name="PoolName">ThreadPool</attribute>
+		<attribute name="MinSize">0</attribute>
+		<attribute name="MaxSize">1000</attribute>
+		<attribute name="Blocking">true</attribute>
+		<attribute name="BlockingTimeout">10000</attribute>
+  </mbean>
+</server>
\ No newline at end of file

Added: projects/fresh/trunk/etc/0040-cp2-vfs-service.xml
===================================================================
--- projects/fresh/trunk/etc/0040-cp2-vfs-service.xml	                        (rev 0)
+++ projects/fresh/trunk/etc/0040-cp2-vfs-service.xml	2009-04-29 15:46:01 UTC (rev 88011)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+        <mbean code="org.jboss.fresh.parsek.deployer.modules.VFSService" name="FRESH:service=VFS.Mem">
+                <attribute name="JNDIName">java:/FRESH/VFSMem</attribute>
+                <attribute name="VFSImpl">org.jboss.fresh.vfs.impl.DefaultVFS</attribute>
+                <attribute name="MetaClassFactory">org.jboss.fresh.vfs.impl.mem.MemVFSMetaFactory</attribute>
+                <attribute name="StoreClassFactory">org.jboss.fresh.vfs.impl.mem.MemVFSStoreFactory</attribute>
+                <attribute name="MetaPropertyString">memfs.name=root</attribute>
+                <attribute name="StorePropertyString">memfs.name=root</attribute>
+                <attribute name="TagFactory">org.jboss.fresh.vfs.impl.TimeTagFactory</attribute>
+                <depends>FRESH:service=Cp2ConfigurationService</depends>
+        </mbean>
+
+        <mbean code="org.jboss.fresh.parsek.deployer.modules.RootVFSService" name="FRESH:service=VFS.Root">
+                <attribute name="JNDIName">java:/FRESH/VFS</attribute>
+                <attribute name="Automount">/=java:/FRESH/VFSMem</attribute>
+                <depends>FRESH:service=VFS.Mem</depends>
+        </mbean>
+
+
+
+
+</server>

Added: projects/fresh/trunk/etc/0050-cp2-systemshell-service.xml
===================================================================
--- projects/fresh/trunk/etc/0050-cp2-systemshell-service.xml	                        (rev 0)
+++ projects/fresh/trunk/etc/0050-cp2-systemshell-service.xml	2009-04-29 15:46:01 UTC (rev 88011)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+	<mbean code="org.jboss.fresh.parsek.deployer.modules.SystemShellService" name="FRESH:service=SystemShell">
+		<attribute name="JNDIName">java:/FRESH/SystemShell</attribute>
+		<attribute name="ThreadPoolJNDIName">java:/FRESH/ThreadPool</attribute>
+		<attribute name="VFSJNDIName">java:/FRESH/VFS</attribute>
+		<attribute name="GCInterval">10000</attribute>
+		<depends>FRESH:service=Cp2ConfigurationService</depends>
+		<depends>FRESH:service=ThreadPool</depends>
+		<depends>FRESH:service=VFS.Root</depends>
+	</mbean>
+</server>

Added: projects/fresh/trunk/etc/0051-cp2-vfs-init-service.xml
===================================================================
--- projects/fresh/trunk/etc/0051-cp2-vfs-init-service.xml	                        (rev 0)
+++ projects/fresh/trunk/etc/0051-cp2-vfs-init-service.xml	2009-04-29 15:46:01 UTC (rev 88011)
@@ -0,0 +1,237 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+
+        <mbean code="com.parsek.deployer.modules.ShellExecutorService" name="FRESH:service=VFS.Mem.Init">
+                <attribute name="BatchCode">
+mkdir /home
+mkdir /home/admin
+mkdir /bin
+touch /bin/cd
+setffld /bin/cd mime cp2-shell/executable
+setattr /bin/cd Class com.parsek.shell.commands.CDExe
+touch /bin/ls
+setffld /bin/ls mime cp2-shell/executable
+setattr /bin/ls Class com.parsek.shell.commands.LsExe
+touch /bin/cat
+setffld /bin/cat mime cp2-shell/executable
+setattr /bin/cat Class com.parsek.shell.commands.CatExe
+touch /bin/mkdir
+setffld /bin/mkdir mime cp2-shell/executable
+setattr /bin/mkdir Class com.parsek.shell.commands.MkDirExe
+touch /bin/ln
+setffld /bin/ln mime cp2-shell/executable
+setattr /bin/ln Class com.parsek.shell.commands.LnExe
+touch /bin/touch
+setffld /bin/touch mime cp2-shell/executable
+setattr /bin/touch Class com.parsek.shell.commands.TouchExe
+touch /bin/rm
+setffld /bin/rm mime cp2-shell/executable
+setattr /bin/rm Class com.parsek.shell.commands.RmExe
+touch /bin/setattr
+setffld /bin/setattr mime cp2-shell/executable
+setattr /bin/setattr Class com.parsek.shell.commands.SetAttrExe
+touch /bin/info
+setffld /bin/info mime cp2-shell/executable
+setattr /bin/info Class com.parsek.shell.commands.InfoExe
+touch /bin/cp
+setffld /bin/cp mime cp2-shell/executable
+setattr /bin/cp Class com.parsek.shell.commands.CpExe
+touch /bin/mv
+setffld /bin/mv mime cp2-shell/executable
+setattr /bin/mv Class com.parsek.shell.commands.MvExe
+touch /bin/run
+setffld /bin/run mime cp2-shell/executable
+setattr /bin/run Class com.parsek.shell.commands.RunExe
+touch /bin/set
+setffld /bin/set mime cp2-shell/executable
+setattr /bin/set Class com.parsek.shell.commands.SetCommand
+touch /bin/echo
+setffld /bin/echo mime cp2-shell/executable
+setattr /bin/echo Class com.parsek.shell.commands.EchoExe
+touch /bin/ps
+setffld /bin/ps mime cp2-shell/executable
+setattr /bin/ps Class com.parsek.shell.commands.PsExe
+touch /bin/setffld
+setffld /bin/setffld mime cp2-shell/executable
+setattr /bin/setffld Class com.parsek.shell.commands.SetFileFieldExe
+touch /bin/lslns
+setffld /bin/lslns mime cp2-shell/executable
+setattr /bin/lslns Class com.parsek.shell.commands.LsLnsExe
+touch /bin/echos
+setffld /bin/echos mime cp2-shell/executable
+setattr /bin/echos Class com.parsek.shell.commands.EchosExe
+touch /bin/ctx
+setffld /bin/ctx mime cp2-shell/executable
+setattr /bin/ctx Class com.parsek.shell.commands.ContextExe
+touch /bin/project
+setffld /bin/project mime cp2-shell/executable
+setattr /bin/project Class com.parsek.shell.commands.ProjectExe
+touch /bin/exec
+setffld /bin/exec mime cp2-shell/executable
+setattr /bin/exec Class com.parsek.shell.commands.RunExe
+touch /bin/sh
+setffld /bin/sh mime cp2-shell/executable
+setattr /bin/sh Class com.parsek.shell.commands.ScriptExe
+touch /bin/jndi
+setffld /bin/jndi mime cp2-shell/executable
+setattr /bin/jndi Class com.parsek.shell.commands.JNDIExe
+touch /bin/deploy
+setffld /bin/deploy mime cp2-shell/executable
+setattr /bin/deploy Class com.parsek.shell.commands.ProjectDeployExe
+touch /bin/grep
+setffld /bin/grep mime cp2-shell/executable
+setattr /bin/grep Class com.parsek.shell.commands.GrepExe
+touch /bin/reg
+setffld /bin/reg mime cp2-shell/executable
+setattr /bin/reg Class com.parsek.shell.commands.RegistryExe
+touch /bin/ecquery
+setffld /bin/ecquery mime cp2-shell/executable
+setattr /bin/ecquery Class com.parsek.shell.commands.EventCentralQueryExe
+touch /bin/wget
+setffld /bin/wget mime cp2-shell/executable
+setattr /bin/wget Class com.parsek.shell.commands.util.WebGetExe
+touch /bin/history
+setffld /bin/history mime cp2-shell/executable
+setattr /bin/history Class com.parsek.shell.commands.HistoryExe
+touch /bin/sync
+setffld /bin/sync mime cp2-shell/executable
+setattr /bin/sync Class com.parsek.shell.commands.cms.SyncQueueExecutable
+touch /bin/kill
+setffld /bin/kill mime cp2-shell/executable
+setattr /bin/kill Class com.parsek.shell.commands.KillExe
+touch /bin/mbinvoke
+setffld /bin/mbinvoke mime cp2-shell/executable
+setattr /bin/mbinvoke Class com.parsek.shell.commands.MBeanInvokeExe
+touch /bin/mbquery
+setffld /bin/mbquery mime cp2-shell/executable
+setattr /bin/mbquery Class com.parsek.shell.commands.MBeanQueryExe
+touch /bin/alias
+setffld /bin/alias mime cp2-shell/executable
+setattr /bin/alias Class com.parsek.shell.commands.AliasExe
+mkdir /etc
+cat &gt; /etc/seg_fetch.js &amp;&lt; ../cp2/vfs/init/etc/seg_fetch.js
+mkdir /etc/shell
+cat &gt; /etc/shell/init.rc &amp;&lt; ../cp2/vfs/init/init.rc
+mkdir /usr
+mkdir /usr/local
+mkdir /usr/local/cms
+touch /usr/local/cms/cmsfilter
+setffld /usr/local/cms/cmsfilter mime cp2-shell/executable
+setattr /usr/local/cms/cmsfilter Class com.parsek.shell.commands.cms.CMSFilterExe
+touch /usr/local/cms/events
+setffld /usr/local/cms/events mime cp2-shell/executable
+setattr /usr/local/cms/events Class com.parsek.shell.commands.EventsExe
+touch /usr/local/cms/loadObject
+setffld /usr/local/cms/loadObject mime cp2-shell/executable
+setattr /usr/local/cms/loadObject Class com.parsek.shell.commands.cms.LoadObjExe
+touch /usr/local/cms/queryObjects
+setffld /usr/local/cms/queryObjects mime cp2-shell/executable
+setattr /usr/local/cms/queryObjects Class com.parsek.shell.commands.cms.QueryObjExe
+touch /usr/local/cms/removeObject
+setffld /usr/local/cms/removeObject mime cp2-shell/executable
+setattr /usr/local/cms/removeObject Class com.parsek.shell.commands.cms.RemoveObjExe
+touch /usr/local/cms/saveObject
+setffld /usr/local/cms/saveObject mime cp2-shell/executable
+setattr /usr/local/cms/saveObject Class com.parsek.shell.commands.cms.SaveObjExe
+touch /usr/local/cms/ctxdelegate
+setffld /usr/local/cms/ctxdelegate mime cp2-shell/executable
+setattr /usr/local/cms/ctxdelegate Class com.parsek.shell.commands.cms.CtxDelegateExe
+touch /usr/local/cms/objformat
+setffld /usr/local/cms/objformat mime cp2-shell/executable
+setattr /usr/local/cms/objformat Class com.parsek.shell.commands.cms.ObjIFormatExe
+touch /usr/local/cms/binary
+setffld /usr/local/cms/binary mime cp2-shell/executable
+setattr /usr/local/cms/binary Class com.parsek.shell.commands.cms.BinaryExe
+touch /usr/local/cms/createObject
+setffld /usr/local/cms/createObject mime cp2-shell/executable
+setattr /usr/local/cms/createObject Class com.parsek.shell.commands.cms.CreateObjExe
+touch /usr/local/cms/pkgen
+setffld /usr/local/cms/pkgen mime cp2-shell/executable
+setattr /usr/local/cms/pkgen Class com.parsek.shell.commands.cms.PKGenExe
+touch /usr/local/cms/category
+setffld /usr/local/cms/category mime cp2-shell/executable
+setattr /usr/local/cms/category Class com.parsek.shell.commands.cms.CategoryExe
+touch /usr/local/cms/children
+setffld /usr/local/cms/children mime cp2-shell/executable
+setattr /usr/local/cms/children Class com.parsek.shell.commands.cms.ChildrenExe
+touch /usr/local/cms/diag
+setffld /usr/local/cms/diag mime cp2-shell/executable
+setattr /usr/local/cms/diag Class com.parsek.shell.commands.util.DiagExe
+touch /usr/local/cms/queryRelations
+setffld /usr/local/cms/queryRelations mime cp2-shell/executable
+setattr /usr/local/cms/queryRelations Class com.parsek.shell.commands.cms.QueryRelationsExe
+touch /usr/local/cms/addRelation
+setffld /usr/local/cms/addRelation mime cp2-shell/executable
+setattr /usr/local/cms/addRelation Class com.parsek.shell.commands.cms.AddRelationExe
+touch /usr/local/cms/removeRelation
+setffld /usr/local/cms/removeRelation mime cp2-shell/executable
+setattr /usr/local/cms/removeRelation Class com.parsek.shell.commands.cms.RemoveRelationExe
+touch /usr/local/cms/cquery
+setffld /usr/local/cms/cquery mime cp2-shell/executable
+setattr /usr/local/cms/cquery Class com.parsek.shell.commands.cms.CachedQueryObjExe
+touch /usr/local/cms/rsget
+setffld /usr/local/cms/rsget mime cp2-shell/executable
+setattr /usr/local/cms/rsget Class com.parsek.shell.commands.cms.RSGetExe
+touch /usr/local/cms/rsclose
+setffld /usr/local/cms/rsclose mime cp2-shell/executable
+setattr /usr/local/cms/rsclose Class com.parsek.shell.commands.cms.RSCloseExe
+touch /usr/local/cms/cqueryRelations
+setffld /usr/local/cms/cqueryRelations mime cp2-shell/executable
+setattr /usr/local/cms/cqueryRelations Class com.parsek.shell.commands.cms.CachedQueryRelationsExe
+touch /usr/local/cms/rsinfo
+setffld /usr/local/cms/rsinfo mime cp2-shell/executable
+setattr /usr/local/cms/rsinfo Class com.parsek.shell.commands.cms.RSInfoExe
+touch /usr/local/cms/savexml
+setffld /usr/local/cms/savexml mime cp2-shell/executable
+setattr /usr/local/cms/savexml Class com.parsek.shell.commands.cms.XmlSaverExe
+touch /usr/local/cms/moveRelation
+setffld /usr/local/cms/moveRelation mime cp2-shell/executable
+setattr /usr/local/cms/moveRelation Class com.parsek.shell.commands.cms.MoveRelationExe
+touch /usr/local/cms/security
+setffld /usr/local/cms/security mime cp2-shell/executable
+setattr /usr/local/cms/security Class com.parsek.shell.commands.cms.SecurityExe
+touch /usr/local/cms/idxclear
+setffld /usr/local/cms/idxclear mime cp2-shell/executable
+setattr /usr/local/cms/idxclear Class com.parsek.shell.commands.IndexClearExe
+touch /usr/local/cms/types
+setffld /usr/local/cms/types mime cp2-shell/executable
+setattr /usr/local/cms/types Class com.parsek.shell.commands.cms.ListAssetTypesExe
+touch /usr/local/cms/queryMeta
+setffld /usr/local/cms/queryMeta mime cp2-shell/executable
+setattr /usr/local/cms/queryMeta Class com.parsek.shell.commands.cms.QueryMetaExe
+touch /usr/local/cms/idxcreate
+setffld /usr/local/cms/idxcreate mime cp2-shell/executable
+setattr /usr/local/cms/idxcreate Class com.parsek.shell.commands.IndexCreateExe
+touch /usr/local/cms/idxquery
+setffld /usr/local/cms/idxquery mime cp2-shell/executable
+setattr /usr/local/cms/idxquery Class com.parsek.shell.commands.IndexQueryExe
+touch /usr/local/cms/idxadd
+setffld /usr/local/cms/idxadd mime cp2-shell/executable
+setattr /usr/local/cms/idxadd Class com.parsek.shell.commands.IndexAddExe
+touch /usr/local/cms/idxdump
+setffld /usr/local/cms/idxdump mime cp2-shell/executable
+setattr /usr/local/cms/idxdump Class com.parsek.shell.commands.IndexDumpExe
+touch /usr/local/cms/idxupdate
+setffld /usr/local/cms/idxupdate mime cp2-shell/executable
+setattr /usr/local/cms/idxupdate Class com.parsek.shell.commands.IndexUpdateExe
+touch /usr/local/cms/idxoptimize
+setffld /usr/local/cms/idxoptimize mime cp2-shell/executable
+setattr /usr/local/cms/idxoptimize Class com.parsek.shell.commands.IndexOptimizeExe
+touch /usr/local/cms/idxmerge
+setffld /usr/local/cms/idxmerge mime cp2-shell/executable
+setattr /usr/local/cms/idxmerge Class com.parsek.shell.commands.IndexMergeExe
+mkdir /tmp
+mkdir /projects
+
+
+                </attribute>
+                <attribute name="ExecuteOnStart">true</attribute>
+                <attribute name="StopOnError">false</attribute>
+                <attribute name="UseLocal">true</attribute>
+                <attribute name="SvcName">java:/FRESH/SystemShell</attribute>
+                <depends>FRESH:service=SystemShell</depends>
+        </mbean>
+
+</server>
\ No newline at end of file

Added: projects/fresh/trunk/etc/0053-cp2-scripting-service.xml
===================================================================
--- projects/fresh/trunk/etc/0053-cp2-scripting-service.xml	                        (rev 0)
+++ projects/fresh/trunk/etc/0053-cp2-scripting-service.xml	2009-04-29 15:46:01 UTC (rev 88011)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+	<mbean code="org.jboss.fresh.parsek.deployer.modules.ScriptingService" name="FRESH:service=Scripting">
+		<attribute name="JNDIName">java:/FRESH/Scripting</attribute>
+		<depends>FRESH:service=SystemShell</depends>
+		<depends>FRESH:service=VFS.Mem.Init</depends>
+	</mbean>
+</server>

Added: projects/fresh/trunk/etc/0055-cp2-staticinit-service.xml
===================================================================
--- projects/fresh/trunk/etc/0055-cp2-staticinit-service.xml	                        (rev 0)
+++ projects/fresh/trunk/etc/0055-cp2-staticinit-service.xml	2009-04-29 15:46:01 UTC (rev 88011)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+	<mbean code="org.jboss.fresh.parsek.deployer.modules.ShellExecutorService" name="FRESH:service=ShellExecutor,name=StaticInit">
+		<attribute name="BatchFile">../cp2/vfs/init/static-init.sh</attribute>
+		<attribute name="StopOnError">false</attribute>
+		<attribute name="LogFile">../cp2/vfs/init/static-init.log</attribute>
+		<attribute name="SvcName">java:/FRESH/SystemShell</attribute>
+		<attribute name="UseLocal">true</attribute>
+		<attribute name="ExecuteOnStart">true</attribute>
+		<depends>FRESH:service=SystemShell</depends>
+	</mbean>
+</server>
\ No newline at end of file

Added: projects/fresh/trunk/etc/0062-cp2-ssh-service.xml
===================================================================
--- projects/fresh/trunk/etc/0062-cp2-ssh-service.xml	                        (rev 0)
+++ projects/fresh/trunk/etc/0062-cp2-ssh-service.xml	2009-04-29 15:46:01 UTC (rev 88011)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+	<mbean code="org.jboss.fresh.parsek.deployer.modules.SSHService" name="CP2:service=SSHServer">
+		<attribute name="HomeDirectory">../cp2/ssh/</attribute>
+		<depends>CP2:service=SystemShell</depends>
+		<depends>CP2:service=VFS.Mem.Init</depends>
+	</mbean>
+</server>
\ No newline at end of file

Added: projects/fresh/trunk/etc/cp2-scripting.xml
===================================================================
--- projects/fresh/trunk/etc/cp2-scripting.xml	                        (rev 0)
+++ projects/fresh/trunk/etc/cp2-scripting.xml	2009-04-29 15:46:01 UTC (rev 88011)
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+	<scripting>
+		<provider language="javascript"  ext="js"  class="org.apache.bsf.engines.javascript.JavaScriptEngine" />
+		<provider language="jython"      ext="jy"  class="org.apache.bsf.engines.jython.JythonEngine" />
+		<provider language="beanshell"   ext="bsh" class="bsh.util.BeanShellBSFEngine" />
+		<provider language="judoscript"  ext="jud;judo" class="com.judoscript.BSFJudoEngine" />
+	</scripting>
\ No newline at end of file




More information about the jboss-cvs-commits mailing list