Hi,

I was just trying to deploy a simple HelloWorld-type war-applicaton on
Jboss-6.0.0.Final, and could not get it to work.

After investigating, I found out what the problem was,
and as far as I can understand, no Struts2 application will currently
run on Jboss-6.

I could also not find any existing report on this problem.

I just wanted to know if there is already some activity planned, to
verify+fix Struts2 for Jboss-6?

Or if this is already a "known issue", despite my failure to verify it?

The Exception you get when trying to deploy is something like:

[com.opensymphony.xwork2.util.FileManager]
Could not create JarEntryRevision!: java.io.FileNotFoundException:
  
vfs:\C:\program1\jboss6\server\default\deploy\myapp.war\WEB-INF\lib\struts2-sitemesh-plugin-2.2.1.1

The problem I found was in org.apache.struts.xwork : xwork-core
where the method URLUtil.isJboss5Url()
currently recognizes Jboss file-protocols:
    vfsmemory:
    vfszip:
    vfsfile:

But apparently, in Jboss-6 there is now another file-protocol, called
    vfs:

Thus the error-msg above.

I made a custom-build test and modified the method to also recognize
the "vfs" protocol-name,
and then the application deploys and runs OK on Jboss-6.

Should I register this as a jira?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to