Re: Struts installation problems

2003-12-16 Thread beyaRecords - The home Urban music
Pedro,
thanks for your reply. Could I get a copy of your tomcat-apache.conf  
just to examine what it looks like?

cheers

Uzo
On 16 Dec 2003, at 15:06, Pedro Salgado wrote:
On 16/12/2003 14:21, "beyaRecords - The home Urban music"
<[EMAIL PROTECTED]> wrote:
Hi,
just installed struts on os x panther (10.3), or should I say trying  
to!

I am running apache 2, tomcat, cocoon with no problems. My problem is
installing Struts (AHH)
Now, following the install document it says to copy
"struts-documentation.war" and "struts-example.war" to your
$TOMCAT_HOME/webapps directory. Done that.
On restarting tomcat, a file called tomcat-apache.conf should be
generated and placed in my  $TOMCAT_HOME/conf directory. Nope, this is
not happening. I thought that there might be a write privilege issue
with the folder, but got no joy with that. What am I doing wrong??
  Finally someone else who uses mac. :)

  I am also using Tomcat 4.1.27 (not from ServerLogistics) but with the
Apache that comes with Apple with no problems...
  Maybe it would be best to ask ServerLogistics what's is the problem  
since
it seems that is a setup/configuration problem...

  By the way, Struts 1.2 is the development version not the final  
release
version... In case you didn't notice.

Pedro Salgado

Would I be right in thinking that the tomcat-apache.conf file is not
specific, in the sense that it doesn't captures machine specific data
and is just a generic file? If so, could one of you kind people send  
me
the file so I can get on with the rest of my life, please??? ;-)

Uzo

p.s.

Setup specific is:

1. complete Apache 2.0.48 (from Server Logistics -
www.serverlogistics.com)
2. complete Jakarta Tomcat (from Server Logistics)
3. Apache Coccoon (from Server Logistics)
4. Struts 1.2 (from jakarta.apache.org)
On 16 Dec 2003, at 14:06, beyaRecords - The home Urban music wrote:

Hi,
is anybody receiving my emails?
regards

Uzo
On 16 Dec 2003, at 14:03, Eric SCHULTZ wrote:
Good morning...

I need to do something similar with additional configuration
properties for
a particular action.
I figure I need to write a plug-in that creates a thread that checks
the
properties file every x seconds and if changed reloads it into a
context
attribute.
My problem is I've never done thread-safe programming before and I
figure I
need to handle the possibility that the plug-in's thread could be
writing a
new version while several actions are reading from the existing one.
Does anyone have any pointers to some information on how to do this
properly?  Much appreciated.
Thanks

Eric Schultz
Technical Leader
Conseiller Technique
Elix
Telephony & Web convergence at its best:
http://www.talktosantaclaus.com
La convergence téléphonie-web à son meilleur:
http://www.parleauperenoel.com
Specialist in interactive business solutions
Specialiste en solutions d'affaires interactives
14 Commerce Place, 5th floor
Nun's Island, QC  H4E 1T5
t: 514 768-1000
f: 514 768-7680
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: December 15, 2003 11:14
To: Struts Users Mailing List
Subject: RE: Reloading of application resources
At 11:42 AM +0200 12/15/03, Nicklas Karlsson wrote:
On Mon, 15 Dec 2003, Yves Sy wrote:

 Create a thread in your cache manager that polls for changes in  
the
 timestamp of the properties file, say, every 5000 ms and reloads
it when
 a new one is detected.
Yes, but the problem is not at the cache end, the issues are how
to trigger the components (the ActionServlet in this case) into
refreshing
their data from the cache. Do I have to extends the ActionServlet  
and
manually pop in refreshed data (based on some trigger) in the
message key
in the ServletContext? And how does locale affect the configured  
key
Note that although the message data is read in from Properties  
files,
the objects in the ServletContext which resolve references to
properties keys are instances of a specific Struts class,
MessageResources.  If you dynamically reloadable messages (which
would be useful to many people), you'll want to look at the
MessageResources and MessageResourcesFactory abstract classes and
extend them (or their Property oriented subclasses) in order to add
in your functionality...

http://jakarta.apache.org/struts/api/org/apache/struts/util/
MessageResources
.html
http://jakarta.apache.org/struts/api/org/apache/struts/util/
MessageResources
Factory.html
There's an ongoing process to factor these classes out of Struts and
into a commons library, and to have Struts use that library (on the
roadmap, that's slated for Struts 1.3.x).
http://jakarta.apache.org/commons/sandbox/resources/
http://jakarta.apache.org/struts/status.html
Hope that helps.  I know I'd find a dynamically reloadable messages
bundle useful!
Joe

--  
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
  "We want beef in dessert if we can get it there."
   -- Betty Hogan, Director of New Product Development, National
Cattlemen's Beef Association

---

Re: Struts installation problems

2003-12-16 Thread Pedro Salgado
On 16/12/2003 14:21, "beyaRecords - The home Urban music"
<[EMAIL PROTECTED]> wrote:

> Hi,
> just installed struts on os x panther (10.3), or should I say trying to!
> 
> I am running apache 2, tomcat, cocoon with no problems. My problem is
> installing Struts (AHH)
> 
> Now, following the install document it says to copy
> "struts-documentation.war" and "struts-example.war" to your
> $TOMCAT_HOME/webapps directory. Done that.
> 
> On restarting tomcat, a file called tomcat-apache.conf should be
> generated and placed in my  $TOMCAT_HOME/conf directory. Nope, this is
> not happening. I thought that there might be a write privilege issue
> with the folder, but got no joy with that. What am I doing wrong??
> 

  Finally someone else who uses mac. :)

  I am also using Tomcat 4.1.27 (not from ServerLogistics) but with the
Apache that comes with Apple with no problems...

  Maybe it would be best to ask ServerLogistics what's is the problem since
it seems that is a setup/configuration problem...

  By the way, Struts 1.2 is the development version not the final release
version... In case you didn't notice.

Pedro Salgado

> Would I be right in thinking that the tomcat-apache.conf file is not
> specific, in the sense that it doesn't captures machine specific data
> and is just a generic file? If so, could one of you kind people send me
> the file so I can get on with the rest of my life, please??? ;-)
> 
> Uzo
> 
> p.s.
> 
> Setup specific is:
> 
> 1. complete Apache 2.0.48 (from Server Logistics -
> www.serverlogistics.com)
> 2. complete Jakarta Tomcat (from Server Logistics)
> 3. Apache Coccoon (from Server Logistics)
> 4. Struts 1.2 (from jakarta.apache.org)
> 
> On 16 Dec 2003, at 14:06, beyaRecords - The home Urban music wrote:
> 
>> Hi,
>> is anybody receiving my emails?
>> 
>> regards
>> 
>> Uzo
>> On 16 Dec 2003, at 14:03, Eric SCHULTZ wrote:
>> 
>>> Good morning...
>>> 
>>> I need to do something similar with additional configuration
>>> properties for
>>> a particular action.
>>> 
>>> I figure I need to write a plug-in that creates a thread that checks
>>> the
>>> properties file every x seconds and if changed reloads it into a
>>> context
>>> attribute.
>>> 
>>> My problem is I've never done thread-safe programming before and I
>>> figure I
>>> need to handle the possibility that the plug-in's thread could be
>>> writing a
>>> new version while several actions are reading from the existing one.
>>> 
>>> Does anyone have any pointers to some information on how to do this
>>> properly?  Much appreciated.
>>> 
>>> Thanks
>>> 
>>> Eric Schultz
>>> Technical Leader
>>> Conseiller Technique
>>> Elix
>>> Telephony & Web convergence at its best:
>>> http://www.talktosantaclaus.com
>>> La convergence téléphonie-web à son meilleur:
>>> http://www.parleauperenoel.com
>>> Specialist in interactive business solutions
>>> Specialiste en solutions d'affaires interactives
>>> 14 Commerce Place, 5th floor
>>> Nun's Island, QC  H4E 1T5
>>> t: 514 768-1000
>>> f: 514 768-7680
>>> 
>>> 
>>> -Original Message-
>>> From: Joe Germuska [mailto:[EMAIL PROTECTED]
>>> Sent: December 15, 2003 11:14
>>> To: Struts Users Mailing List
>>> Subject: RE: Reloading of application resources
>>> 
>>> 
>>> At 11:42 AM +0200 12/15/03, Nicklas Karlsson wrote:
 On Mon, 15 Dec 2003, Yves Sy wrote:
 
>  Create a thread in your cache manager that polls for changes in the
>  timestamp of the properties file, say, every 5000 ms and reloads
> it when
>  a new one is detected.
 
 Yes, but the problem is not at the cache end, the issues are how
 to trigger the components (the ActionServlet in this case) into
 refreshing
 their data from the cache. Do I have to extends the ActionServlet and
 manually pop in refreshed data (based on some trigger) in the
 message key
 in the ServletContext? And how does locale affect the configured key
>>> 
>>> Note that although the message data is read in from Properties files,
>>> the objects in the ServletContext which resolve references to
>>> properties keys are instances of a specific Struts class,
>>> MessageResources.  If you dynamically reloadable messages (which
>>> would be useful to many people), you'll want to look at the
>>> MessageResources and MessageResourcesFactory abstract classes and
>>> extend them (or their Property oriented subclasses) in order to add
>>> in your functionality...
>>> 
>>> 
>>> http://jakarta.apache.org/struts/api/org/apache/struts/util/
>>> MessageResources
>>> .html
>>> http://jakarta.apache.org/struts/api/org/apache/struts/util/
>>> MessageResources
>>> Factory.html
>>> 
>>> There's an ongoing process to factor these classes out of Struts and
>>> into a commons library, and to have Struts use that library (on the
>>> roadmap, that's slated for Struts 1.3.x).
>>> 
>>> http://jakarta.apache.org/commons/sandbox/resources/
>>> http://jakarta.apache.org/struts/status.html
>>> 
>>> Hope that helps.  I know I'd

Struts installation problems

2003-12-16 Thread beyaRecords - The home Urban music
Hi,
just installed struts on os x panther (10.3), or should I say trying to!
I am running apache 2, tomcat, cocoon with no problems. My problem is  
installing Struts (AHH)

Now, following the install document it says to copy  
"struts-documentation.war" and "struts-example.war" to your   
$TOMCAT_HOME/webapps directory. Done that.

On restarting tomcat, a file called tomcat-apache.conf should be  
generated and placed in my  $TOMCAT_HOME/conf directory. Nope, this is  
not happening. I thought that there might be a write privilege issue  
with the folder, but got no joy with that. What am I doing wrong??

Would I be right in thinking that the tomcat-apache.conf file is not  
specific, in the sense that it doesn't captures machine specific data  
and is just a generic file? If so, could one of you kind people send me  
the file so I can get on with the rest of my life, please??? ;-)

Uzo

p.s.

Setup specific is:

1. complete Apache 2.0.48 (from Server Logistics -  
www.serverlogistics.com)
2. complete Jakarta Tomcat (from Server Logistics)
3. Apache Coccoon (from Server Logistics)
4. Struts 1.2 (from jakarta.apache.org)

On 16 Dec 2003, at 14:06, beyaRecords - The home Urban music wrote:

Hi,
is anybody receiving my emails?
regards

Uzo
On 16 Dec 2003, at 14:03, Eric SCHULTZ wrote:
Good morning...

I need to do something similar with additional configuration  
properties for
a particular action.

I figure I need to write a plug-in that creates a thread that checks  
the
properties file every x seconds and if changed reloads it into a  
context
attribute.

My problem is I've never done thread-safe programming before and I  
figure I
need to handle the possibility that the plug-in's thread could be  
writing a
new version while several actions are reading from the existing one.

Does anyone have any pointers to some information on how to do this
properly?  Much appreciated.
Thanks

Eric Schultz
Technical Leader
Conseiller Technique
Elix
Telephony & Web convergence at its best:  
http://www.talktosantaclaus.com
La convergence téléphonie-web à son meilleur:  
http://www.parleauperenoel.com
Specialist in interactive business solutions
Specialiste en solutions d'affaires interactives
14 Commerce Place, 5th floor
Nun's Island, QC  H4E 1T5
t: 514 768-1000
f: 514 768-7680

-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: December 15, 2003 11:14
To: Struts Users Mailing List
Subject: RE: Reloading of application resources
At 11:42 AM +0200 12/15/03, Nicklas Karlsson wrote:
On Mon, 15 Dec 2003, Yves Sy wrote:

 Create a thread in your cache manager that polls for changes in the
 timestamp of the properties file, say, every 5000 ms and reloads  
it when
 a new one is detected.
	Yes, but the problem is not at the cache end, the issues are how
to trigger the components (the ActionServlet in this case) into  
refreshing
their data from the cache. Do I have to extends the ActionServlet and
manually pop in refreshed data (based on some trigger) in the  
message key
in the ServletContext? And how does locale affect the configured key
Note that although the message data is read in from Properties files,
the objects in the ServletContext which resolve references to
properties keys are instances of a specific Struts class,
MessageResources.  If you dynamically reloadable messages (which
would be useful to many people), you'll want to look at the
MessageResources and MessageResourcesFactory abstract classes and
extend them (or their Property oriented subclasses) in order to add
in your functionality...
http://jakarta.apache.org/struts/api/org/apache/struts/util/ 
MessageResources
.html
http://jakarta.apache.org/struts/api/org/apache/struts/util/ 
MessageResources
Factory.html

There's an ongoing process to factor these classes out of Struts and
into a commons library, and to have Struts use that library (on the
roadmap, that's slated for Struts 1.3.x).
http://jakarta.apache.org/commons/sandbox/resources/
http://jakarta.apache.org/struts/status.html
Hope that helps.  I know I'd find a dynamically reloadable messages
bundle useful!
Joe

--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
  "We want beef in dessert if we can get it there."
   -- Betty Hogan, Director of New Product Development, National
Cattlemen's Beef Association
-
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]


[newbie]: Struts installation problem

2003-08-14 Thread Manan Mehra
Hello all :

I have downloaded struts and installed the
struts-example application on my web server. But it
does not load properly. 

I am using WEBLOGIC SERVER 6.0

Details of error message are :

[INFO] PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings',
returnNull=true
[INFO] PropertyMessageResources - -Initializing,
config='org.apache.struts.action.ActionResources',
returnNull=
[ERROR] ActionServlet - -null
java.lang.AbstractMethodError
at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:908)
at
org.apache.commons.digester.Digester.parse(Digester.java:1562)
at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1381)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:638)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:581)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:526)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1078)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:1022)
at
weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:468)
at
weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:404)
at
weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at
weblogic.j2ee.Application.addComponent(Application.java:133)
at
weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:327)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:143)
at
weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
at java.lang.reflect.Method.invoke(Native
Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy37.addWebDeployment(Unknown Source)
at
weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_Caching
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:313)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:143)
at java.lang.reflect.Method.invoke(Native
Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:4
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:287)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:866)
at
weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:853)
at
weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:838)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:566)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy12.addTarget(Unknown Source)
at
weblogic.management.mbeans.custom.ApplicationMana

