RE: [JBoss-user] JCA deployement dependencies problem "MBeans waiting for other MBeans"

2004-01-31 Thread Richard De Falco
Answer :  in -ds.xml must be the same  than  in 
ra.xml...



De : Richard De Falco 
Envoyé : mercredi 28 janvier 2004 11:54
À : [EMAIL PROTECTED]
Objet : [JBoss-user] JCA deployement dependencies problem "MBeans waiting for 
other MBeans"


Hello,
 
I'm trying to deploy a jca adaptor on jboss 3.2.2. The rar is part of an ear 
and is referenced in application.xml by the module tag. 
 
When I deploy I get :
 
11:14:08,156 INFO  [EARDeployer] Started J2EE application: 
file:/C:/jboss-3.2.2_jetty-4.2.11/server/default/deploy/openserver.ear
11:14:08,156 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.2.2_jetty-4.2.11/server/default/deploy/openserver.ear
11:14:08,171 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean 
operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
  
Incompletely deployed packages:
  
MBeans waiting for classes:
  
MBeans waiting for other MBeans:
[ObjectName: jboss.jca:service=NoTxCM,name=ldapadapter
 state: CONFIGURED
 I Depend On:   jboss.jca:service=ManagedConnectionPool,name=ldapadapter
  jboss.jca:service=CachedConnectionManager
 
 Depends On Me: , ObjectName: 
jboss.jca:service=ManagedConnectionPool,name=ldapadapter
 state: CONFIGURED
 I Depend On:   jboss.jca:service=ManagedConnectionFactory,name=ldapadapter
 
 Depends On Me:   jboss.jca:service=NoTxCM,name=ldapadapter
, ObjectName: jboss.jca:service=ManagedConnectionFactory,name=ldapadapter
 state: CONFIGURED
 I Depend On:   jboss.jca:service=RARDeployment,name=Openserver LDAP Adapter
 
 Depends On Me:   jboss.jca:service=ManagedConnectionPool,name=ldapadapter
]
11:14:08,265 INFO  [URLDeploymentScanner] Started 
jboss.deployment:type=DeploymentScanner,flavor=URL
11:14:08,453 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.2.2_jetty-4.2.11/server/default/conf/jboss-service.xml
11:14:08,453 INFO  [Server] JBoss (MX MicroKernel) [3.2.2 (build: 
CVSTag=JBoss_3_2_2 date=200310182216)] Started in 1m:37s:578ms
 
Any Ideas ? Must I use the depends tag on ldapadapter-ds.xml and how ? I've 
bought the 3.0 docs but obvisously some things have changed... attached is the 
descriptors I use, as well as some debug output,
 
Richard
 


Here is the META-INF/ldapadapter-ds.xml that is part of the ldapadapter.rar :
 



 
  ldapadapter
  Openserver LDAP Adapter
  1
  10
  5000
  5
 

 
 
--
the ra.xml :
 

 
http://java.sun.com/dtd/connector_1_0.dtd'>

 LDAPAdapter
 Icominfo
 1.0
 LDAP
 1.0
 
  
com.icominfo.openserver.server.ldapadapter.LDAPManagedConnectionFactory
  
com.icominfo.openserver.server.ldapadapter.ConnectionFactory
  
com.icominfo.openserver.server.ldapadapter.LDAPConnectionFactory
  
com.icominfo.openserver.server.ldapadapter.Connection
  
com.icominfo.openserver.server.ldapadapter.DummyLDAPConnection
  NoTransaction
  
   Host
   java.lang.String
   klif2003.dklif.klif
  
  
   BasicPassword
   
javax.resource.security.PasswordCredential
  
  false
 



-
Debug Output at the rar deployment :
 
11:13:21,750 INFO  [EARDeployer] Init J2EE application: 
file:/C:/jboss-3.2.2_jetty-4.2.11/server/default/deploy/openserver.ear
11:13:26,031 DEBUG [RARMetaData] methodName = 'setDisplayName'
11:13:26,031 DEBUG [RARMetaData] methodName = 'setVendorName'
11:13:26,031 DEBUG [RARMetaData] methodName = 'setSpecVersion'
11:13:26,046 DEBUG [RARMetaData] methodName = 'setEisType'
11:13:26,046 DEBUG [RARMetaData] methodName = 'setVersion'
11:13:26,046 DEBUG [RARMetaData] methodName = 'setResourceadapter'
11:13:26,046 DEBUG [RARMetaData] methodName = 
'setManagedconnectionfactoryClass'
11:13:26,046 DEBUG [RARMetaData] methodName = 'setConnectionfactoryInterface'
11:13:26,062 DEBUG [RARMetaData] methodName = 'setConnectionfactoryImplClass'
11:13:26,062 DEBUG [RARMetaData] methodName =

