Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A


Hi all,

my project use Tomcat and I manage the authentication using the idam.5.1.jar (amis.svc.user.IAmisUser).

My JSP catch the user using response.encodeURL("j_security_check"). Tomcat use the server.xml to map the Oracle DB table where the user info are stored.

Now, I have imported and deployed the application on SAP WAS. I have NO errors, but I'm not able to authenticate the user because I haven't the file server.xml under SAP. This xml is needed to map the Oracle DB.

Where or how can I solve the problem?? Where put the mapping information under SAP?

My server.xml was the following:

<Server port="8005" shutdown="SHUTDOWN">

  <!-- Comment these entries out to disable JMX MBeans support used for the 
       administration web application -->
  <Listener className="org.apache.catalina.core.AprLifecycleListener" />
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
  <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>

  <!-- Global JNDI resources -->

    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>

    <!-- Editable user database that can also be used by
         UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
       description="User database that can be updated and saved"
          pathname="conf/tomcat-users.xml" />


  <!-- Define the Tomcat Stand-Alone Service -->
  <Service name="Catalina">

    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
port="8085"               maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009" 
               enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">

<Realm className="org.apache.catalina.realm.JDBCRealm"
     connectionName="ID_OWN_IDAM" connectionPassword="ID_OWN_IDAM"
     userTable="IBC_AUTH_USER" userNameCol="COD_USER" userCredCol="LOGIN_PWD"
     userRoleTable="IBC_AUTH_USER_PROFILE" roleNameCol="COD_PROFILE" />
      <Host name="localhost" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

Any help will be appreciate.



Former Member
Not what you were looking for? View more on this topic or Ask a question