<br><br><div><span class="gmail_quote">On 4/5/06, <b class="gmail_sendername">Charlie McVeigh</b> <<a href="mailto:cmcveigh@adelphia.net">cmcveigh@adelphia.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have an interesting problem trying to deploy a Java web application to<br>my instance of Tomcat running on my FC4 machine.<br><br>org.springframework.beans.FatalBeanException: Could not instantiate<br>class [com.ithc.web.mvc.admin.ScriptUploadController
]; constructor threw<br>exception; nested exception is org.python.core.PyException: null<br>Traceback (innermost last):<br>  File "<Parser.py>", line 7, in ?<br>  File "C:\eclipse\workspace\iTHC\WEB-INF\jython\Lib\tokenize.py", line
<br>31, in ?</blockquote><div><br>If your WAR file refers to this directory to load the python sources it's obvious someone hard-coded a path. <br>Just search all your source and configuration files for the eclipse\workspace reference and try to use a solution without need to hard-code paths. (
Class.getResource and friends).<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This problem has all of my colleagues stumped as well - especially since
<br>the .war file works unchanged for them on the other OS's mentioned<br>above.  I would appreciate any thoughts that any of the Java Gurus on<br>the board may have.</blockquote><div><br>Maybe you copied the Tomcat configuration file from the windows machine and forgot to update a path set in the web application via JNDI? Maybe you have to put the path in the JNDI context and it's not there and this was a fallback put in by someone too lazy to set up a more production-like context on the development machine? 
</div><br>Klaasjan<br><br></div>