Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Development Environments

Status
Not open for further replies.

crmayer

Programmer
Nov 22, 2002
280
US
I am looking to try and set up some type of development environment here. I currently have a development evnvironment set up that has its own Java code and MS SQL database. The problem I am running into is we are now looking to make some changes to our web site, and the only way I know how to do this is to make my changes in my development code, rebuild the jar files and move them into production to test. Currently we have two completely different systems one live and one dev. They each have their own Java code, ms sql database, and tomcat layout. My problem is that I am not sure how to configure tomcat for the development side. When I try to start the process (which already exists) I am getting an error saying:

java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/BootStrap
Exception in thread "main".

Maybe what I am asking is something that we should not do, but we are looking to make changes to our web site and I am not sure if there is a way to configure this so I can make these changes and test them, then move to production.

If there is more information needed, please let me know, and I will try to get that for you. I have never set up tomcat and I am fairly new to java, so please be patient.
 
This is our set up. On the D drive on our server we have two folders, one contains our production files (live) and one contains our dev files (dev). Inside each of those is a Tomcat folder, so I am not sure if that means we have two instances of Tomcat running or not. I did not set this up, our software vendor did. We do have a CVS that I check files out and in to, during changes. I use JBuilder to make all of my changes, test them in my project, then check them in and rebuild the jar files. From here I test them in my development (which has its own database also). Once they are ready, I move those jar files to production and restart JBoss and we are up and running with the changes.

Again, I am new to this entire set up, so if there is more info that is needed please just let me know.
 
a development/test environment should be exactly the same as live - else there is no point in *testing*.

Is this possible ?

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
I am not sure I am follow what you are saying....
Currently I want to add a servlet that will get information for employee's that are logged into our web site. I am unable to write this class and test it without putting it into production to test it. Which I am OK with, but I have to take our entire system down to test my changes.

I was looking for a way to test my class that is in our development environment, even it is against the live web site.
 
My point is that any *test* that is worth doing is one that can be done in an environment that is the same as live.

Can you do this ? If you cannot, then there is no point in *testing* anything.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
I see what you are saying, and that is where I am trying to get. Our development environment is a copy of our live environment, except for the instance of Tomcat. Our development does have tomcat, but it is not configure or set up properly to give me the ability to use it. That is where I am trying to go, I would like to get tomcat set up for I can use it on the dev side of things, so that it is set up just like our live side....
 
Why can't you just copy your tomcat installl dir from live to dev/test ? If everything else is the same, then that would seem the sensible option to me ...

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top