Hey Rishi, Hmm, OK that's 2 people with similar issues. Issue time.
Answers below: On Dec 8, 2010, at 3:32 PM, Verma, Rishi (317I) wrote: > Hi Chris, > > I confirm Dave's prediction, at least for my setup. > > I attempted to place my query handler JAR somewhere other that WEB-INF/lib > and tomcat/lib (I placed it in my home directory, gave full read + execute > permissions), and registered the JAR's location using the webgrid manager > app. Despite being outside of tomcat/lib, I received a ClassCastException > like before. > > [1] http://s.apache.org/1P8 > > In your above email, you show how you got > 'oodt-xmlps-0.1-incubating-with-dependencies.jar' referenced within webgrid's > config page. Wanted to ask you two questions about this: > 1. What permissions did you set for that JAR file? I will go back and look but I believe if was something like 644 with my user perms and group, but with Tomcat run as root... > 2. Do you remember if you modified any default tomcat security settings? > Maybe webgrid cannot access the JAR because tomcat is restricting its runtime > access to files. Nope I didn't modify the security settings specifically in Tomcat. What version of Java are you using and what version of Tomcat? Cheers, Chris ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
