Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Tomcat 5.5 and Eclipse WST?
Tomcat 5.5 and Eclipse WST? [message #92329] Thu, 14 April 2005 19:23 Go to next message
Eclipse UserFriend
Originally posted by: jbailo.vestcom.com

Is it possible to use Tomcat 5.5 and Eclipse WST?

I see all the tutorials referring to 4.x and the part of the
prerequisites are the jakarta-tomcat-4.1.31 lib dlls.

On the Tomcat site, they indicate that people should be using Tomcat 5.5

And, see other posts, it doesn't appear that Eclipse WST can even start
up Tomcat 5.5 when creating a simple web service.
Re: Tomcat 5.5 and Eclipse WST? [message #92663 is a reply to message #92329] Sun, 17 April 2005 05:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kariem_h.hotmail.com

There are runtimes for Tomcat versions from 3.2 up to 5.5. Works
perfectly. Have a look at the 'New Server Runtime' wizard.

Kariem


John Bailo [15.04.2005 01:23]:
> Is it possible to use Tomcat 5.5 and Eclipse WST?
>
> I see all the tutorials referring to 4.x and the part of the
> prerequisites are the jakarta-tomcat-4.1.31 lib dlls.
>
> On the Tomcat site, they indicate that people should be using Tomcat 5.5
>
> And, see other posts, it doesn't appear that Eclipse WST can even start
> up Tomcat 5.5 when creating a simple web service.
Re: Tomcat 5.5 and Eclipse WST? [message #92981 is a reply to message #92663] Mon, 18 April 2005 22:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jbailo.vestcom.com

Kariem Hussein wrote:
> There are runtimes for Tomcat versions from 3.2 up to 5.5. Works
> perfectly. Have a look at the 'New Server Runtime' wizard.

Ok, I think I found the New Server Run time wizard, but am not sure how
to use it in this situation.

I am using Tomcat 5.5

In the properties of my project my target run time is Apache Tomcat v.5.5

The Default Server is "Tomcat v5.0 server @ localhost"

I don't know why this is v5.0 when the only installed server is v5.5

Then, when creating the "Skeleton Java bean Web Service" my only choice
of server is v5.0

When I click finished and try to start this server I get:

IWAB0213E Error in starting server.
org.eclipse.core.runtime.CoreException[0]:
org.eclipse.core.runtime.CoreException: Could not load the Tomcat server
configuration at \Servers\Tomcat v5.0 Server @ localhost (2)-config. The
configuration may be corrupt or incomplete.
at
org.eclipse.jst.server.tomcat.core.internal.Tomcat50Configur ation.load(Tomcat50Configuration.java:257)
at
org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get TomcatConfiguration(TomcatServer.java:81)
at
org.eclipse.jst.server.tomcat.core.internal.TomcatServer.sav eConfiguration(TomcatServer.java:115)
at
org.eclipse.wst.server.core.internal.ServerWorkingCopy.save( ServerWorkingCopy.java:243)



>
> Kariem
>
>
> John Bailo [15.04.2005 01:23]:
>
>> Is it possible to use Tomcat 5.5 and Eclipse WST?
>>
>> I see all the tutorials referring to 4.x and the part of the
>> prerequisites are the jakarta-tomcat-4.1.31 lib dlls.
>>
>> On the Tomcat site, they indicate that people should be using Tomcat 5.5
>>
>> And, see other posts, it doesn't appear that Eclipse WST can even
>> start up Tomcat 5.5 when creating a simple web service.
Re: Tomcat 5.5 and Eclipse WST? [message #93467 is a reply to message #92329] Wed, 20 April 2005 14:43 Go to previous messageGo to next message
Eclipse UserFriend
John,
Web services and Apache Axis 1.1 are not compatible with JRE 1.5 due in part
to Axis' use of the now reserved "enum" keyword in packages that are
referenced by Axis-generated files. I'd suggest you target Tomcat over a JDK
1.4 environment for now - at least if you're working with Web services.
Apache Axis 1.2 RC3 may be dealing with this, and we have plans for M5 to
add support for Axis 1.2 (Final if it's available - RC<Something> if it
isn't). To the extent Axis allows it, we will put emphasis on getting Web
services scenarios working on Tomcat 5.5 on JRE 1.5.

Cheers - CB.

John Bailo wrote:

> Is it possible to use Tomcat 5.5 and Eclipse WST?
>
> I see all the tutorials referring to 4.x and the part of the
> prerequisites are the jakarta-tomcat-4.1.31 lib dlls.
>
> On the Tomcat site, they indicate that people should be using Tomcat 5.5
>
> And, see other posts, it doesn't appear that Eclipse WST can even start
> up Tomcat 5.5 when creating a simple web service.
Re: Tomcat 5.5 and Eclipse WST? [message #93636 is a reply to message #93467] Wed, 20 April 2005 21:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jbailo.vestcom.com

Chris Brealey wrote:
> John,
> Web services and Apache Axis 1.1 are not compatible with JRE 1.5 due in part
> to Axis' use of the now reserved "enum" keyword in packages that are
> referenced by Axis-generated files. I'd suggest you target Tomcat over a JDK
> 1.4 environment for now - at least if you're working with Web services.
> Apache Axis 1.2 RC3 may be dealing with this, and we have plans for M5 to
> add support for Axis 1.2 (Final if it's available - RC<Something> if it
> isn't). To the extent Axis allows it, we will put emphasis on getting Web
> services scenarios working on Tomcat 5.5 on JRE 1.5.


Chris -- thanks for being the Answer Man here!

Please see my earlier post -- I'm using Tomcat 5.5 -- this seems to be
ok when setting up the project, but Tomcat 5.5 is not an option when
deploying. Thus, I cannot create a deployment configuration that
matches the project config....

>
> Cheers - CB.
>
> John Bailo wrote:
>
>
>>Is it possible to use Tomcat 5.5 and Eclipse WST?
>>
>>I see all the tutorials referring to 4.x and the part of the
>>prerequisites are the jakarta-tomcat-4.1.31 lib dlls.
>>
>>On the Tomcat site, they indicate that people should be using Tomcat 5.5
>>
>>And, see other posts, it doesn't appear that Eclipse WST can even start
>>up Tomcat 5.5 when creating a simple web service.
>
>
Re: Tomcat 5.5 and Eclipse WST? [message #93915 is a reply to message #93636] Thu, 21 April 2005 13:45 Go to previous message
Eclipse UserFriend
John,
when you wrote that "Tomcat 5.5 is not an option when deploying", I take it you
were referring to the Service Deployment Configuration page and dialog from the
Web Service wizard? The extension points into the Web services platform requires
the extender to specify what kinds of servers and implementation types their
particular Web service runtime is compatible with. We have not established whether
Axis 1.1 will run on Tomcat v5.5 or not, so for now, the Apache Axis extension
explicitly identifies only Tomcat 4.0, 4.1 and 5.0 as compatible.

From org.eclipse.jst.ws.axis.creation.ui/plugin.xml, the "servers" attribute does
this...

<extension point="org.eclipse.jst.ws.consumption.ui.webServiceRuntime" >
<webServiceRuntime
id="org.eclipse.jst.ws.axis.creation.axisWebServiceRT"
label="%LABEL_RUNTIME_AXIS_11"
serviceTypes="org.eclipse.jst.ws.serviceType.java
org.eclipse.jst.ws.serviceType.wsdl"
clientTypes="org.eclipse.jst.ws.clientType.java.webOnly"
servletLevels="23 24"
j2eeLevels="13 14"
servers="org.eclipse.jst.server.tomcat.40 org.eclipse.jst.server.tomcat.41
org.eclipse.jst.server.tomcat.50"

class=" org.eclipse.jst.ws.internal.axis.creation.ui.wsrt.AxisWebSer viceRuntime ">
</webServiceRuntime>
</extension>

If someone was feeling adventurous, they could try adding
"org.eclipse.jst.server.tomcat.51" to the "servers" attribute, and see what
happens :)

In M5, we are planning to relax the requirement to explicitly list compatible
servers in the above XML, and instead rely primarily on comparisons of
specification (servlet, j2ee) levels for servers and Web service runtimes to
determine compatibility.

Cheers - CB.

John Bailo wrote:

> Chris Brealey wrote:
> > John,
> > Web services and Apache Axis 1.1 are not compatible with JRE 1.5 due in part
> > to Axis' use of the now reserved "enum" keyword in packages that are
> > referenced by Axis-generated files. I'd suggest you target Tomcat over a JDK
> > 1.4 environment for now - at least if you're working with Web services.
> > Apache Axis 1.2 RC3 may be dealing with this, and we have plans for M5 to
> > add support for Axis 1.2 (Final if it's available - RC<Something> if it
> > isn't). To the extent Axis allows it, we will put emphasis on getting Web
> > services scenarios working on Tomcat 5.5 on JRE 1.5.
>
> Chris -- thanks for being the Answer Man here!
>
> Please see my earlier post -- I'm using Tomcat 5.5 -- this seems to be
> ok when setting up the project, but Tomcat 5.5 is not an option when
> deploying. Thus, I cannot create a deployment configuration that
> matches the project config....
>
> >
> > Cheers - CB.
> >
> > John Bailo wrote:
> >
> >
> >>Is it possible to use Tomcat 5.5 and Eclipse WST?
> >>
> >>I see all the tutorials referring to 4.x and the part of the
> >>prerequisites are the jakarta-tomcat-4.1.31 lib dlls.
> >>
> >>On the Tomcat site, they indicate that people should be using Tomcat 5.5
> >>
> >>And, see other posts, it doesn't appear that Eclipse WST can even start
> >>up Tomcat 5.5 when creating a simple web service.
> >
> >
Previous Topic:Question about ModelHandlerRegistry.getHandlerForContentType()
Next Topic:Does anyone know .......
Goto Forum:
  


Current Time: Tue May 06 18:59:11 EDT 2025

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

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

Back to the top