Re: Struts and WebSphere - not find ActionMappings or ActionFormBeans collection

2003-08-14 Thread Vicky
You are missing some of the jar files in your websphere context. Make sure you have 
all required jars in \lib in websphere.

ChangQing Zhou <[EMAIL PROTECTED]> wrote:Hi,

I have an application runs great in Tomcat 5.0. I am migrating it into websphere and I 
got the following error when I try to access the first jsp page of the app.

Any help is appreciated.

-Changqing

[8/11/03 13:04:31:844 CDT] 5c7194b6 WebGroup E SRVE0026E: [Servlet Error]-[Cannot find 
ActionMappings or ActionFormBeans collection]: javax.servlet.jsp.JspException: Cannot 
find ActionMappings or ActionFormBeans collection
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:800)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
at org.apache.jsp._signIn._jspService(signIn.jsp :1)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:598)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:696)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at 
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at 
com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at 
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258)
at 
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at 
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
at ubh.web.filter.TemplateFilter.doFilter(TemplateFilter.java:43)
at 
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:863)
at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491)
at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at 
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
at 
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at 
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at 
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: Struts and WebSphere - not find ActionMappings or ActionFormBeans collection

2003-08-12 Thread ChangQing Zhou
Thanks.

It however does not look like a "classNotFound" error. I debugged the code
and the error was from the line "moduleConfig =
RequestUtils.getModuleConfig(pageContext)". The moduleConfig was null.

I wonder if it is some sort of configuration issue.

-Changqing


protected void lookup() throws JspException {

// Look up the module configuration information we need
moduleConfig = RequestUtils.getModuleConfig(pageContext);

if (moduleConfig == null) {
JspException e = new
JspException(messages.getMessage("formTag.collections"));
pageContext.setAttribute(Globals.EXCEPTION_KEY, e,
PageContext.REQUEST_SCOPE);
throw e;
}

- Original Message -
From: "Vicky" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, August 11, 2003 1:21 PM
Subject: Re: Struts and WebSphere - not find ActionMappings or
ActionFormBeans collection


> You are missing some of the jar files in your websphere context. Make sure
you have all required jars in \lib in websphere.
>
> ChangQing Zhou <[EMAIL PROTECTED]> wrote:Hi,
>
> I have an application runs great in Tomcat 5.0. I am migrating it into
websphere and I got the following error when I try to access the first jsp
page of the app.
>
> Any help is appreciated.
>
> -Changqing
>
> [8/11/03 13:04:31:844 CDT] 5c7194b6 WebGroup E SRVE0026E: [Servlet
Error]-[Cannot find ActionMappings or ActionFormBeans collection]:
javax.servlet.jsp.JspException: Cannot find ActionMappings or
ActionFormBeans collection
> at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:800)
> at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
> at org.apache.jsp._signIn._jspService(signIn.jsp :1)
> at
com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(Jsp
Servlet.java:344)
> at
com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.jav
a:598)
> at
com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:696)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle
tInstance.java:110)
> at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy
cleServlet.java:174)
> at
com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ
let.java:313)
> at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc
leServlet.java:116)
> at
com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java
:258)
> at
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer
vletReferenceState.java:42)
> at
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns
tanceReference.java:40)
> at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.
java:76)
> at ubh.web.filter.TemplateFilter.doFilter(TemplateFilter.java:43)
> at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstance
Wrapper.java:132)
> at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.
java:71)
> at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(
WebAppRequestDispatcher.java:863)
> at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques
tDispatcher.java:491)
> at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest
Dispatcher.java:173)
> at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
> at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker
.java:199)
> at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C
achedInvocation.java:71)
> at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq
uestProcessor.java:182)
> at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene
r.java:331)
> at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav
a:56)
> at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
> at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
>
>
> -
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software


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



RE: Struts and Websphere

2003-01-20 Thread Steve Vanspall
I'm not the guy who said that, but my main problem is I am not sure where to
start find the problem, it just says that it can't find an action-mapping
for my .do request. I have not changed any settings and it runs without a
hitch under tomcat.

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 21 January 2003 11:49 AM
To: Struts Users Mailing List
Subject: Re: Struts and Websphere




On Mon, 20 Jan 2003, Mark Lepkowski wrote:

> We probably won't try Struts v1.1 until it goes into production status.

A very common attitude, alas.

What would *really* help us ensure that 1.1 meets our high quality
expectations is that you'd at least throw your apps at it on a development
machine, and help us flush out any remaining problemss.  We're going to go
final real soon now -- it's just a matter of a few remaining bug reports.

But I worry about the bugs we *don't* know about, because many did not
try 1.1, since it's "not final yet."

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




Re: Struts and Websphere

2003-01-20 Thread Craig R. McClanahan


On Mon, 20 Jan 2003, Mark Lepkowski wrote:

> We probably won't try Struts v1.1 until it goes into production status.

A very common attitude, alas.

What would *really* help us ensure that 1.1 meets our high quality
expectations is that you'd at least throw your apps at it on a development
machine, and help us flush out any remaining problemss.  We're going to go
final real soon now -- it's just a matter of a few remaining bug reports.

But I worry about the bugs we *don't* know about, because many did not
try 1.1, since it's "not final yet."

