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 69295 - Generating webservices with JAS
Summary: Generating webservices with JAS
Status: VERIFIED DUPLICATE of bug 67565
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All Windows ME/2000
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-24 21:54 UTC by didoblu
Modified: 2005-11-30 21:24 UTC (History)
1 user (show)

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 didoblu 2005-11-24 21:54:52 UTC
When I tried generate one webservice with Sun Application Server occurr this 
problem:
>Log Session: Thursday, November 24, 2005 7:46:55 PM GMT-03:00
>System Info: 
  Product Version         = NetBeans IDE 5.0 Beta 2 (Build 200511141730)
  Operating System        = Windows 2000 version 5.0 running on x86
  Java; VM; Vendor; Home  = 1.5.0_05; Java HotSpot(TM) Client VM 1.5.0_05-b05; 
Sun Microsystems Inc.; C:\jdk1.5.0\jre
  System Locale; Encoding = pt_BR (nb); Cp1252
  Home Dir.; Current Dir. = C:\Documents and Settings\grott; C:\netbeans-
5.0b2sasp\bin
  Installation; User Dir. = C:\netbeans-5.0b2sasp\nb5.0;C:\netbeans-
5.0b2sasp\ide6;C:\netbeans-5.0b2sasp\enterprise2;C:\netbeans-
5.0b2sasp\harness;C:\netbeans-5.0b2sasp\platform6; C:\Documents and 
Settings\grott\.netbeans\5.0beta2
  Boot & Ext. Classpath   = C:\jdk1.5.0\jre\lib\rt.jar;C:\jdk1.5.0
\jre\lib\i18n.jar;C:\jdk1.5.0\jre\lib\sunrsasign.jar;C:\jdk1.5.0
\jre\lib\jsse.jar;C:\jdk1.5.0\jre\lib\jce.jar;C:\jdk1.5.0
\jre\lib\charsets.jar;C:\jdk1.5.0\jre\classes;C:\jdk1.5.0
\jre\lib\ext\dnsns.jar;C:\jdk1.5.0\jre\lib\ext\localedata.jar;C:\jdk1.5.0
\jre\lib\ext\sunjce_provider.jar;C:\jdk1.5.0\jre\lib\ext\sunpkcs11.jar
  Application Classpath   = C:\netbeans-5.0b2sasp\platform6
\lib\boot.jar;C:\netbeans-5.0b2sasp\platform6\lib\org-openide-
modules.jar;C:\netbeans-5.0b2sasp\platform6\lib\org-openide-util.jar;C:\jdk1.5.0
\lib\dt.jar;C:\jdk1.5.0\lib\tools.jar
  Startup Classpath       = C:\netbeans-5.0b2sasp\platform6
\core\core.jar;C:\netbeans-5.0b2sasp\platform6\core\org-openide-
filesystems.jar;C:\netbeans-5.0b2sasp\nb5.0\core\org-netbeans-
upgrader.jar;C:\netbeans-5.0b2sasp\nb5.0\core\locale\core_nb.jar;C:\netbeans-
5.0b2sasp\ide6\core\org-netbeans-modules-utilities-cli.jar

[org.netbeans.javacore] INFORMATIONAL *********** Exception occurred 
************ at 7:51 PM on Nov 24, 2005
java.lang.Exception: rollback!!!
	at org.netbeans.modules.javacore.ExclusiveMutex.leave
(ExclusiveMutex.java:339)
	at org.netbeans.mdr.NBMDRepositoryImpl.endTrans
(NBMDRepositoryImpl.java:248)
	at org.netbeans.modules.j2ee.common.JMIUtils.endJmiTransaction
(JMIUtils.java:238)
	at 
org.netbeans.modules.websvc.dev.wizard.WebServiceGenerator.generateWebService
(WebServiceGenerator.java:272)
	at 
org.netbeans.modules.websvc.dev.wizard.WebServiceGenerator.generateWebService
(WebServiceGenerator.java:107)
	at 
org.netbeans.modules.websvc.dev.wizard.WebServiceWizard.generateWebService
(WebServiceWizard.java:208)
	at org.netbeans.modules.websvc.dev.wizard.WebServiceWizard.access$000
(WebServiceWizard.java:56)
	at org.netbeans.modules.websvc.dev.wizard.WebServiceWizard$1.run
(WebServiceWizard.java:180)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:471)
	at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:904)
*********** Exception occurred ************ at 7:51 PM on Nov 24, 2005
java.lang.RuntimeException
	at 
org.netbeans.modules.websvc.dev.wizard.WebServiceGenerator.generateWebService
(WebServiceGenerator.java:252)
	at 
org.netbeans.modules.websvc.dev.wizard.WebServiceGenerator.generateWebService
(WebServiceGenerator.java:107)
	at 
org.netbeans.modules.websvc.dev.wizard.WebServiceWizard.generateWebService
(WebServiceWizard.java:208)
	at org.netbeans.modules.websvc.dev.wizard.WebServiceWizard.access$000
(WebServiceWizard.java:56)
[catch] at org.netbeans.modules.websvc.dev.wizard.WebServiceWizard$1.run
(WebServiceWizard.java:180)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:471)
	at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:904)
Comment 1 Milan Kuchtiak 2005-11-25 09:29:48 UTC
I guess, there was an attempt to create web service from scratch.
Unfortunatelly I cannot reproduce this issue on my Linux.
I will look at the problem on Windows2000 machine on Monday.

Question to reporter ?
Did you try to create WS in web project or in EJB project ?

Martin, can you also look at the WebServiceGeenartor class, whether the JMI part
is correctly implemented ?
Comment 2 Martin Adamek 2005-11-25 09:42:17 UTC
Thanks for reporting. It is duplicate of issue 67565. Please try latest build.
And next time please add exception log as attachment, not inline, thanks.

*** This issue has been marked as a duplicate of 67565 ***
Comment 3 didoblu 2005-11-25 18:33:00 UTC
I tested in the last build and it's worked fine.
You're welcome.
Comment 4 Lukas Jungmann 2005-11-30 21:24:34 UTC
v.