dev@glassfish.java.net

Re: [Fwd: Re: problems deploying $GF/admin/mbeanapi-impl/tests/deploy/jaxrpc-simple.ear]

From: Lloyd L Chambers <lloyd.chambers_at_Sun.COM>
Date: Fri, 24 Mar 2006 14:12:21 -0800

I've rechecked in the files that didn't have "-kb" using the "-kb"
option. DeploymentMgr unit test looks OK.

*** testing com.sun.enterprise.management.deploy.DeploymentMgrTest ***
..Deployed: "tests\deploy\bookstore.war" in 2531ms
Deployed: "tests\deploy\jaxrpc-simple.ear" in 3031ms
Deployed: "tests\deploy\jdbc-simple.ear" in 531ms
Deployed: "tests\deploy\jndi-custom.ear" in 532ms
Deployed: "tests\deploy\jndi-external.ear" in 531ms
Deployed: "tests\deploy\jndi-url.ear" in 547ms
Deployed: "tests\deploy\jsf-carstore.war" in 1125ms
Deployed: "tests\deploy\jsf-components.war" in 1047ms
Deployed: "tests\deploy\jsf-guessNumber.war" in 531ms
Deployed: "tests\deploy\logging-helloworld.ear" in 531ms
Deployed: "tests\deploy\mailconnector.ear" in 531ms
Deployed: "tests\deploy\mailconnector.rar" in 532ms
Deployed: "tests\deploy\managementws.ear" in 2593ms
Deployed: "tests\deploy\mdb-simple.ear" in 2532ms
Deployed: "tests\deploy\rmi-simple.ear" in 1531ms
Deployed: "tests\deploy\stateful-simple.ear" in 531ms
Deployed: "tests\deploy\stateless-simple.ear" in 531ms
Deployed: "tests\deploy\web-basic-auth.war" in 532ms
Deployed: "tests\deploy\web-form-auth.war" in 515ms
Deployed: "tests\deploy\webapps-simple.war" in 1110ms
Undeployed: BookstoreWAR
Undeployed: jaxrpc-simple
Undeployed: jdbc-simple
Undeployed: CustomJndiFactory
Undeployed: ExternalJndiFactory
Undeployed: jndi-url
Undeployed: Car_Store
Undeployed: JavaServer_Faces_Custom_Components
Undeployed: JavaServer_Faces_Guess_Number_Sample_Application
Undeployed: logging-helloworld
Undeployed: InboundMessageApp
Undeployed: InboundResourceAdapter
Undeployed: ManagementServiceEAR
Undeployed: SimpleMessageApp
Undeployed: RMIConverterApp
Undeployed: CartApp
Undeployed: HelloWorld
Undeployed: Welcome_to_BASIC_Security_Zone
Undeployed: Formauth
Undeployed: JSP_and_Servlet_Examples
Deployed: "tests\deploy\bookstore.war" in 532ms
Deployed: "tests\deploy\jaxrpc-simple.ear" in 3031ms
Deployed: "tests\deploy\jdbc-simple.ear" in 2531ms
Deployed: "tests\deploy\jndi-custom.ear" in 531ms
Deployed: "tests\deploy\jndi-external.ear" in 532ms
Deployed: "tests\deploy\jndi-url.ear" in 531ms
Deployed: "tests\deploy\jsf-carstore.war" in 594ms
Deployed: "tests\deploy\jsf-components.war" in 531ms
Deployed: "tests\deploy\jsf-guessNumber.war" in 531ms
Deployed: "tests\deploy\logging-helloworld.ear" in 531ms
Deployed: "tests\deploy\mailconnector.ear" in 532ms
Deployed: "tests\deploy\mailconnector.rar" in 547ms
Deployed: "tests\deploy\managementws.ear" in 2593ms
Deployed: "tests\deploy\mdb-simple.ear" in 532ms
Deployed: "tests\deploy\rmi-simple.ear" in 531ms
Deployed: "tests\deploy\stateful-simple.ear" in 531ms
Deployed: "tests\deploy\stateless-simple.ear" in 531ms
Deployed: "tests\deploy\web-basic-auth.war" in 500ms
Deployed: "tests\deploy\web-form-auth.war" in 2500ms
Deployed: "tests\deploy\webapps-simple.war" in 1078ms
Added ref to: BookstoreWAR
Added ref to: jaxrpc-simple
Added ref to: jdbc-simple
Added ref to: CustomJndiFactory
Added ref to: ExternalJndiFactory
Added ref to: jndi-url
Added ref to: Car_Store
Added ref to: JavaServer_Faces_Custom_Components
Added ref to: JavaServer_Faces_Guess_Number_Sample_Application
Added ref to: logging-helloworld
Added ref to: InboundMessageApp
Added ref to: InboundResourceAdapter
Added ref to: ManagementServiceEAR
Added ref to: SimpleMessageApp
Added ref to: RMIConverterApp
Added ref to: CartApp
Added ref to: HelloWorld
Added ref to: Welcome_to_BASIC_Security_Zone
Added ref to: Formauth
Added ref to: JSP_and_Servlet_Examples
.
Time: 46.265

OK (3 tests)

Time to run tests: 46 seconds

Lloyd L Chambers wrote:

> I'll see if I can fix it today.
>
> Lloyd
>
> Nazrul Islam wrote:
>
>> Okay, perhaps we can fix these and respond to Ostap on the dev alias.
>> We are trying to get him involved in GlassFish. He is from Russia.
>>
>> nazrul
>>
>> Lloyd L Chambers wrote:
>>
>>> Oops, I missed a few. I see the following do not have "-kb".
>>>
>>> /jaxrpc-simple.ear/1.1/Tue Oct 11 01:00:58 2005//
>>> /jndi-custom.ear/1.1/Tue Oct 11 01:00:57 2005//
>>> /jndi-external.ear/1.1/Tue Oct 11 01:00:57 2005//
>>> /managementws.ear/1.1/Tue Oct 11 01:00:58 2005//
>>>
>>> HOWEVER, I successfully deployed all four of them in the GUI and the
>>> unit tests also succeed. There must be a platform difference which
>>> makes it not work. I'm using Windows XP.
>>>
>>> Lloyd
>>>
>>> Lloyd L Chambers wrote:
>>>
>>>> Mine are all checked in with "-kb", and are all the right size, and
>>>> all deploy fine.
>>>>
>>>> Lloyd
>>>>
>>>> /bookstore.war/1.1/Mon Oct 17 20:26:37 2005/-kb/
>>>> /jaxrpc-simple.ear/1.1/Tue Oct 11 01:00:58 2005//
>>>> /jdbc-simple.ear/1.1/Tue Oct 11 01:00:56 2005/-kb/
>>>> /jndi-custom.ear/1.1/Tue Oct 11 01:00:57 2005//
>>>> /jndi-external.ear/1.1/Tue Oct 11 01:00:57 2005//
>>>> /jndi-url.ear/1.1/Tue Oct 11 01:00:57 2005/-kb/
>>>> /jsf-carstore.war/1.1/Tue Oct 11 01:00:57 2005/-kb/
>>>> /jsf-components.war/1.1/Tue Oct 11 01:00:57 2005/-kb/
>>>> /jsf-guessNumber.war/1.1/Tue Oct 11 01:00:57 2005/-kb/
>>>> /logging-helloworld.ear/1.1/Tue Oct 11 01:00:58 2005/-kb/
>>>> /mailconnector.ear/1.1/Tue Oct 11 01:00:56 2005/-kb/
>>>> /mailconnector.rar/1.1/Tue Oct 11 01:00:56 2005/-kb/
>>>> /managementws.ear/1.1/Tue Oct 11 01:00:58 2005//
>>>> /mdb-simple.ear/1.1/Tue Oct 11 01:00:56 2005/-kb/
>>>> /rmi-simple.ear/1.1/Tue Oct 11 01:00:58 2005/-kb/
>>>> /stateful-simple.ear/1.1/Tue Oct 11 01:00:56 2005/-kb/
>>>> /stateless-simple.ear/1.1/Tue Oct 11 01:00:56 2005/-kb/
>>>> /web-basic-auth.war/1.1/Tue Oct 11 01:00:58 2005/-kb/
>>>> /web-form-auth.war/1.1/Tue Oct 11 01:00:58 2005/-kb/
>>>> /webapps-simple.war/1.1/Tue Oct 11 01:00:58 2005/-kb/
>>>> D
>>>>
>>>>
>>>> Nazrul Islam wrote:
>>>>
>>>>> Lloyd,
>>>>>
>>>>> Do we need to fix the cvs issues listed bellow? Thanks.
>>>>>
>>>>> --
>>>>> Nazrul Islam - (408) 276-6468 - Sun Microsystems, Inc. - Blog
>>>>> to Win iPod <http://appserver.sfbay.sun.com/as9ee/article/ipod.html>
>>>>>
>>>>>
>>>>> -------- Original Message --------
>>>>> Subject: Re: problems deploying
>>>>> $GF/admin/mbeanapi-impl/tests/deploy/jaxrpc-simple.ear
>>>>> Date: Fri, 24 Mar 2006 10:38:45 +0300
>>>>> From: Ostap Cherkashin <ostap.cherkashin_at_gmail.com>
>>>>> Reply-To: dev_at_glassfish.dev.java.net
>>>>> To: dev_at_glassfish.dev.java.net
>>>>> References:
>>>>> <bfbb69a20603200315p31868630gce5ba47070ce1e63_at_mail.gmail.com>
>>>>> <4421B3FE.5050404_at_sun.com>
>>>>> <bfbb69a20603230027ycba8828p589941a0076dadc3_at_mail.gmail.com>
>>>>> <442336E3.3020608_at_sun.com>
>>>>>
>>>>>
>>>>>
>>>>> Hello, Nazrul,
>>>>>
>>>>> I have deployed the attached EAR easily without any problems (see
>>>>> the attached server.log). As I mentioned before the issue is in
>>>>> the wrong cvs check-in options, when you checking in binaries you
>>>>> have to specify '-kb' options to the cvs client. Thus, if you do a
>>>>> clean checkout of the glassfish/admin/mbeanapi-info/tests/deploy
>>>>> dir (HEAD or AS9_BETA_BRANCH), you will see that jaxrpc-simple.ear
>>>>> is about 1Kb instead of the attached 10Kb and when you issue the
>>>>> 'cat CVS/Entries' command in that dir you won't see '-kb' flags
>>>>> around jaxrpc-simple.ear. This is also true for some other
>>>>> archives in the same dir. Please look carefully, now it is obvious
>>>>> that the problem is not on my site.
>>>>>
>>>>> Regards,
>>>>> Ostap
>>>>>
>>>>> PS
>>>>> I am starting to work on the discussed issue with your
>>>>> jaxrpc-simple.ear.
>>>>>
>>>>>
>>>>> On 3/24/06, *Nazrul Islam* <nazrul.islam_at_sun.com
>>>>> <mailto:nazrul.islam_at_sun.com>> wrote:
>>>>>
>>>>> Ostap,
>>>>>
>>>>> I am not sure why you are running into issues. Could you
>>>>> please try to depoy the attached ear? Remove all old server
>>>>> logs. Copy this jar to domains/domain1/autodeploy directory
>>>>> and start the domain.
>>>>>
>>>>> Please let me know what you see in server log and autodeploy
>>>>> directory. Thanks.
>>>>>
>>>>>
>>>>> --
>>>>> Nazrul Islam - (408) 276-6468 - Sun Microsystems, Inc. -
>>>>> Blog to Win iPod
>>>>> <http://appserver.sfbay.sun.com/as9ee/article/ipod.html>
>>>>>
>>>>> Ostap Cherkashin wrote:
>>>>>
>>>>>> Nazrul,
>>>>>>
>>>>>> Unfortunately it didn't help. I'd copied the
>>>>>> jaxrpc-simple.ear to the autodeploy dir, and saw the same
>>>>>> results. Then I'd tried:
>>>>>>
>>>>>> [ocherkashin_at_mdev03 temp]$ cvs -d
>>>>>> :pserver:ocherkashin_at_cvs.dev.java.net:/cvs co -r
>>>>>> AS9_BETA_BRANCH glassfish/admin/mbeanapi-impl/tests/deploy
>>>>>> cvs server: Updating glassfish/admin/mbeanapi-impl/tests/deploy
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/bookstore.war
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/jaxrpc-simple.ear
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/jdbc-simple.ear
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/jndi-custom.ear
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/jndi- external.ear
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/jndi-url.ear
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/jsf-carstore.war
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/jsf-components.war
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/jsf- guessNumber.war
>>>>>> U
>>>>>> glassfish/admin/mbeanapi-impl/tests/deploy/logging-helloworld.ear
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/mailconnector.ear
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/mailconnector.rar
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/managementws.ear
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/mdb-simple.ear
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/rmi-simple.ear
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/stateful- simple.ear
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/stateless-simple.ear
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/web-basic-auth.war
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/web-form-auth.war
>>>>>> U glassfish/admin/mbeanapi-impl/tests/deploy/webapps- simple.war
>>>>>> [ocherkashin_at_mdev03 temp]$ cd
>>>>>> glassfish/admin/mbeanapi-impl/tests/deploy/
>>>>>> [ocherkashin_at_mdev03 deploy]$ jar xvf jaxrpc-simple.ear
>>>>>> created: META-INF/
>>>>>> extracted: META-INF/MANIFEST.MF
>>>>>> java.io.EOFException : Unexpected end of ZLIB input stream
>>>>>> at
>>>>>> java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:215)
>>>>>> at
>>>>>> java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
>>>>>> at java.util.zip.ZipInputStream.read
>>>>>> (ZipInputStream.java:139)
>>>>>> at sun.tools.jar.Main.extractFile(Main.java:715)
>>>>>> at sun.tools.jar.Main.extract(Main.java:678)
>>>>>> at sun.tools.jar.Main.run(Main.java:190)
>>>>>> at sun.tools.jar.Main.main (Main.java:904)
>>>>>> [ocherkashin_at_mdev03 deploy]$ jar xvf logging-helloworld.ear
>>>>>> created: META-INF/
>>>>>> extracted: META-INF/MANIFEST.MF
>>>>>> extracted: META-INF/application.xml
>>>>>> extracted: logging-helloworld.war
>>>>>> extracted: logging-helloworldEjb.jar
>>>>>> [ocherkashin_at_mdev03 deploy]$
>>>>>>
>>>>>> And after that:
>>>>>>
>>>>>> [ocherkashin_at_mdev03 deploy]$ cat CVS/Entries
>>>>>> /bookstore.war/1.1/Thu Oct 27 20:17:09 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /jaxrpc-simple.ear/1.1/Thu Oct 27 20:17:09 2005//TAS9_BETA_BRANCH
>>>>>> /jdbc-simple.ear/1.1/Thu Oct 27 20:17:09
>>>>>> 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /jndi-custom.ear/1.1/Thu Oct 27 20:17:09 2005//TAS9_BETA_BRANCH
>>>>>> /jndi-external.ear/1.1/Thu Oct 27 20:17:09 2005//TAS9_BETA_BRANCH
>>>>>> /jndi-url.ear/1.1/Thu Oct 27 20:17:10 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /jsf-carstore.war /1.1/Thu Oct 27 20:17:10
>>>>>> 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /jsf-components.war/1.1/Thu Oct 27 20:17:10
>>>>>> 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /jsf-guessNumber.war/1.1/Thu Oct 27 20:17:10
>>>>>> 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /logging-helloworld.ear /1.1/Thu Oct 27 20:17:11
>>>>>> 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /mailconnector.ear/1.1/Thu Oct 27 20:17:11
>>>>>> 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /mailconnector.rar/1.1/Thu Oct 27 20:17:11
>>>>>> 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /managementws.ear/1.1/Thu Oct 27 20:17:11 2005//TAS9_BETA_BRANCH
>>>>>> /mdb-simple.ear/1.1/Thu Oct 27 20:17:11 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /rmi-simple.ear/1.1/Thu Oct 27 20:17:12 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /stateful-simple.ear/1.1/Thu Oct 27 20:17:12
>>>>>> 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /stateless- simple.ear/1.1/Thu Oct 27 20:17:12
>>>>>> 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /web-basic-auth.war/1.1/Thu Oct 27 20:17:12
>>>>>> 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /web-form-auth.war/1.1/Thu Oct 27 20:17:12
>>>>>> 2005/-kb/TAS9_BETA_BRANCH
>>>>>> /webapps-simple.war /1.1/Thu Oct 27 20:17:13
>>>>>> 2005/-kb/TAS9_BETA_BRANCH
>>>>>> D
>>>>>>
>>>>>> As you can see jaxrpc-simple.ear as well as some other files
>>>>>> are checked in as simple ASCII text files (without -kb
>>>>>> option). It seems for me that this is the root of my deploy
>>>>>> problem.
>>>>>>
>>>>>> Hope that someone will solve this problem soon.
>>>>>>
>>>>>> Regards,
>>>>>> Ostap
>>>>>>
>>>>>> On 3/22/06, *Nazrul Islam* <nazrul.islam_at_sun.com
>>>>>> <mailto:nazrul.islam_at_sun.com>> wrote:
>>>>>>
>>>>>> Ostap,
>>>>>>
>>>>>> Were you able to resolve this deployment issue?
>>>>>>
>>>>>> [#|2006-03-20T14:08:19.728+0300|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=14;_ThreadName=httpWorkerThread-4848-3;/C:/Documents
>>>>>> and Settings/Ostap Cherkashin/Local
>>>>>> Settings/Temp/s1astempdomain1server-2113769285/gui/jaxrpc-
>>>>>> simple.ear;_RequestID=4d185eed-0fe5-449c-96d1-9acfe49e6304;|"DPL8004:
>>>>>> file open failure; file = /C:/Documents and
>>>>>> Settings/Ostap Cherkashin/Local
>>>>>> Settings/Temp/s1astempdomain1server-2113769285/gui/jaxrpc-simple.ear"|#]
>>>>>>
>>>>>>
>>>>>> Looking at the server log, it seems GUI could not find or
>>>>>> open the ear file on your machine for some reason. I
>>>>>> don't see this on my system. Please try auto-deploy by
>>>>>> coping the ear to glassfish/domains/domain1/autodeploy
>>>>>> directory. Thanks.
>>>>>>
>>>>>> --
>>>>>> Nazrul Islam - (408) 276-6468 - Sun Microsystems, Inc.
>>>>>>
>>>>>>
>>>>>> Ostap Cherkashin wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I am experiencing problems deploying jaxrpc-simple.ear:
>>>>>> step2: error in opening zip file. You will find the log
>>>>>> file attached to this mail (please note that I am using a
>>>>>> localized version of MS Windows thus the path contains
>>>>>> russian letters). I have also tried to deploy one of the
>>>>>> wars from the same dir and it works just fine. I tried
>>>>>> both AS9_BETA_BRANCH (today) and HEAD revisions. Has
>>>>>> anybody experienced the same problems?
>>>>>>
>>>>>> Ostap
>>>>>>
>>>>>>------------------------------------------------------------------------
>>>>>>
>>>>>>---------------------------------------------------------------------
>>>>>>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
>>>>>>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net <mailto: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
>>>>>
>>>>>
>>>>>
>>
>> --
>> Nazrul Islam - (408) 276-6468 - Sun Microsystems, Inc. - Blog to
>> Win iPod <http://appserver.sfbay.sun.com/as9ee/article/ipod.html>
>