Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/classes/juddiv3.properties URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/classes/juddiv3.properties?rev=1452528&view=auto ============================================================================== --- juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/classes/juddiv3.properties (added) +++ juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/classes/juddiv3.properties Mon Mar 4 21:10:04 2013 @@ -0,0 +1,90 @@ +################################################################ +# jUDDI-v3.0 configuration. # +################################################################ +# Note that the property settings in this # +# file can be overriden by system parameters # +# # +################################################################ +# +# The ${juddi.server.baseurl} token can be referenced in accessPoints and will be resolved at runtime. +juddi.server.baseurl=http://localhost:8080/juddiv3/ +# +juddi.root.publisher=root +# +juddi.seed.always=false +# +# Name of the persistence unit to use (the default, "juddiDatabase" refers to the unit compiled into the juddi library) +juddi.persistenceunit.name=juddiDatabase +# +# Check-the-time-stamp-on-this-file Interval in milli seconds +juddi.configuration.reload.delay=2000 +# +# Default locale +juddi.locale=en_US +# +#The UDDI Operator Contact Email Address [email protected] +# +# The maximum name size and maximum number +# of name elements allows in several of the +# FindXxxx and SaveXxxx UDDI functions. +juddi.maxNameLength=255 +juddi.maxNameElementsAllowed=5 +# +# +# The maximum number of rows returned in a find_* operation. Each call can set +# this independently, but this property defines a global maximum. +juddi.maxRows=1000 +# The maximum number of "IN" clause parameters. Some RDMBS limit the number of +# parameters allowed in a SQL "IN" clause. +juddi.maxInClause=1000 +# +# The maximum number of UDDI artifacts allowed +# per publisher. A value of '-1' indicates any +# number of artifacts is valid (These values can be +# overridden at the individual publisher level). +juddi.maxBusinessesPerPublisher=25 +juddi.maxServicesPerBusiness=20 +juddi.maxBindingsPerService=10 +juddi.maxTModelsPerPublisher=100 +# +# Days before a transfer request expires +juddi.transfer.expiration.days=3 +# +# Days before a subscription expires +juddi.subscription.expiration.days=365 +# +# Minutes before a "chunked" subscription call expires +juddi.subscription.chunkexpiration.minutes=5 +# +# jUDDI Authentication module to use +juddi.authenticator = org.apache.juddi.v3.auth.JUDDIAuthenticator +# +# jUDDI UUIDGen implementation to use +juddi.uuidgen = org.apache.juddi.uuidgen.DefaultUUIDGen +# +# jUDDI Cryptor implementation to use +juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor +# +# jUDDI Key Generator to use +juddi.keygenerator=org.apache.juddi.keygen.DefaultKeyGenerator +# +# Specifies whether the inquiry API requires authentication +juddi.authenticate.Inquiry=false +# +# Specifies the interval at which the notification timer triggers +juddi.notification.interval=5000 +# Specifies the amount of time to wait before the notification timer initially fires +juddi.notification.start.buffer=2000 + +# Register the jUDDI RMIServices to JNDI (true, false), false by default since the JNDI +# implementation in tomcat is readonly. You can use the web.xml instead. +juddi.jndi.registration=false +# Port used for RMI, 0 means that an anonymous port will be used. Set this +# to a known port if you need to go through a firewall. +juddi.rmi.port=0 + + + +# Duration of time for tokens to expire +juddi.auth.token.Timeout=15 \ No newline at end of file
Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/classes/org/apache/juddi/servlets/NotifyServlet.class URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/classes/org/apache/juddi/servlets/NotifyServlet.class?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/classes/org/apache/juddi/servlets/NotifyServlet.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/classes/org/apache/juddi/servlets/RegistryServlet.class URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/classes/org/apache/juddi/servlets/RegistryServlet.class?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/classes/org/apache/juddi/servlets/RegistryServlet.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-beanutils-1.7.0.jar URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-beanutils-1.7.0.jar?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-beanutils-1.7.0.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-beanutils-core-1.8.0.jar URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-beanutils-core-1.8.0.jar?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-beanutils-core-1.8.0.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-collections-3.2.1.jar URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-collections-3.2.1.jar?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-collections-3.2.1.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-configuration-1.6.jar URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-configuration-1.6.jar?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-configuration-1.6.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-digester-1.8.jar URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-digester-1.8.jar?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-digester-1.8.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-lang-2.4.jar URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-lang-2.4.jar?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-lang-2.4.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-logging-api-1.1.jar URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-logging-api-1.1.jar?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/commons-logging-api-1.1.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/geronimo-jaxws_2.2_spec-1.0.jar URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/geronimo-jaxws_2.2_spec-1.0.jar?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/geronimo-jaxws_2.2_spec-1.0.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/juddi-client-3.1.5-SNAPSHOT.jar URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/juddi-client-3.1.5-SNAPSHOT.jar?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/juddi-client-3.1.5-SNAPSHOT.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/juddi-core-openjpa-3.1.5-SNAPSHOT.jar URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/juddi-core-openjpa-3.1.5-SNAPSHOT.jar?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/juddi-core-openjpa-3.1.5-SNAPSHOT.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/uddi-ws-3.1.5-SNAPSHOT.jar URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/uddi-ws-3.1.5-SNAPSHOT.jar?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/uddi-ws-3.1.5-SNAPSHOT.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/wsdl4j-1.6.2.jar URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/wsdl4j-1.6.2.jar?rev=1452528&view=auto ============================================================================== Binary file - no diff available. Propchange: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/lib/wsdl4j-1.6.2.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/web.xml?rev=1452528&view=auto ============================================================================== --- juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/web.xml (added) +++ juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/WEB-INF/web.xml Mon Mar 4 21:10:04 2013 @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- +/* + * Copyright 2001-2004 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + --> +<!DOCTYPE web-app PUBLIC + "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" + "http://java.sun.com/dtd/web-app_2_3.dtd"> + +<web-app> + + <display-name>jUDDI</display-name> + <description> + jUDDI is Java-based implementation of a UDDI version 3.0 registry. + </description> + + <servlet> + <servlet-name>RegistryServlet</servlet-name> + <display-name>Registry Servlet</display-name> + <servlet-class>org.apache.juddi.servlets.RegistryServlet</servlet-class> + <load-on-startup>1</load-on-startup> + </servlet> + + <servlet> + <servlet-name>NotifyServlet</servlet-name> + <display-name>Notify Servlet</display-name> + <servlet-class> + org.apache.juddi.servlets.NotifyServlet + </servlet-class> + <load-on-startup>1</load-on-startup> + </servlet> + + <servlet-mapping> + <servlet-name>NotifyServlet</servlet-name> + <url-pattern>/notify/*</url-pattern> + </servlet-mapping> + + <welcome-file-list id="WelcomeFileList"> + <welcome-file>index.jsp</welcome-file> + <welcome-file>index.html</welcome-file> + </welcome-file-list> + + <resource-ref> + <description>jUDDI DataSource</description> + <res-ref-name>jdbc/juddiDB</res-ref-name> + <res-type>javax.sql.DataSource</res-type> + <res-auth>Container</res-auth> + <res-sharing-scope>Shareable</res-sharing-scope> + </resource-ref> + +</web-app> Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/index.jsp URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/index.jsp?rev=1452528&view=auto ============================================================================== --- juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/index.jsp (added) +++ juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/index.jsp Mon Mar 4 21:10:04 2013 @@ -0,0 +1,113 @@ +<%@ page session="false" %> +<%@ page import="java.util.List, + org.apache.juddi.config.Install, + javax.xml.bind.JAXBException, + org.uddi.v3_service.DispositionReportFaultMessage, + org.apache.juddi.config.AppConfig, + org.apache.juddi.config.Property, + org.uddi.api_v3.BusinessEntity, + org.uddi.api_v3.Name, + org.uddi.api_v3.Description, + java.io.IOException, + org.apache.juddi.config.Release" +%> + +<!-- index.jsp --> +<html> +<head> +<title>Apache jUDDI Registry</title> +<link rel="stylesheet" href="juddi.css" /> +</head> +<body> +<div class="header" align="right"><a href="http://ws.apache.org/juddi/" target="_top">jUDDI@Apache</a></div> +<h1>Apache jUDDI version <%= Release.getRegistryVersion() %></h1> + + +<h3><em>Welcome</em> to Apache jUDDI!</h3> +<div class="install"> +<h4>jUDDI Documentation</h4> + <div class="content"> + <table><tr> + <td> + <ul> + <li><a href="/pluto/portal/jUDDI">jUDDI Portal</a></li> + <li><a href="services">View</a> service listing</li> + <li><a href="http://ws.apache.org/juddi/">Visit</a> the Apache-jUDDI Home Page</li> + <li><a href="http://issues.apache.org/jira/browse/JUDDI">Report</a> a bug</li> + <li><a href="http://ws.apache.org/juddi/participate.html">Participate! We love you..</a></li> + <li><a href="http://ws.apache.org/juddi/library.html">UDDI library</a></li> + </ul> + </td> + <td> + <ul> + <li><a href="http://ws.apache.org/juddi/docs/3.0/userguide/pdf/userguide.pdf">jUDDI User Guide</a></li> + <li><a href="http://ws.apache.org/juddi/docs/3.0/userguide/pdf/devguide.pdf">jUDDI Developer Guide</a></li> + <li><a href="http://svn.apache.org/repos/asf/webservices/juddi/trunk/docs/uddi3-specification/uddi-v3.0.2-20041019.pdf">UDDI v3.0.2 Specification</a></li> + <li><a href="http://wiki.apache.org/ws/jUDDI">jUDDI wiki</a> - add your own docs</li> + <li><a href="http://apachejuddi.blogspot.com/">jUDDI Blog</a></li> + </ul> + </td> + </tr> + </table> +</div> + +<div class="install"> + <h4>jUDDI Installation</h4> + <div class="content"> +<% + // This will trigger the install process... + String rootPartition = AppConfig.getConfiguration().getString(Property.JUDDI_ROOT_PARTITION); + String nodeId = AppConfig.getConfiguration().getString(Property.JUDDI_NODE_ID); + String nodeName = ""; + String nodeDescription = ""; + + BusinessEntity be = Install.getNodeBusinessEntity(nodeId); + + if (be != null) { + Name n = (Name) be.getName().get(0); + if (n != null) + nodeName = n.getValue(); + + List descList = be.getDescription(); + if (descList != null && descList.size() > 0) { + Description d = (Description) descList.get(0); + if (d != null) + nodeDescription = d.getValue(); + } + } +%> + <div>jUDDI has been successfully installed!</div> + <p /> + <h3>Node Information</h3> + <table> + <tr> + <td><b>Root Partition:</b></td> + <td><%= rootPartition %></td> + </tr> + <tr> + <td><b>Node Id:</b></td> + <td><%= nodeId %></td> + </tr> + <tr> + <td><b>Name:</b></td> + <td><%= nodeName %></td> + </tr> + <tr> + <td><b>Description:</b></td> + <td><%= nodeDescription %></td> + </tr> + </table> + </div> +</div> + +<hr /> +<table width="100%" border="0"> + <tr> + <td height="50" align="center" valign="bottom" nowrap> + <div class="footer"> </div> + </td> + </tr> +</table> + +</body> +</html> Added: juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/juddi.css URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/juddi.css?rev=1452528&view=auto ============================================================================== --- juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/juddi.css (added) +++ juddi/trunk/juddi-examples/uddi-annotations/target/war/work/juddi/juddi.css Mon Mar 4 21:10:04 2013 @@ -0,0 +1,157 @@ +body { + margin: 0px 10px 10px 10px; + font-family: "Trebuchet MS", sans-serif; + font-size: 10pt; + background: #FFF; + color: #000; +} + +h1 { + font-family: "Trebuchet MS", sans-serif; + background: #00005A; + font-weight: normal; + color: White; + padding: 5px 10px; + margin: 0px -10px 10px -10px; +} + +h2 { + font-family: "Trebuchet MS", sans-serif; + color: #00005A; +} + +h3 { + font-family: "Trebuchet MS", sans-serif; + color: #00005A; +} + +h4 { + font-family: "Trebuchet MS", sans-serif; + color: #00005A; +} + +.sidebar { + border: 1px solid #00005A; + background: #EEE; + padding: 5px; +} + +pre.code_sample { + background: #EEE; + padding: 5px; +} + +dt { + font-weight: bold; +} + +dl { + margin-left: 3em; +} + +td { + font-size: 10pt; +} + +DIV.announcement dl { + margin-left: 0px; +} + +div.LINK { + margin: 0px -10px; + padding: 2px 10px; + color: #000; + font-size: 10pt; +} + +div.LINK A { + color: #6d0000; + text-decoration: none; +} + +div.LINK A:hover { + color: #006200; + text-decoration: underline; +} + +div.NAV { + background: #000; + margin: 0px -10px; + padding: 2px 10px; + color: #CCC; + font-size: 12pt; + font-weight: bold; +} + +div.NAV A { + color: #CCC; + text-decoration: none; +} + +div.NAV A:hover { + color: #FFF; +} + +.msgs { + background-color: #FFD; + color: #005500; +} + +.ednote { + color: #999; + font-style: italic; +} + +.cvs_id { + color: #999; + font-size: 8pt; + border-top: solid 1px #999; +} + +.author { + font-size: 14pt; + font-style: italic; +} + +var { + font-style: italic; + color: #900; +} + +div.footer { + color: #666699; margin: 0px -10px; padding: 2px 10px; font-size: 8pt; font-weight: normal; +} + +div.footer a { + color: #666699; text-decoration: none; +} + +div.footer a:hover { + color: #666699; text-decoration: underline; +} + +div.header { + background: #000; + margin: 0px -10px; + padding: 2px 10px; + color: #CCC; + font-size: 8pt; + font-weight: bold; +} + +div.header a { + color: #CCC; + text-decoration: none; +} + +div.header a:hover { + color: #FFF; +} + +div.error { + color: #F00; +} + +div.install {width:650px; background-color: #00005a;} +div.install h4 {margin:0; padding:0; color: #fff;} +div.install .content {margin:0; padding:4px 4px 0 4px; border-style:solid; border-color:#bbb; border-width:0 1px 1px 1px; background-color: #fff;} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
