10 Replies Latest reply: Aug 27, 2012 12:25 PM by Ju Lee RSS

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

maksrma Newbie

I have esb service action:

 

<action name="proxy" class="org.jboss.soa.esb.actions.soap.proxy.SOAPProxy">

                                        <property name="wsdl" value="http://localhost:8081/myservice?wsdl" >

  </property>

  </action>

 

It works fine. But web service aks for HTTP Basic authentification.

By documentation, i create http.properties:

# AuthBASIC config

configurators=AuthBASIC

 

# AuthBASIC config

auth-username=XXX

auth-password=XXX

authscope-host=localhost

authscope-port=8080

 

And made changes in jboss-esb.xml:

 

<action name="proxy" class="org.jboss.soa.esb.actions.soap.proxy.SOAPProxy">

    <property name="wsdl" value="http://localhost:8081/myservice?wsdl"/>

    <property name="endpointUrl" value="http://localhost:8081/myservice"/>

    <property name="file" value="/META-INF/http.properties"/> //

    <property name="clientCredentialsRequired" value="true"/>

</action>

 

1. In tutorials and quickstarts - HTTPS, e.g. SSL service with BASIC auth, and probably it works fine. BUT I need HTTP without SSL.

2. After adding this property:

<property name="file" value="/META-INF/http.properties"/>

 

I always have deployment error: host parameter is null.

 

Have anybody some experiance with ESB SOAPProxy and basic auth ?

 

