You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jonathan Bullock <jo...@fugro-data.com> on 2008/08/11 15:08:21 UTC

[Trinidad] v1.0.9 on Tomcat 5.5.26

Hello all,

I've been trying to upgrade the version of Trinidad we use in one of our
web apps to 1.0.9. When I come to deploy the web app on Tomcat v5.5.26 I
get an error in the logs when the Trinidad faces-config.xml is parsed. 

To check the issue is not down to incompatible libraries in our web app
I tried to deploy the Trinidad 1.0.9 examples web app on a clean install
of Tomcat v5.5.26 but I get the same error.

Every other version of Trinidad from 1.0.4 to 1.0.8 works fine on Tomcat
5.5.26, it's just 1.0.9 that I'm getting this error. Is there an issue
with 1.0.9 as I've noticed this version has only just been released?

The error I'm seeing in the logs is (it's repeated for various
elements):

---

INFO: Reading config
jar:file:/apps/apache-tomcat-5.5.26/webapps/trinidad-demo-1.0.9/WEB-INF/lib/trinidad-impl-1.0.9.jar!/META-INF/faces-config.xml
Aug 11, 2008 12:46:30 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 69 column 30: Element type "literal-only"
must be declared.
org.xml.sax.SAXParseException: Element type "literal-only" must be
declared.
	at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
	at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
	at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
	at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
	at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1960)
	at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:795)
	at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
	at org.apache.commons.digester.Digester.parse(Digester.java:1572)
	at
org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:186)
	at
org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(FacesConfigurator.java:380)
	at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:131)
	at
org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:68)
	at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:51)
	at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
	at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
	at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831)
	at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

---

Thanks in advance.

Jon


---

Fugro Data Solutions Limited
Tyn y Coed
Llanrhos
Llandudno
North Wales
LL30 1SA
United Kingdom

Tel: +44 (0)1492 563555
Fax: +44 (0)1492 592030

General Email: info@fugro-data.com

Website: www.fugro-data.com

This email and any attachments are confidential. They may 
contain privileged information and are intended for the named 
addressee(s) only. They must not be distributed without our 
consent. If you are not the intended recipient, please notify us 
immediately and do not disclose, distribute, or retain this 
email or any part of it. Unless expressly stated, opinions in 
this email are those of the individual sender, and not of Fugro 
Data Solutions Ltd. We believe but do not warrant that this
e-mail and any attachments are virus free. You must therefore 
take full responsibility for virus checking. Fugro Data 
Solutions Ltd and its subsidiaries may monitor email traffic 
data and also the content of email for the purposes of security. 
This email is not intended to create legal relations.

Fugro Data Solutions Limited is a limited company registered in
England and Wales (Reg No. 5583527) at Tyn y Coed, Pentywyn Road,
Llanrhos, Llandudno, LL30 1SA.  VAT No. GB901440962.

Re: [Trinidad] v1.0.9 on Tomcat 5.5.26

Posted by Jonathan Bullock <jo...@fugro-data.com>.
Bug has been opened. :)

I've gone back to use 1.0.8 in our web app for the time being. 

Jon

