JDBC Getting Started

I'm trying to follow these java tutorials, and while marginally helpful, I can't get anything out of the JDBC one. I don't know the first thing about getting a driver (or what kind I need) or how to set up the connection.
I'm a total Java nub.
Here's what I have -- a webspace (on awardspace.com) on which I've set up, named, passworded, etc. a MySQL Database. I wish to write to and read from this database using my application. I can figure out all the syntax for the reading/writing part, if I can just get the connection to work..
Am I using the JDBC-ODBC Bridge or whatever? If so, do I still need to download some sort of 'driver' it keeps mentioning? I don't know where/what type of driver I would need...
Again, I'm totally new to java, so overexplanation is probably good precaution.
Thanks a ton!~
Message was edited by:
chinchi11a
Message was edited by:
chinchi11a

To connect to MySQL you need Mysql JDBC driver its called Connector/J you can download it from mysql.org.
In its readme there is a simple guid on how to connect to a mysql database using Connector/J

Similar Messages

  • Getting started with oracle and jdbc

    i have downloaded ojdbc14.zip from oracle.com
    it's documentation only tells you about the api and the packages and nothing about how to configure it.
    how do i get started? where do i unzip those files and what to do next?
    please help

    "The Old oracle.jdbc.driver Package Will Go Away Soon
    If you still have existing applications that use the
    old oracle.jdbc.driver
    package, now is the time to convert your code."
    And who is so foolish as to use concrete types
    instead of java.sql and javax.sql interfaces or embed
    driver class names in their code? Well, anybody who's more interested in optimal performance than being generic, and willing to put up with the headaches of that, such as providers of high-performance OR mapping tools or someone tuning a very heavily used bit. Or anybody working in a committed Oracle-only shop. It's not a one-size-fits-all world...
    Again, Oracle is evolving the standard. No, the standard is Sun's java.sql interface.Yea, Sun evolved Java, and Oracle is recommending the use of Datasources to keep step with that evolution...
    This still
    works, but Oracle is shifting away from <sid> and
    using <service name> instead. The alternate syntax
    for the URL is:
    String url=jdbc:oracle:thin:@<host>:<port>/<database>
    This has been true for as long as Oracle has had a
    thin, type IV JDBC driver. The URL syntax hasn't
    changed.
    Yes it has and Oracle says it has, here:
    http://download-west.oracle.com/docs/cd/B14117_01/java.101/b10979/urls.htm#BEIJFHHB
    Wherein it is written, in Section 3.2.1 of the Oracle� Database JDBC Developer's Guide and Reference, the sesction on the several supported URL formats for Oracle 10.1
    Notes:
    * Oracle Service IDs are no longer supported at 10g Release 1 (10.1).
    They go on to list three URL styles supported:
    Oracle Net connection descriptor - like an entry in tnsnames.ora (ick!)
    Thin-style service name - the most common, what was quoted above.
    LDAP syntax - for having an LDAP service resolve the database for you
    However, in the old 8.1.7 JDBC documentation, here:
    http://download-east.oracle.com/docs/cd/A87860_01/doc/java.817/a83724/basic1.htm#1006213
    Oracle lists support for:
    Net8 connection descriptor - Net8 is the old name for Oracle Net
    Thin-style sid name - what was quoted in the post to which I first responded.
    Thin-style sid name syntax has a colon between the port and the sid; thin-style service name syntax has a forward slash between the port and the service name. SIDs and service names are not the same thing, although they serve the same purpose in a URL (connecting you to the right instance) and often have the same value. However, a SID for a database is set at DB creation time, is unique to the DB, and cannot be changed easily. Multiple service names can be configured for a database, and they can easily be changed (if you're the DBA). Oracle is providing an additional leval of abstraction by moving to service names, to support additional features and choices. While many installations don't need all that and have in essence ignored the distinction bewteen SID and service name, some multi-database projects can benefit from it.
    >
    StuDerby, I think you should look into this a bit
    more. Your advice is far from optimal, IMO.
    Yeah, I could've taken the time to write a more generic, newbie friendly repsonse; instead, I lifted directly from the Oracle documentation that was cited earlier since newbies seem to have an aversion to reading documentation.

  • Getting started with Hibernate

    Hi Friends,
    I am working through my way to get started with Hibernate. I am using the tutorial at http://www.gloegl.de/8.html and I am stuck at running the application. I get the following error
    D:\Hibernate>run
    D:\Hibernate>D:\jdk1.3.1\jre\bin\java -classpath .\lib\hibernate2.jar;.\lib\jta.
    jar;.\lib\commons-logging.jar;.\lib\hsqldb.jar;.\lib\cglib2.jar;.\lib\commons-co
    llections.jar;.\lib\dom4j.jar;.\lib\odmg.jar;.\lib\jdbc2_0-stdext.jar;.\bin Even
    tManager
    Initializing Hibernate
    INFO - Hibernate 2.1 final
    INFO - hibernate.properties not found
    INFO - using CGLIB reflection optimizer
    INFO - JVM does not support LinkedHasMap, LinkedHashSet - ordered maps and sets
    disabled
    INFO - using workaround for JVM bug in java.sql.Timestamp
    INFO - configuring from resource: /hibernate.cfg.xml
    INFO - Configuration resource: /hibernate.cfg.xml
    INFO - Mapping resource: Event.hbm.xml
    INFO - Mapping class: Event -> EVENTS
    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.HSQLDialect
    INFO - Use outer join fetching: false
    INFO - Using Hibernate built-in connection pool (not for production use!)
    INFO - Hibernate connection pool size: 20
    INFO - using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:data/test
    INFO - connection properties: {user=sa, password=}
    INFO - Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactor
    y
    INFO - No TransactionManagerLookup configured (in JTA environment, use of proce
    ss level read-write cache is not recommended)
    INFO - Use scrollable result sets: true
    INFO - echoing all SQL to stdout
    INFO - Query language substitutions: {}
    INFO - cache provider: net.sf.hibernate.cache.HashtableCacheProvider
    INFO - instantiating and configuring caches
    INFO - building session factory
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/transform/S
    ource
    at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.ja
    va:160)
    at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
    java:726)
    at EventManager.<init>(EventManager.java:19)
    at EventManager.main(EventManager.java:27)
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/transform/S
    ource
    at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.ja
    va:160)
    at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
    java:726)
    at EventManager.<init>(EventManager.java:19)
    at EventManager.main(EventManager.java:27)
    what jar files/files I need other than mentioned in the tutorial.
    please help me to get started with Hibernate...
    Thanks for your help and time.

    java -classpath .\lib\hibernate2.jar;.\lib\jta.jar;.\lib\commons-logging.jar;.\lib\hsqldb.jar;.\lib\cglib2.jar;.\lib\asm-1.4.1.jar;.\lib\commons-collections.jar;.\lib\dom4j.jar;.\lib\odmg.jar;.\lib\xml-apis-2.3.0.jar;.\lib\xerces-2.3.0.jar;.\lib\jdbc2_0-stdext.jar;.\bin de.gloegl.road2hibernate.EventManager
    see above classpath and identify....how many jars you missed... :)
    All the best
    Nilesh

  • J2EE engine not getting started

    Hi All,
    My J2ee engine isnt getting started. When i check the logs, i see the following error,
    Error occurred while preloading classes of security providers from jre/lib/ext folder: java.util.zip.ZipException: The filename, directory name, or volume label syntax is incorrect
    Loading: LogManager ... 672 ms.
    Loading: PoolManager ... 0 ms.
    Loading: ApplicationThreadManager ... 78 ms.
    Loading: ThreadManager ... 31 ms.
    Loading: IpVerificationManager ... 0 ms.
    Loading: ClassLoaderManager ... 16 ms.
    Loading: ClusterManager ... 218 ms.
    Loading: LockingManager ... 94 ms.
    Loading: ConfigurationManager ...
    Loading: ConfigurationManager returned false!
    Kernel not loaded. System halted.
    Can anybody help me out with this ??
    Thanks in advance,
    Pranav

    Hi Arun,
    ya indeed it looks like a DB connection problem. When i check the logs i see the following error :
    #1.5#001321D5DC2000000000001500049EDC0004163FAB8F0C2D#1150362623876#com.sap.engine.core.configuration##com.sap.engine.core.configuration#######Thread[Thread-1,5,main]##0#0#Error#1#/System/Server#Plain###Error while connecting to DB.
    =======================================================
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:360)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:125)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
         at</i></i> com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
         at com.sap.engine.core.configuration.impl.ConfigurationHandlerFactoryImpl.<init>(ConfigurationHandlerFactoryImpl.java:30)
         at com.sap.engine.core.configuration.impl0.ConfigurationManagerImpl.initInternal(ConfigurationManagerImpl.java:189)
         at com.sap.engine.core.configuration.AbstractConfigurationManagerImpl.init(AbstractConfigurationManagerImpl.java:169)
         at com.sap.engine.core.Framework.loadSingleManager(Framework.java:560)
         at com.sap.engine.core.Framework.loadManagers(Framework.java:254)
         at com.sap.engine.core.Framework.start(Framework.java:188)
         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:324)
         at com.sap.engine.boot.FrameThread.run(FrameThread.java:61)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.sql.SQLException: [SAP_NWMss][SQLServer JDBC Driver][SQLServer]Login failed for user 'SAPBQ3DB'. The user is not associated with a trusted SQL Server connection.
         at com.sap.nwmss.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.tds.TDSLoginRequest.submitRequest(Unknown Source)
         at com.sap.nwmss.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseConnection.connect(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseConnection.open(Unknown Source)
         at com.sap.nwmss.jdbc.base.BaseDriver.connect(Unknown Source)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:219)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:579)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:263)
    Actually i've upgraded my SQL Server2000 DB to SQL Server 2005, i suspect that causes the problem. Would be great if somebody can provide me any further clues..
    Regards,
    Pranav

  • How to get start with J2EE

    Hi, I am really new to J2EE.Is there any pdf available to get start with J2EE basics.

    kviaruningroups wrote:
    Hi, I am really new to J2EE.Is there any pdf available to get start with J2EE basics.The most basic Java EE app you can start with uses servlets and JSPs (written using JSTL) to access relational databases using JDBC. You can go a very long way indeed just with those. Add the rest as needed.
    %

  • JDBC adapter started but no message is created

    I am not able to read data through JDBC adapter.
    When we are starting our inbound JDBC adapter it get started and does not give any error
    but no message is created in XI.When we check status of adapters by clicking main menu it is red.
    Log of adapter shows.
    JDBC adapter initializd succesfully.
    JDBC adapter started.
    Process query select * from ??????.
    JDBC adapter processing complete.Restart for next processing.
    But no message is created in XI.
    Can the no of records be the cause of this problem.
    Any help appericiated

    Hi,
    You can change the logging and tracing level of the JDBC adapter using the trace and log properties.
    Some errors may appear in the adapter_x.log file (see traces from the main menu).
    Goodluck

  • What tools should I get started with?

    Hi,
    I wish to get started and create a simple standalone Java program which connects to my SQL Server 2000 database. Which tools would be the easiest to start with, and can you point me to the correct forum and any tutorials which might help me out?
    Thank you so much

    Try
    Sun Java Studio Standard 5 update 1: http://wwws.sun.com/software/sundev/jde/
    or
    NetBeans: http://www.netbeans.org/.
    To learn the basics of the JDBC API visit those resources:
    http://java.sun.com/docs/books/tutorial/jdbc/basics/
    http://java.sun.com/docs/books/tutorial/jdbc/jdbc2dot0/index.html

  • SOA Server on Linux never gets started.

    Guys
    We are trying to install SOA Suite 11g Version 11.1.1.5 on Linux but it nevers gets started.
    A thread was posted earlier but didnt get help.
    Here is the earlier thread
    soa-infra goes down time everytime
    We tried each and every possible solution on the net but it didnt work. Now after shutting down our Admin server, our WL is not coming up. Here is the Log Link
    https://docs.google.com/document/d/1SMXcCE7_5g2CGKez_lbvnmWAD0xpgza-C-dIu4UWLo0/edit?hl=en_US
    When we start WebLogic from Console, this is the result:
    [root@109 bin]# ./startWebLogic.sh \-Dweblogic.management.username=weblogic \-Dweblogic.management.password=welcome12# &
    [3] 5712
    [root@109 bin]# *****************************************************
    ** Setting up SOA specific environment...
    EXTRA_JAVA_PROPERTIES= -da:org.apache.xmlbeans...
    LD_LIBRARY_PATH=/home/u01/Oracle/Middleware/patch_wls1035/profiles/default/native:/home/u01/Oracle/Middleware/patch_ocp360/profiles/default/native:/home/u01/Oracle/Middleware/wlserver_10.3/server/native/linux/x86_64:/home/u01/Oracle/Middleware/wlserver_10.3/server/native/linux/x86_64/oci920_8:/home/u01/Oracle/Middleware/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin
    USER_MEM_ARGS=-Xms768m -Xmx1536m
    ** End SOA specific environment setup
    ** SOA specific environment is already set, skipping...
    JAVA Memory arguments: -Xms768m -Xmx1536m
    WLS Start Mode=Development
    CLASSPATH=/home/u01/Oracle/Middleware/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/home/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/user-patch.jar:/home/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/soa-startup.jar::/home/u01/Oracle/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/u01/Oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/java/lib/tools.jar:/home/u01/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/u01/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/u01/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/home/u01/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/u01/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/u01/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/u01/Oracle/Middleware/oracle_common/soa/modules/commons-cli-1.1.jar:/home/u01/Oracle/Middleware/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/home/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.common.adapters_11.1.1/oracle.soa.common.adapters.jar:/home/u01/Oracle/Middleware/Oracle_SOA1/communications/modules/usermessaging-config_11.1.1.jar:/home/u01/Oracle/Middleware/oracle_common/modules/oracle.xdk_11.1.0/xsu12.jar:/home/u01/Oracle/Middleware/modules/features/weblogic.server.modules.xquery_10.3.1.0.jar:/home/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/db2jcc4.jar:/home/u01/Oracle/Middleware/user_projects/domains/soa_domain/config/soa-infra:/home/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/fabric-url-handler_11.1.1.jar:/home/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/quartz-all-1.6.5.jar:/home/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.fabric_11.1.1/oracle.soa.fabric.jar:/home/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime-ext-wls.jar:/home/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.adapter_11.1.1/oracle.soa.adapter.jar:/home/u01/Oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.b2b_11.1.1/oracle.soa.b2b.jar:/home/u01/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/home/u01/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/u01/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar
    PATH=/home/u01/Oracle/Middleware/wlserver_10.3/server/bin:/home/u01/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/java/jre/bin:/usr/java/bin:/home/u01/Oracle/Middleware/wlserver_10.3/server/bin:/home/u01/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/java/jre/bin:/usr/java/bin:/usr/java/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/bin:/usr/java/bin:/root/bin:/usr/X11/bin:/usr/openwin/bin
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
    Oracle JRockit(R) (build R28.1.3-11-141760-1.6.0_24-20110301-1432-linux-x86_64, compiled mode)
    Starting WLS with line:
    /usr/java/bin/java -jrockit -Xms768m -Xmx1536m -Dweblogic.Name=AdminServer -Djava.security.policy=/home/u01/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Xverify:none -da -Dplatform.home=/home/u01/Oracle/Middleware/wlserver_10.3 -Dwls.home=/home/u01/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/home/u01/Oracle/Middleware/wlserver_10.3/server -Dcommon.components.home=/home/u01/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/u01/Oracle/Middleware/user_projects/domains/soa_domain -Djrockit.optfile=/home/u01/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/home/u01/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig/servers/AdminServer -Doracle.domain.config.dir=/home/u01/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig -Digf.arisidbeans.carmlloc=/home/u01/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig/carml -Digf.arisidstack.home=/home/u01/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/u01/Oracle/Middleware/user_projects/domains/soa_domain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/u01/Oracle/Middleware/user_projects/domains/soa_domain/servers/AdminServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/u01/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/home/u01/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler|oracle.bpm.io.fs.protocol -Dweblogic.jdbc.remoteEnabled=false -Doracle.security.jps.policy.migration.validate.principal=false -da:org.apache.xmlbeans... -Dbpm.enabled=true -Dsoa.archives.dir=/home/u01/Oracle/Middleware/Oracle_SOA1/soa -Dsoa.oracle.home=/home/u01/Oracle/Middleware/Oracle_SOA1 -Dsoa.instance.home=/home/u01/Oracle/Middleware/user_projects/domains/soa_domain -Dtangosol.coherence.clusteraddress=227.7.7.9 -Dtangosol.coherence.clusterport=9778 -Dtangosol.coherence.log=jdk -Djavax.xml.soap.MessageFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Dweblogic.transaction.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Djavax.net.ssl.trustStore=/home/u01/Oracle/Middleware/wlserver_10.3/server/lib/DemoTrust.jks -Dem.oracle.home=/home/u01/Oracle/Middleware/oracle_common -Djava.awt.headless=true -Dbam.oracle.home=/home/u01/Oracle/Middleware/Oracle_SOA1 -Dums.oracle.home=/home/u01/Oracle/Middleware/Oracle_SOA1 -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/u01/Oracle/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/home/u01/Oracle/Middleware/patch_ocp360/profiles/default/sysext_manifest_classpath -Dweblogic.management.username=weblogic -Dweblogic.management.password=welcome12# weblogic.Server
    [WARN ] Use of -Djrockit.optfile is deprecated and discouraged.
    <18-Aug-2011 08:28:17 o'clock BST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <18-Aug-2011 08:28:18 o'clock BST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <18-Aug-2011 08:28:18 o'clock BST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Oracle JRockit(R) Version R28.1.3-11-141760-1.6.0_24-20110301-1432-linux-x86_64 from Oracle Corporation>
    <18-Aug-2011 08:28:18 o'clock BST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <18-Aug-2011 08:28:20 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <18-Aug-2011 08:28:20 o'clock BST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <18-Aug-2011 08:28:20 o'clock BST> <Notice> <Log Management> <BEA-170019> <The server log file /home/u01/Oracle/Middleware/user_projects/domains/soa_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
    <18-Aug-2011 08:28:26 o'clock BST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <18-Aug-2011 08:28:32 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <18-Aug-2011 08:28:32 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <18-Aug-2011 08:28:32 o'clock BST> <Warning> <oracle.as.jmx.framework.MessageLocalizationHelper> <J2EE JMX-46041> <The resource for bundle "oracle.jrf.i18n.MBeanMessageBundle" with key "oracle.jrf.JRFServiceMBean.checkIfJRFAppliedOnMutipleTargets" cannot be found.>
    <18-Aug-2011 08:28:37 o'clock BST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application em is not versioned.>
    PostInstallConfigIntegration:oracle_ias_farm target auth registration is done.
    <18-Aug-2011 08:28:55 o'clock BST> <Warning> <org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl> <BEA-000000> <Configurator services already initialized.>
    <18-Aug-2011 08:29:01 o'clock BST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.store.io.file.StoreFile.close(StoreFile.java:440)
    at weblogic.store.io.file.Heap.open(Heap.java:320)
    at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:104)
    at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:431)
    at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:422)
    Truncated. see log file for complete stacktrace
    >
    <18-Aug-2011 08:29:01 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <18-Aug-2011 08:29:01 o'clock BST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <18-Aug-2011 08:29:01 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    Any Help please?
    Many thanks
    Deepak
    Edited by: user12128585 on Aug 18, 2011 1:01 AM

    Hi Anuj
    This didnt help :(
    Problem persists with same errors!
    Any other soultion? We are thinking to recreate RCU, re install SOA and recreate domain.
    But that also we have done several times but in vain.
    Edited by: user12128585 on Aug 18, 2011 1:51 AM

  • How can I get started using MySQL?

    I'm really new to jdbc and was wondering if someone could offer some help on where to get started with using java and mysql. I'm not sure if I need extra packages or what and resource of info would be great.
    Thanks

    Hi,
    if I knew your environment I would have given you a better response, anyway, for now take this as a general guide
    All the instructions here are documented either in JDBC Tutorial or MySQL documentation.
    1) download the lastest JDBC Driver from mysql website:
    http://www.mysql.com/downloads/api-jdbc-stable.html
    You download either one gz or zip files depends on your OS and unzip it.
    2) place the jar file:mysql-connector-java-3.0.9-stable.jar into your CLASSPATH;
    3) Thats it, just follow the direction in the JDBC Tutorial, like normal,
    MySQL driver class name is: org.gjt.mm.mysql.Driver
    the URL: jdbc:mysql://<host>:<port default=3306>/<database>?autoReconnect=ture
    and change the host, port , and database according to your settings!
    Note: I really do not recommend you using the JDBC-ODBC bridge, because it is a solution only if you do not have a direct JDBC driver to your database, its overhead anyway.
    Good luck!

  • Getting Started With TopLink

    Hai Friends...
    i want to getting started using TopLink..
    ussually i use Hibernate..
    i have some problem for developing an application...
    i try to make Spring Toplink Application..
    i have made simple mapping POJO, but the table could not generated in database..
    iam using Glassfish v2ur1..
    Here is my POJO..
    @Entity
    public class Aspect {
         @Id
         private int id;
         @Basic
         private String name;
            //getter and setter
    }and here is my persistence.xml : (located in /META-INF/ directory)
            <persistence-unit name="howto">
          <jta-data-source>jdbc/toplink</jta-data-source>
          <class>com.toplink.model.Aspect</class>
          <properties>
               <property name = "toplink.ddl-generation"
                         value = "drop-and-create-tables"/> 
               <property name = "toplink.ddl-generation.output-mode" value = "database"/>                
             </properties>
          </persistence-unit>iam using Eclipse..
    do i have to include toplink-essential.jar also in /lib directory?..
    although, in Glassfish's classpath has toplink-essential.jar?..
    Please give me any suggestion..
    Thanks in advance..

    Please include the error.
    Also you may wish to upgrade to EclipseLink from TopLink Essentials.
    James : http://www.eclipselink.org

  • Dev server the dispatcher is not getting start

    Dear all ,
    We are facing problem in dev server the dispatcher is not getting started. Plese suggest
    The log file .
    trc file: "dev_w0", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Mon Oct 05 08:43:39 2009
    B  create_con (con_name=R/3)
    B  Loading DB library 'G:\usr\sap\DEV\SYS\exe\run\dboraslib.dll' ...
    B  Library 'G:\usr\sap\DEV\SYS\exe\run\dboraslib.dll' loaded
    B  Version of 'G:\usr\sap\DEV\SYS\exe\run\dboraslib.dll' is "640.00", patchlevel (0.220)
    B  New connection 0 created
    M sysno      00
    M sid        DEV
    M systemid   561 (PC with Windows NT)
    M relno      6400
    M patchlevel 0
    M patchno    247
    M intno      20020600
    M make:      multithreaded, Unicode, 64 bit
    M pid        4936
    M
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 4936) [dpxxdisp.c   1170]
    I  MtxInit: -2 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpShMCreate: sizeof(wp_adm)          38064     (1464)
    M  DpShMCreate: sizeof(tm_adm)          3609968     (17960)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpShMCreate: sizeof(comm_adm)          312000     (624)
    M  DpShMCreate: sizeof(vmc_adm)          0     (512)
    M  DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 000000000D440050, size: 4077792)
    M  DpShMCreate: allocated sys_adm at 000000000D440050
    M  DpShMCreate: allocated wp_adm at 000000000D441C30
    M  DpShMCreate: allocated tm_adm_list at 000000000D44B0E0
    M  DpShMCreate: allocated tm_adm at 000000000D44B110
    M  DpShMCreate: allocated wp_ca_adm at 000000000D7BC680
    M  DpShMCreate: allocated appc_ca_adm at 000000000D7C2440
    M  DpShMCreate: allocated comm_adm_list at 000000000D7C4380
    M  DpShMCreate: allocated comm_adm at 000000000D7C43A0
    M  DpShMCreate: allocated vmc_adm_list at 000000000D810660
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 000000000D810690
    M  DpShMCreate: allocated wall_adm at 000000000D8106A0
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Mon Oct 05 08:43:40 2009
    M  calling db_connect ...
    C  Prepending E:\oracle\DEV\ora92 to Path.
    C  got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPDEV's password
    C  Connecting as /@DEV on connection 0 (nls_hdl 0) ... (dbsl 640 070308)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 000000000EE4FF20 000000000D0CDA90 000000000D0CD3C8
    C  Attaching to DB Server DEV (con_hdl=0,svchp=000000000D0CD298,srvhp=000000000EE67F78)
    C  Starting user session (con_hdl=0,svchp=000000000D0CD298,srvhp=000000000EE67F78,usrhp=000000000EE71C70)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1033
    [dboci.c      4508]
    C  Detaching from DB Server (con_hdl=0,svchp=000000000D0CD298,srvhp=000000000EE67F78)
    C  *** ERROR => CONNECT failed with sql error '1033'
    [dbsloci.c    11395]
    C  Try to connect with default password
    C  Connecting as SAPDEV/<pwd>@DEV on connection 0 (nls_hdl 0) ... (dbsl 640 070308)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 000000000EE4FF20 000000000D0CDA90 000000000D0CD3C8
    C  Attaching to DB Server DEV (con_hdl=0,svchp=000000000D0CD298,srvhp=000000000EE67F78)

    C Mon Oct 05 08:43:41 2009
    C  Starting user session (con_hdl=0,svchp=000000000D0CD298,srvhp=000000000EE67F78,usrhp=000000000EE71C70)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1033
    [dboci.c      4508]
    C  Detaching from DB Server (con_hdl=0,svchp=000000000D0CD298,srvhp=000000000EE67F78)
    C  *** ERROR => CONNECT failed with sql error '1033'
    [dbsloci.c    11395]
    B  ***LOG BV3=> severe db error 1033      ; work process is stopped [dbsh#3 @ 1199] [dbsh    1199 ]
    B  ***LOG BY2=> sql error 1033   performing CON [dblink#3 @ 428] [dblink  0428 ]
    B  ***LOG BY0=> ORA-01033: ORACLE initialization or shutdown in progress [dblink#3 @ 428] [dblink  0428 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1283]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   9708]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server DEVDEV_00 on host DEVDEV (wp 0)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Mon Oct 05 08:43:41 2009
    M  *  RELEASE     640
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        9893
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  255]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 4936) [dpnttool.c   357]
    Regards,
    Kumar

    Hi Sunny,
    Thanks , i have try to stop the database and then startup the database. Then it is giving me error
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1109237592 bytes
    Fixed Size                   737112 bytes
    Variable Size             587202560 bytes
    Database Buffers          520093696 bytes
    Redo Buffers                1204224 bytes
    Database mounted.
    ORA-01113: file 3 needs media recovery
    ORA-01110: data file 3: 'I:\ORACLE\DEV\SAPDATA3\DEV_1\DEV.DATA1'
    Please suggest what next command to recovery database in oracle 9i.
    Thanks,
    Kumar

  • How to post a XCelsius in the BPC Web Application Getting Started page

    Hi Experts,
    I'm new using BPC 7.5 on NetWeaver. When opening the Getting Started tab in the BPC Web Application there is a white page that I would want to fill with content. This content should be a XCelsius Dashboard linked to the Query or InfoCube on which I`m planning. Creating the XCelsius Dashboard is not the problem, but to insert it in the Getting Started panel of the BPC Web application. Has anyone an idea how to do it or how to proceed. Ideas or a little how-to would be perfect.
    Thanks very much in advanced,
    Àlex

    Hi.
    Try this...
    const string LIST_PAR_NAME = "lu";
    string listName = string.Empty;
    if (this.Request.Params.AllKeys.Contains(LIST_PAR_NAME))
    listName = this.Request.Params[LIST_PAR_NAME];
    else
    throw new ArgumentException("Par lu is not present.");
    SPList listExport = web.Lists[listName];
    However take a look at this
    http://zsvipullo.blogspot.it/2013/10/get-splist-from-internal-name.html?q=getlist
    to check how GetList method is faster than web.Lists[].
    Regards,
    Bubu
    http://zsvipullo.blogspot.it
    Please mark my answer if it helped you, I would greatly appreciate it.

  • I deleted most visited, latest headlines, getting started, yahoo, youtube, apple in mozilla's folder,how to get it back like the first time i installed? thx

    i deleted most visited, latest headlines, getting started, yahoo, youtube, apple in mozilla's folder,how to get it back like the first time i installed? thx

    if you hid the menu bar and the navigation bar simply press the alt button, this will bring back the menu bar and form there you can right click and select which bars you want shown

  • With Open ESB CD in hand, how do I get started?

    I spent time at the Open ESB booth at JavaOne 2007 talking with the Sun representatives and engineers about Open ESB.
    I'm glad I did, but I'm having a heck of a time getting started.
    I have all of the requirements set-up running on Solaris 10 development server.
    I've used the Service Oriented Architectures using BPEL from Java BluePrints, which really helped, but I feel I don't know enough yet to apply it towards real world projects yet.
    What other resources are recommened to learn more about SOA, BPEL on the JBI Framework?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Pinstriped_Dude: That's a very good point which I totally overlooked, thanks.
    I've been tasked to learn (not really tasked - I'm always happy to learn) about ESB, SOA and JBI - so far I'm taking baby steps and making progress.
    Thanks again,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Regarding Facetime on my Ipad. I get started on a call and after 10 or 15 minutes I cannot hear whom I am talking to. They can still hear me and I still have picture on the screen but my sound stops working.

    Regarding Facetime on my Ipad. I get started on a call and after 10 or 15 minutes I cannot hear whom I am talking to. They can still hear me and I still have picture on the screen but my sound stops working.

    Why can't we use Acrobat Pro for mobile devices? Save a whole lot of headaches!!! Now I have to return this subscription.

Maybe you are looking for

  • Need suggestions with massive query

    I have a huge report that gathers data about all facets of the company to display in one place. I have built a procedure to calculate and store the data (as it gets processed once and viewed often), but the query to display it is huge - about 1950 li

  • I've lost all track rankings, last played etc data, how do I get it back!?

    I accidentally deleted some iTunes related files, but restored them from the recycle bin. My whole iTunes library had disappeared but I managed to restore that, however, all the track rankings, last played, play count data is missing. A real pity as

  • Connect content of archive link with newly created kpro document

    Hi all, i hope this the right plase to post my question. Unfortunatelly i did not find any SAP Records Management Topic. The issue is: i am able to create a new document in Records Management with the FM: SRM_DOCUMENT_CREATE But,  what  is not realy

  • Table UI element - dynamic cell editor change on runtime

    Hello, I have standard table UI element defined on one of the views as part of it's layout, two columns only - KEY and VALUE. Both defined as text cell editor by default. Content of the table is dynamic and different combination of keys and values ar

  • How to export documents of KM!

    HI You know there are many documents and files in KM. But I want move them  to a new KM Sever . So it's a big Problem  to me . I can export some configuration. but I wonder how to export the folder's content in KM. Please throw some lights on this!!