You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Eric Chow <er...@gmail.com> on 2006/11/23 10:30:21 UTC

Axis2 apply modules in services.

Hello,

I tried to test the module in services, but it just raised the
following exception:
The module seems deploy successfull but when deploy the service, it
raised the following exception:

2006-11-23 17:23:57 org.apache.axis2.deployment.DeploymentEngine doDeploy
SEVERE: Invalid service  test-service.aar due to Processing Operations
Modules logging module is invalid or has not been deployed; nested
exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules logging module is invalid or has not been deployed;
nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules logging module is invalid or has not been deployed;
nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules logging module is invalid or has not been deployed;
nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed
org.apache.axis2.deployment.DeploymentException: Processing Operations
Modules logging module is invalid or has not been deployed; nested
exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules logging module is invalid or has not been deployed;
nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules logging module is invalid or has not been deployed;
nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules logging module is invalid or has not been deployed;
nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed
	at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:139)
	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:528)
	at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:196)
	at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:227)
	at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:174)
	at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:219)
	at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:61)
	at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:68)
	at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:76)
	at java.util.TimerThread.mainLoop(Timer.java:512)
	at java.util.TimerThread.run(Timer.java:462)
Caused by: org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules logging module is invalid or has not been deployed;
nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules logging module is invalid or has not been deployed;
nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed
	at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
	at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:99)
	at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:133)
	... 10 more
Caused by: org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules logging module is invalid or has not been deployed;
nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed
	at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:329)
	at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:96)
	... 12 more
Caused by: org.apache.axis2.deployment.DeploymentException: logging
module is invalid or has not been deployed; nested exception is:
	org.apache.axis2.deployment.DeploymentException: logging module is
invalid or has not been deployed
	at org.apache.axis2.deployment.ServiceBuilder.processModuleRefs(ServiceBuilder.java:496)
	at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:250)
	... 13 more
Caused by: org.apache.axis2.deployment.DeploymentException: logging
module is invalid or has not been deployed
	at org.apache.axis2.deployment.ServiceBuilder.processModuleRefs(ServiceBuilder.java:488)
	... 14 more




The logging service is as same as the sample.
module.xml

<module name="logging" class="test.LoggingModule">
    <InFlow>
        <handler name="InFlowLogHandler" class="test.LogHandler">
            <order phase="loggingPhase"/>
        </handler>
    </InFlow>

    <OutFlow>
        <handler name="OutFlowLogHandler" class="test.LogHandler">
            <order phase="loggingPhase"/>
        </handler>
    </OutFlow>

    <OutFaultFlow>
        <handler name="FaultOutFlowLogHandler" class="test.LogHandler">
            <order phase="loggingPhase"/>
        </handler>
    </OutFaultFlow>

    <InFaultFlow>
        <handler name="FaultInFlowLogHandler" class="test.LogHandler">
            <order phase="loggingPhase"/>
        </handler>
    </InFaultFlow>
</module>


- Depends on the userguid, I modified the axis2.xml in the
webapp/axis2/WEBINF/conf/. And deploy the module first, it looks
successful.

- And then I deploy the service to the services folder, it raised the
above exception. Anything I missed to do?

service.xml

<serviceGroup>

	

	<service name="EchoService" scope="application"
targetNamespace="http://ws.eric.com/echo">
		<description>Echo Service</description>
		
		<messageReceivers>
			<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
				class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver" />
			<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
				class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
		</messageReceivers>
		
		
		<module ref="test-module"/>
		
		<parameter name="ServiceClass" locked="false">test.EchoService</parameter>
		
	</service>
</serviceGroup>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org