JDBC Initialization Failure during WebLogic Startup BEA-001136

Getting the BEA-001136 when attempting to start up SOA
receiving :
java.lang.NullpointerException
at java.util.Hashtable.put(Hashtable.java: 401)
at weblogic.jdbc.module.JDBCDataSourceFactory.addDataSourceFactory(JDBCDataSourceFactory.java:37)
at weblogic.jdbc.common.internal.JDBCService.initFactories(JDBCService.java:370)
at weblogic.jdbc.common.internal.JDBCService.initialize(JDBCService.java:116)
at weblogic.jdbc.common.internal.JDBCService.start(JDBCService.java:135)
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)
We are running on Weblogic 10.1.3
Any help would be great

This error happens to me after i installed WebLogic and tried to deploy an application.
I added then a dataSource and connection pool using the WebLogic console.
After that i restared my machine, because it become so slow.
After that i was not able to restart WebLogic, i got the error:
Caused By: java.lang.ClassNotFoundException: oracle.jbo.server.DatabaseTransactionFactory
     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
I modified the file config.xml, by commenting the entry <!-- jdbc-data-source-factory...
I renamed the name of the file JDBC_Data_Source-0-3407-jdbc.xml (may be the 3407 is a specific number for my installation)
After that i restarted the WebLogic, i now i can acces it by its console.
Thanks.
Zahir Djail.

