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 132564 - HttpDefaultPort Not Replaced Correctly
Summary: HttpDefaultPort Not Replaced Correctly
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-10 17:52 UTC by deepakhp
Modified: 2008-10-17 12:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ScreenShot (350.99 KB, image/png)
2008-04-10 17:52 UTC, deepakhp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deepakhp 2008-04-10 17:52:04 UTC
I installed Sierra MS8 builds. Created a new appserver domain domain2. Created new GlassFish server tab of netbeans.
Selected this server as runtime for my composite application. Deployed the application. When I run the test, I get the
error. Attached the screenshot.
Comment 1 deepakhp 2008-04-10 17:52:52 UTC
Created attachment 60006 [details]
ScreenShot
Comment 2 Venkat Chellasamy 2008-04-10 18:56:00 UTC
This happens on non default domain.
work around is to replace the correct http port in test properties. 
Tested with a newly created domain with corrected port number and the test works fine.
Reducing priority as viable work around exists.
Comment 3 deepakhp 2008-04-11 03:24:27 UTC
Since the NetBeans behavior is not consistent changing the priority to P2.
Comment 4 Jun Qian 2008-04-11 10:26:14 UTC
Where there are more than one server registered in NetBeans, the test driver may talk to the wrong server instance when
trying to get the HTTP SOAP BC configuration.
Comment 5 Jun Qian 2008-04-11 10:38:42 UTC
Fixed in trunk. Changeset: 4dda396bb32e
Comment 6 Jun Qian 2008-04-11 20:52:09 UTC
This has been verified by deepak in trunk (C/B #1570 or later).
Comment 7 Jun Qian 2008-04-11 23:30:36 UTC
Fixed in release61 branch.

http://hg.netbeans.org/release61?cmd=changeset;node=ed5c31ebd9d5
Comment 8 vinathi 2008-04-29 23:38:19 UTC
Verified using 20080429-0500.HttpDefaultPort is replaced correctly.
{java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\Program 
Files\Java\jdk1.5.0_14\jre\bin, java.vm.version=1.5.0_14-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, 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:\Documents and Settings\vmapakshi\My 
Documents\NetBeansProjects\SynchronousSampleApplication, java.runtime.version=1.5.0_14-b03, 
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, inDebug=${inDebug}, java.endorsed.dirs=C:\Program 
Files\Java\jdk1.5.0_14\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\VMAPAK~1\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.5.0_14\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program 
Files\Java\jdk1.5.0_14\bin;C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2
\bin\client;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\DisplayLink Core 
Software\;C:\adabas\bin;C:\adabas\pgm;c:\apps\cygwin\bin, 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\vmapakshi, user.timezone=America/Los_Angeles, java.awt.printerjob=sun.awt.windows.WPrinterJob, 
file.encoding=Cp1252, java.specification.version=1.5, java.class.path=C:\JavaCAPS6\netbeans\soa2\modules\org-netbeans-
modules-compapp-manager-jbi.jar;C:\JavaCAPS6\netbeans\soa2\modules\org-netbeans-modules-compapp-projects-
jbi.jar;C:\JavaCAPS6\netbeans\soa2\modules\ext\jbi\jbi-admin-common.jar;C:\JavaCAPS6\netbeans\soa2
\modules\ext\jbi\catd.jar;C:\JavaCAPS6\netbeans\java2\modules\ext\junit-3.8.2.jar;C:\JavaCAPS6\netbeans\java2
\modules\ext\jaxws21\api\saaj-api.jar;C:\JavaCAPS6\netbeans\java2\modules\ext\jaxws21\saaj-impl.jar;C:\JavaCAPS6
\netbeans\java2\modules\ext\jaxws21\FastInfoset.jar;C:\JavaCAPS6\netbeans\ide9\modules\org-netbeans-modules-editor-
lib.jar;C:\JavaCAPS6\netbeans\ide9\modules\org-netbeans-modules-editor.jar;C:\JavaCAPS6\netbeans\ide9\modules\org-
netbeans-modules-editor-util.jar;C:\JavaCAPS6\netbeans\ide9\modules\org-netbeans-modules-editor-lib2.jar;C:\JavaCAPS6
\netbeans\ide9\modules\org-netbeans-modules-editor-indent.jar;C:\JavaCAPS6\netbeans\ide9\modules\org-netbeans-modules-
lexer.jar;C:\JavaCAPS6\netbeans\ide9\modules\org-netbeans-modules-xml-core.jar;C:\JavaCAPS6\netbeans\ide9\modules\org-
netbeans-modules-xml-lexer.jar;C:\JavaCAPS6\netbeans\ide9\modules\org-netbeans-modules-xml-text.jar;C:\JavaCAPS6
\netbeans\ide9\modules\org-netbeans-modules-xml-xdm.jar;C:\JavaCAPS6\netbeans\ide9\modules\org-netbeans-modules-xml-
xam.jar;C:\JavaCAPS6\netbeans\platform8\lib\org-openide-modules.jar;C:\JavaCAPS6\netbeans\platform8\lib\org-openide-
util.jar;C:\JavaCAPS6\netbeans\platform8\modules\org-openide-options.jar;C:\JavaCAPS6\netbeans\platform8\modules\org-
openide-text.jar;C:\JavaCAPS6\netbeans\platform8\modules\org-openide-loaders.jar;C:\JavaCAPS6\netbeans\platform8
\modules\org-openide-nodes.jar;C:\JavaCAPS6\netbeans\platform8\modules\org-netbeans-modules-editor-
mimelookup.jar;C:\JavaCAPS6\netbeans\platform8\core\org-openide-filesystems.jar;C:\JavaCAPS6\netbeans\java2
\ant\lib\ant-launcher.jar;C:\JavaCAPS6\netbeans\java2\ant\lib\ant.jar;C:\JavaCAPS6\netbeans\java2\ant\lib\ant-
junit.jar, user.name=vmapakshi, java.vm.specification.version=1.0, java.home=C:\Program Files\Java\jdk1.5.0_14\jre, 
sun.arch.data.model=32, user.language=en, java.specification.vendor=Sun Microsystems Inc., NetBeansUserDir=C:\JavaCAPS6
\.netbeans\caps, awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, java.version=1.5.0_14, 
java.ext.dirs=C:\Program Files\Java\jdk1.5.0_14\jre\lib\ext, sun.boot.class.path=C:\Program Files\Java\jdk1.5.0_14
\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_14\jre\lib\i18n.jar;C:\Program Files\Java\jdk1.5.0_14
\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.5.0_14\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_14
\jre\lib\jce.jar;C:\Program Files\Java\jdk1.5.0_14\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_14\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=pentium_pro+mmx 
pentium_pro pentium+mmx pentium i486 i386 i86}
Test TestCase1\Concurrent.properties
Replace '${HttpDefaultPort}' in WSDL soap location by '11080' defined in sun-http-binding.
 Passed. Threads count Success: <1> Error: <0> Not completed: <0>

Comment 9 deepakhp 2008-10-17 12:34:02 UTC
Closing the bug, since it is already verified
Comment 10 deepakhp 2008-10-17 12:34:19 UTC
Closing the bug, since it is already verified