ORACLE TYPE 4 DRIVER WITH SUN ONE(IPLANET) 7.0

I HAD PLACED THE CLASSES12.ZIP IN SEVER INSTANCE /LIB FOLDER.
THIS IS MY SERVER.XML FILE ..
<jdbc-resource enabled="true" pool-name="jdbc/OCSACSConnectionPool" jndi-name="testjndi"/>
<mail-resource store-protocol="imap" store-protocol-class="com.sun.mail.imap.IMAPStore" transport-protocol="smtp" transport-protocol-class="com.sun.mail.smtp.SMTPTransport" debug="false" enabled="true" jndi-name="mail/Session" user="nobody" host="localhost" from="[email protected]"/>
<jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="oracle.jdbc.pool.OracleDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="32" max-wait-time-in-millis="60000" name="jdbc/OCSACSConnectionPool" pool-resize-quantity="2" steady-pool-size="8">
<property value="dhamu" name="serverName"/>
<property value="1521" name="portNumber"/>
<property value="TCP/IP" name="networkProtocol"/>
<property value="scott" name="user"/>
<property value="tiger" name="password"/>
<property value="oracledb" name="databaseName"/>
<property value="jdbc/OCSACSDataSource" name="dataSourceName"/>
<property value="jdbc:oracle:thin:@dhamu:1521:oracledb" name="URL"/>
</jdbc-connection-pool>
InitialContext ic = new InitialContext();
dataSource = (DataSource) ic.lookup("testjndi");
THIS IS THE WAY I AM LOOKING UP THE JNDI.
=========================
I AM GETTING A ERROR UNABLE 2 CONNECT ORB.
===========================
[email protected]
PLZ MAIL ME THE DETAILS 2 SOLVE THIS PROBLEM.

Your server.xml shows that u have used serverName,portnumber, network protocol properties.
Connection pool for oracle requires only the following properties-
User name,password & the url. Do not use the other properties.
Once the connection pool is created using the above mentioned properties you can test the connection pool created using the dbping tool found at http://developer.iplanet.com/tech/tools/

