• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

vfszip deployment error in Jboss 5.0.1 while deploying struts2 application  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
following is the console message i got while deploying my app...; kindly reply as early as possible. i have been struggling for past one week with this.


 
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Always followed the "caused by" trail on the first exception stack trace. The root cause is:

Caused by: Action class [com.vikram.actions.WelcomeAction] not found - action - vfszip:/home/vikram/Vikram's%20folder/Softwares/jboss-5.0.1.GA/server/default/deploy/Struts2final%20attempt.war/WEB-INF/classes/struts.xml:10:70

This tells me that the struts.xml file, on line(?) 10 is referencing the com.vikram.actions.WelcomeAction class, but that class cannot be found.

Where, exactly, in your application is this class located?

I also noticed that you WAR file name has a space in it (the %20): Struts2final%20attempt.war. That is a very bad idea. Get rid of the space. Also get rid of the space and the apostrophe in the directory name Vikram's%20folder. There is nothing like putting spaces and special characters in directory names to confuse Java code.
 
vikram mishra
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you peter for your valuable suggestion but the problem is actually "Caused by: Unable to load vfszip-/...../struts.xml - Class: org.jboss.virtual.plugins.cache.AbstractVFSCache
File: AbstractVFSCache.java
Method: getFile
Line: 75 - org/jboss/virtual/plugins/cache/AbstractVFSCache.java:75:-1"

i donno how come this doesn't work..
when i make application with "annotations" it works but with xml it doesn't . kindly enlighten me what is goin around here with vfszip loading
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I said "first exception stack trace", you focused on the second exception stack trace. Fix the first one, then the second will probably go away.

Please do not use large amounts of colored text. I fixed your post for you.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!