Re: Struts Installation

2003-02-24 Thread Michael C. Lee Jr.
This is pretty open ended. It is also a VERY large topic of conversation.

For ease of development distribution I highly recommend including the
struts.jar in your webapp. Make sure you include the tlds, struts-config.xml
and your Application Resources file. You can change all kinds of struts/web
parameters and hot deploy them. I recommend also reading the specs for WAR
files and the struts install docs for more info.
Michael Lee



- Original Message -
From: "joseph agunpopo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 24, 2003 8:40 AM
Subject: Struts Installation


> Hi
>
> Can anyone tell me how to install and configure Struts.please?
>
> =
>
> joseph
>
>
> __
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003

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



RE: Struts Installation

2003-02-24 Thread Bryan
Joseph, 

Struts isn't really "installed" or "configured" because it is not a
free-standing application. It must be incorporated into your own
application.


Here is how you install the demo:

Copy 'struts-example.war' (from the Struts' tarball's webapps directory)
in your container's own webapps directory.  Restart your servlet
container and surf to http://server:port/struts-example.

If you don't have a container, you can install Tomcat
(http://jakarta.apache.org/tomcat/), which works fine.


If it comes up, then you're in business. If not, then see your
container's documentation, check the container's logs, etc.

Cheers,
 
Bryan


-Original Message-

joseph agunpopo wrote:
> Hi
> 
> Can anyone tell me how to install and configure Struts.please?
> 
> =
> 
> joseph



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



Re: Struts Installation

2003-02-24 Thread Chetan Sahasrabudhe
Have you downloaded binary version of struts, I will suggest you go for it,
reason is if u take source and try to compile it, u will any way die doing
that and
final installation will happen after 2 months :)

get the binary build

Expand it to a folder

in main folder where u have expanded it (say jakarta-struts-1.1-b3)
you will find a file INSTALL
take a printout of it,
download all necessary softwares mentioned in the file
follow the steps carefully and methodically
once u r done
copy, struts-documentation and struts-example to your web servers
webapps folder
restart the server and try acessing struts-documentation through browser

http://:/struts-documentation

if u can see struts page u r done with it :)

all the best

- Original Message -
From: "joseph agunpopo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 24, 2003 7:10 PM
Subject: Struts Installation


> Hi
>
> Can anyone tell me how to install and configure Struts.please?
>
> =
>
> joseph
>
>
> __
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> -
> 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 Installation

2003-02-24 Thread Nicolas De Loof
read INSTALL in your struts distrib 

If you encouter some specific problems you can ask this list...

Nico.

- Original Message - 
From: "joseph agunpopo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 24, 2003 2:40 PM
Subject: Struts Installation


> Hi
> 
> Can anyone tell me how to install and configure Struts.please?
> 
> =
> 
> joseph
> 
> 
> __
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> -
> 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 Installation

2003-02-24 Thread Vic Cekvenich
Did you check the home page of Struts for several great books, some of 
them available in PDF instantly?
.V

joseph agunpopo wrote:
Hi

Can anyone tell me how to install and configure Struts.please?

=

joseph

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


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


Struts Installation

2003-02-24 Thread joseph agunpopo
Hi

Can anyone tell me how to install and configure Struts.please?

=

joseph


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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



struts installation

2003-02-23 Thread Dani
Hello. My name is Dani (and sorry for my poor English). I've just installed
struts but, may I have to install Xerces, Xalan and Ant? The documentation
refeers to those and I've installed them but I don't know what they are used
for and if they are necesary to install struts.

Thank you (for reading this :-))


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



Re: Struts Installation

2002-11-12 Thread Eric Gignac
Thanks. It will help me !


- Original Message -
From: "Ian Vellosa" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 4:59 PM
Subject: RE: Struts Installation


> Hmmm lets see, would this be of any use?
>
> http://jakarta.apache.org/struts/resources/tutorials.html
>
> theserverside.com have just put up an artice too entitled "Fast Track to
> Struts" at:
>
> http://www2.theserverside.com/resources/article.jsp?l=StrutsFastTrack
>
> Have fun boys and girls!
> IV
>
>
>
>
> -Original Message-
> From: Eric Gignac [mailto:egignac@;licef.teluq.uquebec.ca]
> Sent: 12 November 2002 22:46
> To: Struts Users Mailing List
> Subject: Struts Installation
>
>
> Hi
>
> I'm looking for a good tutorial for the installation of Struts.  Any links
?
>
> Thanks
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




RE: Struts Installation

2002-11-12 Thread Ian Vellosa
Hmmm lets see, would this be of any use?

http://jakarta.apache.org/struts/resources/tutorials.html

theserverside.com have just put up an artice too entitled "Fast Track to
Struts" at:

http://www2.theserverside.com/resources/article.jsp?l=StrutsFastTrack

Have fun boys and girls!
IV




-Original Message-
From: Eric Gignac [mailto:egignac@;licef.teluq.uquebec.ca]
Sent: 12 November 2002 22:46
To: Struts Users Mailing List
Subject: Struts Installation


Hi

I'm looking for a good tutorial for the installation of Struts.  Any links ?

Thanks


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




RE: Struts Installation

2002-11-12 Thread Karr, David
You don't "install" Struts (except for storing the binary distribution on disk), you 
install a web application that uses Struts.  Using Struts in your web application is 
reasonably well-defined in the Struts online documentation.  "Using" it mostly 
consists of putting the "struts.jar" file in the "WEB-INF/lib" directory of your WAR 
file, and configuring the "web.xml" file to use the ActionServlet.

> -Original Message-
> From: Eric Gignac [mailto:egignac@;licef.teluq.uquebec.ca]
> Sent: Tuesday, November 12, 2002 1:46 PM
> To: Struts Users Mailing List
> Subject: Struts Installation
> 
> 
> Hi 
> 
> I'm looking for a good tutorial for the installation of 
> Struts.  Any links ?
> 
> Thanks
> 

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




Struts Installation

2002-11-12 Thread Eric Gignac
Hi 

I'm looking for a good tutorial for the installation of Struts.  Any links ?

Thanks



AW: Struts installation and web.xml question

2002-07-14 Thread Manfred Wolff

Hi.

The question is: Where lies your start.jsp. It must be at the
root-context. So if your app has the following structure:

   EGPS
  WEB-INF
 CLASSES

Then ist must be ??/EGPS/start.jsp

Manfred

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Im Auftrag von Struts Newsgroup
Gesendet: Sonntag, 14. Juli 2002 06:55
An: [EMAIL PROTECTED]
Betreff: Struts installation and web.xml question


Subject: Struts installation and web.xml question
From: "BillB" <[EMAIL PROTECTED]>
 ===
Hi,
I'm trying to add Struts to my existing webapp under Tomcat 4.* . The
following is the web.xml file that I have after installing Struts. The
problem is with the weloome jsp file (start.jsp). It is no longer being
found after I add the entries for Struts. The error message is below.
When I remove the Struts entries from the web.xml file all works well as
before. What am I missing here? I've placed the welcome file entry in
different places in the file to no avail.

type Status report

message /EGPS/start.jsp

description The requested resource (/EGPS/start.jsp) is not available.


<-- WEB.XML file listing --->


http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";>

 
 
 turbine-init
 com.egps.services.TurbineInit

 
 turbineDir
 
 
 1


 
 log4j-init
 com.egps.services.Log4jInit

 
  log4j-init-file
  WEB-INF/log4j.properties
 

 true




  
  

  action
 
org.apache.struts.action.ActionServlet
  
application
ApplicationResources
  
  
config
/WEB-INF/struts-config.xml
  
  
debug
2
  
  
detail
2
  
  
validate
true
  
  2
  

   

  action
  *.do
  

  
  
 start.jsp
  

  
  
/WEB-INF/app.tld
/WEB-INF/app.tld
  

  
  
/WEB-INF/struts-bean.tld
/WEB-INF/struts-bean.tld
  

  
/WEB-INF/struts-html.tld
/WEB-INF/struts-html.tld
  

  
/WEB-INF/struts-logic.tld
/WEB-INF/struts-logic.tld
  




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




