Do you get any other errors in the websphere console?

-----Original Message-----
From: Bender, James [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 03, 2003 10:54 AM
To: '[EMAIL PROTECTED]'
Subject: RE: any known issues with WAS 4.0?

I am behind a firewall -- didn't even think of that! I tried removing the
dtds from the jar and placing them in WEB-INF and changing struts-config.xml
to 

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
          "struts-config_1_1.dtd">

and also to

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
          "/WEB-INF/struts-config_1_1.dtd">

but no luck:[  

Also, Struts1.1 jar is the same as my struts.jar -- both 313 files and
1,181kb

I still get

Error 500: Failed to load target servlet [action] 
        



-----Original Message-----
From: Hibbs, David [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 10:39 AM
To: 'Bender, James'; 'Struts Users Mailing List'
Subject: RE: any known issues with WAS 4.0?


In that case, the problem is likely that the Action servlet failed to load
its struts-config.xml file.  Under WAS, this is typically because it can't
access the proper DTD (are you behind a firewall?).  On WAS 4.0, if you keep
a copy of the DTD under WEB-INF and alter the struts-config.xml DOCTYPE to
indicate 

<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts
Configuration 1.1//EN" "struts-config_1_1.dtd"> 

instead of the whole URL for the DTD it will likely be much happier.  On WAS
5.0, you need to give it a URL that it can always access.

David Hibbs
Staff Programmer / Analyst
American National Insurance Company

> -----Original Message-----
> From: Bender, James [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 03, 2003 9:26 AM
> To: 'Struts Users Mailing List'
> Subject: RE: any known issues with WAS 4.0?
> 
> 
> I've tried jumping straight to welcome.do.  at my URL:
> 
> http://localhost:9080/struts-blank/welcome.do
> 
> I get the error:
> 
> Error 500: Failed to load target servlet [action] 
> 
> I am totally new to this.  It sounds like I'm just doing 
> something wrong.
> Does this error help guess what I might need to change?  Thanks!,
> 
> Jim
> 
> -----Original Message-----
> From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 03, 2003 10:23 AM
> To: 'Struts Users Mailing List'
> Subject: RE: any known issues with WAS 4.0?
> 
> 
> I've not had ANY problems in struts-1.1 that where websphere specific
> (mostly they where me not exactly knowing what I was doing).  
> Have you tried
> to go directly to welcome.do in your browser?  
> 
> It could be a problem with the logic:redirect tag in you 
> index.jsp (I've
> personally never used it).
> 
> -----Original Message-----
> From: Bender, James [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 03, 2003 10:19 AM
> To: '[EMAIL PROTECTED]'
> Subject: any known issues with WAS 4.0?
> 
> Hi, 
> 
> I am new to Struts and installed Struts-example, Struts-blank 
> etc from the
> stable 1.1 release at jakarta.apache.org/struts.
> 
> None of these work on my WAS 4.0.  I get all sorts of errors and I dug
> through news groups applying patches that never worked all of 
> yesterday
> trying to get one of them to work.
> 
> Then, I installed the struts-stub (struts 1.0) example from 
> the tutorials on
> the site and that one deployed perfectly.  Does Struts 1.1 
> just not work on
> WAS 4.0?  On struts-blank I get
> 
> Error 500: 
> through the web -- no error context provided on the line
> index.jsp::<logic:redirect forward="welcome"/>
> 
> The activity log reports:
> 
> IBM   WebSphere   AEs 4.0.1 a0131.07 
> #com.ibm.servlet.engine.srt.WebGroup
> 
> 327cd30d 3072 2kws100900202/Default Server Servlet Error: {0}: {1}
> %com.ibm.ejs.resources.seriousMessages       
>       
>       java.lang.NullPointerException
>       at
> org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:521)
>       at
> org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:436)
>       at
> org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:396)
>       at
> org.apache.struts.taglib.logic.RedirectTag.doEndTag(RedirectTa
> g.java:294)
>       at index_jsp_4._jspService(index_jsp_4.java:95)
>       at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:139)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
> (JspServlet.ja
> va:286)
>       at
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet
> .java:415)
>       at 
> org.apache.jasper.runtime.JspServlet.service(JspServlet.java:544)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at
> com.ibm.servlet.engine.webapp.StrictServletInstance.doService(
> ServletManager
> .java:827)
>       at
> com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(
> StrictLifecycl
> eServlet.java:159)
>       at
> com.ibm.servlet.engine.webapp.IdleServletState.service(StrictL
> ifecycleServle
> t.java:286)
>       at
> com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(S
> trictLifecycle
> Servlet.java:106)
>       at
> com.ibm.servlet.engine.webapp.ServletInstance.service(ServletM
> anager.java:47
> 2)
>       at
> com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispa
> tch(ServletMan
> ager.java:1012)
>       at
> com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatc
> h(ServletManag
> er.java:913)
>       at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWe
> bAppDispatch(W
> ebAppRequestDispatcher.java:499)
>       at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
> (WebAppRequest
> Dispatcher.java:278)
>       at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(
> WebAppRequestD
> ispatcher.java:105)
>       at
> com.ibm.servlet.engine.webapp.SimpleFileServlet.doGet(SimpleFi
> leServlet.java
> :198)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at
> com.ibm.servlet.engine.webapp.StrictServletInstance.doService(
> ServletManager
> .java:827)
>       at
> com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(
> StrictLifecycl
> eServlet.java:159)
>       at
> com.ibm.servlet.engine.webapp.IdleServletState.service(StrictL
> ifecycleServle
> t.java:286)
>       at
> com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(S
> trictLifecycle
> Servlet.java:106)
>       at
> com.ibm.servlet.engine.webapp.ServletInstance.service(ServletM
> anager.java:47
> 2)
>       at
> com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispa
> tch(ServletMan
> ager.java:1012)
>       at
> com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatc
> h(ServletManag
> er.java:913)
>       at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWe
> bAppDispatch(W
> ebAppRequestDispatcher.java:499)
>       at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
> (WebAppRequest
> Dispatcher.java:278)
>       at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(
> WebAppRequestD
> ispatcher.java:105)
>       at
> com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvok
> er.java:67)
>       at
> com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(
> WebAppInvoker.
> java:123)
>       at
> com.ibm.servlet.engine.invocation.CachedInvocation.handleInvoc
> ation(CachedIn
> vocation.java:67)
>       at
> com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByU
> RI(ServletRequ
> estProcessor.java:122)
>       at
> com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.servi
> ce(OSEListener
> .java:315)
>       at
> com.ibm.servlet.engine.http11.HttpConnection.handleRequest(Htt
> pConnection.ja
> va:60)
>       at
> com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnec
> tion.java:313)
>       at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)
>       at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
> 
> 
> 
> Anyone's help would be really appreciated!  Thanks!,
> 
> 
> 
> James Bender
> B2E Web Development Group
> Fifth Third Bancorp
> Phone: (513)534-3603
>   email: [EMAIL PROTECTED]
>     Fax: (513)534-8448
>      MD: 1090W1
> 
> 
> 
> This e-mail transmission contains information that is 
> confidential and may
> be privileged.   It is intended only for the addressee(s) 
> named above. If
> you receive this e-mail in error, please do not read, copy or 
> disseminate it
> in any manner. If you are not the intended recipient, any disclosure,
> copying, distribution or use of the contents of this information is
> prohibited. Please reply to the message immediately by 
> informing the sender
> that the message was misdirected. After replying, please 
> erase it from your
> computer system. Your assistance in correcting this error is 
> appreciated.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> This message and its contents (to include attachments) are 
> the property of
> Kmart Corporation (Kmart) and may contain confidential and proprietary
> information. You are hereby notified that any disclosure, copying, or
> distribution of this message, or the taking of any action based on
> information contained herein is strictly prohibited. 
> Unauthorized use of
> information contained herein may subject you to civil and criminal
> prosecution and penalties. If you are not the intended 
> recipient, you should
> delete this message immediately.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> This e-mail transmission contains information that is 
> confidential and may be privileged.   It is intended only for 
> the addressee(s) named above. If you receive this e-mail in 
> error, please do not read, copy or disseminate it in any 
> manner. If you are not the intended recipient, any 
> disclosure, copying, distribution or use of the contents of 
> this information is prohibited. Please reply to the message 
> immediately by informing the sender that the message was 
> misdirected. After replying, please erase it from your 
> computer system. Your assistance in correcting this error is 
> appreciated.
> 


This e-mail transmission contains information that is confidential and may
be privileged.   It is intended only for the addressee(s) named above. If
you receive this e-mail in error, please do not read, copy or disseminate it
in any manner. If you are not the intended recipient, any disclosure,
copying, distribution or use of the contents of this information is
prohibited. Please reply to the message immediately by informing the sender
that the message was misdirected. After replying, please erase it from your
computer system. Your assistance in correcting this error is appreciated.

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


This message and its contents (to include attachments) are the property of Kmart 
Corporation (Kmart) and may contain confidential and proprietary information. You are 
hereby notified that any disclosure, copying, or distribution of this message, or the 
taking of any action based on information contained herein is strictly prohibited. 
Unauthorized use of information contained herein may subject you to civil and criminal 
prosecution and penalties. If you are not the intended recipient, you should delete 
this message immediately.



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

Reply via email to