RE: Running example app on Websphere 4.0

2003-02-26 Thread Hajratwala, Nayan (N.)
I'm not sure that it matters, but does "lib" have to be lowercase, i.e. /WEB-INF/lib?

---
- Nayan Hajratwala
- Chikli Consulting LLC
- http://www.chikli.com


-Original Message-
From: Shkolnik, Mike [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 25, 2003 6:02 PM
To: 'Struts Users Mailing List'
Subject: RE: Running example app on Websphere 4.0


Initially, I just had it in one place - where it's suppose to be in
/WEB-INF/LIB/. But that didn't seem to work.

Thanks.

-Original Message-
From: Geeta Ramani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 2:56 PM
To: Struts Users Mailing List
Subject: Re: Running example app on Websphere 4.0


Mike:

I don't know anything about WebSphere, but thought you may like to know
this:
the time that I got a similar error "NoClassDefFoundError was in fact when I
had
placed a jar in one place too many... not to be confused with the
"ClassNotFoundError".  (I believe the error occurs when a class found in the
compilation path is not the same as the one found at run time. )  Since you
say
below that you tried to put the struts.jar in lots of places, maybe this is
the
problem..?  So try to remove the struts.jar from everywhere *except* one
place,
rebuild everything and then try again.

Regards,
Geeta

"Shkolnik, Mike" wrote:

> The link or file that you were trying to include is not there.
>
> Deploying example app directly to the WS 4.0 appserver does not seem to
> work.
>
> When I try to deploy and run my own struts application (not the example) I
> get following error:
>
> [2/25/03 10:52:01:630 PST] 37191c7f WebGroup  X Servlet
Error-[action]:
> Failed to load servlet: java.lang.NoClassDefFoundError:
> org/apache/struts/action/ActionServlet
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Class.java:254)
> at java.beans.Beans.instantiate(Beans.java:213)
> at java.beans.Beans.instantiate(Beans.java:57)
> at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet
>
> I tried to put the struts.jar everywhere I could think of, but it still
can
> not find it.
>
> When I deploy example application, I'm not getting above error, however
when
> I try to invoke any action from a browser I get "File not found..." error.
>
> Thanks.
>
> -Original Message-
> From: Hajratwala, Nayan (N.) [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 2:03 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Running example app on Websphere 4.0
>
> Assuming you're trying to get it up and running in WSAD 4.0 or 5.0, here
is
> a bug-report that contains instructions on getting the example running in
> WSAD 5.0.  I imagine it should be similar for 4.0
>
> If you're simply trying to deploy it directly to the WS 4.0 appserver, you
> should be able to deploy the WAR file just like any other WAR file.
>
> ---
> - Nayan Hajratwala
> - Chikli Consulting LLC
> - http://www.chikli.com
>
> -Original Message-
> From: Shkolnik, Mike [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 4:51 PM
> To: '[EMAIL PROTECTED]'
> Subject: Running example app on Websphere 4.0
>
> Has anybody figured out how to run Struts example app on Websphere 4.0. I
> can't make it work. Any help is greatly appreciated.
>
> Thank you.
>
> -
> 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]
>
> -
> 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]

-
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: Running example app on Websphere 4.0

2003-02-26 Thread Shkolnik, Mike
Finally got it to work. The solution is similar to the one suggested by Ryan
below - After I restarted the app server, I also needed to restart the
actual application. 

I also forgot to regenerate web server plugin after installing the example
app, which caused it not to work.

Thank you to everyone for your help.


-Original Message-
From: Shkolnik, Mike [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 4:15 PM
To: 'Struts Users Mailing List'
Subject: RE: Running example app on Websphere 4.0


Actually I'm getting that exception when the application server is starting.
I think what is happening is that on the startup, it tries to load the
Action servlet which uses commons logging and thats's when it fails.

Thanks.

-Original Message-
From: Owens, Ryan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:53 PM
To: Struts Users Mailing List
Subject: RE: Running example app on Websphere 4.0


May not be related at all, but:

I'm not using Websphere (using Jboss with Tomcat) but I get that same error:
java.lang.ClassCastException: org.apache.commons.logging.impl.Log4jFactory 

whenever I recompile my classes but don't restart JBoss/Tomcat.

once I restart them everything works fine.
So maybe try restarting Websphere. 
Hope that helps.

  Ryan Owens

-Original Message-
From: Shkolnik, Mike [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 6:46 PM
To: 'Struts Users Mailing List'
Subject: RE: Running example app on Websphere 4.0


Yes, the struts.jar is only in that directory. The strange thing is that
when I'm running the example application, I'm not getting the
"NoClassDefFoundError", but I am getting a different one:

[2/25/03 15:37:27:247 PST] 33fc3e53 WebGroup  X Servlet Error-[action]:
Failed to load servlet: java.lang.ExceptionInInitializerError:
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassCastException: org.apache.commons.logging.impl.Log4jFactory
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:549)
at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:337)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:375)
at
org.apache.struts.action.ActionServlet.(ActionServlet.java:376)
at java.lang.Class.newInstance0(Native Method)


And I'm not sure whether that is what causing the example application to
fail or if it's something else. But that's the only error that I can find.

Thank you.



-Original Message-
From: Geeta Ramani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:09 PM
To: Struts Users Mailing List
Subject: Re: Running example app on Websphere 4.0


So are you sure that it isn't in *any* other place?

"Shkolnik, Mike" wrote:

> Initially, I just had it in one place - where it's suppose to be in
> /WEB-INF/LIB/. But that didn't seem to work.
>
> Thanks.
>
> -Original Message-
> From: Geeta Ramani [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 2:56 PM
> To: Struts Users Mailing List
> Subject: Re: Running example app on Websphere 4.0
>
> Mike:
>
> I don't know anything about WebSphere, but thought you may like to know
> this:
> the time that I got a similar error "NoClassDefFoundError was in fact when
I
> had
> placed a jar in one place too many... not to be confused with the
> "ClassNotFoundError".  (I believe the error occurs when a class found in
the
> compilation path is not the same as the one found at run time. )  Since
you
> say
> below that you tried to put the struts.jar in lots of places, maybe this
is
> the
> problem..?  So try to remove the struts.jar from everywhere *except* one
> place,
> rebuild everything and then try again.
>
> Regards,
> Geeta
>
> "Shkolnik, Mike" wrote:
>
> > The link or file that you were trying to include is not there.
> >
> > Deploying example app directly to the WS 4.0 appserver does not seem to
> > work.
> >
> > When I try to deploy and run my own struts application (not the example)
I
> > get following error:
> >
> > [2/25/03 10:52:01:630 PST] 37191c7f WebGroup  X Servlet
> Error-[action]:
> > Failed to load servlet: java.lang.NoClassDefFoundError:
> > org/apache/struts/action/ActionServlet
> > at java.lang.Class.newInstance0(Native Method)
> > at java.lang.Class.newInstance(Class.java:254)
> > at java.beans.Beans.instantiate(Beans.java:213)
> > at java.beans.Beans.instantiate(Beans.java:57)
> > at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet
> >
> > I tried to put the struts.jar everywhere I could think of, but it still
> can
> > not find 

RE: Running example app on Websphere 4.0

2003-02-25 Thread Shkolnik, Mike
Actually I'm getting that exception when the application server is starting.
I think what is happening is that on the startup, it tries to load the
Action servlet which uses commons logging and thats's when it fails.

Thanks.

-Original Message-
From: Owens, Ryan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:53 PM
To: Struts Users Mailing List
Subject: RE: Running example app on Websphere 4.0


May not be related at all, but:

I'm not using Websphere (using Jboss with Tomcat) but I get that same error:
java.lang.ClassCastException: org.apache.commons.logging.impl.Log4jFactory 

whenever I recompile my classes but don't restart JBoss/Tomcat.

once I restart them everything works fine.
So maybe try restarting Websphere. 
Hope that helps.

  Ryan Owens

-Original Message-
From: Shkolnik, Mike [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 6:46 PM
To: 'Struts Users Mailing List'
Subject: RE: Running example app on Websphere 4.0


Yes, the struts.jar is only in that directory. The strange thing is that
when I'm running the example application, I'm not getting the
"NoClassDefFoundError", but I am getting a different one:

[2/25/03 15:37:27:247 PST] 33fc3e53 WebGroup  X Servlet Error-[action]:
Failed to load servlet: java.lang.ExceptionInInitializerError:
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassCastException: org.apache.commons.logging.impl.Log4jFactory
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:549)
at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:337)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:375)
at
org.apache.struts.action.ActionServlet.(ActionServlet.java:376)
at java.lang.Class.newInstance0(Native Method)


