Skip to main content

glassfish and clusters on 2 PCs

23 replies [Last post]
Anonymous

Hello everyone,

I have two PCs on which I usually have installed glassfish separately.

I need to upgrade my server to the new release, glassfish v3. But have

installed it and shows as v2.1. Not sure why? Windows XP Vista on the other.

Read about Clusters. And read that I may also need to configure glassfish to work across network.

Please, could anybody share knowledge on how to approach this.

any suggestion greatly appreciated.

eve

_________________________________________________________________
With Windows Live, you can organise, edit, and share your photos.
http://clk.atdmt.com/UKM/go/134665338/direct/01/
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Arun Gupta

You can also try the script mentioned in the blog at:

http://blogs.sun.com/arungupta/entry/glassfish_asadmin_cli_driven_cluster

This script takes a GlassFish bundle, installs it, configures the
cluster, creates the instances, deploy an application and starts the
cluster - all using asadmin CLI.

Thanks
-Arun

glassfish@javadesktop.org wrote:
> Hello everyone,
>
> John,
>
> I am actually quite behind I have followed the video from Youtube but get this
> error when I try to install the cluster part-
>
>
> C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> Buildfile: setup-cluster.xml does not exist!
> Build failed
> C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> Buildfile: setup-cluster.xml does not exist!
> Build failed
> C:\glassfish\lib\ant\bin>
>
>
> My settings as followings:
>
> ANT_HOME
>
> C:\glassfish\lib\ant
>
> JAVA_HOME
>
> C:\Program Files\Java\jdk1.6.0_03
>
>
> JAVAEE_HOME
>
> C:/glassfish
>
> Is there something Im doing wrong?
>
> Thank you all
>
> eve
> [Message sent by forum member 'eve2' (eve2)]
>
> http://forums.java.net/jive/thread.jspa?messageID=359449
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

--
Need Application Server ? Download from http://glassfish.org
Blog: http://blogs.sun.com/arungupta

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Eve Pokua

Hello,

Thank you all.

this works.

cd to c:\glassfish

then in that directory run

.\lib\ant\bin\ant -f setup-cluster.xml

Also, upgrade to JDK 6 u14 for better performance.
hth

so now I am trying to start the node agent.

C:\glassfish\bin>asadmin start-node-agent nodeagent1XPhm
Please enter the admin user name>admin
Please enter the admin password>
Please enter the master password [Enter to accept the default]:>
Password entered is invalid
CLI137 Command start-node-agent failed.

isn't the default pwd is

adminadmin

and user is

admin

So

Please enter the admin user name>admin
Please enter the admin password>adminadmin
Please enter the master password [Enter to accept the default]:>

????

thanks

eve

> Date: Fri, 7 Aug 2009 10:05:39 -0700
> From: Arun.Gupta@Sun.COM
> To: users@glassfish.dev.java.net
> Subject: Re: glassfish and clusters on 2 PCs
>
> You can also try the script mentioned in the blog at:
>
> http://blogs.sun.com/arungupta/entry/glassfish_asadmin_cli_driven_cluster
>
> This script takes a GlassFish bundle, installs it, configures the
> cluster, creates the instances, deploy an application and starts the
> cluster - all using asadmin CLI.
>
> Thanks
> -Arun
>
> glassfish@javadesktop.org wrote:
> > Hello everyone,
> >
> > John,
> >
> > I am actually quite behind I have followed the video from Youtube but get this
> > error when I try to install the cluster part-
> >
> >
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>
> >
> >
> > My settings as followings:
> >
> > ANT_HOME
> >
> > C:\glassfish\lib\ant
> >
> > JAVA_HOME
> >
> > C:\Program Files\Java\jdk1.6.0_03
> >
> >
> > JAVAEE_HOME
> >
> > C:/glassfish
> >
> > Is there something Im doing wrong?
> >
> > Thank you all
> >
> > eve
> > [Message sent by forum member 'eve2' (eve2)]
> >
> > http://forums.java.net/jive/thread.jspa?messageID=359449
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail: users-help@glassfish.dev.java.net
> >
>
> --
> Need Application Server ? Download from http://glassfish.org
> Blog: http://blogs.sun.com/arungupta
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

_________________________________________________________________
Celebrate a decade of Messenger with free winks, emoticons, display pics, and more.
http://clk.atdmt.com/UKM/go/157562755/direct/01/
[att1.html]

Anissa Lam

[att1.html]

Eve Pokua

Hello

Anissa,

I must have than sothing wrong

I wish to get rid of this nodeagent and create it again. How?

Belong is the error

