web-inf/lib にある MySQL コネクタ JAR を webapp で使用したい。しかし、j-security_check を実行しても機能しません。jar を tomcat lib フォルダーに配置すると、正常に動作します。しかし、共有 tomcat ホスティングを購入しましたが、tomcat lib に jar を入れることができませんでした。tomcat lib の jar なしで j_security_check と接続プールを使用することは可能ですか。
以下は私の META-INF/context.xml です
<Resource name="jdbc/myDB" auth="Container" type="javax.sql.DataSource"
maxActive="600" maxIdle="30" maxWait="20000" removeAbandoned="true" logAbandoned="false"
username="usr_1" password="password1" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/daname?autoReconnect=true"/>
<Realm name="myRealm" className="org.apache.catalina.realm.DataSourceRealm" debug="99"
dataSourceName="jdbc/myDB" localDataSource="true"
userTable="user" userNameCol="username" userCredCol="pass"
userRoleTable="user_roles" roleNameCol="role_name"/>