You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Mike Woinoski <ne...@pineneedleconsulting.com> on 2005/08/16 00:22:15 UTC

Problem installing juddi 0.9rc4 (status 500 from Tomcat)

Hi. I'm trying to install juddi 0.9rc4 on Java 1.5.0, Tomcat 5.0 (actually, the 
tomcat50-jwsdp version bundled with the JWSDP libraries) and MySQL 4.1. I did 
the following steps:
	Installed the juddi webapp
	Ran the create_database.sql script
	Add a user with publisher_id 'juddi' to the Publisher table
	Modified server.xml
Now the Happy jUDDI page displays correctly and shows that all libraries are 
present and juddi is able to connect to the DB. However, any requests to 
http://localhost:8080/juddi/inquiry return a server status 500 due to a 
NullPointerException in org.apache.juddi.registry.AbstractService.doPost (line 344).

I saw some older posts discussing similar problems caused by incompatibilities 
with juddi 0.9 and Java 1.5. Is that still a problem? If so, is there a 
work-around? (I need to use Java 1.5 and JWSDP 1.6 for this project.)

Thanks,
Mike



Re: Problem installing juddi 0.9rc4 (status 500 from Tomcat)

Posted by Marc Fle <fl...@rhrk.uni-kl.de>.
Hello Mike,

I am trying to change the datasource in the JUDDI validation page for using
JUDDI with Postgres DB.
I already changed, the server.xml file the juddi.properties file and the
web.xml in the juddi/WEB-INF directory. But it didn`t work. Could you tell
me how you got your DB to work with JUDDI.

I`m using Tomcat 5.5.12
               JUDDI 0.9 rc4
               and JDK 1.5

Please send me full installation instructions, because I have already read
many wrong things on the Internet.

Thank you for help,

Marc 
-- 
View this message in context: http://www.nabble.com/Problem-installing-juddi-0.9rc4-%28status-500-from-Tomcat%29-tf226452.html#a5078860
Sent from the jUDDI - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-user-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-user-help@ws.apache.org


Re: Problem installing juddi 0.9rc4 (status 500 from Tomcat)

Posted by Angel Luis Villalain Garcia <an...@gmail.com>.
Mike Woinoski wrote:

> Angel Villalain wrote:
>
>> Did you try one of the examples of uddi4j?
>
>
> No, I haven't done any testing at all. It will be about 2 weeks before 
> I have time to test the registry.
>
> Mike
>
Well can you tell me once you try that if it is working for you, because 
I could run everything and even the happyjuddy, was saying that 
everything was alright but the uddi4j example codes did not work.

>>
>>
>> On 8/18/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
>>
>>> I didn't do anything unusual. I installed Java 1.5 using
>>> jdk-1_5_0_04-windows-i586-p.exe (it's the only version of Java 
>>> installed on this
>>> machine), then installed Tomcat 5.5.9 using the exe file from
>>> http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi, 
>>> then installed
>>> MySQL 4.1 with the Connector/J driver 
>>> (mysql-connector-java-3.1.10.zip) and
>>> juddi 0.9rc4. I haven't tested thoroughly but at least I can connect 
>>> to juddi
>>> with no errors, which is promising.
>>>
>>> Mike
>>>
>>> Angel Villalain wrote:
>>>
>>>> Can you tell me what you did?
>>>>
>>>> On 8/18/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
>>>>
>>>>
>>>>> That's interesting. I got juddi working with java 1.5 and Tomcat 5.5.
>>>>>
>>>>> I need to use java 1.5, so for now I'll install a separate Tomcat 
>>>>> 5.5 instance
>>>>> just for juddi, and use the jwsdp Tomcat for XWS, the ebXML 
>>>>> registry, etc.
>>>>>
>>>>> Mike
>>>>>
>>>>> Angel Villalain wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Well I have not been able to do it, so I decided to rollback to the
>>>>>> 1.4.2 version of java. I am using the jwsdp 1.6 also but with 1.4.2
>>>>>> and it is working try that. Is there another reason that you should
>>>>>> use 1.5 version?
>>>>>>
>>>>>> On 8/15/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Hi. I'm trying to install juddi 0.9rc4 on Java 1.5.0, Tomcat 5.0 
>>>>>>> (actually, the
>>>>>>> tomcat50-jwsdp version bundled with the JWSDP libraries) and 
>>>>>>> MySQL 4.1. I did
>>>>>>> the following steps:
>>>>>>>      Installed the juddi webapp
>>>>>>>      Ran the create_database.sql script
>>>>>>>      Add a user with publisher_id 'juddi' to the Publisher table
>>>>>>>      Modified server.xml
>>>>>>> Now the Happy jUDDI page displays correctly and shows that all 
>>>>>>> libraries are
>>>>>>> present and juddi is able to connect to the DB. However, any 
>>>>>>> requests to
>>>>>>> http://localhost:8080/juddi/inquiry return a server status 500 
>>>>>>> due to a
>>>>>>> NullPointerException in 
>>>>>>> org.apache.juddi.registry.AbstractService.doPost (line 344).
>>>>>>>
>>>>>>> I saw some older posts discussing similar problems caused by 
>>>>>>> incompatibilities
>>>>>>> with juddi 0.9 and Java 1.5. Is that still a problem? If so, is 
>>>>>>> there a
>>>>>>> work-around? (I need to use Java 1.5 and JWSDP 1.6 for this 
>>>>>>> project.)
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Mike
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>
>>
>
>
>


