Configuring IdM 7 on Tomcat 5.5 to use a Mysql (5.0.41) datasource

I've been trying, for some time now, to configure Idm 7 to use a mysql datasource using the interface provided by the lh setup coomand.
I'm supply the following values:
DataSource Name/Path: jdbc/wavesetDB
Initial Context Factory: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
I get the following error:
com.waveset.util.ConfigurationError: Failed to load JDBC DataSource 'jdbc/wavesetDB':
==> javax.naming.NoInitialContextException: Cannot instantiate class: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
I know the datasource is working as I've written a servlet that users the datasource to query the database.
The OS is windows and jdk version is 1.4.2.
Any help will be appreciated.
Thanks

Hi all
i tried to configure MysqlDatasource on Sun Application server EE 8.2.The operating system is Solaris10. i am able to successfully create the connection pool and JDBC datasource (jdbc/trialdb) but when i ran the command
lh setRepo -v -tDatastore
-icom.sun.enterprise.naming.SerialInitContextFactory -fjdbc/trialdb
-uiiop://localhost:3306
it gives me the following exceptions/errors
Defaulting administrator to 'configurator'.
Defaulting credentials to 'configurator'.
Checking 'RelationalDataStore:jdbc/trialdb'...
java.io.FileNotFoundException: /psegApp/opt/SUNWappserver/appserver/config/secur
ity.properties (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:42
        at com.sun.enterprise.iiop.POAEJBORB.<clinit>(POAEJBORB.java:78)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at org.omg.CORBA.ORB.create_impl(ORB.java:295)
        at org.omg.CORBA.ORB.init(ORB.java:336)
        at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:138)
        at com.sun.enterprise.util.ORBManager.init(ORBManager.java:65)
        at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitC
ontextFactory.java:31)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
54)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:197)
        at com.waveset.util.JdbcUtil.getDataSourceObject(JdbcUtil.java:571)
        at com.waveset.repository.RelationalDataStore.setupJdbc(RelationalDataSt
ore.java:3834)
        at com.waveset.repository.RelationalDataStore.init(RelationalDataStore.j
ava:3779)
        at com.waveset.install.RepoMan.check(RepoMan.java:1194)
        at com.waveset.install.RepoMan.setRepo(RepoMan.java:1082)
        at com.waveset.install.RepoMan.main(RepoMan.java:1314)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.waveset.util.CommandProcess.invokeMain(CommandProcess.java:212)
        at com.waveset.util.CommandProcess.launch(CommandProcess.java:162)
        at com.waveset.util.CommandProcess.run(CommandProcess.java:300)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.waveset.util.Command.main(Command.java:117)
java.io.FileNotFoundException: /psegApp/opt/SUNWappserver/appserver/config/ejb.p
roperties (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:42
        at com.sun.enterprise.iiop.J2EEInitializer.<init>(J2EEInitializer.java:5
4)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at com.sun.corba.ee.internal.Interceptors.PIORB.registerORBInitializers(
PIORB.java:377)
        at com.sun.corba.ee.internal.Interceptors.PIORB.parseProperties(PIORB.ja
va:347)
        at com.sun.corba.ee.internal.TxPOA.TxPIORB.parseProperties(TxPIORB.java:
116)
        at com.sun.corba.ee.internal.corba.ORB.set_parameters(ORB.java:461)
        at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:156)
        at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.jav
a:336)
        at org.omg.CORBA.ORB.init(ORB.java:337)
        at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:138)
        at com.sun.enterprise.util.ORBManager.init(ORBManager.java:65)
        at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitC
ontextFactory.java:31)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
54)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:197)
        at com.waveset.util.JdbcUtil.getDataSourceObject(JdbcUtil.java:571)
        at com.waveset.repository.RelationalDataStore.setupJdbc(RelationalDataSt
ore.java:3834)
        at com.waveset.repository.RelationalDataStore.init(RelationalDataStore.j
ava:3779)
        at com.waveset.install.RepoMan.check(RepoMan.java:1194)
        at com.waveset.install.RepoMan.setRepo(RepoMan.java:1082)
        at com.waveset.install.RepoMan.main(RepoMan.java:1314)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.waveset.util.CommandProcess.invokeMain(CommandProcess.java:212)
        at com.waveset.util.CommandProcess.launch(CommandProcess.java:162)
        at com.waveset.util.CommandProcess.run(CommandProcess.java:300)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.waveset.util.Command.main(Command.java:117)
Warning: unable to read transaction.interoperability config property
java.io.FileNotFoundException: /psegApp/opt/SUNWappserver/appserver/config/secur
ity.properties (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:42
        at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<clinit>(S
ecurityMechanismSelector.java:102)
        at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLS
ocketFactory.java:211)
        at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(Connecti
onTable.java:73)
        at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(Connecti
onTable.java:68)
        at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:7
0)
        at com.sun.corba.ee.internal.corba.InitialNamingClient.locateObject(Init
ialNamingClient.java:769)
        at com.sun.corba.ee.internal.corba.InitialNamingClient.getIORUsingHostIn
fo(InitialNamingClient.java:597)
        at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveCorbaloc(I
nitialNamingClient.java:573)
        at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingORBIn
itRef(InitialNamingClient.java:544)
        at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialRefe
rences(InitialNamingClient.java:1080)
        at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_r
eferences(InitialNamingClient.java:981)
        at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.ja
va:2425)
        at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
a:52)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at com.waveset.util.JdbcUtil.getDataSourceObject(JdbcUtil.java:583)
        at com.waveset.repository.RelationalDataStore.setupJdbc(RelationalDataSt
ore.java:3834)
        at com.waveset.repository.RelationalDataStore.init(RelationalDataStore.j
ava:3779)
        at com.waveset.install.RepoMan.check(RepoMan.java:1194)
        at com.waveset.install.RepoMan.setRepo(RepoMan.java:1082)
        at com.waveset.install.RepoMan.main(RepoMan.java:1314)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.waveset.util.CommandProcess.invokeMain(CommandProcess.java:212)
        at com.waveset.util.CommandProcess.launch(CommandProcess.java:162)
        at com.waveset.util.CommandProcess.run(CommandProcess.java:300)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.waveset.util.Command.main(Command.java:117)
javax.naming.CommunicationException: Can't find SerialContextProvider
Failed to load JDBC DataSource 'jdbc/trialdb':
==> javax.naming.CommunicationException: Can't find SerialContextProvider
com.waveset.util.ConfigurationError: Failed to load JDBC DataSource 'jdbc/triald
b':
==> javax.naming.CommunicationException: Can't find SerialContextProvider
        at com.waveset.util.JdbcUtil.getDataSourceObject(JdbcUtil.java:610)
        at com.waveset.repository.RelationalDataStore.setupJdbc(RelationalDataSt
ore.java:3834)
        at com.waveset.repository.RelationalDataStore.init(RelationalDataStore.j
ava:3779)
        at com.waveset.install.RepoMan.check(RepoMan.java:1194)
        at com.waveset.install.RepoMan.setRepo(RepoMan.java:1082)
        at com.waveset.install.RepoMan.main(RepoMan.java:1314)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.waveset.util.CommandProcess.invokeMain(CommandProcess.java:212)
        at com.waveset.util.CommandProcess.launch(CommandProcess.java:162)
        at com.waveset.util.CommandProcess.run(CommandProcess.java:300)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.waveset.util.Command.main(Command.java:117)
Caused by: javax.naming.CommunicationException: Can't find SerialContextProvider
        at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
a:63)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at com.waveset.util.JdbcUtil.getDataSourceObject(JdbcUtil.java:583)
        ... 17 more
Wrapped exception:
javax.naming.CommunicationException: Can't find SerialContextProvider
        at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
