COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Topic started by: vin_j on 23 Jul 2005 01:30:56 PM

Title: Configuring ReportNet
Post by: vin_j on 23 Jul 2005 01:30:56 PM
Hi Guys,

I never worked on Cognos ReportNet before, help me out in configuring the ReportNet into WebSphere AppServer.
Title: Re: Configuring ReportNet
Post by: cognosfreelancer on 25 Jul 2005 06:31:17 PM
I have configured ReportNet with BEA Weblogic 8.1 SP4 and let me tell you this was one of the most difficult tasks I ever carried out support from Cognos consultants not withstanding.

Essentially you create a p2pd.war file which is the jar file of a web application and you then deploy it the Websphere server.

One hard earned lesson: Do not ever install ReportNet in a folder path that has names with spaces in it for e.g. 'Program Files'. BEA Weblogic did not recognize the existence of Cognos CRN  under such circumstances.

For specific info. on the steps for integration you will need to refer to www.cognos.com

Regards
NKT
Title: Re: Configuring ReportNet
Post by: vin_j on 26 Jul 2005 09:20:02 PM
Hi,

Here is my situation: I've got to have ReportNet Server on one node and Content Manager on another node. First i configured the ReportNet server node, generated the war file and deployed the war file into WebSphere. Later on configured the Content Manager node, generated the war file and deployed into WebSphere. But i dont see any tables being created in the database. Can you please send me the exact procedure to do this. I appreciate your help.

Thanks,
vinod
Title: Re: Configuring ReportNet
Post by: cognosfreelancer on 27 Jul 2005 07:48:15 AM
Hmm!

Your configuration is a bit different from mine.

Is it possible for you to host the content manager servlet on the same computer as the ReportNet server. The actual content store can be put on any box.

A few points to note.

1) you only need to generate one .war file called P2PD.war. You should not deploy two .war files to the J2EE server

2) Make sure you deploy the .war file to the managed server and not the admin server

3) Tables in the content store get created after you re start the managed server and not when you simply deploy.

4) The procedure I follow is applicable to BEA Weblogic and may not be suited to IBM Websphere. Let me know if you still need it.

Can I attach files to this post
Regards
NKT
Title: Re: Configuring ReportNet
Post by: vin_j on 27 Jul 2005 10:26:33 AM
Thanks for your prompt reply.

1. No, i can't put the Content Manager in the same node as that of Report Server node as the design is so. So, i just need to deploy only one jar file, the one generated from ReportServer node.

2.Could you send me the docs, which u used for whole process.

I appreciate you help.

Thanks,
vinod
Title: Re: Configuring ReportNet
Post by: cognosfreelancer on 27 Jul 2005 01:02:59 PM
Hi Vinod

Unfortunately my attachment exceeds the size limit of 128 KB

NKT
Title: Re: Configuring ReportNet
Post by: vin_j on 27 Jul 2005 01:32:24 PM
Here is my mail ID: *email address removed* you can mail me to this ID.

Thanks,
vinod

*sorry guys - email addresses are not a good idea because of the spam factor. We've already had a few nasty bots go through our site (and it's only been Live for 2 weeks!). I'll bump up the attachment size limit however feel free to email me with the attachment and I will pass it on.

Cheers
Jon
COGNOiSe administrator
email@cognoise.com
Title: Re: Configuring ReportNet
Post by: COGNOiSe administrator on 27 Jul 2005 05:11:24 PM
I've upped the attachment limit to 5Mb - let me know if you have any probs.
Title: Re: Configuring ReportNet
Post by: cognosfreelancer on 28 Jul 2005 07:48:55 AM
We have a people friendly administratorÃ,  ;D

The new limit is more than enough.

Here comes the attachment.

Regards
NKT
Title: Re: Configuring ReportNet
Post by: vin_j on 04 Aug 2005 09:54:11 AM
Hi,

I configued the Cognos ReportNet, build the war file and deployed it into webSphere. When I stop and start the AppServer,  I found follwoing errors under AppServer logs:

java.lang.NoClassDefFoundError: com/cognos/accman/jcam/crypto/misc/JNISystemProperties

[8/3/05 15:13:31:591 CDT] 70541535 ServletInstan E SRVE0100E: Did not realize  init() exception thrown by servlet dispatch: javax.servlet.ServletException: com/cognos/accman/jcam/crypto/misc/JNISystemProperties at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:99)

And I don't find any tables created in the Content store. Could you figure out what exactly had gone wrong.