Similar Messages

  • Jdeveloper 9i with Sun ONE (iPlanet) Web Server 6.0

    Hi,
    Has any one working Jdeveloper 9i with Sun ONE (iPlanet) Web Server 6.0 ?
    When i add new application server it gives only Oracle App Server and Web Logic.
    Thanks
    Ramesh

    Currently JDeveloper provides Application server connections to Oracle9iAS and WebLogic, which can be used to deploy J2EE Modules.
    JDeveloper allows to create assemble generic J2EE archives from projects which can used to deploy to other application servers.
    Check out How-To documents on this topic
    http://otn.oracle.com/products/jdev/howtos/content.html
    raghu
    JDev Team

  • Using OCI8 driver with Sun ONE AS7 and Oracle 9

    Hi
    I am writing a bean that needs to access an Oracle Database.
    I have defined in AS7 a connection pool, that looks like:
    <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-isol
    ation-level-guaranteed="false" is-connection-validation-required="false" connect
    ion-validation-method="auto-commit" fail-all-connections="false" datasource-clas
    sname="oracle.jdbc.driver.OracleDriver" name="Oracle_EUNDEV">
    <property value="user" name="user"/>
    <property value="passwd" name="password"/>
    <property value="jdbc:oracle:oci8:@eundev:EUNDEV" name="URL"/>
    </jdbc-connection-pool>
    My code does a JNDI lookup DataSource, which succeeds.
    However, the getConnection always fails, and throws the following exception:
    [02/May/2003:16:28:06] WARNING ( 794): CORE3283: stderr: java.lang.NoSuchMethodException: setpassword
    [02/May/2003:16:28:06] WARNING ( 794): CORE3283: stderr: at com.sun.enterprise.util.Utility.invokeSetMethodCaseInsensitive(Utility.java:373)
    [02/May/2003:16:28:06] WARNING ( 794): CORE3283: stderr: at com.sun.enterprise.repository.JdbcConnectionPool.createDataSource(JdbcConnectionPool.java:238)
    [02/May/2003:16:28:06] WARNING ( 794): CORE3283: stderr: at com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAllocator.java:80)
    [02/May/2003:16:28:06] WARNING ( 794): CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
    I used dbping tool from iplanet and could define a new connection and connect successfully,
    But trying to use the existing connection always fail with the same 'MissingMethod' exception.
    Can someone help?
    Thanks a lot
    Jean-Noel Colin

    Here is your problem:
    jdbc:oracle:oci8:@eundev:EUNDEV
    the last part is wrong. Driver will see the EUNDEV as password. After @ , just specify the tnsName that you have, no " : "
    you do have a property called "password" already.
    It should be something like this:
    jdbc:oracle:oci8@eundev

  • Integration of Sun One Web Server 6.0 with Sun One App Server 7.0

    Is it possible to integrate Sun One Web Server 6.0 with the Sun One App Server 7.0??
    Sun One App Server 7.0 comes with the in-built HTTP listener. But we want to know if there is a way by which we can use the Sun One Web Server 6.0 with the App Server 7.0 and not the in-bulit HTTP listener?

    As suggested by you, I have used Sun ONE Application Server 7's plugin to connect the Sun ONE Web Server 6.0 with Sun ONE Application Server 7 as per the information given in Sun ONE Application Server 7 Administrator's Guide.
    I have added the plugin package to the webserver and added the following into the magnus.conf:
    Init fn="load-modules" shlib="C:/iPlanet/Servers/plugins/passthrough/passthrough.dll" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
    Init fn="init-passthrough"
    and to the obj.conf
    NameTrans fn="assign-name" from="(/A2P2Test|/A2P2Test/*)" name="passthrough"
    <Object name="passthrough">
    ObjectType fn="force-type" type="magnus-internal/passthrough"
    Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://<application server http listener>"
    Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
    </Object>
    The webserver starts up without any errors but never forwards any requests what might I be doing wrong?

  • Oracle VM 3 with SUN SERVER X3

    Dear All Experts,
    Is it possible to run Oracle VM 3 with SUN SERVER X3 has only 2 hard disks using local storage?
    If can, how to do it? please kindly share this experience?
    Thanks and regards,
    Vandy

    Booting to a USB-thumb-drive won't be a redundant OS mirror but that sounds like a good idea & that would be one way to do it. Solid State USB drives are likely more reliable than HDD but they do also fail (or maybe wear out & become read-only). Worst case you hopefully could just reinstall the OS on a new USB and your data would still be recoverable.
    Speaking of adding disks, if the BIOS/MB supports it you may also be able to add a USB-3.0 HDD. USB-2.0 may also be an option but would be slower. For my Dev environment I added multiple USB-3.0 7200rpm 4TB drives and they give me some piece of mind and provide decent performance for backups for my Dev environment (I clone to them to give extra layer of back up).
    I don't know if you can mirror 2 USB drives nor have I tried removing them and rotating them but both might be options (haven't though much about nor tried to do either yet).

  • Getting HTTP Status 500 error with sun one application server...

    Hi,
    I am trying to develop a sample application and try to run with sun one application server. I followed the tutorial. My application client is working fine. But my web client is producing the following error. I think we don't need to install Tomcat seperately when we have the application server or do I have to... any suggestions...
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    No Java compiler was found to compile the generated source for the JSP.
    This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
    to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
    If using an alternate Java compiler, please check its installation and access path.
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:132)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:356)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:557)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.
    Sun-Java-System/Application-Server-PE-8.0

    You do not need to install Tomcat. SJSAS contains a web container. The error you are seeing could be caused by a few reasons. There are many previous threads on this issue, perhaps you could search the forum. I used the following search term, "Unable to compile class for JSP" ,and got many hits.
    http://onesearch.sun.com/search/developers/index.jsp?col=devforums&qp_name=J2EE+Software+Development+Kit+%28J2EE+SDK%29&qp=forum%3A136&qt=Unable+to+compile+class+for+JSP

  • Using JMF API with Sun One Studio v4 update 1 (community ed.)

    Having great difficulty trying to utilise the JMF API I've just downloaded with Sun One Studio v4, update 1 (community edition).
    After installing the API, I tried copying the the .jar files under the lib folder of JMF to the lib folder of sun one studio.
    Although admittedly a novice in the field of adding API's I have attempted to add the .jar files into the libary of recognised modules but made no progress.
    The problem is that although JMF API is installed, Sun One Studio does not seem to be aware of this and so does not recognise any associated libraries e.g. java.media or JMFApplet.
    I would appreciate advice from anyone who knows how to configure Sun One Studio to utilise the JMF API.
    Mark

    All right, I think I may have solved it. After mounting jmf.jar I needed to update the parser database. All the libraries seem to be there.
    Can someone clarify though, the trial program i'm using makes reference to: java.media
    I don't have this module. I do instead have javax.media which I believe includes all the methods of the java version. Am I right or am I missing this crucial module??

  • Debug RMI - Service with Sun One Studio

    Hi, I'm trying to debug an rmi - service with sun one studio 4u1 (win nt 4.0). To do so I start the rmid daemon via
    rmid -J-Xdebug -J-Xnoagent -J-Djava.compiler=NONE -J-Xrunjdwp:transport=dt_shmem,server=y,address=dime,suspend=n -J-Djava.security.policy=%POLICY% -log %RUNDIR% >%RUNDIR%\server.log
    Then I register the service to the daemon and attach the debugger in the studio to the address "dime". This seems to work, but the service does not stop at breakpoints set in the debugger.
    Can someone help?

    I set the breakpoints at false line numbers (method heads). Now It works fine (breakpoints, watches, ...). The only thing is, that the current line is not visible in the source (although the line number is displayed correctly).

  • Netmeeting Integration with Sun One Portal Server 6.2

    Hi,
    we are trying to integrate MS Netmeeting with Sun one portal server 6.2,using netlet ,has anybody done similar things earlier .then plz help me,
    or any other solution to call netmeeting from portal.

    Suggest trying other forums, as we're specialized into Messaging Server, not portal nor Netmeeting

  • Netmeting  with Sun one Portal server 6.2

    Hi,
    we are trying to integrate MS Netmeeting with Sun one portal server 6.2,using netlet ,has anybody done similar things earlier .then plz help me,
    or any other solution to call netmeeting from portal.

    Suggest trying other forums, as we're specialized into Messaging Server, not portal nor Netmeeting

  • Fail to run my first Servlet with Sun ONE Studio 4 Update 1 (+ bi Tomcat)

    Hello !
    I failed to run my first Servlet with Sun ONE Studio 4 update 1 ( with built in Tomcat)
    I think that I followed most of the online instructions,
    so I successfully run a JSP file,
    but I failed with my first servlet:
    The error message is:
    "Standard Wrapper[:MyServlet]: Marking servlet MyServlet as unavailable
    javax.servlet.ServletException: Wrapper cannot find servlet class com.hemmerling.myservlet.MyServlet
    or a class it depends on
    So please don�t ask me for the code of the servlett ( simply taken from a book),
    but tell me why the one-and-only servlett was not found. what might I have done wrong, if I did everything I did to run the JSP file, too ?
    Of couse I copied the file into the "Classes" directory of the Webmodule ( WEB-INF ) and "processed" it, so that I was able to execute it.
    Any suggestions ?
    Tia
    Sincerely
    Rolf

    Tough to say, but try:
    1. Put the servlet in a package. If you're using the default package (class file in WEB-INF/classes directory, then Tomcat may not find it.
    2. Check out web.xml to ensure the <servlet> and <servlet-mapping> entries are correct.
    3. Make the servlet as simple as possible so you're sure that it is the servlet itself that cannot be found and not some other class that it uses.
    Good Luck

  • After replacing a failed hard drive with new one I inadvertently created a different account name(home/user) than the one in the Time Machine backup. Now I cannot restore the photos in iPhoto. What are my options?

    After replacing a failed hard drive with new one I inadvertently created a different account name(home/user) than the one in the Time Machine backup. Now I cannot restore the photos in iPhoto. What are my options?

    The best thing to do would be to start over. Use Setup Assistant this time.
    Boot into Recovery, launch Disk Utility, and erase the startup volume. This operation will destroy all data on the volume. Quit Disk Utility and install OS X. If your Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.
    When you reboot, you'll be prompted to go through the initial setup process. That’s when you transfer the data from one of your backups. For a walkthrough, see here:
    Using Setup Assistant
    Don't transfer the Guest account, if it was enabled on the old system.
    Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with proxy servers, or with networks that require a certificate for authentication.

  • Replace both Raid 1 hard drives with larger ones.

    This computer came set up for Raid 1.  I need to replace both hard drives with larger ones.  What is the proceedure for doing this?

    Hi wweksjk!: Yes you can have 2 HD's with differing capacities as an example on my Xion-MSI PC which was custom built in 2006 I had 2 Western Digital HD's, respectively 160 GB & 250GB divided into 3 partitions
    the brand name isn't as important as the rpm the faster the drive spins your computer will be faster
    also look at the size of the buffer on the drive as well because the higher the number there will speed up the boot time as well
    however installing a new drive as the boot drive will be complex but if you follow instructions that come with the HD installation software it can be done
    for example a 7200rpm drive is faster than a 5400rpm but not as fast as either a 10k or 15k model
    good luck
    hope this helps & enlightens you
    Happy Holidays!
                                                                                                                                    spacechild

  • Connecting to Oracle 9i with Sun One Web Server 6.1 SP4

    I have an application that connects to an Oracle 9i database. When I run iPlanet 4.1, I am able to login to the application and run it. Since I have migrated to Sun One Web Server 6.1 SP4, I have not been able to login. Through some built in error logging, I have been able to determine that my user validation routine is receiving a Null pointer when it trys to connect to the database. I have also determined that my login servlet is executing properly. When I receive the Null pointer error, I am redirected to a failed login page, which is what is supposed to happen in such a case. I believe that I do not have the web server configured properly to connect to the database and I am not sure how to do it! Below is an excerpt from my code where the database connection occurs and the exception is detected. Any help would be appreciated!
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
              oracleConnect = DriverManager.getConnection("jdbc:oracle:thin:@" + chost + ":" + cport + ":" + csid ,u,p);
         enable = true;
    oracleConnect.close();
    }catch(java.sql.SQLException e){processError.logError("validateUser Invalue user" + e.getMessage()); enable = false;}
    catch(java.io.FileNotFoundException e){processError.logError("validate User error" + e.getMessage());}
    catch(java.io.IOException e){processError.logError("evalidateUser rror File Error " + e.getMessage());}
    catch(java.lang.NullPointerException e){processError.logError("validateUser error Null Pointer " + e.getMessage());}

    You are not using the server's built in JDBC Connection pooling, so there is no special WebServer configuration needed to connect to a database.
    If in the other hand, you want to use the built in connection pooling, then refer to this page to see how to create a connection pool
    http://docs.sun.com/source/817-1831-10/agjava.html#wp1085593
    Samples on how to configure and use JDBC connection pooling can be found in the sample apps
    http://docs.sun.com/source/817-1833-10/pwawap.html#wp40108

  • Oracle calendar standalone R2 fails with Sun ONE 5.2

    I am trying to install Oracle Collaboration Suite R2 on a Windows 2000 server platform.
    have followed steps outlined in document for installing oracle collaboration suite stand alone on Windows.
    All proceeds well, until step 15.
    Configuration assistant failed.
    OUTPUT:
    Starting to execute configuration assistants
    Launched configuration assistant 'Calendar Server Configuration Assistant for Windows'
    Tool type is: Optional.
    The command being spawned is: 'd:\ocs\ocal/ca/RunCA.bat -noprompt'
    Start output from spawned process:
    **ERROR** Unable to create the Resource Relative DN.
    Please create it manually in the Directory Server.
    java.io.IOException: d:\ocs\ocal\bin\uniinstalltools: returned 1
         at oracle.calendar.server.configuration.OCalConfig.runExternalProgram(OCalConfig.java:1762)
         at oracle.calendar.server.configuration.OCalConfig.runExternalProgram(OCalConfig.java:1710)
         at oracle.calendar.server.configuration.OCalConfig.setupExtDirServ(OCalConfig.java:1391)
         at oracle.calendar.server.configuration.OCalConfig.setDsSpecInfo(OCalConfig.java:1438)
         at oracle.calendar.server.configuration.OCalConfig.run(OCalConfig.java:769)
         at oracle.calendar.server.configuration.OCalConfig.main(OCalConfig.java:81)
    **ERROR** Unable to create the Resource Relative DN.
    Please create it manually in the Directory Server.
    java.io.IOException: d:\ocs\ocal\bin\uniinstalltools: returned 1
         at oracle.calendar.server.configuration.OCalConfig.runExternalProgram(OCalConfig.java:1762)
         at oracle.calendar.server.configuration.OCalConfig.runExternalProgram(OCalConfig.java:1710)
         at oracle.calendar.server.configuration.OCalConfig.setupExtDirServ(OCalConfig.java:1403)
         at oracle.calendar.server.configuration.OCalConfig.setDsSpecInfo(OCalConfig.java:1438)
         at oracle.calendar.server.configuration.OCalConfig.run(OCalConfig.java:769)
         at oracle.calendar.server.configuration.OCalConfig.main(OCalConfig.java:81)
    **ERROR** Unable to initialize connection to directory
    uniaddnode: Unable to complete request. Directory Server may be down.
    **ERROR** Could not create the Calendar node.
    java.io.IOException: d:\ocs\ocal\bin\uniaddnode: returned 1
         at oracle.calendar.server.configuration.OCalConfig.runExternalProgram(OCalConfig.java:1762)
         at oracle.calendar.server.configuration.OCalConfig.runExternalProgram(OCalConfig.java:1710)
         at oracle.calendar.server.configuration.OCalConfig.createNode(OCalConfig.java:1694)
         at oracle.calendar.server.configuration.OCalConfig.run(OCalConfig.java:858)
         at oracle.calendar.server.configuration.OCalConfig.main(OCalConfig.java:81)
    java.lang.Exception: uniaddnode failure
    End output from spawned process.
    Have tried the RunCA.bat manually. FAILS
    Have tried "uniaddnode" manually. FAILS
    First updated the schema of the Directory server. Can verify that the ctcal entries exists.
    Sun ONE Directory Server 5.2 is up and running. Fresh install.
    "cn=Directory Manager" can log in.
    Restarted Sun ONE Directory Server. Same Result, FAILS
    Have tried another Directory manager. FAILS
    password correct for cn=Directory Manager.
    What am I missing?
    Have checked the LDAP logs of server.
    uniaddnode isn't even attempting to query the LDAP. If there is no query than there can be no bind. If there is no bind there can be no entries and modifications.
    TAR is open in metalink.
    CSR is still investigating. They are giving me the "run-around". I can duplicate the problem on ANY server at ANY time.
    Problem is independent of Sun ONE Directory Server 5.2 and iPlanet Directory Server 5.1 and 5.1SP3.
    Help needed

    try this
    1. edit the hosts file & add the hostname & ip address of the machine
    2. run $ORACLE_HOME/local/bin/uniaddnode -n 1
    3. retry the configuration assistant

Maybe you are looking for