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.
Summary: | CompApp deploy fails from (Ant) command line as result of Enhancement #178165 changes | ||
---|---|---|---|
Product: | soa | Reporter: | ian_chalmers <ian_chalmers> |
Component: | Composite Application | Assignee: | Alexander Permyakov <alex02> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | yaroslavskiy |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
ian_chalmers
2010-04-13 12:14:21 UTC
fixed at gfesb-main> changeset: 1534:39ee5bfa3aa7 build: http://nephrite.russia.sun.com:8080/hudson/job/gfesb-main/lastSuccessfulBuild/artifact/cache/latest/gfesb-main.zip There are two cases: 1) We use default password for the glassfish server (adminadmin). In this case it is necessary to use typical ant script, as earlier without modification: ant -Desb.netbeans.home=<...> -Desb.netbeans.user=<...> run-jbi-deploy-without-build (run, undeploy) 2) We use special password for the glassfish server. In this case it is necessary to to use ant script with special property (server.password) which correspond to custom password ant -Desb.netbeans.home=<...> -Desb.netbeans.user=<...> -Dserver.password=<...> run-jbi-deploy-without-build (run, undeploy) If the password is wrong we will receive an error pleas verify. Projects now build & deploy with new changes but test case execution fails due to JUnit classpath problem: (alias:jbidev.ora):nb/SynchronousSampleApplication -> nbant test Buildfile: build.xml -create-private-props: [echo] JBI/QE pre-init patch: generating /Volumes/Work/qe/jdev/paths/jbidev/jbi/shasta/install/nb/SynchronousSampleApplication/nbproject/private/private.properties (generate.ats.output=true) -do-test-run: [junit] Testsuite: org.netbeans.modules.compapp.catd.ConfiguredTest [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec [junit] Null Test: Caused an ERROR [junit] null [junit] java.lang.reflect.InvocationTargetException [junit] Caused by: java.lang.NoClassDefFoundError: org/netbeans/api/keyring/Keyring [junit] at org.netbeans.modules.sun.manager.jbi.util.ServerInstanceReader.getServerInstances(ServerInstanceReader.java:177) [junit] at org.netbeans.modules.compapp.catd.util.Util.getServerInstance(Util.java:228) [junit] at org.netbeans.modules.compapp.catd.util.Util.getHttpDefaultPorts(Util.java:404) [junit] at org.netbeans.modules.compapp.catd.ConfiguredTest.suite(ConfiguredTest.java:273) [junit] Caused by: java.lang.ClassNotFoundException: org.netbeans.api.keyring.Keyring [junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) [junit] at java.security.AccessController.doPrivileged(Native Method) [junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:315) [junit] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:250) [junit] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398) [junit] Test org.netbeans.modules.compapp.catd.ConfiguredTest FAILED BUILD FAILED /Volumes/Work/qe/jdev/paths/jbidev/jbi/shasta/install/nb/SynchronousSampleApplication/nbproject/build-impl.xml:328: Some tests failed; see details above. Total time: 1 second classpath requires additional jars: <pathelement path="${esb.netbeans.platform}/modules/org-netbeans-modules-keyring.jar"/> <pathelement path="${esb.netbeans.platform}/modules/org-openide-dialogs.jar"/> <pathelement path="${esb.netbeans.platform}/modules/ext/jna-3.0.9.jar"/> Deploy & test now works with SOA build 20100427_0007 |