Home » Language IDEs » ServerTools (WTP) » Server Perspective not working
Server Perspective not working [message #197418] |
Fri, 27 July 2007 12:24  |
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 #197791 is a reply to message #197718] |
Wed, 01 August 2007 08:38   |
Eclipse User |
|
|
|
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   |
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 321 times)
|
|
|
Re: Server Perspective not working [message #198055 is a reply to message #197806] |
Thu, 09 August 2007 11:09   |
Eclipse User |
|
|
|
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  |
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>
|
|
|
Goto Forum:
Current Time: Tue Jul 22 20:47:58 EDT 2025
Powered by FUDForum. Page generated in 0.06113 seconds
|