I'm on the irc channel if you want to discuss it there. #juddi on freenode
On Thu, Mar 14, 2013 at 3:48 PM, Alex O'Ree <spyhunte...@gmail.com> wrote: > How are you executing your program? It is via a mvn command to run the > sample program, or is it something like java -jar your.jar, or is it > with ant or what? > > On Thu, Mar 14, 2013 at 2:41 PM, Edgar Orduña <edi4...@gmail.com> wrote: >> I don't understand, what do i have to add into my class path? >> >> >> 2013/3/13 Alex O'Ree <spyhunte...@gmail.com> >>> >>> Give this a try, go to the tomcat bundle/webapps/juddv3/WEB-INF/lib >>> folder and add everything from there into your class path. It's >>> excessive, but it should get you up and running >>> >>> On Wed, Mar 13, 2013 at 8:07 PM, Alex O'Ree <spyhunte...@gmail.com> wrote: >>> > You're obviously missing the commons logging jar file >>> > >>> > On Wed, Mar 13, 2013 at 2:45 PM, Edgar Orduña <edi4...@gmail.com> wrote: >>> >> I'm using jdk 1.7 and jre 7. >>> >> >>> >> I added the jar files from snapshot and I already don't have the erros >>> >> but >>> >> now when i run my code source i have this error and I don't have any >>> >> result >>> >> >>> >> >>> >> Exception in thread "main" java.lang.NoClassDefFoundError: >>> >> org/apache/commons/logging/LogFactory >>> >> at >>> >> >>> >> org.apache.juddi.v3.client.config.UDDIClerkManager.<clinit>(UDDIClerkManager.java:40) >>> >> at SimpleBrowse.<init>(SimpleBrowse.java:64) >>> >> at SimpleBrowse.main(SimpleBrowse.java:93) >>> >> Caused by: java.lang.ClassNotFoundException: >>> >> org.apache.commons.logging.LogFactory >>> >> at java.net.URLClassLoader$1.run(Unknown Source) >>> >> at java.security.AccessController.doPrivileged(Native Method) >>> >> at java.net.URLClassLoader.findClass(Unknown Source) >>> >> at java.lang.ClassLoader.loadClass(Unknown Source) >>> >> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) >>> >> at java.lang.ClassLoader.loadClass(Unknown Source) >>> >> ... 3 more >>> >> >>> >> Please Help me >>> >> >>> >> Thanks So much >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> 2013/3/11 Alex O'Ree <spyhunte...@gmail.com> >>> >>> >>> >>> Edgar, what version of the JRE or JDK are you running? Providing it is >>> >>> at least 1.5, you could be missing a jar from the classpath. >>> >>> >>> >>> On Mon, Mar 11, 2013 at 3:07 PM, Kurt T Stam <kurt.s...@gmail.com> >>> >>> wrote: >>> >>> > Hi Edgar, >>> >>> > >>> >>> > I have no idea. Maybe it is a library mismatch. I have been working >>> >>> > on a >>> >>> > better jUDDI distro though. You can download a snapshot from: >>> >>> > >>> >>> > >>> >>> > >>> >>> > http://people.apache.org/~kstam/releases/juddi-3.1.5-SNAPSHOT/mirrors/juddi-distro-3.1.5-SNAPSHOT.zip >>> >>> > >>> >>> > The snapshot has the examples you are working with all packaged up. >>> >>> > Maybe >>> >>> > this can help you to debug things; and maybe you can give us some >>> >>> > feedback >>> >>> > on the distro; it has the binaries, the src, example, docs and a >>> >>> > ready-to-go-tomcat. You can follow the readme's to execute the >>> >>> > examples. >>> >>> > >>> >>> > Cheers, >>> >>> > >>> >>> > --Kurt >>> >>> > >>> >>> > >>> >>> > On 3/11/13 1:35 PM, Edgar Orduña wrote: >>> >>> > >>> >>> > Hi >>> >>> > >>> >>> > Thanks for your answer, the file SimpleBrowse.java ran but i had to >>> >>> > add >>> >>> > a >>> >>> > file UDDIConstants class to my package, now when i run my java class >>> >>> > I >>> >>> > don't >>> >>> > have the expected results, i have this result and i don't know why >>> >>> > Do you know why? >>> >>> > >>> >>> > >>> >>> > root AUTHTOKEN = authtoken:fdb10153-c0fc-4499-9f5a-869488f8bd4b >>> >>> > =============================================== >>> >>> > Business Key: uddi:juddi.apache.org:businesses-asf >>> >>> > Name: An Apache jUDDI Node >>> >>> > Name: This is a UDDI v3 registry node as implemented by Apache >>> >>> > jUDDI. >>> >>> > Services: >>> >>> > ------------------------------------------- >>> >>> > Service Key: uddi:juddi.apache.org:services-publisher >>> >>> > Owning Business Key: uddi:juddi.apache.org:businesses-asf >>> >>> > Name: jUDDI Publisher Service >>> >>> > ------------------------------------------- >>> >>> > Service Key: uddi:juddi.apache.org:services-custodytransfer >>> >>> > Owning Business Key: uddi:juddi.apache.org:businesses-asf >>> >>> > Name: UDDI Custody and Ownership Transfer Service >>> >>> > ------------------------------------------- >>> >>> > Service Key: uddi:juddi.apache.org:services-inquiry >>> >>> > Owning Business Key: uddi:juddi.apache.org:businesses-asf >>> >>> > Name: UDDI Inquiry Service >>> >>> > ------------------------------------------- >>> >>> > Service Key: uddi:juddi.apache.org:services-publish >>> >>> > Owning Business Key: uddi:juddi.apache.org:businesses-asf >>> >>> > Name: UDDI Publish Service >>> >>> > ------------------------------------------- >>> >>> > Service Key: uddi:juddi.apache.org:services-security >>> >>> > Owning Business Key: uddi:juddi.apache.org:businesses-asf >>> >>> > Name: UDDI Security Service >>> >>> > ------------------------------------------- >>> >>> > Service Key: uddi:juddi.apache.org:services-subscriptionlistener >>> >>> > Owning Business Key: uddi:juddi.apache.org:businesses-asf >>> >>> > Name: UDDI Subscription Listener Service >>> >>> > ------------------------------------------- >>> >>> > Service Key: uddi:juddi.apache.org:services-subscription >>> >>> > Owning Business Key: uddi:juddi.apache.org:businesses-asf >>> >>> > Name: UDDI Subscription Service >>> >>> > >>> >>> > com.sun.xml.internal.ws.encoding.soap.DeserializationException: >>> >>> > Failed >>> >>> > to >>> >>> > read a response: javax.xml.bind.UnmarshalException >>> >>> > - with linked exception: >>> >>> > [javax.xml.stream.XMLStreamException: ParseError at >>> >>> > [row,col]:[34,9762] >>> >>> > Message: Connection reset] >>> >>> > at >>> >>> > com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown >>> >>> > Source) >>> >>> > at >>> >>> > com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown >>> >>> > Source) >>> >>> > at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source) >>> >>> > at $Proxy41.getBusinessDetail(Unknown Source) >>> >>> > at SimpleBrowse.PrintBusinessDetails(SimpleBrowse.java:352) >>> >>> > at SimpleBrowse.Browse(SimpleBrowse.java:109) >>> >>> > at SimpleBrowse.main(SimpleBrowse.java:93) >>> >>> > Caused by: javax.xml.bind.UnmarshalException >>> >>> > - with linked exception: >>> >>> > [javax.xml.stream.XMLStreamException: ParseError at >>> >>> > [row,col]:[34,9762] >>> >>> > Message: Connection reset] >>> >>> > at >>> >>> > >>> >>> > >>> >>> > com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(Unknown >>> >>> > Source) >>> >>> > at >>> >>> > >>> >>> > >>> >>> > com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unknown >>> >>> > Source) >>> >>> > at com.sun.xml.internal.bind.v2.runtime.BridgeImpl.unmarshal(Unknown >>> >>> > Source) >>> >>> > at com.sun.xml.internal.bind.api.Bridge.unmarshal(Unknown Source) >>> >>> > at >>> >>> > >>> >>> > >>> >>> > com.sun.xml.internal.ws.message.stream.StreamMessage.readPayloadAsJAXB(Unknown >>> >>> > Source) >>> >>> > at >>> >>> > >>> >>> > >>> >>> > com.sun.xml.internal.ws.client.sei.ResponseBuilder$Body.readResponse(Unknown >>> >>> > Source) >>> >>> > ... 7 more >>> >>> > Caused by: javax.xml.stream.XMLStreamException: ParseError at >>> >>> > [row,col]:[34,9762] >>> >>> > Message: Connection reset >>> >>> > at >>> >>> > >>> >>> > com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(Unknown >>> >>> > Source) >>> >>> > at >>> >>> > com.sun.xml.internal.ws.util.xml.XMLStreamReaderFilter.next(Unknown >>> >>> > Source) >>> >>> > at >>> >>> > >>> >>> > >>> >>> > com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(Unknown >>> >>> > Source) >>> >>> > ... 12 more >>> >>> > >>> >>> > >>> >>> > Thanks So much >>> >>> > >>> >>> > >>> >>> > >>> >>> > 2013/3/10 Alex O'Ree <spyhunte...@gmail.com> >>> >>> >> >>> >>> >> the class is org.apache.juddi.v3.client.UDDIConstants located in >>> >>> >> the >>> >>> >> jar file juddi-client-3.1.5-SNAPSHOT.jar off of the latest dev >>> >>> >> trunk. >>> >>> >> Looking at the svn log, it looks like it was added recently. >>> >>> >> >>> >>> >> You can use "%" for the wild card and "approximateMatch" as the >>> >>> >> find >>> >>> >> qualifier >>> >>> >> >>> >>> >> >>> >>> >> On Sun, Mar 10, 2013 at 1:32 AM, Edgar Orduña <edi4...@gmail.com> >>> >>> >> wrote: >>> >>> >> > Hi >>> >>> >> > >>> >>> >> > I have a error with "UDDIConstants" in the part of the import >>> >>> >> > >>> >>> >> > import org.apache.juddi.v3.client.UDDIConstants; >>> >>> >> > >>> >>> >> > >>> >>> >> > and i have error in this part with "UDDIConstants" >>> >>> >> > >>> >>> >> > fq.getFindQualifier().add(UDDIConstants.APPROXIMATE_MATCH); >>> >>> >> > >>> >>> >> > fb.setFindQualifiers(fq); >>> >>> >> > Name searchname = new Name(); >>> >>> >> > searchname.setValue(UDDIConstants.WILDCARD); >>> >>> >> > >>> >>> >> > Do you know why do i have this error? >>> >>> >> > Do you know if i need a jar file? >>> >>> >> > >>> >>> >> > Thanks so much >>> >>> > >>> >>> > >>> >>> > >>> >> >>> >> >> >>