Craig


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Struts and Websphere

2003-01-20 Thread Steve Vanspall
I did use the assembly tool at first,

but the same problem occured.

will try again.

am currently using WAS 5.0

Regards

Steve Vanspall

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, 20 January 2003 8:27 PM
To: [EMAIL PROTECTED]
Subject: RE: Struts and Websphere


IBM tools require some more config files: the bindings:
 -ibm-application-bnd.xmi
 -ibm-application-ext.xmi
These files won't be deploy by Eclipse, but if you don't own an IBM WSAD,
you can deploy with a tool comming with websphere 4: the "Application
assembly tool". This is GUI for building your J2EE descriptors for WAS4, it
will allow you to make your Eclipse WAR deployable for WAS4.

regards,
-Fabrice.

-Original Message-
From: Marco Tedone [mailto:[EMAIL PROTECTED]]
Sent: lundi 20 janvier 2003 10:14
To: Struts Users Mailing List
Subject: RE: Struts and Websphere


As far as I know Websphere would require much more setup. I last used it
last April, and to tell you the truth, I had to go inside the Websphere
config file to let my finder methods to work.

-Original Message-
From: Steve Vanspall [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 3:27 AM
To: Struts User Mailing List
Subject: Struts and Websphere


Hi there,

I just wanted to see if there's anyone here who has succesfully deployed a
struts-based web application onWebsphere application server.

I am using Tomcat for development, but need to be able to deploy on
websphere?

As yet I have had no luck.

I am using

Struts 1.1Beta-1
Eclipse
am making the war file using Eclipse, the war file works with tomcat, but
not websphere.

Websphere pickup my welcome page, it then calls findefault.do, but that
causes a 500 error.

I think there must be some added setting one of my xml files needs.

Can anyone help me out

Regards

Steve Vanspall





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

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


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




RE: Struts and Websphere

2003-01-20 Thread Steve Vanspall


Hi there,

my web.xml (Attached) is the same as for when I run it on Tomcat.

Not sure if there are more settings I need

regards

Steve Vanspall

-Original Message-
From: Marco Fabbri [mailto:[EMAIL PROTECTED]]
Sent: Monday, 20 January 2003 7:44 PM
To: Struts Users Mailing List
Subject: Re: Struts and Websphere


I've setup up WSSD 4.03 with struts 1.1b2; maybe the 500 error is caused by
a mistake on web.xml...

Can you add some details on it?

Marco Fabbri

- Original Message -
From: "Steve Vanspall" <[EMAIL PROTECTED]>
To: "Struts User Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 4:27 AM
Subject: Struts and Websphere


> Hi there,
>
> I just wanted to see if there's anyone here who has succesfully deployed a
> struts-based web application onWebsphere application server.
>
> I am using Tomcat for development, but need to be able to deploy on
> websphere?
>
> As yet I have had no luck.
>
> I am using
>
> Struts 1.1Beta-1
> Eclipse
> am making the war file using Eclipse, the war file works with tomcat, but
> not websphere.
>
> Websphere pickup my welcome page, it then calls findefault.do, but that
> causes a 500 error.
>




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



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


  
InitLogging
com.crm.util.InitLogging
   
  loggerConfigFile
  CRMlogging.properties
  
1 
  


   
  
action
org.apache.struts.action.ActionServlet

  application
  com.crm.ApplicationResources


  config
  /WEB-INF/struts-config.xml


  debug
  1


  detail
  2


  validate
  true


  nocache
  true

2
  


  


  
  
InitConnectionPool
com.crm.util.InitConnectionPool

  ConnectionPoolDescription
  Oracle Connection Pool
  

  DriverClass
  oracle.jdbc.driver.OracleDriver
  

  Url
  jdbc:oracle:thin:@192.168.0.102:1521:CRM5
  

  User
  CRMDBA
  

  Password
  CRMDBA
   

  MaxCount
  5


  MinCount
  3
 
4 
  


  
  
InitCRMUtils
com.crm.util.InitCRMUtils

  CrmProperties
  crm.properties
 

  Language
  en
 

  Country
  AU
 

  EntityBeanHTMLConfigFile
  /WEB-INF/entitybeanHTMLconf.xml
  
5 
  


  
  
action
*.do
  


  
  
/index.html
  

  
  
/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
  
  
/WEB-INF/sslext.tld
/WEB-INF/sslext.tld
  




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


Re: Struts and Websphere

2003-01-20 Thread Mark Lepkowski
We've had success using Tomcat v3.3.1 and Struts 1.0.2 for development, and then 
testing/production on WAS v3.5.x and WAS v4.0.  We probably won't try Struts v1.1 
until it goes into production status.


- Original Message - 
From: "Steve Vanspall" <[EMAIL PROTECTED]>
To: "Struts User Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, January 19, 2003 10:27 PM
Subject: Struts and Websphere


> Hi there,
> 
> I just wanted to see if there's anyone here who has succesfully deployed a
> struts-based web application onWebsphere application server.
> 
> I am using Tomcat for development, but need to be able to deploy on
> websphere?
> 
> As yet I have had no luck.
> 
> I am using
> 
> Struts 1.1Beta-1
> Eclipse
> am making the war file using Eclipse, the war file works with tomcat, but
> not websphere.
> 
> Websphere pickup my welcome page, it then calls findefault.do, but that
> causes a 500 error.
> 
> I think there must be some added setting one of my xml files needs.
> 
> Can anyone help me out
> 
> Regards
> 
> Steve Vanspall
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Struts and Websphere

2003-01-20 Thread Giri Alwar
I am not sure which version of WAS you are referring to. I have have worked
with WSAD 5.0 and have created/deployed a Struts app. from scratch in it
(works just fine). I must say that WSAD 5.0 provides wonderful Struts
support. It allows you to create a Struts project (which automatically
copies all the JARs, TLDs etc to the correct directories, sets up an empty
Struts config. file and a message resource file and maps the ActionServlet
as well). It also provides a built-in Struts configuration editor which
makes editing the file a breeze. You can also create Action, ActionForm
classes etc. very easily. One thing it does not provide direct support for
is the form validation feature (you will have to import the
validation-rules.xml file and create the validation.xml file from scratch).

- Original Message -
From: "Marco Tedone" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 3:14 AM
Subject: RE: Struts and Websphere


> As far as I know Websphere would require much more setup. I last used it
> last April, and to tell you the truth, I had to go inside the Websphere
> config file to let my finder methods to work.
>
> -Original Message-
> From: Steve Vanspall [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 20, 2003 3:27 AM
> To: Struts User Mailing List
> Subject: Struts and Websphere
>
>
> Hi there,
>
> I just wanted to see if there's anyone here who has succesfully deployed a
> struts-based web application onWebsphere application server.
>
> I am using Tomcat for development, but need to be able to deploy on
> websphere?
>
> As yet I have had no luck.
>
> I am using
>
> Struts 1.1Beta-1
> Eclipse
> am making the war file using Eclipse, the war file works with tomcat, but
> not websphere.
>
> Websphere pickup my welcome page, it then calls findefault.do, but that
> causes a 500 error.
>
> I think there must be some added setting one of my xml files needs.
>
> Can anyone help me out
>
> Regards
>
> Steve Vanspall
>
>
>
>
>
> --
> 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]>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.435 / Virus Database: 244 - Release Date: 12/30/2002

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




RE: Struts and Websphere

2003-01-20 Thread Fabrice . Bocquillon
IBM tools require some more config files: the bindings:
 -ibm-application-bnd.xmi
 -ibm-application-ext.xmi
These files won't be deploy by Eclipse, but if you don't own an IBM WSAD,
you can deploy with a tool comming with websphere 4: the "Application
assembly tool". This is GUI for building your J2EE descriptors for WAS4, it
will allow you to make your Eclipse WAR deployable for WAS4.

regards,
-Fabrice.

-Original Message-
From: Marco Tedone [mailto:[EMAIL PROTECTED]]
Sent: lundi 20 janvier 2003 10:14
To: Struts Users Mailing List
Subject: RE: Struts and Websphere


As far as I know Websphere would require much more setup. I last used it
last April, and to tell you the truth, I had to go inside the Websphere
config file to let my finder methods to work.

-Original Message-
From: Steve Vanspall [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 20, 2003 3:27 AM
To: Struts User Mailing List
Subject: Struts and Websphere


Hi there,

I just wanted to see if there's anyone here who has succesfully deployed a
struts-based web application onWebsphere application server.

I am using Tomcat for development, but need to be able to deploy on
websphere?

As yet I have had no luck.

I am using

Struts 1.1Beta-1
Eclipse
am making the war file using Eclipse, the war file works with tomcat, but
not websphere.

Websphere pickup my welcome page, it then calls findefault.do, but that
causes a 500 error.

I think there must be some added setting one of my xml files needs.

Can anyone help me out

Regards

Steve Vanspall





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

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




Re: Struts and Websphere

2003-01-20 Thread Christopher Willingham
I have had no problems deploying on websphere using 1.1b2. I'm deploying
with b3 this week so I'll see how that goes.  I don't think you should be
having any problems.
- Original Message -
From: "Steve Vanspall" <[EMAIL PROTECTED]>
To: "Struts User Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, January 19, 2003 10:27 PM
Subject: Struts and Websphere


> Hi there,
>
> I just wanted to see if there's anyone here who has succesfully deployed a
> struts-based web application onWebsphere application server.
>
> I am using Tomcat for development, but need to be able to deploy on
> websphere?
>
> As yet I have had no luck.
>
> I am using
>
> Struts 1.1Beta-1
> Eclipse
> am making the war file using Eclipse, the war file works with tomcat, but
> not websphere.
>
> Websphere pickup my welcome page, it then calls findefault.do, but that
> causes a 500 error.
>
> I think there must be some added setting one of my xml files needs.
>
> Can anyone help me out
>
> Regards
>
> Steve Vanspall
>
>
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Struts and Websphere

2003-01-20 Thread Marco Tedone
As far as I know Websphere would require much more setup. I last used it
last April, and to tell you the truth, I had to go inside the Websphere
config file to let my finder methods to work.

-Original Message-
From: Steve Vanspall [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 20, 2003 3:27 AM
To: Struts User Mailing List
Subject: Struts and Websphere


Hi there,

I just wanted to see if there's anyone here who has succesfully deployed a
struts-based web application onWebsphere application server.

I am using Tomcat for development, but need to be able to deploy on
websphere?

As yet I have had no luck.

I am using

Struts 1.1Beta-1
Eclipse
am making the war file using Eclipse, the war file works with tomcat, but
not websphere.

Websphere pickup my welcome page, it then calls findefault.do, but that
causes a 500 error.

I think there must be some added setting one of my xml files needs.

Can anyone help me out

Regards

Steve Vanspall





--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Struts and Websphere

2003-01-20 Thread Marco Fabbri
I've setup up WSSD 4.03 with struts 1.1b2; maybe the 500 error is caused by
a mistake on web.xml...

Can you add some details on it?

Marco Fabbri

- Original Message -
From: "Steve Vanspall" <[EMAIL PROTECTED]>
To: "Struts User Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 4:27 AM
Subject: Struts and Websphere


> Hi there,
>
> I just wanted to see if there's anyone here who has succesfully deployed a
> struts-based web application onWebsphere application server.
>
> I am using Tomcat for development, but need to be able to deploy on
> websphere?
>
> As yet I have had no luck.
>
> I am using
>
> Struts 1.1Beta-1
> Eclipse
> am making the war file using Eclipse, the war file works with tomcat, but
> not websphere.
>
> Websphere pickup my welcome page, it then calls findefault.do, but that
> causes a 500 error.
>




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Struts and websphere 3.5 location of struts-config.xml

2002-04-12 Thread Pruthee, Ranjan

Check you default.servlet_engine for the path in the webgroup for ur appp. Look for 
path in "". Also it is looking for strits-config.xml or struts-config.xml? 
I think it might be a typo.

Thanks,
-Ranjan

-Original Message-
From: subhendukumar mohanty [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 1:10 PM
To: Struts Users Mailing List
Subject: Struts and websphere 3.5 location of struts-config.xml


Hi 

I am using struts with websphere 3.5. In one of the application server i have kept the 
struts-config.xml in default_host\webapplicationame\servlets . It is working fine. The 
same setup is not working in other machine . In that server the apploication is 
looking for the strits-config.xml file default_host\webapplicationame\web\web-inf 
folder. 

I could not find out what is the difference. Both the server has same setup and having 
same version of struts. The action servlet in the both the server has same init 
parameter for struts-config.xml.

If anybody has any idea on this let me know. 

Thanks,
Subhendu

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Struts and Websphere Test Environment 3.5.3

2001-09-21 Thread Kyle Brown

Excellent work!  Ted (and the rest of the struts team) -- is there any
chance we could get  a version of this posted to the Apache web site?

Kyle Brown
Executive Java Consultant
IBM WebSphere Services

[EMAIL PROTECTED] on 09/21/2001 10:10:33 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Struts and Websphere Test Environment 3.5.3




I wrote this "document" as I was setting up my environment. It may be of no
use at all and I know for a fact that some of the things stated in it are
wrong. Nevertheless, it worked for me and, if nothing else, there might be
an URL in here you haven't visitied.

Regards,
S. Bro




Using Struts with VisualAge for Java WTE 3.5.3



DRAFT!



This document is split up in two parts:

 Administrator's tasks.

  These tasks are related to the shared repository. They must be
carried out only
  once, by the administrator, at the start of the project.

 Team Developers' tasks.

  These tasks are related to the team developers' local
configurations and they must
  be performed once by each developer in order for him or her to be
able
  to test locally.


Throughout this document the article


http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocument&SubMast

will be referred to as "IBM's Struts article". It is recommended that you
read the
part of this article related to VAJ 3.5.3 before returning to this
document.

Note that although the approach used here deals with the latest
version of Struts, the 1.0 version, it will most probably work with all
versions. However,
for the version 1.0b the "hack" used in step 5 of the Administrator's task
is not nessecary.
.

Instructions for deploying Struts on WAS comes with the Struts binary
distribution
(struts-documentation.war). Last minute updates can be found in the struts
user archives or at

 http://jakarta-apache.org


All the paths used in this document are relative to the classpath unless
otherwise stated.




The number of ways in which a Struts project can be set up is legion. For
simplicity's sake the
approach used here assumes that all the nessecary files are contained
within VAJ. A real-life
project would probably keep some of the files in Visual SourceSafe,
WebSphere Studio or some
such tool for making code drops easier.





Administrator's tasks.



Prerequisites:

 All WTE features must be present in the workspace before continuing.
That is:
 "IBM WebSphere Test Environment" and dependencies (i.e. "IBM XML
Parser for Java", etc.)
 must already be in your workspace.


1.)  Install a JAXP compatible XML parser.

  Struts depends on the presence of a JAXP compatible parser.

  JAXP is part of the Apache Tomcat 3.2.2 binary distribution
  downloadable from:


http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.2/bin/

  Install JAXP 1.0.1 as per the instructions found in the IBM
Struts article.
  Follow the instructions closely or problems may occur with
Windows 2000.

  Remember to version both the packages you imported and the
packages of which you
  created opened editions!


2.)  Download and install Apache Struts.

  Download and unzip the latest (at the time of this writing: 1.0)
version of the
  Apache Struts source code from:


http://jakarta.apache.org/builds/jakarta-struts/release/v1.0/src/

  Create a new Struts project in the VAJ workspace (e.g.:
"ApacheStruts") and
  import the Struts source code into the new project.


3.)  Installing Struts resources.


  In the file system, using WinZip, open the file struts.jar which
comes with the
  Struts binary distribution at


http://jakarta.apache.org/builds/jakarta-struts/release/v1.0/)

  and extract the files:

   org\apache\struts\resources\struts-config_1_0.dtd
   org\apache\struts\resources\web-app_2_2.dtd
   org\apache\struts\resources\web-app_2_3.dtd

  These file must be added the above path to the ApacheStruts
project on the
  "Resources" tab in the VAJ workspace. In addition to these files
the tag library
  descriptors must also be present (*a). These files are also part
of the Struts
  binary distrib

Re: Struts and Websphere Test Environment 3.5.3

2001-09-21 Thread sbt


I wrote this "document" as I was setting up my environment. It may be of no
use at all and I know for a fact that some of the things stated in it are
wrong. Nevertheless, it worked for me and, if nothing else, there might be
an URL in here you haven't visitied.

Regards,
S. Bro



Using Struts with VisualAge for Java WTE 3.5.3


DRAFT!


This document is split up in two parts:

 Administrator's tasks.

  These tasks are related to the shared repository. They must be
carried out only
  once, by the administrator, at the start of the project.

 Team Developers' tasks.

  These tasks are related to the team developers' local
configurations and they must
  be performed once by each developer in order for him or her to be
able
  to test locally.


Throughout this document the article


http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocument&SubMast

will be referred to as "IBM's Struts article". It is recommended that you
read the
part of this article related to VAJ 3.5.3 before returning to this
document.

Note that although the approach used here deals with the latest
version of Struts, the 1.0 version, it will most probably work with all
versions. However,
for the version 1.0b the "hack" used in step 5 of the Administrator's task
is not nessecary.
.

Instructions for deploying Struts on WAS comes with the Struts binary
distribution
(struts-documentation.war). Last minute updates can be found in the struts
user archives or at

 http://jakarta-apache.org


All the paths used in this document are relative to the classpath unless
otherwise stated.



The number of ways in which a Struts project can be set up is legion. For
simplicity's sake the
approach used here assumes that all the nessecary files are contained
within VAJ. A real-life
project would probably keep some of the files in Visual SourceSafe,
WebSphere Studio or some
such tool for making code drops easier.




Administrator's tasks.



Prerequisites:

 All WTE features must be present in the workspace before continuing.
That is:
 "IBM WebSphere Test Environment" and dependencies (i.e. "IBM XML
Parser for Java", etc.)
 must already be in your workspace.


1.)  Install a JAXP compatible XML parser.

  Struts depends on the presence of a JAXP compatible parser.

  JAXP is part of the Apache Tomcat 3.2.2 binary distribution
  downloadable from:


http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.2/bin/

  Install JAXP 1.0.1 as per the instructions found in the IBM
Struts article.
  Follow the instructions closely or problems may occur with
Windows 2000.

  Remember to version both the packages you imported and the
packages of which you
  created opened editions!


2.)  Download and install Apache Struts.

  Download and unzip the latest (at the time of this writing: 1.0)
version of the
  Apache Struts source code from:


http://jakarta.apache.org/builds/jakarta-struts/release/v1.0/src/

  Create a new Struts project in the VAJ workspace (e.g.:
"ApacheStruts") and
  import the Struts source code into the new project.


3.)  Installing Struts resources.


  In the file system, using WinZip, open the file struts.jar which
