Building from svn

2 views
Skip to first unread message

Mauricio

unread,
May 1, 2009, 2:33:46 PM5/1/09
to AribaWeb (aribaweb.org)
Hi,

Can someone explain how to build from svn?

I'm trying to compile from svn using Kubuntu 9.04.
First, I installed jdk1.6, then ant1.71 and tomcat 5.5.
I've exported AW_HOME, ANT_HOME and TOMCAT_HOME. Moved to aribaweb-
readonly directory and run bin/aw ant:

The erros was:

ensure-tomcat-conf:
[echo] Copying your CATALINA_HOME/conf from /usr/share/tomcat5.5/
bin/conf to /home/mauricio/aribaweb-read-only/conf...

update-conf-port:
[echo] Updating tomcat server.xml with port prefix: 9

BUILD FAILED
/home/mauricio/aribaweb-read-only/tools/build-common.xml:818: The
following error occurred while executing this line:
/home/mauricio/aribaweb-read-only/tools/build-common.xml:823: Script
Failed: /home/mauricio/aribaweb-read-only/conf/server.xml (No such
file or directory)

If I copy the CATALINA_HOME/conf from /usr/share/tomcat5.5/bin/conf
to /home/mauricio/aribaweb-read-only/conf then the error is

[echo] Connect via http://localhost:9080/Demo/AribaWeb
[java] Listening for transport dt_socket at address: 9000
[java] Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory
[java] at org.apache.catalina.startup.Bootstrap.<clinit>
(Bootstrap.java:54)
[java] Caused by: java.lang.ClassNotFoundException:
org.apache.commons.logging.LogFactory
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:
200)
[java] at java.security.AccessController.doPrivileged(Native
Method)
[java] at java.net.URLClassLoader.findClass
(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:
307)
[java] at sun.misc.Launcher$AppClassLoader.loadClass
(Launcher.java:301)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:
252)
[java] at java.lang.ClassLoader.loadClassInternal
(ClassLoader.java:320)
[java] ... 1 more
[java] Could not find the main class:
org.apache.catalina.startup.Bootstrap. Program will exit.
[java] Java Result: 1

-tomcat-no-debug:

tomcat:

tomcat-build:

BUILD SUCCESSFUL
Total time: 15 seconds

Then localhost:9080/Demo;AribaWeb does not open.


What am I doing wrong? Any help?

Thanks,
Mauricio

Kingsley

unread,
May 1, 2009, 5:11:22 PM5/1/09
to AribaWeb (aribaweb.org)
Hi Mauricio,

I think we expect Tomcat 6.0. The conf structure is different from
Tomcat 5. Can you upgrade Tomcat and try again?

Thanks,
Kingsley

On May 1, 11:33 am, Mauricio <moby...@gmail.com> wrote:
> Hi,
>
> Can someone explain how to build from svn?
>
> I'm trying to compile from svn using Kubuntu 9.04.
> First, I installed jdk1.6, then ant1.71 and tomcat 5.5.
> I've exported AW_HOME, ANT_HOME and TOMCAT_HOME. Moved to aribaweb-
> readonly directory and run bin/aw ant:
>
> The erros was:
>
> ensure-tomcat-conf:
>      [echo] Copying your CATALINA_HOME/conf from /usr/share/tomcat5.5/
> bin/conf to /home/mauricio/aribaweb-read-only/conf...
>
> update-conf-port:
>      [echo] Updating tomcat server.xml with port prefix: 9
>
> BUILD FAILED
> /home/mauricio/aribaweb-read-only/tools/build-common.xml:818: The
> following error occurred while executing this line:
> /home/mauricio/aribaweb-read-only/tools/build-common.xml:823: Script
> Failed: /home/mauricio/aribaweb-read-only/conf/server.xml (No such
> file or directory)
>
> If I copy the  CATALINA_HOME/conf from /usr/share/tomcat5.5/bin/conf
> to /home/mauricio/aribaweb-read-only/conf  then the error is
>
>    [echo] Connect viahttp://localhost:9080/Demo/AribaWeb

Mauricio

unread,
May 2, 2009, 7:19:54 AM5/2/09
to AribaWeb (aribaweb.org)
Hi Kingsley,

Thank you. Tomcat5.5 was removed and Tomcat6 was installed, and I get
the same error.

Do you build from svn? What do you do to build sucessful?

Best Regards,
Mauricio

Kingsley

unread,
May 15, 2009, 7:11:34 PM5/15/09
to AribaWeb (aribaweb.org)
Hi Mauricio,

I think you are hitting the issue described here:

http://forums.fedoraforum.org/showthread.php?t=189099

Can you try out the workaround described in there?

Thanks,
Kingsley
Reply all
Reply to author
Forward
0 new messages