[Carbon-dev] Error Deploying JAX-WS services on WSAS

Kasun Weranga kasunw at wso2.com
Tue Jan 11 04:42:36 PST 2011


Hi,

When I am going to integrate JUDDI into GREG, I have a requirement of
deploying JAX-WS services on GREG, before deploying those in GREG, I tried
to deploy those JAX-WS services on WSAS*. But I got following exception. *
*
*
*
[2011-01-11 15:25:23,011]  INFO
{org.apache.axis2.jaxws.framework.JAXWSDeployer} -  Deploying artifact :
/media/NewVolume_/projects/products/WSAS/wso2appserver-4.0.0/repository/deployment/server/servicejars/juddi-core-3.0.3.jar
[2011-01-11 15:25:23,242]  INFO
{org.apache.axis2.jaxws.framework.JAXWSDeployer} -  Exception creating Axis
Service : null
java.lang.ArrayIndexOutOfBoundsException: 1
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.produceDBC(JavaClassToDBCConverter.java:125)
 at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:215)
at
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:249)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:204)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:158)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:815)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:391)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:144)
at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:387)
 at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:384)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
 at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
 at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
[2011-01-11 15:25:23,277]  INFO
{org.apache.axis2.jaxws.framework.JAXWSDeployer} -  Exception creating Axis
Service : null
java.lang.LinkageError: loader constraint violation: loader (instance of
sun/misc/Launcher$AppClassLoader) previously initiated loading for a
different type with name "javax/xml/ws/Holder"
 at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
 at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.privateGetPublicMethods(Class.java:2557)
 at java.lang.Class.getMethods(Class.java:1410)
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter$7.run(JavaClassToDBCConverter.java:465)
 at
org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:76)
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.establishExceptionClasses(JavaClassToDBCConverter.java:462)
 at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.<init>(JavaClassToDBCConverter.java:79)
at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:214)
 at
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:249)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:204)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:158)
 at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:815)
 at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:391)
 at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:144)
 at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:387)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
 at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:384)
 at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
 at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
[2011-01-11 15:25:23,303]  INFO
{org.apache.axis2.jaxws.framework.JAXWSDeployer} -  Exception creating Axis
Service : null
java.lang.ArrayIndexOutOfBoundsException: 1
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.produceDBC(JavaClassToDBCConverter.java:125)
 at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:215)
at
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:249)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:204)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:158)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:815)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:391)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:144)
at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:387)
 at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:384)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
 at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
 at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
[2011-01-11 15:25:23,325]  INFO
{org.apache.axis2.jaxws.framework.JAXWSDeployer} -  Exception creating Axis
Service : null
java.lang.LinkageError: loader constraint violation: loader (instance of
sun/misc/Launcher$AppClassLoader) previously initiated loading for a
different type with name "javax/xml/ws/Holder"
 at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
 at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.privateGetPublicMethods(Class.java:2557)
 at java.lang.Class.getMethods(Class.java:1410)
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter$7.run(JavaClassToDBCConverter.java:465)
 at
org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:76)
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.establishExceptionClasses(JavaClassToDBCConverter.java:462)
 at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.<init>(JavaClassToDBCConverter.java:79)
at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:214)
 at
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:249)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:204)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:158)
 at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:815)
 at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:391)
 at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:144)
 at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:387)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
 at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:384)
 at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
 at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
[2011-01-11 15:25:23,350]  INFO
{org.apache.axis2.jaxws.framework.JAXWSDeployer} -  Exception creating Axis
Service : null
java.lang.ArrayIndexOutOfBoundsException: 1
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.produceDBC(JavaClassToDBCConverter.java:125)
 at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:215)
at
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:249)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:204)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:158)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:815)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:391)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:144)
at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:387)
 at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:384)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
 at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
 at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
[2011-01-11 15:25:23,359]  INFO
{org.apache.axis2.jaxws.framework.JAXWSDeployer} -  Exception creating Axis
Service : null
java.lang.ArrayIndexOutOfBoundsException: 1
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.produceDBC(JavaClassToDBCConverter.java:125)
 at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:215)
at
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:249)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:204)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:158)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:815)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:391)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:144)
at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:387)
 at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:384)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
 at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
 at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
[2011-01-11 15:25:23,380]  INFO
{org.apache.axis2.jaxws.framework.JAXWSDeployer} -  Exception creating Axis
Service : null
java.lang.LinkageError: loader constraint violation: loader (instance of
sun/misc/Launcher$AppClassLoader) previously initiated loading for a
different type with name "javax/xml/ws/Holder"
 at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
 at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.privateGetPublicMethods(Class.java:2557)
 at java.lang.Class.getMethods(Class.java:1410)
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter$7.run(JavaClassToDBCConverter.java:465)
 at
org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:76)
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.establishExceptionClasses(JavaClassToDBCConverter.java:462)
 at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.<init>(JavaClassToDBCConverter.java:79)
at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:214)
 at
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:249)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:204)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:158)
 at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:815)
 at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:391)
 at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:144)
 at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:387)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
 at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:384)
 at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
 at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
[2011-01-11 15:25:23,395]  INFO
{org.apache.axis2.jaxws.framework.JAXWSDeployer} -  Exception creating Axis
Service : null
java.lang.ArrayIndexOutOfBoundsException: 1
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.produceDBC(JavaClassToDBCConverter.java:125)
 at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:215)
at
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:249)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:204)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:158)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:815)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:391)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:144)
at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:387)
 at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:384)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
 at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
 at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
[2011-01-11 15:25:23,399]  INFO
{org.apache.axis2.jaxws.framework.JAXWSDeployer} -  Exception creating Axis
Service : null
java.lang.LinkageError: loader constraint violation: loader (instance of
sun/misc/Launcher$AppClassLoader) previously initiated loading for a
different type with name "javax/xml/ws/Holder"
 at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
 at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.privateGetPublicMethods(Class.java:2557)
 at java.lang.Class.getMethods(Class.java:1410)
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter$7.run(JavaClassToDBCConverter.java:465)
 at
org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:76)
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.establishExceptionClasses(JavaClassToDBCConverter.java:462)
 at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.<init>(JavaClassToDBCConverter.java:79)
at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:214)
 at
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:249)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:204)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:158)
 at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:815)
 at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:391)
 at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:144)
 at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:387)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
 at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:384)
 at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
 at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
[2011-01-11 15:25:23,414]  INFO
{org.apache.axis2.jaxws.framework.JAXWSDeployer} -  Exception creating Axis
Service : null
java.lang.ArrayIndexOutOfBoundsException: 1
at
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.produceDBC(JavaClassToDBCConverter.java:125)
 at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:215)
at
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:249)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:204)
 at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:158)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:815)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:391)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:144)
at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:387)
 at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:384)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
 at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
 at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
[2011-01-11 15:25:23,651] ERROR
{org.apache.axis2.jaxws.framework.JAXWSDeployer} -  Error:
 No @WebService annotated service implementations found in the jar:
file:/media/NewVolume_/projects/products/WSAS/wso2appserver-4.0.0/repository/deployment/server/servicejars/juddi-core-3.0.3.jar.
Service deployment failed.

Eventhough it is saying "
No @WebService annotated service implementations found in the jar" it has
annotations.
*

-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://wso2.org/pipermail/carbon-dev/attachments/20110111/7f90bc75/attachment-0001.htm>


More information about the Carbon-dev mailing list