Sorry Gunnlaugur,

Give me a day or so. Haven't forgotten about you :)!

--Kurt

Gunnlaugur Sigurðsson wrote:
Hi Kurt.

Have you had any time to look into the issue in my last post?

Kind regards
-Gunnlaugur



2010/4/23 Gunnlaugur Sigurðsson <[email protected] <mailto:[email protected]>>

    Hi Kurt.

    I checked out the source and ran mvn install, but maven is unable
    to find the jdocbook-plugin
    [INFO] Unable to find resource
    'org.jboss.maven.plugins:maven-jdocbook-plugin:pom:2.2.0' in
    repository repository.jboss.org <http://repository.jboss.org>
    (http://repository.jboss.org/maven2/)

    I've browsed the jboss repo but could not find it.
    Do you know where I can find it?

    Thanks.
    -Gunnlaugur






    On Fri, Apr 23, 2010 at 6:12 PM, Kurt Stam <[email protected]
    <mailto:[email protected]>> wrote:


        Hi Gunnlaugur,

        Could you try the same with the code from the trunk?

        Just check it out and run
        mvn install

        Thx!

        --Kurt

        Sent from my iPhone

        On Apr 23, 2010, at 3:05 AM, Gunnlaugur Sigurðsson
        <[email protected] <mailto:[email protected]>> wrote:

        Hi Kurt.

        I've watched all the demo's on the blog site and still can't
        get the web service to auto register.

        I added the DEBUG to this line to the logging.properties file
        in the /opt/juddi-portal-bundle-3.0.1/conf directory
        org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level
        = INFO, DEBUG

        juddi.log, host-manager.2010-04-23.log and
        pluto.2010-04-23.log are empty after I reloaded my web service
        The following is an output from the other logs in
        /opt/juddi-portal-bundle-3.0.1/logs


        # catalina.out

        Apr 23, 2010 9:41:40 AM
        org.apache.catalina.core.StandardContext reload
        INFO: Reloading this Context has started
        2010-04-23 09:41:40,042 INFO
        [org.apache.cxf.bus.spring.BusApplicationContext] - Closing
        org.apache.cxf.bus.spring.busapplicationcont...@19a8bf2:
        display name
        [org.apache.cxf.bus.spring.busapplicationcont...@19a8bf2];
        startup date [Fri Apr 23 08:49:06 GMT 2010]; parent:
        org.springframework.web.context.support.xmlwebapplicationcont...@1bf48de
        Apr 23, 2010 9:41:41 AM org.apache.cxf.endpoint.ServerImpl
        initDestination
        INFO: Setting the server's publish address to be /App
        Apr 23, 2010 9:41:41 AM
        org.apache.cxf.transport.servlet.CXFServlet updateContext
        INFO: Load the bus with application context
        2010-04-23 09:41:41,648 INFO
        [org.apache.cxf.bus.spring.BusApplicationContext] -
        Refreshing
        org.apache.cxf.bus.spring.busapplicationcont...@849077:
        display name
        [org.apache.cxf.bus.spring.busapplicationcont...@849077];
        startup date [Fri Apr 23 09:41:41 GMT 2010]; parent:
        org.springframework.web.context.support.xmlwebapplicationcont...@6fc65
        Apr 23, 2010 9:41:41 AM
        org.apache.cxf.bus.spring.BusApplicationContext
        getConfigResources
        INFO: No cxf.xml configuration file detected, relying on
        defaults.
        2010-04-23 09:41:41,673 INFO
        [org.apache.cxf.bus.spring.BusApplicationContext] - Bean
        factory for application context
        [org.apache.cxf.bus.spring.busapplicationcont...@849077]:
        
org.springframework.beans.factory.support.defaultlistablebeanfact...@12c6051
        Apr 23, 2010 9:41:41 AM
        org.apache.cxf.transport.servlet.AbstractCXFServlet
        replaceDestinationFactory
        INFO: Servlet transport factory already registered


        # localhost.2010-04-23.log

        Apr 23, 2010 9:41:40 AM
        org.apache.catalina.core.ApplicationContext log
        INFO: Shutting down log4j
        Apr 23, 2010 9:41:40 AM
        org.apache.catalina.core.ApplicationContext log
        INFO: Closing Spring root WebApplicationContext
        Apr 23, 2010 9:41:40 AM
        org.apache.catalina.core.ApplicationContext log
        INFO: Initializing Spring root WebApplicationContext
        Apr 23, 2010 9:41:41 AM
        org.apache.catalina.core.ApplicationContext log
        INFO: Set web app root system property:
        'annotation.test.root' =
        [/opt/juddi-portal-bundle-3.0.1/webapps/annotation.test/]
        Apr 23, 2010 9:41:41 AM
        org.apache.catalina.core.ApplicationContext log
        INFO: Initializing log4j from
        
[/opt/juddi-portal-bundle-3.0.1/webapps/annotation.test/WEB-INF/classes/log4j.properties]


        # manager.2010-04-23.log

        Apr 23, 2010 9:41:40 AM
        org.apache.catalina.core.ApplicationContext log
        INFO: HTMLManager: restart: Reloading web application at
        '/annotation.test'
        Apr 23, 2010 9:41:41 AM
        org.apache.catalina.core.ApplicationContext log
        INFO: HTMLManager: list: Listing contexts for virtual host
        'localhost'




        Here is the uddi.xml I use in my web service.

        <?xml version="1.0" encoding="ISO-8859-1" ?>
        <uddi>
         <reloadDelay>5000</reloadDelay>
         <manager name="example-manager">
          <nodes>
           <node>
            <name>App</name>
<description>Sales jUDDI node</description> <properties>
             <property name="serverName"  value="localhost"/>
             <property name="serverPort"  value="8086"/>
             <property name="keyDomain"   value="sales.apache.org
        <http://sales.apache.org>"/>
             <property name="department"  value="sales" />
            </properties>
<proxyTransport>org.apache.juddi.v3.client.transport.JAXWSTransport</proxyTransport> <custodyTransferUrl>http://${serverName}:${serverPort}/juddiv3/service/custody-transfer?wsdl
        
<http://%24%7BserverName%7D%3A$%7BserverPort%7D/juddiv3/service/custody-transfer?wsdl></custodyTransferUrl>
<inquiryUrl>http://${serverName}:${serverPort}/juddiv3/service/inquiry?wsdl
        
<http://%24%7BserverName%7D%3A$%7BserverPort%7D/juddiv3/service/inquiry?wsdl></inquiryUrl>
<publishUrl>http://${serverName}:${serverPort}/juddiv3/service/publish?wsdl
        
<http://%24%7BserverName%7D%3A$%7BserverPort%7D/juddiv3/service/publish?wsdl></publishUrl>
<securityUrl>http://${serverName}:${serverPort}/juddiv3/service/security?wsdl
        
<http://%24%7BserverName%7D%3A$%7BserverPort%7D/juddiv3/service/security?wsdl></securityUrl>
<subscriptionUrl>http://${serverName}:${serverPort}/juddiv3/service/subscription?wsdl
        
<http://%24%7BserverName%7D%3A$%7BserverPort%7D/juddiv3/service/subscription?wsdl></subscriptionUrl>
<subscriptionListenerUrl>http://${serverName}:${serverPort}/juddiv3/service/subscription-listener?wsdl
        
<http://%24%7BserverName%7D%3A$%7BserverPort%7D/juddiv3/service/subscription-listener?wsdl></subscriptionListenerUrl>
<juddiApiUrl>http://${serverName}:${serverPort}/juddiv3/service/juddi-api?wsdl
        
<http://%24%7BserverName%7D%3A$%7BserverPort%7D/juddiv3/service/juddi-api?wsdl></juddiApiUrl>
           </node>
          </nodes>
          <clerks registerOnStartup="true">
           <clerk name="BobCratchit" node="default" publisher="sales"
        password="sales">
            <class>my.domain.juddi.ws.AppImpl</class>
           </clerk>
          </clerks>
         </manager>
        </uddi>


        My web service implementation

        @UDDIService(
                  businessKey="uddi:myBusinessKey",
                  serviceKey="uddi:myServiceKey",
                  description = "Hello World test service")
        @UDDIServiceBinding(
                  bindingKey="uddi:myServiceBindingKey",
                  description="WSDL endpoint for the
        hello${department} Service. This service is used for testing
        the jUDDI annotation functionality",
                  accessPointType="wsdlDeployment",
accessPoint="http://${serverName}:${serverPort}/annotation.test/App?wsdl
        
<http://%24%7BserverName%7D%3A$%7BserverPort%7D/annotation.test/App?wsdl>")

        @WebService(endpointInterface = "is.siminn.juddi.ws.App",
        serviceName="App",
        targetNamespace="http://annotation.test.dev.ut.siminn.is/ws";)
        @Controller
        public class AppImpl implements App {
            private static final Log log =
        LogFactory.getLog(AppImpl.class);
@Autowired
            private AppInfoService appService;
public AppInfo Hello(String appName) {
                log.debug("got a request with a name: " + appName);
                return appService.getAppInfo(appName);
            }
        }



        Thanks.
        -Gunnlaugur




        On Wed, Apr 21, 2010 at 3:32 PM, Kurt Stam
        <[email protected] <mailto:[email protected]>> wrote:

            Yup you can, you just can't use an InVM transport in that
            case.

            --K

            On Apr 21, 2010, at 8:04 AM, Gunnlaugur Sigurðsson
            <[email protected]
            <mailto:[email protected]>> wrote:

            Hi Kurt.

            Just so I have this clear.

            Can I deploy my web service to one tomcat instance and
            have it register the service to juddi on another tomcat
            instance that's responsible for running the registry ?
            Or is my war file deployed into the juddi tomcat instance?

            Thanks.

            Kind regards.
            Gunnlaugur




            On Wed, Apr 21, 2010 at 2:06 PM, Kurt T Stam
            <[email protected] <mailto:[email protected]>> wrote:

                Hi Gunnlaugur,

                Here some suggestions that maybe helpful:

                1. Follow the screencast on our blog to deploy the
                juddi-sample.war
                which does just what you want.

                2. Turn on debug level logging and post that so we
                can see what's going on.

                --Kurt

                On Tuesday, April 20, 2010, Gunnlaugur Sigurðsson
                <[email protected]
                <mailto:[email protected]>> wrote:
                > Hello.
                >
                > I sent this message earlier, but I had not
                registered to the list so I thought I needed to do
                that before.
                > But if the message did get to the list in my prior
                post, I apologize for this message.
                >
                > I'm new to juddi.
                > I've installed jUDDI version 3.0.1 using the
                default configuration and can browse the registry
                using UDDIBrowser Portlet.
                >
                > Now I'm trying to register service I created for a
                test I'm performing.
                > I'm using eclipse and have a tomcat instance
                running (ports 8080, 8015, 8019)
                >
                > I followed the example on the blog site
                >
                
http://apachejuddi.blogspot.com/2009/11/uddi-annotations-how-do-i-self-register.html
                > But the service is not getting registered in the
                juddi registry. The service is deployed to my
                tomcat/eclipse server successfully and I get the
                wsdl page in the eclipse Web Service Explorer.
                > I'm I missing something in my test? Thanks.
                >
                >
                > Here is the code I have for my service.
                > # App.java
                > @WebService(name="App",
                targetNamespace="http://annotation.test.dev.my.domain.com/ws";)
                > public interface App {
                >
                >     @UDDIService(
                >               businessKey="uddi:myBusinessKey",
                >               serviceKey="uddi:myServiceKey",
                >               description = "Hello World test
                service")
                >     @UDDIServiceBinding(
                >               bindingKey="uddi:myServiceBindingKey",
                >               description="WSDL endpoint for the
                hello${department} Service. This service is used for
                testing the jUDDI annotation functionality",
                >               accessPointType="wsdlDeployment",
> accessPoint="http://${serverName}:${serverPort}/annotation.test/App?wsdl
                
<http://%24%7BserverName%7D%3A$%7BserverPort%7D/annotation.test/App?wsdl>")
                >
                >     @WebMethod(operationName = "Hello")
                >     @WebResult(name="AppInfo")
                >     AppInfo Hello(@WebParam(name="AppName") String
                appName);
                > }
                >
                > # uddi.xml
                > <?xml version="1.0" encoding="ISO-8859-1" ?>
                > <uddi>
                >  <reloadDelay>5000</reloadDelay>
                >  <manager name="example-manager">
                >   <nodes>
                >    <node>
                >     <name>App</name>
                >     <description>Sales jUDDI node</description>
                >     <properties>
                >      <property name="serverName"  value="localhost"/>
                >      <property name="serverPort"  value="8086"/>
> <property name="keyDomain" value="juddi.my.domain.com
                <http://juddi.my.domain.com>"/>
> <property name="department" value="development" />
                >     </properties>
> <proxyTransport>org.apache.juddi.v3.client.transport.InVMTransport</proxyTransport> > <custodyTransferUrl>org.apache.juddi.api.impl.UDDICustodyTransferImpl</custodyTransferUrl> > <inquiryUrl>org.apache.juddi.api.impl.UDDIInquiryImpl</inquiryUrl> > <publishUrl>org.apache.juddi.api.impl.UDDIPublicationImpl</publishUrl> > <securityUrl>org.apache.juddi.api.impl.UDDISecurityImpl</securityUrl> > <subscriptionUrl>org.apache.juddi.api.impl.UDDISubscriptionImpl</subscriptionUrl> > <subscriptionListenerUrl>org.apache.juddi.api.impl.UDDISubscriptionListenerImpl</subscriptionListenerUrl> > <juddiApiUrl>org.apache.juddi.api.impl.JUDDIApiImpl</juddiApiUrl>
                >    </node>
                >   </nodes>
                >   <clerks registerOnStartup="true">
                >    <clerk name="BobCratchit" node="default"
                publisher="development" password="development">
                >     <class>my.domain.com.juddi.ws.AppImpl</class>
                >    </clerk>
                >   </clerks>
                >  </manager>
                > </uddi>
                >
                > --
                >
                > Kveðja/Regards
                > Gunnlaugur Sigurðsson
                > [email protected]
                <mailto:[email protected]>
                > Mobile: (+354) 896-7963
                > Home: (+354) 565-5229
                >




--
            Kveðja/Regards
            Gunnlaugur Sigurðsson
            [email protected] <mailto:[email protected]>
            Mobile: (+354) 896-7963
            Home: (+354) 565-5229




--
        Kveðja/Regards
        Gunnlaugur Sigurðsson
        [email protected] <mailto:[email protected]>
        Mobile: (+354) 896-7963
        Home: (+354) 565-5229




--
    Kveðja/Regards
    Gunnlaugur Sigurðsson
    [email protected] <mailto:[email protected]>
    Mobile: (+354) 896-7963
    Home: (+354) 565-5229




--

Kveðja/Regards
Gunnlaugur Sigurðsson
[email protected] <mailto:[email protected]>
Mobile: (+354) 896-7963
Home: (+354) 565-5229

Reply via email to