And I'm not sure whether that is what causing the example application to
fail or if it's something else. But that's the only error that I can find.

Thank you.



-Original Message-
From: Geeta Ramani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:09 PM
To: Struts Users Mailing List
Subject: Re: Running example app on Websphere 4.0


So are you sure that it isn't in *any* other place?

"Shkolnik, Mike" wrote:

> Initially, I just had it in one place - where it's suppose to be in
> /WEB-INF/LIB/. But that didn't seem to work.
>
> Thanks.
>
> -Original Message-
> From: Geeta Ramani [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 2:56 PM
> To: Struts Users Mailing List
> Subject: Re: Running example app on Websphere 4.0
>
> Mike:
>
> I don't know anything about WebSphere, but thought you may like to know
> this:
> the time that I got a similar error "NoClassDefFoundError was in fact when
I
> had
> placed a jar in one place too many... not to be confused with the
> "ClassNotFoundError".  (I believe the error occurs when a class found in
the
> compilation path is not the same as the one found at run time. )  Since
you
> say
> below that you tried to put the struts.jar in lots of places, maybe this
is
> the
> problem..?  So try to remove the struts.jar from everywhere *except* one
> place,
> rebuild everything and then try again.
>
> Regards,
> Geeta
>
> "Shkolnik, Mike" wrote:
>
> > The link or file that you were trying to include is not there.
> >
> > Deploying example app directly to the WS 4.0 appserver does not seem to
> > work.
> >
> > When I try to deploy and run my own struts application (not the example)
I
> > get following error:
> >
> > [2/25/03 10:52:01:630 PST] 37191c7f WebGroup  X Servlet
> Error-[action]:
> > Failed to load servlet: java.lang.NoClassDefFoundError:
> > org/apache/struts/action/ActionServlet
> > at java.lang.Class.newInstance0(Native Method)
> > at java.lang.Class.newInstance(Class.java:254)
> > at java.beans.Beans.instantiate(Beans.java:213)
> > at java.beans.Beans.instantiate(Beans.java:57)
> > at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet
> >
> > I tried to put the struts.jar everywhere I could think of, but it still
> can
> > not find it.
> >
> > When I deploy example application, I'm not getting above error, however
> when
> > I try to invoke any action from a browser I get "File not found..."
error.
> >
> > Thanks.
> >
> > -Original Message-
> > From: Hajratwala, Nayan (N.) [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 25, 2003 2:03 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Running example app on Websphere 4.0
> >
> &

RE: Running example app on Websphere 4.0

2003-02-25 Thread Owens, Ryan
May not be related at all, but:

I'm not using Websphere (using Jboss with Tomcat) but I get that same error:
java.lang.ClassCastException: org.apache.commons.logging.impl.Log4jFactory 

whenever I recompile my classes but don't restart JBoss/Tomcat.

once I restart them everything works fine.
So maybe try restarting Websphere. 
Hope that helps.

  Ryan Owens

-Original Message-
From: Shkolnik, Mike [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 6:46 PM
To: 'Struts Users Mailing List'
Subject: RE: Running example app on Websphere 4.0


Yes, the struts.jar is only in that directory. The strange thing is that
when I'm running the example application, I'm not getting the
"NoClassDefFoundError", but I am getting a different one:

[2/25/03 15:37:27:247 PST] 33fc3e53 WebGroup  X Servlet Error-[action]:
Failed to load servlet: java.lang.ExceptionInInitializerError:
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassCastException: org.apache.commons.logging.impl.Log4jFactory
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:549)
at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:337)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:375)
at
org.apache.struts.action.ActionServlet.(ActionServlet.java:376)
at java.lang.Class.newInstance0(Native Method)


