On 01/12/2009 12:37, vramanaj wrote:
I have passed through this DataSource look up problem. I altered
context.xml/web.xml of josso webapp. And also used short JNDI names at
tomcat/web.xml/context.xml level (e.g. jdbc/DefaultDS), and full JNDI name
at Josso configuration level (e.g.
java:comp/env/jdbc/DefaultDS).
Now when i try to access the application, getting the error Invalid
Authentication Information.
Tomcat log shows as:
INFO: Tue Dec 01 07:31:45 EST 2009 - sso-user - info - vjosyula -
authenticationFailed=failure -
remoteHost=10.104.9.33,authScheme=basic-authent
ication -
ERROR:vjosyula:org.josso.auth.exceptions.AuthenticationFailureException
I guess the user or password information is wrong then.
This would be a JOSSO problem, presumably...
p
-----------------------------------------------------------------------------------------------------
vramanaj wrote:
Added context.xml in META-INF directory. And also added resurce-ref in
josso webapp. Still getting the same error.
Mikolaj Rydzewski-2 wrote:
vramanaj wrote:
I have used jdbc/DefaultDS. Added ResourceLink to
Catalina/localhost/webapp.xml.
<Context path="/partnerapp"
docBase="/usr2/tomcat/sso/apache-tomcat-6.0.18-sso/webapps/partnerapp"
debug="99" reloadable="true" antiJARLocking="true"
antiResourceLocking="false" crossContext="true">
<ResourceLink global="jdbc/DefaultDS" name="jdbc/DefaultDS"
type="javax.sql.DataSource"/>
</Context>
And also added resource-ref to WEB-INF/web.xml.
Stacktraces you have posted originate from josso webapp, not from test
app. You need to alter context.xml / web.xml of josso webapp.
--
Mikolaj Rydzewski<m...@ceti.pl>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org