Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

[HOWTO] Openbravo ERP

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
42 posts
  • 1
  • 2
  • Next
Author
Message
iarwain
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Thu Sep 25, 2003 12:39 pm

[HOWTO] Openbravo ERP

  • Quote

Post by iarwain » Sun Sep 24, 2006 2:21 pm

Wiki HOWTO

I've written a document explaining how to install Openbravo ERP in Gentoo. Openbravo is a web based ERP (Enterprise Resource Planning) for small and medium enterprises.
Any feedback is welcomed.
Last edited by iarwain on Fri Feb 23, 2007 4:19 pm, edited 1 time in total.
Top
iarwain
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Thu Sep 25, 2003 12:39 pm

  • Quote

Post by iarwain » Sat Oct 14, 2006 9:41 am

Now ant 1.6.5 and sun-jdk-1.5 are marked as stable in portage. The HOWTO has been updated to this changes. This makes the installation easier.
Top
t7na9coose
n00b
n00b
Posts: 2
Joined: Tue Dec 19, 2006 6:50 pm
Location: Clearwater, FL
Contact:
Contact t7na9coose
Website

  • Quote

Post by t7na9coose » Tue Dec 19, 2006 7:01 pm

Thank for the information from the Wiki. Great How-to. I followed the directions and when installing I get an error:

Code: Select all

org.tp23.antinstaller.InstallException: Error running the install
	at org.tp23.antinstaller.runtime.exe.AntProjectFilter.exec(Unknown Source)
	at org.tp23.antinstaller.runtime.ExecInstall.exec(Unknown Source)
	at org.tp23.antinstaller.selfextract.NonExtractor.main(Unknown Source)
Caused by: jar:file:/usr/src/openbravo_postgres/download.jar!/build.xml:183: Execute failed: java.io.IOException: java.io.IOException: /usr/share/ant-core/bin/ant: not found
	at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:620)
	at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
	at org.apache.tools.ant.Task.perform(Task.java:364)
	at org.apache.tools.ant.Target.execute(Target.java:341)
	at org.apache.tools.ant.Target.performTasks(Target.java:369)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
	... 3 more
Caused by: java.io.IOException: java.io.IOException: /usr/share/ant-core/bin/ant: not found
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
	at java.lang.ProcessImpl.start(ProcessImpl.java:65)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
	at java.lang.Runtime.exec(Runtime.java:591)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
	at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
	at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
	at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576)
	at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)
	... 12 more
--- Nested Exception ---
jar:file:/usr/src/openbravo_postgres/download.jar!/build.xml:183: Execute failed: java.io.IOException: java.io.IOException: /usr/share/ant-core/bin/ant: not found
	at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:620)
	at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
	at org.apache.tools.ant.Task.perform(Task.java:364)
	at org.apache.tools.ant.Target.execute(Target.java:341)
	at org.apache.tools.ant.Target.performTasks(Target.java:369)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
	at org.tp23.antinstaller.runtime.exe.AntProjectFilter.exec(Unknown Source)
	at org.tp23.antinstaller.runtime.ExecInstall.exec(Unknown Source)
	at org.tp23.antinstaller.selfextract.NonExtractor.main(Unknown Source)
Caused by: java.io.IOException: java.io.IOException: /usr/share/ant-core/bin/ant: not found
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
	at java.lang.ProcessImpl.start(ProcessImpl.java:65)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
	at java.lang.Runtime.exec(Runtime.java:591)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
	at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
	at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
	at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576)
	at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)
	... 12 more
--- Nested Exception ---
java.io.IOException: java.io.IOException: /usr/share/ant-core/bin/ant: not found
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
	at java.lang.ProcessImpl.start(ProcessImpl.java:65)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
	at java.lang.Runtime.exec(Runtime.java:591)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
	at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
	at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
	at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576)
	at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)
	at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
	at org.apache.tools.ant.Task.perform(Task.java:364)
	at org.apache.tools.ant.Target.execute(Target.java:341)
	at org.apache.tools.ant.Target.performTasks(Target.java:369)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
	at org.tp23.antinstaller.runtime.exe.AntProjectFilter.exec(Unknown Source)
	at org.tp23.antinstaller.runtime.ExecInstall.exec(Unknown Source)
	at org.tp23.antinstaller.selfextract.NonExtractor.main(Unknown Source)
