dev@glassfish.java.net

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

From: Ostap Cherkashin <ostap.cherkashin_at_gmail.com>
Date: Fri, 24 Mar 2006 10:38:45 +0300

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> 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> 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
> > For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >
> >
> >
> >
>
>
>
>