Old jdbc chestnut

Hi
Have been happily developing struts apps with Netbeans 4 recently. Today something exploded with an out of memory error and despite system restarts and reinstallations none of my web applications can find the jdbc drivers!
I have put these in common/lib as per tomcat 5 instructions and used the following xml snippets..
context xml
<Resource name="jdbc/researchDB" auth="Container" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/researchDB">
<parameter>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>oracle.jdbc.OracleDriver</value>
</parameter>
<parameter>
<name>username</name>
<value>****</value>
</parameter>
<parameter>
<name>password</name>
<value>*****</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:oracle:thin:@127.0.0.1:1521:research</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>20</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>10</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>10000</value>
</parameter>
</ResourceParams>
web.xml
<resource-ref>
<description>Research DB connection</description>
<res-ref-name>jdbc/researchDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
protected Connection getConnectionFromDataSource(DataSource dataSource) throws SQLException
Connection connection = dataSource.getConnection();**exception thrown here
if( connection == null )
throw new SQLException("DataSource not initialised.");
return connection;
The context seems to be setup okay - in the code snippet above the exception reads
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780)
     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
     at AbstractRelationalDAO.getConnectionFromDataSource(AbstractRelationalDAO.java:33)
     at UserDAO.getUser(OracleEmisUserDAO.java:26)
     at actions.LogonAction.execute(LogonAction.java:46)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
"cannot create jdbc connection"...emm, seems very odd how working code can transform, maybe Netbeans 4 is to be avoided :-)
anyway above suggests that my xml entries aren't being picked up - anyone any ideas why this should be?
many thanks
Stephen

Emm, got things working again by reinstalling. Seems that there is a more sinster problem with Tomcat 5.5. I noticed that my web.xml file is not correct against the schema and similarly for context.xml.
Will investigate further and try to get Tomcat 5.5 version running. Maybe it is a problem with the servlet spec levels?
Anyway watch out for Netbeans 4 - I found someone else with a similar problem - after a crash the internal tomcat can behave differently - for example by requesting the manager uname/pwd when running the internal tomcat.
Stephen
Hi
Have been happily developing struts apps with
Netbeans 4 recently. Today something exploded with an
out of memory error and despite system restarts and
reinstallations none of my web applications can find
the jdbc drivers!

