Error  in DataSource.getConnection() !

Hello to u all,
I'm trying to make an application that uses database connection pooling and i've followed
closely the tutorial:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/printer/jndi-datasource-examples-howto.html
The code in the tutorial worked just fine, however, later when i tried to use it in my (servlet)application a get an error in the datasource.getconnection! Here's my code:
web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>MySQL Test App</description>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/TestDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<servlet>
<servlet-name>ServletContactosControllerDB</servlet-name>
<servlet-class>ServletContactosControllerDB</servlet-class>
<init-param>
     <param-name>event</param-name>
     <param-value>event</param-value>
     </init-param>
     <init-param>
     <param-name>error_event</param-name>
     <param-value>error</param-value>
     </init-param>
     <init-param>
     <param-name>new_user_event</param-name>
     <param-value>newuser</param-value>
     </init-param>
     <init-param>
     <param-name>dbLookup</param-name>
     <param-value>java:comp/env/jdbc/DBContactos</param-value>
     </init-param>
          <init-param>
     <param-name>login_event</param-name>
     <param-value>login</param-value>
     </init-param>
</servlet>
<servlet-mapping>
<servlet-name>ServletContactosControllerDB</servlet-name>
<url-pattern>/index.html</url-pattern>
</servlet-mapping>
</web-app>
I know that the configuration in the server.xml is fine because the example in the tutorial worked!!
so my code in the doPost method in the servlet is:
     Context initCtx = new InitialContext();
DebugUtility.println("POST 2 ");
DataSource dataSource = (DataSource)initCtx.lookup("java:comp/env/jdbc/TestDB");
DebugUtility.println("POST 3 ");
Connection con = dataSource.getConnection();
                    DebugUtility.println("POST 4");
it fails in getconnection with the following error:
Cannot create JDBC driver of class '' for connect URL 'null'
can anyone figure it out what is happening ? Is my web.xml with a wrong configuration !!
thx in advance to all of u !

Finally i have discover the error !!!
In fact the error reports some irony cause i had said with conviction that
the error wasn't in the server.xml , but it was :
<Context path="/contactos_sb" docBase="contactos_sb"
debug="5" reloadable="true" crossContext="true">
i was keeping the tutorial path and not my application path so my servlet wasn't able
to get the class driver and the url !!
So. it works fine now ! :)�

