Search This Blog

Showing posts with label repository. Show all posts
Showing posts with label repository. Show all posts

Sunday, March 1, 2020

Maven - Alternate location for the .m2 folder or local Folder settings.xml [ Error code 401, Unauthorized ]

1. settings.xml
     Contains id,username,password
2. pom.xml
      Contains repository->private url for metadata access


use the below command
--global-settings

mvn -X clean install -gs "settings.xml"
or
mvn -X clean install -gs "D:/works/settings.xml"
or
mvn -X clean install -global-settings "D:/folderpath/settings.xml"


Wednesday, September 11, 2013

Open XDS make WAR steps



Use Internet Explorer for better solution.

1)     Extract the openxds-web.war file and create a folder [if u want to change] like openxds-web.war

2)    Go to D:\jboss-4.2.3.GA\server\default\deploy\openxds-web.war\WEB-INF\classes folder.


3)   Change your [database] settings in omar.properties, openxds.properties, repository.jdbc.cfg.xml

4)    Find the openxds.properties under the classes folder. Make sure the ihe.actors.dir property uses /conf/axis2repository instead of ./conf/axis2repository . You need to modify the same for the other two properties (axis2 .repo.dir and xds.schema.dir) as well.


5)    Run the server->

Load your actor config files
Give the full path in the file text field instead of selecting browse button.

Ex: D:\jboss-4.2.3.GA\server\default\deploy\openxds-web.war\WEB-INF\classes\conf\actors\IheActors.xml
           
5.1 See below the page [scroll down].
Select all the check box and click start
Takes few min to start…

6)    Open application-context.xml change if u want
update
true

7)    http://localhost:8010/axis2/services/ after you can see the services

8)    Copy the *.jar ‘s file from your openxds-web\web-inf\lib folder to axis\lib [D:\jboss-4.2.3.GA\server\default\deploy\axis2.war\WEB-INF\lib].

Note: Go to the code download and make jar file for common-ws, common-util packages from eclipse and copied into lib folder.


9)   Copy your *.aar file from D:\jboss-4.2.3.GA\server\default\deploy\openxds-web.war\WEB-INF\classes\conf\axis2repository\services
to
D:\jboss-4.2.3.GA\server\default\deploy\axis2.war\WEB-INF\services

10)  



Hit Counter


View My Stats