hi! All
   I am having problems installing struts in VAJ 3.53
I followed instructions on then site:
http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocument&SubMast

Still having some problems initializing ActionServlet
[01.09.23 12:47:23:186 EDT] 2fb6 WebGroup      X [Servlet Error]-[{0}]: {1}:
{2}
                                 "action"
                                 "Failed to load servlet"
                                 javax.servlet.ServletException: Parsing
error processing resource path /WEB-INF/struts-config.xml
        java.lang.Throwable(java.lang.String)
        java.lang.Exception(java.lang.String)
        javax.servlet.ServletException(java.lang.String,
java.lang.Throwable)
        void org.apache.struts.action.ActionServlet.initMapping()
        void org.apache.struts.action.ActionServlet.init()
        void javax.servlet.GenericServlet.init(javax.servlet.ServletConfig)
        void com.ibm.servlet.engine.webapp.StrictServletInstance.doInit()
        void
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(javax.servlet.Ser
vletConfig)
        void
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(com.ibm.servle
t.engine.webapp.StrictLifecycleServlet, javax.servlet.ServletConfig)
        void
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(javax.servlet.Serv
letConfig)
        void com.ibm.servlet.engine.webapp.ServletInstance.init()
        void javax.servlet.GenericServlet.init(javax.servlet.ServletConfig)
        void
com.ibm.servlet.engine.webapp.ServletManager.addServlet(java.lang.String,
javax.servlet.Servlet, java.util.Properties)
        void
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(java.lang.Str
ing)
        void
com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets()
        void com.ibm.servlet.engine.webapp.WebApp.loadServletManager()
        void
com.ibm.servlet.engine.webapp.WebApp.init(com.ibm.servlet.engine.config.WebA
ppInfo, com.ibm.servlet.engine.webapp.WebAppContext)
        void com.ibm.servlet.engine.srt.WebGroup.loadWebApp()
        void
com.ibm.servlet.engine.srt.WebGroup.init(com.ibm.servlet.engine.ServletHost,
com.ibm.servlet.engine.config.WebGroupInfo)
        void com.ibm.servlet.engine.ServletHost.loadWebGroups()
        void
com.ibm.servlet.engine.ServletHost.init(com.ibm.servlet.engine.ServletEngine
, com.ibm.servlet.engine.config.ServletHostInfo)
        void com.ibm.servlet.engine.ServletEngine.loadServletHosts()
        void
com.ibm.servlet.engine.ServletEngine.init(com.ibm.servlet.engine.config.Serv
letEngineInfo)
        com.ibm.servlet.engine.ServletEngine
com.ibm.servlet.engine.ServletEngine.getEngine()
        void
com.ibm.ivj.control.node.ServletEngineRunner.startServletEngine(boolean)
        boolean com.ibm.ivj.control.node.ServletEngineRunner.startServer()
        void
com.ibm.ivj.control.node.ServletEngineRunner.main(java.lang.String [])
        java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object,
java.lang.Object [])

I would appreciate all the help I can get on this .

Thanks,
Harshal.

-----Original Message-----
From: Assenza, Chris [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 9:59 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Struts installation on Websphere 4.0


Still haven't had time to formalize these directions, so they are likely to
change once I get time to remove extraeous steps or correct things. :)

rief Preliminary Deployment Instructions for WAS 4.0

·       Deploy Application
        o       Install WebSphere 4.0
        o       Once completed and system is restarted (if necessary): Start
the WebSphere service   (startServer.bat on NT, probably startServer.sh on
Unix)
        o       After the server has started, log onto the web-based
Administration Console  (http://localhost:9090/admin).
        o       Next, expand "Nodes" on the left.
        o       Click on Enterprise Applications
        o       Click on Install
        o       Browse to the file Deployed_app.ear that you created with
the AA tool.
        o       Select the file follow the steps the console takes you
through:
                §       Click next on EJB deployment screen.
                §       Click next on the Web Module deployment screen
(change your preference on                      pre-compiling if you so
desire).
                §       On the next screen, allow WebSphere to redeploy
YourApp-ejb.jar by leaving                      the box checked and clicking
next. (ed: Not sure if this step is necessary)
                §       Review the settings and click Finish when ready.
·       Once finished, begin JDBC configuration. (for Oracle)
        o       Expand Resources in the left navigation area.
        o       Click "JDBC Drivers"
        o       Click "New"
                §       The Server Class Path is the location of
classes12.zip (Oracle's JDBC                            drivers) on the
server.
                §       Name is: "OracleJdbcDriver"
                §       Implementation Classname is:
oracle.jdbc.pool.OracleConnectionPoolDataSource
        o       Click Ok to add the driver.
                o       Expand the newly created "OracleJdbcDriver" in the
left navigation area.
        o       Click on "Data Sources"
        o       Click "New"
                §       Name is: somePool
                §       JNDI Name is: jdbc/somePool
                §       Default Userid is: someId 
                §       Defaults Password is: somePass 
                §       All others left blank/default.
        o       Click Ok to add the Data Source.
        o       From the Data Source screen, click on somePool.
        o       Click on Property Set (on the bottom).
        o       Click Resource Properties
        o       Click "New"
                §       Name is: URL
                §       Type is: java.lang.String
                §       Value is: jdbc:oracle:thin:user/pass@host:port:sid 
                        Where:
                                ·       user/pass are the username/password
respectively
                                ·       host is the IP address of the Oracle
DB Server 
                                ·       port is the port on which Oracle is
listening (ex. 1521).
                                ·       sid is the Oracle SID or name for
the database
        o       Click Ok until you've reached the Data Source Screen.
·       Complete Deployment
        o       Click "Save" on the nav-bar at the top of the screen.
        o       Select server-config.xml (or the top option) and click Ok.  
        o       Stop and then restart the WebSphere AppServer.
·       Once started, go to http://someIpAddress/appname/file.jsp to test
the deployment.



Christopher Assenza 
Phone:  412.201.6026 
Fax:     412.201.6060 
Email:  [EMAIL PROTECTED] 
ACCESSDATA 
Moving Your Business from Point A to Point e.SM 
http://www.accessdc.com/ 
-----Original Message-----
From: Ed Holloway [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 22, 2001 5:45 PM
To: [EMAIL PROTECTED]
Subject: Struts installation on Websphere 4.0


Does anyone have any information on installing Struts and/or Sample Apps on
WS 4.0 Advanced Enterprise (AES) on a NT/2000 platform?  This is my first
experience with struts (and WS 4.0 for that matter!) and I am not having
much luck.  

I have tried to extract what I could from the Struts / WS 3.5x instructions,
but still no luck (and the deploy process seems to be considerably different
between these Websphere versions).

I can get the basic index.jsp pages to load in the samples, but after I try
any form action it seems like it does not know where to post, and just
returns a page not found error.

Any help is greatly appreciated!

Thanks,
-Ed
DISCLAIMER

Reply via email to