On Tue, 2008-08-12 at 06:44 +0200, Matthias Wessendorf wrote:
> Hi,
> 
> > INFO: Reading config
> > jar:file:/apps/apache-tomcat-5.5.26/webapps/trinidad-demo-1.0.9/WEB-INF/lib/trinidad-impl-1.0.9.jar!/META-INF/faces-config.xml
> > Aug 11, 2008 12:46:30 PM org.apache.commons.digester.Digester error
> > SEVERE: Parse Error at line 69 column 30: Element type "literal-only"
> > must be declared.
> > org.xml.sax.SAXParseException: Element type "literal-only" must be
> > declared.
> >        at
> 
> for some reason some XML from the JSF 1.2 faces-cfg is now in
> the internal faces-config :-(
> 
> can you open a bug ?
> 
> -matthias
> 
> 


---

Fugro Data Solutions Limited
Tyn y Coed
Llanrhos
Llandudno
North Wales
LL30 1SA
United Kingdom

Tel: +44 (0)1492 563555
Fax: +44 (0)1492 592030

General Email: info@fugro-data.com

Website: www.fugro-data.com

This email and any attachments are confidential. They may 
contain privileged information and are intended for the named 
addressee(s) only. They must not be distributed without our 
consent. If you are not the intended recipient, please notify us 
immediately and do not disclose, distribute, or retain this 
email or any part of it. Unless expressly stated, opinions in 
this email are those of the individual sender, and not of Fugro 
Data Solutions Ltd. We believe but do not warrant that this
e-mail and any attachments are virus free. You must therefore 
take full responsibility for virus checking. Fugro Data 
Solutions Ltd and its subsidiaries may monitor email traffic 
data and also the content of email for the purposes of security. 
This email is not intended to create legal relations.

Fugro Data Solutions Limited is a limited company registered in
England and Wales (Reg No. 5583527) at Tyn y Coed, Pentywyn Road,
Llanrhos, Llandudno, LL30 1SA.  VAT No. GB901440962.

Re: [Trinidad] v1.0.9 on Tomcat 5.5.26

Posted by Matthias Wessendorf <ma...@apache.org>.
On Tue, Aug 12, 2008 at 3:48 PM, Andrew Robinson
<an...@gmail.com> wrote:
> I created a clone to fix the plugin:
>
> https://issues.apache.org/jira/browse/TRINIDAD-1177

I created this ticket for the plugins:
https://issues.apache.org/jira/browse/TRINIDAD-1175

so, I think we can close the 1177

-M

>
> On Tue, Aug 12, 2008 at 6:35 AM, Matthias Wessendorf <ma...@apache.org> wrote:
>> On Tue, Aug 12, 2008 at 2:26 PM, Hardik Shah <ha...@yahoo.com> wrote:
>>>
>>> i am new to maven but as per your discussion i want to use this because i
>>> have same version of tomcat and same problem occurs when i try out it
>>>
>>> can you tell me what i have to do after reached at
>>>
>>> https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/
>>>
>>> how i can run mvn for that
>>
>> here are instructions for all things you need:
>> http://wiki.apache.org/myfaces/Building_Trinidad_With_Maven
>>
>>
>>
>>>
>>> sorry if u feel stupidness
>>>
>>> -----
>>>
>>>
>>> Java/J2EE developer
>>> India
>>>
>>> blogs
>>> http://hardik4u.wordpress.com wordpress blog
>>>
>>> --
>>> View this message in context: http://www.nabble.com/-Trinidad--v1.0.9-on-Tomcat-5.5.26-tp18925646p18943331.html
>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> Need JSF and Web 2.0?
>> http://code.google.com/p/facesgoodies
>>
>> further stuff:
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> mail: matzew-at-apache-dot-org
>>
>



-- 
Matthias Wessendorf

Need JSF and Web 2.0?
http://code.google.com/p/facesgoodies

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Re: [Trinidad] v1.0.9 on Tomcat 5.5.26

Posted by Andrew Robinson <an...@gmail.com>.
I created a clone to fix the plugin:

https://issues.apache.org/jira/browse/TRINIDAD-1177

On Tue, Aug 12, 2008 at 6:35 AM, Matthias Wessendorf <ma...@apache.org> wrote:
> On Tue, Aug 12, 2008 at 2:26 PM, Hardik Shah <ha...@yahoo.com> wrote:
>>
>> i am new to maven but as per your discussion i want to use this because i
>> have same version of tomcat and same problem occurs when i try out it
>>
>> can you tell me what i have to do after reached at
>>
>> https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/
>>
>> how i can run mvn for that
>
> here are instructions for all things you need:
> http://wiki.apache.org/myfaces/Building_Trinidad_With_Maven
>
>
>
>>
>> sorry if u feel stupidness
>>
>> -----
>>
>>
>> Java/J2EE developer
>> India
>>
>> blogs
>> http://hardik4u.wordpress.com wordpress blog
>>
>> --
>> View this message in context: http://www.nabble.com/-Trinidad--v1.0.9-on-Tomcat-5.5.26-tp18925646p18943331.html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
>
>
>
> --
> Matthias Wessendorf
>
> Need JSF and Web 2.0?
> http://code.google.com/p/facesgoodies
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
>

Re: [Trinidad] v1.0.9 on Tomcat 5.5.26

Posted by Matthias Wessendorf <ma...@apache.org>.
On Tue, Aug 12, 2008 at 2:26 PM, Hardik Shah <ha...@yahoo.com> wrote:
>
> i am new to maven but as per your discussion i want to use this because i
> have same version of tomcat and same problem occurs when i try out it
>
> can you tell me what i have to do after reached at
>
> https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/
>
> how i can run mvn for that

here are instructions for all things you need:
http://wiki.apache.org/myfaces/Building_Trinidad_With_Maven



>
> sorry if u feel stupidness
>
> -----
>
>
> Java/J2EE developer
> India
>
> blogs
> http://hardik4u.wordpress.com wordpress blog
>
> --
> View this message in context: http://www.nabble.com/-Trinidad--v1.0.9-on-Tomcat-5.5.26-tp18925646p18943331.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>



-- 
Matthias Wessendorf

Need JSF and Web 2.0?
http://code.google.com/p/facesgoodies

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Re: [Trinidad] v1.0.9 on Tomcat 5.5.26

Posted by Hardik Shah <ha...@yahoo.com>.
i am new to maven but as per your discussion i want to use this because i
have same version of tomcat and same problem occurs when i try out it

can you tell me what i have to do after reached at 

https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/

how i can run mvn for that

sorry if u feel stupidness

-----


Java/J2EE developer 
India

blogs
http://hardik4u.wordpress.com wordpress blog 

-- 
View this message in context: http://www.nabble.com/-Trinidad--v1.0.9-on-Tomcat-5.5.26-tp18925646p18943331.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: [Trinidad] v1.0.9 on Tomcat 5.5.26

Posted by Matthias Wessendorf <ma...@apache.org>.
On Tue, Aug 12, 2008 at 10:28 AM, Jonathan Bullock
<jo...@fugro-data.com> wrote:
> Thanks, I'll try that out.

TRINIDAD-1056 (the change on the XSL) caused it.
for the JSF 1.2 version of the XSL, the change is fine.

-Matthias

>
> Jon
>
> On Tue, 2008-08-12 at 07:37 +0200, Matthias Wessendorf wrote:
>> On Tue, Aug 12, 2008 at 6:44 AM, Matthias Wessendorf <ma...@apache.org> wrote:
>> > Hi,
>> >
>> >> INFO: Reading config
>> >> jar:file:/apps/apache-tomcat-5.5.26/webapps/trinidad-demo-1.0.9/WEB-INF/lib/trinidad-impl-1.0.9.jar!/META-INF/faces-config.xml
>> >> Aug 11, 2008 12:46:30 PM org.apache.commons.digester.Digester error
>> >> SEVERE: Parse Error at line 69 column 30: Element type "literal-only"
>> >> must be declared.
>> >> org.xml.sax.SAXParseException: Element type "literal-only" must be
>> >> declared.
>> >>        at
>> >
>> > for some reason some XML from the JSF 1.2 faces-cfg is now in
>> > the internal faces-config :-(
>> >
>> > can you open a bug ?
>>
>> using an older version of the "Trinidad plugins" (1.2.6 instead of 1.2.7)
>> the problem is gone.
>>
>> Temporary fix:
>> -I am now using 1.2.6 on trunk
>>
>> Can you do a check out of:
>> https://svn.apache.org/repos/asf/myfaces/trinidad/trunk
>>
>> run the build (mvn install) and try the -api and -impl jars
>> on your application ? The issue should be gone.
>>
>> long term fix:
>> check the plugins ;-)
>>
>>
>> -Matthias
>> >
>> > -matthias
>> >
>> >
>> > --
>> > Matthias Wessendorf
>> >
>> > Need JSF and Web 2.0?
>> > http://code.google.com/p/facesgoodies
>> >
>> > further stuff:
>> > blog: http://matthiaswessendorf.wordpress.com/
>> > sessions: http://www.slideshare.net/mwessendorf
>> > mail: matzew-at-apache-dot-org
>> >
>
>
> ---
>
> Fugro Data Solutions Limited
> Tyn y Coed
> Llanrhos
> Llandudno
> North Wales
> LL30 1SA
> United Kingdom
>
> Tel: +44 (0)1492 563555
> Fax: +44 (0)1492 592030
>
> General Email: info@fugro-data.com
>
> Website: www.fugro-data.com
>
> This email and any attachments are confidential. They may
> contain privileged information and are intended for the named
> addressee(s) only. They must not be distributed without our
> consent. If you are not the intended recipient, please notify us
> immediately and do not disclose, distribute, or retain this
> email or any part of it. Unless expressly stated, opinions in
> this email are those of the individual sender, and not of Fugro
> Data Solutions Ltd. We believe but do not warrant that this
> e-mail and any attachments are virus free. You must therefore
> take full responsibility for virus checking. Fugro Data
> Solutions Ltd and its subsidiaries may monitor email traffic
> data and also the content of email for the purposes of security.
> This email is not intended to create legal relations.
>
> Fugro Data Solutions Limited is a limited company registered in
> England and Wales (Reg No. 5583527) at Tyn y Coed, Pentywyn Road,
> Llanrhos, Llandudno, LL30 1SA.  VAT No. GB901440962.
>



-- 
Matthias Wessendorf

Need JSF and Web 2.0?
http://code.google.com/p/facesgoodies

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Re: [Trinidad] v1.0.9 on Tomcat 5.5.26

Posted by Jonathan Bullock <jo...@fugro-data.com>.
Thanks, I'll try that out.

Jon

On Tue, 2008-08-12 at 07:37 +0200, Matthias Wessendorf wrote:
> On Tue, Aug 12, 2008 at 6:44 AM, Matthias Wessendorf <ma...@apache.org> wrote:
> > Hi,
> >
> >> INFO: Reading config
> >> jar:file:/apps/apache-tomcat-5.5.26/webapps/trinidad-demo-1.0.9/WEB-INF/lib/trinidad-impl-1.0.9.jar!/META-INF/faces-config.xml
> >> Aug 11, 2008 12:46:30 PM org.apache.commons.digester.Digester error
> >> SEVERE: Parse Error at line 69 column 30: Element type "literal-only"
> >> must be declared.
> >> org.xml.sax.SAXParseException: Element type "literal-only" must be
> >> declared.
> >>        at
> >
> > for some reason some XML from the JSF 1.2 faces-cfg is now in
> > the internal faces-config :-(
> >
> > can you open a bug ?
> 
> using an older version of the "Trinidad plugins" (1.2.6 instead of 1.2.7)
> the problem is gone.
> 
> Temporary fix:
> -I am now using 1.2.6 on trunk
> 
> Can you do a check out of:
> https://svn.apache.org/repos/asf/myfaces/trinidad/trunk
> 
> run the build (mvn install) and try the -api and -impl jars
> on your application ? The issue should be gone.
> 
> long term fix:
> check the plugins ;-)
> 
> 
> -Matthias
> >
> > -matthias
> >
> >
> > --
> > Matthias Wessendorf
> >
> > Need JSF and Web 2.0?
> > http://code.google.com/p/facesgoodies
> >
> > further stuff:
> > blog: http://matthiaswessendorf.wordpress.com/
> > sessions: http://www.slideshare.net/mwessendorf
> > mail: matzew-at-apache-dot-org
> >


---

Fugro Data Solutions Limited
Tyn y Coed
Llanrhos
Llandudno
North Wales
LL30 1SA
United Kingdom

Tel: +44 (0)1492 563555
Fax: +44 (0)1492 592030

General Email: info@fugro-data.com

Website: www.fugro-data.com

This email and any attachments are confidential. They may 
contain privileged information and are intended for the named 
addressee(s) only. They must not be distributed without our 
consent. If you are not the intended recipient, please notify us 
immediately and do not disclose, distribute, or retain this 
email or any part of it. Unless expressly stated, opinions in 
this email are those of the individual sender, and not of Fugro 
Data Solutions Ltd. We believe but do not warrant that this
e-mail and any attachments are virus free. You must therefore 
take full responsibility for virus checking. Fugro Data 
Solutions Ltd and its subsidiaries may monitor email traffic 
data and also the content of email for the purposes of security. 
This email is not intended to create legal relations.

Fugro Data Solutions Limited is a limited company registered in
England and Wales (Reg No. 5583527) at Tyn y Coed, Pentywyn Road,
Llanrhos, Llandudno, LL30 1SA.  VAT No. GB901440962.

Re: [Trinidad] v1.0.9 on Tomcat 5.5.26

Posted by Jonathan Bullock <jo...@fugro-data.com>.
Hi,

Just got round to trying out the fix, had to checkout revision 685045
from the 12th Aug but it works fine now, thanks!

My original reason for upgrading our web app was to fix the NPE error
shown to unknown user agents like Konqueror & GoogleBot (don't want
Google indexing an error).

I'm still getting a NPE error when I access the trinidad-demo (built
using checked out revision above) from Konqueror? I thought this was
fixed according to TRINIDAD-1059 ?

