Home » Archived » Test and Performance Tools Platform (TPTP) » IAC issues
IAC issues [message #102091] |
Fri, 29 June 2007 23:21 |
Eclipse User |
|
|
|
Originally posted by: kmenard.servprise.com
Hi,
I've just grabbed Eclipse 3.3 and installed TPTP via the Europa discovery
site. After dealing with conflicts with an older agent running, I managed
to get things going a bit. I then found I was having issues starting IAC
due to a file path -- it turns out that the path to the eclipse executable
cannot contain spaces, at least on a Windows system. You can see the
stack trace in [1] below. Now that I've fixed that, I'm running into yet
another problem. This time it's a class definition not found error:
[startIAC: Error Stream] RAServer generated the following output:
Exception in thread "Thread-0" java.lang.NoClassDefFoundError:
org/eclipse/hyades/internal/execution/file/FileServer
Does anyone have any thoughts on how I can get past this one?
Thanks,
Kevin
[1]
java.net.MalformedURLException: unknown protocol: c
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.set upCurrentEntity(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.d etermineDocVersion(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown
Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(U nknown
Source)
at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(Unknown
Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at
org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.parseFile(AdminUtil.java:79)
at
org.eclipse.tptp.platform.iac.administrator.internal.common. AdminUtil.isConfigurationValid(AdminUtil.java:643)
at
org.eclipse.tptp.platform.iac.administrator.internal.startst op.AutoStartStop.startIAC(AutoStartStop.java:81)
at
org.eclipse.hyades.internal.execution.local.control.NodeImpl .connect(NodeImpl.java:283)
at
org.eclipse.hyades.security.internal.util.BaseConnectUtil.in secureConnect(BaseConnectUtil.java:369)
at
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:255)
at
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:540)
at
org.eclipse.tptp.platform.common.ui.trace.internal.util.PDCo reUtil.profileConnect(PDCoreUtil.java:827)
at
org.eclipse.tptp.trace.ui.internal.launcher.deleg.applicatio n.PIDelegateHelper$JVMVersionDetector.run(PIDelegateHelper.j ava:473)
at java.lang.Thread.run(Unknown Source)
|
|
|
Re: IAC issues [message #102310 is a reply to message #102091] |
Mon, 02 July 2007 17:20 |
Joe Toomey Messages: 79 Registered: July 2009 |
Member |
|
|
Hi Kevin,
I just pulled a fresh Europa driver to try to validate the problems you
describe. I was unable to reproduce either of these issues. I'll
describe what I did, and then hopefully you can tell me how this differs
from what you have done, and we can figure out why you have run into
these problems.
1) I installed Eclipse Europa from the eclipse.org website. I took the
eclipse classic download for windows, which was the following URL:
http://www.eclipse.org/downloads/download.php?file=/eclipse/ downloads/drops/R-3.3-200706251500/eclipse-SDK-3.3-win32.zip
2) I unzipped this into a directory with spaces in the path (in my case,
"C:\TPTP_TestPass\4.4 GA UM")
3) I started eclipse (with a new workspace "C:\TPTP_TestPass\4.4 GA
UM\eclipse\workspace")
4) I ran the update manager (Help -> Software Updates ...) and chose the
whole Test and Performance group, then clicked "Select Required" and
installed everything it added (some EMF and XSD features)
5) I restarted when it prompted me
6) I confirmed in Process Explorer that ACServer was not running
6) Created a new project, added a new TPTP JUnit test, added test
methods and behavior, saved, right clicked and chose Run As... Test
The test ran successfully, and I can see in process explorer that
ACServer (the IAC) was launched. The command line path as shown in
Process Explorer looks correct, and does have spaces in it:
"C:\TPTP_TestPass\4.4 GA
UM\eclipse\plugins\org.eclipse.tptp.platform.ac.win_ia32_4.4 .0.v200706020100\agent_controller\bin\ACServer "
Can you please contrast these steps with the steps you took and let us
know what you did differently? In particular, I want to confirm that
you started with a fresh Europa Eclipse 3.3, and I'm interested to learn
which package you downloaded to start with. Hopefully we can get to the
bottom of this and fix any bugs that you may have discovered.
Thanks,
--Joe
|
|
| |
Re: IAC issues [message #102493 is a reply to message #102310] |
Tue, 03 July 2007 11:53 |
Eclipse User |
|
|
|
Originally posted by: kmenard.servprise.com
Hi Joe,
I've tried this a few different ways already, but I'll try to list where=
I =
diverged from what you did.
1) I grabbed the "Eclipse IDE for Java Developers" for Windows, which wa=
s =
at the following URL: =
http://www.eclipse.org/downloads/download.php?file=3D/techno logy/epp/dow=
nloads/release/20070702/eclipse-java-europa-win32.zip
2) I unzipped this to a directory with spaces (C:\dev\eclipse 3.3). =
Attempting from this location induced the MalformedURLException I =
mentioned. As an aside, I haven't looked at the source of the exception=
, =
but I have seen this in other projects and it normally boils down to how=
=
the file URL is constructed.
3) I started Eclipse with an existing workspace. I have used this =
workspace with Eclipse 3.2, Eclipse 3.3 M4, Eclipse 3.3 M7, and Eclipse =
=
3.3 RC4.
4) I followed the same procedure. TPTP was installed via the Europa =
discovery site.
5) Same.
6) Same.
7) Since TPTP does not have a TestNG runner, I created a new Java run th=
at =
executes org.testng.TestNG with my TestNG configuration file. I verifie=
d =
that this run executes properly independently of TPTP.
8) I get the exception about ClassDefNotFound.
If I get some time this afternoon or perhaps tomorrow, I'll try with the=
=
full Eclipse download. Given that it's a ClassDefNotFound, I'm inclined=
=
to think it's related to a dependency that's failed to be picked up.
I should probably note that I'm running on Windows XP Pro SP2.
-- =
Kevin
On Mon, 02 Jul 2007 13:20:12 -0400, Joe Toomey <jptoomey@us.ibm.com> wro=
te:
> Hi Kevin,
>
> I just pulled a fresh Europa driver to try to validate the problems yo=
u =
> describe. I was unable to reproduce either of these issues. I'll =
> describe what I did, and then hopefully you can tell me how this diffe=
rs =
> from what you have done, and we can figure out why you have run into =
> these problems.
>
> 1) I installed Eclipse Europa from the eclipse.org website. I took th=
e =
> eclipse classic download for windows, which was the following URL: =
> http://www.eclipse.org/downloads/download.php?file=3D/eclips e/download=
s/drops/R-3.3-200706251500/eclipse-SDK-3.3-win32.zip
>
> 2) I unzipped this into a directory with spaces in the path (in my cas=
e, =
> "C:\TPTP_TestPass\4.4 GA UM")
>
> 3) I started eclipse (with a new workspace "C:\TPTP_TestPass\4.4 GA =
> UM\eclipse\workspace")
>
> 4) I ran the update manager (Help -> Software Updates ...) and chose t=
he =
> whole Test and Performance group, then clicked "Select Required" and =
> installed everything it added (some EMF and XSD features)
>
> 5) I restarted when it prompted me
>
> 6) I confirmed in Process Explorer that ACServer was not running
>
> 6) Created a new project, added a new TPTP JUnit test, added test =
> methods and behavior, saved, right clicked and chose Run As... Test
>
> The test ran successfully, and I can see in process explorer that =
> ACServer (the IAC) was launched. The command line path as shown in =
> Process Explorer looks correct, and does have spaces in it: =
> "C:\TPTP_TestPass\4.4 GA =
> UM\eclipse\plugins\org.eclipse.tptp.platform.ac.win_ia32_4.4 .0.v200706=
020100\agent_controller\bin\ACServer"
>
> Can you please contrast these steps with the steps you took and let us=
=
> know what you did differently? In particular, I want to confirm that =
=
> you started with a fresh Europa Eclipse 3.3, and I'm interested to lea=
rn =
> which package you downloaded to start with. Hopefully we can get to t=
he =
> bottom of this and fix any bugs that you may have discovered.
>
> Thanks,
> --Joe
|
|
|
Re: IAC issues [message #102504 is a reply to message #102317] |
Tue, 03 July 2007 11:56 |
Eclipse User |
|
|
|
Originally posted by: kmenard.servprise.com
Hi Igor,
On Mon, 02 Jul 2007 13:24:55 -0400, Igor Alelekov
<igor.alelekov@intel.com> wrote:
> Hi Kevin,
> I hope IAC should work if you install TPTP 4.4.0 runtime form download
> page http://www.eclipse.org/tptp/home/downloads/
> Regards, Igor
Does installation via the Europa discovery site not work? If that be the
case, I'd expect to see a lot more messages of this ilk. Most people are
going to grab the release off the discovery site, since that's supposed to
be the coordinated release that just works with Eclipse 3.3.
--
Kevin
|
|
|
Re: IAC issues [message #102612 is a reply to message #102310] |
Tue, 03 July 2007 13:44 |
Eclipse User |
|
|
|
Originally posted by: kmenard.servprise.com
Hi Joe,
Taking your advice in another thread, I've narrowed a problem down to =
cached data in the workspace. Creating a new workspace, I no longer hav=
e =
the issue. Even using the existing workspace, but starting with "-clean=
", =
I no longer have the issue. Note that I'm talking about the =
ClassDefNotFound issue. I haven't tried with spaces in my path again.
It may be worth adding something like this to the FAQ. While it may see=
m =
obvious to those in the know that resetting the workspace is required, I=
'd =
hazard to say that many users will be trying to use existing workspaces.=
Regards,
Kevin
On Mon, 02 Jul 2007 13:20:12 -0400, Joe Toomey <jptoomey@us.ibm.com> wro=
te:
> Hi Kevin,
>
> I just pulled a fresh Europa driver to try to validate the problems yo=
u =
> describe. I was unable to reproduce either of these issues. I'll =
> describe what I did, and then hopefully you can tell me how this diffe=
rs =
> from what you have done, and we can figure out why you have run into =
> these problems.
>
> 1) I installed Eclipse Europa from the eclipse.org website. I took th=
e =
> eclipse classic download for windows, which was the following URL: =
> http://www.eclipse.org/downloads/download.php?file=3D/eclips e/download=
s/drops/R-3.3-200706251500/eclipse-SDK-3.3-win32.zip
>
> 2) I unzipped this into a directory with spaces in the path (in my cas=
e, =
> "C:\TPTP_TestPass\4.4 GA UM")
>
> 3) I started eclipse (with a new workspace "C:\TPTP_TestPass\4.4 GA =
> UM\eclipse\workspace")
>
> 4) I ran the update manager (Help -> Software Updates ...) and chose t=
he =
> whole Test and Performance group, then clicked "Select Required" and =
> installed everything it added (some EMF and XSD features)
>
> 5) I restarted when it prompted me
>
> 6) I confirmed in Process Explorer that ACServer was not running
>
> 6) Created a new project, added a new TPTP JUnit test, added test =
> methods and behavior, saved, right clicked and chose Run As... Test
>
> The test ran successfully, and I can see in process explorer that =
> ACServer (the IAC) was launched. The command line path as shown in =
> Process Explorer looks correct, and does have spaces in it: =
> "C:\TPTP_TestPass\4.4 GA =
> UM\eclipse\plugins\org.eclipse.tptp.platform.ac.win_ia32_4.4 .0.v200706=
020100\agent_controller\bin\ACServer"
>
> Can you please contrast these steps with the steps you took and let us=
=
> know what you did differently? In particular, I want to confirm that =
=
> you started with a fresh Europa Eclipse 3.3, and I'm interested to lea=
rn =
> which package you downloaded to start with. Hopefully we can get to t=
he =
> bottom of this and fix any bugs that you may have discovered.
>
> Thanks,
> --Joe
|
|
|
Re: IAC issues [message #102649 is a reply to message #102612] |
Tue, 03 July 2007 15:11 |
Joe Toomey Messages: 79 Registered: July 2009 |
Member |
|
|
Great news, Kevin.
I will look into posting this on the TPTP FAQ. Perhaps we can put links
to a couple of good articles that address these kind of issues:
http://www.eclipsezone.com/eclipse/forums/t61566.html
http://www-128.ibm.com/developerworks/opensource/library/os- ecl-manage/
Good luck, and thanks for using TPTP.
--Joe
Kevin Menard wrote:
> Hi Joe,
>
> Taking your advice in another thread, I've narrowed a problem down to
> cached data in the workspace. Creating a new workspace, I no longer
> have the issue. Even using the existing workspace, but starting with
> "-clean", I no longer have the issue. Note that I'm talking about the
> ClassDefNotFound issue. I haven't tried with spaces in my path again.
>
> It may be worth adding something like this to the FAQ. While it may
> seem obvious to those in the know that resetting the workspace is
> required, I'd hazard to say that many users will be trying to use
> existing workspaces.
>
> Regards,
> Kevin
>
> On Mon, 02 Jul 2007 13:20:12 -0400, Joe Toomey <jptoomey@us.ibm.com> wrote:
>
>> Hi Kevin,
>>
>> I just pulled a fresh Europa driver to try to validate the problems
>> you describe. I was unable to reproduce either of these issues. I'll
>> describe what I did, and then hopefully you can tell me how this
>> differs from what you have done, and we can figure out why you have
>> run into these problems.
>>
>> 1) I installed Eclipse Europa from the eclipse.org website. I took
>> the eclipse classic download for windows, which was the following URL:
>> http://www.eclipse.org/downloads/download.php?file=/eclipse/ downloads/drops/R-3.3-200706251500/eclipse-SDK-3.3-win32.zip
>>
>>
>> 2) I unzipped this into a directory with spaces in the path (in my
>> case, "C:\TPTP_TestPass\4.4 GA UM")
>>
>> 3) I started eclipse (with a new workspace "C:\TPTP_TestPass\4.4 GA
>> UM\eclipse\workspace")
>>
>> 4) I ran the update manager (Help -> Software Updates ...) and chose
>> the whole Test and Performance group, then clicked "Select Required"
>> and installed everything it added (some EMF and XSD features)
>>
>> 5) I restarted when it prompted me
>>
>> 6) I confirmed in Process Explorer that ACServer was not running
>>
>> 6) Created a new project, added a new TPTP JUnit test, added test
>> methods and behavior, saved, right clicked and chose Run As... Test
>>
>> The test ran successfully, and I can see in process explorer that
>> ACServer (the IAC) was launched. The command line path as shown in
>> Process Explorer looks correct, and does have spaces in it:
>> "C:\TPTP_TestPass\4.4 GA
>> UM\eclipse\plugins\org.eclipse.tptp.platform.ac.win_ia32_4.4 .0.v200706020100\agent_controller\bin\ACServer "
>>
>>
>> Can you please contrast these steps with the steps you took and let us
>> know what you did differently? In particular, I want to confirm that
>> you started with a fresh Europa Eclipse 3.3, and I'm interested to
>> learn which package you downloaded to start with. Hopefully we can
>> get to the bottom of this and fix any bugs that you may have discovered.
>>
>> Thanks,
>> --Joe
|
|
|
Re: IAC issues [message #107626 is a reply to message #102091] |
Tue, 07 August 2007 10:42 |
Eclipse User |
|
|
|
Originally posted by: mike5.nil.si
Kevin Menard wrote:
> Hi,
>
> I've just grabbed Eclipse 3.3 and installed TPTP via the Europa
> discovery site. After dealing with conflicts with an older agent
Reading through this thread and having similar problems, I can only
conclude that you have problems with Europa install process, since I
couldn't get it to work until I downloaded entire TPTP runtime and
installed it.
Br Mike5
|
|
|
Goto Forum:
Current Time: Fri Apr 19 18:34:23 GMT 2024
Powered by FUDForum. Page generated in 0.03447 seconds
|