I have done everything outlined in the wiki, what am I doing incorrectly? Do I also need to export ANT_HOME?

Of course ant is not in /usr/share/ant-core/bin but instead in /usr/share/ant-core/lib but also in /usr/share/tomcat-5.5/common/lib/, which I exported from the terminal that I started the install.

I exported the necessary parameters according to the wiki and I also configured build.xml as outlined. I am sure I am missing something, and I simply cannot get it to work.

Thanks for your help.
Top
t7na9coose
n00b
n00b
Posts: 2
Joined: Tue Dec 19, 2006 6:50 pm
Location: Clearwater, FL
Contact:
Contact t7na9coose
Website

Nevermind . . .

  • Quote

Post by t7na9coose » Tue Dec 19, 2006 10:23 pm

Well, I did get it to work, after a couple days, and deciding to post, I finally got things squared away. Thanks for the Great How-TO!!
Top
iarwain
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Thu Sep 25, 2003 12:39 pm

  • Quote

Post by iarwain » Wed Dec 20, 2006 8:52 am

Hi t7na9coose, I'm glad you've found it useful.
As soon as 2.20 is released I'll update the guide with a chapter explaining how to install the SVN version.
Top
xcable
Guru
Guru
User avatar
Posts: 424
Joined: Thu Aug 15, 2002 4:47 pm
Location: College Station, Texas
Contact:
Contact xcable
Website

  • Quote

Post by xcable » Tue Jan 30, 2007 10:55 pm

iarwain, have you used Openbravo much?

I'm wanting to install a ERP system at my new job (10 employees). I'm new to this job and they/we currently have nothing. I've used a couple of ERP systems before. What I'm finding is that Openbravo looks to be the move visible open source ERP system I'm finding. What I really want is BOM (bill of materials) management and parts organization. I'm a EET, doing circuit board design.

thanks,
--
heath
Top
iarwain
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Thu Sep 25, 2003 12:39 pm

  • Quote

Post by iarwain » Wed Jan 31, 2007 10:47 am

Hi xcable,

I'm more familiar with the Openbravo development/internals than with the functional side. It indeed has a product management and BOM module and as far as i know it works fine, you can test it yourself in the online demo. I've done many installations, so if you need any help, I'll be glad to help you. This week I'll upgrade the wiki with the latest v2.21. This version is compatible with gentoo's tomcat layout, so it's easier to install :-)
Top
xcable
Guru
Guru
User avatar
Posts: 424
Joined: Thu Aug 15, 2002 4:47 pm
Location: College Station, Texas
Contact:
Contact xcable
Website

  • Quote

Post by xcable » Sun Feb 18, 2007 6:37 pm

iarwain, found you tried installing 2.22 yet? The java GUI installer does not give me option of changing the tomcat folder, and the install fails.

--
heath
Top
xcable
Guru
Guru
User avatar
Posts: 424
Joined: Thu Aug 15, 2002 4:47 pm
Location: College Station, Texas
Contact:
Contact xcable
Website

  • Quote

Post by xcable » Tue Feb 20, 2007 2:37 pm

For 2.22 I don't get the option for specifying tomcat locations. Specifically the following :

Code: Select all

PostgreSQL library path: /usr/share/tomcat-5.5/common/lib (default)
Tomcat folder: /usr/share/tomcat-5.5/
Log folder: /var/log/tomcat-5.5
I get the following error :

Code: Select all

org.tp23.antinstaller.InstallException: Error running the install
        at org.tp23.antinstaller.runtime.exe.AntProjectFilter.exec(Unknown Source)
        at org.tp23.antinstaller.runtime.ExecInstall.exec(Unknown Source)
        at org.tp23.antinstaller.selfextract.NonExtractor.main(Unknown Source)
Caused by: jar:file:/usr/src/openbravo_postgres/download.jar!/build.xml:201: Execute failed: java.io.IOException: java.io.IOException: /usr/share/ant-core/bin/ant: not found
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:620)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        ... 3 more
Caused by: java.io.IOException: java.io.IOException: /usr/share/ant-core/bin/ant: not found
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
        at java.lang.Runtime.exec(Runtime.java:591)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)
        ... 12 more
