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.
I have been experimenting with using Sun One Studio and the Tomcat plugin. I have been able to add and execute Tomcat 4.1.7. However, when I try to do the same with JWSDP, I'm not able to run the server. Here's the error returned when I try to run JWSDP: Fri Jul 26 11:51:22 PDT 2002: java.net.UnknownHostException: jwsdp-services java.net.UnknownHostException: jwsdp-services at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:143) at java.net.Socket.connect(Socket.java:425) at java.net.Socket.connect(Socket.java:375) at java.net.Socket.<init>(Socket.java:290) at java.net.Socket.<init>(Socket.java:118) It appears that that the plugin is interpreting host entries in server.xml as a real hosts. JWSDP has two "hosts": jwsdp-services:8081 and under that the jaxm webapps and localhost:8080 and under that all the example webapps. When a server is started up, a web page is opened to the first "host". Since the jwsdp-services host doesn't exist, the error is returned. Since a vanilla Tomcat installation doesn't have multiple host entries in server.xml. the problem doesn't occur.
I was able to reproduce it on current Nevada build and JWSDP 1_0_01
I tried to reproduce the bug on the latest development build. The scenario 1 : - mount the JWSDP101 as an external installation (minimum ide configuration) - on the installation node invoke the "Start Server" option The server is being started and if I try to invoke http://localhost:8080 - index.html is loded into browser. The scenario 2 : - mount the JWSDP101 as an external installation (minimum ide configuration) - set either the jwsdp-services:8081 or the localhost:8080 host/port as the default server instance - execute a web module with the default web server instance Both scenarios run without dificulties. I tried to use both - the nevada internal JWSDP and the JWSDP1.0.1 external installations.
Using the NetBeans 3.5 development build, I found a problem when trying to use the latest release of Java WSDP 1.1: http://webwork.sfbay.sun.com/webservices/download.html First, the plugin requires there to be a /temp subdirectory, which Java WSDP 1.1 does not create. After I manually create the subdirectory I am able to install the server, but when I try to start it, I get the error: C:\j2sdk1.4.0_03\jre\bin\java -classpath "C:\sbodoff\jwsdp-1.1\bin\bootstrap.jar";"C:\j2sdk1.4.0_03\lib\tools.jar" -Dcatalina.home="C:\sbodoff\jwsdp-1.1" -Dcatalina.base="C:\sbodoff\jwsdp-1.1" org.apache.catalina.startup.Bootstrap "start" Exception during startup processing java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.commons.digester.Digester.<init>(Digester.java:310) at org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:279) at org.apache.catalina.startup.Catalina.start(Catalina.java:440) at org.apache.catalina.startup.Catalina.execute(Catalina.java:399) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) ... 5 more
Thank You for additional information. Yes, the JWSDP1.1 uses the different start-up than JWSDP1.0.
This issue is not relevant for 3.6.
In 3.6 - the Tommcat plugin was working with JWSDP.
VERIFIED