Exception in thread "Thread-1" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-2" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-3" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
[#|2009-08-07T20:26:47.968+0100|SEVERE|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;hmpcuse;8686;|NAGT0026:There was a connection failure while trying to connect to the Domain Administration Server (DAS) end point: [host=hmpcuse], [port=8686]. This could mean that there was a network failure.|#]

[#|2009-08-07T20:26:48.359+0100|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;admin;|SEC5046: Audit: Authentication refused for [admin].|#]

[#|2009-08-07T20:26:50.359+0100|WARNING|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0013:Stopping Node Agent...|#]

eve

Date: Fri, 7 Aug 2009 11:05:49 -0700
From: Anissa.Lam@Sun.COM
To: users@glassfish.dev.java.net
Subject: Re: glassfish and clusters on 2 PCs

Hi Eve,

Please enter the master password [Enter to accept the default]:>

????

thanks

eve
The default master password is changeit
If you just press Enter, it should mean use the default, which is 'changeit'.

Anissa.

Eve Pokua wrote:

Hello,

Thank you all.

this works.

cd to c:\glassfish

then in that directory run

.\lib\ant\bin\ant -f setup-cluster.xml

Also, upgrade to JDK 6 u14 for better performance.
hth

so now I am trying to start the node agent.

C:\glassfish\bin>asadmin start-node-agent nodeagent1XPhm
Please enter the admin user name>admin
Please enter the admin password>
Please enter the master password [Enter to accept the default]:>
Password entered is invalid
CLI137 Command start-node-agent failed.

isn't the default pwd is

adminadmin

and user is

admin

So

Please enter the admin user name>admin
Please enter the admin password>adminadmin
Please enter the master password [Enter to accept the default]:>

????

thanks

eve

> Date: Fri, 7 Aug 2009 10:05:39 -0700
> From: Arun.Gupta@Sun.COM
> To: users@glassfish.dev.java.net
> Subject: Re: glassfish and clusters on 2 PCs
>
> You can also try the script mentioned in the blog at:
>
> http://blogs.sun.com/arungupta/entry/glassfish_asadmin_cli_driven_cluster
>
> This script takes a GlassFish bundle, installs it, configures the
> cluster, creates the instances, deploy an application and starts the
> cluster - all using asadmin CLI.
>
> Thanks
> -Arun
>
> glassfish@javadesktop.org wrote:
> > Hello everyone,
> >
> > John,
> >
> > I am actually quite behind I have followed the video from Youtube but get this
> > error when I try to install the cluster part-
> >
> >
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>
> >
> >
> > My settings as followings:
> >
> > ANT_HOME
> >
> > C:\glassfish\lib\ant
> >
> > JAVA_HOME
> >
> > C:\Program Files\Java\jdk1.6.0_03
> >
> >
> > JAVAEE_HOME
> >
> > C:/glassfish
> >
> > Is there something Im doing wrong?
> >
> > Thank you all
> >
> > eve
> > [Message sent by forum member 'eve2' (eve2)]
> >
> > http://forums.java.net/jive/thread.jspa?messageID=359449
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail: users-help@glassfish.dev.java.net
> >
>
> --
> Need Application Server ? Download from http://glassfish.org
> Blog: http://blogs.sun.com/arungupta
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons. Get Them Now--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net
_________________________________________________________________
Windows Live Messenger: Thanks for 10 great years—enjoy free winks and emoticons.
http://clk.atdmt.com/UKM/go/157562755/direct/01/
[att1.html]

Anissa Lam

[att1.html]

Eve Pokua

From: gorgeous65@msn.com
To: users@glassfish.dev.java.net
Subject: RE: glassfish and clusters on 2 PCs
Date: Fri, 7 Aug 2009 21:43:54 +0100

Anissa,

Thank you.

I will recreate the agent and resovle this later.

Now,

to approach the issue wth the second PC,

Do I install glassfish v2.1 cluster the same way as I've done on
the first PC.

Then if all goes well and I am able to start the node agent.

I assume, I would deploy application to a cluster,

and because the node belongs to the host on the

network, the application and its configurations would be config

to both the host and the other PC.

eve

Date: Fri, 7 Aug 2009 13:06:00 -0700
From: Anissa.Lam@Sun.COM
To: users@glassfish.dev.java.net
Subject: Re: glassfish and clusters on 2 PCs

Hi Eve,

I wish to get rid of this nodeagent and create it again. How?
You need to use CLI delete-node-agent command to delete the node agent.

usage: delete-node-agent [--terse=false] [--echo=false] [--interactive=true] [--agentdir nodeagent_path] nodeagent_name

and then create it again by create-node-agent command

Usage: create-node-agent [--terse=false] [--echo=false] [--interactive=true] [--host DAS_host(Default localhost)] [--port 4848|4849] [--user DAS_user] [--passwordfile file_name] [--agentdir nodeagent_path] [--agentport port_number] [--savemasterpassword=false] [--secure=true] [--agentproperties (name=value)[:name=value]*] [nodeagent_name]

Anissa.

Eve Pokua wrote:

Hello

Anissa,

I must have than sothing wrong
I wish to get rid of this nodeagent and create it again. How?

Belong is the error

Exception in thread "Thread-1" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-2" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-3" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
[#|2009-08-07T20:26:47.968+0100|SEVERE|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;hmpcuse;8686;|NAGT0026:There was a connection failure while trying to connect to the Domain Administration Server (DAS) end point: [host=hmpcuse], [port=8686]. This could mean that there was a network failure.|#]
[#|2009-08-07T20:26:48.359+0100|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;admin;|SEC5046: Audit: Authentication refused for [admin].|#]
[#|2009-08-07T20:26:50.359+0100|WARNING|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0013:Stopping Node Agent...|#]

eve

Date: Fri, 7 Aug 2009 11:05:49 -0700
From: Anissa.Lam@Sun.COM
To: users@glassfish.dev.java.net
Subject: Re: glassfish and clusters on 2 PCs

Hi Eve,

Please enter the master password [Enter to accept the default]:>

????

thanks

eve
The default master password is changeit
If you just press Enter, it should mean use the default, which is 'changeit'.

Anissa.

Eve Pokua wrote:

Hello,

Thank you all.

this works.

cd to c:\glassfish

then in that directory run

.\lib\ant\bin\ant -f setup-cluster.xml

Also, upgrade to JDK 6 u14 for better performance.
hth

so now I am trying to start the node agent.

C:\glassfish\bin>asadmin start-node-agent nodeagent1XPhm
Please enter the admin user name>admin
Please enter the admin password>
Please enter the master password [Enter to accept the default]:>
Password entered is invalid
CLI137 Command start-node-agent failed.

isn't the default pwd is

adminadmin

and user is

admin

So

Please enter the admin user name>admin
Please enter the admin password>adminadmin
Please enter the master password [Enter to accept the default]:>

????

thanks

eve

> Date: Fri, 7 Aug 2009 10:05:39 -0700
> From: Arun.Gupta@Sun.COM
> To: users@glassfish.dev.java.net
> Subject: Re: glassfish and clusters on 2 PCs
>
> You can also try the script mentioned in the blog at:
>
> http://blogs.sun.com/arungupta/entry/glassfish_asadmin_cli_driven_cluster
>
> This script takes a GlassFish bundle, installs it, configures the
> cluster, creates the instances, deploy an application and starts the
> cluster - all using asadmin CLI.
>
> Thanks
> -Arun
>
> glassfish@javadesktop.org wrote:
> > Hello everyone,
> >
> > John,
> >
> > I am actually quite behind I have followed the video from Youtube but get this
> > error when I try to install the cluster part-
> >
> >
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>
> >
> >
> > My settings as followings:
> >
> > ANT_HOME
> >
> > C:\glassfish\lib\ant
> >
> > JAVA_HOME
> >
> > C:\Program Files\Java\jdk1.6.0_03
> >
> >
> > JAVAEE_HOME
> >
> > C:/glassfish
> >
> > Is there something Im doing wrong?
> >
> > Thank you all
> >
> > eve
> > [Message sent by forum member 'eve2' (eve2)]
> >
> > http://forums.java.net/jive/thread.jspa?messageID=359449
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail: users-help@glassfish.dev.java.net
> >
>
> --
> Need Application Server ? Download from http://glassfish.org
> Blog: http://blogs.sun.com/arungupta
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons. Get Them Now--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net

Internet Explorer 8 - accelerate your Hotmail. Download Internet Explorer 8--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net
_________________________________________________________________
Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons.
http://clk.atdmt.com/UKM/go/157562755/direct/01/
[att1.html]

Eve Pokua

Hello everyone,

I have cluster installed on one PC glassfish v2.1

And I had

Sun Java System Application Server 9.1 (build b58g-fcs)
installed on the other machine. I turned this into a cluster

installation from the admin console. So now the two PC

application servers communicate with each other and I was able

to create a node on one PC for the other. And once, I restarted

the node agent, it shows within the admin console of the other PC.

Which is greate.

My problem is, I don't want to keep the old application server

Sun Java System Application Server 9.1 (build b58g-fcs)

but upgrade to the new glassfish v2.1. If I just installed it, it will have

port problems. I would like to installe the new version and keep the default

port numbers. So how do I approach this.

Do I uninstall the old

Sun Java System Application Server 9.1 (build b58g-fcs)

and installed the new version?

eve

From: gorgeous65@msn.com
To: users@glassfish.dev.java.net
Date: Fri, 7 Aug 2009 21:55:34 +0100
Subject: RE: glassfish and clusters on 2 PCs

From: gorgeous65@msn.com
To: users@glassfish.dev.java.net
Subject: RE: glassfish and clusters on 2 PCs
Date: Fri, 7 Aug 2009 21:43:54 +0100

Anissa,

Thank you.

I will recreate the agent and resovle this later.

Now,

to approach the issue wth the second PC,

Do I install glassfish v2.1 cluster the same way as I've done on
the first PC.

Then if all goes well and I am able to start the node agent.

I assume, I would deploy application to a cluster,
and because the node belongs to the host on the
network, the application and its configurations would be config
to both the host and the other PC.

eve

Date: Fri, 7 Aug 2009 13:06:00 -0700
From: Anissa.Lam@Sun.COM
To: users@glassfish.dev.java.net
Subject: Re: glassfish and clusters on 2 PCs

Hi Eve,

I wish to get rid of this nodeagent and create it again. How?
You need to use CLI delete-node-agent command to delete the node agent.

usage: delete-node-agent [--terse=false] [--echo=false] [--interactive=true] [--agentdir nodeagent_path] nodeagent_name

and then create it again by create-node-agent command

Usage: create-node-agent [--terse=false] [--echo=false] [--interactive=true] [--host DAS_host(Default localhost)] [--port 4848|4849] [--user DAS_user] [--passwordfile file_name] [--agentdir nodeagent_path] [--agentport port_number] [--savemasterpassword=false] [--secure=true] [--agentproperties (name=value)[:name=value]*] [nodeagent_name]

Anissa.

Eve Pokua wrote:

Hello

Anissa,

I must have than sothing wrong
I wish to get rid of this nodeagent and create it again. How?

Belong is the error

Exception in thread "Thread-1" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-2" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-3" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
[#|2009-08-07T20:26:47.968+0100|SEVERE|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;hmpcuse;8686;|NAGT0026:There was a connection failure while trying to connect to the Domain Administration Server (DAS) end point: [host=hmpcuse], [port=8686]. This could mean that there was a network failure.|#]
[#|2009-08-07T20:26:48.359+0100|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;admin;|SEC5046: Audit: Authentication refused for [admin].|#]
[#|2009-08-07T20:26:50.359+0100|WARNING|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0013:Stopping Node Agent...|#]

eve

Date: Fri, 7 Aug 2009 11:05:49 -0700
From: Anissa.Lam@Sun.COM
To: users@glassfish.dev.java.net
Subject: Re: glassfish and clusters on 2 PCs

Hi Eve,

Please enter the master password [Enter to accept the default]:>

????

thanks

eve
The default master password is changeit
If you just press Enter, it should mean use the default, which is 'changeit'.

Anissa.

Eve Pokua wrote:

Hello,

Thank you all.

this works.

cd to c:\glassfish

then in that directory run

.\lib\ant\bin\ant -f setup-cluster.xml

Also, upgrade to JDK 6 u14 for better performance.
hth

so now I am trying to start the node agent.

C:\glassfish\bin>asadmin start-node-agent nodeagent1XPhm
Please enter the admin user name>admin
Please enter the admin password>
Please enter the master password [Enter to accept the default]:>
Password entered is invalid
CLI137 Command start-node-agent failed.

isn't the default pwd is

adminadmin

and user is

admin

So

Please enter the admin user name>admin
Please enter the admin password>adminadmin
Please enter the master password [Enter to accept the default]:>

????

thanks

eve

> Date: Fri, 7 Aug 2009 10:05:39 -0700
> From: Arun.Gupta@Sun.COM
> To: users@glassfish.dev.java.net
> Subject: Re: glassfish and clusters on 2 PCs
>
> You can also try the script mentioned in the blog at:
>
> http://blogs.sun.com/arungupta/entry/glassfish_asadmin_cli_driven_cluster
>
> This script takes a GlassFish bundle, installs it, configures the
> cluster, creates the instances, deploy an application and starts the
> cluster - all using asadmin CLI.
>
> Thanks
> -Arun
>
> glassfish@javadesktop.org wrote:
> > Hello everyone,
> >
> > John,
> >
> > I am actually quite behind I have followed the video from Youtube but get this
> > error when I try to install the cluster part-
> >
> >
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>
> >
> >
> > My settings as followings:
> >
> > ANT_HOME
> >
> > C:\glassfish\lib\ant
> >
> > JAVA_HOME
> >
> > C:\Program Files\Java\jdk1.6.0_03
> >
> >
> > JAVAEE_HOME
> >
> > C:/glassfish
> >
> > Is there something Im doing wrong?
> >
> > Thank you all
> >
> > eve
> > [Message sent by forum member 'eve2' (eve2)]
> >
> > http://forums.java.net/jive/thread.jspa?messageID=359449
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail: users-help@glassfish.dev.java.net
> >
>
> --
> Need Application Server ? Download from http://glassfish.org
> Blog: http://blogs.sun.com/arungupta
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons. Get Them Now--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net

Internet Explorer 8 - accelerate your Hotmail. Download Internet Explorer 8--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net

Windows Live Messenger: Thanks for 10 great years-enjoy free winks and emoticons. Get Them Now
_________________________________________________________________

Upgrade to Internet Explorer 8 Optimised for MSN.

http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U
[att1.html]

gorgeous65@msn.com

Hello everyone,

Has anyone seen this error:

Deploying application in domain failed; Error loading deployment descriptors for module [KAKENTERPRISE] -- Invalid ejb jar [c:\jee\KAKENTERPRISE]: it contains zero ejb. Note: 1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message driven bean. 2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar. 3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven), plea...

I am getting it on both Sun application server 9.1 cluster and Glassfish v2.1 cluster.

Thanks

eve

From: Eve Pokua
Sent: Wednesday, August 12, 2009 10:35 AM
To: glassfish users GFusers
Subject: RE: glassfish and clusters on 2 PCs

Hello everyone,

I have cluster installed on one PC glassfish v2.1
And I had

Sun Java System Application Server 9.1 (build b58g-fcs)
installed on the other machine. I turned this into a cluster
installation from the admin console. So now the two PC
application servers communicate with each other and I was able
to create a node on one PC for the other. And once, I restarted
the node agent, it shows within the admin console of the other PC.

Which is greate.

My problem is, I don't want to keep the old application server

Sun Java System Application Server 9.1 (build b58g-fcs)

but upgrade to the new glassfish v2.1. If I just installed it, it will have
port problems. I would like to installe the new version and keep the default
port numbers. So how do I approach this.

Do I uninstall the old

Sun Java System Application Server 9.1 (build b58g-fcs)

and installed the new version?

eve

--------------------------------------------------------------------------------
From: gorgeous65@msn.com
To: users@glassfish.dev.java.net
Date: Fri, 7 Aug 2009 21:55:34 +0100
Subject: RE: glassfish and clusters on 2 PCs

--------------------------------------------------------------------------------

From: gorgeous65@msn.com
To: users@glassfish.dev.java.net
Subject: RE: glassfish and clusters on 2 PCs
Date: Fri, 7 Aug 2009 21:43:54 +0100

Anissa,

Thank you.

I will recreate the agent and resovle this later.

Now,

to approach the issue wth the second PC,

Do I install glassfish v2.1 cluster the same way as I've done on
the first PC.

Then if all goes well and I am able to start the node agent.

I assume, I would deploy application to a cluster,
and because the node belongs to the host on the
network, the application and its configurations would be config
to both the host and the other PC.

eve

--------------------------------------------------------------------------------

Date: Fri, 7 Aug 2009 13:06:00 -0700
From: Anissa.Lam@Sun.COM
To: users@glassfish.dev.java.net
Subject: Re: glassfish and clusters on 2 PCs

Hi Eve,

I wish to get rid of this nodeagent and create it again. How?

You need to use CLI delete-node-agent command to delete the node agent.

usage: delete-node-agent [--terse=false] [--echo=false] [--interactive=true] [--agentdir nodeagent_path] nodeagent_name

and then create it again by create-node-agent command

Usage: create-node-agent [--terse=false] [--echo=false] [--interactive=true] [--host DAS_host(Default localhost)] [--port 4848|4849] [--user DAS_user] [--passwordfile file_name] [--agentdir nodeagent_path] [--agentport port_number] [--savemasterpassword=false] [--secure=true] [--agentproperties (name=value)[:name=value]*] [nodeagent_name]

Anissa.

Eve Pokua wrote:
Hello

Anissa,

I must have than sothing wrong
I wish to get rid of this nodeagent and create it again. How?

Belong is the error

Exception in thread "Thread-1" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-2" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-3" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
[#|2009-08-07T20:26:47.968+0100|SEVERE|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;hmpcuse;8686;|NAGT0026:There was a connection failure while trying to connect to the Domain Administration Server (DAS) end point: [host=hmpcuse], [port=8686]. This could mean that there was a network failure.|#]
[#|2009-08-07T20:26:48.359+0100|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;admin;|SEC5046: Audit: Authentication refused for [admin].|#]
[#|2009-08-07T20:26:50.359+0100|WARNING|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0013:Stopping Node Agent...|#]

eve

------------------------------------------------------------------------------
Date: Fri, 7 Aug 2009 11:05:49 -0700
From: Anissa.Lam@Sun.COM
To: users@glassfish.dev.java.net
Subject: Re: glassfish and clusters on 2 PCs

Hi Eve,

Please enter the master password [Enter to accept the default]:>

????

thanks

eve

The default master password is changeit
If you just press Enter, it should mean use the default, which is 'changeit'.

Anissa.

Eve Pokua wrote:
Hello,

Thank you all.

this works.

cd to c:\glassfish

then in that directory run

.\lib\ant\bin\ant -f setup-cluster.xml

Also, upgrade to JDK 6 u14 for better performance.
hth

so now I am trying to start the node agent.

C:\glassfish\bin>asadmin start-node-agent nodeagent1XPhm
Please enter the admin user name>admin
Please enter the admin password>
Please enter the master password [Enter to accept the default]:>
Password entered is invalid
CLI137 Command start-node-agent failed.

isn't the default pwd is

adminadmin

and user is

admin

So

Please enter the admin user name>admin
Please enter the admin password>adminadmin
Please enter the master password [Enter to accept the default]:>

????

thanks

eve

> Date: Fri, 7 Aug 2009 10:05:39 -0700
> From: Arun.Gupta@Sun.COM
> To: users@glassfish.dev.java.net
> Subject: Re: glassfish and clusters on 2 PCs
>
> You can also try the script mentioned in the blog at:
>
> http://blogs.sun.com/arungupta/entry/glassfish_asadmin_cli_driven_cluster
>
> This script takes a GlassFish bundle, installs it, configures the
> cluster, creates the instances, deploy an application and starts the
> cluster - all using asadmin CLI.
>
> Thanks
> -Arun
>
> glassfish@javadesktop.org wrote:
> > Hello everyone,
> >
> > John,
> >
> > I am actually quite behind I have followed the video from Youtube but get this
> > error when I try to install the cluster part-
> >
> >
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>
> >
> >
> > My settings as followings:
> >
> > ANT_HOME
> >
> > C:\glassfish\lib\ant
> >
> > JAVA_HOME
> >
> > C:\Program Files\Java\jdk1.6.0_03
> >
> >
> > JAVAEE_HOME
> >
> > C:/glassfish
> >
> > Is there something Im doing wrong?
> >
> > Thank you all
> >
> > eve
> > [Message sent by forum member 'eve2' (eve2)]
> >
> > http://forums.java.net/jive/thread.jspa?messageID=359449
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail: users-help@glassfish.dev.java.net
> >
>
> --
> Need Application Server ? Download from http://glassfish.org
> Blog: http://blogs.sun.com/arungupta
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

----------------------------------------------------------------------------
Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons. Get Them Now
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net

------------------------------------------------------------------------------
Internet Explorer 8 - accelerate your Hotmail. Download Internet Explorer 8
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net

--------------------------------------------------------------------------------
Windows Live Messenger: Thanks for 10 great years-enjoy free winks and emoticons. Get Them Now

--------------------------------------------------------------------------------
Celebrate a decade of Messenger with free winks, emoticons, display pics, and more. Get Them Now
[att1.html]
[dot.gif]

gorgeous65@msn.com

Hello,

everyone,

has anyone seen this from netbeans 7.1

deps-clean:
C:\jee\KAKENTERPRISE\nbproject\build-impl.xml:485: The following error occurred while executing this line:
C:\jee\KAKENTERPRISE\KAKENTERPRISE-app-client\nbproject\build-impl.xml:343: The libs.CopyLibs.classpath property is not set up.
This property must point to
org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
of NetBeans IDE installation and is usually located at
/java/ant/extra folder.
Either open the project in the IDE and make sure CopyLibs library
exists or setup the property manually. For example like this:
ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
BUILD FAILED (total time: 2 seconds)

Thanks

eve

From: gorgeous65@msn.com
Sent: Thursday, August 13, 2009 7:56 PM
To: glassfish users GFusers
Subject: Re: glassfish and clusters on 2 PCs

Hello everyone,

Has anyone seen this error:

Deploying application in domain failed; Error loading deployment descriptors for module [KAKENTERPRISE] -- Invalid ejb jar [c:\jee\KAKENTERPRISE]: it contains zero ejb. Note: 1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message driven bean. 2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar. 3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven), plea...

I am getting it on both Sun application server 9.1 cluster and Glassfish v2.1 cluster.

Thanks

eve

From: Eve Pokua
Sent: Wednesday, August 12, 2009 10:35 AM
To: glassfish users GFusers
Subject: RE: glassfish and clusters on 2 PCs

Hello everyone,

I have cluster installed on one PC glassfish v2.1
And I had

Sun Java System Application Server 9.1 (build b58g-fcs)
installed on the other machine. I turned this into a cluster
installation from the admin console. So now the two PC
application servers communicate with each other and I was able
to create a node on one PC for the other. And once, I restarted
the node agent, it shows within the admin console of the other PC.

Which is greate.

My problem is, I don't want to keep the old application server

Sun Java System Application Server 9.1 (build b58g-fcs)

but upgrade to the new glassfish v2.1. If I just installed it, it will have
port problems. I would like to installe the new version and keep the default
port numbers. So how do I approach this.

Do I uninstall the old

Sun Java System Application Server 9.1 (build b58g-fcs)

and installed the new version?

eve

--------------------------------------------------------------------------------
From: gorgeous65@msn.com
To: users@glassfish.dev.java.net
Date: Fri, 7 Aug 2009 21:55:34 +0100
Subject: RE: glassfish and clusters on 2 PCs

--------------------------------------------------------------------------------

From: gorgeous65@msn.com
To: users@glassfish.dev.java.net
Subject: RE: glassfish and clusters on 2 PCs
Date: Fri, 7 Aug 2009 21:43:54 +0100

Anissa,

Thank you.

I will recreate the agent and resovle this later.

Now,

to approach the issue wth the second PC,

Do I install glassfish v2.1 cluster the same way as I've done on
the first PC.

Then if all goes well and I am able to start the node agent.

I assume, I would deploy application to a cluster,
and because the node belongs to the host on the
network, the application and its configurations would be config
to both the host and the other PC.

eve

--------------------------------------------------------------------------------

Date: Fri, 7 Aug 2009 13:06:00 -0700
From: Anissa.Lam@Sun.COM
To: users@glassfish.dev.java.net
Subject: Re: glassfish and clusters on 2 PCs

Hi Eve,

I wish to get rid of this nodeagent and create it again. How?

You need to use CLI delete-node-agent command to delete the node agent.

usage: delete-node-agent [--terse=false] [--echo=false] [--interactive=true] [--agentdir nodeagent_path] nodeagent_name

and then create it again by create-node-agent command

Usage: create-node-agent [--terse=false] [--echo=false] [--interactive=true] [--host DAS_host(Default localhost)] [--port 4848|4849] [--user DAS_user] [--passwordfile file_name] [--agentdir nodeagent_path] [--agentport port_number] [--savemasterpassword=false] [--secure=true] [--agentproperties (name=value)[:name=value]*] [nodeagent_name]

Anissa.

Eve Pokua wrote:
Hello

Anissa,

I must have than sothing wrong
I wish to get rid of this nodeagent and create it again. How?

Belong is the error

Exception in thread "Thread-1" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-2" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-3" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
[#|2009-08-07T20:26:47.968+0100|SEVERE|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;hmpcuse;8686;|NAGT0026:There was a connection failure while trying to connect to the Domain Administration Server (DAS) end point: [host=hmpcuse], [port=8686]. This could mean that there was a network failure.|#]
[#|2009-08-07T20:26:48.359+0100|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;admin;|SEC5046: Audit: Authentication refused for [admin].|#]
[#|2009-08-07T20:26:50.359+0100|WARNING|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0013:Stopping Node Agent...|#]

eve

------------------------------------------------------------------------------
Date: Fri, 7 Aug 2009 11:05:49 -0700
From: Anissa.Lam@Sun.COM
To: users@glassfish.dev.java.net
Subject: Re: glassfish and clusters on 2 PCs

Hi Eve,

Please enter the master password [Enter to accept the default]:>

????

thanks

eve

The default master password is changeit
If you just press Enter, it should mean use the default, which is 'changeit'.

Anissa.

Eve Pokua wrote:
Hello,

Thank you all.

this works.

cd to c:\glassfish

then in that directory run

.\lib\ant\bin\ant -f setup-cluster.xml

Also, upgrade to JDK 6 u14 for better performance.
hth

so now I am trying to start the node agent.

C:\glassfish\bin>asadmin start-node-agent nodeagent1XPhm
Please enter the admin user name>admin
Please enter the admin password>
Please enter the master password [Enter to accept the default]:>
Password entered is invalid
CLI137 Command start-node-agent failed.

isn't the default pwd is

adminadmin

and user is

admin

So

Please enter the admin user name>admin
Please enter the admin password>adminadmin
Please enter the master password [Enter to accept the default]:>

????

thanks

eve

> Date: Fri, 7 Aug 2009 10:05:39 -0700
> From: Arun.Gupta@Sun.COM
> To: users@glassfish.dev.java.net
> Subject: Re: glassfish and clusters on 2 PCs
>
> You can also try the script mentioned in the blog at:
>
> http://blogs.sun.com/arungupta/entry/glassfish_asadmin_cli_driven_cluster
>
> This script takes a GlassFish bundle, installs it, configures the
> cluster, creates the instances, deploy an application and starts the
> cluster - all using asadmin CLI.
>
> Thanks
> -Arun
>
> glassfish@javadesktop.org wrote:
> > Hello everyone,
> >
> > John,
> >
> > I am actually quite behind I have followed the video from Youtube but get this
> > error when I try to install the cluster part-
> >
> >
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>
> >
> >
> > My settings as followings:
> >
> > ANT_HOME
> >
> > C:\glassfish\lib\ant
> >
> > JAVA_HOME
> >
> > C:\Program Files\Java\jdk1.6.0_03
> >
> >
> > JAVAEE_HOME
> >
> > C:/glassfish
> >
> > Is there something Im doing wrong?
> >
> > Thank you all
> >
> > eve
> > [Message sent by forum member 'eve2' (eve2)]
> >
> > http://forums.java.net/jive/thread.jspa?messageID=359449
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail: users-help@glassfish.dev.java.net
> >
>
> --
> Need Application Server ? Download from http://glassfish.org
> Blog: http://blogs.sun.com/arungupta
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

----------------------------------------------------------------------------
Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons. Get Them Now
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net

------------------------------------------------------------------------------
Internet Explorer 8 - accelerate your Hotmail. Download Internet Explorer 8
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net

--------------------------------------------------------------------------------
Windows Live Messenger: Thanks for 10 great years-enjoy free winks and emoticons. Get Them Now

--------------------------------------------------------------------------------
Celebrate a decade of Messenger with free winks, emoticons, display pics, and more. Get Them Now
[att1.html]
[dot.gif]

gorgeous65@msn.com

Hello,

sorry I resolved this one:

Has anyone seen this error:

Deploying application in domain failed; Error loading deployment descriptors for module [KAKENTERPRISE] -- Invalid ejb jar [c:\jee\KAKENTERPRISE]: it contains zero ejb. Note: 1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message driven bean. 2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar. 3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven), plea...

I was deploying the wrong file. should be .ear file.

thanks

eve

From: gorgeous65@msn.com
Sent: Thursday, August 13, 2009 8:26 PM
To: glassfish users GFusers
Subject: Re: glassfish and clusters on 2 PCs

Hello,

everyone,

has anyone seen this from netbeans 7.1

deps-clean:
C:\jee\KAKENTERPRISE\nbproject\build-impl.xml:485: The following error occurred while executing this line:
C:\jee\KAKENTERPRISE\KAKENTERPRISE-app-client\nbproject\build-impl.xml:343: The libs.CopyLibs.classpath property is not set up.
This property must point to
org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
of NetBeans IDE installation and is usually located at
/java/ant/extra folder.
Either open the project in the IDE and make sure CopyLibs library
exists or setup the property manually. For example like this:
ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
BUILD FAILED (total time: 2 seconds)

Thanks

eve

From: gorgeous65@msn.com
Sent: Thursday, August 13, 2009 7:56 PM
To: glassfish users GFusers
Subject: Re: glassfish and clusters on 2 PCs

Hello everyone,

Has anyone seen this error:

Deploying application in domain failed; Error loading deployment descriptors for module [KAKENTERPRISE] -- Invalid ejb jar [c:\jee\KAKENTERPRISE]: it contains zero ejb. Note: 1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message driven bean. 2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar. 3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven), plea...

I am getting it on both Sun application server 9.1 cluster and Glassfish v2.1 cluster.

Thanks

eve

From: Eve Pokua
Sent: Wednesday, August 12, 2009 10:35 AM
To: glassfish users GFusers
Subject: RE: glassfish and clusters on 2 PCs

Hello everyone,

I have cluster installed on one PC glassfish v2.1
And I had

Sun Java System Application Server 9.1 (build b58g-fcs)
installed on the other machine. I turned this into a cluster
installation from the admin console. So now the two PC
application servers communicate with each other and I was able
to create a node on one PC for the other. And once, I restarted
the node agent, it shows within the admin console of the other PC.

Which is greate.

My problem is, I don't want to keep the old application server

Sun Java System Application Server 9.1 (build b58g-fcs)

but upgrade to the new glassfish v2.1. If I just installed it, it will have
port problems. I would like to installe the new version and keep the default
port numbers. So how do I approach this.

Do I uninstall the old

Sun Java System Application Server 9.1 (build b58g-fcs)

and installed the new version?

eve

--------------------------------------------------------------------------------
From: gorgeous65@msn.com
To: users@glassfish.dev.java.net
Date: Fri, 7 Aug 2009 21:55:34 +0100
Subject: RE: glassfish and clusters on 2 PCs

--------------------------------------------------------------------------------

From: gorgeous65@msn.com
To: users@glassfish.dev.java.net
Subject: RE: glassfish and clusters on 2 PCs
Date: Fri, 7 Aug 2009 21:43:54 +0100

Anissa,

Thank you.

I will recreate the agent and resovle this later.

Now,

to approach the issue wth the second PC,

Do I install glassfish v2.1 cluster the same way as I've done on
the first PC.

Then if all goes well and I am able to start the node agent.

I assume, I would deploy application to a cluster,
and because the node belongs to the host on the
network, the application and its configurations would be config
to both the host and the other PC.

eve

--------------------------------------------------------------------------------

Date: Fri, 7 Aug 2009 13:06:00 -0700
From: Anissa.Lam@Sun.COM
To: users@glassfish.dev.java.net
Subject: Re: glassfish and clusters on 2 PCs

Hi Eve,

I wish to get rid of this nodeagent and create it again. How?

You need to use CLI delete-node-agent command to delete the node agent.

usage: delete-node-agent [--terse=false] [--echo=false] [--interactive=true] [--agentdir nodeagent_path] nodeagent_name

and then create it again by create-node-agent command

Usage: create-node-agent [--terse=false] [--echo=false] [--interactive=true] [--host DAS_host(Default localhost)] [--port 4848|4849] [--user DAS_user] [--passwordfile file_name] [--agentdir nodeagent_path] [--agentport port_number] [--savemasterpassword=false] [--secure=true] [--agentproperties (name=value)[:name=value]*] [nodeagent_name]

Anissa.

Eve Pokua wrote:
Hello

Anissa,

I must have than sothing wrong
I wish to get rid of this nodeagent and create it again. How?

Belong is the error

Exception in thread "Thread-1" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-2" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-3" com.sun.enterprise.security.LoginException: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:335)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry$JMXConnectionTimeout.run(JMXConnectorRegistry.java:440)
Caused by: javax.security.auth.login.LoginException: Failed file login for admin.
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)
at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:319)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:177)
at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:130)
at com.sun.enterprise.admin.server.core.jmx.auth.ASLoginDriverImpl.login(ASLoginDriverImpl.java:64)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:112)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
[#|2009-08-07T20:26:47.968+0100|SEVERE|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;hmpcuse;8686;|NAGT0026:There was a connection failure while trying to connect to the Domain Administration Server (DAS) end point: [host=hmpcuse], [port=8686]. This could mean that there was a network failure.|#]
[#|2009-08-07T20:26:48.359+0100|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;admin;|SEC5046: Audit: Authentication refused for [admin].|#]
[#|2009-08-07T20:26:50.359+0100|WARNING|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0013:Stopping Node Agent...|#]

eve

------------------------------------------------------------------------------
Date: Fri, 7 Aug 2009 11:05:49 -0700
From: Anissa.Lam@Sun.COM
To: users@glassfish.dev.java.net
Subject: Re: glassfish and clusters on 2 PCs

Hi Eve,

Please enter the master password [Enter to accept the default]:>

????

thanks

eve

The default master password is changeit
If you just press Enter, it should mean use the default, which is 'changeit'.

Anissa.

Eve Pokua wrote:
Hello,

Thank you all.

this works.

cd to c:\glassfish

then in that directory run

.\lib\ant\bin\ant -f setup-cluster.xml

Also, upgrade to JDK 6 u14 for better performance.
hth

so now I am trying to start the node agent.

C:\glassfish\bin>asadmin start-node-agent nodeagent1XPhm
Please enter the admin user name>admin
Please enter the admin password>
Please enter the master password [Enter to accept the default]:>
Password entered is invalid
CLI137 Command start-node-agent failed.

isn't the default pwd is

adminadmin

and user is

admin

So

Please enter the admin user name>admin
Please enter the admin password>adminadmin
Please enter the master password [Enter to accept the default]:>

????

thanks

eve

> Date: Fri, 7 Aug 2009 10:05:39 -0700
> From: Arun.Gupta@Sun.COM
> To: users@glassfish.dev.java.net
> Subject: Re: glassfish and clusters on 2 PCs
>
> You can also try the script mentioned in the blog at:
>
> http://blogs.sun.com/arungupta/entry/glassfish_asadmin_cli_driven_cluster
>
> This script takes a GlassFish bundle, installs it, configures the
> cluster, creates the instances, deploy an application and starts the
> cluster - all using asadmin CLI.
>
> Thanks
> -Arun
>
> glassfish@javadesktop.org wrote:
> > Hello everyone,
> >
> > John,
> >
> > I am actually quite behind I have followed the video from Youtube but get this
> > error when I try to install the cluster part-
> >
> >
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> > Buildfile: setup-cluster.xml does not exist!
> > Build failed
> > C:\glassfish\lib\ant\bin>
> >
> >
> > My settings as followings:
> >
> > ANT_HOME
> >
> > C:\glassfish\lib\ant
> >
> > JAVA_HOME
> >
> > C:\Program Files\Java\jdk1.6.0_03
> >
> >
> > JAVAEE_HOME
> >
> > C:/glassfish
> >
> > Is there something Im doing wrong?
> >
> > Thank you all
> >
> > eve
> > [Message sent by forum member 'eve2' (eve2)]
> >
> > http://forums.java.net/jive/thread.jspa?messageID=359449
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail: users-help@glassfish.dev.java.net
> >
>
> --
> Need Application Server ? Download from http://glassfish.org
> Blog: http://blogs.sun.com/arungupta
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

----------------------------------------------------------------------------
Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons. Get Them Now
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net

------------------------------------------------------------------------------
Internet Explorer 8 - accelerate your Hotmail. Download Internet Explorer 8
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net

--------------------------------------------------------------------------------
Windows Live Messenger: Thanks for 10 great years-enjoy free winks and emoticons. Get Them Now

--------------------------------------------------------------------------------
Celebrate a decade of Messenger with free winks, emoticons, display pics, and more. Get Them Now
[att1.html]
[dot.gif]

John Clingan

This may help:
https://www.sun.com/offers/details/GlassFish_Load_Balancer.xml

We'll also be posting a recording of the load balancing webinar we did
last week. Keep checking here:
http://www.sun.com/software/products/glassfish_portfolio/resources.jsp

Hope this helps.

On Jul 31, 2009, at 8:35 AM, Michael Mellinger wrote:

> I installed the clustered Glassfish just like in the video demo. When
> I got to the end, I realized this doesn't explain anything about
> round-robin or load-balancing. You can go to 38080 and 38081
> directly.
>
> http://localhost:38080/clusterjsp
> http://localhost:38081/clusterjsp
>
> How does one expose the cluster so everything is transparent to the
> user.
>
> For example, setting up http://localhost:8080/clusterjsp/ to
> automatically select a node in the cluster?
>
> -Mike
>
>
>
> On Thu, Jul 30, 2009 at 1:53 PM, John Clingan
> wrote:
>>
>> On Jul 30, 2009, at 8:21 AM, Eve Pokua wrote:
>>
>> Hello everyone,
>>
>> I have two PCs on which I usually have installed glassfish
>> separately.
>> I need to upgrade my server to the new release, glassfish v3. But
>> have
>> installed it and shows as v2.1. Not sure why? Windows XP Vista on
>> the
>> other.
>>
>>
>> GlassFish v3 is currently a preview. The final release is
>> forthcoming.
>>
>> Read about Clusters. And read that I may also need to configure
>> glassfish to
>> work across network.
>>
>>
>> GlassFish v3 will not support clustering in its first release.
>> Clustering
>> will be in a follow-on dot release. If you want clustering, I
>> recommend you
>> continue with GlassFish v2.1.
>>
>> Please, could anybody share knowledge on how to approach this.
>>
>>
>> This may help:
>> http://www.youtube.com/watch?v=m5zB2xU6O44
>>
>> any suggestion greatly appreciated.
>>
>> eve
>>
>> ________________________________
>> With Windows Live, you can organise, edit, and share your photos.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Eve Pokua

Hello,

great video. Thank you for all your replies.

eve

> Date: Fri, 31 Jul 2009 09:40:44 -0700
> From: John.Clingan@Sun.COM
> To: users@glassfish.dev.java.net
> Subject: Re: glassfish and clusters on 2 PCs
>
> This may help:
> https://www.sun.com/offers/details/GlassFish_Load_Balancer.xml
>
> We'll also be posting a recording of the load balancing webinar we did
> last week. Keep checking here:
> http://www.sun.com/software/products/glassfish_portfolio/resources.jsp
>
> Hope this helps.
>
> On Jul 31, 2009, at 8:35 AM, Michael Mellinger wrote:
>
> > I installed the clustered Glassfish just like in the video demo. When
> > I got to the end, I realized this doesn't explain anything about
> > round-robin or load-balancing. You can go to 38080 and 38081
> > directly.
> >
> > http://localhost:38080/clusterjsp
> > http://localhost:38081/clusterjsp
> >
> > How does one expose the cluster so everything is transparent to the
> > user.
> >
> > For example, setting up http://localhost:8080/clusterjsp/ to
> > automatically select a node in the cluster?
> >
> > -Mike
> >
> >
> >
> > On Thu, Jul 30, 2009 at 1:53 PM, John Clingan
> > wrote:
> >>
> >> On Jul 30, 2009, at 8:21 AM, Eve Pokua wrote:
> >>
> >> Hello everyone,
> >>
> >> I have two PCs on which I usually have installed glassfish
> >> separately.
> >> I need to upgrade my server to the new release, glassfish v3. But
> >> have
> >> installed it and shows as v2.1. Not sure why? Windows XP Vista on
> >> the
> >> other.
> >>
> >>
> >> GlassFish v3 is currently a preview. The final release is
> >> forthcoming.
> >>
> >> Read about Clusters. And read that I may also need to configure
> >> glassfish to
> >> work across network.
> >>
> >>
> >> GlassFish v3 will not support clustering in its first release.
> >> Clustering
> >> will be in a follow-on dot release. If you want clustering, I
> >> recommend you
> >> continue with GlassFish v2.1.
> >>
> >> Please, could anybody share knowledge on how to approach this.
> >>
> >>
> >> This may help:
> >> http://www.youtube.com/watch?v=m5zB2xU6O44
> >>
> >> any suggestion greatly appreciated.
> >>
> >> eve
> >>
> >> ________________________________
> >> With Windows Live, you can organise, edit, and share your photos.
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail: users-help@glassfish.dev.java.net
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

_________________________________________________________________

Upgrade to Internet Explorer 8 Optimised for MSN.

http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U
[att1.html]

eve2
Offline
Joined: 2007-01-05

Hello everyone,

John,

I am actually quite behind I have followed the video from Youtube but get this
error when I try to install the cluster part-

C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
Buildfile: setup-cluster.xml does not exist!
Build failed
C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
Buildfile: setup-cluster.xml does not exist!
Build failed
C:\glassfish\lib\ant\bin>

My settings as followings:

ANT_HOME

C:\glassfish\lib\ant

JAVA_HOME

C:\Program Files\Java\jdk1.6.0_03

JAVAEE_HOME

C:/glassfish

Is there something Im doing wrong?

Thank you all

eve

Shreedhar Ganapathy

Try this

cd to c:\glassfish

then in that directory run

.\lib\ant\bin\ant -f setup-cluster.xml

Also, upgrade to JDK 6 u14 for better performance.
hth
Shreedhar

glassfish@javadesktop.org wrote:
> Hello everyone,
>
> John,
>
> I am actually quite behind I have followed the video from Youtube but get this
> error when I try to install the cluster part-
>
>
> C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> Buildfile: setup-cluster.xml does not exist!
> Build failed
> C:\glassfish\lib\ant\bin>ant -f setup-cluster.xml
> Buildfile: setup-cluster.xml does not exist!
> Build failed
> C:\glassfish\lib\ant\bin>
>
>
> My settings as followings:
>
> ANT_HOME
>
> C:\glassfish\lib\ant
>
> JAVA_HOME
>
> C:\Program Files\Java\jdk1.6.0_03
>
>
> JAVAEE_HOME
>
> C:/glassfish
>
> Is there something Im doing wrong?
>
> Thank you all
>
> eve
> [Message sent by forum member 'eve2' (eve2)]
>
> http://forums.java.net/jive/thread.jspa?messageID=359449
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Michael Mellinger

I installed the clustered Glassfish just like in the video demo. When
I got to the end, I realized this doesn't explain anything about
round-robin or load-balancing. You can go to 38080 and 38081
directly.

http://localhost:38080/clusterjsp
http://localhost:38081/clusterjsp

How does one expose the cluster so everything is transparent to the user.

For example, setting up http://localhost:8080/clusterjsp/ to
automatically select a node in the cluster?

-Mike

On Thu, Jul 30, 2009 at 1:53 PM, John Clingan wrote:
>
> On Jul 30, 2009, at 8:21 AM, Eve Pokua wrote:
>
> Hello everyone,
>
> I have two PCs on which I usually have installed glassfish separately.
> I need to upgrade my server to the new release, glassfish v3. But have
> installed it and shows as v2.1.  Not sure why? Windows XP Vista on the
> other.
>
>
> GlassFish v3 is currently a preview. The final release is forthcoming.
>
> Read about Clusters. And read that I may also need to configure glassfish to
> work across network.
>
>
>  GlassFish v3 will not support clustering in its first release. Clustering
> will be in a follow-on dot release.  If you want clustering, I recommend you
> continue with GlassFish v2.1.
>
> Please, could anybody share knowledge on how to approach this.
>
>
> This may help:
> http://www.youtube.com/watch?v=m5zB2xU6O44
>
> any suggestion greatly appreciated.
>
> eve
>
> ________________________________
> With Windows Live, you can organise, edit, and share your photos.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Arun Gupta

Mike,

[1] explains how to use Sun Web Server to load balance multiple
GlassFish instances. [2] shows the same using Apache + mod_jk.

[1] http://blogs.sun.com/arungupta/entry/totd_69_glassfish_high_availability
[2] http://blogs.sun.com/arungupta/entry/totd_67_how_to_front

Thanks,
-Arun

Michael Mellinger wrote:
> I installed the clustered Glassfish just like in the video demo. When
> I got to the end, I realized this doesn't explain anything about
> round-robin or load-balancing. You can go to 38080 and 38081
> directly.
>
> http://localhost:38080/clusterjsp
> http://localhost:38081/clusterjsp
>
> How does one expose the cluster so everything is transparent to the user.
>
> For example, setting up http://localhost:8080/clusterjsp/ to
> automatically select a node in the cluster?
>
> -Mike
>
>
>
> On Thu, Jul 30, 2009 at 1:53 PM, John Clingan wrote:
>> On Jul 30, 2009, at 8:21 AM, Eve Pokua wrote:
>>
>> Hello everyone,
>>
>> I have two PCs on which I usually have installed glassfish separately.
>> I need to upgrade my server to the new release, glassfish v3. But have
>> installed it and shows as v2.1. Not sure why? Windows XP Vista on the
>> other.
>>
>>
>> GlassFish v3 is currently a preview. The final release is forthcoming.
>>
>> Read about Clusters. And read that I may also need to configure glassfish to
>> work across network.
>>
>>
>> GlassFish v3 will not support clustering in its first release. Clustering
>> will be in a follow-on dot release. If you want clustering, I recommend you
>> continue with GlassFish v2.1.
>>
>> Please, could anybody share knowledge on how to approach this.
>>
>>
>> This may help:
>> http://www.youtube.com/watch?v=m5zB2xU6O44
>>
>> any suggestion greatly appreciated.
>>
>> eve
>>
>> ________________________________
>> With Windows Live, you can organise, edit, and share your photos.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

--
Need Application Server ? Download from http://glassfish.org
Blog: http://blogs.sun.com/arungupta

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

dbsquared
Offline
Joined: 2009-08-03

I'm confused can someone on the Glassfish team confirm if there's really a version of Glassfish v2.1 that's available free to the public that supports clustering and session replication? It's my understanding v2.1 (9.1.1) (build b60e-fcs) contains replication bugs?

Alexis Moussine-Pouchkine

GlassFish v2.1 does offer clustering and session replication.
It is also true that some bugs have been fixed in the (restricted)
update releases (see http://blogs.sun.com/glassfishforbusiness)
v2.1.1 will have them integrated as well. See http://blogs.sun.com/theaquarium/entry/schedule_for_glassfish_v2_1
for its schedule.
Which bugs are you seeing and are they affecting you?

thanks.
-Alexis

On Aug 4, 2009, at 19:54, glassfish@javadesktop.org wrote:

> I'm confused can someone on the Glassfish team confirm if there's
> really a version of Glassfish v2.1 that's available free to the
> public that supports clustering and session replication? It's my
> understanding v2.1 (9.1.1) (build b60e-fcs) contains replication bugs?
> [Message sent by forum member 'dbsquared' (dbsquared)]
>
> http://forums.java.net/jive/thread.jspa?messageID=358832
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

dbsquared
Offline
Joined: 2009-08-03

I experienced session replication problems while testing with the clusterjsp application. I think they fell into 2 categories:
1. new sessions were created when not needed.
2. simulating an instance failure did not always preserve the session
I have downloaded and installed the V2.1.1 version which appears to fix the replication issues but I have learned it's not scheduled to be released until the fall.

Shreedhar Ganapathy

Are you able to get around these issues in v2.1 with a 3 instance
cluster instead of 2 ?

glassfish@javadesktop.org wrote:
> I experienced session replication problems while testing with the clusterjsp application. I think they fell into 2 categories:
> 1. new sessions were created when not needed.
> 2. simulating an instance failure did not always preserve the session
> I have downloaded and installed the V2.1.1 version which appears to fix the replication issues but I have learned it's not scheduled to be released until the fall.
> [Message sent by forum member 'dbsquared' (dbsquared)]
>
> http://forums.java.net/jive/thread.jspa?messageID=358987
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

dbsquared
Offline
Joined: 2009-08-03

Sorry I did not try that, is that a valid workaround? What happens if 1 instance falls of the cluster and I have a 2 instance cluster remaining will I see the same troubles.

John Clingan

On Jul 30, 2009, at 8:21 AM, Eve Pokua wrote:

> Hello everyone,
>
> I have two PCs on which I usually have installed glassfish separately.
> I need to upgrade my server to the new release, glassfish v3. But have
> installed it and shows as v2.1. Not sure why? Windows XP Vista on
> the other.
>

GlassFish v3 is currently a preview. The final release is forthcoming.

>
> Read about Clusters. And read that I may also need to configure
> glassfish to work across network.
>

GlassFish v3 will not support clustering in its first release.
Clustering will be in a follow-on dot release. If you want
clustering, I recommend you continue with GlassFish v2.1.

>
> Please, could anybody share knowledge on how to approach this.
>

This may help:
http://www.youtube.com/watch?v=m5zB2xU6O44

>
> any suggestion greatly appreciated.
>
> eve
>
> With Windows Live, you can organise, edit, and share your photos.

[att1.html]

Michael Mellinger

Nice video, at the end you say there will be more to come. Sign me up
for season 2. :-)

-Mike

On Thu, Jul 30, 2009 at 1:53 PM, John Clingan wrote:
>
> On Jul 30, 2009, at 8:21 AM, Eve Pokua wrote:
>
> Hello everyone,
>
> I have two PCs on which I usually have installed glassfish separately.
> I need to upgrade my server to the new release, glassfish v3. But have
> installed it and shows as v2.1.  Not sure why? Windows XP Vista on the
> other.
>
>
> GlassFish v3 is currently a preview. The final release is forthcoming.
>
> Read about Clusters. And read that I may also need to configure glassfish to
> work across network.
>
>
>  GlassFish v3 will not support clustering in its first release. Clustering
> will be in a follow-on dot release.  If you want clustering, I recommend you
> continue with GlassFish v2.1.
>
> Please, could anybody share knowledge on how to approach this.
>
>
> This may help:
> http://www.youtube.com/watch?v=m5zB2xU6O44
>
> any suggestion greatly appreciated.
>
> eve

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net