Similar Messages

  • How to keep the old jdbc log file

    Hi,
    whenever I restart the wls8.1, the jdbc logs are rewritten. I could not find my
    previous log to debug anymore, how can i config to make write to a new file like
    wls log. Thanks

    Hi Jen!
    This is bug in 8.1ga and sp1 and it is fixed ib 81sp2.
    When you specify jdbc log name with ".log" suffix, jdbc logging doesn't
    rotate as expected. So, the prior log file would be overwrited by new jdbc
    log when you restart WLS.
    Workaround
    Remove ".log" from the file name. It would be added by WLS automatically.
    Thanks,
    Mitesh
    Jen wrote:
    Hi,
    whenever I restart the wls8.1, the jdbc logs are rewritten. I could not find my
    previous log to debug anymore, how can i config to make write to a new file like
    wls log. Thanks

  • How to avoid oracle.jdbc.driver.OracleConnection using

    i'am new in Java but recently i've got a project on support.
    Problem:
    solution worked on jvm 1.4, now on 1.7.
    Respectively, class oracle.jdbc.driver.OracleConnection has been used.
    Now I need class oracle.jdbc.OracleConnection to use CLOB.createTemporary() but...I can't.
    According to the docs, it's enough to replace in code and config files one class declaration on another. But NO. I replaced all of them in all config files and anyway, there was only oracle.jdbc.driver.OracleConnection has been created. (there is no explicit declaration of connection type in code, everything is configured in config files)
    Project uses marven, mybatis-3.1.1. Database: oracle 9
    Driver: ojdbc14-9.2.0.5.jar contains both classes: both oracle.jdbc.driver.OracleConnection (for backward compatibility) and oracle.jdbc.OracleConnection.
    The matter is what should i do to use second one instead of first one.
    May be there is some java cache? I do not know...
    Anybody knows?

    Now I need class oracle.jdbc.OracleConnection to use CLOB.createTemporary() but...I can't.
    Why not? You have to explain, in detail, WHAT you are trying and WHY you say you "can't" do it.
    According to the docs, it's enough to replace in code and config files one class declaration on another.
    That is correct - this IS all that is required. Replace ALL references to 'oracle.jdbc.driver' in your code.
    But NO. I replaced all of them in all config files and anyway, there was only oracle.jdbc.driver.OracleConnection has been created. (there is no explicit declaration of connection type in code, everything is configured in config files)
    We can't SEE what 'config' information you say you changed. It is what is in the CODE that matters, not what is in a config file.
    If the 'oracle.jdbc.driver' package is being imported by your code and a reference to 'Connection' is made Java will use it from the first package that it finds the class in.
    You are using an ANCIENT jdbc jar file. That doc you linked to WARNS you that you should upgrade and that doc is over ten years old.
    Remove that old jdbc jar file and use the current driver. Also remove references to the old package and replace them with references to the new package.
    With code and jars that are that old you can expect to have problems trying to use additional features, especially extensions. I would be surprised if you didn't have other issues as well.
    You need to perform code review to find all of the references that need to be corrected.

  • CMSDK and JDBC

    Hello All,
    I think I have a JDBC library issue with CMSDK that I'm curious if anyone else has come across -- I can do a folder restricted query if I use an earlier version of JDeveloper (and whatever JDBC library it uses). However, the same code doesn't run if I use a later version. I don't have the version numbers available with me right now and I'll add that info later when I have access but I'm curious if anyone else has experienced this. The problem is that when I deploy these files to the 10g App Server, it fails....I'm reluctant to change to old JDBC jar files, not knowing the impact...thoughts anyone???
    Thanks,
    Eric

    We have experienced the same problem. I have 9.0.4.2 CMSDK, when I use my windows machine with the Oracle 9i OCI client installed, everything works fine. When I try on my other machine with Oracle 10g OCI client, it bombs. Of course, it also fails on the server running the 10g OCI client. I would be curious to see if it works on v9 app server that has the 9i OCI client. Must be a bug. This is VERY BASIC functionality that needs to work - what a lack of regression testing. The JDBC driver versions must match the OCI install version, as you know.
    If you find an answer/solution - please post.

  • JDBC 2 ResulSet Not Being Scrolled

    Hi
    I m using JDK 1.2 and using Oracle Thin Driver to connect with the Data Bases residing on another Server. I have retrived rows from the table (using res.next()) and performed Transactions and every thing was going on the right track, but when I read about the JDBC 2 API, and in the code i wrote
    Statement s = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    and then some where in the code i used res.next() and then res.previous()
    when I used methods which are defined in JDBC 2 API the compiler doesnt gives any error but there is runtime errors (Like Illegal Memory access voiation (windows error) and my application closes ), why is this happens.
    I managed to know that the error was given by this sentence
    Statement s = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    and it is important to note that I m using JDK1.2 which has JDBC 2.0 because I have checked this method in the API documentation and as well as my compiler should give error on the new JDBC methods, if I was using old JDBC.
    Please Help......

    Make sure you are specifying classes12.zip in the classpath at both compile time AND run time. I had the same problem, and this fixed it.
    Paul Smyth.

  • ADF from JDeveloper 10.1.2 not compatible with iAS 9.0.1

    Hi,
    We developed an ADF Application with JDeveloper 10.1.2 and we use the ADF interMedia domains (e.g. oracle.ord.im.OrdDocDomain). The application runs fine in JDeveloper, but doesn't run on our iAS 9.0.4.1. We get the following exception:
    java.lang.NoClassDefFoundError: oracle/sql/DatumWithConnection
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)
    at oracle.jbo.common.JBOClass.forName(JBOClass.java:161)
    at oracle.jbo.common.JBOClass.findDataClass(JBOClass.java:203)
    at oracle.jbo.server.AttributeDefImpl.initFromXML(AttributeDefImpl.java:2061)
    at oracle.jbo.server.AttributeDefImpl.loadFromXML(AttributeDefImpl.java:2013)
    at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:2815)
    at oracle.jbo.server.EntityDefImpl.loadAttributes(EntityDefImpl.java:2779)
    at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2362)
    at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2106)
    at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:514)
    [...rest of stacktrace omitted ...]
    The problem is that the JDBC version of the iAS 9.0.4.1 is missing the class DatumWithConnection that is indirectly referenced by the interMedia classes supplied with JDeveloper 10.1.2.
    In detail, oracle.ord.im.OrdDoc uses oracle.sql.STRUCT. The inheritance hierarchy of STRUCT is different in the JDBC versions on iAS 9.0.4.1 (oracle.sql.Datum <- oracle.sql.STRUCT) and JDeveloper 10.1.2 (oracle.sql.Datum <- oracle.sql.DatumWithConnection <- oracle.sql.STRUCT). The class file of oracle.ord.im.OrdDoc (from 10.1.2. JDeveloper) was apparently compiled the new JDBC driver version since it contains a reference to oracle.sql.DatumWithConnection. And that class cannot be found if run on iAS 9.0.4.1 with its old JDBC version.
    I think this is a very serious problem, since it means that ADF from JDeveloper 10.1.2 is not compatible with iAS 9.0.4.1, in contradiction to the support matrix (http://www.oracle.com/technology/products/jdev/collateral/papers/10g/as_supportmatrix.html).
    Upgrading the JDBC Driver on the iAS seems to be the only clean solution for this problem (we also tried using old versions of the ordim.jar etc. but that always leads to other problems). But simply exchanging the JDBC jar-files on the server breaks the Enterprise Manager on our iAS installation.
    I have two questions:
    1) Is there a recommended workaround for the compatibility issue described above?
    2) Is there a documented and supported way to upgrade the JDBC driver of iAS 9.0.4.1? I searched OTN and MetaLink and haven't found anything about this.
    Kind Regards,
    Kay
    P.S. It is surprising that this problem is rarely mentioned in the OTN forums at all. The only relevant thread is on the JHeadstart Forum:
    JHeadstart Deployment Issue
    P.S.2
    More info on what we tested:
    We have thoroughly checked that the 10.1.2. ADF runtime was correctly deployed on our iAS 9.0.4.1. We installed a OC4J 9.0.4.0.0 standalone on the same linux machine as our iAS 9.0.4.1 and deployed our application on it, getting the same error (java.lang.NoClassDefFoundError: oracle/sql/DatumWithConnection) as on the iAS. Replacing the JDBC drivers of the OC4J standalone with the version that came with JDeveloper 10.1.2 solved the problem.

    I don't think that mixing classes from different jar file is a good idea. Nevertheless, we tested this approach already. Adding the DatumWithConnection.class from the 10.1.0.3.0 JDBC version to the jar file of the original JDBC version (of the iAS 9.0.4.1.0) caused a java.lang.VerifyError to appear.
    The DatumWithConnection class is not simply added in the newer JDBC version. It is inserted into the inheritance hierarchy of oracle.sql.STRUCT and oracle.sql.Datum. Simply providing the new class next to the old JDBC driver will not work.
    To give more information about what's wrong with updating the complete JDBC driver, I justed tested it again. To update the JDBC driver I stopped the server, changed the contents of jdbc/lib, started the server. I tried it with JDBC Version 9.2.0.5 as well as 10.1.0.3.0.
    In both cases, our own application works, i.e. no more NoClassDefFoundError caused by oracle.sql.DatumWithConnection.
    The Enterprise Manager shows strange behaviour, however. Some features work as usual but, for example, when I click on the "Applications" tab for our OC4J instance, we just get the following error shown in the browser:
    An error was encountered while loading page. Failed to initialize configuration management user session.. See base exception for details.
    Root Cause: TDU
    Resolution: See base exception for details.. TDU
    In one of the server logs I found the following stacktrace:
    java.lang.NoSuchFieldError: TDU
         at oracle.net.resolver.NavDescription.navigate(Unknown Source)
         at oracle.net.resolver.NavServiceAlias.navigate(Unknown Source)
         at oracle.net.resolver.AddrResolution.resolveAddrTree(Unknown Source)
         at oracle.net.resolver.AddrResolution.resolveAndExecute(Unknown Source)
         at oracle.net.ns.NSProtocol.establishConnection(Unknown Source)
         at oracle.net.ns.NSProtocol.connect(Unknown Source)
         at oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java:1777)
         at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:215)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:365)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:547)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:347)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at oracle.context.isearch.admin.users.InstanceManager.getSchemaConnection(InstanceManager.java:688)
         at test.admin__status._jspService(_admin__status.java:112)
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Kind Regards,
    Kay

  • Very slow performance with queries sent to MS Access

    Hi, folks,
    I'm developing a site with JSP and MS Access and I'm having a lot of DB headaches. Since the site is still under development (not released yet), I'm using very small tables (like 20 rows, 20 columns).
    The first problem was that every time I executed ResultSet.getXXX() it took 50-100 ms. This made a page with little data (200 values read) take more than 30 seconds to display (!!!). I solved this issue changing the old jdbc:odbc for a brand new (trial) Netdirect JDataConnect driver (I include this info mainly because I think that may be helpful for some people out there).
    Now I have significantly reduced time consumption, but still the Statement.executeQuery() sentence has a terrible performance. I've measured 2 to 3 seconds for each query to return. I think that this is not logical for such small tables (What could happen with the 50,000 rows tables that we are planning to use in the future!).
    As always, thanks in advance for any help.

    It's been some days since my last post, but I have got valuable info in this time.
    First, answering your question, Sun's jdbc:odbc bridge only supports one isolation level: TRANSACTION_READ_COMMITED (at least for MS Access), so it's not possible to try to change it.
    However, I've discovered that a good solution to improve performance is to use another driver. Right now I'm using one from Atinav that dramatically improves performance (from 30 seconds to 300 ms).
    The problem with this driver is that it only supports JDBC 1.0, so I can't even use a scrollable ResultSet.
    Right now I think that I would be happy if I found I driver with a performance similar to Atinav's, but also supporting at least JDBC 2.0.
    As always, thanks in advance for any help.

  • Full ABAP Edition-Trial: no installation of maxdb???

    Hello to all,
    I installed "Full ABAP Edition-Trial" some days ago and everything worked fine without any problems. Windows on partition H: and programs (like sap and sapdb) on partition L:.
    Because of an other problem I had to reinstall Windows on H:. I deleted the subfolders L:\SAP and L:\sapdb. to get a clean world for sap.
    I start the installation process and setup asks me the path to install sap. I enter "L:\SAP". In the next screen it asks me about the database master password. I enter my password. In the next screen the setup tolds me to install the components MaxDB to L:\sapdb and application server to L:\SAP\NSP. Total Size: 18823.1 MB needed (By the way: I have 40 GB free).
    I press the install button and installation process runs without errors. Then (after 2 minutes!) I get the screen that tolds me "The InstallShield Wizard has successfully installed SAP Netweaver 2004s ABAP Trial Version.".
    So I start the SAP Management Console and start the instance. The icons become green and I see for example that the processes msg_server.exe and dispwork.exe are running. Dispwork.exe stops after a few seconds.
    Looking to the system log I see "Communications data: Service initialization failed" and some "SAP-Basis System: Initialization           DB-Connect Failed, Return Code  008192" messages.
    When I press the database icon in the the SAP Management Console, I get a screen "page could not be displayed".
    So it seems like a database problem. I look to the windows explorer and there is only the SAP-folder (with 341 MB). THERE IS NO SAPDB-FOLDER!!!
    I can't find an installation-log to see if there were problems (No log.txt at SAP\NSP).
    I deinstalled everything with deinstaller, run some registry cleaner and also installed a clean windows at H:, but everytime the same. I find note 572836 (Deleting SAPDB Registry entries and services) but it doesn't help.
    I know when I installed SAP the first time (where it worked fine), I had not to install the microsoft loopback adapter. So I tried the installation with and without the adapter. No success!!!
    I get crazy about it... Perhaps there is something wrong about the preinstalling environment: I download the two files SAPNW2004sABAPTrail_part1.rar and SAPNW2004sABAPTrail_part2.rar to the folder L:\downloads. Then I unpack only the first one SAPNW2004sABAPTrail_part1.rar in the same folder. Then there is a new folder SAPNW2004sABAPTrail_part1. This one contains a folder SAPNW2004sABAPTrail. There are some folders and files. I change to the folder images. There I start the setup.exe (but before I installed the lookback adapter).
    I'm a little bit irritated about the files SAPNW2004sABAPTrail_part1.rar and SAPNW2004sABAPTrail_part1.rar. The first one has a size of 1536000KB and the SAPNW2004sABAPTrail_part2.rar has a size of 1249739KB. Just for analyze I unpack the SAPNW2004sABAPTrail_part2.rar-file and see that it has exactly the same structure like SAPNW2004sABAPTrail_part1.rar!!! Also the size of the unpacked files are the same. Is this normal???
    So, that's my problem: No database here. Anyone here who has an idea? Please help me. I really need ABAP here!!!
    Kindly regards,
    Andy

    I have found the InstallationSteps.stat and install.log. Everything seems to be installed successfully, but no database is mentioned :-(. Here are the two files.
    <u>I still need help!!!</u>
    <b>=Start of  InstallationSteps.stat====================</b>
    CreateDirectories;20070108204154;20070108204155;Succeeded
    CopyExecutables;20070108204155;20070108204157;Succeeded
    AdaptProfiles;20070108204157;20070108204159;Succeeded
    AddToServices;20070108204159;20070108204207;Succeeded
    StartSCSInstance;20070108204207;20070108204232;Succeeded
    StopSCSInstance;20070108204232;20070108204233;Succeeded
    CreateXUserEntry;20070108204233;20070108204234;Succeeded
    RestartServiceViaSAPControl;20070108204234;20070108204305;Succeeded
    InstallMMC;20070108204306;20070108204308;Succeeded
    <b>=End of  InstallationSteps.stat====================</b>
    and here is the install.log file:
    <b>=Start of  install.log ====================</b>
    Start external command...
    Active Loglevel: 4
    ACTION: **********************************************************************
    ACTION: * Install SAP J2EE Engine 4 Web Application Server 700/710/720 ... XXX
    ACTION: *                                                                    
    ACTION: * Executing Step:   CreateDirectories
    ACTION: * User:             Fasan
    ACTION: * WorkingDirectory: L:\SAP\NSP\home
    ACTION: * Date:             2007.01.08 20:41:55
    ACTION: * Logfile:          steps.CreateDirectories.log
    ACTION: * Property File:    L:\SAP\NSP\home\j2eeinst.props
    ACTION: * Tool Version:     720.2.20060802095936
    ACTION: **********************************************************************
    SUCCESS: Execution of step: >> CreateDirectories <<
         finished successfully.
         Elapsed time:         00:00:00 [HH:mm:ss]
    Process exited with rc: 0
    Start external command...
    Active Loglevel: 4
    ACTION: **********************************************************************
    ACTION: * Install SAP J2EE Engine 4 Web Application Server 700/710/720 ... XXX
    ACTION: *                                                                    
    ACTION: * Executing Step:   CopyExecutables
    ACTION: * User:             Fasan
    ACTION: * WorkingDirectory: L:\SAP\NSP\home
    ACTION: * Date:             2007.01.08 20:41:56
    ACTION: * Logfile:          steps.CopyExecutables.log
    ACTION: * Property File:    L:\SAP\NSP\home\j2eeinst.props
    ACTION: * Tool Version:     720.2.20060802095936
    ACTION: **********************************************************************
    COPY_EXECUTABLES: Copy log converter (lc.jar) to users home directory
    COPY_EXECUTABLES: Copy SDC log viewer (slv.jar) to users home directory
    COPY_EXECUTABLES: Prepare environment for engine configuration:
    COPY_EXECUTABLES: Copy jperflib.dll to actual working dir.
    COPY_EXECUTBLES: Create startup and stop scripts in engine bin folder.
    copyFileWithProcessing(L:\SAP\NSP\home\additional_sw\t_startSystem.cmd,L:\SAP\NSP\SYS\exe\run,startSystem.cmd)
    Reading file L:\SAP\NSP\home\additional_sw\t_startSystem.cmd
    Keys:
    Sections to process:
    copyFileWithProcessing(L:\SAP\NSP\home\additional_sw\t_stopSystem.cmd,L:\SAP\NSP\SYS\exe\run,stopSystem.cmd)
    Reading file L:\SAP\NSP\home\additional_sw\t_stopSystem.cmd
    Keys:
    Sections to process:
    copyFileWithProcessing(L:\SAP\NSP\home\additional_sw\t_strdbsj2ee.cmd,L:\SAP\NSP\SYS\exe\run,strdbsj2ee.cmd)
    Reading file L:\SAP\NSP\home\additional_sw\t_strdbsj2ee.cmd
    Keys:
    Sections to process:
    COPY_EXECUTABLES: Finished ....
    SUCCESS: Execution of step: >> CopyExecutables <<
         finished successfully.
         Elapsed time:         00:00:00 [HH:mm:ss]
    Process exited with rc: 0
    Start external command...
    Active Loglevel: 4
    ACTION: **********************************************************************
    ACTION: * Install SAP J2EE Engine 4 Web Application Server 700/710/720 ... XXX
    ACTION: *                                                                    
    ACTION: * Executing Step:   AdaptProfiles
    ACTION: * User:             Fasan
    ACTION: * WorkingDirectory: L:\SAP\NSP\home
    ACTION: * Date:             2007.01.08 20:41:57
    ACTION: * Logfile:          steps.AdaptProfiles.log
    ACTION: * Property File:    L:\SAP\NSP\home\j2eeinst.props
    ACTION: * Tool Version:     720.2.20060802095936
    ACTION: **********************************************************************
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\antlr.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\base_services_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\base_services_compatibility.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\base_services_impl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\com.sap.security.api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\com.sap.security.api.perm.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\com.sap.security.core.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\common_cache_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\common_cache_impl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\com_sap_tc_jtools_jver.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\exception.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\i18n_cp.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\iaik_jce.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\jenqulib.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\jta.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\jts_jco.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\logging_impl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\opensqljts.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\opensqlsta.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\remserver.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\resources.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\rfc_container_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\sapxmltoolkit.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\services_admin_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\services_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\services_impl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\transport.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\ume_jts_extensions_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\ume_jts_extensions_impl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\ume_service.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_admin_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_impl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_internal_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_kernel.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_trace_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_util.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jenqulib.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\charsets.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\jce.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\jsse.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\rt.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\security\local_policy.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\security\US_export_policy.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\sunrsasign.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\lib\tools.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jperflib.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jstartup.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jstartupapi.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jstartupimpl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\servicehttp\sapmc\frog.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\servicehttp\sapmc\sapmc.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\servicehttp\sapmc\soapclient.jar
    ADAPT_PROFILES: Start to create the profiles
    CONFIGURATION: Create JDBC Path in J2EE installation directory.
    CONFIGURATION: New JDBC Path: L:\SAP\NSP\DVEBMGS00\j2ee\jdbc (Exist=false)
    CONFIGURATION: Old JDBC Path: L:\SAP\NSP\DVEBMGS00\j2ee (Exist=false)
    CONFIGURATION: New JDBC Path created.
    CONFIGURATION: Copy Jars from: L:\SAP\NSP\_installTemp\j2ee\INSTALLER\COMMON\JDBC\ADA
    CONFIGURATION:           to  : L:\SAP\NSP\DVEBMGS00\j2ee\jdbc
    ADAPT_PROFILES: Create profiles for standalone J2EE
    copyFileWithProcessing(additional_sw/t_DEFAULT_PFL_710,L:\SAP\NSP\SYS\profile,DEFAULT.PFL)
    Reading file additional_sw/t_DEFAULT_PFL_710
    Keys:
    Sections to process:
    [JDK_CONTAINER, WITHOUT_SHARE]
    copyFileWithProcessing(additional_sw/t_START_INSTANCE_HOST_710,L:\SAP\NSP\SYS\profile,START_DVEBMGS00_AMMERSEE)
    Reading file additional_sw/t_START_INSTANCE_HOST_710
    Keys:
         WITHOUT_SHARE
    Sections to process:
    [JDK_CONTAINER, WITHOUT_SHARE]
    finished reading Section WITHOUT_SHARE
    copyFileWithProcessing(additional_sw/t_SID_INSTANCE_HOST_710,L:\SAP\NSP\SYS\profile,NSP_DVEBMGS00_AMMERSEE)
    Reading file additional_sw/t_SID_INSTANCE_HOST_710
    Keys:
         WITHOUT_SHARE
    Sections to process:
    [JDK_CONTAINER, WITHOUT_SHARE]
    finished reading Section WITHOUT_SHARE
    copyFileWithProcessing(additional_sw/t_START_DB_INIT_710,L:\SAP\NSP\SYS\profile,START_DVEBMGS00_AMMERSEE)
    Reading file additional_sw/t_START_DB_INIT_710
    Keys:
         WITHOUT_SHARE
    Sections to process:
    [JDK_CONTAINER, WITHOUT_SHARE]
    finished reading Section WITHOUT_SHARE
    copyFileWithProcessing(additional_sw/t_strdbmsONCE.cmd,L:\SAP\NSP/SYS/exe/run/,strdbmsONCE.cmd)
    Reading file additional_sw/t_strdbmsONCE.cmd
    Keys:
    Sections to process:
    [JDK_CONTAINER, WITHOUT_SHARE]
    copyFileWithProcessing(additional_sw/t_setsapenv.cmd,L:\SAP\NSP/SYS/exe/run/,setsapenv.cmd)
    Reading file additional_sw/t_setsapenv.cmd
    Keys:
    Sections to process:
    [JDK_CONTAINER, WITHOUT_SHARE]
    SUCCESS: Execution of step: >> AdaptProfiles <<
         finished successfully.
         Elapsed time:         00:00:01 [HH:mm:ss]
    Process exited with rc: 0
    Start external command...
    Active Loglevel: 4
    ACTION: **********************************************************************
    ACTION: * Install SAP J2EE Engine 4 Web Application Server 700/710/720 ... XXX
    ACTION: *                                                                    
    ACTION: * Executing Step:   AddToServices
    ACTION: * User:             Fasan
    ACTION: * WorkingDirectory: L:\SAP\NSP\home
    ACTION: * Date:             2007.01.08 20:41:59
    ACTION: * Logfile:          steps.AddToServices.log
    ACTION: * Property File:    L:\SAP\NSP\home\j2eeinst.props
    ACTION: * Tool Version:     720.2.20060802095936
    ACTION: **********************************************************************
    AddToServices: Instance shall not be started by default.
    AddToServices:  Therefore we provide a start script in:
    AddToServices: L:\SAP\NSP\home\startEngine.bat
    AddToServices: Service will be created.
    DEBUG: Register service with the following command:
    DEBUG: "L:\SAP\NSP\SYS\exe\run/sapstartsrv.exe" -r -q -s NSP -n 00 -p L:\SAP\NSP\SYS\profile\START_DVEBMGS00_ammersee
    Start external command...
    Service succesfully installed.
    Process exited with rc: 0
    SUCCESS: Execution of step: >> AddToServices <<
         finished successfully.
         Elapsed time:         00:00:07 [HH:mm:ss]
    Process exited with rc: 0
    Start external command...
    Active Loglevel: 4
    ACTION: **********************************************************************
    ACTION: * Install SAP J2EE Engine 4 Web Application Server 700/710/720 ... XXX
    ACTION: *                                                                    
    ACTION: * Executing Step:   StartSCSInstance
    ACTION: * User:             Fasan
    ACTION: * WorkingDirectory: L:\SAP\NSP\home
    ACTION: * Date:             2007.01.08 20:42:07
    ACTION: * Logfile:          steps.StartSCSInstance.log
    ACTION: * Property File:    L:\SAP\NSP\home\j2eeinst.props
    ACTION: * Tool Version:     720.2.20060802095936
    ACTION: **********************************************************************
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\antlr.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\base_services_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\base_services_compatibility.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\base_services_impl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\com.sap.security.api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\com.sap.security.api.perm.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\com.sap.security.core.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\common_cache_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\common_cache_impl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\com_sap_tc_jtools_jver.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\exception.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\i18n_cp.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\iaik_jce.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\jenqulib.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\jta.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\jts_jco.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\logging_impl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\opensqljts.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\opensqlsta.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\remserver.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\resources.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\rfc_container_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\sapxmltoolkit.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\services_admin_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\services_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\services_impl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\transport.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\ume_jts_extensions_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\ume_jts_extensions_impl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\ume_service.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_admin_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_impl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_internal_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_kernel.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_trace_api.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\cfw\lib\vmc_util.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jenqulib.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\charsets.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\jce.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\jsse.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\rt.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\security\local_policy.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\security\US_export_policy.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\jre\lib\sunrsasign.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jkit\lib\tools.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jperflib.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jstartup.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jstartupapi.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\jstartupimpl.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\servicehttp\sapmc\frog.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\servicehttp\sapmc\sapmc.jar
    Adding to classpath: L:\SAP\NSP\SYS\exe\run\servicehttp\sapmc\soapclient.jar
    Starting SCS-Instance
    Executing SCS-startup-command: L:\SAP\NSP\SYS\exe\run\startsap.exe name=NSP nr=00 SAPDIAHOST=ammersee
    Execute in current working dir: L:\SAP\NSP\home
    Start external command...
    \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ STARTSAP continues...
    Process exited with rc: 0
    SUCCESS: Execution of step: >> StartSCSInstance <<
         finished successfully.
         Elapsed time:         00:00:23 [HH:mm:ss]
    Process exited with rc: 0
    Start external command...
    Active Loglevel: 4
    ACTION: **********************************************************************
    ACTION: * Install SAP J2EE Engine 4 Web Application Server 700/710/720 ... XXX
    ACTION: *                                                                    
    ACTION: * Executing Step:   StopSCSInstance
    ACTION: * User:             Fasan
    ACTION: * WorkingDirectory: L:\SAP\NSP\home
    ACTION: * Date:             2007.01.08 20:42:32
    ACTION: * Logfile:          steps.StopSCSInstance.log
    ACTION: * Property File:    L:\SAP\NSP\home\j2eeinst.props
    ACTION: * Tool Version:     720.2.20060802095936
    ACTION: **********************************************************************
    Checking running engine process via sapcontrol and wait for stopped
    Checking on: SCS
    Stop instance with cmd: L:\SAP\NSP\SYS\exe\run\sapcontrol.exe -prot PIPE -nr 00 -host ammersee -function StopWait 300 10
    Stop instance in directory: L:\SAP\NSP\SYS\exe\run
    Start external command...
    08.01.2007 20:42:33
    Stop
    OK
    08.01.2007 20:42:33
    StopWait
    OK
    Process exited with rc: 0
    Start external command...
    08.01.2007 20:42:33
    GetProcessList
    OK
    0 name: msg_server.EXE
    0 description: MessageServer
    0 dispstatus: GRAY
    0 textstatus: Stopped
    0 starttime: 2007 01 08 20:42:20
    0 elapsedtime: 0:00:13
    0 pid: -1
    Process exited with rc: 4
    SUCCESS: Execution of step: >> StopSCSInstance <<
         finished successfully.
         Elapsed time:         00:00:01 [HH:mm:ss]
    Process exited with rc: 0
    Start external command...
    Active Loglevel: 4
    ACTION: **********************************************************************
    ACTION: * Install SAP J2EE Engine 4 Web Application Server 700/710/720 ... XXX
    ACTION: *                                                                    
    ACTION: * Executing Step:   CreateXUserEntry
    ACTION: * User:             Fasan
    ACTION: * WorkingDirectory: L:\SAP\NSP\home
    ACTION: * Date:             2007.01.08 20:42:34
    ACTION: * Logfile:          steps.CreateXUserEntry.log
    ACTION: * Property File:    L:\SAP\NSP\home\j2eeinst.props
    ACTION: * Tool Version:     720.2.20060802095936
    ACTION: **********************************************************************
    SUCCESS: Execution of step: >> CreateXUserEntry <<
         finished successfully.
         Elapsed time:         00:00:00 [HH:mm:ss]
    Process exited with rc: 0
    Start external command...
    Active Loglevel: 4
    ACTION: **********************************************************************
    ACTION: * Install SAP J2EE Engine 4 Web Application Server 700/710/720 ... XXX
    ACTION: *                                                                    
    ACTION: * Executing Step:   RestartServiceViaSAPControl
    ACTION: * User:             Fasan
    ACTION: * WorkingDirectory: L:\SAP\NSP\home
    ACTION: * Date:             2007.01.08 20:42:34
    ACTION: * Logfile:          steps.RestartServiceViaSAPControl.log
    ACTION: * Property File:    L:\SAP\NSP\home\j2eeinst.props
    ACTION: * Tool Version:     720.2.20060802095936
    ACTION: **********************************************************************
    Restarting service via sapcontrol
    Restart service with cmd: L:\SAP\NSP\SYS\exe\run\sapcontrol.exe -prot PIPE -nr 00 -host ammersee -function RestartService
    Restart service in directory: L:\SAP\NSP\SYS\exe\run
    Start external command...
    08.01.2007 20:42:35
    RestartService
    OK
    Process exited with rc: 0
    SUCCESS: Execution of step: >> RestartServiceViaSAPControl <<
         finished successfully.
         Elapsed time:         00:00:30 [HH:mm:ss]
    Process exited with rc: 0
    Start external command...
    Active Loglevel: 4
    ACTION: **********************************************************************
    ACTION: * Install SAP J2EE Engine 4 Web Application Server 700/710/720 ... XXX
    ACTION: *                                                                    
    ACTION: * Executing Step:   InstallMMC
    ACTION: * User:             Fasan
    ACTION: * WorkingDirectory: L:\SAP\NSP\home
    ACTION: * Date:             2007.01.08 20:43:06
    ACTION: * Logfile:          steps.InstallMMC.log
    ACTION: * Property File:    L:\SAP\NSP\home\j2eeinst.props
    ACTION: * Tool Version:     720.2.20060802095936
    ACTION: **********************************************************************
    INSTALL_MMC: Prepare to extract the SAPMMC
    SAPMMC already extracted on cd. don't extract it a secon time.
    INSTALL_MMC: Start to copy dll to SYSTEM32 directory
    INSTALL_MMC: Copy sapmmc.dll to H:\WINDOWS\SYSTEM32\
    INSTALL_MMC: Copy sapmmcada.dll to H:\WINDOWS\SYSTEM32\
    INSTALL_MMC: Copy sapmmcdb6.dll to H:\WINDOWS\SYSTEM32\
    INSTALL_MMC: Copy sapmmcinf.dll to H:\WINDOWS\SYSTEM32\
    INSTALL_MMC: Copy sapmmcms.dll to H:\WINDOWS\SYSTEM32\
    INSTALL_MMC: Copy librfc32.dll to H:\WINDOWS\SYSTEM32\
    INSTALL_MMC: Start to copy the help file
    INSTALL_MMC: Copy sapmmc.chm to H:\WINDOWS\help\
    INSTALL_MMC: Start to copy the msc file
    INSTALL_MMC: Copy sapmmc.msc to H:\WINDOWS\
    INSTALL_MMC: Start to register dll
    INSTALL_MMC: Register sapmmc.dll
    InstallMMC: Registering dll with the following command: regsvr32 /s sapmmc.dll
    INSTALL_MMC: Register sapmmcada.dll
    InstallMMC: Registering dll with the following command: regsvr32 /s sapmmcada.dll
    INSTALL_MMC: Register sapmmcdb6.dll
    InstallMMC: Registering dll with the following command: regsvr32 /s sapmmcdb6.dll
    INSTALL_MMC: Register sapmmcinf.dll
    InstallMMC: Registering dll with the following command: regsvr32 /s sapmmcinf.dll
    INSTALL_MMC: Register sapmmcms.dll
    InstallMMC: Registering dll with the following command: regsvr32 /s sapmmcms.dll
    SUCCESS: Execution of step: >> InstallMMC <<
         finished successfully.
         Elapsed time:         00:00:01 [HH:mm:ss]
    Process exited with rc: 0
    <b>=End of  install.log ====================</b>

  • Oracle Strange Long query

    Hello,
    I'm still in the process of finding what is wrong with my oracle connection.
    Everytime a request is done, this query is executed:
    SELECT NULL AS table_cat, t.owner AS table_schem,t.table_name AS
    table_name,t.column_name AS column_name, DECODE (t.data_type, 'CHAR',
    1, 'CLOB', 2005, 'BLOB', 2004, 'VARCHAR2', 12, 'NUMBER', 3, 'LONG',
    -1, 'DATE', 93,'RAW', -3, 'LONG RAW', -4, 'BINARY_FLOAT', 7,
    'BINARY_DOUBLE', 8, 'XMLTYPE',2005, 'BFILE',2004,'NCHAR',1,
    'NVARCHAR2',12, 'NCLOB', 2005, 'ROWID', 12, 'FLOAT', 8, 1111) AS
    data_type, t.data_type AS type_name, decode(t.data_type, 'NUMBER',
    decode(t.data_precision, null, decode(t.data_scale, null, 0, 0, 38,
    t.data_scale), t.data_precision), 'FLOAT', 15, 'CLOB',2147483647,
    'NCLOB', 2147483647, 'LONG', 2147483647, 'BLOB', 2147483647, 'LONG
    RAW', 2147483647, 'BFILE', 2147483647, 'DATE', 19, 'ROWID', 18,
    'BINARY_FLOAT', 7, 'BINARY_DOUBLE', 15,decode(t.data_length, 0, 1,
    t.data_length)) as column_size, 0 AS buffer_length,
    decode(t.data_type, 'NUMBER', decode(t.data_scale, null,
    decode(t.data_precision, null, 0,null), t.data_scale), 'FLOAT',
    NULL,'DATE', 0, NULL) AS decimal_digits, decode(t.data_type,
    'BINARY_FLOAT', 10, 'BINARY_DOUBLE', 10, 'FLOAT', 10, 'NUMBER', 10,
    NULL) AS num_prec_radix, DECODE (t.nullable, 'N', 0, 1) AS nullable,
    NULL AS remarks,NULL AS column_def, null AS sql_data_type, null AS
    sql_datetime_sub, decode(t.data_type, 'VARCHAR2',
    decode(t.data_length, 0, 1, t.data_length), 'CHAR', t.data_length,
    'NCHAR', t.data_length, 'CLOB', 2147483647, 'NCLOB', 2147483647,
    'LONG', 2147483647, 'BFILE', 2147483647, NULL) AS char_octet_length,
    t.column_id AS ordinal_position, DECODE (t.nullable, 'N', 'NO', 'YES')
    AS is_nullable, null as SCOPE_CATLOG, null as SCOPE_SCHEMA, null as
    SCOPE_TABLE, null as SOURCE_DATA_TYPE FROM all_tab_columns t WHERE
    t.owner LIKE 'REI' ESCAPE '\' AND t.table_name LIKE 'G_PAGE' ESCAPE
    '\' AND t.column_name LIKE '%' ESCAPE '\' UNION ALL SELECT NULL,
    asy.owner, asy.synonym_name , t.column_name, DECODE (t.data_type,
    'CHAR', 1, 'CLOB', 2005, 'BLOB', 2004, 'VARCHAR2', 12, 'NUMBER', 3,
    'LONG', -1, 'DATE', 93,'RAW', -3, 'LONG RAW', -4, 'BINARY_FLOAT', 7,
    'BINARY_DOUBLE', 8, 'XMLTYPE',2005, 'BFILE',2004,'NCHAR',1,
    'NVARCHAR2',12, 'NCLOB', 2005, 'ROWID', 12, 'FLOAT', 8, 1111),
    t.data_type, decode(t.data_type, 'NUMBER', decode(t.data_precision,
    null, decode(t.data_scale, null, 0, 0, 38, t.data_scale),
    t.data_precision), 'FLOAT', 15, 'CLOB',2147483647, 'NCLOB',
    2147483647, 'LONG', 2147483647, 'BLOB', 2147483647, 'LONG
    RAW',2147483647, 'BFILE', 2147483647, 'DATE', 19, 'ROWID', 18,
    'BINARY_FLOAT', 7, 'BINARY_DOUBLE', 15,decode(t.data_length, 0, 1,
    t.data_length)), 0, decode(t.data_type, 'NUMBER', nvl(t.data_scale,
    0), 'DATE', 0, 'FLOAT', NULL, NULL) AS decimal_digits,
    decode(t.data_type, 'FLOAT', 10, 'NUMBER', 10, NULL), DECODE
    (t.nullable, 'N', 0, 1), NULL, NULL, null, null, decode(t.data_type,
    'VARCHAR2', decode(t.data_length, 0, 1, t.data_length), 'CHAR',
    t.data_length, 'NCHAR', t.data_length, 'CLOB', 2147483647, 'NCLOB',
    2147483647, 'LONG', 2147483647, 'BFILE', 2147483647, NULL),
    t.column_id, DECODE (t.nullable, 'N', 'NO', 'YES'), null, null, null,
    null FROM all_synonyms asy, all_tab_columns t WHERE t.table_name =
    asy.table_name AND t.owner = asy.table_owner AND t.column_name LIKE
    '%' ESCAPE '\' AND asy.owner LIKE 'REI' ESCAPE '\' AND
    asy.synonym_name LIKE 'G_PAGE' ESCAPE '\' ORDER BY table_schem,
    table_name, ordinal_positionThis is a very long and resource consuming query.
    Why this query is executed everytime I do a commit, select or anything.
    A commit is 30 sec long (http://swforum.sun.com/jive/thread.jspa?threadID=93759&tstart=0).
    Are all Oracle users subject to this problem?
    Regards
    Kuon

    Here's my theory:
    Oracle's jdbc driver (not Sun's) doesn't support rowset.getMetaData() until the query statement is executed. I understand that the database itself doesn't have support. (a year ago this was a problem, I still think so now).
    Sun's jdbc driver for Oracle (repackaged from DataDirect) does support rowset.getMetatData().
    So how does it do this? I don't know exactly, but the only way I can think of is that it is to parse the query, get the database meta data, and use all that to determine the resultSet meta data.
    I think you're seeing the "get the database meta data" request, and that's just taking along time.
    I'd expect that data to be cached by the driver on (at least) a per-connection basis. Doesn't look like though.
    Maybe someone from Sun has the current scoop for plans in this area.
    In the meantime, I think you're hosed if you want to use a CachedRowSet.
    Workarounds would be using plain old jdbc, hibernate, etc., to get the data then wrapping your results into an ObjectArrayDataProvider or whatever.
    Good luck.

  • 32 bit compiled Java Program not connecting to 64 bit Oracle 11g

    Hi,
    I am using one java program to connect to Oracle 11g (64 bit version) using Oracle10g 32 bit client libraries using OCI calls. Below is the program. If I compile it using 64 bit Oracle 10g libraries ($ORACLE_HOME/lib and $ORACLE_HOME/rdbms/lib) , it perfectly connects to Oracle11g but when i compile it using $ORACLE_HOME/lib32 and $ORACLE_HOME/rdbms/lib32, it hangs and keeps trying and takes 100% cpu usage. it does nothing. Please suggest what is going wrong in the environment.
    ============================
    import java.sql.*;
    class dbAccess {
    public static void main (String args []) throws Exception
    Class.forName ("oracle.jdbc.OracleDriver");
    Connection conn = DriverManager.getConnection
    ("jdbc:oracle:oci8:@lvfd", "fde", "fde");
    // or oci7 @TNSNames_Entry, userid, password
    try {
    Statement stmt = conn.createStatement();
    try {
    ResultSet rset = stmt.executeQuery("select * from tab");
    try {
    while (rset.next())
    System.out.println (rset.getString(1)); // Print col 1
    } finally {
    try { rset.close(); } catch (Exception ignore) {}
    } finally {
    try { stmt.close(); } catch (Exception ignore) {}
    } finally {
    try { conn.close(); } catch (Exception ignore) {}
    ================================================

    >
    I am compiling like when LD_LIBRARY_PATH set to $ORACLE_HOME/lib32:$ORACLE_HOME/rdbms/lib32.
    javac -cp .:$ORACLE_HOME/jdbc/lib/ojdbc14.jar dbAccess.java
    as my program resides in current directory. I run it like :
    java -cp .:$ORACLE_HOME/jdbc/lib/ojdbc14.jar dbAccess
    Output: it hangs forever.
    I am compiling like when LD_LIBRARY_PATH set to $ORACLE_HOME/lib:$ORACLE_HOME/rdbms/lib
    javac -cp .:$ORACLE_HOME/jdbc/lib/ojdbc14.jar dbAccess.java
    as my program resides in current directory. I run it like :
    java -cp .:$ORACLE_HOME/jdbc/lib/ojdbc14.jar dbAccess
    Output: It gets connected and list all the tables as output.
    >
    The ojdbc14.jar file is for use with Java 1.4 VMs.
    Are you still using Java 1.4? If so, why?
    For Oracle 11g you should be using the latest JDBC jar file (ojdbc6.jar) and the latest version of Java 1.6.
    You are not only using an old JDBC driver and Java version but are also trying to mix 32 bit and 64 bit operations.
    I suggest you start using recommended practices and update your Java and JDBC versions and select EITHER 32 bit or 64 bit operations.
    See the Official JDBC FAQ for the details on the support available for various combinations of Oracle DB, Java and the JDBC drivers:
    http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html

  • Problem updating a table-row (changes are commited after "prerender()")

    Hi,
    I hope someone can help me on this:
    Background-info:
    The page which gives me problems should (and is) displaying one record of a query at a time. Depending on the button which can be pressed, the page should just display the next entry ("Next->") or change one column of the current entry and jump to the next entry ("Wrong / Next->"). After the last entry, the query should be (and is) executed again and the page should display the first column, which fits the query-criterias.
    The problem:
    If the query just finds one record, the record is displayed on that page.
    By pressing the "Next->" button, the page displays the same record again (like it should). By pressing the "Wrong / Next->" button, the page displays the same record again, although - like described above - one column was changed by that action and the query (which should and is executed again)
    should not find that record anymore. By pressing the "Wrong / Next->" button again, the page is not displaying a record anymore (like I expected it from the first time pressing that button).
    Technical Info:
    I am using one DataProvider for the "select" and an other one for the "update".
    Both are working fine.
    The "select" is called in the method "prerender()" and the "update" is called in the action of the button "Wrong / Next->".
    I debuged the program and found out, that the column of the database entry is changing it�s value not after processing the action of the button (like it should), but AFTER processing the method "prerender()". I tried to force the action of the button to commit the changes (xyDataProvider.commitChanges();), but without success.
    Code:
    public String buttonWrong_action() {
        try
            // Execute the Update-Statement
            sessionBean1.getXyRowSet().setObject(1, "2");
            sessionBean1.getXyRowSet().setObject(2, cardId);
            sessionBean1.getXyRowSet().setObject(3, operatorId);
            xyDataProvider.refresh();
        catch(Exception e)
        // Jump to the next record (set cursor)
    public void prerender() {
        try
            // Execute the Select-Statement
            sessionBean1.getZRowSet().setObject(1, operatorId);
            sessionBean1.getZRowSet().setObject(4, resultId); // ResultId (1 = Right, 2 = Wrong)
            zDataProvider.refresh();
            zDataProvider.cursorFirst();
            cardId       = sessionBean1.getCardRowSet().getString("id");
        catch(Exception e)
    }

    I suggest you read and understand Joel's blogs -
    http://blogs.sun.com/jfbrown
    Creator's CachedRowSet is designed for SELECT statements (only) and updating the ResultSet you get from that SELECT statement.
    (http://blogs.sun.com/jfbrown/entry/using_rowsets_for_crud_or )
    dataprovider.refresh() does not re-execute the rowset's command. It just means to "clear the previous results".
    (http://blogs.sun.com/jfbrown/entry/cachedrowsetdataprovider_and_cachedrowset_info )
    So here's how cachedRowSet's are designed to work:
    Set you rowset's command to:
    SELECT resultid FROM cardresult
    WHERE cardid = ?
    AND operatorid = ?
    They your code would do something like this:
    dp.getCachedRowSet().setObject(1, ...) ;
    dp.getCachedRowSet().setObject(2, ...) ;
    dp.getCachedRowSet().release() ;  // clear last results.
    boolean gotOne = dp.cursorFirst() ; // will cause execution
    if ( gotOne ) {
        dp.setValue('resultid', '2') ;
        dp.commitChanges() ;
    } else {
        error("can't update") ;
    }You'll have to adjust that code - it's just a generic example.
    Don't forget to add try/catch for a RuntimeException!
    The alternative is to write your own JDBC.
    You can use either.
    Personally I'd just write a little helper class to assist me with using plain old JDBC for this.

  • Use of FakeDataSource.properties file.

    Hi,
    Could you please tell me the usage of FakeDataSource file in JTDataSource file. Why we need this FakeDataSource file.
    Your response will be needful for me.
    Regards,
    Srinivas

    Hi,
    FakeXADataSource is an implementation that wraps an old JDBC 1.0 style driver and knows how to make a single connection using that driver's settings. In other words, each time you call getConnection(), a brand new connection is created.
    FakeXADataSource is our wrapper around non XADataSource implementations that allows you to use them within the JDBC 2.0 environment. It's the responsibility of the JDBC driver vendor to provide XADataSource implementations. If you have a valid JDBC 2.0 driver with an XADataSource class, you should instead use that class for this component. However, if the driver doesn't have an XADataSource, you can use the FakeXADataSource to wrap it.
    Thanks & Regards
    Suman Vasireddy
    Please mark any update as "Correct Answer" or "Helpful Answer" if that update helps/answers your question, so that others can identify the Correct/helpful update between many updates.

  • Up/download html-page including all images

    Hi y'all,
    I'm developing a quite normal Webbrowser-Webserver-DatabaseServer application with Web-Frontend, Servlets, Jsp, Beans and good old JDBC-Technique. It's kind of a small dictionary.
    What I need is a solution for the following problem:
    Every item of the dictionary should be made of a html-page which could contain images, too. An administrator builds these pages and uploads them to the webserver. So how can I upload the html-page with all its images automatically?
    Some thoughts about it:
    - can the html-code be searched for images by java-script, and could they be uploaded automatically then?
    - do I need a AWT/Swing frontend?
    - or may a httpServlet request the images after getting the html-page?
    - packing all the files together into a .zip-File would not be soooo nice, the admin may be dumb.
    The same problem I have with downloading a page onto the administrators computer.
    well, I think I'm in trouble.. :)
    koem

    I'm not extremely experienced as a JSP/Java programmer but here are my thoughts:
    It sounds like your basic requirements are fairly simple, but you are taking the long way around to get there. If it is a dictionary-style app and the administrator is of limited experience then you need to keep things simple.
    Why create pages to upload when you can create a template with JSP and insert the text data and the images from a form? Text and link info can be stored in a database and the actual image can be uploaded to a directory or put in the db if you know how. Java Server Pages (O'Reilly) has the image upload code you need.
    Am I on track here?
    Brad

  • Problems trying to update a CachedRowSetDataProvider

    Hi everybody, my problem is:
    I need updating an existing of a CachedRowSet row but I can't to do it. I tried deleting the row an inserting the new with the updates, but it doesn't work, it doesn't find any rowKey using FindFirst (FielKey[], Object []) method, altought the row exists!!
    Any idea?
    I know I can do it using old JDBC statements, but I need to do it using cachedRowSet class.
    Thanks!!!
    I'm looking forward your answers.
    P.S: Excuse my english!!

    Please check the following two tutorials:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/inserts_updates_deletes.html
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/dataproviders.html

  • Which oracle client do I Need?

    I need to connect to vision instance on a remote server using my machine. I came to know that I need to have oracle client installed on my machine.
    Can someone clarify which oracle client do I need? I am running on windows- XP on NT Server. Version of Vision instance is 11.5.10.2.
    I appreciate for your help. URL Link should be great.
    This is what I download and unzip to C:\Oracle\instantclient_10_2.
    instantclient-basic-win32-10.2.0.3-20061115.zip
    Is it the correct one?
    Thanks.

    Your setting
    -Doracle.net.tns_admin=/usr/local/oracle/oas03/network/admin
    is ok if this directory contains the correct tnsnames.ora file.
    I have done some poking around, and I suspect that you use an old JDBC driver.
    I have written a sample Java program that tests a connection with java.sql.DataSource using JDBC thin and tnsnames.ora, and it works fine with Oracle 10.2.0.3 but fails with Oracle 10.1.0.5 with exactly the error message you get.
    The property oracle.net.tns_admin exists only since Oracle 10g R2 (see Metalink note 333686.1).
    With 10.2.0.3 I was not able to reproduce your error message, when I set a wrong oracle.net.tns_admin I get "Io exception: could not resolve the connect identifier", and when I omit the property altogether, I get "Io exception: Unknown host specified".
    Please double check if Vision uses the JDBC driver you think it does!
    Yours,
    Laurenz Albe
    PS: maybe the test program is useful for somebody. I will post it:
    * Test a DataSource connection with tnsnames.ora
    * Usage:
    * java -classpath .:/oracle/dir/ojdbc14.jar -Doracle.net.tns_admin=/tnsnames/dir tnsname user password
    public class DataSourceTest {
    public static void main(String[] args) throws java.sql.SQLException {
    if (3 != args.length) {
    System.err.println("Usage: java DataSourceTest <TNS-Name> <user> <password>");
    System.exit(1);
    // enable the following for trace output
    // need to use ojdbc14_g.jar for this
    /* java.util.logging.Logger logger = java.util.logging.Logger.getLogger("oracle.jdbc.driver");
    logger.setLevel(java.util.logging.Level.FINEST);
    java.util.logging.Handler handler = new java.util.logging.ConsoleHandler();
    handler.setLevel(java.util.logging.Level.FINEST);
    logger.addHandler(handler);
    oracle.jdbc.driver.OracleLog.setTrace(true); */
    oracle.jdbc.pool.OracleDataSource ods = new oracle.jdbc.pool.OracleDataSource();
    ods.setURL("jdbc:oracle:thin:@" + args[0]);
    java.sql.Connection conn = ods.getConnection(args[1], args[2]);
    java.sql.ResultSet rs = conn.createStatement().executeQuery("SELECT user FROM DUAL");
    rs.next();
    System.out.println("Successfully connected as user " + rs.getString(1));
    conn.close();
    }

Maybe you are looking for

  • Service Order Creation in WebClient - Backend Class Invoked

    Can any one please tell me what is the class that gets invoked while order is created/modified in WebClient GUI. Like the one similar to CL_CRM_MAINTAIN_1O which gets called when order is created in SAP GUI. Any help would me helpful. Thanks, Karthik

  • I need a query

    Hi I've a table with 3(THREE)columns like the following structure: desc acc Name Null? Type MCODE NOT NULL NUMBER(2) TYPE CHAR(1) BALANCE NUMBER(14,2) Select * from acc MCODE TYPE BALANCE 10 I 0 11 L 0 12 E 0 12 L 0 13 L 0 14 L 0 15 L 0 16 E 15468971

  • Movie thumbnail previews in Coverflow and Grid view...not there

    I'm using Snow Leopard and have both QT-X and QT 7 Pro on my MacBook Pro. In Finder, I have a folder containing several movie types including mpeg, avi, mov, qt, m4v, mp4, flv and wmv I've noticed that I don't see thumbnail previews for any of these

  • I have my account in mexico but when I want to update an application it tells me that my account is from London, why is this?

    I live in Mexico but This leyend appers everytime I want to update an application: Account Not in This Store, Your account is not valid for use in the UK store. You must switch to the mexican store before purshasing. How can I swith to a mexican stor

  • Dreamweaver code view problem with Turkish fonts

    All my preferences is set to Turkish encoding, but only at the code window Turkish characters aren't displayed right. If i type directly into the code window, everything is ok. but if i write something to design windowi the characters change automati