Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi I am trying to move an applic

Status
Not open for further replies.

jby1

Programmer
Apr 29, 2003
403
GB
Hi

I am trying to move an application from MemoryRealm to JDBCRealm. I have inserted the following block into my server.xml file:

Code:
<Realm className=&quot;org.apache.catalina.realm.JDBCRealm&quot; debug=&quot;0&quot; 
             driverName=&quot;org.postgresql.Driver&quot;
             connectionURL=&quot;jdbc:postgresql:gold&quot;
             connectionName=&quot;dataowner&quot; connectionPassword=&quot;owner&quot;
             userTable=&quot;user&quot; userNameCol=&quot;username&quot; userCredCol=&quot;password&quot;
             userRoleTable=&quot;role&quot; roleNameCol=&quot;rolename&quot; 
             digest=&quot;md5&quot;/>

I can bring up Tomcat fine, but when I go to install the application onto Tomcat, I get the following error:

Code:
BUILD FAILED
file:/u/jbodey/dev/gold/build.xml:94: java.io.IOException: Server returned HTTP response code: 401 for URL: [URL unfurl="true"]http://headline-35.asidua.com:8080/manager/install?path=%2Fgold&config=file%3A%2Fscratch%2Fbuild%2Fgold%2FMETA-INF%2Fcontext.xml&war=file%3A%2Fscratch%2Fbuild%2Fgold[/URL]

I have tried all sorts of things involving removing context, fresh installs etc etc, but I am at a loss as to what the problem is.

Any assistance would be greatly appreciated!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top