FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Composte Application Unit test problem on Netbeans 6.7

 
Post new topic   Reply to topic    NetBeans Forums -> SOA Users
View previous topic :: View next topic  
Author Message
mvackel



Joined: 03 Jul 2009
Posts: 14
Location: Brasil

PostPosted: Mon Jul 13, 2009 10:18 pm    Post subject: Composte Application Unit test problem on Netbeans 6.7 Reply with quote

Hello,

It seems that any composite application SOAP unit test on Netbeans 6.7 is not working. The same project works OK on Netbeans 6.5. It doesn't matter if the project is constructed on 6.5 or 6.7. Is this a bug?


Even the (very good) tutorial "Creating a Loan Processing Composite Application", at

http://www.netbeans.org/kb/61/soa/loanprocessing.html

displays the same problem.


Netbeans 6.7 issues the following stacktrace in the test results:

------------------------------
java.io.FileNotFoundException: xml/entities/NetBeans/DTD_DefaultAttributes_1_0
at org.openide.filesystems.XMLFileSystem$FileObjRef.createAbsoluteUrl(XMLFileSystem.java:1004)
at org.openide.filesystems.XMLFileSystem$FileObjRef.getInputStream(XMLFileSystem.java:968)
at org.openide.filesystems.XMLFileSystem.getInputStream(XMLFileSystem.java:403)
at org.openide.filesystems.XMLFileSystem.access$500(XMLFileSystem.java:164)
at org.openide.filesystems.XMLFileSystem$Impl.inputStream(XMLFileSystem.java:770)
at org.openide.filesystems.StreamPool.createInputStream(StreamPool.java:100)
at org.openide.filesystems.AbstractFileObject.getInputStream(AbstractFileObject.java:211)
at org.openide.filesystems.MultiFileObject.getInputStream(MultiFileObject.java:597)
at org.netbeans.modules.sun.manager.jbi.util.ServerInstanceReader$1.resolveEntity(ServerInstanceReader.java:119)
at com.sun.org.apache.xerces.internal.util.EntityResolverWrapper.resolveEntity(EntityResolverWrapper.java:107)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntityAsPerStax(XMLEntityManager.java:1018)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1191)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1090)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1003)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
at org.netbeans.modules.sun.manager.jbi.util.ServerInstanceReader.getServerInstances(ServerInstanceReader.java:130)
at org.netbeans.modules.compapp.catd.util.Util.getServerInstance(Util.java:170)
at org.netbeans.modules.compapp.catd.util.Util.sendMessage(Util.java:284)
at org.netbeans.modules.compapp.catd.ConfiguredTest$ConcurrentTestSendOnlyRunnable.run(ConfiguredTest.java:1839)
at java.lang.Thread.run(Thread.java:619)
Test TestCaseSoma\Concurrent.properties Failed. (Destination: http://localhost:${HttpDefaultPort}/casaService1/CalcCA)
Caused by: java.net.MalformedURLException: unknown protocol: nbres
Details:
at java.net.URL.<init>(URL.java:574)
<Concurrent test thread 0> is Errored. Success rate 0/1
at java.net.URL.<init>(URL.java:464)
)
----------------------------------------------

The problem seems to be the "MalformedURLException" above.

Any ideas on how to work around?

Thanks,

Marcos Ackel

_________________
Marcos Ackel
Back to top
View user's profile Send private message
rene



Joined: 22 Jul 2009
Posts: 1

PostPosted: Wed Jul 22, 2009 11:40 am    Post subject: same problem Reply with quote

i got the same problem any solutions?
Back to top
View user's profile Send private message
netbeaner



Joined: 30 Jul 2009
Posts: 1

PostPosted: Thu Jul 30, 2009 12:20 am    Post subject: Reply with quote

Same problem here. Sad
Any suggestion?
Back to top
View user's profile Send private message
browngeoff



Joined: 25 Jun 2009
Posts: 2

PostPosted: Sun Aug 02, 2009 5:11 am    Post subject: Reply with quote

I got the same error as mvackel.
_________________
Geoffrey P Brown
Back to top
View user's profile Send private message Visit poster's website
browngeoff



Joined: 25 Jun 2009
Posts: 2

PostPosted: Sun Aug 02, 2009 12:54 pm    Post subject: More info about my system Reply with quote

Here's more info about my environment:

Product Version: NetBeans IDE 6.7 (Build 200906241340)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Back to top
View user's profile Send private message Visit poster's website
mvackel



Joined: 03 Jul 2009
Posts: 14
Location: Brasil

PostPosted: Thu Aug 13, 2009 9:16 pm    Post subject: Reply with quote

Hello,

I solved this problem installing the ESB update package.

It's at

https://open-esb.dev.java.net/Downloads.html

You must install the package "v2.1 for Netbeans 6.7" - "Componentes only" (there is a link "Looking for NetBeans 6.7 support?") .

Installing the components one by one does not work because they need the new jbi runtime thats included (!?) in the "Components only" package.

The first time I tried installing it, I had many error messages from Netbeans about JAXB version incompatibility. So I had to uninstall Netbeans completelly and install it again. After installing the clean version, install the "Components only" package.

Many other problems also solved.

_________________
Marcos Ackel
Back to top
View user's profile Send private message
paunchy



Joined: 24 Sep 2009
Posts: 2

PostPosted: Thu Sep 24, 2009 9:29 am    Post subject: Reply with quote

I did exactly the same thing and am still having errors.

1. Install NetBeans 6.7.1
2. Install SOA plug-ins
3. Install Glassfish V2.1 JBI components for NetBeans 6.7.1

I am using Mas OSX 10.5.8.

Any other ideas? Thanks.

A newly created Hello World BPEL/CA app in the NetBeans 6.7.1 environment runs into the same problem. When I open NetBeans 6.1 and run the same app, there is no problem.
Back to top
View user's profile Send private message
paunchy



Joined: 24 Sep 2009
Posts: 2

PostPosted: Thu Sep 24, 2009 12:47 pm    Post subject: Reply with quote

Using an external webservice client, in this case a flash application, there was no problem accessing the webservice and returning results. So the GlassFish application server seems to be working.

I am running Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs)

So the issue (as stated earlier) seems to be related to the unit test module.

How to resolve? Without this facility, a significant productivity tool is missing
Back to top
View user's profile Send private message
kaliya



Joined: 19 Sep 2009
Posts: 2

PostPosted: Tue Nov 03, 2009 2:55 pm    Post subject: Reply with quote

The same problem here, both with 6.5.1 and 6.7.1, with updated environments both on Linux and Windows Vista, both bulk download and manual feature (ESB, plugins) addons. Sad

Has someone found a way to solve it? Did someone fix that?
Back to top
View user's profile Send private message
Juergen



Joined: 18 Nov 2009
Posts: 0

PostPosted: Wed Nov 18, 2009 10:08 am    Post subject: Reply with quote

I have got a working solution using Netbeans 6.5.1.

First I downloaded Glassfish ESB v2.1 full install (with Netbeans 6.5.1) from https://open-esb.dev.java.net/Downloads.html and installed it.

Unfortunately Glassfish did not work. I got an error starting it.

I decided to download Glassfish ESB components only from the same site and installed it too.

After that Netbeans and Glassfish work fine together. Even the test case will work.

Hope that helps. Smile

Juergen
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> SOA Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB