You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/01/26 12:51:18 UTC
[Bug 57497] New: JARs of lib folder not loaded into classpath,
getting ClassNotFoundException
https://issues.apache.org/bugzilla/show_bug.cgi?id=57497
Bug ID: 57497
Summary: JARs of lib folder not loaded into classpath, getting
ClassNotFoundException
Product: Tomcat 7
Version: 7.0.55
Hardware: All
Status: NEW
Severity: critical
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: udariramesh@gmail.com
Hi,
I am using tomcat 7.0.55 version for deploying our web based application(JIRA
6) and in our application we are trying to connect external databases(sql
server) by using sqljdbc4.jar and jtds-1.2.5.jar. We tried by using both
drivers, in both cases we are getting java.lang.ClassNotFoundException:
net.sourceforge.jtds.jdbc.Driver exception while loading driver even we have
both these JARS in C:\apache-tomcat-7.0.55\lib folder. Same is working with
tomcat-5.5.29 version wehn we places these boths jars in
C:\apache-tomcat-5.5.29\common\lib folder.
Even it is not working, if we use data source concept. Same is working
tomcat-5.5.29 version. Seems that JARs present under tomcat\lib folder not
loading into classpath.
Please help us what was changed in tomcat 7.0.55 version. We are struggling
with this issue from past 10 days not get any solution till now.
Regards,
Ramesh
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57497] JARs of lib folder not loaded into classpath, getting
ClassNotFoundException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57497
--- Comment #4 from Chuck Caldarale <ch...@unisys.com> ---
(In reply to udariramesh from comment #3)
> I am bit confused with your comment. Could you please brief me your
> suggestion. I did not understand your comment "Please use tomcat users
> list". How can i use tomcat users list.
By signing up for it: http://tomcat.apache.org/lists.html
Make sure to read the usage rules.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57497] JARs of lib folder not loaded into classpath, getting
ClassNotFoundException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57497
--- Comment #3 from udariramesh@gmail.com ---
Hi Violeta,
I am bit confused with your comment. Could you please brief me your suggestion.
I did not understand your comment "Please use tomcat users list". How can i use
tomcat users list.
Regards,
Ramesh
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57497] JARs of lib folder not loaded into classpath, getting
ClassNotFoundException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57497
udariramesh@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |udariramesh@gmail.com
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57497] JARs of lib folder not loaded into classpath, getting
ClassNotFoundException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57497
Violeta Georgieva <vi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Violeta Georgieva <vi...@apache.org> ---
Hi,
>From the provided information it seems to be an application configuration
problem. Please use tomcat users list. If the root of the problem appeared to
be in Tomcat then you can reopen this issue.
Regards,
Violeta
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57497] JARs of lib folder not loaded into classpath, getting
ClassNotFoundException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57497
udariramesh@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from udariramesh@gmail.com ---
Below are complete stack traces:
java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver
at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.
at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
com.globallogic.velocity.db.MSSQLConnection.getConnection(MSSQLConnection.java:40
at
com.globallogic.velocity.db.DBConnectionFactory.getConnection(DBConnectionFactory
at
com.globallogic.velocity.schedule.Routine.createConnection(Routine.java:93)
at
com.globallogic.velocity.schedule.Routine.getConnection(Routine.java:62)
at
com.globallogic.velocity.schedule.ERPMasterRoutine.getStatement(ERPMasterRoutine.
at
com.globallogic.velocity.schedule.ERPMasterRoutine.syncProcess(ERPMasterRoutine.j
at
com.globallogic.velocity.schedule.ERPDatabaseSyncTask.execute(ERPDatabaseSyncTask
at
com.atlassian.sal.jira.scheduling.JiraPluginScheduler$JobDescriptor.runJob(JiraPl
at
com.atlassian.sal.jira.scheduling.JiraPluginScheduler.runJob(JiraPluginScheduler.
at
com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:135)
at
com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:
at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:80)
at
com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32)
at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org