Thanks,
Vinod
Title: Re: Configuring ReportNet
Post by: Darek on 04 Aug 2005 10:48:05 AM
Make sure you are using JCE 1.2.2 in your WebSphere JRE. I assume you did copy everything from CRN lib\ext to WebSphere lib\ext (don't overwrite though, except when copying JCE 1.2.2)?
Title: Re: Configuring ReportNet
Post by: vin_j on 04 Aug 2005 11:13:14 AM
I did copy the JCE 1.2.2 jar file and also copied all the jar files from cognos\crn\bin\jre\1.3.1\lib\ext to WebSphere/AppServer/Java/Jre/1.3.1/lib/ext folder. Let me know how did u generate the CSK, encrypt and signkeypair keys. I deleted the initial keys as it was using Tomcat by default. And generated the new keys. Later generated the war file and deployed it. I guess there is some problem in cryptographic encryption.

ERROR CCL-CFG-0007 Failed to initialize the cryptographic encryption. The cryptographic configuration could be incorrect or missing some security components.

Please give me some idea yaar...

Thanks,
Vinod
Title: Re: Configuring ReportNet
Post by: Darek on 04 Aug 2005 11:14:39 AM
JCE 1.2.2 should have been copied last. Is this how you've executed?
Title: Re: Configuring ReportNet
Post by: vin_j on 04 Aug 2005 11:18:47 AM
I copied the JCE 1.2.2 file first and do you think that's going to affect the whole process.
Title: Re: Configuring ReportNet
Post by: Darek on 04 Aug 2005 12:03:47 PM
Yes. First you need to copy lib\ext from CRN's jre1.3.1. Than JCE 1.2.2 which you can obtain from Cognos or Sun.
Title: Re: Configuring ReportNet
Post by: vin_j on 05 Aug 2005 09:10:08 AM
I'm getting the same errors even after coping JCE 1.2.2 last. So the problem is something to do with keys being generated. Please let me know if you got any idea about the keys.

Thanks,
vinod
Title: Re: Configuring ReportNet
Post by: CoginAustin on 05 Aug 2005 10:43:12 AM
Make sure you also removed/moved JCE 1.2.1 from your /lib path. If you do not remove it, do not just rename it, it will not work and you will get the same error.
Title: Re: Configuring ReportNet
Post by: Darek on 05 Aug 2005 03:17:26 PM
Delete (safely, with a copy) csk, ncryptkeypair and signkeypair from configuration folder. One more question. When you enter Cognos Configuration is JAVA_HOME set to WebSphere's JRE?
Title: Re: Configuring ReportNet
Post by: Sweden on 07 Aug 2005 05:06:15 AM
Look for the JCE update as the 1.3 exipre 27th July

[Correction from moderator: it is JCE 1.2.1 that expires, needs to be updated with JCE 1.2.2]
Title: Re: Configuring ReportNet
Post by: lisaytan on 06 Sep 2005 12:41:16 AM
Hi cognosfreelancer,

I'm trying to configure the CRN 1.1MR2 with Weblogic 8.1 sp4, but got error for using the jdk comes with bea (I tried the jdk141 with WebSphere, had no problem, so I am puzzled) when starting the Cognos Configuration.Ã,  Could you please let me know the steps you took in configuration?Ã,  Thanks a lot!Ã,  Below is the copy of the execution and error message.

C:\Program Files\cognos\crn\bin>crconfig.bat -java:env
Found JAVA_HOME=C:\bea814\jdk142_05
Looking in: C:\bea814\jdk142_05\bin...
Using CLASSPATH: .;crconfig.jar;dom4j.jar;xercesImpl.jar;xml-apis.jar;cclcfgapi.
jar;jcam_crypto.jar;i18nj.jar;icu4j.jar;commons-httpclient.jar;CognosIPF.jar;log
4j-1.2.8.jar;jcam_jni.jar;xalan.jar
Using J_HOME:Ã,  Ã,  C:\bea814\jdk142_05
02/09/2005,13:31:22,Err,You cannot use Cognos Configuration because it requires
Java version 1.3.x
C:\Program Files\cognos\crn\bin>


Lisa
Title: Re: Configuring ReportNet
Post by: cognosfreelancer on 06 Sep 2005 07:54:04 AM
sshhhh! ;)

Please read the moderator's request to not name names when posting.

You are using the same version of JDK as I viz. 1.4.2 but what is the JHOME variable.

I do not use that.

NKT
Title: Re: Configuring ReportNet
Post by: lisaytan on 06 Sep 2005 09:10:28 AM
Glad to hear from you, the J_Home is set up in the crconfig.bat, it is assigned with the JAVA_HOME var.  Does this make difference?
Title: Re: Configuring ReportNet
Post by: Darek on 06 Sep 2005 09:40:09 AM
Did you copy Cognos EXT libraries to BEA EXT directory?
Title: Re: Configuring ReportNet
Post by: cognosfreelancer on 06 Sep 2005 09:45:06 AM
Lisa

Try adding the JRE folder to the JAVA_HOME variable

for e.g.

D:\Apps\jdk142_05\jre

NKT
Title: Re: Configuring ReportNet
Post by: lisaytan on 06 Sep 2005 10:40:59 AM
yes,

I did add the \ext jars to weblogic; also tried the java_home=c:\bea\jdk142_05\jre...

when I applied the same procedure to IBM jre, the Configuration wizard ran.

so where did I miss the setting? ??? and what is it
Title: Re: Configuring ReportNet
Post by: cognosfreelancer on 07 Sep 2005 09:42:28 AM
Lisa

You may have multiple java homes with the Path variable pointing first to the incorrect JVM location.

If possible please delete any other JDK folder or modify your path settings and then try running the Cognos Configuration

NKT