[ https://issues.apache.org/jira/browse/TAP5-628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698733#action_12698733 ]
Thilo Tanner commented on TAP5-628: ----------------------------------- Thanks a lot for your research! Btw. Tapestry is a great framework! Meanwhile we get Glassfish to work by copying the stax libs to the lib/ext directory. Reference: http://mail-archives.apache.org/mod_mbox/tapestry-users/200903.mbox/%3c1238516597597-2563985.p...@n2.nabble.com%3e > Parameter namespacePrefix was null when deploying in Glassfish > -------------------------------------------------------------- > > Key: TAP5-628 > URL: https://issues.apache.org/jira/browse/TAP5-628 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.1.0.0, 5.1.0.1, 5.1.0.2 > Environment: Ubuntu 8.10 / Mac OS X 10.5.6, Glassfish V2.1 and V3 / > Jetty 6 > Reporter: Thilo Tanner > Assignee: Howard M. Lewis Ship > Attachments: t5example.zip > > > T5 throws "java.lang.IllegalArgumentException: Parameter namespacePrefix was > null" when deploying application on Glassfish (v2.1 and v3). With Jetty > everything works fine. It seems that Glassfish handles namespaces a bit > different than other containers do. > The error *only* occurs when a Doctype is set. It seems that the XML parser > of glassfish sets the variable "namespacePrefix" in the method > "defineNamespace" (class: org.apache.tapestry5.dom.Element) to null. When I > change the value to "" (empty string) by hand (in the debugger), everything > works fine. Would it be possible to change the behaviour that a null > namespacePrefix will be accepted? When no Doctype is defined, the method > defineNamespace is not called. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.