Candibiotic
News Update :

English Premier League

Bundesliga

La Liga

Showing posts with label JCAPS. Show all posts
Showing posts with label JCAPS. Show all posts

eDesigner in Debug Mode

Saturday, April 11, 2009

Navigate to Path where eDesigner is extracted on the system:

example: X:\JCAPS513\edesigner\bin

open the runed.bat file and search for the text contains

-J-Drun.mode=run - change it to : J-Drun.mode=debug
Edit the log forj.properties at the same location and search for log4j.rootLogger= ERROR
Change it from ERROR to DEBUG.

Restart your IDE

You can find the log file in - X:\JCAPS513\edesigner\usrdir\system\ide.log

Ask JCAPS Question

Thursday, March 26, 2009

Ask JCAPS related questions.
Post questions as comments or mail them at guptavinayak@gmail.com

jcaps command line build process

Wednesday, March 25, 2009

Prerequisites:

1] Ant 1.6 onwards
2] JDK 1.4 onwards
3] ANT_HOME setup
4] JAVA_HOME setup

Steps to do build from command line

1] Download “CommandLineCodeGen” from repository and extract it at the level of emanager and logicalhost.
2] Go to commandlinegen location on local machine (X:\JavaCAPS513\commandlinecodegen\commandlinecodegen)
3] Edit build.properties for appropriate changes of repository, username, password, projectname and deployment profile name etc.

commandline.rep.url=http://localhost:12000/REPOSITORY
commandline.rep.user=Administrator
commandline.rep.pass=STC
commandline.rep.dir=localrepository
commandline.rep.projectName=prjSample
commandline.rep.projectDeployName=dpSample
commandline.rep.projectDeploymentTag=
commandline.rep.projectBranchName=
commandline.esr.select=
commandline.esr.ignore=


4] execute “ant –propertyfile build.properties” from same prompt.
5] Build is done and ear files gets created / updated at following location
“X:\JavaCAPS513\commandlinecodegen\commandlinecodegen\localrepository\DEST\builds\”

JCAPS - JMSSecurityException

Sunday, March 8, 2009

JCAPS 6 issue - JMSSecurityException

Problem: Application working in JCAPS 5.1.3 but not in JCAPS 6.0, due to JMSSecurityException (client authentication fails due to an invalid user name or password)

For more details:

http://java.sun.com/j2ee/1.4/docs/api/javax/jms/JMSSecurityException.html

JCAPS 5.1.3 did not require this authentication, but JCAPS 6 requires this authentication.

Solution: We need to provide the username and password, while making the queue connection.

For more details:

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/uj29800_.htm

Example:

QueueConnectionFactory qcf = (QueueConnectionFactory) jndi.lookup("connectionfactories/queueconnectionfactory");

connection = qcf.createQueueConnection("admin","adminadmin");

connection.start();



Build and Deploy , the Application will run.



Football News

 

© Copyright Vinayak Wins 2010 -2011 | Design by Herdiansyah Hamzah | Published by Borneo Templates | Powered by Blogger.com.