Re'f. : [JBoss-user] Multiple Servers - Bean Locating

2001-04-02 Thread Philippe GTLYA-NTIC-PETIT

Hello,
I'm not a guru but your need looks like a directory used as a repository for your 
naming spaces you could access through ldap invocations Perhaps Rickard knows the 
trick...
/Philippe




[EMAIL PROTECTED]%internet le 01/04/2001 07:08:45
Veuillez répondre à [EMAIL PROTECTED]%internet@WTFR
Pour :  [EMAIL PROTECTED]%internet@WTFR
cc : 

Objet : [JBoss-user] Multiple Servers - Bean Locating

X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.3
Precedence: bulk
List-Help: 
List-Post: 
List-Subscribe: , 

List-Id: The JBoss User main mailing list 
List-Unsubscribe: , 

List-Archive: 

I'm trying to get a handle on how jBoss can be used to distribute an
application. In development (and sometimes in production) all of the beans
that an application needs may not be located in the same container. How can
a bean in one container talk to a bean in another container? I could not
find anything in the docs that explained this very well.

Solution #1
===
I saw a newsgroup message where the author was relating a technique for
using the  tag in the jboss.xml file to include a url like:
jndi://host:port/path/to/object, or something like that. If this works,
good, but it significantly impacts the deployment process if every bean is
hardcoded, although it is via deployment descriptors.

Solution #2
===
I was thinking I could run only one of the jBoss servers with a naming
service. The other servers would be configured to use the name service of
the first container. Whenever a client or another EJB needed a reference to
a bean they would *all* look it up in the same location.

Solution #3
===
I read in the docs about the possibility of federating namespaces. Each
server's name service could be federated into one name service that clients
and jBoss containers would use for lookup.

So what is possible to achieve this today? Are some other more robust
solutions waiting for the clustering architecture to work its way out? Where
are the ideas for future direction discussed or documented?

thanks,
jim


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user




___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re'f. : [JBoss-user] Postgres datasource causes JBoss init to stop...

2001-03-30 Thread Philippe GTLYA-NTIC-PETIT

Did you allowed your PostgreSQL to accept incoming queries from other boxes than the 
localhost ?

/Philippe




[EMAIL PROTECTED]%internet le 29/03/2001 19:24:54
Veuillez répondre à [EMAIL PROTECTED]%internet@WTFR
Pour :  [EMAIL PROTECTED]%internet@WTFR
cc : 

Objet : [JBoss-user] Postgres datasource causes JBoss init to stop...

X-Originating-IP: [209.118.74.19]
X-OriginalArrivalTime: 29 Mar 2001 17:24:54.0719 (UTC) FILETIME=[2B84ECF0:01C0B875]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.3
Precedence: bulk
List-Help: 
List-Post: 
List-Subscribe: , 

List-Id: The JBoss User main mailing list 
List-Unsubscribe: , 

List-Archive: 

Hi,
I'm trying to get jboss going with postgres.  I have the latest version
of both. I've configured the stuff in the config files as shown in the
docs.  The jdbc driver loads, but when it gets to the bit about starting
up the datasource, jboss freezes.  It looks almost as if it's trying to
time out, but I haven't managed to wait long enough yet.  ^c causes jboss
to shutdown as it should.  Postgres is up and running (on another
machine), and I'm pretty sure the url is right in the config file. I
don't really think it's getting that far, watching the other datasources
the come preconfigured start up.  I copied the DefaultDS section and
modified it, as suggested in the docs.

Any ideas?  I know this is pretty vague, but I'm away from the machine
with the stuff on it. I looked in the archive and didn't see anything
that looked right...

Thanks,
Carey

_
Get your FREE download of MSN Explorer at http://explorer.msn.com


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user




___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re'f. : [JBoss-user] Client hangs up while doing JNDI lookup

2001-03-29 Thread Philippe GTLYA-NTIC-PETIT

If DNS is running on your W2K box, try to switch it off... and test JBoss again
Maybe it could help...

/Philippe




[EMAIL PROTECTED]%internet le 28/03/2001 23:04:30
Veuillez répondre à [EMAIL PROTECTED]%internet@WTFR
Pour :  [EMAIL PROTECTED]%internet@WTFR
cc : 

Objet : [JBoss-user] Client hangs up while doing JNDI lookup

X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.3
Precedence: bulk
List-Help: 
List-Post: 
List-Subscribe: , 

List-Id: The JBoss User main mailing list 
List-Unsubscribe: , 

List-Archive: 


> 
> informations needed :
> 1 - are your client and server running on the same machine
> 2 - give your classpath
> 3 -  Could you give the snippet of your initializing client code
> 
> /Philippe
> 

I also experienced a great deal of problems with hanging during
JNDI lookupturned out to be a consistent and repeatable problem
with Windows 2000, which I never tracked down..however, on Windows
98 and Windows NT 4.0, it worked fine...I wondered if it was security
issues on Windows 2000 ?

To all those that were helping me with installation of JBoss with
MS SQL Server, etc, apologies for disappearing of the map..my company
made a great number of redundancies, closing our whole office..so I've
been job hunting the last week ;)

JBoss is coming with me ;)

So - anyone running JBoss on Windows 2000 with success ?

Steven

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user




___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re'f. : [JBoss-user] Client hangs up while doing JNDI lookup