comes with the
  Struts binary distribution at


http://jakarta.apache.org/builds/jakarta-struts/release/v1.0/)

  and extract the files:

   org\apache\struts\resources\struts-config_1_0.dtd
   org\apache\struts\resources\web-app_2_2.dtd
   org\apache\struts\resources\web-app_2_3.dtd

  These file must be added the above path to the ApacheStruts
project on the
  "Resources" tab in the VAJ workspace. In addition to these files
the tag library
  descriptors must also be present (*a). These files are also part
of the Struts
  binary distribution and must likewise be added to the resource
tab of the
  ApacheStruts project as:

   WEB-INF\app.tld
   WEB-INF\struts.tld
   WEB-INF\struts-bean.tld
   WEB-INF\struts-form.tld
   WEB-INF\struts-html.tld
   WEB-INF\struts-logic.tld
   WEB-INF\struts-template.tld



  *a:  Note that some of the tld files included with the Struts
distribution are
   deprecated and provided mer

RE: Struts and WebSphere

2001-04-30 Thread Assenza, Chris

Yeah, that's what I did/meant. I should have been more clear. :)
Unfortunately, that never worked for me!  

However, there is nothing to preclude user error on my part, albeit that is
not a difficult or complex task.  I haven't had the opportunity to go back
and try again since then and the second WEB-INF has actually been useful for
us.  So, who knows, technology is weird! :D (hehe)

