Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP-1.0RC4 - "Run On Server" error
WTP-1.0RC4 - "Run On Server" error [message #152376] Thu, 15 December 2005 00:10 Go to next message
Eclipse UserFriend
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 #152483 is a reply to message #152376] Thu, 15 December 2005 15:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

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...

Wolfgang

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
>
>
Re: WTP-1.0RC4 - "Run On Server" error [message #152588 is a reply to message #152376] Thu, 15 December 2005 21:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gercan.removeThis.acm.org

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
>
>
Re: WTP-1.0RC4 - "Run On Server" error [message #152626 is a reply to message #152483] Fri, 16 December 2005 17:44 Go to previous messageGo to next message
Uno Engborg is currently offline Uno EngborgFriend
Messages: 5
Registered: July 2009
Junior Member
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...
>
> Wolfgang
>
> 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.
>>
JBoss4 have the same problem

Regards
Uno Engborg
Re: WTP-1.0RC4 - "Run On Server" error [message #152640 is a reply to message #152588] Fri, 16 December 2005 20:31 Go to previous messageGo to next message
Eclipse UserFriend
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 08:53 Go to previous messageGo to next message
Eclipse UserFriend
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 #152717 is a reply to message #152483] Sat, 17 December 2005 22:50 Go to previous messageGo to next message
Uno Engborg is currently offline Uno EngborgFriend
Messages: 5
Registered: July 2009
Junior Member
This is a multi-part message in MIME format.
--------------060309050407000108090309
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------060309050407000108090309
Content-Type: text/xml;
name="jboss40.xml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="jboss40.xml"

<project name="deployextension" default="deploy.j2ee.web" basedir=".">
<target name="deploy.j2ee.web">
<jar destfile="${project.working.dir}/${module.name}.war">
<!-- <zipfileset dir="${module.dir}"> -->
<zipfileset dir="${project.working.dir}/${module.name}">
<include name="**/*.*"/>
<exclude name="**/*.war"/>
</zipfileset>
</jar>
<move file="${project.working.dir}/${module.name}.war" todir="${server.publish.dir}"/>
</target>

<target name="deploy.j2ee.ejb">
<jar destfile="${project.working.dir}/${module.name}.jar">
<!-- <zipfileset dir="${module.dir}"> -->
<zipfileset dir="${project.working.dir}/${module.name}">
<include name="**/*.*"/>
<exclude name="**/*.jar"/>
</zipfileset>
</jar>
<move file="${project.working.dir}/${module.name}.jar" todir="${server.publish.dir}"/>
</target>
<target name="deploy.j2ee.ear">
<jar destfile="${project.working.dir}/${module.name}.ear">
<!-- <zipfileset dir="${module.dir}"> -->
<zipfileset dir="${project.working.dir}/${module.name}">
<include name="**/*.*"/>
<exclude name="**/*.java"/>
</zipfileset>
</jar>
<move file="${project.working.dir}/${module.name}.ear" todir="${server.publish.dir}"/>
</target>
<target name="undeploy.j2ee.web">
<delete file="${server.publish.dir}/${module.name}.war"> </delete>
</target>
<target name="undeploy.j2ee.ejb">
<delete file="${server.publish.dir}/${module.name}.jar"> </delete>
</target>
<target name="undeploy.j2ee.ear">
<delete file="${server.publish.dir}/${module.name}.ear"> </delete>
</target>
</project>

--------------060309050407000108090309--
Re: WTP-1.0RC4 - "Run On Server" error [message #154051 is a reply to message #152717] Wed, 28 December 2005 15:26 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:Generated JSP code
Next Topic:Installing WTP 1.0 on Eclipse SDK3.2M4
Goto Forum:
  


Current Time: Thu Apr 25 01:39:58 GMT 2024

Powered by FUDForum. Page generated in 0.03578 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top