[JBoss-user] Lotus Domino Connection Pooling in JBoss

2004-01-31 Thread harm

Hi all,

I'm thinking of implementing a connection
pool for Lotus Domino for JBoss 3.2.3.

This way my EJB's can ask for a connection
from the pool and do some manipulation of the Lotus Domino data.

Unfortunatly I'm not sure in what kind
of object to build the connection pool.
JBoss has connection pools for other
kind of databases. 

What classes should I implement to create
such a connection pool in JBoss?
Or are where can I look into JBoss source
code to see what I should be doing?

Thanks in advance,

Regards,

Harm de Laat
Informatiefabriek
The Netherlands





[JBoss-user] Are inner joins possible?

2004-01-31 Thread Steffen Gransow
Hi,

I'm wondering, if multiple inner joins are possible using jboss-ql or
similar. I'm new to this and did only provide some simple queries so
far.
Here's one example:

SELECT teilnehmer.pkey,
teilnehmer.titel,
teilnehmer.vorname,
teilnehmer.nachname,
teilnehmer.ort,
teilnehmer.fk_kv,
teilnehmer.teilnehmer_id
FROM 
  kommission INNER JOIN teilnehmer ON kommission.fk_teilnehmer =
teilnehmer.pkey 
  INNER JOIN kv ON kommission.fk_kv = kv.pkey
WHERE 
  kv.kvid = 6 

How do I implement such queries? Or if this doesn't work with ejb-ql or
jboss-ql, what other possibilities do I have?

Thanks in advance

Steffen Gransow




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] FW: JBoss 3.2.3 and Sticky Sessions and Session Replication

2004-01-31 Thread Marcus Redeker
All,

we are trying to setup a JBoss 3.2.3 (Tomcat) cluster with Apache and
mod_jk. 

We discovered that the sticky sessions with mod_jk only work if you give
the "jvmRoute" parameter in the tomcat configuration file. If we do not
use sticky sessions we receive an error from Tomcat if during form based
authentication the form post is routed to another instance then the one
redirecting to the authentication form. That is OK and form based
authentication works fine with the sticky session. The "jvmRoute"
paramter causes the extra dot seperated name at the end of the session
id.

The problem is that we also want session replication and failover in
case one machine is not working. So we also configured the
 tag in the web.xml deployment descriptor and deployed
the "jbossha-httpsession.sar". If we stop the first JBoss, which created
the session and which got all the request so far because of the sticky
session, mod_jk is performing a fail-over and redirects the request to
the second JBoss. But this one is now complaining that it does not know
the session which has the extension of the "jvmRoute" paramter of the
first JBoss.

Is is not possible to use sticky sessions and session replication? If
not there seems to be a bug in Tomcat which is complaining that he does
not understand the login form post of a client which was initiated on
anonther Tomcat.

Any comments and information about this is appreciated,


--Marcus




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] WARN [OILServerILService] Connection failure (1).

2004-01-31 Thread John Black
Is it possible to prevent this message in JBoss 3.2.3? 
WARN [OILServerILService] Connection failure (1).
And the associated stack trace I get every time my JMS client 
terminates, even though I close the connection first.
Thanks,
John Black


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] how to encode database password in descriptor file mysql-ds.xml

2004-01-31 Thread Mark Wang
Besides what your folks talked, here is another concern:
 
The machine has a system admin, who has the root permission. The application(with JBOSS) has database, which is managed by somebody else(dba, etc). We don't want machine system admin knows database login-name/password. Otherwise he/she can read database and get all the information.
 
The security policy should be whoever should know can know, and whoever should not know can't know. 
 
How can we achieve this goal with the clear password in mysql-ds.xml?
 
Mark

