WTP-1.0RC4 - "Run On Server" error [message #152376] |
Wed, 14 December 2005 19:10  |
Eclipse User |
|
|
|
Originally posted by: lnite.nowhere.com
Hi,
I'm giving WTP-1.0RC4 a test drive and I'm running into a problem my
test project's automatic building process, when attempting a "Run on
Server".
The Ant build fails with the following error:
BUILD FAILED
/home/lnite/eclipse_wtp/plugins/org.eclipse.jst.server.gener ic.serverdefinitions_1.0.0/buildfiles/oracle.10.1.3.xml:66:
The following error occurred while executing this line:
/home/lnite/eclipse_wtp/plugins/org.eclipse.jst.server.gener ic.serverdefinitions_1.0.0/buildfiles/oracle.10.1.3.xml:38:
/home/lnite/workspace_wtp/.metadata/.plugins/org.eclipse.cor e.resources/.projects/DemoJSP/org.eclipse.jst.server.generic .serverdefinitions/org.eclipse.jst.j2ee.server:DemoJSP
not found.
Checking the 'oracle.10.1.3.xml' file, I found out that the error was
caused by what seems to be a faulty evaluation of ${module.dir}.
I couldn't find where this property is being defined, but I'm assuming
it's supposed to be a directory path, which it apparently is not. In the
above case, ${module.dir} =
" /home/lnite/workspace_wtp/.metadata/.plugins/org.eclipse.cor e.resources/.projects/DemoJSP/org.eclipse.jst.server.generic .serverdefinitions/org.eclipse.jst.j2ee.server:DemoJSP "
which isn't a real directory. The correct value would appear to be:
" /home/lnite/workspace_wtp/.metadata/.plugins/org.eclipse.cor e.resources/.projects/DemoJSP/org.eclipse.jst.server.generic .serverdefinitions/DemoJSP "
I haven't tried recreating this on other app-servers.
- Alvin
|
|
|
|
|
|
Re: WTP-1.0RC4 - "Run On Server" error [message #152640 is a reply to message #152588] |
Fri, 16 December 2005 15:31   |
Eclipse User |
|
|
|
Originally posted by: cbosma.tecmasters.com
I can confirm this problem as well with RC4 on a Linux box, for both an
Oracle OC4J and JBoss 4 instance (using the JBoss 4 serverdef found in
this newsgroup). I haven't found a bug report on this, though; if you
like, I'll open one.
Craig
On Thu, 15 Dec 2005 15:52:35 -0600, Gorkem Ercan
<gercan@removeThis.acm.org> wrote:
> This may be a Linux issue, please open a bug report so that it gets
> tackled.
>
> Gorkem.
>
> Alvin Pillay wrote:
>> Hi,
>> I'm giving WTP-1.0RC4 a test drive and I'm running into a problem my
>> test project's automatic building process, when attempting a "Run on
>> Server".
>> The Ant build fails with the following error:
>> BUILD FAILED
>> /home/lnite/eclipse_wtp/plugins/org.eclipse.jst.server.gener ic.serverdefinitions_1.0.0/buildfiles/oracle.10.1.3.xml:66:
>> The following error occurred while executing this line:
>> /home/lnite/eclipse_wtp/plugins/org.eclipse.jst.server.gener ic.serverdefinitions_1.0.0/buildfiles/oracle.10.1.3.xml:38:
>> /home/lnite/workspace_wtp/.metadata/.plugins/org.eclipse.cor e.resources/.projects/DemoJSP/org.eclipse.jst.server.generic .serverdefinitions/org.eclipse.jst.j2ee.server:DemoJSP
>> not found.
>> Checking the 'oracle.10.1.3.xml' file, I found out that the error was
>> caused by what seems to be a faulty evaluation of ${module.dir}.
>> I couldn't find where this property is being defined, but I'm assuming
>> it's supposed to be a directory path, which it apparently is not. In
>> the above case, ${module.dir} =
>> " /home/lnite/workspace_wtp/.metadata/.plugins/org.eclipse.cor e.resources/.projects/DemoJSP/org.eclipse.jst.server.generic .serverdefinitions/org.eclipse.jst.j2ee.server:DemoJSP "
>> which isn't a real directory. The correct value would appear to be:
>> " /home/lnite/workspace_wtp/.metadata/.plugins/org.eclipse.cor e.resources/.projects/DemoJSP/org.eclipse.jst.server.generic .serverdefinitions/DemoJSP "
>> I haven't tried recreating this on other app-servers.
>> - Alvin
>>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
Re: WTP-1.0RC4 - "Run On Server" error [message #152682 is a reply to message #152640] |
Sat, 17 December 2005 03:53   |
Eclipse User |
|
|
|
Originally posted by: gercan.removeThis.acm.org
Please do, I do not have a linux box available right now.
Thanks
Gorkem.
Craig S. Bosma wrote:
> I can confirm this problem as well with RC4 on a Linux box, for both an
> Oracle OC4J and JBoss 4 instance (using the JBoss 4 serverdef found in
> this newsgroup). I haven't found a bug report on this, though; if you
> like, I'll open one.
>
> Craig
>
>
> On Thu, 15 Dec 2005 15:52:35 -0600, Gorkem Ercan
> <gercan@removeThis.acm.org> wrote:
>
>> This may be a Linux issue, please open a bug report so that it gets
>> tackled.
>>
>> Gorkem.
>>
>> Alvin Pillay wrote:
>>> Hi,
>>> I'm giving WTP-1.0RC4 a test drive and I'm running into a problem my
>>> test project's automatic building process, when attempting a "Run on
>>> Server".
>>> The Ant build fails with the following error:
>>> BUILD FAILED
>>> /home/lnite/eclipse_wtp/plugins/org.eclipse.jst.server.gener ic.serverdefinitions_1.0.0/buildfiles/oracle.10.1.3.xml:66:
>>> The following error occurred while executing this line:
>>> /home/lnite/eclipse_wtp/plugins/org.eclipse.jst.server.gener ic.serverdefinitions_1.0.0/buildfiles/oracle.10.1.3.xml:38:
>>> /home/lnite/workspace_wtp/.metadata/.plugins/org.eclipse.cor e.resources/.projects/DemoJSP/org.eclipse.jst.server.generic .serverdefinitions/org.eclipse.jst.j2ee.server:DemoJSP
>>> not found.
>>> Checking the 'oracle.10.1.3.xml' file, I found out that the error
>>> was caused by what seems to be a faulty evaluation of ${module.dir}.
>>> I couldn't find where this property is being defined, but I'm
>>> assuming it's supposed to be a directory path, which it apparently is
>>> not. In the above case, ${module.dir} =
>>> " /home/lnite/workspace_wtp/.metadata/.plugins/org.eclipse.cor e.resources/.projects/DemoJSP/org.eclipse.jst.server.generic .serverdefinitions/org.eclipse.jst.j2ee.server:DemoJSP "
>>> which isn't a real directory. The correct value would appear to be:
>>> " /home/lnite/workspace_wtp/.metadata/.plugins/org.eclipse.cor e.resources/.projects/DemoJSP/org.eclipse.jst.server.generic .serverdefinitions/DemoJSP "
>>> I haven't tried recreating this on other app-servers.
>>> - Alvin
>>>
>
>
>
> --Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
|
Re: WTP-1.0RC4 - "Run On Server" error [message #154051 is a reply to message #152717] |
Wed, 28 December 2005 10:26  |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi Uno,
thanks for the update.
I create a linux version of the plugin file with your proposal and put it here:
http://www.informatik.fh-wiesbaden.de/~knauf/SWTVertiefung20 05/jboss/allgemein/org.eclipse.jst.server.jboss_1.0.0_Linux. jar
Would be great if someone could verify it.
Wolfgang
Uno Engborg wrote:
> Wolfgang Knauf wrote:
>
>> Hi Alvin,
>>
>> seems to be a Linux matter.
>> Search for the post "Re: Attemp to create JBoss4-Serverdef for M9"
>> from 11.12.2005 00:55 by GS, he has the same problem with a JBoss
>> serverdef.
>>
>> But I cannot provide a solution to this...
>
>
> In JBoss4 for RC4 on Linux it seams that the ${modules.dir} property
> contains a org.eclipse.jst.j2ee.server directory too much at the end of
> the path in the <zipfileset> sections of jboss40.xml.
>
> I have replaced the ${modules.dir} with
> "${project.working.dir}/${module.name}" and it seam to work.
> Could anyone tell if this have some side effects on other platforms?
>
> I have attached my altered jboss40.xml if you like to test it.
>
>
> Regards
> Uno Engborg
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06288 seconds