--- Nested Exception ---
jar:file:/usr/src/openbravo_postgres/download.jar!/build.xml:201: Execute failed: java.io.IOException: java.io.IOException: /usr/share/ant-core/bin/ant: not found
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:620)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.tp23.antinstaller.runtime.exe.AntProjectFilter.exec(Unknown Source)
        at org.tp23.antinstaller.runtime.ExecInstall.exec(Unknown Source)
        at org.tp23.antinstaller.selfextract.NonExtractor.main(Unknown Source)
Caused by: java.io.IOException: java.io.IOException: /usr/share/ant-core/bin/ant: not found
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
        at java.lang.Runtime.exec(Runtime.java:591)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)
        ... 12 more
--- Nested Exception ---
java.io.IOException: java.io.IOException: /usr/share/ant-core/bin/ant: not found
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
        at java.lang.Runtime.exec(Runtime.java:591)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.tp23.antinstaller.runtime.exe.AntProjectFilter.exec(Unknown Source)
        at org.tp23.antinstaller.runtime.ExecInstall.exec(Unknown Source)
        at org.tp23.antinstaller.selfextract.NonExtractor.main(Unknown Source)
Install failed
Error running the install
Failed
--
heath
Top
iarwain
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Thu Sep 25, 2003 12:39 pm

  • Quote

Post by iarwain » Thu Feb 22, 2007 6:24 pm

Hi xcable,

sorry for the delay, I've just updated the HOWTO to the v2.22. Now the installer takes the tomcat-dirs from system variables: CATALINA_HOME and CATALINA_BASE. Probably that's the cause of your error.
Top
xcable
Guru
Guru
User avatar
Posts: 424
Joined: Thu Aug 15, 2002 4:47 pm
Location: College Station, Texas
Contact:
Contact xcable
Website

  • Quote

Post by xcable » Thu Feb 22, 2007 6:54 pm

Thanks for the update. But...

I got it installed under Windows (after much frustration), and evaluated it for a while. It's looks to complex and would require far to much time to implement and maintain than I was looking for. The documentation lacks a lot be desired. I'm now looking at Tiny ERP and Adempiere.


--
heath
xcable
Top
bludger
Guru
Guru
Posts: 389
Joined: Wed Apr 09, 2003 7:14 am

  • Quote

Post by bludger » Fri Feb 23, 2007 2:21 pm

An ERP for SMES, eh?

IHFA*

Thank god for wikipedia.
http://en.wikipedia.org/wiki/Enterprise ... e_planning
http://en.wikipedia.org/wiki/Small_and_ ... enterprise

*I hate fucking acronyms.
Top
xcable
Guru
Guru
User avatar
Posts: 424
Joined: Thu Aug 15, 2002 4:47 pm
Location: College Station, Texas
Contact:
Contact xcable
Website

  • Quote

Post by xcable » Fri Feb 23, 2007 2:30 pm

bludger to late. I've actually edited Wikipedia to include Tiny ERP and Openbarvo in there list of open source ERP software.

--
heath
xcable
Top
iarwain
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Thu Sep 25, 2003 12:39 pm

  • Quote

Post by iarwain » Fri Feb 23, 2007 4:15 pm

bludger: yeah right, an acronym explanation never hurts. Fixed.
xcable: you are right about the documentation, it should be much better. As I see in the wiki a part of the user's manual has been just published: http://wiki.openbravo.com/wiki/index.php/User_Manual . It is far from finished, but it's a start.
Top
iarwain
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Thu Sep 25, 2003 12:39 pm

  • Quote

Post by iarwain » Mon Feb 26, 2007 3:08 pm

That /usr/share/ant-core/bin/ant error is a bug in the build.xml. It has been reported and solved in SVN and the next version will have it fine. Meanwhile, there are 2 possible workarounds:

1) Create a symlink for the time being, until the new release is out:

Code: Select all

ln -sf /usr/bin/ant /usr/share/ant-core/bin/ant
2) In the build.xml inside download.jar perform the following replacement:

Code: Select all

${env.ANT_HOME}${separator}bin${separator}ant${ant.extension}
by

Code: Select all

