Re: [OT] Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brian,

(Resurrecting a thread from the long past that I hadn't noticed until
just now).

On 3/15/2011 7:56 PM, Brian Braun wrote:
 I don't know yet which project are you talking about, but why haven't you
 decided to migrate to JSF 2.0 or Spring MVC, instead of staying with Struts?

Migrating 6 years of S1 code over to another framework is non-trivial.
Neither is running them side-by-side. Since S1 is still supported, we
are still using it. At some point, it would be great to spend a few
months re-architecting the web portion of our software, but it's hard to
justify the expense just now.

 I did my research on JSF and I think it is the
 substitution of Struts

Without knowing a thing about it, I can't comment on how good of a
replacement it would be. I believe S2 supports JSF, so there must be a
reason to use them together. Last I looked, JSF was heavily dependeing
upon JSPs, which we pretty universally eschew around here.

 I mean if you have to [create/start] a new project
 from scratch, there is no point in choosing Struts if JSF already exists.

If I were an independent contractor, all my new projects would be
S2-based (or maybe I'd look into JSF, but certainly move on from S1).

 I would also get a lot of benefits from the other Spring modules, such as
 the transactions, the DBMS access, etc. I know I'm spending time reinventing
 the weel, creating my own objects while Spring has a lot of functionality
 ready to use.

I'm pretty sure that Spring components can be used whether you use
Spring MVC or not. They probably just play very well together.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3yg90ACgkQ9CaO5/Lv0PDAKACfWmZZEENOX76HaYSZab43Lb1i
SzQAoKNVz5wdkyVNRdnljhOdi/jyU/4c
=X7xu
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-06-09 Thread Dilip Parihar
Hi All,

I had gone thru the same error and here is what I configured to fix the error:
The solution i did is:

1. Remove the entries from WEB.xml of taglib directive.
2. Remove the *.tld from WEB-INF folder if any because they already exists in 
struts-xxx.jar file.
3.  In JSP replace
i.  %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
ii. %@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
iii.%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
With This
i.  %@ taglib uri=http://jakarta.apache.org/struts/tags-bean; 
prefix=bean %
ii. %@ taglib uri=http://jakarta.apache.org/struts/tags-html; 
prefix=html %
iii.%@ taglib uri=http://jakarta.apache.org/struts/tags-logic; 
prefix=logic %
4.  If Tomcat 7.0.11 complaints about this error:
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
e.  This means there are two or more entries of jstl (.tld) entries in jar 
file.
i.  Jstl-1.2.jar
ii. Standard.jar
Both of these files contains c.tld, fmt.tld, c.tld, sql.tld
f.  Recommended to delete: standard.jar.

Thanks,
Dilip Parihar,
Santa Fe, NM, US




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: [OT] Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-16 Thread Mark Thomas
On 15/03/2011 23:56, Brian Braun wrote:
 I would like to know what Mark Thomas thinks about this, being a person
 involved with Spring Source.

I'm afraid I am probably going to disappoint you there. Whilst I am
employed by SpringSource (now VMware) I know relatively little about the
Spring Framework and all the other Spring projects. What I can say is
that using a framework (any framework) generally makes more sense than
rolling your own.

If you do decide to look at Spring based development then I recommend
that you look at:
STS - Eclipse + a bunch of tools to help with Spring development
Roo - A very rapid application development tool (but it expects you to
do things a certain way)

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: [OT] Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-15 Thread Brian Braun
I don't know yet which project are you talking about, but why haven't you
decided to migrate to JSF 2.0 or Spring MVC, instead of staying with Struts?

My needs are mostly to create apps faster, specially in the GUI. The forms,
the validation, the old basic HTML... I spend too much time doing that, and
I remember how fast was using a RAD as Powerbuilder. It must be a better way
to program than Using the 2004 Struts version. So what I'm most interested
in, is the presentation. I did my research on JSF and I think it is the
substitution of Struts, I mean if you have to create start a new project
from scratch, there is no point in choosing Struts if JSF already exists. I
was just about to migrate, but then Spring appeared and I postponed the
issue, not deciding which way to follow (JSF or Spring MVC).
I would also get a lot of benefits from the other Spring modules, such as
the transactions, the DBMS access, etc. I know I'm spending time reinventing
the weel, creating my own objects while Spring has a lot of functionality
ready to use.

I would like to know what Mark Thomas thinks about this, being a person
involved with Spring Source.



On Mon, Mar 14, 2011 at 12:49 PM, Christopher Schultz 
ch...@christopherschultz.net wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Brian,

 On 3/12/2011 6:46 PM, Brian Braun wrote:
  Well, first of all, I'm using the 2004 Struts version. Why didn't I
 upgraded
  that over all these years? Because in the first years I thought I was
 going
  to migrate to JSF, and recetly I'm thinking that maybe I should go with
  Spring. For that reason, I didn't want to invest time upgrading to the
 most
  recent versions of Struts, and I got stuck on time. I usually adopt new
  version early (as I have done with Struts 7.0.11), but with Struts...
 that
  happened.

 I know the feeling. We are still using Struts 1.3... making the upgrade
 to 2.x is ... non-trivial.

  I Still haven't decided between JSF and Spring. I know they are not the
 same
  thing, that Spring brings more that a presentation and controller, but in
  the presentation area I don't know if I should go with JSF (which is the
 new
  standard, right?), or with Spring's MVC. But certainly I'm obsolete using
  2004's Struts.

 I'm sure you will get a lot of opinions on all that. :)

 Struts 1.3 is still fine if it's meeting your needs. S2 is just s
 much better for so many things, it's painful not have have switched yet.

 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk1+VRIACgkQ9CaO5/Lv0PCQ8ACgt5slDYZzdslZeNM0d+kpW1XD
 O00AoLhYBzEqgJdk6pt1WIOCAI9k4d4N
 =al4T
  -END PGP SIGNATURE-

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: [OT] Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brian,