(Throught SoapUI - with Basic credentials - my service works fine!)

  • 1. Re: JBoss 6.1 ESB 4.10 SOAPProxy doen't work with HTTP basic auth!
    Magesh Bojan Master

    Could you attach the DEBUG log showing the deployment error?

  • 2. Re: JBoss 6.1 ESB 4.10 SOAPProxy doen't work with HTTP basic auth!
    maksrma Newbie

    Currenct auth.properties

     

    configurators=AuthBASIC

     

    # AuthBASIC config

    auth-username=xxx

    auth-password=xxx

    authscope-host=localhost

    authscope-port=8081

     

    Current service configuration:

     

    <providers>

                        <jms-provider name="JBossMQ" connection-factory="ConnectionFactory" jndi-context-factory="org.jnp.interfaces.NamingContextFactory" jndi-pkg-prefix="org.jboss.naming:org.jnp.interfaces">

     

     

                                  <jms-bus busid="busUpbsSyncESB">

                                            <jms-message-filter dest-type="QUEUE" dest-name="queue/UpbsSyncESB" />

                                  </jms-bus>

                        </jms-provider>

              </providers>

     

     

              <services>

              <service invmScope="GLOBAL" category="integration.custom-service" name="UpbsService" description="Upbs Custom Service">

                        <property name="maxThreads" value="50" />

                        <actions mep="RequestResponse">

     

     

                                  <action name="e4-ejb-action" class="com.cs.esb.core.ejb.util.CustomEJBProcessor">

                                            <property name="ejb3" value="true" />

                                            <property name="jndi-name" value="UpbsServiceBean/remote" />

                                            <property name="method" value="processMessage" />

                                            <property name="initial-context-factory" value="org.jnp.interfaces.NamingContextFactory" />

                                            <property name="provider-url" value="127.0.0.1:1099" />

                                            <property name="ejb-params">

                                                      <arg0 type="java.lang.String">com.cs.esb.packet.body</arg0>

                                                      <arg1 type="java.lang.String">com.cs.esb.packet.userlogin</arg1>

                                                      <arg2 type="java.lang.String">com.cs.esb.packet.siteid</arg2>

                                                      <arg3 type="java.lang.String">com.cs.esb.packet.toboid</arg3>

                                            </property>

     

                                  </action>

                                  <action name="echo-request" class="org.jboss.soa.esb.actions.SystemPrintln">

                                            <property name="message" value="Message before SOAPProxy" />

                                  </action>

     

     

                                  <action name="proxy" class="org.jboss.soa.esb.actions.soap.proxy.SOAPProxy">

                                            <property name="wsdl" value="http://localhost:8081/UPBS/paymentBroker/PaymentBroker-Service?wsdl" />

                                            <property name="endpointUrl" value="http://localhost:8081/UPBS/paymentBroker/PaymentBroker-Service" />

                                            <property name="file" value="/META-INF/auth.properties" />

                                            <property name="clientCredentialsRequired" value="true" />

                                  </action>

     

                                  <action name="echo-response" class="org.jboss.soa.esb.actions.SystemPrintln">

                                            <property name="message" value="Message after SOAPProxy" />

                                  </action>

                        </actions>

              </service>

    </services>

     

     

    It's deployment log:

     

    2012-07-31 11:51:33,860 TRACE [org.jboss.soa.esb.listeners.deployers.mc.as6.GroupingStructure] (HDScanner) Recognised: upbs.esb

    2012-07-31 11:51:33,860 TRACE [org.jboss.soa.esb.listeners.deployers.mc.as6.EsbConfigParser] (HDScanner) Deploying: vfs:///D:/jboss-6.1.0.Final_E4/server/efour_conf/deploy/efour/upbs.esb

    2012-07-31 11:51:33,864 TRACE [org.jboss.soa.esb.listeners.deployers.mc.as6.EsbConfigParser] (HDScanner) Deployed:  vfs:///D:/jboss-6.1.0.Final_E4/server/efour_conf/deploy/efour/upbs.esb

    2012-07-31 11:51:33,892 TRACE [org.jboss.soa.esb.listeners.deployers.mc.as6.EsbDeployer] (HDScanner) Deploying: vfs:///D:/jboss-6.1.0.Final_E4/server/efour_conf/deploy/efour/upbs.esb

    2012-07-31 11:51:33,893 TRACE [org.jboss.soa.esb.listeners.deployers.mc.as6.EsbDeployer] (HDScanner) Deployed:  vfs:///D:/jboss-6.1.0.Final_E4/server/efour_conf/deploy/efour/upbs.esb

    2012-07-31 11:51:33,897 WARN  [org.jboss.ejb3.interceptor.InterceptorInfoRepository] (HDScanner) EJBTHREE-1852: InterceptorInfoRepository is deprecated

    2012-07-31 11:51:33,920 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) Created KernelDeployment for: upbs.esb

    2012-07-31 11:51:33,921 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) installing bean: jboss.j2ee:jar=upbs.esb,name=UpbsServiceBean,service=EJB3

    2012-07-31 11:51:33,922 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)   with dependencies:

    2012-07-31 11:51:33,923 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)   and demands:

    2012-07-31 11:51:33,923 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)           jboss.ejb:service=EJBTimerService; Required: Described

    2012-07-31 11:51:33,924 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)           jboss-injector:topLevelUnit=upbs.esb,unit=upbs.esb,bean=UpbsServiceBean; Required: Described

    2012-07-31 11:51:33,925 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)           jboss-switchboard:appName=upbs,module=upbs,name=UpbsServiceBean; Required: Create

    2012-07-31 11:51:33,926 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)           jboss-injector:topLevelUnit=upbs.esb,unit=upbs.esb,bean=UpbsServiceBean,interceptor=com.cs.esb.interceptor.PermissionChecker; Required: Described

    2012-07-31 11:51:33,926 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)   and supplies:

    2012-07-31 11:51:33,927 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)           jndi:UpbsServiceBean

    2012-07-31 11:51:33,928 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)           jndi:UpbsServiceBean/remote-com.cs.esb.custom.service.ejb.UpbsService

    2012-07-31 11:51:33,929 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)           jndi:UpbsServiceBean/local-com.cs.esb.custom.service.ejb.ICustomService

    2012-07-31 11:51:33,929 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)           jndi:UpbsServiceBean/remote

    2012-07-31 11:51:33,930 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)           jndi:UpbsServiceBean/local

    2012-07-31 11:51:33,931 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)           Class:com.cs.esb.custom.service.ejb.UpbsService

    2012-07-31 11:51:33,932 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)           Class:com.cs.esb.custom.service.ejb.ICustomService

    2012-07-31 11:51:33,933 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) Added bean(jboss.j2ee:jar=upbs.esb,name=UpbsServiceBean,service=EJB3) to KernelDeployment of: upbs.esb

    2012-07-31 11:51:33,954 INFO  [org.jboss.ejb3.session.SessionSpecContainer] (HDScanner) Starting jboss.j2ee:jar=upbs.esb,name=UpbsServiceBean,service=EJB3

    2012-07-31 11:51:33,954 INFO  [org.jboss.ejb3.EJBContainer] (HDScanner) STARTED EJB: com.cs.esb.custom.service.ejb.UpbsServiceBean ejbName: UpbsServiceBean

    2012-07-31 11:51:33,961 INFO  [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] (HDScanner) Binding the following Entries in Global JNDI:

     

     

              UpbsServiceBean/remote - EJB3.x Default Remote Business Interface

              UpbsServiceBean/remote-com.cs.esb.custom.service.ejb.UpbsService - EJB3.x Remote Business Interface

              UpbsServiceBean/local - EJB3.x Default Local Business Interface

              UpbsServiceBean/local-com.cs.esb.custom.service.ejb.ICustomService - EJB3.x Local Business Interface

     

     

    2012-07-31 11:51:33,962 WARN  [org.jboss.ejb3.TimerServiceContainer] (HDScanner) EJBTHREE-2193: using deprecated TimerServiceFactory for restoring timers

    2012-07-31 11:51:33,974 DEBUG [org.jboss.soa.esb.lifecycle.LifecycleResourceManager] (HDScanner) Associating deploymentName upbs.esb with identity: ID-19

    2012-07-31 11:51:33,975 INFO  [org.jboss.soa.esb.listeners.deployers.mc.as6.EsbDeployment] (HDScanner) Starting ESB Deployment 'upbs.esb'

    2012-07-31 11:51:33,991 DEBUG [org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle] (HDScanner) terminationPeriod value 60000

    2012-07-31 11:51:34,039 DEBUG [org.jboss.soa.esb.lifecycle.LifecycleResource] (HDScanner) Creating resource using factory: org.jboss.soa.esb.smooks.resource.SmooksResource$SmooksResourceFactory@df529e with identity ID-19

    2012-07-31 11:51:34,040 DEBUG [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (HDScanner) Using mep: RequestResponse, oneWay: false, defaultProcessing: false

    2012-07-31 11:51:34,040 DEBUG [org.jboss.soa.esb.lifecycle.LifecycleResource] (HDScanner) Creating resource using factory: org.jboss.soa.esb.listeners.message.ServiceMessageCounterLifecycleResource$LifecycleServiceMessageCounterFactory@cd4f05 with identity ID-19

    2012-07-31 11:51:34,040 DEBUG [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (HDScanner) Registering action class com.cs.esb.core.ejb.util.CustomEJBProcessor

    2012-07-31 11:51:34,040 DEBUG [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (HDScanner) Using overridden action lifecycle processor for com.cs.esb.core.ejb.util.CustomEJBProcessor

    2012-07-31 11:51:34,040 DEBUG [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (HDScanner) Registering action class org.jboss.soa.esb.actions.SystemPrintln

    2012-07-31 11:51:34,040 DEBUG [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (HDScanner) Using normal action pipeline processor for org.jboss.soa.esb.actions.SystemPrintln

    2012-07-31 11:51:34,040 DEBUG [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (HDScanner) Registering action class org.jboss.soa.esb.actions.soap.proxy.SOAPProxy

    2012-07-31 11:51:34,041 DEBUG [org.jboss.soa.esb.lifecycle.LifecycleResource] (HDScanner) Creating resource using factory: org.jboss.internal.soa.esb.publish.ContractProviderLifecycleResource$LifecycleContractProviderFactory@14dc2e6 with identity ID-19

    2012-07-31 11:51:34,045 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.GeneratedMethodAccessor498.invoke(Unknown Source)

              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)

              ... 71 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)

              ... 74 more

    Caused by: org.jboss.soa.esb.ConfigurationException: java.lang.IllegalArgumentException: host parameter is null

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

              ... 79 more

    Caused by: java.lang.IllegalArgumentException: host parameter is null

              at org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:205)

              at org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:154)

              at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionWithReference.<init>(MultiThreadedHttpConnectionManager.java:1105)

              at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool.createConnection(MultiThreadedHttpConnectionManager.java:741)

              at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:469)

              at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:394)

              at org.jboss.soa.esb.http.ESBMultiThreadedHttpConnectionManager.getConnectionWithTimeout(ESBMultiThreadedHttpConnectionManager.java:74)

              at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:152)

              at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)

              at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)

              at org.jboss.soa.esb.actions.soap.RemoteWsdlLoader.load(RemoteWsdlLoader.java:94)

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

              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)

              ... 79 more

     

     

    2012-07-31 11:51:34,062 INFO  [org.jboss.soa.esb.listeners.deployers.mc.as6.EsbDeployment] (HDScanner) Destroying 'upbs.esb'

    2012-07-31 11:51:34,062 DEBUG [org.jboss.soa.esb.lifecycle.LifecycleResourceManager] (HDScanner) Disassociating deploymentName upbs.esb from identity: ID-19

    2012-07-31 11:51:34,063 DEBUG [org.jboss.soa.esb.lifecycle.LifecycleResource] (HDScanner) Cleaning up resource using factory: org.jboss.internal.soa.esb.publish.ContractProviderLifecycleResource$LifecycleContractProviderFactory@14dc2e6 with identity ID-19

    2012-07-31 11:51:34,063 DEBUG [org.jboss.soa.esb.lifecycle.LifecycleResource] (HDScanner) Cleaning up resource using factory: org.jboss.soa.esb.listeners.message.ServiceMessageCounterLifecycleResource$LifecycleServiceMessageCounterFactory@cd4f05 with identity ID-19

    2012-07-31 11:51:34,063 WARN  [org.jboss.soa.esb.listeners.message.ServiceMessageCounterLifecycleResource] (HDScanner) Calling cleanup on existing service message counters for identity ID-19

    2012-07-31 11:51:34,063 DEBUG [org.jboss.soa.esb.lifecycle.LifecycleResource] (HDScanner) Cleaning up resource using factory: org.jboss.soa.esb.smooks.resource.SmooksResource$SmooksResourceFactory@df529e with identity ID-19

    2012-07-31 11:51:34,063 WARN  [org.jboss.soa.esb.smooks.resource.SmooksResource] (HDScanner) Closing smooks resources for identity ID-19

    2012-07-31 11:51:34,072 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.IllegalArgumentException: host parameter is null

     

     

              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)

  • 3. Re: JBoss 6.1 ESB 4.10 SOAPProxy doen't work with HTTP basic auth!
    maksrma Newbie

    Also I found bug https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=780146 issue with same problem.

     

    But unfortunatelu it was for [JBoss] JBoss Enterprise SOA Platform 5 (state - NEXT RELEASE (it was in 2010)) not for JBoss ESB.

     

    I tryed to fix this problem with JBossESB 4.11 - but exception is same.

  • 4. Re: JBoss 6.1 ESB 4.10 SOAPProxy doen't work with HTTP basic auth!
    Magesh Bojan Master

    Ah, Okay! This is a known documentation issue and tracked by this community JIRA. Note that you have not added the HttpProtocol configurator as mentioned in the linked SOA one.

     

    https://issues.jboss.org/browse/JBESB-3575

    https://issues.jboss.org/browse/SOA-2519

  • 5. Re: JBoss 6.1 ESB 4.10 SOAPProxy doen't work with HTTP basic auth!
    maksrma Newbie

    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)

  • 6. Re: JBoss 6.1 ESB 4.10 SOAPProxy doen't work with HTTP basic auth!
    maksrma Newbie

    Caused by: java.lang.ClassNotFoundException: org.jboss.soa.esb.http.configurators. -- this I found in jbossesb-rosetta.jar - in deployers. E.g. already in classpath.

    Probably need something besides HttpConfigurator?

  • 7. Re: JBoss 6.1 ESB 4.10 SOAPProxy doen't work with HTTP basic auth!
    maksrma Newbie

    Sorry.... had mistake in properties file. AuthBASIC,,HttpProtocol -- bad value.

     

    When I add AuthBASIC,HttpProtocol -- deployed fine. But when SOAPProxy send request to service:

    HTTP Status 401 - Full authentication is required to access this resource -- it is reportnse.

     

    In request header there isn't any credentials or something similar.

    Please help, where I am wrong?

  • 8. Re: JBoss 6.1 ESB 4.10 SOAPProxy doen't work with HTTP basic auth!
    maksrma Newbie

    Magesh Bojan very BIG thank you for your help!

     

    When I set in service config:

     

    <property name="clientCredentialsRequired" value="false" />

     

    It works! Request had header for basic auth and all is great!

  • 10. Re: JBoss 6.1 ESB 4.10 SOAPProxy doen't work with HTTP basic auth!
    Ju Lee Newbie

    Hi everybody,

     

    I've a problem that related to this topic. Please visit https://community.jboss.org/thread/204590

    Thanks