Re: struts.jar

2003-07-05 Thread Craig R. McClanahan


On Fri, 4 Jul 2003, Jagannayakam wrote:


 should struts.jar  be specified in classpath ?


Only for the compiler, not the servlet container.

 Or it is sufficient to put it in web-inf/MyContext/WEB-INF/lib


From the Struts User's Guide:

  http://jakarta.apache.org/struts/userGuide/configuration.html#config_add

 Regards,
 Jagan.

Craig McClanahan

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



Re: struts.jar

2003-07-04 Thread Frances Aleah Z. de Guzman
i believe it should be in the classpath, coz if it is not your application 
will not know where to locate it.

On Friday 04 July 2003 05:25 pm, Jagannayakam wrote:
 should struts.jar  be specified in classpath ?

 Or it is sufficient to put it in web-inf/MyContext/WEB-INF/lib


 Regards,
 Jagan.

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

-- 
Frances Aleah Z. De Guzman
SA/Programmer
Ingenium Technology, Inc.
http://www.ingenium.com.ph

Disclaimer :
This message is intended only for the named recipient. If you are not the
intended recipient you are notified that disclosing, copying, distributing
or taking any action in reliance on the contents of this information is
strictly prohibited.



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



RE: struts.jar

2003-07-04 Thread Andrew Hill
Just have it in WEB-INF/lib of your webapp. The servlet container makes sure
all the stuff there is available on the classpath (of the classloader it
provides you). :-)

-Original Message-
From: Jagannayakam [mailto:[EMAIL PROTECTED]
Sent: Friday, 4 July 2003 17:25
To: Struts Users Mailing List (E-mail)
Subject: struts.jar


should struts.jar  be specified in classpath ?

Or it is sufficient to put it in web-inf/MyContext/WEB-INF/lib


Regards,
Jagan.

-
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]



RE: struts.jar

2003-07-04 Thread ashwani . kalra

You should always put it in lib dir. Also other related jars of the struts
should also be put in the lib dir.  If you put elsewhere , it may clash
with other jars of tomcat  like logging etc.

/Ashwani




   
 
Andrew Hill  
 
[EMAIL PROTECTED]To: Struts Users Mailing List 
[EMAIL PROTECTED]  
dnode.comcc: (bcc: ashwani.kalra/Polaris) 
 
  Subject: RE: struts.jar  
 
07/04/2003 03:13 PM
 
Please respond to  
 
Struts Users Mailing  
 
List  
 
   
 
   
 





Just have it in WEB-INF/lib of your webapp. The servlet container makes
sure
all the stuff there is available on the classpath (of the classloader it
provides you). :-)

-Original Message-
From: Jagannayakam [mailto:[EMAIL PROTECTED]
Sent: Friday, 4 July 2003 17:25
To: Struts Users Mailing List (E-mail)
Subject: struts.jar


should struts.jar  be specified in classpath ?

Or it is sufficient to put it in web-inf/MyContext/WEB-INF/lib


Regards,
Jagan.

-
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]





This e-Mail may contain proprietary and confidential information and is sent for the 
intended recipient(s) only. 
If by an addressing or transmission error this mail has been misdirected to you, you 
are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, 
copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment 
other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in

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

RE: struts.jar is locked

2002-05-05 Thread Ajay Chitre

Hello,

Don't know if this will help you, but I will throw some ideas.

I ran into a similar locking problem a few months ago - not with Struts.jar
but some other file.

Are you using ANT for auto deploying?  Is Struts.jar in your classpath at
the time of auto deploying?  How about the local DTDs for struts config
and web.xml - are they in the classpath?  If they are then - humor me -
remove them from your classpath and see what happens.

Anyway, that's all I can come up with right now - from the department of
useless ideas :) :)

HTH!

-- Original Message --
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
From: Robert Taylor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: struts.jar is locked
Date: Sun, 5 May 2002 06:48:14 -0400


