admin@glassfish.java.net

Re: failure in synchronization code

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 11 Jan 2007 16:23:11 -0800

Thanks, though I've done a full build, and I tried rebuilding appserv-
core-ee, I still get a failure.

It started today after I did a cvs update; I'd been having no trouble
for the past week.


On Jan 11, 2007, at 2:00 PM, Prashanth Abbagani wrote:

> Could this be the problem -
>
> <snip>
> Issue is that appserv-core and appserv-core-ee both have web.xmls
> which are different...If you do a full EE build, adminapp.war gets
> the right web.xml that has the new synchronization servlet (new
> HTTP sync for instances introduced this servlet) ...If you rebuild
> appserv-core , the web.xml gets replaced and the servlet is no
> longer there. So sync of instances fails.
> Workaround: Rebuild appserv-core-ee and it will package the correct
> web.xml in adminapp.war
> </snip>
>
> Lloyd Chambers wrote:
>> Anyone else seeing this?
>>
>> This is new as of today (I hadn't done an update for the last 6
>> days or so).
>>
>> I did a fresh everything, create a node agent and server instance
>> and I get this when trying to start the server instance (the node
>> agent sync'd up fine).
>>
>>
>>
>> MB2:/gf/run/nodeagents/nodeagent1/nodeagent1-instance1 lloyd$ ls
>> addons applications bin config
>> generated jbi logs session-store
>> MB2:/gf/run/nodeagents/nodeagent1/nodeagent1-instance1 lloyd$ cat
>> logs/server.log
>> [#|2007-01-11T13:48:09.965-0800|INFO|sun-appserver9.1|
>> javax.ee.enterprise.system.tools.synchronization|
>> _ThreadID=10;_ThreadName=main;|IdentityManager Data: User:admin|#]
>>
>> [#|2007-01-11T13:48:10.150-0800|WARNING|sun-appserver9.1|
>> javax.ee.enterprise.system.tools.synchronization|
>> _ThreadID=10;_ThreadName=main;|SYNC029: There was an exception
>> during synchronization. Please try again and a full
>> synchronization will be initiated. If the problem persists for a
>> server instance, you may backup and remove the cache repository
>> (for example, directories under nodeagents/na1/server1/) and
>> restart the node-agent (ex. asadmin stop-node-agent; start-node-
>> agent --startinstances=false) and the server instance (ex. asadmin
>> start-instance). All necessary configuration for the server
>> instance (server1 in example) will be downloaded from Domain
>> Administration Server by synchronization.
>> java.lang.NoClassDefFoundError
>> at
>> com.sun.enterprise.ee.synchronization.http.HttpUtils.getConnection
>> (HttpUtils.java:195)
>> at
>> com.sun.enterprise.ee.synchronization.http.HttpUtils.ping
>> (HttpUtils.java:151)
>> at
>> com.sun.enterprise.ee.synchronization.http.HttpPingCommand.execute
>> (HttpPingCommand.java:68)
>> at
>> com.sun.enterprise.ee.synchronization.BaseSynchronizationDriver.synch
>> ronizeInternal(BaseSynchronizationDriver.java:149)
>> at
>> com.sun.enterprise.ee.synchronization.BaseSynchronizationDriver.synch
>> ronize(BaseSynchronizationDriver.java:116)
>> at
>> com.sun.enterprise.ee.synchronization.SynchronizationMain.main
>> (SynchronizationMain.java:113)
>> |#]
>>
>> [#|2007-01-11T13:48:21.134-0800|INFO|sun-appserver9.1|
>> javax.ee.enterprise.system.tools.synchronization|
>> _ThreadID=10;_ThreadName=main;|IdentityManager Data: User:admin|#]
>>
>> [#|2007-01-11T13:48:21.322-0800|WARNING|sun-appserver9.1|
>> javax.ee.enterprise.system.tools.synchronization|
>> _ThreadID=10;_ThreadName=main;|SYNC029: There was an exception
>> during synchronization. Please try again and a full
>> synchronization will be initiated. If the problem persists for a
>> server instance, you may backup and remove the cache repository
>> (for example, directories under nodeagents/na1/server1/) and
>> restart the node-agent (ex. asadmin stop-node-agent; start-node-
>> agent --startinstances=false) and the server instance (ex. asadmin
>> start-instance). All necessary configuration for the server
>> instance (server1 in example) will be downloaded from Domain
>> Administration Server by synchronization.
>> java.lang.NoClassDefFoundError
>> at
>> com.sun.enterprise.ee.synchronization.http.HttpUtils.getConnection
>> (HttpUtils.java:195)
>> at
>> com.sun.enterprise.ee.synchronization.http.HttpUtils.ping
>> (HttpUtils.java:151)
>> at
>> com.sun.enterprise.ee.synchronization.http.HttpPingCommand.execute
>> (HttpPingCommand.java:68)
>> at
>> com.sun.enterprise.ee.synchronization.BaseSynchronizationDriver.synch
>> ronizeInternal(BaseSynchronizationDriver.java:149)
>> at
>> com.sun.enterprise.ee.synchronization.BaseSynchronizationDriver.synch
>> ronize(BaseSynchronizationDriver.java:116)
>> at
>> com.sun.enterprise.ee.synchronization.SynchronizationMain.main
>> (SynchronizationMain.java:113)
>> |#]
>>
>> MB2:/gf/run/nodeagents/nodeagent1/nodeagent1-instance1 lloyd$
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>