[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Why unable to get client certificate serial number?

2006-06-26 Thread shmu80
I am using mod_jk 1.2 with JBoss bundle and Apache2.
I am follow the instruction from JBoss wiki 
http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss, and it 
workable.
However, the problem which I meet now is I am not able to get the Client Cert's 
serial number from my Java code. It return "Object was null".

My code
--
Object o = request.getAttribute("javax.servlet.request.X509Certificate");
if (o != null) {
X509Certificate certs[] = (X509Certificate[])o;
X509Certificate cert = certs[0];

//Get the Serial Number of the digital certs.
serialNumBig = cert.getSerialNumber();
serialNum = serialNumBig.intValue();
System.out.println("Serial Number: "+ serialNum);
} else {
System.out.println("Object was null.");
}
---

I try to get configure SSL enable in JBoss without link and using with Apache2. 
It able to get the Client Cert's serial number.

May I know which part I had miss out? Anybody able to give me some advice?

Thank you.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953617#3953617

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953617

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - How to move Tomcat Project into JBoss AS?

2006-05-16 Thread shmu80
Hi,

May I know who able to give me some advice that how to move a Tomcat Project 
which I develop in Tomcat AS 5.0 into JBoss 4.0.4?

Thank you.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943724#3943724

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943724


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - How to Create XADatasource in JBoss?

2006-05-04 Thread shmu80
I need to create XADataSource in JBoss, so that my transaction able to support 
2 phases submission.

Below is my code in oracle-ds.xml, but I still meet some problem with the code 
below:

XAHostOracleDS
jdbc:oracle:thin:@10.10.0.24:1521:testing  
 

org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl
   
testing
testing


May I know anybody can give me some suggestion of this code? May I know 
anything else should I do in my java code? Is it the code is similar with the 
non XADatasource lookup?

Thank you.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941202#3941202

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941202


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user