MS SQL newbe : error creating datasource

I have just created an empty database with SQL Server
Management Studio Express.
No tables established yet. CF program should create them at
initialization.
Now I am trying to create the datasource in cfide/admin and I
get this error:
Connection verification failed for data source: res-pubblica
java.sql.SQLException: [Macromedia][SQLServer JDBC
Driver]Error establishing socket. Connection refused: connect
The root cause was that: java.sql.SQLException:
[Macromedia][SQLServer JDBC Driver]Error establishing socket.
Connection refused: connect
Please advise.
Thank You
ContiW

this is a weird one that seems everyone goes thru and then
forgets...
i am running msSQL2000 but should be similar
if i can remember,
you need a server number... can't remember if it is assigned
or default...
mine is D2XXXXXX (not sure if a security issue so x'ed no's.
try mousing over server icon in tray or opening db service manager
username: sa
password: is password created for sql server
datasource name and database same.
hope the is it.

Similar Messages

  • 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 username@hostname 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)

  • SQL Developer Error Creating User Home

    SQL Developer was running fine on my Windows 7 64-bit machine until Monday morning. Now when I kick it off (from my Desktop shortcut), I get a small box saying: "Error creating user home in directory C:\Users\<username>\AppData\Roaming\SQL Developer".
    There is no error number, and I have been unable to find this error in the SQL Developer documentation. What does it mean? It's possible that updates were pushed to my machine over the weekend (unknown -- network sysadmins are elsewhere), but I would have thought I would have gotten a different message if there were compatibility problems. Have I accidentally deleted a necessary file from my local SQL Developer folder? My connection databases are Oracle 11g.
    Thanks for any suggestions.

    Hi,
    Here is a thread on the same issue, but so old that the advice it gives is no longer accurate:
    Re: Error creating user home in directory D:\Program Files\raptor\jdev.
    So let's assume you no longer have write access to your own Windows user directory. To workaround that just add the following to one of the conf files in the SQL Developer installation folder. For example, to run SQL Developer from a flash drive, I modified my E:\sqldeveloper\ide\jdk.conf to include
    AddVMOption -Dide.user.dir=../../.sqldeveloperSo that the user home is E:\.sqldeveloper
    Regards,
    Gary
    SQL Developer Team

  • Create datasource from SQL Server 2000

    successfully create DB connect source system from Northwind database in SQL Server 2000.
    create datasource and activate, got error:
    @5C\QError@     Event with errors RSDL_META_UPLOAD in DataSource
    @5D\QWarning@     Field name CategoryID contains non-alpha-numeric characters
    How to avoid this error?

    Hi,
    CategoryID have problem. Check data in source system and check data type for CategoryID in BW sys.
    It could be care as CategoryID having some alphabets and while creating info objects in sys you make data type as Number.

  • Error while creating datasource userdsn for oracle 10g Errorcode (998)

    while creating datasource userdsn for oracle 10g i am getting error "The setup routines for the oracle in OraDb10g_home1 odbc driver could not be loaded due to system error code 998" please give reply soon

    Thanks for your reply , Steve.
    I noticed that there is a default datasouce on the EM with the following parameters:
    <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="scott"
              password="->pwForScott"
              url="jdbc:oracle:thin:@localhost:1521:oracle"
              inactivity-timeout="30"
         />
    The location and xa-location attributes that I use for my "test" data source are the same as the default one. So, could this be the issue?
    What should be the values for location and xa-location attributes from my "test" data source?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

  • Error while creating datasource from table MBEWH

    Hi all,
    I am facing an error message while creating datasource from table MBEWH
    "Invalid extract structure template MBEWH of DataSource "; This operation failed, because the template structure quantity fields or currency fields, for example, field LBKUM refer to a different table.
    Can anyone help me that why system is not allowing me to generate generic datasource for table MBEWH to transfer my month wise inventory data.
    thanks and regards.

    Hi Zakir,
          This was comming for classification data... when ever you want to extract some classification related data then we can't create generic datasources  directly.. for that you need  to go with CTBW  ( tcode )  and   create  one datasource...
       so, you need to check that   related table also.. for that  MBEWH table..
        ALL THE CLASSIFICATION RELATED DATASOURCES WE CAN'T CREATE DIRECTLY... JUST LIKE  AUSP table also.. liek this..
    regards
    @jay

  • Error while creating datasource from view ZBSIS_VIEW

    Hi all,
    I could not create  the datasource on the database table BSIS as it said "Invalid extract structure template BSIS of Datasource". I had suggestions that I should create a view and then create the Datasource on it. So I created the view and tried. But still I am facing an error message while creating datasource from custom Database View ZBSIS_VIEW.
    "Invalid extract structure template ZBSIS_VIEW of DataSource"
    Can anyone help on this regard.
    thanks.

    Hi,
    Yes. You need a create a view on tables BSIS, BKPF and T001 as the currency/quantity fields in BSIS have reference fields from the other 2 tables.
    In BSIS, in the currency/quantity fields tab, you have some ref tables and fields. You would need to include these tables and join in the view. You would also need to include the ref fields like WAERS, HWAE2, HWAE3, etc in the view. Then you would be able to create the datasource.

  • Error creating table on MS SQL Server with OC4J standalone

    Hi there,
    I'm trying to deploy an EJB application to OC4J standalone using a MS SQL Server 2000 database, MS SQL Server JDBC Drivers and OC4J 9.0.3 standalone but i keep getting this error:
    Auto-creating table: create table Functieprofiel_competentieNiveau_CompetentieNiveau_functieprofiel_LBOS_Ear_LBOS_Ejb (Functieprofiel_FUNCTIE_ID bigint identity not null, COMP_ID bigint identity null, NIVEAU_ID sql_variant(255) null)
    Error creating table: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Could not create IDENTITY attribute on nullable column 'COMP_ID', table 'Functieprofiel_competentieNiveau_CompetentieNiveau_functieprofiel_LBOS_Ear_LBOS_Ejb'.
    Deployment succeeds after this but the application does not run properly. Can anyone help me with this? I have no idea what to do.
    Rob Heikoop

    Rb -
    if you want to stop the auto-creation of tables, try going to the j2ee/home/config directory of your OC4J installation. Open the application.xml file and modify the attribute autocreate-tables to be set to false.
    That should stop the default table creation as a global property, unless you specifically override it at the specific deployed application level.
    You can then manually create the tables on the sql-server database instance. If you keep the column names the same as the field names in the bean, then you shouldn't need to do any manual mapping. To be sure of the column names to use, take a look in the orion-ejb-jar.xml which gets generated in the j2ee/home/application-deployments/<app-name>/<ejb-module-name> to see what table/column names the generator defaulted to
    -steve-
    -steve-

  • SQL error: Error creating fake recordset:

    Hello, I have this problem with a login page but only in the server, in local (wamp) I have no problem. Someone can help me? Thanks
    Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /httpdocs/includes/common/lib/db/KT_Connection.class.php on line 71
    Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /httpdocs/includes/common/lib/db/KT_Connection.class.php on line 71
    Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in httpdocs/includes/common/lib/db/KT_Connection.class.php on line 92
    Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in httpdocs/includes/common/lib/db/KT_Connection.class.php on line 105
    Errore:
    Errore interno.
    Developer Details:
    tNG_fields.getFakeRecordset:
    SQL error: Error creating fake recordset:
    SQL:
    SELECT '' AS kt_login_user, '' AS kt_login_password, '0' AS kt_login_rememberme (FIELDS_FAKE_RS_ERROR)
    tNG Execution Trace - VIEW
    tNG_login.executeTransaction
    STARTER.Trigger_Default_Starter
    tNG_login.getRecordset
    tNG_login.getLocalRecordset
    tNG_login.getFakeRecordset* (in red)

    -----
    These are the privileges. They are ok to create temporary tables?
    yes, as "all privileges" also includes granting the "CREATE TEMPORARY TABLES" privilege.
    Granting each and every possible privilege is of course pretty insecure, and I would never do that on a public webserver -- that said, you can also narrow down the privileges like this:
    GRANT SELECT, INSERT, UPDATE, DELETE, CREATE TEMPORARY TABLES ON database.* TO username@'localhost' IDENTIFIED BY 'password';
    please see a list of possible privileges and their meaning here: http://kb.mediatemple.net/questions/788/HOWTO:+GRANT+privileges+in+MySQL
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • 1456 Error creating witness in SQL Server 2008 R2...

    Setup is two 2008 R2 Standard servers with a mirrored database. All works fine without a witness - I can perform a manual failover and my test app works off the failover database. Trying to add 2008 R2 Express as a witness to enable automatic failover,
    and getting error along the lines of:
    The ALTER DATABASE command could not be sent to the remote server instance TCP://%witnesserver.fqdn.com:5022. Error 1456
    Found a fairly recent fix for SQL 2008 (r1) for this, but not for R2. Is this still a known problem in R2 or am I missing something crucial?
    All the servers use the same service account for all services (it's proof of concept, not production).
    Thanks in advance,
    Neil

    In my case after spending several hours of troubleshooting/Googling, with none of the many posted/documented fixes working, I found the solution to my SQL 1456 error to be ROOTED in the SQL Server Configuration Manager\SQL Server Network configuration\Protocols
    for MSSQLSERVER\IP Addresses.  There was an old IP address listed in the (Active) IP1 configuration.  Even though DNS was resolving to the new/correct IPaddress and Witness Name along with the local HOST file on the Pricipal/Mirror/Witness all
    containing the correct IP/DNS entries, this old address still was embeded in the SQL Server Configuration Manager\SQL Server Network configuration\Protocols for MSSQLSERVER\IP Addresses.  Once I modified the IP entry to match the current Witness
    IP address all was GOLDEN.  This may not be the solution for your 1456 Error, but it is one that can be added to the plethera of possible fixes for it.  I hope this saves someone some time and effort along the way.  - Lou

  • How can i create datasource on apache server for ADF application?

    Hi All,
    i my use case i have created simple adf application using ADF BC and want to deploy on Apache server 6.x.
    So my question is that  how can i create Data Source i have goggling and find  two different way to do this.
    1. write following line of code on apache server conf/Context.xml file.
    <Resource name="jdbc/TestDB" auth="Container"
                  type="javax.sql.DataSource"
                   driverClassName="oracle.jdbc.OracleDriver"
                  url="jdbc:oracle:thin:@localhost:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"/>
    but when i have used this way i got following exception.
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection
    check link-
    https://forums.oracle.com/thread/2564233
    2. write following line of code apache conf/Server.xml file
    <GlobalNamingResources>
        <!-- Editable user database that can also be used by
             UserDatabaseRealm to authenticate users
        -->
        <Resource name="UserDatabase" auth="Container"
                  type="org.apache.catalina.UserDatabase"
                  description="User database that can be updated and saved"
                  factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                  pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/TestDB" auth="Container"
                  type="oracle.jdbc.pool.OracleDataSource"
                  description="User database that can be updated and saved"
                  driverClassName="oracle.jdbc.driver.OracleDriver"
                  factory="oracle.jdbc.pool.OracleDataSourceFactory"
                  url="jdbc:oracle:thin:@//172.31.43.207:1521:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"   />
      </GlobalNamingResources>
    and add this line in context.xml file inside <context> tag
    <ResourceLink global="jdbc/TestDB" name="jdbc/TestDB" type="oracle.jdbc.pool.OracleDataSource"/>
    but when i have run application i have got following error
    log-
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    Aug 2, 2013 5:17:21 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    so what is the solution how to create datasource on apche server which suitable for adf application?
    when i test data source using  following code used 1. way as i mentioned above  its running fine bt not for second.
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <sql:query var="rs" dataSource="jdbc/TestDB">
    select empname from pay_emphdr where empcd='JK1306'
    </sql:query>
    <html>
      <head>
        <title>DB Test</title>
      </head>
      <body>
      <h2>Results</h2>
    <c:forEach var="row" items="${rs.rows}">
        Foo ${row.empname}<br/>
    </c:forEach>
      </body>
    </html>
    please help me. it is very urgent.
    thanks in Advance
    Manish

    Hi Lindalnci
    i have already tried  this tutorial and in my post i have defined first way to do using this procedure.
    in that case i have got following exception as i have mentioned above
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection

  • Error creating custom reports. Permissions issue with custom reports

    I am having permission issues with reports. I am building a new Configuration Manager  2012 infrastructure and I have configured the Site server on Server1 and the DB is on Server2. Server2 also hosts the Reporting Point and SSRS roles/features. If
    I look in Monitoring at the Site Status and Component Status are all green no issues with the setup.
    Running SQL 2008 SP2 (no CUs). I have a service account that I used to install Configuration Manager and SQL. This service account is running the SQL service on Server2 and i am using the same account as the Reporting Services Point Account.
    I log into the SCCM console with a different user account, lets call it Admin1. This account is a member of the Full Administrator role. I can run any built in report.
    When I open the SSRS website and try to create a custom report I connect the DataSource using Windows Authentication. So the Datasource is connecting using the logged in users account. In this case Admin1. I test the connection and it connects fine.
    I test this query. (Select * from v_R_System) I only have about 10 workstations discovered so the report shouldn’t be very big. I get an error “The Select permission was denied on the object ‘v_R_System’, Database ‘CM_XXX’, schema ‘dbo’. (Microsoft sql server,
    Error: 229)”
    I have fixed the SELECT permission error by going into the database (using SQL Management studio) and granting Admin1 Select rights to the Configuration Manager database. I can now run the above query and make custom reports.
    My 2<sup>nd</sup> problem is that other members of the Full Administrator role cannot run these custom reports unless I go into the database and grant them the SELECT permission.
    Question:
    Should I have to manually go into the database to add SELECT permissions(i could use a group)? shouldnt Configuration Manager take care of this for me?
    Maybe the built in reports use the SQL service account rights and the custom ones do not? Am I doing something wrong with the Datasource when I create these custom reports?
    What is the correct process for creating custom reports?

    I think i am getting closer to a solution. After the Custom report is created. i can go back into the report. Delete the DataSource. Then browse for a dataSource. there is a datasource located in http://server2/reportserver/ConfigMgr_XXX/
    That datasource is used by all builtin reports. if you view the properties on the Credentials tab it is set to "do not use credentials" and the option is greyed out / cannot be changed.
    it looks like i still need the SELECT permissions on the database to create the report initially but at least i have solved the problem with viewing these reports.
    Can anyone confirm that what i did is correct?

  • Java.sql.SQLException: Error accessing jdbc driver

    Hi,
    We are using WebLogic Server 7.0 as Application Server.
    We now create a connection pool named regPool and
    a Tx datasource named regDS.
    When we get the connection from the datasource, exception occurred.
    java.sql.SQLException: Error accessing jdbc driver: driverURL =
    jdbc:weblogic:pool:regPool, props = {enableTwoPhaseCommit=false,
    jdbcTxDataSource=true, connectionPoolID=regPool}
    at
    weblogic.jdbc.jts.Driver.wrapAndThrowSQLException(Driver.java:323)
    at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:377)
    at weblogic.jdbc.jts.Driver.connect(Driver.java:129)
    at
    weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java
    :265)
    So I guess that why we can't use CMP for finding data. Here is the error when we call the finder.
    javax.ejb.FinderException: Exception in findAllEmr while preparing or
    executing statement: 'null'
    java.sql.SQLException: Cannot obtain connection after 30 seconds. ,
    Exception = Access not allowed
    java.sql.SQLException: Cannot obtain connection after 30 seconds. ,
    Exception = Access not allowed
    at
    weblogic.jdbc.jts.Connection.wrapAndThrowSQLException(Connection.java:694)
    According to the exception message, it looks
    like the connection fail between WLS and Oracle 9.2.
    Here is a scenario I think you should need to know.
    I change the table-name in the weblogic-cmp-rdbms-jar.xml
    to a name that doesn't exist in the database.
    Then, re-package the EJB, copy it to server and restart the server.
    A exception occurred that says the table doesn't exist.
    So, in this case, it looks like the datasource works and
    connection is fine.
    Any recommendation will be appreciated.
    Jimmy Chang

    Hi!
    I am a default user to the databse server. I connect to the database with '\' as the username and blank passoword(I mean with Network authentication may be).When I am trying to create connection using
    con = DriverManager.getConnection("jdbc:oracle:thin:@DRACINAL2:BSAJ", "/","" )
    it gives me followint error
    ava.sql.SQLException: Null user or password not supported in THIN driver
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
         void oracle.jdbc.dbaccess.DBError.throwSqlException(int, java.lang.Object)
         void oracle.jdbc.dbaccess.DBError.check_error(int)
         oracle.jdbc.dbaccess.DBConversion oracle.jdbc.ttc7.TTC7Protocol.logon(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
         void oracle.jdbc.driver.OracleConnection.<init>(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
         java.sql.Connection oracle.jdbc.driver.OracleDriver.getConnectionInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
         java.sql.Connection oracle.jdbc.driver.OracleDriver.connect(java.lang.String, java.util.Properties)
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.lang.String, java.lang.String)
         void textPack.GenTextFile.main(java.lang.String[])
    How should I go about it?
    Thanks for your help.
    -Sreekanth Varidhireddy

  • [Help] Cannot create datasource in Mapviewer

    Hello. When I deploy MapViewer in OC4J standalone and log as oc4jadmin, i cannot create datasource for it. I edited mapViewerConfig.xml like this:
    <map_data_source name="kuba"
    jdbc_host="localhost"
    jdbc_sid="orcl"
    jdbc_port="1521"
    jdbc_user="kuba"
    jdbc_password="!BazaOracle1"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    />
    After saving and restarting MapViewer, in datasource table there's no items. Any idea, what's wrong? Here's the log:
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig destroy
    FINER: destroying MapperConfig: connection manager, mapper pool and janitor t
    ad.
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperPool destroyAll
    WARNING: destroying ALL mapmaker instances.
    2010-12-02 12:05:19 oracle.lbs.mapserver.oms destroyMV
    WARNING: Oracle MapViewer shut down.
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig readVersion
    INFO: MapViewer server version: Ver11_B091229
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadConfigFile
    INFO: using default config file: D:\app\Kubix\product\11.2.0\dbhome_1\j2ee\ho
    applications\Map Viewer\web\WEB-INF\conf\mapViewerConfig.xml
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig checkSecuritySetti
    WARNING: dcsf:true
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.Dimmer startElement
    FINEST: found a datasource: kuba
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig scrambleConfigFile
    INFO: Passwords in the config file has been encrypted.
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadConfigFile
    FINER: Loading configuration file: D:\app\Kubix\product\11.2.0\dbhome_1\j2ee\
    e\applications\Map Viewer\web\WEB-INF\conf\mapViewerConfig.xml
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperPool destroyAll
    WARNING: destroying ALL mapmaker instances.
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig checkSecuritySetti
    WARNING: dcsf:true
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig setLoggingOptions
    INFO: Setting logging options for MapViewer
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig setLoggingOptions
    INFO: setting logging level to finest
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfi
    FINEST:
    Allowed IPs:
    Excluded IPs:
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig registerNSDataProv
    rs
    FINEST: Non-Spatial Data Provider registered: defaultNSDP
    2010-12-02 12:05:19 oracle.sdovis.SDataProviderMgr registerProvider
    WARNING: Spatial Provider shapefileSDP is already registered.
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig registerSDataProvi
    s
    FINEST: Spatial Data Provider registered: shapefileSDP
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfi
    FINEST: Data source kuba will get web user name from: J2EE_USER
    2010-12-02 12:05:19 oracle.sdovis.ds.NativeOracleDataSource <init>
    SEVERE: Connection Cache with this Cache Name already exists
    java.sql.SQLException: Connection Cache with this Cache Name already exists
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.j
    :138)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.j
    :175)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.j
    :240)
    at oracle.jdbc.pool.OracleConnectionCacheManager.createCache(OracleCo
    ctionCacheManager.java:188)
    at oracle.jdbc.pool.OracleDataSource.cacheInitialize(OracleDataSource
    va:301)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.j
    :284)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.j
    :179)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.j
    :159)
    at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSou
    .java:233)
    at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:122
    at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.
    a:797)
    at oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperC
    ig.java:1572)
    at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig
    va:609)
    at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:36
    at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:131)
    at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:115)
    at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:300)
    at java.lang.Thread.run(Thread.java:662)
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig createMappers
    SEVERE: Error creating NativeOracleDataSource.
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfi
    WARNING: MAPVIEWER-00011: Error creating a map data source.(kuba)
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadConfigFile
    INFO: Map Recycling thread started.
    2010-12-02 12:05:19 oracle.lbs.mapserver.oms$ColdStart run
    INFO: *** Oracle MapViewer started. ***
    2010-12-02 12:05:20 oracle.lbs.mapcache.MapCacheServer restart
    INFO: Map cache server is restarted!
    2010-12-02 12:05:20 oracle.lbs.foi.FOIImageRecycleThread run
    FINE: FOI image recycle thread interrupted.
    2010-12-02 12:05:20 oracle.lbs.foi.FOIImageRecycleThread run
    FINE: FOI image recyle thread terminated.
    2010-12-02 12:05:20 oracle.lbs.foi.FOIServer init
    INFO: *** Oracle Feature of Interest (FOI) Server started. ***
    2010-12-02 12:05:20 oracle.lbs.foi.FOIImageRecycleThread run
    FINE: FOI image recycle thread interrupted.
    2010-12-02 12:05:20 oracle.lbs.foi.FOIImageRecycleThread run
    FINE: FOI image recyle thread terminated.
    10/12/02 12:05:20 Message:MAPVIEWER-00019: Specified data source does not exist.
    Thu Dec 02 12:05:20 CET 2010
    Severity: 0
    Description:
    10/12/02 12:05:20 Message:MAPVIEWER-00019: Specified data source does not exist.
    Thu Dec 02 12:05:20 CET 2010
    Severity: 0
    Description:
    10/12/02 12:05:21 Message:MAPVIEWER-00019: Specified data source does not exist.
    Thu Dec 02 12:05:21 CET 2010
    Severity: 0
    Description:

    Does restarting oc4j make any difference?

  • Oracle SQL Newbie need help with OE Demo Schema Installation

    Hello everybody !
    I'm hoping some kind soul can help out this SQL newbie.
    First of all i've installed 10g R2 database on a PC running XP SP2.
    Oracle is installed on the root C: drive
    I'm using the SQL Fundamentals I Exam Guide and DBA Handbook (Both Oracle Press)
    as my reference.
    My problem is this.
    I installed the DB and created the demo HR schema without too much problem
    but it's the demo OE schema i'm having problems getting running and cannot
    find anywhere on the net that outlines a step by step SQL process.
    I am using SQL Plus to execute these commands.
    My questions are these:
    -For the default tablespace i specify "users" ?
    -What do i specify for the temporary tablespace ? "temp" ?
    -what directory path do i put for the data files as parameter 6 ?
    I put down "C:\oracle\product\10.2.0\db_1\demo\schema\order_entry" but i suspect it's
    the wrong thing ?
    -What do i specify for the writable directory path for the log files ?
    Is it C:\oracle\product\10.2.0\RDBMS\log
    -And what is "Specify version as parameter 8:" line ?
    I assumed it was the db version but i believe it's wrong.
    Could somebody please help me ? I've already done my CCNA and i wanted to add oracle under my belt.
    I know if i had these few things cleared up for me it would pave the way to actually enjoying learning Oracle :)
    Thank you for any assistance :)

    I installed the DB products from the companion disk and there was no specific mention of the demo schemas. Regardless... They're all there within the demo subfolder and have already created the hr schema.. I just need somebody (I'll pay if necessary) to PLEASE just answer (what would be easy to you guys my questions so i can move on.
    this is a cap from my sql plus..
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jun 14 15:01:29 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> alter user oe account unlock identified by oe;
    User altered.
    SQL>
    specify password for OE as parameter 1:
    Enter value for 1: mewfymewf
    specify default tablespeace for OE as parameter 2:
    Enter value for 2: users
    specify temporary tablespace for OE as parameter 3:
    Enter value for 3: temp
    specify password for HR as parameter 4:
    Enter value for 4: mewfymewf
    specify password for SYS as parameter 5:
    Enter value for 5: mewfymewf
    specify directory path for the data files as parameter 6:
    Enter value for 6: C:\oracle\product\10.2.0\db_1\demo\schema\order_entry
    writeable directory path for the log files as parameter 7:
    Enter value for 7: C:\oracle\product\10.2.0\db_1\RDBMS\log
    specify version as parameter 8:
    Enter value for 8: 10.2.0
    User dropped.
    old 1: CREATE USER oe IDENTIFIED BY &pass
    new 1: CREATE USER oe IDENTIFIED BY mewfymewf
    User created.
    old 1: ALTER USER oe DEFAULT TABLESPACE &tbs QUOTA UNLIMITED ON &tbs
    new 1: ALTER USER oe DEFAULT TABLESPACE users QUOTA UNLIMITED ON users
    User altered.
    old 1: ALTER USER oe TEMPORARY TABLESPACE &ttbs
    new 1: ALTER USER oe TEMPORARY TABLESPACE temp
    User altered.
    Grant succeeded.
    Connected.
    Session altered.
    Session altered.
    SP2-0310: unable to open file "C:\oracle\product\10.2.0\db_1/demo/schema/order_entry/coe_10.2.0"
    SP2-0310: unable to open file "C:\oracle\product\10.2.0\db_1/demo/schema/order_entry/loe_10.2.0"
    SP2-0310: unable to open file "C:\oracle\product\10.2.0\db_1/demo/schema/order_entry/poe_10.2.0"
    Session altered.
    ...creating subschema OC in OE
    Type created.
    Type body created.
    Table created.
    FROM inventories i, warehouses w
    ERROR at line 6:
    ORA-00942: table or view does not exist
    FROM product_information p
    ERROR at line 10:
    ORA-00942: table or view does not exist
    FROM customers c
    ERROR at line 20:
    ORA-00942: table or view does not exist
    FROM customers c
    ERROR at line 20:
    ORA-00942: table or view does not exist
    FROM customers c
    ERROR at line 20:
    ORA-00942: table or view does not exist
    FROM orders o
    ERROR at line 9:
    ORA-00942: table or view does not exist
    ON oc_orders FOR EACH ROW
    ERROR at line 2:
    ORA-00942: table or view does not exist
    TABLE order_item_list OF oc_orders FOR EACH ROW
    ERROR at line 2:
    ORA-00942: table or view does not exist
    Commit complete.
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    1 row created.
    1 row created.
    1 row created.
    1 row created.
    Type altered.
    3 rows updated.
    0 rows updated.
    0 rows updated.
    0 rows updated.
    Commit complete.
    Type body altered.
    Type body altered.
    Type body altered.
    PL/SQL procedure successfully completed.
    SQL>
    Like i can figure out that the "version in parameter 8" has something to do with the coe, poe & loe files
    but i don't know what.
    If somebody can please help me with my questions then i know i can move on.
    Thanks
    Edited by: user11216992 on Jun 14, 2010 3:37 PM

Maybe you are looking for

  • Would like to buy TC to replace AE for iMac and MBP; questions

    hi all-- currently i have a dual-band airport extreme on bridge mode connected by ethernet to my AT&T Uverse wireless router. we have several Airport Express' and an ATV2 in the house and the 2 wireless connections; the g put out by Uverse, and an n

  • Macbook Pro No Longer Recognizes Primary Display After Boot Camp/Linux Installation

    Hey All, So my old 15" early 2006 Macbook Pro (1,1) no loger recognizes the primary display. I can use an external monitor just fine, but when I go into System Profiler, it's like my primary display disappeared. I reinstalled Snow Leopard, reset PRAM

  • Keep getting error 2 message after installing iTunes9

    When trying to install the new iTunes I keep getting this error message after installation: *Apple Application Support was not found.* *Apple Application Support is required to run iTunes, Please uninstall iTunes, then install iTunes again.* *Error 2

  • Problem in downloading facebook app

    Hey I am facing problem while downloading facebook mobile app in my nokia 2690. 'secure connection not available' is shown instead.

  • Uninstall CS4 after upgrade to CS5?

    Hi - I just upgraded from Photoshop CS4 to Photoshop CS5. I had expected CS5 to overwrite and replace CS4, but all the elements of CS4 are still there. Should I simply uninstall CS4? Is there a risk of losing any files if I do so? If so, what should