Hello
all,
I recently upgraded
my web server to Tomcat. I successfully created the respective contexts for my
aplications.
However I am unable
to connect to the database in my JSP's. When I run my JSP Page , it throws the
following exception
the first few
lines
javax.servlet.ServletException:
net/avenir/jdbc2/h (Illegal Field name "?")
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457)
at org.apache.jsp.CalendarLogin$jsp._jspService(CalendarLogin$jsp.java:243)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457)
at org.apache.jsp.CalendarLogin$jsp._jspService(CalendarLogin$jsp.java:243)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
root
cause
java.lang.ClassFormatError:
net/avenir/jdbc2/h (Illegal Field name "?")
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
I am using Atinav
driver for SQL Server and the jar file is situated in the common/lib directory.
Notice its not a classnotfound exception.
Please
help
Purav
