Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Setting up Tomcat & MySQL

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone,

I'm new to this forum, but I figured it would be a good place to start to find some information on a personal project, information that I haven't been able to find as of yet anywhere else.

I'm beginning development of a web application using JSP, and I have been trying to set up the environment as I understand it needs to be set up, so here's the background. I want to host my pages on a Tomcat 7 server, along with java web services, along with a MySQL database.

My initial thought was to load XAMPP with Tomcat 7 on my machine for testing purposes, especially since it comes with a MySQL database. btw, I'm running on a Windows 7 machine.

I was able to install XAMPP and the Tomcat add on, but when I tried to start the Tomcat service, it was just stuck in the start phase. Upon checking the catalina log, it seems that it is unable to start/find a jvm.dll.

Now, I have a 64 bit JDK/JRE running version 6, and the solutions for this don't work. I'm thinking about ONLY getting the Tomcat 7 server, not the XAMPP, and just a MySQL download.

The question is whether having ONLY Tomcat 7 and MySQL instance be sufficient for me to mimic the environment for my application/services before deployment to a Tomcat host? And second, are there any issues with Tomcat 7 installation on a Windows 7 machine, and what are the REAL fixes?

Thanks,
Imran Khan
 
Sheriff
Posts: 22511
122
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You don't need XAMPP. The AMPP part stands for Apache (HTTPD server), MySQL, PHP and Perl. Out of those four you only need MySQL. Just download and install the Tomcat and MySQL installers for Windows. Those will take care of the rest. And yes, that will definitely be enough, unless you also need to test an Apache HTTP server in front of your Tomcat.
 
Sanjeet Khan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, that's what I figured, I just wanted to make sure. I asked a few of my colleagues about Tomcat 7 installation problems, mainly around the difficulty creating a jvm because it can't find the .dll file. Since I'm running a 64 bit machine with a 64 bit JDK/JRE, it shouldn't be a problem. I'll try just the Tomcat 7 installation without XAMPP and hopefully it should work.

I'll post back if anything odd happens.

Thanks for now!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic