File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JDBC,SYBASE and JBOSS configurations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JDBC,SYBASE and JBOSS configurations" Watch "JDBC,SYBASE and JBOSS configurations" New topic

JDBC,SYBASE and JBOSS configurations

Bob Kimmel

Joined: Aug 27, 2003
Posts: 26
I am completely stumped and no one responded to my other post so I thought I would try again. I am using Sybase ASE 12.5 with the jconn2.jar driver. I am trying to run it through JBoss 4.0.1 I have the jar in the default/lib directory and can see that it does find the jar when I compile so that is not the problem. I then try to access my jsp via IE and get a NoClassDefFoundException: com.sybase.jdbc2.jdbc.SybDriver. That class is in the jconn2.jar file! I am not even using any connections beans but actually do it within the jsp directly. I want to get the connection working before complicating things. We are using the struts framework for our display but the datasource code is commented out in the struts-config.xml. Any ideas on what could be wrong. PLEASE HELP.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33129

No idea. I'm this thread moving to JBoss since the question didn't get a response here and makes sense in either place. Maybe someone in the JBoss forum will know.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: JDBC,SYBASE and JBOSS configurations
It's not a secret anymore!