[jboss-user] [JBoss Seam] - problem with character-encoding-filter in components.xml

hasc do-not-reply at jboss.com
Thu May 24 07:23:57 EDT 2007


Hi,

i added the following entry to components.xml

<web:character-encoding-filter encoding="UTF-8" 
  |    override-client="true" 
  |    url-pattern="*.seam"/>

and when i deploy the ear i get the following error



at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | 	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
  | 	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  | 	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
  | 	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
  | Caused by: org.dom4j.DocumentException: Error on line 58 of document  : The prefix "web" for element "web:character-encoding-filter" is not bound. Nested exception: The prefix "web" for element "web:character-encoding-filter" is not bound.
  | 	at org.dom4j.io.SAXReader.read(SAXReader.java:482)
  | 	at org.dom4j.io.SAXReader.read(SAXReader.java:343)
  | 	at org.jboss.seam.util.XML.getRootElement(XML.java:16)
  | 	at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:133)
  | 	... 92 more


can anyone help?

i use seam 1.21GA

thanks and regards,
hasc

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048219#4048219

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048219



More information about the jboss-user mailing list