Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Server Perspective not working
Server Perspective not working [message #197418] Fri, 27 July 2007 12:24 Go to next message
Eclipse User
Originally posted by: tomh.a-t-g.com

I have Eclipse 3.1.2 with WT 1.0.3. When starting Tomcat from the Server
Perspective we get an alert stating Tomcat will not start. And Tomcat
starts fine but the server perspective says it is stopped. I presume there
is a settng messed up? Or maybe configuration problem.

Thanks,
Tom
Re: Server Perspective not working [message #197508 is a reply to message #197418] Mon, 30 July 2007 10:06 Go to previous messageGo to next message
Angel Vera is currently offline Angel Vera
Messages: 63
Registered: July 2009
Member

Are you able to open the server editor for that tomcat server..? have you
tried creating a new server? maybe grab the last few lines from the
workspace/.metadata/.log and copy them in here so we can further diagnose
the problem.

"Tom Henricksen" <tomh@a-t-g.com> wrote in
news:f8d67h$fm0$1@build.eclipse.org:

> I have Eclipse 3.1.2 with WT 1.0.3. When starting Tomcat from the
> Server Perspective we get an alert stating Tomcat will not start. And
> Tomcat starts fine but the server perspective says it is stopped. I
> presume there is a settng messed up? Or maybe configuration problem.
>
> Thanks,
> Tom
>
>
>


Regards,
--
Angel Vera
WTP Server Tools Developer
Re: Server Perspective not working [message #197531 is a reply to message #197508] Mon, 30 July 2007 10:26 Go to previous messageGo to next message
Eclipse User
Originally posted by: tomh.a-t-g.com

We are able to open the server editor. We have tried to re-create a new with
the same outcome. This is the output we see in the log each time tomcat is
started.
!ENTRY org.eclipse.wst.server.core 4 0 2007-07-30 08:24:14.121!MESSAGE
Server Tomcat v5.0 Server @ localhost failed to start.Thanks,Tom"Angel Vera"
<arvera@ca.ibm.com> wrote in message
news:Xns997D66D3D3FE0arveracaibmcom@206.191.52.34...
> Are you able to open the server editor for that tomcat server..? have you
> tried creating a new server? maybe grab the last few lines from the
> workspace/.metadata/.log and copy them in here so we can further diagnose
> the problem.
>
> "Tom Henricksen" <tomh@a-t-g.com> wrote in
> news:f8d67h$fm0$1@build.eclipse.org:
>
>> I have Eclipse 3.1.2 with WT 1.0.3. When starting Tomcat from the
>> Server Perspective we get an alert stating Tomcat will not start. And
>> Tomcat starts fine but the server perspective says it is stopped. I
>> presume there is a settng messed up? Or maybe configuration problem.
>>
>> Thanks,
>> Tom
>>
>>
>>
>
Re: Server Perspective not working [message #197547 is a reply to message #197531] Mon, 30 July 2007 10:51 Go to previous messageGo to next message
Angel Vera is currently offline Angel Vera
Messages: 63
Registered: July 2009
Member

hmm that doesn't say much.. I just noticed that you are using WTP 1.0.3
a pretty old version. WTP 2.0 released recently so you might want to
upgrade to that.

I don't have much background in WTP 1.0.3. I know there was a problem
recently reported in 2.0 or 3.0 about not able to start the server on
Linux, i wonder if that is somewhat related? but that was reported in
Tomcat 5.5, wich is not included in WTP 1.0.3.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=107386

You may also want to review the FAQs at:
http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php



"Tom Henricksen" <tomh@a-t-g.com> wrote in
news:f8ksf5$lst$1@build.eclipse.org:

> We are able to open the server editor. We have tried to re-create a
> new with the same outcome. This is the output we see in the log each
> time tomcat is started.
> !ENTRY org.eclipse.wst.server.core 4 0 2007-07-30 08:24:14.121!MESSAGE
> Server Tomcat v5.0 Server @ localhost failed to start.Thanks,Tom"Angel
> Vera" <arvera@ca.ibm.com> wrote in message
> news:Xns997D66D3D3FE0arveracaibmcom@206.191.52.34...
>> Are you able to open the server editor for that tomcat server..? have
>> you tried creating a new server? maybe grab the last few lines from
>> the workspace/.metadata/.log and copy them in here so we can further
>> diagnose the problem.
>>
>> "Tom Henricksen" <tomh@a-t-g.com> wrote in
>> news:f8d67h$fm0$1@build.eclipse.org:
>>
>>> I have Eclipse 3.1.2 with WT 1.0.3. When starting Tomcat from the
>>> Server Perspective we get an alert stating Tomcat will not start.
>>> And Tomcat starts fine but the server perspective says it is
>>> stopped. I presume there is a settng messed up? Or maybe
>>> configuration problem.
>>>
>>> Thanks,
>>> Tom
>>>
>>>
>>>
>>
>
>


Regards,
--
Angel Vera
WTP Server Tools Developer
Re: Server Perspective not working [message #197554 is a reply to message #197531] Mon, 30 July 2007 10:51 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1287
Registered: July 2009
Senior Member
You can review the following FAQ question to see if any apply:

http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php#trou ble_3

Also, it wouldn't hurt to know which OS and version of Tomcat you are using.

Cheers,
Larry

Tom Henricksen wrote:
> We are able to open the server editor. We have tried to re-create a new with
> the same outcome. This is the output we see in the log each time tomcat is
> started.
> !ENTRY org.eclipse.wst.server.core 4 0 2007-07-30 08:24:14.121!MESSAGE
> Server Tomcat v5.0 Server @ localhost failed to start.Thanks,Tom"Angel Vera"
> <arvera@ca.ibm.com> wrote in message
> news:Xns997D66D3D3FE0arveracaibmcom@206.191.52.34...
>> Are you able to open the server editor for that tomcat server..? have you
>> tried creating a new server? maybe grab the last few lines from the
>> workspace/.metadata/.log and copy them in here so we can further diagnose
>> the problem.
>>
>> "Tom Henricksen" <tomh@a-t-g.com> wrote in
>> news:f8d67h$fm0$1@build.eclipse.org:
>>
>>> I have Eclipse 3.1.2 with WT 1.0.3. When starting Tomcat from the
>>> Server Perspective we get an alert stating Tomcat will not start. And
>>> Tomcat starts fine but the server perspective says it is stopped. I
>>> presume there is a settng messed up? Or maybe configuration problem.
>>>
>>> Thanks,
>>> Tom
>>>
>>>
>>>
>
>
Re: Server Perspective not working [message #197569 is a reply to message #197554] Mon, 30 July 2007 12:26 Go to previous messageGo to next message
Eclipse User
Originally posted by: tomh.a-t-g.com

The version of OS is Windows XP and Tomcat version is 5.0.30.

Thanks,
Tom
"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:f8ktt4$ptl$1@build.eclipse.org...
> You can review the following FAQ question to see if any apply:
>
> http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php#trou ble_3
>
> Also, it wouldn't hurt to know which OS and version of Tomcat you are
> using.
>
> Cheers,
> Larry
>
> Tom Henricksen wrote:
>> We are able to open the server editor. We have tried to re-create a new
>> with the same outcome. This is the output we see in the log each time
>> tomcat is started.
>> !ENTRY org.eclipse.wst.server.core 4 0 2007-07-30 08:24:14.121!MESSAGE
>> Server Tomcat v5.0 Server @ localhost failed to start.Thanks,Tom"Angel
>> Vera" <arvera@ca.ibm.com> wrote in message
>> news:Xns997D66D3D3FE0arveracaibmcom@206.191.52.34...
>>> Are you able to open the server editor for that tomcat server..? have
>>> you
>>> tried creating a new server? maybe grab the last few lines from the
>>> workspace/.metadata/.log and copy them in here so we can further
>>> diagnose
>>> the problem.
>>>
>>> "Tom Henricksen" <tomh@a-t-g.com> wrote in
>>> news:f8d67h$fm0$1@build.eclipse.org:
>>>
>>>> I have Eclipse 3.1.2 with WT 1.0.3. When starting Tomcat from the
>>>> Server Perspective we get an alert stating Tomcat will not start. And
>>>> Tomcat starts fine but the server perspective says it is stopped. I
>>>> presume there is a settng messed up? Or maybe configuration problem.
>>>>
>>>> Thanks,
>>>> Tom
>>>>
>>>>
>>>>
>>
Re: Server Perspective not working [message #197577 is a reply to message #197569] Mon, 30 July 2007 13:54 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1287
Registered: July 2009
Senior Member
If you open the server editor, what ports do you see listed in the Ports
section?

Cheers,
Larry

Tom Henricksen wrote:
> The version of OS is Windows XP and Tomcat version is 5.0.30.
>
> Thanks,
> Tom
> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
> news:f8ktt4$ptl$1@build.eclipse.org...
>> You can review the following FAQ question to see if any apply:
>>
>> http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php#trou ble_3
>>
>> Also, it wouldn't hurt to know which OS and version of Tomcat you are
>> using.
>>
>> Cheers,
>> Larry
>>
>> Tom Henricksen wrote:
>>> We are able to open the server editor. We have tried to re-create a new
>>> with the same outcome. This is the output we see in the log each time
>>> tomcat is started.
>>> !ENTRY org.eclipse.wst.server.core 4 0 2007-07-30 08:24:14.121!MESSAGE
>>> Server Tomcat v5.0 Server @ localhost failed to start.Thanks,Tom"Angel
>>> Vera" <arvera@ca.ibm.com> wrote in message
>>> news:Xns997D66D3D3FE0arveracaibmcom@206.191.52.34...
>>>> Are you able to open the server editor for that tomcat server..? have
>>>> you
>>>> tried creating a new server? maybe grab the last few lines from the
>>>> workspace/.metadata/.log and copy them in here so we can further
>>>> diagnose
>>>> the problem.
>>>>
>>>> "Tom Henricksen" <tomh@a-t-g.com> wrote in
>>>> news:f8d67h$fm0$1@build.eclipse.org:
>>>>
>>>>> I have Eclipse 3.1.2 with WT 1.0.3. When starting Tomcat from the
>>>>> Server Perspective we get an alert stating Tomcat will not start. And
>>>>> Tomcat starts fine but the server perspective says it is stopped. I
>>>>> presume there is a settng messed up? Or maybe configuration problem.
>>>>>
>>>>> Thanks,
>>>>> Tom
>>>>>
>>>>>
>>>>>
>
Re: Server Perspective not working [message #197718 is a reply to message #197577] Tue, 31 July 2007 17:27 Go to previous messageGo to next message
Eclipse User
Originally posted by: tomh.a-t-g.com

The ports listed are
HTTP 8080 and AJP/1.3 8009. I noticed on another machine that works fine it
has a Tomcat Admin Port listed as 8005. Where does that setting come from?

Thanks,
Tom
"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:f8l8k4$vbs$1@build.eclipse.org...
> If you open the server editor, what ports do you see listed in the Ports
> section?
>
> Cheers,
> Larry
>
> Tom Henricksen wrote:
>> The version of OS is Windows XP and Tomcat version is 5.0.30.
>>
>> Thanks,
>> Tom
>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>> news:f8ktt4$ptl$1@build.eclipse.org...
>>> You can review the following FAQ question to see if any apply:
>>>
>>> http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php#trou ble_3
>>>
>>> Also, it wouldn't hurt to know which OS and version of Tomcat you are
>>> using.
>>>
>>> Cheers,
>>> Larry
>>>
>>> Tom Henricksen wrote:
>>>> We are able to open the server editor. We have tried to re-create a new
>>>> with the same outcome. This is the output we see in the log each time
>>>> tomcat is started.
>>>> !ENTRY org.eclipse.wst.server.core 4 0 2007-07-30 08:24:14.121!MESSAGE
>>>> Server Tomcat v5.0 Server @ localhost failed to start.Thanks,Tom"Angel
>>>> Vera" <arvera@ca.ibm.com> wrote in message
>>>> news:Xns997D66D3D3FE0arveracaibmcom@206.191.52.34...
>>>>> Are you able to open the server editor for that tomcat server..? have
>>>>> you
>>>>> tried creating a new server? maybe grab the last few lines from the
>>>>> workspace/.metadata/.log and copy them in here so we can further
>>>>> diagnose
>>>>> the problem.
>>>>>
>>>>> "Tom Henricksen" <tomh@a-t-g.com> wrote in
>>>>> news:f8d67h$fm0$1@build.eclipse.org:
>>>>>
>>>>>> I have Eclipse 3.1.2 with WT 1.0.3. When starting Tomcat from the
>>>>>> Server Perspective we get an alert stating Tomcat will not start.
>>>>>> And
>>>>>> Tomcat starts fine but the server perspective says it is stopped. I
>>>>>> presume there is a settng messed up? Or maybe configuration problem.
>>>>>>
>>>>>> Thanks,
>>>>>> Tom
>>>>>>
>>>>>>
>>>>>>
>>
Re: Server Perspective not working [message #197791 is a reply to message #197718] Wed, 01 August 2007 08:38 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1287
Registered: July 2009
Senior Member
The typical 8005 comes from the "port" attribute of the <Server> element
in the server.xml found under the Servers project in your workspace. It
might be helpful to create a new "test" Tomcat install using the binary
zip distribution. Create a new runtime and server from that install and
see if you get normal behavior. If so, that could provide an
installation to compare with your current one to see what might be
different. Also, if you can attach a copy of the server.xml from your
Servers project, I'll take a quick look to see if I notice anything odd.

Cheers,
Larry

Tom Henricksen wrote:
> The ports listed are
> HTTP 8080 and AJP/1.3 8009. I noticed on another machine that works fine it
> has a Tomcat Admin Port listed as 8005. Where does that setting come from?
>
> Thanks,
> Tom
> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
> news:f8l8k4$vbs$1@build.eclipse.org...
>> If you open the server editor, what ports do you see listed in the Ports
>> section?
>>
>> Cheers,
>> Larry
>>
>> Tom Henricksen wrote:
>>> The version of OS is Windows XP and Tomcat version is 5.0.30.
>>>
>>> Thanks,
>>> Tom
>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>> news:f8ktt4$ptl$1@build.eclipse.org...
>>>> You can review the following FAQ question to see if any apply:
>>>>
>>>> http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php#trou ble_3
>>>>
>>>> Also, it wouldn't hurt to know which OS and version of Tomcat you are
>>>> using.
>>>>
>>>> Cheers,
>>>> Larry
>>>>
>>>> Tom Henricksen wrote:
>>>>> We are able to open the server editor. We have tried to re-create a new
>>>>> with the same outcome. This is the output we see in the log each time
>>>>> tomcat is started.
>>>>> !ENTRY org.eclipse.wst.server.core 4 0 2007-07-30 08:24:14.121!MESSAGE
>>>>> Server Tomcat v5.0 Server @ localhost failed to start.Thanks,Tom"Angel
>>>>> Vera" <arvera@ca.ibm.com> wrote in message
>>>>> news:Xns997D66D3D3FE0arveracaibmcom@206.191.52.34...
>>>>>> Are you able to open the server editor for that tomcat server..? have
>>>>>> you
>>>>>> tried creating a new server? maybe grab the last few lines from the
>>>>>> workspace/.metadata/.log and copy them in here so we can further
>>>>>> diagnose
>>>>>> the problem.
>>>>>>
>>>>>> "Tom Henricksen" <tomh@a-t-g.com> wrote in
>>>>>> news:f8d67h$fm0$1@build.eclipse.org:
>>>>>>
>>>>>>> I have Eclipse 3.1.2 with WT 1.0.3. When starting Tomcat from the
>>>>>>> Server Perspective we get an alert stating Tomcat will not start.
>>>>>>> And
>>>>>>> Tomcat starts fine but the server perspective says it is stopped. I
>>>>>>> presume there is a settng messed up? Or maybe configuration problem.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Tom
>>>>>>>
>>>>>>>
>>>>>>>
>
>
Re: Server Perspective not working [message #197806 is a reply to message #197791] Wed, 01 August 2007 14:24 Go to previous messageGo to next message
Eclipse User
Originally posted by: tomh.a-t-g.com

Here is the server.xml. We did try changing the
<Server> tag to <Server debug="0" port="8005" shutdown="SHUTDOWN">
And then we got "Publishing Failed" message and the server does not start.

I will try the test install and compare the behavior

Thanks,
Tom


"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:f8purc$12g$1@build.eclipse.org...
> The typical 8005 comes from the "port" attribute of the <Server> element
> in the server.xml found under the Servers project in your workspace. It
> might be helpful to create a new "test" Tomcat install using the binary
> zip distribution. Create a new runtime and server from that install and
> see if you get normal behavior. If so, that could provide an
> installation to compare with your current one to see what might be
> different. Also, if you can attach a copy of the server.xml from your
> Servers project, I'll take a quick look to see if I notice anything odd.
>
> Cheers,
> Larry
>
> Tom Henricksen wrote:
>> The ports listed are
>> HTTP 8080 and AJP/1.3 8009. I noticed on another machine that works fine
>> it
>> has a Tomcat Admin Port listed as 8005. Where does that setting come
>> from?
>>
>> Thanks,
>> Tom
>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>> news:f8l8k4$vbs$1@build.eclipse.org...
>>> If you open the server editor, what ports do you see listed in the Ports
>>> section?
>>>
>>> Cheers,
>>> Larry
>>>
>>> Tom Henricksen wrote:
>>>> The version of OS is Windows XP and Tomcat version is 5.0.30.
>>>>
>>>> Thanks,
>>>> Tom
>>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>>> news:f8ktt4$ptl$1@build.eclipse.org...
>>>>> You can review the following FAQ question to see if any apply:
>>>>>
>>>>> http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php#trou ble_3
>>>>>
>>>>> Also, it wouldn't hurt to know which OS and version of Tomcat you are
>>>>> using.
>>>>>
>>>>> Cheers,
>>>>> Larry
>>>>>
>>>>> Tom Henricksen wrote:
>>>>>> We are able to open the server editor. We have tried to re-create a
>>>>>> new
>>>>>> with the same outcome. This is the output we see in the log each
>>>>>> time
>>>>>> tomcat is started.
>>>>>> !ENTRY org.eclipse.wst.server.core 4 0 2007-07-30
>>>>>> 08:24:14.121!MESSAGE
>>>>>> Server Tomcat v5.0 Server @ localhost failed to
>>>>>> start.Thanks,Tom"Angel
>>>>>> Vera" <arvera@ca.ibm.com> wrote in message
>>>>>> news:Xns997D66D3D3FE0arveracaibmcom@206.191.52.34...
>>>>>>> Are you able to open the server editor for that tomcat server..?
>>>>>>> have
>>>>>>> you
>>>>>>> tried creating a new server? maybe grab the last few lines from the
>>>>>>> workspace/.metadata/.log and copy them in here so we can further
>>>>>>> diagnose
>>>>>>> the problem.
>>>>>>>
>>>>>>> "Tom Henricksen" <tomh@a-t-g.com> wrote in
>>>>>>> news:f8d67h$fm0$1@build.eclipse.org:
>>>>>>>
>>>>>>>> I have Eclipse 3.1.2 with WT 1.0.3. When starting Tomcat from the
>>>>>>>> Server Perspective we get an alert stating Tomcat will not start.
>>>>>>>> And
>>>>>>>> Tomcat starts fine but the server perspective says it is stopped. I
>>>>>>>> presume there is a settng messed up? Or maybe configuration
>>>>>>>> problem.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Tom
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>
>>


  • Attachment: server.xml
    (Size: 1.63KB, Downloaded 76 times)
Re: Server Perspective not working [message #198055 is a reply to message #197806] Thu, 09 August 2007 11:09 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1287
Registered: July 2009
Senior Member
Tom,

Sorry to take so long responding. Your server.xml worked fine for me.
Are you still having problems with this issue?

Cheers,
Larry

Tom Henricksen wrote:
> Here is the server.xml. We did try changing the
> <Server> tag to <Server debug="0" port="8005" shutdown="SHUTDOWN">
> And then we got "Publishing Failed" message and the server does not start.
>
> I will try the test install and compare the behavior
>
> Thanks,
> Tom
>
>
> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
> news:f8purc$12g$1@build.eclipse.org...
>> The typical 8005 comes from the "port" attribute of the <Server> element
>> in the server.xml found under the Servers project in your workspace. It
>> might be helpful to create a new "test" Tomcat install using the binary
>> zip distribution. Create a new runtime and server from that install and
>> see if you get normal behavior. If so, that could provide an
>> installation to compare with your current one to see what might be
>> different. Also, if you can attach a copy of the server.xml from your
>> Servers project, I'll take a quick look to see if I notice anything odd.
>>
>> Cheers,
>> Larry
>>
>> Tom Henricksen wrote:
>>> The ports listed are
>>> HTTP 8080 and AJP/1.3 8009. I noticed on another machine that works fine
>>> it
>>> has a Tomcat Admin Port listed as 8005. Where does that setting come
>>> from?
>>>
>>> Thanks,
>>> Tom
>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>> news:f8l8k4$vbs$1@build.eclipse.org...
>>>> If you open the server editor, what ports do you see listed in the Ports
>>>> section?
>>>>
>>>> Cheers,
>>>> Larry
>>>>
>>>> Tom Henricksen wrote:
>>>>> The version of OS is Windows XP and Tomcat version is 5.0.30.
>>>>>
>>>>> Thanks,
>>>>> Tom
>>>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>>>> news:f8ktt4$ptl$1@build.eclipse.org...
>>>>>> You can review the following FAQ question to see if any apply:
>>>>>>
>>>>>> http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php#trou ble_3
>>>>>>
>>>>>> Also, it wouldn't hurt to know which OS and version of Tomcat you are
>>>>>> using.
>>>>>>
>>>>>> Cheers,
>>>>>> Larry
>>>>>>
>>>>>> Tom Henricksen wrote:
>>>>>>> We are able to open the server editor. We have tried to re-create a
>>>>>>> new
>>>>>>> with the same outcome. This is the output we see in the log each
>>>>>>> time
>>>>>>> tomcat is started.
>>>>>>> !ENTRY org.eclipse.wst.server.core 4 0 2007-07-30
>>>>>>> 08:24:14.121!MESSAGE
>>>>>>> Server Tomcat v5.0 Server @ localhost failed to
>>>>>>> start.Thanks,Tom"Angel
>>>>>>> Vera" <arvera@ca.ibm.com> wrote in message
>>>>>>> news:Xns997D66D3D3FE0arveracaibmcom@206.191.52.34...
>>>>>>>> Are you able to open the server editor for that tomcat server..?
>>>>>>>> have
>>>>>>>> you
>>>>>>>> tried creating a new server? maybe grab the last few lines from the
>>>>>>>> workspace/.metadata/.log and copy them in here so we can further
>>>>>>>> diagnose
>>>>>>>> the problem.
>>>>>>>>
>>>>>>>> "Tom Henricksen" <tomh@a-t-g.com> wrote in
>>>>>>>> news:f8d67h$fm0$1@build.eclipse.org:
>>>>>>>>
>>>>>>>>> I have Eclipse 3.1.2 with WT 1.0.3. When starting Tomcat from the
>>>>>>>>> Server Perspective we get an alert stating Tomcat will not start.
>>>>>>>>> And
>>>>>>>>> Tomcat starts fine but the server perspective says it is stopped. I
>>>>>>>>> presume there is a settng messed up? Or maybe configuration
>>>>>>>>> problem.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Tom
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Server>
> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener "/>
> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener "/>
> <GlobalNamingResources>
> <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
> <Resource auth="Container" description="User database that can be updated and saved" name="UserDatabase" type="org.apache.catalina.UserDatabase"/>
> <ResourceParams name="UserDatabase">
> <parameter>
> <name>factory</name>
> <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value >
> </parameter>
> <parameter>
> <name>pathname</name>
> <value>conf/tomcat-users.xml</value>
> </parameter>
> </ResourceParams>
> </GlobalNamingResources>
> <Service name="Catalina">
> <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" port="8080" redirectPort="8443" maxSpareThreads="75" maxThreads="150" minSpareThreads="25">
> </Connector>
> <Connector port="8009" protocol="AJP/1.3" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler " redirectPort="8443">
> </Connector>
> <Engine defaultHost="localhost" name="Catalina">
> <Host appBase="webapps" name="localhost">
> <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_log." suffix=".txt" timestamp="true"/>
> </Host>
> <Logger className="org.apache.catalina.logger.FileLogger" debug="9" prefix="catalina_log." suffix=".txt" timestamp="true" verbosity="4"/>
> <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
> </Engine>
> </Service>
> </Server>
Re: Server Perspective not working [message #198136 is a reply to message #198055] Mon, 13 August 2007 09:42 Go to previous message
Eclipse User
Originally posted by: tomh.a-t-g.com

I tried the test install and that worked fine. So we switched to using
that.
Thanks,
Tom

"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:f9fan5$ppu$1@build.eclipse.org...
> Tom,
>
> Sorry to take so long responding. Your server.xml worked fine for me. Are
> you still having problems with this issue?
>
> Cheers,
> Larry
>
> Tom Henricksen wrote:
>> Here is the server.xml. We did try changing the
>> <Server> tag to <Server debug="0" port="8005" shutdown="SHUTDOWN">
>> And then we got "Publishing Failed" message and the server does not
>> start.
>>
>> I will try the test install and compare the behavior
>>
>> Thanks,
>> Tom
>>
>>
>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>> news:f8purc$12g$1@build.eclipse.org...
>>> The typical 8005 comes from the "port" attribute of the <Server> element
>>> in the server.xml found under the Servers project in your workspace. It
>>> might be helpful to create a new "test" Tomcat install using the binary
>>> zip distribution. Create a new runtime and server from that install and
>>> see if you get normal behavior. If so, that could provide an
>>> installation to compare with your current one to see what might be
>>> different. Also, if you can attach a copy of the server.xml from your
>>> Servers project, I'll take a quick look to see if I notice anything odd.
>>>
>>> Cheers,
>>> Larry
>>>
>>> Tom Henricksen wrote:
>>>> The ports listed are
>>>> HTTP 8080 and AJP/1.3 8009. I noticed on another machine that works
>>>> fine it
>>>> has a Tomcat Admin Port listed as 8005. Where does that setting come
>>>> from?
>>>>
>>>> Thanks,
>>>> Tom
>>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>>> news:f8l8k4$vbs$1@build.eclipse.org...
>>>>> If you open the server editor, what ports do you see listed in the
>>>>> Ports
>>>>> section?
>>>>>
>>>>> Cheers,
>>>>> Larry
>>>>>
>>>>> Tom Henricksen wrote:
>>>>>> The version of OS is Windows XP and Tomcat version is 5.0.30.
>>>>>>
>>>>>> Thanks,
>>>>>> Tom
>>>>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>>>>> news:f8ktt4$ptl$1@build.eclipse.org...
>>>>>>> You can review the following FAQ question to see if any apply:
>>>>>>>
>>>>>>> http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php#trou ble_3
>>>>>>>
>>>>>>> Also, it wouldn't hurt to know which OS and version of Tomcat you
>>>>>>> are
>>>>>>> using.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Larry
>>>>>>>
>>>>>>> Tom Henricksen wrote:
>>>>>>>> We are able to open the server editor. We have tried to re-create a
>>>>>>>> new
>>>>>>>> with the same outcome. This is the output we see in the log each
>>>>>>>> time
>>>>>>>> tomcat is started.
>>>>>>>> !ENTRY org.eclipse.wst.server.core 4 0 2007-07-30
>>>>>>>> 08:24:14.121!MESSAGE
>>>>>>>> Server Tomcat v5.0 Server @ localhost failed to
>>>>>>>> start.Thanks,Tom"Angel
>>>>>>>> Vera" <arvera@ca.ibm.com> wrote in message
>>>>>>>> news:Xns997D66D3D3FE0arveracaibmcom@206.191.52.34...
>>>>>>>>> Are you able to open the server editor for that tomcat server..?
>>>>>>>>> have
>>>>>>>>> you
>>>>>>>>> tried creating a new server? maybe grab the last few lines from
>>>>>>>>> the
>>>>>>>>> workspace/.metadata/.log and copy them in here so we can further
>>>>>>>>> diagnose
>>>>>>>>> the problem.
>>>>>>>>>
>>>>>>>>> "Tom Henricksen" <tomh@a-t-g.com> wrote in
>>>>>>>>> news:f8d67h$fm0$1@build.eclipse.org:
>>>>>>>>>
>>>>>>>>>> I have Eclipse 3.1.2 with WT 1.0.3. When starting Tomcat from
>>>>>>>>>> the
>>>>>>>>>> Server Perspective we get an alert stating Tomcat will not start.
>>>>>>>>>> And
>>>>>>>>>> Tomcat starts fine but the server perspective says it is stopped.
>>>>>>>>>> I
>>>>>>>>>> presume there is a settng messed up? Or maybe configuration
>>>>>>>>>> problem.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Tom
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <Server>
>> <Listener
>> className="org.apache.catalina.mbeans.ServerLifecycleListener "/>
>> <Listener
>> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener "/>
>> <GlobalNamingResources>
>> <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
>> <Resource auth="Container" description="User database that can be
>> updated and saved" name="UserDatabase"
>> type="org.apache.catalina.UserDatabase"/>
>> <ResourceParams name="UserDatabase">
>> <parameter>
>> <name>factory</name>
>>
>> <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value >
>> </parameter>
>> <parameter>
>> <name>pathname</name>
>> <value>conf/tomcat-users.xml</value>
>> </parameter>
>> </ResourceParams>
>> </GlobalNamingResources>
>> <Service name="Catalina">
>> <Connector acceptCount="100" connectionTimeout="20000"
>> disableUploadTimeout="true" port="8080" redirectPort="8443"
>> maxSpareThreads="75" maxThreads="150" minSpareThreads="25">
>> </Connector>
>> <Connector port="8009" protocol="AJP/1.3"
>> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler "
>> redirectPort="8443">
>> </Connector>
>> <Engine defaultHost="localhost" name="Catalina">
>> <Host appBase="webapps" name="localhost">
>> <Logger className="org.apache.catalina.logger.FileLogger"
>> prefix="localhost_log." suffix=".txt" timestamp="true"/>
>> </Host>
>> <Logger className="org.apache.catalina.logger.FileLogger" debug="9"
>> prefix="catalina_log." suffix=".txt" timestamp="true" verbosity="4"/>
>> <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
>> </Engine>
>> </Service>
>> </Server>
Previous Topic:Can I add dynamic web project to EAR after creation?
Next Topic:don't want source files exported in the war
Goto Forum:
  


Current Time: Thu Apr 17 08:32:34 EDT 2014

Powered by FUDForum. Page generated in 0.02969 seconds