Re: Problem installing juddi 0.9rc4 (status 500 from Tomcat)

Posted by Mike Woinoski <ne...@pineneedleconsulting.com>.
Angel Villalain wrote:

> Did you try one of the examples of uddi4j?

No, I haven't done any testing at all. It will be about 2 weeks before I have 
time to test the registry.

Mike

> 
> 
> On 8/18/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
> 
>>I didn't do anything unusual. I installed Java 1.5 using
>>jdk-1_5_0_04-windows-i586-p.exe (it's the only version of Java installed on this
>>machine), then installed Tomcat 5.5.9 using the exe file from
>>http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi, then installed
>>MySQL 4.1 with the Connector/J driver (mysql-connector-java-3.1.10.zip) and
>>juddi 0.9rc4. I haven't tested thoroughly but at least I can connect to juddi
>>with no errors, which is promising.
>>
>>Mike
>>
>>Angel Villalain wrote:
>>
>>>Can you tell me what you did?
>>>
>>>On 8/18/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
>>>
>>>
>>>>That's interesting. I got juddi working with java 1.5 and Tomcat 5.5.
>>>>
>>>>I need to use java 1.5, so for now I'll install a separate Tomcat 5.5 instance
>>>>just for juddi, and use the jwsdp Tomcat for XWS, the ebXML registry, etc.
>>>>
>>>>Mike
>>>>
>>>>Angel Villalain wrote:
>>>>
>>>>
>>>>
>>>>>Well I have not been able to do it, so I decided to rollback to the
>>>>>1.4.2 version of java. I am using the jwsdp 1.6 also but with 1.4.2
>>>>>and it is working try that. Is there another reason that you should
>>>>>use 1.5 version?
>>>>>
>>>>>On 8/15/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Hi. I'm trying to install juddi 0.9rc4 on Java 1.5.0, Tomcat 5.0 (actually, the
>>>>>>tomcat50-jwsdp version bundled with the JWSDP libraries) and MySQL 4.1. I did
>>>>>>the following steps:
>>>>>>      Installed the juddi webapp
>>>>>>      Ran the create_database.sql script
>>>>>>      Add a user with publisher_id 'juddi' to the Publisher table
>>>>>>      Modified server.xml
>>>>>>Now the Happy jUDDI page displays correctly and shows that all libraries are
>>>>>>present and juddi is able to connect to the DB. However, any requests to
>>>>>>http://localhost:8080/juddi/inquiry return a server status 500 due to a
>>>>>>NullPointerException in org.apache.juddi.registry.AbstractService.doPost (line 344).
>>>>>>
>>>>>>I saw some older posts discussing similar problems caused by incompatibilities
>>>>>>with juddi 0.9 and Java 1.5. Is that still a problem? If so, is there a
>>>>>>work-around? (I need to use Java 1.5 and JWSDP 1.6 for this project.)
>>>>>>
>>>>>>Thanks,
>>>>>>Mike
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
> 
> 



Re: Problem installing juddi 0.9rc4 (status 500 from Tomcat)

Posted by Angel Villalain <an...@gmail.com>.
Did you try one of the examples of uddi4j?


