aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes cannot activate a web application with database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply locked New topic
Author

cannot activate a web application with database

Cathy Valdez
Greenhorn

Joined: Oct 22, 2003
Posts: 23
The topic is Integrating a Web Application With a Database
Below are softwares installed in my PC:
OS=Windows98
Tomcat v. 4.1.27.exe
J2SE/JDK v. 1.3.1
mysql
mysql-connector-java

Below is the content of Autoexec.bat:

Compilation of servlet files below were successful.
InitializeConnectionPool.java
ScrambleGameServlet.java
NamingService.java
ScrambleGameService.java
Word.java
WordCategory.java
WordCategoryDAO.java
WordCategoryService.java
WordDAO.java

Below is the content of the deployment descriptor -web.xml:

The database wordgames above is located at the directory below:

Below are files inside the directory above:
wordcategory.frm
wordcategory.MYI
wordcategory.MYD
word.frm
word.MYI
word.MYD
wordhint.frm
wordhint.MYI
wordhint.MYD

To activate the Scramble Game Servlet, using a Web Browser, I entered the URL below:

Below is the displayed page form for the URL above:
Duke's Arcade
Select from one of the following games:

Word Scramble
When I clicked the Word Scramble above, errors below occured:

What do errors above mean? What should I do to correct those errors so to run this Web application with database in my PC? Can anybody there help?
Any suggestions would greatly be appreciated.
Thanks in advance.
Regards,
Cathy
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61424
    
  67

Please do not cross-post the same question in multiple forums.
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
You can continue this discussion at http://www.coderanch.com/t/299608/JDBC/java/cannot-activate-web-application-database
This topic is now closed. Thank you


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cannot activate a web application with database