YT as .war in JBoss 5.1 java.lang.IllegalArgumentException: Can't find resource [jetbrains/mps/webr/htmlComponent/css/reset.css]

Hi,

I'm trying to install YT as a .war file on my existing JBoss 5.1.0 installation with Java 6 on 64-bit Win7, in order to evaluate the product for use in our company as a potential replacement for Mantis.

At first I encountered a problem with JBoss not being able to create a SAX parser. This I is was able to resolve by removing the /WEB-INF/lib/xerces.jar (a suggestion I found on the JBoss support forums).

Now I'm having another problem which I'm unable to resolve. When JBoss with YT boots up and I navigate to the setup page, an whole list of Java exceptions is generated in the JBoss console.

Mostly they seem to be boiling down to this error:

java.lang.IllegalArgumentException: Can't find resource [jetbrains/mps/webr/htmlComponent/css/reset.css]

I checked but the file is available on the filesystem under the WEB-INF/classes/ directory.
Do I perhaps need to configure a directory path somewhere?

For clarity I also uploaded the boot.log and server.log.

Kind regards,
Ferrie
log.rar (141KB)
0
2 comments
Avatar
Permanently deleted user
Hello,

are you using JBoss 5.1.0 or JBoss 5.1.0 GA ?
What build of YouTrack are you deploying?
0
Avatar
Permanently deleted user
Hi, thanks for your reply and sorry for the late response.

I used JBoss 5.1.0 GA.
I downloaded the latest release build of YT 4.0 as it was available on 8 July 2012

UPDATE:

I just tried again using the currently available YT 4.0.1 (build 3861 or something - whatever was available for download today) and I got it working :-)

The only thing I had to change to the WAR file, was to remove the "xerxes.jar" file from the WEB-INF/lib/ directory. Then I deployed the WAR (as a .WAR file, not as expanded dir - that gave me a very slow boot) and after a while it displayed the YT Setup screen.
0

Please sign in to leave a comment.