chaitu chaitu
asked on
problem running jboss in eclipse
i am running jboss in eclipse;how to put spy.properties in classpath?
1:05:41,438 WARN [JBossManagedConnectionPoo l] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossRe sourceExce ption: Could not create connection; - nested throwable: (org.jboss.resource.JBossR esourceExc eption: Failed to register driver for: com.p6spy.engine.spy.P6Spy Driver; - nested throwable: (java.lang.InstantiationEx ception: spy.properties not found in classpath))
1:05:41,438 WARN [JBossManagedConnectionPoo
org.jboss.resource.JBossRe
ASKER
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/defau lt/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;
in jboss run.bat file
i set classpath(where spy.properties located) like this:c:/jboss/server/defau
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;
>>but when i run jboss inside eclipse where to set this spy.properties
Add the file to your Eclipse build path
Add the file to your Eclipse build path
ASKER
"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
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
spy.properties
Add it through the package explorer. RIght-click the project
Add it through the package explorer. RIght-click the project
ASKER
i RIght-click the project i can see build path;i am not to add the file..
Sorry - you need to choose Import
ASKER
right click on the project choose file system selected spy.properties;when i run jboss still same error exists
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:-)
That's what i'd focus on. Find the file and put it in the classpath