[Logo] JCVSForum - Community Support For JCVS Users and Developers
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: Anonymous
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Author Message
I need to update a module with the parameter -r. How can I do that with
jcvsServlet?

Thanks!

Alexandre Ubaldo - BH/MG - BRAZIL
acarvalho@unibh.br
Good tip! It was file permissions...whoops. The missing files were read only
for all groups...once I changed to read/write, it worked fine.

For version, we're running 1.0.1beta. And there were no other errors in the
logs..the errors earlier in the post were all I could find.

Thanks!
First of all, great job on the code - this servlet is awesome!

Now the confusing part...I'm having a problem with jcvslet checking out some
source... We're using it internally to provide web access to a cvs repository
and it was working great. We made some changes to a source tree (added some
directories and files and deleted a few files) and committed them to the
repository with the smartcvs client. When I tried to do a checkout latest from
the jcvslet website, it gave me an error for that particular module. I was able
to check the module out successfully with smartcvs and in the /tmp directory via
command line - no errors. I shutdown jcvslet and removed the cache directories
and restarted jcvslet. It checked out all modules without a problem except this
one (called common). It checked out about 1/3 of the source (in the cache
directory for common) and then gives an error message. All the other modules
were checked out successfully. Is there a way to turn on more debug? The only
thing I can think of is a problem in the source somewhere, but can't seem to
find it! None of the properties files for jcvslet changed...

The common code properties file...

#
# CVS repository on xxx
#
JCVSlet.project.type=jcvs
JCVSlet.project.name=Common Code
JCVSlet.project.title=Common Source code for Diag and Looking Glass
#JCVSlet.project.home=http://www.cvshome.org/
JCVSlet.project.host=xxx
JCVSlet.project.root=/silo0/cvs/root
JCVSlet.project.module=common
JCVSlet.project.local=/tmp
JCVSlet.project.user=xxx
JCVSlet.project.pass=xxxxxx
JCVSlet.project.temp=/tmp
JCVSlet.project.path=common
JCVSlet.project.desc=\
This is the common source code for the 5-minute Diagnostics and for Looking
Glass. \
Provides functions such as telnet, snmp, vantive DB calls, solid DB calls, etc \
Developed by the Tools group

JCVSlet.project.wdactive=true
JCVSlet.project.wdalias=/jcvslet
JCVSlet.project.showdoclink=true
JCVSlet.project.showupdlink=true
JCVSlet.project.showdownlink=false
JCVSlet.project.showupdadvlinks=true


Here's a snapshot of the errors:

website error:

Failed opening project:
IOException opening project: checkout of 'Common Code' failed: ** The command
completed with an error status


logs:

2004-06-10 12:20:05 Loaded defaults properties from
'/com/ice/jcvslet/default.properties'.
2004-06-10 12:20:05 Loaded properties file
'/usr/apache/tomcat/webapps/jcvslet/WEB-INF/conf/jcvslet.properties'.
2004-06-10 12:20:05 RSRCFILE: /com/ice/jcvslet/rsrc.properties
2004-06-10 12:20:05 Loaded project 'diag' properties file
'/usr/apache/tomcat/webapps/jcvslet/WEB-INF/conf/diag.properties'.
2004-06-10 12:20:05 Loaded project 'looking_glass' properties file
'/usr/apache/tomcat/webapps/jcvslet/WEB-INF/conf/looking_glass.properties'.
2004-06-10 12:20:05 Loaded project 'common' properties file
'/usr/apache/tomcat/webapps/jcvslet/WEB-INF/conf/common.properties'.
2004-06-10 12:20:05 Loaded project 'dns' properties file
'/usr/apache/tomcat/webapps/jcvslet/WEB-INF/conf/dns.properties'.
2004-06-10 12:20:05 Opening working directories.
2004-06-10 12:20:05 Working directories are scheduled.
2004-06-10 12:20:05 JCVSServlet: COTHREAD: Checkout 'dns', DNS
2004-06-10 12:20:05 JCVSServlet: Checking out dns
2004-06-10 12:20:05 JCVSServlet: Checkout: coPath = null
2004-06-10 12:20:05 JCVSServlet: Checkout: coRev = null
2004-06-10 12:20:11 JCVSServlet: Checked out dns
2004-06-10 12:20:11 JCVSServlet: Free 2133720 Total 5718016
2004-06-10 12:20:11 JCVSServlet: Opening dns
2004-06-10 12:20:11 JCVSServlet: Opened dns
2004-06-10 12:20:11 JCVSServlet: Free 1437248 Total 5718016
2004-06-10 12:20:11 JCVSServlet: COTHREAD: Checkout 'common', Common Code
2004-06-10 12:20:11 JCVSServlet: Checking out common
2004-06-10 12:20:11 JCVSServlet: Checkout: coPath = null
2004-06-10 12:20:11 JCVSServlet: Checkout: coRev = null
2004-06-10 12:20:13 opening project
java.io.IOException: checkout of 'Common Code' failed:
** The command completed with an error status.
at
com.ice.jcvslet.JCVSletProject.checkoutProject(JCVSletProject.java:373)
at com.ice.jcvslet.ProjectMgr$CheckoutThread.run(ProjectMgr.java:356)

2004-06-10 12:20:13 JCVSServlet: COTHREAD: Checkout 'looking_glass', Looking
Glass
2004-06-10 12:20:13 JCVSServlet: Opening looking_glass
2004-06-10 12:20:13 JCVSServlet: Opened looking_glass
2004-06-10 12:20:13 JCVSServlet: Free 2490000 Total 5718016
2004-06-10 12:20:13 JCVSServlet: COTHREAD: Checkout 'diag', Diagnostics
2004-06-10 12:20:13 JCVSServlet: Checking out diag
2004-06-10 12:20:13 JCVSServlet: Checkout: coPath = null
2004-06-10 12:20:13 JCVSServlet: Checkout: coRev = null
2004-06-10 12:20:14 JCVSServlet: Checked out diag
2004-06-10 12:20:14 JCVSServlet: Free 1733024 Total 5718016
2004-06-10 12:20:14 JCVSServlet: Opening diag
2004-06-10 12:20:14 JCVSServlet: Opened diag
2004-06-10 12:20:14 JCVSServlet: Free 1472264 Total 5718016

Thanks for your help!
Chris
 
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Go to:   
Powered by JForum 2.1.9 © JForum Team