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 100429 - Building SQL SE project after renaming SQl file keeps older values in WSDL and doesn't to run with new operation
Summary: Building SQL SE project after renaming SQl file keeps older values in WSDL an...
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: SQL Project (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Pavan Veeravarapu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-10 09:54 UTC by umeshvats
Modified: 2007-05-26 08:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description umeshvats 2007-04-10 09:54:43 UTC
Building SQL SE project after renaming SQl file keeps older values in WSDL and 
not able to run with new operation

Steps to reproduce:-
---------------------
1> Create a SQL SE project.
2> Deploy it and run it.(You will get desired result)
3> Undeploy the project and rename the SQL file.
4> Clean - build this project now and deploy it.
5> Create 2 test cases one with each operation.
        (You will find both old and new WSDL operation)
6> Run the tests.

Expected output:-
----------------
1> WSDL file should have only new value.
2> It shouldn't show old operation name while creating a test case.
3> Test case should run successfully with new operation.

Actual output:-
----------------
1> WSDL is not modified. It keeps both old and new value.
2> It shows both operations while creating a test case.
3> Test case with old operation passes successfully but fails with new 
operation.

The error after running with new test case is:-
----------------------------------------------------
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
{java.runtime.name=Java(TM) SE Runtime Environment, 
sun.boot.library.path=C:\Program Files\Java\jdk1.6.0_01\jre\bin, 
java.vm.version=1.6.0_01-b06, 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, 
sun.java.launcher=SUN_STANDARD, user.country=US, sun.os.patch.level=Service 
Pack 2, java.vm.specification.name=Java Virtual Machine Specification, 
user.dir=C:\temp-proj\hula8a3Jbi, java.runtime.version=1.6.0_01-b06, 
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, 
java.endorsed.dirs=C:\Program Files\Java\jdk1.6.0_01\jre\lib\endorsed, 
os.arch=x86, java.io.tmpdir=C:\DOCUME~1\uv198593\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:\Program 
Files\Java\jdk1.6.0_01
\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\PROGRA~1
\MKSTOO~1\bin;D:\PROGRA~1\MKSTOO~1\bin\X11;D:\PROGRA~1\MKSTOO~1
\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\cvsnt;C:\space\gf91\lib\ant\bin;Pñ, java.specification.name=Java 
Platform API Specification, java.class.version=50.0, 
sun.management.compiler=HotSpot Client Compiler, os.version=5.1, 
user.home=C:\Documents and Settings\uv198593, user.timezone=GMT+05:30, 
java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, 
java.specification.version=1.6, java.class.path=C:\hula\netbeans-6.0-
200704031800\soa1\modules\ext\jbi\catd.jar;C:\hula\netbeans-6.0-200704031800
\soa1\modules\ext\jbi\xmlunit1.0.jar;C:\hula\netbeans-6.0-200704031800\ide8
\modules\ext\junit-3.8.2.jar;C:\hula\netbeans-6.0-200704031800\ide8
\modules\ext\jaxrpc16\FastInfoset.jar;C:\hula\netbeans-6.0-200704031800\ide8
\modules\ext\jaxrpc16\saaj-api.jar;C:\hula\netbeans-6.0-200704031800\ide8
\modules\ext\jaxrpc16\saaj-impl.jar;C:\hula\netbeans-6.0-200704031800\ide8
\modules\org-netbeans-modules-xml-xdm.jar;C:\hula\netbeans-6.0-200704031800
\ide8\modules\org-netbeans-modules-xml-xam.jar;C:\hula\netbeans-6.0-
200704031800\ide8\modules\org-netbeans-modules-editor-lib.jar;C:\hula\netbeans-
6.0-200704031800\ide8\modules\org-netbeans-modules-xml-
text.jar;C:\hula\netbeans-6.0-200704031800\ide8\modules\org-netbeans-modules-
editor.jar;C:\hula\netbeans-6.0-200704031800\ide8\modules\org-netbeans-modules-
editor-util.jar;C:\hula\netbeans-6.0-200704031800\ide8\modules\org-netbeans-
modules-xml-core.jar;C:\hula\netbeans-6.0-200704031800\ide8\modules\org-
netbeans-modules-editor-lib2.jar;C:\hula\netbeans-6.0-200704031800\platform7
\lib\org-openide-modules.jar;C:\hula\netbeans-6.0-200704031800\platform7
\lib\org-openide-util.jar;C:\hula\netbeans-6.0-200704031800\platform7
\modules\org-openide-options.jar;C:\hula\netbeans-6.0-200704031800\platform7
\modules\org-openide-text.jar;C:\hula\netbeans-6.0-200704031800\platform7
\modules\org-openide-loaders.jar;C:\hula\netbeans-6.0-200704031800\platform7
\modules\org-openide-nodes.jar;C:\hula\netbeans-6.0-200704031800\platform7
\core\org-openide-filesystems.jar;C:\hula\netbeans-6.0-200704031800\ide8
\ant\lib\ant-launcher.jar;C:\hula\netbeans-6.0-200704031800\ide8
\ant\lib\ant.jar;C:\hula\netbeans-6.0-200704031800\ide8\ant\lib\ant-junit.jar, 
user.name=uv198593, java.vm.specification.version=1.0, java.home=C:\Program 
Files\Java\jdk1.6.0_01\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.6.0_01, java.ext.dirs=C:\Program Files\Java\jdk1.6.0_01
\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext, sun.boot.class.path=C:\Program 
Files\Java\jdk1.6.0_01\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_01
\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_01
\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_01
\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_01\jre\lib\jce.jar;C:\Program 
Files\Java\jdk1.6.0_01\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_01
\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=}
Testsuite: org.netbeans.modules.compapp.catd.ConfiguredTest
Test TestCase2\Concurrent.properties Failed.
Details: 
<Concurrent test thread 0> did not complete. Success rate 0/1 
)
Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 30.109 sec

