• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Getting Error while deployement of project in JBOSS

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
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

Please assist me

 
Ranch Hand
Posts: 45
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As mentioned in your error discription I am assuming that error 1 and 2 are related. As per the exception TCCSite.war file might be corrupted. Verify the TCCSite.war file format.

Kuldip
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What tool did you use to create the WAR file? Some ZIP utilities create files that are not compatible with the compression mechanisms used for Java archive files (JAR, WAR, etc)
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use view and verify the content. If this fails, your war file is certainly corrupt.
 
rakesh kopperapu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
rakesh kopperapu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Remove the generated files in the work as well as in the tmp folder.
some times the catched files also give problem.


Varnita
 
rakesh kopperapu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rakesh,

You haven't yet answered the questions asked earlier in this thread. Please re-read the replies in this thread.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rakesh,

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 .
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic