abhishek24509 / aribaweb

Automatically exported from code.google.com/p/aribaweb
Apache License 2.0
0 stars 0 forks source link

Errors launching examples #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Several configuration issues could prevent the examples from launching 
correctly:
(See http://aribaweb.org/Documentation/Getting_Started.htm#troubleshooting)

  - Your JAVA_HOME is not set correctly, or points to a JRE (rather than JDK), or your JDK is 1.3 or 1.4
    (rather than the required 1.5 or 1.6)

  - You installed AW to a path where a parent directory has spaces

  - You have an ANT_HOME defined and it points to an old version of Ant (e.g. 1.6 or 1.7.0, rather than 1.7.1)
            **Note:** AribaWeb includes Ant 1.7.1 as part of its distribution.  You are best off clearing your ANT_HOME
            environment variable and letting AW use its bundled Ant

  - You have TOMCAT_HOME, CATALINA_HOME or CATALINA_BASE environment variables defined, and they point
    to an old or customized installation.
            **Note:** AribaWeb includes Tomcat 6 as part of its distribution.  On initialization, the AW build files
            copy the CATALINA_HOME/conf directory and try to update the webserver port in the copied server.xml (to 9080).
            If you have tweaked your server.xml, for instance, AW's attempts to change the port may fail and the app
            may start on a different port (in which case you'll need to access the apps with a different port in you
            URL)

  - You get a debugger port conflict on start up
          By default AW launches the examples with the debugger enabled and set to listen on port 9000.  If you have
          another process using that port the server will fail to start.

  - Everything launched and AW says that it's opening the browser to http://localhost:9080/Demo/AribaWeb,
    but the browser doesn't open
            The auto browser launch feature works only on Mac and Windows and has been known to fail on certain
            Windows machines.  If your browser does not launch, simply manually point your browser at 
http://localhost:9080/Demo/AribaWeb.

Original issue reported on code.google.com by Ariba...@gmail.com on 16 Feb 2009 at 8:35

GoogleCodeExporter commented 8 years ago
I've been unable to get aribaweb demo to run. Running on Mac OSX 10.4.11 
(MacBookPro
2.16gHz, 2GB RAM) it does not open up a browser window nor does the URL work. 
BTW,
setting JAVA_HOME to anything causes the startup to fail. Can we assume that 
the OS X
runtime resolves this? Perhaps the doc's could be updated if so...

Here's the run [sorry for the length]:

Last login: Thu Mar 26 15:22:01 on ttyp1
Welcome to Darwin!
rxs-desktop01:~ user$ cd /aribaweb-5.0RC2/bin
rxs-desktop01:/aribaweb-5.0RC2/bin user$ pwd
/aribaweb-5.0RC2/bin
rxs-desktop01:/aribaweb-5.0RC2/bin user$ java -version
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-275)
Java HotSpot(TM) Client VM (build 1.5.0_16-132, mixed mode, sharing)
rxs-desktop01:/aribaweb-5.0RC2/bin user$ 
rxs-desktop01:/aribaweb-5.0RC2/bin user$ env     
TERM_PROGRAM=Apple_Terminal
GPG_AGENT_INFO=/tmp/gpg-evZe0x/S.gpg-agent:116:1
TERM=xterm-color
SHELL=/bin/bash
TERM_PROGRAM_VERSION=133
OLDPWD=/Users/user
USER=user
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/usr/local/bin:/usr/local/subversion/bin:/bin:/sbin:/usr/bin:/usr/local/bin
:/usr/sbin
PWD=/aribaweb-5.0RC2/bin
SHLVL=1
HOME=/Users/user
LOGNAME=user
SECURITYSESSIONID=4a94a0
_=/usr/bin/env
rxs-desktop01:/aribaweb-5.0RC2/bin user$ ./start&
[1] 1073
rxs-desktop01:/aribaweb-5.0RC2/bin user$ Starting up demo app...
Setting ANT_HOME to bundled Ant:
    export ANT_HOME="/aribaweb-5.0RC2/tools/ant"
    export PATH="$ANT_HOME/bin:$PATH"

Buildfile: /aribaweb-5.0RC2/build.xml

jars:
Invoking subant for target: jar
Trying to override old definition of task module-crawl

init:
Created dir: /aribaweb-5.0RC2/build/derived-src/util

init:
Created dir: /aribaweb-5.0RC2/build/derived-src/expr

init:
Created dir: /aribaweb-5.0RC2/build/derived-src/aribaweb

init:
Created dir: /aribaweb-5.0RC2/build/derived-src/widgets

init:
Created dir: /aribaweb-5.0RC2/build/derived-src/metaui

init:
Created dir: /aribaweb-5.0RC2/build/derived-src/metaui-jpa

init:
Created dir: /aribaweb-5.0RC2/build/derived-src/groovyloader

