Cannot connect to p6ws using demo application

Hi everyone,
I started a few days ago to take some interest in Primavera p6 as a was asked to connect to an existing Primavera P6 server. First of all I wanted to do a standalone installation and see what was this about...
Well, I was provided with some information about the current primavera P6 version that was being used, (Release 7) so I started to download the Primavera P6 project management.
So far so good, I installed it using SQL Server and (after a few tries) i succeeded in login into the program.
After some reading I decided to use Primavera P6 web services as the way to connect my system to the current Primavera P6 system. So I willingly downloaded the P6 Webservices module and Weblogic 10g R3 (recommended version in the administrator guide pdf).
After downloading both files I installed without much trouble Primavera P6 Web services and I linked it to the pmdb database in my system successfully (or at least it says so) and right after that I installed Weblogic 10g R3 in production mode in my system aswell. I created a new domain called test_primavera.
I managed to start Weblogic using "startWeblogic.cmd" script existing in weblogichome/user_projects/domains/bin folder.
The problems begin now...
I follow up all the steps described in the administrator guide and I try to launch the p6ws.war existing in the previously installed p6webservices_1 folder in my system.
The first problem I found is that Weblogic is not able to finde a class named CXFServlet as it jar is not located in the classpath. Well I've checked my %CXF_HOME% environment variable and it was ok (otherwise I would not be able to install P6 WebServices and I tried manually to add %CXF_HOME% folder to the classpath with no result. Checking the startWeblocig.cmd log I discover that Weblogic is always looking for classes in the already deployed war folder which in my case is "C:\weblogichome\user_projects\domains\test_primavera\servers\AdminServer\tmp\_WL_user\p6ws\nmdpik\war\WEB-INF\lib" and no matter what I did it always looked for those classes in that folder. In a desperate attempt I copied all the jars from the %CXF_HOME%/modules folder into that folder and found a new error, Outofmemoryerror PermGenSpace.
I managed to fix this error playing with the memory variables and I finally managed to launch the p6ws war in my system (yay!!).
I am now able to go open the browser (http://mycomputer:7001/p6ws) and I see what I think is the primavera p6 webservice activated. But I cannot use the p6wsdemo.jar to connect to the server it always says "Demo failed. Please check if the server is running and try again." I configured the authentication using Username token profile and I've tried the 3 users I know in the system (pubuser, privuser and admin).
I have tried also to create a small program to login in the system but with no result aswel, here is the code
private static boolean testLogin()
          URL wsdlURL = null;
          try {
               wsdlURL = new URL("http://mycomputer:7001/p6ws/services/AuthenticationService?wsdl");
          } catch (MalformedURLException e) {
               // TODO Auto-generated catch block
               e.printStackTrace();
          AuthenticationService service = new AuthenticationService(wsdlURL);
          AuthenticationServicePortType servicePort = service.getAuthenticationServiceSOAP12PortHttp();
          BindingProvider bp = (BindingProvider)servicePort;
          boolean success = false;
          try {
               success = servicePort.login("admin", "admin", 1); // <- Line 119
          } catch (IntegrationFault e) {
               // TODO Auto-generated catch block
               e.printStackTrace();
          return success;
When I try to run this program I always get the following error:
Information: Creating Service {http://xmlns.oracle.com/Primavera/P6/V7/WS/Authentication}AuthenticationService from WSDL: http://mycomputer:7001/p6ws/services/AuthenticationService?wsdl
com.primavera.ws.p6.authentication.IntegrationFault: Fatal error: Could not initialize class com.primavera.integration.server.ServerFacade
     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:128)
     at $Proxy41.login(Unknown Source)
     at p6webservice.testLogin(p6webservice.java:119)
     at p6webservice.main(p6webservice.java:71)
Now I am completely stuck.
I am working in a Windows 8 - 64 bit system using Primavera P6 Release 7 and Weblogic 10g R3. I have thought about installing everything in a Win xp 32 bit emulated system but I would like to avoid it. Any ideas?
Any help would be great
Thanks in advance!
Regards
PS: Sorry if my english causes you any trouble :)
Edited by: 991858 on 05-mar-2013 7:21

Try switching to HTTP Cookies for authentication. This is a simpler method and usually works well with .Net.
Also, you should be able to call the ReadDatabaseInstances without logging in to test if the web service is returning values.
var dbinstances = AuthService.ReadDatabaseInstances(new object());
I have a helper method that I use with HTTP Cookies for authentication.
using System;
using System.Linq;
using System.Net;
using Primavera.Ws.P6.Authentication;
namespace Fortum.ServiceHelpers.P6Api
public class P6AuthenticationService
private const String TransportUrl = "http://<hostname>:<p6WsPort number>/p6ws/services/AuthenticationService";
public AuthenticationService AuthService;
private readonly Login _login;
public CookieContainer CookieContainer { get; set; }
private string _server;
public String Server
get { return _server; }
set
_server = value;
AuthService.Url = UpdateP6HostUrl();
private int _port;
public Int32 Port
get { return _port; }
set
_port = value;
AuthService.Url = UpdateP6HostUrl();
public Boolean IsLoggedOn { get; set; }
private string _username;
public String Username
get { return _username; }
set
_username = value;
login.UserName = username;
private string _password;
public String Password
get { return _password; }
set
_password = value;
login.Password = password;
private int _databaseInstanceId;
public Int32 DatabaseInstanceId
get { return _databaseInstanceId; }
set
_databaseInstanceId = value;
login.DatabaseInstanceId = databaseInstanceId;
_login.DatabaseInstanceIdSpecified = true;
public P6AuthenticationService()
_login = new Login();
AuthService = new AuthenticationService();
IsLoggedOn = false;
public P6AuthenticationService(String p6WsServer, Int32 p6WsPort)
: this()
Server = p6WsServer;
Port = p6WsPort;
AuthService.Url = UpdateP6HostUrl();
AuthService.CookieContainer = new CookieContainer();
public String UpdateP6HostUrl()
return TransportUrl.Replace("<hostname>", Server).Replace("<p6WsPort number>", Port.ToString());
public Boolean DatabaseExists(String databaseName)
var retVal = false;
if (databaseName == null) throw new ArgumentNullException("databaseName");
if (GetDatabaseInstance(databaseName) != null) retVal = true;
return retVal;
public Boolean DatabaseExists(int databaseId)
var retVal = false;
if (databaseId < 1) throw new ArgumentOutOfRangeException("databaseId");
if (GetDatabaseInstance(databaseId) != null) retVal = true;
return retVal;
public Int32? GetDatabaseInstanceID(String databaseName)
if (databaseName == null) throw new ArgumentNullException("databaseName");
var databaseInstances = ReadDatabaseInstances().ToList();
var instance = databaseInstances.FirstOrDefault(x => x.DatabaseName.IsEqualTo(databaseName, true));
if (instance != null) return instance.DatabaseInstanceId;
return null;
public ReadDatabaseInstancesResponseDatabaseInstance GetDatabaseInstance(String databaseName)
if (databaseName == null) throw new ArgumentNullException("databaseName");
var databaseInstances = ReadDatabaseInstances().ToList();
return databaseInstances.FirstOrDefault(instance => instance.DatabaseName.IsEqualTo(databaseName, true));
public ReadDatabaseInstancesResponseDatabaseInstance GetDatabaseInstance(int databaseId)
if (databaseId < 1) throw new ArgumentOutOfRangeException("databaseId");
var databaseInstances = ReadDatabaseInstances().ToList();
return databaseInstances.FirstOrDefault(instance => databaseId == instance.DatabaseInstanceId);
public ReadDatabaseInstancesResponseDatabaseInstance[] ReadDatabaseInstances()
var dbinstances = AuthService.ReadDatabaseInstances(new object());
return dbinstances;
public Boolean Login(string username, string password)
_login.UserName = username;
_login.Password = password;
if (AuthService == null) return false;
AuthService.Login(_login);
CookieContainer = AuthService.CookieContainer;
IsLoggedOn = true;
return true;
public void Logout()
AuthService.Logout(new object());
IsLoggedOn = false;
Gene

Similar Messages

  • Cannot connect to internet using apple applications

    Hi,
    I cannot connect to the internet using these apple applications: Safari, Software Update, iTunes.
    I can connect to the internet using Firefox and iChat.
    I have just reinserted my OSX 10.4 discs and reinstalled the software (making an archive and using my old settings choice). But it still doesn't work.
    Why won't apple applications connect to the internet?

    Lisa W wrote:
    I just updated to 10.4.11 and tried to run my brand new Safari 3. NO GO.
    I'm having a much smaller problem (just accessing certain sites) which I think may have begun with 10.4.11. I'd agree that you might want to try launching the disk utility and repairing permissions. Then you may want to run Software Update again and see if it finds other updates that may be required. Sometimes after a revision patch application, especially if you don't apply patches soon after their release, there are other applications and stuff which need to be updated after you've run the initial update. It's not a typical thing, but it does happen on occasion.
    The only time I've really had a problem with an update was, I believe, 10.4.9... I think I let Software Update do it's job, but wasn't ready to save and quit an open document or two, so just did something I'd done before, without issue... I "force-quit" Software Update. This was not an advisable move, as it turned out. Indeed, I think that time, after staying up all night trying to suss out the problem, was when I found a couple other people who'd had similar issues with the update because it required a second re-start after patch application. In my sleep-deprivation-induced state of temporary insanity I selected a user name which I now find rather embarrassing... I don't remember picking "MacCrackHead", actually... LOL ... but that's another story.
    If you have an external drive that you've backed up your system install to, you may be able to boot off of it and see if things work normally (as I did when I moved from 10.4.8 to 10.4.9 and had the issues)... Ultimately I ended up making a second back-up of my external back-up and running the 10.4.9 update offline. It went well, so I cloned my back-up back to my normal start-up. I can't remember now what the issue was then, but it was pretty problematic for me.
    My routine, when I see an important update available is now:
    1) Don't update when Software Update finds something;
    2) Save my work and close all applications.
    3) (Recommended): Bring my back-up clone of my start-up drive up-to-date.
    4) Run software update.
    5) Restart when it tells me to (required for many updates, and all system version updates)
    6) Run software update again on re-boot to see if there's anything else that follows... (usually none)
    7) Run disk utility and repair permissions.
    Good luck resolving your issue, Lisa.
    Lowell

  • PI 7.11: Cannot connect to server using message server:...

    Hello Guys,
    we make the Application Management for a Customer PI System.
    Scenario:
    - the SAP Gui Connection to the ABAP Stack is routed via SAPRouter and Works fine.
      SAP Gui -> our SAP Router -> VPN Box from Customer -> Firewall Customer -> ABAP Stack PI System
    - WebAccess its working fine, the Customer use Webdispatcher on every PI Server...
      Browser -> VPN Box from Customer -> Firewall Customer -> Java Stack (Port: 5xx00 btw. 81xx (Webdispatcher))
    Problem:
    Our Problem ist, we can not proceed the Integration Builder or the ESB, the Java Web Start works fine and open the Logon Screen Correctly -> but i fill the Logon Screen with my User name and Password and press Logon come the follwing Error:
    "Cannot connect to server using message server: ms://<hostname>.<domain>:8134/P4"
    In the Details from the Error Message:
    "<hostname>.<domain>:53404 Reason: com.sap.engine.services.rmi_p4.P4IOException:
    Cannot open connection to host: <IP-Adress of Central Instance> and Port: 53404"
    The Customer says, the Firewall is open with the IP Adresses and P4 Port but i dont think so...
    Can everybody help me, or have tips for me! I have checked a lot of OSS Messages (PI High Availabilty etc... its all correct on the System)
    Sorry for my bad English
    Best Regards,
    Markus

    Hi Markus,
    did you check if the browser is using a proxy? (In this case your scenario unfortunately won't work).
    P4-port should generally be routed via a proxy (described in the help.sap.com), but within the PI-Tools(JNLP) the proxy-usage is not implemented.  There is even a SAP-note that describes how to check the JavaWebStart-Proxyconfiguration, but this won't help either.
    If there is a proxy defined in the browser everything is working fine till you pass the logon-screen but even with the correct "javaws"-settings you won't be able to go on.
    (This problem is pretty bad if you do have developers and the SAP-servers seperated because of security issues. I'm hoping that this malfunction will be solved with upcoming patches.)
    Solution: Establish a connection without any proxy in between.
      E.g.: a terminal server in the same network
    It would be helpful to find more people with the same problem to force a fix from SAP for that.
    If anyone else is having problems with this, please add a comment to this thread.
    Best regards
    Christian

  • Cannot connect to server using message server: ms://xiidhasoft:50004/P4

    Hi SAP Guru's
    When PISUPER or any any of the enduser is trying to login in the Integration Builder , they are getting error
    Cannot connect to server using message server: ms://xiidhasoft:50004/P4
    I have tryed to search in SDN and got below solution but no success
    1. Exchange Profile of PI - http://host:port/exchangeProfile
    2. Check with the rmi port number.
    3. if rmi port number is empty or any number is present ( check with Tr code: SMICM - services - check for p4 port number - it will be ex: 5<nr>04)
    4. fill the rmi port number as present in the P4.
    OR
    implement note 864268
    I have Netweaver PI 7.1 .
    Please suggest some alternative solution.
    Thanks & Regards
    Vinay Patel

    You may check your local PC Java Network Setting.
    Troubleshooting:
    Probably Javau2122 WebStart does not detect the correct Proxy Settings. In this case please proceed as follows:
    To change the Proxy Settings for Javau2122 Web Start:
    1. Click Start --> Run  and enter javaws. Press button OK.
    2. Control Panel -> Programs ->Java -> Network Settings...
    3. Select Direct Connection to switch off the proxy settings and press button OK.
    If this still does not work, select Use proxy server to set manually the HTTP Proxy and Port.
    Contact your network administrator for the correct settings.

  • Since a I have intalled OS X Lion I cannot connect internet mobile using my ZTE mobile pen

    Since a I have intalled OS X Lion I cannot connect internet mobile using my ZTE mobile pen.

    It sounds like you need updated drivers. They are hard to find for that thing. This is what I found on a cursory search:
    http://studiofourfour.zendesk.com/entries/20305042-mac-os-x-lion-3-zte-usb-broad band-drivers
    You should consider contacting the manufacturer or cell provider that sold you the modem for support.

  • Why I cannot connect to database after deploying application to OAS?

    Hello experts...i have a new problem and here are the facts:
    I`m using on Windows Xp:
    Oracle Database 10.2.0
    Oracle Application Server 10.1.3
    Oracle Jdeveloper 10.1.3.3
    I`m creating a new application using jdeveloper and i`m using 2 connection classes:
    a) First connection class using:
    InitialContext ctx=new InitialContext();
    DataSource ds=ctx.lookup("jdbc/connDS");
    Connection conn=ds.getConnection();
    b) Second connection class using:
    Connection conn = DriverManager.getConnection("jdbc:and the entire link goes here");
    So far so good, but when I create a ear file using the First connection class and after i deploy it to OAS my application will not connect anymore to database!
    If I will use the Second connection class, and create an ear file then deploy it to OAS, my application works fine, it connects to database but i have a problem. In my application users can upload and download the files they uploaded. The files are saved in DB as blob. The problem appears when users are downloading the files because for example file "example.doc" is uploaded on the server database and when a user try to download it the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. Someone told me that happens because of my connection class... and I want to find out you`re opinion.
    Why i cann`t connect to DB after deploy the application on OAS using the FIRST connection class?
    - on Jdeveloper i can connect to DB using both of the connect classes (one at a time)
    - I`m creating a war file from jdeveloper and deploy the ear file on the OAS
    - on OAS i`ve created the connection pool and the data source and "The connection was establish succesfully"
    Why the uploaded files are downloaded in this way? it`s the connection the problem?
    - I want to tell you that when i`m extracting data from the DB table i`m not using a temp file, the conversion is made in the java class and the program throws me the file to download.
    - as i told you in Jdeveloper both of the connection classes work!!! and when i`m using the FIRST connection class and try to download, the files ARE DOWNLOADED PERFECTLY CORRECT!
    - if i`m using the SECOND connection class in jdeveloper, running the application on the built in oc4j instance and trying to download the same files, the files are DOWNLOADED BAD like I told you: the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. with the pdf format is the same problem but my pc cannot open it telling something with "bad conversion...." error.
    There are someone who had the same problem?
    Theoretically i had to make the application to connect to the database after deploy it to OAS with the FIRST connection class and this way my files will be downloaded corectly... what to do?

    no one knows nothing about this issue? :(... i`m dissapointed...

  • Cannot connect to database using the Upgrade Simulation Tool

    I have installed the Upgrade Simulation Tool on my system and when I try to run the tool my system works in the for awhile in the background and creates the _Simulation mdf and ldf files and a .bck file.  After 3 or 4 minutes it gives me an error "Cannot connect to the database".  
    It looks to me like it is connecting to the database because it is creating the files in the SQL Data folder.  I have tried to run it on several databases and get the same results.
    Thank you, Jeff

    Hi,
    You may not have the ability to upgrade it directly.
    He does have the ability.
    When downloading Pl 42, it is cleary marked as "Upgrader", which means it can be used for upgrade (in this case simulation) from a lower version than 2007A
    Patchlevel which are marked as "patch" are suitable only for updating the PL within the very same version of SAP Business One.
    This tool should run under 2007 system I believe.
    The Upgrade Simulation tool was designed in orderto test an upgrade, therefore it can run at a machine where 2005 version is installed. Technically speaking it creates a second SBO-common, which can be used only with the special designed (read only) client of the tool.
    Jeff, you should check access rights of your SQL Data folder.Maybe grant user "Everyone" modifying rights to that folder. In addition you could try to detach a DB and move the related *.mdf and *.ldf to another folder where no access denied rights were applied.
    If using MSSQL 2005 create via ODBC a Native Client connection to the Server, although you might just working locally only.
    Regards
    Mario

  • Cannot connect to database using SQL*Plus

    Hi, I have Oracle 10g XE installed in my labtop and I cannot connect using SQL*Plus.
    I can connect using the broser User Interface though, which I was able to do after doing the following procedure to change the password of the sys account:
    -     open a command prompt
    -     - type sqlplus
    -     On the “Enter user-name” line, type /as sysdba
    -     On the SQL> prompt, type alter user sys identified by NewPassword;
    But the thing is that even though I am able to connect using sys/NewPassword from my browser UI, I dont get the same result when doing it using the SQL prompt.
    What I am trying to do is this:
    SQL> connect sys/NewPassword
    Then I get first a warming saying that I need to use either sysdba or sysoper to connect to the system account, but neither of those work.
    Can anyone advice me on this matter?
    Thanks in advance

    Thanks for that.
    I run the command to list the usernames on the database and I got SYS and SYSTEM in the list. But again, when I try to use SYS with a password that I know is working because I can access it through the browser UI, it doesnt work. It seems like this sys is different to the sys I used in the UI.
    I dont know if I am explaining myself correclty... In the Browser UI I use sys, and a password and I get connected to the sys account. However, if I try to use the same sys.password combination from my sqlplus prompt, I get error messages
    Does this make sense at all?

  • Cannot connect to Internet (using Safari)

    Hi all.
    I got my Macbook (unibody) for about 7 months ago. I have never had any problems with it, but now suddently Internet has stopped working. I am using only Safari. It just says "cannot connect to Internet" when i try get online. The weird thing is that Internet works to all other computers here at home, but not on mine. I have checked that all the cords are plugged in and all lights are on. I have tried using the internet cords for the other computers on my Mac, but they dont work. The cord i am using is working on other computers too, so there is nothing wrong with it. It is like my Mac doesn´t "recognize" that i have the cord plugged in. When i am on the systems settigns it says that everything is offline, and when i am on the Ethernet settings it does not have any IP adress written or anything, and i have chosen "Use DHCP".
    What should i do? I was watching a movie yesterday and had the laptop in my lap, maybe it got overheated or something? Or is it something wrong with the network card? Please help, this is so frustrating!

    Hi all.
    I got my Macbook (unibody) for about 7 months ago. I have never had any problems with it, but now suddently Internet has stopped working. I am using only Safari. It just says "cannot connect to Internet" when i try get online. The weird thing is that Internet works to all other computers here at home, but not on mine. I have checked that all the cords are plugged in and all lights are on. I have tried using the internet cords for the other computers on my Mac, but they dont work. The cord i am using is working on other computers too, so there is nothing wrong with it. It is like my Mac doesn´t "recognize" that i have the cord plugged in. When i am on the systems settigns it says that everything is offline, and when i am on the Ethernet settings it does not have any IP adress written or anything, and i have chosen "Use DHCP".
    What should i do? I was watching a movie yesterday and had the laptop in my lap, maybe it got overheated or something? Or is it something wrong with the network card? Please help, this is so frustrating!

  • Cannot connect to receiver using AirPort Extreme due to password protection

    I have a new AirPort Extreme and Harman Kardon receiver. I am trying to connect the HK receiver to my home network, after entering in all the necessary info (IP, subnet mask etc) I still cannot connect to internet radio, Pandora etc. I called HK and they say it is because my home network is password protected. They recommend I disable to the password and keep it without a password. Is this the only option I have?

    There is no reason to do this if your HK receiver cannot connect using wireless, as appears to be the case here.  You must have misunderstood the HK support person, or they misunderstood you when you spoke with them.
    The information in the manual only talks about a wired Ethernet connection.  There is no information that I can find that would indicate that the HK Receiver will be able to connect to the wireless network using wireless.
    Unless you can provide another link that would indicate otherwise, you will need to plan to connect the HK receiver using a wired Ethernet cable, or use a pair of EOP adapters to send the signal over the AC wiring in your home.
    It would also be possible to use an AirPort Express to connect to the AirPort Extreme over wireless by locating the AirPort Express near the HK receiver and then in turn connecting a short Ethernet cable from the AirPort Express to the HK receiver.

  • Cannot connect to itunes using 3g

    I can connect to itunes or apps using wifi but i cannot connect using 3g....is this usual ....I'm using vodaphone in the uk

    Can you connect to anything with 3G via the internet? Do you see an cellular icon and bars on the upper right? Is cellular turned on? In setting what odes it say under your cellular account under cellular data?

  • Cannot connect to web using "Public" wirless connection

    When I try to connect to the web using a Public wireless hot spot (like in airports), I get an error message about an invalid certificate, and cannot connect. If I try to bypass it, I get big time Warning!, Danger!, Better not do it! stuff. Same results in several public hot spots. Running Firefox 3.6.6 with XP Pro.
    Any explanation/help will be greatly appreciated!

    If no light, try connecting to a different port on router or try using a cable that you "know" works.
    had a customer have a same problem...turns out his port 1 was shorted.
    (='.'=)
    This is Bunny. Copy and paste bunny into your
    signature to help him gain world domination.

  • Iphone 4 internet cannot connect to pc using USB cable

    Who know whant happen of this.before i can connect to PC and right now update to IOS 7 and cannot connect to PC while using iphone internet.

    Hello there Alex,
    Thank you for using Apple Support Communities.
    It sounds like your personal hotspot is not working when connected to your computer via USB.
    I recommend this article to help troubleshoot what is happening named:
    The instructions are different depending on the version of your OS:
    iOS: Troubleshooting Personal Hotspot
    http://support.apple.com/kb/TS2756
    USB troubleshooting
    If you are using USB to connect your computer to Personal Hotspot and you are unable to get an Internet connection, check your computer's network settings. You may need to adjust your computer's network settings to disconnect and reconnect the USB Ethernet interface.
    Select your operating system for instructions:
    Mac OS X
    Windows XP
    Windows Vista or Windows 7
    Cheers,
    Sterling

  • Cannot connect to db using toad

    hi ,
    I get the following error while I try to connect my db using toad and windows sql
    =========================================================
    Fatal OSN connect error 12203, connecting to:
    (DESCRIPTION=(CONNECT_DATA=(SID=INS)(CID=(PROGRAM=TOAD.exe)(HOST=Windows NT PC)(USER=altaf)))(ADDRESS_LIST=(ADDRESS=(PROTOCOL=ipc)(KEY=INS.WORLD))(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=10.15.44.11)(Port=1521))(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=10.15.44.11)(Port=1526))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 2.3.2.1.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 2.3.2.1.3 - Production
    Time: 03-JUL-08 12:36:22
    Tracing not turned on.
    Tns error struct:
    nr err code: 12203
    TNS-12203: TNS:unable to connect to destination
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 60
    nt OS err code: 0
    ============================================
    but the same db is connecting using froms 4.5
    may be some settings in the tnsnames or sqlnet.ora files got changed
    please advise urgently
    also can u guide me to some document detailing the significance of these two files
    Altaf

    Hi
    When trying to connect to Oracle the following error is generated:
    ORA-12203: unable to connect to destination
    Possible Causes and Remedies:
    Invalid TNS address supplied.
    Verify that the service name is correct.
    Verify that the name of the ‘host’ computer (defined as part of the TNS address) is valid and correct.
    Destination not listening.
    Ensure that the listener is running at the remove node. This can be verified on the server by using the command ‘lsnrctl80 status’ and also by looking at the services and checking that the service ‘OracleService<Sid>’ is running.
    If the listener service is not running, does not exist and the database has just been created anew on the machine by restoring it from a backup, then the listener service will need to be created:
    Oradim80 –new –sid <SID> -intpwd Oracle –startmode AUTO –pfile <full-path-of-init-file>
    This should only be done in the circumstances outlined above.
    Possibly because of underlying network transport problems.
    Check that the remote node is visible on the network.
    To gain more information in diagnosing the problem, enable tracking on the client, try making the connection again and then look at the trace file SQLNET.LOG.
    There are multiple databases on the server and the database alias was not supplied as part of the connection string. This will only arise if connecting to the database on the same machine, since normally in this instance the database alias is optional if there is only one instance. Try:
    Setting the environment variable ‘ORACLE_SID’ to the SID of the desired instance. (Consider setting ORACLE_SID in the registry.)
    Explicitly specifying a database alias when connecting to the database.
    Setting the environment variable ‘LOCAL’ or ‘REMOTE’ to the SID of the desired database. The service name does not then need to be specified.
    Note: Using the utility ‘TNSPING’ may help in identifying any problems. As well as identifying whether a successful connection can be made, it also indicates whether the TNS name supplied is valid and if so then the host computer that it is trying to connect to. Syntax:
    TNSPING <tns-name>

  • Cannot Connect to 3G using micro-sim

    I have activated my 3G Micro-sim and inserted it but I still cannot connect to internet. When trying to open the APP Store in comes up with 'Could not activate cellular data network'. When I go to safari it says that the mobile devie is not set up to access Telstra Mobile Internet services to have the setting sent to your phone click here. So I click there and it says that 3 configuration text messages will be sent to my mobile number and a pin number to activate it, but is this ipad micro-sim a mobile number?? I never recieve the text messages and it has already been activated and ready to go before I left the shop I bought it from.... please help!!!!

    Can you connect to anything with 3G via the internet? Do you see an cellular icon and bars on the upper right? Is cellular turned on? In setting what odes it say under your cellular account under cellular data?

Maybe you are looking for

  • Equipment no and Maintained Languages transfered from R/3 stored in which t

    Hi,   Which table in CRM that store Equipment no & Maintained Language transferred from R/3. Thanks in advance

  • Start and Stop of Services for 11x

    hi Can anyone please let me know the order to stop and start the services of 11x (HSS,PLANNING,ESSBASE and BI) Haven't found any documentation to in the portal related to start and stop of the services. thanks in advance Best regards krishnatilak

  • Cant change song info on new ios update

    ok ever since i updated to iOS5 i cant change the song info on my ipod touch when i change the info on itunes?!?! it syncs but song info dosnt change ie. the song name,album.

  • TCS 3 trial won't install RoboHelp & Framemaker

    Hopefully, I own't need this, and someone in tech support will figure it out. But for 3 days, I've been getting Error 7 and now Error 6 from the installer, when it gets to Frame and Robohelp. We've uninstallled TCS 1, run the cleaner, tried re-instal

  • IPhoto won't select iPhoto Library

    I upgraded to the newest iPhoto. No problems. My iPhoto Library is very big, about 50 gigs, so I keep it on a NAS. I opened iPhoto once, and it wouldn't open my iPhoto library because my NAS share wasn't mounted. OK, so I quit iPhoto, mounted the net