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 113684 - Failed to deploy a webservice client to a remote server
Summary: Failed to deploy a webservice client to a remote server
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ pcw
URL: http://bugs.sun.com/bugdatabase/view_...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-24 01:21 UTC by davisn
Modified: 2007-08-24 08:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
WSDL file (13.45 KB, application/octet-stream)
2007-08-24 01:21 UTC, davisn
Details
messages.log (54.53 KB, application/octet-stream)
2007-08-24 01:22 UTC, davisn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2007-08-24 01:21:06 UTC
-Fail to deploy a Webmodule, which has a webservice client, to a remote server
-The application was successfully deployed to a local server (GlassFish V2)

STEPS TO REPRODUCE:
1. Install Netbean build 08/21/2007 with GlassFish V258b build
2. Install a remote Glassfish V2 server > start the remote server
3. Add the Remote server to the Services Server list 
4. Create a Web Application project
5. Add a Webservice client to the Web Application module project - using the attached USAddressVerification4_0.wsdl file 
6. Build and deploy the Web Module to the local GlassFish server
Note:
   Deployment was successful
7. Deploy the Web Application Module to the remote GlassFish server
BUG:
    deployment started : 0%
Deploying application in domain failed; Error loading deployment descriptors for module [TestWS1] -- Illegal class
modifiers in class com/strikeiron/package-info: 0x1600
C:\sun\NetbeanProjects\TestWS1\nbproject\build-impl.xml:528: Deployment error:
The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 1 second)
Comment 1 davisn 2007-08-24 01:21:54 UTC
Created attachment 47232 [details]
WSDL file
Comment 2 davisn 2007-08-24 01:22:49 UTC
Created attachment 47233 [details]
messages.log
Comment 3 Lukas Jungmann 2007-08-24 08:10:40 UTC
The problem is that package-info.java cannot be correctly compiled by javac from JDK 6 for JDK 5 on which your remote
server is running (caused by bugfix in JVM/javac in JDK 6). You have to setup external JDK 5 for your project in
NetBeans, if the IDE is running on JDK 6 to get things working correctly.