aspose file tools*
The moose likes JBoss/WildFly and the fly likes vfszip deployment error in Jboss 5.0.1 while deploying struts2  application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "vfszip deployment error in Jboss 5.0.1 while deploying struts2  application" Watch "vfszip deployment error in Jboss 5.0.1 while deploying struts2  application" New topic
Author

vfszip deployment error in Jboss 5.0.1 while deploying struts2 application

vikram mishra
Greenhorn

Joined: Mar 04, 2011
Posts: 7
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.


Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

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.


JBoss In Action
vikram mishra
Greenhorn

Joined: Mar 04, 2011
Posts: 7
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

Joined: May 14, 2008
Posts: 5843
    
    7

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: vfszip deployment error in Jboss 5.0.1 while deploying struts2 application