https://issues.apache.org/jira/browse/TRINIDAD-1059

Jon

On Tue, 2008-08-12 at 07:37 +0200, Matthias Wessendorf wrote: 
> On Tue, Aug 12, 2008 at 6:44 AM, Matthias Wessendorf <ma...@apache.org> wrote:
> > Hi,
> >
> >> INFO: Reading config
> >> jar:file:/apps/apache-tomcat-5.5.26/webapps/trinidad-demo-1.0.9/WEB-INF/lib/trinidad-impl-1.0.9.jar!/META-INF/faces-config.xml
> >> Aug 11, 2008 12:46:30 PM org.apache.commons.digester.Digester error
> >> SEVERE: Parse Error at line 69 column 30: Element type "literal-only"
> >> must be declared.
> >> org.xml.sax.SAXParseException: Element type "literal-only" must be
> >> declared.
> >>        at
> >
> > for some reason some XML from the JSF 1.2 faces-cfg is now in
> > the internal faces-config :-(
> >
> > can you open a bug ?
> 
> using an older version of the "Trinidad plugins" (1.2.6 instead of 1.2.7)
> the problem is gone.
> 
> Temporary fix:
> -I am now using 1.2.6 on trunk
> 
> Can you do a check out of:
> https://svn.apache.org/repos/asf/myfaces/trinidad/trunk
> 
> run the build (mvn install) and try the -api and -impl jars
> on your application ? The issue should be gone.
> 
> long term fix:
> check the plugins ;-)
> 
> 
> -Matthias
> >
> > -matthias
> >
> >
> > --
> > Matthias Wessendorf
> >
> > Need JSF and Web 2.0?
> > http://code.google.com/p/facesgoodies
> >
> > further stuff:
> > blog: http://matthiaswessendorf.wordpress.com/
> > sessions: http://www.slideshare.net/mwessendorf
> > mail: matzew-at-apache-dot-org
> >
> 
> 
> 