And I'm not sure whether that is what causing the example application to
fail or if it's something else. But that's the only error that I can find.

Thank you.



-Original Message-
From: Geeta Ramani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:09 PM
To: Struts Users Mailing List
Subject: Re: Running example app on Websphere 4.0


So are you sure that it isn't in *any* other place?

"Shkolnik, Mike" wrote:

> Initially, I just had it in one place - where it's suppose to be in
> /WEB-INF/LIB/. But that didn't seem to work.
>
> Thanks.
>
> -Original Message-
> From: Geeta Ramani [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 2:56 PM
> To: Struts Users Mailing List
> Subject: Re: Running example app on Websphere 4.0
>
> Mike:
>
> I don't know anything about WebSphere, but thought you may like to know
> this:
> the time that I got a similar error "NoClassDefFoundError was in fact when
I
> had
> placed a jar in one place too many... not to be confused with the
> "ClassNotFoundError".  (I believe the error occurs when a class found in
the
> compilation path is not the same as the one found at run time. )  Since
you
> say
> below that you tried to put the struts.jar in lots of places, maybe this
is
> the
> problem..?  So try to remove the struts.jar from everywhere *except* one
> place,
> rebuild everything and then try again.
>
> Regards,
> Geeta
>
> "Shkolnik, Mike" wrote:
>
> > The link or file that you were trying to include is not there.
> >
> > Deploying example app directly to the WS 4.0 appserver does not seem to
> > work.
> >
> > When I try to deploy and run my own struts application (not the example)
I
> > get following error:
> >
> > [2/25/03 10:52:01:630 PST] 37191c7f WebGroup  X Servlet
> Error-[action]:
> > Failed to load servlet: java.lang.NoClassDefFoundError:
> > org/apache/struts/action/ActionServlet
> > at java.lang.Class.newInstance0(Native Method)
> > at java.lang.Class.newInstance(Class.java:254)
> > at java.beans.Beans.instantiate(Beans.java:213)
> > at java.beans.Beans.instantiate(Beans.java:57)
> > at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet
> >
> > I tried to put the struts.jar everywhere I could think of, but it still
> can
> > not find it.
> >
> > When I deploy example application, I'm not getting above error, however
> when
> > I try to invoke any action from a browser I get "File not found..."
error.
> >
> > Thanks.
> >
> > -Original Message-
> > From: Hajratwala, Nayan (N.) [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 25, 2003 2:03 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Running example app on Websphere 4.0
> >
> > Assuming you're trying to get it up and running in WSAD 4.0 or 5.0, here
> is
> > a bug-report that contains instructions on getting the example running
in
> > WSAD 5.0.  I imagine it should be similar for 4.0
> >
> > If you're simply trying to deploy it directly to the WS 4.0 appserver,
you
> > should be able to deploy the WAR file just like a

RE: Running example app on Websphere 4.0

2003-02-25 Thread Shkolnik, Mike
Yes, the struts.jar is only in that directory. The strange thing is that
when I'm running the example application, I'm not getting the
"NoClassDefFoundError", but I am getting a different one:

[2/25/03 15:37:27:247 PST] 33fc3e53 WebGroup  X Servlet Error-[action]:
Failed to load servlet: java.lang.ExceptionInInitializerError:
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassCastException: org.apache.commons.logging.impl.Log4jFactory
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:549)
at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:337)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:375)
at
org.apache.struts.action.ActionServlet.(ActionServlet.java:376)
at java.lang.Class.newInstance0(Native Method)


And I'm not sure whether that is what causing the example application to
fail or if it's something else. But that's the only error that I can find.

Thank you.



-Original Message-
From: Geeta Ramani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:09 PM
To: Struts Users Mailing List
Subject: Re: Running example app on Websphere 4.0


So are you sure that it isn't in *any* other place?

"Shkolnik, Mike" wrote:

> Initially, I just had it in one place - where it's suppose to be in
> /WEB-INF/LIB/. But that didn't seem to work.
>
> Thanks.
>
> -Original Message-
> From: Geeta Ramani [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 2:56 PM
> To: Struts Users Mailing List
> Subject: Re: Running example app on Websphere 4.0
>
> Mike:
>
> I don't know anything about WebSphere, but thought you may like to know
> this:
> the time that I got a similar error "NoClassDefFoundError was in fact when
I
> had
> placed a jar in one place too many... not to be confused with the
> "ClassNotFoundError".  (I believe the error occurs when a class found in
the
> compilation path is not the same as the one found at run time. )  Since
you
> say
> below that you tried to put the struts.jar in lots of places, maybe this
is
> the
> problem..?  So try to remove the struts.jar from everywhere *except* one
> place,
> rebuild everything and then try again.
>
> Regards,
> Geeta
>
> "Shkolnik, Mike" wrote:
>
> > The link or file that you were trying to include is not there.
> >
> > Deploying example app directly to the WS 4.0 appserver does not seem to
> > work.
> >
> > When I try to deploy and run my own struts application (not the example)
I
> > get following error:
> >
> > [2/25/03 10:52:01:630 PST] 37191c7f WebGroup  X Servlet
> Error-[action]:
> > Failed to load servlet: java.lang.NoClassDefFoundError:
> > org/apache/struts/action/ActionServlet
> > at java.lang.Class.newInstance0(Native Method)
> > at java.lang.Class.newInstance(Class.java:254)
> > at java.beans.Beans.instantiate(Beans.java:213)
> > at java.beans.Beans.instantiate(Beans.java:57)
> > at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet
> >
> > I tried to put the struts.jar everywhere I could think of, but it still
> can
> > not find it.
> >
> > When I deploy example application, I'm not getting above error, however
> when
> > I try to invoke any action from a browser I get "File not found..."
error.
> >
> > Thanks.
> >
> > -Original Message-
> > From: Hajratwala, Nayan (N.) [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 25, 2003 2:03 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Running example app on Websphere 4.0
> >
> > Assuming you're trying to get it up and running in WSAD 4.0 or 5.0, here
> is
> > a bug-report that contains instructions on getting the example running
in
> > WSAD 5.0.  I imagine it should be similar for 4.0
> >
> > If you're simply trying to deploy it directly to the WS 4.0 appserver,
you
> > should be able to deploy the WAR file just like any other WAR file.
> >
> > ---
> > - Nayan Hajratwala
> > - Chikli Consulting LLC
> > - http://www.chikli.com
> >
> > -Original Message-
> > From: Shkolnik, Mike [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 25, 2003 4:51 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: Running example app on Websphere 4.0
> >
> > Has anybody figured out how to run Struts example app on Websphere 4.0.
I
> > can't make it work. Any help is greatly appreciated.

Re: Running example app on Websphere 4.0

2003-02-25 Thread Geeta Ramani
So are you sure that it isn't in *any* other place?

"Shkolnik, Mike" wrote:

> Initially, I just had it in one place - where it's suppose to be in
> /WEB-INF/LIB/. But that didn't seem to work.
>
> Thanks.
>
> -Original Message-
> From: Geeta Ramani [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 2:56 PM
> To: Struts Users Mailing List
> Subject: Re: Running example app on Websphere 4.0
>
> Mike:
>
> I don't know anything about WebSphere, but thought you may like to know
> this:
> the time that I got a similar error "NoClassDefFoundError was in fact when I
> had
> placed a jar in one place too many... not to be confused with the
> "ClassNotFoundError".  (I believe the error occurs when a class found in the
> compilation path is not the same as the one found at run time. )  Since you
> say
> below that you tried to put the struts.jar in lots of places, maybe this is
> the
> problem..?  So try to remove the struts.jar from everywhere *except* one
> place,
> rebuild everything and then try again.
>
> Regards,
> Geeta
>
> "Shkolnik, Mike" wrote:
>
> > The link or file that you were trying to include is not there.
> >
> > Deploying example app directly to the WS 4.0 appserver does not seem to
> > work.
> >
> > When I try to deploy and run my own struts application (not the example) I
> > get following error:
> >
> > [2/25/03 10:52:01:630 PST] 37191c7f WebGroup  X Servlet
> Error-[action]:
> > Failed to load servlet: java.lang.NoClassDefFoundError:
> > org/apache/struts/action/ActionServlet
> > at java.lang.Class.newInstance0(Native Method)
> > at java.lang.Class.newInstance(Class.java:254)
> > at java.beans.Beans.instantiate(Beans.java:213)
> > at java.beans.Beans.instantiate(Beans.java:57)
> > at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet
> >
> > I tried to put the struts.jar everywhere I could think of, but it still
> can
> > not find it.
> >
> > When I deploy example application, I'm not getting above error, however
> when
> > I try to invoke any action from a browser I get "File not found..." error.
> >
> > Thanks.
> >
> > -Original Message-
> > From: Hajratwala, Nayan (N.) [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 25, 2003 2:03 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Running example app on Websphere 4.0
> >
> > Assuming you're trying to get it up and running in WSAD 4.0 or 5.0, here
> is
> > a bug-report that contains instructions on getting the example running in
> > WSAD 5.0.  I imagine it should be similar for 4.0
> >
> > If you're simply trying to deploy it directly to the WS 4.0 appserver, you
> > should be able to deploy the WAR file just like any other WAR file.
> >
> > ---
> > - Nayan Hajratwala
> > - Chikli Consulting LLC
> > - http://www.chikli.com
> >
> > -Original Message-
> > From: Shkolnik, Mike [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 25, 2003 4:51 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: Running example app on Websphere 4.0
> >
> > Has anybody figured out how to run Struts example app on Websphere 4.0. I
> > can't make it work. Any help is greatly appreciated.
> >
> > Thank you.
> >
> > -
> > 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]
> >
> > -
> > 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]
>
> -
> 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: Running example app on Websphere 4.0

2003-02-25 Thread Shkolnik, Mike
Initially, I just had it in one place - where it's suppose to be in
/WEB-INF/LIB/. But that didn't seem to work.

Thanks.

-Original Message-
From: Geeta Ramani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 2:56 PM
To: Struts Users Mailing List
Subject: Re: Running example app on Websphere 4.0


Mike:

I don't know anything about WebSphere, but thought you may like to know
this:
the time that I got a similar error "NoClassDefFoundError was in fact when I
had
placed a jar in one place too many... not to be confused with the
"ClassNotFoundError".  (I believe the error occurs when a class found in the
compilation path is not the same as the one found at run time. )  Since you
say
below that you tried to put the struts.jar in lots of places, maybe this is
the
problem..?  So try to remove the struts.jar from everywhere *except* one
place,
rebuild everything and then try again.

Regards,
Geeta

"Shkolnik, Mike" wrote:

> The link or file that you were trying to include is not there.
>
> Deploying example app directly to the WS 4.0 appserver does not seem to
> work.
>
> When I try to deploy and run my own struts application (not the example) I
> get following error:
>
> [2/25/03 10:52:01:630 PST] 37191c7f WebGroup  X Servlet
Error-[action]:
> Failed to load servlet: java.lang.NoClassDefFoundError:
> org/apache/struts/action/ActionServlet
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Class.java:254)
> at java.beans.Beans.instantiate(Beans.java:213)
> at java.beans.Beans.instantiate(Beans.java:57)
> at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet
>
> I tried to put the struts.jar everywhere I could think of, but it still
can
> not find it.
>
> When I deploy example application, I'm not getting above error, however
when
> I try to invoke any action from a browser I get "File not found..." error.
>
> Thanks.
>
> -Original Message-
> From: Hajratwala, Nayan (N.) [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 2:03 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Running example app on Websphere 4.0
>
> Assuming you're trying to get it up and running in WSAD 4.0 or 5.0, here
is
> a bug-report that contains instructions on getting the example running in
> WSAD 5.0.  I imagine it should be similar for 4.0
>
> If you're simply trying to deploy it directly to the WS 4.0 appserver, you
> should be able to deploy the WAR file just like any other WAR file.
>
> ---
> - Nayan Hajratwala
> - Chikli Consulting LLC
> - http://www.chikli.com
>
> -Original Message-
> From: Shkolnik, Mike [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 4:51 PM
> To: '[EMAIL PROTECTED]'
> Subject: Running example app on Websphere 4.0
>
> Has anybody figured out how to run Struts example app on Websphere 4.0. I
> can't make it work. Any help is greatly appreciated.
>
> Thank you.
>
> -
> 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]
>
> -
> 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]

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



Re: Running example app on Websphere 4.0

2003-02-25 Thread Geeta Ramani
Mike:

I don't know anything about WebSphere, but thought you may like to know this:
the time that I got a similar error "NoClassDefFoundError was in fact when I had
placed a jar in one place too many... not to be confused with the
"ClassNotFoundError".  (I believe the error occurs when a class found in the
compilation path is not the same as the one found at run time. )  Since you say
below that you tried to put the struts.jar in lots of places, maybe this is the
problem..?  So try to remove the struts.jar from everywhere *except* one place,
rebuild everything and then try again.

Regards,
Geeta

"Shkolnik, Mike" wrote:

> The link or file that you were trying to include is not there.
>
> Deploying example app directly to the WS 4.0 appserver does not seem to
> work.
>
> When I try to deploy and run my own struts application (not the example) I
> get following error:
>
> [2/25/03 10:52:01:630 PST] 37191c7f WebGroup  X Servlet Error-[action]:
> Failed to load servlet: java.lang.NoClassDefFoundError:
> org/apache/struts/action/ActionServlet
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Class.java:254)
> at java.beans.Beans.instantiate(Beans.java:213)
> at java.beans.Beans.instantiate(Beans.java:57)
> at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet
>
> I tried to put the struts.jar everywhere I could think of, but it still can
> not find it.
>
> When I deploy example application, I'm not getting above error, however when
> I try to invoke any action from a browser I get "File not found..." error.
>
> Thanks.
>
> -Original Message-
> From: Hajratwala, Nayan (N.) [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 2:03 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Running example app on Websphere 4.0
>
> Assuming you're trying to get it up and running in WSAD 4.0 or 5.0, here is
> a bug-report that contains instructions on getting the example running in
> WSAD 5.0.  I imagine it should be similar for 4.0
>
> If you're simply trying to deploy it directly to the WS 4.0 appserver, you
> should be able to deploy the WAR file just like any other WAR file.
>
> ---
> - Nayan Hajratwala
> - Chikli Consulting LLC
> - http://www.chikli.com
>
> -Original Message-
> From: Shkolnik, Mike [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 4:51 PM
> To: '[EMAIL PROTECTED]'
> Subject: Running example app on Websphere 4.0
>
> Has anybody figured out how to run Struts example app on Websphere 4.0. I
> can't make it work. Any help is greatly appreciated.
>
> Thank you.
>
> -
> 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]
>
> -
> 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: Running example app on Websphere 4.0

2003-02-25 Thread Hajratwala, Nayan (N.)
Sorry, here is the link

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15935

Your struts.jar and all the other jar files should be under the WEB-INF/lib directory. 
 Same as in the example app.



---
- Nayan Hajratwala
- Chikli Consulting LLC
- http://www.chikli.com


-Original Message-
From: Shkolnik, Mike [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 25, 2003 5:18 PM
To: 'Struts Users Mailing List'
Subject: RE: Running example app on Websphere 4.0


The link or file that you were trying to include is not there. 

Deploying example app directly to the WS 4.0 appserver does not seem to
work.

When I try to deploy and run my own struts application (not the example) I
get following error:

[2/25/03 10:52:01:630 PST] 37191c7f WebGroup  X Servlet Error-[action]:
Failed to load servlet: java.lang.NoClassDefFoundError:
org/apache/struts/action/ActionServlet
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:254)
at java.beans.Beans.instantiate(Beans.java:213)
at java.beans.Beans.instantiate(Beans.java:57)
at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet

I tried to put the struts.jar everywhere I could think of, but it still can
not find it. 

When I deploy example application, I'm not getting above error, however when
I try to invoke any action from a browser I get "File not found..." error.

Thanks.


-Original Message-
From: Hajratwala, Nayan (N.) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 2:03 PM
To: 'Struts Users Mailing List'
Subject: RE: Running example app on Websphere 4.0


Assuming you're trying to get it up and running in WSAD 4.0 or 5.0, here is
a bug-report that contains instructions on getting the example running in
WSAD 5.0.  I imagine it should be similar for 4.0

If you're simply trying to deploy it directly to the WS 4.0 appserver, you
should be able to deploy the WAR file just like any other WAR file.

---
- Nayan Hajratwala
- Chikli Consulting LLC
- http://www.chikli.com


-Original Message-
From: Shkolnik, Mike [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 25, 2003 4:51 PM
To: '[EMAIL PROTECTED]'
Subject: Running example app on Websphere 4.0


Has anybody figured out how to run Struts example app on Websphere 4.0. I
can't make it work. Any help is greatly appreciated.
 
Thank you.

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

-
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: Running example app on Websphere 4.0

2003-02-25 Thread Shkolnik, Mike
The link or file that you were trying to include is not there. 

Deploying example app directly to the WS 4.0 appserver does not seem to
work.

When I try to deploy and run my own struts application (not the example) I
get following error:

[2/25/03 10:52:01:630 PST] 37191c7f WebGroup  X Servlet Error-[action]:
Failed to load servlet: java.lang.NoClassDefFoundError:
org/apache/struts/action/ActionServlet
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:254)
at java.beans.Beans.instantiate(Beans.java:213)
at java.beans.Beans.instantiate(Beans.java:57)
at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet

I tried to put the struts.jar everywhere I could think of, but it still can
not find it. 

When I deploy example application, I'm not getting above error, however when
I try to invoke any action from a browser I get "File not found..." error.

Thanks.


-Original Message-
From: Hajratwala, Nayan (N.) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 2:03 PM
To: 'Struts Users Mailing List'
Subject: RE: Running example app on Websphere 4.0


Assuming you're trying to get it up and running in WSAD 4.0 or 5.0, here is
a bug-report that contains instructions on getting the example running in
WSAD 5.0.  I imagine it should be similar for 4.0

If you're simply trying to deploy it directly to the WS 4.0 appserver, you
should be able to deploy the WAR file just like any other WAR file.

---
- Nayan Hajratwala
- Chikli Consulting LLC
- http://www.chikli.com


-Original Message-
From: Shkolnik, Mike [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 25, 2003 4:51 PM
To: '[EMAIL PROTECTED]'
Subject: Running example app on Websphere 4.0


Has anybody figured out how to run Struts example app on Websphere 4.0. I
can't make it work. Any help is greatly appreciated.
 
Thank you.

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

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



RE: Running example app on Websphere 4.0

2003-02-25 Thread Hajratwala, Nayan (N.)
Assuming you're trying to get it up and running in WSAD 4.0 or 5.0, here is a 
bug-report that contains instructions on getting the example running in WSAD 5.0.  I 
imagine it should be similar for 4.0

If you're simply trying to deploy it directly to the WS 4.0 appserver, you should be 
able to deploy the WAR file just like any other WAR file.

---
- Nayan Hajratwala
- Chikli Consulting LLC
- http://www.chikli.com


-Original Message-
From: Shkolnik, Mike [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 25, 2003 4:51 PM
To: '[EMAIL PROTECTED]'
Subject: Running example app on Websphere 4.0


Has anybody figured out how to run Struts example app on Websphere 4.0. I
can't make it work. Any help is greatly appreciated.
 
Thank you.

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