On 8/18/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
> I didn't do anything unusual. I installed Java 1.5 using
> jdk-1_5_0_04-windows-i586-p.exe (it's the only version of Java installed on this
> machine), then installed Tomcat 5.5.9 using the exe file from
> http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi, then installed
> MySQL 4.1 with the Connector/J driver (mysql-connector-java-3.1.10.zip) and
> juddi 0.9rc4. I haven't tested thoroughly but at least I can connect to juddi
> with no errors, which is promising.
> 
> Mike
> 
> Angel Villalain wrote:
> > Can you tell me what you did?
> >
> > On 8/18/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
> >
> >>That's interesting. I got juddi working with java 1.5 and Tomcat 5.5.
> >>
> >>I need to use java 1.5, so for now I'll install a separate Tomcat 5.5 instance
> >>just for juddi, and use the jwsdp Tomcat for XWS, the ebXML registry, etc.
> >>
> >>Mike
> >>
> >>Angel Villalain wrote:
> >>
> >>
> >>>Well I have not been able to do it, so I decided to rollback to the
> >>>1.4.2 version of java. I am using the jwsdp 1.6 also but with 1.4.2
> >>>and it is working try that. Is there another reason that you should
> >>>use 1.5 version?
> >>>
> >>>On 8/15/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
> >>>
> >>>
> >>>>Hi. I'm trying to install juddi 0.9rc4 on Java 1.5.0, Tomcat 5.0 (actually, the
> >>>>tomcat50-jwsdp version bundled with the JWSDP libraries) and MySQL 4.1. I did
> >>>>the following steps:
> >>>>       Installed the juddi webapp
> >>>>       Ran the create_database.sql script
> >>>>       Add a user with publisher_id 'juddi' to the Publisher table
> >>>>       Modified server.xml
> >>>>Now the Happy jUDDI page displays correctly and shows that all libraries are
> >>>>present and juddi is able to connect to the DB. However, any requests to
> >>>>http://localhost:8080/juddi/inquiry return a server status 500 due to a
> >>>>NullPointerException in org.apache.juddi.registry.AbstractService.doPost (line 344).
> >>>>
> >>>>I saw some older posts discussing similar problems caused by incompatibilities
> >>>>with juddi 0.9 and Java 1.5. Is that still a problem? If so, is there a
> >>>>work-around? (I need to use Java 1.5 and JWSDP 1.6 for this project.)
> >>>>
> >>>>Thanks,
> >>>>Mike
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
> 
> 
> 


-- 
La muerte sera una liberacion frente a esta parodia

Re: Problem installing juddi 0.9rc4 (status 500 from Tomcat)

Posted by Mike Woinoski <ne...@pineneedleconsulting.com>.
I didn't do anything unusual. I installed Java 1.5 using 
jdk-1_5_0_04-windows-i586-p.exe (it's the only version of Java installed on this 
machine), then installed Tomcat 5.5.9 using the exe file from 
http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi, then installed 
MySQL 4.1 with the Connector/J driver (mysql-connector-java-3.1.10.zip) and 
juddi 0.9rc4. I haven't tested thoroughly but at least I can connect to juddi 
with no errors, which is promising.

Mike

Angel Villalain wrote:
> Can you tell me what you did?
> 
> On 8/18/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
> 
>>That's interesting. I got juddi working with java 1.5 and Tomcat 5.5.
>>
>>I need to use java 1.5, so for now I'll install a separate Tomcat 5.5 instance
>>just for juddi, and use the jwsdp Tomcat for XWS, the ebXML registry, etc.
>>
>>Mike
>>
>>Angel Villalain wrote:
>>
>>
>>>Well I have not been able to do it, so I decided to rollback to the
>>>1.4.2 version of java. I am using the jwsdp 1.6 also but with 1.4.2
>>>and it is working try that. Is there another reason that you should
>>>use 1.5 version?
>>>
>>>On 8/15/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
>>>
>>>
>>>>Hi. I'm trying to install juddi 0.9rc4 on Java 1.5.0, Tomcat 5.0 (actually, the
>>>>tomcat50-jwsdp version bundled with the JWSDP libraries) and MySQL 4.1. I did
>>>>the following steps:
>>>>       Installed the juddi webapp
>>>>       Ran the create_database.sql script
>>>>       Add a user with publisher_id 'juddi' to the Publisher table
>>>>       Modified server.xml
>>>>Now the Happy jUDDI page displays correctly and shows that all libraries are
>>>>present and juddi is able to connect to the DB. However, any requests to
>>>>http://localhost:8080/juddi/inquiry return a server status 500 due to a
>>>>NullPointerException in org.apache.juddi.registry.AbstractService.doPost (line 344).
>>>>
>>>>I saw some older posts discussing similar problems caused by incompatibilities
>>>>with juddi 0.9 and Java 1.5. Is that still a problem? If so, is there a
>>>>work-around? (I need to use Java 1.5 and JWSDP 1.6 for this project.)
>>>>
>>>>Thanks,
>>>>Mike
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
> 
> 



Re: Problem installing juddi 0.9rc4 (status 500 from Tomcat)

Posted by Angel Villalain <an...@gmail.com>.
Can you tell me what you did?

On 8/18/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
> That's interesting. I got juddi working with java 1.5 and Tomcat 5.5.
> 
> I need to use java 1.5, so for now I'll install a separate Tomcat 5.5 instance
> just for juddi, and use the jwsdp Tomcat for XWS, the ebXML registry, etc.
> 
> Mike
> 
> Angel Villalain wrote:
> 
> > Well I have not been able to do it, so I decided to rollback to the
> > 1.4.2 version of java. I am using the jwsdp 1.6 also but with 1.4.2
> > and it is working try that. Is there another reason that you should
> > use 1.5 version?
> >
> > On 8/15/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
> >
> >>Hi. I'm trying to install juddi 0.9rc4 on Java 1.5.0, Tomcat 5.0 (actually, the
> >>tomcat50-jwsdp version bundled with the JWSDP libraries) and MySQL 4.1. I did
> >>the following steps:
> >>        Installed the juddi webapp
> >>        Ran the create_database.sql script
> >>        Add a user with publisher_id 'juddi' to the Publisher table
> >>        Modified server.xml
> >>Now the Happy jUDDI page displays correctly and shows that all libraries are
> >>present and juddi is able to connect to the DB. However, any requests to
> >>http://localhost:8080/juddi/inquiry return a server status 500 due to a
> >>NullPointerException in org.apache.juddi.registry.AbstractService.doPost (line 344).
> >>
> >>I saw some older posts discussing similar problems caused by incompatibilities
> >>with juddi 0.9 and Java 1.5. Is that still a problem? If so, is there a
> >>work-around? (I need to use Java 1.5 and JWSDP 1.6 for this project.)
> >>
> >>Thanks,
> >>Mike
> >>
> >>
> >>
> >
> >
> >
> 
> 
> 


-- 
La muerte sera una liberacion frente a esta parodia

Re: Problem installing juddi 0.9rc4 (status 500 from Tomcat)

Posted by Mike Woinoski <ne...@pineneedleconsulting.com>.
That's interesting. I got juddi working with java 1.5 and Tomcat 5.5.

I need to use java 1.5, so for now I'll install a separate Tomcat 5.5 instance 
just for juddi, and use the jwsdp Tomcat for XWS, the ebXML registry, etc.

Mike

Angel Villalain wrote:

> Well I have not been able to do it, so I decided to rollback to the
> 1.4.2 version of java. I am using the jwsdp 1.6 also but with 1.4.2
> and it is working try that. Is there another reason that you should
> use 1.5 version?
> 
> On 8/15/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
> 
>>Hi. I'm trying to install juddi 0.9rc4 on Java 1.5.0, Tomcat 5.0 (actually, the
>>tomcat50-jwsdp version bundled with the JWSDP libraries) and MySQL 4.1. I did
>>the following steps:
>>        Installed the juddi webapp
>>        Ran the create_database.sql script
>>        Add a user with publisher_id 'juddi' to the Publisher table
>>        Modified server.xml
>>Now the Happy jUDDI page displays correctly and shows that all libraries are
>>present and juddi is able to connect to the DB. However, any requests to
>>http://localhost:8080/juddi/inquiry return a server status 500 due to a
>>NullPointerException in org.apache.juddi.registry.AbstractService.doPost (line 344).
>>
>>I saw some older posts discussing similar problems caused by incompatibilities
>>with juddi 0.9 and Java 1.5. Is that still a problem? If so, is there a
>>work-around? (I need to use Java 1.5 and JWSDP 1.6 for this project.)
>>
>>Thanks,
>>Mike
>>
>>
>>
> 
> 
> 



Re: Problem installing juddi 0.9rc4 (status 500 from Tomcat)

Posted by Angel Villalain <an...@gmail.com>.
Well I have not been able to do it, so I decided to rollback to the
1.4.2 version of java. I am using the jwsdp 1.6 also but with 1.4.2
and it is working try that. Is there another reason that you should
use 1.5 version?

On 8/15/05, Mike Woinoski <ne...@pineneedleconsulting.com> wrote:
> Hi. I'm trying to install juddi 0.9rc4 on Java 1.5.0, Tomcat 5.0 (actually, the
> tomcat50-jwsdp version bundled with the JWSDP libraries) and MySQL 4.1. I did
> the following steps:
>         Installed the juddi webapp
>         Ran the create_database.sql script
>         Add a user with publisher_id 'juddi' to the Publisher table
>         Modified server.xml
> Now the Happy jUDDI page displays correctly and shows that all libraries are
> present and juddi is able to connect to the DB. However, any requests to
> http://localhost:8080/juddi/inquiry return a server status 500 due to a
> NullPointerException in org.apache.juddi.registry.AbstractService.doPost (line 344).
> 
> I saw some older posts discussing similar problems caused by incompatibilities
> with juddi 0.9 and Java 1.5. Is that still a problem? If so, is there a
> work-around? (I need to use Java 1.5 and JWSDP 1.6 for this project.)
> 
> Thanks,
> Mike
> 
> 
> 


-- 
La muerte sera una liberacion frente a esta parodia