Creating JDBC Datasource without Console

I am new to WebLogic. Currently, getting up to speed with WebLogic server 10.3. I can create a JDBC pool from the console. Is there a way to create the JDBC pool without using the console? Also, is there a way that we can create the JDBC resource during the deployment of the application via WAR file?
Thanks in advance.

please see: Re: Creating JDBC Resource without Console

Similar Messages

  • Creating JDBC datasource in Weblogic 10

    I have a requirement to create JDBC datasource at runtime if necessary. Weblogic provides JMX services for creating datasource however this required credential of Admin Server (node manager).
    As my application is deployed in one of the managed node and as per the security policies admin credential will not be available..
    so how can I create a datasource at runtime on fly applicable only for my node.. this should not require admin credentials?
    Edited by: user5798282 on Apr 28, 2010 12:50 PM

    Thanks for your reply. However both seems to be way of creating datasource in weblogic 8 . The first one is deprecated in Weblogic 10, the 2nd one requires weblogic admin username and password

  • Weblogic : Creating JDBC Datasources

    Dear All,
    I'm newbie in weblogic . Please anyone guide me to create JDBC datasources for POSTGRESQL in steps.I've googled a lot for this. but i couldn't make it out. I'm using weblogic latest release 11g.Thanks in advance.

    Steps to configure a datasource can be found here: http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e13952/taskhelp/jdbc/jdbc_datasources/CreateDataSources.html
    As your Database Type, you can select postgresql from the drop down list.
    You also have to add the jar file that contains the postgresql drivers to the classpath.
    You add this to the <middleware-home>/user_projects/domains/<domain-name>/lib directory (after this you have to restart your server)

  • Error in creating JDBC datasource

    I would like to create a new JDBC datasource using WLST script.
    There are 2 problems with it:
    1. Running the script an error message will be displayed:
    Creating JDBCSystemResource with name DBonHelium5
    JDBCSystemResource with name 'DBonHelium5' has been created successfully.
    Problem invoking WLST - Traceback (innermost last):
    File "/opt/wls9/jdbc_data_source_creation.py", line 30, in ?
    AttributeError: addJndiName
    I don’t understand why it is wrong and how could I fix the bug...
    2. After running the script I looked at the current state on the console.
    The datasource has been created but the target isn’t set.
    Could you help me what’s wrong?
    Thanks in advice!
    Zsigmond
    The script:
    connect("xxx","xxx")
    edit()
    startEdit()
    # Change these names as necessary
    dsname="DBonHelium5"
    cd("Servers/AdminServer")
    #target=getMBean("Servers/AdminServer")
    target=cmo
    cd("../..")
    # start creation
    print 'Creating JDBCSystemResource with name '+dsname
    jdbcSR = create(dsname,"JDBCSystemResource")
    theJDBCResource = jdbcSR.getJDBCResource()
    theJDBCResource.setName("DBonHelium5")
    connectionPoolParams = theJDBCResource.getJDBCConnectionPoolParams()
    connectionPoolParams.setConnectionReserveTimeoutSeconds(25)
    connectionPoolParams.setMaxCapacity(100)
    connectionPoolParams.setTestTableName("SYSTABLES")
    dsParams = theJDBCResource.getJDBCDataSourceParams()
    <b>dsParams.addJndiName("DBonHelium5")</b>
    driverParams = theJDBCResource.getJDBCDriverParams()
    driverParams.setUrl("jdbc:bea:oracle://helium.lsy.bud.dlh.de:1521")
    driverParams.setDriverName("weblogic.jdbcx.oracle.OracleDataSource")
    driverParams.setPassword("LSY")
    driverProperties = driverParams.getProperties()
    proper = driverProperties.createProperty("user")
    proper.setValue("LSY")
    proper1 = driverProperties.createProperty("DatabaseName")
    proper1.setValue("dbc:bea:oracle://helium.lsy.bud.dlh.de:1521")
    <b>jdbcSR.addTarget(target)</b>
    try:
    save()
    activate(block="true")
    print "script returns SUCCESS"
    except:
    print "Error while trying to save and/or activate!!!"
    dumpStack()
    disconnect()
    exit()

    Hi Manfed,
    I've got exactly the same problem mit j2sdkee 1.3.1. Have yor resolved the problem in the meantime?
    If so, please post the solution. Thanks.
    Helmut

  • Error while trying to use Ant and creating Jdbc Datasource

    I was following the documentation to auto-create my datasource in my weblogic server. I get an error while it is trying to link the datasource to the server. Does anybody have any ideas,it is almost like the query to get the server isn't working.
    Here is my ant task:
    <target name="setupJdbcDatasource">
         <wlconfig url="t3://localhost:7001" username="weblogic" password="weblogic">
         <query domain="MyDomain" type="Server" name="AdminServer" property="adminserver"/>
         <create type="JDBCConnectionPool" name="TestDatasource" property="DatasourceTest">
              <set attribute="CapacityIncrement" value="1"/>
              <set attribute="DriverName" value="weblogic.jdbcx.oracle.OracleDataSource"/>
              <set attribute="InitialCapacity" value="1"/>
              <set attribute="MaxCapacity" value="10"/>
              <set attribute="Password" value="cmuser"/>
              <set attribute="Properties" value="user=cmuser SID=ORCH serverName=10.13.5.144 portNumber=1521"/>
              <set attribute="RefreshMinutes" value="0"/>
              <set attribute="ShrinkPeriodMinutes" value="15"/>
              <set attribute="ShrinkingEnabled" value="true"/>
              <set attribute="TestConnectionsOnRelease" value="false"/>
              <set attribute="TestConnectionsOnReserve" value="false"/>
              <set attribute="URL" value="jdbc:bea:oracle://10.13.5.144:1521"/>
              <set attribute="Targets" value="${adminserver}"/>
         </create>
         </wlconfig>
    </target>
    My Domain is MyDomain, and server is AdminServer. The error I get is:
    [wlconfig] weblogic.management.DistributedManagementException : Distributed Management [1 exceptions]
    BUILD FAILED
    X:\ibutt_PCView\src\CM\build.xml:285: Error invoking MBean
    command: javax.management.MBeanException
    And in my server log:
    jdbcDataSourceBean=[MBeanServerInvocationHandler]com.bea:Name=CP-ConfigManagemen
    tTest,Type=weblogic.j2ee.descriptor.wl.JDBCDataSourceBean,Parent=[MyDomain]/JDBC
    SystemResources[CP-ConfigManagementTest],Path=JDBCResource
    <May 21, 2006 3:50:57 PM EDT> <Warning> <JDBC> <BEA-001129> <Received exception
    while creating connection for pool "ConfigManagementTest": [BEA][Oracle JDBC Dri
    ver]Missing connection information: no serverName specified.>
    <May 21, 2006 3:50:58 PM EDT> <Error> <Deployer> <BEA-149265> <Failure occured i
    n the execution of deployment request with ID '1148241051441' for task 'weblogic
    .deploy.configChangeTask.2'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:

    Hi. This seems like an XML parsing problem.
    Could you please try changing the driver
    properties from:
    <set attribute="Properties" value="user=cmuser SID=ORCH serverName=10.13.5.144 portNumber=1521"/>
    to:
    <set attribute="Properties" value="user=cmuser SID=ORCH"/>
    The server and port are already in the URL
    thanks,
    Joe

  • JDBC Datasource creation via ANT doesn't expose the JNDI name

    I'm using the wlconfig ANT task to create a Datasource (& JDBC connectionpool) on the weblogic server. The datasource is created fine, and I can test it using the console.
    The problem is that the provided JNDI name isn't exposed in the JNDI tree. This seems to be related to the fact that the following element is generated in the config/jdbc/CP-PoolName-2164-jdbc.xml
    &lt;jdbc-data-source&gt;
    &lt;name&gt;PoolName&lt;/name&gt;
    &lt;internal-properties&gt;
    *&lt;property&gt;*
    *&lt;name&gt;LegacyType&lt;/name&gt;*
    *&lt;value&gt;1&lt;/value&gt;*
    *&lt;/property&gt;*
    When removing the LegacyType 1 property from the JDBC config xml, the JNDI name is exposed fine.
    I've used the instructions located at [http://edocs.bea.com/wls/docs100/programming/ant_tasks.html] where an example of a JDBCConnectionPool creation is provided.
    The 10.3 documentation doesn't include the example anymore, but I'm having the problem both on BEA Weblogic 10.0 and Oracle Weblogic 10.3
    &lt;wlconfig url="t3://localhost:7001" username="weblogic" password="weblogic"&gt;
    bq. &lt;query domain="base_domain" type="Server" name="AdminServer" property="adminserver"/&gt;
    bq. &lt;create type="JDBCConnectionPool" name="MediumSecureOnlineNode1Pool" property="customPool1"&gt;
    bq. bq. &lt;set attribute="CapacityIncrement" value="1"/&gt; \\ &lt;set attribute="DriverName" value="oracle.jdbc.OracleDriver"/&gt; \\ &lt;set attribute="InitialCapacity" value="1"/&gt; \\ &lt;set attribute="MaxCapacity" value="10"/&gt; \\ &lt;set attribute="Password" value="pass"/&gt; \\ &lt;set attribute="Properties" value="user=username"/&gt; \\ &lt;set attribute="RefreshMinutes" value="0"/&gt; \\ &lt;set attribute="ShrinkPeriodMinutes" value="15"/&gt; \\ &lt;set attribute="ShrinkingEnabled" value="true"/&gt; \\ &lt;set attribute="TestConnectionsOnCreate" value="true"/&gt; \\ &lt;set attribute="TestConnectionsOnRelease" value="true"/&gt; \\ &lt;set attribute="TestConnectionsOnReserve" value="true"/&gt; \\ &lt;set attribute="TestTableName" value="SQL SELECT 1 FROM DUAL"/&gt; \\ &lt;set attribute="URL" value="jdbc:oracle:thin:@localhost:1521"/&gt; \\ &lt;set attribute="Targets" value="${adminserver}"/&gt;
    &lt;/create&gt;
    As we would like to automate the process of configuring our weblogic instances using ANT, is there a way to create JDBC datasources that don't have the LegacyType 1 element included in the config ?

    Curious if you were ever able to find a resolution to this issue?
    I am facing the same thing now with our Ant scripts and WL10.3 connection pools/datasources.
    I would like to either specify a different LegacyType or suppress it altogether. Any help would be appreciated.
    Many thanks,
    Steve

  • Whats is JDBC DataSource Factory ??

    What is the biggest different between from JDBC DataSource and JDBC DataSource
    Factory ??
    It says that JDBC DataSource Factory enables the EJB to map a resource factory
    reference in the EJB deployment descriptor. But can't I do the same thing to JDBC
    DataSource ????

    Did you target your datasource when you created it?
    Did you look at the server output log to if that the connection pool and
    data source had any errors in deploying to the target?
    <Muthukumaran Shanmuga> wrote in message
    news:[email protected]..
    I defined a datasource for sybase named let us say "SDS".
    I get error with my test program as follows.
    javax.naming.NameNotFoundException: Unable to resolve 'SDS'. Resolved '';
    remaining name 'SDS'
    How do I troubleshoot this error?
    Is there a way to list names of JNDI datasources for a WLS instance?
    I am sure I created jdbc datasource "SDS" under base_domain via console
    and tested the connection
    My current test program code is as follows.
    Properties prop = new Properties();
    prop.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    prop.put(Context.PROVIDER_URL,
    "t3://localhost:7001");
    System.out.println("DEBUG: create initialConext:start");
    InitialContext ic = new InitialContext(prop);
    System.out.println("DEBUG: create initialConext:end");
    DataSource ds =null;
    System.out.println("DEBUG: looking up datasource:start");
    ds = (DataSource)ic.lookup("SDS");
    System.out.println("DEBUG: looking up datasource:end");
    System.out.println("DEBUG: get Connection:start");
    Connection c = ds.getConnection();
    System.out.println("DEBUG: get Connection:end");
    }catch( Exception ex){
    System.out.println(ex.toString());
    Thanks

  • JDBC Datasource problem in AM configrations

    Hi,jhon
    can u tell me the how to create the jdbcdatasource in WLS how we have to give the jndi name and i have changed in AM configration of JDBC Datasource but its not matching with jdbc datasource present in WLS can anyone tell me with the example how to create jdbc datasource
    May 7, 2009 8:01:38 PM oracle.adf.share.security.providers.jps.CSFCredentialStor
    e fetchCredential
    WARNING: Unable to locate the credential for key FOD in C:\Oracle\Middleware\use
    r_projects\domains\SFA\config\oracle.
    May 7, 2009 8:01:38 PM oracle.adf.share.jndi.ReferenceStoreHelper throwPartialRe
    sultException
    WARNING: Incomplete connection information
    May 7, 2009 8:01:38 PM oracle.adf.share.security.providers.jps.CSFCredentialStor
    e fetchCredential
    WARNING: Unable to locate the credential for key fod1 in C:\Oracle\Middleware\us
    er_projects\domains\SFA\config\oracle.
    May 7, 2009 8:01:38 PM oracle.adf.share.jndi.ReferenceStoreHelper throwPartialRe
    sultException
    WARNING: Incomplete connection information
    May 7, 2009 8:01:46 PM com.sun.faces.lifecycle.Phase doPhase
    SEVERE: jsf.lifecycle.phase.exception
    <May 7, 2009 8:01:46 PM GMT+05:30> <Error> <HTTP> <BEA-101017> <[weblogic.servle
    t.internal.WebAppServletContext@1d164ae - appName: 'application1', name: 'adfm',
    context-path: '/adfm', spec-version: '2.5', request: weblogic.servlet.internal.
    ServletRequestImpl@9a1336[
    GET /adfm/faces/br-o.jspx?_adf.ctrl-state=41665048_3 HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shock
    wave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd
    .ms-xpsdocument, application/xaml+xml, */*
    Accept-Language: en-us
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.5072
    7; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Connection: Keep-Alive
    Cookie: oracle.uix=0^^GMT+5:30; JSESSIONID=QcJvKCwChv6V6Rx61T6hL1V7bvcbjGRtX9SCP
    2ydnrTLKtTW05c6!-595734161
    ]] Root cause of ServletException.
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
    at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java
    :253)
    at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.j
    ava:168)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:546)
    at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:327)
    at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool
    .java:104)
    Truncated. see log file for complete stacktrace
    java.sql.SQLException: ORA-01005: null password given; logon denied
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.ja
    va:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:1
    16)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :177)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:406)
    Truncated. see log file for complete stacktrace
    >

    http://blogs.oracle.com/shay/2008/11/common_pitfalls_when_deploying.html

  • How to undeploy JNDI JDBC datasources?

    We have created JDBC DataSource in production server, and deleted as we were not able to start those JDBC oracle DataSource. but this DataSource are still there in JNDI registry.
    Is there way to undeploy JNDI JDBC datasources?
    Thanks,
    Nitesh Shelar.

    Closing....
    Solution Found None

  • IO Error while creating the Datasource in WLS Console

    Hello,
    We are using Jdeveloper 11.1.1.1.7, I am trying to create a Data Source using WLS Console, I am getting below error
      - I tried creating DB connection using SQL developer with same DB Connection info, it works fine.
      - I verified the Port by logging into corresponding UNIX box where weblogic server is running, I did telnet, and able to connect.
    any ideas are appreciate.
    Connection test failed.
    IO Error: The Network Adapter could not establish the connection<br/>oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:489)<br/>oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:678)<br/>oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:234)<br/>oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)<br/>oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)<br/>oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:404)<br/>oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:674)<br/>oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:267)<br/>oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:134)<br/>weblogic.jdbc.common.internal.DataSourceUtil.testConnection(DataSourceUtil.java:314)<br/>com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:734)<br/>com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:474)<br/>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br/>java.lang.reflect.Method.invoke(Method.java:606)<br/>org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)<br/>..

    The Network Adapter could not establish the connection exception is caused by one or more of the following configuration errors:
    The database host name, port number, or database instance name is wrong.
    The database TNSListener has not been started. The TNSListener may be started with the lsnrctlutility.
    C:>lsnrctl start
    1. What is the connection url?
    2. Is Oracle database running?

  • How to create a JDBC datasource thru script/xml?

    Hello All,
    Is there any way to create a JDBC datasource using some script or xml file that
    can be deployed to WLS 7.x?
    This feature is required for our J2EE application installation program.
    rgds
    MS

    Hi
    See this thread for connecting SQL Server
    Re: what is the process to connect to database from webdynpro ?
    For Oracle
    try
    {DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    }catch(Exception e){
    see this thread
    Webdynpro and Oracle
    Kind Regards
    Mukesh

  • Possible to copy or rename JDBC datasources in WLS 9.2 ?

    Hello All,
    We are going to be migrating our 9.2.3 environments to from an Oracle 9i database to Oracle 10g Cluster. We currently utilize approximately 20 datasources for all of our applications. Currently all of our applications each use one JDBC datasource, eg AppDS. However rather then modify our application configurations, we are going to create 2 new datasources, e.g. AppDS1, and AppDS2, along with a new Multi-datasource, named AppDS. This requires us to delete the original datasource AppDS so it can be replaced with a Multi-Datasource.
    This would be so much easier if A) we could rename the existing datasource rather then delete it (i.e. rename AppDS to AppDS1), and B) copy datasources (i.e. copy AppDS1 to AppDS2.) Unfortunately there are no such options in the WLS console. Is it possible to do this modifiying the config.xml without my changes getting overwritten ? Would I need to propagate the config.xml and the newly created jdbc config files to the other server in our cluster or will WLS do it for me ? The copy feature (aka 'clone') was in WLS 8.1 and it is sorely missed in 9.2 !
    -Joe

    Thanks, I thought I could do that but have had mixed results with the servers starting up, most likely due to typos on my part. Does Weblogic expect a standard naming convention for the XML files in the config/jdbc directory if I create a new datasource by cutting/pasting inside the config.xml ?

  • JDBC datasource in weblogic 7.0

    Hi
    I configured coldfusion mx in weblogic 7.0 successfully.
    I am able to execute cf files with 7001 port and localhost.
    I need access to the remote database (oracle 8) in cf thru' dsn.
    Where should I create DSN (in local system or in weblogic 7.0 connection pooling)?
    How should I get access to the remote database?
    If it is with connection pooling, can any one please help me how to create it and how it works?
    process : req-->(cf-->weblogic)-->database(remote)
    please give me asap.
    pcr

    Hi Purna,
    I need access to the remote database (oracle 8) in cf thru' dsn.
    Where should I create DSN (in local system or in weblogic 7.0 connection pooling)?
    How should I get access to the remote database? While using Oracle thin driver, you need to install Oracle client on ur comp.
    U can create a System DSN (Control Panel - Data sources ODBC)
    Create a new System DSN provided Oracle client is installed on ur comp and it installs the required DLL on ur comp.
    This will suffice ur DSN requirment in Coldfusion
    If it is with connection pooling, can any one please help me how to create it and how it works?
    process : req-->(cf-->weblogic)-->database(remote)Guess ur Cold Fusion pages will call jsp/servlets in Weblogic which in turn will tune to the remote database say Oracle.
    Weblogic 7.0 's console has its way of defining a connectionPool first and then create a Datasource mapped to this ConnectionPool
    In WLS Admin Console
    mydomain
    Services
    JDBC
    1. Connection Pools
    Configure a New Connection Pool
    Pool Name = oraclepool
    url = jdbc:oracle:thin:@<machinename>:1521:<oracleservicename>
    Driver classname = oracle.jdbc.driver.OracleDriver
    Properties = user=xxxxxx
    (Targets tab)
    click on the server (In Available) to move to (Chosen)
    2. Data Source
    Configure a new JDBC Data Source
    JNDI Name = <oraclejndi>
    PoolName = oraclepool
    (Targets tab)
    click on the server (In Available) to move to (Chosen)
    HTH,
    Seetesh

  • Trying to switch from JDBC URL - JDBC DataSource

    I have built and run a JHeadstart 10.1.2 application using JDBC URL defined database connections.
    I am now trying to switch to use JDBC DataSource definitions to make the database connection independant from the application so that the same ear file can be deployed to different application servers (dev vs test environments).
    I have tried changing the Connection Type of the Business Component:
    Configurations > Edit > Connection Type
    from the previously defined JDBC URL to a JDBC Datasource defined within the embedded OC4j Application server. After making the change, rebuilding and restarting the server it still retrieves information from the previously defined URL.
    Is there something I need to regenerate/rebuild/reconfigure?
    Thanks,
    Kevin

    Hi Steven,
    I've seen that article. It's quite detailed and certainly helped until I ran into a VerifyError something like:
    java.lang.VerifyError: (class: oracle/ord/im/OrdDocBase, method: create signature: (Loracle/ord/im/OrdDocBase;Loracle/sql/Datum;I)Loracle/sql/CustomDatum;) Incompatible object argument for function call at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at oracle.jheadstart.util.BindingUtils.class$(BindingUtils.java:66) at oracle.jheadstart.util.BindingUtils.isIntermediaBinding(BindingUtils.java:169) at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.setBindingInputHandlers(JhsDataAction.java:1159) at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.processUpdateModel(JhsDataAction.java:622) at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:508) at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:112)
    I found this forum posting helped me...
    Re: JHeadstart Deployment Issue
    I couldn't run the application in a standalone instance of oc4j 9.0.4 even after following the deployment instructions found in this and other posts. It wasn't until I came upon a JavaWorld article from 2001 about VerifyError...
    http://www.javaworld.com/javaworld/jw-06-2001/jw-0615-howto.html
    I added -noverify to the startup arguments and the application ran fine.
    I admit I am a little concerned that I need to run without jar verification. Have you seen this before? Is there another way to deal with this?
    thanks,
    Kevin

  • OSR - Oracle Service Registry won't create database datasource

    Current configuration:
    Oracle 10g database
    Oracle Service Registry 10gR3
    Oracle Weblogic application server 10.1.3
    I have tried many ways to install the registry (GUI, command prompt, config file) but my datasouce is not getting created. In the /log/install.log the flag to create the datasource is set to "yes" and the name is also set. I don't see any kind of msg/error in the install.log or in the weblogic log. One other thing the registry deploys just fine during installation so all the information seems to be ok. Since the datasource is not created, i get the following exception which is expected since there's no connection to the database:
    ERROR: account.com.systinet.uddi.account.database.DBAccountApiImpl - DatabaseCoreException: (12021) Cannot obtain new connection.
    ERROR: account.com.systinet.uddi.account.AccountCoreApiImpl - Initialization of accounts has failed in the database. Database is not running.
    ERROR: group.com.systinet.uddi.group.database.DBGroupApiImpl - DatabaseCoreException: (12021) Cannot obtain new connection.
    ERROR: group_core.com.systinet.uddi.group.GroupCoreApiImpl - Initialization of groups has failed in the database. The database is not running.
    The only way to make it work is to create the datasouce manually. In the environment that I'm running the less steps the better.
    So thank you for any ideas/help that you can give me!

    Oracle Service Registry Installation to Weblogic
    1. Run installation
    java -jar oracle-service-regisry-10.3.jar
    2. In the Oracle Service Registry installer proceed through the following screens
    * Installation Type screen: select 'Standalone' or other type of installation
    * Installation Directory screen: enter folder where OSR will be installed i.e:-
    /home/oracle/OSR/osrregistry_10_1_3
    * SMTP Configuration screen: (optional) accept defaults
    * Administrator Account Configuration screen: admin user account details
    * Database Setup screen: create new New Schema / Database or connect to existing schema
    * Database Selection screen: select Oracle or other database you may be using
    * Oracle screen: enter database details and schema information.
    3. Data Source screen: IGNORE this for Weblogic servers. Only affects Oracle Application Servers.
    4. JDBC Driver Selection screen: search and select JDBC driver i.e. JDBC 1.6 for Weblogic:-
    $WEBLOGIC_HOME/wlserver_10.3/server/ext/jdbc/oracle/11g/ojdbc6.jar
    5. Account Provide Selection screen: select 'Database'.
    6. Application Server Selection screen: MUST SELECT 'Oracle Weblogic 9.2 or 10.3'
    7. Deployment to Oracle Weblogic Application Server screen: enter correct Weblogic details such as:-
    * Weblogic HTTP Port: AdminServer port i.e. 7001 or a managed server port i.e. 7003
    * SSL Ports (optional): i.e. 7002
    * Hostname where WLS resides.
    * Application Server Context (name of application).
    8. Also on this screen there is the option "Deploy at the end of the installation" which will either deploy the OSR application to Weblogic after it is installed (selected option) or just deploy a WAR file to the command line and get deployed to Weblogic at a later stage (de-select option).
    9. Deployment Details screen: If selected Deploy at the end of the installation in the above screen, then the following screen will be displayed which allows you to enter details of where to deploy the application in Weblogic. Enter all relevant details:
    * Weblogic home: enter the folder where Weblogic resides (WebLogic server installation directory) i.e.
    $WEBLOGIC_HOME/wls_servber1013
    $WEBLOGIC_HOME/weblogic92
    * Java Home: enter the path of the JDK i.e.
    $WEBLOGIC_HOME/jdk160_05
    * Hostname: host of where to deploy application.
    * Admin Username | Password: admin details for weblogic server.
    10. The summary screen is shown regardless of if deployed to Weblogic or not. Press [Next] to install OSR.
    11. After successfully installing OSR a screen will detail that the installation has been successfully installed and with what tasks that need to be completed.
    Deploy OSR to Weblogic
    1. If in the installer the Deploy at the end of the installation option was not selected, then the OSR application needs to be deployed via the Weblogic console. So log into the Weblogic console, press Deployments and then Install.
    2. Install Application Assistant screen:
    * Enter the path where the OSR deployment WAR file (registry.war) resides. It is found in the following path:
    $OSR_HOME/conf/porting/weblogic/build
    * Select file file registry.war.
    3. Complete the rest of the installation/deployment whilst selecting a target server.
    POST INSTALLATION
    The following MUST be done to be able to log into the Oracle Service Registry consoles.
    1. Edit the following Weblogic file:-
    Linux
    $WEBLOGIC_HOME/user_projects/domains/<domain_name>/bin/startWebLogic.sh
    Windows
    %WEBLOGIC_HOME%/user_projects/domains/<domain_name>/bin/startWebLogic.cmd
    2. Modify the following line
    JAVA_OPTIONS="${SAVE_JAVA_OPTIONS}"
    to
    Linux
    JAVA_OPTIONS="${SAVE_JAVA_OPTIONS} -Djava.security.auth.login.config=$OSR_HOME/conf/jaas.config"
    Windows
    set JAVA_OPTIONS=%SAVE_JAVA_OPTIONS% -Djava.security.auth.login.config=%OSR_HOME%\conf\jaas.config
    OSR Console
    1. Go to the Oracle Service Registry on Weblogic
    Service Registry
    http://<host>:<port>/registry/uddi/web
    Business Service Registy
    http://<host>:<port>/registry/uddi/web
    2. Press Login and enter login credentials and should be able to successfully login.

Maybe you are looking for

  • Export option in ALV report downloades first two columns blank

    Hi , Before posting this query I searched the solution in SDN but I did't find the solution. My problem is  After displaying report in ALV format ,if I press Export --> Local file --->spreadsheet ;  file will downloaded to excel sheet but first two c

  • Embedding fonts in existing PDF

    Is there a way to embed the fonts in a PDF? We often receive PDFs from outside sources that we don't have access to the native file. If the font is not on my system, I occasionally replace with a similar font, but it isn't always feasible. Any help w

  • Changing a shot-date without losing the order in PSE8

    I'm a new user of PSE8 and have tripped over an annoying problem. I have a couple of thousand old family photos that I had scanned and am now organing.  Besides the normal tagging and adding a caption, I want to override the scanned date (which is wh

  • Password file

    can you?please to give me information about password file or documentations ?

  • Is it safe to disable outgoing mail from one of my accounts?I

    I have two e-mail accounts, but want to eventually stop using one of the accounts and use my gmail account full time. Sometimes when I send e-mail it will use my old e-mail address as the sending address. I want to cease using the old e-mail address