Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: AW: [hyades-dev] exception on launching


Just to expand on what Gian Franco said, I expect that you're using a launch configuration (not using the Run wizard in the Test perspective).  The environment settings are not shown on the launch configuration pages, but the CLASSPATH should be autocalculated when artifact/location pairs are added to the deployment.  This will be fixed for M9 -- I have created a bugzilla defect (58827) to track this.

Thanks,
--Joe

Joe Toomey
Advisory Software Engineer
Rational Software
IBM Software Group
tel: (781) 676-7668
fax: (781) 676-7640

"Bonini, Gian Franco" <gian.franco.bonini@xxxxxxx>
Sent by: hyades-dev-admin@xxxxxxxxxxx

04/16/2004 09:11 AM

Please respond to
hyades-dev@xxxxxxxxxxx

To
"'hyades-dev@xxxxxxxxxxx'" <hyades-dev@xxxxxxxxxxx>
cc
Subject
AW: [hyades-dev] exception on launching





Hi,
‘test’ is the name of the package that contains the test class (check if Cookie.java has the corresponding package declaration). If the runner can’t find the test class, it’s likely that you didn’t specify the CLASSPATH variable (Run wizard, deployment selection page, Environment settings) correctly. E.g. if the RAServer is running on a remote machine the class path entry must be qualified with the machine name, be accessible, etc. You should also check that the CLASSPATH folder does indeed contain the file test/Cookie.class.
 
Hope that makes sense…
 
Cheers,
Gian Franco
 
--------
 
Gian Franco Bonini
SAP AG
 
 
 
 
 
-----Ursprüngliche Nachricht-----
Von:
hyades-dev-admin@xxxxxxxxxxx [mailto:hyades-dev-admin@xxxxxxxxxxx] Im Auftrag von Suzanne Dirkers
Gesendet:
Freitag, 16. April 2004 14:52
An:
hyades-dev@xxxxxxxxxxx
Betreff:
[hyades-dev] exception on launching

 

Hi,


      Has anybody seen this particular exception coming from HyadesJUnitRunner on trying to launch a Remote application in the debugger at eclipse 3.0?  Apparently it thinks some file named test.cookie needs to be there, even though I have a cookie.testsuite file and a Cookie.java file generated.  Who generates this test.your_project_name file?


 
fall back to executionContext logger -- event org.eclipse.hyades.models.common.testprofile.impl.TPFMessageEventImpl@782d6d6f (id: ROOT, ownerId: AA2D7EF00F9F11D88000C8F212B38EA9, timestamp: 1082120009303, text: java.lang.ClassNotFoundException: test.Cookie
       at java.net.URLClassLoader.findClass(URLClassLoader.java:374)

       at java.lang.ClassLoader.loadClass(ClassLoader.java:561)

       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:441)

       at java.lang.ClassLoader.loadClass(ClassLoader.java:493)


Thanks,

Suzanne

ForwardSourceID:NT0001426E    

Back to the top