Re: WAR files (URGENT)

2001-11-26 Thread keiths

common error is the war file is placed in webapps directory but is not
"created" there.  "jar cf myapp.war myapp" from webapp dir is wrong,
"jar cf myapp.war *" from your application directory, then move the war
file up to webapp directory.

Alec Bickerton wrote:
> 
> Hi all,
> 
> Can someone plz tell me how to install a web app packaged as a WAR file on tomcat 
>4.0.1 ?
> 
> I've tried following the instructions in tomcat-docs but when I try them I get a 
>file not foud exception even though all the file in question is in the
> war file. (With the correct path).
> 
> I would appreciate any help as This is starting to drive me nuts.
> 
> thanks in advance
> 
> Alec.
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 

-- 
Keith Simpson
Skillview Technologies
[EMAIL PROTECTED]
(603)-382-9882

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Linux Hotspot JVM choice for Tomcat

2001-11-21 Thread keiths

Oh have I been reading

I didn't realize that Linux has a "server" or "client" jvm in 1.3.  Has
anyone done any testing or have any observations?


-- 
Keith Simpson
Skillview Technologies
[EMAIL PROTECTED]
(603)-382-9882

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: CVS

2001-11-20 Thread keiths

see my responses below...

Laurent Michenaud wrote:
> 
> Ok, but i've got a lot of question about the organisation.
> Here how i would see the cvs server for our case :
> - There would be a cvs server with different branches( stable,
> developpement... )

Unless there is a major structural difference between products (like
version 4 and version 5 of the same product), we have found it is best
to have a single repository for a product.  I guess it is a little tough
if you have several versions that you are working on currently.  Perhaps
it is best to start a CVS repository at a major release.  At that point
you create a branch for bug fixes and retain the main trunk for major
upgrade work.  The theory is, that as you make changes in the bug fix
branch, you merge those fixes into the main trunk.  We make interim
releases (tags) off our bug fix branches when necessary.


> - Each developper would get a version, work it on local and then update
> it( i don't have
>   any ideas about the times per day of update ).

CVS is very flexible.  You work on your own copy of the main trunk, or
branch, and then commit your changes at your leisure (or a policy).  If
there has been changes to a source file that your are attempting to
commit, the system tells you, and you then update source (that you may
have changed), and CVS will try and fold your changes into a new
version.  It will let you know if it finds "Conflicts", it is pretty
brilliant about it.  I will often run diffs between the repository
version and a version that I have modified to see what is different
before I do a commit, but it has never been absolutely necessary to do,
just a matter of interest.

The wincvs client is really very clear about what files have changed,
what version (tag or branch) that you are working on, etc, etc.  It
makes using CVS really simple for programmers that dont' want to get
into the details.


> - Each developper would have a local tomcat on his machine( not very
> good i think ).

This is how we work.  everyone has their own tomcat.


> - Our web server would check the cvs server for the latest stable enough
> sources.
>   The tomcat on the web server would be used only for global testing.
> Am i right ?

You can certainly set it up this way.  I have scripted nightly builds
off cvs that use a nominal version.  That is, most of our development is
being done on the same branch, and that is the version that testers need
to see updated daily.


> 
> Do u see others points ?
> We have no experience at all about cvs in our enterprise and it's quite
> worrying.

I had to implement it here after only being a "user" at another
organization.  I never was aware of a most of the features as a user,
and as a CVS administrator have gained a great appreciation for it.  

> 
> a+
> 
> De : Samuel Rochas [mailto:[EMAIL PROTECTED]]
> Envoyé : mardi 20 novembre 2001 15:26
> À : Tomcat Users List
> Objet : Re: CVS
> 
> Bonjour,
> 
> Laurent Michenaud wrote:
> >
> > Would be CVS a good thing for our environnment ?
> CVS, or any other configuration management tool is a must while having a
> team working on a project. You can use some free tools, like the CVS
> with clients like WinCVS. You can use some (mostly quite expensive)
> commercial tools if you like.
> 
> > Are there any model of organisation that we would use ?
> all what you need is a file system and a network connection between the
> users.
> Take a look at http://www.gnu.org/manual/cvs-1.9/cvs.html and
> http://www.cvshome.org/
> 
> Slts
> Samuel Rochas
> --
> SWIPe Software Engineering & Project Management GmbH
> 
> Solutions with Individual Profile
> 
> Web: http://www.swipe.de
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 

-- 
Keith Simpson
Skillview Technologies
[EMAIL PROTECTED]
(603)-382-9882

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: CVS

2001-11-20 Thread keiths

I can only say that you should be using it.  It is excellent.  Many of
us develop servlets on windows (using the WinCVS client) for deployment
on linux/apache/tomcat (and many others).  We use a unix box for our
repository.