Chris

-Original Message-
From: Stephen Schaub [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 10:49 AM
To: [EMAIL PROTECTED]
Subject: Re: Struts and WebSphere


Don't add WEB-INF to the classpath; instead, add its parent
(/web) to the classpath. If you add WEB-INF to the
classpath, when a servlet looks for /WEB-INF/whatever, it
will try to find it in WEB-INF/WEB-INF/whatever.

Does that make sense?

Stephen

- Original Message -
From: "Assenza, Chris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 9:03 AM
Subject: RE: Struts and WebSphere


Oops, sorry guys - missed your discussion below, ignore what
I just said! :P

BTW, I've had no success adding WEB-INF to the classpath.  I
guess it should probably be listed as an alternate method,
but not a guaranteed one.
:)

Chris

-Original Message-
From: Assenza, Chris [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 9:02 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Struts and WebSphere


Did you make sure to create a WEB-INF directory under the
servlets
directory, per step 5? :)

-Chris Assenza



-Original Message-
From: Stephen Schaub [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 5:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts and WebSphere


> I'd appreciate it if someone else running WAS would
> give this a spin to  double-check me.

I'm running WAS 3.5.3 Advanced 60-day trial. I followed your
instructions and was able to get index.jsp from the
struts-example app to display. However, when I click on the
Register link, I get the following error:

Error 500
An error has occured while processing request:
http://localhost/struts-example/editRegistration.do
Message: Failed to load target servlet [action]

Target Servlet: action
StackTrace:


Root Error-1: Missing configuration resource for path
/WEB-INF/struts-config.xml


javax.servlet.UnavailableException: Missing configuration
resource for path /WEB-INF/struts-config.xml
 at
javax.servlet.ServletException.(ServletException.java:
107)
 ...

I also notice that when the application is starting up, the
following messages appear in the log:

Loading servlet: "database"
[Servlet LOG]: "database: init"
[Servlet LOG]: "database: Initializing database servlet"
[Servlet LOG]: "database: Loading database from
'/WEB-INF/database.xml'"
[Servlet LOG]: "database: No such resource available -
loading empty database"
Servlet available for service: "database"

.

Seems like it's having difficulty finding resources in the
/WEB-INF folder. Any suggestions?

Stephen Schaub

- Original Message -
From: "Dan Miser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 27, 2001 8:27 PM
Subject: Struts and WebSphere


I noticed the WAS installation instructions at the URLs
below needed to be  merged. At this point, there is no
reason to recompile the Struts source to  make things work
with WAS, so the second URL is a bit dated. I also
found  the key to making Struts work without resorting to
creating extra WEB-INF directories or moving files around.

I took the text from the first URL and modified it. I split
the doc up into  2 parts: general Struts config and getting
the struts-example to run under  WAS.

I'd appreciate it if someone else running WAS would give
this a spin to  double-check me. If it checks out OK, I
would suggest that this doc replace the other two.
.




Re: Struts and WebSphere

2001-04-30 Thread Stephen Schaub

Don't add WEB-INF to the classpath; instead, add its parent
(/web) to the classpath. If you add WEB-INF to the
classpath, when a servlet looks for /WEB-INF/whatever, it
will try to find it in WEB-INF/WEB-INF/whatever.

Does that make sense?

Stephen

- Original Message -
From: "Assenza, Chris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 9:03 AM
Subject: RE: Struts and WebSphere


Oops, sorry guys - missed your discussion below, ignore what
I just said! :P

BTW, I've had no success adding WEB-INF to the classpath.  I
guess it should probably be listed as an alternate method,
but not a guaranteed one.
:)

