Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Run On server with multiple projects
Run On server with multiple projects [message #192947] Tue, 22 May 2007 09:00 Go to next message
Sundaramurthi is currently offline SundaramurthiFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,
In 1.5.4 release i am facing problem with running 2 webprojects, before
that i dont have this issue.

to reproduce this,
1) Created 2 webproject. web1, web2.
2) Web1 projected selected, right click -> Run -> Run on Server,
3) following wizard steps,
4) In Add Remove project page, I added "web2" project and followed steps and
finished it.

Now server started with only web1 project. web2 ignored to launch. My web1
project also need web2 so it failing to run.

Is it a bug in "Run onServer" wizard or am i doing wrong?

-Sundar
Re: Run On server with multiple projects [message #192955 is a reply to message #192947] Tue, 22 May 2007 12:28 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1310
Registered: July 2009
Senior Member
I gave this a quick try and it worked for me. However, if you created
web2 by copy and pasting web1, then you likely ran into Bug 154833[1].
See comment #3 (filing the enhancement request is still on the to-do
list). If this is the case, you can switch to the Navigator view and
open the web 2 ".settings/org.eclipse.wst.common.component" file in an
editor and change the deploy-name attribute to "web2" to match the
project name. Then the project should behave normally.

Cheers,
Larry

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=154833

