AdamBien / lightfish

Payara / GlassFish Monitoring Utility
121 stars 41 forks source link

Can you tell me latest GF version on which it is working ? #24

Closed ccristian closed 10 years ago

ccristian commented 10 years ago

Can you tell me latest working version on which it is working ?

I tried with latest 4.0.1 promoted glassfish-4.0.1-b04-01_02_2014-ml

but i got errors.

Thanks

Error occurred during deployment: Exception while loading the app : CDI deployment failure:WELD-001409 Ambiguous dependencies for type [String] with qualifiers [@Default] at injection point [[BackedAnnotatedField] @Inject org.lightfish.business.servermonitoring.boundary.MonitoringAdmin.password]. Possible dependencies: - Producer Method [String] with qualifiers [@Any @Default] declared as [[UnbackedAnnotatedMethod] @Produces public org.glassfish.jersey.gf.cdi.internal.CdiComponentProvider$JaxRsParamProducer.getParameterValue(InjectionPoint, BeanManager)], - Producer Method [String] with qualifiers [@Any @Default] declared as [[BackedAnnotatedMethod] @Produces public org.lightfish.business.configuration.boundary.Configurator.getString(InjectionPoint)]. Please see server.log for more details. PER01003: Deployment encountered SQL Exceptions: PER01000: Got SQLException executing statement "CREATE TABLE APPLICATION (ID BIGINT NOT NULL, APPLICATIONNAME VARCHAR(255), COMPONENTS BLOB(21 .... msg.seeServerLog

AdamBien commented 10 years ago

Interesting. I never saw this before. My version was definitely older than: glassfish-4.0.1-b04-01_02_2014-ml. I never saw this error before.

AdamBien commented 10 years ago

Seems like: @Produces public org.glassfish.jersey.gf.cdi.internal.CdiComponentProvider$JaxRsParamProducer.getParameterValue(InjectionPoint, BeanManager)], is exposed by GF -> which is clearly a bug.

ccristian commented 10 years ago

Meanwhile until gf fixes the bug....I can use it with gf 4.0 ? or 4.0.1 is reuqired....?

AdamBien commented 10 years ago

I even tried with GlassFish Server Open Source Edition 4.0 (build 1) and the latest release. It worked.

You will need 4.0.1 for EJB performance monitoring.

AdamBien commented 10 years ago

Does it work for you with 4.0 build1?

ccristian commented 10 years ago

Not for now: 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect

The app needs derby running on 1727 ?

(this is clean download , i just dropped the lightfish war into autodeploy)

I'll investigate....and come back.

ccristian commented 10 years ago

I started GF from netbeans and derby started (it seems it is needed for light fish)

now i receive

SEVERE: Cannot fetch static server information Exception: java.lang.IllegalStateException: Cannot fetch static monitoring data because of: javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

ccristian commented 10 years ago

Ok ...it seems now it is better...just deleted the old derby db.(i had a user pass there in the schema so with the new GF it idid not worked)

However on main page there is Enable or disable the monitoring configuration on the server.

HTML5 data It works only when monitoring is activated ?

is there a short manual for light fish if not i can do it but i need a little bit of your guidance...i want to do the same thing for weblogic (there i have more experience then with gf) since 11g there is a rest monitoring exposed so it might be good ideea maybe to unify the interface and mabybe later to add jboss to it...?

AdamBien commented 10 years ago

Sure! I already thought about adding support for TomEE and Wildfly. The only constraint is my time :-)

But: I'm glad it is working for you!