"julien(a)jboss.com" wrote : one remaining issue is logging configuration in tomcat, for now it displays everything single line of jboss aop trace :-(
Hi Julien,
Is there an easy fix for this? I'm new to AOP based logging and after having a look around couldn't find any docs or obvious configuration files that might control this. I would greatly appreciate being able to turn the trace and debug output off.
Cheers,
Dean
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139111#4139111
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139111
The only issue is how to generically integrate the alt-dd path. Most ee descriptor has an alt-dd child of the root element, so one way to handle this would be to extend AbstractParsingDeployerWithOutput to have an alt-dd property that specifies element name of the alt-dd, and createMetaData(DeploymentUnit unit, String name, String suffix, String key) would do a simple jaxp query of the document to see if alt-dd path name exists. It would have to be encapsulated in another abstract method like:
| protected abstract String getAltName(DeploymentUnit unit, String name) throws Exception;
|
as we don't know how to obtain the input stream for the name at the AbstractParsingDeployerWithOutput level. The jaxp default impl would have to be added to AbstractVFSParsingDeployer.
http://jira.jboss.com/jira/browse/JBDEPLOY-27
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139097#4139097
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139097
"alesj" wrote : But should there be a remove/unregister on uninstall of deployer?
|
Looking at DefaultSchemaResolver.
Shouldn't this
| /** Namespace to JBossXBBuilder binding class */
| private WeakHashMap<String, Class> uriToClass = new WeakHashMap<String, Class>();
| /** SchemaLocation to JBossXBBuilder binding class */
| private WeakHashMap<String, Class> schemaLocationToClass = new WeakHashMap<String, Class>();
|
be WeakValueHashMap?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139092#4139092
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139092
"adrian(a)jboss.org" wrote :
| I guess we could add an extra option to the SchemaResolverParser
|
| | <propertry name="registerWithJBossXB">true</property>
| |
| which would take the schema name from the annotation on the class/package
| and register the generated schema binding with JBossXB?
|
This is now done, see SchemaResolverXBTestCase.
But should there be a remove/unregister on uninstall of deployer?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139090#4139090
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139090