?
Solved

problem running jboss in eclipse

Posted on 2006-07-14
10
Medium Priority
?
1,368 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
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn different types of Android Layout and some basics of an Android App.
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…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month10 days, 19 hours left to enroll

770 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