Re: Can't remote access geronimo 2.0 on Linux (GERONIMO-3191)

2007-08-19 Thread Kevan Miller


On Aug 18, 2007, at 11:59 PM, Rodrigo Rodrigues da Silva wrote:


Donald,

thanks for your help, but it didn't work out. If it were the  
problem, wouldn't have worked on windows before, I guess. Well,  
about Linux distros I've tested on ubuntu feisty and debian etch.  
none worked.




I'm able to login, list-modules, to a remote linux box without a  
problem (using G 2.0.1 Mac OS X -> SLES). I didn't need to make any  
updates to my config.xml.


I did run into a problem deploying a WAR. Donald, I recall you had a  
remote-deploy jira recently. Would that explain the following?


Uploading 1 file(s) to server
unknown protocol: localhost
Error: Unable to distribute HelloWorld.war:
java.io.FileNotFoundException: /Users/kevan/HelloWorld.war (No such
file or directory)

/Users/kevan/HelloWorld.war (No such file or directory)

--kevan


Re: Can't remote access geronimo 2.0 on Linux (GERONIMO-3191)

2007-08-18 Thread Rodrigo Rodrigues da Silva
Donald,

thanks for your help, but it didn't work out. If it were the problem,
wouldn't have worked on windows before, I guess. Well, about Linux distros
I've tested on ubuntu feisty and debian etch. none worked.

thanks,
Rodrigo

On 8/15/07, Donald Woods <[EMAIL PROTECTED]> wrote:
>
> Have you updated the config.xml, to allow access to the remote deployer,
> which
> was recently changed to only listen to localhost:8080 ?
>
> In config.xml, replace -
>   name="org.apache.geronimo.configs
> /geronimo-gbean-deployer/${version}/car"/>
>
> with -
>   name="org.apache.geronimo.configs/geronimo-gbean-deployer/${version}/car">
>  
>   name="remoteDeployAddress">YOUR_HOSTNAME:8080
>  
>  
>
> and see if that helps (which I forgot that I had already done on my
> machines)
>
> -Donald
>
>
>
> Rodrigo Rodrigues da Silva wrote:
> > Hi,
> >
> > I tried out 2.0-rc1 release (as posted by David to
> > [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  --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]
> > > 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
> >  > 
> >
> >
> >
> >
> > --
> > 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 v

Re: Can't remote access geronimo 2.0 on Linux (GERONIMO-3191)

2007-08-15 Thread Donald Woods
Have you updated the config.xml, to allow access to the remote deployer, which 
was recently changed to only listen to localhost:8080 ?


In config.xml, replace -
name="org.apache.geronimo.configs/geronimo-gbean-deployer/${version}/car"/>


with -
name="org.apache.geronimo.configs/geronimo-gbean-deployer/${version}/car">


YOUR_HOSTNAME:8080



and see if that helps (which I forgot that I had already done on my 
machines)

-Donald



Rodrigo Rodrigues da Silva wrote:

Hi,

I tried out 2.0-rc1 release (as posted by David to 
[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  --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] 
> 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/

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
 > 




--
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


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Can't remote access geronimo 2.0 on Linux (GERONIMO-3191)

2007-08-15 Thread Donald Woods

I'm still not seeing this problem
My setup is -
   SLES10 w/ Sun 1.5.0_11 and Geronimo 2.0
   WinXP w/ Sun 1.5.0_11 and Geronimo 2.0

Both machines are on the same subnet and do not have IPv6 configured or 
enabled on the Ethernet adapters.


From SLES, the following works:
   deploy -host winxp list-modules
From WinXP, the following works:
   deploy -host sles list-modules

Can you try disabling IPv6 if its not required for your setup?

-Donald

Peter Petersson wrote:
I can still not tell you whats wrong but I now think it is safe to say 
that it is definitely not any firewall rules in the way (and I get the 
same error as you do). I checked all my firewall rules "iptables -L" and 
to be on the safe side I also turned on logging on iptables reject and 
drop rules and as suspected nothing was found.
The other thing i did was turning on logging of rmi gc via 
-Dsun.rmi.dgc.loglevel=VERBOSE  but that didn't give me any information 
ether.

Sun jdk build 1.5.0_06-b05, Ubuntu 7.10, G 1.1.1.

regards
   Peter Petersson

Peter Petersson wrote:

Okey now I get exactly the same error as you

Error: Unable to connect to server at
deployer:geronimo:jmx://192.168.2.1:1099 -- no such object in table

regards
  Peter Petersson

Rodrigo Rodrigues da Silva wrote:

Hi,

I tried out 2.0-rc1 release (as posted by David to 
[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  --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] 
> 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/

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
> 




--
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.

"T

Re: Can't remote access geronimo 2.0 on Linux (GERONIMO-3191)

2007-08-15 Thread Peter Petersson
I can still not tell you whats wrong but I now think it is safe to say 
that it is definitely not any firewall rules in the way (and I get the 
same error as you do). I checked all my firewall rules "iptables -L" and 
to be on the safe side I also turned on logging on iptables reject and 
drop rules and as suspected nothing was found.
The other thing i did was turning on logging of rmi gc via 
-Dsun.rmi.dgc.loglevel=VERBOSE  but that didn't give me any information 
ether.

Sun jdk build 1.5.0_06-b05, Ubuntu 7.10, G 1.1.1.

regards
  Peter Petersson

Peter Petersson wrote:

Okey now I get exactly the same error as you

Error: Unable to connect to server at
deployer:geronimo:jmx://192.168.2.1:1099 -- no such object in table

regards
  Peter Petersson

Rodrigo Rodrigues da Silva wrote:

Hi,

I tried out 2.0-rc1 release (as posted by David to 
[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  --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] 
> 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/

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
> 




--
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 






Re: Can't remote access geronimo 2.0 on Linux (GERONIMO-3191)

2007-08-15 Thread Peter Petersson

Okey now I get exactly the same error as you

   Error: Unable to connect to server at
   deployer:geronimo:jmx://192.168.2.1:1099 -- no such object in table

regards
 Peter Petersson

Rodrigo Rodrigues da Silva wrote:

Hi,

I tried out 2.0-rc1 release (as posted by David to 
[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  --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] 
> 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/

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
> 




--
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 




Re: Can't remote access geronimo 2.0 on Linux (GERONIMO-3191)

2007-08-15 Thread Peter Petersson

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  --user  --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] 
> 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 ; 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
:
   tcp0  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 " 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] ) 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  --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]
> 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/


apache/geronimo/assemblies/geronimo-tomcat6-jee5/2.0/

You won't have this exact problem because the
JaasLoginServiceRemotingServer  gbean i

Re: Can't remote access geronimo 2.0 on Linux (GERONIMO-3191)

2007-08-14 Thread Rodrigo Rodrigues da Silva
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]> 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; 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
> :
>tcp0  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 " 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]) 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 --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]> 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/
> > 
> > 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=

Re: Can't remote access geronimo 2.0 on Linux (GERONIMO-3191)

2007-08-14 Thread Peter Petersson

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; 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
   :
  tcp0  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 " 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] ) 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  --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] 
> 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/

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 PROTECTE

Re: Can't remote access geronimo 2.0 on Linux (GERONIMO-3191)

2007-08-14 Thread Donald Woods
Have you verified there is no firewall running on your Linux box and that the 
Windows machine can ping the Linux box with the IP address you are using?


-Donald

Rodrigo Rodrigues da Silva wrote:

Hi,

I tried out 2.0-rc1 release (as posted by David to 
[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  --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] 
> 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/

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
 > 




--
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


smime.p7s
Description: S/MIME Cryptographic Signature


Can't remote access geronimo 2.0 on Linux (GERONIMO-3191)

2007-08-14 Thread Rodrigo Rodrigues da Silva
Hi,

I tried out 2.0-rc1 release (as posted by David to [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 --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]> 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/
> 
> 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
> > 
>
>


-- 
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