On 3/12/2011 6:46 PM, Brian Braun wrote:
 Well, first of all, I'm using the 2004 Struts version. Why didn't I upgraded
 that over all these years? Because in the first years I thought I was going
 to migrate to JSF, and recetly I'm thinking that maybe I should go with
 Spring. For that reason, I didn't want to invest time upgrading to the most
 recent versions of Struts, and I got stuck on time. I usually adopt new
 version early (as I have done with Struts 7.0.11), but with Struts... that
 happened.

I know the feeling. We are still using Struts 1.3... making the upgrade
to 2.x is ... non-trivial.

 I Still haven't decided between JSF and Spring. I know they are not the same
 thing, that Spring brings more that a presentation and controller, but in
 the presentation area I don't know if I should go with JSF (which is the new
 standard, right?), or with Spring's MVC. But certainly I'm obsolete using
 2004's Struts.

I'm sure you will get a lot of opinions on all that. :)

Struts 1.3 is still fine if it's meeting your needs. S2 is just s
much better for so many things, it's painful not have have switched yet.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1+VRIACgkQ9CaO5/Lv0PCQ8ACgt5slDYZzdslZeNM0d+kpW1XD
O00AoLhYBzEqgJdk6pt1WIOCAI9k4d4N
=al4T
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-13 Thread Mark Thomas
On 13/03/2011 05:37, Brian Braun wrote:
 %@ taglib uri=*/WEB-INF/struts-bean.tld* prefix=*bean*%
 
  That page fails, because it is not being able to find the TLD file anymore.
 
 What should I do? I really want to get rid of the info messages.
 
 - Do I need to delete the TLDs from my WEB-INF directory? That makes my JSPs
 fail.
Yes.

 - Do I need to modify the taglib directives, so they refer to the TLD
 files inside the JAR or something like that?

Yes. You need to refer to the taglibs in your JSPs using the URI rather
than the file location. e.g.
%@ taglib uri=http://struts.apache.org/tags-bean; prefix=bean%


 - Do I need to delete the TLD files from the Struts JAR? That wouldn't sound
 OK to me, one should not modify a JAR that comes from a components such as
 Struts.

No.

 - Should I tell Tomcat not to show those info messages somehow?

No.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-13 Thread Brian Braun
Hi Mark,

You said:

Yes. You need to refer to the taglibs in your JSPs using the URI rather
than the file location. e.g.
%@ taglib uri=http://struts.apache.org/tags-bean; prefix=bean%

Does it mean that my code will not work if I'm not connected to the
internet? Or that it will run lightly slower if my internet connection is
slow?