Struts installation and web.xml question

2002-07-13 Thread @Basebeans.com

Subject: Struts installation and web.xml question
From: "BillB" <[EMAIL PROTECTED]>
 ===
Hi,
I'm trying to add Struts to my existing webapp under Tomcat 4.* . The
following is the web.xml file
that I have after installing Struts. The problem is with the weloome jsp
file (start.jsp). It is no longer being found
after I add the entries for Struts. The error message is below. When I
remove the Struts entries from the web.xml file
all works well as before. What am I missing here? I've placed the welcome
file entry in different places in the file
to no avail.

type Status report

message /EGPS/start.jsp

description The requested resource (/EGPS/start.jsp) is not available.


<-- WEB.XML file listing --->


http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";>

 
 
 turbine-init
 com.egps.services.TurbineInit

 
 turbineDir
 
 
 1


 
 log4j-init
 com.egps.services.Log4jInit

 
  log4j-init-file
  WEB-INF/log4j.properties
 

 true




  
  

  action
  org.apache.struts.action.ActionServlet
  
application
ApplicationResources
  
  
config
/WEB-INF/struts-config.xml
  
  
debug
2
  
  
detail
2
  
  
validate
true
  
  2
  

   

  action
  *.do
  

  
  
 start.jsp
  

  
  
/WEB-INF/app.tld
/WEB-INF/app.tld
  

  
  
/WEB-INF/struts-bean.tld
/WEB-INF/struts-bean.tld
  

  
/WEB-INF/struts-html.tld
/WEB-INF/struts-html.tld
  

  
/WEB-INF/struts-logic.tld
/WEB-INF/struts-logic.tld
  




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




Newbie Question: Struts Installation

2002-03-11 Thread David . A . Ventimiglia


Hello,

Is there a mistake in the Struts installation instructions?  

I'm trying to use Struts in Weblogic 6.1, and am getting an error that says
Weblogic can't find the tag class.

When I looked in the Struts docs, it seemed to contradict the Weblogic docs:

The Struts docs say to copy the Struts jar files into the ../WEB-INF/lib
directory, then copy all the *.tld files into the ../WEB-INF directory.
Then place entries like these in your ../WEB-INF/web.xml file:


  /WEB-INF/struts-bean.tld
  /WEB-INF/struts-bean.tld


This page of the Weblogic docs, however, say to point  not
the the *.tld file, but to the *.jar file, at least when deploying a JSP Tag
Library as a JAR file:

http://e-docs.bea.com/wls/docs61///taglib/admin.html#361243

Basically, it says to put this in the ../WEB-INF/web.xml file:


myjar.tld

  /WEB-INF/lib/myTagLibrary.jar



Which is it?  If I want to keep my custom tags in JAR files, do I reference
the location to the TLD file or the JAR file?

Thanks!

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




Struts Installation with VAJ 3.53 ? Help

2001-09-24 Thread Jhaveri, Harshal

hi! All
   I am having problems installing struts in VAJ 3.53
I followed instructions on then site:
http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocument&SubMast

Still having some problems initializing ActionServlet
[01.09.23 12:47:23:186 EDT] 2fb6 WebGroup  X [Servlet Error]-[{0}]: {1}:
{2}
 "action"
 "Failed to load servlet"
 javax.servlet.ServletException: Parsing
error processing resource path /WEB-INF/struts-config.xml
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
javax.servlet.ServletException(java.lang.String,
java.lang.Throwable)
void org.apache.struts.action.ActionServlet.initMapping()
void org.apache.struts.action.ActionServlet.init()
void javax.servlet.GenericServlet.init(javax.servlet.ServletConfig)
void com.ibm.servlet.engine.webapp.StrictServletInstance.doInit()
void
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(javax.servlet.Ser
vletConfig)
void
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(com.ibm.servle
t.engine.webapp.StrictLifecycleServlet, javax.servlet.ServletConfig)
void
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(javax.servlet.Serv
letConfig)
void com.ibm.servlet.engine.webapp.ServletInstance.init()
void javax.servlet.GenericServlet.init(javax.servlet.ServletConfig)
void
com.ibm.servlet.engine.webapp.ServletManager.addServlet(java.lang.String,
javax.servlet.Servlet, java.util.Properties)
void
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(java.lang.Str
ing)
void
com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets()
void com.ibm.servlet.engine.webapp.WebApp.loadServletManager()
void
com.ibm.servlet.engine.webapp.WebApp.init(com.ibm.servlet.engine.config.WebA
ppInfo, com.ibm.servlet.engine.webapp.WebAppContext)
void com.ibm.servlet.engine.srt.WebGroup.loadWebApp()
void
com.ibm.servlet.engine.srt.WebGroup.init(com.ibm.servlet.engine.ServletHost,
com.ibm.servlet.engine.config.WebGroupInfo)
void com.ibm.servlet.engine.ServletHost.loadWebGroups()
void
com.ibm.servlet.engine.ServletHost.init(com.ibm.servlet.engine.ServletEngine
, com.ibm.servlet.engine.config.ServletHostInfo)
void com.ibm.servlet.engine.ServletEngine.loadServletHosts()
void
com.ibm.servlet.engine.ServletEngine.init(com.ibm.servlet.engine.config.Serv
letEngineInfo)
com.ibm.servlet.engine.ServletEngine
com.ibm.servlet.engine.ServletEngine.getEngine()
void
com.ibm.ivj.control.node.ServletEngineRunner.startServletEngine(boolean)
boolean com.ibm.ivj.control.node.ServletEngineRunner.startServer()
void
com.ibm.ivj.control.node.ServletEngineRunner.main(java.lang.String [])
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object,
java.lang.Object [])

I would appreciate all the help I can get on this .

Thanks,
Harshal.

-Original Message-
From: Assenza, Chris [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 9:59 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Struts installation on Websphere 4.0


Still haven't had time to formalize these directions, so they are likely to
change once I get time to remove extraeous steps or correct things. :)

rief Preliminary Deployment Instructions for WAS 4.0

·   Deploy Application
o   Install WebSphere 4.0
o   Once completed and system is restarted (if necessary): Start
the WebSphere service   (startServer.bat on NT, probably startServer.sh on
Unix)
o   After the server has started, log onto the web-based
Administration Console  (http://localhost:9090/admin).
o   Next, expand "Nodes" on the left.
o   Click on Enterprise Applications
o   Click on Install
o   Browse to the file Deployed_app.ear that you created with
the AA tool.
o   Select the file follow the steps the console takes you
through:
§   Click next on EJB deployment screen.
§   Click next on the Web Module deployment screen
(change your preference on  pre-compiling if you so
desire).
§   On the next screen, allow WebSphere to redeploy
YourApp-ejb.jar by leaving  the box checked and clicking
next. (ed: Not sure if this step is necessary)
§   Review the settings and click Finish when ready.
·   Once finished, begin JDBC configuration. (for Oracle)
o   Expand Resources in the left navigation area.
o   Click "JDBC Drivers"
o   Click "New"
§   The Server Class Path is the location of
classes12.zip (Oracle's JDBC 

RE: Struts installation on Websphere 4.0

2001-09-24 Thread Assenza, Chris

Still haven't had time to formalize these directions, so they are likely to
change once I get time to remove extraeous steps or correct things. :)

rief Preliminary Deployment Instructions for WAS 4.0

·   Deploy Application
o   Install WebSphere 4.0
o   Once completed and system is restarted (if necessary): Start
the WebSphere service   (startServer.bat on NT, probably startServer.sh on
Unix)
o   After the server has started, log onto the web-based
Administration Console  (http://localhost:9090/admin).
o   Next, expand "Nodes" on the left.
o   Click on Enterprise Applications
o   Click on Install
o   Browse to the file Deployed_app.ear that you created with
the AA tool.
o   Select the file follow the steps the console takes you
through:
§   Click next on EJB deployment screen.
§   Click next on the Web Module deployment screen
(change your preference on  pre-compiling if you so
desire).
§   On the next screen, allow WebSphere to redeploy
YourApp-ejb.jar by leaving  the box checked and clicking
next. (ed: Not sure if this step is necessary)
§   Review the settings and click Finish when ready.
·   Once finished, begin JDBC configuration. (for Oracle)
o   Expand Resources in the left navigation area.
o   Click "JDBC Drivers"
o   Click "New"
§   The Server Class Path is the location of
classes12.zip (Oracle's JDBCdrivers) on the
server.
§   Name is: "OracleJdbcDriver"
§   Implementation Classname is:
oracle.jdbc.pool.OracleConnectionPoolDataSource
o   Click Ok to add the driver.
o   Expand the newly created "OracleJdbcDriver" in the
left navigation area.
o   Click on "Data Sources"
o   Click "New"
§   Name is: somePool
§   JNDI Name is: jdbc/somePool
§   Default Userid is: someId 
§   Defaults Password is: somePass 
§   All others left blank/default.
o   Click Ok to add the Data Source.
o   From the Data Source screen, click on somePool.
o   Click on Property Set (on the bottom).
o   Click Resource Properties
o   Click "New"
§   Name is: URL
§   Type is: java.lang.String
§   Value is: jdbc:oracle:thin:user/pass@host:port:sid 
Where:
·   user/pass are the username/password
respectively
·   host is the IP address of the Oracle
DB Server 
·   port is the port on which Oracle is
listening (ex. 1521).
·   sid is the Oracle SID or name for
the database
o   Click Ok until you've reached the Data Source Screen.
·   Complete Deployment
o   Click "Save" on the nav-bar at the top of the screen.
o   Select server-config.xml (or the top option) and click Ok.  
o   Stop and then restart the WebSphere AppServer.
·   Once started, go to http://someIpAddress/appname/file.jsp to test
the deployment.



Christopher Assenza 
Phone:  412.201.6026 
Fax: 412.201.6060 
Email:  [EMAIL PROTECTED] 
ACCESSDATA 
Moving Your Business from Point A to Point e.SM 
http://www.accessdc.com/ 
-Original Message-
From: Ed Holloway [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 22, 2001 5:45 PM
To: [EMAIL PROTECTED]
Subject: Struts installation on Websphere 4.0


Does anyone have any information on installing Struts and/or Sample Apps on
WS 4.0 Advanced Enterprise (AES) on a NT/2000 platform?  This is my first
experience with struts (and WS 4.0 for that matter!) and I am not having
much luck.  

I have tried to extract what I could from the Struts / WS 3.5x instructions,
but still no luck (and the deploy process seems to be considerably different
between these Websphere versions).

I can get the basic index.jsp pages to load in the samples, but after I try
any form action it seems like it does not know where to post, and just
returns a page not found error.

Any help is greatly appreciated!

Thanks,
-Ed



SV: Struts installation on iPlanet 4.1 SP7

2001-09-24 Thread Mikkel Bruun

spend almost a week trying to run struts on ip 4.1...

We are now able to use the servlet and util classes, but cant use the
taglibs...



:: 
  Mikkel Bruun
  Senior IT Developer
  [EMAIL PROTECTED]
  Direct: +45 32 88 22 73

  Valtech A/S
  Kanonbaadsvej 10
  DK-1437 Copenhagen
  Tel  +45 32 88 20 00
  Fax +45 32 88 20 20



> -Oprindelig meddelelse-
> Fra: Bacco, F. ing. DTO/SLOD/SSI/RSD [mailto:[EMAIL PROTECTED]]
> Sendt: 24 September 2001 09:42
> Til: '[EMAIL PROTECTED]'
> Emne: RE: Struts installation on iPlanet 4.1 SP7
> 
> 
> We also had a lot of problems, so we decided to use iPlanet 
> 6.0 (sp1) and
> now, after days of frustration with iPlanet 4.1, it works 
> excellent. So.. my
> advise, dont use iPlanet 4.1.
> 
> Good luck
>   Frank
> 
> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Verzonden: maandag 24 september 2001 1:31
> Aan: [EMAIL PROTECTED]
> Onderwerp: Struts installation on iPlanet 4.1 SP7
> 
> 
> 
> 
> Is there anyone out there who has sucessfully installed 
> struts on iPlanet
> 4.1 ?
> Please help me 
> 
> Thanks
>   John
> 



RE: Struts installation on iPlanet 4.1 SP7

2001-09-24 Thread Bacco, F. ing. DTO/SLOD/SSI/RSD

We also had a lot of problems, so we decided to use iPlanet 6.0 (sp1) and
now, after days of frustration with iPlanet 4.1, it works excellent. So.. my
advise, dont use iPlanet 4.1.

Good luck
Frank

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Verzonden: maandag 24 september 2001 1:31
Aan: [EMAIL PROTECTED]
Onderwerp: Struts installation on iPlanet 4.1 SP7




Is there anyone out there who has sucessfully installed struts on iPlanet
4.1 ?
Please help me 

Thanks
  John



Re: Struts installation on iPlanet 4.1 SP7

2001-09-23 Thread martin . cooper

There are installation instructions on the Struts web site:

http://jakarta.apache.org/struts/installation-ip.html

--
Martin Cooper


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 23, 2001 4:30 PM
Subject: Struts installation on iPlanet 4.1 SP7


>
>
> Is there anyone out there who has sucessfully installed struts on iPlanet
4.1 ?
> Please help me 
>
> Thanks
>   John
>
>
>





Struts installation on iPlanet 4.1 SP7

2001-09-23 Thread jsimons



Is there anyone out there who has sucessfully installed struts on iPlanet 4.1 ?
Please help me 

Thanks
  John






Struts installation on Websphere 4.0

2001-09-22 Thread Ed Holloway



Does anyone have any information on installing 
Struts and/or Sample Apps on WS 4.0 Advanced Enterprise (AES) on a NT/2000 
platform?  This is my first experience with struts (and WS 4.0 for that 
matter!) and I am not having much luck.  
 
I have tried to extract what I could from the 
Struts / WS 3.5x instructions, but still no luck (and the deploy process seems 
to be considerably different between these Websphere versions).
 
I can get the basic index.jsp pages to load in the 
samples, but after I try any form action it seems like it does not know where to 
post, and just returns a page not found error.
 
Any help is greatly appreciated!
 
Thanks,
-Ed
 


RE: STRUTS Installation problem

2001-09-18 Thread Bacco, F. ing. DTO/SLOD/SSI/RSD

You have to use an other XML parser in place of JAXP. Use Xerces instead and
put the jar in your lib directory.

Ciao, Frank

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 18 september 2001 15:42
Aan: [EMAIL PROTECTED]
Onderwerp: STRUTS Installation problem


Hi,

I have downloaded and unpacked Struts 1.0 and am trying to run the examples
but I am getting following error:-

A Servlet Exception Has Occurred
Exception Report:
javax.servlet.ServletException: Cannot retrieve ActionMappings under key
"org.apache.struts.action.MAPPINGS"
 at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:442)
 at org.apache.jsp.logon_jsp._jspService(logon_jsp.java:291)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)

.

 I am using Tomcat 4.0 as the Servlet conatiner.

Thanks in advance for any help you can give, Michael



STRUTS Installation problem

2001-09-18 Thread Michael . Moyse

Hi,

I have downloaded and unpacked Struts 1.0 and am trying to run the examples
but I am getting following error:-

A Servlet Exception Has Occurred
Exception Report:
javax.servlet.ServletException: Cannot retrieve ActionMappings under key 
"org.apache.struts.action.MAPPINGS"
 at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:442)
 at org.apache.jsp.logon_jsp._jspService(logon_jsp.java:291)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)

