Solved

problem running jboss in eclipse

Posted on 2006-07-14
10
1,353 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
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!

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

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
iterator/ListIterator approach 17 53
Convert from a json string array to a Java object 3 64
spring maven example issues 3 43
passing enum to a method 4 35
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…
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 the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

733 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