[JBoss Seam] - Re: Seam application with tree on left and editor for select
by christian.bauer@jboss.com
a) Well, the data model in for the tree is a Trinidad TreeModel, right now Seam doesn't have a @DataModel/@DataModelSelection binding for that. If you look at the xhtml, I use an action listener in the tree node facet: catalog.setSelectedCategory(category). I didn't want to dig deeper into the underdocumented mess of tree components, so there might be a better way to get a direct binding, instead of copying a value into a setter method.
b) Actually, the only client that I expect to call closeCatalog() is Seam when it times out the conversation. This would be the case when the user starts a new catalog conversation by clicking on the top-level navigation menu "Catalog". The previous conversation is then inactive and timed out. Not sure this is the best strategy, I'll need to decide when the application is a little more complex.
I guess your question is really if the right-hand side edit panel runs inside the same conversation and if it's a nested conversation. Yes, and Maybe. It's definitely the same identity scope for database objects, so I'd use one overall conversation and one conversation-scope persistence context.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979031#3979031
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979031
19 years, 8 months
[Installation, Configuration & Deployment] - Log4j error
by emontana
Hi, I'm a new user in jboss. My problem is when I run jboss obtain the following log:
| 0:20:38,747 INFO [TomcatDeployer] deploy, ctxPath=/Cultura, warUrl=file:/usr/share/jboss-4.0.2/server/default/deploy/Cultura.war/
| 10:20:41,191 INFO [STDOUT] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.
| 10:20:41,191 INFO [STDOUT] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by
| 10:20:41,192 INFO [STDOUT] log4j:ERROR [WebappClassLoader
| delegate: false
| repositories:
| /WEB-INF/classes/
| ----------> Parent Classloader:
| java.net.FactoryURLClassLoader@1b2ede8
| ] whereas object of type
| 10:20:41,192 INFO [STDOUT] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@e102dc].
| 10:20:41,446 INFO [STDOUT] log4j:ERROR Could not create an Appender. Reported error follows.
| 10:20:41,446 INFO [STDOUT] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppender
| 10:20:41,448 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:165)
| 10:20:41,513 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
| 10:20:41,513 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
| 10:20:41,513 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
| 10:20:41,514 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
| 10:20:41,514 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
| 10:20:41,514 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
| 10:20:41,514 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
| 10:20:41,570 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
| 10:20:41,571 INFO [STDOUT] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
| 10:20:41,571 INFO [STDOUT] at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
| 10:20:41,571 INFO [STDOUT] at org.apache.log4j.Logger.getLogger(Logger.java:94)
| .....
|
I have tried to modify the file jbossweb-tomcat55.sar/META-INF/jboss-service.xml
as in other post is said but I obtain the same error or the followin:
ERROR: invalid console appender config detected, console stream is loopingShutting down
How can I fix it?
Thanks in advance!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979022#3979022
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979022
19 years, 8 months