You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mark Eggers <it...@yahoo.com> on 2010/04/27 00:30:03 UTC

Re: development platform for jaxws-based webapps

Caveats:

I'm normally a systems architect, so I get build architectures or debug performance / crash issues.

I've also not built web services by hand.

Getting into the middle of an IDE debate starts a religious war similar in intensity to emacs versus vi.

All of that said, I just worked through the beginning examples for web services development using Netbeans 6.8 and Tomcat 6.0.26.

The first tutorial was clean, easy to follow, and worked fine under Fedora 11, JDK 1.6.0_19, and Tomcat 6.0.26.

As always, just my two cents . . . .

--- On Mon, 4/26/10, Christoph Kukulies <ku...@kukulies.org> wrote:

> From: Christoph Kukulies <ku...@kukulies.org>
> Subject: development platform for jaxws-based webapps
> To: "Tomcat Users List" <us...@tomcat.apache.org>
> Date: Monday, April 26, 2010, 1:19 PM
> I was experimenting with MyEclipse
> for a couple of days now to find an efficient way to
> generate wsdl/jaxws based wep apps.
> MyEclipse seem promising to me when I was starting with the
> article http://www.myeclipseide.com/documentation/quickstarts/webservices_jaxws/index.html
> but later on it turned out that the building the delegate
> classes /updating of webservices is not yet matured enough
> to allow for efficient development - I'm waiting for a
> response of the developer team though.
> 
> Anyone here on the tomcat list using Eclipse (the open one,
> eclipse.org) or any other tool for developing wsdl based
> webservices?
> 
> --
> Christoph Kukulies
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


      


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: development platform for jaxws-based webapps

Posted by Mark Eggers <it...@yahoo.com>.
Addendum:

It looks like the annotation @WebService() does a lot of magic under the covers. This will create some problems with you shut down the service provider.

In particular:

SEVERE: A web application created a ThreadLocal with key of type [null]
 (value [org.glassfish.gmbal.generic.OperationTracer$1@6de4b])
 and a value of type [java.util.ArrayList] (value [[]])
 but failed to remove it when the web application
 was stopped. To prevent a memory leak, the ThreadLocal has been forcibly
 removed.

SEVERE: A web application created a ThreadLocal with key of type [null]
 (value [com.sun.xml.bind.v2.runtime.Coordinator$1@ec32de])
 and a value of type [java.lang.Object[]]
 (value [[Ljava.lang.Object;@ffab0a])
 but failed to remove it when the web application was stopped.
 To prevent a memory leak, the ThreadLocal has been forcibly removed.

SEVERE: A web application created a ThreadLocal with key of type [null]
 (value [com.sun.xml.bind.v2.ClassFactory$1@1365360])
 and a value of type [java.util.WeakHashMap]
 (value [
  {class com.sun.xml.ws.runtime.config.Tubelines
    =java.lang.ref.WeakReference@19bf996,
   class com.sun.xml.ws.runtime.config.MetroConfig
    =java.lang.ref.WeakReference@11f1f12,
   class javax.xml.bind.annotation.W3CDomHandler
    =java.lang.ref.WeakReference@30e4a7,
   class com.sun.xml.ws.runtime.config.TubelineDefinition
    =java.lang.ref.WeakReference@1f39c59,
   class java.util.ArrayList
    =java.lang.ref.WeakReference@9db0ad,
   class com.sun.xml.ws.runtime.config.TubeFactoryList
    =java.lang.ref.WeakReference@ba679e,
   class javax.xml.bind.annotation.adapters.CollapsedStringAdapter
    =java.lang.ref.WeakReference@1e8b671,
   class com.sun.xml.ws.runtime.config.TubeFactoryConfig
    =java.lang.ref.WeakReference@121dcac}])
 but failed to remove it when the web application was stopped.
To prevent a memory leak, the ThreadLocal has been forcibly removed.

SEVERE: A web application created a ThreadLocal with key of type [null]
	(value [org.glassfish.gmbal.generic.OperationTracer$1@6de4b])
	and a value of type [java.util.ArrayList] (value [[]])
	but failed to remove it when the web application was stopped. To prevent
	a memory leak, the ThreadLocal has been forcibly removed.

It looks like some cleanup or hand coding is in order. Otherwise repeated deployments will cause a memory leak in earlier versions of Tomcat 6, and fill up your log files with Tomcat 6.0.26.


--- On Mon, 4/26/10, Mark Eggers <it...@yahoo.com> wrote:

> From: Mark Eggers <it...@yahoo.com>
> Subject: Re: development platform for jaxws-based webapps
> To: "Tomcat Users List" <us...@tomcat.apache.org>
> Date: Monday, April 26, 2010, 3:30 PM
> Caveats:
> 
> I'm normally a systems architect, so I get build
> architectures or debug performance / crash issues.
> 
> I've also not built web services by hand.
> 
> Getting into the middle of an IDE debate starts a religious
> war similar in intensity to emacs versus vi.
> 
> All of that said, I just worked through the beginning
> examples for web services development using Netbeans 6.8 and
> Tomcat 6.0.26.
> 
> The first tutorial was clean, easy to follow, and worked
> fine under Fedora 11, JDK 1.6.0_19, and Tomcat 6.0.26.
> 
> As always, just my two cents . . . .
> 



      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org