---

Fugro Data Solutions Limited
Tyn y Coed
Llanrhos
Llandudno
North Wales
LL30 1SA
United Kingdom

Tel: +44 (0)1492 563555
Fax: +44 (0)1492 592030

General Email: info@fugro-data.com

Website: www.fugro-data.com

This email and any attachments are confidential. They may 
contain privileged information and are intended for the named 
addressee(s) only. They must not be distributed without our 
consent. If you are not the intended recipient, please notify us 
immediately and do not disclose, distribute, or retain this 
email or any part of it. Unless expressly stated, opinions in 
this email are those of the individual sender, and not of Fugro 
Data Solutions Ltd. We believe but do not warrant that this
e-mail and any attachments are virus free. You must therefore 
take full responsibility for virus checking. Fugro Data 
Solutions Ltd and its subsidiaries may monitor email traffic 
data and also the content of email for the purposes of security. 
This email is not intended to create legal relations.

Fugro Data Solutions Limited is a limited company registered in
England and Wales (Reg No. 5583527) at Tyn y Coed, Pentywyn Road,
Llanrhos, Llandudno, LL30 1SA.  VAT No. GB901440962.

Re: [Trinidad] v1.0.9 on Tomcat 5.5.26

Posted by Matthias Wessendorf <ma...@apache.org>.
On Tue, Aug 12, 2008 at 6:44 AM, Matthias Wessendorf <ma...@apache.org> wrote:
> Hi,
>
>> INFO: Reading config
>> jar:file:/apps/apache-tomcat-5.5.26/webapps/trinidad-demo-1.0.9/WEB-INF/lib/trinidad-impl-1.0.9.jar!/META-INF/faces-config.xml
>> Aug 11, 2008 12:46:30 PM org.apache.commons.digester.Digester error
>> SEVERE: Parse Error at line 69 column 30: Element type "literal-only"
>> must be declared.
>> org.xml.sax.SAXParseException: Element type "literal-only" must be
>> declared.
>>        at
>
> for some reason some XML from the JSF 1.2 faces-cfg is now in
> the internal faces-config :-(
>
> can you open a bug ?

using an older version of the "Trinidad plugins" (1.2.6 instead of 1.2.7)
the problem is gone.

Temporary fix:
-I am now using 1.2.6 on trunk

Can you do a check out of:
https://svn.apache.org/repos/asf/myfaces/trinidad/trunk

run the build (mvn install) and try the -api and -impl jars
on your application ? The issue should be gone.

long term fix:
check the plugins ;-)


-Matthias
>
> -matthias
>
>
> --
> Matthias Wessendorf
>
> Need JSF and Web 2.0?
> http://code.google.com/p/facesgoodies
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
>



-- 
Matthias Wessendorf

Need JSF and Web 2.0?
http://code.google.com/p/facesgoodies

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Re: [Trinidad] v1.0.9 on Tomcat 5.5.26

Posted by Matthias Wessendorf <ma...@apache.org>.
Hi,

> INFO: Reading config
> jar:file:/apps/apache-tomcat-5.5.26/webapps/trinidad-demo-1.0.9/WEB-INF/lib/trinidad-impl-1.0.9.jar!/META-INF/faces-config.xml
> Aug 11, 2008 12:46:30 PM org.apache.commons.digester.Digester error
> SEVERE: Parse Error at line 69 column 30: Element type "literal-only"
> must be declared.
> org.xml.sax.SAXParseException: Element type "literal-only" must be
> declared.
>        at

for some reason some XML from the JSF 1.2 faces-cfg is now in
the internal faces-config :-(

can you open a bug ?

-matthias


-- 
Matthias Wessendorf

Need JSF and Web 2.0?
http://code.google.com/p/facesgoodies

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org