[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: A ClassCastException

PeterJ do-not-reply at jboss.com
Thu Mar 19 17:43:02 EDT 2009


Don't focus on the error message - always looked for the final "caused by" clause in the stack trace. That final "caused" by is the real reason for the failure. So for the error messages you posted earlier, what was the final "caused by"?

Regarding your latest post, the final "caused by" is:

Caused by: java.io.IOException: The system cannot find the path specified

[soapbox]I always hate it when the person who wrote the error message assumes what the data in error is (in this case, the the path) - why can't they understand that their code might be layered underneath other code and used by someone who has no idea what data the code is complaining about. It would have been so much easier if the "caused by" clause included the name of the path! [/soapbox]

Are you sure that the account you are using has full access to the JBoss AS path? If the WAR isan archive file, JBoss AS will attempt to create directories an other structures in the server/xxx/tmp directory.



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219635#4219635

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219635



More information about the jboss-user mailing list