users@glassfish.java.net

Re: Experiences with GlassFishv3

From: Sathyan Catari <Sathyan.Catari_at_Sun.COM>
Date: Mon, 23 Nov 2009 18:42:49 -0800

Please see inline..

Major Péter wrote:
> Hi,
>
> I would like to share my experiences about Glassfishv3-b73-unix.sh
> promoted build.
>
> Installation:
> 1, if I run the script without parameters I'm just getting no DISPLAY
> context variable setted, if there is no parameter and the DISPLAY var
> isn't setted it should write me a help I guess.
> 2, --help doesn't work, Unix like systems often use it instead of -h and
> -help
>
We would like to have the same command line on unix and non-unix
platforms, hence the single "-"
> 3, there is no such parameter, which would generate me an answer file.
>
-n <answer file>
> 4, the doc about answer file (
> http://docs.sun.com/app/docs/doc/820-7690/ghmuv?a=view - Google's first
> hit ) isn't really helpful and the
> glassfish.Administration.LOGIN_MODE=anonymous is little confusing,
> because in the upper part of the doc it is 'true' instead of 'anonymous'
>
This option has been removed starting V3 release(to be released soon)
> 5, the -a option doesn't really work without -s,
Yes, that is by design.
> but like this I don't
> get much information, about the status of the installation.
>
It is running in silent mode, but does support exit codes.
> Later I noticed, that there is also a zip format, which runs perfectly
> without the previous issues. ;)
> Is there something difference between these two builds?
>
Yes, the installer and the licenses that they support.
> Admin Console:
> 1, with the zip version the logout button has disappeared, don't know
> exactly why, after a restart it's still wasn't there, can't reproduce
> the issue, because the Logout button never 'reappears'. Not sure if this
> bug appeared in the -unix.sh version too.
>
> Custom application:
> Otherwise, I had successfully created a connection pool to PostgreSQL
> and had a JavaMail Session, imported a cert into the cacerts keystore
> and connected over ssl to a remote directory server via an EJB based
> application. The only problem I had, was the log4j initiation, during
> deploy I got the following log messages:
>
>
> log4j:ERROR A "org.apache.log4j.RollingFileAppender" object is not
> assignable to a "org.apache.log4j.Appender" variable.|#]
>
> [#|2009-11-24T00:39:59.676+0100|SEVERE|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=26;_ThreadName=Thread-1;|log4j:ERROR
> The class "org.apache.log4j.Appender" was loaded by |#]
>
> [#|2009-11-24T00:39:59.678+0100|SEVERE|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=26;_ThreadName=Thread-1;|log4j:ERROR
> [EarClassLoader :
> --blahblah, many jar--
> doneCalled = false
> Parent -> org.glassfish.internal.api.DelegatingClassLoader_at_1003d696
> ] whereas object of type |#]
> log4j:ERROR "org.apache.log4j.RollingFileAppender" was loaded by
> [EarClassLoader :
> --blahblah, many jar--
> doneCalled = false
> Parent -> org.glassfish.internal.api.DelegatingClassLoader_at_2d4b640a
> ].|#]
>
> [#|2009-11-24T00:39:59.681+0100|SEVERE|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=26;_ThreadName=Thread-1;|log4j:ERROR
> Could not instantiate appender named "community-info".|#]
>
> [#|2009-11-24T00:39:59.707+0100|SEVERE|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=26;_ThreadName=Thread-1;|log4j:ERROR
> A "org.apache.log4j.RollingFileAppender" object is not assignable to a
> "org.apache.log4j.Appender" variable.|#]
>
> [#|2009-11-24T00:39:59.708+0100|SEVERE|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=26;_ThreadName=Thread-1;|log4j:ERROR
> The class "org.apache.log4j.Appender" was loaded by |#]
>
>
> In my ear file, I have the log4j jar's twice because one is in web layer
> and one is in EJB layer. What should I do to fix this problem?
>
> Also when TimerService 'ticks', nothing appears in my server.log file,
> shouldn't be there some appserver message, that there was a tick?
>
> Great work, and keep up with the good work!
> Thanks (and sorry for the long mail)
>
Thanks for taking time to provide this feedback.
> Best Regards,
> Peter Major
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>