I am trying to install Jtrac 2.1.0 on Jboss 5.1. It appears that Jtrac was compiled with Java 5, so it makes sense to me that it would work with the 5.1 version of Jboss.

However, when I deploy the war file, I get the following error:

java.io.FileNotFoundException: class path resource [jtrac-init.properties] cannot be resolved to absolute file path because it does not reside in the file system: vfszip:/C:/td/apps/jboss-5.1.0.GA/server/default/deploy/jtrac.war/WEB-INF/classes/jtrac-init.properties

This doesn't make a heck of a lot of sense to me, because the jtrac-init.properties file is included in the war file in the following location:

  • WEB-INF/classes/jtrac-init.properties

I tried deploying Jtrac under the "default" and "all" profiles, and I got the same error both times. Also, here's my Java opts according to Jboss:

JAVA_OPTS: -Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Djtrac.home=C:/td/apps/jtrac/jtrac_home -Dfile.encoding=UTF-8 -server

The C:/td/apps/jtrac/jtrac_home directory does exist. Can anyone else see what I'm doing wrong?

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.