You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Hengki Suwandi (JIRA)" <ji...@apache.org> on 2010/01/06 19:03:54 UTC
[jira] Issue Comment Edited: (TAP5-628) Parameter namespacePrefix
was null when deploying in Glassfish
[ https://issues.apache.org/jira/browse/TAP5-628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797205#action_12797205 ]
Hengki Suwandi edited comment on TAP5-628 at 1/6/10 6:03 PM:
-------------------------------------------------------------
The above procedure has been working for me for Glassfish v2.1 But it does not work for the latest Glassfish v3. The symptom is the same. To make it work, I do not apply the java system properties, and copy the woodstox*.jar and stax2*.jar to $GLASSFISH_HOME/modules/ directory. Then restart Glassfish.
4) copy woodstox-core-asl*.jar and stax2-api*.jar from Tapestry application to $GLASSFISH_HOME/modules/ directory
5) restart Glassfish.
was (Author: hengki):
The above procedure has been working for me for Glassfish v2.1 But it does not work for the latest Glassfish v3. The symptom is the same. To make it work, I do not apply the java system properties, and copy the woodstox*.jar and stax2*.jar to $GLASSFISH_HOME/modules/ directory. Then restart Glassfish.
4) copy woodstox-core-asl*.jar and stax2-api*.jar from Tapestry application to $GLASSFISH_HOME/modules/ directory (if using Glassfish default domain1).
5) restart Glassfish.
> 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.