juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SourceForge.net" <nore...@sourceforge.net>
Subject [juddi-Developers] [ juddi-Bugs-813172 ] find_business fails with nonames search
Date Mon, 29 Sep 2003 09:46:09 GMT
Bugs item #813172, was opened at 2003-09-26 17:01
Message generated for change (Comment added) made by anved
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=813172&group_id=42875

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andriy Vyedyeneyev (anved)
Assigned to: Anou Manavalan (anou_mana)
Summary: find_business fails with nonames search

Initial Comment:
I have tried to find all business, that have references to 

tModel categories. This is SOAP request:



POST /juddi/inquiry HTTP/1.0



Content-Type: text/xml; charset=utf-8



Accept: application/soap+xml, application/dime, 

multipart/related, text/*



User-Agent: Axis/1.0



Host: localhost



Cache-Control: no-cache



Pragma: no-cache



SOAPAction: ""



Content-Length: 627







<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope 

xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelo

pe/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 

xmlns:xsi="http://www.w3.org/2001/XMLSchema-

instance">

 <soapenv:Body><find_business generic="2.0" 

xmlns="urn:uddi-

org:api_v2"><findQualifiers><findQualifier>orAllKeys</find

Qualifier></findQualifiers><tModelBag><tModelKey>uuid:4

F310BB0-F03B-11D7-8BB0-

9A459BE74E31</tModelKey><tModelKey>uuid:4F38ACD0-

F03B-11D7-ACD0-

CD4BBA66F194</tModelKey><tModelKey>uuid:4F404DF0-

F03B-11D7-8DF0-

9815318A82BE</tModelKey></tModelBag></find_business

> </soapenv:Body>

</soapenv:Envelope>





The response from JUDDI was following:



HTTP/1.1 500 Internal Server Error



Content-Type: text/xml; charset=utf-8



Date: Fri, 26 Sep 2003 16:57:37 GMT



Server: Apache Coyote/1.0



Connection: close







<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope 

xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelo

pe/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 

xmlns:xsi="http://www.w3.org/2001/XMLSchema-

instance">

 <soapenv:Body>

  <soapenv:Fault>

   <faultcode>soapenv:Server.userException</faultcode>

   

<faultstring>java.lang.NullPointerException</faultstring>

   <detail/>

  </soapenv:Fault>

 </soapenv:Body>

</soapenv:Envelope>





I thought this is because of absence in the request 

name parameter(s). If it's so, i think this is worth thing 

to fix, because UDDIv2 specification defines name as 

optional attribute for this type of UDDI call.





----------------------------------------------------------------------

>Comment By: Andriy Vyedyeneyev (anved)
Date: 2003-09-29 16:13

Message:
Logged In: YES 
user_id=865045

Sure i need new jar-fix :D. Could you send it to me (

{vye}at{commaro.com}) 



Thx in advance.

----------------------------------------------------------------------

Comment By: Anou Manavalan (anou_mana)
Date: 2003-09-29 14:37

Message:
Logged In: YES 
user_id=635638

2003-09-29 09:47:31,106 [Thread-5] DEBUG 

org.juddi.function.FindBusinessFunction - 

org.juddi.datastore.jdbc.JDBCDataStore

2003-09-29 09:47:31,216 [Thread-5] ERROR 

org.juddi.function.FindBusinessFunction - 

java.lang.ClassCastException: java.lang.String

2003-09-29 09:47:31,307 [Thread-5] DEBUG 

org.apache.axis.i18n.ProjectResourceBundle - 

org.apache.axis.i18n.resource::handleGetObject(axisFault00)





The log has the ClassCastException in the FindBusiness which 

was one of the recent fix.  I actually committed the fix just 

today and with the SourceForge 24 hour delay, you won't be 

able to get the latest files from CVS. If you need them we 

could send a jar.



regards,

-Anou

----------------------------------------------------------------------

Comment By: Andriy Vyedyeneyev (anved)
Date: 2003-09-29 08:15

Message:
Logged In: YES 
user_id=865045

I'm using jUDDI 0.8.0, with Tomcat 4.1.



jUDDI Properties

juddi.adminEmailAddress: admin@juddi.org

juddi.adminURL: http://localhost:8080/juddi/admin

juddi.authFactory: 

org.juddi.auth.simple.SimpleAuthenticatorFactory

juddi.dataStoreFactory: 

org.juddi.datastore.jdbc.JDBCDataStoreFactory

juddi.inquiryURL: http://localhost:8080/juddi/inquiry

juddi.jdbcDriver: org.gjt.mm.mysql.Driver

juddi.jdbcPassword: 

juddi.jdbcURL: jdbc:mysql://localhost/jUDDI_DB

juddi.jdbcUser: root

juddi.maxMessageSize: 2097152

juddi.maxNameElementsAllowed: 5

juddi.maxNameLength: 255

juddi.operatorName: Commaro-jUDDI.com

juddi.operatorSiteURL: http://localhost:8080/juddi

juddi.publishURL: http://localhost:8080/juddi/publish

juddi.transportClass: org.juddi.transport.axis.AxisTransport

juddi.useConnectionPool: true

juddi.uuidgenFactory: 

org.juddi.uuidgen.jvm.JavaUUIDGenFactory





System Properties

awt.toolkit: sun.awt.windows.WToolkit

catalina.base: ..

catalina.home: ..

catalina.useNaming: true

file.encoding: Cp1252

file.encoding.pkg: sun.io

file.separator: \

java.awt.fonts: 

java.awt.graphicsenv: sun.awt.Win32GraphicsEnvironment

java.awt.printerjob: sun.awt.windows.WPrinterJob

java.class.path: D:\Programs\JavaSoft\JDK\1.3.1_06

\lib\tools.jar;..\bin\bootstrap.jar

java.class.version: 47.0

java.endorsed.dirs: ..\bin;..\common\endorsed

java.ext.dirs: D:\Programs\JavaSoft\JDK\1.3.1_06\jre\lib\ext

java.home: D:\Programs\JavaSoft\JDK\1.3.1_06\jre

java.io.tmpdir: ..\temp

java.naming.factory.initial: 

org.apache.naming.java.javaURLContextFactory

java.naming.factory.url.pkgs: org.apache.naming

java.protocol.handler.pkgs: 

com.sun.net.ssl.internal.www.protocol

java.runtime.name: Java(TM) 2 Runtime Environment, 

Standard Edition

java.runtime.version: 1.3.1_06-b01

java.specification.name: Java Platform API Specification

java.specification.vendor: Sun Microsystems Inc.

java.specification.version: 1.3

java.vendor: Sun Microsystems Inc.

java.vendor.url: http://java.sun.com/

java.vendor.url.bug: http://java.sun.com/cgi-bin/bugreport.cgi

java.version: 1.3.1_06

java.vm.info: mixed mode

java.vm.name: Java HotSpot(TM) Client VM

java.vm.specification.name: Java Virtual Machine Specification

java.vm.specification.vendor: Sun Microsystems Inc.

java.vm.specification.version: 1.0

java.vm.vendor: Sun Microsystems Inc.

java.vm.version: 1.3.1_06-b01

line.separator: 



os.arch: x86

os.name: Windows 2000

os.version: 5.0

path.separator: ;

sun.boot.class.path: D:\Programs\JavaSoft\JDK\1.3.1_06

\jre\lib\rt.jar;D:\Programs\JavaSoft\JDK\1.3.1_06

\jre\lib\i18n.jar;D:\Programs\JavaSoft\JDK\1.3.1_06

\jre\lib\sunrsasign.jar;D:\Programs\JavaSoft\JDK\1.3.1_06

\jre\classes

sun.boot.library.path: D:\Programs\JavaSoft\JDK\1.3.1_06

\jre\bin

sun.cpu.endian: little

sun.cpu.isalist: pentium i486 i386

sun.io.unicode.encoding: UnicodeLittle

user.dir: D:\Programs\apache\tomcat\bin





----------------------------------------------------------------------

Comment By: Andriy Vyedyeneyev (anved)
Date: 2003-09-29 07:54

Message:
Logged In: YES 
user_id=865045

I'm using jUDDI 0.8.0, with Tomcat 4.1.



jUDDI Properties

juddi.adminEmailAddress: admin@juddi.org

juddi.adminURL: http://localhost:8080/juddi/admin

juddi.authFactory: 

org.juddi.auth.simple.SimpleAuthenticatorFactory

juddi.dataStoreFactory: 

org.juddi.datastore.jdbc.JDBCDataStoreFactory

juddi.inquiryURL: http://localhost:8080/juddi/inquiry

juddi.jdbcDriver: org.gjt.mm.mysql.Driver

juddi.jdbcPassword: 

juddi.jdbcURL: jdbc:mysql://localhost/jUDDI_DB

juddi.jdbcUser: root

juddi.maxMessageSize: 2097152

juddi.maxNameElementsAllowed: 5

juddi.maxNameLength: 255

juddi.operatorName: Commaro-jUDDI.com

juddi.operatorSiteURL: http://localhost:8080/juddi

juddi.publishURL: http://localhost:8080/juddi/publish

juddi.transportClass: org.juddi.transport.axis.AxisTransport

juddi.useConnectionPool: true

juddi.uuidgenFactory: 

org.juddi.uuidgen.jvm.JavaUUIDGenFactory





System Properties

awt.toolkit: sun.awt.windows.WToolkit

catalina.base: ..

catalina.home: ..

catalina.useNaming: true

file.encoding: Cp1252

file.encoding.pkg: sun.io

file.separator: \

java.awt.fonts: 

java.awt.graphicsenv: sun.awt.Win32GraphicsEnvironment

java.awt.printerjob: sun.awt.windows.WPrinterJob

java.class.path: D:\Programs\JavaSoft\JDK\1.3.1_06

\lib\tools.jar;..\bin\bootstrap.jar

java.class.version: 47.0

java.endorsed.dirs: ..\bin;..\common\endorsed

java.ext.dirs: D:\Programs\JavaSoft\JDK\1.3.1_06\jre\lib\ext

java.home: D:\Programs\JavaSoft\JDK\1.3.1_06\jre

java.io.tmpdir: ..\temp

java.naming.factory.initial: 

org.apache.naming.java.javaURLContextFactory

java.naming.factory.url.pkgs: org.apache.naming

java.protocol.handler.pkgs: 

com.sun.net.ssl.internal.www.protocol

java.runtime.name: Java(TM) 2 Runtime Environment, 

Standard Edition

java.runtime.version: 1.3.1_06-b01

java.specification.name: Java Platform API Specification

java.specification.vendor: Sun Microsystems Inc.

java.specification.version: 1.3

java.vendor: Sun Microsystems Inc.

java.vendor.url: http://java.sun.com/

java.vendor.url.bug: http://java.sun.com/cgi-bin/bugreport.cgi

java.version: 1.3.1_06

java.vm.info: mixed mode

java.vm.name: Java HotSpot(TM) Client VM

java.vm.specification.name: Java Virtual Machine Specification

java.vm.specification.vendor: Sun Microsystems Inc.

java.vm.specification.version: 1.0

java.vm.vendor: Sun Microsystems Inc.

java.vm.version: 1.3.1_06-b01

line.separator: 



os.arch: x86

os.name: Windows 2000

os.version: 5.0

path.separator: ;

sun.boot.class.path: D:\Programs\JavaSoft\JDK\1.3.1_06

\jre\lib\rt.jar;D:\Programs\JavaSoft\JDK\1.3.1_06

\jre\lib\i18n.jar;D:\Programs\JavaSoft\JDK\1.3.1_06

\jre\lib\sunrsasign.jar;D:\Programs\JavaSoft\JDK\1.3.1_06

\jre\classes

sun.boot.library.path: D:\Programs\JavaSoft\JDK\1.3.1_06

\jre\bin

sun.cpu.endian: little

sun.cpu.isalist: pentium i486 i386

sun.io.unicode.encoding: UnicodeLittle

user.dir: D:\Programs\apache\tomcat\bin





----------------------------------------------------------------------

Comment By: Anou Manavalan (anou_mana)
Date: 2003-09-26 19:16

Message:
Logged In: YES 
user_id=635638

The no name should not fail, since the code checks for the 

name and ignores it if it is not there.



Could you give more information on which code base it is ? 

and also the log file with debug info in it.



-Anou

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=813172&group_id=42875


Mime
View raw message