OAS and PL/SQL cartridges

I installed the PL/SQL web toolkit into our
database and it seems to have crashed all of
the OAS listeners. When I use the "owsctl start" command, I now get the following error: Error initializing CORE
Please check if the ORACLE_HOME is set correctly
What happened?
null

Go the url:
http://localhost:7777/pls/sample/admin_/gateway.htm?schema=owa_public
For listener there isn't web page.
Simply edit your $ORACLE_HOME/Apache/Apache/conf/httpds.conf
Best regards, Marcelo.

Similar Messages

  • Unable to run PL/SQL Cartridge (OAS 4.0.8.1, Redhat Linux Kernel 2.2, Oracle 8.1.5)

    PL/SQL Cartridge server refuses to come up.
    Config:
    =======
    OAS 4.0.8.1 on Redhat Linux Kernel 2.2
    Oracle 8.1.5 on Windows NT
    Remote access to the database using connect string
    The Linux m/c and NT m/c have recommended system requirements and domain registering. I could invoke the procedure from SQL plus and view the HTML contents using owa_util.showpage. Also, I could install PL/SQL Web Toolkit using the same DAD. But Cartridge server just refuses to come up. If anyone has a solution for this, it would be a great help!!
    P.S: Attached below is wrb.log
    Thanks,
    Kiran
    Wrb Log Contents
    ================
    02-11-2000 17:27:49 746919 devlinux `Broker` 2231 1 0x10fff `OWS-04764: Unable to bring up cartridge server, type icsawebsite, at devlinux. `
    02-11-2000 17:27:50 760451 devlinux `Dispatcher` 2361 1 0x2fff `OWS-04517: Error indicated by broker in getting cartridges of type icsawebsite/ckreddy. `
    02-11-2000 17:27:50 860311 devlinux `Dispatcher` 2361 1 0x2fff `OWS-04512: Request 604CD69E9EBF-A5EC-E000-16FAA8C00954 has internal error due to Error 4511. `
    02-11-2000 17:31:47 204347 devlinux `Broker` 2231 1 0x10fff `OWS-04764: Unable to bring up cartridge server, type icsawebsite, at devlinux. `

    We had the same problem with the PL/SQL cartridge (OWS-04764 ...). We solved our problem with a new kernel. Its important that you have a kernel with symmetric multi-processing support (SMP) enabled, independent if you have a one or two processor machine.
    I hope it will help you.
    Best regards
    Hans Hirter
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by icsanet:
    PL/SQL Cartridge server refuses to come up.
    Config:
    =======
    OAS 4.0.8.1 on Redhat Linux Kernel 2.2
    Oracle 8.1.5 on Windows NT
    Remote access to the database using connect string
    The Linux m/c and NT m/c have recommended system requirements and domain registering. I could invoke the procedure from SQL plus and view the HTML contents using owa_util.showpage. Also, I could install PL/SQL Web Toolkit using the same DAD. But Cartridge server just refuses to come up. If anyone has a solution for this, it would be a great help!!
    P.S: Attached below is wrb.log
    Thanks,
    Kiran
    Wrb Log Contents
    ================
    02-11-2000 17:27:49 746919 devlinux `Broker` 2231 1 0x10fff `OWS-04764: Unable to bring up cartridge server, type icsawebsite, at devlinux. `
    02-11-2000 17:27:50 760451 devlinux `Dispatcher` 2361 1 0x2fff `OWS-04517: Error indicated by broker in getting cartridges of type icsawebsite/ckreddy. `
    02-11-2000 17:27:50 860311 devlinux `Dispatcher` 2361 1 0x2fff `OWS-04512: Request 604CD69E9EBF-A5EC-E000-16FAA8C00954 has internal error due to Error 4511. `
    02-11-2000 17:31:47 204347 devlinux `Broker` 2231 1 0x10fff `OWS-04764: Unable to bring up cartridge server, type icsawebsite, at devlinux. `<HR></BLOCKQUOTE>
    null

  • OAS 4.0.8.1- PL/SQL cartridge: Sessions

    Hi Folks,
    I am developing an application using OAS 4.0.8.1, I would like to know, is it advised to use the PL/SQL cartridge in session enabled mode? Ours is a online transaction system type of applicatin.
    What are the advantages and disadvantages of enabling the client sessions.
    Regards,
    Sachin Chhajed.

    I'm also interested in knowing how to access session variables in PL/SQL? I have only found descriptions of what session management is. I can't seem to find any sample code or documentation on the How Tos.
    Thanks,
    Paul
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sachin:
    Hi Folks,
    I am developing an application using OAS 4.0.8.1, I would like to know, is it advised to use the PL/SQL cartridge in session enabled mode? Ours is a online transaction system type of applicatin.
    What are the advantages and disadvantages of enabling the client sessions.
    Regards,
    Sachin Chhajed.<HR></BLOCKQUOTE>
    null

  • OAS 4.08 , PL/SQL Cartridge , SSL3.0

    Hi ALL,
    Could someone give me any pointers in programming in the PL/SQL
    Cartridge(OAS 4.08) with SSL 3.0?
    Does implementing SSL 3.0 in the PL/SQL cartridge have to do
    with programming or are there some settings which i have to make
    on the OAS?
    (We will be configuring the Netscape Enterprise server as the
    OAS listener)
    gurus...help!!!!
    Thanx in advance
    Radhika
    null

    I'm also interested in knowing how to access session variables in PL/SQL? I have only found descriptions of what session management is. I can't seem to find any sample code or documentation on the How Tos.
    Thanks,
    Paul
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sachin:
    Hi Folks,
    I am developing an application using OAS 4.0.8.1, I would like to know, is it advised to use the PL/SQL cartridge in session enabled mode? Ours is a online transaction system type of applicatin.
    What are the advantages and disadvantages of enabling the client sessions.
    Regards,
    Sachin Chhajed.<HR></BLOCKQUOTE>
    null

  • Can a pl sql cartridge get the client certificate through ssl in OAS

    I am In a web publishing system project, I use SSL and client certificate to verify the user, the environment is OAS4.0.6 and Oracle 8i, and I use PL SQL cartridge to proceed the http request , Now the problem is how can I get the client certificate infomation in my pl sql scripts, I do not know where should i post this problem, So I post it here, If you have any experience in using SSL of OAS, pls help me!
    tsailiang
    [email protected]
    thank you very much!

    Sorry wrong forum.....
    This forum is for the Internet File Server (ifs) not the oracle application server (oas), sometimes known as iAS or Oracle9i Applicaiton Server.
    null

  • How to make OAS 4.0.7 work with PL/SQL-Cartridge

    Hi folks,
    it took me some days, but now I've found the solution:
    1. Although the OAS 4.0.7 seems to work fine on a 2.2-Kernel,
    the PL/SQL-Cartridge will definitely never work!!!!!!
    I don't know exactly why, but I've installed all
    relevant libs, but it won't work, whatever I do.
    2. I've installed the OAS on an old 2.0.36-Kernel (SuSE 6.0),
    and everything works fine!
    The only thing you have to take care of is to set the
    domainname BEFORE installing the OAS. The installation
    procedure queries 'domainname', not 'dnsdomainname' to
    get the domain. And if you don't have YP configured by
    chance, your hostname will look something like
    'myhost.(none)' in every OAS configuration file
    (and there are a lot), which prevents the ORB from starting.
    I hope that will help someone out there
    Greetings
    Jochen
    null

    Jochen Kutscheruk (guest) wrote:
    : Hi folks,
    : it took me some days, but now I've found the solution:
    : 1. Although the OAS 4.0.7 seems to work fine on a 2.2-Kernel,
    : the PL/SQL-Cartridge will definitely never work!!!!!!
    : I don't know exactly why, but I've installed all
    : relevant libs, but it won't work, whatever I do.
    : 2. I've installed the OAS on an old 2.0.36-Kernel (SuSE 6.0),
    : and everything works fine!
    : The only thing you have to take care of is to set the
    : domainname BEFORE installing the OAS. The installation
    : procedure queries 'domainname', not 'dnsdomainname' to
    : get the domain. And if you don't have YP configured by
    : chance, your hostname will look something like
    : 'myhost.(none)' in every OAS configuration file
    : (and there are a lot), which prevents the ORB from starting.
    : I hope that will help someone out there
    : Greetings
    : Jochen
    This would really be great, if this works.
    Can anybody confirm this ?
    To bad i need a 2.2 kernel for my raid diskset :(
    Greetings, Eric.
    null

  • JSP with PL/SQL Cartridge

    I have installed OAS 4 and JavaServer Web Development Kit
    Version 1.0 in one PC and with o8i in another PC.
    I've got problem in linking a PL/SQL cartridge, which will
    return a small page, with my jsp.
    I've got no problem if I run the jsp under the OAS while the
    small page can't be retrieved if I run the jsp on other PC.
    Syntax of my jsp for including plsql cartridge :
    <IFRAME ID=IFrame1 title="Testing" FRAMEBORDER=1 SCROLLING=auto
    SRC="http://hkg-wsn-1014/plsql/current_users"></IFRAME>
    where
    http://hkg-wsn-1014/plsql/current_users is my plsql cartridge
    and
    http://hkg-wsn-1014:7070 is the entry point for jsp server
    Can anyone help ?
    Rgds,
    Edward
    null

    The resule is similar to you can't reach the site.
    I've got no problem if I install the OAS 4 and JavaServer Web
    Development Kit in separate machine.
    How can I solve it ?
    Rgds,
    Edward
    Oracle Java Technical Team wrote:
    : Please provide more information. Do you get back a response
    : to the JSP page or just a standard error message?
    : Edward (guest) wrote:
    : : I have installed OAS 4 and JavaServer Web Development Kit
    : : Version 1.0 in one PC and with o8i in another PC.
    : : I've got problem in linking a PL/SQL cartridge, which will
    : : return a small page, with my jsp.
    : : I've got no problem if I run the jsp under the OAS while the
    : : small page can't be retrieved if I run the jsp on other PC.
    : : Syntax of my jsp for including plsql cartridge :
    : : <IFRAME ID=IFrame1 title="Testing" FRAMEBORDER=1
    SCROLLING=auto
    : : SRC="http://hkg-wsn-1014/plsql/current_users"></IFRAME>
    : : where
    : : http://hkg-wsn-1014/plsql/current_users is my plsql cartridge
    : : and
    : : http://hkg-wsn-1014:7070 is the entry point for jsp server
    : : Can anyone help ?
    : : Rgds,
    : : Edward
    null

  • Can't invoke PL/SQL cartridge for non-default virtual path

    I have a problem invoking a cartridge if the virtual path is
    anything but the default (/<appName>/<cartName>).
    I have tried stopping and re-starting the application server, but
    that does not help.
    Does anyone have a solution to this problem?
    Amar.
    null

    Elton Barendse (guest) wrote:
    : Amar Pai (guest) wrote:
    : : I have a problem invoking a cartridge if the virtual path is
    : : anything but the default (/<appName>/<cartName>).
    : : I have tried stopping and re-starting the application
    server,
    : but
    : : that does not help.
    : : Does anyone have a solution to this problem?
    : : Amar.
    : Hi Amar,
    : Can't help you solve your immediate problem, but here's some
    : food for thought ...
    : Quintessence Systems Ltd (UK) have developed technology which
    : automatically migrates PL/SQL procedures and packages to Java.
    : This is in response to the many customers who are looking to
    : move to a more open and non platform specific architecture for
    : enterprise wide business logic.
    : The Java code generated can be deployed in either Oracle 8i or
    : in an App Server i.e. no need to wrap your existing procedures
    : in a PL/SQL cartridge.
    : If this is of interest, I'd be happy to put you in touch with
    : our technical people to explain to technology in greater
    detail.
    : Elton Barendse
    : CEO
    : Quintessence Systems Limited
    I had a similar problem and maybe it would resolve your troubles
    I don't know but I configured the PL/SQL cartridge and it did
    not work actually it was just a pb of virtual memory ,set your
    mmory to 600M and restart all the stuff.I don't think it will
    resolve the pb but think of it.
    steve
    null

  • PL/SQL Cartridge with Union Query

    I have a pl/sql cartridge, with 3 select queries connected to each other by a "union". These queries basically generate a report from two tables. One of those queries is based on Table 1, and the other two are based on Table 2. What I need to accomplish is that I want to add a condition that restricts the outcome of the query (all three unions as a whole) based on a condition. Say, the condition is table1.param1 = '1'. Now, I'm getting confused with incorporating this condition in query 2 and query 3 which are based on table 2, and don't have the param1. However, both table1 and table 2 have param2 in common. I tried writing something like: (this is just a skeleton of my code)
    SELECT param1, PARAM2, OTHER_PARAM
    FROM table1
    where param1 = '1'
    union
    select param2, param3, 0 other_param
    from table2
    where param2 in
    (select param2
    from table1
    where param1 = '1')
    union
    select param2, param4, param5 other_param
    from table2
    where param2 in
    (select param2
    from table1
    where param1 = '1');but this doesn't work. Can anyone help me with this query? any help is appreciated.

    I think it will help you guys better if I illustrate in more detail. Posting my code below. p1,p2,p3..etc are parameter names. Hope someone will be able to help now.
    The original code, before adding the new condition is:
    select p1_num,
              p2_date,
              sum(decode(p3,'50',p4,0)) b_amt,
              sum(decode(p3,'10',p4,0)) r_amt,
              sum(decode(p3,'20',p4,0)) d_amt,
              sum(decode(p3,'40',p4,0)) l_amt,
              0 pay_amt,
              0 o_amt,
              0 g_amt,
              0 ot_amt
       FROM table1 t1
       where p1_num = passed_parameter  -- Parameter passed to the cursor
             AND to_char(p2_date, 'mmyyyy')  =  V_pdate  -- V_pdate is a parameter passed to the procedure
             group by p1_num, p2_date
       UNION
       select p1_num,
              p6_date,
              0,
              0,
              0,
              0,
              sum(decode(p7,'2', p8,0)) pay_amt,
              0 o_amt,
              0 g_amt,
              0 ot_amt
       from table2 t2
       where  p1_num = passed_parameter  -- Parameter passed to the cursor
              AND to_char(p6_date, 'mmyyyy')  =  V_pdate  -- V_pdate is a parameter passed to the procedure
              group by p1_num, p6_date
       UNION
       select p1_num,
              p6_date,
              0,
              0,
              0,
              0,
              0 pay_amt,
              sum(decode(substr(p9,1,1),'1',p8,0)) oil_amt,
              sum(decode(substr(p9,1,1),'2',p8,0)) gas_amt,
              sum(decode(substr(p9,1,1),'5',p8,'3',p8,'4',p8,0)) ot_amt
       from table2 t2
       where ((p7 IS NULL) OR (p7 IN ('0','1','3','4')))
             and p1_num = passed_parameter  -- Parameter passed to the cursor
             AND to_char(p6_date, 'mmyyyy')  =  V_pdate  -- V_pdate is a parameter passed to the procedure
             group by p1_num, p6_date;
             I need to add a condition <b>p5 = '1'</b> to filter the results of this query. p5 is a from table1. I tried using inner join, as per Jane's suggestion, something like this:
      select t1.p1_num,
              t1.p2_date,
               sum(decode(p3,'50',p4,0)) b_amt,
              sum(decode(p3,'10',p4,0)) r_amt,
              sum(decode(p3,'20',p4,0)) d_amt,
              sum(decode(p3,'40',p4,0)) l_amt,
               sum(decode(p7,'2', p8,0)) pay_amt,
              sum(decode(substr(p9,1,1),'1',p8,0)) oil_amt,
              sum(decode(substr(p9,1,1),'2',p8,0)) gas_amt,
              sum(decode(substr(p9,1,1),'5',p8,'3',p8,'4',p8,0)) ot_amt
       FROM  table2 t2 inner join table1 t1
       on t2.p1_num = t1.p1_num
       WHERE
       to_char(t1.p6_date,'mmyyyy') = V_pdate
       and   t1.p5 = '1'
       and  ((t2.p7 IS NULL) OR (t2.p7 IN ('0','1','3','4')))
       group by t1.p1_num, t1.p2_date
       order by t1.p1_num
       Firstly, I get duplicates for some of the records, which I need to eliminate. Once I eliminate those, i'll know if my retrieved records are right (since right now its retrieving more than 1000 records!)

  • Displaying image in BLOB via pl/sql cartridge

    Hi gurus ,
    I have a oracle web site. I am dynamically putting links in the page using pl/sql cartridge and procedures. I have loaded all my pictures for the catalog in the BLOB columns. Can anyone help me or direct me how to display these images using plsql cartridge dynamically from BLOB columns instead of from image files ???
    null

    Originally posted by Dan Mullen:
    I'm not familiar with the PL/SQL cartridge.
    Since this is the interMedia forum my suggestion would be to store the image data in an ORDImage column and use the interMedia WebAgent to retrieve the data.
    The interMedia WebAgent can be used with "naked" blobs but you'll need to code your own pl/sql routines (the code wizard won't do it for you).
    The code wizard does generate procedures for OrdImages but due to some reasons the GET_XX procedures don't work and give the error "ORA-04043 Object Get_Image does not Exist <br><br>"
    null

  • A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (p

    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that
    the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)(Microsoft SQL Server, Error: 2)
    The system cannot find the file specified
    Cannot connect to COWBOYS.
    Here are the technical details===================================
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
    Error Number: 2
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer
    timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
    SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    ===================================
    The system cannot find the file specified
    I have tried from so many forms. This is so frustrating. Thank for everyone/anyone who wants to help. So this is what happened: I had to uninstall my previous sqlserver 2012(which worked great) for some reason, and I uninstalled everything from that download.
    Then I installed the trial edition of sql server 2012 (64 Bit) and It wouldn't connect to the database. (Error mentioned above.) My local DB is COWBOYS. (COWBOYS is also my computer name.) After this, I have tried downloading sqlexpress and sqlserver 64bit
    many times and cannot connect to my local DB. 
    How do I connect to my Local DB? 
    Also, I think this might help: (When I run sqlserve.exe, which I was able to find in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, I get an error: Your SQL server installation is either corrupt or has been tampered with(Error getting
    instance ID from name). Please uninstall then re-run setup to correct this problem.
    I would happily re install it, if it wasn't my 20th time.
    I don't have any remote connections, I don't use username/password, only window authentication. I work mostly on visual studio, but without able to store /retrieve data, I don't know how to survive.
    May be the solution is very simple, but I am too frustrated. 
    Some of the things I have tried:
    From a command prompt, enter one of the following commands:
    net start "SQL Server Agent (MSSQLSERVER)" OR 
    net start "SQL Server Agent(instancename)"(for instance)
    on my sql configuration, I cannot start anything because there is nothing there to start. I can post more details, if that would help. Also, some more details about the error:
    Details
    Product:
    SQL Server
    ID:
    2
    Source:
    MSSQLServer
    Version:
    10.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Version:
    9.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Any one that can help me, I will be greatful. Thank you so much. p.s. please ask me anything if you have any questions.

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • What is the diffrence between package javax.sql and java.sql

    Is javax designed for J2EE?
    And when to use package javax?

    Hi,
    What is the diffrence between package javax.sql and java.sql?The JDBC 2.0 & above API is comprised of two packages:
    1.The java.sql package and
    2.The javax.sql package.
    java.sql provides features mostly related to client
    side database functionalities where as the javax.sql
    package, which adds server-side capabilities.
    You automatically get both packages when you download the JavaTM 2 Platform, Standard Edition, Version 1.4 (J2SETM) or the JavaTM 2, Platform Enterprise Edition, Version 1.3 (J2EETM).
    For further information on this please visit our website at http://java.sun.com/j2se/1.3/docs/guide/jdbc/index.html
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Micro Systems
    http://www.sun.com/developers/support/

  • Difference between Static SQL Query and Dynamic SQL Query.

    Hi,
    Please explain the basic difference between static and dynamic sql queries. Please explain with example.

    Static: http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/static.htm
    Dynamic: http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/dynamic.htm

  • Pivot and dynamic SQL

    Hi Team,
    I need to write a SQL to cater the requirements. Below is my requirements:
    pagename fieldname fieldvalue account_number consumerID
    AFAccountUpdate ArrangementsBroken dfsdff 1234 1234
    AFAccountUpdate ArrangementsBroken1 dfsdff 1234 1234
    AFAccountUpdate ArrangementsBroken2 dfsdff 1234 1234
    AFAccountUpdate ArrangementsBroken2 dfsdff 12345 12345
    AFAccountUpdate ArrangementsBroken1 addf 12345 12345
    Create table test_pivot_dynamic
    pagename varchar(200),
    fieldname Varchar(200),
    fieldvalue varchar(500),
    N9_Router_Account_Number bigint,
    TC_Debt_Item_Reference bigint
    --Input
    insert into test_pivot_dynamic Values('AFAccountUpdate','ArrangementsBroken','addf',1234,1234)
    insert into test_pivot_dynamic Values('AFAccountUpdate','ArrangementsBroken1','dfsdff',1234,1234)
    insert into test_pivot_dynamic Values('AFAccountUpdate','ArrangementsBroken2','fder',1234,1234)
    insert into test_pivot_dynamic Values('AFAccountUpdate','ArrangementsBroken2','dfdfs',12345,12345)
    insert into test_pivot_dynamic Values('AFAccountUpdate','ArrangementsBroken1','dfdwe',12345,12345)
    insert into test_pivot_dynamic Values('AFAccountUpdate1','Arrangements','addf',1234,1234)
    insert into test_pivot_dynamic Values('AFAccountUpdate1','Test1','dfsdff',1234,1234)
    --Expected output:
    Select 1234,1234,'AFAccountUpdate','ArrangementsBroken','addf','ArrangementsBroken1','dfsdff','ArrangementsBroken2','fder','ArrangementsBroken2','fder'
    Select 12345,12345,'AFAccountUpdate','ArrangementsBroken','addf','ArrangementsBroken1','dfdwe','ArrangementsBroken2','dfdfs'
    Select 1234,1234,'AFAccountUpdate1','Arrangements','addf','Test1','dfsdff'
    so basically we have to pivot and dynamic sql and insert the expected output to a common table which will have all the required fields
    Thanks,Ram.
    Please don't forget to Marked as Answer if my post solved your problem and use Vote As Helpful if a post was useful. It will helpful to other users.

    This should give you what you're looking for
    SELECT N9_Router_Account_Number,TC_Debt_Item_Reference,PageName,
    MAX(CASE WHEN SEQ = 1 THEN fieldname END) AS fieldname1,
    MAX(CASE WHEN SEQ = 1 THEN fieldvalue END) AS fieldvalue1,
    MAX(CASE WHEN SEQ = 2 THEN fieldname END) AS fieldname2,
    MAX(CASE WHEN SEQ = 2 THEN fieldvalue END) AS fieldvalue2,
    MAX(CASE WHEN SEQ = 3 THEN fieldname END) AS fieldname3,
    MAX(CASE WHEN SEQ = 3 THEN fieldvalue END) AS fieldvalue3,
    MAX(CASE WHEN SEQ = 4 THEN fieldname END) AS fieldname4,
    MAX(CASE WHEN SEQ = 4 THEN fieldvalue END) AS fieldvalue4
    FROM
    SELECT *,ROW_NUMBER() OVER (PARTITION BY N9_Router_Account_Number,TC_Debt_Item_Reference,PageName ORDER BY PageName) AS SEQ,*
    FROM test_pivot_dynamic
    )t
    GROUP BY N9_Router_Account_Number,TC_Debt_Item_Reference,PageName
    To make it dynamic see
     http://www.beyondrelational.com/modules/2/blogs/70/posts/10791/dynamic-crosstab-with-multiple-pivot-columns.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Problem with provisioning and external SQL server connection

    I am configuring IPAM 2012 R2 on a our management server.  Completed the first step by enabling the feature.  No issues.
    Now I am on the Provisioning IPAM step.  I get to the Configure Database step...
    I choose Microsoft SQL server,
    What should those values be in the Server name and Database name fields.  Instructions show fqdn or ip address but that doesnt seem to be working for me.
    I get the following error at the end of the Provisioning IPAM wizard,
    IPAM Deployment failed with the following error.
    Failed to connect to database server. Check the database name, connectivity and remote access.
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
    (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)
    You can restart this provisioning wizard from the IPAM overview page.
    From the management server I have tested the SQL Connection with a udl file.  I used myServer\myInstance and it works.  It reports that I have made the Connection to the server and database with the sql credentials i have provided.
    Thanks

    Ran
    into a problem with connecting to the DB on the SQL server from the IPAM server.  The Dba and I checked the target SQL instance was enabled TCP and listening on a valid TCP port.  SQL server was set to use port 1443 for incoming connections. 
    IPAM was set by default to use 1433. 
    Also used
    netstat-n to identify issue and verified 1443 on SQL server was
    being used.  Made the correction under the IPAM provisioning wizard and connected to the database.  Fixed. 
    Important note I was able to connect to the database with a .udlfile
    without any issues
    Also note that 2012 R2 IPAM only supports 2012 SQL Enterprise.  Why?

Maybe you are looking for