tag:blogger.com,1999:blog-523111721368995039.post6647591035647652669..comments2019-09-16T01:44:47.664+02:00Comments on Made for WebSphere: Hello World! REST service using Jersey and WebSphere Application Server v6.1 (WAS)Anonymoushttp://www.blogger.com/profile/06498799591246874046noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-523111721368995039.post-79719659510848443702013-04-25T12:09:07.062+02:002013-04-25T12:09:07.062+02:00Exception in thread "main" java.lang.NoC...Exception in thread "main" java.lang.NoClassDefFoundError: java.util.logging.LogManager (initialization failure)<br /> at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)<br /> at java.util.logging.Logger.getLoggerWithRes(Logger.java:337)<br /> at java.util.logging.Logger.getLogger(Logger.java:367)<br /> at com.sun.jersey.api.client.Client.(Client.java:112)<br /> at java.lang.J9VMInternals.initializeImpl(Native Method)<br /> at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)<br /> at com.mits.restclient.HelloWorldRestClient.main(HelloWorldRestClient.java:11)rasrarnoreply@blogger.comtag:blogger.com,1999:blog-523111721368995039.post-48441893565184561212012-09-27T03:14:17.354+02:002012-09-27T03:14:17.354+02:00Thanks alot. Followed the instructions and worked ...Thanks alot. Followed the instructions and worked like a charm! ;)Tchayvazhttps://www.blogger.com/profile/10392786026289083973noreply@blogger.comtag:blogger.com,1999:blog-523111721368995039.post-22342546360843510252012-03-01T15:21:09.122+01:002012-03-01T15:21:09.122+01:00Thanks alot, It Works fine. If anyone has error, c...Thanks alot, It Works fine. If anyone has error, check jar files carefullyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-523111721368995039.post-3982285356400385582011-10-17T20:41:23.430+02:002011-10-17T20:41:23.430+02:00thanks so much, it works fine
--Rameshthanks so much, it works fine<br />--RameshAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-523111721368995039.post-48015187626261436632011-10-04T17:39:29.071+02:002011-10-04T17:39:29.071+02:00Exception in thread "main" java.lang.NoS...Exception in thread "main" java.lang.NoSuchMethodError: com/sun/jersey/core/spi/component/ProviderServices.(Lcom/sun/jersey/core/spi/factory/InjectableProviderFactory;Lcom/sun/jersey/core/spi/component/ProviderFactory;Ljava/util/Set;Ljava/util/Set;)<br /><br />It's about 3hours that I fight with this Exception! I build a webService on Websphere 7, and another client test but always the same exception!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-523111721368995039.post-26829427387497087422010-12-01T16:01:30.750+01:002010-12-01T16:01:30.750+01:00I didn't have no init-params. It has work with...I didn't have no init-params. It has work with web.xml as described.Anonymoushttps://www.blogger.com/profile/06498799591246874046noreply@blogger.comtag:blogger.com,1999:blog-523111721368995039.post-4544897140009175272010-12-01T14:35:19.951+01:002010-12-01T14:35:19.951+01:00I don't get a responce. Don't you need to ...I don't get a responce. Don't you need to configure the package of the resource in the XML Servlet section as init-params? <br /><br />Something like<br /><br /> <br /> com.sun.jersey.config.property.packages <br /> packagesResourceConfigAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-523111721368995039.post-29512870195099629582010-10-29T15:16:42.272+02:002010-10-29T15:16:42.272+02:00You probably took the Jersey that is compiled with...You probably took the Jersey that is compiled with Java 6. Try to find one compiled with Java 5. Also check that you don't compile using Java 6.Anonymoushttps://www.blogger.com/profile/06498799591246874046noreply@blogger.comtag:blogger.com,1999:blog-523111721368995039.post-74402350061939447792010-10-29T11:27:40.729+02:002010-10-29T11:27:40.729+02:00It seems that it doesnt't work for WAS 6.1.0.1...It seems that it doesnt't work for WAS 6.1.0.13, with RAD 7.5.3 IDE in my case.<br /><br />I get this:<br />Could not be defined due to: (com/sun/jersey/spi/container/servlet/ServletContainer) bad major version at offset=6<br />This is often caused by having a class defined at multiple<br />locations within the classloader hierarchy. Other potential causes<br />include compiling against an older or newer version of the class<br />that has an incompatible method signature.<br />Dumping the current context classloader hierarchy:<br /> ==> indicates defining classloader<br />==>[0] <br />com.ibm.ws.classloader.CompoundClassLoader@431c431c<br /> Local ClassPath: C:\workspaceREST\pruebaREST\WebContent\WEB-INF\classes;C:\workspaceREST\pruebaREST\WebContent\WEB-INF\lib\asm-3.1.jar;C:\workspaceREST\pruebaREST\WebContent\WEB-INF\lib\jersey-bundle-1.4.jar;C:\workspaceREST\pruebaREST\WebContent\WEB-INF\lib\jsr311-api-1.1.jar;C:\workspaceREST\pruebaREST\WebContent<br /> Delegation Mode: PARENT_FIRST<br /> [1] <br />com.ibm.ws.classloader.CompoundClassLoader@3ff03ff0<br /> Local ClassPath: <br /> Delegation Mode: PARENT_FIRST<br /> [2] com.ibm.ws.classloader.ProtectionClassLoader@25462546<br /> [3] com.ibm.ws.bootstrap.ExtClassLoader@27622762<br /> [4] org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@41864186<br /> [5] sun.misc.Launcher$AppClassLoader@21c021c0<br /> [6] sun.misc.Launcher$ExtClassLoader@3fee3fee<br />---Original exception---<br />java.lang.UnsupportedClassVersionError: (com/sun/jersey/spi/container/servlet/ServletContainer) bad major version at offset=6Jonhttps://www.blogger.com/profile/06990180564654280989noreply@blogger.comtag:blogger.com,1999:blog-523111721368995039.post-52615094968171569082010-02-03T17:09:19.355+01:002010-02-03T17:09:19.355+01:00Does it work with any version of Websphere 6.1 ? o...Does it work with any version of Websphere 6.1 ? or is there any fixpack needed ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-523111721368995039.post-38679961929139460522009-04-14T15:05:00.000+02:002009-04-14T15:05:00.000+02:00Have you a example with glasfish beacause in can't...Have you a example with glasfish beacause in can't use queryParam<br />thak's<br />christian.vial@ac-lyon.frUnknownhttps://www.blogger.com/profile/03716645655753231684noreply@blogger.com