2001-03-28 Thread Philippe GTLYA-NTIC-PETIT

informations needed :
1 - are your client and server running on the same machine
2 - give your classpath
3 -  Could you give the snippet of your initializing client code

/Philippe




[EMAIL PROTECTED]%internet le 28/03/2001 16:48:36
Veuillez répondre à [EMAIL PROTECTED]%internet@WTFR
Pour :  [EMAIL PROTECTED]%internet@WTFR
cc : 

Objet : [JBoss-user] Client hangs up while doing JNDI lookup

Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.3
Precedence: bulk
List-Help: 
List-Post: 
List-Subscribe: , 

List-Id: The JBoss User main mailing list 
List-Unsubscribe: , 

List-Archive: 

Hi:

Hope some one can point me in the right direction.
I am using jboss-tomcat-2.1-beta with jdk1.3.0_02 on
Mandrake linux 7.2. I have an entity bean called as
SoftwareOps with its JNDI name specified in jboss.xml
file as asccs/SoftwareOps.

I am setting the properties for the initial Context
using system.setProperty before creating the
InitialContext. I did verify the properties many
times.

The funny thing is that the InitialContext gets
created without any problems. But, when I try to
lookup the Home interface of my bean, the client never
returns.

I compiled my bean classes using jbuilder 4.0
(jdk1.3).
Jboss is running on jdk1.3_02 for linux. Could this
tiny difference cause any problems. If there is
something special that I need to do, please let me
know.

Thanks
Deepak Hathwar

=
Deepak Hathwar
Email 1: [EMAIL PROTECTED]
Email 2: [EMAIL PROTECTED]

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user




___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re'f. : [JBoss-user] JBoss Basic Questions

2001-03-27 Thread Philippe GTLYA-NTIC-PETIT

[EMAIL PROTECTED]%internet le 26/03/2001 21:18:21
Veuillez répondre à [EMAIL PROTECTED]%internet@WTFR
Pour :  [EMAIL PROTECTED]%internet@WTFR
cc : 

Objet : [JBoss-user] JBoss Basic Questions



we are in the process of evaluating whether we should migrate from out
'home-grown' RMI based server to an EJB compliant app server. So with this
is mind, I have a couple of basic questions:

1) with JBoss can you have Swing based clients (application based not
applets) - or is the prefered solution browser based clients using JSP and
servets? The idea being to use WebStart for deployment and upgrades of the
java based clients.

/Philippe
I'm actualy developping a big swing app and it works well with JBoss
/Philippe

2) management is concerned that JBoss could be bought out by another company
and subsumed into their product line - is this a valid concern?

3) is the JBoss/ZOAP module is released?

4) is the JBossMQ module released? And can you have C or C++ based clients
that can interface with the JBossMQ product, or are you restricted to Java
based clients only?

5) the JBoss training link on the website goes nowhere, is there anywhere
else that I can find out this information?

thanks in advance!


Dean

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user




___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re'f. : [JBoss-user] BMP one to many relationship

2001-03-27 Thread Philippe GTLYA-NTIC-PETIT

Have look at the Petstore source code available as a Blueprint on the java.sun.com web 
site
Regards
/Philippe




[EMAIL PROTECTED]%internet le 26/03/2001 16:29:15
Veuillez répondre à [EMAIL PROTECTED]%internet@WTFR
Pour :  [EMAIL PROTECTED]%internet@WTFR
cc : 

Objet : [JBoss-user] BMP one to many relationship

Organization: Global View GbR
X-Accept-Language: en
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.3
Precedence: bulk
List-Help: 
List-Post: 
List-Subscribe: , 

List-Id: The JBoss User main mailing list 
List-Unsubscribe: , 

List-Archive: 

Hi,

it would be great to have sample code for two beans with bmp that have a
one to many relationship.
Is there such code?

Thanks,
Daniel Sadilek

P.S.: The example from Richard Monson-Haefel's Book "Enterprise Java
Beans" is not fully complete :(

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user




___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re'f. : [JBoss-user] JBoss and multiples tables...

2001-03-26 Thread Philippe GTLYA-NTIC-PETIT

Hello Arnaud,

You should use a "Value Object Assembler" Pattern to offer your client a unique object 
that mixes different EJB sources. See >J2EE patterns at :
http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/J2EEPatternsRelationships.html

Hope this helps

A+
Philippe




[EMAIL PROTECTED]%internet le 25/03/2001 04:41:06
Veuillez répondre à [EMAIL PROTECTED]%internet@WTFR
Pour :  [EMAIL PROTECTED]%internet@WTFR
cc : 

Objet : [JBoss-user] JBoss and multiples tables...

X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.3
Precedence: bulk
List-Help: 
List-Post: 
List-Subscribe: , 

List-Id: The JBoss User main mailing list 
List-Unsubscribe: , 

List-Archive: 

Hi, i'm totaly new in EJB and i want to use JBoss...

I have one question which is not specific to JBoss, but i think here i will
have a quick reply... :)

I have a object which have is date in 2 tables , it's a product and
traductions are in a separate table.
So i think about using a entity bean with another entity bean in it.  how
JBoss manage this ? how can he
save state of the other Bean ?

I know this question is basic... but there's not lots of documentation in
french... :)

Thanks for any help

Arnaud


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user




___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user