Weblogic mysql SQLAuthenticator

Hi. I want to add an sql authentication provider using a mysql data source.
I created the data source MySQLJDBC leaving the default options , except for the transactions tab where i chose Logging Last Resource .
and the connection pool where i set the Initial Capacity to 0. I tested the configuration and it succeeded.
Afterwards i deployed it to my AdminServer and added the sql authenticator provider with Data Source Name MySQLJDBC .
When i start the server the following error shows:
*ava.sql.SQLException: [Security:090735]The DBMS connection was not usable     at* weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateImpl.getManageableConnection(DBMSSQLAuthenticatorDelegateImpl.java:923)
     at weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateImpl.validateConfiguration(DBMSSQLAuthenticatorDelegateImpl.java:153)
     at weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateImpl.<init>(DBMSSQLAuthenticatorDelegateImpl.java:78)
     at weblogic.security.providers.authentication.DBMSAuthenticatorDelegateImpl.getInstance(DBMSAuthenticatorDelegateImpl.java:459)
     at weblogic.security.providers.authentication.DBMSSQLAuthenticationProviderImpl.initialize(DBMSSQLAuthenticationProviderImpl.java:56)
     at com.bea.common.security.internal.legacy.service.SecurityProviderImpl.init(SecurityProviderImpl.java:65)
     at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)
     at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
     at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
     at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
     at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(Unknown Source)
     at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(Unknown Source)
     at weblogic.security.service.CSSWLSDelegateImpl.initialize(Unknown Source)
     at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(Unknown Source)
     at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(Unknown Source)
     at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(Unknown Source)
     at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(Unknown Source)
     at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
     at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
     at weblogic.security.SecurityService.start(SecurityService.java:141)
     at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
any suggestions?
thanks in advance....

Did you run all the database configuration scripts.
Thanks
Vishnu

