axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph rettig (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-2046) Call.invoke hanging on SMP machine
Date Fri, 10 Jun 2005 17:08:47 GMT
    [ http://issues.apache.org/jira/browse/AXIS-2046?page=comments#action_12313308 ] 

Christoph rettig commented on AXIS-2046:
----------------------------------------

Hi again, I have now tracked down the problem: 

The hang appears in the org.apache.axis.utils.SessionUtils.generateSessionId() method.

There, an instance of java.security.SecureRandom is generated and the method nextBytes(bytes);
called. This call blocks and never gets back.

So, this is no Axis bug, but some Java SDK problem on SMP machines. Interestingly that I am
the first
to have this notice:(

I am afraid I have to look for a better SecureRandom provider.

regards, Chris



> Call.invoke hanging on SMP machine
> ----------------------------------
>
>          Key: AXIS-2046
>          URL: http://issues.apache.org/jira/browse/AXIS-2046
>      Project: Axis
>         Type: Bug
>     Versions: 1.1rc2, 1.2
>  Environment: java version "1.4.2_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
> Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
> Linux lxmportal1 2.4.21-9.ELsmp #1 SMP Thu Jan 8 17:08:56 EST 2004 i686 i686 i386 GNU/Linux
>     Reporter: Christoph rettig
>     Priority: Critical

>
> Hi, I have a really strange problem with axis hanging in Call.invoke.
> On my single-processor machine it is working fine, but if I deploy the same project (same
config, same jar files) to
> the primary machine (4CPU box) also running RedHat AS the first call to Call.invoke hangs
indefinitely.
> I am using Axis 1.1 and also tried it with axis 1.2, but both versions seem to have the
same problem:((
> Any help on this appreciated.
> regards, 
> Chris
> P.S. I also checked the debugger and the last lines are following 
> -----
> > 2005-06-10 13:29:42,447 [Thread-2] DEBUG at.one.tibco.mnp.SoapClient  (processAxisMessage)
- invoking web service
> Step completed: "thread=Thread-2", at.one.tibco.mnp.SoapClient.processAxisMessage(),
line=688 bci=1,014
> Thread-2[1] print call
>  call = "org.apache.axis.client.Call@eca36e"
> Thread-2[1] print requestEnvelope
>  requestEnvelope = "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>  <soapenv:Body>
>   <requestExportVolume xmlns="http://www.mnp.org/mnp">
>    <ReqExportVolume>   <Header xmlns:mnp="http://www.mnp.org/mnp">   <RequestID>660122</RequestID>
>    <Sender>ONE</Sender>
>    <Receiver>T2A</Receiver>
>    <Timestamp>2005-06-10T00:00:04+02:00</Timestamp>
>    <EnvFlag>2</EnvFlag>
>    <Version>1.0.0</Version>
> </Header>
> </ReqExportVolume>
>   </requestExportVolume>
>  </soapenv:Body>
> </soapenv:Envelope>"
> Thread-2[1] print
> No objects specified.
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.client.Call.invoke(), line=1,895 bci=0
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.<clinit>(), line=62
bci=0
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.class$(), line=63 bci=0
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.<clinit>(), line=62
bci=11
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.components.logger.LogFactory.getLog(),
line=37 bci=0
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.<clinit>(), line=62
bci=27
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.<clinit>(), line=81
bci=30
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.<clinit>(), line=246
bci=35
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.<clinit>(), line=249
bci=39
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.<clinit>(), line=251
bci=43
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.client.Call.invoke(), line=1,895 bci=3
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.<init>(), line=242 bci=0
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.<init>(), line=104 bci=4
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.<init>(), line=108 bci=9
> Thread-2[1] step
> > 2005-06-10 13:30:37,508 [Thread-1] DEBUG at.one.tibco.mnp.SoapClient  (run) - .
> Step completed: "thread=Thread-2", org.apache.axis.Message.<init>(), line=532 bci=14
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.<init>(), line=243 bci=25
> Thread-2[1] step
> > 2005-06-10 13:30:40,318 [Thread-1] WARN  at.one.tibco.mnp.SoapClient  (run) - timer
run out of schedule, current offset is 130690
> Step completed: "thread=Thread-2", org.apache.axis.Message.setup(), line=306 bci=0
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.setup(), line=310 bci=32
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.setup(), line=314 bci=66
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.setup(), line=335 bci=182
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.getMessageContext(), line=145
bci=0
> Thread-2[1] step
> 2005-06-1> 0 13:30:44,088 [Thread-1] WARN  at.one.tibco.mnp.SoapClient  (run) - scheduler
is still running - skipping manual restart
> Step completed: "thread=Thread-2", org.apache.axis.Message.setup(), line=335 bci=186
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=254 bci=0
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=256 bci=6
> Thread-2[1] where
>   [1] org.apache.axis.Message.isAttachmentSupportEnabled (Message.java:256)
>   [2] org.apache.axis.Message.setup (Message.java:335)
>   [3] org.apache.axis.Message.<init> (Message.java:243)
>   [4] org.apache.axis.client.Call.invoke (Call.java:1,895)
>   [5] at.one.tibco.mnp.SoapClient.processAxisMessage (SoapClient.java:688)
>   [6] at.one.tibco.mnp.SoapClient$ClientTask.scheduler (SoapClient.java:1,169)
>   [7] at.one.tibco.mnp.SoapClient$ClientTask.run (SoapClient.java:1,027)
>   [8] java.util.TimerThread.mainLoop (Timer.java:432)
>   [9] java.util.TimerThread.run (Timer.java:382)
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=258 bci=10
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=259 bci=13
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=266 bci=38
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=273 bci=46
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils.forName(), line=100
bci=0
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils.loadClass(), line=157
bci=0
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils.loadClass(), line=160
bci=2
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils$2.<init>(),
line=163 bci=0
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils.loadClass(), line=160
bci=10
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils$2.run(), line=167
bci=0
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils.getClassLoader(),
line=75 bci=0
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils.getClassLoader(),
line=78 bci=6
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils$2.run(), line=167
bci=7
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils$2.run(), line=168
bci=8
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils$2.run(), line=174
bci=19
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils$2.run(), line=176
bci=26
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils.loadClass(), line=160
bci=13
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils.loadClass(), line=198
bci=14
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils.loadClass(), line=199
bci=21
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils.forName(), line=100
bci=4
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=273 bci=51
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=274 bci=52
> Thread-2[1] step
> > 
> Step completed: "thread=Thread-2", org.apache.axis.utils.ClassUtils.forName(), line=100
bci=0
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=274 bci=57
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=276 bci=58
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=278 bci=65
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=283 bci=69
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=284 bci=77
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.isAttachmentSupportEnabled(),
line=287 bci=114
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.setup(), line=335 bci=189
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.setup(), line=339 bci=192
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.setup(), line=341 bci=202
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.setup(), line=346 bci=231
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.setup(), line=359 bci=247
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.setup(), line=365 bci=369
> Thread-2[1] next
> > 
> Step completed: "thread=Thread-2", org.apache.axis.Message.setup(), line=366 bci=377
> Thread-2[1] next
> > next
> Nothing suspended.
> > next
> Nothing suspended.
> > next
> Nothing suspended.
> > next
> Nothing suspended.
> > cont

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message