RE: Tomcat startup error using struts.

2004-05-24 Thread Joe Germuska
At 8:53 AM +1000 5/25/04, BARBEY Stuart R wrote:
Thanks to everyone who replied.  My problem was:
INFO: Initializing,
config='org.apache.struts.action.ActionResources',returnNull=true
24/05/2004 14:05:55 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 18 column 19: The content of element type
"set-property" must match "EMPTY".
org.xml.sax.SAXParseException: The content of element type "set-property"
must match "EMPTY".
In my struts-config file had the following entry:


When I changed it to:

The errors went away. Can anyone tell me why this is the case?
because the element wasn't empty.  It had at least one newline 
character as its content.

This is a good reason to render the element using the empty-element syntax
 instead of 
Joe
--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
  "Imagine if every Thursday your shoes exploded if you tied them 
the usual way.  This happens to us all the time with computers, and 
nobody thinks of complaining."
-- Jef Raskin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat startup error using struts.

2004-05-24 Thread BARBEY Stuart R
Thanks to everyone who replied.  My problem was:

INFO: Initializing,
config='org.apache.struts.action.ActionResources',returnNull=true
24/05/2004 14:05:55 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 18 column 19: The content of element type
"set-property" must match "EMPTY".
org.xml.sax.SAXParseException: The content of element type "set-property"
must match "EMPTY".

In my struts-config file had the following entry:




When I changed it to:



The errors went away. Can anyone tell me why this is the case?

Thanks.

-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: Monday, 24 May 2004 22:55 PM
To: Struts Users Mailing List
Subject: Re: Tomcat startup error using struts.


At 2:30 PM +1000 5/24/04, BARBEY Stuart R wrote:
>Has anyone seen the following error before?
>
>INFO: Initializing, config='org.apache.struts.action.ActionResources',
>returnNull=true
>24/05/2004 14:05:55 org.apache.commons.digester.Digester error
>SEVERE: Parse Error at line 18 column 19: The content of element type
>"set-property" must match "EMPTY".
>org.xml.sax.SAXParseException: The content of element type "set-property"
>must match "EMPTY".

Presumably the XML parser has found that you have a non-empty 
 element on line 18 of your struts-config file.

If you have ,
it should be 

Joe

-- 
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
   "Imagine if every Thursday your shoes exploded if you tied them 
the usual way.  This happens to us all the time with computers, and 
nobody thinks of complaining."
 -- Jef Raskin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or 
used by the named addressee. It is confidential and may contain legally privileged 
information. No confidentiality or privilege is waived or lost by any mistaken 
transmission to you. The RTA is not responsible for any unauthorised alterations to 
this e-mail or attachment to it. Views expressed in this message are those of the 
individual sender, and are not necessarily the views of the RTA. If you receive this 
e-mail in error, please immediately delete it from your system and notify the sender. 
You must not disclose, copy or use any part of this e-mail if you are not the intended 
recipient.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat startup error using struts.

2004-05-24 Thread klute






__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat startup error using struts.

2004-05-24 Thread Joe Germuska
At 2:30 PM +1000 5/24/04, BARBEY Stuart R wrote:
Has anyone seen the following error before?
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
24/05/2004 14:05:55 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 18 column 19: The content of element type
"set-property" must match "EMPTY".
org.xml.sax.SAXParseException: The content of element type "set-property"
must match "EMPTY".
Presumably the XML parser has found that you have a non-empty 
 element on line 18 of your struts-config file.

If you have ,
it should be 
Joe
--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
  "Imagine if every Thursday your shoes exploded if you tied them 
the usual way.  This happens to us all the time with computers, and 
nobody thinks of complaining."
-- Jef Raskin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat startup error using struts.

2004-05-24 Thread Thomas SMETS

May be posting the Struts-config.xml would make it possible to help you ?

\T,