On Sun, Mar 13, 2011 at 4:53 AM, Mark Thomas ma...@apache.org wrote:

 On 13/03/2011 05:37, Brian Braun wrote:
  %@ taglib uri=*/WEB-INF/struts-bean.tld* prefix=*bean*%
 
   That page fails, because it is not being able to find the TLD file
 anymore.
 
  What should I do? I really want to get rid of the info messages.
 
  - Do I need to delete the TLDs from my WEB-INF directory? That makes my
 JSPs
  fail.
 Yes.

  - Do I need to modify the taglib directives, so they refer to the TLD
  files inside the JAR or something like that?

 Yes. You need to refer to the taglibs in your JSPs using the URI rather
 than the file location. e.g.
 %@ taglib uri=http://struts.apache.org/tags-bean; prefix=bean%


  - Do I need to delete the TLD files from the Struts JAR? That wouldn't
 sound
  OK to me, one should not modify a JAR that comes from a components such
 as
  Struts.

 No.

  - Should I tell Tomcat not to show those info messages somehow?

 No.

 Mark

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-13 Thread Mark Thomas
On 13/03/2011 12:09, Brian Braun wrote:
 Hi Mark,
 
 You said:
 
 Yes. You need to refer to the taglibs in your JSPs using the URI rather
 than the file location. e.g.
 %@ taglib uri=http://struts.apache.org/tags-bean; prefix=bean%
 
 Does it mean that my code will not work if I'm not connected to the
 internet?
No.

 Or that it will run lightly slower if my internet connection is
 slow?
No.

That is a URI and it is not used as a URL.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-13 Thread Brian Braun
OK, I will find out what are the URIs of the TLDs.
Thanks a lot



On Sun, Mar 13, 2011 at 8:11 AM, Mark Thomas ma...@apache.org wrote:

 On 13/03/2011 12:09, Brian Braun wrote:
  Hi Mark,
 
  You said:
 
  Yes. You need to refer to the taglibs in your JSPs using the URI rather
  than the file location. e.g.
  %@ taglib uri=http://struts.apache.org/tags-bean; prefix=bean%
 
  Does it mean that my code will not work if I'm not connected to the
  internet?
 No.

  Or that it will run lightly slower if my internet connection is
  slow?
 No.

 That is a URI and it is not used as a URL.

 Mark

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-13 Thread Konstantin Kolinko
2011/3/13 Mark Thomas ma...@apache.org:
 On 13/03/2011 05:37, Brian Braun wrote:
 - Should I tell Tomcat not to show those info messages somehow?

 No.


If you really want to silence the messages, without changing anything
in your application, it is possible by adding the following line to
conf/logging.properties:

org.apache.catalina.startup.TaglibUriRule.level=WARNING

2011/3/13 Brian Braun brianbr...@gmail.com:
 OK, I will find out what are the URIs of the TLDs.

Those are defined as uri.../uri inside the *.tld files.

(The actual values were mentioned in the log message that you cited earlier).

See also the JSP specification for the background on the issue.
E.g. chapters JSP.7.3.2 and JSP.7.3.4 of jsp-2_2-mrel-spec.pdf
http://wiki.apache.org/tomcat/Specifications

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-13 Thread Brian Braun
Hi Konstantin,

I really, really, really appreciate the information you have given to me in
your response. Thanks a lot!



On Sun, Mar 13, 2011 at 10:34 AM, Konstantin Kolinko knst.koli...@gmail.com
 wrote:

 2011/3/13 Mark Thomas ma...@apache.org:
  On 13/03/2011 05:37, Brian Braun wrote:
  - Should I tell Tomcat not to show those info messages somehow?
 
  No.
 

 If you really want to silence the messages, without changing anything
 in your application, it is possible by adding the following line to
 conf/logging.properties:

 org.apache.catalina.startup.TaglibUriRule.level=WARNING

 2011/3/13 Brian Braun brianbr...@gmail.com:
  OK, I will find out what are the URIs of the TLDs.

 Those are defined as uri.../uri inside the *.tld files.

 (The actual values were mentioned in the log message that you cited
 earlier).

 See also the JSP specification for the background on the issue.
 E.g. chapters JSP.7.3.2 and JSP.7.3.4 of jsp-2_2-mrel-spec.pdf
 http://wiki.apache.org/tomcat/Specifications

 Best regards,
 Konstantin Kolinko

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: [OT] Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-12 Thread Brian Braun
Well, first of all, I'm using the 2004 Struts version. Why didn't I upgraded
that over all these years? Because in the first years I thought I was going
to migrate to JSF, and recetly I'm thinking that maybe I should go with
Spring. For that reason, I didn't want to invest time upgrading to the most
recent versions of Struts, and I got stuck on time. I usually adopt new
version early (as I have done with Struts 7.0.11), but with Struts... that
happened.

I Still haven't decided between JSF and Spring. I know they are not the same
thing, that Spring brings more that a presentation and controller, but in
the presentation area I don't know if I should go with JSF (which is the new
standard, right?), or with Spring's MVC. But certainly I'm obsolete using
2004's Struts.