common.init:
Created dir: /aribaweb-5.0RC2/build/derived-src/aribawebEclipsePlugin

check-missing-eclipse-lib:
Cannot find eclipse libs.  Must set eclipse.lib.dir to point at directory 
containing
openapi.jar and extensions.jar.  Skipping build...

check-missing-idea-lib:
Cannot find idea libs.  Must set idea.lib.dir to point at directory containing
openapi.jar and extensions.jar.  Skipping build...

init:
Created dir: /aribaweb-5.0RC2/build/derived-src/awreload

init:
Created dir: /aribaweb-5.0RC2/build/derived-src/awreload-jmti

common.init:
Created dir: /aribaweb-5.0RC2/build/derived-src/appcore

common.init:
Created dir: /aribaweb-5.0RC2/build/derived-src/Demo

compile-groovy:
Compiling (with groovy) /aribaweb-5.0RC2/examples/Demo
Created dir: /aribaweb-5.0RC2/build/classes/Demo
Compiling 53 source files to /aribaweb-5.0RC2/build/classes/Demo

copy-docroot-resources:
Copying 1 file to /aribaweb-5.0RC2/build/classes/Demo/docroot

copy-resources:
Warning: /aribaweb-5.0RC2/examples/Demo/resource/ariba not found.
Copying 78 files to /aribaweb-5.0RC2/build/classes/Demo

check-aribaweb-properties:
Trying to override old definition of task groovyc

evaluate-template:
Output: AWEvaluateTemplateFile evaluating
/aribaweb-5.0RC2/tools/templates/aribaweb.properties to
/aribaweb-5.0RC2/build/derived-src/Demo/aribaweb.properties ...
Deleting: /tmp/null1145196325.properties

build-jar:
Building jar: /aribaweb-5.0RC2/lib/app.Demo.jar

common.init:
Created dir: /aribaweb-5.0RC2/build/derived-src/MasterDetail

compile-groovy:
Compiling (with groovy) /aribaweb-5.0RC2/examples/MasterDetail
Created dir: /aribaweb-5.0RC2/build/classes/MasterDetail
Compiling 3 source files to /aribaweb-5.0RC2/build/classes/MasterDetail

copy-docroot-resources:
WIDGETS copy-docroot resources
Warning: /aribaweb-5.0RC2/examples/MasterDetail/resource/webserver not found.
Warning: /aribaweb-5.0RC2/examples/MasterDetail/resource/webserver/branding not 
found.

common.copy-resources:
Warning: /aribaweb-5.0RC2/examples/MasterDetail/resource/ariba not found.
Copying 4 files to /aribaweb-5.0RC2/build/classes/MasterDetail

check-persistence-xml:
Trying to override old definition of task groovyc

evaluate-template:
Output: AWEvaluateTemplateFile evaluating
/aribaweb-5.0RC2/tools/templates/persistence.xml to
/aribaweb-5.0RC2/build/derived-src/MasterDetail/persistence.xml ...
Deleting: /tmp/null1693402234.properties

copy-resources:
Copying 1 file to /aribaweb-5.0RC2/build/classes/MasterDetail/META-INF
Copying 1 file to /aribaweb-5.0RC2/build/classes/MasterDetail

check-aribaweb-properties:
Trying to override old definition of task groovyc

evaluate-template:
Output: AWEvaluateTemplateFile evaluating
/aribaweb-5.0RC2/tools/templates/aribaweb.properties to
/aribaweb-5.0RC2/build/derived-src/MasterDetail/aribaweb.properties ...
Deleting: /tmp/null1190236900.properties

merge-jars:
Expanding: /aribaweb-5.0RC2/lib/ariba.appcore.jar into
/aribaweb-5.0RC2/build/classes/MasterDetail

build-jar:
Building jar: /aribaweb-5.0RC2/lib/app.MasterDetail.jar

webapps:
Invoking subant for target: webapp
Trying to override old definition of task module-crawl

init:
Created dir: /aribaweb-5.0RC2/build/derived-src/aribaweb-libs

evaluate-template:
Output: AWEvaluateTemplateFile evaluating 
/aribaweb-5.0RC2/tools/templates/web.xml to
/aribaweb-5.0RC2/build/derived-src/aribaweb-libs/web.xml ...
Deleting: /tmp/null1645320136.properties

evaluate-template:
Output: AWEvaluateTemplateFile evaluating 
/aribaweb-5.0RC2/tools/templates/web.xml to
/aribaweb-5.0RC2/build/derived-src/appcore/web.xml ...
Deleting: /tmp/null1776435269.properties

war-resources:
Created dir: /aribaweb-5.0RC2/webapps/Demo
Expanding: /aribaweb-5.0RC2/lib/ariba.aribaweb.jar into 
/aribaweb-5.0RC2/webapps/Demo
Expanding: /aribaweb-5.0RC2/lib/ariba.metaui.jar into 
/aribaweb-5.0RC2/webapps/Demo
Expanding: /aribaweb-5.0RC2/lib/ariba.widgets.jar into 
/aribaweb-5.0RC2/webapps/Demo
Expanding: /aribaweb-5.0RC2/lib/app.Demo.jar into /aribaweb-5.0RC2/webapps/Demo

evaluate-template:
Output: AWEvaluateTemplateFile evaluating 
/aribaweb-5.0RC2/tools/templates/web.xml to
/aribaweb-5.0RC2/build/derived-src/Demo/web.xml ...
Deleting: /tmp/null217837615.properties

webapp:
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/Demo/WEB-INF
Created dir: /aribaweb-5.0RC2/webapps/Demo/META-INF
Copying 3 files to /aribaweb-5.0RC2/webapps/Demo/META-INF

war-resources:
Created dir: /aribaweb-5.0RC2/webapps/MasterDetail
Expanding: /aribaweb-5.0RC2/lib/ariba.aribaweb.jar into
/aribaweb-5.0RC2/webapps/MasterDetail
Expanding: /aribaweb-5.0RC2/lib/ariba.metaui.jar into
/aribaweb-5.0RC2/webapps/MasterDetail
Expanding: /aribaweb-5.0RC2/lib/ariba.widgets.jar into
/aribaweb-5.0RC2/webapps/MasterDetail
Expanding: /aribaweb-5.0RC2/lib/app.MasterDetail.jar into
/aribaweb-5.0RC2/webapps/MasterDetail

evaluate-template:
Output: AWEvaluateTemplateFile evaluating 
/aribaweb-5.0RC2/tools/templates/web.xml to
/aribaweb-5.0RC2/build/derived-src/MasterDetail/web.xml ...
Deleting: /tmp/null863155569.properties

webapp:
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF/lib
Copying 1 file to /aribaweb-5.0RC2/webapps/MasterDetail/WEB-INF
Created dir: /aribaweb-5.0RC2/webapps/MasterDetail/META-INF
Copying 3 files to /aribaweb-5.0RC2/webapps/MasterDetail/META-INF

init:
Created dir: /aribaweb-5.0RC2/build/derived-src/aribaweb-all

ensure-tomcat-conf:
Copying your CATALINA_HOME/conf from /aribaweb-5.0RC2/tools/tomcat/conf to
/aribaweb-5.0RC2/conf...
Copying 7 files to /aribaweb-5.0RC2

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

-tomcat-debug:
Launching tomcat in debug mode (port 9000) with CATALINA_BASE=/aribaweb-5.0RC2,
([CTRL-C] to stop)...
ARIBA_AWRELOAD=true, jvmarg: 
-javaagent:/aribaweb-5.0RC2/lib/ariba.awreload-jmti.jar,
ANT_HOME=/aribaweb-5.0RC2/tools/ant
Setting
ARIBA_AW_SEARCH_PATH=/aribaweb-5.0RC2/src;/aribaweb-5.0RC2/src/aribaweb;/aribawe
b-5.0RC2/src/awreload/adaptor-jdk15;/aribaweb-5.0RC2/src/awreload;/aribaweb-5.0R
C2/src/expr;/aribaweb-5.0RC2/src/groovyloader;/aribaweb-5.0RC2/src/ideplugin;/ar
ibaweb-5.0RC2/src/metaui-jpa;/aribaweb-5.0RC2/src/metaui;/aribaweb-5.0RC2/src/si
te;/aribaweb-5.0RC2/src/util;/aribaweb-5.0RC2/src/widgets;/aribaweb-5.0RC2/examp
les/AtIssue;/aribaweb-5.0RC2/examples/Demo;/aribaweb-5.0RC2/examples/GuestBook;/
aribaweb-5.0RC2/examples/MasterDetail;/aribaweb-5.0RC2/examples/appcore;/aribawe
b-5.0RC2/src/widgets/resource/webserver/branding/ariba
Connect via http://localhost:9080/Demo/AribaWeb

Original comment by pmengaz...@electrainfo.com on 26 Mar 2009 at 7:33

GoogleCodeExporter commented 8 years ago
I don't see any problem with your log. 

Do you see a line this from Tomcat?
     [java] INFO: Initializing Coyote HTTP/1.1 on http-9150

This would be the right port to use. The "Connect via" log can be wrong if 
server.xml
was modified.  Closing for now.

Original comment by Ariba...@gmail.com on 4 May 2009 at 9:36

GoogleCodeExporter commented 8 years ago
Issue 34 has been merged into this issue.

Original comment by kingsley...@gmail.com on 4 May 2009 at 10:42