Quantcast

problem during schema generation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

problem during schema generation

Chris van Es-2
problem during schema generation

Hi, I've recently began to have a problem with axis2 1.4.1 where during deployment of our service in tomcat 6.0.18, I get an error that the aar file is not valid and fails to load. This code has previously worked and no changes have be made to the methods exposed via the SOAP interface except that a sub method call in these exposed methods now makes a call to an interface of which the implementation contains a static inner thread class which polls a queue for messages to send. From looking at the axis code it seems to fail when trying to retrieve class/package information and I was wondering would axis have a problem with the member/inner class?

I should also mention that the inner class works with our other webapp deployed - both webapps access this core functionality.

I've tried turning logging up full but I can't get anymore information that what it below. Any suggestions?


2009-03-30 17:55:29,085 [-][1000][21541][ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR    deployment.ServiceDeployer The pp.aar service, which is not valid, caused The following error occurred during schema generation: null

org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: null
        at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:151)
        at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81)
        at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
        at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597)
        at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
        at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330)
        at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227)
        at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131)

        at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284)

        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:82)
        at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516)
        at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1217)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: null
        at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106)
        at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:110)
        at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:144)
        ... 29 more
Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: null
        at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:431)
        at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
        ... 31 more
Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: null
        at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:394)
        ... 32 more
Caused by: java.lang.NullPointerException
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.getQualifiedName(DefaultSchemaGenerator.java:1105)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:522)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaforFieldsandProperties(DefaultSchemaGenerator.java:736)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:639)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaforFieldsandProperties(DefaultSchemaGenerator.java:736)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:639)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaForType(DefaultSchemaGenerator.java:793)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.processMethods(DefaultSchemaGenerator.java:406)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:280)
        at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:537)
        at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:390)


Thanks,


Chris.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: problem during schema generation

Chris van Es-2
RE: problem during schema generation

Sorry, just to make things clearer, the inner class isn't exposed via the SOAP interface in either the facade class or any of the response objects, it should be encapsulated out of sight of these.

Chris.


-----Original Message-----
From: Chris van Es
Sent: Tue 3/31/2009 12:41 AM
To: [hidden email]
Subject: problem during schema generation

Hi, I've recently began to have a problem with axis2 1.4.1 where during deployment of our service in tomcat 6.0.18, I get an error that the aar file is not valid and fails to load. This code has previously worked and no changes have be made to the methods exposed via the SOAP interface except that a sub method call in these exposed methods now makes a call to an interface of which the implementation contains a static inner thread class which polls a queue for messages to send. From looking at the axis code it seems to fail when trying to retrieve class/package information and I was wondering would axis have a problem with the member/inner class?

I should also mention that the inner class works with our other webapp deployed - both webapps access this core functionality.

I've tried turning logging up full but I can't get anymore information that what it below. Any suggestions?


2009-03-30 17:55:29,085 [-][1000][21541][ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR    deployment.ServiceDeployer The pp.aar service, which is not valid, caused The following error occurred during schema generation: null

org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: null
        at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:151)
        at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81)
        at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
        at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597)
        at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
        at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330)
        at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227)
        at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131)

        at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284)

        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:82)
        at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516)
        at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1217)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: null
        at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106)
        at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:110)
        at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:144)
        ... 29 more
Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: null
        at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:431)
        at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
        ... 31 more
Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: null
        at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:394)
        ... 32 more
Caused by: java.lang.NullPointerException
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.getQualifiedName(DefaultSchemaGenerator.java:1105)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:522)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaforFieldsandProperties(DefaultSchemaGenerator.java:736)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:639)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaforFieldsandProperties(DefaultSchemaGenerator.java:736)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:639)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaForType(DefaultSchemaGenerator.java:793)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.processMethods(DefaultSchemaGenerator.java:406)
        at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:280)
        at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:537)
        at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:390)


Thanks,


Chris.

Loading...