You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by jf...@apache.org on 2008/12/01 20:13:15 UTC

svn commit: r722184 - in /webservices/juddi/branches/v3_trunk/juddi-core: install/ src/main/java/org/apache/juddi/config/ src/main/java/org/apache/juddi/model/ src/main/java/org/apache/juddi/query/ src/main/java/org/apache/juddi/util/ src/main/java/org...

Author: jfaath
Date: Mon Dec  1 11:13:14 2008
New Revision: 722184

URL: http://svn.apache.org/viewvc?rev=722184&view=rev
Log:
Created install process and some other minor changes.

Added:
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/util/Constants.java   (with props)
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/util/Install.java   (with props)
Modified:
    webservices/juddi/branches/v3_trunk/juddi-core/install/UDDI_Publisher.xml
    webservices/juddi/branches/v3_trunk/juddi-core/install/root_BusinessEntity.xml
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/AppConfig.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/model/TmodelInstanceInfo.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/query/PersistenceManager.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/validation/ValidatePublish.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/resources/messages_en.properties

Modified: webservices/juddi/branches/v3_trunk/juddi-core/install/UDDI_Publisher.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/install/UDDI_Publisher.xml?rev=722184&r1=722183&r2=722184&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/install/UDDI_Publisher.xml (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/install/UDDI_Publisher.xml Mon Dec  1 11:13:14 2008
@@ -1,8 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<save_publisher xmlns="urn:apache-org:juddi_v3">
-  <publisher publisherId="uddi">
-    <publisherName>UDDI publisher</publisherName>
-    <isAdmin>false</isAdmin>
-  </publisher>
-</save_publisher>
+<publisher xmlns="urn:apache-org:juddi_v3" publisherId="uddi">
+  <publisherName>UDDI publisher</publisherName>
+  <isAdmin>false</isAdmin>
+</publisher>
 

Modified: webservices/juddi/branches/v3_trunk/juddi-core/install/root_BusinessEntity.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/install/root_BusinessEntity.xml?rev=722184&r1=722183&r2=722184&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/install/root_BusinessEntity.xml (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/install/root_BusinessEntity.xml Mon Dec  1 11:13:14 2008
@@ -1,27 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<save_business xmlns="urn:uddi-org:api_v3" xmlns:xml="http://www.w3.org/XML/1998/namespace">
-  <businessEntity businessKey="">
-    <name xml:lang="en">An Apache jUDDI Node</name>
-    <description xml:lang="en">
-      This is a UDDI v3 registry node as implemented by Apache jUDDI.
-	</description>
-    <discoveryURLs>
-      <discoveryURL useType="home">http://localhost:8080/juddi
-		</discoveryURL>
-    </discoveryURLs>
-    <categoryBag>
-      <keyedReference tModelKey="uddi:uddi.org:categorization:nodes" keyValue="node" />
-    </categoryBag>
-    <businessServices>
-      <businessService serviceKey="" businessKey="">
-        <name xml:lang="en">UDDI Inquiry Service</name>
-        <description xml:lang="en">Web Service supporting UDDI
-          Inquiry API</description>
+<businessEntity xmlns="urn:uddi-org:api_v3" xmlns:xml="http://www.w3.org/XML/1998/namespace" businessKey="">
+  <name xml:lang="en">An Apache jUDDI Node</name>
+  <description xml:lang="en">This is a UDDI v3 registry node as implemented by Apache jUDDI.</description>
+  <discoveryURLs>
+    <discoveryURL useType="home">http://localhost:8080/juddi</discoveryURL>
+  </discoveryURLs>
+  <categoryBag>
+    <keyedReference tModelKey="uddi:uddi.org:categorization:nodes" keyValue="node" />
+  </categoryBag>
+  <businessServices>
+    <businessService serviceKey="" businessKey="">
+      <name xml:lang="en">UDDI Inquiry Service</name>
+      <description xml:lang="en">Web Service supporting UDDI Inquiry API</description>
+      <bindingTemplates>
         <bindingTemplate bindingKey="" serviceKey="">
           <description>UDDI Inquiry API V3</description>
-          <accessPoint useType="endpoint">
-            http://localhost:8080/juddi/inquiry
-          </accessPoint>
+          <accessPoint useType="endpoint">http://localhost:8080/juddi/inquiry</accessPoint>
           <tModelInstanceDetails>
             <tModelInstanceInfo tModelKey="uddi:uddi.org:v3_inquiry">
               <instanceDetails>
@@ -39,16 +33,15 @@
             </tModelInstanceInfo>
           </tModelInstanceDetails>
         </bindingTemplate>
-      </businessService>
-      <businessService serviceKey="" businessKey="">
-        <name xml:lang="en">UDDI Publish Service</name>
-        <description xml:lang="en">Web Service supporting UDDI
-          Publish API</description>
+      </bindingTemplates>
+    </businessService>
+    <businessService serviceKey="" businessKey="">
+      <name xml:lang="en">UDDI Publish Service</name>
+      <description xml:lang="en">Web Service supporting UDDI Publish API</description>
+      <bindingTemplates>
         <bindingTemplate bindingKey="" serviceKey="">
           <description>UDDI Publication API V3</description>
-          <accessPoint useType="endpoint">
-            http://localhost:8080/juddi/publish
-          </accessPoint>
+          <accessPoint useType="endpoint">http://localhost:8080/juddi/publish</accessPoint>
           <tModelInstanceDetails>
             <tModelInstanceInfo tModelKey="uddi:uddi.org:v3_publication">
               <instanceDetails>
@@ -64,24 +57,23 @@
             </tModelInstanceInfo>
           </tModelInstanceDetails>
         </bindingTemplate>
-      </businessService>
-      <businessService serviceKey="" businessKey="">
-        <name xml:lang="en">UDDI Security Service</name>
-        <description xml:lang="en">Web Service supporting UDDI
-          Security API</description>
+      </bindingTemplates>
+    </businessService>
+    <businessService serviceKey="" businessKey="">
+      <name xml:lang="en">UDDI Security Service</name>
+      <description xml:lang="en">Web Service supporting UDDI Security API</description>
+      <bindingTemplates>
         <bindingTemplate bindingKey="" serviceKey="">
           <description>UDDI Security API V3</description>
-          <accessPoint useType="endpoint">
-            http://localhost:8080/security
-          </accessPoint>
+          <accessPoint useType="endpoint">http://localhost:8080/juddi/security</accessPoint>
           <tModelInstanceDetails>
             <tModelInstanceInfo tModelKey="uddi:uddi.org:v3_security" />
           </tModelInstanceDetails>
         </bindingTemplate>
-      </businessService>
-    </businessServices>
-  </businessEntity>
-</save_business>
+      </bindingTemplates>
+    </businessService>
+  </businessServices>
+</businessEntity>
 
 
 

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/AppConfig.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/AppConfig.java?rev=722184&r1=722183&r2=722184&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/AppConfig.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/AppConfig.java Mon Dec  1 11:13:14 2008
@@ -33,6 +33,7 @@
 import org.apache.juddi.model.KeyGeneratorKey;
 import org.apache.juddi.model.UddiEntityPublisher;
 import org.apache.juddi.query.PersistenceManager;
+import org.apache.juddi.util.Constants;
 import org.apache.log4j.Logger;
 
 /**
@@ -94,7 +95,7 @@
 		EntityTransaction tx = em.getTransaction();
 		tx.begin();
 
-		UddiEntityPublisher rootPublisher = em.find(UddiEntityPublisher.class, "root");
+		UddiEntityPublisher rootPublisher = em.find(UddiEntityPublisher.class, Constants.ROOT_PUBLISHER);
 		if (rootPublisher == null)
 			throw new ConfigurationException("The 'root' publisher was not found.  Please make sure that the application is properly installed.");
 		

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/model/TmodelInstanceInfo.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/model/TmodelInstanceInfo.java?rev=722184&r1=722183&r2=722184&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/model/TmodelInstanceInfo.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/model/TmodelInstanceInfo.java Mon Dec  1 11:13:14 2008
@@ -102,7 +102,7 @@
 		this.tmodelKey = tmodelKey;
 	}
 
-	@Column(name = "instance_parms")
+	@Column(name = "instance_parms", length = 512)
 	public String getInstanceParms() {
 		return this.instanceParms;
 	}

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/query/PersistenceManager.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/query/PersistenceManager.java?rev=722184&r1=722183&r2=722184&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/query/PersistenceManager.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/query/PersistenceManager.java Mon Dec  1 11:13:14 2008
@@ -18,13 +18,9 @@
 package org.apache.juddi.query;
 
 import javax.persistence.EntityManagerFactory;
-import javax.persistence.EntityTransaction;
 import javax.persistence.Persistence;
 import javax.persistence.EntityManager;
 
-import javax.persistence.Query;
-import java.util.List;
-
 public class PersistenceManager {
 	public static final String PERSISTENCE_UNIT_NAME = "juddiDatabase";
 
@@ -43,4 +39,10 @@
 	public static EntityManager getEntityManager() {
 		return emf.createEntityManager();
 	}
+	
+	public static void closeEntityManager() {
+		if (emf.isOpen())
+			emf.close();
+	}
+	
 }

Added: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/util/Constants.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/util/Constants.java?rev=722184&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/util/Constants.java (added)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/util/Constants.java Mon Dec  1 11:13:14 2008
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2001-2008 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.
+ *
+ */
+
+package org.apache.juddi.util;
+
+/**
+ * Contains all the system constants
+ * 
+ * @author <a href="mailto:jfaath@apache.org">Jeff Faath</a>
+ */
+public class Constants {
+	public static final String ROOT_PUBLISHER = "root";
+	public static final String UDDI_PUBLISHER = "uddi";
+}

Propchange: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/util/Constants.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/util/Install.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/util/Install.java?rev=722184&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/util/Install.java (added)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/util/Install.java Mon Dec  1 11:13:14 2008
@@ -0,0 +1,190 @@
+/*
+ * Copyright 2001-2008 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.
+ *
+ */
+
+package org.apache.juddi.util;
+
+import java.io.File;
+import java.util.List;
+import java.util.Set;
+
+import javax.persistence.EntityManager;
+import javax.persistence.EntityTransaction;
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Unmarshaller;
+
+import org.apache.juddi.api.datatype.Publisher;
+import org.apache.juddi.api.impl.UDDIPublicationImpl;
+import org.apache.juddi.api.impl.UDDISecurityImpl;
+import org.apache.juddi.error.ErrorMessage;
+import org.apache.juddi.error.FatalErrorException;
+import org.apache.juddi.keygen.KeyGenerator;
+import org.apache.juddi.mapping.MappingApiToModel;
+import org.apache.juddi.model.KeyGeneratorKey;
+import org.apache.juddi.model.KeyGeneratorKeyId;
+import org.apache.juddi.model.UddiEntityPublisher;
+import org.apache.juddi.query.PersistenceManager;
+import org.uddi.api_v3.SaveTModel;
+import org.uddi.api_v3.TModel;
+import org.uddi.v3_service.DispositionReportFaultMessage;
+
+/**
+ * @author <a href="mailto:jfaath@apache.org">Jeff Faath</a>
+ */
+public class Install {
+
+	public static final String FILE_ROOT_BUSINESSENTITY = "root_BusinessEntity.xml";
+	public static final String FILE_ROOT_PUBLISHER = "root_Publisher.xml";
+	public static final String FILE_ROOT_TMODELKEYGEN = "root_tModelKeyGen.xml";
+	public static final String FILE_UDDI_PUBLISHER = "UDDI_Publisher.xml";
+	public static final String FILE_UDDI_TMODELS = "UDDI_tModels.xml";
+	
+	public static final String FILE_PERSISTENCE = "persistence.xml";
+	
+	public static void install() throws JAXBException, DispositionReportFaultMessage {
+		EntityManager em = PersistenceManager.getEntityManager();
+		EntityTransaction tx = em.getTransaction();
+		tx.begin();
+
+		if (alreadyInstalled(em))
+			throw new FatalErrorException(new ErrorMessage("errors.install.AlreadyInstalled"));
+		
+		UddiEntityPublisher rootPublisher = installPublisher(em, FILE_ROOT_PUBLISHER);
+		UddiEntityPublisher uddiPublisher = installPublisher(em, FILE_UDDI_PUBLISHER);
+		
+		installPublisherKeyGen(em, FILE_ROOT_TMODELKEYGEN, rootPublisher);
+		
+		installUDDITModels(em, FILE_UDDI_TMODELS, uddiPublisher);
+		
+		tx.commit();
+		em.close();
+
+		installRootBusinessEntity(em, FILE_ROOT_BUSINESSENTITY, rootPublisher);
+		
+	}
+
+	public static  void uninstall() {
+		// Close the open emf, open a new one with Persistence.create...(String, Map) and overwrite the property that handles the table 
+		// generation. The persistence.xml file will have to be read in to determine which property
+		// to overwrite.  The property will be specific to the provider.  
+		// Hibernate:  <property name="hibernate.hbm2ddl.auto" value="update"/> ->use "create-drop" or just "drop"?
+		// OpenJPA: openjpa.jdbc.SynchronizeMappings=buildSchema(SchemaAction='add,deleteTableContents')
+		// etc...(find more)
+		// Then close this emf.  Question:  is the original emf reusable or will closing it cause problems?
+		
+	}
+	
+	private static boolean alreadyInstalled(EntityManager em) {
+		
+		UddiEntityPublisher publisher = em.find(UddiEntityPublisher.class, Constants.ROOT_PUBLISHER);
+		if (publisher != null)
+			return true;
+
+		publisher = em.find(UddiEntityPublisher.class, Constants.UDDI_PUBLISHER);
+		if (publisher != null)
+			return true;
+		
+		return false;
+	}
+	
+	private static void installRootBusinessEntity(EntityManager em, String file, UddiEntityPublisher publisher) throws JAXBException, DispositionReportFaultMessage {
+		UDDIPublicationImpl publish = new UDDIPublicationImpl();
+		UDDISecurityImpl security = new UDDISecurityImpl();
+
+		org.uddi.api_v3.GetAuthToken gat = new org.uddi.api_v3.GetAuthToken();
+		gat.setUserID(publisher.getPublisherId());
+		org.uddi.api_v3.AuthToken authToken = security.getAuthToken(gat);
+		
+		org.uddi.api_v3.SaveBusiness sb = new org.uddi.api_v3.SaveBusiness();
+
+		org.uddi.api_v3.BusinessEntity apiBusinessEntity = (org.uddi.api_v3.BusinessEntity)buildEntityFromDoc(file, "org.uddi.api_v3");
+		sb.getBusinessEntity().add(apiBusinessEntity);
+		sb.setAuthInfo(authToken.getAuthInfo());
+		
+		publish.saveBusiness(sb);
+	}
+	
+	private static void installUDDITModels(EntityManager em, String file, UddiEntityPublisher publisher) throws JAXBException, DispositionReportFaultMessage {
+		SaveTModel apiSaveTModel = (SaveTModel)buildEntityFromDoc(file, "org.uddi.api_v3");
+		installTModels(em, apiSaveTModel.getTModel(), publisher);
+		
+	}
+	
+	private static UddiEntityPublisher installPublisher(EntityManager em, String file) throws JAXBException, DispositionReportFaultMessage {
+		Publisher apiPub = (Publisher)buildEntityFromDoc(file, "org.apache.juddi.api.datatype");
+		org.apache.juddi.model.Publisher modelPub = new org.apache.juddi.model.Publisher();
+		MappingApiToModel.mapPublisher(apiPub, modelPub);
+		em.persist(modelPub);
+		return modelPub;
+	}
+	
+	private static void installTModels(EntityManager em, List<org.uddi.api_v3.TModel> apiTModelList, UddiEntityPublisher publisher) throws DispositionReportFaultMessage {
+		if (apiTModelList != null) {
+			for (org.uddi.api_v3.TModel apiTModel : apiTModelList) {
+				String tModelKey = apiTModel.getTModelKey();
+
+				if (tModelKey.toUpperCase().endsWith(KeyGenerator.KEYGENERATOR_SUFFIX.toUpperCase())) {
+					installPublisherKeyGen(em, apiTModel, publisher);
+				}
+				else {
+					org.apache.juddi.model.Tmodel modelTModel = new org.apache.juddi.model.Tmodel();
+					MappingApiToModel.mapTModel(apiTModel, modelTModel);
+					modelTModel.setPublisher(publisher);
+					
+					em.persist(modelTModel);
+				}
+				
+			}
+		}
+		
+	}
+
+	private static void installPublisherKeyGen(EntityManager em, String file, UddiEntityPublisher publisher) throws JAXBException, DispositionReportFaultMessage {
+		TModel apiTModel = (TModel)buildEntityFromDoc(file, "org.uddi.api_v3");
+		installPublisherKeyGen(em, apiTModel, publisher);
+	}
+
+	private static void installPublisherKeyGen(EntityManager em, TModel apiTModel, UddiEntityPublisher publisher) throws DispositionReportFaultMessage {
+
+		org.apache.juddi.model.Tmodel modelTModel = new org.apache.juddi.model.Tmodel();
+		MappingApiToModel.mapTModel(apiTModel, modelTModel);
+		modelTModel.setPublisher(publisher);
+		
+		em.persist(modelTModel);
+		
+		int id = 0;
+		Set<KeyGeneratorKey> keyGenList = publisher.getKeyGeneratorKeys();
+		if (keyGenList != null)
+			id = keyGenList.size();
+		
+		KeyGeneratorKey keyGenKey = new KeyGeneratorKey();
+		keyGenKey.setId(new KeyGeneratorKeyId(publisher.getPublisherId(), id));
+		keyGenKey.setPublisher(publisher);
+		keyGenKey.setKeygenTModelKey(modelTModel.getTmodelKey());
+		publisher.getKeyGeneratorKeys().add(keyGenKey);
+		
+	}
+	
+	private static Object buildEntityFromDoc(String fileName, String thePackage) throws JAXBException {
+		JAXBContext jc = JAXBContext.newInstance(thePackage);
+		Unmarshaller unmarshaller = jc.createUnmarshaller();
+		Object obj = ((JAXBElement)unmarshaller.unmarshal(new File(fileName))).getValue();
+		return obj;
+	}
+
+}

Propchange: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/util/Install.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/validation/ValidatePublish.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/validation/ValidatePublish.java?rev=722184&r1=722183&r2=722184&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/validation/ValidatePublish.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/validation/ValidatePublish.java Mon Dec  1 11:13:14 2008
@@ -519,7 +519,7 @@
 					throw new InvalidKeyPassedException(new ErrorMessage("errors.invalidkey.bindingtemplate.ParentMismatch", parentKey + ", " + parent.getBusinessKey()));
 			}
 			else
-				parentKey = parent.getBusinessKey();
+				parentKey = parent.getServiceKey();
 		}
 		
 		boolean entityExists = false;

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/main/resources/messages_en.properties
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/resources/messages_en.properties?rev=722184&r1=722183&r2=722184&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/resources/messages_en.properties (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/resources/messages_en.properties Mon Dec  1 11:13:14 2008
@@ -56,6 +56,7 @@
 #-- General error messages
 errors.Unspecified=An unspecified error occurred
 errors.configuration.Retrieval=An error occurred attempting to retrieve configuration information
+errors.install.AlreadyInstalled=It appears that the application is already installed.  Please un-install before proceeding.
 errors.NullInput=No input was provided for this API call
 errors.keyunavailable.BadPartition=The proposed key is not within the partition defined by owning publisher
 errors.keyunavailable.KeyExists=The key used for the save operation already exists.  Another key must be chosen



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