• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

vfszip deployment error in Jboss 5.0.1 while deploying struts2 application

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
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
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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
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
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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic