Hi
I have looked at java security policy, firewall settings, sniffed the
traffic and more without finding out way the connection fails. As far as
I know IPv6 should normally not be a problem but I started to suspect it
had something to do with it. In my case it seems to have something to do
with the loopback interface.
Anyone else having problem with network access using this command?
deploy --host <local network address> --user <user> --password
<password> --port 1099 login
or better yet a solution ? this may still be a configuration issue.
I will try to find out what is wrong and will get back if I find
something out.
regards
Peter
Rodrigo Rodrigues da Silva wrote:
Hi Peter,
rmi runs on IPv6 here as well. I am not a network expert also, don't
know if this should be a problem, as all ports opened by the java vm
are on IPv6. Here port 1527 (derby) runs on Ipv6, although I could
access derby from a remote machine with no hurt =]
tcp6 0 0 *:1099 *:*
LISTEN 6794/java
tcp6 0 0 *:1527 *:*
LISTEN 6794/java
thanks,
On 8/14/07, *Peter Petersson* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi Rodrigo
As I am also running G on a Ubuntu system (although it's 7.10) I
thought I should give it a try and I get a similar problem
(although I am not really reproducing yours).
In my case I tried the "deploy login" command from a client also
running Ubuntu from within a local network and surprisingly it
failed with the following
Error: Unable to connect to server at
deployer:geronimo:jmx://192.168.2.1:1099 -- Connection refused to
host: 127.0.0.1 <http://127.0.0.1>; nested exception is:
As I am trying this via a local network connection and no firewall
rules should be in the way so I should not get "connection
refused" but I did so if this is suppose to work right out of the
box(?) we may have some weird problem and in my case this could be
related to some IPv6 problem as I found out that the rmiregistry
(port 1099) was running on IPv6
netstat -plt
:
tcp 0 0 *:www
*:* LISTEN -
:
tcp6 0 0 *:rmiregistry
*:* LISTEN -
I don't know way this should be a problem (I am not a network
expert) but apparently something is wrong. However as in your case
from local machine it works fine.
I haven't upgraded to 2.0 yet on the server, so this test has been
done on G v1.1.1 and FYI all the address and port binds are the
defaults (in config.xml) so G and rmiregistry should bind to all
interfaces.
However In your case you get "no such object in table" which to me
looks like you actually got the initial connection on port 1099
but a failure in the object call (using some other port) so our
problems may not be related but anyhow It seem you are not
completely alone on this. You could try sniff the network traffic
with Wireshark (you can do a apt-get if you don't have it
already), you may whant to use some traffic filter for example
"tcp port 1099 || tcp port XXXX" to minimize the noise.
Sry I couldn't help you more with this, lets see what more the G
devs have to say about it ?
regards
Peter Petersson
Rodrigo Rodrigues da Silva wrote:
Hi,
I tried out 2.0-rc1 release (as posted by David to
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>) and
could reproduce bug GERONIMO-3191, which had been considered as
closed.
I have a Ubuntu Linux 7.04 with sun-jdk-1.5.0 running geronimo.
From a Windows Vista Machine I ran the following command:
deploy --host 192.168.0.11 <http://192.168.0.11> --user system
--password manager --port 1099 login
which returned:
Error: Unable to connect to server at
deployer:geronimo:jmx://192.168.0.11 -- no such object in table
if I run it from the server Linux machine, it works.
I haven't ever been able to access remote linux servers
(specially from Eclipse) but this specific situation has been
tested only on this release.
I was wondering if anyone could reproduce it since I may have
commited some configuration mistake. hope it helps.
thanks,
Rodrigo
On 8/9/07, * David Jencks* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I'd recommend trying with the about to be released unless someone
finds a major problem 2.0 release you can find here
http://people.apache.org/~hogstrom/geronimo-2.0-rc1/geronimo-2.0/org/
<http://people.apache.org/%7Ehogstrom/geronimo-2.0-rc1/geronimo-2.0/org/>
apache/geronimo/assemblies/geronimo-tomcat6-jee5/2.0/
You won't have this exact problem because the
JaasLoginServiceRemotingServer gbean isn't in the latest
version.
If you wish to continue with 2.0-M6 the problem is that the
JaasLoginServiceRemotingServer can't figure out what ip
address to
bind onto. Have you perhaps changed var/config/config-
substitutions.properties? Or perhaps your hostnames aren't
quite
right? something seems to expect your computer to be named
"testing"
thanks
david jencks
On Aug 9, 2007, at 9:39 AM, Filipe Sousa wrote:
> Hi!
>
> I just download the last version of geronimo
> (geronimo-tomcat6-jee5-2.0-M6) and I'm trying to start the
server with
> geronimo.sh:
> [EMAIL PROTECTED] ~/opt/geronimo-tomcat6-jee5-2.0-M6/bin $ ./
> geronimo.sh run
>
> but fails at 16%:
> [****> ] 16% 4s Startup failed
>
> The stack trace start with this log (the complete log is
attached)
> 7:22:37,995 ERROR [GBeanInstanceState] Error while starting;
GBean is
> now in the FAILED state:
> abstractName="org.apache.geronimo.configs/j2ee-security/2.0-M6/car?
> ServiceModule=org.apache.geronimo.configs/j2ee-se
> curity/2.0-M6/car,j2eeType=GBean,name=JaasLoginServiceRemotingServer"
>
> This is my first contact with geronimo, maybe I am doing
something
> wrong.
>
> Some useful information of my java environment:
> [EMAIL PROTECTED] ~/opt/geronimo-tomcat6-jee5-2.0-M6 /bin $ echo
> $JAVA_HOME
> /home/fsousa/opt/java/jdk1.5.0_12
> [EMAIL PROTECTED] ~/opt/geronimo-tomcat6-jee5-2.0-M6/bin $ java
-version
> java version "1.5.0_12"
> Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_12-b04)
> Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
>
> --
> Filipe Sousa
> <geronimo.log>
--
Rodrigo Rodrigues da Silva
Engenharia de Computação - Coop8
http://www.coop8.rg.com.br
Grêmio Politécnico - Gestão Colabora
http://www.gremio.poli.usp.br
"Não importa como morre o home, importa como vive." Carijó, velho
do rio.
"To the person with only a hammer, everything looks like a nail."
bussdriver
--
Rodrigo Rodrigues da Silva
Engenharia de Computação - Coop8
http://www.coop8.rg.com.br
Grêmio Politécnico - Gestão Colabora
http://www.gremio.poli.usp.br
"Não importa como morre o home, importa como vive." Carijó, velho
do rio.
"To the person with only a hammer, everything looks like a nail."
bussdriver
--
Rodrigo Rodrigues da Silva
Engenharia de Computação - Coop8
http://www.coop8.rg.com.br
Grêmio Politécnico - Gestão Colabora
http://www.gremio.poli.usp.br
"Não importa como morre o home, importa como vive." Carijó, velho do rio.
"To the person with only a hammer, everything looks like a nail."
bussdriver