NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titleContents
Toggle Cloak
idTOC
Cloak
idTOC
2

Topic: caArray Installation and Upgrade

...

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 Block

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.

...