I am running Struts using WebSphere 4.0.4
I had trouble using the "import" feature of WebsSphere to import the  WAR
file.
Here is how you fix it:

1. Download the WAR file to a directory
2. Open Websphere
3. Create a empty EAR
4. Click on File --> Import --> WAR
5. Browse to where the WAR is located, give it a name and specify the
context root
6. click Next
7. The default for "source" in Websphere is /webApp/source  - click on
REMOVE to remove this
8.  click on Add and enter "src"
9. click on Finish

The problem is the location of source files   "src" vs. "source"

Khalid

----- Original Message -----
From: "david chan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 18, 2003 11:04 AM
Subject: Re: can't start struts1.1 RC1 example in Websphere 4.0.1 AE


> This is struts-example.war from Struts 1.1 RC 1.
> It runs fine within Tomcat 4.x. So I don't think the
> WAR file itself has any problem, probally XML reader
> in Websphere 4.0.1 is different.
> The exception is from
> org.apache.commons.digester.Digester.getXMLReader
>
> Anyone know which XML parser Struts-1.1 RC1 must use?
>
> Thanks.
> David
>
> --- David Graham <[EMAIL PROTECTED]> wrote:
> > From the AbstractMethodError javadoc:
> > "Thrown when an application tries to call an
> > abstract method. Normally, this
> > error is caught by the compiler; this error can only
> > occur at run time if
> > the definition of some class has incompatibly
> > changed since the currently
> > executing method was last compiled. "
> >
> > You probably have incompatible jar files that are
> > confusing websphere.
> >
> > David
> >
> >
> >
> > >From: david chan <[EMAIL PROTECTED]>
> > >Reply-To: "Struts Users Mailing List"
> > <[EMAIL PROTECTED]>
> > >To: Struts Users Mailing List
> > <[EMAIL PROTECTED]>
> > >Subject: can't start struts1.1 RC1 example in
> > Websphere 4.0.1 AE
> > >Date: Tue, 18 Mar 2003 10:02:02 -0800 (PST)
> > >
> > >Hi,
> > >  I have websphere 4.0.1 Advance Server Edition
> > running
> > >on my win2000 PC.
> > >  I successfully deploy and run Struts 1.0.2
> > example to
> > >Websphere 4.0.1 AE, but failed to run Struts 1.1 RC
> > 1
> > >example, it deploys fine but when I try to start
> > the
> > >example application within admin console, it failed
> > >with this error mesg. Any idea?
> > >== error mesg:
> > >
> > >[ERROR] ActionServlet - -Parsing error processing
> > >resource path  <java.lang.AbstractMethodError:
> >
> >javax/xml/parsers/SAXParser.getXMLReader>java.lang.AbstractMethodError:
> > >javax/xml/parsers/SAXParser.getXMLReader
> > > at
> >
> >org.apache.commons.digester.Digester.getXMLReader(Digester.java:908)
> > > at
> >
> >org.apache.commons.digester.Digester.parse(Digester.java:1543)
> > > at
> >
>
>org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:
944)
> > > at
> >
> >org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
> > > at
> >
> >javax.servlet.GenericServlet.init(GenericServlet.java:258)
> > > at
> >
>
>com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.j
ava:802)
> > > at
> >
>
>com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleS
ervlet.java:137)
> > > at
> >
>
>com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecyc
leServlet.java:243)
> > > at
> >
>
>com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleSe
rvlet.java:103)
> > > at
> >
>
>com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:388)
> > > at
> >
> >javax.servlet.GenericServlet.init(GenericServlet.java:258)
> > > at
> >
>
>com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.java
:84)
> > > at
> >
>
>com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServle
tManager.java:226)
> > > at
> >
>
>com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(Web
AppServletManager.java:357)
> > > at
> >
> >com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1001)
> > > at
> >
> >com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:133)
> > > at
> >
> >com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:234)
> > > at
> >
> >com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:139)
> > > at
> >
>
>com.ibm.servlet.engine.ServletEngine.addWebApplication(ServletEngine.java:6
33)
> > > at
> >
> >com.ibm.ws.runtime.WebContainer.install(WebContainer.java:36)
> > > at
> >
> >com.ibm.ws.runtime.Server.startModule(Server.java:615)
> > > at
> >
> >com.ibm.ejs.sm.active.ActiveModule.startModule(ActiveModule.java:509)
> > > at
> >
> >com.ibm.ejs.sm.active.ActiveModule.startAction(ActiveModule.java:355)
> > > at
> >
> >com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:709)
> > > at
> >
> >com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:131)
> > > at
> >
>
>com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(ActiveObject.j
ava:609)
> > > at
> >
>
>com.ibm.ejs.sm.active.ActiveEJBServer.startAction(ActiveEJBServer.java:730)
> > > at
> >
> >com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:709)
> > > at
> >
> >com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:131)
> > > at java.lang.reflect.Method.invoke(Native Method)
> > > at
> >
>
>com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.j
ava:93)
> > > at
> >
>
>com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(AdminAgentImpl.java:
62)
> > > at
> >
>
>com.ibm.ejs.sm.agent._AdminAgentImpl_Tie._invoke(_AdminAgentImpl_Tie.java:8
0)
> > > at
> >
>
>com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.j
ava:506)
> > > at com.ibm.CORBA.iiop.ORB.process(ORB.java:2294)
> > > at
> >
> >com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:185)
> > > at
> >
> >com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:95)
> > > at
> >
> >com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
> > >
> > >
> > >__________________________________________________
> > >Do you Yahoo!?
> > >Yahoo! Platinum - Watch CBS' NCAA March Madness,
> > live on your desktop!
> > >http://platinum.yahoo.com
> > >
> >
> >---------------------------------------------------------------------
> > >To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > >For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
> >
> _________________________________________________________________
> > Add photos to your messages with MSN 8. Get 2 months
> > FREE*.
> > http://join.msn.com/?page=features/featuredemail
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


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

Reply via email to