[JBoss-user] [Management, JMX/JBoss] - SSL And RMI Configuration

2005-02-28 Thread sanjewad
Hi
I am using Jboss4.0 and when I Configure accodring to Chap8/Ex4 in the docs I 
get the following error.
Please convince me how to correct it.


MBeans waiting for other MBeans:
ObjectName: jboss.security:domain=RMI+SSL,service=JaasSecurityDomain
 state: CREATED
 I Depend On:
 Depends On Me:  jboss:service=invoker,socketType=SSL,type=jrmp

ObjectName: jboss:service=invoker,socketType=SSL,type=jrmp
 state: CREATED
 I Depend On:  jboss.security:domain=RMI+SSL,service=JaasSecurityDomain

 Depends On Me:

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.security:domain=RMI+SSL,service=JaasSecurityDomain
 state: CREATED
 I Depend On:


 Depends On Me:  jboss:service=invoker,socketType=SSL,type=jrmp

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868152#3868152

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868152


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - SSL + RMI Deplyment Error

2005-02-28 Thread sanjewad
I have configured EJB+SSL setup according the chap8/ex4. I am using Jboss 4.0 
and Stateless Session bean for example 
These are the files I have made entries 
JBoss.xml
-
?xml version=1.0 encoding=UTF-8?
!DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS//EN 
http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd;

enterprise-beans

ejb-nameEchoBean/ejb-name
configuration-nameStandard Stateless 
SessionBean/configuration-name
invoker-bindings


invoker-proxy-binding-namestateless-ssl-invoker/invoker-proxy-binding-name

/invoker-bindings

/enterprise-beans

invoker-proxy-bindings
invoker-proxy-binding
stateless-ssl-invoker

invoker-mbeanjboss:service=invoker,type=jrmp,socketType=SSL/invoker-mbean
proxy-factoryorg.jboss.proxy.ejb.ProxyFactory/proxy-factory
proxy-factory-config
client-interceptors

org.jboss.proxy.ejb.HomeInterceptor
org.jboss.proxy.SecurityInterceptor
org.jboss.proxy.TransactionInterceptor
org.jboss.invocation.InvokerInterceptor


org.jboss.proxy.ejb.StatelessSessionInterceptor
org.jboss.proxy.SecurityInterceptor
org.jboss.proxy.TransactionInterceptor
org.jboss.invocation.InvokerInterceptor

/client-interceptors
/proxy-factory-config
/invoker-proxy-binding
/invoker-proxy-bindings


and my Jboss-Service.xml 
 
!-- The SSL domain setup --
  

   

H:\JBoss4.0\bin\chap8.keystore
rmi+ssl
  

  
14445

  org.jboss.security.ssl.RMISSLClientSocketFactory


  org.jboss.security.ssl.RMISSLServerSocketFactory

java:/jaas/RMI+SSL
jboss.security:service=JaasSecurityDomain,domain=RMI+SSL
  

but I get the following Error. 

12:01:12,348 ERROR [StatelessSessionContainer] Starting failed 
jboss.j2ee:jndiNa 
me=EchoBean,service=EJB 
java.lang.RuntimeException: invoker is null: 
jboss:service=invoker,socketType=SS 
L,type=jrmp 
at org.jboss.proxy.ejb.ProxyFactory.setupInvokers(ProxyFactory.java:241) 

at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:225) 
at org.jboss.ejb.SessionContainer.startInvokers(SessionContainer.java:42 
1) 
at org.jboss.ejb.SessionContainer.startService(SessionContainer.java:383 
) 
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS 
upport.java:271) 
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB 
eanSupport.java:221) 
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces 
sorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:324) 
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch 
er.java:141) 
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) 
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. 
java:242) 
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) 
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl 
ler.java:891) 
at $Proxy0.start(Unknown Source) 
at org.jboss.system.ServiceController.start(ServiceController.java:416) 
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces 
sorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:324) 
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch 
er.java:141) 
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) 
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. 
java:242) 
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) 
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) 
at $Proxy45.start(Unknown Source) 
at org.jboss.ejb.EjbModule.startService(EjbModule.java:394) 
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS 
upport.java:271) 
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB 
eanSupport.java:221) 
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces 
sorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:324) 
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch 
er.java:141) 
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) 
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. 
java:242) 
at 

[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.3 configured for SSL, gets error

2005-02-28 Thread sanjewad
did you find out the solution?. I am having the same issue here.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868313#3868313

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868313


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: RMI+SSL Invoker bug in jboss 3.2.1?

2005-02-28 Thread sanjewad
Please send me the example you got it working. I am still having problem with 
RMI+SSL setup for JBoss 3.2.6

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868315#3868315

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868315


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - SSL EJB Deployment Error

2005-02-27 Thread sanjewad
I have configured EJB+SSL setup according the chap8/ex4. I am using Jboss 4.0 
and Stateless Session bean for example
These are the files I have made entries
Jboss-Service.xml
--


   

H:\JBoss4.0\bin\chap8.keystore
rmi+ssl
  

  
14445

  org.jboss.security.ssl.RMISSLClientSocketFactory


  org.jboss.security.ssl.RMISSLServerSocketFactory

java:/jaas/RMI+SSL
jboss.security:service=JaasSecurityDomain,domain=RMI+SSL
  

and my Jboss.xml

?xml version=1.0 encoding=UTF-8?
!DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS//EN 
http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd;

   enterprise-beans
  
 ejb-nameEchoBean/ejb-name
 configuration-nameStandard Stateless SessionBean/configuration-name
 invoker-bindings

   
invoker-proxy-binding-namestateless-ssl-invoker/invoker-proxy-binding-name

 /invoker-bindings
  
   /enterprise-beans

   invoker-proxy-bindings
  invoker-proxy-binding
 stateless-ssl-invoker
 
invoker-mbeanjboss:service=invoker,type=jrmp,socketType=SSL/invoker-mbean
 proxy-factoryorg.jboss.proxy.ejb.ProxyFactory/proxy-factory
 proxy-factory-config
client-interceptors
   
  org.jboss.proxy.ejb.HomeInterceptor
  org.jboss.proxy.SecurityInterceptor
  org.jboss.proxy.TransactionInterceptor
  org.jboss.invocation.InvokerInterceptor
   
   
  org.jboss.proxy.ejb.StatelessSessionInterceptor
  org.jboss.proxy.SecurityInterceptor
  org.jboss.proxy.TransactionInterceptor
  org.jboss.invocation.InvokerInterceptor
   
/client-interceptors
 /proxy-factory-config
  /invoker-proxy-binding
   /invoker-proxy-bindings

 
 but I get the following Error.

12:01:12,348 ERROR [StatelessSessionContainer] Starting failed jboss.j2ee:jndiNa
me=EchoBean,service=EJB
java.lang.RuntimeException: invoker is null: jboss:service=invoker,socketType=SS
L,type=jrmp
at org.jboss.proxy.ejb.ProxyFactory.setupInvokers(ProxyFactory.java:241)

at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:225)
at org.jboss.ejb.SessionContainer.startInvokers(SessionContainer.java:42
1)
at org.jboss.ejb.SessionContainer.startService(SessionContainer.java:383
)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:271)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy45.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:394)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:271)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 

[JBoss-user] [Security JAAS/JBoss] - Re: How to Use Custom Login

2004-10-28 Thread sanjewad
I referred JAAS and it doen not tell anything abou web page controls.
Can you direct me the link you referred please? 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3853220#3853220

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853220


---
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins003001msi/direct/01/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - How to Use Custom Login

2004-10-17 Thread sanjewad
Hi
We are developing a J2EE application with Struts and EJB. We need to customize our web 
pages(Enable/Diasable) depending on the user login.
What is the most appropriate way to do this.


I was planning to define users into Groups/Levels/Roles. When the user logins it 
checks for these 3 options. Depending on this the initial Web Page(most probably the 
Menu page) will be loaded with enable/disable features. When it drill down to EJB 
level it will have only the roles only.

Is there a way to write a custom login module to support this feature?.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851682#3851682

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851682


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - getEJBLocalObject

2004-06-13 Thread sanjewad
Hi I am using JBoss 3.2.3 and I have written a proxy class to invoke ejb methods.

public Object invoke(Object ejbObjectName, String methodName, Object[] parms)
Iam invoking the method above because I have the Localobject with me when I call the 
invoke method.

my parms include LocalObject parameter types as well.
implementation inside the invoke method says 

 Class[] parmClass = new Class[parms.length];
for (int i=0;iparms.length;i++)
parmClass=parms.getClass();

but it does not covert to real type because it returns a proxy class.
how can I get the actual EJBLocalObject cladd from the parm object.

---
invoke methos is here.

 public Object invoke(Object ejbObjectName, String methodName, Object[] parms){
Object result = null;
try {
Class[] parmClass = new Class[parms.length];
for (int i=0;iparms.length;i++)
parmClass=parms.getClass();

//System.out.println(parms.);
Method bizMethod = 
ejbObjectName.getClass().getMethod(methodName,parmClass);

/*Now call the desired method on it
 */   
result = bizMethod.invoke(ejbObjectName, parms);
} catch (Exception e) {
System.err.println(Caught an exception in invoke method.);
}
return result;
}

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838602#3838602

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838602


---
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] [Messaging, JMS JBossMQ] - MDB Transaction Problem

2004-06-07 Thread sanjewad
Hi 
I am using JBoss 3.2.3 and I have a MDB which calls up a Entity Bean inside onMessage 
event.
When I execute it works fine but I get the following exception from AS.

11:38:06,777 WARN  [TxConnectionManager] Prepare called on a local tx. Use of 
local transactions on a jta transaction with more than one branch may result in 
inconsistent data in some cases of failure.

Can you figure this out for me please?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837709#3837709

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837709


---
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] [Messaging, JMS JBossMQ] - Re: MDB Transaction Problem

2004-06-07 Thread sanjewad
I have read your FAQ. I am using both JDBC and JMS.
I am using Oracle 9i as the backend. Is there a fix for this?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837884#3837884

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837884


---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBoss 3.2.3 XAER_RMERR Problem

2004-06-07 Thread sanjewad
Hi
I am using JBoss 3.2.3 and I have a MDB which calls up some entity beans Home and 
Business methods.
onMessage use both JMS and JDBC transactions and I have configured my Oracle-XA-Ds to 
handle transactions.
I have lokked at the previos forums relevant to this post and set the settings 
accordingly.
But still I get the following exception.

10:22:32,415 WARN  [TransactionImpl] XAException: tx=TransactionImpl:XidImpl [Fo
rmatId=257, GlobalId=sanjeewad//33, BranchQual=] errorCode=XAER_RMERR
oracle.jdbc.xa.OracleXAException
at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157
)
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:29
5)
at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManage
dConnection.java:143)
at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1148)

at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:636)

at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnection
EventListener.enlist(TxConnectionManager.java:455)
at org.jboss.resource.connectionmanager.TxConnectionManager.managedConne
ctionReconnected(TxConnectionManager.java:343)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC
onnection(BaseConnectionManager2.java:483)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio
nManagerProxy.allocateConnection(BaseConnectionManager2.java:814)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp
erDataSource.java:102)
at org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPasswor
d(DatabaseServerLoginModule.java:96)
at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(Usernam
ePasswordLoginModule.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:1
29)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java
:607)
at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecur
ityManager.java:487)
at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecur
ityManager.java:442)
at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityMa
nager.java:244)
at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityMa
nager.java:219)
at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(Se
curityInterceptor.java:160)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityIntercep
tor.java:81)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:1
20)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyF
actoryFinderInterceptor.java:93)
at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java
:483)
at org.jboss.ejb.Container.invoke(Container.java:720)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLoca
lProxyFactory.java:293)
at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java
:110)
at $Proxy37.findByPrimaryKey(Unknown Source)
at lk.informatics.avabill.businessmodel.creditcontrol.processpendingserv
iceaction.ProcessPendingServiceActionMDB.onMessage(ProcessPendingServiceActionMD
B.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(Mess
ageDrivenContainer.java:460)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
ke(CachedConnectionInterceptor.java:185)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(Message
DrivenInstanceInterceptor.java:62)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:84)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:267)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
28) at 

[JBoss-user] [Messaging, JMS JBossMQ] - JMS Security Configuration

2004-06-03 Thread sanjewad
Hi

I am using JBoss 3.2.3 and I have created a Queue called pendingServiceActionQueue.
PendingServiceActionListener(Which is a MDB) will listen to this queue and on Message 
I need to call up some EJB which has security enabled.

I have configure JBossMQ to deal with Database Security as shown below.

application-policy name = jbossmq
   
  login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule
 flag = required
 module-option name = unauthenticatedIdentityguest/module-option
 module-option name = dsJndiNamejava:/OracleDS/module-option
 module-option name = principalsQueryselect password from 
user_principal where user_name=?
/module-option
 module-option name = rolesQueryselect user_role, 'Roles' from 
user_principal_role where user_name=?
/module-option
  /login-module
   
/application-policy

my Queue configuration in jbossmq-destinations-service.xml is shown as


depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager
depends optional-attribute-name=SecurityManagerjboss.mq:service=SecurityManager
   
  



  

  

my JBoss.xml 

?xml version=1.0 encoding=UTF-8?
!DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS//EN 
http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd;

security-domainjava:/jaas/WrapperDatabaseDomain/security-domain
enterprise-beans
message-driven
ejb-namePendingServiceActionListener/ejb-name

destination-jndi-namequeue/pendingServiceActionQueue/destination-jndi-name
resource-ref
res-ref-nameUIL2ConnectionFactory/res-ref-name
jndi-nameUIL2ConnectionFactory/jndi-name
/resource-ref
/message-driven
/enterprise-beans


But when I deploy the MDB I get the following error.

Connection not authorized to subscribe to destination: pendingServiceActionQueue

please try to resolve this if you could.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837330#3837330

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837330


---
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] [Messaging, JMS JBossMQ] - JMS Security Configuration

2004-06-03 Thread sanjewad
Hi

I am using JBoss 3.2.3 and I have created a Queue called pendingServiceActionQueue.
PendingServiceActionListener(Which is a MDB) will listen to this queue and on Message 
I need to call up some EJB which has security enabled.

I have configure JBossMQ to deal with Database Security as shown below.

application-policy name = jbossmq
   
  login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule
 flag = required
 module-option name = unauthenticatedIdentityguest/module-option
 module-option name = dsJndiNamejava:/OracleDS/module-option
 module-option name = principalsQueryselect password from 
user_principal where user_name=?
/module-option
 module-option name = rolesQueryselect user_role, 'Roles' from 
user_principal_role where user_name=?
/module-option
  /login-module
   
/application-policy

my Queue configuration in jbossmq-destinations-service.xml is shown as


depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager
depends optional-attribute-name=SecurityManagerjboss.mq:service=SecurityManager
   
  



  

  

my JBoss.xml 

?xml version=1.0 encoding=UTF-8?
!DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS//EN 
http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd;

security-domainjava:/jaas/WrapperDatabaseDomain/security-domain
enterprise-beans
message-driven
ejb-namePendingServiceActionListener/ejb-name

destination-jndi-namequeue/pendingServiceActionQueue/destination-jndi-name
resource-ref
res-ref-nameUIL2ConnectionFactory/res-ref-name
jndi-nameUIL2ConnectionFactory/jndi-name
/resource-ref
/message-driven
/enterprise-beans


