Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC,SYBASE and JBOSS configurations

 
Bob Kimmel
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bob,
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic