NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Scrollbar
iconsfalse

...

Composition Setup

cloak.toggle.type = text
cloak.toggle.open=[show]
cloak.toggle.close=[hide]

...

titleContents
Toggle Cloak
idTOC

...

idTOC

...

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

...

code
 

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

...

code


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

...

code
*

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.

...