The Source for Java Technology Collaboration
Webmaster Alert: Posting to Jive Forums is currently not working. Estimated time for fix is unknown.

Home » java.net Forums » GlassFish » GlassFish

Thread: Experiences with GlassFishv3

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 4 - Last Post: Nov 24, 2009 1:06 PM by: Snjezana Sevo-Z...
Major Péter
Experiences with GlassFishv3
Posted: Nov 23, 2009 4:01 PM
  Click to reply to this thread Reply

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
3, there is no such parameter, which would generate me an 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'
5, the -a option doesn't really work without -s, but like this I don't
get much information, about the status of the installation.

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?

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

Best Regards,
Peter Major

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


Sathyan Catari
Re: Experiences with GlassFishv3
Posted: Nov 23, 2009 6:42 PM   in response to: Major Péter
  Click to reply to this thread Reply

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


Brian Leathem
Re: Experiences with GlassFishv3
Posted: Nov 23, 2009 8:42 PM   in response to: Sathyan Catari
  Click to reply to this thread Reply
Attachment bleathem.vcf (238 bytes)

Sathyan Catari wrote:
> Major Péter wrote:
>> 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.


Could you please elaborate on the license difference? Or is their a
page describing the differences?


Thanks,
Brian Leathem
[bleathem.vcf]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net


Snjezana Sevo-Z...
Re: Experiences with GlassFishv3
Posted: Nov 24, 2009 1:06 PM   in response to: Brian Leathem
  Click to reply to this thread Reply

There is no difference in licensing if you just download different
distribution types (.zip, .exe, .sh) of the same GlassFish release, for
instance Community Release. On the other hand, there is a difference in
licensing between Community Release, Sun's Supported Release and Java EE
SDK release. I hope this makes sense and I am trying very hard to use
the exact same terminology as the one used on GlassFish main download
page :-)

https://glassfish.dev.java.net/public/downloadsindex.html


Brian Leathem wrote:
> Sathyan Catari wrote:
>> Major Péter wrote:
>>> 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.
>
>
> Could you please elaborate on the license difference? Or is their a
> page describing the differences?
>
>
> Thanks,
> Brian Leathem
> ---------------------------------------------------------------------
> 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


Major Péter
Re: Experiences with GlassFishv3
Posted: Nov 24, 2009 3:04 AM   in response to: Sathyan Catari
  Click to reply to this thread Reply

>> 3, there is no such parameter, which would generate me an answer file.
>>
> -n <answer file>

I mean, not generating an answer file based on a specific install, but
generate me a sample file, which could I use for the install. Also when
starting app with -s -n filename, I get
UnsatisfiedLinkError: no Terminal in java.library.path

Peter

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





 XML java.net RSS