.

 I am using Tomcat 4.0 as the Servlet conatiner.

Thanks in advance for any help you can give, Michael




Re: need help with struts installation

2001-08-20 Thread Rakesh



see to it that struts.jar is not in your classpath 
while you start up tomcat.
 
 
 Rakesh Ayilliath
 
[EMAIL PROTECTED]

  - Original Message - 
  From: 
  Chuck 
  Carroll 
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, August 20, 2001 10:30 
  PM
  Subject: need help with struts 
  installation
  
  Hi,
   
   I am a new user of the struts package 
  and am using Tomcat 3.2.3 on Windows 2000 Professional with service pack 
  1.  I have tried to follow the 
  directions on the installation of Tomcat, as well as that for struts.  “Normal” servlets and JSPs work just 
  fine, so I think Tomcat is okay.  
  The problem is with the struts-example from Jakarta. 
   Before I install the struts package, I 
  can start Tomcat with no errors.  
  After I install the struts package and start Tomcat, I get the 
  message:
   Call 
  org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.String,*.do/java.lang.String)
  New 
  org.apache.struts.webapp.example.User
  Begin event threw exception
  java.lang.ClassNotFoundException: 
  org.apache.struts.webapp.example.User
      
  at …
  When doing …/struts-documentation, everything 
  seems to be okay.
  When doing …/struts-example, I get the 
  message:
  Error: 500
  Location: /struts-example/index.jsp
  Internal Servlet Error:javax.servlet.ServletException: Missing message for key index.title    at … However, …/struts-exercise-taglib works for the BEAN Tags and LOGIC Tags but fails on the HTML Tags with the message:
   Error: 
500
  Location: 
  /struts-exercise-taglib/index.jsp
  Internal Servlet Error:javax.servlet.ServletException: Exception creating bean of class org.apache.struts.webapp.exercise.TestBean: java.lang.ClassNotFoundException: org.apache.struts.webapp.exercise.TestBean
  I am obviously doing something wrong, but 
  can’t figure out what it is.  Any 
  help would be very much appreciated.  
  Thank you.
  Chuck 
Carroll


need help with struts installation

2001-08-20 Thread Chuck Carroll



Hi,
 
 I am a new user of the struts package 
and am using Tomcat 3.2.3 on Windows 2000 Professional with service pack 1.  I have tried to follow the directions on 
the installation of Tomcat, as well as that for struts.  “Normal” servlets and JSPs work just 
fine, so I think Tomcat is okay.  
The problem is with the struts-example from Jakarta.
 Before I install the struts package, I can 
start Tomcat with no errors.  After 
I install the struts package and start Tomcat, I get the message:
 Call 
org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.String,*.do/java.lang.String)
New 
org.apache.struts.webapp.example.User
Begin event threw exception
java.lang.ClassNotFoundException: 
org.apache.struts.webapp.example.User
    
at …
When doing …/struts-documentation, everything 
seems to be okay.
When doing …/struts-example, I get the 
message:
Error: 500
Location: /struts-example/index.jsp
Internal Servlet Error:javax.servlet.ServletException: Missing message for key index.title    at … However, …/struts-exercise-taglib works for the BEAN Tags and LOGIC Tags but fails on the HTML Tags with the message:
 Error: 500
Location: 
/struts-exercise-taglib/index.jsp
Internal Servlet Error:javax.servlet.ServletException: Exception creating bean of class org.apache.struts.webapp.exercise.TestBean: java.lang.ClassNotFoundException: org.apache.struts.webapp.exercise.TestBean
I am obviously doing something wrong, but can’t 
figure out what it is.  Any help 
would be very much appreciated.  
Thank you.
Chuck 
Carroll


RE: Submission - Struts installation notes - JRun 3.0

2001-07-31 Thread Hilary Pagliughi

Hello All,

I just went through the installation for JRun, and there is one more change
that needs to be made, which I just wanted to post for anyone searching the
archives.  In logon.jsp, where:

redisplay="false" 

change it to:

redisplay="<%= false %>"

Have fun!

Hilary





RE: Struts Installation Question

2001-06-28 Thread Liang Li

Is there any typo in your struts-config.xml ? Or in the web.xml when define
struts-config.xml?



