Hi,
I removed that file.
I added JAASRealm under tomcat-context.xml.And i tried removing JDBC
references..As i mentioned below i removed from properties.xml and
tomcat-context.xml.If i start the tomcat for that particualr appl it's
thorwing the error in applicationContext-resources.xml file..here..
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean
">
<property
name="jndiName"><value>java:comp/env/jdbc/skumar</value></property>
</bean>
Can you pls let me know what i need to include to reflect JAAS changes and
successfully compile the application.It's thorwing context initialization
failed and couldn't able to find jndi..i removed the lines from
web-resource-env-refs.xml
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/skumar</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Can you pls let me know what can i include those 2 files..
This my tomcat-context.xml file:
<!-- AppFuse Application Context -->
<Context path="/PurchaseReq" docBase="PurchaseReq" debug="99"
reloadable="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="PurchaseReq_log." suffix=".txt" timestamp="true"/>
<Realm className="org.josso.tc50.agent.jaas.CatalinaJAASRealm"
appName="josso"
userClassNames="org.josso.gateway.identity.service.BaseUserImpl"
roleClassNames="org.josso.gateway.identity.service.BaseRoleImpl"
debug="1" />
</Context>
Pls let me know other than tomcat-context.xml JAAS changes what else i need
to change????
Help would be greatly appreciated.
Thanks in advance.
On 9/4/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> You may need to remove your application's context file from Tomcat.
>
> Matt
>
>
> On 9/4/07, tiya tiya <[EMAIL PROTECTED]> wrote:
> > Hi ,
> >
> > I developed all my web applications using Appfuse Framework..I
> used
> > Josso to make as a sso for all my web applications..In Josso in tomcat
> > server.xml i used JAASRealm ..when i am trying to retrieve the values
> from
> > Josso..My web application developed using Josso contacting JDBCRealm and
> > trying to retrieve the SSO ID from JDBC..it's not contaction JAAS
> realm..how
> > can i remove the JDBC realm from web appl and what are the files i need
> to
> > remove..
> >
> > Here are the files i removed:
> >
> > I removed JDBC conn from properties.xml and tomcat-context.xml i
> > removed.Still it's contacting JDBCRealm not JAASRealm..pls let me know..
> >
> >
> > Thanks in advance.
> >
>
>
> --
> http://raibledesigns.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>