On Fri, Mar 11, 2011 at 5:39 PM, Christopher Schultz 
ch...@christopherschultz.net wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Brian,

 On 3/9/2011 3:42 PM, Brian Braun wrote:
  Actually, I had already unzipped my .war file and inspected every file
  inside, and arrived to that conclution: The only place where the TLD
 files
  are also present is the JARs that correspond to Struts (don't laugh, but
 I'm
  still using it) and other components.

 Why would anyone laugh that you are using Struts?

 I think it's a great framework, and it's still maintained by a dedicated
 group of people.

 Would you prefer something else? Or, does Struts just have a long enough
 history to make it un-cool?

 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk16pIsACgkQ9CaO5/Lv0PAbEQCgl3JHfnkXpx0h1TYaAalJkWty
 0SwAnRvOjKTjagdLGMhN/IIz1P8XuXTT
 =NQKX
 -END PGP SIGNATURE-

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-12 Thread Brian Braun
Hi Mark,

I have been thinking about this issue, and I have some thoughts and
questions.
My web.xml file doesn't mention the TLDs, but I have confirmed that the
Struts JAR does contain them. That is the reduncancy. I tried removing the
TLDs from my WEB-INF directory, and the the info message was not being show
anymore, which is nice and was my goal. However, my app fails as soon as one
of the pages with a %@ taglib directive refers to the deleted TLD file, for
example one of my pages does this:

%@ taglib uri=*/WEB-INF/struts-bean.tld* prefix=*bean*%

 That page fails, because it is not being able to find the TLD file anymore.

What should I do? I really want to get rid of the info messages.

- Do I need to delete the TLDs from my WEB-INF directory? That makes my JSPs
fail.
- Do I need to modify the taglib directives, so they refer to the TLD
files inside the JAR or something like that?
- Do I need to delete the TLD files from the Struts JAR? That wouldn't sound
OK to me, one should not modify a JAR that comes from a components such as
Struts.
- Should I tell Tomcat not to show those info messages somehow?

TIA,

Brian





On Wed, Mar 9, 2011 at 1:16 PM, Mark Thomas ma...@apache.org wrote:

  On 09/03/2011 18:12, Brian Braun wrote:
  Hi,
 
  I just migrated from Tomcat 6.0.29 to 7.0.10. I have solved several
 problems
  regarding the migration, but I don't know what these mean:
 
  INFO: Deploying web application archive ROOT.war
  Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
  INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already
  defined
  Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
  INFO: TLD skipped. URI: http://struts.apache.org/tags-html is already
  defined
  Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
  INFO: TLD skipped. URI: http://struts.apache.org/tags-logic is already
  defined
  Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
  INFO: TLD skipped. URI: http://struts.apache.org/tags-nested is already
  defined
  Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
  INFO: TLD skipped. URI: http://struts.apache.org/tags-tiles is already
  defined
  Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
  INFO: TLD skipped. URI: http://displaytag.sf.net is already defined
  Something tells me that Tomcat now expects my web.xml file to comply with
  the new Servlet/JSP specifications, or a new version of the web.xml
 format.
  I haven't changed my web.xml file at all, yet.
  I would like to get rid of these warnings.
  Anybody knows what is this about?

 They are INFO messages so do not indicate an error condition. It looks
 like you have multiple TLD definitions for a given URI (web.xml and TLD
 embedded in a JAR?). Removing the duplicates should fix it.

 Mark

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: [OT] Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brian,

On 3/9/2011 3:42 PM, Brian Braun wrote:
 Actually, I had already unzipped my .war file and inspected every file
 inside, and arrived to that conclution: The only place where the TLD files
 are also present is the JARs that correspond to Struts (don't laugh, but I'm
 still using it) and other components.

Why would anyone laugh that you are using Struts?

I think it's a great framework, and it's still maintained by a dedicated
group of people.