Similar Messages

  • Login Page

    I have two pages I want to protect. One is core.jspx, and the other is foundation.jspx. How do I create a login page with authentication to the the database to restrict access.
    In other words, I want to have username and passwords stored in the database. I am currently using the default connection to connect to the database via JDeveloper provides. Do I need to use the thin server?
    I am using Oracle 10g XE, and JDeveloper currently to develop this application.
    thank you

    fyi
    Navaneetha Krishnan Nataraj wrote:
    ... http://soadev.blogspot.com/2010/04/sqlauthenticator-simply-best.html ...
    Be wary when using ADF Security (OPSS) with a SQLAuthenticator.
    This is feedback I got in SR 3-4124753004 :
    "If the you want to use DB as the identity store, then the supported way is to buy OVD server license and configure DB adapter in OVD and then configure an OVD authenticator in Weblogic. SQLAuthenticator will not be used as identity store. And, we do not recommend to use LibOVD for DB identity store. OVD server is the recommended and supported way."
    related bugs are :
    - bug 13876651, "FMW CONTROL SHOULD NOT ALLOW MANAGING USERS GROUPS FROM SQL AUTHENTICATOR"
    - enhancement request 12864498, "OPSS : ADDMEMBERSTOAPPLICATIONROLE : THE SEARCH FOR ROLE FAILED"
    related forum threads are :
    - "ADF Security : identity store : tables in a SQL database"
    - "OPSS : addMembersToApplicationRole : The search for role failed"
    regards
    Jan Vervecken

  • ADF Security & DB roles

    Adding on behalf of one of my colleague.
    ADF Security.
    Currently we have roles as database objetcs. These roles are assigned to different users.
    We need to populate these roles as Application Roles in ADF Security.
    Please let us know is there any suggestion available for this.
    Best Regards,
    Lokanath

    fyi
    Frank Nimphius wrote:
    ... 1. roles in a table
    In this case use SQL Authenticator in WLS ...Be wary when using ADF Security (OPSS) with a SQLAuthenticator.
    This is feedback I got in SR 3-4124753004 :
    "If the you want to use DB as the identity store, then the supported way is to buy OVD server license and configure DB adapter in OVD and then configure an OVD authenticator in Weblogic. SQLAuthenticator will not be used as identity store. And, we do not recommend to use LibOVD for DB identity store. OVD server is the recommended and supported way."
    related bugs are :
    - bug 13876651, "FMW CONTROL SHOULD NOT ALLOW MANAGING USERS GROUPS FROM SQL AUTHENTICATOR"
    - enhancement request 12864498, "OPSS : ADDMEMBERSTOAPPLICATIONROLE : THE SEARCH FOR ROLE FAILED"
    related forum threads are :
    - "ADF Security : identity store : tables in a SQL database"
    - "OPSS : addMembersToApplicationRole : The search for role failed"
    regards
    Jan Vervecken

  • Best way Of providing user authentication using ADF security...

    Hi,
    I have a web application . I want to implement to ADF security to the application.. What is the best approach of doing this? I have the user information in the database tables along with the roles and other information. I want to these tables for authorization ?
    What is the best approach to do this? It would be great if u could help ..
    I ma using 11g release 2
    Thanks in advance.
    Rakesh

    Hi,
    Thanks for the quick response.
    I have been looking at the post but i found one of the forum post in which the person was saying the SQLAuthentication doesnt work ..
    "Be wary when using ADF Security (OPSS) with a SQLAuthenticator.
    This is feedback I got in SR 3-4124753004 :
    "If the you want to use DB as the identity store, then the supported way is to buy OVD server license and configure DB adapter in OVD and then configure an OVD authenticator in Weblogic. SQLAuthenticator will not be used as identity store. And, we do not recommend to use LibOVD for DB identity store. OVD server is the recommended and supported way."
    related bugs are :
    - bug 13876651, "FMW CONTROL SHOULD NOT ALLOW MANAGING USERS GROUPS FROM SQL AUTHENTICATOR"
    - enhancement request 12864498, "OPSS : ADDMEMBERSTOAPPLICATIONROLE : THE SEARCH FOR ROLE FAILED"
    related forum threads are :
    - "ADF Security : identity store : tables in a SQL database"
    - "OPSS : addMembersToApplicationRole : The search for role failed"
    regards
    Jan Vervecken"
    Is this true?
    Rakesh

  • Issue in bringing up CRS on ATG 10.1.1 with MySQL and Weblogic 10.3

    Hello,
    I am trying to bring up Commerce Reference Store as part of my evaluation using MySQL (bundled with ATG) and WebLogic 10.3.
    I followed the ATG Documentation on CRS with WebLogic and MySQL and I could not proceed because of the below error log. I keep getting error in OnlineCreateServerInstanceTask of CIM. I believe it should be some configuration problem, but could not think of any.
    As part of the installation, I use C:\jdk1.6.0_25. I verified my weblogic server is up through the admin console. I started MySQL before running the eval batch. Apart from starting MySQL server, I did not make any datasource/database configuration changes for ATG. I have not run any other scripts to configure MySQL too.
    Please guide me to resolve the problem.
    C:\ATG\ATG10.1.1\CommerceReferenceStore\Store\eval>configureEval.bat
    Do you wish to run the CRS evaluation installation? [Y/N]: y
    Do you wish to use an existing database for the CRS evaluation? [Y/N]: n
    The CRS evaluation install will attempt to create the database. Press [Return] t
    o continue or any other key to quit:
    Enter mysql database connection details
    Enter user name: admin
    Enter user password: admin
    Enter database name: crsprod
    Enter 'root' user password:
    Creating database...
    Finished database creation
    Enter weblogic admin server URL: http://localhost:7001
    Enter weblogic admin server username: weblogic
    Enter weblogic admin server password: weblogic123
    Buildfile: C:\ATG\ATG10.1.1\CommerceReferenceStore\Store\eval\evalbuild.xml
    all:
    [copy] Copying 1 file to C:\ATG\ATG10.1.1\CommerceReferenceStore\Store\eval
    [delete] Deleting: C:\ATG\ATG10.1.1\CommerceReferenceStore\Store\eval\cimOut.
    cim.tmp
    BUILD SUCCESSFUL
    Total time: 0 seconds
    Application Server: weblogic
    The following installed ATG components are being used to launch:
    ATGPlatform version 10.1.1 installed at C:\ATG\ATG10.1.1
    Created "C:\ATG\ATG10.1.1\home\CIM\startDynamo.jar" in 15,273ms.
    Nucleus running
    atg.cim.productconfig.productselector.ProductSelectionContextTask starting...
    (Searching for products... done.)
    atg.cim.productconfig.productselector.ProductSelectionContextTask finished.
    atg.cim.productconfig.appserver.AppServerSelectTask starting...
    atg.cim.productconfig.appserver.AppServerSelectTask finished.
    atg.cim.productconfig.appserver.AppServerPathTask starting...
    atg.cim.productconfig.appserver.AppServerPathTask finished.
    atg.cim.productconfig.appserver.DomainPathTask starting...
    atg.cim.productconfig.appserver.DomainPathTask finished.
    atg.cim.productconfig.appserver.UrlTask starting...
    atg.cim.productconfig.appserver.UrlTask finished.
    atg.cim.productconfig.appserver.UsernameTask starting...
    atg.cim.productconfig.appserver.UsernameTask finished.
    atg.cim.productconfig.appserver.PasswordTask starting...
    atg.cim.productconfig.appserver.PasswordTask finished.
    atg.cim.productconfig.appserver.AppServerSelectionPersistenceTask starting...
    atg.cim.productconfig.appserver.AppServerSelectionPersistenceTask finished.
    atg.cim.database.CreateSchemaTask starting...
    atg.cim.database.CreateSchemaTask finished.
    atg.cim.database.ImportDataTask starting...
    Combining template tasks...Success
    Importing (1 of 1) /CIM/tmp/import/nonswitchingCore-import1.xml:
    /CommerceReferenceStore/Store/Storefront/data/pricelists.xml to /atg/commerce/pr
    icing/priceLists/PriceLists
    /CommerceReferenceStore/Store/Storefront/data/stores.xml to /atg/store/stores/St
    oreRepository
    /CommerceReferenceStore/Store/Storefront/data/catalog-i18n.xml to /atg/commerce/
    catalog/ProductCatalog
    /CommerceReferenceStore/Store/Storefront/data/pricelists-i18n.xml to /atg/commer
    ce/pricing/priceLists/PriceLists
    /CommerceReferenceStore/Store/Storefront/data/sites.xml to /atg/multisite/SiteRe
    pository
    /CommerceReferenceStore/Store/Storefront/data/sites-i18n.xml to /atg/multisite/S
    iteRepository
    /CommerceReferenceStore/Store/Storefront/data/promos-i18n.xml to /atg/commerce/c
    atalog/ProductCatalog
    /CommerceReferenceStore/Store/Storefront/data/seotags-i18n.xml to /atg/seo/SEORe
    pository
    /CommerceReferenceStore/Store/Storefront/data/wishlists.xml to /atg/commerce/gif
    ts/Giftlists
    /CommerceReferenceStore/Store/Storefront/data/inventory.xml to /atg/commerce/inv
    entory/InventoryRepository
    /CommerceReferenceStore/Store/Storefront/data/users.xml to /atg/userprofiling/Pr
    ofileAdapterRepository
    /CommerceReferenceStore/Store/Storefront/data/orders.xml to /atg/commerce/order/
    OrderRepository
    /CommerceReferenceStore/Store/Storefront/data/orders-i18n.xml to /atg/commerce/o
    rder/OrderRepository
    /CommerceReferenceStore/Store/Storefront/data/storetext-i18n.xml to /atg/store/s
    tores/StoreRepository
    /CommerceReferenceStore/Store/Storefront/data/claimable-i18n.xml to /atg/commerc
    e/claimable/ClaimableRepository
    ... > Success
    All Imports Completed Successfully
    atg.cim.database.ImportDataTask finished.
    atg.cim.worker.common.PropertyFileClearPersistanceTask starting...
    atg.cim.worker.common.PropertyFileClearPersistanceTask finished.
    atg.cim.productconfig.serverinstance.ServerInstanceNameTask starting...
    atg.cim.productconfig.serverinstance.ServerInstanceNameTask finished.
    atg.cim.productconfig.serverinstance.PortBindingsSelectTask starting...
    atg.cim.productconfig.serverinstance.PortBindingsSelectTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.worker.common.MapPropertyFileCreatorTask starting...
    atg.cim.worker.common.MapPropertyFileCreatorTask finished.
    atg.cim.productconfig.serverinstance.MakeServerInstanceFromPatternTask starting.
    atg.cim.productconfig.serverinstance.MakeServerInstanceFromPatternTask finished.
    atg.cim.productconfig.appassembly.EarFileNameTask starting...
    atg.cim.productconfig.appassembly.EarFileNameTask finished.
    atg.cim.productconfig.deploy.weblogic.OnlineCreateServerInstanceTask starting...
    Error Executing Batch File
    atg.cim.worker.TaskException: Error deploying to weblogic
    atg.cim.worker.TaskException: Error exececuting batch file
    at atg.cim.flow.CimFlowCreator.startHeadlessCimFlow(CimFlowCreator.java:
    130)
    at atg.cim.Launcher.startCimFlow(Launcher.java:278)
    at atg.cim.Launcher.main(Launcher.java:99)
    Caused by: atg.cim.worker.TaskException: Error deploying to weblogic
    at atg.cim.worker.Task.handleException(Task.java:72)
    at atg.cim.productconfig.deploy.weblogic.OnlineCreateServerInstanceTask.
    execute(OnlineCreateServerInstanceTask.java:159)
    at atg.cim.headless.HeadlessExecutorImpl.executeTasks(HeadlessExecutorIm
    pl.java:150)
    at atg.cim.headless.HeadlessExecutorImpl.populateAndExecuteHeadlessTasks
    (HeadlessExecutorImpl.java:140)
    at atg.cim.batch.BatchChooserExecutor.populateAndExecuteHeadlessTasks(Ba
    tchChooserExecutor.java:169)
    at atg.cim.flow.CimFlow.headlessFlow(CimFlow.java:116)
    at atg.cim.flow.CimFlowCreator.startHeadlessCimFlow(CimFlowCreator.java:
    120)
    ... 2 more
    Caused by: C:\ATG\ATG10.1.1\CIM\plugins\Base\ant\cim-ant.xml:348: The following
    error occurred while executing this line:
    C:\ATG\ATG10.1.1\CIM\plugins\Base\ant\cim-ant.xml:254: The following error occur
    red while executing this line:
    C:\ATG\ATG10.1.1\CIM\plugins\Base\ant\cim-ant.xml:214: exec returned: 1
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
    tHelper.java:541)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
    a:394)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
    a:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    at atg.cim.task.ant.utility.AntExecutionWrapper.executeAntTarget(AntExec
    utionWrapper.java:167)
    at atg.cim.worker.AntTask.executeAntTarget(AntTask.java:115)
    at atg.cim.productconfig.deploy.weblogic.OnlineCreateServerInstanceTask.
    execute(OnlineCreateServerInstanceTask.java:155)
    ... 7 more
    Caused by: C:\ATG\ATG10.1.1\CIM\plugins\Base\ant\cim-ant.xml:254: The following
    error occurred while executing this line:
    C:\ATG\ATG10.1.1\CIM\plugins\Base\ant\cim-ant.xml:214: exec returned: 1
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
    tHelper.java:541)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
    a:394)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
    a:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
    a:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
    a:391)
    ... 20 more
    Caused by: C:\ATG\ATG10.1.1\CIM\plugins\Base\ant\cim-ant.xml:214: exec returned:
    1
    at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636)
    at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662)
    at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
    a:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
    a:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
    a:391)
    ... 34 more
    Nucleus shutting down
    Nucleus shutdown complete
    Thanks.

    This error is resolved after following the logs in C:\ATG\ATG10.1.1\CIM\log\cim.log. The root cause is I used http as protocol instead of t3 while specifying weblogic admin url.
    http://localhost:7001 instead of t3://localhost:7001
    Thanks.

  • Using MySQL DB on Weblogic 10.3.2 for JMS Store and etc.

    Hi,
    I am planning to use MySQL DB w Weblogic 10.3.2 server.
    I am planning to use Persistent JMS Destinations and planning to use MySQL Datasource for JMS store.
    Can anyone please help me understand any serious issues or considerations of this combination?
    Thanks
    Sagar

    Hi,
    I am planning to use MySQL DB w Weblogic 10.3.2 server.
    I am planning to use Persistent JMS Destinations and planning to use MySQL Datasource for JMS store.
    Can anyone please help me understand any serious issues or considerations of this combination?
    Thanks
    Sagar

  • Mysql and Weblogic 10.3.5

    I was working fine with mysql on weblogic 10.3.2.
    But with weblogic 10.3.5 it's getting problem.
    There are two jars in wlserver_10.3\server\ext\jdbc\mysql\
    1)mysql-connector-java-commercial-5.0.3-bin.jar
    2)mysql-connector-java-commercial-5.1.14-bin.jar
    When I put the first in the weblogic classpath I get the following message when my application is starting
    <13/03/2012 15h24min58s BRT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    java.lang.NoClassDefFoundError: com/mysql/jdbc/DatabaseMetaData
    at weblogic.jdbc.wrapper.DatabaseMetaData_com_mysql_jdbc_DatabaseMetaData.getDatabaseProductName(Unknown Source)
    at org.apache.openjpa.lib.jdbc.DelegatingDatabaseMetaData.getDatabaseProductName(DelegatingDatabaseMetaData.java:137)
    at org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:93)
    at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:554)
    at org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1250)
    Truncated. see log file for complete stacktrace
    And when I choose the second jar I get another NoClassDefFoundError:
    Caused By: java.lang.NoClassDefFoundError: com/mysql/jdbc/MySQLConnection
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
    I have no problem to configure the mysql datasource in weblogic console.
    The problem happens just to start my application.
    Can anybody help?
    Thanks. Mauro.

    Can you check if these classes are contained in the jars or not?
    You can also put the jar file that was working for you on WebLogic 10.3.2 in the classpath of WebLogic 10.3.5

  • Mysql jdbc drivers not found in weblogic server

    I want to create a connection pool in weblogic server,
    and use mysqldatabase.
    My drivers is "org.gjt.mm.mysql.Driver"
    I put the jar in "D:\bea\weblogic700\server\lib" ,but when i apply ,there is
    an error blow:
    Error creating connection pool
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:635)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:419)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)<2003-4-6 ����10��00��34��> <Error> <JDBC> <001060> <Cannot startup connection pool "mssqlserverPool" weblogic.common.ResourceException: Cannot load driver class: org.gjt.mm.mysql.Driver>
    Can anybody tell me why,thanks!

    Weblogic has been designed for nannies...
    I've developed a application which uses internally my own jdbc-driver.
    After months of really hard work on tomcat (the application works fine) I've tried migrate it to weblogic.
    But ...
    In weblogic seems mandatory to put the jdbc drivers out of the war!!!. Brilliant!!!
    If I move the driver out, I need move the 50% of the application out, also!
    If I move part of the application out, nothing works, because... �are the class loaders distinct?. And I'll need to do a lot of extra work because one day one weblogic architect had a great great inspiration.
    In the future I'll suggest to my customers to run and not stop when they listen the WEBLOGIC word.
    Regards,
    Pablo

  • Weblogic Integration 9.2 - Domain Configuration SQLAuthenticator

    hi
    <p>
    After downloading, the new vesrion, I started to use the Configuration Wizard to set up a Test Domain.
    <p>
    At the completion of the configuration, the following message is presented:
    <p>
    "This domain is configured to use the SQL authenticator security provider. You must load database tables in the "Run Database Scripts" panel or load the tables manually after completing the wizard using the SQL file located at ..... /security/SQLAuthenticator.sql"
    <p>
    1: This is something new as far as I can tell. At least I've never encountered it and I have installed earler versions of 9.2, ALSB recently
    <p>
    2: when setting up a new domain, neither the server nor pointbase are running. Hence the scripts cant be run from withiin the Config Wizard.
    <p>
    3: Cant start the Admin server for the new domain because the tables are not set up
    <p>
    4: How do I run the .sql script manually? I'm assuming the PB Console but I dont actually know the Pointbase Datbase name that I should connect to for this purpose
    <p>
    5: I can't find any discussion of this in the release notes, upgrade notes etc.
    <p>
    So I'm stuck. This seems a pretty strange way to do things. Any advise would be appreciated.
    <p>
    Regards
    <p>
    Jim Nicolson

    T C wrote:
    I have also run into the "Run Database Scripts" dialog box after creation of a domain. When I started the domain I got the following error:
    <[Security:090737]An exception occured while getting connection to validate the configuration settings
    va.sql.SQLException: [Security:090735]The DBMS connection was not usable
    I have BEA 9.2 Platform running on Windows 2000 Professional Service pack 3.
    Incidentally, I started pointbase manually (startPointBase.cmd), started PointBase Console (startPointBaseConsole.cmd) in order to execute the SQLAuthenticator.sql script. This all failed because this SQL script refers to tables GROUPS and USERS, which did not exist in my PointBase schema.
    What worked for me was:
    1. Create a new domain, and only select Workshop for WebLogic, WebLogic Portal, and WebLogic Integration options.
    2. Select YES to Customize Environment and Services Settings tab.
    3. Take defaults until the Run Database Scripts dialog box.
    4. On the Run Database Scripts dialog box, run the scripts for p13nDatasource and cgDataSource-nonXA.
    5. Take default on the remaining steps, and after domain creation the "Run Database Scripts" dialog box shouldn't appear, and the domain should start properly.I'm curious though as what would one do if instead of PointBase DB, we use MS SQL 2000,
    for all the relevant databases in an Integration domain? Thanks.
    ---Nam

  • Weblogic 7.0 , MySQL 3.23 JDBC Connection Pools

    i am using weblogic 7.0 and MySQL 3.23 and right now my objective is to create,
    configure and test a JDBC
    connection pool using the Administrative console.
    Here is what i have done till now
    - set the classpath of the MySQL driver in the startWLS.cmd like this
    SET MYSQL_DRIVER=C:\mysqldriver\mysql-connector-java-2.0.14\mysql-connector-java-2.0.14-bin.jar
    set CLASSPATH=%MYSQL_DRIVER%;%CLASSPATH%
    - using the weblogic administrative console i have created a new connection pool
    named as
    testpool.
    - Here is what i have in the testpool general tab
    Name: testpool
    URL: jdbc:mysql//localhost:3306/test (test is the name of the database in mysql)
    Driver Classname: org.gjt.mm.mysql.Driver
    I have not entered any Properties, ACL Name, Password or Open String Password.
    - Now i go the the Testing tab and enter a name of a table in my test database
    and click on Apply
    and on the command window i am getting the following exception
    java.sql.SQLException No suitable driver
    Thanks in advance,
    Ashish

    Thanks a lot Slava. After reading your mail and the post i was able to get it working.
    "Slava Imeshev" <[email protected]> wrote:
    Hi Ashish,
    I figured out what's the problem. URL in the connection pool
    definition is malformed. It's
    jdbc:mysql//localhost:3306/test
    while the correct one should have colon after mysql:
    jdbc:mysql://localhost:3306/test
    Regards,
    Slava Imeshev
    "Ashish Sureka" <[email protected]> wrote in message
    news:[email protected]...
    I am sorry, the program that i posted here is not comming properlyformatted but
    i am able to run a simple java program that connects to MySQL and alsoa
    servlet
    that connects to the MySQL. The only problem i am having is includingthe
    MySQL
    driver jar files to the weblogic server classpath.
    Thanks,
    Ashish.
    "Ashish Sureka" <[email protected]> wrote:
    Hello Joseph Weinstein,
    Actually, i already tried the same approach that you have mentioned
    in
    your reply
    before i posted my message here. Following is the program that i use
    to check
    MySQL connection.
    import java.sql.*;
    public class MySQLConnect
    public static void main(String[] args) throws Exception
    try {
    Class.forName ( "org.gjt.mm.mysql.Driver" );
    System.out.println ( "MySQL Driver Found" );
    } catch ( java.lang.ClassNotFoundException e ) {
    System.out.println("MySQL JDBC Driver not found ... ");
    throw ( e );
    String url = "";
    Connection con = null;
    try {
    url = "jdbc:mysql://" + "localhost:3306" + "/" + "test";
    con = DriverManager.getConnection(url);
    System.out.println("Connection established to " + url + "");
    } catch ( java.sql.SQLException e ) {
    System.out.println("Connection couldn't be established to " + url);
    String sqlStatement = "SELECT * FROM testtable";
    try {
    Statement s = con.createStatement();
    s.execute (sqlStatement);
    s.close ( );
    } catch ( SQLException e ) {
    System.out.println ( "Error executing sql statement" );
    con.close();
    The classpath that i use to run this program is
    SET PATH=C:\bea\jdk131_03\bin
    SETCLASSPATH=C:\bea\jdk131_03\jre\lib\rt.jar;C:\bea\weblogic700\ebcc\lib\ext\se
    rvlet.jar;C:\CSC413\Demos\HelloApp\HelloAppJAR
    SET CLASSPATH=%CLASSPATH%;C:\bea\weblogic700\server\lib\weblogic.jar
    SETMYSQL_DRIVER=C:\mysqldriver\mysql-connector-java-2.0.14\mysql-connector-java
    -2.0.14-bin.jar
    set CLASSPATH=.;%MYSQL_DRIVER%;%CLASSPATH%
    I have also written a Servlet which checks the MySQL connection. For
    the servlet
    i added the MySQL driver jar files in the WEB-INF/lib directory ofthe
    servlet
    web application and it is working fine.
    do you want me to attach the startWLS.cmd file that i changed to include
    the MySQL
    driver classpath.
    Thanks for your replies,
    Ashish.
    Joseph Weinstein <[email protected]> wrote:
    Ashish Sureka wrote:
    When i start the weblogic server using the command prompt by executingthe startWLS.cmd,
    i can see the classpath the server is using on the command window
    and
    that includes
    the jar file for the MySQL driver but still it is throwing a
    SQLException
    and
    saying that No Suitable driver.
    How do i include a external library or jar file on the weblogic
    server's
    classpath.
    is there a specific directory where i should put the MySQL driver
    jar
    file .
    Thanks,
    Ashish.No. Let's simplfy the problem. Please run a tiny standalone Java
    program
    that
    just makes a JDBC connection to your MySQL DBMS, with no weblogic
    code in the picture. When you succeed at this, show me the CLASSPATH
    and
    PATH of the shell that ran the program successfully, and show methe
    few lines
    of code that made the connection. Then we will know the problem.It
    may
    be that
    the URL you're passing to the pool is not exactly correct for that
    driver.
    Joe
    Joseph Weinstein <[email protected]> wrote:
    Ashish Sureka wrote:
    i am using weblogic 7.0 and MySQL 3.23 and right now my objective
    is
    to create,
    configure and test a JDBC
    connection pool using the Administrative console.
    Here is what i have done till now
    - set the classpath of the MySQL driver in the startWLS.cmd
    like
    this
    SET
    MYSQL_DRIVER=C:\mysqldriver\mysql-connector-java-2.0.14\mysql-connector-java
    -2.0.14-bin.jar
    set CLASSPATH=%MYSQL_DRIVER%;%CLASSPATH%
    - using the weblogic administrative console i have created anew
    connection
    pool
    named as
    testpool.
    - Here is what i have in the testpool general tab
    Name: testpool
    URL: jdbc:mysql//localhost:3306/test (test is the name of
    the
    database
    in mysql)
    Driver Classname: org.gjt.mm.mysql.Driver
    I have not entered any Properties, ACL Name, Password or
    Open
    String
    Password.
    - Now i go the the Testing tab and enter a name of a table in
    my
    test
    database
    and click on Apply
    and on the command window i am getting the following exception
    java.sql.SQLException No suitable driverWatch the first lines that the server prints out when the script
    starts
    it. The script
    shows the classpath that was constructed for the server. It is
    likely
    that you need
    to do something else to ensure your driver is really in the classpath
    the server uses.
    Joe
    Thanks in advance,
    Ashish

  • How to use CMP in Weblogic 9.2 with MySQL?

    Hello all...
    So I've been tasked wiith moving an Oracle/Weblogic installation to a MySQL/Weblogic platform. Things are moving along well, except that in my CMP (Container-Managed Persistence) descriptors, the database-type is set to "Oracle" and there are references to columns of type "OracleBlob" and "OracleClob".
    I changed database-type to "MySQL" and those columns to "Blob" and "Clob", but it doesn't work -- Weblogic reports that MySQL doesn't support Blobs and Clobs (which is untrue, but perhaps Weblogic 9.2 doesn't know how to deal with MySQL Blobs and Clobs).
    Has anyone encountered this before? Is there a workaround? I've Google'd it and looked here, and it doesn't seem like many people use this combination of MySQL and Weblogic, so there's not much discussed on this topic.
    Any help would be much appreciated!
    - Tim Bessie

    First you need to make sure that you are using supported configuration. CMP (WebLogic feature) is supported with MySql4 with Connect/J
    http://edocs.bea.com/platform/suppconfigs/configs92/92_over/supported_db.html#1177621
    Thanks,
    Jayesh
    Yagna Sys

  • Iam trying Mysql in weblogic 5.0 ERRR

    These are the property file settings
    weblogic.jdbc.connectionPool.zmisPool=\
    url=jdbc:mysql://localhost:3306/ZMIS,\
    driver=org.gjt.mm.mysql.Driver,\
    loginDelaySecs=1,\
    initialCapacity=4,\
    maxCapacity=10,\
    capacityIncrement=2,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshMinutes=10,\
    testTable=dual,\
    props=user=kalyanc;password=kalyanc;server=localhost
    :3306:ZMIS
    Error Msg received is :
    Fri Jan 18 18:51:05 IST 2002:<E> <JDBC Pool> Failed to create conn
    ection pool "zmisPool"
    weblogic.common.ResourceException: Could not load 'org.gjt.mm.mysq
    l.Driver' because
    System.loadLibrary threw java.lang.UnsatisfiedLinkError
    with the message 'org.gjt.mm.mysql.Driver'.
    This could occur if the JDBC driver is not in the weblogic.class.
    path.
    If this is a type-2 JDBC driver, it may also indicate that
    the Driver native layers(DBMS client lib or driver DLL)
    have not been installed properly on your system or in your enviro
    nment.
    This is most likely caused by one of the following:
    1. The native layer SO, SL, or DLL could not be found.
    2. The file permissions on the native layer SO, SL, or DLL
    have not been set properly.
    3. The native layer SO, SL, or DLL exists, but is either
    invalid or corrupted.
    For more information, read the installation documentation
    for your JDBC Driver, available from:
    http://www.weblogic.com/docs/install/install_jdbc.html
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.load
    Driver(ConnectionEnvFactory.java:82)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.<ini
    t>(ConnectionEnvFactory.java:97)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(Co
    nnectionPool.java:328)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcIn
    fo.java:106)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo
    .java:220)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStar
    tup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.ja
    va:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.jav
    a:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExec
    uteThread.java:62)
    If the solution is done faster I would be saved

    Hi !
    Please check the following:
    1. Can you access your MySql database on the command line ? It could be a privilege problem connecting as that user, from that host or to that database...
    2. Do you load your mm.mysql driver with
    Class.forName ("org.gjt.mm.mysql.Driver").newInstance(); ?
    I had some problems of that kind with that driver for not using the newInstance method.
    3. Try copying the driver to your application directory and run your application with the -cp mmMySqlDriver parameter. I had problems with referencing the driver in the CLASSPATH environment variable on a Windows NT machine, but it worked fine when I used the -cp switch.

  • Errors when Modifying a Weblogic EJB example to make it connect to mySQL

    Hello,
    I am learning the example codes shipped with weblogic server, which is under ...samples\examples\ejb20\basic\beanManaged. The original connection pool was on cloudscape. I was trying to modify it and make it connect to mySQL.
    In ejb-jar.xml and weblogic-ejb-jar.xml, I replaced "demopool" (which was the original pool name) with "demopool1".
    After starting the server, I configured a new connection pool as following:
    Name: demopool1
    URL: jdbc:mysql:///test
    Driver Classname: org.gjt.mm.mysql.Driver
    Properties
    (key=value): user=none
    server=none
    But when I run the example, I got the following error:
    ----------------Server Side:------------------------------------
    <2007-10-6 &#19979;&#21320;03&#26102;23&#20998;18&#31186;> <Error> <JDBC> <Error during Data Source creation:
    weblogic.common.ResourceException: DataSource(examples-dataSource-demoPool1) can't be created with non-existent Pool (connection or multi) (demoPool1)>
    setEntityContext called
    ejbFindByPrimaryKey (ID: 0)
    Failed to lookup JDBC Datasource. Please double check that
    the JNDI name defined in the resource-description of the
    EJB's weblogic-ejb-jar.xml file is the same as the JNDI name
    for the Datasource defined in your config.xml.
    ---------------------Client Side:-----------------------
    C:\bea\wlserver6.1\samples\examples\ejb20\basic\beanManaged>java examples.ejb20.
    basic.beanManaged.Client "t3://localhost:7001"
    Beginning beanManaged.Client...
    Trying to find account with id: ID: 0
    There was an exception while creating and using the Accounts.
    This indicates that there was a problem communicating with the server: java.rmi.RemoteException: Exception in ejbFindByPrimaryKey; nested exception is:
    javax.ejb.EJBException
    - with nested exception:
    [javax.naming.LinkException:  [Root exception is javax.naming.NameNotFoundException: Unable to resolve examples-dataSource-demoPool1. Resolved: '' Unresolved:'examples-dataSource-demoPool1' ; remaining name '']; Link Remaining Name: 'examples-dataSource-demoPool1']
    What should I do to solve this problem?
    Thanks a lot.

    The exception leads me to believe that you never set up the connection pool with that name in WebLogic. Why not try it? Do you know how to set up a connection pool? Start up the admin console and add it in.
    http://localhost:7001/console
    %

  • Weblogic 10.3 & MySQL Connector

    Hello everyone!
    I use Windows 7 Professional 64x and try to install MySQL connector for Weblogic server, copied mysql-connector-java-commercial-5.1.14-bin.jar to wlserver_10.3\server\lib directory and start my domain. I get an error "Failed to load Main-Class manifest attribute from mysql-connector-java-commercial-5.1.14-bin.jar [https://docs.google.com/file/d/0B5vWbjiK4UUbZGZCdlpWMUVHN2M/edit?usp=sharing]
    Could anybody help me to solve this problem?

    just putting it in the directory doesn't get WLS to add it to the classpath.
    Edit you domain's bin\setDomainEnv script, and add that jar (full path name)
    the the CLASSPATH that script creates.

  • Weblogic 10.3 with mysql

    Hi, i try to deploy a ejb 3.0 -toplink projekt built by jdev 11g released1 on weblogic 10.3.
    I use for the datasource a mysql 5.0.45 database.
    I use the driver class mysql-connector-java-5.1.6-bin.jar
    In the ..\wlserver_10.3\server\ext\jdbc\mysql directory I added the driver class too.
    By starting the SessionBean this exception is reased:
    09.10.2008 20:58:43 com.sun.faces.spi.InjectionProviderFactory getProviderInstance
    SCHWERWIEGEND: JSF1030: The specified InjectionProvider implementation 'com.bea.faces.WeblogicInjectionProvider' cannot be loaded.
    Can somebody help me, or what is need to deploy it to jboss?

    OK, now I know that this error doesn't matter.
    I tryed the ejb-s with a oracle 10g xe database, it works fine. But if i want to use the mysql database nothing works any more.
    This exception is always raised:
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         Truncated. see log file for complete stacktrace
    Exception [EclipseLink-28010] (Eclipse Persistence Services - 1.0.1 (Build 20080905)): org.eclipse.persistence.exceptions.EntityManagerSetupException
    Exception Description: PersistenceUnitInfo Model has transactionType JTA, but doesnt have jtaDataSource.
         at org.eclipse.persistence.exceptions.EntityManagerSetupException.jtaPersistenceUnitInfoMissingJtaDataSource(EntityManagerSetupException.java:154)
         at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:790)
         at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:195)
         at weblogic.deployment.PersistenceUnitInfoImpl.createEntityManagerFactory(PersistenceUnitInfoImpl.java:330)
         at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:123)
         Truncated. see log file for complete stacktrace
    This is the persitence unit:
    <persistence-unit name="Model-1" transaction-type="RESOURCE_LOCAL">
    <provider>
    org.eclipse.persistence.jpa.PersistenceProvider
    </provider>
    <class>
    model.Uebertabelle
    </class>
    <class>
    model.Tabelle1
    </class>
    <properties>
    <property name="eclipselink.jdbc.driver" value="com.mysql.jdbc.Driver"/>
    <property name="eclipselink.jdbc.url" value="jdbc:mysql://localhost:3306/pipeulator"/>
    <property name="eclipselink.jdbc.user" value="root"/>
    <property name="eclipselink.jdbc.password" value=""/>
    <property name="eclipselink.logging.level" value="FINER"/>
    <property name="eclipselink.target-server" value="WebLogic_10"/>
    <property name="eclipselink.jdbc.platform" value="org.eclipse.persistence.platform.database.oracle.OraclePlatform"/>
    </properties>
    </persistence-unit>
    There are any ideas?

Maybe you are looking for

  • Can't play CD/DVD's

    For the last few days, for some reason my Laptop (Presario F700) just stopped loading CD's and DVD's. I've made sure it's on Autoplay but with no luck. You can hear it like as if it's scanning/loading (whatever you wanna call it) but nothing happens.

  • Netflix Update

    I know there has been a recent update to support it on the 4th gen, but has anyone heard anything about an update to support video out on the iPod touch 2nd or 3rd generation?

  • CCMS Solution Manager

    Hi, I am trying first time configuration of CCMS auto alerts through Solution Manager 4, I would like to knows step by step configration with screenshots, using NW2004s 4.6C SP20 WA620 under Unix... If anyone provide me information or URL I will be r

  • Creating hair/string with trapcode particular

    hi currently trying to put together a graphic which includes string gently blowing in the wind from text i am using trapcode particular to put this together, but am open to suggestion in terms of other software. the reasoning for using particular as

  • Download Adobe Premiere Pro CS5.5

    Is there still a download for Premiere Pro CS5.5?