ant install.source successful, well not quite

<<

Mike Oliver

Posts: 1

Joined: Fri Apr 20, 2012 6:36 am

Post Fri Apr 20, 2012 7:31 am

ant install.source successful, well not quite

I followed the source tarball path to installation. I am on windows 7 64bit. Tomcat 6.0.35 JDK 1.6

I ran the /config/setup-properies-windows.exe

I set all the postgres and tomcat values and confirmed the proper values.

I ran the ant install.source and monitored the console and all the sql ran ok, everything seemed to build ok and even set an environment variable to env.CATALINA_HOME after seeing that go by in the console.

I saw no exceptions and it ended with a BUILD SUCCESSFUL

Yet the tomcat webapps didn't have the /openbravo and of course localhost:8080/openbravo doesn't work and /manager doesn't show /openbravo

I did see a folder in the Openbravo-3.0MP10.1 folder where I ran the ant install.source called ${env.CATALINA_HOME} AND in it was the /webapps/ folder and it it was the /openbravo/ folder and in it the typical web application structure.

so I copied the /openbravo folder into /webapps and I created a context file openbravo.xml to point to it in the localhost folder.

I get the login screen and enter Openbravo / openbravo and I am in.

So I am not asking a question, I am posting so some other poor fool doesn't waste several hours trying to figure it all out.

Have you guys heard of a new technique called a WAR file?
<<

Iván Perdomo

Posts: 2014

Joined: Wed Mar 18, 2009 7:25 pm

Post Sat Apr 21, 2012 11:55 am

Re: ant install.source successful, well not quite

Hi,

Have you followed a installation guide? All the available documentation is in the wiki.
Check this out: http://wiki.openbravo.com/wiki/Installation

From that list we propose the easier and safer way to install Openbravo. You have chosen the "Custom" one.
http://wiki.openbravo.com/wiki/Installation/Custom

Check the first section:
Is this guide for me?
Probably the answer is NO, this is not the recommended way of installing Openbravo for most cases

Why? Because you need to know what you're doing.

Check the knowledge requisites for using the "Custom Installation" meant to be used by Developers.
http://wiki.openbravo.com/wiki/Prerequi ... _Knowledge

I set all the postgres and tomcat values and confirmed the proper values.

I ran the ant install.source and monitored the console and all the sql ran ok, everything seemed to build ok and even set an environment variable to env.CATALINA_HOME after seeing that go by in the console.

That's your first error. You're assuming that only $CATALINA_HOME is required, but what about $CATALINA_BASE ? Are you sure that this variables were properly set? Did you tested it? (e.g. echo %CATALINA_BASE% from the console before running install.source)

Check the environment variables required::
https://code.openbravo.com/erp/devel/ma ... d.xml#l164
https://code.openbravo.com/erp/devel/ma ... d.xml#l832

I am posting so some other poor fool doesn't waste several hours trying to figure it all out.
Have you guys heard of a new technique called a WAR file?

If you search, you will find the installation guide with the propsed way to install Openbravo. If you want to build a war file, you just need to change the "deploy.mode" in the config/Openbravo.properties of your sources.

http://wiki.openbravo.com/wiki/Openbrav ... es#General

If you browse/search/read the wiki, you'll find plenty information.

Best Regards,

Iván

Return to Help

Who is online

Users browsing this forum: No registered users and 3 guests

Website Terms


Designed by ST Software for PTF.