Chris

-Original Message-
From: Assenza, Chris [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 9:02 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Struts and WebSphere


Did you make sure to create a WEB-INF directory under the
servlets
directory, per step 5? :)

-Chris Assenza



-Original Message-
From: Stephen Schaub [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 5:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts and WebSphere


> I'd appreciate it if someone else running WAS would
> give this a spin to  double-check me.

I'm running WAS 3.5.3 Advanced 60-day trial. I followed your
instructions and was able to get index.jsp from the
struts-example app to display. However, when I click on the
Register link, I get the following error:

Error 500
An error has occured while processing request:
http://localhost/struts-example/editRegistration.do
Message: Failed to load target servlet [action]

Target Servlet: action
StackTrace:


Root Error-1: Missing configuration resource for path
/WEB-INF/struts-config.xml


javax.servlet.UnavailableException: Missing configuration
resource for path /WEB-INF/struts-config.xml
 at
javax.servlet.ServletException.(ServletException.java:
107)
 ...

I also notice that when the application is starting up, the
following messages appear in the log:

Loading servlet: "database"
[Servlet LOG]: "database: init"
[Servlet LOG]: "database: Initializing database servlet"
[Servlet LOG]: "database: Loading database from
'/WEB-INF/database.xml'"
[Servlet LOG]: "database: No such resource available -
loading empty database"
Servlet available for service: "database"

.

Seems like it's having difficulty finding resources in the
/WEB-INF folder. Any suggestions?

Stephen Schaub

- Original Message -
From: "Dan Miser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 27, 2001 8:27 PM
Subject: Struts and WebSphere


I noticed the WAS installation instructions at the URLs
below needed to be  merged. At this point, there is no
reason to recompile the Struts source to  make things work
with WAS, so the second URL is a bit dated. I also
found  the key to making Struts work without resorting to
creating extra WEB-INF directories or moving files around.

I took the text from the first URL and modified it. I split
the doc up into  2 parts: general Struts config and getting
the struts-example to run under  WAS.

I'd appreciate it if someone else running WAS would give
this a spin to  double-check me. If it checks out OK, I
would suggest that this doc replace the other two.
.





RE: Struts and WebSphere

2001-04-30 Thread Assenza, Chris

Oops, sorry guys - missed your discussion below, ignore what I just said! :P

BTW, I've had no success adding WEB-INF to the classpath.  I guess it should
probably be listed as an alternate method, but not a guaranteed one. :)

Chris

-Original Message-
From: Assenza, Chris [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 9:02 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Struts and WebSphere


Did you make sure to create a WEB-INF directory under the servlets
directory, per step 5? :) 

-Chris Assenza



-Original Message-
From: Stephen Schaub [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 5:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts and WebSphere


> I'd appreciate it if someone else running WAS would
> give this a spin to  double-check me.

I'm running WAS 3.5.3 Advanced 60-day trial. I followed your
instructions and was able to get index.jsp from the
struts-example app to display. However, when I click on the
Register link, I get the following error:

Error 500
An error has occured while processing request:
http://localhost/struts-example/editRegistration.do
Message: Failed to load target servlet [action]

Target Servlet: action
StackTrace:


Root Error-1: Missing configuration resource for path
/WEB-INF/struts-config.xml


javax.servlet.UnavailableException: Missing configuration
resource for path /WEB-INF/struts-config.xml
 at
javax.servlet.ServletException.(ServletException.java:
107)
 ...

I also notice that when the application is starting up, the
following messages appear in the log:

Loading servlet: "database"
[Servlet LOG]: "database: init"
[Servlet LOG]: "database: Initializing database servlet"
[Servlet LOG]: "database: Loading database from
'/WEB-INF/database.xml'"
[Servlet LOG]: "database: No such resource available -
loading empty database"
Servlet available for service: "database"

..

Seems like it's having difficulty finding resources in the
/WEB-INF folder. Any suggestions?

Stephen Schaub

- Original Message -
From: "Dan Miser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 27, 2001 8:27 PM
Subject: Struts and WebSphere


I noticed the WAS installation instructions at the URLs
below needed to be  merged. At this point, there is no
reason to recompile the Struts source to  make things work
with WAS, so the second URL is a bit dated. I also
found  the key to making Struts work without resorting to
creating extra WEB-INF directories or moving files around.

I took the text from the first URL and modified it. I split
the doc up into  2 parts: general Struts config and getting
the struts-example to run under  WAS.

I'd appreciate it if someone else running WAS would give
this a spin to  double-check me. If it checks out OK, I
would suggest that this doc replace the other two.
..



RE: Struts and WebSphere

2001-04-30 Thread Assenza, Chris

Did you make sure to create a WEB-INF directory under the servlets
directory, per step 5? :) 

