java.lang.ClassNotFoundException : org.glassfish.gmbal.ManagedObjectManager

Problem

Deploying a JAX-WS web service on Tomcat, hits following error message :


java.lang.ClassNotFoundException: 
	org.glassfish.gmbal.ManagedObjectManager

Solution

The JAX-WS dependency library “gmbal-api-only.jar” is missing.

  1. Go here http://jax-ws.java.net/.
  2. Download JAX-WS RI distribution.
  3. Unzip it and copy “gmbal-api-only.jar” to Tomcat library folder “{$TOMCAT}/lib“.
  4. Restart Tomcat.

About the Author

author image
mkyong
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments

avatar
2 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
JagrutiJAX-WS Tutorials Recent comment authors
newest oldest most voted
Jagruti
Guest
Jagruti

Dear Myong,
Your blog is pretty much helpful.

Regarding this error, I had encountered the same while invoking the web service call from a stand alone java client. And it occurs while init of stub. Interestingly this happened, all of a sudden – meaning i had provided my client code with all the required libraries, why would it suddenly find something missing. I am trying to debug this , but if you any insight please let me know.
Thanks in advance .

trackback
JAX-WS Tutorials

[…] java.lang.ClassNotFoundException : org.glassfish.gmbal.ManagedObjectManager […]