[JBoss-user] [Installation Configuration] - database password

2004-06-01 Thread darlan
Hi everyone,

how can I modify the database password definition in datasource descriptor file? Its 
possible?

Im using JBoss 3.2.3.

  local-tx-datasource
  | jndi-nameABCPool/jndi-name
  | connection-url![CDATA[jdbc:inetdae7:localhost]]/connection-url
  | driver-classcom.inet.tds.TdsDriver/driver-class
  | user-nameusername/user-name
  | passwordpassword/password
  | min-pool-size5/min-pool-size
  | max-pool-size10/max-pool-size
  |   /local-tx-datasource

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

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



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149alloc_id?66op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: database password

2004-06-01 Thread darlan
So sorry!

I want encrypt the database password in datasource descriptor file. The Weblogic is 
using DES algorithm when read/write this configuration. Is it possible in JBoss 3.2.3?

config.xml (Weblogic)

  | JDBCConnectionPool 
  |   DriverName=oracle.jdbc.driver.OracleDriver
  |   Name=ABCPool 
  |   Password={3DES}fj6F1OXDk84=
  |   Properties=user=usr_abc 
  |   Targets=server1
  |   TestTableName=SQL SELECT 1 FROM DUAL 
  |   URL=jdbc:oracle:thin:@localhost:1521:ORCL/

Darlan

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

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



---
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] [Installation Configuration] - Crypto password in datasource definition

2004-05-25 Thread darlan
Hello everyone!

How can I do crypto the default password used when creating a new connection in 
\server\default\deploy\datasource-ds.xml? In Weblogic, for example, this password is 
crypto with DES. It is possible in JBoss? How?

JBoss 3.2.3:
  |   local-tx-datasource
  | jndi-nameABCPool/jndi-name
  | connection-url![CDATA[jdbcurl]]/connection-url
  | driver-classjdbcdriver/driver-class
  | user-nameusername/user-name
  | passwordpasspassword/password
  | min-pool-size5/min-pool-size
  | max-pool-size10/max-pool-size
  |   /local-tx-datasource

Weblogic 8.x:
  | JDBCConnectionPool
  | DriverName=jdbcdriver
  | InitialCapacity=5
  | MaxCapacity=10
  | Name=ABCPool
  | Password={3DES}Hgic0hzV/vgKH7shMCkHqw==
  | Properties=user=username
  | Targets=domain
  | URL=jdbcurl/

Thanks for any help!

Darlan

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

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



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Problem with ClusteredSession

2004-03-14 Thread darlan
Hi,

I have a problem with session replication because the class 
org.jboss.web.tomcat.session.ClusteredSession not synchronize the hash of attributes 
in writeObject method. I modified the class to synchronize this hash and resolved my 
problem. What can I do now about this? This problem was solved?

JBoss version: 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)

PS: Sorry by bad english!

Darlan Oliveira



Class implementation
-
private void writeObject(java.io.ObjectOutputStream out)
throws IOException
{
synchronized (attributes) {
out.defaultWriteObject();
}
}


StackTrace
-

2004-03-10 11:53:13,765 ERROR [Thread-34][org.jboss.ejb.plugins.LogInterceptor] 
EJBException:
javax.ejb.EJBException: java.util.ConcurrentModificationException
at 
org.jboss.ha.httpsession.beanimpl.ejb.ClusteredHTTPSessionBeanImpl.serializeSession(ClusteredHTTPSessionBeanImpl.java:114)
at 
org.jboss.ha.httpsession.beanimpl.ejb.ClusteredHTTPSessionBeanImpl.ejbStore(ClusteredHTTPSessionBeanImpl.java:52)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:398)
at org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:713)
at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:312)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:163)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ha.httpsession.beanimpl.ejb.ServerTCLInterceptor.invoke(ServerTCLInterceptor.java:40)
at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:490)
at org.jboss.ejb.Container.invoke(Container.java:700)
at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
at 
org.jboss.ha.httpsession.beanimpl.ejb.ClientTCLInterceptor.invoke(ClientTCLInterceptor.java:46)
at org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java:97)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
at $Proxy29.setSession(Unknown Source)
at 
org.jboss.ha.httpsession.server.ClusteredHTTPSessionService.setHttpSession(ClusteredHTTPSessionService.java:112)
at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy178.setHttpSession(Unknown Source)
at 
org.jboss.web.tomcat.session.ClusterManager.storeSession(ClusterManager.java:571)
at 
org.jboss.web.tomcat.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:38)
at 
org.jboss.web.tomcat.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:89)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke