the instructions pasted below (taken from this list in a post by Chris
Assenza) worked for me with the standard Struts 1.0 release (haven't tried
the nightly builds).


From: Assenza, Chris [[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 

Reply via email to