JBoss Community

Re: JBoss 6.1 ESB 4.10 SOAPProxy doen't work with HTTP basic auth!

created by Maksym RMA in JBoss ESB Development - View the full discussion

I add HttpConfigurator to auth.properties:

# AuthBASIC config

configurators=AuthBASIC,,HttpProtocol

 

# AuthBASIC config

auth-username=xxx

auth-password=xxx

 

And now I have next error:

 

2012-07-31 13:49:10,506 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Start: name=jboss.esb.vfs:///D:/jboss-6.1.0.Final_E4/server/efour_conf/deploy/efour/upbs.esb state=Create: org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: Error configuring action processing pipeline

          at org.jboss.soa.esb.listeners.message.MessageAwareListener.doInitialise(MessageAwareListener.java:192)

          at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(AbstractManagedLifecycle.java:133)

          at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(ManagedLifecycleController.java:109)

          at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(ManagedLifecycleController.java:66)

          at org.jboss.soa.esb.listeners.deployers.mc.as6.EsbDeployment.start(EsbDeployment.java:234)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60)

          at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168)

          at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

          at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257)

          at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)

          at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125)

          at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)

          at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202)

          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)

          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)

          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)

          at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641)

          at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182)

          at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58)

          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:63)

          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)

          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)

          at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076)

          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679)

          at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106)

          at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143)

          at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:240)

          at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192)

          at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:57)

          at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74)

          at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:95)

          at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87)

          at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234)

          at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213)

          at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150)

          at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135)

          at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146)

          at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90)

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

          at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:662)

Caused by: org.jboss.soa.esb.ConfigurationException: Unexpected exception while instantiating action instance

          at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.getActionClassInstance(ActionProcessorMethodInfo.java:359)

          at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.getActionClassInstance(ActionProcessorMethodInfo.java:340)

          at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.<init>(ActionProcessingPipeline.java:275)

          at org.jboss.soa.esb.listeners.message.MessageAwareListener.doInitialise(MessageAwareListener.java:186)

          ... 72 more

Caused by: java.lang.reflect.InvocationTargetException

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

          at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.getActionClassInstance(ActionProcessorMethodInfo.java:355)

          ... 75 more

Caused by: org.jboss.soa.esb.ConfigurationException: java.io.IOException: Failed to create RemoteWsdlLoader instance.

          at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.<init>(SOAPProxy.java:198)

          ... 80 more

Caused by: java.io.IOException: Failed to create RemoteWsdlLoader instance.

          at org.jboss.soa.esb.actions.soap.AbstractWsdlContractPublisher.getWsdl(AbstractWsdlContractPublisher.java:195)

          at org.jboss.soa.esb.actions.soap.proxy.SOAPProxyWsdlLoader$Puller.pull(SOAPProxyWsdlLoader.java:522)

          at org.jboss.soa.esb.actions.soap.proxy.SOAPProxyWsdlLoader.load(SOAPProxyWsdlLoader.java:158)

          at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.<init>(SOAPProxy.java:193)

          ... 80 more

Caused by: org.jboss.soa.esb.ConfigurationException: Configurator implementation class [org.jboss.soa.esb.http.configurators.] not found in classpath.

          at org.jboss.soa.esb.http.HttpClientFactory.createConfigurator(HttpClientFactory.java:106)

          at org.jboss.soa.esb.http.HttpClientFactory.createConfigurator(HttpClientFactory.java:104)

          at org.jboss.soa.esb.http.HttpClientFactory.createHttpClient(HttpClientFactory.java:83)

          at org.jboss.soa.esb.actions.soap.RemoteWsdlLoader.<init>(RemoteWsdlLoader.java:59)

          at org.jboss.soa.esb.actions.soap.AbstractWsdlContractPublisher.getWsdl(AbstractWsdlContractPublisher.java:193)

          ... 83 more

Caused by: java.lang.ClassNotFoundException: org.jboss.soa.esb.http.configurators.

          at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Class.java:247)

          at org.jboss.soa.esb.util.ClassUtil.forName(ClassUtil.java:93)

          at org.jboss.soa.esb.http.HttpClientFactory.createConfigurator(HttpClientFactory.java:99)

          ... 87 more

 

 

2012-07-31 13:49:10,532 INFO  [org.jboss.soa.esb.listeners.deployers.mc.as6.EsbDeployment] (HDScanner) Destroying 'upbs.esb'

2012-07-31 13:49:10,533 DEBUG [org.jboss.soa.esb.lifecycle.LifecycleResourceManager] (HDScanner) Disassociating deploymentName upbs.esb from identity: ID-8

2012-07-31 13:49:10,533 DEBUG [org.jboss.soa.esb.lifecycle.LifecycleResource] (HDScanner) Cleaning up resource using factory: org.jboss.internal.soa.esb.publish.ContractProviderLifecycleResource$LifecycleContractProviderFactory@c0bb57 with identity ID-8

2012-07-31 13:49:10,533 DEBUG [org.jboss.soa.esb.lifecycle.LifecycleResource] (HDScanner) Cleaning up resource using factory: org.jboss.soa.esb.listeners.message.ServiceMessageCounterLifecycleResource$LifecycleServiceMessageCounterFactory@174d332 with identity ID-8

2012-07-31 13:49:10,533 WARN  [org.jboss.soa.esb.listeners.message.ServiceMessageCounterLifecycleResource] (HDScanner) Calling cleanup on existing service message counters for identity ID-8

2012-07-31 13:49:10,534 DEBUG [org.jboss.soa.esb.lifecycle.LifecycleResource] (HDScanner) Cleaning up resource using factory: org.jboss.soa.esb.smooks.resource.SmooksResource$SmooksResourceFactory@75f884 with identity ID-8

2012-07-31 13:49:10,534 WARN  [org.jboss.soa.esb.smooks.resource.SmooksResource] (HDScanner) Closing smooks resources for identity ID-8

2012-07-31 13:49:10,576 WARN  [org.jboss.profileservice.deployment.hotdeploy.HDScanner] (HDScanner) Scan failed: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

 

 

DEPLOYMENTS IN ERROR:

  Deployment "jboss.esb.vfs:///D:/jboss-6.1.0.Final_E4/server/efour_conf/deploy/efour/upbs.esb" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.soa.esb.http.configurators.

 

 

          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1316)

          at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:968)

          at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:82)

          at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.checkComplete(ProfileControllerContext.java:138)

          at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:246)

          at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192)

          at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:57)

          at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74)

          at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:95)

          at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87)

          at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234)

          at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213)

          at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150)

          at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135)

          at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146)

          at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90)

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

          at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:662)

Reply to this message by going to Community

Start a new discussion in JBoss ESB Development at Community