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 123634 - run-jbi-deploy java.lang.NoClassDefFoundError: org/netbeans/modules/j2ee/deployment/impl/ServerRegistry
Summary: run-jbi-deploy java.lang.NoClassDefFoundError: org/netbeans/modules/j2ee/depl...
Status: VERIFIED 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: 2007-12-07 14:32 UTC by kfarmah
Modified: 2008-04-18 01:01 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 kfarmah 2007-12-07 14:32:34 UTC
Product Version: NetBeans IDE Dev (Build 200712050000)
Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04

The follow stacktrace is produced when deploying a bpel project to glassfish:

pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
init-deploy:
deps-jar:
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init-taskdefs:
init:
pre-dist:
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init-taskdefs:
init:
deps-sub-project:
PackageRetrievedFiles:
Deleting directory E:\NetBeansProjects\Database\build\dependentProjectFiles
Created dir: E:\NetBeansProjects\Database\build\dependentProjectFiles
dist_se:
Building jar: E:\NetBeansProjects\Database\build\SEDeployment.jar
Expanding: E:\NetBeansProjects\Database\build\SEDeployment.jar into
E:\NetBeansProjects\DatabaseApplication\src\jbiServiceUnits\Database
Moving 1 file to E:\NetBeansProjects\DatabaseApplication\src\jbiServiceUnits\Database
deps-javaee-jar:
jbi-build:
Copying 1 file to E:\NetBeansProjects\DatabaseApplication\src\jbiServiceUnits
Building jar: E:\NetBeansProjects\DatabaseApplication\build\BCDeployment.jar
 copying Sub-Assembly: E:\NetBeansProjects\DatabaseApplication\build\Database.jar
Create E:\NetBeansProjects\DatabaseApplication\build/sun-jdbc-binding.jar for binding component sun-jdbc-binding
Writing out to file: E:\NetBeansProjects\DatabaseApplication\src\jbiServiceUnits\sun-jdbc-binding\jbi.xml
Create E:\NetBeansProjects\DatabaseApplication\build/sun-http-binding.jar for binding component sun-http-binding
Writing out to file: E:\NetBeansProjects\DatabaseApplication\src\jbiServiceUnits\sun-http-binding\jbi.xml
Deleting: E:\NetBeansProjects\DatabaseApplication\build\BCDeployment.jar
Building jar: E:\NetBeansProjects\DatabaseApplication\dist\DatabaseApplication.zip
run-jbi-deploy:
java.lang.NoClassDefFoundError: org/netbeans/modules/j2ee/deployment/impl/ServerRegistry
        at
org.netbeans.modules.compapp.projects.jbi.anttasks.DeployServiceAssembly.startServer(DeployServiceAssembly.java:308)
        at org.netbeans.modules.compapp.projects.jbi.anttasks.DeployServiceAssembly.execute(DeployServiceAssembly.java:235)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
BUILD FAILED (total time: 1 second)
Comment 1 Sergey Lunegov 2007-12-07 14:39:30 UTC
Where did you take the build ? Please specify the location
Comment 2 Kirill Sorokin 2007-12-07 14:48:29 UTC
I have experienced the vary same exception for a short period of time, when the implementation dependency on j2eeserver
was removed from compapp project. However this was definitely fixed before 12/05.
Comment 3 kfarmah 2007-12-07 14:55:39 UTC
The build was taken from  http://bits.netbeans.org/download/trunk/nightly/latest/)
Comment 4 Sergey Lunegov 2007-12-07 15:07:22 UTC
Ok. Trunk can be broken and I don't have any estmation when it will be recovered. Try to use NB 6.0 FCS
Comment 5 kfarmah 2007-12-07 15:17:01 UTC
Thanks for the response - I have been experiencing another issue with the FCS relating to JDBC JBI BC components and
generating WSDL From Database.
I have been advised to use the most recent build to work around an issue with this feature, please see the following thread:
http://www.netbeans.org/servlets/ReadMsg?list=nbentpack&msgNo=1405
I will use the FCS and try to work out why my BC is not working as expected.
Comment 6 Jun Qian 2007-12-07 20:26:29 UTC
Kam,

The SOA team is not working on trunk (6.1) at this moment. Please use NB 6.0 FCS instead. You can find the latest JBI
Components (including JDBC BC) at https://open-esb.dev.java.net/Downloads.html. The JDBC BC, after installation, should
be called "sun-jdbc-binding", not "com.sun.jdbc-1.0-2".

Thanks,
Jun

Comment 7 Jun Qian 2008-02-22 02:29:54 UTC
No longer reproducible in trunk.
Comment 8 vinathi 2008-04-18 01:01:13 UTC
verified and working fine with 20080416-0500 build.