Laurent Michenaud wrote:
> 
> Hi,
> 
> I work in a web agency and we are studying the use of CVS.
> We are 3-4 developpers per project.
> We have a linux web server with tomcat/apache.
> For the moment, we are working on shared sources via samba.
> 
> Would be CVS a good thing for our environnment ?
> Are there any model of organisation that we would use ?
> 
> Please tell me about your organisation if u use cvs, what benefits
> 
> Thanks
> 
> Michenaud Laurent
> - Adeuza -
> [ Développeur Web - Administrateur Réseau ]
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 

-- 
Keith Simpson
Skillview Technologies
[EMAIL PROTECTED]
(603)-382-9882

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Mod-jk conf auto creation not happening question

2001-11-19 Thread keiths

You definitely need something if you want apache to run on top of
tomcat.  I am in the middle of testing 4.0 for migration from a tomcat
3.2 environment and have messed a little with the mod_jk.  I used the
mod_jk.conf-auto generated under tomcat 3.2, but there is also a
workers.properties file that is refered to in the auto generated file. 
That comes from 3.2 also.  Not in 4.0.  What is in the file isn't all
that complex.  I will attach a copy of mine.  I don't think there is
anything special in workers.properties - can't rightly remember right
now.  The reason the mod_jk is auto generated is so that it will
automatically add any new applications that you put under webapps when
you restart tomcat.  That's why you have to start tomcat first, before
apache.  You can readily pick out the "sections" in the mod_jk.conf-auto
that refer to the directories under "webapp"

Note that the ajp13 protocol is used in all of my entries.  I had to do
a little hack on the source to do that - the default is ajp12.  

I will send file to you directly - not through the list,  if other
listers are interested, let me know.

