>>>>> "Uma" == Uma Munugala <[EMAIL PROTECTED]> writes:
Uma> Hi
Uma> Iam trying to convert a standalone application to web based application
Uma> using Tomcat.
Uma> Iam running a servlet called Login in Tomcat 4.0.3-b1 on NT 4.0. I tried
Uma> different versions of tomcat also like tomcat 4.0.3 and lower.
Uma> In the above servlet Iam trying to load a class file called
Uma> com.CellFusion.Relational.RelConnection. using Class.forName, I get an
Uma> error
Uma> java.lang.ClassFormatError: com/CellFusion/Relational/RelConnection (Illegal
Uma> Variable name "")
Uma> I can load all other class files but i cant load this particular file.
Uma> Iam attaching the file any help in this regards would be very much
Uma> appreciated
Uma> . <<RelConnection.java>> <<Login.java>>
Uma> When I take some java files (including the said file) from my application
Uma> and seperately compile them and place them in D:\Apache Tomcat
Uma> 4.0\webapps\CellFusion\WEB-INF\classes i dont have any problem.
Uma> I am not sure what is problem with the tom cat loader, Iam stuck can any
Uma> body please explain.
How are you compiling your source files?
What compiler are you using?
What JDK/JVM are you using?
Are you certain you're using the compiler that goes with the JVM you're running
Tomcat with?
This may be unimportant, but are you using any directory names which contain
spaces?
--
===================================================================
David M. Karr ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>