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 102430 - Java 5 EE project with W/S cannot be deployed
Summary: Java 5 EE project with W/S cannot be deployed
Status: CLOSED WORKSFORME
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P1 blocker (vote)
Assignee: Quy Nguyen
URL:
Keywords:
Depends on: 102530
Blocks:
  Show dependency tree
 
Reported: 2007-04-25 07:47 UTC by Roman Mostyka
Modified: 2007-04-26 10:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE's log (155.12 KB, text/plain)
2007-04-25 07:49 UTC, Roman Mostyka
Details
Server's log (14.83 KB, text/plain)
2007-04-25 07:49 UTC, Roman Mostyka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2007-04-25 07:47:56 UTC
NetBeans 6.0 build 070424
Java 1.5.0_08
GlassFish 9.0_01 (b14)

1. Add hellowordService.wsdl W/S from Creator2u1.
2. Create Java 5 EE web application with visual JSF framework.
3. Add 'Text Field', 'Button' and 'Static Text' components to the page.
4. Add event handler to the button and write code:
try {   
staticText1.setText(helloIFPortClient1.sayHello(textField1.getText().toString()));}
catch (Exception e) {
}
5. Run project.

Result: Build failed. For J2EE 1.4 project everything works fine. Java 5 EE
project without W/S also works fine. In attach GlassFish's and IDE's log.
Text from Output window:
"init:
deps-module-jar:
deps-ear-jar:
deps-jar:
Created dir:
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/classes
Created dir: /export/home/tester/NetBeansProjects/WebApplication1/build/web/META-INF
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/META-INF
Copying 5 files to /export/home/tester/NetBeansProjects/WebApplication1/build/web
library-inclusion-in-archive:
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/lib
library-inclusion-in-manifest:
Compiling 4 source files to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/classes
Copying 1 file to
/export/home/tester/NetBeansProjects/WebApplication1/build/web/WEB-INF/classes
compile:
compile-jsps:
Created dir: /export/home/tester/NetBeansProjects/WebApplication1/dist
Building jar:
/export/home/tester/NetBeansProjects/WebApplication1/dist/WebApplication1.war
do-dist:
dist:
In-place deployment at
/export/home/tester/NetBeansProjects/WebApplication1/build/web
Start registering the project's server resources
Finished registering server resources
moduleID=_WebApplication1
deployment started : 0%
Deploying application in domain failed; Error loading deployment descriptors for
module [_WebApplication1] -- Type javax.xml.bind.annotation.XmlSeeAlso not present
/export/home/tester/NetBeansProjects/WebApplication1/nbproject/build-impl.xml:527:
Deployment error:
The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 4 seconds)".
Comment 1 Roman Mostyka 2007-04-25 07:49:09 UTC
Created attachment 41602 [details]
IDE's log
Comment 2 Roman Mostyka 2007-04-25 07:49:39 UTC
Created attachment 41603 [details]
Server's log
Comment 3 Roman Mostyka 2007-04-25 07:57:02 UTC
Miss between step 3 and 4 "Add HelloWorld W/S to the page".
Comment 4 Petr Blaha 2007-04-25 13:13:47 UTC
Roman, are you able to reproduce the issue also with the web project without
Visual JSF framework? Can you also use the latest GF v2 b 41 d for your testing?
Why do you use SERVICETAB status whiteboard, is the issue related to service tab?
Comment 5 Petr Blaha 2007-04-25 17:31:11 UTC
quynguyen, please evaluate the bug. Is it real J1 stopper?
Comment 6 Quy Nguyen 2007-04-25 19:21:09 UTC
This appears to be a setup issue.  From the server.log file, glassfish is
running on "Java HotSpot(TM) Client VM;1.5.0_04";  try setting up glassfish to
run using the same JDK version as the IDE.

I also ran the scenario on my machine and it deployed correctly.
Comment 7 Roman Mostyka 2007-04-26 10:34:09 UTC
Verified with build 20070425.