dev@jsftemplating.java.net

Re: JSFTemplating: problems working with jsftemplating

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Thu, 17 May 2007 16:44:48 -0700

Thanks for the update!
Ken

Michael Phoenix wrote:
Thanks Ken. If anybody is interested, the way to resolve this problem is to do an asadmin login command. When you are asked if you want to overwrite the entry respond "y" and that will fix your asadminpass file.

On 5/16/07, Ken Paulsen <Ken.Paulsen@sun.com> wrote:

It sounds like your .asadminpass file is incorrect.  I've never managed
to break it, so I'm not sure how to fix it.  :) I'm sure the fix is
easy.  You might try google, or just reinstall GlassFish.

Goog luck!

Ken

Michael Phoenix wrote:
>
>
> i've just found another problem: the asadmin deploydir line command
> isn't working for deploying demo application. I was finally able to
> deploy it by logging on to the Sun admin console, but the command line
> gave me the following errors:
> C:\jsftemplating\demo>asadmin deploydir -p 4848 --name demo --force
> C:\jsftempla
> ting\demo
> May 15, 2007 5:18:50 PM com.sun.appserv.management.client.ProxyFactory
> getInstan
> ce
> SEVERE: ProxyFactory.getInstance : Failure trying to create a new
> ProxyFactory: j
> ava.io.IOException: "Invalid user or password"
> com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.handleException(Servl
> etConnection.java:221)
> com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.receive (ServletConnec
> tion.java:119)
> com.sun.enterprise.admin.jmx.remote.comm.MBeanServerMessageConductor.invoke(MBea
> nServerMessageConductor.java:62)
> com.sun.enterprise.admin.jmx.remote.internal.RemoteMBeanServerConnection.getAttr
> ibute(RemoteMBeanServerConnection.java:284)
> com.sun.appserv.management.util.jmx.JMXUtil.getMBeanServerID(JMXUtil.java:110)
> com.sun.appserv.management.client.ProxyFactory.getInstance
> (ProxyFactory.java :424
> )
> com.sun.appserv.management.client.ProxyFactory.getInstance(ProxyFactory.java:388
> )
> com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:193)
> java.lang.Thread.run ( Thread.java:595)
>
> CLI171 Command deploydir failed : Deployment of application failed -
> java.io.IOE
> xception: Invalid user or password