Setting Up the SilverDebugger for the Novell exteNd AppServer on NetWare
Articles and Tips: tip
Sr. Software Engineer
J2EE Technology Team
01 Nov 2002
Distributed with exteNd Workbench is a sample web application project called ProverbFinal. It is located in the directory: <WorkbenchHome>/docs/tutorial/ProverbFinal. This tutorial describes the steps needed to debug this web application on NetWare.
The Novell exteNd AppServer is installed on a Nakoma Server. This is an option during the NetWare Nakoma installation.
The exteNd Workbench, with documentation and samples, is installed on a Windows client. Workbench is available on the Nakoma Client CD.
Start the exteNd AppServer, with debugging, on NetWare by running the commands found in the SilverServerDebug.NCF file. At the server console prompt, type
Start the MySQL Monitor with MYSQL.NLM and execute the following commands:
create database ProverbsCloud;
grant all on ProverbsCloud.* to dba@'%' identified by 'sql';
Start the SilverStream Management Console (SMC) by running the SMC.NCF at the server console prompt.
From the menu select File and Choose Server(Alt-E). Then enter
Select the Databases panel and click the Add Database... button.
Name of the database: ProverbsCloud
User name: dba
Database platform: MySQL
JDBC URL: jdbc:mysql://localhost/ProverbsCloud
- From the menu select File and Exit.
Populate the ProverbsCloud database by performing the following steps:
Copy the PROVERBS.SQL file to the SYS:\mysql\bin directory.
On the NetWare system console type: mysql < proverbs.sql
Press the spacebar
Copy over the files TodayAction.java, ProverbDataAccess.java, and Constants.java to <Workbench Home>/docs/tutorial/ProverbFinal/src/com/proverb (These files are on the Nakoma CD.)
Start exteNd Workbench on the Windows client by performing the following steps:
From the menu select File and Open Project...
From the menu select Project and Deployment Settings...
Click OK (if you get a message box)
Profile name: <NetWare Server DNS Host Name>:83:ProverbsCloud
Server type: SilverStream 4.0
Deployment tools directory: S:\SilverStream\eXtendAppServer\bin (Where S:\ is a mapped drive to the SYS volume of the NetWare Server)
Server name: <NetWare Server IPAddress>:83
Database name: ProverbsCloud
Select the Deployment Info Tab
SilverStream Deployment Plan: ProverbFinalDeplPlan.xml
Click DeployFrom the menu select File and Exit
Copy the files <WorkbenchHome>\*.* from the Windows client to the S:\SilverStream\eXtendWorkbench directory on the NetWare Server.
Launch an internet browser on the Windows client.
Type in the following address: http://<NetWare Server IP Address>:83/ProverbsCloud/ProverbFinal
Copy the setup files to the following locations:
SilverStreamDebug.ncf to S:\SilverStream\eXtendWorkbench\bin
localhost-ip.ncf to S:\SilverStream\eXtendWorkbench\bin
Perform the following steps on the NetWare Server console:
Type: SEARCH ADD SYS:\SilverStream\eXtendWorkbench\bin\
Start the SilverDebbugger from the NetWare GUI:
From the task bar, select Novell and Run...
Set a breakpoint in TodayAction.java
From internet browser on the Windows client, select Today's Proverb.
Enjoy debugging in the SilverDebugger
* Originally published in Novell AppNotes
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.