> Has anyone seen the following error before?
>
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true
> 24/05/2004 14:05:55 org.apache.commons.digester.Digester error
> SEVERE: Parse Error at line 18 column 19: The content of element type
> "set-property" must match "EMPTY".
> org.xml.sax.SAXParseException: The content of element type
> "set-property" must match "EMPTY".
>   at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
>   at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at
>   org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>   at
> org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
> Source)
>   at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
> Source)
>   at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
> Source)
>   at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc> 
> her.dispatch(Unknown Source)
>   at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>   at org.apache.commons.digester.Digester.parse(Digester.java:1548) at
> org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.j> 
> ava:1006)
>   at
> org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9> 55)
>   at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
>   at javax.servlet.GenericServlet.init(GenericServlet.java:256)
>   at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10> 44)
>   at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
>   at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:> 3959)
>   at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
>   at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
>   at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
>   at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
>   at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
>   at
> org.apache.catalina.core.StandardService.start(StandardService.java:519)
>   at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
>   java.lang.reflect.Method.invoke(Unknown Source)
>   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297) at
>   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
>
> IMPORTANT NOTICE: This e-mail and any attachment to it are intended
> only to be read or used by the named addressee. It is confidential and
> may contain legally privileged information. No confidentiality or
> privilege is waived or lost by any mistaken transmission to you. The
> RTA is not responsible for any unauthorised alterations to this e-mail
> or attachment to it. Views expressed in this message are those of the
> individual sender, and are not necessarily the views of the RTA. If you
> receive this e-mail in error, please immediately delete it from your
> system and notify the sender. You must not disclose, copy or use any
> part of this e-mail if you are not the intended recipient.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
Thomas SMETS
rue J. Wytsmanstraat 62
1050 Brussels



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat startup error using struts.

2004-05-24 Thread Daniel Perry
somewhere in struts config, you have a set-property element that isnt empty

ie, it should end with /> and have no matched cose tag.

Daniel.

> -Original Message-
> From: BARBEY Stuart R [mailto:[EMAIL PROTECTED]
> Sent: 24 May 2004 05:31
> To: '[EMAIL PROTECTED]'
> Subject: Tomcat startup error using struts.
>
>
> Has anyone seen the following error before?
>
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true
> 24/05/2004 14:05:55 org.apache.commons.digester.Digester error
> SEVERE: Parse Error at line 18 column 19: The content of element type
> "set-property" must match "EMPTY".
> org.xml.sax.SAXParseException: The content of element type "set-property"
> must match "EMPTY".
>   at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
>   at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
>   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>   at
> org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknow
> n Source)
>   at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
> Source)
>   at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
> Source)
>   at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCont
> entDispatc
> her.dispatch(Unknown Source)
>   at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>   at org.apache.commons.digester.Digester.parse(Digester.java:1548)
>   at
> org.apache.struts.action.ActionServlet.parseModuleConfigFile(Actio
> nServlet.j
> ava:1006)
>   at
> org.apache.struts.action.ActionServlet.initModuleConfig(ActionServ
> let.java:9
> 55)
>   at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
>   at javax.servlet.GenericServlet.init(GenericServlet.java:256)
>   at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapp
> er.java:10
> 44)
>   at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
>   at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardCon
> text.java:
> 3959)
>   at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
>   at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
>   at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
>   at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
>   at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
>   at
> org.apache.catalina.core.StandardService.start(StandardService.java:519)
>   at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>   at java.lang.reflect.Method.invoke(Unknown Source)
>   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
>   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
>
> IMPORTANT NOTICE: This e-mail and any attachment to it are
> intended only to be read or used by the named addressee. It is
> confidential and may contain legally privileged information. No
> confidentiality or privilege is waived or lost by any mistaken
> transmission to you. The RTA is not responsible for any
> unauthorised alterations to this e-mail or attachment to it.
> Views expressed in this message are those of the individual
> sender, and are not necessarily the views of the RTA. If you
> receive this e-mail in error, please immediately delete it from
> your system and notify the sender. You must not disclose, copy or
> use any part of this e-mail if you are not the intended recipient.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat startup error using struts.

2004-05-24 Thread BARBEY Stuart R
Has anyone seen the following error before? 

INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
24/05/2004 14:05:55 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 18 column 19: The content of element type
"set-property" must match "EMPTY".
org.xml.sax.SAXParseException: The content of element type "set-property"
must match "EMPTY".
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.j
ava:1006)
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
55)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
44)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3959)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
at
org.apache.catalina.core.StandardService.start(StandardService.java:519)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)

IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or 
used by the named addressee. It is confidential and may contain legally privileged 
information. No confidentiality or privilege is waived or lost by any mistaken 
transmission to you. The RTA is not responsible for any unauthorised alterations to 
this e-mail or attachment to it. Views expressed in this message are those of the 
individual sender, and are not necessarily the views of the RTA. If you receive this 
e-mail in error, please immediately delete it from your system and notify the sender. 
You must not disclose, copy or use any part of this e-mail if you are not the intended 
recipient.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]