a:63)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at com.waveset.util.JdbcUtil.getDataSourceObject(JdbcUtil.java:583)
        at com.waveset.repository.RelationalDataStore.setupJdbc(RelationalDataSt
ore.java:3834)
        at com.waveset.repository.RelationalDataStore.init(RelationalDataStore.j
ava:3779)
        at com.waveset.install.RepoMan.check(RepoMan.java:1194)
        at com.waveset.install.RepoMan.setRepo(RepoMan.java:1082)
        at com.waveset.install.RepoMan.main(RepoMan.java:1314)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.waveset.util.CommandProcess.invokeMain(CommandProcess.java:212)
        at com.waveset.util.CommandProcess.launch(CommandProcess.java:162)
        at com.waveset.util.CommandProcess.run(CommandProcess.java:300)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.waveset.util.Command.main(Command.java:117)There is no security.properties file under config directory. i checked with other installation, no such file have been created under this directory.
Please help me where i am missing or some else step needs to be followed. i exactly followed the Sun installation manual.
Thanks in advance.
Edited by: Amit_Bansal on Aug 4, 2008 1:36 PM

Similar Messages

  • How to configure connection pooling in tomcat?

    how to configure connection pooling in tomcat and how to use the connection pooling in the jsp and servlets?

    thanks for the reply, i have configured the connection pool settings in the tomcat.
    I created a class with static method, which will return the connection object.
    whenever i need the connection object, iam invoking the static method, once its usage is over iam closing thew connection..
    is it the right way of using the connection object in the web application.

  • Unable to configure IDM on solaris

    Hi,
    After deploying the idm.war in tomcat, when i open http://ip:8080/idm. i am asked for the exchange file to be imported. If i copy the init.xml file from the sample folder and import it. I get the below mentioned error.
    EVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NoClassDefFoundError: javax/activation/DataSource
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1819)
    at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1327)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at com.waveset.ui.util.BufferedRequest.addAttachment(BufferedRequest.java:661)
    at com.waveset.ui.util.BufferedRequest.parseMultiPartFormDataRequest(BufferedRequest.java:610)
    at com.waveset.ui.util.BufferedRequest.parseRequest(BufferedRequest.java:555)
    at com.waveset.ui.util.BufferedRequest.<init>(BufferedRequest.java:230)
    at com.waveset.ui.util.BufferedRequest.wrap(BufferedRequest.java:220)
    at org.apache.jsp.configure.fileimport_jsp._jspService(fileimport_jsp.java:210)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    And i get the following error in the front end.
    The database is mysql and the there is no password set for it.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: An exception occurred processing JSP page /configure/../includes/../includes/getSession.jsp at line 42
    39: // _wsSess is needed by getLocale.jsp
    40: Session _wsSess = null;
    41:
    42: request = BufferedRequest.wrap(request);
    43:
    44: // Create a local RequestState object for this page
    45: RequestState req = new RequestState(session, request, response, _wsSess, p);
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/activation/DataSource
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
         org.apache.jsp.configure.fileimport_jsp._jspService(fileimport_jsp.java:697)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    java.lang.NoClassDefFoundError: javax/activation/DataSource
         java.lang.ClassLoader.defineClass1(Native Method)
         java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1819)
         org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1327)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
         java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         com.waveset.ui.util.BufferedRequest.addAttachment(BufferedRequest.java:661)
         com.waveset.ui.util.BufferedRequest.parseMultiPartFormDataRequest(BufferedRequest.java:610)
         com.waveset.ui.util.BufferedRequest.parseRequest(BufferedRequest.java:555)
         com.waveset.ui.util.BufferedRequest.<init>(BufferedRequest.java:230)
         com.waveset.ui.util.BufferedRequest.wrap(BufferedRequest.java:220)
         org.apache.jsp.configure.fileimport_jsp._jspService(fileimport_jsp.java:210)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.
    DO WE HAVE TO CONFIGURE THE MYSQL CONFIG ELSEWHERE IN THE IDM?

    issue is solved after placing the activation.jar

  • Not able to configure IDM 11.1.1.7 in RHEL

    Hi,
    Installed below componnets in silent mode
    Java 1.6
    WLS 10.3.6
    IDM 11.1.1.7
    while configuring IDM(for OIF) in silent mode based from response file, it is getting stuck at CREATE DOMAIN. In Install out file, log says starting domain and it stays there for long time. But I am not able to continue further.
    I am seeing below warnings in install log file
    [2015-03-18T16:41:57.229-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/modules/com.bea.core.weblogic.security.identity_1.1.2.0.jar
    [2015-03-18T16:41:57.230-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/patch_wls1032/profiles/default/sys_manifest_classpath/weblogic_patch.jar
    [2015-03-18T16:41:57.238-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/jrockit_160_14_R27.6.4-18/lib/tools.jar
    [2015-03-18T16:41:57.285-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/wlserver_10.3/server/lib/weblogic_sp.jar
    [2015-03-18T16:41:57.286-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/modules/features/weblogic.server.modules_10.3.2.0.jar
    [2015-03-18T16:41:57.287-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/modules/org.apache.ant_1.7.0/lib/ant-all.jar
    [2015-03-18T16:41:57.287-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar
    [2015-03-18T16:41:57.287-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/wlserver_10.3/common/eval/pointbase/lib/pbembedded57.jar
    [2015-03-18T16:41:57.288-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/wlserver_10.3/common/eval/pointbase/lib/pbclient57.jar
    [2015-03-18T16:41:57.288-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/wlserver_10.3/common/eval/pointbase/lib/pbtools57.jar
    [2015-03-18T16:41:57.312-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/modules/org.apache.ant_1.7.0/lib/ant-all.jar
    [2015-03-18T16:41:57.343-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/modules/org.apache.ant_1.7.0/lib/ant.jar
    [2015-03-18T16:41:57.344-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/modules/org.apache.ant_1.7.0/lib/ant-launcher.jar
    [2015-03-18T16:41:57.344-04:00] [as] [WARNING] [] [oracle.as.install.engine.modules.configuration.client.ConfigActionClassLoader] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0]  [Action]: Bootstrap Domain Configuration. Library not found: /opt/weblogic/middleware11g/modules/features/weblogic.server.modules_10.3.1.0.jar
    Admin Server is coming up after long time and I am able to access weblogic console.
    But in logs, it trys to connect to admin server and says could not connect.
    [2015-03-18T17:52:29.787-04:00] [as] [TRACE] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0] [SRC_CLASS: oracle.as.idm.install.config.event.IdMProvisionEventListener] [SRC_METHOD: onConfigurationStatus]  [OOB IDM CONFIG EVENT] onConfigurationStatus ->23389ae6-ec6d-4830-b97e-2510c75ad281 StatusMsg:Connecting to AdminServer.
    [2015-03-18T17:52:29.787-04:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0] reportStartConfigAction: EXIT........
    [2015-03-18T17:52:29.788-04:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0] [[
    java.io.IOException
      at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:196)
      at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
      at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
      at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
      at oracle.as.provisioning.weblogic.AdminServer.connect(AdminServer.java:98)
      at oracle.as.provisioning.weblogic.ASDomain._connectToAdminServer(ASDomain.java:409)
      at oracle.as.provisioning.weblogic.ASDomain.connectToAdminServer(ASDomain.java:363)
      at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:411)
      at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
      at oracle.as.idm.install.config.BootstrapConfigManager.doExecute(BootstrapConfigManager.java:1088)
      at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:375)
      at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
      at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
      at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
      at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:96)
      at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:186)
      at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
      at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
      at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: vsvphxoamdev01.hotelgroup.com]
      at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:34)
      at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:792)
      at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
      at weblogic.jndi.Environment.getContext(Environment.java:315)
      at weblogic.jndi.Environment.getContext(Environment.java:285)
      at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      at javax.naming.InitialContext.init(InitialContext.java:223)
      at javax.naming.InitialContext.<init>(InitialContext.java:197)
      at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:178)
      ... 18 more
    Caused by: java.net.UnknownHostException: vsvphxoamdev01.hotelgroup.com
      at java.net.InetAddress.getAllByName0(InetAddress.java:1157)
      at java.net.InetAddress.getAllByName(InetAddress.java:1083)
      at java.net.InetAddress.getAllByName(InetAddress.java:1019)
      at weblogic.rjvm.RJVMFinder.getDnsEntries(RJVMFinder.java:422)
      at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:192)
      at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
      at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165)
      at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
      ... 26 more
    [2015-03-18T17:52:29.789-04:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0] [SRC_CLASS: IdMProvisioningEventListener] [SRC_METHOD: onConfigurationError] ENTRY 23389ae6-ec6d-4830-b97e-2510c75ad281
    [2015-03-18T17:52:29.789-04:00] [as] [TRACE] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0] [SRC_CLASS: oracle.as.idm.install.config.event.IdMProvisionEventListener] [SRC_METHOD: onConfigurationError] ________________________________________________________________________________
    [2015-03-18T17:52:29.789-04:00] [as] [TRACE] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0] [SRC_CLASS: oracle.as.idm.install.config.event.IdMProvisionEventListener] [SRC_METHOD: onConfigurationError]  [OOB IDM CONFIG EVENT] onConfigurationError -> configGUID 23389ae6-ec6d-4830-b97e-2510c75ad281
    [2015-03-18T17:52:29.790-04:00] [as] [TRACE] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0] [SRC_CLASS: oracle.as.idm.install.config.event.IdMProvisionEventListener] [SRC_METHOD: onConfigurationError]  [OOB IDM CONFIG EVENT] ErrorID: 35006
    [2015-03-18T17:52:29.790-04:00] [as] [TRACE] [] [oracle.as.provisioning] [tid: 13] [ecid: 0000Kkibk_c2JRS_uDs1yX1L2UCH000004,0] [SRC_CLASS: oracle.as.idm.install.config.event.IdMProvisionEventListener] [SRC_METHOD: onConfigurationError]  [OOB IDM CONFIG EVENT] Description: [[
    Unable to connect to the AdminServer.
    Cause:
    An internal operation has failed:java.io.IOException
    Action:
    See logs for more details.

    I have verified host file entry also. It looks fine
    -bash-4.1$ cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    10.86.60.229 vsvphxoampoc01.hotelgroup.com
    10.86.231.100 phxasn4_bu
    10.86.240.204 phxasn4
    ::1 localhost loopback

  • Connecting mysql-4.1.12a-win32 with jakarta-tomcat-3.3.2 using mysql-connec

    hi calverstine here, i have been trying to connect tomcat to mysql using mysql-connector-java-3.1.10, but does not have any clue how to do it, if you guys ask me to refer to :
    http://dev.mysql.com/doc/connector/j/en/cj-classpath.html
    it only told me about installing mysql to unix platform tomcat , not windows xp sp1, is there any tutorial tat's useful for using the mysql-connector-java-3.1.10? where should i place this folder after i unzipped it? what is CLASSPATH as being written in the previous URL that told us to set the environment variable?..anybody care to help?

    You need to place the driver jar in a place that tomcat can access it; if that place is not already in the classpath for Tomcat, then you need to add it.
    After that, you need to supply application code for Tomcat to contain that will use the driver and do whatever it is you want.
    If you don't know how to do any of that, you need to either read the Tomcat documentation, or learn basic Java development.

  • I want to copy songs from my old ipad to a new one. laptop used in configuring the old ipad crashed and cant be used again.

    i want to copy songs from my old ipad to a new one. laptop used in configuring the old ipad crashed and cant be used again

    You may be able to re download iTunes purchases for free directly on the new iPad.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Note: Previously purchased music is only available through iTunes in the Cloud in Australia, Canada, Cypress, France, Ireland, Luxembourg, Malta, Mexico, New Zealand, Spain, the United Kingdom, and the United States. Previously purchased TV shows are only available through iTunes in the Cloud in the United States.

  • What are the configuration need between R3 and XI when we use RFC sync adap

    hi,
    What are the configuration need between R3 and XI when we use RFC sync adapter.
    Regards
    siva.

    if its the sender adapter ref:
    RFC adapter
    Sender- /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    Receiver;
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
    Also;
    trouble shooting rfc/soap -
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

  • Custom Login Module for Tomcat to procted apps using Oracle Access Manager

    Hi all,
    I have the following scenario.
    A web application deployed in Tomcat to be protected using OAM. One solution is to use Access Gate though we have other alternative as Proxy infront of Tomcat with a webgate. Now I am implementing the Access Gate solution.
    So, when the user clicks the tomcat application, then the prompt (BASIC) appears for login details. custom login module should kick in and take those login details and authenticate against OAM using Access SDK API.
    I have created access gate profile and installed Access SDK. Ran the ConfigureAccessGateTool as well.
    I did some research googling for login module. I came to know that we need to write a custom realm for it. So, this realm implementation involves specifying role-name etc., in web.xml where the role-name would have been defined in tomcat-users.xml.
    This means that the user trying to authenticate against OAM has to have some roles defined in Tomcat to login. I didnot understand the flow end to end as how this will work.
    Please let me know if anybody has done this of customization.
    Thanks,
    Mahendra.

    Hi Ambarish,
    Initially I thought of implementing the way you suggested in Option 2.
    But there will be various redirections when we use option 2 as the login page should redirect it to a page where OAM authentication and authorization stuff has to be handled. And accordingly we have to redirect it to specific pages upon successful atn and atz. Hence, I was opted using Custom Login Module.
    However, I have been trying Option 2 now. In web.xml, I have specified a login page with FORM scheme. The login redirects it to another page say OAM_Authentication_Handler.jsp. Here we code which serves atn and atz. Upon doing this, I have observed that the protected resource in OAM is not getting evaluated using the method
    String ms_protocol = "http";
    String ms_method = "GET";
    String ms_resource = "http://localhost:8080/FormLogin/private.jsp";
    ObResourceRequest rrq = new ObResourceRequest(ms_protocol, ms_resource, ms_method);
    The method rrq.isProtected() is returning false which implies it to unprotected. I have tested using Access Tester for the resource and it results in expected behaviour.
    Is there any limitation here by using this approach?
    Any ideas?
    Thanks,
    Mahendra.

  • Configure PXI-2567 to Trigger on Rising Edge using LabWindows​/CVI

    I need some help configuring the trigger edge for a PXI-2567 using Labwindows/CVI.  I have been able to successfully create and execute a scan list using both the ni-switch and daqmx APIs.  However, currently the PXI-2567 triggers on the falling edge of an input trigger.  I need to configure it to trigger on the rising edge of an input trigger.  Every function I could find in the daqmx API for configuring the trigger edge gave a non-fatal runtime error, and I could find no such functions in the ni-switch API.
    Any help configuring the input trigger edge on the PXI-2567 using Labwindows/CVI would be appreciated.
    Thanks

    Hi JonRice,
    You can configure the scan list to execute on the rising edge of an input trigger.  Here are the Labwindows/CVI and LabVIEW functions you would want to use to retrieve, specify or verify the edge of a digital signal that advances to the next entry in a scan list.
    NI-DAQmx C Property: More >> Advance >> Digital Edge >> Edge
    You can get/set/reset this property using:
    DAQmxGetDigEdgeAdvTrigEdge
    DAQmxSetDigEdgeAdvTrigEdge
    DAQmxResetDigEdgeAdvTrigEdge
    NI-SWITCH C Attribute: NISWITCH_ATTR_TRIGGER_INPUT_POLARITY
    You can get/set/check this attribute using:
    niSwitch_GetAttributeViInt32
    niSwitch_SetAttributeViInt32
    niSwitch_CheckAttributeViInt32
    NI-DAQmx LabVIEW Property: More:Advanceigital Edge:Edge
    DAQmx Trigger Property Node
    Short Name: Adv.DigEdge.Edge
    NI-SWITCH LabVIEW Property: Trigger Input Polarity
    niSwitch Property Node
    Short Name: Trigger Input Polarity
    Hope this helps!  Let me know if you have further questions.
    Chad Erickson
    Switch Product Support Engineer
    NI - USA

  • Which tomcat version  to be used for  jdk6?

    Hi
    Which jdk version is best compatible for Tomcat5.0? Can I use jdk6 ? Also tell me which is the most suitable tomcat version to be used for jdk6. Also tell me what are all the Tomcat settings (environmental variables etc.) to be made before running the web applications?
    Thanks in advance.

    I mean can i use tomcat5.0 with jdk6.Yes.
    The JVM you are using is pretty much irrelevant as long as it is above the minimum. For Tomcat5, thats JDK1.4 I think.
    The problem is not with JDK6, it will be with your understanding of Tomcat.
    but the programs i put in the web-apps folder with root directory(say firstapp) are not runningThe ROOT directory is the "default" web app. Not the place where you should deploy new web applications.
    All your web applications (with a WEB-INF directory in them) should be off the folder "webapps"
    [Tomcat 5 docs|http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html]
    Having said that, IMO you should be using at least Tomcat 5.5, and possibly even Tomcat 6 if you want the latest version.
    Cheers,
    evnafets

  • I am trying to configure some new unsupervised iPod touch 4th generation using Apple Configurator but it won't give me the option to install the app that appears on the Apps tab.

    I am trying to configure some new unsupervised iPod touch 4th generation using Apple Configurator but it won't give me the option to install the app that appears on the Apps tab. I have tested the to see whether it works in supervised mode and it does but in Prepare mode it won't let me tick the box.
    Any ideas anyone?
    Many thanks
    Mario.

    The requirments say:
    Requirements: Compatible with iPhone 3GS, iPhone 4, iPhone 4S, iPad 2 Wi-Fi + 3G, and iPad Wi-Fi + 4G.Requires iOS 5.0 or later.
    No mention of iPod touch
    http://itunes.apple.com/app/jack-boxer/id530122469?mt=8

  • How to configure applet/servlet in Tomcat?

    I'm building a web application which is going to be deployed in Tomcat. I have an applet(called MYAPPLET here) which "calls" a servlet(called MYSERVLET here). I cannot figure out how to configure the whole thing.
    /test is my docbase. In /test I made a directory "applet classes" and a directory "servlet". The applet tag I use in the HTML file looks like this:
    <applet
    code="MYAPPLET.class"
    codebase="http://localhost:8080/test/applet classes/"
    <!-- Tell the applet where its peer is located -->
    <param
    name="servlet"
    value="http://localhost:8080/test/servlet/MYSERVLET" />
    </applet>
    Now, when opening the page, the applet can be found but Tomcat gives an error 404 saying that it can not find the servlet. On the other hand, If I make an entry in my web.xml (with url mapping
    <url-pattern>/test </url-pattern> or <url-pattern>/test/servlet </url-pattern>, depending on where I put MYSERVLET)
    for the servlet mentioned above and I put the MYSERVLET in either the WEB-INF/classes directory or in /test/servlet Tomcat gives an error 403. It refuses to connect to the servlet!
    Please can anyone help me. THanx in advance
    debeumers

    You are configuring Tomcat and if you have further questions then post new questions in the forum "Java Servlet Technology".
    Given that your servlet url is "localhost:8080/test/servlet/MyServlet"
    This assumes -
    1) You have created a web application called "test". You have a directory called "test" under- $CATALINA_HOME/webapps
    2) Your html files, jsp files, and subdirectory "applet-classes" (Note - do Not use spaces when naming directories) exist in this top level directory of your web app. If you choose to place your applet classes in this subdir then the codebase can be "applet-classes" - omitting the "/" means this directory is located relative to the current directory of the html file. (No jar files? No archive param then..)
    3) You have a class file called "MyServlet" located - $CATALINA_HOME/webapps/test/WEB-INF/classes
    Some versions of Tomcat require you to uncomment out the area of the Mapping for the Invoker Servlet element in $CAT_HOME/conf/web.xml.
    <servlet-name>invoker</servlet-name>
    <url-mapping>/servlet/*</url-mapping>
    Once this is done, you need not create a directory called "servlet" anywhere in your structure. It is the url mapping.
    You will want to apply url-patterns and mappings to your application specific web.xml (This is located in - $C_H/webapps/test/WEB-INF) when it comes time to deploy the app, but that is not required for testing and development. You need not make changes to the app specific web.xml at this time just to get the servlet to run.
    And finally I suggest you read a book on this subject...

  • Configure web.xml in tomcat for sub class folders

    Hi Guys,
    I am using a tomcat server. I have a package file and have created a dir in webapps called "testApp". In the classes folder, I have another folder called "CheckServlets" and within this I have 2 servlets. How can I configure my web.xml properties to get the servlets to load in a browser. I have tried the following but it doesnt work:
    <servlet>
    <servlet-name>test</servlet-name>
    <servlet-class>/CheckServlets/HelloServlet/</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>test</servlet-name>
    <url-pattern>/hello/test/</url-pattern>
    </servlet-mapping>
    So I try http://localhost:8080/testApp/hello/test but that doesnt work.

    I presume your servlet is in a package called CheckServlets?
    ie it starts something like
    package CheckServlets
    public class HelloServlet extends HttpServlet {
    }Remove the / signs from the servlet-class. This attribute should be a fully qualified class name. Like java.lang.String, or com.mypackage.servlet.MyServlet
    Given the above servlet in a package, it should be
    <servlet>
      <servlet-name>test</servlet-name>
      <servlet-class>CheckServlets.HelloServlet</servlet-class>
    </servlet>Cheers,
    evnafets

  • Your opinion - graphical configuration consoles for JBoss & Tomcat

    Hexamind Companion for JBoss and Hexamind Companion for Apache Tomcat are tools for developers and system administrators who manage the configuration of J2EE servers. We are nearing the final stages of development, and would like to hear your opinion about these tools.
    Please follow the links below to learn more and participate in our online surveys.
    If you are familiar with Apache Tomcat:
    http://www.hexamind.com/website/surveys/tomcat?orig=e1
    If you are familiar with JBoss Application Server:
    http://www.hexamind.com/website/surveys/jboss?orig=e1
    We thank you for your help,
    Itai Shirav
    Hexamind Ltd.
    http://www.hexamind.com

    Hmm Marketing

  • Need help configuring JDBC Realm on Tomcat 4.0.1

    I'm getting the following error:
    (from DOS prompt)
    Starting service Tomcat-Standalone
    Apache Tomcat/4.0.1
    Catalina.start: LifecycleException:  Exception opening database connection:  jav
    a.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name too long
    LifecycleException:  Exception opening database connection:  java.sql.SQLExcepti
    on: [Microsoft][ODBC Driver Manager] Data source name too long
            at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:615)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)Here's my attempted configuration:
                <Realm  className="org.apache.catalina.realm.JDBCRealm" debug="99"
                     driverName="sun.jdbc.odbc.JdbcOdbcDriver"
                    connectionURL="jdbc:odbc:DSNname@host_string:1521:ORCL?user=user_name;password=pwd_name"
                    userTable="chg_users" userNameCol="user_name" userCredCol="user_pass"
                    userRoleTable="chg_users_roles" roleNameCol="role_name" />Any help would be appreciated!
    Thanks!

    connectionURL="jdbc:odbc:CATALINA"
    in this case, where is CATALINA supposedly pointing
    to a DB connection? I don't have mine set, save for
    maybe the classpath, but why would you point the
    connURL through jdbc:odbc to CATALINA?
    That is the name of a DNS. The ODBC shell (nothing to do with java) has DNS names. The shell uses the passed in name to look up the attributes associated with the name.
    If you were using a DNS-less name then you would have to specify ODBC driver (nothing to do with java) and the associated attributes for that driver in the connection string.
    I'm a little confused by this. Any explanation would
    be great, as I have a driver that is jdbc:odbc,
    rather than an exclusive Oracle driver.
    Well, I've got the ojdbc14_g.jar file. But that's not
    exclusively Oracle, correct? Just for JDBC with
    Oracle?
    A jdbc driver lives somewhere. The bridge driver lives in the Sun VM. The Oracle driver lives in a jar (current ones.)
    The bridge driver talks to ODBC (which is outside of java.)
    The oracle drivers talk to oracle databases.

Maybe you are looking for