Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

problem running jboss in eclipse

Posted on 2006-07-14
10
Medium Priority
?
1,379 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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
 
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 1500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

618 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