Similar Messages

  • How to recover from datasource.getConnection hangover

    Hi,
    We have a standalone J2EE application wherein the app tries to restart itself in case of FATAL errors like connection loss etc.
    Database: Oracle10g
    Driver: oracle.jdbc.driver.OracleDriver
    Issue: On error, the service tries to restart itself dueing which it aborts the connection and recreates the connection with datasource.getConnection().
    In some cases during Soak testing, if the database goes down then the application seems to hang on datasource.getConnection() for almost 3 hours and greater.
    Options we tried :
    1. Use OracleDataSource and setLoginTimeout as 10 secs.
    There seems to be no effect on the code. Not sure whether the datasource actually uses the timeout interval.
    2. Use CONNECT_TIMEOUT_LISTENER=10 in listener.ora on the database server.
    Does not seem to resolve the issue. getConnection still hangs.
    Any suggestions what would be the best way to recover from this issue?

    Hi,
    The same should be available in the source system (DEV), Surprising how / why the same is available in BW system.
    I checked the SAP ERP source system to which I have an access and the same is not available in the source system not in the BW system
    My sugession is to go for a generic datasource after identifying the table with the help of functional consultant.
    Regards
    Venkata Devaraj

  • Error message: DataSource ZPRODUCT_STATUS_TEXT has to be replicated...

    Hi All,
    a job in a process chain was failed with this error message:
    DataSource ZPRODUCT_STATUS_TEXT has to be replicated (time stamp, see long text)     R3     16
    our R/3 system it was upgraded one week ago for the ECC6 version and our BW version is still 3.0b, i don't know if because the upgrade processus i get this error and i have to do something in the BW system...
    thanks for your help
    Bilal

    HI,
    i tried to do what you said, from infosource: replicate datasources and after se38 and i have choice in the box the name of infosource and after execute
    but i have get like a message: problem class important
    message text: No transfer structure selected
    Message Text
    No Transfer Strcuture Selected....with this info
    Technical data
    Message type__________ I (Information)
    Message class_________ RSAR (Data transfer and meta data maintenance)
    Message number________ 051
    Message variable 1____ No Transfer Strcuture Selected
    Message variable 2____ 
    Message variable 3____ 
    Message variable 4____ 
    Message attributes
    Level of detail_______ 1 (Level of detail 1)
    Problem class_________ 2 (important)
    Sort criterion________ 
    Number________________ 1
    i have tried to load again but the same problem...any body have a plus info....
    Thanks
    Bilal

  • Error in Datasource 0FI_AP_51 in RSA3

    Hello All,
    I am Executing DataSource 0FI_AP_51 in RSA3, Getting message like Error in Datasource, I checked in Rsa2 there is no any error or warning, Kindly suggest
    Thanks
    Shalini

    Hi Shalini,
    Is your issue resolved. I am facing the same issue. Please let me know the soultion.
    Experts,
    When I am trying to execute 0FI_AP_51 in RSA3, its popping up an information 'Errors occurred during the extraction'. Any solution for this?
    thanks
    AP

  • Error in datasource context lookup using OC4J

    Hi friends
    When I try to get de DataSource,
    ictx = new InitialContext();
    dat = (DataSource)ictx.lookup("jdbc/GirsaOracleDS");
    conn = dat.getConnection();
    I get te following error:
    javax.naming.NameNotFoundException: jdbc/GirsaOracleDS not found
    My data-sources.xml:
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="GirsaOracleDS"
    location="jdbc/GirsaOracleCoreDS"
    xa-location="jdbc/xa/GirsaOracleDS"
    ejb-location="jdbc/GirsaOracleDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="girsa"
    password="girsa"
    url="jdbc:oracle:thin:@server-ora:1521:orcl"
    inactivity-timeout="30"
    />
    Can anybody help me?
    thanks!

    On Note 557738.1 - Export/Import, Section 5 Step 4, I executed "perl dpost_imp.pl dpost_imp.drv" on the source server and created the required driver. Moved to the target and when applying with adpatch, it failed with:
    AutoPatch error:
    adprdf(): At line 62 in file dpost_imp.drv:
    Error extension recordpatch line missing from patch driver file.
    You should check the file
    I opened an SR yesterday and after many hours, I was told to:
    a) backup current file dpostimpl.drv
    b) edit driver file dpostimpl.drv and made the following change
    # dpost_imp.drv generated by dpost_imp.pl
    begin aru fix_postimp
    compatible release 12.0.0
    begin bug au fix_postimp
    begin actions
    TO
    # dpost_imp.drv generated by dpost_imp.pl
    begin aru fix_postimp
    compatible release 12.0.0
    extension recordpatch 6924477 US
    begin bug au fix_postimp
    begin actions
    c) Save and re-try apply driv dpostimpl.drv via autopatch.
    I did the changes, ran adpatch and the error is still there:
    adpatch logfile=dpost_imp.drv2.log patchtop=/EBS_12i_downloads/patches driver=dpost_imp.drv workers=8
    AutoPatch error:
    adprdf(): At line 68 in file dpost_imp.drv:
    'end bug au fix_ctxsys' encountered while 'bug au fix_postimp' is open
    Line 68 is:
    end bug au fix_ctxsys
    Has someone got knowledge of what is needed here?You are applying an 11i patch (as you are following [ID 557738.1]) so the "compatible release 12.0.0" line is not correct and it should be "compatible release 11.5.0" instead. Are you sure you are referring the steps in (Export/import notes on Applications 11i Database 11g [ID 557738.1]) not the steps in (Export/import process for R12 using 11gR1 or 11gR2 [ID 741818.1]) or (Export/Import Process for Oracle E-Business Suite Release 12 using 10gR2 [ID 454616.1])?
    Have you already updated the SR with the outcome of their change?
    Thanks,
    Hussein

  • XA error: XAER_RMERR on getConnection()

    I am using WLS 6.1 SP2 and Oracle 8.0.6, Type 4 Driver. I have a connection pool
    that works fine from a javabean, servlet, jsp, etc.
    I am trying to create a BMP EJB, and the call to getConnection returns the following
    error. JNDI seems to resolve the DataSource name okay, but I get back a null connection
    handle. I am not sure if I have a problem with my deployment descriptors or a
    jdbc problem.
    Dec 30, 2002 09:26:53 PersonEJB() - Person.ejbCreate called.
    Dec 30, 2002 09:26:53 create() Got DataSource from JNDI
    Dec 30, 2002 09:26:53 create() Oracle Error: java.sql.SQLException: XA error:
    XAER_RMERR : A resource manager error has occured in the transaction branch start()
    failed on resource 'Thin_Pool' Unexpected error during start for XAResource 'Thin_Pool':
    null
    Any suggestions appreciated.
    Thanks.
    Jeff

    I am using WLS 6.1 SP2 and Oracle 8.0.6, Type 4 Driver. I have a connection pool
    that works fine from a javabean, servlet, jsp, etc.
    I am trying to create a BMP EJB, and the call to getConnection returns the following
    error. JNDI seems to resolve the DataSource name okay, but I get back a null connection
    handle. I am not sure if I have a problem with my deployment descriptors or a
    jdbc problem.
    Dec 30, 2002 09:26:53 PersonEJB() - Person.ejbCreate called.
    Dec 30, 2002 09:26:53 create() Got DataSource from JNDI
    Dec 30, 2002 09:26:53 create() Oracle Error: java.sql.SQLException: XA error:
    XAER_RMERR : A resource manager error has occured in the transaction branch start()
    failed on resource 'Thin_Pool' Unexpected error during start for XAResource 'Thin_Pool':
    null
    Any suggestions appreciated.
    Thanks.
    Jeff

  • [WLS 8.1] - AbstractMethodError using javax.sql.DataSource  getConnection()

    [WLS 8.1.3] I'm getting an error while trying to execute the getConnection() method of javax.sql.DataSource.
    The same code, test data, WLS JDBC connection & data source runs fine on HP-UX but when I try to run it on XP, I get an error.(see below) Our code calls the getConnection() method several times and it actually works the first few times in the transaction but then fails after the 5th or 6th call. We're using the weblogic.jdbc.oci.Driver in both HP-UX & XP and the JDBC settings are identical. I've tried the same query in SQLPLUS as what's being used in the prepared statement and it works fine.
    The error message is as follows:
    Transaction BEA1-0002AD72C454EBACDA96 not active anymore. tx status = Marked rollback. [Reason=java.lang.AbstractMethodError: weblogic.xml.schema.binding.BeanCodecBase.getCompositor()Lweblogic/xml/schema/binding/ModelGroupCompositor;]>
    The code snippet that gets the error:
    Context ctx = new InitialContext();
    ds = (javax.sql.DataSource) ctx.lookup ("com.xxxx.yyyy.zzzz");
    conn = ds.getConnection();
    Any ideas what could cause this error?

    I turned JDBC logging on but the only SQLExceptions I could find in the JDBC log where some "java.sql.SQLException: Result set already closed" errors. Not ideal but the db calls actually worked and those errors were not in the same place in the code. I'm looking into why these are occurring but I don't think this is the root problem of the AbstractMethodError as the same SQLException occurs in the JDBC logs on UNIX where the AbstractMethodError is not being thrown. I can include a stack trace of the SQLException if you still think it might help.
    While searching the logs, I found other occurrences of the AbstractMethodError. I also noticed there is a JDK version difference between the WLS 8.1.3 for XP and the one for HP-UX. The XP version has JDK 142_04 and the HP-UX has 142_03.
    Here's a stack trace of the other AbstractMethodError I found from one of the EJB's:
    ####<Oct 6, 2004 6:41:35 AM PDT> <Info> <EJB> <JEAGLEMXP> <lnppiServer> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <BEA1-00009C0656BCEBACDA96> <BEA-010051> <EJB Exception occurred during invocation from home: [email protected] threw exception: java.lang.AbstractMethodError: weblogic.xml.schema.binding.BeanCodecBase.getCompositor()Lweblogic/xml/schema/binding/ModelGroupCompositor;
    java.lang.AbstractMethodError: weblogic.xml.schema.binding.BeanCodecBase.getCompositor()Lweblogic/xml/schema/binding/ModelGroupCompositor;
         at weblogic.xml.schema.binding.BeanCodecBase.gatherContents(BeanCodecBase.java:299)
         at weblogic.xml.schema.binding.CodecBase.serializeFill(CodecBase.java:285)
         at weblogic.xml.schema.binding.CodecBase.serialize_internal(CodecBase.java:222)
         at weblogic.xml.schema.binding.CodecBase.serialize(CodecBase.java:181)
         at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:188)
         at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:174)
         at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:324)
         at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:297)
         at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:645)
         at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:206)
         at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:143)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
         at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
         at com.qwest.lnppi.portedTNservice.PortedTelephoneNumber_Stub.getPortedTelelphoneNumber(Unknown Source)
         at com.qwest.lnppi.business.port.PortedTnBean.portedTnWS(Unknown Source)
         at com.qwest.lnppi.business.port.PortedTnBean.portedTn(Unknown Source)
         at com.qwest.lnppi.business.port.PortedTnEjb_rn88fn_EOImpl.portedTn(PortedTnEjb_rn88fn_EOImpl.java:98)
         at com.qwest.lnppi.business.svc.GetCurrentServiceProviderSwitch.getCurrentServiceProviderSwitch(Unknown Source)
         at com.qwest.lnppi.business.svc.LnppiServiceBean.getPortingOptions(Unknown Source)
         at com.qwest.lnppi.business.svc.LnppiServiceEjb_tk1dpv_EOImpl.getPortingOptions(LnppiServiceEjb_tk1dpv_EOImpl.java:46)
         at com.qwest.lnppi.web.lnppiTester.Tester.CallTheBean(Unknown Source)
         at com.qwest.lnppi.web.lnppiTester.Tester.TestIt(Unknown Source)
         at jsp_servlet.__tester._jspService(__tester.java:157)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:312)
         at com.qwest.lnppi.web.lnppiTester.pgMgr.doTestIt(Unknown Source)
         at com.qwest.lnppi.web.lnppiTester.pgMgr.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    >

  • OATS: Error Creating datasource client connection

    Hi All
    When i try to add montiors in the OATS controller machine i am getting the following error .
    Error while creating datasource client connection.
    i am trying to monitor a linux machine. I am able to ping that machine from controller.
    when i tried to do
    plink.exe [email protected]me i am getting the following error ...
    FATAL error : Network error : Connection timed out..
    Can anyone please help me on this??
    Thanks

    I'm not sure if this is the same problem but the following thread may help (mentioning the ports that may need opening on your firewalls)...
    Re: What are the various ports used by OLT?
    oracle.port.rmi=4444
    oracle.port.http=8088
    oracle.port.empstart=9001
    oracle.port.uil2=7071
    oracle.port.dataCollector=7073
    oracle.port.webservice=8083
    oracle.port.jndi.rmi=1098
    oracle.port.jndi=1099
    oracle.port.https=8433
    * 9001 (Agent Comunication Port)
    * 1099 (Datacollector Comunication Port)
    * 8088 (for running OpenScript scripts)

  • Error transferring datasource in R/3

    Hello
    I am trying to transfer a datasource from R/3 to BW.I am planning to transfer and then replicate
    When i go in RSA5 in R/3 and when i select the source and then click on Transfer it gives me error.the error is "The datasource is not assigned to application component"
    What does this mean and how to solve it

    Hi Jack,
    Look at the following post for more info:
    Re: Technical Content Transport
    Hope this helps...

  • Error in datasource creation

    Hi !
    I have created a View and it is consistent without any warning.
    Now i want to create a transaction datasource with this view . But it is giving an error .
    Invalid Extract structure template <viewname> of <DS name >.
    In the long text of the error it is giving that template structure quantity fields or currecy fields refere to different table .
    In the suggestion , it is told to create a view with inadmissible fields . But these fields are taken from tables and these are necessary in the DS .
    Please tell me what should I do ?

    Hi,
    Please search the forum. This problem has been discussed before.
    Just as a pointer, you need to include the original currency and quantity tables as well alongwith the original table you've created the view on.
    If you search, you'll get the complete solution for your problem.
    Cheers,
    Kedar

  • Getting error in datasource

    Hi Experts,
    i am having the data in DM1 but getting error in QM1   while extracting data in data source asBuffer Table not up-to-date after that it's going to dump issue in QM1 but few records are available when i am increasing data packets not getting the data.
    please let me  know if you any concerns.
    Best Regards,
    sowjanya.

    Hi ,
    Execute the SAP_RSADMIN_MAINTAIN program.
    Enter the value RSAR_LONG_FIELDNAME in the 'OBJECT' field.
    As of Support Package 16 (3.0B) and 10 (3.10 Content), you can take the name of the transfer structure from the longtext of error message RSAR 492. Enter this in the 'VALUE' field.
    For lower Support Packages, you can take the name of the transfer structure from the TRANSTRU field of the RSISOSMAP table with:
    OLTPSOURCE = Name of the DataSource
    LOGSYS = Name of the source system
    Hope that helps.
    Regards
    Mr Kapadia

  • Using Oracle Users in Realms and DataSource.getConnection

    Is it possible to authenticate using an Oracle User via JAASRealm and also retrieve connections specific to that user from a DataSource?
    I currently have an application which doesn't use either, but rather sets up a OracleDataSource. So basically I just want to allow the container to administer both the authentication and data source setup, while still allowing the getConnection(user,password):
    CODE
    ocpds = new OracleConnectionPoolDataSource();
    ocpds.setURL(connectionString);
    ocpds.setConnectionProperties(props);
    ods = new OracleDataSource();
    ods.setURL(connectionString);
    ods.setConnectionCachingEnabled(true);
    ods.setConnectionProperties(props);
    // Pool and Cache
    Properties poolProps = new Properties();
    poolProps.setProperty("AbandonedConnectionTimeout", "60");
    poolProps.setProperty("InactivityTimeout", "5");
    poolProps.setProperty("TimeToLiveTimeout", "60");
    poolProps.setProperty("ConnectionWaitTimeout", "60");
    ods.setConnectionCacheProperties(poolProps);
    ods.setConnectionProperties(props);
    Util.logln("Connection Cache Properties");
    cache = OracleConnectionCacheManager.getConnectionCacheManagerInstance();
    cache.createCache(cacheName, ods, poolProps);
    cache.setConnectionPoolDataSource(cacheName, ocpds);
    ........later in the BatCave (JSP or a servlet).....
    conn = (OracleConnection) ods.getConnection(username, password);
    ENDCODE
    This section from OAS Containers for J2EE Services Guide worries me:
    (from: http://download-east.oracle.com/docs/cd/B14099_19/web.1012/b14012/datasrc.htm#sthref572 )
    Using Different User Names for Two Connections to a Single Data Source
    When you retrieve a connection from a DataSource object with a user name and password, this user name and password are used on all subsequent connection retrievals within the same transaction. This is true for all data source types.
    For example, suppose an application retrieves a connection from the jdbc/OracleCMTDS1 data source with the scott user name. When the application retrieves a second connection from the same data source with a different user name, such as adams, the second user name (adams) is ignored. Instead, the original user name (scott) is used.
    Thanks for reading all of this, and I appreciate any help!

    Update:
    I'm still not quite sure what to do. Where I am now:
    1. I don't know how to authenticate against Oracle database users (non-ldap) via JNDI/JAAS/whatever
    2. Proxy authentication (ALTER USER...CONNECT THROUGH...) seems to be promising for using connection pools, and in addition, once realm authentication happens, I can just pass the username and piggyback on the middletier connection without knowing the password used in authentication
    3. I'm not sure if proxy addresses the issue that OAS Containers for J2EE Services Guide talks about in the original post
    4. I'd prefer not to use OID
    Again, if you have any little information, I'd really like to hear it.

  • Error in datasource

    Friends,
        Existing datasource added one object and transport to quality without deleting data in DTP. So i got error in quality datasource is not updating and not able to open DTP data. now i want to delete the data from that DTP.
    please suggest me how to solve?
    regards
    Amulu

    Hi Krishna,
    What i understand from your question is that after enhancing your Datasource, you are unable to load data from PSA(Datasource) to DataTarget using DTP.
    This is because if you already have Data loaded from PSA to the DataTarget(PSA is in initial Version 0)
    When you have changed the Datasource & Activated, the PSA Version changes to "1").
    If you need to upload Data from this Datasource, you can delete Data in the Target.
    Replicate & further Activate the Datasource & then try loading using DTP.
    Thanks,
    ChandraDeepak

  • Error Registering Datasource

    Hi, I am having difficulty registering a datasource to iAS. The server
    instance of iAS I am using is named crgserver(10817).
    When I use the [register] feature in Forte Runtime tab to register a
    datasource, I get this error:
    "crgserver :Error : could not log on to crgserver"
    If I try to use iasdeploy from command line with the string:
    "iasdeploy regdatasource MembershipDS.xml" I get this response:
    "iasdeploy for iPlanet Application Server 6.0 SP3
    Connected to LDAP server on crgserver port 389
    No servers registered in the registry"
    I also cannot register a server in iASAT. I get a logon error.
    Thanks for your help

    Hi,
    The error "No servers registered in the registry" makes me to feel
    that your iAS is not registered using the iASAT. Please open the iASAT and
    check if your server has been registered. Now, if you are not able to
    register iAS using iASAT then here are the following posibilities...
    - check if iAS is running properly(you may check this in windows by
    enabling the option interact with desktop in the services. In Unix systems
    you can check the KJS logs)
    - your logon credentials are wrong(either username/password)
    - ensure that your LDAP server is running.
    - check what your ip address is(is it static or dynamically generated
    using dhcp server ? also 127.0.0.1 will not help)
    - check what your DNS name is ?
    Please let me know if this helps.
    Regards
    Raj
    Raymond Gerz wrote:
    Hi, I am having difficulty registering a datasource to iAS. The server
    instance of iAS I am using is named crgserver(10817).
    When I use the [register] feature in Forte Runtime tab to register a
    datasource, I get this error:
    "crgserver :Error : could not log on to crgserver"
    If I try to use iasdeploy from command line with the string:
    "iasdeploy regdatasource MembershipDS.xml" I get this response:
    "iasdeploy for iPlanet Application Server 6.0 SP3
    Connected to LDAP server on crgserver port 389
    No servers registered in the registry"
    I also cannot register a server in iASAT. I get a logon error.
    Thanks for your help

  • Error with DataSource with MSSQL jdbc driver

    i have put the drivers of mssql in:
    <domain_config_dir>/domain1/server1/lib/my server.xml look like this:
        <jdbc-resource enabled="true" pool-name="CohispaniaPool" jndi-name="jdbc/cohispania"/>
        <jdbc-connection-pool steady-pool-size="8" max-pool-size="32" max-wait-time-in-millis="60000" pool-resize-quantity="2" idle-timeout-in-seconds="300" is-isolation-level-guaranteed="true" is-connection-validation-required="false" connection-validation-method="auto-commit" fail-all-connections="false" datasource-classname="com.microsoft.jdbcx.sqlserver.SQLServerDataSource" name="CohispaniaPool" validation-table-name="" res-type="javax.sql.DataSource">
          <property value="jdbc:microsoft:sqlserver://server_name\sqlserver01:1433;databaseName=Cohispania_Proc;selectMethod=cursor;" name="URL"/>
          <property value="XXX" name="User"/>
          <property value="YYY" name="Password"/>
        </jdbc-connection-pool>but and error occurs:
    [29/Jul/2004:14:35:34] SEVERE (  176): Application Error
    com.iplanet.jato.NavigationException: Exception encountered during forward
    Root cause = [java.sql.SQLException: com.sun.enterprise.repository.J2EEResourceException
    java.lang.NoSuchMethodException: setURL]
            at com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:380)
            at com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
            at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
            at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
            at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
            at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
            at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
            at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
            at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)anyone have the same problem?
    thank you

    Your driver doesn't have the setURL method. Check your driver documentation to find out what properties are supported. You could try to split up your "URL" property to several other properties like "databaseName"=Cohispania_Proc... and so on.

Maybe you are looking for

  • Adobe Bridge permission issues when working with network account

    We have some users using Adobe Bridge CS3, CS4 and CS5. They are using Bridge to browse arround the file server. I have ACL's so the users can have full access using the Finder, deleting, making folders etc. Users are logged in to their AD account wi

  • Connecting a 2nd TC via USB to act as archive drive

    Hi, I've been playing around with a number of settings which I have mentioned in other posts to extend my Sky+HD wireless router network. In the end I opted to buy a new dual-band TC (2TB) which seems to have cracked the problem of range and also gen

  • Load form in xml format and resource type of .xml file is set to Embedded

    Getting Error in the Bold statements and again while it throws exception the catch statement is getting error oGlobalMain is the object of global class where every object is created and function is defined SBO_Application is declared as  Public WithE

  • Bootable AirDisk

    Is it possible to create a bootable AirDisk with an external hd. I have a USB external hard drive with 10.4.11 PPC on it. I only made 1 partition for the disk. Basically, I want a USB hard drive thats connected to an AirPort Extreme/Time Capsule to b

  • HT1473 How do I get the songs from itunes onto my ipod?

    How do I get the songs I just purchased from itunes on to my ipod?