This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 96437 - Tests do not work - Regression
Summary: Tests do not work - Regression
Status: CLOSED WORKSFORME
Alias: None
Product: soa
Classification: Unclassified
Component: JBI Test Driver (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Alexander Fung
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-23 13:48 UTC by deepakhp
Modified: 2008-10-17 11:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
SampleProject (36.73 KB, application/octet-stream)
2007-02-23 13:49 UTC, deepakhp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deepakhp 2007-02-23 13:48:20 UTC
1. Create a BPEL project and add it to a composite app project
2. Clean, Build and Deploy
3. Create a test case and run.

a. It takes a very long time for the response to come back.
b. I see the following error in build.xml(test-single) window
   
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
{java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition,
sun.boot.library.path=C:\Progra~1\java\jdk1.5.0_09\jre\bin,
java.vm.version=1.5.0_09-b03, java.vm.vendor=Sun Microsystems Inc.,
java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java
HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US,
sun.os.patch.level=Service Pack 1, java.vm.specification.name=Java Virtual
Machine Specification, user.dir=C:\TEST\CompositeApp,
java.runtime.version=1.5.0_09-b03,
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment,
java.endorsed.dirs=C:\Progra~1\java\jdk1.5.0_09\jre\lib\endorsed, os.arch=x86,
java.io.tmpdir=C:\DOCUME~1\deepak\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=,
os.name=Windows XP, sun.jnu.encoding=Cp1252,
java.library.path=C:\Progra~1\java\jdk1.5.0_09\jre\bin;.;C:\WINDOWS\System32;C:\WINDOWS;c://gf91/jbi/bin;c:/jdev/jbi/scripts;c:/jdev/paths/jbidev/jbi/cmn/bin;c:/jdev/paths/jbidev/jbi/cmn/tools/cmn;c:/jdev/paths/jbidev/jbi/cmn/ant/bin;c:/jdev/paths/jbidev/jbi/cmn/tools/bin/nt;c:/jdev/paths/jbidev/jbi/cmn/maven/bin;c:/jdev/paths/jbidev/jbi/cmn/codegen/bin/nt;;c://gf91/bin;c://gf91/imq/bin;c:/Progra~1/java/jdk1.5.0_09/bin;.;c:/jdev/jsqa/scripts;c:/jdev/tools/sqa/bin/nt;c:/jdev/tools/sqa/cmn;c:/jdev/tools/3rdparty/wget/nt;c:/jdev/tools/3rdparty/expect/nt;C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\MKSTOO~1\bin\X11;C:\PROGRA~1\MKSTOO~1\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\cvsnt;c:/jdev/tools/vspms/bin/nt, java.specification.name=Java Platform
API Specification, java.class.version=49.0, sun.management.compiler=HotSpot
Client Compiler, os.version=5.1, user.home=C:\Documents and Settings\deepak,
user.timezone=Asia/Calcutta, java.awt.printerjob=sun.awt.windows.WPrinterJob,
file.encoding=Cp1252, java.specification.version=1.5,
java.class.path=C:\netbeans\5.5.1\soa1\modules\ext\jbi\catd.jar;C:\netbeans\5.5.1\soa1\modules\ext\jbi\xmlunit1.0.jar;C:\netbeans\5.5.1\ide7\modules\ext\junit-3.8.1.jar;C:\netbeans\5.5.1\ide7\modules\ext\jaxrpc16\FastInfoset.jar;C:\netbeans\5.5.1\ide7\modules\ext\jaxrpc16\saaj-api.jar;C:\netbeans\5.5.1\ide7\modules\ext\jaxrpc16\saaj-impl.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-xml-xdm.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-xml-xam.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-editor-lib.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-xml-text.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-editor.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-editor-util.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-xml-core.jar;C:\netbeans\5.5.1\platform6\lib\org-openide-modules.jar;C:\netbeans\5.5.1\platform6\lib\org-openide-util.jar;C:\netbeans\5.5.1\platform6\modules\org-openide-options.jar;C:\netbeans\5.5.1\platform6\modules\org-openide-text.jar;C:\netbeans\5.5.1\platform6\modules\org-openide-loaders.jar;C:\netbeans\5.5.1\platform6\modules\org-openide-nodes.jar;C:\netbeans\5.5.1\platform6\core\org-openide-filesystems.jar;C:\netbeans\5.5.1\ide7\ant\lib\ant-launcher.jar;C:\netbeans\5.5.1\ide7\ant\lib\ant.jar;C:\netbeans\5.5.1\ide7\ant\lib\ant-junit.jar,
user.name=deepak, java.vm.specification.version=1.0,
java.home=C:\Progra~1\java\jdk1.5.0_09\jre, sun.arch.data.model=32,
user.language=en, java.specification.vendor=Sun Microsystems Inc.,
awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, sharing,
java.version=1.5.0_09, java.ext.dirs=C:\Progra~1\java\jdk1.5.0_09\jre\lib\ext,
sun.boot.class.path=C:\Progra~1\java\jdk1.5.0_09\jre\lib\rt.jar;C:\Progra~1\java\jdk1.5.0_09\jre\lib\i18n.jar;C:\Progra~1\java\jdk1.5.0_09\jre\lib\sunrsasign.jar;C:\Progra~1\java\jdk1.5.0_09\jre\lib\jsse.jar;C:\Progra~1\java\jdk1.5.0_09\jre\lib\jce.jar;C:\Progra~1\java\jdk1.5.0_09\jre\lib\charsets.jar;C:\Progra~1\java\jdk1.5.0_09\jre\classes,
java.vendor=Sun Microsystems Inc., file.separator=\,
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi,
sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little,
sun.desktop=windows, sun.cpu.isalist=}
Test TestCase1\Concurrent.properties Failed.
Testsuite: org.netbeans.modules.compapp.catd.ConfiguredTest
Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 30.172 sec

------------- Standard Output ---------------
{java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition,
sun.boot.library.path=C:\Progra~1\java\jdk1.5.0_09\jre\bin,
java.vm.version=1.5.0_09-b03, java.vm.vendor=Sun Microsystems Inc.,
java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java
HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US,
sun.os.patch.level=Service Pack 1, java.vm.specification.name=Java Virtual
Machine Specification, user.dir=C:\TEST\CompositeApp,
java.runtime.version=1.5.0_09-b03,
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment,
java.endorsed.dirs=C:\Progra~1\java\jdk1.5.0_09\jre\lib\endorsed, os.arch=x86,
java.io.tmpdir=C:\DOCUME~1\deepak\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=,
os.name=Windows XP, sun.jnu.encoding=Cp1252,
java.library.path=C:\Progra~1\java\jdk1.5.0_09\jre\bin;.;C:\WINDOWS\System32;C:\WINDOWS;c://gf91/jbi/bin;c:/jdev/jbi/scripts;c:/jdev/paths/jbidev/jbi/cmn/bin;c:/jdev/paths/jbidev/jbi/cmn/tools/cmn;c:/jdev/paths/jbidev/jbi/cmn/ant/bin;c:/jdev/paths/jbidev/jbi/cmn/tools/bin/nt;c:/jdev/paths/jbidev/jbi/cmn/maven/bin;c:/jdev/paths/jbidev/jbi/cmn/codegen/bin/nt;;c://gf91/bin;c://gf91/imq/bin;c:/Progra~1/java/jdk1.5.0_09/bin;.;c:/jdev/jsqa/scripts;c:/jdev/tools/sqa/bin/nt;c:/jdev/tools/sqa/cmn;c:/jdev/tools/3rdparty/wget/nt;c:/jdev/tools/3rdparty/expect/nt;C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\MKSTOO~1\bin\X11;C:\PROGRA~1\MKSTOO~1\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\cvsnt;c:/jdev/tools/vspms/bin/nt, java.specification.name=Java Platform
API Specification, java.class.version=49.0, sun.management.compiler=HotSpot
Client Compiler, os.version=5.1, user.home=C:\Documents and Settings\deepak,
user.timezone=Asia/Calcutta, java.awt.printerjob=sun.awt.windows.WPrinterJob,
file.encoding=Cp1252, java.specification.version=1.5,
java.class.path=C:\netbeans\5.5.1\soa1\modules\ext\jbi\catd.jar;C:\netbeans\5.5.1\soa1\modules\ext\jbi\xmlunit1.0.jar;C:\netbeans\5.5.1\ide7\modules\ext\junit-3.8.1.jar;C:\netbeans\5.5.1\ide7\modules\ext\jaxrpc16\FastInfoset.jar;C:\netbeans\5.5.1\ide7\modules\ext\jaxrpc16\saaj-api.jar;C:\netbeans\5.5.1\ide7\modules\ext\jaxrpc16\saaj-impl.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-xml-xdm.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-xml-xam.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-editor-lib.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-xml-text.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-editor.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-editor-util.jar;C:\netbeans\5.5.1\ide7\modules\org-netbeans-modules-xml-core.jar;C:\netbeans\5.5.1\platform6\lib\org-openide-modules.jar;C:\netbeans\5.5.1\platform6\lib\org-openide-util.jar;C:\netbeans\5.5.1\platform6\modules\org-openide-options.jar;C:\netbeans\5.5.1\platform6\modules\org-openide-text.jar;C:\netbeans\5.5.1\platform6\modules\org-openide-loaders.jar;C:\netbeans\5.5.1\platform6\modules\org-openide-nodes.jar;C:\netbeans\5.5.1\platform6\core\org-openide-filesystems.jar;C:\netbeans\5.5.1\ide7\ant\lib\ant-launcher.jar;C:\netbeans\5.5.1\ide7\ant\lib\ant.jar;C:\netbeans\5.5.1\ide7\ant\lib\ant-junit.jar,
user.name=deepak, java.vm.specification.version=1.0,
java.home=C:\Progra~1\java\jdk1.5.0_09\jre, sun.arch.data.model=32,
user.language=en, java.specification.vendor=Sun Microsystems Inc.,
awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, sharing,
java.version=1.5.0_09, java.ext.dirs=C:\Progra~1\java\jdk1.5.0_09\jre\lib\ext,
sun.boot.class.path=C:\Progra~1\java\jdk1.5.0_09\jre\lib\rt.jar;C:\Progra~1\java\jdk1.5.0_09\jre\lib\i18n.jar;C:\Progra~1\java\jdk1.5.0_09\jre\lib\sunrsasign.jar;C:\Progra~1\java\jdk1.5.0_09\jre\lib\jsse.jar;C:\Progra~1\java\jdk1.5.0_09\jre\lib\jce.jar;C:\Progra~1\java\jdk1.5.0_09\jre\lib\charsets.jar;C:\Progra~1\java\jdk1.5.0_09\jre\classes,
java.vendor=Sun Microsystems Inc., file.separator=\,
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi,
sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little,
sun.desktop=windows, sun.cpu.isalist=}
Test TestCase1\Concurrent.properties Failed.
------------- ---------------- ---------------
Testcase: TestCase1(org.netbeans.modules.compapp.catd.ConfiguredTest):	FAILED
 Passed. Threads count Success: <0> Error: <0> Not completed: <1>
Details: 
<Concurrent test thread 0> did not complete. Success rate 0/1 

junit.framework.AssertionFailedError:  Passed. Threads count Success: <0> Error:
<0> Not completed: <1>
Details: 
<Concurrent test thread 0> did not complete. Success rate 0/1 

        at
org.netbeans.modules.compapp.catd.ConfiguredTest.testConcurrentSOAPRequest(ConfiguredTest.java:777)


Test org.netbeans.modules.compapp.catd.ConfiguredTest FAILED
test-report:
C:\TEST\CompositeApp\nbproject\build-impl.xml:356: Some tests failed; see
details above.
BUILD FAILED (total time: 31 seconds)


c. I see the following error in server.log
Retrieving document at
'C:\gf91\domains\domain1\jbi\service-assemblies\CompositeApp\CompositeApp-com.sun.httpsoapbc-1.0-2\com.sun.httpsoapbc-1.0-2\BpelModule\newWSDL.wsdl'.
soap action is null
PWC3982: Cannot register MBean for the Protocol
grizzlyHttpProtocol.selectorRegisterProtocol
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 18181
Received invalid pattern info 229575907631978-11581-133915307726560067
Received invalid pattern info in exchange 229575907631978-11581-133915307726560067

Here is the JBI Info
====================
App Server details:

  App Server version           = Sun Java System Application Server 9.1 (build
b36-rc)
  App Server build date        = Wed Feb 14 00:46:32 IST 2007

JBI details:
_______________________________________________________________________________________

Running at 23 February 2007 07:18:51 PM on Windows XP 5.1 [x86] using Java
1.5.0_09-b03 from c:\Progra~1\java\jdk1.5.0_09\jre

  app server type              = GLASSFISH (sub-type = CLUSTER version = 91)
  app server domains           = 1 (instances = 0 cluster = )
  java.io.tmpdir               = C:\DOCUME~1\deepak\LOCALS~1\Temp\
  jbi port                     = 17888 (secure = true)
  installed product build      = 070223
  installed product variant    = Kenai
  installed product kit type   = image


JBI build details:

  JBI Framework     build date = Fri Feb 23 01:43:36 IST 2007 [source:
c://gf91/jbi/lib/jbi_framework.jar]
  HTTP SOAP Binding build date = Fri Feb 16 14:40:00 IST 2007 [source:
c://gf91/jbi/components/com.sun.httpsoapbc-1.0-2/httpsoapbc.jar]
  BPEL Engine       build date = Fri Feb 16 14:40:46 IST 2007 [source:
c://gf91/addons/jbi-components/bpelserviceengine.jar]


NetBeans build details:

  Netbeans IDE      build      = 070220_4
  Netbeans IDE      version    = 200702200900                 [source:
c://netbeans/5.5.1/build_info]
  Netbeans IDE      build date = Tue Feb 20 11:26:10 IST 2007 [source:
c://netbeans/5.5.1/platform6/core/core.jar]
  CAPS Modules      build date = Tue Feb 20 10:26:46 IST 2007 [source:
c://netbeans/5.5.1/soa1/ant/nblib/org-netbeans-modules-compapp-projects-jbi.jar]
Comment 1 deepakhp 2007-02-23 13:49:35 UTC
Created attachment 38864 [details]
SampleProject
Comment 2 Venkat Chellasamy 2007-02-23 17:37:25 UTC
jun,

please evaluate.
Comment 3 Jun Qian 2007-02-23 20:26:17 UTC
GlassFish b36 is on the main branch and b33e is the latest version on the
GlassFish v2 beta branch. I just tried b33e with the latest beta components and
didn't see any problem.

Since this is not a stopper for beta, I am downgrading it to P3 for now.
Comment 4 deepakhp 2007-02-26 09:11:40 UTC
Tested with the following build.
GlassFish b33e and Gavotte MS7.
The issue still exists.

Following are the messages I see in the server.log
Received invalid pattern info 235852469526511-60725-133917738453120151
Received invalid pattern info in exchange 235852469526511-60725-133917738453120151
Comment 5 Alexei Mokeev 2007-02-26 15:32:05 UTC
Rised to P1, since looks like a stopper.

If after evaluation it occurs to be not a stopper then just add 
EP551_WAIVER_APPROVED to the keywords instead of decreasing priority.

Comment 6 Mikhail Kondratyev 2007-02-26 15:41:07 UTC
Tested with Netbeans Enterprise Pack from 20070221 - could not reproduce.
Comment 7 deepakhp 2007-02-26 15:48:59 UTC
I'm able to reproduce the problem on 2 different machines. We are having same
problem even for SMTP and SQL SE tests. 
Comment 8 Jun Qian 2007-02-26 20:22:42 UTC
Tested with Gavotte MS7b
(http://balui.sfbay.sun.com/kits/oriondev/gavotte_beta/milestone7b/installers/java-tools-bundle-u3-preview-gavotte_beta-070226_1-windows.exe)
on Windows XP (JDK 1.6.0) and couldn't reproduce the problem.

Since you mentioned "invalid pattern info in exchange" in your server.log, Alex
might be able to confirm this is something recently fixed. 
Comment 9 deepakhp 2007-02-27 08:43:27 UTC
I tried with the following combination. The issue still exists.

GlassFish : build b33e-beta
Gavotte   : 070226_1
BPEL SE and SOAP BC : Downloaded from Alaska Website

I also tried by sending the SOAP message using SOAPScope. Still get the
following error.


[#|2007-02-27T14:08:24.359+0530|WARNING|sun-appserver9.1|com.sun.httpsoapbc-1.0-2.com.sun.jbi.httpsoapbc.HttpSoapEndpoint|_ThreadID=21;_ThreadName=CompositeApp2
-com.sun.httpsoapbc-1.0-2;_RequestID=f03cb819-9d38-4e41-821f-6d67b600c289;|soap
action is null|#]

[#|2007-02-27T14:10:00.765+0530|SEVERE|sun-appserver9.1|com.sun.jbi.engine.bpel.BPELSEInOutThread|_ThreadID=14;_ThreadName=BPELSEInOutThread9;_RequestID=aa852e9
4-ee83-4958-a620-d8fe7f5b15ad;|Received invalid pattern info
147618412535456-8843-133918584007650117|#]

[#|2007-02-27T14:10:00.765+0530|SEVERE|sun-appserver9.1|com.sun.httpsoapbc-1.0-2.com.sun.jbi.httpsoapbc.OutboundMessageProcessor|_ThreadID=22;_ThreadName=pool-1
-thread-3;147618412535456-8843-133918584007650117;_RequestID=de826321-b53d-43b4-9627-947683438efe;|Received
invalid pattern info in exchange 147618412535456-884
3-133918584007650117|#]

Comment 10 Alexander Fung 2007-02-28 01:07:53 UTC
This issue should not be happening with builds for the beta release.  These 
problems looks to be a result of changes in the Message Exchange Patttern 
namespace, but they should only be on the mainline builds.  Make sure you have 
the correct version of Glassfish.  It looks like you started using SJAS (b36-
rc), and also tried Glassfish 33e.  Our ATS runs with Glassfish 33e without 
any problems.
Comment 11 lchang 2007-02-28 04:13:19 UTC
I tried this with the attached project, and also could not reproduce.
It took .64 seconds to run the first time, and .65 seconds the second time.  
This seems like a reasonable time for this test case.

I am using Netbeans Build 7b and SDK b08.  These were installed using the java-
tools-bundle.
Comment 12 deepakhp 2007-02-28 09:01:58 UTC
I tested with the Beta builds and it works for me now.
Here is the build details.
GlassFish - b33e
JBI  - 070212_2
Gavotte - MS7b
Comment 13 deepakhp 2007-03-28 11:42:39 UTC
Verified in the following build,
App Server details:

  App Server version           = Sun Java System Application Server 9.1 (build
b40-rc)
  App Server build date        = Tue Mar 20 23:38:08 GMT+05:30 2007

JBI details:
_______________________________________________________________________________________

Running at 28 March 2007 04:16:06 PM on Windows XP 5.1 [x86] using Java
1.5.0_10-b03 from d:\Java\jdk1.5.0_10\jre

  app server type              = GLASSFISH (sub-type = CLUSTER version = 91)
  app server domains           = 1 (instances = 0 cluster = )
  java.io.tmpdir               = C:\DOCUME~1\dh112019\LOCALS~1\Temp\
  jbi port                     = 17888 (secure = true)
  installed runtime build      = 070323_2
  installed component build    = 070323_2
  installed product variant    = Kenai
  installed product kit type   = image


JBI build details:

  JBI Framework     build date = Fri Mar 23 12:16:38 GMT+05:30 2007 [source:
d:/gf91/jbi/lib/jbi_framework.jar]
  HTTP SOAP Binding build date = Thu Mar 22 08:40:18 GMT+05:30 2007 [source:
d:/gf91/jbi/components/sun-http-binding/httpsoapbc.jar]
  BPEL Engine       build date = Thu Mar 22 08:41:02 GMT+05:30 2007 [source:
d:/gf91/addons/jbi-components/bpelserviceengine.jar]


NetBeans build details:

  Netbeans IDE      build      = 070307_20
  Netbeans IDE      version    = 200703070600                 [source:
d:/netbeans/5.5.1/build_info]
  Netbeans IDE      build date = Wed Mar 07 09:24:58 GMT+05:30 2007 [source:
d:/netbeans/5.5.1/platform6/core/core.jar]
  CAPS Modules      build date = Wed Mar 07 23:17:42 GMT+05:30 2007 [source:
d:/netbeans/5.5.1/soa1/modules/org-netbeans-modules-compapp-projects-jbi.
jar]
Comment 14 deepakhp 2008-10-17 11:55:43 UTC
Closing the bug, since it is already verified