I recently just noticed that the auto deploy functionality of my servlet
container is not working because the struts.jar is locked. The auto-deploy
functionality basically deletes any existing files under the target
directory and unpacks the  war file into the target directory, thereby
making deployment rather easy. The unfortunate thing is, when you attempt
to
reload the web app, the target directory cannot be deleted because the
struts.jar file is locked.

At first I thought it was my web app. Then I tried it with the
struts-example.war web app and it exibited the same behavior.

I don't see this behavior on my production machine, only during development
and staging (which both are behind a fire wall; no-proxy server is used).


The behavior seems to the result of the Digester resolving the location
of
DTDs to the local jar file. From the code, it it looks like it happens
when
the Digester must resolve to an alternate DTD. In this case it uses an
URL
object to open up a stream to the local resource thereby locking the
struts.jar file. It doesn't appear to exhibit this behavior when the
publidId is not registered and it must use the system identifier.


This is printed out when I see the behavior:

[Sat May 04 10:51:54 EDT 2002] register('-//Apache Software Foundation//DTD
Struts Configuration 1.0//EN',
'jar:file:///F:\cvsroot\web\apps\company\www\WEB-INF\lib\struts.jar!/org/apa
che/struts/resources/struts-config_1_0.dtd'
[Sat May 04 10:51:54 EDT 2002] register('-//Sun Microsystems, Inc.//DTD
Web
Application 2.2//EN',
'jar:file:///F:\cvsroot\web\apps\company\www\WEB-INF\lib\struts.jar!/org/apa
che/struts/resources/web-app_2_2.dtd'
[Sat May 04 10:51:54 EDT 2002] register('-//Sun Microsystems, Inc.//DTD
Web
Application 2.3//EN',
'jar:file:///F:\cvsroot\web\apps\company\www\WEB-INF\lib\struts.jar!/org/apa
che/struts/resources/web-app_2_3.dtd'
[Sat May 04 10:51:56 EDT 2002] resolveEntity('-//Apache Software
Foundation//DTD Struts Configuration 1.0//EN',
'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd')
[Sat May 04 10:51:56 EDT 2002]  Resolving to alternate DTD
'jar:file:///F:\cvsroot\web\apps\company\www\WEB-INF\lib\struts.jar!/org/apa
che/struts/resources/struts-config_1_0.dtd'


This is printed out when I don't see the behavior:

[Fri May 03 09:43:38 CDT 2002] resolveEntity('-//Apache Software
Foundation//DTD Struts Configuration 1.0//EN',
'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd')
[Fri May 03 09:43:38 CDT 2002]  Not registered, use system identifier


I searched the archives under Digester and could not find anything
pertinent over 804 hits. I may have missed something though.

Any help would be greatly appreciated.


robert


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


Ajay Chitre

Diligent Team, Inc.
(Where Diligent People Work as a Team)

http://www.DiligentTeam.com


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




RE: struts.jar is locked

2002-05-05 Thread Robert Taylor

I'm not sure about the use of ANT. The problem occurs in Tomcat4.03 and
ServletExec 4.1. I don't think ServletExec uses ANT, but Tomcat may.

My struts.jar is contained in WEB-INF/lib. The DTDs for web.xml and
struts-config.xml are in the struts.jar file. So, my struts.jar file is not
in my system classpath.

Thanks for the ideas.

robert

 -Original Message-
 From: Ajay Chitre [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, May 05, 2002 1:47 PM
 To: Struts Users Mailing List
 Subject: RE: struts.jar is locked


 Hello,

 Don't know if this will help you, but I will throw some ideas.

 I ran into a similar locking problem a few months ago - not
 with Struts.jar
 but some other file.

 Are you using ANT for auto deploying?  Is Struts.jar in your classpath at
 the time of auto deploying?  How about the local DTDs for struts config
 and web.xml - are they in the classpath?  If they are then - humor me -
 remove them from your classpath and see what happens.

 Anyway, that's all I can come up with right now - from the department of
 useless ideas :) :)

 HTH!

 -- Original Message --
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 From: Robert Taylor [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: struts.jar is locked
 Date: Sun, 5 May 2002 06:48:14 -0400
 
 
 I recently just noticed that the auto deploy functionality of my servlet
 container is not working because the struts.jar is locked. The
 auto-deploy
 functionality basically deletes any existing files under the target
 directory and unpacks the  war file into the target directory, thereby
 making deployment rather easy. The unfortunate thing is, when you attempt
 to
 reload the web app, the target directory cannot be deleted because the
 struts.jar file is locked.
 
 At first I thought it was my web app. Then I tried it with the
 struts-example.war web app and it exibited the same behavior.
 
 I don't see this behavior on my production machine, only during
 development
 and staging (which both are behind a fire wall; no-proxy server is used).
 
 
 The behavior seems to the result of the Digester resolving the location
 of
 DTDs to the local jar file. From the code, it it looks like it happens
 when
 the Digester must resolve to an alternate DTD. In this case it uses an
 URL
 object to open up a stream to the local resource thereby locking the
 struts.jar file. It doesn't appear to exhibit this behavior when the
 publidId is not registered and it must use the system identifier.
 
 
 This is printed out when I see the behavior:
 
 [Sat May 04 10:51:54 EDT 2002] register('-//Apache Software
 Foundation//DTD
 Struts Configuration 1.0//EN',
 'jar:file:///F:\cvsroot\web\apps\company\www\WEB-INF\lib\struts.j
 ar!/org/apa
 che/struts/resources/struts-config_1_0.dtd'
 [Sat May 04 10:51:54 EDT 2002] register('-//Sun Microsystems, Inc.//DTD
 Web
 Application 2.2//EN',
 'jar:file:///F:\cvsroot\web\apps\company\www\WEB-INF\lib\struts.j
 ar!/org/apa
 che/struts/resources/web-app_2_2.dtd'
 [Sat May 04 10:51:54 EDT 2002] register('-//Sun Microsystems, Inc.//DTD
 Web
 Application 2.3//EN',
 'jar:file:///F:\cvsroot\web\apps\company\www\WEB-INF\lib\struts.j
 ar!/org/apa
 che/struts/resources/web-app_2_3.dtd'
 [Sat May 04 10:51:56 EDT 2002] resolveEntity('-//Apache Software
 Foundation//DTD Struts Configuration 1.0//EN',
 'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd')
 [Sat May 04 10:51:56 EDT 2002]  Resolving to alternate DTD
 'jar:file:///F:\cvsroot\web\apps\company\www\WEB-INF\lib\struts.j
 ar!/org/apa
 che/struts/resources/struts-config_1_0.dtd'
 
 
 This is printed out when I don't see the behavior:
 
 [Fri May 03 09:43:38 CDT 2002] resolveEntity('-//Apache Software
 Foundation//DTD Struts Configuration 1.0//EN',
 'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd')
 [Fri May 03 09:43:38 CDT 2002]  Not registered, use system identifier
 
 
 I searched the archives under Digester and could not find anything
 pertinent over 804 hits. I may have missed something though.
 
 Any help would be greatly appreciated.
 
 
 robert
 
 
 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


Ajay Chitre

Diligent Team, Inc.
(Where Diligent People Work as a Team)

http://www.DiligentTeam.com


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


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




Re: struts.jar outside of WEB_INF/lib on Tomcat4?

2002-02-16 Thread Adam Hardy

I've often heard that you can't put struts.jar in CATALINA_HOME/lib but I've never 
heard anyone say why it doesn't work.

Is it a bug?





On Fri, 15 February 2002, Main, David wrote:

 
 Hi there,
 
 Has anyone had success placing struts.jar in %CATALINA_HOME%/lib to share it across 
all webapps? The reason I ask is that I have a shared library of utility classes in 
%CATALINA_HOME%/classes and one of them needs to import struts for image upload. 
 
 My problem is that the struts-based webapps only seem to work if struts.jar is in 
WEB-INF/lib, but my utility class requires it to be in %CATALINA_HOME%/lib. And, if I 
put it in both places, I get the following nasty linkage error:
 
 java.lang.LinkageError: Class org/apache/struts/upload/FormFile violates loader 
constraints
 
 I know there are workarounds like duplicating the utility class for each webapp, but 
I'm hoping for a more elegant solution.
 
 I'm using Tomcat4.0.1 on Win2K. If anyone has any suggestions, I'd appreciate them.
 
 Thanks,
 
 David
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com

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




RE: struts.jar for Websphere is Final?

2001-08-03 Thread Calabrese, Jason



I'm 
not sure, the only class that was changed was FormTag. You may want to 
make the changes yourself and run the ant script.

  -Original Message-From: Luis Olivares 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 31, 2001 11:57 
  AMTo: [EMAIL PROTECTED]Subject: struts.jar for 
  Websphere is Final?
  Hi:
  
   I have just joined the mailing 
  list. I, like many of you, need to deploy a struts application on WebSphere 
  4.0.
  
   I downloaded your already 
  modified struts.jar and it worked.
  
   My question is... was this jar 
  modified from the struts final revision or from a beta (beta 3, maybe?) 
  ?.
  
  Thanks!
  
  Regards.
  Luis 
Olivares


RE: struts.jar for Websphere is Final?

2001-08-02 Thread Assenza, Chris



The 
modified JAR file that I put up is based on Struts 1.0 final. 


Chris
-Original Message-From: 
Calabrese, Jason [mailto:[EMAIL PROTECTED]]Sent: Thursday, August 
02, 2001 11:20 AMTo: Struts-User (E-mail)Cc: 'Luis 
Olivares'Subject: RE: struts.jar for Websphere is 
Final?

  I'm 
  not sure, the only class that was changed was FormTag. You may want to 
  make the changes yourself and run the ant script.
  
-Original Message-From: Luis Olivares 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 31, 2001 11:57 
AMTo: [EMAIL PROTECTED]Subject: struts.jar for 
Websphere is Final?
Hi:

 I have just joined the 
mailing list. I, like many of you, need to deploy a struts application on 
WebSphere 4.0.

 I downloaded your already 
modified struts.jar and it worked.

 My question is... was this 
jar modified from the struts final revision or from a beta (beta 3, maybe?) 
?.

Thanks!

Regards.
Luis 
Olivares


Re: struts.jar

2001-04-10 Thread Maya Muchnik

unsubscribe and search over
http://www.mail-archive.com/struts-user@jakarta.apache.org/

Andrew Slack wrote:

 Is there a digest form of this list?  It'd be nice to minimise the traffic
 that's passing through my inbox.  Additionally, is there an URL out there
 where I can search over historical traffic from this list?

 Andrew M Slack




Re: struts.jar

2001-04-02 Thread Maya Muchnik

Put it under your_app/WEB-INF/lib. NOT in CLASSPATH, NOT under tomcat/lib
or other dir.

Jesse Vitrone wrote:

 I've know we've been through this before, but can someone refresh me on
 where it's OK to have struts.jar and where it's not OK?

 Thanks,
 Jesse Vitrone




Re: struts.jar

2001-04-02 Thread Donnie_Hall



Check out this link for more information:

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg01788.html

-Donnie Hall



|+---
||  jvitrone@gian|
||  tbear.com|
||   |
||  04/02/2001   |
||  08:14 AM |
||  Please   |
||  respond to   |
||  struts-user  |
||   |
|+---
  |
  ||
  |   To: [EMAIL PROTECTED]   |
  |   cc: (bcc: Donnie Hall/Enron Communications)  |
  |   Subject: struts.jar  |
  |



I've know we've been through this before, but can someone refresh me on
where it's OK to have struts.jar and where it's not OK?

Thanks,
   Jesse Vitrone