-Original Message-
From: Karin Ramsay [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 3:23 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts Installation Question


Hi,

The tld is defined in the web.xml file.  Also, the TLD files are in the
web-inf directory.  The only other thing that is irregular is that when I
start Tomcat, I have a the following messages in the console:

2001-06-28 03:10:59 - Ctx( /lrp ): Reading
C:\jakarta-tomcat-3.2.1\webapps\lrp\WEB-INF\web.xml
2001-06-28 03:10:59 - Ctx( /lrp ): Loading -2147483646 jsp
2001-06-28 03:10:59 - Ctx( /lrp ): Loading 2 action
2001-06-28 03:10:59 - Ctx( /lrp ): Unsafe path
C:\jakarta-tomcat-3.2.1\webapps\lrp /WEB-INF/struts-config.xml
cannot load servlet name: action

Do you know what "unsafe path" means and could this be part of the
problem??


Thanks,

Karin

  
  
/WEB-INF/struts.tld
/WEB-INF/struts.tld
  

  
/WEB-INF/struts-bean.tld
/WEB-INF/struts-bean.tld
  

  
/WEB-INF/struts-form.tld
/WEB-INF/struts-form.tld
  

  
/WEB-INF/struts-logic.tld
/WEB-INF/struts-logic.tld
  

  
/WEB-INF/struts-template.tld
/WEB-INF/struts-template.tld
  

  
/WEB-INF/struts-html.tld
/WEB-INF/struts-html.tld
  






Liang Li wrote:

> Wait a second, have you defined the tld in your web.xml?
>
> -Original Message-
> From: Karin Ramsay [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 11:00 AM
> To: Struts Group
> Subject: Struts Installation Question
>
> Hi,
>
> I have installed struts and written a login form.  When I test the
> form, I receive the following error:
>
> org.apache.jasper.compiler.CompileException:
> C:\jakarta-tomcat-3.2.1\webapps\LRP\index.jsp(7,0) Unable to open
> taglibrary /WEB-INF/struts-html.tld : Could not locate TLD
> META-INF/taglib.tld
>
> I know that the TLD META-INF/taglib.tld is in the struts.jar file,
> which I have placed in the web-inf/lib directory of my web app.  Have I
> missed something while configuring Struts (or my web app, for that
> matter).
>
> I would appreciate any suggestions.  If there is an archive, feel
> free to refer me to it as I am sure that there are many
> installation/configuration questions.
>
> Many thanks,
>
> Karin



Re: Struts Installation Question

2001-06-28 Thread Karin Ramsay

Hi,

The tld is defined in the web.xml file.  Also, the TLD files are in the
web-inf directory.  The only other thing that is irregular is that when I
start Tomcat, I have a the following messages in the console:

2001-06-28 03:10:59 - Ctx( /lrp ): Reading
C:\jakarta-tomcat-3.2.1\webapps\lrp\WEB-INF\web.xml
2001-06-28 03:10:59 - Ctx( /lrp ): Loading -2147483646 jsp
2001-06-28 03:10:59 - Ctx( /lrp ): Loading 2 action
2001-06-28 03:10:59 - Ctx( /lrp ): Unsafe path
C:\jakarta-tomcat-3.2.1\webapps\lrp /WEB-INF/struts-config.xml
cannot load servlet name: action

Do you know what "unsafe path" means and could this be part of the
problem??


Thanks,

Karin

  
  
/WEB-INF/struts.tld
/WEB-INF/struts.tld
  

  
/WEB-INF/struts-bean.tld
/WEB-INF/struts-bean.tld
  

  
/WEB-INF/struts-form.tld
/WEB-INF/struts-form.tld
  

  
/WEB-INF/struts-logic.tld
/WEB-INF/struts-logic.tld
  

  
/WEB-INF/struts-template.tld
/WEB-INF/struts-template.tld
  

  
/WEB-INF/struts-html.tld
/WEB-INF/struts-html.tld
  






Liang Li wrote:

> Wait a second, have you defined the tld in your web.xml?
>
> -Original Message-
> From: Karin Ramsay [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 11:00 AM
> To: Struts Group
> Subject: Struts Installation Question
>
> Hi,
>
> I have installed struts and written a login form.  When I test the
> form, I receive the following error:
>
> org.apache.jasper.compiler.CompileException:
> C:\jakarta-tomcat-3.2.1\webapps\LRP\index.jsp(7,0) Unable to open
> taglibrary /WEB-INF/struts-html.tld : Could not locate TLD
> META-INF/taglib.tld
>
> I know that the TLD META-INF/taglib.tld is in the struts.jar file,
> which I have placed in the web-inf/lib directory of my web app.  Have I
> missed something while configuring Struts (or my web app, for that
> matter).
>
> I would appreciate any suggestions.  If there is an archive, feel
> free to refer me to it as I am sure that there are many
> installation/configuration questions.
>
> Many thanks,
>
> Karin




RE: Struts Installation Question

2001-06-28 Thread Liang Li

Wait a second, have you defined the tld in your web.xml?

-Original Message-
From: Karin Ramsay [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 11:00 AM
To: Struts Group
Subject: Struts Installation Question


Hi,

I have installed struts and written a login form.  When I test the
form, I receive the following error:

org.apache.jasper.compiler.CompileException:
C:\jakarta-tomcat-3.2.1\webapps\LRP\index.jsp(7,0) Unable to open
taglibrary /WEB-INF/struts-html.tld : Could not locate TLD
META-INF/taglib.tld

I know that the TLD META-INF/taglib.tld is in the struts.jar file,
which I have placed in the web-inf/lib directory of my web app.  Have I
missed something while configuring Struts (or my web app, for that
matter).

I would appreciate any suggestions.  If there is an archive, feel
free to refer me to it as I am sure that there are many
installation/configuration questions.

Many thanks,

Karin



RE: Struts Installation Question

2001-06-28 Thread Liang Li

put *.tld files under webapps/LRP/WEB-INF/, see the struts-example.

-Original Message-
From: Karin Ramsay [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 11:00 AM
To: Struts Group
Subject: Struts Installation Question


Hi,

I have installed struts and written a login form.  When I test the
form, I receive the following error:

org.apache.jasper.compiler.CompileException:
C:\jakarta-tomcat-3.2.1\webapps\LRP\index.jsp(7,0) Unable to open
taglibrary /WEB-INF/struts-html.tld : Could not locate TLD
META-INF/taglib.tld

I know that the TLD META-INF/taglib.tld is in the struts.jar file,
which I have placed in the web-inf/lib directory of my web app.  Have I
missed something while configuring Struts (or my web app, for that
matter).

I would appreciate any suggestions.  If there is an archive, feel
free to refer me to it as I am sure that there are many
installation/configuration questions.

Many thanks,

Karin



Struts Installation Question

2001-06-28 Thread Karin Ramsay

Hi,

I have installed struts and written a login form.  When I test the
form, I receive the following error:

org.apache.jasper.compiler.CompileException:
C:\jakarta-tomcat-3.2.1\webapps\LRP\index.jsp(7,0) Unable to open
taglibrary /WEB-INF/struts-html.tld : Could not locate TLD
META-INF/taglib.tld

I know that the TLD META-INF/taglib.tld is in the struts.jar file,
which I have placed in the web-inf/lib directory of my web app.  Have I
missed something while configuring Struts (or my web app, for that
matter).

I would appreciate any suggestions.  If there is an archive, feel
free to refer me to it as I am sure that there are many
installation/configuration questions.

Many thanks,

Karin




Re: Struts installation questions

2001-06-25 Thread Mike Thompson

Here is my cut and pasted answer from last week

Looks like your index.jsp? Is trying to use the  tag
and the key does not exist in your message props file or your message prop
file can not be found.  In your web.xml you should have an entry


  application
  class name of your application


under the servlet entry for the struts ActionServlet.  Not you really don't
have to have a real class for your application, it just looks up the
ResourceBundle with this key.  So if you had something like
foo.bar.package.MyApplication
for the param-value

you  would need a file
\classes\foo\bar\package\MyApplication.properties

that has all your message keys in it like
index.title = My Title

--m

- Original Message -
From: "Ram Palagummi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Ram Palagummi" <[EMAIL PROTECTED]>
Sent: Monday, June 25, 2001 4:20 PM
Subject: Struts installation questions


>
>  Hi,
>  I am installing Struts in our company and trying to test it. I followed
> all the steps mentioned in the
>  installation guide posted at
> http://jakarta.apache.org/struts/installation.html. I was able to start
> the
>  server without any exceptions, but I could not open the index.jsp(the
> first page) after starting the server.
>  The following is the excpetion thrown by the Weblogic App Server(6.0)
>
>
> struts_example)] Root cause of ServletException
> [nSync:struts_example] javax.servlet.jsp.JspException: Missing message
> for key index.title
> [nSync:struts_example]  at
> org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242)
> [nSync:struts_example]  at
> jsp_servlet._index._jspService(_index.java:124)
> [nSync:struts_example]  at
> weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
> [nSync:struts_example]  at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> j
> ava:213)
> [nSync:struts_example]  at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> j
> ava:246)
> [nSync:struts_example]  at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
> e
> tContext.java:1265)
> [nSync:struts_example]  at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
> j
> ava:1622)
> [nSync:struts_example]  at
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
> [nSync:struts_example]  at
> weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
> Can anyone tell me what am I missing here? Please guide me with all the
> steps involved in installing and
> running the struts example. I am using ant to build and run the struts
> example.
>
> Awaiting your response!!!
>
> Thanks,
> Best Regards
>
> Ram Palagummi
> Software Engineer
> H5technologies
> [EMAIL PROTECTED]
> Ph: (415)-625-6700  x613
>
>




Struts installation questions

2001-06-25 Thread Ram Palagummi


 Hi,
 I am installing Struts in our company and trying to test it. I followed
all the steps mentioned in the  
 installation guide posted at
http://jakarta.apache.org/struts/installation.html. I was able to start
the 
 server without any exceptions, but I could not open the index.jsp(the
first page) after starting the server.
 The following is the excpetion thrown by the Weblogic App Server(6.0)


struts_example)] Root cause of ServletException
[nSync:struts_example] javax.servlet.jsp.JspException: Missing message
for key index.title
[nSync:struts_example]  at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242)
[nSync:struts_example]  at
jsp_servlet._index._jspService(_index.java:124)
[nSync:struts_example]  at
weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
[nSync:struts_example]  at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
j
ava:213)
[nSync:struts_example]  at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
j
ava:246)
[nSync:struts_example]  at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
e
tContext.java:1265)
[nSync:struts_example]  at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
j
ava:1622)
[nSync:struts_example]  at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
[nSync:struts_example]  at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

Can anyone tell me what am I missing here? Please guide me with all the
steps involved in installing and 
running the struts example. I am using ant to build and run the struts
example.

Awaiting your response!!!

Thanks,
Best Regards

Ram Palagummi
Software Engineer
H5technologies
[EMAIL PROTECTED]
Ph: (415)-625-6700  x613






RE: Struts installation notes - WebLogic 5.1

2001-03-22 Thread maarten ectors


I have noticed that putting .properties files into a
jar and including the jar into the lib directory
solves the problem of the MessageResource. Wouldn´t it
be a good idea delivering Struts with all the classes
packed into a jar hence Struts would install out of
the box in Weblogic...

Greetings,

Maarten

--- Wong Kok Wai <[EMAIL PROTECTED]> wrote:
> My experience is the same as yours.
> 
> --- [EMAIL PROTECTED] wrote:
> > 
> > Wong,
> > 
> > Yes you are correct it works fine (today) with
> jaxp
> > as well. I am not sure
> > why I had problems before. So step 1 can be
> changed
> > then...or just
> > excluded):
> > 
> > (1) Verify that an XML parser (e.g. Xerces or
> JAXP)
> > has been included in the
> > WebLogic system classpath.
> > 
> > 
> > I am curious- what is your experience with
> > deployment of war files... have
> > you experienced any problem with this regarding
> the
> > resource file?
> > 
> > 
> > Thanks for the feedback,
> > Bob
> > 
> > 
> 
> 
> __
> Get personalized email addresses from Yahoo! Mail -
> only $35 
> a year!  http://personal.mail.yahoo.com/


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Re: IBM Websphere and struts installation guide.

2001-03-02 Thread Weining Qi

What i've got

- Original Message - 
From: "Jeroen Riezebeek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 02, 2001 10:16 AM
Subject: IBM Websphere and struts installation guide.


> Hello,
> 
>   we use struts templates in our webapp on websphere 3.5.2 and discovered
> that the templates doesn't work properly.
> This of behalve of the pageContect.getOut().flush wich was removed from an
> earlier version(we use the latest version).
> When we introduced the flush again the page is build up properly.
> 
> Maybe you can take it into the installationguide.
> 
> Thank Jeroen Riezebeek.




IBM Websphere and struts installation guide.

2001-03-02 Thread Jeroen Riezebeek

Hello,

  we use struts templates in our webapp on websphere 3.5.2 and discovered
that the templates doesn't work properly.
This of behalve of the pageContect.getOut().flush wich was removed from an
earlier version(we use the latest version).
When we introduced the flush again the page is build up properly.

Maybe you can take it into the installationguide.

Thank Jeroen Riezebeek.




Re: Struts Installation Problem (duplicate servlet.jar)

2001-02-25 Thread Wayne Ohm

I thought there might be some people who are having the same problem, so I'm
sharing this with you.The NoSuchMethodError problem was caused indeed by a
duplicate servlet.jar being in C:\jdk1.3\jre\lib\ext (probably an old version?).
Perhaps this should be mentioned in the next README.

> Hi,
>
> I tried to install the latest Struts with my Tomcat 3.2.1, and followed
> the instructions on README to install it, i.e. I installed a XML parser,
> etc.   But after I copied the example and documentation WAR files under
> Webapps,  I keep getting an error like this when I start Tomcat:
>

The most likely explanation is that you have an extra copy of struts.jar or
servlet.jar on your classpath (or in the system extensions directory,
$JAVA_HOME/jre/lib/ext).  Could you double check that?

>
> 
> New org.apache.struts.action.ActionMapping
> Set org.apache.struts.action.ActionMapping properties
> Call
> org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/admin
>
> /removeMapping, type=org.apache.struts.actions.RemoveMappingAction])
> Pop org.apache.struts.action.ActionMapping
> Guessed home=c:\tomcat
> java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError
>
> at
> org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java
> :1377)
> at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
> at javax.servlet.GenericServlet.init(GenericServlet.java:266)
> at
> org.apache.tomcat.facade.ServletHandler.doInit(ServletHandler.java:41
> 0)
> at
> org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:265)
>




Re: Struts Installation Problem

2001-02-25 Thread Nick Pellow



Wayne Ohm wrote:
> 
> I just installed Struts with Tomcat 3.2.1, but when I start Tomcat, I
> keep getting this  java.lang.NoSuchMethodError and startup.bat exits.
> Can anyone help plez??

