Help - Search - Members - Calendar
Full Version: Enterprise as a service
Quma Software - QVCS Product Family Forums > QVCS Products > QVCS-Enterprise
Janusz
Finally today I started to evaluate Enterprise edition of QVCS
I follow all the steps and manage to run server and access it from the few computers without any problems.

Next i wanted to isntall the server as service on my server machine.
I follow instructions and each time when I run test_enterprise_install.bat I receive messahe

"The system cannot find the batch label specified - jreInstalled
Press any key to continue..."

What am I doing wrong? unsure.gif

I installed JRE next unsitalled it installed JDK (ver.11). In both cases server runs as standalone program and service installation batch file generates this message.
Jim Voris
There is a typo (a.k.a bug) in the installEnterpriseService.bat batch file.

This will be fixed in 2.0.18... in the meanwhile, you need to manually edit that file (located in the server install directory). You need to change two lines.

The first line you need to change looks like:

IF NOT EXIST %1\jre\bin\server\jvm.dll goto jreInstalled

You need to make it look like:

IF NOT EXIST %1\jre\bin\server\jvm.dll goto jre

The next edit: you need to move the line that looks like:

IF NOT EXIST %1\bin\client\jvm.dll goto javaNotFound

so that it comes immediately after the

:jre

label, i.e. after your edit, that part of the file should look like:

:jre
IF NOT EXIST %1\bin\client\jvm.dll goto javaNotFound


That should do it.


drgrigg
I am in exactly the same situation - evaluating QVCS Enterprise. Basically, I like it and want to use it, but I can't get it to run as a service on my server - which is essential.

None of the lines you mention above appear in my installEnterpriseService.bat batch file. In fact, it looks as though it expects to be called by another batch file, or from the command line. There's a 'test_service_install.bat' which calls it, but it also doesn't contain these lines.

I'd really appreciate some help, or I'll reluctantly have to drop the idea of using QVCS.
Jim Voris
The instructions above were for the 2.0.17 release. Earlier releases do not have these lines in their installEnterpriseService.bat file.

If you are using an earlier release (say 2.0.12), then the problem you may be having in getting the server to run as a service could be caused by:

1. You must install your JDK in a directory that has no spaces in the path. This means installing the JDK in some place different than the default location, which installs the JDK in c:\Program Files\Java... I recommend that you install the JDK in c:\Java\...
2. You must install the JDK, not the JRE. If you have only the JRE installed, then the install scripts that come with QVCS-Enterprise will not work correctly. There is a workaround (see this thread.. however, the recommended solution is to make sure to install the JDK instead of the JRE.
drgrigg
I'm afraid that I'm still not having any success with getting QVCS to run as a service.

I believe that I've followed all your instructions and installed the full JDK (at a path with no spaces). The INSTALLING of the service appears to be OK, and I can see it listed in Administrative Tools/Services but when I try to START the service, it attempts, but then fails without reporting an error (not very helpful):

"The QVCSEnterpriseServer service is starting.
The QVCSEnterpriseServer service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.

Press any key to continue..."

Any suggestions? I'd really like to purchase QVCS, but currently I have to remain logged in on the server with QVCS running as a normal application in order to use it at all.
Jim Voris
What flavor of Windows are you using for your server?

Is there anything of use in the log files in the server's log subdirectory? (the files should be named serverConsoleErr.log and serverConsoleOut.log, and are located in the log directory beneath the directory where you installed QVCS-Enterprise.).
drgrigg
QUOTE(Jim Voris @ Feb 21 2007, 11:46 AM) *

What flavor of Windows are you using for your server?

Windows 2003 Server.

QUOTE

Is there anything of use in the log files in the server's log subdirectory? (the files should be named serverConsoleErr.log and serverConsoleOut.log, and are located in the log directory beneath the directory where you installed QVCS-Enterprise.).

There are no log files in that directory. No files at all, in fact.


I've taken you on faith, a bit, and gone ahead and purchased a couple of user licenses to QVCS Enterprise. But I'm seriously hoping you can sort this out for us as soon as possible.
Jim Voris
Where have you installed QVCS-Enterprise?

To run the server as a Windows service, QVCS-Enterprise must be installed in a directory that has no spaces in its name.
drgrigg
Yes, I knew that. It's in a folder called "D:\QVCS".

I've now got two projects in QVCS, each with a bit of history to them now. If it weren't for the fact that I'm afraid to lose this data, I'd be tempted to clear out everything and start again from scratch. Is there a way of preserving the existing database?
Jim Voris
QUOTE
Is there a way of preserving the existing database?

The archive files are stored in the directories beneath the server's qvcsProjectsArchiveData directory. You could reinstall the server to a different location, and copy the existing archive files into that new installation's qvcsProjectsArchiveData directory (after creating projects with the same name(s) as you currently have), and your existing history would be visible to the new server installation.

Is the D: drive an actual physical drive, or is it mapped? I have seen problems if running things as a service when the installation drive was not an actual physical drive.
drgrigg
No, D: is a real physical drive.

I'm just getting the feeling that I might have messed up the original install in some way. I'll take your advice and back up the current database, then download your latest version and reinstall, following all your instructions to the letter biggrin.gif and see how I go.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.