Mike Kelley wrote:
> 
> It doesn't exist.
> 
> Should I just create a blank file?
> 
> 
> -Original Message-
> From: Travis Schmid [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 19, 2001 9:41 AM
> To: 'Tomcat Users List'
> Subject: RE: Mod-jk conf auto creation not happening question
> 
> H...I don't know what would stop Tomcat from generating that file.  Have
> you checked the Tomcat logs and stdout to see if Tomcat is listing any error
> messages when it starts up?  Double check c:/program files/apache
> group/tomcat-4.0/conf/mod_jk.conf to make sure it exists.
> 
> Travis
> 
> > -Original Message-
> > From: Mike Kelley [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, November 16, 2001 6:49 PM
> > To: 'Tomcat Users List'
> > Subject: RE: Mod-jk conf auto creation not happening question
> >
> >
> > Good Eye!
> > No, that's not it ... I added the space after try number 1 ... Thought
> > exactly what you guessed ... (hummn , maybe it's a command...)
> >
> > I changed it ack and still get
> > "fopen: No such file or directory
> > Apache.exe: could not open document config file c:/program
> > files/apache
> > group/to
> > mcat-4.0/conf/mod_jk.conf-auto
> > Note the errors or messages above, and press the  key to
> > exit.  15..."
> >
> > I'm going to dbl check environ variables 
> >
> >
> >
> > -Original Message-
> > From: Travis Schmid [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, November 16, 2001 5:11 PM
> > To: 'Tomcat Users List'
> > Subject: RE: Mod-jk conf question
> >
> >
> > Check your include line in the httpd.conf file in apache.  I
> > think you have
> > added an extra space in the name of the file.
> > It should be: c:/program files/apache
> > group/tomcat-4.0/conf/mod_jk.conf-auto
> > not: c:/program files/apache group/tomcat-4.0/conf/mod_jk.conf -auto
> >
> > -auto is part of the file name, not a command line flag.
> >
> > Travis
> >
> > > -Original Message-
> > > From: Mike Kelley [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, November 16, 2001 3:55 PM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Mod-jk conf question
> > >
> > >
> > > That's my problem,
> > >
> > > When I try to restart/start apache I get the error ...
> > >
> > > "fopen: No such file or directory
> > > Apache.exe: could not open document config file c:/program
> > > files/apache group/to
> > > mcat-4.0/conf/mod_jk.conf -auto
> > > Note the errors or messages above, and press the  key
> > to exit.  "
> > >
> > >
> > > So I'm not getting the autobuild ... Without the build I can't start
> > > apache
> > >
> > >
> > > -Original Message-
> > > From: Travis Schmid [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, November 16, 2001 4:49 PM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Mod-jk conf question
> > >
> > >
> > > Tomcat autogenerates that file.  You need to start Tomcat first, the
> > > Apache. Travis
> > >
> > > > -Original Message-
> > > > From: Mike Kelley [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, November 16, 2001 3:20 PM
> > > > To: 'Tomcat Users List'
> > > > Subject: Mod-jk conf question
> > > >
> > > >
> > > > Since I can't get webapp to work on a W2K to tie apache to TC I'm
> > > > trying to use  Mod-JK ...
> > > >
> > > >
> > > > Apache doesn't seem to auto-gen the conf/mod_jk.conf file.
> > > >
> > > > How do I accomplish this?
> > > >
> > > > OS: W2K
> > > > TC: 4.0
> > > > Apache 1.3.22
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe:
> > > 
> > > > For additional commands:
> > > 
> > > > Troubles with the list:
> > > 
> > > >
> > >
> > > --
> > > To unsubscribe:
> 
> > For additional commands: 
> > Troubles with the list: 
> >
> > --
> > To unsubscribe:   

Re: Mod-jk conf auto creation not happening question

2001-11-19 Thread keiths

I have noticed that the mod_jk.conf-auto does not get created in 4.0,
and certainly does in 3.2.  I will be watching for any feedback on this
one!

Travis Schmid wrote:
> 
> H...I don't know what would stop Tomcat from generating that file.  Have
> you checked the Tomcat logs and stdout to see if Tomcat is listing any error
> messages when it starts up?  Double check c:/program files/apache
> group/tomcat-4.0/conf/mod_jk.conf to make sure it exists.
> 
> Travis
> 
> > -Original Message-
> > From: Mike Kelley [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, November 16, 2001 6:49 PM
> > To: 'Tomcat Users List'
> > Subject: RE: Mod-jk conf auto creation not happening question
> >
> >
> > Good Eye!
> > No, that's not it ... I added the space after try number 1 ... Thought
> > exactly what you guessed ... (hummn , maybe it's a command...)
> >
> > I changed it ack and still get
> > "fopen: No such file or directory
> > Apache.exe: could not open document config file c:/program
> > files/apache
> > group/to
> > mcat-4.0/conf/mod_jk.conf-auto
> > Note the errors or messages above, and press the  key to
> > exit.  15..."
> >
> > I'm going to dbl check environ variables 
> >
> >
> >
> > -Original Message-
> > From: Travis Schmid [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, November 16, 2001 5:11 PM
> > To: 'Tomcat Users List'
> > Subject: RE: Mod-jk conf question
> >
> >
> > Check your include line in the httpd.conf file in apache.  I
> > think you have
> > added an extra space in the name of the file.
> > It should be: c:/program files/apache
> > group/tomcat-4.0/conf/mod_jk.conf-auto
> > not: c:/program files/apache group/tomcat-4.0/conf/mod_jk.conf -auto
> >
> > -auto is part of the file name, not a command line flag.
> >
> > Travis
> >
> > > -Original Message-
> > > From: Mike Kelley [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, November 16, 2001 3:55 PM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Mod-jk conf question
> > >
> > >
> > > That's my problem,
> > >
> > > When I try to restart/start apache I get the error ...
> > >
> > > "fopen: No such file or directory
> > > Apache.exe: could not open document config file c:/program
> > > files/apache
> > > group/to
> > > mcat-4.0/conf/mod_jk.conf -auto
> > > Note the errors or messages above, and press the  key
> > to exit.  "
> > >
> > >
> > > So I'm not getting the autobuild ... Without the build I
> > > can't start apache
> > >
> > >
> > > -Original Message-
> > > From: Travis Schmid [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, November 16, 2001 4:49 PM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Mod-jk conf question
> > >
> > >
> > > Tomcat autogenerates that file.  You need to start Tomcat
> > > first, the Apache.
> > > Travis
> > >
> > > > -Original Message-
> > > > From: Mike Kelley [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, November 16, 2001 3:20 PM
> > > > To: 'Tomcat Users List'
> > > > Subject: Mod-jk conf question
> > > >
> > > >
> > > > Since I can't get webapp to work on a W2K to tie apache to TC I'm
> > > > trying to use  Mod-JK ...
> > > >
> > > >
> > > > Apache doesn't seem to auto-gen the conf/mod_jk.conf file.
> > > >
> > > > How do I accomplish this?
> > > >
> > > > OS: W2K
> > > > TC: 4.0
> > > > Apache 1.3.22
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe:
> > > 
> > > > For additional commands:
> > > 
> > > > Troubles with the list:
> > > 
> > > >
> > >
> > > --
> > > To unsubscribe:
> 
> > For additional commands: 
> > Troubles with the list: 
> >
> > --
> > To unsubscribe:   
> > For additional commands: 
> > Troubles with the list: 
> >
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 

-- 
Keith Simpson
Skillview Technologies
[EMAIL PROTECTED]
(603)-382-9882

--
To unsubscribe:   
For additional commands: 
Troubles with the list: