This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I taken latest project from repository.
I deployed the project into JBOSS,and i started the server
I am facing the following problems
1)java.util.zip.ZipException: invalid entry size (expected 1282408456 but got 25 bytes) 2)org.jboss.deployment.DeploymentException: URL file:/C:/jboss-4.0.2/server/default/deploy/TCCSite.war/ deployment failed
Use view and verify the content. If this fails, your war file is certainly corrupt.
Joined: Oct 17, 2008
I m using my eclipse,But i am able to deploy and run the other application.
I am facing problem while deploying this.Even i deleted the project and i taken latest again from repository..
Even i am facing same issue
For the time being, try deploying this outside of the IDE. Place the application in the deploy folder of the server and then from the command prompt start the server. See if that works.
By the way, when you deploy the application from Eclispe, is the server already up and running? Maybe the hot deployment scanner picks up the deployment even before it is completely copied to deploy folder.
And finally, did you try out the various suggestions already given in this thread?
Ya i tried all possible ways,i dont know why the error is coming,even i tried to create the war file in cmd prompt also.
And i deployed using the my eclipse into the folder C:\jboss-4.0.2\server\default\deploy,And i tried in both ways means i deployed while running the server as well as after shutting down the server..
Remove the generated files in the work as well as in the tmp folder.
some times the catched files also give problem.
Joined: Oct 17, 2008
even i tried to create war file in different ways i am getting the same exceptions,first one is
java.util.zip.ZipException: invalid entry size (expected 1282408456 but got 25 bytes)
and the second one deployemnt failed
Are you deploying the war in to server? I had a problem similar this, in which i was uploading the war to server in TEXT format. If it is not working in your local itself, then my suggestion will be useless for you .