List Info

Thread: Won't work




Won't work
country flaguser name
United States
2007-02-17 11:40:30
Hi,

I've been struggeling for a while now to get juddi to work,
but it simply
won't. The validation works as expected, but juddi crashes
on _every_
message sent to it. I've tested the following
configurations:

* Windows XP + MySQL 5.0 + Apache Tomcat 5.5.20 + Java
1.5.0_09
* Windows XP + MySQL 4.1 + Apache Tomcat 5.5.20 + Java
1.5.0_09
* Windows XP + Firebird 2.0 + Apache Tomcat 5.5.20 + Java
1.5.0_09
* Windows Vista + MySQL 5.0 + Apache Tomcat 5.5.20 + Java
1.6.0-b105
(totally clean)

When validating, everything is ok. When I go to the console
and invoke
"get_authToken" (or anything, for that matter) I
get:

2007-02-17 18:26:08,764 [http-8080-Processor24] ERROR
org.apache.juddi.registry.
AbstractService  -
com.sun.xml.internal.messaging.saaj.soap.impl.TextImpl
cannot
 be cast to org.w3c.dom.Element
java.lang.ClassCastException:
com.sun.xml.internal.messaging.saaj.soap.impl.Text
Impl cannot be cast to org.w3c.dom.Element
        at
org.apache.juddi.registry.AbstractService.doPost(AbstractSer
vice.java
:103)
....

And subsequently:
2007-02-17 18:26:08,787 [http-8080-Processor24] ERROR
org.apache.juddi.registry.
AbstractService  - A serious error has occured while
assembling the SOAP
Fault.
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: No
NamespaceURI, SOAP
req
uires faultcode content to be a QName
        at
com.sun.xml.internal.messaging.saaj.soap.impl.FaultImpl.setF
aultCode(
FaultImpl.java:101)
        at
com.sun.xml.internal.messaging.saaj.soap.impl.FaultImpl.setF
aultCode(
FaultImpl.java:89)
        at
org.apache.juddi.registry.AbstractService.doPost(AbstractSer
vice.java
:317)

The message I'm sending is:
<?xml version="1.0"
encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="h
ttp://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <get_authToken generic="2.0"
xmlns="urn:uddi-org:api_v2" 
      userID="jdoe" 
      cred=""/>
  </soapenv:Body>
</soapenv:Envelope>

The response is:
<?xml version="1.0" encoding="utf-8"
?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="h
ttp://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <SOAP-ENV:Fault>
         <faultcode>SOAP-ENV:Server</faultcode>
         <faultstring>Fault string, and possibly fault
code, not
set</faultstring>
      </SOAP-ENV:Fault>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

The last setup I tested was from a newly installed computer,
and I proceeded
like this:
* Installed MySQL 5.0 and setup the database using
/juddi/sql/mysql/*.sql
* Installed Apache Tomcat 5.5 and inserted the following
context:

<Context path="/juddi"
docBase="E:ToolsJavaJUDDIwebappjuddi"
   debug="5" reloadable="true"
crossContext="true">
   <Logger
className="org.apache.catalina.logger.FileLogger"

      prefix="localhost_juddiDB_log"
suffix=".txt"timestamp="true"/>      
         
   <Resource name="jdbc/juddiDB"
auth="Container"
type="javax.sql.DataSource"
      maxActive="100" maxIdle="30"
maxWait="10000"
      username="juddi" password="juddi"
driverClassName="com.mysql.jdbc.Driver"
     
url="jdbc:mysql://localhost:3306/juddi?autoReconnect=tr
ue"/> 
</Context>

How can I get around this?

Regards,
Anreas Nilsson
-- 
View this message in context: http://www.nabble.com/Won%27t-work-tf3245520.html#a902
2055
Sent from the jUDDI - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
For additional commands, e-mail: juddi-user-helpws.apache.org


Re: Won't work
country flaguser name
United States
2007-02-17 12:26:26
I've had the exact same problem when I tried to use juddi
with java1.6, but
everything was nice with java1.5.
make sure your classpath points to java 1.5 

Hope this help



amidrunk wrote:
> 
> Hi,
> 
> I've been struggeling for a while now to get juddi to
work, but it simply
> won't. The validation works as expected, but juddi
crashes on _every_
> message sent to it. I've tested the following
configurations:
> 
> * Windows XP + MySQL 5.0 + Apache Tomcat 5.5.20 + Java
1.5.0_09
> * Windows XP + MySQL 4.1 + Apache Tomcat 5.5.20 + Java
1.5.0_09
> * Windows XP + Firebird 2.0 + Apache Tomcat 5.5.20 +
Java 1.5.0_09
> * Windows Vista + MySQL 5.0 + Apache Tomcat 5.5.20 +
Java 1.6.0-b105
> (totally clean)
> 
> When validating, everything is ok. When I go to the
console and invoke
> "get_authToken" (or anything, for that
matter) I get:
> 
> 2007-02-17 18:26:08,764 [http-8080-Processor24] ERROR
> org.apache.juddi.registry.
> AbstractService  -
com.sun.xml.internal.messaging.saaj.soap.impl.TextImpl
> cannot
>  be cast to org.w3c.dom.Element
> java.lang.ClassCastException:
> com.sun.xml.internal.messaging.saaj.soap.impl.Text
> Impl cannot be cast to org.w3c.dom.Element
>         at
>
org.apache.juddi.registry.AbstractService.doPost(AbstractSer
vice.java
> :103)
> ....
> 
> And subsequently:
> 2007-02-17 18:26:08,787 [http-8080-Processor24] ERROR
> org.apache.juddi.registry.
> AbstractService  - A serious error has occured while
assembling the SOAP
> Fault.
> com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl:
No NamespaceURI,
> SOAP req
> uires faultcode content to be a QName
>         at
>
com.sun.xml.internal.messaging.saaj.soap.impl.FaultImpl.setF
aultCode(
> FaultImpl.java:101)
>         at
>
com.sun.xml.internal.messaging.saaj.soap.impl.FaultImpl.setF
aultCode(
> FaultImpl.java:89)
>         at
>
org.apache.juddi.registry.AbstractService.doPost(AbstractSer
vice.java
> :317)
> 
> The message I'm sending is:
> <?xml version="1.0"
encoding="utf-8"?>
> <soapenv:Envelope
> xmlns:soapenv="h
ttp://schemas.xmlsoap.org/soap/envelope/">
>   <soapenv:Body>
>     <get_authToken generic="2.0"
xmlns="urn:uddi-org:api_v2" 
>       userID="jdoe" 
>       cred=""/>
>   </soapenv:Body>
> </soapenv:Envelope>
> 
> The response is:
> <?xml version="1.0"
encoding="utf-8" ?>
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="h
ttp://schemas.xmlsoap.org/soap/envelope/">
>    <SOAP-ENV:Header/>
>    <SOAP-ENV:Body>
>       <SOAP-ENV:Fault>
>         
<faultcode>SOAP-ENV:Server</faultcode>
>          <faultstring>Fault string, and possibly
fault code, not
> set</faultstring>
>       </SOAP-ENV:Fault>
>    </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> 
> The last setup I tested was from a newly installed
computer, and I
> proceeded like this:
> * Installed MySQL 5.0 and setup the database using
/juddi/sql/mysql/*.sql
> * Installed Apache Tomcat 5.5 and inserted the
following context:
> 
> <Context path="/juddi"
docBase="E:ToolsJavaJUDDIwebappjuddi"
>    debug="5" reloadable="true"
crossContext="true">
>    <Logger
className="org.apache.catalina.logger.FileLogger"

>       prefix="localhost_juddiDB_log"
suffix=".txt"timestamp="true"/>      
         
>    <Resource name="jdbc/juddiDB"
auth="Container"
> type="javax.sql.DataSource"
>       maxActive="100" maxIdle="30"
maxWait="10000"
>       username="juddi"
password="juddi"
> driverClassName="com.mysql.jdbc.Driver"
>      
url="jdbc:mysql://localhost:3306/juddi?autoReconnect=tr
ue"/> 
> </Context>
> 
> How can I get around this?
> 
> Regards,
> Anreas Nilsson
> 

-- 
View this message in context: http://www.nabble.com/Won%27t-work-tf3245520.html#a902
2507
Sent from the jUDDI - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
For additional commands, e-mail: juddi-user-helpws.apache.org


Re: Won't work
country flaguser name
United States
2007-02-17 15:38:56
Wow, that actually did it... Just seconds before I gave up


Thanks a lot!

Regards,
Nille


faith wrote:
> 
> I've had the exact same problem when I tried to use
juddi with java1.6,
> but everything was nice with java1.5.
> make sure your classpath points to java 1.5 
> 
> Hope this help
> 
> 
> 
> amidrunk wrote:
>> 
>> Hi,
>> 
>> I've been struggeling for a while now to get juddi
to work, but it simply
>> won't. The validation works as expected, but juddi
crashes on _every_
>> message sent to it. I've tested the following
configurations:
>> 
>> * Windows XP + MySQL 5.0 + Apache Tomcat 5.5.20 +
Java 1.5.0_09
>> * Windows XP + MySQL 4.1 + Apache Tomcat 5.5.20 +
Java 1.5.0_09
>> * Windows XP + Firebird 2.0 + Apache Tomcat 5.5.20
+ Java 1.5.0_09
>> * Windows Vista + MySQL 5.0 + Apache Tomcat 5.5.20
+ Java 1.6.0-b105
>> (totally clean)
>> 
>> When validating, everything is ok. When I go to the
console and invoke
>> "get_authToken" (or anything, for that
matter) I get:
>> 
>> 2007-02-17 18:26:08,764 [http-8080-Processor24]
ERROR
>> org.apache.juddi.registry.
>> AbstractService  -
com.sun.xml.internal.messaging.saaj.soap.impl.TextImpl
>> cannot
>>  be cast to org.w3c.dom.Element
>> java.lang.ClassCastException:
>> com.sun.xml.internal.messaging.saaj.soap.impl.Text
>> Impl cannot be cast to org.w3c.dom.Element
>>         at
>>
org.apache.juddi.registry.AbstractService.doPost(AbstractSer
vice.java
>> :103)
>> ....
>> 
>> And subsequently:
>> 2007-02-17 18:26:08,787 [http-8080-Processor24]
ERROR
>> org.apache.juddi.registry.
>> AbstractService  - A serious error has occured
while assembling the SOAP
>> Fault.
>>
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: No
NamespaceURI,
>> SOAP req
>> uires faultcode content to be a QName
>>         at
>>
com.sun.xml.internal.messaging.saaj.soap.impl.FaultImpl.setF
aultCode(
>> FaultImpl.java:101)
>>         at
>>
com.sun.xml.internal.messaging.saaj.soap.impl.FaultImpl.setF
aultCode(
>> FaultImpl.java:89)
>>         at
>>
org.apache.juddi.registry.AbstractService.doPost(AbstractSer
vice.java
>> :317)
>> 
>> The message I'm sending is:
>> <?xml version="1.0"
encoding="utf-8"?>
>> <soapenv:Envelope
>> xmlns:soapenv="h
ttp://schemas.xmlsoap.org/soap/envelope/">
>>   <soapenv:Body>
>>     <get_authToken generic="2.0"
xmlns="urn:uddi-org:api_v2" 
>>       userID="jdoe" 
>>       cred=""/>
>>   </soapenv:Body>
>> </soapenv:Envelope>
>> 
>> The response is:
>> <?xml version="1.0"
encoding="utf-8" ?>
>> <SOAP-ENV:Envelope
>> xmlns:SOAP-ENV="h
ttp://schemas.xmlsoap.org/soap/envelope/">
>>    <SOAP-ENV:Header/>
>>    <SOAP-ENV:Body>
>>       <SOAP-ENV:Fault>
>>         
<faultcode>SOAP-ENV:Server</faultcode>
>>          <faultstring>Fault string, and
possibly fault code, not
>> set</faultstring>
>>       </SOAP-ENV:Fault>
>>    </SOAP-ENV:Body>
>> </SOAP-ENV:Envelope>
>> 
>> The last setup I tested was from a newly installed
computer, and I
>> proceeded like this:
>> * Installed MySQL 5.0 and setup the database using
/juddi/sql/mysql/*.sql
>> * Installed Apache Tomcat 5.5 and inserted the
following context:
>> 
>> <Context path="/juddi"
docBase="E:ToolsJavaJUDDIwebappjuddi"
>>    debug="5" reloadable="true"
crossContext="true">
>>    <Logger
className="org.apache.catalina.logger.FileLogger"

>>       prefix="localhost_juddiDB_log"
suffix=".txt"timestamp="true"/>      
         
>>    <Resource name="jdbc/juddiDB"
auth="Container"
>> type="javax.sql.DataSource"
>>       maxActive="100"
maxIdle="30" maxWait="10000"
>>       username="juddi"
password="juddi"
>> driverClassName="com.mysql.jdbc.Driver"
>>      
url="jdbc:mysql://localhost:3306/juddi?autoReconnect=tr
ue"/> 
>> </Context>
>> 
>> How can I get around this?
>> 
>> Regards,
>> Anreas Nilsson
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Won%27t-work-tf3245520.html#a902
4226
Sent from the jUDDI - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: juddi-user-unsubscribews.apache.org
For additional commands, e-mail: juddi-user-helpws.apache.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )