[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: CMR with foreign key as part of primary key : OK with 3.

2005-09-18 Thread tfk257
Hi Alex 
I have the same problem. I am using jboss 3.2.5. when I call the accessor 
getCharFieldType on the MessageTypeStaticFields local intefarce, i get the same 
exception as above post. Any clue

Below related portion of ejb-jar.xml

  |   Entity Bean ( CMP )
  |   MessageType
  |   MessageType
  |   
ae.comtrust.sdes.dexh.hubmanager.config.MessageTypeLocalHome
  |   
ae.comtrust.sdes.dexh.hubmanager.config.MessageTypeLocal
  |   
ae.comtrust.sdes.dexh.hubmanager.config.MessageTypeBean
  |   Container
  |   java.lang.Integer
  |   False
  |   2.x
  |   MessageType
  |   
  | strMessageName
  |   
  |   
  | strServiceName
  |   
  |   
  | numCustomerId
  |   
  |   
  | strSchemaLocation
  |   
  |   
  | strReplySchemaLoc
  |   
  |   
  | strStylesheetLocation
  |   
  |   
  | strConnectionAddress
  |   
  |   
  | numConnectionPort
  |   
  |   
  | numApplyCustomerRules
  |   
  |   
  | numMessageTypeID
  |   
  |   
  | numParentMessageID
  |   
  |   
  | numMessageClass
  |   
  |   
  | strReplyStylesheetLocation
  |   
  |   numMessageTypeID
  |   
  | sender-role
  | sender
  |   
  |   
  | 
  |   
  |   
  | 
  |   findAll
  |   
  | 
  | select object(o) from MessageType o
  |   
  |   
  | 
  |   findByMessageKeys
  |   
  | java.lang.String
  | java.lang.String
  | java.lang.String
  |   
  | 
  | select object(o) from MessageType o where o.strMessageName 
= ?1 AND o.strServiceName = ?2 AND o.numCustomerId = ?3
  |   
  | 
  | 
  |   Entity Bean ( CMP )
  |   MessageStaticFields
  |   MessageStaticFields
  |   
ae.comtrust.sdes.dexh.hubmanager.config.MessageStaticFieldsLocalHome
  |   
ae.comtrust.sdes.dexh.hubmanager.config.MessageStaticFieldsLocal
  |   
ae.comtrust.sdes.dexh.hubmanager.config.MessageStaticFieldsBean
  |   Container
  |   
ae.comtrust.sdes.dexh.hubmanager.config.MessageStaticFieldsPK
  |   False
  |   2.x
  |   MessageStaticFields
  |   
  | numMessageTypeId
  |   
  |   
  | strFieldName
  |   
  |   
  | strFieldValue
  |   
  |   
  | charFieldType
  |   
  |   
  | boolAppenToMsg
  |   
  |   
  | 
  |   findAll
  |   
  | 
  | select object(o) from MessageStaticFields o
  |   
  | 
  | 
  |   MessageType - 
MessageStaticFields
  |   
  | Each message type has one or more 
static fields
  | One
  | 
  |   MessageType
  | 
  | 
  |   messageStaticFields
  |   java.util.Collection
  | 
  |   
  |   
  | Each static field belongs to only one 
MessageType
  | Many
  | 
  |   MessageStaticFields
  | 
  |   
  | 
  | 

below is related portion of jbosscmp-jdbc.xml


  | 
  | MessageType
  | true
  | 
  | on-find
  | 200
  | *
  | 
  | T_MESSAGE_TYPE
  | 
  | numMessageTypeID
  | NUM_MESSAGE_TYPE_ID
  | 
  | 
  | strMessageName
  | STR_MESSAGE_NAME
  | 
  | 
  | strServiceName
  | STR_SERVICE_NAME
  | 
  | 
  | numCustomerId
  | NUM_CUSTOMER_ID
  | 
  | 
  | strSchemaLocation
  | STR_SCHEMA_LOCATION
  | 
  | 
  | strReplySchemaLoc
  | STR_REPLY_SCHEMA_LOC
  | 
  | 
  | strStylesheetLocation
  | STR_STYLESHEET_LOCATION
  | 
  | 
  | strConnectionAddress
  | STR_CONNECTION_ADDRESS
  | 
  | 
  | numConnectionPort
  | NUM_CONNECTION_PORT
  | 
  | 
  | numApplyCustomerRules
  | BOOLEAN_APPLY_CUSTOMER_RULES
  | 
  | 
  | numParentMessageID
  | NUM_PARENT_MESSAGE_ID
  | 
  | 
  | numMessageClass
  | NUM_MESSAGE_TYPE
  | 
  | 
  | strReplyStylesheetLocation
  | STR_REPLY_STYLESHEET_LOCATION
  | 
  | 

[JBoss-user] [Security & JAAS/JBoss] - Re: JbossSecurityMgrRealm problem in Jboss 3.2.4-tomcat 5.0.

2004-08-03 Thread tfk257
In addition to the above,

I have upgraded to JBOSS 3.2.5-tomcat 5.0.26. still can't find where to configure for 
the certificate principal mapping class in the JbossSecurityMgrRealm. knowing that 
JbossSecurityMgrRealm is hard coded and there is no way to replace it with other 
realm. and you can revise the code of the TomcatDeployer Class. It creats a 
JbossSecurityMgrRealm object and associates it with every web application deploed on 
JBOSS.

Now what I need is to configure the JbossSecurityMgrRealm  for different certificate 
mapping class.

CAN ANYBODY HELP!!!

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JbossSecurityMgrRealm problem in Jboss 3.2.4-tomcat 5.0.

2004-08-02 Thread tfk257
Thanks cbrettin for your reply,

But I cannot find any configuration in the server.xml for the Certificate Principal.

Can you please post a copy of the server.xml that has configuration for the 
CertificatePrincipal.

Thanks again

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JbossSecurityMgrRealm problem in Jboss 3.2.4-tomcat 5.0.

2004-06-28 Thread tfk257
Thanks for the reply


but how to change the subject mapping class?

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JbossSecurityMgrRealm problem in Jboss 3.2.4-tomcat 5.0.

2004-06-22 Thread tfk257
Plz I need a reply. in order to migrate to Jboss 3.2.4

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - JbossSecurityMgrRealm problem in Jboss 3.2.4-tomcat 5.0.26

2004-06-15 Thread tfk257
I have Jboss 3.2.4-tomcat 5.0.26 I am trying to secure my web app with CLIENT-CERT. 
The problem is that JbossSecurityMgrRealm is the default security manager realm in the 
embeded tomcat and it cannot be overriden. 
It creates the principal of type sun.security.X509.X500Name type. This type is not 
serializable and when the prinicpal is propagated to the EJB container. 
Java.io.NotSerializable Exception is thrown

How can I handle this?

Please Help

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

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


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: on-find strategy not working

2004-06-05 Thread tfk257
Thanks for the reply, but this does not seem logic for me. I want to make the entity 
as read only and does not participate in a transaction. In the mean time I want to 
optimize the loading, 

isn't that possible?

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - on-find strategy not working

2004-06-05 Thread tfk257
I hava an enity bean named MessageType. I have configuered it in the jbosscmp-jdbc.xml 
with the read-ahead strategy on-find. with page-size=20. 
when the findAll method is called all the n+1 standard queres are executed.
the confinguartion in jbosscmp-jdbc.xml is as follows:

MessageType
true

on-find
20
*

T_MESSAGE_TYPE

numMessageTypeID
NUM_MESSAGE_TYPE_ID


strMessageName
STR_MESSAGE_NAME


strServiceName
STR_SERVICE_NAME


numCustomerId
NUM_CUSTOMER_ID


strSchemaLocation
STR_SCHEMA_LOCATION


strReplySchemaLoc
STR_REPLY_SCHEMA_LOC


strStylesheetLocation
STR_STYLESHEET_LOCATION


strConnectionAddress
STR_CONNECTION_ADDRESS


numConnectionPort
NUM_CONNECTION_PORT


numApplyCustomerRules
BOOLEAN_APPLY_CUSTOMER_RULES


numParentMessageID
NUM_PARENT_MESSAGE_ID


numMessageType
NUM_MESSAGE_TYPE



and the logs after making the call to findAll as follows:
2004-06-05 12:02:11,519 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.MessageType#findAll] Executing SQL: 
SELECT t0_o.NUM_MESSAGE_TYPE_ID, t0_o.STR_MESSAGE_NAME, t0_o.STR_SERVICE_NAME, 
t0_o.NUM_CUSTOMER_ID, t0_o.STR_SCHEMA_LOCATION, t0_o.STR_REPLY_SCHEMA_LOC, 
t0_o.STR_STYLESHEET_LOCATION, t0_o.STR_CONNECTION_ADDRESS, t0_o.NUM_CONNECTION_PORT, 
t0_o.BOOLEAN_APPLY_CUSTOMER_RULES, t0_o.NUM_MESSAGE_TYPE_ID, 
t0_o.NUM_PARENT_MESSAGE_ID, t0_o.NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE t0_o
2004-06-05 12:02:11,753 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE WHERE (NUM_MESSAGE_TYPE_ID=?)
2004-06-05 12:02:12,222 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE WHERE (NUM_MESSAGE_TYPE_ID=?)
2004-06-05 12:02:12,269 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE WHERE (NUM_MESSAGE_TYPE_ID=?)
2004-06-05 12:02:12,550 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE WHERE (NUM_MESSAGE_TYPE_ID=?)
2004-06-05 12:02:12,597 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE WHERE (NUM_MESSAGE_TYPE_ID=?)
2004-06-05 12:02:12,644 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE WHERE (NUM_MESSAGE_TYPE_ID=?)
2004-06-05 12:02:12,722 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.MessageType] Executing SQL: 
SELECT STR_MESSAGE_NAME, STR_SERVICE_NAME, NUM_CUSTOMER_ID, STR_SCHEMA_LOCATION, 
STR_REPLY_SCHEMA_LOC, STR_STYLESHEET_LOCATION, STR_CONNECTION_ADDRESS, 
NUM_CONNECTION_PORT, BOOLEAN_APPLY_CUSTOMER_RULES, NUM_PARENT_MESSAGE_ID, 
NUM_MESSAGE_TYPE FROM T_MESSAGE_TYPE 

[JBoss-user] [Security & JAAS/JBoss] - SSL Truststore Configuration - Jboss 3.2.3-tomcat 4.1.29

2004-04-19 Thread tfk257
I am using JBOSS 3.2.3-tomcat 4.1.29

I have 2 questions:
1- How can I configure the app server to use a specific truststore?

2- How do I get the user credentials in a servlet in my application?

PLEASE I NEED HELP 

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user