ant${ant.extension}
Top
concord
Apprentice
Apprentice
Posts: 193
Joined: Sun Oct 02, 2005 7:06 pm

  • Quote

Post by concord » Tue Mar 20, 2007 12:45 am

Thanks very much for so good how-to. I have installed openbravo on my gentoo machine. But there are still two questions need help:

1, when input openbravo's server name, just "localhost" can be used. if by IP address of domain name. the installation will stop just several seconds later in drop database stage.

2, after installation, i can login with name Openbravo and pass word "openbravo" and everything looks normal in server itself. but if I login from other computer with IE or firfox in same local network. all pictures have been replaced by panes and can not login at all. why?
AMD64 Desktop
Pentium4 Laptop
Pentium3 Server
Top
iarwain
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Thu Sep 25, 2003 12:39 pm

  • Quote

Post by iarwain » Tue Mar 20, 2007 10:01 am

Hi condord, I'm glad you've found it useful.

1. That's because probably your PostgreSQL is only listening on localhost, and not on your local IP. To change this, edit /var/lib/postgresql/data/postgresql.conf and uncomment and add your IP address to the "listen_addresses" line. For example, supossing your local IP is 192.168.1.120:

Code: Select all

listen_addresses = 'localhost, 192.168.1.120'
2. It seems your images and javacript files are pointing to "localhost". To change this behavior, edit AppsOpenbravo/build.xml, and change this line:

Code: Select all

  <property name="web.url" value="http://localhost:8080/openbravo/web"/>
into

Code: Select all

<property name="web.url" value="http://192.168.1.120:8080/openbravo/web"/>
Then, place yourself in the AppsOpenbravo directory and recreate the war file:

Code: Select all

ant war
And finally copy the new openbravo.war to you tomcat webapps directory:

Code: Select all

cp AppsOpenbravo/lib/openbravo.war /var/lib/tomcat-5.5/webapps/
I hope it helps.
Top
concord
Apprentice
Apprentice
Posts: 193
Joined: Sun Oct 02, 2005 7:06 pm

  • Quote

Post by concord » Wed Mar 21, 2007 6:31 pm

Thanks very much! It works!

Could I use domain name instead of IP?

I tried it, but no good as IP instead.
AMD64 Desktop
Pentium4 Laptop
Pentium3 Server
Top
fulgas
n00b
n00b
Posts: 2
Joined: Fri Mar 23, 2007 6:03 pm

  • Quote

Post by fulgas » Mon Mar 26, 2007 9:23 am

I have sucessufully installed openbravo on gentoo.
I was having a hard time because of the gentoo format until i found the wiki.

thk a lot

sup
Top
iarwain
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Thu Sep 25, 2003 12:39 pm

  • Quote

Post by iarwain » Wed Mar 28, 2007 8:35 am

concord, the problem with using domain names is that the images, css and js files will point to that domain name. So other machines should have exactly the same name defined in their hosts file. Another possibility is to use the following:

Code: Select all

<property name="web.url" value="@actual_url_context@/web"/>
This probably does what you want. However it has a serious flaw: the first client to access the ERP defines where the images,css and js point to. Imagine you alias your server's ip address to "myserver" in /etc/hosts. If you are the first one to enter the site, no one else will be able to access it, unless they define the same alias. You whould make sure the first client access with a "sane" name :-)

By the way, two news:

1. It seems the user manual is finished.
2. Openbravo has just released a new Bitrock based installer. Soon I'll add a chapter covering this.
Top
bravecobra
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 130
Joined: Thu Dec 26, 2002 8:57 pm
Location: Planet Earth (sometimes)
Contact:
Contact bravecobra
Website

  • Quote

Post by bravecobra » Sun Apr 01, 2007 3:37 am

I followed the wiki and I'm getting a 404 error while trying to access http://<myserver>:8081/openbravo/security/Login_FS.html

Note the different port, since I already have a service running on port 8080. I changed the port in TomCat conf's file (/var/lib/tomcat-5.5/conf/server.xml). When running the installer I also used this 8081 port but apart from that, no differences to wiki. Any ideas?
Brave Cobra
http://www.bravecobra.com
Top
iarwain
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Thu Sep 25, 2003 12:39 pm

  • Quote

Post by iarwain » Sun Apr 01, 2007 7:18 am

bravecobra, make sure the openbravo context is there and it's started in http://<your_server>:8081/manager/html . If needed, create a user with the "manager" role in $CATALINA_BASE/conf/tomcat-users.xml.
Top
bravecobra
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 130
Joined: Thu Dec 26, 2002 8:57 pm
Location: Planet Earth (sometimes)
Contact:
Contact bravecobra
Website

  • Quote

Post by bravecobra » Mon Apr 02, 2007 12:04 am

Tnx got it working now.. ;)
Brave Cobra
http://www.bravecobra.com
Top
concord
Apprentice
Apprentice
Posts: 193
Joined: Sun Oct 02, 2005 7:06 pm

  • Quote

Post by concord » Wed Apr 11, 2007 12:42 pm

iarwain wrote:concord, the problem with using domain names is that the images, css and js files will point to that domain name. So other machines should have exactly the same name defined in their hosts file. Another possibility is to use the following:

Code: Select all

<property name="web.url" value="@actual_url_context@/web"/>
This probably does what you want. However it has a serious flaw: the first client to access the ERP defines where the images,css and js point to. Imagine you alias your server's ip address to "myserver" in /etc/hosts. If you are the first one to enter the site, no one else will be able to access it, unless they define the same alias. You whould make sure the first client access with a "sane" name :-)

By the way, two news:

1. It seems the user manual is finished.
2. Openbravo has just released a new Bitrock based installer. Soon I'll add a chapter covering this.
Thanks!

I have tried bitrock on my amd64 freebsd 6.2. The main problems are exactly same as my 1st posting. And then I do exactly as your 1st answer to my 1 st posting. But no change and no work. Following is the startup procedure of catalina:

./catalina.sh run
Using CATALINA_BASE: /usr/local/tomcat5.5
Using CATALINA_HOME: /usr/local/tomcat5.5
Using CATALINA_TMPDIR: /usr/local/tomcat5.5/temp
Using JRE_HOME: /usr/local/diablo-jdk1.5.0
log4j:INFO Using URL [jar:file:/usr/local/tomcat5.5/common/lib/axis-ant.jar!/log4j.properties] for automatic log4j configuration of repository named [default].
- The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/diablo-jdk1.5.0/jre/lib/amd64/server:/usr/local/diablo-jdk1.5.0/jre/lib/amd64:/usr/local/diablo-jdk1.5.0/jre/../lib/amd64:/usr/lib:/usr/local/lib
- Initializing Coyote HTTP/1.1 on http-8080
- Initialization processed in 3304 ms
- Starting service Catalina
- Starting Servlet Engine: Apache Tomcat/5.5.20
- XML validation disabled
- Deploying web application archive openbravo.war
- validateJarFile(/usr/local/tomcat5.5/webapps/openbravo/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
- org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
- ContextListener: contextInitialized()
- SessionListener: contextInitialized()
- ContextListener: contextInitialized()
- SessionListener: contextInitialized()
- Starting Coyote HTTP/1.1 on http-8080
- JK: ajp13 listening on /0.0.0.0:8009
- Jk running ID=0 time=0/25 config=null
- Find registry server-registry.xml at classpath resource
- Server startup in 19528 ms

Other 3 misc. problems are;

The Apache Tomcat Native library which allows optimal performance in production environments was not found.

XML validation disabled
before deploying

validateJarFile(/usr/local/tomcat5.5/webapps/openbravo/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class.
But if I delete servlet-avi.jar in $CATALINA_HOME/webapps/.....WEB-INF/lib, Above sentence will disappears. but main problem is still exist.

Would you please do me a favor to tell me how to deal with these problems?

Regards!
AMD64 Desktop
Pentium4 Laptop
Pentium3 Server
Top
concord
Apprentice
Apprentice
Posts: 193
Joined: Sun Oct 02, 2005 7:06 pm

  • Quote

Post by concord » Mon Apr 16, 2007 7:15 am

Solved by replace so many 127.0.0.1 with 192.168.X.X.
AMD64 Desktop
Pentium4 Laptop
Pentium3 Server
Top
Post Reply

42 posts
  • 1
  • 2
  • Next

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy