I just downloaded a fresh juddi-portal-bundle-3.0.4, and followed the instructions in Chapter 11
http://juddi.apache.org/docs/3.0/userguide/html/chap-Subscription.html#sect-subscription_intro

cd juddiv3/WEB-INF/classes
mv RENAME4SALES_juddi_custom_install_data juddi_custom_install_data


and I made sure 'sales' resolves to my IP address (192.168.1.19    sales, in my 
/etc/hosts file)


then I started tomcat: ./start.sh

When I access: http://sales:8080/juddiv3 I see



     Node Information

*Root Partition:*       uddi:juddi.apache.org
*Node Id:*      uddi:juddi.apache.org:business-sales-asf
*Name:*         An Root Sales jUDDI Node
*Description:* This is a UDDI v3 registry node as implemented by Apache jUDDI.

Now I click on portal and log in as root/root or sales/sales

and I can browse the services..

I've tried this on linux and OSX.

Are you on one of those platforms?

--Kurt








On 6/29/11 10:19 PM, Amine G wrote:
Yes i can, but once i fill the the user name and the password of the portlet, i have the error in the uddi browser

------------------------------------------------------------------------
Date: Wed, 29 Jun 2011 22:15:31 -0400
From: [email protected]
To: [email protected]
Subject: Re: Changing the hostname

Are you binding tomcat to the same hostname? Can you see the jsp page at:

http://<hostname>:8080/juddiv3

--Kurt


On 6/29/11 10:12 PM, Amine G wrote:

    Hi kurt,

    well in ~\Tomcat\webapps\uddi-portlets\WEB-INF\classes\META-INF
    there is 3 files :

        * uddi.xml
        * uddi.xml.marketing
        * uddi.xml.sales


    So if i rename uddi.xml.marketing to uddi.xml, so i'll have 2
    files having the same name.

       1. i replaced uddi.xml by the new one.
       2. i removed uddi.xml.marketing and uddi.xml.sales


    But in this 2 cases i obtained the same result (attached file). i
    don't know what else i can do ? Please Help

    Think's again


    ------------------------------------------------------------------------
    Date: Wed, 29 Jun 2011 13:50:59 -0400
    From: [email protected] <mailto:[email protected]>
    To: [email protected] <mailto:[email protected]>
    Subject: Re: Changing the hostname

    Hi Amine,

    Just make sure you rename uddi.xml.marketing to uddi.xml if that
    is the one you want to use.
    Other then that I see no reason why it would not work.

    --Kurt

    On 6/29/11 1:20 PM, Amine G wrote:

        Hay again,

        The reason of my problem is that i wanted to change the
        localhost by a hostname, so i changed it in the following files  :

            * the 04 files mentioned chapter 11 (changing the port)
            * ~\Tomcat\webapps\uddi-portlets\WEB-INF\classes\juddiv3.properties
            * 
~\Tomcat\webapps\uddi-portlets\WEB-INF\classes\META-INF\uddi.xml.marketing


        i get this error after entering the portlet :
        Error rendering portlet.

        org.apache.pluto.PortletContainerException: Unable to obtain the 
servlet context for the portlet app context path [/uddi-portlets]. Make sure 
that the portlet app has been deployed, and that cross context support is 
enabled for the portal app.
                at 
org.apache.pluto.core.PortletContainerImpl.getPortletAppContext(PortletContainerImpl.java:429)
                at 
org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:155)
                at 
org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152)
                at 
org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspx_meth_pluto_005fportlet_005f0(portlet_002dskin_jsp.java:105)
                at 
org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:79)
                at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
                at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
                at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
                at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
                at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
                at 
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
                at 
org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fforEach_005f1(pluto_002ddefault_002dtheme_jsp.java:589)
                at 
org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fotherwise_005f0(pluto_002ddefault_002dtheme_jsp.java:533)
                at 
org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fchoose_005f0(pluto_002ddefault_002dtheme_jsp.java:394)
                at 
org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:227)
                at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
                at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
                at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
                at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
                at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
                at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
                at 
org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
                at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                at 
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:394)
                at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
                at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
                at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
                at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

        at
        java.lang.Thread.run(Thread.java:662)

        am i missing an other file !!!

        think's




Reply via email to