Page History
Scrollbar | ||
---|---|---|
|
...
Composition Setup |
---|
cloak.toggle.type = text
cloak.toggle.open=[show]
cloak.toggle.close=[hide]
|
...
title | Contents |
---|
Toggle Cloak | ||
---|---|---|
|
...
id | TOC |
---|
...
Question: How do I solve caArray 2.2.0+ problems with localhost and related issues?
Topic: caArray Installation and Upgrade
Release: caArray 2.2.0 and above
Date entered: 03/26/2009
Details about the Question
caArray 2.2.0+ problems with localhost, and related issues
I just installed caArray and tried to connect to it with the URL [
Code Block |
---|
...
http://localhost: |
...
<port>/caarray |
...
|
but
...
was
...
not
...
able
...
to,
...
what
...
is
...
the
...
problem?
...
I
...
am
...
able
...
to
...
connect
...
to
...
caArray
...
locally
...
giving
...
the
...
hostname
...
in
...
the
...
URL,
...
but
...
I
...
cannot
...
connect
...
using
...
the
...
same
...
URL
...
from
...
a
...
remote
...
machine
...
on
...
the
...
same
...
network,
...
why?
...
Answer
Starting with caArray release 2.2.0,
...
and
...
going
...
forward,
...
the
...
caArray
...
installer
...
sets
...
the
...
--host
...
flag
...
in
...
the
...
run.bat/run.sh
...
JBoss
...
start-up
...
script
...
to
...
enable
...
remote
...
Java
...
API
...
client
...
access
...
EJBs,
...
etc.
...
A
...
side
...
effect
...
of
...
this
...
change
...
is
...
that
...
caArray's
...
JBoss
...
web
...
container
...
will
...
only
...
respond
...
to
...
requests
...
targeted
...
to
...
that
...
specified
...
host,
...
and
...
not
...
localhost.
...
So,
...
even
...
if
...
you
...
are
...
trying
...
to
...
access
...
the
...
caArray
...
application
...
from
...
the
...
same
...
machine
...
upon
...
which
...
caArray
...
is
...
installed,
...
you
...
will
...
need
...
to
...
specify
...
your
...
URL
...
like
...
this
...
(change
...
hostname
...
and
...
port
...
to
...
your
...
respective
...
values):
Code Block |
---|
http://<hostname>:<port>/caarray |
...
|
Another
...
related
...
problem
...
occurs
...
when
...
there
...
is
...
hostname
...
mapping
...
in
...
the
...
/etc/hosts
...
file
...
similar
...
to
...
this:
Code Block |
---|
*127.0.0.1 myhost.mydomain.com |
...
* |
When this mapping is present no remote host will be able to connect to the caArray application, although you will be able to connect from the same machine if giving the hostname version of the URL, as mentioned above. You should remove such hostname mappings from your caArray server's hosts file as they will prevent remote connection to the caArray application.
Have a comment?
Please leave your comment in the caArray End User Forum.
...