Similar Messages

  • After Effects can't continue: unexpected failure during application startup

    Im running 10.10, Mac OSX, it was running fine before a minor update came out, and now I can not open AE CS6. I have uninstalled, reinstalled it, installed the trial of CC 2014. No messages beside "After Effects can’t continue: unexpected failure during application startup" come up.
    System log:
    Jun 22 15:30:49 Users-iMac.local AdobeCrashDaemon[976]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.0 instead of 10.10.0. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.
                Call location:
    Jun 22 15:30:49 Users-iMac.local AdobeCrashDaemon[976]: 0   CarbonCore                          0x00007fff82bb637d ___Gestalt_SystemVersion_block_invoke + 113
    Jun 22 15:30:49 Users-iMac.local AdobeCrashDaemon[976]: 1   libdispatch.dylib                   0x00007fff8bf70fa2 _dispatch_client_callout + 8
    Jun 22 15:30:49 Users-iMac.local AdobeCrashDaemon[976]: 2   libdispatch.dylib                   0x00007fff8bf70f00 dispatch_once_f + 79
    Jun 22 15:30:49 Users-iMac.local AdobeCrashDaemon[976]: 3   CarbonCore                          0x00007fff82b5e932 _Gestalt_SystemVersion + 987
    Jun 22 15:30:49 Users-iMac.local AdobeCrashDaemon[976]: 4   CarbonCore                          0x00007fff82b5e51f Gestalt + 144
    Jun 22 15:30:49 Users-iMac.local AdobeCrashDaemon[976]: 5   AdobeCrashDaemon                    0x0000000100002e69 -[MyDaemon GetOSVersionMajor] + 33
    Jun 22 15:30:49 Users-iMac.local AdobeCrashDaemon[976]: 6   AdobeCrashDaemon                    0x0000000100002d4a -[MyDaemon isRunningOnLeopard] + 25

    Well, looks like a bug in Yosemite. You might wanan read the pertinent announcements, anyway. At this point Adobe apps are not compatible with OSX 10.10.
    Mylenium

  • Deployed application is not picked up during weblogic startup

    I'm having this strange problem, my application is deployed with java.Deployer
    tool, works fine, then when ever i reboot the weblogic server, the application
    is not accessible untill i explicitly redeploy it again.
    Please help!

    http://e-docs.bea.com/wls/certifications/certs_810/overview.html
    Looks 141_03. But you have to understand what "certification" means.
    Typically within minor revs of the VM 141_03 and 142 you are ok and there
    should be no problems.
    As for the proving it to you... There were lots of changes and improvemetns
    to the 8.1 code line for deployment. As for knowing what your testing for,
    OOM is a general error with no clear indication of where the problem lies,
    its not clear if it is WLS version or the VM itself. I am sure you know the
    hard answer there, it takes digging in with a profiler to find the culprit.
    You have two options:
    1) Drill down with a profiler in your env and figure out exactly WHAT is the
    cause of the leak in the current environment
    2) switch between different app verndors/versions and VMs.
    Either way you have alot of varialbes to track, take care of and compare.
    There is no silver bullet as always.
    Cheers
    mbg
    "Stephen" <[email protected]> wrote in message
    news:[email protected]...
    >
    BTW, is 8.1 certified with 1.4.2 on Solaris/Sparc yet? Otherwise it is anon-starter
    >
    "Stephen" <[email protected]> wrote:
    SOS, we hear this one all the time, the new and improved version fixes
    the problem.
    Is this a 1.4.2 fix that helps 8.1 or something in the code that is
    different?
    be specific, I have this problem as well and am not willing to give it
    another
    try unless I know what I am testing for.
    "Mark Griffith" <[email protected]> wrote:
    My suggestion would be to try 8.1, I developed many sample applications
    over
    the course of the release and never had to restart the server and could
    continually redeploy. The worst it got was having to completely
    undeploy
    and redeploy the application. (undeploy + redeploy is different that
    just
    redeploy).
    Cheers
    mbg
    "Tom Wilson" <[email protected]> wrote in message
    news:[email protected]...
    This probably doesn't help but....we were doing our initial
    development
    using
    Weblogic 7.0 using 1.3.1_08 but finally we got tired of dealing withthe
    out
    of memory issues resulting from continuously deploying new versionsof JSP
    pages on our system. We found that running into the "Out of Memory"exceptions
    combined with restarting and redeploying the app wasted too much time- an
    average of 7 minutes about 7-8 times a day resulting in about 1 hourworth
    of downtime for each developer using Weblogic. We finally trieddeveloping
    our system with Tomcat and OpenEJB and now we never get "Out of
    Memory"
    exceptions requiring us to restart Tomcat - provided we are onlyworking
    on JSP's.
    Also, we used JDK 1.4.2 with Tomcat which helps get around the memoryleak
    issue
    that results from compiling JSP's using JDK 1.3.1.
    My suggestion...try something else
    "Stephen Westbom" <[email protected]> wrote:
    I have had the same problem with Weblogic 7.0 sp4 using 1.3.1_08.
    I
    found that
    turning off deadspot helps (otherwise known as hotspot).
    It makes it unusable after a while in a production environment.
    Our
    firm is considering
    switching to JBoss because it is simpler and more reliable, despiteno
    good user
    friendly deployment tools.
    Weblogic concentrates too much on bells and whistles that sound good
    rather than
    reliability and usability. I guess existing customers are not asimportant
    as
    new business.
    "Dmitry Amelchenko" <[email protected]> wrote:
    Also, I don't know if that helps, but in general we've been
    experiencing
    some
    other problems with the web logic deployment. For instance, aftera
    number
    of
    redeployments, the application throwth OutOfMemoryException (about
    10
    deployments
    MAX).
    Internally we've been discussing what's the best way of deployingthe
    ear application
    into the weblogic -- using java deploy tool, or using hot deployby
    just
    dropping
    the app in a particular bea folder.
    Is there a prefered/recommended way of deployment?
    If not, what people have found to be the most stable way of
    deploying?
    >>>>>>
    Please help!
    P.S. I'm little dissappointed, isn't bea an industry leader? Isn'tit
    supposed
    to take all these little issues away from the developpers so theycan
    concentrate
    on solving the business problems? It has not been the case for usso
    far. BTW
    -- JBOSS just works.
    "Dmitry" <[email protected]> wrote:
    I'm having this strange problem, my application is deployed with
    java.Deployer
    tool, works fine, then when ever i reboot the weblogic server,
    the
    application
    is not accessible untill i explicitly redeploy it again.
    Please help!

  • Project compiling during Weblogic startup

    Hi,
    Is there any way to avoid Weblogic to recompile bpm proyects every time the server is restarted?
    We have plenty of projects (and version) deployed on the OBPM engine, compiling each of them every time the server starts up takes quite a lot of time.
    We are running the server in production mode.
    Product version: WL 10.3.0.0 – OBPM 10 R3
    Thanks!
    Edited by: user10987017 on 12-ago-2011 12:45
    Edited by: user10987017 on 12-ago-2011 12:46

    This error happens to me after i installed WebLogic and tried to deploy an application.
    I added then a dataSource and connection pool using the WebLogic console.
    After that i restared my machine, because it become so slow.
    After that i was not able to restart WebLogic, i got the error:
    Caused By: java.lang.ClassNotFoundException: oracle.jbo.server.DatabaseTransactionFactory
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
    I modified the file config.xml, by commenting the entry <!-- jdbc-data-source-factory...
    I renamed the name of the file JDBC_Data_Source-0-3407-jdbc.xml (may be the 3407 is a specific number for my installation)
    After that i restarted the WebLogic, i now i can acces it by its console.
    Thanks.
    Zahir Djail.

  • I installed the CC trial with an error window saying: Could not create the file '/Users/dranim/Library/Preferences/Adobe/After Effects/13.2/dummy'.  That was the first window.   Heres the second: After Effects can't continue: unexpected failure during app

    I installed the CC trial with an error window saying: Could not create the file '/Users/dranim/Library/Preferences/Adobe/After Effects/13.2/dummy'.  That was the first window.   Heres the second: After Effects can’t continue: unexpected failure during application startup  I paid for the month subscription of 29.99. It claims it is downloading again?! Am I missing something here? Why is this process so complicated? I need to get this resolved asap and start working.

    I originally had Adobe Photoshop Extended, then upgraded to the Production Suite. I ran the Adobe Cleaner, and that uninstalled most Adobe products, including my existing Adobe install, and then I re-installed everything with the same error code. Since CS4 came with CS5, I've installed AE CS4, but would really like to upgrade because I'm new to Creative Suite, and not sure how CS4 integrates with CS5...CS4 After Effects installed perfectly. I do have a 64 bit system, and installing to an OCZ Vertex 2....every other suite installs perfectly, except AE. And I think that is the coolest program in the Suite. I thank you all so much for taking the time to help, I really want to get AECS5 running...I did try to install after doing the recommended items Adobe suggests for Exit Codes 6 and 7, including turning off many startups...
    I'm baffled....
    Ben

  • Configure weblogic startup class in deployment jar

    We need to invoke a class during weblogic startup that is part of application deployment jar...
    It works if startup class is added to server classpath ( Weblogic documentation also insists that). But our startup class uses application logic and needs to be part of application jar..
    We are getting java.lang.ClassNotFoundException for the class during start up. setting LoadBeforeAppDeployments to false also does not help...
    Is there any other way to invoke a application class during weblogic startup...?
    Any help would be appreciated.
    Thanks,
    Rajasekar.

    here is the solution to this:
    in the conventional method of implementing a startup class, one needs to impletent the T3STartupDef interface and register the class as a startup class in the console / config.xml
    in this method, the startup class need not implement the T3STartupDef interface, it just needs to have a "main" method that will be called. the process of registeration is also simple, if you have an application ear.
    while making the application ear, add a weblogic-application.xml along with the application.xml. the weblogic-application.xml should contain :
    <startup>
    <startup-class>myStartup</startup-class>
    <startup-uri>myStartupArchive.jar</startup-uri>
    </startup>
    the myStartupArchive.jar should contain the startup class and all classes used by it
    also, use a "manifest" file to point to other library jars within the ear
    hope this helps someone !
    going, going, ... gone.

  • WLS 10.0 Mp1 - Weblogic startup class to initialize client's SSL channels

    Hi,
    Is it possible to use Weblogic startup class to initialize client's SSL channels?
    Any pointers are appreciated.
    Thanks in advance.

    Hey
    If possible can you explain the issue in detail.
    What do you mean by “initialize client's SSL channels”
    Regards,
    Hussain

  • SLD : Failed to initialize cluster notification during SLD startup

    hello,
    We are using WAS 7.0.
    While starting the SLD the server gives following error.
    Failed to send start signal for complete cluster, SLD may still be stopped on other cluster nodes.
    in the log of SLD following entries are there..
    FATAL com.sap.lcr.cimsrv.CIMOMServlet: SLD initialization failure, can not set up cluster-wide event notification. Please check your JMS provider for errors.
    3428858 11/22/2007 13:42:11.515 [SAPEngine_Application_Thread[impl:3]_70] FATAL com.sap.lcr.cimsrv.CIMOMServlet: SLD initialization failure, can not set up cluster-wide event notification. Please check your JMS provider for errors.
    Thrown:
    com.sap.sld.api.wbem.exception.CIMException: CIM_ERR_FAILED: Failed to initialize cluster notification. Please check your JNDI service and JMS provider for errors.
    at com.sap.lcr.cimsrv.ClusterNotificationListener.<init>(ClusterNotificationListener.java:154)
    at com.sap.lcr.cimsrv.ClusterNotificationListener.start(ClusterNotificationListener.java:69)
    at com.sap.lcr.cimsrv.CIMOMServlet.init(CIMOMServlet.java:109)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.getServlet(WebComponents.java:339)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:354)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: javax.jms.JMSException:
    at com.sap.jms.protocol.notification.ServerExceptionResponse.getException(ServerExceptionResponse.java:271)
    at com.sap.jms.client.session.Session.checkReceivedPacket(Session.java:2614)
    at com.sap.jms.client.session.Session.createConsumer(Session.java:2173)
    at com.sap.jms.client.session.TopicSession.createSubscriber(TopicSession.java:39)
    at com.sap.lcr.cimsrv.ClusterNotificationListener.<init>(ClusterNotificationListener.java:142)
    ... 18 more
    caused by:
    javax.jms.JMSException:
    at com.sap.jms.protocol.notification.ServerExceptionResponse.getException(ServerExceptionResponse.java:271)
    at com.sap.jms.client.session.Session.checkReceivedPacket(Session.java:2614)
    at com.sap.jms.client.session.Session.createConsumer(Session.java:2173)
    at com.sap.jms.client.session.TopicSession.createSubscriber(TopicSession.java:39)
    at com.sap.lcr.cimsrv.ClusterNotificationListener.<init>(ClusterNotificationListener.java:142)
    at com.sap.lcr.cimsrv.ClusterNotificationListener.start(ClusterNotificationListener.java:69)
    at com.sap.lcr.cimsrv.CIMOMServlet.init(CIMOMServlet.java:109)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.getServlet(WebComponents.java:339)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:354)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Please help.
    Thanks,
    Manoj

    Hi Pankaj,
    The ABAP RFC is working fine but the JCo RFC is not there.
    But in the create JCo connect button in Content Administration -->webdynpro.
    Please suggest.
    Thanks
    Manoj

  • G550 (Win7) Logon Process Initialization Failure

    Hi,
    after restoring my G550 (Win7) with a user created backup via OneKey an error during startup occurs:
    "Fehler bei der Initialisierung des interaktiven Anmeldeprozess".
    (Logon Process Initialization Failure)
    Thanks in advance for your help.
    Greetings

    Hello mate,
    Reinstall windows, something went wrong during install.
    Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information on it.
    ThinkPad T510 4313-CTO Windows 8 x64 - Intel Core i7-620M - NVIDIA NVS 3100M - 8GB RAM - 240GB SSD- Intel Centrino Ultimate-N 6300 - Gobi 2000.
    ThinkPad Helix 3697-CTO Windows 8.1 x64 - Intel Core i7-3667U - Intel HD Graphics 4000 - 8GB RAM- 256GB SSD - Intel Centrino Advanced-N 6205 - Ericsson C5621gw

  • Mysql error java.sql.SQLException: Communication failure during handshake.

    Hi !!!
    I was working ok, with hibernate and mysql but yesterday I try to install the new mysql version (4.1.10) and receive the following error when I try to connect
    Initializing Hibernate
    INFO - Hibernate 2.1.6
    INFO - hibernate.properties not found
    INFO - using CGLIB reflection optimizer
    INFO - configuring from resource: /hibernate.cfg.xml
    INFO - Configuration resource: /hibernate.cfg.xml
    INFO - Mapping resource: com/tutorial/hibernate/core/News.hbm.xml
    INFO - Mapping class: com.tutorial.hibernate.core.News -> news
    INFO - Configured SessionFactory: null
    INFO - processing one-to-many association mappings
    INFO - processing one-to-one association property references
    INFO - processing foreign key constraints
    INFO - Using dialect: net.sf.hibernate.dialect.MySQLDialect
    INFO - Maximim outer join fetch depth: 2
    INFO - Use outer join fetching: true
    INFO - Using Hibernate built-in connection pool (not for production use!)
    INFO - Hibernate connection pool size: 20
    INFO - using driver: org.gjt.mm.mysql.Driver at URL: jdbc:mysql://localhost/unnobanews
    INFO - connection properties: {user=news, password=news}
    INFO - Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactory
    INFO - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
    WARN - Could not obtain connection metadata
    java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
    at org.gjt.mm.mysql.MysqlIO.init(Unknown Source)
    at org.gjt.mm.mysql.Connection.connectionInit(Unknown Source)
    at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Unknown Source)
    at org.gjt.mm.mysql.Driver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:140)
    Somewhere I red that was necessary to update the jdbc driver, so I updated it from version nro 2 to version nro 3.1.7 but still the error
    Phpmyadmin works ok and mysql control center can connect ok too.
    But when I try a telnet localhost:3306 I receive and error of connection filed
    Anyway the mysql status thowme correct information, that it working ok!
    Any idea ?
    King regards
    Naty

    Hibernate 2.1.6
    loaded properties from resource hibernate.properties: {hibernate.connection.username=root, hibernate.connection.password="", hibernate.cglib.use_reflection_optimizer=true, hibernate.connection.pool_size=10, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://manoj/manoj, hibernate.connection.driver_class=org.gjt.mm.mysql.Driver}
    using CGLIB reflection optimizer
    configuring from resource: /hibernate.cfg.xml
    Configuration resource: /hibernate.cfg.xml
    Mapping resource: com/mec/emp.hbm.xml
    Mapping class: com.mec.Employee -> emp
    Configured SessionFactory: null
    processing one-to-many association mappings
    processing one-to-one association property references
    processing foreign key constraints
    Using dialect: net.sf.hibernate.dialect.MySQLDialect
    Maximim outer join fetch depth: 2
    Use outer join fetching: true
    Using Hibernate built-in connection pool (not for production use!)
    Hibernate connection pool size: 10
    using driver: org.gjt.mm.mysql.Driver at URL: jdbc:mysql://manoj/manoj
    connection properties: {user=root, password=""}
    No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
    Could not obtain connection metadata
    java.sql.SQLException: Server configuration denies access to data source
         at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:144)
         at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
         at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:101)
         at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:73)
         at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1155)
         at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:789)
         at com.mec.CreateSession.getCurrentSession(CreateSession.java:35)
         at com.mec.TestEmployee.createEmployee(TestEmployee.java:37)
         at com.mec.TestEmployee.main(TestEmployee.java:24)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
    Use scrollable result sets: false
    Use JDBC3 getGeneratedKeys(): false
    Optimize cache for minimal puts: false
    Query language substitutions: {}
    cache provider: net.sf.hibernate.cache.EhCacheProvider
    instantiating and configuring caches
    building session factory
    Not binding factory to JNDI, no JNDI name configured
    SQL Error: 0, SQLState: 08001
    Server configuration denies access to data source
    Cannot open connection
    java.sql.SQLException: Server configuration denies access to data source
         at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:144)
         at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
         at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:101)
         at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:286)
         at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3326)
         at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3286)
         at net.sf.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:40)
         at net.sf.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:19)
         at net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2231)
         at com.mec.TestEmployee.createEmployee(TestEmployee.java:38)
         at com.mec.TestEmployee.main(TestEmployee.java:24)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
    Process finished with exit code 0

  • 10.1.3.5 - unable to find ws-addressing.xsd during SOA startup

    I see the following messages in my logs during server startup any clue how to fix this ? the file seems to be there under bpel/system/xmllib
    <2010-01-07 17:02:13,718> <DEBUG> <collaxa> <ProcessJob::execute> Attempt (2/30) ... testing http access to server
    <2010-01-07 17:02:13,718> <DEBUG> <collaxa> <ProcessJob::execute> Trying http connection to http://myhost:80/orabpel/xmllib/ws-addressing.xsd
    <2010-01-07 17:02:13,718> <DEBUG> <collaxa> <ProcessJob::execute> Trying to get /orabpel/xmllib/ws-addressing.xsd
    <2010-01-07 17:02:13,718> <DEBUG> <collaxa> <ProcessJob::execute> URL http://myhost:80/orabpel/xmllib/ws-addressing.xsd returned status 404
    <2010-01-07 17:02:13,718> <DEBUG> <collaxa> <ProcessJob::execute> Trying http connection to http://myhost:80/orabpel/xmllib/ws-addressing.xsd
    <2010-01-07 17:02:13,718> <DEBUG> <collaxa> <ProcessJob::execute> Trying to get /orabpel/xmllib/ws-addressing.xsd
    <2010-01-07 17:02:13,734> <DEBUG> <collaxa> <ProcessJob::execute> URL http://myhost:80/orabpel/xmllib/ws-addressing.xsd returned status 404
    <2010-01-07 17:02:13,734> <DEBUG> <collaxa> <ProcessJob::execute> Trying http connection to http://10.10.10.10:80/orabpel/xmllib/ws-addressing.xsd
    <2010-01-07 17:02:13,734> <DEBUG> <collaxa> <ProcessJob::execute> Trying to get /orabpel/xmllib/ws-addressing.xsd
    <2010-01-07 17:02:13,734> <DEBUG> <collaxa> <ProcessJob::execute> URL http://10.10.10.10:80/orabpel/xmllib/ws-addressing.xsd returned status 404
    <2010-01-07 17:02:13,734> <DEBUG> <collaxa> <ProcessJob::execute> Trying http connection to http://myhost:80/orabpel/xmllib/ws-addressing.xsd
    <2010-01-07 17:02:13,734> <DEBUG> <collaxa> <ProcessJob::execute> Trying to get /orabpel/xmllib/ws-addressing.xsd
    <2010-01-07 17:02:13,734> <DEBUG> <collaxa> <ProcessJob::execute> URL http://myhost:80/orabpel/xmllib/ws-addressing.xsd returned status 404
    <2010-01-07 17:02:13,734> <DEBUG> <collaxa> <ProcessJob::execute> Trying http connection to http://localhost:80/orabpel/xmllib/ws-addressing.xsd
    <2010-01-07 17:02:13,734> <DEBUG> <collaxa> <ProcessJob::execute> Trying to get /orabpel/xmllib/ws-addressing.xsd
    <2010-01-07 17:02:13,734> <DEBUG> <collaxa> <ProcessJob::execute> URL http://localhost:80/orabpel/xmllib/ws-addressing.xsd returned status 404
    <2010-01-07 17:02:13,734> <ERROR> <collaxa> <ProcessJob::execute> Attempt (2/30) ... failed to connect ... retrying in 15 seconds ...

    Hi,
    Thanks a lot for your reply.
    I set the ORACLE_HOME and WL_HOME to E:\OraHome\10g
    But still the same error is coming.
    I have already installed Weblogic server 10.3 in E:\OraHome\10g
    When I try to install the SOA suite here is the step I am following
    1) Source: F:\download\SOA\10g\ias_windows_x86_101351\Disk1\stage\products.xml
    Destination: Name: oracleas
    Path: E:\OraHome\10g
    2) Language Selection
    3) Weblogic server location: E:\OraHome\10g\wlserver_10.3
    here when I press next it is throwing the error "The ORACLE_HOME needs to be at the same level as WL_HOME"
    Do I need any preinstallation like database before going for SOA suite?
    Thanks,
    Balaram

  • Java.sql.SQLException: Communication failure during handshake.

    I'm troubled by this problem followed:
    the exception is decripted as:
    java.sql.SQLException: Communication failure during handshake. Message from server: "Unknown database 'cust'"
    I'm using JSP to access the MYSQL database. the database server has three databases:mysql,test,customer. my OS is win98. I can access the customer using "mysql -u root -p customer" in the command prompt.
    but when I runs the JSP, the error appears.
    the connection string is :
    private String protocol = "jdbc:mysql://localhost/customer?user=customer_f&password=151276&useUnicode=true&characterEncoding=8859_1";
    if the connection string is :
    private String protocol = "jdbc:mysql://localhost/test?user=customer_f&password=151276&useUnicode=true&characterEncoding=8859_1";
    or
    private String protocol = "jdbc:mysql://localhost/mysql?user=customer_f&password=151276&useUnicode=true&characterEncoding=8859_1";
    there's no problem.
    what is wrong ?
    I guess it's wrong with mysql's setting.
    please help me,lots of thks.

    It seems user root is the owner of 'customer' database. Can you use root to access 'customer' from JSP code?
    Another hint:
    Do you grant user customer_f privileges to 'customer' database when create 'customer'?
    with root access from mysql> prompt:
    mysql>grant all privileges on customer.* to customer_f@"localhost" identified by '151276';
    Then, user customer_f will have all privileges to access 'customer' either from prompt or JSP page.
    about Creating Users and Setting permission in MySQL
    see http://www.devarticles.com/content.php?articleId=134

  • JMS Warning on weblogic startup

    The JMS experts may here know better. Looking hard to resolve this issue relaated to JMS. can anyone help here.
    Re: JMS Warning on weblogic startup

    I'm not familiar it, but apparently there's a feature in the security subsystem that allows propagating security information for "L2 Caches" via JMS, and it is this feature that's generating the Warning -- not JMS itself.
    I do not happen to know how this feature works, what kind of JMS configuration it expects, or if the Warning is simply a natural ephemeral part of the boot/initialization process of the security feature that can be ignored.
    You might want to try posting to the "WebLogic Server - Security" newsgroup.
    Tom

  • Enable Diagnostics for WebLogic Startup

    Hi
    I am using the Integrated WLS within JDeveloper Studio 11.1.1.5.
    I am trying to diagnose a problem where the WLS is deploying an application at startup that is failing. I would like to get low level diagnostics during startup to enable me to debug the problem. Currently I am only seeing the stack that throws the error which is not sufficient.
    Currently only 'Warning' and 'Notice' level statements are being written to the log files/console.
    I have tried the following none of which have affected the level of messages displayed in the log files/console:
    1) Add additional debugging Java options to the ADF Fusion Applications project I am starting the WLS from under 'Project Properties --> Run/Debug/Profile --> Launch Settings --> Java Options'. I have tried adding various WLS debug switches which have had no effect i.e. '-Dweblogic.debug.DebugDeployment=true -Dweblogic.debug.DebugDeploy=true'
    2) Add debugging Java options above to Integrated WLS Launch Settings under 'Application Server Properties --> Launch Settings --> Java Options'.
    3) Added debugging Java options above directly to startWebLogic.cmd script.
    4) Enable all weblogic debug flags from the WLS console under 'Summary of Servers >DefaultServer >Summary of Servers >DefaultServer>Debug'.
    5) Changed WLS startup scripts to enable environment variable 'debugFlag'. This results in the JAVA_DEBUG variable being set to '-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y,suspend=n -Djava.compiler=NONE'.
    5) Set the log level to FINEST for all 'weblogic*' classes in the Oracle Diagnostic Logging Configuration.
    Surely there's a simple way of getting more diagnostics out of WebLogic during the startup phase?
    Any assistance greatly appreciated.
    Thanks

    Hi,
    It seems you did lot of things here but missed to make server logging in debug mode. As you have already enabled debuggers from admin console now go to servers > logging and change server logging to debug for all. This will help print the debug statements too.
    For diagnostic you can enable it from admin console, but remember logging will be done in WLDF archive files that can be read using WLST only using WLST command - exportDiagnosticDataFromServer.
    ## rank the answer if it is helpful.. ;) ##
    Thanks,
    Ranjan
    Edited by: Ranjan K on Apr 12, 2013 5:59 AM

  • How to implement jdbc 2.0. on weblogic 6.1 or 7.0

    We have been playing hide and seek with weblogic guys. Once when I
    call them they say the oracle driver shipped supports JDBC2.0 When I
    implement the methods the server complains on not supporting them. So
    what do I do. Should I buy a third party driver. If so which ones are
    the best and how can I integrate them with weblogic 6.1..
    Please come out with a clean answer..

    Hi Gordon,
    While this fix may work for now, any classes in the *.internal.*
    packages are not guaranteed to be the same for different server
    versions, and using them is not supported.
    And, by the way, this hack is not going to work if it's used
    from a remote client.
    Regards,
    Slava Imeshev
    "Gordon Twaddell" <[email protected]> wrote in message
    news:[email protected]..
    >
    "Ashwin" <[email protected]> wrote in message
    news:[email protected]..
    I did as you said. I want to insert data into a CLOB field. And I
    followed the procedure mentioned by Oracle. But then I got an
    exception with this weblogic.jdbc.rmi.SerialOracleClob
    I am not using any weblogic classes, but I am using the connection
    pool created by the thin driver. Then I read in the weblogic
    documentation to import weblogic.jdbc.vendor.oracle.OracleThinBlob. I
    was not able to compile the class since the weblogic.jar file does not
    contain the class..
    The senario is we have classes12.zip in path. We are creating a
    connection pool and datasource and now how do I insert a text into a
    CLOB field in oracle. Help please..BEA has replaced the Oracle thin driver LOB classes with versions that
    support serialization. Here's how I solved the problem:
    public oracle.sql.CLOB narrowClob( java.sql.Clob clob )
    throws ClassCastException
    weblogic.jdbc.rmi.SerialOracleClob cast1 =
    (weblogic.jdbc.rmi.SerialOracleClob)clob;
    weblogic.jdbc.rmi.internal.OracleTClobImpl cast2 =
    (weblogic.jdbc.rmi.internal.OracleTClobImpl)cast1.getTheRealClob();
    return (oracle.sql.CLOB)cast2.getTheRealClob(); // Get CLOB
    handle

Maybe you are looking for