But when I deploy the MDB I get the following error.

Connection not authorized to subscribe to destination: pendingServiceActionQueue

please try to resolve this if you could.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837332#3837332

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837332


---
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] [Messaging, JMS JBossMQ] - MDB accessing security credentials

2004-06-03 Thread sanjewad
Hi
I am using JBo22 3.2.3 and inside my MDB there are other EJBs with security 
authenticated.
My question is how Do I pass the user credentials to those EJBs running inside the MDB 
from client side.
I am using a queue for this example.
I tried with JBossMQ Database Configuration but it fails.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837343#3837343

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837343


---
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] [Messaging, JMS JBossMQ] - Re: MDB accessing security credentials

2004-06-03 Thread sanjewad
You mean Do I have to do

String username=test;
String password = test;
System.setProperty(java.security.auth.login.config, 
file:/C:/jboss-3.2.3/client/auth.conf);
SecurityAssociationHandler handler = new SecurityAssociationHandler();
SimplePrincipal user = new SimplePrincipal(username);
handler.setSecurityInfo(user, password.toCharArray());
LoginContext loginContext = new LoginContext(other, 
(CallbackHandler)handler);
loginContext.login();
Subject subject = loginContext.getSubject();
Set principals = subject.getPrincipals();
principals.add(user);
 Hashtable hs = new Hashtable();
 hs.put(java.naming.factory.initial, 
org.jnp.interfaces.NamingContextFactory);
hs.put(java.naming.factory.url.pkgs, 
org.jboss.naming:org.jnp.interfaces);
hs.put(java.naming.provider.url, localhost + :1099);


and then  look up the queue and send the message?.

I tried this and it does not seem that EJB inside MDB is getting this credentials.
Please help me .
  

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837490#3837490

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837490


---
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] [Messaging, JMS JBossMQ] - Re: I need help with JMS and Oracle Trigger in JBoss 3.2.2 R

2004-03-30 Thread sanjewad
Hi
We have the exact problem. Did you find a solution to this? 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3828266#3828266

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3828266


---
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=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Start Sending Messages on Database Trigger

2004-03-24 Thread sanjewad
We are developing a telecom product using EJB. We need to start updating our Objects 
based on the output coming out of the Telco Switch.

Currently the output from the Telco Switch writes to legacy tables and fires a triiger 
to update the relevant tables.

Can I do the a similar scenario using JMS and MDB. I do not have any problem of 
updating Objects through MDB. What I need to know is how to instantiate the message 
depending on the Leagcy Table change from Telco Switch.
Do I need to write a Java Thread that keeps listening to Table or Java Procedure which 
runs inside Database can invoke a JMS entry?
Your suggestions are welcome.  

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827346#3827346;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827346Reply 
to the post/a


---
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=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Start Sending Messages on Database Trigger

2004-03-24 Thread sanjewad
We are developing a telecom product using EJB. We need to start updating our Objects 
based on the output coming out of the Telco Switch.

Currently the output from the Telco Switch writes to legacy tables and fires a triiger 
to update the relevant tables.

Can I do a similar scenario using JMS and MDB. I do not have any problem of updating 
Objects through MDB?. What I need to know is how to instantiate the message depending 
on the Leagcy Table change from Telco Switch.
Do I need to write a Java Thread that keeps listening to Table or

Java Procedure which runs inside Database can invoke a JMS entry?

Your suggestions are welcome.  

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827347#3827347;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827347Reply 
to the post/a


---
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=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - SSL in JBoss 3.2.2 and Tomcat

2004-02-13 Thread sanjewad
View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3821363#3821363

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821363

Hi 

I need to setup SSL in JBoss 3.2.2/Tomcat to enable HTTPS.

Can anybody list down a step by step process that I should follow.



I went through JBoss 3.2 documentation and it is not working for me.



Your help is appreciated.



  


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user