Re: wierd stack trace regarding parsing of struts.xml

2012-12-03 Thread Lukasz Lenart
2012/12/3 ChadDavis : > There are (from 2.3): >> >> 79:dtdMappings.put("-//Apache Software Foundation//DTD Struts >> Configuration 2.0//EN", "struts-2.0.dtd"); >> 80:dtdMappings.put("-//Apache Software Foundation//DTD Struts >> Configuration 2.1//EN", "struts-2.1.dtd"); >> 81:

Re: wierd stack trace regarding parsing of struts.xml

2012-12-03 Thread Lukasz Lenart
2012/12/3 ChadDavis : > I'm happy to hear that, I've posted how to get contributor rights to docs > > Posted where? http://markmail.org/message/4way2m5y2vlwkrih :-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: wierd stack trace regarding parsing of struts.xml

2012-12-03 Thread ChadDavis
There are (from 2.3): > > 79:dtdMappings.put("-//Apache Software Foundation//DTD Struts > Configuration 2.0//EN", "struts-2.0.dtd"); > 80:dtdMappings.put("-//Apache Software Foundation//DTD Struts > Configuration 2.1//EN", "struts-2.1.dtd"); > 81:dtdMappings.put("-//Apache S

Re: wierd stack trace regarding parsing of struts.xml

2012-12-03 Thread Dave Newton
There are (from 2.3): 79:dtdMappings.put("-//Apache Software Foundation//DTD Struts Configuration 2.0//EN", "struts-2.0.dtd"); 80:dtdMappings.put("-//Apache Software Foundation//DTD Struts Configuration 2.1//EN", "struts-2.1.dtd"); 81:dtdMappings.put("-//Apache Software Fou

Re: wierd stack trace regarding parsing of struts.xml

2012-12-03 Thread ChadDavis
Why aren't there mappings for the struts-xxx.dtd's? On Mon, Dec 3, 2012 at 1:20 AM, Lukasz Lenart wrote: > 2012/12/1 ChadDavis : > > Thanks Lukasz. This is very useful information. I think this clearly > fixes > > my problem, but I still have some questions. > > > > 1) when was xwork moved to

Re: wierd stack trace regarding parsing of struts.xml

2012-12-03 Thread Lukasz Lenart
2012/12/3 ChadDavis : > So, it seems like this should be added to the wiki on the webworks to > struts 2 migration page . . . I'm more than willing to do provide the text. > what do you think? I'm happy to hear that, I've posted how to get contributor rights to docs Regards -- Łukasz + 48 606

Re: wierd stack trace regarding parsing of struts.xml

2012-12-03 Thread ChadDavis
So, it seems like this should be added to the wiki on the webworks to struts 2 migration page . . . I'm more than willing to do provide the text. what do you think? On Mon, Dec 3, 2012 at 1:20 AM, Lukasz Lenart wrote: > 2012/12/1 ChadDavis : > > Thanks Lukasz. This is very useful information.

Re: wierd stack trace regarding parsing of struts.xml

2012-12-03 Thread ChadDavis
Thanks! On Mon, Dec 3, 2012 at 1:20 AM, Lukasz Lenart wrote: > 2012/12/1 ChadDavis : > > Thanks Lukasz. This is very useful information. I think this clearly > fixes > > my problem, but I still have some questions. > > > > 1) when was xwork moved to ASF? > > Just before 2.2.1, two years ago, bu

Re: wierd stack trace regarding parsing of struts.xml

2012-12-03 Thread Lukasz Lenart
2012/12/1 ChadDavis : > Thanks Lukasz. This is very useful information. I think this clearly fixes > my problem, but I still have some questions. > > 1) when was xwork moved to ASF? Just before 2.2.1, two years ago, but DTDs where changed sometime later http://struts.apache.org/2.x/docs/version-

Re: wierd stack trace regarding parsing of struts.xml

2012-12-01 Thread ChadDavis
> > But what do you think needs to match the jar file? I mean, > struts2-core.jar doesn't contain xwork-1.1.1.dtd, but the xwork jar does . > . . so why wouldn't it find it if it was just taking the xwork-1.1.1.dtd > and checking the classpath. > > When XWork was moved to ASF, we changed all the D

Re: wierd stack trace regarding parsing of struts.xml

2012-12-01 Thread Lukasz Lenart
2012/12/1 Davis, Chad : > >> IMO it just needs to match the DTD in the jar; as I said, I've generally seen >> this happen when there's a mis-match. >> >> In regards to your SO question, it would depend completely on the >> implementation and its configuration. >> > > Here's the one that doesn't wor

RE: wierd stack trace regarding parsing of struts.xml

2012-11-30 Thread Davis, Chad
> IMO it just needs to match the DTD in the jar; as I said, I've generally seen > this happen when there's a mis-match. > > In regards to your SO question, it would depend completely on the > implementation and its configuration. > Here's the one that doesn't work: http://www.opensymphony.com

Re: wierd stack trace regarding parsing of struts.xml

2012-11-30 Thread Dave Newton
IMO it just needs to match the DTD in the jar; as I said, I've generally seen this happen when there's a mis-match. In regards to your SO question, it would depend completely on the implementation and its configuration. Dave On Fri, Nov 30, 2012 at 6:52 PM, Davis, Chad wrote: > >> Without knowi

RE: wierd stack trace regarding parsing of struts.xml

2012-11-30 Thread Davis, Chad
> Without knowing what you're specifying in your struts config it's tough to > say. > > The times I've seen this are when there's a mismatch between what's in the > config and what's in the libraries, like if it can't find the file locally, > it goes on > to the network. > So, I think the iss

Re: wierd stack trace regarding parsing of struts.xml

2012-11-30 Thread Dave Newton
Without knowing what you're specifying in your struts config it's tough to say. The times I've seen this are when there's a mismatch between what's in the config and what's in the libraries, like if it can't find the file locally, it goes on to the network. I also recall this being container-depe

RE: wierd stack trace regarding parsing of struts.xml

2012-11-30 Thread Davis, Chad
> > Probably trying to go out to the web for a DTD/XSD or something? > Okay. It does appear to be finding the struts.xml file, and then timing out while trying to get something else over the network. I guess my first reaction is . . . . does my struts app really need to be able to reach out

Re: wierd stack trace regarding parsing of struts.xml

2012-11-30 Thread Dave Newton
Probably trying to go out to the web for a DTD/XSD or something? On Fri, Nov 30, 2012 at 3:06 PM, Davis, Chad wrote: > So, when I restarted my struts2 app this afternoon I got complains about > "unable to load configuration. - [unknown location]". But, the location of > my struts.xml - inside

wierd stack trace regarding parsing of struts.xml

2012-11-30 Thread Davis, Chad
So, when I restarted my struts2 app this afternoon I got complains about "unable to load configuration. - [unknown location]". But, the location of my struts.xml - inside of the classes folder of the WAR - has not changes. And, indeed, the file is there. The stack trace is below. For start