--- JD Brennan <[EMAIL PROTECTED]> wrote:> Storing a private key in a java .class file does add> a useful level of> security.>  > 1) Customers perceive this as valuable.  They aren't> geeks, so they> don't get it, but they still buy your product or> not.  And if your> competitor obscures the DB password and you don't,> then that's> one more reason to buy from the competitor.>  > 2) A private key embedded in a .class will keep out> some less> sophisticated crackers.  And that adds value.  > Think about why> you lock the door to your house.  You know that> won't keep anyone> out.  They can freeze the lock, pick it, break a> window.  A key>
 door lock isn't real security.  But you do it> anyway, because it does> add some value (keeping out unsophisticated> thieves).>  > JD>  > -Original Message-> From: Rupp, Heiko [mailto:[EMAIL PROTECTED]> Sent: Friday, January 30, 2004 10:22 AM> To: [EMAIL PROTECTED]> Subject: Re: [JBoss-user] how to encode database> password in descriptor file mysql-ds.xml> > > <...>> > And now .. when the server encrypts the password it> either does some trivial thing (like rot13 encoding)> or it uses a real (possibly symmetrical) encryption> algorithm. In the later case, it uses a key to help> encryption. This key is stored somewhere in the> server, where at the end everyone can read it and> use it with the said encryption algorithm.
 The> key/password is only secured by obscurity.> >    Heiko> >  > >  > > 
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

RE: [JBoss-user] Setting jmx-console password

2004-01-31 Thread Scott M Stark
You use a JAAS configuration the same as all security. The default JAAS
configuration uses the UsersRolesLoginModule as defined by the
jmx-console
entry in the conf/login-config.xml

This in turn obtains the username/password/roles mappings from the
jmx-console.war/WEB-INF/classes/{roles.properties, users.properties}
files. Either edit these or configure an alternate JAAS login module.



Scott Stark
Chief Technology Officer
JBoss Group, LLC
 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rod
Macpherson
Sent: Wednesday, January 28, 2004 4:15 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Setting jmx-console password

After enabling security on jmx-console, where do we set the password for
JBossAdmin? Using tomcat version but there is no tomcat-users.xml. 

TIA, 

Rod


---
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on
Open Tools Development and Integration See the breadth of Eclipse
activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Re: jboss.net: SOAP Attachments anyone?

2004-01-31 Thread Alastair Rodgers
That's right. I'm not using jboss.net - I'm just using the Axis library directly (i.e. 
my web app registers an org.apache.axis.transport.http.AxisServlet and this uses a 
/WEB-INF/server-config.wsdd file to configure the services). I do this so I've got app 
server independence.



> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Rob Moore
> Sent: 28 January 2004 14:40
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Re: jboss.net: SOAP Attachments anyone?
> 
> 
> Thanks, Alastair.
> 
> So I take it you are not using the xdoclet module to generate the 
> web-service.xml?
> 
> Rob
> 
> Alastair Rodgers wrote:
> > It sounds like the 'apachesoap:DataHandler' might not be mapped 
> > correctly. I achieve this using the following in the Axis WSDD file:
> > 
> > 
> >  xmlns:ns1="http://www.blah.com/myservice";>
> >value="http://www.blah.com/myservice"/>
> >   
> >   
> >returnQName="result" returnType="xsd:string">
> > 
> > 
> >   
> >deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeser
> ializerFactory"
> > languageSpecificType="java:javax.activation.DataHandler"
> > qname="ns1:DataHandler"
> > 
> serializer="org.apache.axis.encoding.ser.JAFDataHandlerSeriali
> zerFactory"
> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
> > 
> > 
> > 
> > Note how the ns1:DataHandler parameter type is mapped to 
> > JAFDataHandlerSerializerFactory / 
> JAFDataHandlerDeserializerFactory, and that ns1 is defined as 
> a valid namespace on the service element.
> > 
> > 
> > 
> 
> 
> 


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] XMBean with Standard MBean superclass (maybe XDoclet-specific)

2004-01-31 Thread Rupp, Heiko
Hi,

I did not completely understand, what you are trying to
achieve. If you have a standard MBean, you can just add
an xmbean-dd section to the *-service.xml file, as this
is done in 3.2.3 with some beans in conf/jboss-service.xml
and the xmdesc/ directory within conf/.

If you want Xdoclet to provide this dd for you and this
is omitting start() and stop() in the xmbean-dd, then you
should perhaps look into this direction.
Wasn't there an @jboss.xmbean tag?

Have a look at 
jboss/testsuite/src/main/org/jboss/test/jmx/xmbean/User.java


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user