Solved

problem running jboss in eclipse

Posted on 2006-07-14
10
1,329 Views
Last Modified: 2012-06-21
i am running jboss in eclipse;how to put spy.properties in classpath?


1:05:41,438 WARN  [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to register driver for: com.p6spy.engine.spy.P6SpyDriver; - nested throwable: (java.lang.InstantiationException: spy.properties not found in classpath))
      
0
Comment
Question by:chaitu chaitu
  • 6
  • 4
10 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 17113700
>>spy.properties not found in classpath

That's what i'd focus on. Find the file and put it in the classpath
0
 
LVL 20

Author Comment

by:chaitu chaitu
ID: 17113770
when i run jboss independently its running fine;but when i run jboss inside eclipse its giving problem;
in jboss run.bat file

i set classpath(where spy.properties located) like this:c:/jboss/server/default/db;

but when i run jboss inside eclipse  where to set this spy.properties  in elcipse;;when u run jboss inside eclipse we are not running run.bat file;when u click debug button whatever u give jboss home directory it will run;
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 17113777
>>but when i run jboss inside eclipse  where to set this spy.properties

Add the file to your Eclipse build path
0
 
LVL 20

Author Comment

by:chaitu chaitu
ID: 17113787
"Add the file to your Eclipse build path"
u mean run.bat file or spy.properties;

where this Eclipse build path located??

in which tab(libraries,projects tab) should i add file in  Eclipse build path

0
 
LVL 86

Expert Comment

by:CEHJ
ID: 17113792
spy.properties

Add it through the package explorer. RIght-click the project
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 20

Author Comment

by:chaitu chaitu
ID: 17113799
i  RIght-click the project i can see build path;i am not to  add the file..
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 17113812
Sorry - you need to choose Import
0
 
LVL 20

Author Comment

by:chaitu chaitu
ID: 17119842
right click on the project choose file system selected spy.properties;when i run jboss still same error exists
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 17120380
Make sure that file is also in JBoss classpath
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 17215993
:-)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now