Migrating from 1.0 to 1.1 ERRORS

2003-01-15 Thread Gene Campbell
I dropped the new struts.jar and assorted commons jars
and tlds in my app.  I'm getting the following error
when tomcat loads the ActionServlet.  THE CLASS IS
THERE!  It's in the struts.jar.  Please help.  Is
there a document somewhere discussing migration of
struts 1.0 to 1.1

thanks - gene


[ERROR] MessageResourcesFactory -
-MessageResourcesFactory.createFactory
java.lang.ClassNotFoundException:
org.apache.struts.util.PropertyMessageResourcesFactoryjava.lang.ClassNotFoundException:
org.apache.struts.util.PropertyMessageResourcesFactory
at
java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at
org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:182)
at
org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192)
at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)
at
org.apache.struts.util.RequestUtils.clinit(RequestUtils.java:138)
at
org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192)
at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)
at
org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1276)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:462)
at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at
org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130)
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at
org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240)

[ERROR] MessageResourcesFactory -
-MessageResourcesFactory.createFactory
java.lang.ExceptionInInitializerErrorjava.lang.ExceptionInInitializerError:
java.lang.NullPointerException
at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:577)
at
org.apache.struts.util.RequestUtils.clinit(RequestUtils.java:138)
at
org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192)
at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)
at
org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1276)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:462)
at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at
org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130)
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at
org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240)
E   @

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




Re: Migrating from 1.0 to 1.1 ERRORS

2003-01-15 Thread Craig R. McClanahan


On Wed, 15 Jan 2003, Gene Campbell wrote:

 Date: Wed, 15 Jan 2003 12:17:00 -0800 (PST)
 From: Gene Campbell [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Migrating from 1.0 to 1.1 ERRORS

 I dropped the new struts.jar and assorted commons jars
 and tlds in my app.  I'm getting the following error
 when tomcat loads the ActionServlet.  THE CLASS IS
 THERE!  It's in the struts.jar.  Please help.  Is
 there a document somewhere discussing migration of
 struts 1.0 to 1.1


The usual cause for this type of thing is to have more than one struts.jar
file visible at runtime -- in your webapp, in your container's shared
library directory, on the CLASSPATH, or in your Java system extensions
directory.  You should ensure that only one copy (in your webapp) is
visible.

Another potential cause in your case -- if you're using Tomcat 3.2.x,
you'll need to upgrade.  That version has some nasty bugs in its class
loader than make Struts 1.1 not work.

 thanks - gene


Craig


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




Re: Migrating from 1.0 to 1.1 ERRORS

2003-01-15 Thread Gene Campbell
I'm using Tomcat 3.2.3.  Looks like I need to do
something about that.

What a drag.  All I wanted was map-backed ActionForms.
 I could just put a map in the session cache, and
cycle the parameters back into the map when the action
gets the request back, thereby avoiding the use of
some struts features.  However, in order to use a
simple little struts feature, I instead, have to
upgrade Struts and Tomcat.  What a drag.  

Sorry to rant.  Thanks for the help!

- gene

--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
 
 
 On Wed, 15 Jan 2003, Gene Campbell wrote:
 
  Date: Wed, 15 Jan 2003 12:17:00 -0800 (PST)
  From: Gene Campbell [EMAIL PROTECTED]
  Reply-To: Struts Users Mailing List
 [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Migrating from 1.0 to 1.1 ERRORS
 
  I dropped the new struts.jar and assorted commons
 jars
  and tlds in my app.  I'm getting the following
 error
  when tomcat loads the ActionServlet.  THE CLASS IS
  THERE!  It's in the struts.jar.  Please help.  Is
  there a document somewhere discussing migration of
  struts 1.0 to 1.1
 
 
 The usual cause for this type of thing is to have
 more than one struts.jar
 file visible at runtime -- in your webapp, in your
 container's shared
 library directory, on the CLASSPATH, or in your Java
 system extensions
 directory.  You should ensure that only one copy (in
 your webapp) is
 visible.
 
 Another potential cause in your case -- if you're
 using Tomcat 3.2.x,
 you'll need to upgrade.  That version has some nasty
 bugs in its class
 loader than make Struts 1.1 not work.
 
  thanks - gene
 
 
 Craig
 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




Re: Migrating from 1.0 to 1.1 ERRORS

2003-01-15 Thread David Graham
It's not like upgrading Tomcat is costly or difficult.  It takes a matter of 
minutes.  You may only want one new Struts feature now but later you may 
want another so it's worth the effort.  Make sure to recompile your project 
against the new classes.

David






From: Gene Campbell [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Migrating from 1.0 to 1.1 ERRORS
Date: Wed, 15 Jan 2003 12:39:36 -0800 (PST)

I'm using Tomcat 3.2.3.  Looks like I need to do
something about that.

What a drag.  All I wanted was map-backed ActionForms.
 I could just put a map in the session cache, and
cycle the parameters back into the map when the action
gets the request back, thereby avoiding the use of
some struts features.  However, in order to use a
simple little struts feature, I instead, have to
upgrade Struts and Tomcat.  What a drag.

Sorry to rant.  Thanks for the help!

- gene

--- Craig R. McClanahan [EMAIL PROTECTED] wrote:


 On Wed, 15 Jan 2003, Gene Campbell wrote:

  Date: Wed, 15 Jan 2003 12:17:00 -0800 (PST)
  From: Gene Campbell [EMAIL PROTECTED]
  Reply-To: Struts Users Mailing List
 [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Migrating from 1.0 to 1.1 ERRORS
 
  I dropped the new struts.jar and assorted commons
 jars
  and tlds in my app.  I'm getting the following
 error
  when tomcat loads the ActionServlet.  THE CLASS IS
  THERE!  It's in the struts.jar.  Please help.  Is
  there a document somewhere discussing migration of
  struts 1.0 to 1.1
 

 The usual cause for this type of thing is to have
 more than one struts.jar
 file visible at runtime -- in your webapp, in your
 container's shared
 library directory, on the CLASSPATH, or in your Java
 system extensions
 directory.  You should ensure that only one copy (in
 your webapp) is
 visible.

 Another potential cause in your case -- if you're
 using Tomcat 3.2.x,
 you'll need to upgrade.  That version has some nasty
 bugs in its class
 loader than make Struts 1.1 not work.

  thanks - gene
 

 Craig


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



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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


_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


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



Re: Migrating from 1.0 to 1.1 ERRORS

2003-01-15 Thread Mark Lepkowski
 Another potential cause in your case -- if you're using Tomcat 3.2.x,
 you'll need to upgrade.  That version has some nasty bugs in its class
 loader than make Struts 1.1 not work.

Is Tomcat v3.3.1 sufficient for Struts v1.1 (we need to use a Tomcat engine that's 
like WebSphere v4.0)?


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




Re: Migrating from 1.0 to 1.1 ERRORS

2003-01-15 Thread Gene Campbell
Look what I'm going through upgrading Struts.  I now
have to upgrade Tomcat, and I'm not even sure that
will fix the problem.  What if I upgrade Tomcat, and
mod_jk stops working.  Or, one of my other servlets
fails to load (we've got more than just the
ActionServlet), or the config file formats are
slightly different, or there is one or more methods
that are gone or redefined and I have to work through
compile errors.  Basically, I don't want more work.  I
know working through these types of problems are
basically easy.  I just don't have the time.  We are
already spread really thin.  The tools are great
provided they don't hog more or our resources.

Thanks for listening.  I'll go upgrade to Tomcat 3.3
now.

- gene

--- David Graham [EMAIL PROTECTED] wrote:
 It's not like upgrading Tomcat is costly or
 difficult.  It takes a matter of 
 minutes.  You may only want one new Struts feature
 now but later you may 
 want another so it's worth the effort.  Make sure to
 recompile your project 
 against the new classes.
 
 David
 
 
 
 
 
 
 From: Gene Campbell [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List
 [EMAIL PROTECTED]
 To: Struts Users Mailing List
 [EMAIL PROTECTED]
 Subject: Re: Migrating from 1.0 to 1.1 ERRORS
 Date: Wed, 15 Jan 2003 12:39:36 -0800 (PST)
 
 I'm using Tomcat 3.2.3.  Looks like I need to do
 something about that.
 
 What a drag.  All I wanted was map-backed
 ActionForms.
   I could just put a map in the session cache, and
 cycle the parameters back into the map when the
 action
 gets the request back, thereby avoiding the use of
 some struts features.  However, in order to use a
 simple little struts feature, I instead, have to
 upgrade Struts and Tomcat.  What a drag.
 
 Sorry to rant.  Thanks for the help!
 
 - gene
 
 --- Craig R. McClanahan [EMAIL PROTECTED]
 wrote:
  
  
   On Wed, 15 Jan 2003, Gene Campbell wrote:
  
Date: Wed, 15 Jan 2003 12:17:00 -0800 (PST)
From: Gene Campbell [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
   [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Migrating from 1.0 to 1.1 ERRORS
   
I dropped the new struts.jar and assorted
 commons
   jars
and tlds in my app.  I'm getting the following
   error
when tomcat loads the ActionServlet.  THE
 CLASS IS
THERE!  It's in the struts.jar.  Please help. 
 Is
there a document somewhere discussing
 migration of
struts 1.0 to 1.1
   
  
   The usual cause for this type of thing is to
 have
   more than one struts.jar
   file visible at runtime -- in your webapp, in
 your
   container's shared
   library directory, on the CLASSPATH, or in your
 Java
   system extensions
   directory.  You should ensure that only one copy
 (in
   your webapp) is
   visible.
  
   Another potential cause in your case -- if
 you're
   using Tomcat 3.2.x,
   you'll need to upgrade.  That version has some
 nasty
   bugs in its class
   loader than make Struts 1.1 not work.
  
thanks - gene
   
  
   Craig
  
  
   --
   To unsubscribe, e-mail:
  
 mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
  
 
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up
 now.
 http://mailplus.yahoo.com
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 

_
 Add photos to your e-mail with MSN 8. Get 2 months
 FREE*. 
 http://join.msn.com/?page=features/featuredemail
 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




Re: Migrating from 1.0 to 1.1 ERRORS

2003-01-15 Thread Craig R. McClanahan


On Wed, 15 Jan 2003, Mark Lepkowski wrote:

 Date: Wed, 15 Jan 2003 16:07:13 -0500
 From: Mark Lepkowski [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Subject: Re: Migrating from 1.0 to 1.1 ERRORS

  Another potential cause in your case -- if you're using Tomcat 3.2.x,
  you'll need to upgrade.  That version has some nasty bugs in its class
  loader than make Struts 1.1 not work.

 Is Tomcat v3.3.1 sufficient for Struts v1.1 (we need to use a Tomcat
 engine that's like WebSphere v4.0)?


It should be.  You'll also like the performance improvements of either
3.3.1 or 4.1.18 :-).

Note also that 4.1.18 can be used to develop Servlet 2.2/JSP 1.1 apps
(compatible with WebSphere v4.0), as long as you're careful to avoid the
features from the newer specs.

Craig


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




RE: Migrating from 1.0 to 1.1 ERRORS

2003-01-15 Thread pqin
Agree. I also found that JK2 connector is much easier to setup and is very
stable.

Regards,
 
 
PQ
 
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] 
Sent: January 15, 2003 4:44 PM
To: Struts Users Mailing List
Subject: Re: Migrating from 1.0 to 1.1 ERRORS



On Wed, 15 Jan 2003, Mark Lepkowski wrote:

 Date: Wed, 15 Jan 2003 16:07:13 -0500
 From: Mark Lepkowski [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Subject: Re: Migrating from 1.0 to 1.1 ERRORS

  Another potential cause in your case -- if you're using Tomcat 3.2.x,
  you'll need to upgrade.  That version has some nasty bugs in its class
  loader than make Struts 1.1 not work.

 Is Tomcat v3.3.1 sufficient for Struts v1.1 (we need to use a Tomcat
 engine that's like WebSphere v4.0)?


It should be.  You'll also like the performance improvements of either
3.3.1 or 4.1.18 :-).

Note also that 4.1.18 can be used to develop Servlet 2.2/JSP 1.1 apps
(compatible with WebSphere v4.0), as long as you're careful to avoid the
features from the newer specs.

Craig


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



Re: Migrating from 1.0 to 1.1 ERRORS

2003-01-15 Thread Mark Lepkowski
IMO - I don't mind upgrading to the latest and greatest production release, but that 
bit me once with WAS incompatibility.  If it doesn't have the teeth, it can't bite me 
again.

- Original Message - 
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 4:43 PM
Subject: Re: Migrating from 1.0 to 1.1 ERRORS


 
 
 On Wed, 15 Jan 2003, Mark Lepkowski wrote:
 
  Date: Wed, 15 Jan 2003 16:07:13 -0500
  From: Mark Lepkowski [EMAIL PROTECTED]
  Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
  To: Struts Users Mailing List [EMAIL PROTECTED]
  Subject: Re: Migrating from 1.0 to 1.1 ERRORS
 
   Another potential cause in your case -- if you're using Tomcat 3.2.x,
   you'll need to upgrade.  That version has some nasty bugs in its class
   loader than make Struts 1.1 not work.
 
  Is Tomcat v3.3.1 sufficient for Struts v1.1 (we need to use a Tomcat
  engine that's like WebSphere v4.0)?
 
 
 It should be.  You'll also like the performance improvements of either
 3.3.1 or 4.1.18 :-).
 
 Note also that 4.1.18 can be used to develop Servlet 2.2/JSP 1.1 apps
 (compatible with WebSphere v4.0), as long as you're careful to avoid the
 features from the newer specs.
 
 Craig
 
 
 --
 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]