------------- Standard Output ---------------
{java.runtime.name=Java(TM) SE Runtime Environment, 
sun.boot.library.path=C:\Program Files\Java\jdk1.6.0_01\jre\bin, 
java.vm.version=1.6.0_01-b06, 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, 
sun.java.launcher=SUN_STANDARD, user.country=US, sun.os.patch.level=Service 
Pack 2, java.vm.specification.name=Java Virtual Machine Specification, 
user.dir=C:\temp-proj\hula8a3Jbi, java.runtime.version=1.6.0_01-b06, 
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, 
java.endorsed.dirs=C:\Program Files\Java\jdk1.6.0_01\jre\lib\endorsed, 
os.arch=x86, java.io.tmpdir=C:\DOCUME~1\uv198593\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:\Program 
Files\Java\jdk1.6.0_01
\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\PROGRA~1
\MKSTOO~1\bin;D:\PROGRA~1\MKSTOO~1\bin\X11;D:\PROGRA~1\MKSTOO~1
\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\cvsnt;C:\space\gf91\lib\ant\bin;Pñ, java.specification.name=Java 
Platform API Specification, java.class.version=50.0, 
sun.management.compiler=HotSpot Client Compiler, os.version=5.1, 
user.home=C:\Documents and Settings\uv198593, user.timezone=GMT+05:30, 
java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, 
java.specification.version=1.6, java.class.path=C:\hula\netbeans-6.0-
200704031800\soa1\modules\ext\jbi\catd.jar;C:\hula\netbeans-6.0-200704031800
\soa1\modules\ext\jbi\xmlunit1.0.jar;C:\hula\netbeans-6.0-200704031800\ide8
\modules\ext\junit-3.8.2.jar;C:\hula\netbeans-6.0-200704031800\ide8
\modules\ext\jaxrpc16\FastInfoset.jar;C:\hula\netbeans-6.0-200704031800\ide8
\modules\ext\jaxrpc16\saaj-api.jar;C:\hula\netbeans-6.0-200704031800\ide8
\modules\ext\jaxrpc16\saaj-impl.jar;C:\hula\netbeans-6.0-200704031800\ide8
\modules\org-netbeans-modules-xml-xdm.jar;C:\hula\netbeans-6.0-200704031800
\ide8\modules\org-netbeans-modules-xml-xam.jar;C:\hula\netbeans-6.0-
200704031800\ide8\modules\org-netbeans-modules-editor-lib.jar;C:\hula\netbeans-
6.0-200704031800\ide8\modules\org-netbeans-modules-xml-
text.jar;C:\hula\netbeans-6.0-200704031800\ide8\modules\org-netbeans-modules-
editor.jar;C:\hula\netbeans-6.0-200704031800\ide8\modules\org-netbeans-modules-
editor-util.jar;C:\hula\netbeans-6.0-200704031800\ide8\modules\org-netbeans-
modules-xml-core.jar;C:\hula\netbeans-6.0-200704031800\ide8\modules\org-
netbeans-modules-editor-lib2.jar;C:\hula\netbeans-6.0-200704031800\platform7
\lib\org-openide-modules.jar;C:\hula\netbeans-6.0-200704031800\platform7
\lib\org-openide-util.jar;C:\hula\netbeans-6.0-200704031800\platform7
\modules\org-openide-options.jar;C:\hula\netbeans-6.0-200704031800\platform7
\modules\org-openide-text.jar;C:\hula\netbeans-6.0-200704031800\platform7
\modules\org-openide-loaders.jar;C:\hula\netbeans-6.0-200704031800\platform7
\modules\org-openide-nodes.jar;C:\hula\netbeans-6.0-200704031800\platform7
\core\org-openide-filesystems.jar;C:\hula\netbeans-6.0-200704031800\ide8
\ant\lib\ant-launcher.jar;C:\hula\netbeans-6.0-200704031800\ide8
\ant\lib\ant.jar;C:\hula\netbeans-6.0-200704031800\ide8\ant\lib\ant-junit.jar, 
user.name=uv198593, java.vm.specification.version=1.0, java.home=C:\Program 
Files\Java\jdk1.6.0_01\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.6.0_01, java.ext.dirs=C:\Program Files\Java\jdk1.6.0_01
\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext, sun.boot.class.path=C:\Program 
Files\Java\jdk1.6.0_01\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_01
\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_01
\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_01
\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_01\jre\lib\jce.jar;C:\Program 
Files\Java\jdk1.6.0_01\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_01
\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 TestCase2\Concurrent.properties Failed.
------------- ---------------- ---------------
Testcase: TestCase2(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:\temp-proj\hula8a3Jbi\nbproject\build-impl.xml:364: Some tests failed; see 
details above.
BUILD FAILED (total time: 31 seconds)
--------------------------------------------

Build Details :-
-------------------
NetBeans IDE Dev (Build 200704031800)
1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
Windows XP version 5.1 running on x86
en_US (nb); Cp1252
Comment 1 Venkat Srinivasan 2007-04-16 06:14:03 UTC
Please look into this.
Comment 2 Pavan Veeravarapu 2007-05-26 08:31:52 UTC
A new wsdl will be generated every time the generate wsdl Menu Item  is 
pressed.The old wsdl will be renamed as wsdl_old which can be used for 
reference.