COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: monica on 12 Dec 2013 08:11:56 AM

Title: SDK error
Post by: monica on 12 Dec 2013 08:11:56 AM
I used the dispatcher url in the sdk code  http://dispatcher:9310/p2pd/servlet/dispatch
I am getting below error pls suggest

logOnToCognos(): Exception Occured while logging on the Cognos Server. Exception - java.net.SocketException: Connection reset
Title: Re: SDK error
Post by: MFGF on 12 Dec 2013 08:13:00 AM
Is your hostname really "dispatcher"?
Title: Re: SDK error
Post by: monica on 12 Dec 2013 09:06:04 AM
No its not a dispatcher... I just didnt wanted to post my disp url completly.... :)

And also we are using websphere as the application server.. Is there any setting over there which is causing the issue ?

Thank you,
Title: Re: SDK error
Post by: sir_jeroen on 12 Dec 2013 04:24:56 PM
Just some easy textbook questions:
Are you sure you're using port 9310 for the dispatcher? ( default = 9300)
Are you able to connect to port 9310? (try telnet to connect )

Title: Re: SDK error
Post by: monica on 12 Dec 2013 05:40:28 PM
I am using 9510 and when use the dispatcher url I am able to open the portal.
Title: Re: SDK error
Post by: sunosoft on 12 Dec 2013 08:36:52 PM
9510 or 9310 ?

Anyways....please check the SDK uri in the configuration. Check if there is some spelling mistake or something else.
Title: Re: SDK error
Post by: monica on 13 Dec 2013 07:22:43 AM
I checked the sdk url its correct.

We are using cognos 10.1.1,Oracle 11.2 and Websphere 8.0.0.5 .. in Webapps/p2pd/lib I have been using ojdbc6.jar file deleted the other ojdbc5,ojdbc* files. Is this right ?.. I am haunted by the issue from 2 days ... :( :'( :'(
Title: Re: SDK error
Post by: sir_jeroen on 13 Dec 2013 06:30:49 PM
What do you see in cognos administration under dispatchers and services? What port?
Title: Re: SDK error
Post by: monica on 18 Dec 2013 11:02:17 AM
 logOnToCognos() : Logging on to Cognos Server .....
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.SocketException: Connection reset
faultActor:
faultNode:
faultDetail:
        {http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:179)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:229)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:248)
        at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at com.cognos.developer.schemas.bibus._3.ContentManagerServiceStub.logon(ContentManagerServiceStub.java:6926)
        at com.****.mrfreporting.eod.jobs.ReportGenerator.logOnToCognos(ReportGenerator.java:278)
        at com.****.mrfreporting.eod.jobs.JobController.runReportGeneration(JobController.java:1441)
        at com.****.mrfreporting.eod.jobs.J

this is the error I am getting

Moderator edit. Anonymised to remove client domain from the message. MF.