Would you prefer something else? Or, does Struts just have a long enough
history to make it un-cool?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk16pIsACgkQ9CaO5/Lv0PAbEQCgl3JHfnkXpx0h1TYaAalJkWty
0SwAnRvOjKTjagdLGMhN/IIz1P8XuXTT
=NQKX
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: [OT] Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-11 Thread Martin Gainty
 l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




 Date: Fri, 11 Mar 2011 17:39:08 -0500
 From: ch...@christopherschultz.net
 To: users@tomcat.apache.org
 Subject: Re: [OT] Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD 
 skipped. URI: http://struts.apache.org/tags-bean is already defined
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Brian,
 
 On 3/9/2011 3:42 PM, Brian Braun wrote:
  Actually, I had already unzipped my .war file and inspected every file
  inside, and arrived to that conclution: The only place where the TLD files
  are also present is the JARs that correspond to Struts (don't laugh, but I'm
  still using it) and other components.
 
 Why would anyone laugh that you are using Struts?
 
 I think it's a great framework, and it's still maintained by a dedicated
 group of people.
 
 Would you prefer something else? Or, does Struts just have a long enough
 history to make it un-cool?
 
 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAk16pIsACgkQ9CaO5/Lv0PAbEQCgl3JHfnkXpx0h1TYaAalJkWty
 0SwAnRvOjKTjagdLGMhN/IIz1P8XuXTT
 =NQKX
 -END PGP SIGNATURE-
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
  

Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-09 Thread Brian Braun
Hi,

I just migrated from Tomcat 6.0.29 to 7.0.10. I have solved several problems
regarding the migration, but I don't know what these mean:

INFO: Deploying web application archive ROOT.war
Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already
defined
Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://struts.apache.org/tags-html is already
defined
Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://struts.apache.org/tags-logic is already
defined
Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://struts.apache.org/tags-nested is already
defined
Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://struts.apache.org/tags-tiles is already
defined
Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://displaytag.sf.net is already defined
Something tells me that Tomcat now expects my web.xml file to comply with
the new Servlet/JSP specifications, or a new version of the web.xml format.
I haven't changed my web.xml file at all, yet.
I would like to get rid of these warnings.
Anybody knows what is this about?

Brian


Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-09 Thread Mark Thomas
On 09/03/2011 18:12, Brian Braun wrote:
 Hi,
 
 I just migrated from Tomcat 6.0.29 to 7.0.10. I have solved several problems
 regarding the migration, but I don't know what these mean:
 
 INFO: Deploying web application archive ROOT.war
 Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
 INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already
 defined
 Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
 INFO: TLD skipped. URI: http://struts.apache.org/tags-html is already
 defined
 Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
 INFO: TLD skipped. URI: http://struts.apache.org/tags-logic is already
 defined
 Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
 INFO: TLD skipped. URI: http://struts.apache.org/tags-nested is already
 defined
 Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
 INFO: TLD skipped. URI: http://struts.apache.org/tags-tiles is already
 defined
 Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
 INFO: TLD skipped. URI: http://displaytag.sf.net is already defined
 Something tells me that Tomcat now expects my web.xml file to comply with
 the new Servlet/JSP specifications, or a new version of the web.xml format.
 I haven't changed my web.xml file at all, yet.
 I would like to get rid of these warnings.
 Anybody knows what is this about?

They are INFO messages so do not indicate an error condition. It looks
like you have multiple TLD definitions for a given URI (web.xml and TLD
embedded in a JAR?). Removing the duplicates should fix it.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-09 Thread Brian Braun
Hi Mark,

Now that I check my web.xml file, I realized that these TLD files are not
even mentioned there! I think I remember they used to be mentioned there,
but I upgraded my web.xml file to a newer format and then I got rid of those
references. But I'm getting the INFOs in my log yet, since I migrated to
Tomcat 7.0.10 from 6.0.X.
So where is the redundancy?



On Wed, Mar 9, 2011 at 1:16 PM, Mark Thomas ma...@apache.org wrote:

  On 09/03/2011 18:12, Brian Braun wrote:
  Hi,
 
  I just migrated from Tomcat 6.0.29 to 7.0.10. I have solved several
 problems
  regarding the migration, but I don't know what these mean:
 
  INFO: Deploying web application archive ROOT.war
  Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
  INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already
  defined
  Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
  INFO: TLD skipped. URI: http://struts.apache.org/tags-html is already
  defined
  Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
  INFO: TLD skipped. URI: http://struts.apache.org/tags-logic is already
  defined
  Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
  INFO: TLD skipped. URI: http://struts.apache.org/tags-nested is already
  defined
  Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
  INFO: TLD skipped. URI: http://struts.apache.org/tags-tiles is already
  defined
  Mar 9, 2011 9:28:12 AM org.apache.catalina.startup.TaglibUriRule body
  INFO: TLD skipped. URI: http://displaytag.sf.net is already defined
  Something tells me that Tomcat now expects my web.xml file to comply with
  the new Servlet/JSP specifications, or a new version of the web.xml
 format.
  I haven't changed my web.xml file at all, yet.
  I would like to get rid of these warnings.
  Anybody knows what is this about?

 They are INFO messages so do not indicate an error condition. It looks
 like you have multiple TLD definitions for a given URI (web.xml and TLD
 embedded in a JAR?). Removing the duplicates should fix it.

 Mark

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brian,

