<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: JBoss 5.1.0 GA web-service client problem when stress testing
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/grosueugen">Eugen Grosu</a> in <i>JBoss Web Services</i> - <a href="http://community.jboss.org/message/565690#565690">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>On a Linux OS, these errors are not being thrown when running the stress tests with 100 threads. Unfortunately, with 300 threads, it raises some other exceptions (still errors regarding web-service).</p><p>Anyway, we reimplement the client with Axis, and now, no more errors! Not even with 300 threads. Tests were done on Linux, not on Solaris yet.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Another problem with the JBoss Web-Service we found was this: we made an update to the jbossws native, to the latest 3.3.1. The build was successful for JBoss 5.1.0, but when wanted to regenerate with wsconsume, the following exception is thrown:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file<br/>&#160;&#160;&#160; at java.lang.ClassLoader.defineClass1(Native Method)<br/>&#160;&#160;&#160; at java.lang.ClassLoader.defineClass(ClassLoader.java:621)<br/>&#160;&#160;&#160; at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)<br/>&#160;&#160;&#160; at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)<br/>&#160;&#160;&#160; at java.net.URLClassLoader.access$100(URLClassLoader.java:56)<br/>&#160;&#160;&#160; at java.net.URLClassLoader$1.run(URLClassLoader.java:195)<br/>&#160;&#160;&#160; at java.security.AccessController.doPrivileged(Native Method)<br/>&#160;&#160;&#160; at java.net.URLClassLoader.findClass(URLClassLoader.java:188)<br/>&#160;&#160;&#160; at java.lang.ClassLoader.loadClass(ClassLoader.java:307)<br/>&#160;&#160;&#160; at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)<br/>&#160;&#160;&#160; at java.lang.ClassLoader.loadClass(ClassLoader.java:252)<br/>&#160;&#160;&#160; at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Also, I ran ant tests, as it is mentioned in the Install.txt from the jbossws native zip file, but this also fails with:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>tests-compile:<br/>&#160;&#160;&#160; [mkdir] Created dir: /home/eugen/Kits/Java/JBoss/jboss-as-plugins/jbossws-native-bin-dist/output/test-classes<br/>&#160;&#160;&#160; [javac] /home/eugen/Kits/Java/JBoss/jboss-as-plugins/jbossws-native-bin-dist/tests/ant-import/build-testsuite.xml:372: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds<br/>&#160;&#160;&#160; [javac] Compiling 345 source files to /home/eugen/Kits/Java/JBoss/jboss-as-plugins/jbossws-native-bin-dist/output/test-classes<br/>&#160;&#160;&#160; [javac] /home/eugen/Kits/Java/JBoss/jboss-as-plugins/jbossws-native-bin-dist/tests/java/org/jboss/test/ws/console/ConsoleAccessTestCase.java:27: cannot access org.jboss.wsf.test.JBossWSTest<br/>&#160;&#160;&#160; [javac] bad class file: /home/eugen/Kits/Java/JBoss/jboss-as-plugins/jbossws-native-bin-dist/deploy/lib/jbossws-common.jar(org/jboss/wsf/test/JBossWSTest.class)<br/>&#160;&#160;&#160; [javac] class file has wrong version 50.0, should be 49.0<br/>&#160;&#160;&#160; [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.<br/>&#160;&#160;&#160; [javac] import org.jboss.wsf.test.JBossWSTest;<br/>&#160;&#160;&#160; [javac]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ^<br/>&#160;&#160;&#160; [javac] 1 error</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Java used is jdk 1.5_22, JBoss 5.1.0 version for jdk 1.5</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I switched to jdk 1.6, and surprise: no more errors when running wsconsume.sh. Also, build is successful when running ant tests.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Unfortunately, we can not use Java 1.5.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Can someone please give me an advice?</p><p>Maybe I'm doing something wrong...</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/565690#565690">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>