-Chris Assenza



-Original Message-
From: Stephen Schaub [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 5:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts and WebSphere


> I'd appreciate it if someone else running WAS would
> give this a spin to  double-check me.

I'm running WAS 3.5.3 Advanced 60-day trial. I followed your
instructions and was able to get index.jsp from the
struts-example app to display. However, when I click on the
Register link, I get the following error:

Error 500
An error has occured while processing request:
http://localhost/struts-example/editRegistration.do
Message: Failed to load target servlet [action]

Target Servlet: action
StackTrace:


Root Error-1: Missing configuration resource for path
/WEB-INF/struts-config.xml


javax.servlet.UnavailableException: Missing configuration
resource for path /WEB-INF/struts-config.xml
 at
javax.servlet.ServletException.(ServletException.java:
107)
 ...

I also notice that when the application is starting up, the
following messages appear in the log:

Loading servlet: "database"
[Servlet LOG]: "database: init"
[Servlet LOG]: "database: Initializing database servlet"
[Servlet LOG]: "database: Loading database from
'/WEB-INF/database.xml'"
[Servlet LOG]: "database: No such resource available -
loading empty database"
Servlet available for service: "database"

..

Seems like it's having difficulty finding resources in the
/WEB-INF folder. Any suggestions?

Stephen Schaub

- Original Message -
From: "Dan Miser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 27, 2001 8:27 PM
Subject: Struts and WebSphere


I noticed the WAS installation instructions at the URLs
below needed to be  merged. At this point, there is no
reason to recompile the Struts source to  make things work
with WAS, so the second URL is a bit dated. I also
found  the key to making Struts work without resorting to
creating extra WEB-INF directories or moving files around.

I took the text from the first URL and modified it. I split
the doc up into  2 parts: general Struts config and getting
the struts-example to run under  WAS.

I'd appreciate it if someone else running WAS would give
this a spin to  double-check me. If it checks out OK, I
would suggest that this doc replace the other two.
..




Re: Struts and WebSphere

2001-04-28 Thread Dan Miser

Good thought. Makes sense to me. I'll update the docs to reflect these
things and pass it on if TPTB want it.
--
Dan Miser
http://www.distribucon.com

- Original Message -
From: "Stephen Schaub" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 28, 2001 6:50 AM
Subject: Re: Struts and WebSphere


> An alternate approach that worked for me:
>
> Add the web folder to the struts-example application
> classpath:
>
> C:\WebSphere\AppServer\hosts\default_host\struts-example\web
>
> When I did this, the struts-example app worked flawlessly.





Re: Struts and WebSphere

2001-04-28 Thread Stephen Schaub

An alternate approach that worked for me:

Add the web folder to the struts-example application
classpath:

C:\WebSphere\AppServer\hosts\default_host\struts-example\web

When I did this, the struts-example app worked flawlessly.

That might be a little simpler config than maintaining two
separate WEB-INF folders, especially when updating a
deployment.

I like your idea of putting the DTDs in the systemwide
classpath.

Stephen

- Original Message -
From: "Dan Miser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 28, 2001 1:36 AM
Subject: Re: Struts and WebSphere


My fault. I was using an older version of struts.jar on that
machine. I have the revised instructions at work, but the
short of it is that the original article was right about
adding the XML files to servlets\WEB-INF and
the TLD files to web\WEB-INF.

I would still make the argument that putting the DTDs in
c:\websphere\appserver\classes is a good thing, since it can
be done once system-wide *and* it solved my problems where
the SYSTEM DTDs were not being registered properly. But that
looks like the only change on there now.
--
Dan Miser
http://www.distribucon.com

- Original Message -
From: "Stephen Schaub" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 27, 2001 4:56 PM
Subject: Re: Struts and WebSphere


> > I'd appreciate it if someone else running WAS would
> > give this a spin to  double-check me.
>
..





Re: Struts and WebSphere

2001-04-27 Thread Dan Miser

My fault. I was using an older version of struts.jar on that machine. I have
the revised instructions at work, but the short of it is that the original
article was right about adding the XML files to servlets\WEB-INF and the TLD
files to web\WEB-INF.

I would still make the argument that putting the DTDs in
c:\websphere\appserver\classes is a good thing, since it can be done once
system-wide *and* it solved my problems where the SYSTEM DTDs were not being
registered properly. But that looks like the only change on there now.
--
Dan Miser
http://www.distribucon.com

- Original Message -
From: "Stephen Schaub" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 27, 2001 4:56 PM
Subject: Re: Struts and WebSphere


> > I'd appreciate it if someone else running WAS would
> > give this a spin to  double-check me.
>
> I'm running WAS 3.5.3 Advanced 60-day trial. I followed your
> instructions and was able to get index.jsp from the
> struts-example app to display. However, when I click on the
> Register link, I get the following error:
>
> Error 500
> An error has occured while processing request:
> http://localhost/struts-example/editRegistration.do
> Message: Failed to load target servlet [action]
>
> Target Servlet: action
> StackTrace:
> 
> 
> Root Error-1: Missing configuration resource for path
> /WEB-INF/struts-config.xml
>
>
> javax.servlet.UnavailableException: Missing configuration
> resource for path /WEB-INF/struts-config.xml
>  at
> javax.servlet.ServletException.(ServletException.java:
> 107)
>  ...
>
> I also notice that when the application is starting up, the
> following messages appear in the log:
>
> Loading servlet: "database"
> [Servlet LOG]: "database: init"
> [Servlet LOG]: "database: Initializing database servlet"
> [Servlet LOG]: "database: Loading database from
> '/WEB-INF/database.xml'"
> [Servlet LOG]: "database: No such resource available -
> loading empty database"
> Servlet available for service: "database"





Re: Struts and WebSphere

2001-04-27 Thread Stephen Schaub

> I'd appreciate it if someone else running WAS would
> give this a spin to  double-check me.

I'm running WAS 3.5.3 Advanced 60-day trial. I followed your
instructions and was able to get index.jsp from the
struts-example app to display. However, when I click on the
Register link, I get the following error:

Error 500
An error has occured while processing request:
http://localhost/struts-example/editRegistration.do
Message: Failed to load target servlet [action]

Target Servlet: action
StackTrace:


Root Error-1: Missing configuration resource for path
/WEB-INF/struts-config.xml


javax.servlet.UnavailableException: Missing configuration
resource for path /WEB-INF/struts-config.xml
 at
javax.servlet.ServletException.(ServletException.java:
107)
 ...

I also notice that when the application is starting up, the
following messages appear in the log:

Loading servlet: "database"
[Servlet LOG]: "database: init"
[Servlet LOG]: "database: Initializing database servlet"
[Servlet LOG]: "database: Loading database from
'/WEB-INF/database.xml'"
[Servlet LOG]: "database: No such resource available -
loading empty database"
Servlet available for service: "database"

..

Seems like it's having difficulty finding resources in the
/WEB-INF folder. Any suggestions?

Stephen Schaub

- Original Message -
From: "Dan Miser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 27, 2001 8:27 PM
Subject: Struts and WebSphere


I noticed the WAS installation instructions at the URLs
below needed to be  merged. At this point, there is no
reason to recompile the Struts source to  make things work
with WAS, so the second URL is a bit dated. I also
found  the key to making Struts work without resorting to
creating extra WEB-INF directories or moving files around.

I took the text from the first URL and modified it. I split
the doc up into  2 parts: general Struts config and getting
the struts-example to run under  WAS.

I'd appreciate it if someone else running WAS would give
this a spin to  double-check me. If it checks out OK, I
would suggest that this doc replace the other two.
..