Installation Problem

Hi,

I am having trouble installing, everything seems to be working fine except when I go to run the app.

I have checked the log files and I get this error message.

INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\Common Files\DivX Shared\;C:\Program Files\QuickTime\QTSystem\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\MySQL\MySQL Server 5.0\bin

Can someone point me in the right direction to fix this problem?

Cheers Ian

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Installation Problem

Hi Ian,

Having a look at the log files I believe the reason the application cannot start is the mysql connector jar file has not been copied into the tomcat shared/lib folder so the application is unable to access the database. 

 

Cheers

Tony

 

Installation Problem

All that message means is that you are not using the "Apache Portable Runtime".

It is not required to run OpenVPMS.

See tomcat.apache.org/tomcat-5.5-doc/apr.html for more details.

Installation Problem

mysql connector jar file has been copied to the share/lib folder already so that isn't the problem.

Installation Problem

Can you attach your openvpms-full.log file?

This is located in the directory you start tomcat in.

Installation Problem

Have attached the file here,

have followed the installation process on another machine and I am having exactly the same problem.

 

AttachmentSize
openvpms-full.pdf 129.51 KB

Installation Problem

The log has a lot of:

java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

error messages in it, which suggests there is something wrong with the installation of the mysql connector jar

Verify that:

  1. The mysql jar file is actually in $TOMCAT_HOME/shared/lib
  2. the jar is valid.

To verify the jar is valid you can run the "jar" tool, if you have a JDK installed. If not, use your favourite zip program to test it.

E.g:

> jar tvf mysql-connector-java-5.1.5-bin.jar

or:

> unzip -t mysql-connector-java-5.1.5-bin.jar

 

If you copied the mysql jar to shared/lib after starting Tomcat, you'll need to restart it.

Installation Problem

In relation to the connector

The JDBC driver in the archive is named mysql-connector-java-5.1.x-bin.jar. This needs to be copied to:

  • the Apache Tomcat shared library directory: /shared/lib
  • the OpenVPMS install directory: /lib

Where exactly is the OpenVPMS install directory:/lib

 

Installation Problem

Hi Ian,

 

The lib folder is in the openvpms-release-1.3 folder  i.e.  <your base location>/openvpms-release-1.3/lib

If this is not installed you will not be able to run the dataload base step in the installation notes.

 

Cheers

Tony

Installation Problem

thanks guys,

 

problem solved, yeah it appeared that it had just not picked up the java connector.

Re ran the dataload setup. After making sure that the java connectors were all in th same place and then restarted apache and all was good.

 

Thanks for your help.

 

Cheers Ian

Apache Tomcat Installation Problem

   I purchased a subscription and have starting doing the install. I am using the instructions for "Open VPMS Installation" (Windows). Everything seems to have gone OK until downloading Apache Tomcat. The link in the instructions doesn't work (it goes back to the same page as the instructions) and I downloaded apache-tomcat-5.5.28.exe (not .20) as that was the closest I could find. I clicked on the folder in the OpenVPMS folder it unpacked into that folder. I selected webapps in the available components but no further setup happens. (So could not select the default connection, set the administration password to openvpms, select the default JRE location etc.)

   I am assuming I downloaded the wrong version.  I am using windows XP home on the computer in question. I will be using Windows XP Pro in the field if it makes any difference. Thanks for any help. Jean

 

 

 

 

Jean F. Feldman, DVM Hamburg, NY USA

 

Apache Tomcat Installation Problem

Hi Jean,

 

If you double click on the apache-tomcat-5.5.28.exe file you should start an windows installation program that will prompt you for the information as documented.  It shoudln't unpack as thsi was indicat eit is a self extracting executable which is not what you are after. 

Here is the location you shoudl download the exe from

http://apache.wildit.net.au/tomcat/tomcat-5/v5.5.28/bin/apache-tomcat-5....

XP Home or Pro shoudl not make any difference.

 

Cheers

Tony

Apache TomCat Installation

Found the correct file, have program up and running on my OQO (as far as I can tell..... have not yet tried to enter clients etc). Thanks.

I did have question about the OpenVPMS Service User setup section.

I was able to add a new user (openvpms) to the Administrators group. I logged out and then back in as a new vpms user. I ran Open Office and could not figure out how to "check no startups prompts." I understand I may have difficulty printing vaccination certificates if I don't have this detail correct. Any idea what to do? I am going to try checking the Open Office Site tonight.  (PS this is a Windows XP Pro install). Thanks. Jean

 

 

Jean F. Feldman, DVM Hamburg, NY USA

Installation Problem

Hi Jean,

Glad to hear up and running.

In regards open office you just need to start up open office under the openvpms user and go through and registration prompts etc.  OpenVPMS starts open office in the background as this user and if open office is waiting for these to be answered (and you can't see the prompts as running headless in background) the letter merging etc won't work.  I typically open it once and click don't register and untick check updates and then close and then reopen again just to make sure it is asking for you to participate in surveys etc.

Cheers

Tony

Installation Problem

Ok, did that. Will be trying to enter clients etc this coming week while at my parent's in Florida. Jean

 

Jean F. Feldman, DVM Hamburg, NY USA

Syndicate content