Sundar wrote:
> Hi,
> In 1.5.4 release i am facing problem with running 2 webprojects, before
> that i dont have this issue.
>
> to reproduce this,
> 1) Created 2 webproject. web1, web2.
> 2) Web1 projected selected, right click -> Run -> Run on Server,
> 3) following wizard steps,
> 4) In Add Remove project page, I added "web2" project and followed steps and
> finished it.
>
> Now server started with only web1 project. web2 ignored to launch. My web1
> project also need web2 so it failing to run.
>
> Is it a bug in "Run onServer" wizard or am i doing wrong?
>
> -Sundar
>
>
>
Dependant Projects [message #192963 is a reply to message #192955] Tue, 22 May 2007 15:22 Go to previous messageGo to next message
Mirza Hadzic is currently offline Mirza HadzicFriend
Messages: 19
Registered: July 2009
Junior Member
Hi,
I am still trying to figure out dependent projects of Dynamic project. I
created 2 simple completely new projects - A (dynamic, depends on B)and
B (simple Java project).

Running Bottom-up web service wizard says: "Error creating zip file
ProjectB.jar: duplicate entry: com/test/Something.cfg"

obviously, this file is in both src and bin, so it is duplicated, but I
don't need src folder to be included in TestB.jar. How to tell it to WTP
(and why he is adding src/com/test/Something.cfg to .jar in the first place)


Mirza
Re: Run On server with multiple projects [message #192971 is a reply to message #192955] Tue, 22 May 2007 19:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sundaramurthis.yahoo.com

Larry,
Even I tried with fresh all-in-one build 1.5.4 version, Still i have the
issue with run on server with 2 projects.
In previous builds its working fine.


"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:f2unkm$4cm$1@build.eclipse.org...
>I gave this a quick try and it worked for me. However, if you created web2
>by copy and pasting web1, then you likely ran into Bug 154833[1].
> See comment #3 (filing the enhancement request is still on the to-do
> list). If this is the case, you can switch to the Navigator view and open
> the web 2 ".settings/org.eclipse.wst.common.component" file in an editor
> and change the deploy-name attribute to "web2" to match the project name.
> Then the project should behave normally.
>
> Cheers,
> Larry
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=154833
>
> Sundar wrote:
>> Hi,
>> In 1.5.4 release i am facing problem with running 2 webprojects,
>> before that i dont have this issue.
>>
>> to reproduce this,
>> 1) Created 2 webproject. web1, web2.
>> 2) Web1 projected selected, right click -> Run -> Run on Server,
>> 3) following wizard steps,
>> 4) In Add Remove project page, I added "web2" project and followed steps
>> and finished it.
>>
>> Now server started with only web1 project. web2 ignored to launch. My
>> web1 project also need web2 so it failing to run.
>>
>> Is it a bug in "Run onServer" wizard or am i doing wrong?
>>
>> -Sundar
>>
>>
Re: Run On server with multiple projects [message #192990 is a reply to message #192971] Tue, 22 May 2007 21:34 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1310
Registered: July 2009
Senior Member
I may have gotten ahead of myself. I assumed you are using a Tomcat
server. Is that correct? If so, does web2 work with Run On Server by
itself?

Cheers,
Larry

Sundaramurthi wrote:
> Larry,
> Even I tried with fresh all-in-one build 1.5.4 version, Still i have the
> issue with run on server with 2 projects.
> In previous builds its working fine.
>
>
> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
> news:f2unkm$4cm$1@build.eclipse.org...
>> I gave this a quick try and it worked for me. However, if you created web2
>> by copy and pasting web1, then you likely ran into Bug 154833[1].
>> See comment #3 (filing the enhancement request is still on the to-do
>> list). If this is the case, you can switch to the Navigator view and open
>> the web 2 ".settings/org.eclipse.wst.common.component" file in an editor
>> and change the deploy-name attribute to "web2" to match the project name.
>> Then the project should behave normally.
>>
>> Cheers,
>> Larry
>>
>> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=154833
>>
>> Sundar wrote:
>>> Hi,
>>> In 1.5.4 release i am facing problem with running 2 webprojects,
>>> before that i dont have this issue.
>>>
>>> to reproduce this,
>>> 1) Created 2 webproject. web1, web2.
>>> 2) Web1 projected selected, right click -> Run -> Run on Server,
>>> 3) following wizard steps,
>>> 4) In Add Remove project page, I added "web2" project and followed steps
>>> and finished it.
>>>
>>> Now server started with only web1 project. web2 ignored to launch. My
>>> web1 project also need web2 so it failing to run.
>>>
>>> Is it a bug in "Run onServer" wizard or am i doing wrong?
>>>
>>> -Sundar
>>>
>>>
>
Re: Run On server with multiple projects [message #193008 is a reply to message #192990] Wed, 23 May 2007 07:52 Go to previous messageGo to next message
Sundaramurthi is currently offline SundaramurthiFriend
Messages: 5
Registered: July 2009
Junior Member
Yes. I am using tomcat 5.5. web1 and web 2 working fine. After launching
web1, and go to server view and add web2 then its working fine.
Only thing is try to deploy, at first time, using wizard page (add remove
page) add 2 projects and deploy, it took only one which is selected in
package explorer.

After starting server, I can able to add web2 project to the server.


"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:f2vnl8$u5$1@build.eclipse.org...
>I may have gotten ahead of myself. I assumed you are using a Tomcat
>server. Is that correct? If so, does web2 work with Run On Server by
>itself?
>
> Cheers,
> Larry
>
> Sundaramurthi wrote:
>> Larry,
>> Even I tried with fresh all-in-one build 1.5.4 version, Still i have
>> the issue with run on server with 2 projects.
>> In previous builds its working fine.
>>
>>
>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>> news:f2unkm$4cm$1@build.eclipse.org...
>>> I gave this a quick try and it worked for me. However, if you created
>>> web2 by copy and pasting web1, then you likely ran into Bug 154833[1].
>>> See comment #3 (filing the enhancement request is still on the to-do
>>> list). If this is the case, you can switch to the Navigator view and
>>> open the web 2 ".settings/org.eclipse.wst.common.component" file in an
>>> editor and change the deploy-name attribute to "web2" to match the
>>> project name. Then the project should behave normally.
>>>
>>> Cheers,
>>> Larry
>>>
>>> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=154833
>>>
>>> Sundar wrote:
>>>> Hi,
>>>> In 1.5.4 release i am facing problem with running 2 webprojects,
>>>> before that i dont have this issue.
>>>>
>>>> to reproduce this,
>>>> 1) Created 2 webproject. web1, web2.
>>>> 2) Web1 projected selected, right click -> Run -> Run on Server,
>>>> 3) following wizard steps,
>>>> 4) In Add Remove project page, I added "web2" project and followed
>>>> steps and finished it.
>>>>
>>>> Now server started with only web1 project. web2 ignored to launch. My
>>>> web1 project also need web2 so it failing to run.
>>>>
>>>> Is it a bug in "Run onServer" wizard or am i doing wrong?
>>>>
>>>> -Sundar
>>>>
>>>>
>>
Re: Run On server with multiple projects [message #193016 is a reply to message #193008] Wed, 23 May 2007 12:24 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1310
Registered: July 2009
Senior Member
Thanks for the info. Let me see if I can get a little more detail to
help determine why this might be occurring. Am I correct in assuming
the Tomcat server is stopped at the time the "Run on server" is
attempted and that neither web1 or web2 have been added? Also, after
the server is published and started, is only web1 visible under the
Tomcat server in the Servers view? If so, could you check the
server.xml for this Tomcat server under the associated folder in the
Servers project in your workspace and verify that only a <Context> is
present for web1.

Cheers,
Larry

Sundar wrote:
> Yes. I am using tomcat 5.5. web1 and web 2 working fine. After launching
> web1, and go to server view and add web2 then its working fine.
> Only thing is try to deploy, at first time, using wizard page (add remove
> page) add 2 projects and deploy, it took only one which is selected in
> package explorer.
>
> After starting server, I can able to add web2 project to the server.
>
>
> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
> news:f2vnl8$u5$1@build.eclipse.org...
>> I may have gotten ahead of myself. I assumed you are using a Tomcat
>> server. Is that correct? If so, does web2 work with Run On Server by
>> itself?
>>
>> Cheers,
>> Larry
>>
>> Sundaramurthi wrote:
>>> Larry,
>>> Even I tried with fresh all-in-one build 1.5.4 version, Still i have
>>> the issue with run on server with 2 projects.
>>> In previous builds its working fine.
>>>
>>>
>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>> news:f2unkm$4cm$1@build.eclipse.org...
>>>> I gave this a quick try and it worked for me. However, if you created
>>>> web2 by copy and pasting web1, then you likely ran into Bug 154833[1].
>>>> See comment #3 (filing the enhancement request is still on the to-do
>>>> list). If this is the case, you can switch to the Navigator view and
>>>> open the web 2 ".settings/org.eclipse.wst.common.component" file in an
>>>> editor and change the deploy-name attribute to "web2" to match the
>>>> project name. Then the project should behave normally.
>>>>
>>>> Cheers,
>>>> Larry
>>>>
>>>> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=154833
>>>>
>>>> Sundar wrote:
>>>>> Hi,
>>>>> In 1.5.4 release i am facing problem with running 2 webprojects,
>>>>> before that i dont have this issue.
>>>>>
>>>>> to reproduce this,
>>>>> 1) Created 2 webproject. web1, web2.
>>>>> 2) Web1 projected selected, right click -> Run -> Run on Server,
>>>>> 3) following wizard steps,
>>>>> 4) In Add Remove project page, I added "web2" project and followed
>>>>> steps and finished it.
>>>>>
>>>>> Now server started with only web1 project. web2 ignored to launch. My
>>>>> web1 project also need web2 so it failing to run.
>>>>>
>>>>> Is it a bug in "Run onServer" wizard or am i doing wrong?
>>>>>
>>>>> -Sundar
>>>>>
>>>>>
>
>
Re: Run On server with multiple projects [message #194882 is a reply to message #193016] Mon, 25 June 2007 10:54 Go to previous messageGo to next message
David Black is currently offline David BlackFriend
Messages: 14
Registered: July 2009
Junior Member
I am also seeing this problem. In a clean workspace, create 2 web projects
targetted at a runtime, but where no server is defined. Then create a server
for them, do not assign either of them to the server when creating it. Right
click on one of the projects in the navigator and Run on Server, in this
dialog also add the other web project to the server. Previous to WTP 1.5.4,
after completing this wizard, both modules would be deployed to the server.
Now, only one is deployed. The problem is more serious, as there is another
issue. Again, with a clean workspace, create 2 web projects, targetted at
a runtime. Then create a server and in the create new server dialog, add
both modules (projects) to it. When completed, witg 1.5.3, both modules would
be added to the server - but in 1.5.4 neither are added - the server is created
but has not associated projects.

I see there were 4 changes to the wst.server module for 1.5.4, I wonder has
one or more of them broken this functionality? Have any bugzilla entries
been raised for these issues?

thanks

David Black
Cape Clear Software

Hello Larry,

> Thanks for the info. Let me see if I can get a little more detail to
> help determine why this might be occurring. Am I correct in assuming
> the Tomcat server is stopped at the time the "Run on server" is
> attempted and that neither web1 or web2 have been added? Also, after
> the server is published and started, is only web1 visible under the
> Tomcat server in the Servers view? If so, could you check the
> server.xml for this Tomcat server under the associated folder in the
> Servers project in your workspace and verify that only a <Context> is
> present for web1.
>
> Cheers,
> Larry
> Sundar wrote:
>
>> Yes. I am using tomcat 5.5. web1 and web 2 working fine. After
>> launching
>> web1, and go to server view and add web2 then its working fine.
>> Only thing is try to deploy, at first time, using wizard page (add
>> remove
>> page) add 2 projects and deploy, it took only one which is selected
>> in
>> package explorer.
>> After starting server, I can able to add web2 project to the server.
>>
>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>> news:f2vnl8$u5$1@build.eclipse.org...
>>
>>> I may have gotten ahead of myself. I assumed you are using a Tomcat
>>> server. Is that correct? If so, does web2 work with Run On Server
>>> by itself?
>>>
>>> Cheers,
>>> Larry
>>> Sundaramurthi wrote:
>>>
>>>> Larry,
>>>> Even I tried with fresh all-in-one build 1.5.4 version, Still i
>>>> have
>>>> the issue with run on server with 2 projects.
>>>> In previous builds its working fine.
>>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>>> news:f2unkm$4cm$1@build.eclipse.org...
>>>>
>>>>> I gave this a quick try and it worked for me. However, if you
>>>>> created web2 by copy and pasting web1, then you likely ran into
>>>>> Bug 154833[1]. See comment #3 (filing the enhancement request is
>>>>> still on the to-do list). If this is the case, you can switch to
>>>>> the Navigator view and open the web 2
>>>>> ".settings/org.eclipse.wst.common.component" file in an editor and
>>>>> change the deploy-name attribute to "web2" to match the project
>>>>> name. Then the project should behave normally.
>>>>>
>>>>> Cheers,
>>>>> Larry
>>>>> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=154833
>>>>>
>>>>> Sundar wrote:
>>>>>
>>>>>> Hi,
>>>>>> In 1.5.4 release i am facing problem with running 2 webprojects,
>>>>>> before that i dont have this issue.
>>>>>> to reproduce this,
>>>>>> 1) Created 2 webproject. web1, web2.
>>>>>> 2) Web1 projected selected, right click -> Run -> Run on Server,
>>>>>> 3) following wizard steps,
>>>>>> 4) In Add Remove project page, I added "web2" project and
>>>>>> followed
>>>>>> steps and finished it.
>>>>>> Now server started with only web1 project. web2 ignored to
>>>>>> launch. My web1 project also need web2 so it failing to run.
>>>>>>
>>>>>> Is it a bug in "Run onServer" wizard or am i doing wrong?
>>>>>>
>>>>>> -Sundar
>>>>>>
Re: Run On server with multiple projects [message #194907 is a reply to message #194882] Mon, 25 June 2007 14:38 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1310
Registered: July 2009
Senior Member
Hi David,

I tried both of your scenarios and both worked fine for me. Both
webapps deployed fine. This implies that I'm either doing something
slightly different than you are, or there is something different about
our installations or workspaces.

One thing you can try is to open Web Tools'
org.eclipse.wst.server.core_1.0.106.v20070401b.jar in WinZip or similar
program and extract the ".options" file into the "eclipse" directory
where "eclipse.exe" is found. Then include "-debug" and "-consolelog"
in your Eclipse startup arguments (you can add these on separate lines
at the top of the "eclipse.ini" file, also found in the same directory
as "eclipse.exe"). Finally, try your test in a new workspace again.
There should be a bunch of extra console log output. Capture this output
and open a Bugzilla report for the Web Tools "jst.server" component and
attach the log output. I'll try to determine if there are any clues in
this output that might explain why you are seeing different behavior.

Cheers,
Larry
David Black wrote:
> I am also seeing this problem. In a clean workspace, create 2 web
> projects targetted at a runtime, but where no server is defined. Then
> create a server for them, do not assign either of them to the server
> when creating it. Right click on one of the projects in the navigator
> and Run on Server, in this dialog also add the other web project to the
> server. Previous to WTP 1.5.4, after completing this wizard, both
> modules would be deployed to the server. Now, only one is deployed. The
> problem is more serious, as there is another issue. Again, with a clean
> workspace, create 2 web projects, targetted at a runtime. Then create a
> server and in the create new server dialog, add both modules (projects)
> to it. When completed, witg 1.5.3, both modules would be added to the
> server - but in 1.5.4 neither are added - the server is created but has
> not associated projects.
>
> I see there were 4 changes to the wst.server module for 1.5.4, I wonder
> has one or more of them broken this functionality? Have any bugzilla
> entries been raised for these issues?
>
> thanks
>
> David Black
> Cape Clear Software
>
> Hello Larry,
>
>> Thanks for the info. Let me see if I can get a little more detail to
>> help determine why this might be occurring. Am I correct in assuming
>> the Tomcat server is stopped at the time the "Run on server" is
>> attempted and that neither web1 or web2 have been added? Also, after
>> the server is published and started, is only web1 visible under the
>> Tomcat server in the Servers view? If so, could you check the
>> server.xml for this Tomcat server under the associated folder in the
>> Servers project in your workspace and verify that only a <Context> is
>> present for web1.
>>
>> Cheers,
>> Larry
>> Sundar wrote:
>>
>>> Yes. I am using tomcat 5.5. web1 and web 2 working fine. After
>>> launching
>>> web1, and go to server view and add web2 then its working fine.
>>> Only thing is try to deploy, at first time, using wizard page (add
>>> remove
>>> page) add 2 projects and deploy, it took only one which is selected
>>> in
>>> package explorer.
>>> After starting server, I can able to add web2 project to the server.
>>>
>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>> news:f2vnl8$u5$1@build.eclipse.org...
>>>
>>>> I may have gotten ahead of myself. I assumed you are using a Tomcat
>>>> server. Is that correct? If so, does web2 work with Run On Server
>>>> by itself?
>>>>
>>>> Cheers,
>>>> Larry
>>>> Sundaramurthi wrote:
>>>>
>>>>> Larry,
>>>>> Even I tried with fresh all-in-one build 1.5.4 version, Still i
>>>>> have
>>>>> the issue with run on server with 2 projects.
>>>>> In previous builds its working fine.
>>>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>>>> news:f2unkm$4cm$1@build.eclipse.org...
>>>>>
>>>>>> I gave this a quick try and it worked for me. However, if you
>>>>>> created web2 by copy and pasting web1, then you likely ran into
>>>>>> Bug 154833[1]. See comment #3 (filing the enhancement request is
>>>>>> still on the to-do list). If this is the case, you can switch to
>>>>>> the Navigator view and open the web 2
>>>>>> ".settings/org.eclipse.wst.common.component" file in an editor and
>>>>>> change the deploy-name attribute to "web2" to match the project
>>>>>> name. Then the project should behave normally.
>>>>>>
>>>>>> Cheers,
>>>>>> Larry
>>>>>> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=154833
>>>>>>
>>>>>> Sundar wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>> In 1.5.4 release i am facing problem with running 2 webprojects,
>>>>>>> before that i dont have this issue.
>>>>>>> to reproduce this,
>>>>>>> 1) Created 2 webproject. web1, web2.
>>>>>>> 2) Web1 projected selected, right click -> Run -> Run on Server,
>>>>>>> 3) following wizard steps,
>>>>>>> 4) In Add Remove project page, I added "web2" project and
>>>>>>> followed
>>>>>>> steps and finished it.
>>>>>>> Now server started with only web1 project. web2 ignored to
>>>>>>> launch. My web1 project also need web2 so it failing to run.
>>>>>>>
>>>>>>> Is it a bug in "Run onServer" wizard or am i doing wrong?
>>>>>>>
>>>>>>> -Sundar
>>>>>>>
>
>
Re: Run On server with multiple projects [message #198738 is a reply to message #194907] Wed, 22 August 2007 14:56 Go to previous message
Sundaramurthi is currently offline SundaramurthiFriend
Messages: 5
Registered: July 2009
Junior Member
Hi Larry,
I tried with options you have suggested, but tomcat console contains no
issues.
Aug 22, 2007 4:51:52 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent

INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Program
Files\Java\jre1.5.0_11\bin;.;C:\WINDOWS\system32;C:\WINDOWS; C:\OraHome\bin;C:\OraHome\jlib;C:\OraHome\jre\1.1.8\bin;C:\W INDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Progr am
Files\Java\jdk1.5.0_06\bin;C:\Program Files\GNU\WinCvs 1.3\CVSNT;C:\Program
Files\QuickTime\QTSystem\

Aug 22, 2007 4:51:53 PM org.apache.coyote.http11.Http11BaseProtocol init

INFO: Initializing Coyote HTTP/1.1 on http-8080

Aug 22, 2007 4:51:53 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 1078 ms

Aug 22, 2007 4:51:53 PM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Aug 22, 2007 4:51:53 PM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/5.5.17

Aug 22, 2007 4:51:53 PM org.apache.catalina.core.StandardHost start

INFO: XML validation disabled

Aug 22, 2007 4:51:53 PM org.apache.coyote.http11.Http11BaseProtocol start

INFO: Starting Coyote HTTP/1.1 on http-8080

Aug 22, 2007 4:51:53 PM org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8009

Aug 22, 2007 4:51:53 PM org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/94 config=null

Aug 22, 2007 4:51:54 PM org.apache.catalina.storeconfig.StoreLoader load

INFO: Find registry server-registry.xml at classpath resource

Aug 22, 2007 4:51:54 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 1109 ms



even the eclipse log also dont have any exception stack trace.

Its important for new user with new workspace.

Please let me know any other way can help you to reproduce it.

I am using jdk1.5.0_06. with wtp1.5.4 all in one.

Thanks

Sundar



"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:f5ok0m$4o9$1@build.eclipse.org...
> Hi David,
>
> I tried both of your scenarios and both worked fine for me. Both webapps
> deployed fine. This implies that I'm either doing something slightly
> different than you are, or there is something different about our
> installations or workspaces.
>
> One thing you can try is to open Web Tools'
> org.eclipse.wst.server.core_1.0.106.v20070401b.jar in WinZip or similar
> program and extract the ".options" file into the "eclipse" directory where
> "eclipse.exe" is found. Then include "-debug" and "-consolelog" in your
> Eclipse startup arguments (you can add these on separate lines at the top
> of the "eclipse.ini" file, also found in the same directory as
> "eclipse.exe"). Finally, try your test in a new workspace again. There
> should be a bunch of extra console log output. Capture this output and
> open a Bugzilla report for the Web Tools "jst.server" component and attach
> the log output. I'll try to determine if there are any clues in this
> output that might explain why you are seeing different behavior.
>
> Cheers,
> Larry
> David Black wrote:
>> I am also seeing this problem. In a clean workspace, create 2 web
>> projects targetted at a runtime, but where no server is defined. Then
>> create a server for them, do not assign either of them to the server when
>> creating it. Right click on one of the projects in the navigator and Run
>> on Server, in this dialog also add the other web project to the server.
>> Previous to WTP 1.5.4, after completing this wizard, both modules would
>> be deployed to the server. Now, only one is deployed. The problem is more
>> serious, as there is another issue. Again, with a clean workspace, create
>> 2 web projects, targetted at a runtime. Then create a server and in the
>> create new server dialog, add both modules (projects) to it. When
>> completed, witg 1.5.3, both modules would be added to the server - but in
>> 1.5.4 neither are added - the server is created but has not associated
>> projects.
>>
>> I see there were 4 changes to the wst.server module for 1.5.4, I wonder
>> has one or more of them broken this functionality? Have any bugzilla
>> entries been raised for these issues?
>>
>> thanks
>>
>> David Black
>> Cape Clear Software
>>
>> Hello Larry,
>>
>>> Thanks for the info. Let me see if I can get a little more detail to
>>> help determine why this might be occurring. Am I correct in assuming
>>> the Tomcat server is stopped at the time the "Run on server" is
>>> attempted and that neither web1 or web2 have been added? Also, after
>>> the server is published and started, is only web1 visible under the
>>> Tomcat server in the Servers view? If so, could you check the
>>> server.xml for this Tomcat server under the associated folder in the
>>> Servers project in your workspace and verify that only a <Context> is
>>> present for web1.
>>>
>>> Cheers,
>>> Larry
>>> Sundar wrote:
>>>
>>>> Yes. I am using tomcat 5.5. web1 and web 2 working fine. After
>>>> launching
>>>> web1, and go to server view and add web2 then its working fine.
>>>> Only thing is try to deploy, at first time, using wizard page (add
>>>> remove
>>>> page) add 2 projects and deploy, it took only one which is selected
>>>> in
>>>> package explorer.
>>>> After starting server, I can able to add web2 project to the server.
>>>>
>>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>>> news:f2vnl8$u5$1@build.eclipse.org...
>>>>
>>>>> I may have gotten ahead of myself. I assumed you are using a Tomcat
>>>>> server. Is that correct? If so, does web2 work with Run On Server
>>>>> by itself?
>>>>>
>>>>> Cheers,
>>>>> Larry
>>>>> Sundaramurthi wrote:
>>>>>
>>>>>> Larry,
>>>>>> Even I tried with fresh all-in-one build 1.5.4 version, Still i
>>>>>> have
>>>>>> the issue with run on server with 2 projects.
>>>>>> In previous builds its working fine.
>>>>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>>>>> news:f2unkm$4cm$1@build.eclipse.org...
>>>>>>
>>>>>>> I gave this a quick try and it worked for me. However, if you
>>>>>>> created web2 by copy and pasting web1, then you likely ran into
>>>>>>> Bug 154833[1]. See comment #3 (filing the enhancement request is
>>>>>>> still on the to-do list). If this is the case, you can switch to
>>>>>>> the Navigator view and open the web 2
>>>>>>> ".settings/org.eclipse.wst.common.component" file in an editor and
>>>>>>> change the deploy-name attribute to "web2" to match the project
>>>>>>> name. Then the project should behave normally.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Larry
>>>>>>> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=154833
>>>>>>>
>>>>>>> Sundar wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> In 1.5.4 release i am facing problem with running 2 webprojects,
>>>>>>>> before that i dont have this issue.
>>>>>>>> to reproduce this,
>>>>>>>> 1) Created 2 webproject. web1, web2.
>>>>>>>> 2) Web1 projected selected, right click -> Run -> Run on Server,
>>>>>>>> 3) following wizard steps,
>>>>>>>> 4) In Add Remove project page, I added "web2" project and
>>>>>>>> followed
>>>>>>>> steps and finished it.
>>>>>>>> Now server started with only web1 project. web2 ignored to
>>>>>>>> launch. My web1 project also need web2 so it failing to run.
>>>>>>>>
>>>>>>>> Is it a bug in "Run onServer" wizard or am i doing wrong?
>>>>>>>>
>>>>>>>> -Sundar
>>>>>>>>
>>
Previous Topic:Application Client Launcher for Java EE
Next Topic:jsp editor doesn't recognize ${var} as using the bean
Goto Forum:
  


Current Time: Sat Nov 29 10:04:50 GMT 2014

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

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