I am rather new to both Tomcat and Struts myself, however managed
to install both without a hiccup on NT 4 with jdk1.2.2.

Just before your stack trace however, the line:
 Guessed home=c:\tomcat
does not look good.
Where have you installed tomcat?

Nick

> 
> 
> New org.apache.struts.action.ActionMapping
> Set org.apache.struts.action.ActionMapping properties
> Call
> org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/admin
> 
> /removeMapping, type=org.apache.struts.actions.RemoveMappingAction])
> Pop org.apache.struts.action.ActionMapping
> Guessed home=c:\tomcat
> java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError
> 
> at
> org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java
> :1377)
> at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
> at javax.servlet.GenericServlet.init(GenericServlet.java:266)
> at
> org.apache.tomcat.facade.ServletHandler.doInit(ServletHandler.java:41
> 0)
> at
> org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:265)
> 
> at
> org.apache.tomcat.facade.LoadOnStartupInterceptor.contextInit(LoadOnS
> tartupInterceptor.java:137)
> at org.apache.tomcat.core.Context.init(Context.java:540)
> at
> org.apache.tomcat.core.ContextManager.init(ContextManager.java:527)
> at
> org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTom
> cat.java:245)
> at org.apache.tomcat.startup.Tomcat.start(Tomcat.java:150)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:93)
> at java.lang.reflect.Method.invoke(Native Method)
> at org.apache.to
> ===



Struts Installation Problem

2001-02-25 Thread Wayne Ohm

I just installed Struts with Tomcat 3.2.1, but when I start Tomcat, I
keep getting this  java.lang.NoSuchMethodError and startup.bat exits.
Can anyone help plez??


New org.apache.struts.action.ActionMapping
Set org.apache.struts.action.ActionMapping properties
Call
org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/admin

/removeMapping, type=org.apache.struts.actions.RemoveMappingAction])
Pop org.apache.struts.action.ActionMapping
Guessed home=c:\tomcat
java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError

at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java
:1377)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet.init(GenericServlet.java:266)
at
org.apache.tomcat.facade.ServletHandler.doInit(ServletHandler.java:41
0)
at
org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:265)

at
org.apache.tomcat.facade.LoadOnStartupInterceptor.contextInit(LoadOnS
tartupInterceptor.java:137)
at org.apache.tomcat.core.Context.init(Context.java:540)
at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:527)
at
org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTom
cat.java:245)
at org.apache.tomcat.startup.Tomcat.start(Tomcat.java:150)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:93)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.to
===





Re: Struts installation notes

2001-02-13 Thread dion

"
We had multiple problems getting a Struts app to run under WebSphere 
(Advanced, 3.5 fix2). First, the validation of the struts-config.dtd 
failed during ActionServlet.init(). We hacked around this by modifying 
ActionServlet to call "digester.setValidating(false)" rather than passing 
"true". The next problem, which we couldn't work around (thus ending our 
WebSphere assessment), was during the attempt to open the 
struts-config.xml file. Here's the e-mail I sent IBM support:
"

I've gotten WebSphere to workaround both problems by changing struts.

If  I've got a spare minute to document the process (maybe 2nite as the 
wifely unit is in Tokyo), I'll post some instructions...
--
dIon Gillard, Multitask Consulting
Work:  http://www.multitask.com.au
NetRexx: http://www.multitask.com.au/NetRexx.nsf


Previous Document


Next Document
Return to View
 




Re: Struts installation notes

2001-02-13 Thread DONNIE HALE

We had multiple problems getting a Struts app to run under WebSphere (Advanced, 3.5 
fix2). First, the validation of the struts-config.dtd failed during 
ActionServlet.init(). We hacked around this by modifying ActionServlet to call 
"digester.setValidating(false)" rather than passing "true". The next problem, which we 
couldn't work around (thus ending our WebSphere assessment), was during the attempt to 
open the struts-config.xml file. Here's the e-mail I sent IBM support:

===
I have deployed a .war file with apparent success. I say "apparent" because, while the 
deployment works, the application will not run. When the application initializes, a 
3rd party framework I am using "Struts - jakarta.apache.org/struts") fails when its 
"Action" servlet initializes. It is calling the standard "getResourceAsStream" servlet 
API with a location of "/WEB-INF/struts-config.xml", and that method is returning 
null. The full exception that results is below (the error message is from the 
application). Note that this same .war file works perfectly under Tomcat (3.2.1) and 
Enhydra (3.1 beta 2). As far as I can tell reading the servlet spec, a perfectly valid 
call to getResourceAsStream is being made with a valid and existing location, but the 
WebSphere servlet container is returning null. Refer to sections 4.4 and 9.4 of the 
servlet specification. Other people have reported on the WebSphere newsgroup that they 
are experiencing this same error (getting HTML files as well as XML files, etc.).
===

IBM acknowledged the bug and sent us a patch. However, we decided against WebSphere as 
our platform (for this and other reasons); so we've never taken the time to see if the 
patch fixed the problem.

FWIW...


>>> [EMAIL PROTECTED] 02/13/01 12:16PM >>>
> 
> STRUTS INSTALLATION NOTES - JRun 3.0
> 
> 
> TESTED ENVIRONMENT (your mileage may vary):
> ---
> JRun 3.0 SP2a, Version 3.02a.11614
> Microsoft IIS 5.0, Windows 2000

Thanks so much, Eric!

Any other JRUN users: please, if possible, try to give these a whirl,
and let us know how they work for you!

So with JRUN and SilverStream being added today, of the containers most
often mentioned, we're down to Websphere! Any takers?




Re: Struts installation notes

2001-02-13 Thread Ted Husted

> 
> STRUTS INSTALLATION NOTES - JRun 3.0
> 
> 
> TESTED ENVIRONMENT (your mileage may vary):
> ---
> JRun 3.0 SP2a, Version 3.02a.11614
> Microsoft IIS 5.0, Windows 2000

Thanks so much, Eric!

Any other JRUN users: please, if possible, try to give these a whirl,
and let us know how they work for you!

So with JRUN and SilverStream being added today, of the containers most
often mentioned, we're down to Websphere! Any takers?



Submission - Struts installation notes - JRun 3.0

2001-02-13 Thread Eric Wu

Here is a draft of struts installation notes for JRun 3.0.  If there are any
inaccuracies, please let me know

STRUTS INSTALLATION NOTES - JRun 3.0


TESTED ENVIRONMENT (your mileage may vary):
---
JRun 3.0 SP2a, Version 3.02a.11614
Microsoft IIS 5.0, Windows 2000


IMPORTANT NOTE:
---
At the moment, JRun is not fully compliant with the JSP 1.1/1.2
specification. 
Specifically, the automatic type conversions for custom tag parameters
specified in "Issue 
7" of the JSP 1.1 Errata and in the JSP 1.2 Proposed Final Draft have not
yet been 
implemented.

As it stands, JSP pages that make use of Struts taglibs whose parameters
require 
conversion (such as booleans) will not compile under JRun.  This includes
the Struts 
Example Application. Attempting to run the example application will result
in an 
exception similar to the following being thrown:

 /struts-example/index.jsp:

 javax.servlet.ServletException: Compilation error occured: 
 
 allaire.jrun.scripting.DefaultCFE: 
 Errors reported by compiler:c:/JRun/servers/default/Struts Example/WEB-
 INF/jsp/jrun__index2ejspa.java:41:1:41:27: Error: No match was found
for method 
 "setLocale(java.lang.String)".

(For more details refer to:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg01860.html)

The following instructions describe how to install the Struts Example
Application under 
JRun.  A subsequent section describes how the Struts Example Application can
be 
patched to work with Struts


The following instructions assume the following:
 * JRun has been installed and integrated with the web server of choice
 * $APP_SERVER_NAME is the name of the application server used to host
the 
   application.  (When JRun is first installed, it creates an
application server
   called JRun Default Server)
 * $APP_SERVER_DIR is the directory used to hold applications hosted by 
   $APP_SERVER_NAME.  For the JRun Default Server, the directory is 
   $JRUN_HOME/servers/default where $JRUN_HOME is the directory where 
   JRun is installed.

INSTALLING THE STRUTS EXAMPLE APPLICATION
-
 * Login to the JRun Management Console.
 * On the left pane, select $APP_SERVER_NAME.  A page showing the
current 
   server status will be shown on the right pane.
 * On the right pane, click on the WAR Deployment link.  A page
containing a list 
   of the currently deployed web applications will be shown.
 * On the right pane, click on Deploy an Application.  Complete the Web 
   Application Information form as follows:
   o Servlet War File or Directory:  Enter the full path where
struts-example.war
 is found or click on Browse to select the path.
   o JRun Server Name:  $APP_SERVER_NAME
   o Application Name:  Struts Example
   o Application Hosts:  All Hosts
   o Application URL:   /struts-example
   o Application Deploy Directory:  will default to
$APP_SERVER_NAME/Struts Example
 (or the name as specified for Application Name)
 * Once the form is complete, click on the Deploy button.
 * If deployment is successful, restart the application server by
clicking on 
   $APP_SERVER_NAME on the left pane.  A page showing the current server

   status will be shown on the right pane.  Click the Restart Server
button to restart 
   the application server.
 * Test the sample application by using the following URL in the
browser:
http://hostname/struts-example/index.jsp

The struts-documentation.war can be installed using the same procedure.


INSTALLING UNPACKED WEB APPLICATIONS

The above steps should be followed for applications deployed as *.war files.
For 
unpacked web applications, configuration involves the following steps:
 * From the JRun Management Console, select $APP_SERVER_NAME (on the
left 
   pane) and click on WAR Deployment (on the right pane)
 * On the right pane, click on Create an Application and complete the
Web 
   Application Information form as follows:
 * JRun Server Name:  $APP_SERVER_NAME
  o Application Name:  myApplication
  o Application Hosts:  All Hosts
  o Application URL:   /myApplication
  o Application Deploy Directory:  will default to
$APP_SERVER_NAME/myApplication
 * Click on Create to submit the form.
 * Once the web application is created, install and configure the struts
components 
   (struts.jar, struts*.tld, etc) for the web application under 
   $APP_SERVER_NAME/myApplication/WEB-INF
 * Install the remaining components of the application:  .class files,