On 3/9/2011 1:42 PM, Brian Braun wrote:
 Now that I check my web.xml file, I realized that these TLD files are not
 even mentioned there! I think I remember they used to be mentioned there,
 but I upgraded my web.xml file to a newer format and then I got rid of those
 references. But I'm getting the INFOs in my log yet, since I migrated to
 Tomcat 7.0.10 from 6.0.X.
 So where is the redundancy?

Try checking the struts-*.jar files for .tld files.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk134wUACgkQ9CaO5/Lv0PAvJACggBUm7EhZQWNFEZf610fZzzvV
4bUAoI/9wxMUQRenqGVn8fIDzdtLQJ0j
=/C/X
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-09 Thread Brian Braun
Hi chris,

Actually, I had already unzipped my .war file and inspected every file
inside, and arrived to that conclution: The only place where the TLD files
are also present is the JARs that correspond to Struts (don't laugh, but I'm
still using it) and other components.
I guess Tomcat 7 is smarter than ever, and TLD being present in the WARs is
enough, so I dont need to keep it in my project and exported in my .war
file. Is that right?





On Wed, Mar 9, 2011 at 3:28 PM, Christopher Schultz 
ch...@christopherschultz.net wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Brian,

 On 3/9/2011 1:42 PM, Brian Braun wrote:
  Now that I check my web.xml file, I realized that these TLD files are not
  even mentioned there! I think I remember they used to be mentioned there,
  but I upgraded my web.xml file to a newer format and then I got rid of
 those
  references. But I'm getting the INFOs in my log yet, since I migrated to
  Tomcat 7.0.10 from 6.0.X.
  So where is the redundancy?

 Try checking the struts-*.jar files for .tld files.

 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk134wUACgkQ9CaO5/Lv0PAvJACggBUm7EhZQWNFEZf610fZzzvV
 4bUAoI/9wxMUQRenqGVn8fIDzdtLQJ0j
 =/C/X
 -END PGP SIGNATURE-

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-09 Thread Mark Thomas
On 09/03/2011 20:42, Brian Braun wrote:
 Hi chris,
 
 Actually, I had already unzipped my .war file and inspected every file
 inside, and arrived to that conclution: The only place where the TLD files
 are also present is the JARs that correspond to Struts (don't laugh, but I'm
 still using it) and other components.
 I guess Tomcat 7 is smarter than ever, and TLD being present in the WARs is
 enough, so I dont need to keep it in my project and exported in my .war
 file. Is that right?

Tomcat will find the TLDs in the struts JAR files. No need to put extra
copies directly in the WAR.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-09 Thread Brian Braun
That's nice! I that something new in Tomcat 7, or is it already present in
6.0.29?




On Wed, Mar 9, 2011 at 3:45 PM, Mark Thomas ma...@apache.org wrote:

 On 09/03/2011 20:42, Brian Braun wrote:
  Hi chris,
 
  Actually, I had already unzipped my .war file and inspected every file
  inside, and arrived to that conclution: The only place where the TLD
 files
  are also present is the JARs that correspond to Struts (don't laugh, but
 I'm
  still using it) and other components.
  I guess Tomcat 7 is smarter than ever, and TLD being present in the WARs
 is
  enough, so I dont need to keep it in my project and exported in my .war
  file. Is that right?

 Tomcat will find the TLDs in the struts JAR files. No need to put extra
 copies directly in the WAR.

 Mark

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-09 Thread Mark Thomas
On 09/03/2011 20:49, Brian Braun wrote:
 That's nice! I that something new in Tomcat 7, or is it already present in
 6.0.29?

It should be in 6 although you probably won't get the warnings. The TLD
scanning was completely re-worked for 7.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Migrated from 6.0.29 to 7.0.10, Now I get INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined

2011-03-09 Thread Brian Braun
OK, thanks for the responses!



On Wed, Mar 9, 2011 at 3:51 PM, Mark Thomas ma...@apache.org wrote:

 On 09/03/2011 20:49, Brian Braun wrote:
  That's nice! I that something new in Tomcat 7, or is it already present
 in
  6.0.29?

 It should be in 6 although you probably won't get the warnings. The TLD
 scanning was completely re-worked for 7.

 Mark

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org