Re: WEBLOGIC back-end connectivity.

2000-06-12 Thread Sivakumar_Subramanian

Hi,
thanx. i connected it successfully.
sivakumar

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Download Ed Roman's EJB book from TheServerSide.com

2000-06-12 Thread manish kumar

Try it once again...you will be to download now...I also faced the same
problem...but i didn't face any problem when i relogged.


From: Praful Kumar Naphade [EMAIL PROTECTED]
Reply-To: A mailing list for Enterprise JavaBeans development
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Download Ed Roman's EJB book from TheServerSide.com
Date: Mon, 12 Jun 2000 10:16:56 +0530

I could not down load it. It gives message you should login even if you are
logged in
regards,
Praful

-Original Message-
From: Ed Roman [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 11, 2000 10:48 PM
To: [EMAIL PROTECTED]
Subject: Download Ed Roman's EJB book from TheServerSide.com


I'd like to offer the community an opportunity to download a complimentary
electronic version of my best-selling book, "Mastering Enterprise JavaBeans
and the Java 2 Platform, Enterprise Edition".  You can download this book
from http://www.TheServerSide.com.

A lot of time and effort went into writing this book, so I hope that by
making the electronic version available for download, more people will
benefit from it.  If you really like the book and find that you frequently
refer to it, consider buying a hard copy.  The published book is cheaper to
buy than printing it yourself, is nicely bound, is more conventient for
quick references, and includes an accompanying CD containing all the source
code used in the book.

Best,
-Ed

--
Ed Roman
CEO, The Middleware Company
Author, "Mastering Enterprise JavaBeans and the Java 2 Platform, Enterprise
Edition"
http://www.middleware-company.com
[EMAIL PROTECTED]
512-257-3600

Need help with EJB / J2EE?  Ask about our on-site training and consulting
services.

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Error While deploying in Weblogic Server 5.1

2000-06-12 Thread Srinivas Ganapur

Hello,

The EntityContext / SessionContext should be transient , as this keep on
changing for a given Bean instance and the context are assigned as and when
bean instance from the pool is assigned to an EJB Object.  Hence, there
should be some other  issues generating the error.

Thank you,
Regards.

Ganapur Srinivas.

Cognizant Technology Solutions India Ltd.
Ground Floor,
Deepak Complex,
National Games Road,
Opp.Pune Golf Course,
Yerwada.
Pune 411006.India.
Tel. :6691960.Extn-2277.
[EMAIL PROTECTED]



-Original Message-
From: Rajesh Jha [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 11, 2000 11:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Error While deploying in Weblogic Server 5.1


Hello Senthil


As i have seen ur problem, U must have define the entity context as
transient in the Bean class. In the Bean class  just remove the transient
word. and run ejbc compiler...



Rajesh Jha

-Original Message-
From: Senthil Kumar [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 09, 2000 9:11 PM
To: [EMAIL PROTECTED]
Subject: Error While deploying in Weblogic Server 5.1


Hi,

I am new in developing and deploying EJB components and I am using Weblogic
5.1. When I try to generate container classes for a  EJB Session Bean using
the deployer tool,  I am getting the following error.
---

[6.4.1] In EJB Demo, references to javax.ejb.EJBContext,
javax.ejb.SessionContext, or javax.ejb.EntityContext must not be transient.

Anyone who can help me to get over this.

Thanks in advance.

Senthil

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Error While deploying in Weblogic Server 5.1

2000-06-12 Thread Avi Kivity


 The EntityContext / SessionContext should be transient , as
 this keep on
 changing for a given Bean instance and the context are
 assigned as and when
 bean instance from the pool is assigned to an EJB Object.
 Hence, there
 should be some other  issues generating the error.


No, the container uses the {set|unset}{Session|Entity}Context() callbacks to
manage the context field. It should not be transient.

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Download Ed Roman's EJB book from TheServerSide.com

2000-06-12 Thread Sivakumar_Subramanian

HI All,

A small request . Can anybody send me this downloaded e-book. thanx
in advance. is it in pdf or html?? eager to know.

sivakumar


 --
 From: manish kumar[SMTP:[EMAIL PROTECTED]]
 Reply To: A mailing list for Enterprise JavaBeans development
 Sent: Monday, June 12, 2000 12:47 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Download Ed Roman's EJB book from TheServerSide.com

 Try it once again...you will be to download now...I also faced the same
 problem...but i didn't face any problem when i relogged.


 From: Praful Kumar Naphade [EMAIL PROTECTED]
 Reply-To: A mailing list for Enterprise JavaBeans development
 [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Download Ed Roman's EJB book from TheServerSide.com
 Date: Mon, 12 Jun 2000 10:16:56 +0530
 
 I could not down load it. It gives message you should login even if you
 are
 logged in
 regards,
 Praful
 
 -Original Message-
 From: Ed Roman [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, June 11, 2000 10:48 PM
 To: [EMAIL PROTECTED]
 Subject: Download Ed Roman's EJB book from TheServerSide.com
 
 
 I'd like to offer the community an opportunity to download a
 complimentary
 electronic version of my best-selling book, "Mastering Enterprise
 JavaBeans
 and the Java 2 Platform, Enterprise Edition".  You can download this book
 from http://www.TheServerSide.com.
 
 A lot of time and effort went into writing this book, so I hope that by
 making the electronic version available for download, more people will
 benefit from it.  If you really like the book and find that you
 frequently
 refer to it, consider buying a hard copy.  The published book is cheaper
 to
 buy than printing it yourself, is nicely bound, is more conventient for
 quick references, and includes an accompanying CD containing all the
 source
 code used in the book.
 
 Best,
 -Ed
 
 --
 Ed Roman
 CEO, The Middleware Company
 Author, "Mastering Enterprise JavaBeans and the Java 2 Platform,
 Enterprise
 Edition"
 http://www.middleware-company.com
 [EMAIL PROTECTED]
 512-257-3600
 
 Need help with EJB / J2EE?  Ask about our on-site training and consulting
 services.
 
 =
 ==
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".
 
 =
 ==
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".
 

 
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Transaction Error

2000-06-12 Thread Yogesh More

Hi Gurus,

The following exception occurs on a create() call on a CMP Entity Bean.

Attempting to connect to naming services.  Please wait.
Attempting to find an instance of the EJB home.
An instance of the EJB home was found.
ERROR: Exception thrown by method.
ERROR: Exception is: java.rmi.ServerException: RemoteException occurred in
server thread; nested exception is:
com.ibm.ejs.persistence.EJSPersistenceException: getPStmt failed;
nested exception is:
java.sql.SQLException: setTransactionIsolation: Only supports
TRANSACTION_READ_UNCOMMITTED


Could anyone point out exactly what the problem is, and more importantly how
to get the error solved.

I'm using Visual Age Java and connecting to an Oracle Database, and have
just started with coding beans.

Thanks,
Yogesh More
Member Technical
Wilco International Systems Private Limited
e-mail : [EMAIL PROTECTED]

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Critique of language WAS RE: WEBLOGIC back-end connectivity.

2000-06-12 Thread Mark Zawadzki

FLAME ON
As per our discussion a week or two ago of using U for "you", 2 for "too/to"
, 4 for "for", etc. and the subsequent similarity to a Prince concert, I
think this message sums up what is *wrong* with communicating thusly. I had
to read the message twice before I realized that "type 4" was "type four"
and not "type for".
FLAME OFF

 -Original Message-
 From: Rajesh Jha [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 12, 2000 12:55 AM
 To: [EMAIL PROTECTED]
 Subject: Re: WEBLOGIC back-end connectivity.


 Hello SivaKumar


 As u trying to connect with the Remote Database server. U
 must have type 4
 driver.If u are using default driver of weblogic (OCI) it
 does not work..
 If u are using type 4 driver of oracle then let me know


 Rajesh Jha

 -Original Message-
 From: Sivakumar_Subramanian
 [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 12, 2000 9:18 AM
 To: [EMAIL PROTECTED]
 Subject: WEBLOGIC back-end connectivity.


 Hi,

 I am unable to connect to oracle 8 with
 weblogic 5.1 thru
 editing weblogic.properties file in my local machine. I have
 mentioned my
 userid and pwd correcly and also the server name as the host
 name generated
 thru oracle8 net config. but i  am able to connect to the
 other machine by
 giving its' ip address. pls help me out immediately.
 thanx in advance,
 sivakumar

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and
 include in the body
 of the message "signoff EJB-INTEREST".  For general help,
 send email to
 [EMAIL PROTECTED] and include in the body of the message "help".

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and
 include in the body
 of the message "signoff EJB-INTEREST".  For general help,
 send email to
 [EMAIL PROTECTED] and include in the body of the message "help".


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Download Ed Roman's EJB book from TheServerSide.com

2000-06-12 Thread Ilavarasu Paramasivam

HI,

please find the book attached.

ila

-Original Message-
From: Sivakumar_Subramanian
[mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 10:45 AM
To: [EMAIL PROTECTED]
Subject: Re: Download Ed Roman's EJB book from TheServerSide.com


HI All,

A small request . Can anybody send me this downloaded e-book. thanx
in advance. is it in pdf or html?? eager to know.

sivakumar


 --
 From: manish kumar[SMTP:[EMAIL PROTECTED]]
 Reply To: A mailing list for Enterprise JavaBeans development
 Sent: Monday, June 12, 2000 12:47 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Download Ed Roman's EJB book from TheServerSide.com

 Try it once again...you will be to download now...I also faced the same
 problem...but i didn't face any problem when i relogged.


 From: Praful Kumar Naphade [EMAIL PROTECTED]
 Reply-To: A mailing list for Enterprise JavaBeans development
 [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Download Ed Roman's EJB book from TheServerSide.com
 Date: Mon, 12 Jun 2000 10:16:56 +0530
 
 I could not down load it. It gives message you should login even if you
 are
 logged in
 regards,
 Praful
 
 -Original Message-
 From: Ed Roman [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, June 11, 2000 10:48 PM
 To: [EMAIL PROTECTED]
 Subject: Download Ed Roman's EJB book from TheServerSide.com
 
 
 I'd like to offer the community an opportunity to download a
 complimentary
 electronic version of my best-selling book, "Mastering Enterprise
 JavaBeans
 and the Java 2 Platform, Enterprise Edition".  You can download this book
 from http://www.TheServerSide.com.
 
 A lot of time and effort went into writing this book, so I hope that by
 making the electronic version available for download, more people will
 benefit from it.  If you really like the book and find that you
 frequently
 refer to it, consider buying a hard copy.  The published book is cheaper
 to
 buy than printing it yourself, is nicely bound, is more conventient for
 quick references, and includes an accompanying CD containing all the
 source
 code used in the book.
 
 Best,
 -Ed
 
 --
 Ed Roman
 CEO, The Middleware Company
 Author, "Mastering Enterprise JavaBeans and the Java 2 Platform,
 Enterprise
 Edition"
 http://www.middleware-company.com
 [EMAIL PROTECTED]
 512-257-3600
 
 Need help with EJB / J2EE?  Ask about our on-site training and consulting
 services.
 
 =
 ==
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".
 
 =
 ==
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".
 

 
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".


 RomanBook.zip


Re: Download Ed Roman's EJB book from TheServerSide.com

2000-06-12 Thread Robert Krüger

with all due respect, you guys cannot be serious about this!! I just downloaded
two copies of Ed Roman's book over a phone line just to check my mail. PLEASE
THINK before you hit the reply button and flood other people's mailboxes. I
believe you meant no harm but this is VERY annoying.

To the list owner: Is it possible to filter attachments that exceed a certain
size? would be really helpful in cases like this.

thanks,

beginning_to_cool_down
robert
/beginning_to_cool_down

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Download Ed Roman's EJB book from TheServerSide.com

2000-06-12 Thread Javier Deniz

I thought attachments were filtered from the list,
specially attachments of that size.
I hope 100s of readers of this list won't have the same idea
of attaching the same book.
Cheers,

Javier

Ilavarasu Paramasivam wrote:

 HI,

 please find the book attached.

 ila

 -Original Message-
 From: Sivakumar_Subramanian
 [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 12, 2000 10:45 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Download Ed Roman's EJB book from TheServerSide.com

 HI All,

 A small request . Can anybody send me this downloaded e-book. thanx
 in advance. is it in pdf or html?? eager to know.

 sivakumar

  --
  From: manish kumar[SMTP:[EMAIL PROTECTED]]
  Reply To: A mailing list for Enterprise JavaBeans development
  Sent: Monday, June 12, 2000 12:47 PM
  To:   [EMAIL PROTECTED]
  Subject:  Re: Download Ed Roman's EJB book from TheServerSide.com
 
  Try it once again...you will be to download now...I also faced the same
  problem...but i didn't face any problem when i relogged.
 
 
  From: Praful Kumar Naphade [EMAIL PROTECTED]
  Reply-To: A mailing list for Enterprise JavaBeans development
  [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: Download Ed Roman's EJB book from TheServerSide.com
  Date: Mon, 12 Jun 2000 10:16:56 +0530
  
  I could not down load it. It gives message you should login even if you
  are
  logged in
  regards,
  Praful
  
  -Original Message-
  From: Ed Roman [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, June 11, 2000 10:48 PM
  To: [EMAIL PROTECTED]
  Subject: Download Ed Roman's EJB book from TheServerSide.com
  
  
  I'd like to offer the community an opportunity to download a
  complimentary
  electronic version of my best-selling book, "Mastering Enterprise
  JavaBeans
  and the Java 2 Platform, Enterprise Edition".  You can download this book
  from http://www.TheServerSide.com.
  
  A lot of time and effort went into writing this book, so I hope that by
  making the electronic version available for download, more people will
  benefit from it.  If you really like the book and find that you
  frequently
  refer to it, consider buying a hard copy.  The published book is cheaper
  to
  buy than printing it yourself, is nicely bound, is more conventient for
  quick references, and includes an accompanying CD containing all the
  source
  code used in the book.
  
  Best,
  -Ed
  
  --
  Ed Roman
  CEO, The Middleware Company
  Author, "Mastering Enterprise JavaBeans and the Java 2 Platform,
  Enterprise
  Edition"
  http://www.middleware-company.com
  [EMAIL PROTECTED]
  512-257-3600
  
  Need help with EJB / J2EE?  Ask about our on-site training and consulting
  services.
  
  =
  ==
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
  body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
  
  =
  ==
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
  body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
  
 
  
  Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
 
  ==
  =
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
  body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
 

 ===
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".

   
-
 Name: RomanBook.zip
RomanBook.zipType: Zip Compressed Data (application/x-zip-compressed)
 Encoding: base64

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Download Ed Roman's EJB book from TheServerSide.com

2000-06-12 Thread David Han

Dear sivakumar,

Here is the book

Sincerely,
David Han

- Original Message -
From: Sivakumar_Subramanian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 12, 2000 6:45 PM
Subject: Re: Download Ed Roman's EJB book from TheServerSide.com



 HI All,

 A small request . Can anybody send me this downloaded e-book.
thanx
 in advance. is it in pdf or html?? eager to know.

 

  --
  From: manish kumar[SMTP:[EMAIL PROTECTED]]
  Reply To: A mailing list for Enterprise JavaBeans development
  Sent: Monday, June 12, 2000 12:47 PM
  To:   [EMAIL PROTECTED]
  Subject:  Re: Download Ed Roman's EJB book from TheServerSide.com
 
  Try it once again...you will be to download now...I also faced the same
  problem...but i didn't face any problem when i relogged.
 
 
  From: Praful Kumar Naphade [EMAIL PROTECTED]
  Reply-To: A mailing list for Enterprise JavaBeans development
  [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: Download Ed Roman's EJB book from TheServerSide.com
  Date: Mon, 12 Jun 2000 10:16:56 +0530
  
  I could not down load it. It gives message you should login even if you
  are
  logged in
  regards,
  Praful
  
  -Original Message-
  From: Ed Roman [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, June 11, 2000 10:48 PM
  To: [EMAIL PROTECTED]
  Subject: Download Ed Roman's EJB book from TheServerSide.com
  
  
  I'd like to offer the community an opportunity to download a
  complimentary
  electronic version of my best-selling book, "Mastering Enterprise
  JavaBeans
  and the Java 2 Platform, Enterprise Edition".  You can download this
book
  from http://www.TheServerSide.com.
  
  A lot of time and effort went into writing this book, so I hope that by
  making the electronic version available for download, more people will
  benefit from it.  If you really like the book and find that you
  frequently
  refer to it, consider buying a hard copy.  The published book is
cheaper
  to
  buy than printing it yourself, is nicely bound, is more conventient for
  quick references, and includes an accompanying CD containing all the
  source
  code used in the book.
  
  Best,
  -Ed
  
  --
  Ed Roman
  CEO, The Middleware Company
  Author, "Mastering Enterprise JavaBeans and the Java 2 Platform,
  Enterprise
  Edition"
  http://www.middleware-company.com
  [EMAIL PROTECTED]
  512-257-3600
  
  Need help with EJB / J2EE?  Ask about our on-site training and
consulting
  services.
  
 
=
  ==
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
  body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
  
 
=
  ==
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
  body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
  
 
  
  Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
 
 
==
  =
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
  body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
 


===
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".


 RomanBook(mastering EJB).zip


Re: Download Ed Roman's EJB book from TheServerSide.com

2000-06-12 Thread Nail A.

I cannot understand, why people can be so careless. Currently there're
about 2.420 subscribers on this discussion-mailing-list, that means
2420 * 1568912 bytes = 3796767040 bytes! With all respect, please look
in your e-mail-client to which address your reply is going to be sent!
It is NOT just the flooding of mailboxes, it is also the unnecessary
server-load on Sun's site and the unnecessary traffic in the NET.

regards
Nail

PS: TO the list owner: it would be great, to filter EVERY attachment
f.e. greater than 40 - 50 kb

--
Sent through GMX FreeMail - http://www.gmx.net

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Download Ed Roman's EJB book from TheServerSide.com

2000-06-12 Thread Ilavarasu Paramasivam

Guys, please excuse me for the mistake.  honestly i've never thaught about
the consequences.   actually i thaught i would be helpful for many people
who wants to have a personal copy of that book. sorry!

regards,
ila

-Original Message-
From: Nail A. [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 2:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Download Ed Roman's EJB book from TheServerSide.com


I cannot understand, why people can be so careless. Currently there're
about 2.420 subscribers on this discussion-mailing-list, that means
2420 * 1568912 bytes = 3796767040 bytes! With all respect, please look
in your e-mail-client to which address your reply is going to be sent!
It is NOT just the flooding of mailboxes, it is also the unnecessary
server-load on Sun's site and the unnecessary traffic in the NET.

regards
Nail

PS: TO the list owner: it would be great, to filter EVERY attachment
f.e. greater than 40 - 50 kb

--
Sent through GMX FreeMail - http://www.gmx.net

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Goodness Me !!! - No attachments please (RE: Download Ed Roman's EJB book from TheServerSide.com)

2000-06-12 Thread Aravind Naidu

Did you realise what you just did !@#$@@@!!!

You replied and posted an attachment to the entire mailing list !!! and that
too a huge one at that.
Please, some netiquette is required. Be responsible net citizens and don't
flood the bandwidth of every user.

No attachments should be posted to a list. Reply to the person via direct
mail.


(A very irritated...)
Aravind


 -Original Message-
 From: A mailing list for Enterprise JavaBeans development
 [mailto:[EMAIL PROTECTED]]On Behalf Of Ilavarasu Paramasivam
 Sent: Monday, 12 June 2000 20:15
 To: [EMAIL PROTECTED]
 Subject: Re: Download Ed Roman's EJB book from TheServerSide.com


 HI,

 please find the book attached.

 ila

 -Original Message-
 From: Sivakumar_Subramanian
 [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 12, 2000 10:45 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Download Ed Roman's EJB book from TheServerSide.com


 HI All,

 A small request . Can anybody send me this downloaded
 e-book. thanx
 in advance. is it in pdf or html?? eager to know.

 sivakumar


  --
  From: manish kumar[SMTP:[EMAIL PROTECTED]]
  Reply To: A mailing list for Enterprise JavaBeans development
  Sent: Monday, June 12, 2000 12:47 PM
  To:   [EMAIL PROTECTED]
  Subject:  Re: Download Ed Roman's EJB book from TheServerSide.com
 
  Try it once again...you will be to download now...I also faced the same
  problem...but i didn't face any problem when i relogged.
 
 
  From: Praful Kumar Naphade [EMAIL PROTECTED]
  Reply-To: A mailing list for Enterprise JavaBeans development
  [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: Download Ed Roman's EJB book from TheServerSide.com
  Date: Mon, 12 Jun 2000 10:16:56 +0530
  
  I could not down load it. It gives message you should login even if you
  are
  logged in
  regards,
  Praful
  
  -Original Message-
  From: Ed Roman [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, June 11, 2000 10:48 PM
  To: [EMAIL PROTECTED]
  Subject: Download Ed Roman's EJB book from TheServerSide.com
  
  
  I'd like to offer the community an opportunity to download a
  complimentary
  electronic version of my best-selling book, "Mastering Enterprise
  JavaBeans
  and the Java 2 Platform, Enterprise Edition".  You can
 download this book
  from http://www.TheServerSide.com.
  
  A lot of time and effort went into writing this book, so I hope that by
  making the electronic version available for download, more people will
  benefit from it.  If you really like the book and find that you
  frequently
  refer to it, consider buying a hard copy.  The published book
 is cheaper
  to
  buy than printing it yourself, is nicely bound, is more conventient for
  quick references, and includes an accompanying CD containing all the
  source
  code used in the book.
  
  Best,
  -Ed
  
  --
  Ed Roman
  CEO, The Middleware Company
  Author, "Mastering Enterprise JavaBeans and the Java 2 Platform,
  Enterprise
  Edition"
  http://www.middleware-company.com
  [EMAIL PROTECTED]
  512-257-3600
  
  Need help with EJB / J2EE?  Ask about our on-site training and
 consulting
  services.
  
 
 =
  ==
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
  body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
  
 
 =
  ==
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
  body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
  
 
  
  Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
 
 
 ==
  =
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
  body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
 

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include
 in the body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".



===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Session and Entity Bean

2000-06-12 Thread Prateek





HEllo Everybody,
 
Here in my proj. we are using EJB. I would like to know under what situations 
can an Entity and Session Bean combination be used? 

Thanking in advance,
Prateek.


Re: Download Ed Roman's EJB book from TheServerSide.com

2000-06-12 Thread Sivakumar_Subramanian

Hi ila,
thanx a lot.
sivakumar

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Download Ed Roman's EJB book from TheServerSide.com

2000-06-12 Thread Sivakumar_Subramanian

Hi david,
thanx a lot.
cheers

sivakumar


 --
 From: David Han[SMTP:[EMAIL PROTECTED]]
 Reply To: A mailing list for Enterprise JavaBeans development
 Sent: Monday, June 12, 2000 4:06 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Download Ed Roman's EJB book from TheServerSide.com

 File: RomanBook(mastering EJB).zip
 Dear sivakumar,

 Here is the book

 Sincerely,
 David Han

 - Original Message -
 From: Sivakumar_Subramanian [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, June 12, 2000 6:45 PM
 Subject: Re: Download Ed Roman's EJB book from TheServerSide.com


 
  HI All,
 
  A small request . Can anybody send me this downloaded e-book.
 thanx
  in advance. is it in pdf or html?? eager to know.
 
  
 
   --
   From: manish kumar[SMTP:[EMAIL PROTECTED]]
   Reply To: A mailing list for Enterprise JavaBeans development
   Sent: Monday, June 12, 2000 12:47 PM
   To:   [EMAIL PROTECTED]
   Subject:  Re: Download Ed Roman's EJB book from TheServerSide.com
  
   Try it once again...you will be to download now...I also faced the
 same
   problem...but i didn't face any problem when i relogged.
  
  
   From: Praful Kumar Naphade [EMAIL PROTECTED]
   Reply-To: A mailing list for Enterprise JavaBeans development
   [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: Re: Download Ed Roman's EJB book from TheServerSide.com
   Date: Mon, 12 Jun 2000 10:16:56 +0530
   
   I could not down load it. It gives message you should login even if
 you
   are
   logged in
   regards,
   Praful
   
   -Original Message-
   From: Ed Roman [mailto:[EMAIL PROTECTED]]
   Sent: Sunday, June 11, 2000 10:48 PM
   To: [EMAIL PROTECTED]
   Subject: Download Ed Roman's EJB book from TheServerSide.com
   
   
   I'd like to offer the community an opportunity to download a
   complimentary
   electronic version of my best-selling book, "Mastering Enterprise
   JavaBeans
   and the Java 2 Platform, Enterprise Edition".  You can download this
 book
   from http://www.TheServerSide.com.
   
   A lot of time and effort went into writing this book, so I hope that
 by
   making the electronic version available for download, more people
 will
   benefit from it.  If you really like the book and find that you
   frequently
   refer to it, consider buying a hard copy.  The published book is
 cheaper
   to
   buy than printing it yourself, is nicely bound, is more conventient
 for
   quick references, and includes an accompanying CD containing all the
   source
   code used in the book.
   
   Best,
   -Ed
   
   --
   Ed Roman
   CEO, The Middleware Company
   Author, "Mastering Enterprise JavaBeans and the Java 2 Platform,
   Enterprise
   Edition"
   http://www.middleware-company.com
   [EMAIL PROTECTED]
   512-257-3600
   
   Need help with EJB / J2EE?  Ask about our on-site training and
 consulting
   services.
   
  
 =
   ==
   To unsubscribe, send email to [EMAIL PROTECTED] and include in
 the
   body
   of the message "signoff EJB-INTEREST".  For general help, send email
 to
   [EMAIL PROTECTED] and include in the body of the message "help".
   
  
 =
   ==
   To unsubscribe, send email to [EMAIL PROTECTED] and include in
 the
   body
   of the message "signoff EJB-INTEREST".  For general help, send email
 to
   [EMAIL PROTECTED] and include in the body of the message "help".
   
  
  
 
   Get Your Private, Free E-mail from MSN Hotmail at
 http://www.hotmail.com
  
  
 ==
   =
   To unsubscribe, send email to [EMAIL PROTECTED] and include in the
   body
   of the message "signoff EJB-INTEREST".  For general help, send email
 to
   [EMAIL PROTECTED] and include in the body of the message "help".
  
 
 
 ==
 =
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
 


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Goodness Me !!! - No attachments please (RE: Download Ed Roman's EJB book from TheServerSide.com)

2000-06-12 Thread cupid1

Please don't attach a book with your email. Its pain in the neck email down
loads that message. thanks.

Mian


- Original Message -
From: Aravind Naidu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 12, 2000 10:13 AM
Subject: Goodness Me !!! - No attachments please (RE: Download Ed Roman's
EJB book from TheServerSide.com)


 Did you realise what you just did !@#$@@@!!!

 You replied and posted an attachment to the entire mailing list !!! and
that
 too a huge one at that.
 Please, some netiquette is required. Be responsible net citizens and don't
 flood the bandwidth of every user.

 No attachments should be posted to a list. Reply to the person via direct
 mail.


 (A very irritated...)
 Aravind


  -Original Message-
  From: A mailing list for Enterprise JavaBeans development
  [mailto:[EMAIL PROTECTED]]On Behalf Of Ilavarasu Paramasivam
  Sent: Monday, 12 June 2000 20:15
  To: [EMAIL PROTECTED]
  Subject: Re: Download Ed Roman's EJB book from TheServerSide.com
 
 
  HI,
 
  please find the book attached.
 
  ila
 
  -Original Message-
  From: Sivakumar_Subramanian
  [mailto:[EMAIL PROTECTED]]
  Sent: Monday, June 12, 2000 10:45 AM
  To: [EMAIL PROTECTED]
  Subject: Re: Download Ed Roman's EJB book from TheServerSide.com
 
 
  HI All,
 
  A small request . Can anybody send me this downloaded
  e-book. thanx
  in advance. is it in pdf or html?? eager to know.
 
  sivakumar
 
 
   --
   From: manish kumar[SMTP:[EMAIL PROTECTED]]
   Reply To: A mailing list for Enterprise JavaBeans development
   Sent: Monday, June 12, 2000 12:47 PM
   To:   [EMAIL PROTECTED]
   Subject:  Re: Download Ed Roman's EJB book from TheServerSide.com
  
   Try it once again...you will be to download now...I also faced the
same
   problem...but i didn't face any problem when i relogged.
  
  
   From: Praful Kumar Naphade [EMAIL PROTECTED]
   Reply-To: A mailing list for Enterprise JavaBeans development
   [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: Re: Download Ed Roman's EJB book from TheServerSide.com
   Date: Mon, 12 Jun 2000 10:16:56 +0530
   
   I could not down load it. It gives message you should login even if
you
   are
   logged in
   regards,
   Praful
   
   -Original Message-
   From: Ed Roman [mailto:[EMAIL PROTECTED]]
   Sent: Sunday, June 11, 2000 10:48 PM
   To: [EMAIL PROTECTED]
   Subject: Download Ed Roman's EJB book from TheServerSide.com
   
   
   I'd like to offer the community an opportunity to download a
   complimentary
   electronic version of my best-selling book, "Mastering Enterprise
   JavaBeans
   and the Java 2 Platform, Enterprise Edition".  You can
  download this book
   from http://www.TheServerSide.com.
   
   A lot of time and effort went into writing this book, so I hope that
by
   making the electronic version available for download, more people
will
   benefit from it.  If you really like the book and find that you
   frequently
   refer to it, consider buying a hard copy.  The published book
  is cheaper
   to
   buy than printing it yourself, is nicely bound, is more conventient
for
   quick references, and includes an accompanying CD containing all the
   source
   code used in the book.
   
   Best,
   -Ed
   
   --
   Ed Roman
   CEO, The Middleware Company
   Author, "Mastering Enterprise JavaBeans and the Java 2 Platform,
   Enterprise
   Edition"
   http://www.middleware-company.com
   [EMAIL PROTECTED]
   512-257-3600
   
   Need help with EJB / J2EE?  Ask about our on-site training and
  consulting
   services.
   
  
 
=
   ==
   To unsubscribe, send email to [EMAIL PROTECTED] and include in
the
   body
   of the message "signoff EJB-INTEREST".  For general help, send email
to
   [EMAIL PROTECTED] and include in the body of the message "help".
   
  
 
=
   ==
   To unsubscribe, send email to [EMAIL PROTECTED] and include in
the
   body
   of the message "signoff EJB-INTEREST".  For general help, send email
to
   [EMAIL PROTECTED] and include in the body of the message "help".
   
  
  

   Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com
  
  
 
==
   =
   To unsubscribe, send email to [EMAIL PROTECTED] and include in the
   body
   of the message "signoff EJB-INTEREST".  For general help, send email
to
   [EMAIL PROTECTED] and include in the body of the message "help".
  
 
  ==
  =
  To unsubscribe, send email to [EMAIL PROTECTED] and include
  in the body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
 
 



Re: Session and Entity Bean

2000-06-12 Thread Sivakumar_Subramanian

Hi Prateek,
In fact u'r project shoudl use both session and entity beans if u
want to maintain client's details in any sesssion or something like that. in
fact entity beans are usually tied up with the database in tact and the
session beans will call these entity beans.

cheers,
sivakumar


 --
 From: Prateek[SMTP:[EMAIL PROTECTED]]
 Reply To: A mailing list for Enterprise JavaBeans development
 Sent: Tuesday, June 13, 2000 6:27 AM
 To:   [EMAIL PROTECTED]
 Subject:  Session and Entity Bean



 HEllo Everybody,
  Here in my proj. we are using EJB. I would like to know under
 what situations can an Entity and Session Bean combination be used?

 Thanking in advance,
 Prateek.


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Session and Entity Bean

2000-06-12 Thread Prateek

Thanks Siva,
  U said an imp. thing. What i understand is an instance of entity bean can
be accessed by more than 1 person. Hence its imp. to use Session Beans which
keeps track of the identity of the user...And Session Beans can in turn
contact the entity beans...Am i right?
Prateek.
-Original Message-
From: Sivakumar_Subramanian [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Monday, June 12, 2000 9:50 AM
Subject: Re: Session and Entity Bean


Hi Prateek,
In fact u'r project shoudl use both session and entity beans if u
want to maintain client's details in any sesssion or something like that.
in
fact entity beans are usually tied up with the database in tact and the
session beans will call these entity beans.

cheers,
sivakumar


 --
 From: Prateek[SMTP:[EMAIL PROTECTED]]
 Reply To: A mailing list for Enterprise JavaBeans development
 Sent: Tuesday, June 13, 2000 6:27 AM
 To:   [EMAIL PROTECTED]
 Subject:  Session and Entity Bean



 HEllo Everybody,
  Here in my proj. we are using EJB. I would like to know under
 what situations can an Entity and Session Bean combination be used?

 Thanking in advance,
 Prateek.


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: EJB referencing in IONA iPortal

2000-06-12 Thread Maggie

Hi Jonathan,

If you're creating an initial context without any properties ensure
that in your container configuration you specify the type
of jndi plug in being used.

Also ensure that your JNDINames.EMPLOYEE_EJB_HOME is
the same as your jndi-name tag in your container configuration.

To  use the naming service bundled with the App Server
can set your properties to the following:

Hashtable environment=new Hashtable();
environment.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.cosnaming.CNCtxFactory");

// The ORB we want to use is Orbix2000, which is configured below
// to use our iPAS configuration The following two properties are
// usually found in orb.properties, but in case we haven't
// configured our JRE correctly...  see
// http://java.sun.com/products/jdk/1.2/docs/api/org/omg/CORBA/ORB.html
Properties orbProperties = new Properties();

orbProperties.put("org.omg.CORBA.ORBClass","com.iona.corba.art.artimpl.ORBImpl");



orbProperties.put("org.omg.CORBA.ORBSingletonClass","com.iona.corba.art.artimpl.ORBSingleton");



// The ORB name dictates the plugins that Orbix2000 will use. The
// ORB named "iPAS" is preconfigured with certain properies, such
// as the ability to propagate security and transaction contexts.
String[] orbArgs = new String[] {"-ORBname","iPAS"};

environment.put("java.naming.corba.orb", org.omg.CORBA.ORB.init(orbArgs,
orbProperties));

InitialContext initial = new InitialContext(environment);

ok,
Maggie

Jonathan van Alteren wrote:

 Hi all,

 I am currently working in a team developing an enterprise application. We
 are evaluating the IONA iPortal AppServer.
 I have a test environment with 1 stateless sessionbean referencing 1
 entitybean. Apparently, a client has to set environment properties before
 you can get the Initial context and thus the sessionbean. I have tested
 this, and this is correct.
 The docs state that a (session)bean referencing another bean can just create
 an initial context without any properties. This is exactly what I am doing
 in my bean code, but it just doesn't work. I get a nullpointer exception in
 some internal IONA classes (at a PortableRemoteObject.narrow method).

 Has anyone encountered the same or a similar problem?
 Is anyone of you using the IONA iPortal Appserver? If so, what do you think
 of it?

 Here is some of my code:

 (in a util class)
 public static Object lookup(String jndiName)
 {
 Object obj = null;
 try
 {
 InitialContext initial = new InitialContext();
 obj = initial.lookup(jndiName);
 }
 catch (NamingException ne)
 {
 System.err.println(ne);
 }
 return obj;
 }

 (in my sessionbean)
 public EmployeeModel createEmployee(EmployeeModel eModel) throws
 CreateException
 {
 try
 {
 Object obj = EJBUtil.lookup(JNDINames.EMPLOYEE_EJB_HOME);
 EmployeeHome eHome =
 (EmployeeHome)javax.rmi.PortableRemoteObject.narrow(obj,
 EmployeeHome.class);
 EmployeeRemote eRemote = eHome.create(eModel);

 return eRemote.getDetails();
 }
 catch (RemoteException re)
 {
 throw new EJBException(re);
 }
 }

 Kind regards  thanks for any help,

 Jonathan van Alteren

 ===
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: EJB referencing in IONA iPortal

2000-06-12 Thread Maggie

Hi Jonathan,

If you're creating an initial context without any properties ensure
that in your container configuration you specify the type
of jndi plug in being used.

Also ensure that your JNDINames.EMPLOYEE_EJB_HOME is
the same as your jndi-name tag in your container configuration.

To  use the naming service bundled with the App Server
can set your properties to the following:

Hashtable environment=new Hashtable();
environment.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.cosnaming.CNCtxFactory");

// The ORB we want to use is Orbix2000, which is configured below
// to use our iPAS configuration The following two properties are
// usually found in orb.properties, but in case we haven't
// configured our JRE correctly...  see
// http://java.sun.com/products/jdk/1.2/docs/api/org/omg/CORBA/ORB.html
Properties orbProperties = new Properties();

orbProperties.put("org.omg.CORBA.ORBClass","com.iona.corba.art.artimpl.ORBImpl");


orbProperties.put("org.omg.CORBA.ORBSingletonClass","com.iona.corba.art.artimpl.ORBSingleton");


// The ORB name dictates the plugins that Orbix2000 will use. The
// ORB named "iPAS" is preconfigured with certain properies, such
// as the ability to propagate security and transaction contexts.
String[] orbArgs = new String[] {"-ORBname","iPAS"};

environment.put("java.naming.corba.orb", org.omg.CORBA.ORB.init(orbArgs,
orbProperties));

InitialContext initial = new InitialContext(environment);

ok,
Maggie




Jonathan van Alteren wrote:

 Hi all,

 I am currently working in a team developing an enterprise application. We
 are evaluating the IONA iPortal AppServer.
 I have a test environment with 1 stateless sessionbean referencing 1
 entitybean. Apparently, a client has to set environment properties before
 you can get the Initial context and thus the sessionbean. I have tested
 this, and this is correct.
 The docs state that a (session)bean referencing another bean can just create
 an initial context without any properties. This is exactly what I am doing
 in my bean code, but it just doesn't work. I get a nullpointer exception in
 some internal IONA classes (at a PortableRemoteObject.narrow method).

 Has anyone encountered the same or a similar problem?
 Is anyone of you using the IONA iPortal Appserver? If so, what do you think
 of it?

 Here is some of my code:

 (in a util class)
 public static Object lookup(String jndiName)
 {
 Object obj = null;
 try
 {
 InitialContext initial = new InitialContext();
 obj = initial.lookup(jndiName);
 }
 catch (NamingException ne)
 {
 System.err.println(ne);
 }
 return obj;
 }

 (in my sessionbean)
 public EmployeeModel createEmployee(EmployeeModel eModel) throws
 CreateException
 {
 try
 {
 Object obj = EJBUtil.lookup(JNDINames.EMPLOYEE_EJB_HOME);
 EmployeeHome eHome =
 (EmployeeHome)javax.rmi.PortableRemoteObject.narrow(obj,
 EmployeeHome.class);
 EmployeeRemote eRemote = eHome.create(eModel);

 return eRemote.getDetails();
 }
 catch (RemoteException re)
 {
 throw new EJBException(re);
 }
 }

 Kind regards  thanks for any help,

 Jonathan van Alteren

 ===
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Session and Entity Bean

2000-06-12 Thread Sivakumar_Subramanian

Hi Prateek,
u are right.
cheers
sivakumar


 --
 From: Prateek[SMTP:[EMAIL PROTECTED]]
 Reply To: A mailing list for Enterprise JavaBeans development
 Sent: Tuesday, June 13, 2000 7:04 AM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Session and Entity Bean

 Thanks Siva,
   U said an imp. thing. What i understand is an instance of entity bean
 can
 be accessed by more than 1 person. Hence its imp. to use Session Beans
 which
 keeps track of the identity of the user...And Session Beans can in turn
 contact the entity beans...Am i right?
 Prateek.
 -Original Message-
 From: Sivakumar_Subramanian [EMAIL PROTECTED]
 To: [EMAIL PROTECTED] [EMAIL PROTECTED]
 Date: Monday, June 12, 2000 9:50 AM
 Subject: Re: Session and Entity Bean


 Hi Prateek,
 In fact u'r project shoudl use both session and entity beans if u
 want to maintain client's details in any sesssion or something like that.
 in
 fact entity beans are usually tied up with the database in tact and the
 session beans will call these entity beans.
 
 cheers,
 sivakumar
 
 
  --
  From: Prateek[SMTP:[EMAIL PROTECTED]]
  Reply To: A mailing list for Enterprise JavaBeans development
  Sent: Tuesday, June 13, 2000 6:27 AM
  To:   [EMAIL PROTECTED]
  Subject:  Session and Entity Bean
 
 
 
  HEllo Everybody,
   Here in my proj. we are using EJB. I would like to know under
  what situations can an Entity and Session Bean combination be used?
 
  Thanking in advance,
  Prateek.
 
 
 =
 ==
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".
 

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Transaction Error

2000-06-12 Thread Samar . Abbas

Select your bean, then go to it's properties and set your Isolation Level to
TRANSACTION_READ_UNCOMMITTED... this might solve your problem...






Yogesh More [EMAIL PROTECTED] on 06/12/2000 03:41:27 PM

Please respond to A mailing list for Enterprise JavaBeans development
  [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Samar Abbas/PK/ABNAMRO/NL)
Subject:  Transaction Error



Hi Gurus,

The following exception occurs on a create() call on a CMP Entity Bean.

Attempting to connect to naming services.  Please wait.
Attempting to find an instance of the EJB home.
An instance of the EJB home was found.
ERROR: Exception thrown by method.
ERROR: Exception is: java.rmi.ServerException: RemoteException occurred in
server thread; nested exception is:
com.ibm.ejs.persistence.EJSPersistenceException: getPStmt failed;
nested exception is:
java.sql.SQLException: setTransactionIsolation: Only supports
TRANSACTION_READ_UNCOMMITTED


Could anyone point out exactly what the problem is, and more importantly how
to get the error solved.

I'm using Visual Age Java and connecting to an Oracle Database, and have
just started with coding beans.

Thanks,
Yogesh More
Member Technical
Wilco International Systems Private Limited
e-mail : [EMAIL PROTECTED]

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".






_

Disclaimer:

"This  message is confidential. It may also be privileged or otherwise protected
by  legal  rules. If you have received it by mistake please let us know by reply
and then delete it from your system."

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




PK Generation and CMP problem

2000-06-12 Thread Tim Shaw

Hi,

Sorry if this is vendor specific, but it's an odd one in a not very odd
combination :

Environment : IAS 4.0, SQL Server 7, NT

I have a legacy DB we're wrapping with EJB's etc - C/S - n-Tier

The DB has a PK on each table which has the (SQLServer specific?) keyword
'IDENTITY' attached to it. My understanding of this is that it creates a new
PK for every insert - which is actually kinda neat as it circumvents the
need to generate one ourselves.

The problem I have is that IAS, when using CMP, generates code to insert a
(null - because it doesn't have a value) value into the PK - but SQL Server
doesn't like this and throws an Exception. This (sort of) makes sense as the
CMP will not know about the IDENTITY thing and assume we know what we're
doing with the PK from within the bean.

I'm currently waiting for Inprise to come back on this, but I wondered if
anyone had run across this before (or had any suggestions).

I can't turn off the IDENTITY as other apps update the DB, and I really
don't want to go to BMP as it fits nicely into CMP otherwise. Can I 'hide'
the field from the CMP somehow?

Thanks in advance

tim

This e-mail, and any attachment, is confidential. If you have received it in error, 
please delete it from your system, do not use or disclose the information in any way, 
and notify me immediately. The contents of this message may contain personal views 
which are not the views of the BBC, unless specifically stated.

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: needed help for servlets

2000-06-12 Thread Suryanarayana Murthy

Yeah there is utorefresh facility.
there is one methode of ServletRequest object's setHeader, Using this
method, you can give your page and time slice to refresh that page .  This
is one time refresh only.
Please let correct me if my answer is wrong.

Thanks,
Murthy

 -Original Message-
 From: Amit Malik [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, June 08, 2000 3:30 PM
 To:   [EMAIL PROTECTED]
 Subject:  needed help for servlets

 hi everybody,
 Can anybody help me in getting the autorefresh facility
 through servlets ? Does this involves the javacsipt thing or some code
 within ur
 servlet??

 Thanks
 Amit MAlik

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




FW: PK Generation and CMP problem

2000-06-12 Thread Tim Shaw

 Hi,

[Resend - not sure if this is working]

 Sorry if this is vendor specific, but it's an odd one in a not very odd
 combination :

 Environment : IAS 4.0, SQL Server 7, NT

 I have a legacy DB we're wrapping with EJB's etc - C/S - n-Tier

 The DB has a PK on each table which has the (SQLServer specific?) keyword
 'IDENTITY' attached to it. My understanding of this is that it creates a
 new PK for every insert - which is actually kinda neat as it circumvents
 the need to generate one ourselves.

 The problem I have is that IAS, when using CMP, generates code to insert a
 (null - because it doesn't have a value) value into the PK - but SQL
 Server doesn't like this and throws an Exception. This (sort of) makes
 sense as the CMP will not know about the IDENTITY thing and assume we know
 what we're doing with the PK from within the bean.

 I'm currently waiting for Inprise to come back on this, but I wondered if
 anyone had run across this before (or had any suggestions).

 I can't turn off the IDENTITY as other apps update the DB, and I really
 don't want to go to BMP as it fits nicely into CMP otherwise. Can I 'hide'
 the field from the CMP somehow?

 Thanks in advance

 tim

This e-mail, and any attachment, is confidential. If you have received it in error, 
please delete it from your system, do not use or disclose the information in any way, 
and notify me immediately. The contents of this message may contain personal views 
which are not the views of the BBC, unless specifically stated.

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Session and Entity Bean

2000-06-12 Thread Chaganthi, Madhusudan R.

Siva et al,
What part of this message do you not understand??
I hate to bring this up but ..

Thanks
Madhu

Original Message-
From: Mark Zawadzki [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 7:20 AM
To: [EMAIL PROTECTED]
Subject: Critique of language WAS RE: WEBLOGIC back-end connectivity.


FLAME ON
As per our discussion a week or two ago of using U for "you", 2 for "too/to"
, 4 for "for", etc. and the subsequent similarity to a Prince concert, I
think this message sums up what is *wrong* with communicating thusly. I had
to read the message twice before I realized that "type 4" was "type four"
and not "type for".
FLAME OFF

-Original Message-
From: Sivakumar_Subramanian
[mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 11:21 AM
To: [EMAIL PROTECTED]
Subject: Re: Session and Entity Bean


Hi Prateek,
u are right.
cheers
sivakumar


 --
 From: Prateek[SMTP:[EMAIL PROTECTED]]
 Reply To: A mailing list for Enterprise JavaBeans development
 Sent: Tuesday, June 13, 2000 7:04 AM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Session and Entity Bean

 Thanks Siva,
   U said an imp. thing. What i understand is an instance of entity bean
 can
 be accessed by more than 1 person. Hence its imp. to use Session Beans
 which
 keeps track of the identity of the user...And Session Beans can in turn
 contact the entity beans...Am i right?
 Prateek.
 -Original Message-
 From: Sivakumar_Subramanian [EMAIL PROTECTED]
 To: [EMAIL PROTECTED] [EMAIL PROTECTED]
 Date: Monday, June 12, 2000 9:50 AM
 Subject: Re: Session and Entity Bean


 Hi Prateek,
 In fact u'r project shoudl use both session and entity beans if u
 want to maintain client's details in any sesssion or something like that.
 in
 fact entity beans are usually tied up with the database in tact and the
 session beans will call these entity beans.
 
 cheers,
 sivakumar
 
 
  --
  From: Prateek[SMTP:[EMAIL PROTECTED]]
  Reply To: A mailing list for Enterprise JavaBeans development
  Sent: Tuesday, June 13, 2000 6:27 AM
  To:   [EMAIL PROTECTED]
  Subject:  Session and Entity Bean
 
 
 
  HEllo Everybody,
   Here in my proj. we are using EJB. I would like to know under
  what situations can an Entity and Session Bean combination be used?
 
  Thanking in advance,
  Prateek.
 
 
 =
 ==
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".
 

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




RemoteException

2000-06-12 Thread Bhattacharyya, Ana

Hi all,
Well EJB 1.1 has deprecated the use of RemoteException inside the bean impl.
Instead we are supposed to throw EJBException for system exceptions. Now
what happens when the bean itself is accessing another bean ie bean to bean
communication --- in that case the second beans remote interface will be
throwing RemoteExceptions. Are we supposed to catch it and throw a
EJBException back or just declare that bean 1s method which invokes bean 2s
remote method as throws RemoteException.
TIA

Anamitra Bhattacharyya
US Power Solutions
Cambridge
MA



STATEMENT OF CONFIDENTIALITY.   The information contained in this electronic
message and any attachments to this message are intended for the exclusive
use of the addressee(s) and may contain confidential or privileged
information. If you are not the intended recipient, please notify
USPowerSolutions Corporation immediately at (617) 547-3800, or at
[EMAIL PROTECTED], and destroy all copies of this message and any
attachments.

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Transaction Error

2000-06-12 Thread Sengoda Shanmugham

It looks like you have a problem with your Oracle driver. Please see the
link:
http://www-4.ibm.com/software/webservers/appserv/doc/v30/relnotes.html

Problem:
Using Oracle, the WebSphere Administrative  Server will not start. The /logs/tracefile 
 contains many errors, including the message:
 java.sql.SQLException:  setTransactionIsolation:  Only supports  
TRANSACTION_READ_UNCOMMITTED

Workaround:
Update the Oracle JDBC Driver, as explained in the WebSphere Application Server 
Getting Started  book.




[EMAIL PROTECTED]@JAVA.SUN.COM on 06/12/2000 07:37:30 AM

Please respond to "A mailing list for Enterprise JavaBeans development"
  [EMAIL PROTECTED]

Sent by:  "A mailing list for Enterprise JavaBeans development"
  [EMAIL PROTECTED]


To:   [EMAIL PROTECTED]
cc:

Subject:  Re: Transaction Error


Select your bean, then go to it's properties and set your Isolation Level
to
TRANSACTION_READ_UNCOMMITTED... this might solve your problem...






Yogesh More [EMAIL PROTECTED] on 06/12/2000 03:41:27 PM

Please respond to A mailing list for Enterprise JavaBeans development
  [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Samar Abbas/PK/ABNAMRO/NL)
Subject:  Transaction Error



Hi Gurus,

The following exception occurs on a create() call on a CMP Entity Bean.

Attempting to connect to naming services.  Please wait.
Attempting to find an instance of the EJB home.
An instance of the EJB home was found.
ERROR: Exception thrown by method.
ERROR: Exception is: java.rmi.ServerException: RemoteException occurred in
server thread; nested exception is:
com.ibm.ejs.persistence.EJSPersistenceException: getPStmt failed;
nested exception is:
java.sql.SQLException: setTransactionIsolation: Only supports
TRANSACTION_READ_UNCOMMITTED


Could anyone point out exactly what the problem is, and more importantly
how
to get the error solved.

I'm using Visual Age Java and connecting to an Oracle Database, and have
just started with coding beans.

Thanks,
Yogesh More
Member Technical
Wilco International Systems Private Limited
e-mail : [EMAIL PROTECTED]

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".






_

Disclaimer:

"This  message is confidential. It may also be privileged or otherwise
protected
by  legal  rules. If you have received it by mistake please let us know by
reply
and then delete it from your system."

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




j2ee startup

2000-06-12 Thread Piet Theron

Hi

I am trying to start the J2EE server (j2ee -verbose) but a RunTimeException
is thrown.

The message in the error.log file is:
Logging for J2EE Server Version: 1.2.1-q started at: Mon Jun 12 17:54:26
GMT+02:00 2000.
Using the Classic VM and the version number 1.2.2 from Sun Microsystems Inc.
.
VM is using the classpath:
c:\j2sdkee1.2.1\lib\classes;c:\j2sdkee1.2.1\lib\locale;c:\j2sdkee1.2.1\lib\j
2ee.jar;c:\jdk1.2.2\jre\lib\rt.jar;c:\jdk1.2.2\lib\tools.jar;.;.;;c:\j2sdkee
1.2.1\lib\cloudscape\RmiJdbc.jar;c:\j2sdkee1.2.1\lib\cloudscape\client.jar;c
:\j2sdkee1.2.1\lib\jhall.jar.
J2EE Home Directory has been set to:  c:\j2sdkee1.2.1.


org.omg.CORBA.INTERNAL:   minor code: 1398079496  completed: No
 at
com.sun.corba.ee.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:193)
 at com.sun.corba.ee.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:152)
 at
com.sun.corba.ee.internal.POA.POAORB.setPersistentServerPort(POAORB.java:449
)
 at
com.sun.enterprise.iiop.POAEJBORB.setPersistentServerPort(POAEJBORB.java:312
)
 at
com.sun.enterprise.iiop.POAProtocolMgr.setPersistentServerPort(POAProtocolMg
r.java:167)
 at
com.sun.enterprise.server.EJBServer.setPersistentServerPort(EJBServer.java:4
75)
 at
com.sun.enterprise.server.EJBServer.setPersistentServerInfo(EJBServer.java:4
23)
 at com.sun.enterprise.server.EJBServer.init(EJBServer.java:201)
 at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:291)
 at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:866

My setup is as follows:
J2EE_HOME=c:\j2sdkee1.2.1
JAVA_HOME=c:\jdk1.2.2
J2EE_CLASSPATH=

WinNT Server 4.0 fixpack 5
jdk:  tried with 1.3, 1,2.0 and 1.2.2
jsdk: j2sdkee1.2.1

What am I doing wrong or am I not doing ??

Any help will be appreciated

Thanks
Piet Theron
[EMAIL PROTECTED]

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: EJB Trx Isolation seems to conflict with concept of general p urpo se EJB's

2000-06-12 Thread Avi Kivity

 Problem:

 We have several general purpose classes we wish to implement
 as Stateless
 Session EJB's.  These classes participate in different operations like
 query/add/update/delete.  For each operation we want to
 specify different
 isolation levels: query=TX_READ_UNCOMMITTED,
 add/update/delete=TX_SERIALIZABLE.  When we attempt to do this on IBM
 WebSphere 3.02 we run into the following problem: whatever
 isolation level
 was set on the first method invocation of the Trx, the same
 isolation must
 be specified on every other method invocation involved in the
 transaction,
 whether they are on the same EJB or other EJB's.  This seems
 to include
 standard EJB API methods like create() and
 findByPrimaryKey().  Well, if
 methods like create() and findByPrimaryKey() fall under the
 same restriction
 we are essentially restricted to 1 isolation level for that
 entire EJB.  If
 we want to support different isolation levels for the same
 functionality we
 have to write a new EJB for each isolation level.  It seems
 that the concept
 of code reuse is in direct conflict with current support for EJB
 Transactions.  The EJB 1.0 Spec appears to reinforce
 (explain) the behavior
 described above.  The EJB 1.1 Spec appears to back away from
 transaction
 isolation, addressing issues like above in extremely vague terms.

 Solutions(?):

 We can simply not use EJB's when generic classes need to
 participate in
 different types of transactions.  This is not what we want to
 do but it
 works.  What I would like to see is a standard for container
 providers that
 solves this problem in the following way: when a new
 transaction starts the
 container is aware of the specified isolation level and automatically
 applies that same isolation level to all remaining method
 invocations in
 that transaction.  I have no idea how difficult this might be
 for container
 providers to implement but it would be nice for bean
 providers in the above
 scenario.

As an alternative, you can write a few deployment descriptors, each with a
different transaction isolation level. No need to touch the Java code.
You would select the isolation level by the JNDI name of the bean.

- Avi
--
s/\be(\w+)/e-\1/g;

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




RemoteException -- ObjectNotFoundException

2000-06-12 Thread Yogesh More

Fellow EJB programmers,

I get the ObjectNotFoundException after
1. I call the create(...) method on the Home interface of an EntityBean ...
which I cross-check with the entry in the database... which is fine
2. and then when I call the findByPrimaryKey() or some Remote Interface
method.

The error I found was .. that the "object" reference in the handle is null?

Could anyone point out the reason for the same?

Thanks,
Yogesh More
Member Technical
Wilco International Systems Private Limited
e-mail : [EMAIL PROTECTED]

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Transaction Error

2000-06-12 Thread Yogesh More

Got the problem sorted folks, set the isolation level for the
Transaction to TRANSACTION_READ_UNCOMMITTED for the Oracle Database I have
and it works fine.
Thanks
Yogesh

 -Original Message-
 From: Sengoda Shanmugham [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, June 12, 2000 9:30 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Transaction Error

 It looks like you have a problem with your Oracle driver. Please see the
 link:
 http://www-4.ibm.com/software/webservers/appserv/doc/v30/relnotes.html

 Problem:
 Using Oracle, the WebSphere Administrative  Server will not start. The
 /logs/tracefile  contains many errors, including the message:
  java.sql.SQLException:  setTransactionIsolation:  Only
 supports  TRANSACTION_READ_UNCOMMITTED

 Workaround:
 Update the Oracle JDBC Driver, as explained in the WebSphere Application
 Server Getting Started  book.




 [EMAIL PROTECTED]@JAVA.SUN.COM on 06/12/2000 07:37:30 AM

 Please respond to "A mailing list for Enterprise JavaBeans development"
   [EMAIL PROTECTED]

 Sent by:  "A mailing list for Enterprise JavaBeans development"
   [EMAIL PROTECTED]


 To:   [EMAIL PROTECTED]
 cc:

 Subject:  Re: Transaction Error


 Select your bean, then go to it's properties and set your Isolation Level
 to
 TRANSACTION_READ_UNCOMMITTED... this might solve your problem...






 Yogesh More [EMAIL PROTECTED] on 06/12/2000 03:41:27 PM

 Please respond to A mailing list for Enterprise JavaBeans development
   [EMAIL PROTECTED]

 To:   [EMAIL PROTECTED]
 cc:(bcc: Samar Abbas/PK/ABNAMRO/NL)
 Subject:  Transaction Error



 Hi Gurus,

 The following exception occurs on a create() call on a CMP Entity Bean.

 Attempting to connect to naming services.  Please wait.
 Attempting to find an instance of the EJB home.
 An instance of the EJB home was found.
 ERROR: Exception thrown by method.
 ERROR: Exception is: java.rmi.ServerException: RemoteException occurred in
 server thread; nested exception is:
 com.ibm.ejs.persistence.EJSPersistenceException: getPStmt failed;
 nested exception is:
 java.sql.SQLException: setTransactionIsolation: Only supports
 TRANSACTION_READ_UNCOMMITTED


 Could anyone point out exactly what the problem is, and more importantly
 how
 to get the error solved.

 I'm using Visual Age Java and connecting to an Oracle Database, and have
 just started with coding beans.

 Thanks,
 Yogesh More
 Member Technical
 Wilco International Systems Private Limited
 e-mail : [EMAIL PROTECTED]

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".






 _

 Disclaimer:

 "This  message is confidential. It may also be privileged or otherwise
 protected
 by  legal  rules. If you have received it by mistake please let us know by
 reply
 and then delete it from your system."

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: j2ee startup

2000-06-12 Thread bants 73

Check to see if anything is running on your default j2ee ports (1049, 1050,
9191 / 8000 / 7000). If yes, do kill -9 for all those processes.

Hope that's helpful,
Arun





Get your own "800" number - Free
Free voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag


 On, Piet Theron ([EMAIL PROTECTED]) wrote:

 Hi

 I am trying to start the J2EE server (j2ee -verbose) but a
 RunTimeException
 is thrown.

 The message in the error.log file is:
 Logging for J2EE Server Version: 1.2.1-q started at: Mon Jun 12 17:54:26
 GMT+02:00 2000.
 Using the Classic VM and the version number 1.2.2 from Sun Microsystems
 Inc.
 .
 VM is using the classpath:
 c:\j2sdkee1.2.1\lib\classes;c:\j2sdkee1.2.1\lib\locale;c:\j2sdkee1.2.1\lib\j
 2ee.jar;c:\jdk1.2.2\jre\lib\rt.jar;c:\jdk1.2.2\lib\tools.jar;.;.;;c:\j2sdkee
 1.2.1\lib\cloudscape\RmiJdbc.jar;c:\j2sdkee1.2.1\lib\cloudscape\client.jar;c
 :\j2sdkee1.2.1\lib\jhall.jar.
 J2EE Home Directory has been set to:  c:\j2sdkee1.2.1.


 org.omg.CORBA.INTERNAL:   minor code: 1398079496  completed: No
  at
 com.sun.corba.ee.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:193)
  at
 com.sun.corba.ee.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:152)
  at
 com.sun.corba.ee.internal.POA.POAORB.setPersistentServerPort(POAORB.java:449
 )
  at
 com.sun.enterprise.iiop.POAEJBORB.setPersistentServerPort(POAEJBORB.java:312
 )
  at
 com.sun.enterprise.iiop.POAProtocolMgr.setPersistentServerPort(POAProtocolMg
 r.java:167)
  at
 com.sun.enterprise.server.EJBServer.setPersistentServerPort(EJBServer.java:4
 75)
  at
 com.sun.enterprise.server.EJBServer.setPersistentServerInfo(EJBServer.java:4
 23)
  at com.sun.enterprise.server.EJBServer.init(EJBServer.java:201)
  at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:291)
  at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:866

 My setup is as follows:
 J2EE_HOME=c:\j2sdkee1.2.1
 JAVA_HOME=c:\jdk1.2.2
 J2EE_CLASSPATH=

 WinNT Server 4.0 fixpack 5
 jdk:  tried with 1.3, 1,2.0 and 1.2.2
 jsdk: j2sdkee1.2.1

 What am I doing wrong or am I not doing ??

 Any help will be appreciated

 Thanks
 Piet Theron
 [EMAIL PROTECTED]

 ===
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".




===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: RemoteException -- ObjectNotFoundException

2000-06-12 Thread Juan Pablo Lorandi

Uh, isn't findByPrimaryKey() supposed to be in the Home interface(it don't
necesarily have to return the Entity you've just created)

-Original Message-
From: Yogesh More [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 1:31 PM
To: [EMAIL PROTECTED]
Subject: RemoteException -- ObjectNotFoundException


Fellow EJB programmers,

I get the ObjectNotFoundException after
1. I call the create(...) method on the Home interface of an EntityBean ...
which I cross-check with the entry in the database... which is fine
2. and then when I call the findByPrimaryKey() or some Remote Interface
method.

The error I found was .. that the "object" reference in the handle is null?

Could anyone point out the reason for the same?

Thanks,
Yogesh More
Member Technical
Wilco International Systems Private Limited
e-mail : [EMAIL PROTECTED]

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Dynamic finder method with CMP

2000-06-12 Thread Biske, Todd
Title: RE: Dynamic finder method with CMP





Wade et al:


We had this same scenario and we chose to use a session bean for the dynamic querying. We found that performance would be heavily impacted by using a CMP entity bean (since you'd have one database hit for the initial find, and then 1 hit for each entity bean that is created). At that point, it came down between a BMP entity bean and a session bean. There wasn't any advantage to creating an entity bean that represented query results, and if anything, it would consume more resources than the session bean approach. A stateless session bean could be used to perform the query and return a business object representing the results, and then thrown away.

In general, our pattern is this:


When the user is performing an action that will return multiple entities (rows) from the database (and it is typically a small number of attributes for those entities), we use a stateless session bean.

When the user is performing an action that will return detailed information about a single entity (row) from the database, we use entity beans.

-tb 


-Original Message-
From: Wade Catlyn [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, June 08, 2000 6:58 PM
To: [EMAIL PROTECTED]
Subject: Dynamic finder method with CMP


Hi folks,


I wish to implement an entity bean that has a findBy method whose search
criteria is specified dynamically. This would be useful for operations
where a user can specify what criteria he wishes to search by. (e.g an
html form with several fields such as name, age, address, date... etc,
and the query would be composed using only the fields which the user
selects).


This can be easily done using bean managed persistence by having a
method of the form: findByCriteria(SearchCriteria sc)
where the desired query would be composed using the information
extracted from the SearchCriteria object.


However this would not be possible if container managed persistence is
used.


Does anyone have any suggestions on how this kind on functionality could
be implemented without having to give up the advanteges of CMP ?


thanks


Wade Catlyn


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message signoff EJB-INTEREST. For general help, send email to
[EMAIL PROTECTED] and include in the body of the message help.




***
WARNING:  All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
***



Re: Download Ed Roman's EJB book from TheServerSide.com

2000-06-12 Thread Suryanarayana Murthy

Thank you much for the information.

 -Original Message-
 From: Ed Roman [SMTP:[EMAIL PROTECTED]]
 Sent: Sunday, June 11, 2000 10:48 PM
 To:   [EMAIL PROTECTED]
 Subject:  Download Ed Roman's EJB book from TheServerSide.com

 I'd like to offer the community an opportunity to download a complimentary
 electronic version of my best-selling book, "Mastering Enterprise
 JavaBeans
 and the Java 2 Platform, Enterprise Edition".  You can download this book
 from http://www.TheServerSide.com.

 A lot of time and effort went into writing this book, so I hope that by
 making the electronic version available for download, more people will
 benefit from it.  If you really like the book and find that you frequently
 refer to it, consider buying a hard copy.  The published book is cheaper
 to
 buy than printing it yourself, is nicely bound, is more conventient for
 quick references, and includes an accompanying CD containing all the
 source
 code used in the book.

 Best,
 -Ed

 --
 Ed Roman
 CEO, The Middleware Company
 Author, "Mastering Enterprise JavaBeans and the Java 2 Platform,
 Enterprise
 Edition"
 http://www.middleware-company.com
 [EMAIL PROTECTED]
 512-257-3600

 Need help with EJB / J2EE?  Ask about our on-site training and consulting
 services.

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Threading and IO in EJBs

2000-06-12 Thread Juan Pablo Lorandi



what
about using a jdbc driver works with files??
also,
I would not advise to use containers and daemon directly; use instead some
massaging system to communicate the EJBs and the daemon works for
me!

  -Original Message-From: parikshit
  [mailto:[EMAIL PROTECTED]]Sent: Monday, June 12, 2000 9:05
  AMTo: [EMAIL PROTECTED]Subject: Threading and IO
  in EJBs
  Dear All,
  
   As per the EJB specifications threading is
  not allowed in EJBs. I believe the reason for the same is,the Server
  does instance pooling of the EJBs.
  But what if I want daemon thread which have to do
  some work in the background?
  Does it not allow creating threads from classes
  invoked from EJBs?
  
  Also can I do IO operations in classes invoked
  from EJBs (EJB specs do not allow even IO operations,as they are not
  transactional)
  
  Thank you,
  Parikshit
  


Re: PK Generation and CMP problem

2000-06-12 Thread Jonathan K. Weedon

Tim,

vendor

I posted the following to our news group:

news://newsgroups.borland.com/inprise.public.appserver

"Jonathan K. Weedon" wrote:

 I am starting this thread to promote a discussion of how
 IAS 4.1 should handle the automatic generation of primary
 key values.  Although there are general purpose ways to
 support this feature in the EJB model (see my posting:

 Sequence Number Generator

 for details) it is a frequently enough requested feature
 that it deserves inclusion in the CMP engine proper.

 Note that by definition support for this feature goes beyond
 the scope of the EJB specification.  IMO, this is a bug in
 the EJB spec., but for now, caveat emptor.

 So, if you have used a particular technique successfully,
 please let us know.  If you think you know how to solve the
 problem for a particular DBMS, let us know.  I hope to get
 this issue fully resolved and implemented this week.  So,
 time is obviously of the essence.

 -jkw

under the thread:

CMP primary key generation

Since this feature is IAS specific, please do not reply to
this mailing list, but rather to the IAS news group.  Thanks.

/vendor

-jkw

Tim Shaw wrote:

 Hi,

 Sorry if this is vendor specific, but it's an odd one in a not very odd
 combination :

 Environment : IAS 4.0, SQL Server 7, NT

 I have a legacy DB we're wrapping with EJB's etc - C/S - n-Tier

 The DB has a PK on each table which has the (SQLServer specific?) keyword
 'IDENTITY' attached to it. My understanding of this is that it creates a new
 PK for every insert - which is actually kinda neat as it circumvents the
 need to generate one ourselves.

 The problem I have is that IAS, when using CMP, generates code to insert a
 (null - because it doesn't have a value) value into the PK - but SQL Server
 doesn't like this and throws an Exception. This (sort of) makes sense as the
 CMP will not know about the IDENTITY thing and assume we know what we're
 doing with the PK from within the bean.

 I'm currently waiting for Inprise to come back on this, but I wondered if
 anyone had run across this before (or had any suggestions).

 I can't turn off the IDENTITY as other apps update the DB, and I really
 don't want to go to BMP as it fits nicely into CMP otherwise. Can I 'hide'
 the field from the CMP somehow?

 Thanks in advance

 tim

 This e-mail, and any attachment, is confidential. If you have received it in error, 
please delete it from your system, do not use or disclose the information in any way, 
and notify me immediately. The contents of this message may contain personal views 
which are not the views of the BBC, unless specifically stated.

 ===
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




WebLogic and logging

2000-06-12 Thread Rich Johns

WebLogic 5.1
nt server

Does anyone know how to get WebLogic to show trace output from
beans? IOW, if my beans do printlns, how can I configure WebLogic
to show me the output? There must be a property.

Thanks.

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: RemoteException -- ObjectNotFoundException

2000-06-12 Thread Yogesh More

I'm using the ORACLE db ... and the isolation level ( Transaction Attribute
) I have set is TRANSACTION_READ_UNCOMMITTED.
Does that make a difference ,and does that answer your question?.
I've just started on EJBs a fort-night back.
Could you just elaborate on what these isolation levels mean for a Entity
bean ... or a pointer / link to the same would save time on searching.

Thanks
Yogesh

 -Original Message-
 From: Papaya Head [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, June 12, 2000 10:59 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: RemoteException -- ObjectNotFoundException

 are the call to the create method and the subsequent calls to other
 methods
 in the same transaction?

 From: Yogesh More [EMAIL PROTECTED]
 Fellow EJB programmers,
 
 I get the ObjectNotFoundException after
 1. I call the create(...) method on the Home interface of an EntityBean
 ...
 which I cross-check with the entry in the database... which is fine
 2. and then when I call the findByPrimaryKey() or some Remote Interface
 method.
 
 The error I found was .. that the "object" reference in the handle is
 null?
 
 Could anyone point out the reason for the same?
 
 Thanks,
 Yogesh More
 Member Technical
 Wilco International Systems Private Limited
 e-mail : [EMAIL PROTECTED]
 

 
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Transaction Error

2000-06-12 Thread Sengoda Shanmugham

I thought that Oracle thin driver supports only TRANSACTION_SERIALIZABLE
and TRANSACTION_READ_COMMIITED. I have to look up where I read this.  Just
curious, what kind of drivers are you using? How were you able to get the
isolation level TRANSACTION_READ_UNCOMMITTED working?





"Yogesh More" [EMAIL PROTECTED]@JAVA.SUN.COM on 06/12/2000 12:45:55
PM

Please respond to "A mailing list for Enterprise JavaBeans development"
  [EMAIL PROTECTED]

Sent by:  "A mailing list for Enterprise JavaBeans development"
  [EMAIL PROTECTED]


To:   [EMAIL PROTECTED]
cc:

Subject:  Re: Transaction Error


Got the problem sorted folks, set the isolation level for the
Transaction to TRANSACTION_READ_UNCOMMITTED for the Oracle Database I have
and it works fine.
Thanks
Yogesh

 -Original Message-
 From: Sengoda Shanmugham [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, June 12, 2000 9:30 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Transaction Error

 It looks like you have a problem with your Oracle driver. Please see the
 link:
 http://www-4.ibm.com/software/webservers/appserv/doc/v30/relnotes.html

 Problem:
 Using Oracle, the WebSphere Administrative  Server will not start. The
 /logs/tracefile  contains many errors, including the message:
  java.sql.SQLException:  setTransactionIsolation:  Only
 supports  TRANSACTION_READ_UNCOMMITTED

 Workaround:
 Update the Oracle JDBC Driver, as explained in the WebSphere Application
 Server Getting Started  book.




 [EMAIL PROTECTED]@JAVA.SUN.COM on 06/12/2000 07:37:30 AM

 Please respond to "A mailing list for Enterprise JavaBeans development"
   [EMAIL PROTECTED]

 Sent by:  "A mailing list for Enterprise JavaBeans development"
   [EMAIL PROTECTED]


 To:   [EMAIL PROTECTED]
 cc:

 Subject:  Re: Transaction Error


 Select your bean, then go to it's properties and set your Isolation Level
 to
 TRANSACTION_READ_UNCOMMITTED... this might solve your problem...






 Yogesh More [EMAIL PROTECTED] on 06/12/2000 03:41:27 PM

 Please respond to A mailing list for Enterprise JavaBeans development
   [EMAIL PROTECTED]

 To:   [EMAIL PROTECTED]
 cc:(bcc: Samar Abbas/PK/ABNAMRO/NL)
 Subject:  Transaction Error



 Hi Gurus,

 The following exception occurs on a create() call on a CMP Entity Bean.

 Attempting to connect to naming services.  Please wait.
 Attempting to find an instance of the EJB home.
 An instance of the EJB home was found.
 ERROR: Exception thrown by method.
 ERROR: Exception is: java.rmi.ServerException: RemoteException occurred
in
 server thread; nested exception is:
 com.ibm.ejs.persistence.EJSPersistenceException: getPStmt failed;
 nested exception is:
 java.sql.SQLException: setTransactionIsolation: Only supports
 TRANSACTION_READ_UNCOMMITTED


 Could anyone point out exactly what the problem is, and more importantly
 how
 to get the error solved.

 I'm using Visual Age Java and connecting to an Oracle Database, and have
 just started with coding beans.

 Thanks,
 Yogesh More
 Member Technical
 Wilco International Systems Private Limited
 e-mail : [EMAIL PROTECTED]


==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".






 _

 Disclaimer:

 "This  message is confidential. It may also be privileged or otherwise
 protected
 by  legal  rules. If you have received it by mistake please let us know
by
 reply
 and then delete it from your system."


==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".


==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: WebLogic and logging

2000-06-12 Thread Douglas Bullard

You have to use one of their classes to do any logging.  I'd recommend
wrapping this in your own class, so if you move to another appservers
(say GS/J) you won't have vendor-specific code sprinkled throughout your
code.



Douglas Bullard
Internet Commerce Applications Engineer
GemStone Systems, Inc.
20575 NW von Neumann Drive
Beaverton, OR 97006
(503) 533-3590
[EMAIL PROTECTED]


 -Original Message-
From:   Rich Johns [mailto:[EMAIL PROTECTED]]
Sent:   Monday, June 12, 2000 10:34 AM
To: [EMAIL PROTECTED]
Subject:WebLogic and logging

WebLogic 5.1
nt server

Does anyone know how to get WebLogic to show trace output from
beans? IOW, if my beans do printlns, how can I configure WebLogic
to show me the output? There must be a property.

Thanks.

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Error While deploying in Weblogic Server 5.1

2000-06-12 Thread Senthil Kumar



Thanks very much for the help. I got the bean 
deployed.

Regards,
Senthil

  - Original Message - 
  From: 
  Tolu 
  Agbeja 
  To: [EMAIL PROTECTED] 
  Sent: Friday, June 09, 2000 4:54 PM
  Subject: Re: Error While deploying in 
  Weblogic Server 5.1
  
  Check your source code to see if your context 
  variable is marked "transient" If this is so, remove the transient 
  specifier.
  A 
  variable marked transient cannot be passivated ( this means that its value 
  will not be stored when the container decides to passivate the 
  bean)
  
  goodluck!
  
-Original Message-From: Senthil Kumar [mailto:[EMAIL PROTECTED]]Sent: 
Friday, June 09, 2000 11:41 AMTo: 
[EMAIL PROTECTED]Subject: Error While deploying in 
Weblogic Server 5.1
Hi,

I am new in developing and deploying EJB 
components and I am using Weblogic 5.1. When I try to generate container 
classes for a EJB Session Bean using the deployer tool, I am 
getting the following error.
---

[6.4.1] In EJB Demo, references to 
javax.ejb.EJBContext, javax.ejb.SessionContext, or javax.ejb.EntityContext 
must not be transient.

Anyone who can help me to get over 
this.

Thanks in advance.

Senthil


Re: WebLogic and logging

2000-06-12 Thread Papaya Head

Weblogic does provide facilities to do the logging, but it doesn't mean you
have to use it.

I think the original question was: where to find the outputs from printlns
inside the bean implementation. if you start the server from script, you
should be able to see it from the console where you started the server.

From: Douglas Bullard [EMAIL PROTECTED]

You have to use one of their classes to do any logging.  I'd recommend
wrapping this in your own class, so if you move to another appservers
(say GS/J) you won't have vendor-specific code sprinkled throughout
your
code.



Douglas Bullard
Internet Commerce Applications Engineer
GemStone Systems, Inc.
20575 NW von Neumann Drive
Beaverton, OR 97006
(503) 533-3590
[EMAIL PROTECTED]


  -Original Message-
From:   Rich Johns [mailto:[EMAIL PROTECTED]]
Sent:   Monday, June 12, 2000 10:34 AM
To: [EMAIL PROTECTED]
Subject:WebLogic and logging

WebLogic 5.1
nt server

Does anyone know how to get WebLogic to show trace output from
beans? IOW, if my beans do printlns, how can I configure WebLogic
to show me the output? There must be a property.

Thanks.



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




FW: RemoteException -- ObjectNotFoundException

2000-06-12 Thread Juan Pablo Lorandi

Resending... not sure if arrived the first time

-Original Message-
From: Juan Pablo Lorandi
Sent: Monday, June 12, 2000 1:56 PM
To: [EMAIL PROTECTED]
Subject: Re: RemoteException -- ObjectNotFoundException






Uh, isn't findByPrimaryKey() supposed to be in the Home interface(it don't
necesarily have to return the Entity you've just created)

-Original Message-
From: Yogesh More [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 1:31 PM
To: [EMAIL PROTECTED]
Subject: RemoteException -- ObjectNotFoundException


Fellow EJB programmers,

I get the ObjectNotFoundException after
1. I call the create(...) method on the Home interface of an EntityBean ...
which I cross-check with the entry in the database... which is fine
2. and then when I call the findByPrimaryKey() or some Remote Interface
method.

The error I found was .. that the "object" reference in the handle is null?

Could anyone point out the reason for the same?

Thanks,
Yogesh More
Member Technical
Wilco International Systems Private Limited
e-mail : [EMAIL PROTECTED]

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




FW: Threading and IO in EJBs

2000-06-12 Thread Juan Pablo Lorandi


Resending
-Original Message-
From: Juan Pablo Lorandi
Sent: Monday, June 12, 2000 2:22 PM
To: [EMAIL PROTECTED]
Subject: Re: Threading and IO in EJBs






what about using a jdbc driver works with files??
also, I would not advise to use containers and daemon directly; use instead
some massaging system to communicate the EJBs and the daemon works for
me!

-Original Message-
From: parikshit [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 9:05 AM
To: [EMAIL PROTECTED]
Subject: Threading and IO in EJBs


Dear All,

  As per the EJB specifications threading is not allowed in EJBs. I believe
the reason for the same is, the Server does instance pooling of the EJBs.
But what if I want daemon thread which have to do some work in the
background?
Does it not allow creating threads from classes invoked from EJBs?

Also can I do IO operations in classes invoked from EJBs (EJB specs do not
allow even IO operations,as they are not transactional)

Thank you,
Parikshit








what
about using a jdbc driver works with files??
also,
I would not advise to use containers and daemon directly; use instead some
massaging system to communicate the EJBs and the daemon works for
me!

  -Original Message-From: parikshit
  [mailto:[EMAIL PROTECTED]]Sent: Monday, June 12, 2000 9:05
  AMTo: [EMAIL PROTECTED]Subject: Threading and IO
  in EJBs
  Dear All,
  
   As per the EJB specifications threading is
  not allowed in EJBs. I believe the reason for the same is,the Server
  does instance pooling of the EJBs.
  But what if I want daemon thread which have to do
  some work in the background?
  Does it not allow creating threads from classes
  invoked from EJBs?
  
  Also can I do IO operations in classes invoked
  from EJBs (EJB specs do not allow even IO operations,as they are not
  transactional)
  
  Thank you,
  Parikshit
  



Re: Critique of language WAS RE: WEBLOGIC back-end connectivity.

2000-06-12 Thread Gary Shea

Hi Madhu --

Whoops!  I guess I did make a generalization there, assuming that
(subcontinental) Indians don't have emotional investment in how the
American/English/whatever language is used/presented.  It hadn't
occurred to me that I might step on some toes...  never too late
for education.  Sorry!

I guess one person's "misuse" is another's "normal use".

Gary

On Mon, 12 Jun 2000, Chaganthi, Madhusudan R. wrote:
 Gary

 [...] No need to judge the way people cherish the
 language.

 Generalization is better used in OOAD than in these kind of issues.

 Thanks
 Madhu


 -Original Message-
 From: Gary Shea [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 12, 2000 2:03 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Critique of language WAS RE: WEBLOGIC back-end
 connectivity.


 On Mon, 12 Jun 2000, Mark Zawadzki wrote:
  FLAME ON
  As per our discussion a week or two ago of using U for "you", 2 for
 "too/to"
  , 4 for "for", etc. and the subsequent similarity to a Prince concert, I
  think this message sums up what is *wrong* with communicating thusly. I
 had
  to read the message twice before I realized that "type 4" was "type four"
  and not "type for".
  FLAME OFF

 Hi Mark --

 I think it's something about seeing one's native language be
 "misused".  I wish the folks on the list would use English the
 way we Americans and English use it, but we're no longer the
 only English-speaking countries... I'd say India is close to
 being an English-speaking country, and unfortunately they don't
 cherish it the same way we do...

 I liked the "Prince concert" comparison, will have to remember that!

 Gary

   -Original Message-
   From: Rajesh Jha [mailto:[EMAIL PROTECTED]]
   Sent: Monday, June 12, 2000 12:55 AM
   To: [EMAIL PROTECTED]
   Subject: Re: WEBLOGIC back-end connectivity.
  
  
   Hello SivaKumar
  
  
   As u trying to connect with the Remote Database server. U
   must have type 4
   driver.If u are using default driver of weblogic (OCI) it
   does not work..
   If u are using type 4 driver of oracle then let me know
  
  
   Rajesh Jha
  
   -Original Message-
   From: Sivakumar_Subramanian
   [mailto:[EMAIL PROTECTED]]
   Sent: Monday, June 12, 2000 9:18 AM
   To: [EMAIL PROTECTED]
   Subject: WEBLOGIC back-end connectivity.
  
  
   Hi,
  
   I am unable to connect to oracle 8 with
   weblogic 5.1 thru
   editing weblogic.properties file in my local machine. I have
   mentioned my
   userid and pwd correcly and also the server name as the host
   name generated
   thru oracle8 net config. but i  am able to connect to the
   other machine by
   giving its' ip address. pls help me out immediately.
   thanx in advance,
   sivakumar
  
   ==
   =
   To unsubscribe, send email to [EMAIL PROTECTED] and
   include in the body
   of the message "signoff EJB-INTEREST".  For general help,
   send email to
   [EMAIL PROTECTED] and include in the body of the message "help".
  
   ==
   =
   To unsubscribe, send email to [EMAIL PROTECTED] and
   include in the body
   of the message "signoff EJB-INTEREST".  For general help,
   send email to
   [EMAIL PROTECTED] and include in the body of the message "help".
  
 
 
 ===
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
 
 

 ===
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".

 ===
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".



===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Article on EJB 2.0

2000-06-12 Thread Richard Monson-Haefel

Hello,

An article I wrote on the new EJB 2.0 specification is now available at
JavaWorld magazine.

EJB 2.0 Article
http://www.javaworld.com/javaworld/jw-06-2000/jw-0609-ejb.html

Enjoy!

Richard

--
Richard Monson-Haefel
Author of Enterprise JavaBeans, 2nd Edition
Published by O'Reilly  Associates
http://www.EjbNow.com

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Practical JMS usage

2000-06-12 Thread Scott Durrant

Let's say you are creating a user's account and part of that it to create
an email account for the new user.

The email account will be created by 'someone' that specializes in email
and has partnered with your company.

You do what needs to be done on your side of things and wait for
confirmation of the email account creation.  If there is a problem
creating the email account (the server is down, the username is taken,
...) you need to be able to rollback the transaction (or deal with it in
some graceful manner).

This kind of scenario is common and is handled well by a queue, in this
case, JMS.  You might want to look at 'ACID' and 'two-phase commits'.

Scott Durrant
Human Genetics
University of Utah
[EMAIL PROTECTED]


On Mon, 12 Jun 2000, Chuck Butkus wrote:

 You should use JMS if you want to do things "asynchonously".

 Since you are forbidden to create threads in your beans, you cannot call a
 method on a bean directly and have it be an asynchronous call.  In other
 words, you will have to wait until the bean has completed its processing.
 This may include calling other beans, databases, clients, etc.  This
 behavior can be undesirable in many situations where you just want to call
 the method and have it return before doing any heavy processing, allowing
 the caller to go on with other tasks.

 To accomplish this you would either have to create a middleman object to
 handle the threading issues (not the simplest thing to implement) or use
 JMS.

 -Original Message-
 From: A mailing list for Enterprise JavaBeans development
 [mailto:[EMAIL PROTECTED]]On Behalf Of Mr. Jake
 Sent: Thursday, June 08, 2000 2:50 PM
 To: [EMAIL PROTECTED]
 Subject: Practical JMS usage


 Hello,

 I have been reading a lot about JMS recently, and I was wondering if anyone
 could share some of the particular ways that they have been using this in
 practice.  It sounds potentially useful, but I'm having a hard time
 identifying particular instances where this would be of benefit.  I am
 specifically interested in hearing how this would tie in with EJB
 architecture.

 I also have two specific questions regarding JMS.  First, if you are using
 it to do something like creating EJBs on the receipt of a message, why is
 this better than, say, just creating the EJB directly via a method
 invocation rather than going through the middleman of a messaging
 system?  Secondly, it seems like JMS is geared towards highly distributed
 systems.  We are in the process of building a product which is a hosted
 service that would need to send messages to customers of ours.  On our end,
 these would be produced using Weblogic.  If these messages were sent using
 JMS, could our customers receive them using a different JMS vendor than
 Weblogic?

 Thanks,
 Jake

 
 --
 Jake Reichert   email: [EMAIL PROTECTED]
 Technical LeadPhone: (415) 876-7500
 Allpredict Fax: (240) 250-5593

 ===
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".

 ===
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".



===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




vendor-specific questions (was RE: WebLogic and logging)

2000-06-12 Thread Hansen, Keir M.

Is it too much to ask to have all these obviously vendor-specific questions
left to the newsgroups and interest lists offered by each?

Not to be on the attack, but I have now deleted 35+ mailings today _alone_
related to Weblogic and IAS, from a list that (far as I can recall) is for
EJB topics of interest.  They are beginning to greatly outweigh other topics
of discussion.

You can easily find the groups of interest at:
Weblogic: http://www.beasys.com/support/newsgroup.html
Inprise:  news://forums.inprise.com/inprise.public.appserver
...and thanks for the consideration.

 -Original Message-
 From: Rich Johns [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 12, 2000 1:34 PM
 To: [EMAIL PROTECTED]
 Subject: WebLogic and logging


 WebLogic 5.1
 nt server

 Does anyone know how to get WebLogic to show trace output from
 beans? IOW, if my beans do printlns, how can I configure WebLogic
 to show me the output? There must be a property.

 Thanks.

 ==
 =
 To unsubscribe, send email to [EMAIL PROTECTED] and
 include in the body
 of the message "signoff EJB-INTEREST".  For general help,
 send email to
 [EMAIL PROTECTED] and include in the body of the message "help".


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




register EJB-INTEREST

2000-06-12 Thread Hui Lin

register "EJB-INTEREST"

Hui Lin
Cysive, Inc.
Ph. 630.382.2800 x2241
Fax 630.382.2801

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: Critique of language WAS RE: WEBLOGIC back-end connectivity.

2000-06-12 Thread Chaganthi, Madhusudan R.

Gary

Hope something good comes out of this dialogue between us both(like people
sticking to better netiquette).
Like you said, hope we all learn, its never too late.

Cheers
Madhu



-Original Message-
From: Gary Shea [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 4:15 PM
To: [EMAIL PROTECTED]
Subject: Re: Critique of language WAS RE: WEBLOGIC back-end
connectivity.


Hi Madhu --

Whoops!  I guess I did make a generalization there, assuming that
(subcontinental) Indians don't have emotional investment in how the
American/English/whatever language is used/presented.  It hadn't
occurred to me that I might step on some toes...  never too late
for education.  Sorry!

I guess one person's "misuse" is another's "normal use".

Gary

On Mon, 12 Jun 2000, Chaganthi, Madhusudan R. wrote:
 Gary

 [...] No need to judge the way people cherish the
 language.

 Generalization is better used in OOAD than in these kind of issues.

 Thanks
 Madhu


 -Original Message-
 From: Gary Shea [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 12, 2000 2:03 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Critique of language WAS RE: WEBLOGIC back-end
 connectivity.


 On Mon, 12 Jun 2000, Mark Zawadzki wrote:
  FLAME ON
  As per our discussion a week or two ago of using U for "you", 2 for
 "too/to"
  , 4 for "for", etc. and the subsequent similarity to a Prince concert, I
  think this message sums up what is *wrong* with communicating thusly. I
 had
  to read the message twice before I realized that "type 4" was "type
four"
  and not "type for".
  FLAME OFF

 Hi Mark --

 I think it's something about seeing one's native language be
 "misused".  I wish the folks on the list would use English the
 way we Americans and English use it, but we're no longer the
 only English-speaking countries... I'd say India is close to
 being an English-speaking country, and unfortunately they don't
 cherish it the same way we do...

 I liked the "Prince concert" comparison, will have to remember that!

 Gary

   -Original Message-
   From: Rajesh Jha [mailto:[EMAIL PROTECTED]]
   Sent: Monday, June 12, 2000 12:55 AM
   To: [EMAIL PROTECTED]
   Subject: Re: WEBLOGIC back-end connectivity.
  
  
   Hello SivaKumar
  
  
   As u trying to connect with the Remote Database server. U
   must have type 4
   driver.If u are using default driver of weblogic (OCI) it
   does not work..
   If u are using type 4 driver of oracle then let me know
  
  
   Rajesh Jha
  
   -Original Message-
   From: Sivakumar_Subramanian
   [mailto:[EMAIL PROTECTED]]
   Sent: Monday, June 12, 2000 9:18 AM
   To: [EMAIL PROTECTED]
   Subject: WEBLOGIC back-end connectivity.
  
  
   Hi,
  
   I am unable to connect to oracle 8 with
   weblogic 5.1 thru
   editing weblogic.properties file in my local machine. I have
   mentioned my
   userid and pwd correcly and also the server name as the host
   name generated
   thru oracle8 net config. but i  am able to connect to the
   other machine by
   giving its' ip address. pls help me out immediately.
   thanx in advance,
   sivakumar
  
   ==
   =
   To unsubscribe, send email to [EMAIL PROTECTED] and
   include in the body
   of the message "signoff EJB-INTEREST".  For general help,
   send email to
   [EMAIL PROTECTED] and include in the body of the message "help".
  
   ==
   =
   To unsubscribe, send email to [EMAIL PROTECTED] and
   include in the body
   of the message "signoff EJB-INTEREST".  For general help,
   send email to
   [EMAIL PROTECTED] and include in the body of the message "help".
  
 
 

===
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
 
 


===
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".


===
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
 of the message "signoff EJB-INTEREST".  For general help, send email to
 [EMAIL PROTECTED] and include in the body of the message "help".



===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".


ejb1.2 xml deployment descriptors

2000-06-12 Thread Ilavarasu Paramasivam

hi all,

my xml files files keep giving troubles while running the ejbc.  can any one
of you send me the reference xml descriptors for all the bean types
(session, bmp  cmp entity beans).  I am not in a position to use tools like
structure builder as i am using the weblogic commerce server components
also).  I am manually editing the xml descriptors.

Thanks in advance.

Regards,
Ilavarsu

-Original Message-
From: Juan Pablo Lorandi [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 8:19 PM
To: [EMAIL PROTECTED]
Subject: FW: Threading and IO in EJBs



Resending
-Original Message-
From: Juan Pablo Lorandi
Sent: Monday, June 12, 2000 2:22 PM
To: [EMAIL PROTECTED]
Subject: Re: Threading and IO in EJBs






what about using a jdbc driver works with files??
also, I would not advise to use containers and daemon directly; use instead
some massaging system to communicate the EJBs and the daemon works for
me!

-Original Message-
From: parikshit [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 9:05 AM
To: [EMAIL PROTECTED]
Subject: Threading and IO in EJBs


Dear All,

  As per the EJB specifications threading is not allowed in EJBs. I believe
the reason for the same is, the Server does instance pooling of the EJBs.
But what if I want daemon thread which have to do some work in the
background?
Does it not allow creating threads from classes invoked from EJBs?

Also can I do IO operations in classes invoked from EJBs (EJB specs do not
allow even IO operations,as they are not transactional)

Thank you,
Parikshit

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: WebLogic and logging

2000-06-12 Thread Yen, Robert
Title: RE: WebLogic and logging





Try weblogic.logging.LogOutputStream. The only problem is BEA hasn't put out any documentation for it. You could, though, javadoc the class file and pull out methods and their signatures.

Hope this help.


Robert


-Original Message-
From: Rich Johns [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 1:34 PM
To: [EMAIL PROTECTED]
Subject: WebLogic and logging



WebLogic 5.1
nt server


Does anyone know how to get WebLogic to show trace output from
beans? IOW, if my beans do printlns, how can I configure WebLogic
to show me the output? There must be a property.


Thanks.


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message signoff EJB-INTEREST. For general help, send email to
[EMAIL PROTECTED] and include in the body of the message help.





Re: Error While deploying in Weblogic Server 5.1

2000-06-12 Thread Senthil Kumar



Thanks, I got it working now.

Rgds,
Senthil

  - Original Message - 
  From: 
  Rajesh Jha 
  To: [EMAIL PROTECTED] 
  Sent: Sunday, June 11, 2000 11:51 
PM
  Subject: Re: Error While deploying in 
  Weblogic Server 5.1
  
  Hello Senthil
  
  
  As i 
  have seen ur problem, U must have define the entity context as transient in 
  the Bean class. In the Bean class just remove the transient word. and 
  run ejbc compiler...
  
  
  
  Rajesh Jha
  
-Original Message-From: Senthil Kumar [mailto:[EMAIL PROTECTED]]Sent: 
Friday, June 09, 2000 9:11 PMTo: [EMAIL PROTECTED]Subject: 
Error While deploying in Weblogic Server 5.1
Hi,

I am new in developing and deploying EJB 
components and I am using Weblogic 5.1. When I try to generate container 
classes for a EJB Session Bean using the deployer tool, I am 
getting the following error.
---

[6.4.1] In EJB Demo, references to 
javax.ejb.EJBContext, javax.ejb.SessionContext, or javax.ejb.EntityContext 
must not be transient.

Anyone who can help me to get over 
this.

Thanks in advance.

Senthil


Re: Download Ed Roman's EJB book from TheServerSide.com

2000-06-12 Thread Chris Gerrard

Pardon me, but isn't it extremely bad form to be sending something like this
through this forum?

I have lost far too much time tonight trying to get to my email while
waiting for this massive attachment you knuckleheads thoughtlessly provided
repeatedly got sucked down off the net.

Shame on you. Both for being unthinking enough to ask for it, and being
silly enough to send it. I hope you take more and better care in designing
any systems you may create.

On the other hand, thanks to Ed for having written the book and making it
available.


Chris Gerrard

P.S. for everybody else: I'm sorry about the harsh tone, but it really did
eat up a lot of my time.


- Original Message -
From: David Han [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 12, 2000 6:36 AM
Subject: Re: Download Ed Roman's EJB book from TheServerSide.com


 Dear sivakumar,

 Here is the book

 Sincerely,
 David Han

 - Original Message -
 From: Sivakumar_Subramanian [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, June 12, 2000 6:45 PM
 Subject: Re: Download Ed Roman's EJB book from TheServerSide.com


 
  HI All,
 
  A small request . Can anybody send me this downloaded e-book.
 thanx
  in advance. is it in pdf or html?? eager to know.
 
  
 
   --
   From: manish kumar[SMTP:[EMAIL PROTECTED]]
   Reply To: A mailing list for Enterprise JavaBeans development
   Sent: Monday, June 12, 2000 12:47 PM
   To:   [EMAIL PROTECTED]
   Subject:  Re: Download Ed Roman's EJB book from TheServerSide.com
  
   Try it once again...you will be to download now...I also faced the
same
   problem...but i didn't face any problem when i relogged.
  
  
   From: Praful Kumar Naphade [EMAIL PROTECTED]
   Reply-To: A mailing list for Enterprise JavaBeans development
   [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: Re: Download Ed Roman's EJB book from TheServerSide.com
   Date: Mon, 12 Jun 2000 10:16:56 +0530
   
   I could not down load it. It gives message you should login even if
you
   are
   logged in
   regards,
   Praful
   
   -Original Message-
   From: Ed Roman [mailto:[EMAIL PROTECTED]]
   Sent: Sunday, June 11, 2000 10:48 PM
   To: [EMAIL PROTECTED]
   Subject: Download Ed Roman's EJB book from TheServerSide.com
   
   
   I'd like to offer the community an opportunity to download a
   complimentary
   electronic version of my best-selling book, "Mastering Enterprise
   JavaBeans
   and the Java 2 Platform, Enterprise Edition".  You can download this
 book
   from http://www.TheServerSide.com.
   
   A lot of time and effort went into writing this book, so I hope that
by
   making the electronic version available for download, more people
will
   benefit from it.  If you really like the book and find that you
   frequently
   refer to it, consider buying a hard copy.  The published book is
 cheaper
   to
   buy than printing it yourself, is nicely bound, is more conventient
for
   quick references, and includes an accompanying CD containing all the
   source
   code used in the book.
   
   Best,
   -Ed
   
   --
   Ed Roman
   CEO, The Middleware Company
   Author, "Mastering Enterprise JavaBeans and the Java 2 Platform,
   Enterprise
   Edition"
   http://www.middleware-company.com
   [EMAIL PROTECTED]
   512-257-3600
   
   Need help with EJB / J2EE?  Ask about our on-site training and
 consulting
   services.
   
  
 =
   ==
   To unsubscribe, send email to [EMAIL PROTECTED] and include in
the
   body
   of the message "signoff EJB-INTEREST".  For general help, send email
to
   [EMAIL PROTECTED] and include in the body of the message "help".
   
  
 =
   ==
   To unsubscribe, send email to [EMAIL PROTECTED] and include in
the
   body
   of the message "signoff EJB-INTEREST".  For general help, send email
to
   [EMAIL PROTECTED] and include in the body of the message "help".
   
  
  

   Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com
  
  
 ==
   =
   To unsubscribe, send email to [EMAIL PROTECTED] and include in the
   body
   of the message "signoff EJB-INTEREST".  For general help, send email
to
   [EMAIL PROTECTED] and include in the body of the message "help".
  
 
 

===
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
 body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
 


===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  

NoSuchObjectException [ previosly was] Transaction Error

2000-06-12 Thread Yogesh More

I'm using the Oracle thin driver alright for ORACLE 8i,
and some person who helped me setup oracle had mentioned that it's "auto
commit" mode for oracle hence by setting the Transaction Attribute for
the EntityBean to TRANSACTION_READ_UNCOMMITTED it works fine in the sense,
it atleast creates a database entry.

The rows get created/insertedand the remote reference is obtained, but
any further calls of the methods in the Remote interface throw a
RemoteException : nested exception "NoSuchObjectException" ... digging down
further found that the object reference in the handle is "null"

No solutions yet, neither any explanations ;-(.

Yogesh
 -Original Message-
 From: Sengoda Shanmugham [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, June 12, 2000 11:39 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Transaction Error

 I thought that Oracle thin driver supports only TRANSACTION_SERIALIZABLE
 and TRANSACTION_READ_COMMIITED. I have to look up where I read this.  Just
 curious, what kind of drivers are you using? How were you able to get the
 isolation level TRANSACTION_READ_UNCOMMITTED working?





 "Yogesh More" [EMAIL PROTECTED]@JAVA.SUN.COM on 06/12/2000 12:45:55
 PM

 Please respond to "A mailing list for Enterprise JavaBeans development"
   [EMAIL PROTECTED]

 Sent by:  "A mailing list for Enterprise JavaBeans development"
   [EMAIL PROTECTED]


 To:   [EMAIL PROTECTED]
 cc:

 Subject:  Re: Transaction Error


 Got the problem sorted folks, set the isolation level for the
 Transaction to TRANSACTION_READ_UNCOMMITTED for the Oracle Database I have
 and it works fine.
 Thanks
 Yogesh

  -Original Message-
  From: Sengoda Shanmugham [SMTP:[EMAIL PROTECTED]]
  Sent: Monday, June 12, 2000 9:30 PM
  To:   [EMAIL PROTECTED]
  Subject:  Re: Transaction Error
 
  It looks like you have a problem with your Oracle driver. Please see the
  link:
  http://www-4.ibm.com/software/webservers/appserv/doc/v30/relnotes.html
 
  Problem:
  Using Oracle, the WebSphere Administrative  Server will not start. The
  /logs/tracefile  contains many errors, including the message:
   java.sql.SQLException:  setTransactionIsolation:  Only
  supports  TRANSACTION_READ_UNCOMMITTED
 
  Workaround:
  Update the Oracle JDBC Driver, as explained in the WebSphere Application
  Server Getting Started  book.
 
 
 
 
  [EMAIL PROTECTED]@JAVA.SUN.COM on 06/12/2000 07:37:30 AM
 
  Please respond to "A mailing list for Enterprise JavaBeans development"
[EMAIL PROTECTED]
 
  Sent by:  "A mailing list for Enterprise JavaBeans development"
[EMAIL PROTECTED]
 
 
  To:   [EMAIL PROTECTED]
  cc:
 
  Subject:  Re: Transaction Error
 
 
  Select your bean, then go to it's properties and set your Isolation
 Level
  to
  TRANSACTION_READ_UNCOMMITTED... this might solve your problem...
 
 
 
 
 
 
  Yogesh More [EMAIL PROTECTED] on 06/12/2000 03:41:27 PM
 
  Please respond to A mailing list for Enterprise JavaBeans development
[EMAIL PROTECTED]
 
  To:   [EMAIL PROTECTED]
  cc:(bcc: Samar Abbas/PK/ABNAMRO/NL)
  Subject:  Transaction Error
 
 
 
  Hi Gurus,
 
  The following exception occurs on a create() call on a CMP Entity Bean.
 
  Attempting to connect to naming services.  Please wait.
  Attempting to find an instance of the EJB home.
  An instance of the EJB home was found.
  ERROR: Exception thrown by method.
  ERROR: Exception is: java.rmi.ServerException: RemoteException occurred
 in
  server thread; nested exception is:
  com.ibm.ejs.persistence.EJSPersistenceException: getPStmt
 failed;
  nested exception is:
  java.sql.SQLException: setTransactionIsolation: Only supports
  TRANSACTION_READ_UNCOMMITTED
 
 
  Could anyone point out exactly what the problem is, and more importantly
  how
  to get the error solved.
 
  I'm using Visual Age Java and connecting to an Oracle Database, and have
  just started with coding beans.
 
  Thanks,
  Yogesh More
  Member Technical
  Wilco International Systems Private Limited
  e-mail : [EMAIL PROTECTED]
 
 
 ==
  =
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
  body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
 
 
 
 
 
 
 
 _
 
  Disclaimer:
 
  "This  message is confidential. It may also be privileged or otherwise
  protected
  by  legal  rules. If you have received it by mistake please let us know
 by
  reply
  and then delete it from your system."
 
 
 ==
  =
  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
  body
  of the message "signoff EJB-INTEREST".  For general help, send email to
  [EMAIL PROTECTED] and include in the body of the message "help".
 
 
 

WebLogic and MQSeries

2000-06-12 Thread Ajay Kushwaha

   Hi all,

   My project involves integration of MQSeries with WebLogic server,
   this mainly makes use of applications already written on the
   mainframe side, weblogic is used to provide the web interface
   and do some fancy stuff.

   I am planning to use MQSeries to send/get talk to Mainframe.
   Now my questions are:
   1. Can I use the JMS interface of WebLogic to connect to MQSeries.
   2. What about connection pooling to MQSeries.
   3. I will be using BMP entity beans to be created from MQSeries
   messages, has anyone done this.
   4. I want to use XML messages in MQSeries, I read somewhere that
   MQSeries can convert and pass XML messages. [I know there is another
   product - MQSeries Integrator, this can convert Cobol Copybooks
   and C structures to XML], but can MQSeries basic version do some
   stuff like this.

   Thanx



 Catch me on the WEB : AJAY.ksh.tripod.com



Get free email and a permanent address at http://www.netaddress.com/?N=1

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




weblogic data polling

2000-06-12 Thread Sivakumar_Subramanian

Hi All,
I am maintaining the status of some values  in my database.
i have entity beans to talk with the database. and the clients can call get
methods to know the status. then how should i design so that i can get the
updated status also to the client. should polling be needed in this case in
proper intervals or in a continuous loop. if so how should  i do it?? pls
help me out in this regard ASAP.

bye
AT
sivakumar

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




Re: WebLogic and MQSeries

2000-06-12 Thread Aravind Naidu

I can't claim to have worked with WebLogic   MQSeries, but having worked
with WebSphere and MQSeries, I can give you some input that may prove
useful.


My project involves integration of MQSeries with WebLogic server,
this mainly makes use of applications already written on the
mainframe side, weblogic is used to provide the web interface
and do some fancy stuff.

I am planning to use MQSeries to send/get talk to Mainframe.
Now my questions are:
1. Can I use the JMS interface of WebLogic to connect to MQSeries.

I suppose so. It should be interesting marrying the WL JMS interface to the
MQ Series provider.
The biggest problem we found with using the JMS interface with MQ was the
'functional logon' to the mainframe. JMS spec specifies that the username is
set by the provider and on a NT machine it is the username of the person who
had started the MQ Q manager. This was a pain for us and thus we have
temporarily reverted back to the native API to fix the authentication
problem. We have our transport layer abstracted so that we can switch
between JMS and the MQ native api.
The other problem was that for the MQ IMS and CICS bridges, the headers are
provided as nice C structures. We have had to reverse engineer them to Java
classes. The minor problem here is to fiddle with the provider options to
get the right MQ message format sent to the mainframe for the IMS header.

2. What about connection pooling to MQSeries.

We are not doing connection pooling to MQ at the moment, but relying on the
instance pooling of the application server to perform that function. The
beans that do the MQ interface are isolated to the data tier and we know
exactly how many and how max they can grow to.

3. I will be using BMP entity beans to be created from MQSeries
messages, has anyone done this.

We use SSB's. Interesting with BMP beans. Why ? Do your messages follow a
relational format ? How will you provide finders etc... ?

4. I want to use XML messages in MQSeries, I read somewhere that
MQSeries can convert and pass XML messages. [I know there is another
product - MQSeries Integrator, this can convert Cobol Copybooks
and C structures to XML], but can MQSeries basic version do some
stuff like this.

Yes, it can do that and more.
But if you are using JMS, just extend TextMessage and supply the XML data.
Here is an article that goes to greater detail.
http://javaworld.com/javaworld/jw-02-2000/jw-02-jmsxml_p.html


-- Aravind

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".