JSP pages, 
   .properties files etc  as required.
 * To configure the extension mapping of the request URI (ie

RE: Sorry....RE: Struts installation notes - example's setLocale on J Run

2001-02-12 Thread Eric Wu

Allaire released an SP2a last week to correct some other problems.  I have
tested with this and the bug is still there... >:(

Eric

-Original Message-
From: Moore, Mark A [mailto:[EMAIL PROTECTED]]
Sent: January 31, 2001 9:14 AM
To: '[EMAIL PROTECTED]'
Subject: Sorry....RE: Struts installation notes - example's setLocale on
J Run


Sorry for the screwy mail before.  Here is what I sent.

My project got hold of JRun 3 SP2 yesterday and noticed that this is a Known
Issue (e.g. Unfixed Bug) in the service pack.  I don't have the bug number
handy.  There is no news on when an SP3 might be available.  I had
complained about this a few weeks ago in the JRun support forum, but there
was no response from any Allaire folks.  
 
Mark


-Original Message-
From: Carl Tallis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 9:06 AM
To: [EMAIL PROTECTED]
Subject: RE: Struts installation notes - example's setLocale on JRun


Still broken.  Despite the assurances of the JRun tech
(http://forums.allaire.com/jrunconf/Thread.cfm?&Thread_ID=214627&mc=2), the
demo still doesn't run under SP2 (Version 3.02.11140).  I get the same error
as before.

Carl Tallis
Director Of Products
SupplyLinks, Inc.
Tel: (703) 796-6010
Fax: (703) 796-6014
email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

> -Original Message-
> From: Erik G. Dybdahl [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 1:32 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Struts installation notes - example's setLocale on JRun
>
>
>
> --- Peter Doyle <[EMAIL PROTECTED]> skrev: > Hi,
> >  I was writing up the Installation notes for the example and
> documentation
> > web applications for JRun when I came across the same problem.
> (I haven't
> > installed the example app since 0.5)
> >
> > allaire.jrun.scripting.DefaultCFE:
> > Errors reported by
> >
> compiler:D:/smartserver/peter/serving_eng/Struts-Example/WEB-INF/j
> sp/jrun__i
> > ndex2ejspa.java:44:1:44:27: Error: No match was found for method
> > "setLocale(java.lang.String)".
> >
> > The deployment is grand, its this setLocale method that stops
> the example.
> > I'll check out Allaire and the JRun postings for updates and include any
> > findings.
> >
> Appear it's been corrected in JRun 3.0 sp2.
> See
> http://forums.allaire.com/jrunconf/Index.cfm?CFID=184276&CFTOKEN=2
8308124&&Message_ID=649418
(I have not tried it, though)
erik

_
Do You Yahoo!?
Få din egen, gratis @yahoo.no-adresse på http://mail.yahoo.no


*
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this email are subject to the terms and conditions expressed in
the governing KPMG client engagement letter. 

*



Re: Struts installation notes - WebLogic 5.1

2001-02-04 Thread Ted Husted

** WEBLOGIC USERS ***

We're adding a installation page to the Struts documentation package.
If any can playtest Robert's notes, or has any other additional
comments, please let us know as soon as possible. 

This is an important way you can contribute to the Struts project. We
appreciate everyone's help!

*** REPLY SEPARATOR  ***

On 1/31/2001 at 10:50 AM [EMAIL PROTECTED] wrote:

>I have put together the following install notes for WebLogic 5.1 based
on my
>experience over the past few weeks. Any comments or suggestions? I am
>particularly disturbed by the fact that I can't get WL to deploy
unzipped
>web applications without including app-specific classes in the WL
classpath!
>Does anyone have another approach to this? Another problem I can't
seem to
>get around- Deployment of wars requires manually extracting the
resource
>file(s). Perhaps there is a way to get WL to find all files in the war
(and
>not just *.class)?
>
>BTW- the builds for the past few nights have a problem with the lowsrc
>property in class ImgTag (Thanks Carl for pointing out that problem
with the
>case in that method).
>
>
>-Bob
>
>~~
>
>WEBLOGIC 5.1 (service pack 8)
>
>(1) Obtain and install the Xerces XML parser (do not use the Sun
reference
>implementation). Put xerces.jar in your WebLogic system path.
>
>(2) Obtain and unpack the Struts binary distribution (this procedure
assumes
>it was extracted to C:\jakarta-struts).
>
>(3) Add an entry to weblogic.properties for each of the Struts web
>applications that you would like to configure. For example, to make
the
>struts-example application available, add the following line to
>weblogic.properties:
>
>weblogic.httpd.webApp.strutsexample=c:/jakarta-struts/webapps/struts-ex
ample
>.war
>
>(4) You do not need to include struts.jar or any of the application
specific
>classes in the WebLogic classpath, since this will be done
automatically
>(unless deploying an unpacked web archive- see below).
>
>(5) Start WebLogic server and point your web browser to the struts
>application. For example, to connect to the example application added
in
>step 3:
>
>http://localhost:7001/strutsexample
>
>* This example application depends on the Struts specific resource
file
>ApplicationResources.properties to be present on the classpath.
However,
>WebLogic only extracts *.class files from the archive so this file
will not
>be found, resulting in an error the first time it is needed- something
>similar to: javax.servlet.ServletException: runtime failure in custom
tag
>'message'. Steps 6 & 7 will need to be performed for this application,
and
>any other that relies on ApplicationResources.properties.
>
>(6)  Extract ApplicationResources.properties from the *.war file, and
>manually copy it to the respective package in the _tmp_war_ directory
>WebLogic created for this application. Again referring to the
struts-example
>application, this would be:
>
>c:\jakarta-struts\webapps\WEB-INF\_tmp_war_strutsexample
>
>(7) Restart WebLogic. You will now be able to run the application:
>
>http://localhost:7001/strutsexample
>
>
>* The above steps should be followed for applications deployed as
*.war
>files. For unpacked web applications, configuration involves adding
both
>struts.jar and /WEB-INF/classes to the WebLogic classpath. For this
reason,
>I would suggest deploying applications as war files to WebLogic.
However,
>the same example application can be successfully deployed in extracted
>format by modifying weblogic.properties (assuming the war was
extracted to
>directory webapps/struts-example):
>
>weblogic.httpd.webApp.strutsexample=c:/jakarta-struts/webapps/struts-ex
ample
>/
>
>And starting WebLogic with the updated WebLogic classpath. For
example:
>
>c:\jdk1.3\bin\java -ms16m -mx64m -classpath
>c:\weblogic\lib\weblogic510sp8boot.jar;C:\weblogic\classes\boot;c:\xerc
es\xe
>rces.jar
>-Dweblogic.class.path=c:\weblogic\lib\weblogic510sp8.jar;C:\weblogic\li
cense
>;C:\weblogic\classes;C:\weblogic\myserver\serverclasses;C:\weblogic\lib
\webl
>ogicaux.jar;C:\jakarta-struts\lib\struts.jar;C:\jakarta-struts\webapps\
strut
>s-example\WEB-INF\classes -Dweblogic.system.home=c:\weblogic
>-Djava.security.manager
-Djava.security.policy=c:\weblogic\weblogic.policy
>weblogic.Server



-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/about/struts/





RE: Struts installation notes - WebLogic 5.1

2001-02-01 Thread Wong Kok Wai

My experience is the same as yours.

--- [EMAIL PROTECTED] wrote:
> 
> Wong,
> 
> Yes you are correct it works fine (today) with jaxp
> as well. I am not sure
> why I had problems before. So step 1 can be changed
> then...or just
> excluded):
> 
> (1) Verify that an XML parser (e.g. Xerces or JAXP)
> has been included in the
> WebLogic system classpath.
> 
> 
> I am curious- what is your experience with
> deployment of war files... have
> you experienced any problem with this regarding the
> resource file?
> 
> 
> Thanks for the feedback,
> Bob
> 
> 


__
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Struts installation notes - WebLogic 5.1

2001-01-31 Thread rhayden


I have put together the following install notes for WebLogic 5.1 based on my
experience over the past few weeks. Any comments or suggestions? I am
particularly disturbed by the fact that I can't get WL to deploy unzipped
web applications without including app-specific classes in the WL classpath!
Does anyone have another approach to this? Another problem I can't seem to
get around- Deployment of wars requires manually extracting the resource
file(s). Perhaps there is a way to get WL to find all files in the war (and
not just *.class)?

BTW- the builds for the past few nights have a problem with the lowsrc
property in class ImgTag (Thanks Carl for pointing out that problem with the
case in that method).


-Bob

~~

WEBLOGIC 5.1 (service pack 8)

(1) Obtain and install the Xerces XML parser (do not use the Sun reference
implementation). Put xerces.jar in your WebLogic system path.

(2) Obtain and unpack the Struts binary distribution (this procedure assumes
it was extracted to C:\jakarta-struts).

(3) Add an entry to weblogic.properties for each of the Struts web
applications that you would like to configure. For example, to make the
struts-example application available, add the following line to
weblogic.properties:

weblogic.httpd.webApp.strutsexample=c:/jakarta-struts/webapps/struts-example
.war

(4) You do not need to include struts.jar or any of the application specific
classes in the WebLogic classpath, since this will be done automatically
(unless deploying an unpacked web archive- see below).

(5) Start WebLogic server and point your web browser to the struts
application. For example, to connect to the example application added in
step 3:

http://localhost:7001/strutsexample

* This example application depends on the Struts specific resource file
ApplicationResources.properties to be present on the classpath. However,
WebLogic only extracts *.class files from the archive so this file will not
be found, resulting in an error the first time it is needed- something
similar to: javax.servlet.ServletException: runtime failure in custom tag
'message'. Steps 6 & 7 will need to be performed for this application, and
any other that relies on ApplicationResources.properties.

(6)  Extract ApplicationResources.properties from the *.war file, and
manually copy it to the respective package in the _tmp_war_ directory
WebLogic created for this application. Again referring to the struts-example
application, this would be:

c:\jakarta-struts\webapps\WEB-INF\_tmp_war_strutsexample

(7) Restart WebLogic. You will now be able to run the application:

http://localhost:7001/strutsexample


* The above steps should be followed for applications deployed as *.war
files. For unpacked web applications, configuration involves adding both
struts.jar and /WEB-INF/classes to the WebLogic classpath. For this reason,
I would suggest deploying applications as war files to WebLogic. However,
the same example application can be successfully deployed in extracted
format by modifying weblogic.properties (assuming the war was extracted to
directory webapps/struts-example):

weblogic.httpd.webApp.strutsexample=c:/jakarta-struts/webapps/struts-example
/

And starting WebLogic with the updated WebLogic classpath. For example:

c:\jdk1.3\bin\java -ms16m -mx64m -classpath
c:\weblogic\lib\weblogic510sp8boot.jar;C:\weblogic\classes\boot;c:\xerces\xe
rces.jar
-Dweblogic.class.path=c:\weblogic\lib\weblogic510sp8.jar;C:\weblogic\license
;C:\weblogic\classes;C:\weblogic\myserver\serverclasses;C:\weblogic\lib\webl
ogicaux.jar;C:\jakarta-struts\lib\struts.jar;C:\jakarta-struts\webapps\strut
s-example\WEB-INF\classes -Dweblogic.system.home=c:\weblogic
-Djava.security.manager -Djava.security.policy=c:\weblogic\weblogic.policy
weblogic.Server












Sorry....RE: Struts installation notes - example's setLocale on JRun

2001-01-31 Thread Moore, Mark A

Sorry for the screwy mail before.  Here is what I sent.

My project got hold of JRun 3 SP2 yesterday and noticed that this is a Known
Issue (e.g. Unfixed Bug) in the service pack.  I don't have the bug number
handy.  There is no news on when an SP3 might be available.  I had
complained about this a few weeks ago in the JRun support forum, but there
was no response from any Allaire folks.  
 
Mark


-Original Message-
From: Carl Tallis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 9:06 AM
To: [EMAIL PROTECTED]
Subject: RE: Struts installation notes - example's setLocale on JRun


Still broken.  Despite the assurances of the JRun tech
(http://forums.allaire.com/jrunconf/Thread.cfm?&Thread_ID=214627&mc=2), the
demo still doesn't run under SP2 (Version 3.02.11140).  I get the same error
as before.

Carl Tallis
Director Of Products
SupplyLinks, Inc.
Tel: (703) 796-6010
Fax: (703) 796-6014
email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

> -Original Message-
> From: Erik G. Dybdahl [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 1:32 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Struts installation notes - example's setLocale on JRun
>
>
>
> --- Peter Doyle <[EMAIL PROTECTED]> skrev: > Hi,
> >  I was writing up the Installation notes for the example and
> documentation
> > web applications for JRun when I came across the same problem.
> (I haven't
> > installed the example app since 0.5)
> >
> > allaire.jrun.scripting.DefaultCFE:
> > Errors reported by
> >
> compiler:D:/smartserver/peter/serving_eng/Struts-Example/WEB-INF/j
> sp/jrun__i
> > ndex2ejspa.java:44:1:44:27: Error: No match was found for method
> > "setLocale(java.lang.String)".
> >
> > The deployment is grand, its this setLocale method that stops
> the example.
> > I'll check out Allaire and the JRun postings for updates and include any
> > findings.
> >
> Appear it's been corrected in JRun 3.0 sp2.
> See
> http://forums.allaire.com/jrunconf/Index.cfm?CFID=184276&CFTOKEN=2
8308124&&Message_ID=649418
(I have not tried it, though)
erik

_
Do You Yahoo!?
Få din egen, gratis @yahoo.no-adresse på http://mail.yahoo.no

*
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized.

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this email are subject to the terms and conditions expressed in
the governing KPMG client engagement letter.
*



RE: Struts installation notes - example's setLocale on JRun

2001-01-31 Thread Moore, Mark A

*
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this email are subject to the terms and conditions expressed in
the governing KPMG client engagement letter. 
*



My project got hold of JRun 3 SP2 yesterday 
and noticed that this is a Known Issue (e.g. Unfixed Bug) in the service 
pack.  I don't have the bug number handy.  There is no news on when an 
SP3 might be available.  I had complained about this a few weeks ago in the 
JRun support forum, but there was no response from any Allaire folks.  

 
Mark

  -Original Message-From: Peter Doyle 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, January 30, 2001 11:35 
  AMTo: [EMAIL PROTECTED]Subject: Struts 
  installation notes - example's setLocale on JRun
  Hi,
   I was writing up the Installation 
  notes for the example and documentation web applications for JRun when I 
  came across the same problem. (I haven't installed the example app since 
  0.5)
   
  allaire.jrun.scripting.DefaultCFE: 
  Errors reported by 
  compiler:D:/smartserver/peter/serving_eng/Struts-Example/WEB-INF/jsp/jrun__index2ejspa.java:44:1:44:27: 
  Error: No match was found for method 
  "setLocale(java.lang.String)".
   
  The deployment is grand, its this 
  setLocale method that stops the example.
  I'll check out Allaire and the JRun 
  postings for updates and include any findings.
   
  I'm not on struts-dev so I will check 
  there for updates.
   
  Peter
   
  PS
  what's with this funny 
  background?
   
  
-Original Message-From: Craig R. McClanahan 
[mailto:[EMAIL PROTECTED]]Sent: 28 January 2001 
05:03To: [EMAIL PROTECTED]Subject: Re: 
Can't run nightly releasesCarl Tallis wrote: 

  
  Hi, all - I'm using JRun, and the 0.5 
  classes/tags work great, but I can't even get the later sample application 
  to run:/newstrutsdemo/: 
  javax.servlet.ServletException: Compilation error occured: 
  allaire.jrun.scripting.DefaultCFE: Errors reported by 
  compiler:C:/Program Files/Allaire/JRun/servers/default/New Struts 
  Demo/WEB-INF/jsp/jrun__index2ejspa.java:41:1:41:27: Error: No match was 
  found for method "setLocale(java.lang.String)". Pretty basic stuff.  However, looking at the 
  messages on this list, it's obvious that people *are* using the nightly 
  builds. Anyone ever seen this error? What execution environments are 
  people using who can run the later distributions (i.e. post 
  0.5)?Carl TallisDirector Of 
  ProductsSupplyLinks, Inc.Tel: (703) 796-6010Fax: 
  (703) 796-6014email: [EMAIL PROTECTED] Unfortunately, 
it appears that JRun has an implementation bug. 
The servlet container is supposed to do automatic type conversions when 
the data type of a custom tag property is something other than a 
String.  In this particular case, the "locale" property accepts a 
boolean value. 
The set of required conversions are in Table 2-4 on page 65 of the JSP 
1.1 specification.  Originally, it was not clear (in the spec) that 
these conversions applied to custom tag attributes, as well as 
, but this was cleared up in an errata to the spec 
that was published last April, at: 
    http://java.sun.com/products/jsp/errata_1_1_a_042800.html 

As a workaround on JRun, you can add a String setter for each non-String 
property, but this is not a good long term solution, because such a tag will 
not work on any other servlet engine (because the Java reflection code will 
see two setter methods, and therefore decide that neither of them is 
appropriate -- so the property will be considered read only). 
Craig McClanahan   


RE: Struts installation notes - example's setLocale on JRun

2001-01-31 Thread Carl Tallis

Still broken.  Despite the assurances of the JRun tech
(http://forums.allaire.com/jrunconf/Thread.cfm?&Thread_ID=214627&mc=2), the
demo still doesn't run under SP2 (Version 3.02.11140).  I get the same error
as before.

Carl Tallis
Director Of Products
SupplyLinks, Inc.
Tel: (703) 796-6010
Fax: (703) 796-6014
email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

> -Original Message-
> From: Erik G. Dybdahl [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 1:32 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Struts installation notes - example's setLocale on JRun
>
>
>
> --- Peter Doyle <[EMAIL PROTECTED]> skrev: > Hi,
> >  I was writing up the Installation notes for the example and
> documentation
> > web applications for JRun when I came across the same problem.
> (I haven't
> > installed the example app since 0.5)
> >
> > allaire.jrun.scripting.DefaultCFE:
> > Errors reported by
> >
> compiler:D:/smartserver/peter/serving_eng/Struts-Example/WEB-INF/j
> sp/jrun__i
> > ndex2ejspa.java:44:1:44:27: Error: No match was found for method
> > "setLocale(java.lang.String)".
> >
> > The deployment is grand, its this setLocale method that stops
> the example.
> > I'll check out Allaire and the JRun postings for updates and include any
> > findings.
> >
> Appear it's been corrected in JRun 3.0 sp2.
> See
> http://forums.allaire.com/jrunconf/Index.cfm?CFID=184276&CFTOKEN=2
8308124&&Message_ID=649418
(I have not tried it, though)
erik

_
Do You Yahoo!?
Få din egen, gratis @yahoo.no-adresse på http://mail.yahoo.no





Re: Struts installation notes - example's setLocale on JRun

2001-01-30 Thread Erik G. Dybdahl


--- Peter Doyle <[EMAIL PROTECTED]> skrev: > Hi,
>  I was writing up the Installation notes for the example and documentation
> web applications for JRun when I came across the same problem. (I haven't
> installed the example app since 0.5)
> 
> allaire.jrun.scripting.DefaultCFE:
> Errors reported by
> compiler:D:/smartserver/peter/serving_eng/Struts-Example/WEB-INF/jsp/jrun__i
> ndex2ejspa.java:44:1:44:27: Error: No match was found for method
> "setLocale(java.lang.String)".
> 
> The deployment is grand, its this setLocale method that stops the example.
> I'll check out Allaire and the JRun postings for updates and include any
> findings.
> 
Appear it's been corrected in JRun 3.0 sp2.
See
http://forums.allaire.com/jrunconf/Index.cfm?CFID=184276&CFTOKEN=28308124&&Message_ID=649418
(I have not tried it, though)
erik

_
Do You Yahoo!?
Få din egen, gratis @yahoo.no-adresse på http://mail.yahoo.no



Struts installation notes - example's setLocale on JRun

2001-01-30 Thread Peter Doyle



Hi,
 I was writing up the Installation 
notes for the example and documentation web applications for JRun when I 
came across the same problem. (I haven't installed the example app since 
0.5)
 
allaire.jrun.scripting.DefaultCFE: 
Errors reported by 
compiler:D:/smartserver/peter/serving_eng/Struts-Example/WEB-INF/jsp/jrun__index2ejspa.java:44:1:44:27: 
Error: No match was found for method "setLocale(java.lang.String)".
 
The deployment is grand, its this setLocale 
method that stops the example.
I'll check out Allaire and the JRun postings 
for updates and include any findings.
 
I'm not on struts-dev so I will check 
there for updates.
 
Peter
 
PS
what's with this funny 
background?
 

  -Original Message-From: Craig R. McClanahan 
  [mailto:[EMAIL PROTECTED]]Sent: 28 January 2001 
  05:03To: [EMAIL PROTECTED]Subject: Re: 
  Can't run nightly releasesCarl Tallis wrote: 
  

Hi, all - I'm using JRun, and the 0.5 
classes/tags work great, but I can't even get the later sample application 
to run:/newstrutsdemo/: 
javax.servlet.ServletException: Compilation error occured: 
allaire.jrun.scripting.DefaultCFE: Errors reported by 
compiler:C:/Program Files/Allaire/JRun/servers/default/New Struts 
Demo/WEB-INF/jsp/jrun__index2ejspa.java:41:1:41:27: Error: No match was 
found for method "setLocale(java.lang.String)". Pretty basic stuff.  However, looking at the 
messages on this list, it's obvious that people *are* using the nightly 
builds. Anyone ever seen this error? What execution environments are people 
using who can run the later distributions (i.e. post 0.5)?Carl 
TallisDirector Of ProductsSupplyLinks, Inc.Tel: 
(703) 796-6010Fax: (703) 
796-6014email: [EMAIL PROTECTED] Unfortunately, 
  it appears that JRun has an implementation bug. 
  The servlet container is supposed to do automatic type conversions when the 
  data type of a custom tag property is something other than a String.  In 
  this particular case, the "locale" property accepts a boolean value. 
  The set of required conversions are in Table 2-4 on page 65 of the JSP 1.1 
  specification.  Originally, it was not clear (in the spec) that these 
  conversions applied to custom tag attributes, as well as 
  , but this was cleared up in an errata to the spec 
  that was published last April, at: 
      http://java.sun.com/products/jsp/errata_1_1_a_042800.html 

  As a workaround on JRun, you can add a String setter for each non-String 
  property, but this is not a good long term solution, because such a tag will 
  not work on any other servlet engine (because the Java reflection code will 
  see two setter methods, and therefore decide that neither of them is 
  appropriate -- so the property will be considered read only). 
  Craig McClanahan   


Struts installation notes

2001-01-28 Thread Ted Husted

Threads like these are usually posted on the Developer's list, but
since this definately something anyone using Struts could help with,
I'm cross-posting it here.

Following are updated installation notes that Martin Coper and Colin
Sampaleanu have contributed for installing Struts under Resin
stand-alone. Adding these types of notes for other platforms is one of
the remaining documentation challenges for the 1.0 release. 

Right now, we have notes for Tomcat 3.x, Orion, and (now) Resin. If
anyone can submit something in this format for their own platform, it
would be very much appreciated. Ideally, someone else using that
platform should volunteer to test any new notes (preferablly starting
with a clean install), and confirm that everything works "as
advertised".

We'll also be moving these notes from the install text file, and
merging it with the installation.html so that everything is together.

RESIN STAND-ALONE
-

* In the steps below, $RESIN_HOME refers to the directory in which you
  have installed Resin, and $STRUTS_HOME is the directory in which you
  unpacked the Struts binary distribution.
  
* These instructions have been tested with the default resin.conf
settings 
  in the 1.2.2 release (16-Jan-2001).

* Copy the Struts applications (*.war) from $STRUTS_HOME/webapps to
your
  $RESIN_HOME/webapps directory.

* Restart Resin if it is already running.

* You should now be able to access the Struts applications (assuming
you are
  using Resin's default port number of 8080) at, for example:

http://localhost:8080/struts-documentation

* When developing your own applications, you can create a new folder
under 
  $RESIN_HOME/doc and modify the file "$RESIN_HOME/conf/resin.conf" to 
  recognize your application, for example:



  Resin will then read your application's configuration from
WEB-INF/web.xml

###


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/about/struts/