You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Austin Shelton <as...@gmail.com> on 2010/07/19 21:13:48 UTC
Unable to get Tomcat 7 to work in Eclipse
Hi,
I am unable to get Tomcat 7.0.0 to work correctly with Eclipse Helios.
Tomcat 6 was working just fine; the problem occurred when I upgraded to
Tomcat 7.0. It complained about "Resource Not found. I now have it working
to the extent that no errors or warning show up in the console. But I do not
get my page, without errors, to display. Any tips on solving this problem?
Thanks
Re: Unable to get Tomcat 7 to work in Eclipse
Posted by Austin Shelton <as...@gmail.com>.
Well. A message showed up in my Eclipse console that I had overlooked in my
previous launches:
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
property 'source' to 'org.eclipse.jst.jee.server:HelloWorldServlet' did not
find a matching property.
(The name of my application is "HelloWorldServlet")
Does anyone have an idea about what this means?
On Tue, Jul 20, 2010 at 4:32 PM, Austin Shelton <as...@gmail.com> wrote:
> Bizarre. I will keep looking for logs that might tell me something. I'll
> keep everyone posted on my efforts, feeble though they may be :-)
>
>
> On Tue, Jul 20, 2010 at 9:14 AM, Pid <pi...@pidster.com> wrote:
>
>> On 19/07/2010 22:37, Austin Shelton wrote:
>> > The resource for my web page servlet can't be located. This was not the
>> > case with Tomcat 6.
>> >
>> > Nobody complained once I started getting a good Tomcat launch.
>>
>> So it works if Tomcat 7 works, or it doesn't - I'm not clear on what
>> that means.
>>
>> > There are no logs in the Tomcat home.
>>
>> Like I said, they are probably not there. Eclipse uses it's own, I
>> don't know where that is in your case, you'll have to work it out.
>>
>>
>> p
>>
>> > On Mon, Jul 19, 2010 at 1:56 PM, Pid <pid@pidster.com
>> > <ma...@pidster.com>> wrote:
>> >
>> > On 19/07/2010 20:13, Austin Shelton wrote:
>> > > Hi,
>> > >
>> > > I am unable to get Tomcat 7.0.0 to work correctly with Eclipse
>> Helios.
>> > > Tomcat 6 was working just fine; the problem occurred when I
>> > upgraded to
>> > > Tomcat 7.0. It complained about "Resource Not found. I now have it
>> > working
>> > > to the extent that no errors or warning show up in the console.
>> > But I do not
>> > > get my page, without errors, to display. Any tips on solving this
>> > problem?
>> > >
>> > > Thanks
>> >
>> > Which resource isn't found?
>> >
>> > What complained, your browser, Eclipse, or Tomcat?
>> >
>> > What do the Tomcat logs say? (Note: they may be in a different
>> location
>> > than a normal Tomcat installation)
>> >
>> >
>> > p
>> >
>> >
>>
>>
>>
>
Re: Unable to get Tomcat 7 to work in Eclipse
Posted by Austin Shelton <as...@gmail.com>.
On Tue, Jul 20, 2010 at 8:44 PM, Konstantin Kolinko
<kn...@gmail.com>wrote:
> 2010/7/21 Austin Shelton <as...@gmail.com>:
> > Bizarre. I will keep looking for logs that might tell me something. I'll
> > keep everyone posted on my efforts, feeble though they may be :-)
> >
>
> Maybe you do not have a logging.properties file.
>
> There should be "-Djava.util.logging.manager" and
> "-Djava.util.logging.config.file" being set to appropriate values in
> the launch configuration for Tomcat for the logging to work properly.
>
What would be reasonable values for these parameters?
>
>
> By the way,
> http://wiki.eclipse.org/WTP_Tomcat_FAQ
>
> > WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
> > property 'source' to 'org.eclipse.jst.jee.server:HelloWorldServlet' did
> not
> > find a matching property.
>
> It is just a warning. That extra attribute (that was set by Eclipse
> for whatever reason) is ignored.
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Unable to get Tomcat 7 to work in Eclipse
Posted by Konstantin Kolinko <kn...@gmail.com>.
2010/7/21 Austin Shelton <as...@gmail.com>:
> Bizarre. I will keep looking for logs that might tell me something. I'll
> keep everyone posted on my efforts, feeble though they may be :-)
>
Maybe you do not have a logging.properties file.
There should be "-Djava.util.logging.manager" and
"-Djava.util.logging.config.file" being set to appropriate values in
the launch configuration for Tomcat for the logging to work properly.
By the way,
http://wiki.eclipse.org/WTP_Tomcat_FAQ
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
> property 'source' to 'org.eclipse.jst.jee.server:HelloWorldServlet' did not
> find a matching property.
It is just a warning. That extra attribute (that was set by Eclipse
for whatever reason) is ignored.
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Unable to get Tomcat 7 to work in Eclipse
Posted by Austin Shelton <as...@gmail.com>.
Bizarre. I will keep looking for logs that might tell me something. I'll
keep everyone posted on my efforts, feeble though they may be :-)
On Tue, Jul 20, 2010 at 9:14 AM, Pid <pi...@pidster.com> wrote:
> On 19/07/2010 22:37, Austin Shelton wrote:
> > The resource for my web page servlet can't be located. This was not the
> > case with Tomcat 6.
> >
> > Nobody complained once I started getting a good Tomcat launch.
>
> So it works if Tomcat 7 works, or it doesn't - I'm not clear on what
> that means.
>
> > There are no logs in the Tomcat home.
>
> Like I said, they are probably not there. Eclipse uses it's own, I
> don't know where that is in your case, you'll have to work it out.
>
>
> p
>
> > On Mon, Jul 19, 2010 at 1:56 PM, Pid <pid@pidster.com
> > <ma...@pidster.com>> wrote:
> >
> > On 19/07/2010 20:13, Austin Shelton wrote:
> > > Hi,
> > >
> > > I am unable to get Tomcat 7.0.0 to work correctly with Eclipse
> Helios.
> > > Tomcat 6 was working just fine; the problem occurred when I
> > upgraded to
> > > Tomcat 7.0. It complained about "Resource Not found. I now have it
> > working
> > > to the extent that no errors or warning show up in the console.
> > But I do not
> > > get my page, without errors, to display. Any tips on solving this
> > problem?
> > >
> > > Thanks
> >
> > Which resource isn't found?
> >
> > What complained, your browser, Eclipse, or Tomcat?
> >
> > What do the Tomcat logs say? (Note: they may be in a different
> location
> > than a normal Tomcat installation)
> >
> >
> > p
> >
> >
>
>
>
Re: Unable to get Tomcat 7 to work in Eclipse
Posted by Pid <pi...@pidster.com>.
On 19/07/2010 22:37, Austin Shelton wrote:
> The resource for my web page servlet can't be located. This was not the
> case with Tomcat 6.
>
> Nobody complained once I started getting a good Tomcat launch.
So it works if Tomcat 7 works, or it doesn't - I'm not clear on what
that means.
> There are no logs in the Tomcat home.
Like I said, they are probably not there. Eclipse uses it's own, I
don't know where that is in your case, you'll have to work it out.
p
> On Mon, Jul 19, 2010 at 1:56 PM, Pid <pid@pidster.com
> <ma...@pidster.com>> wrote:
>
> On 19/07/2010 20:13, Austin Shelton wrote:
> > Hi,
> >
> > I am unable to get Tomcat 7.0.0 to work correctly with Eclipse Helios.
> > Tomcat 6 was working just fine; the problem occurred when I
> upgraded to
> > Tomcat 7.0. It complained about "Resource Not found. I now have it
> working
> > to the extent that no errors or warning show up in the console.
> But I do not
> > get my page, without errors, to display. Any tips on solving this
> problem?
> >
> > Thanks
>
> Which resource isn't found?
>
> What complained, your browser, Eclipse, or Tomcat?
>
> What do the Tomcat logs say? (Note: they may be in a different location
> than a normal Tomcat installation)
>
>
> p
>
>
Re: Unable to get Tomcat 7 to work in Eclipse
Posted by Austin Shelton <as...@gmail.com>.
The resource for my web page servlet can't be located. This was not the case
with Tomcat 6.
Nobody complained once I started getting a good Tomcat launch.
There are no logs in the Tomcat home.
On Mon, Jul 19, 2010 at 1:56 PM, Pid <pi...@pidster.com> wrote:
> On 19/07/2010 20:13, Austin Shelton wrote:
> > Hi,
> >
> > I am unable to get Tomcat 7.0.0 to work correctly with Eclipse Helios.
> > Tomcat 6 was working just fine; the problem occurred when I upgraded to
> > Tomcat 7.0. It complained about "Resource Not found. I now have it
> working
> > to the extent that no errors or warning show up in the console. But I do
> not
> > get my page, without errors, to display. Any tips on solving this
> problem?
> >
> > Thanks
>
> Which resource isn't found?
>
> What complained, your browser, Eclipse, or Tomcat?
>
> What do the Tomcat logs say? (Note: they may be in a different location
> than a normal Tomcat installation)
>
>
> p
>
>
Re: Unable to get Tomcat 7 to work in Eclipse
Posted by Pid <pi...@pidster.com>.
On 19/07/2010 20:13, Austin Shelton wrote:
> Hi,
>
> I am unable to get Tomcat 7.0.0 to work correctly with Eclipse Helios.
> Tomcat 6 was working just fine; the problem occurred when I upgraded to
> Tomcat 7.0. It complained about "Resource Not found. I now have it working
> to the extent that no errors or warning show up in the console. But I do not
> get my page, without errors, to display. Any tips on solving this problem?
>
> Thanks
Which resource isn't found?
What complained, your browser, Eclipse, or Tomcat?
What do the Tomcat logs say? (Note: they may be in a different location
than a normal Tomcat installation)
p