-
1. Re: Not deploy and not scan some directories at the start of
peterj Dec 19, 2007 1:33 PM (in response to nmaurel)Look at the server/xxx/conf/jboss-service.xml file, lats mbean in the file, the FilterInstance attribute and its properties.
-
2. Re: Not deploy and not scan some directories at the start of
nmaurel Dec 20, 2007 6:30 AM (in response to nmaurel)hi,
thanks for ur answer.
I tried to look at jboss-service.xml and i added theses lines :
<!-- COMMENT LINE : THIS LINE WAS IN THE STANDARD FILE BEFORE MY ADDING
org.jboss.deployment.scanner.DeploymentFilter
-->
<!-- BEGIN OF MY ADDING
The FilterInstance specifies a URLLister.URLFilter for scanned
directories. This DeploymentFilter is initialized with the given
prefixes, suffixes and matches that define which URLs should be
ignored.
-->
<!-- Files starting with theses strings are ignored -->
#,%,\,,.,_$
<!-- Files ending with theses strings are ignored -->
#,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh,.doc,.pdf,.xls,.html,.sql
<!-- Files matching with theses strings are ignored -->
.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags
<!-- NCM : 20/12/2007 Ajout de cette partie pour test , END OF MY ADDING -->
but when i restarted jboss i had this message on boot.log :
2007-12-20 12:25:28,723 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/E:/INTEG/AccessCommerce/CDS/jboss-3.2.3/server/CDS/conf/jboss-service.xml
2007-12-20 12:25:28,739 ERROR [org.jboss.system.server.Server] Root deployment has missing dependencies; continuing
Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.deployment:type=DeploymentScanner,flavor=URL
state: FAILED
I Depend On: jboss.system:service=MainDeployer
Depends On Me: org.jboss.deployment.DeploymentException: No Attribute found with name: FilterInstance]
at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1135)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
did i make a mistake ??
Nicolas. -
3. Re: Not deploy and not scan some directories at the start of
peterj Dec 20, 2007 1:28 PM (in response to nmaurel)You never said which version of JBossAS you were using so I assumed the latest version, 4.2.3, and my suggestion was based on that assumption.
If the FilterInstance attribute does not appear in 3.2.3 (which appears to be the case, based on the error message), then you cannot use this capability.
Finally, when posting xml text, always bracket it with code tags ([ code ]...[ /code ], without the spaces). -
4. Re: Not deploy and not scan some directories at the start of
nmaurel Jan 3, 2008 9:47 AM (in response to nmaurel)hi !!
firstable, i want to wish u a happy new year.
Do you have another solution for jboss 3.2.2 ??
thanks