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 12:49:00 -0800

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>