[ 
https://issues.apache.org/jira/browse/AXIS2-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578295#action_12578295
 ] 

Hans G Knudsen commented on AXIS2-3204:
---------------------------------------

Hi!

I just tested with a fresh checkout from trunk..

The error is now on AddressingInHandler  (in stead of AddressingModule).

Below is the logging from axis ModuleDeployer + the stacktrace received in my 
client.

/hans


2008-03-13 14:40:42,226 [ERROR] org.apache.axis2.deployment.ModuleDeployer  - 
The addressing-SNAPSHOT.mar module, which is not valid, caused 
org.apache.axis2.handlers.addressing.AddressingInHandler
org.apache.axis2.AxisFault: 
org.apache.axis2.handlers.addressing.AddressingInHandler
        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:431)
        at 
org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:312)
        at 
org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:105)
        at 
org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:456)
        at 
org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:73)
        at 
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
        at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:584)
        at 
org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:237)
        at 
org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68)
        at 
org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)
        at 
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:134)
        at 
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:132)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
        at 
dk.gov.oiosi.communication.client.Axis13Dispatcher.sendRequest(Axis13Dispatcher.java:257)
        at 
dk.gov.oiosi.communication.client.Axis13Dispatcher.sendRaspRequest(Axis13Dispatcher.java:208)
        at dk.gov.oiosi.communication.Request.sendMessage(Request.java:391)
        at dk.gov.oiosi.communication.Request.getResponse(Request.java:353)
        at 
dk.gov.oiosi.test.client.TestHttp_LocalAxisRaspServer.main(TestHttp_LocalAxisRaspServer.java:364)
Caused by: java.lang.ClassNotFoundException: 
org.apache.axis2.handlers.addressing.AddressingInHandler
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
        at org.apache.axis2.util.Loader.loadClass(Loader.java:229)
        at 
org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:310)
        ... 16 more



org.apache.axis2.AxisFault: The system is attempting to engage a module that is 
not available: addressing

        at 
org.apache.axis2.engine.AxisConfiguration.engageModule(AxisConfiguration.java:441)
        at 
org.apache.axis2.engine.AxisConfiguration.engageGlobalModules(AxisConfiguration.java:568)
        at 
org.apache.axis2.deployment.DeploymentEngine.engageModules(DeploymentEngine.java:602)
        at 
org.apache.axis2.deployment.FileSystemConfigurator.engageGlobalModules(FileSystemConfigurator.java:141)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:77)
        at 
dk.gov.oiosi.communication.client.Axis13Dispatcher.sendRequest(Axis13Dispatcher.java:257)
        at 
dk.gov.oiosi.communication.client.Axis13Dispatcher.sendRaspRequest(Axis13Dispatcher.java:208)
        at dk.gov.oiosi.communication.Request.sendMessage(Request.java:391)
        at dk.gov.oiosi.communication.Request.getResponse(Request.java:353)
        at 
dk.gov.oiosi.test.client.TestHttp_LocalAxisRaspServer.main(TestHttp_LocalAxisRaspServer.java:364)


> Client side 'Unable to engage module' - when several clients access same 
> repository
> -----------------------------------------------------------------------------------
>
>                 Key: AXIS2-3204
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3204
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.3
>         Environment: MacOS X 10.4.10
> Java :
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
> Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
> Axis2 1.3, Rampart 1.3, Sandeha2 1.3(ish).
>            Reporter: Hans G Knudsen
>            Assignee: Deepal Jayasinghe
>
> When running a stress test against an Axis2 service with Sandesha2 i 
> sometimes get error when ServiceClient tries to engage the needed modules. 
> See Below.
> The client runs in separate processes - but all access same 'repository'
> I have not had time to test on other OS's
> 2007-09-14 14:11:32,808 [ERROR] org.apache.axis2.deployment.ModuleDeployer  - 
> The addressing-1.3.mar module, which is not valid, caused 
> org.apache.axis2.addressing.AddressingModule
> org.apache.axis2.deployment.DeploymentException: 
> org.apache.axis2.addressing.AddressingModule
>       at 
> org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:493)
>       at 
> org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:69)
>       at 
> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:137)
>       at 
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:571)
>       at 
> org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:231)
>       at 
> org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:64)
>       at 
> org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:59)
>       at 
> org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:134)
>       at 
> org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:132)
>       at 
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
>       at 
> dk.oiosi.rasp.client.Dispatcher13.sendRaspRequest(Dispatcher13.java:340)
>       at 
> dk.oiosi.rasp.client.TestHttp_LocalAxisRaspServer.main(TestHttp_LocalAxisRaspServer.java:183)
> Caused by: org.apache.axis2.deployment.DeploymentException: 
> org.apache.axis2.addressing.AddressingModule
>       at 
> org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.java:82)
>       at 
> org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.java:96)
>       at 
> org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:480)
>       ... 11 more
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.axis2.addressing.AddressingModule
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>       at java.lang.Class.forName0(Native Method)
>       at java.lang.Class.forName(Class.java:164)
>       at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
>       at org.apache.axis2.util.Loader.loadClass(Loader.java:229)
>       at 
> org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.java:66)
>       ... 13 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to