Tuesday, March 26, 2013

Josso 1.8.6 + Tomcat 7.0 setup

The setup itself is quite straight forward.
1. Install the Gateway
Refer to http://www.josso.org/confluence/display/JOSSO1/Install+JOSSO+Gateway+-+Tomcat+7.0
Details:
Start Josso Deployment Console and type :
gateway install --target d:/apache-tomcat-7.0.37 --platform tc70

2. Install the Agent
Refer to www.josso.org/confluence/display/JOSSO1/Setup+JOSSO+Agent+-+Tomcat+7.0
Details:
On Josso Deployment Console type :
agent install --target d:/apache-tomcat-7.0.37 --platform tc70

3. Install the sample
Refer to http://www.josso.org/confluence/display/JOSSO1/Quick+Start
Details:
On Josso Deployment Console type :
samples install --target d:/apache-tomcat-7.0.37 --platform tc70

4. Start tomcat

5. Open web browser and access to http://localhost:8080/partnerapp
Try to login (see josso-credentials.xml in tomcat/lib folder for the username and passwd)


If you get the following error message :
HTTP 500 Outbound relaying failed. No Principal found. Verify your SSO Agent Configuration!

java.lang.RuntimeException: Outbound relaying failed. No Principal found. Verify your SSO Agent Configuration!
org.josso.tc70.agent.SSOAgentValve.invoke(SSOAgentValve.java:549)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:619) 

for windows:
- Edit  setenv.bat in tomcat/bin folder to include the following
set JAVA_OPTS= -Djava.security.auth.login.config=c:/kus/softwares/apache-tomcat-7.0.37/conf/jaas.conf

or for centos:
( Refer to http://russdavidson.blogspot.com/2010/09/installing-josso-on-tomcat-6-and-centos.html )
- Edit /etc/tomcat6/tomcat6.conf to include the following
JAVA_OPTS="$JAVA_OPTS -Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas.conf"



Wednesday, October 31, 2007

scrapbook (related to PCOMM)

For Personal Communications, the host name must be the name of an existing .ws profile. Normally the .ws profile files are found in the private subdirectory of the Personal Communications install directory.
Personal Communications supports ActiveX/OLE 2.0-compliant containers such as Lotus Notes(R), Lotus WordPro, and Microsoft Word.
If you are interested in writing an application that includes Personal Communications as an object within your ActiveX/OLE 2.0 compliant program, refer to the Host Access Class Library (HACL) programming manual.

References:
http://www4.devon.gov.uk/connect/en/doc/beans/ActiveX.html
http://publib.boulder.ibm.com/infocenter/pcomhelp/v5r9/index.jsp?topic=/com.ibm.pcomm.doc/books/html/quick_beginnings05.htm

Monday, June 18, 2007

links of online books

Thinking in Java (3rd Edition) by Bruce Eckel http://www.mindview.net/Books/TIJ/

Friday, June 02, 2006

TeX on Mac OS X

am installing TeX on my iBook ^^
yeah.. luv my iBook G4 a lot.. it's lighter than my pervious laptop (NEC Versa M400), well the first reason why I bought iBook coz my previous laptop is broken (I had to change the motherboard) so... I decided to buy a new one. My sis recommended iBook G4, coz her friend has one and the price is affordable. And here I am listening to iTune radio ;)

oh rite.. I was going to write links for myself :d gonna print and read it up tmrw

TeX on Mac OS X : http://ii2.sourceforge.net/tex-index.html

Tex formatting information (for beginner) : http://www.tug.org/tex-archive/info/beginlatex/html/preface.html#preface

Thursday, March 02, 2006

my scrapbook before interim poster presentation ;p

Notes To reduce the effect of a noisy image on the operator output, a smoothing operator (a Gaussian blur, for example) is often applied prior to the Laplacian operator. Blurring is a process of averaging a point with its neighbors. Gaussian G_sigma(x) = (1/ sqrt(2 PI) sigma) e^(-x^2 / 2 sigma^2) Here sigma represents the standard deviation. Increasing sigma makes the shape of the Gaussian shorter and wider without changing the area under the curve (the area under G(x) is always 1). When convolved with another function, larger values of sigma provide a stronger blur. References: (accessed date:March 2, 2006) Image Processing http://www.reed.edu/~nobles/thesis/node3.html Gradient Based Method (edge detection http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/MARSHALL/node28.html