dev@glassfish.java.net

Re: Excessive output from QL

From: Ming Zhang <Ming.Zhang_at_Sun.COM>
Date: Mon, 21 Sep 2009 11:08:56 -0700

Lloyd,

The output you quoted is from build and deployment stage of QL and not
from execution stage. I took a note and will try to suppress the
build-deploy output when I get a chance. Hope you will write some tests
with the output messages from runtime to assess the MBeans features
instead of directing them to output.

Ming

Lloyd Chambers wrote:
> Ming,
>
> See below for a snippet. Junk verbiage that is standard as part of QL
> overwhelms any useful output.
>
> Lloyd
>
>
>
> build:
>
> build-impl:
>
> archive-type:
> [echo] archive-type is jar
>
> build-war:
>
> archive-type:
> [echo] archive-type is jar
>
> build-ear:
>
> archive-type:
> [echo] archive-type is jar
>
> build-appclient-ear:
>
> archive-type:
> [echo] archive-type is jar
>
> build-jar:
> [echo] Now creating a jar file
> ../../dist/EJB_remoteview/remoteview.jar
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/EJB_remoteview/app
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/EJB_remoteview
> [echo] Now compiling
> [javac] Compiling 5 source files to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/EJB_remoteview/app
> [echo] Now creating a war file
> ../../dist/EJB_remoteview/remoteview.jar
> [jar] Building jar:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/EJB_remoteview/remoteview.jar
>
>
> compile-tests:
> [echo] compiling test client to ../../classes/test
> [javac] Compiling 1 source file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/test
>
> deploy:
>
> setOSConditions:
>
> deploy-v3-impl:
> [echo] deploying remoteview.jar
>
> deploy-v3-impl-unix:
>
> [exec] Command deploy executed successfully.
>
> deploy-v3-impl-windows:
>
> build-deploy:
>
> compile-tests:
> [echo] compiling test client to ../../classes/test
> [javac] Compiling 1 source file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/test
> [javac] Note:
> /Volumes/Scratch/work/v3/code/tests/quicklook/ejb/singleton/src/test/SingletonTestNG.java
> uses or overrides a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
>
> build:
>
> build-impl:
>
> archive-type:
> [echo] archive-type is ear
>
> build-war:
>
> archive-type:
> [echo] archive-type is ear
>
> build-ear:
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/EJB_Singleton/app
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/EJB_Singleton
> [javac] Compiling 6 source files to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/EJB_Singleton/app
> [echo] war.classes ============== :
> **/*Servlet.class,**/*Interface.class
> [war] Building war:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/EJB_Singleton/singletonWeb.war
>
> [war] Warning: selected war files include a WEB-INF/web.xml
> which will be ignored (please use webxml attribute to war task)
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/EJB_Singleton/app/META-INF
>
> [copy] Warning: Could not find file
> /Volumes/Scratch/work/v3/code/tests/quicklook/ejb/singleton/metadata/ejb-jar.xml
> to copy.
> [copy] Warning: Could not find file
> /Volumes/Scratch/work/v3/code/tests/quicklook/ejb/singleton/metadata/sun-ejb-jar.xml
> to copy.
> [copy] Warning: Could not find file
> /Volumes/Scratch/work/v3/code/tests/quicklook/ejb/singleton/metadata/sun-cmp-mappings.xml
> to copy.
> [copy] Warning: Could not find file
> /Volumes/Scratch/work/v3/code/tests/quicklook/ejb/singleton/metadata/${dbschema}
> to copy.
> [jar] Building jar:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/EJB_Singleton/singletonEJB.jar
>
> [ear] Building ear:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/EJB_Singleton/singleton.ear
>
> [echo] Packaged Archive at ../../dist/EJB_Singleton/singleton.ear
>
> archive-type:
> [echo] archive-type is ear
>
> build-appclient-ear:
>
> archive-type:
> [echo] archive-type is ear
>
> build-jar:
>
> deploy:
>
> setOSConditions:
>
> deploy-v3-impl:
> [echo] deploying singleton.ear
>
> deploy-v3-impl-unix:
>
> [exec] Command deploy executed successfully.
>
> deploy-v3-impl-windows:
>
> redeploy:
>
> setOSConditions:
>
> re-deploy-v3:
> [echo] deploying singleton.ear
>
> re-deploy-v3-unix:
>
> [exec] Command deploy executed successfully.
>
> re-deploy-v3-windows:
>
> build-deploy:
>
> compile-tests:
> [echo] compiling test client to ../../classes/test
> [javac] Compiling 1 source file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/test
>
> build:
>
> build-impl:
>
> archive-type:
> [echo] archive-type is ear
>
> build-war:
>
> archive-type:
> [echo] archive-type is ear
>
> build-ear:
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/EJB_CMP/app
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/EJB_CMP
> [javac] Compiling 17 source files to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/EJB_CMP/app
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [echo] war.classes ============== :
> **/*Servlet.class,**/Roster.class,**/RosterHome.class,**/*Details.class,**/Debug.class
>
> [war] Building war:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/EJB_CMP/RosterAppWeb.war
>
> [war] Warning: selected war files include a WEB-INF/web.xml
> which will be ignored (please use webxml attribute to war task)
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/EJB_CMP/app/META-INF
>
> [copy] Copying 1 file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/EJB_CMP/app/META-INF
>
> [copy] Copying 1 file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/EJB_CMP/app/META-INF
>
> [copy] Copying 1 file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/EJB_CMP/app/META-INF
>
> [copy] Copying 1 file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/EJB_CMP/app
> [jar] Building jar:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/EJB_CMP/RosterAppEJB.jar
>
> [ear] Building ear:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/EJB_CMP/RosterApp.ear
> [echo] Packaged Archive at ../../dist/EJB_CMP/RosterApp.ear
>
> archive-type:
> [echo] archive-type is ear
>
> build-appclient-ear:
>
> archive-type:
> [echo] archive-type is ear
>
> build-jar:
>
> create-table:
>
> initprop:
> [echo] JavaDB Database Location : /v3/glassfishv3/glassfish/javadb
>
> sql-common:
> [echo] sql.file = sql/RosterApp_derby.sql
> [echo] db.class.path =
> /v3/glassfishv3/glassfish/javadb/lib/derbyclient.jar:/v3/glassfishv3/glassfish/../javadb/lib/derbyclient.jar
>
> [sql] Executing file:
> /Volumes/Scratch/work/v3/code/tests/quicklook/ejb/cmp/sql/RosterApp_derby.sql
>
> [sql] Failed to execute: DROP TABLE TeamPlayer
> [sql] java.sql.SQLSyntaxErrorException: 'DROP TABLE' cannot be
> performed on 'TEAMPLAYER' because it does not exist.
> [sql] Failed to execute: DROP TABLE Player
> [sql] java.sql.SQLSyntaxErrorException: 'DROP TABLE' cannot be
> performed on 'PLAYER' because it does not exist.
> [sql] Failed to execute: DROP TABLE Team
> [sql] java.sql.SQLSyntaxErrorException: 'DROP TABLE' cannot be
> performed on 'TEAM' because it does not exist.
> [sql] Failed to execute: DROP TABLE League
> [sql] java.sql.SQLSyntaxErrorException: 'DROP TABLE' cannot be
> performed on 'LEAGUE' because it does not exist.
> 0 rows affected
> 0 rows affected
> 0 rows affected
> 0 rows affected
> [sql] 4 of 8 SQL statements executed successfully
>
> deploy:
>
> setOSConditions:
>
> deploy-v3-impl:
> [echo] deploying RosterApp.ear
>
> deploy-v3-impl-unix:
>
> [exec] Command deploy executed successfully.
>
> deploy-v3-impl-windows:
>
> build-deploy:
>
> build:
>
> compile-util:
> [javac] Compiling 2 source files to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/test
>
> compile-tests:
> [echo] compiling test client to ../../classes/test
> [javac] Compiling 1 source file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/test
>
> build-impl:
>
> archive-type:
> [echo] archive-type is appclient_ear
>
> build-war:
>
> archive-type:
> [echo] archive-type is appclient_ear
>
> build-ear:
>
> archive-type:
> [echo] archive-type is appclient_ear
>
> build-appclient-ear:
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/mdb/app
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/mdb
> [javac] Compiling 6 source files to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/mdb/app
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/mdb/app/META-INF
> [copy] Copying 1 file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/mdb/app/META-INF
> [jar] Building jar:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/mdb/ejb-ejb30-hello-mdb-client.jar
>
> [delete] Deleting directory
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/mdb/app/META-INF
> [jar] Building jar:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/mdb/ejb-ejb30-hello-mdb-ejb.jar
>
> [ear] Building ear:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/mdb/ejb-ejb30-hello-mdbApp.ear
>
> [echo] Packaged Archive at ../../dist/mdb/ejb-ejb30-hello-mdbApp.ear
>
> archive-type:
> [echo] archive-type is appclient_ear
>
> build-jar:
>
> declare-wsimport:
>
> build-setup:
> [echo] build-setup: build.home=../..
>
> build-server-wsdl:
> [wsimport] Consider using <depends>/<produces> so that wsimport won't
> do unnecessary compilation
> [wsimport] parsing WSDL...
>
>
> [wsimport] generating code...
>
>
> [wsimport] compiling code...
>
> [javac] Compiling 1 source file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/test
>
> create-war:
> [war] Building war:
> /Volumes/Scratch/work/v3/code/tests/quicklook/wsit/JaxwsFromWsdl/JaxwsFromWsdl.war
>
> [copy] Copying 1 file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/wsit
>
> deploy:
>
> setOSConditions:
>
> deploy-v3-impl:
> [echo] deploying JaxwsFromWsdl.war
>
> deploy-v3-impl-unix:
>
> [exec] Command deploy executed successfully.
>
> deploy-v3-impl-windows:
>
> server:
>
> generate-client:
> [wsimport] Consider using <depends>/<produces> so that wsimport won't
> do unnecessary compilation
> [wsimport] parsing WSDL...
>
>
> [wsimport] generating code...
>
>
> [wsimport] compiling code...
>
>
> build-client1:
> [javac] Compiling 1 source file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/test
>
> build-client2:
> [javac] Compiling 1 source file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/test
> [javac] Note:
> /Volumes/Scratch/work/v3/code/tests/quicklook/wsit/JaxwsFromWsdl/src/test/jaxwsfromwsdl/client/JaxwsFromWsdlTestNG.java
> uses unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
>
> client:
>
> build-deploy:
>
> compile-tests:
> [echo] compiling test client to ../../classes/test
> [javac] Compiling 1 source file to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/test
> [javac] Note:
> /Volumes/Scratch/work/v3/code/tests/quicklook/webbeans/numberguess/src/test/NumberGuessTestNG.java
> uses or overrides a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
>
> build:
>
> build-impl:
>
> archive-type:
> [echo] archive-type is war
>
> build-war:
> [echo] Now creating a war file
> ../../dist/webbeanstest/numberguess.war
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/webbeanstest/app
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/webbeanstest
> [javac] Compiling 4 source files to
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/webbeanstest/app
> [mkdir] Created dir:
> /Volumes/Scratch/work/v3/code/tests/quicklook/classes/webbeanstest/app/META-INF
>
> [copy] Warning: Could not find file
> /Volumes/Scratch/work/v3/code/tests/quicklook/webbeans/numberguess/metadata/persistence.xml
> to copy.
> [war] Building war:
> /Volumes/Scratch/work/v3/code/tests/quicklook/dist/webbeanstest/numberguess.war
>
> [war] Warning: selected war files include a WEB-INF/web.xml
> which will be ignored (please use webxml attribute to war task)
>
> archive-type:
> [echo] archive-type is war
>
>
>
>
> On Sep 21, 2009, at 9:26 AM, Ming Zhang wrote:
>
>> If you need to use the output to assess the MBeans features, it's
>> better to write them into tests instead of directing to output.
>>
>> Can you be more specific about the unnecessary QL output?
>>
>> Ming
>>
>> Lloyd Chambers wrote:
>>> Yes, it's output I used to assess which MBeans are being seen and
>>> tested.
>>>
>>> There is so much pure *junk* in QL output that I'm not sure why this
>>> is a problem.
>>>
>>> Lloyd
>>>
>>> On Sep 15, 2009, at 3:46 PM, Ming Zhang wrote:
>>>
>>>> Hi,
>>>>
>>>> Does anyone know why there are excessive output from QL when
>>>> executing AMX and asadmin tests recently?
>>>> [testng] Registered:
>>>> amx:pp=/domain/resources,type=connector-connection-pool,name=AMXConfigProxyTests.connectorConnectionPoolTest
>>>>
>>>> [testng] Registered:
>>>> amx:pp=/domain/resources/connector-connection-pool[AMXConfigProxyTests.connectorConnectionPoolTest],type=security-map,name=AMXConfigProxyTests.connectorConnectionPoolTest
>>>>
>>>> ...
>>>>
>>>> I changed the values of <monitoring-service> element in domain.xml
>>>> from HIGH to INFO and still see these messages. Is it possible to
>>>> turn them off? It's better to show these messages for debug purpose
>>>> only.
>>>>
>>>> Thanks,
>>>> Ming
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>> Lloyd Chambers
>>> lloyd.chambers_at_sun.com
>>> GlassFish Team
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> Lloyd Chambers
> lloyd.chambers_at_sun.com
> GlassFish Team
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>