Mail Delivery Status Notification

2001-11-16 Thread Postmaster

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: Thu, 15 Nov 2001 20:43:36 -0800 (PST)
Subject: Re: SV: Mapping entity bean with ldap objects 


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: LDAPBean.java


DishnetDSL


---BeginMessage---

Hi Patrik,
  I've attached the LDAPBean code. Hope this
helps. 
- Chetan


--- Patrik Andersson [EMAIL PROTECTED]
wrote:
 I'm very interested in your efforts, do you think
 you could send me an
 example BMP EntityBean using LDAP as it's source of
 data?
 
 regards,
 Patrik Andersson
 
 -Ursprungligt meddelande-
 Fran: Chetan Ithal [mailto:[EMAIL PROTECTED]]
 Skickat: den 15 november 2001 06:10
 Till: Orion-Interest
 Amne: Mapping entity bean with ldap objects 
 
 
 Hi,
I'm using LDAP as my backend instead of database.
 I've written BMP for this application. I've couple
 of
 queries here. I would like to have some kind of
 pooling just like db connection pool. Also, is there
 any plan to support LDAP for CMP ?
 Thanks In Advance,
 - Chetan
 
 __
 Do You Yahoo!?
 Find the one for you at Yahoo! Personals
 http://personals.yahoo.com
 


__
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com


LDAPBean.java
Description: LDAPBean.java
---End Message---


Mail Delivery Status Notification

2001-11-16 Thread Postmaster

MAIL ESSENTIALS SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 08:57:02 +0530
Subject: Mail Delivery Status Notification


has been deleted by Mail Essentials for the following reason(s):

Message contains attachments: Message.eml, Message.eml, Message.eml, Message.eml


Mail essentials

---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 06:40:09 +0530
Subject: Mail Delivery Status Notification


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: Message.eml, ATT, Message.eml, ATT, Message.eml
Message contains attachments: test.tar.gz


DishnetDSL


---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 04:34:58 +0530
Subject: Mail Delivery Status Notification


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: Message.eml, ATT, Message.eml
Message contains attachments: test.tar.gz


DishnetDSL


---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 02:38:45 +0530
Subject: Mail Delivery Status Notification


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: Message.eml
Message contains attachments: test.tar.gz


DishnetDSL


---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: Thu, 15 Nov 2001 13:03:07 -0700
Subject: Repost: Serious bug in Oracle transactions and Orion


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: test.tar.gz


DishnetDSL


---BeginMessage---

Repost:

I'm pretty sure I just tracked down a serious bug in transactions with an
Oracle database (I'm running 8.1.7 with the 8.1.7 jdbc drivers (also
tested the 9i drivers), and can
duplicate the problem both with thin and oci) on Orion 1.5.2 and Orion
1.5.3.

Background:
I have a stateless session bean that has a method with trans-attribute of
Required that looks up 2 entity beans and updates them. The
trans-attribute of all methods in the entity beans is Mandatory. If the
second update fails, then the first update appears to have not committed.
Now the sticker, when I shutdown Orion (both through ctrl-c and admin.jar)
the first update is committed to the database. 

Furthermore, I changed my session bean to stateful and implemented the
SessionSynchronization interface and found out that it's hanging after the
beforeCompletion() method is called (it never calls the
afterCompletion()).

I simplified my test case by moving the entity bean updates to be inside a
UserTransaction in a jsp page. The first update still commits when the
server is shut down.

I'm going to post this on OTN as well, but I just thought you guys would
like to know. If you see a hole in any of my code, please let me know.
Attached is the test cases I detailed above. I included the server config
files.

I used the same exact test cases on a postgresql database and all worked
fine. I'd actually really like to be proven wrong on this one, as it's a
serious problem.

The test case has an ant script, the only thing you need to do to get the
compile to work is copy j2ee.jar into WEB-INF/compile-lib

A database script for Oracle is in WEB-INF/dbscripts

Jeff Hubbach.



test.tar.gz
Description: GNU Zip compressed data
---End Message---


RE: JUnitee

2001-11-16 Thread DeVincentiis Giustino

Hello Tim,

I have junitee working and do not remember any particular hint. I followed
the instructions at http://junitee.sourceforge.net/tutorial.html and all
works fine. No code added to TestServlet, the only change I have made was to
use a TestForm JSP to dynamically load the package under testing.

Giustino De Vincentiis 

  -Original Message-
  From: Tim Pouyer [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 15, 2001 11:25 PM
  To: Orion-Interest
  Subject: JUnitee
  
  
  Anyone know how to set up junitee on orion.  I have seen it 
  working on
  orion before so I know it can work.  I have junit.jar and 
  junitee.jar in
  my orion/lib directory and have set up my TestForm.html in my web
  module.  I have compiled the new TestServlet with the dynamic class
  loader and have set up my ejb-ref's in my web.xml file but i keep
  getting an error that says 'java:comp/env' only available 
  from within a
  J2ee container  when i try to test my ejb.  Is there a 
  property that I
  am supposed to be setting up somewhere or do I have to add 
  some code to
  the TestServlet?  I am at a loss on this one.  Please help.
  Thanks,
  Tim
  
  
  
  




Mail Delivery Status Notification

2001-11-16 Thread Postmaster

MAIL ESSENTIALS SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 15 Nov 2001 20:18:57 -0800
Subject: Mail Delivery Status Notification


has been deleted by Mail Essentials for the following reason(s):

Message contains attachments: Message.eml, Message.eml, Message.eml, Message.eml


Mail essentials

---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

MAIL ESSENTIALS SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 06:40:09 +0530
Subject: Mail Delivery Status Notification


has been deleted by Mail Essentials for the following reason(s):

Message contains attachments: Message.eml, Message.eml, Message.eml


Mail essentials

---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 04:34:58 +0530
Subject: Mail Delivery Status Notification


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: Message.eml, ATT, Message.eml
Message contains attachments: test.tar.gz


DishnetDSL


---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 02:38:45 +0530
Subject: Mail Delivery Status Notification


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: Message.eml
Message contains attachments: test.tar.gz


DishnetDSL


---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: Thu, 15 Nov 2001 13:03:07 -0700
Subject: Repost: Serious bug in Oracle transactions and Orion


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: test.tar.gz


DishnetDSL


---BeginMessage---

Repost:

I'm pretty sure I just tracked down a serious bug in transactions with an
Oracle database (I'm running 8.1.7 with the 8.1.7 jdbc drivers (also
tested the 9i drivers), and can
duplicate the problem both with thin and oci) on Orion 1.5.2 and Orion
1.5.3.

Background:
I have a stateless session bean that has a method with trans-attribute of
Required that looks up 2 entity beans and updates them. The
trans-attribute of all methods in the entity beans is Mandatory. If the
second update fails, then the first update appears to have not committed.
Now the sticker, when I shutdown Orion (both through ctrl-c and admin.jar)
the first update is committed to the database. 

Furthermore, I changed my session bean to stateful and implemented the
SessionSynchronization interface and found out that it's hanging after the
beforeCompletion() method is called (it never calls the
afterCompletion()).

I simplified my test case by moving the entity bean updates to be inside a
UserTransaction in a jsp page. The first update still commits when the
server is shut down.

I'm going to post this on OTN as well, but I just thought you guys would
like to know. If you see a hole in any of my code, please let me know.
Attached is the test cases I detailed above. I included the server config
files.

I used the same exact test cases on a postgresql database and all worked
fine. I'd actually really like to be proven wrong on this one, as it's a
serious problem.

The test case has an ant script, the only thing you need to do to get the
compile to work is copy j2ee.jar into WEB-INF/compile-lib

A database script for Oracle is in WEB-INF/dbscripts

Jeff Hubbach.



test.tar.gz
Description: GNU Zip compressed data
---End Message---


EJB pool management

2001-11-16 Thread Sergey G. Aslanov

Hi all

  Who knows, can I manage Orion's EJB instances pool from code? For example,
  if data in DBMS was changed without help of EJB and I want to update
  it in pool. What have I to do?

-- 
Sergey G. Aslanov
CBOSS Group,
Web-technologies department
mailto:[EMAIL PROTECTED]
tel: +7 095 7555655





RE: JUnitee

2001-11-16 Thread boyle, pj

Hi Tim,

You could try starting the application server with the -userThreads flag.
The following should do the trick:

java -jar orion.jar -userThreads

pj.

 --
 From: Tim Pouyer[SMTP:[EMAIL PROTECTED]]
 Reply To: Orion-Interest
 Sent: 15 November 2001 22:25
 To:   Orion-Interest
 Subject:  JUnitee
 
 Anyone know how to set up junitee on orion.  I have seen it working on
 orion before so I know it can work.  I have junit.jar and junitee.jar in
 my orion/lib directory and have set up my TestForm.html in my web
 module.  I have compiled the new TestServlet with the dynamic class
 loader and have set up my ejb-ref's in my web.xml file but i keep
 getting an error that says 'java:comp/env' only available from within a
 J2ee container  when i try to test my ejb.  Is there a property that I
 am supposed to be setting up somewhere or do I have to add some code to
 the TestServlet?  I am at a loss on this one.  Please help.
 Thanks,
 Tim
 
 
 
 
 
+++--+++


Department of Agriculture, Food and Rural Development 
This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to which they are addressed.
Any review, retransmission, dissemination, reliance upon, or other use of
this information by persons or entities other than the addressee is
prohibited.  If you have received this e-mail in error please notify the
Department by return message. 

+++--+++




how to find server transaction manager?

2001-11-16 Thread patrick patrick

Dear all,
   
   I don't know how to find the server Transaction
manager..  it will be very helpfull if  i know that..

patrick

__
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com




loadbalancer.jar: what does it do, really?

2001-11-16 Thread Curt Smith

I'd like to use a my Cisco loadbalancer that can do session
sticky affinity based balancing instead of loadbalancer.jar.  
Is there doc or can someone list the functions of loadbalancer.jar 
so that I might safely know if my desire is possible?

I've heard that folks have used other HW based load balancers
successfully or where there issues?

Thanks, curt


Curt Smith
[EMAIL PROTECTED]
(w) 404-463-0973
(h) 404-294-6686 




Response has been already committed...

2001-11-16 Thread Sergei Batiuk



Hello all,

I have a JSP, that processes a form and is 
attempting to create a record in my database viaCMP EJB (Person). After my 
form has been processed and the PersonHome.create() methods has succeeded 
(record has been created), the page tries to redirect to another JSP. But this 
doesn't work; instead i receive an exception:

java.lang.IllegalStateException: Response has already been committed, be sure not to write to the OutputStream or to trigger a commit due to any other action before calling this method.
	at com.evermind[Orion/1.5.2 (build 10460)].server.http.EvermindHttpServletResponse.sendRedirect(Unknown Source)
	at /department.jsp._jspService(/department.jsp.java:54) (JSP page line 19)
	at com.orionserver[Orion/1.5.2 (build 10460)].http.OrionHttpJspPage.service(Unknown Source)
	at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
	at com.evermind[Orion/1.5.2 (build 10460)].server.http.JSPServlet.service(Unknown Source)
	at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
	at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
	at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
	at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
	at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)
without PersonHome.create() or response.sendRedirect() everything works fine (it works fine with either, but not with both).What is going on? What am I doing wrong?


RE: JUnitee

2001-11-16 Thread Ely Wagner Aguiar de Oliveira


Hello, mates!

Does anyone know any kind of JUnit to test servlets and JSP? JUnit and
JUnitEE only work with common cases of objects and I'd like to automatize
the test of Servlets and JSPs also.

Thanks.

Ely

-Original Message-
From: DeVincentiis Giustino [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 16 de novembro de 2001 06:17
To: Orion-Interest
Subject: RE: JUnitee


Hello Tim,

I have junitee working and do not remember any particular hint. I followed
the instructions at http://junitee.sourceforge.net/tutorial.html and all
works fine. No code added to TestServlet, the only change I have made was to
use a TestForm JSP to dynamically load the package under testing.

Giustino De Vincentiis 

  -Original Message-
  From: Tim Pouyer [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 15, 2001 11:25 PM
  To: Orion-Interest
  Subject: JUnitee
  
  
  Anyone know how to set up junitee on orion.  I have seen it 
  working on
  orion before so I know it can work.  I have junit.jar and 
  junitee.jar in
  my orion/lib directory and have set up my TestForm.html in my web
  module.  I have compiled the new TestServlet with the dynamic class
  loader and have set up my ejb-ref's in my web.xml file but i keep
  getting an error that says 'java:comp/env' only available 
  from within a
  J2ee container  when i try to test my ejb.  Is there a 
  property that I
  am supposed to be setting up somewhere or do I have to add 
  some code to
  the TestServlet?  I am at a loss on this one.  Please help.
  Thanks,
  Tim
  
  
  
  




Re: Response has been already committed...

2001-11-16 Thread Sergey G. Aslanov

Hi all

SB Hello all,

SB I have a JSP, that processes a form and is attempting to create a record in my 
database via CMP EJB (Person). After my form has been processed and the 
PersonHome.create() methods has succeeded
SB (record has been created), the page tries to redirect to another JSP. But this 
doesn't work; instead i receive an exception:

SB java.lang.IllegalStateException: Response has already been committed, be sure not 
to write to the OutputStream or to trigger a commit due to any other action before 
calling this method.
SB at com.evermind[Orion/1.5.2 (build 
10460)].server.http.EvermindHttpServletResponse.sendRedirect(Unknown Source)
SB at /department.jsp._jspService(/department.jsp.java:54) (JSP page line 19)
SB at com.orionserver[Orion/1.5.2 (build 
10460)].http.OrionHttpJspPage.service(Unknown Source)
SB at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
SB at com.evermind[Orion/1.5.2 (build 
10460)].server.http.JSPServlet.service(Unknown Source)
SB at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
SB at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
SB at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
SB at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
SB at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)

SB without PersonHome.create() or response.sendRedirect() everything works fine (it 
works fine with either, but not with both).
SB What is going on? What am I doing wrong?

Usual cause this error is happened is when you try to redirect to the
other page while you already write to response some data and it was
flushed (or you flush it).

Can you send me your JSP page, I'll try to help you.

-- 
Sergey G. Aslanov
CBOSS Group,
Web-technologies department
mailto:[EMAIL PROTECTED]
tel: +7 095 7555655





Whitespace/TRIM/JSP oh my!

2001-11-16 Thread Orion

This might be a bug, but its something to look  into when using .JSP files.

When accepting input from a textbox, i was trying to use trim() and it 
was not working.

String name=request.getParameter(name);
name=name.trim();

I found it odd, so I tried...

out.println(Char is:  + (short)name.charAt(0));

And I got the value 160.

So I was able to replace 160 with nothing using replace(), BUT it seemed
quite stupid that I had to.

I'm using FreeBSD, and the browser was IE 5.0 that submitted the form.

Derek Young





RE: EJB pool management

2001-11-16 Thread jroberson
Title: RE: EJB pool management





I am sure there is a way, it is just not documented as the orionconsole.jar
has provisions for invalidating the pools, and adjusting their sizes.


it will probably be an ormi: call of some sort?


-Original Message-
From: Sergey G. Aslanov [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 6:38 AM
To: Orion-Interest
Subject: EJB pool management



Hi all


 Who knows, can I manage Orion's EJB instances pool from code? For example,
 if data in DBMS was changed without help of EJB and I want to update
 it in pool. What have I to do?


-- 
Sergey G. Aslanov
CBOSS Group,
Web-technologies department
mailto:[EMAIL PROTECTED]
tel: +7 095 7555655





Mail Delivery Status Notification

2001-11-16 Thread Postmaster

MAIL ESSENTIALS SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 01:41:56 -0800
Subject: Mail Delivery Status Notification


has been deleted by Mail Essentials for the following reason(s):

Message contains attachments: Message.eml, Message.eml, Message.eml, Message.eml, 
Message.eml


Mail essentials

---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

MAIL ESSENTIALS SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 15 Nov 2001 20:18:57 -0800
Subject: Mail Delivery Status Notification


has been deleted by Mail Essentials for the following reason(s):

Message contains attachments: Message.eml, Message.eml, Message.eml, Message.eml


Mail essentials

---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

MAIL ESSENTIALS SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 06:40:09 +0530
Subject: Mail Delivery Status Notification


has been deleted by Mail Essentials for the following reason(s):

Message contains attachments: Message.eml, Message.eml, Message.eml


Mail essentials

---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 04:34:58 +0530
Subject: Mail Delivery Status Notification


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: Message.eml, ATT, Message.eml
Message contains attachments: test.tar.gz


DishnetDSL


---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 02:38:45 +0530
Subject: Mail Delivery Status Notification


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: Message.eml
Message contains attachments: test.tar.gz


DishnetDSL


---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: Thu, 15 Nov 2001 13:03:07 -0700
Subject: Repost: Serious bug in Oracle transactions and Orion


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: test.tar.gz


DishnetDSL


---BeginMessage---

Repost:

I'm pretty sure I just tracked down a serious bug in transactions with an
Oracle database (I'm running 8.1.7 with the 8.1.7 jdbc drivers (also
tested the 9i drivers), and can
duplicate the problem both with thin and oci) on Orion 1.5.2 and Orion
1.5.3.

Background:
I have a stateless session bean that has a method with trans-attribute of
Required that looks up 2 entity beans and updates them. The
trans-attribute of all methods in the entity beans is Mandatory. If the
second update fails, then the first update appears to have not committed.
Now the sticker, when I shutdown Orion (both through ctrl-c and admin.jar)
the first update is committed to the database. 

Furthermore, I changed my session bean to stateful and implemented the
SessionSynchronization interface and found out that it's hanging after the
beforeCompletion() method is called (it never calls the
afterCompletion()).

I simplified my test case by moving the entity bean updates to be inside a
UserTransaction in a jsp page. The first update still commits when the
server is shut down.

I'm going to post this on OTN as well, but I just thought you guys would
like to know. If you see a hole in any of my code, please let me know.
Attached is the test cases I detailed above. I included the server config
files.

I used the same exact test cases on a postgresql database and all worked
fine. I'd actually really like to be proven wrong on this one, as it's a
serious problem.

The test case has an ant script, the only thing you need to do to get the
compile to work is copy j2ee.jar into WEB-INF/compile-lib

A database script for Oracle is in WEB-INF/dbscripts

Jeff Hubbach.



test.tar.gz
Description: GNU Zip compressed data
---End Message---


Announcement

2001-11-16 Thread Magnus Rydin

Announcement

2 new documents available:

www.orionserver.com/docs/resource-provider/resource-provider.xml
Describes how to produce your custom Resource Provider class or use a sample
one to smoothly integrate third party resources with Orion and make these
available to your applications.

www.orionserver.com/docs/remote-access/remote-access.xml
Describes different scenarios for remote access to applications.
This document will expand in the coming week.

As said earlier, any comments/suggestions/requests for documentation can be
sent to [EMAIL PROTECTED]

upcoming docs are:
1) Additional remote scenarios
2) Application Client documentation
3) Configuring datasources
4) SSL clustering details
5) EJB clustering details
6) HTTP clustering details
7) MDB documentation
8) Orion specific deployment settings explained

WR
The Orion Team





RE: Microsoft JDBC Driver - Issues w/ Data Source

2001-11-16 Thread Nathan Phelps

I was hoping someone would answer this, because I'm not 100% sure of the
answer.  However, after looking at the Orion Support site, I'd recommend
changing class=com.evermind.sql.DriverManagerDataSource to
class=com.evermind.sql.ConnectionDataSource  I don't know what that
changes, but it is worth a try.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 10:25 AM
To: Orion-Interest
Subject: Microsoft JDBC Driver - Issues w/ Data Source


I'm having some issues with using the Microsoft SQL Server JDBC Driver with
Orion.

Let me give you some context:

Although I have some past experience with Orion (servlets, beans, jsp), I've
never used its Data Sources, so I know next to nothing about them.  And,
although the community and documentation have improved of late, Orion's
documentation is still pretty sparse.  When it came time to spend some time
with EJB, I moved over to JBoss, which has stronger documentation, for a
while, and while on JBoss, I started making use of the Microsoft SQL Server
driver beta, which has proved to be quite reasonable (which is not too
surprising, since it's the Merant driver).

Due to some performance issues, I wanted to see how the application we're
working on would run under Orion, so I downloaded the latest, and started to
try and configure it.  The basic steps were still pretty easy, but now I'm
stuck on the data source - no matter what I do, I can't seem to get Orion to
recognize the SQL Server driver.

Has anyone tried it yet?  Am I missing something obvious?

I put the driver JARs (three of them: msbase, msutil, mssqlserver) in
orion/lib.  I modified the data-sources.xml to use the driver, as follows:
data-source

name=MicrosoftSqlServer

location=jdbc/SqlServerDS


connection-driver=com.microsoft.jdbc.sqlserver.SQLServerDriver

url=jdbc:microsoft:sqlserver://panthro:1433;DatabaseName=dbVoicenetDevGeoff
;SelectMethod=cursor
username=user
password=password

inactivity-timeout=30
class=com.evermind.sql.DriverManagerDataSource

/

When orion starts, it says the following:
Error initializing data-source 'jdbc/SqlServerDS': DriverManagerDataSource
driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver' not found

What does this mean?  It can't find the driver?  The JARs are in orion lib,
I've checked that several times, including that the driver name is right,
and the class is in the JAR.  I can't swear that Orion is loading the JARs,
because it doesn't put that out to the console or log files, so I don't
really know that it's doing that, but I'm assuming it is.

It does say 'DriverManagerdataSource driver', so perhaps the driver isn't
what it's expecting.  Should I be using another class?  Based on the
descriptions in the API docs and the Hypersonic example, this seems like a
reasonable class to use.

Suggestions?  Anyone know where I can go from here?

Thanks,

- Geoffrey Wiseman

__
Geoffrey Wiseman: Internet Applications Manager
Medium One
t. 416.977.2101 x. 529
http://www.mediumone.com/
__
Think it.  Build it.  Work it.






RE: JUnitee

2001-11-16 Thread Eric Hodges

Check out Cactus at apache.org.  We're using it for that sort of test.

-Original Message-
From: Ely Wagner Aguiar de Oliveira [mailto:[EMAIL PROTECTED]] 
Sent: Friday, November 16, 2001 11:00 AM
To: Orion-Interest
Subject: RE: JUnitee



Hello, mates!

Does anyone know any kind of JUnit to test servlets and JSP? JUnit and
JUnitEE only work with common cases of objects and I'd like to automatize the
test of Servlets and JSPs also.

Thanks.

Ely

-Original Message-
From: DeVincentiis Giustino [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 16 de novembro de 2001 06:17
To: Orion-Interest
Subject: RE: JUnitee


Hello Tim,

I have junitee working and do not remember any particular hint. I followed
the instructions at http://junitee.sourceforge.net/tutorial.html and all
works fine. No code added to TestServlet, the only change I have made was to
use a TestForm JSP to dynamically load the package under testing.

Giustino De Vincentiis 

  -Original Message-
  From: Tim Pouyer [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 15, 2001 11:25 PM
  To: Orion-Interest
  Subject: JUnitee
  
  
  Anyone know how to set up junitee on orion.  I have seen it
  working on
  orion before so I know it can work.  I have junit.jar and 
  junitee.jar in
  my orion/lib directory and have set up my TestForm.html in my web
  module.  I have compiled the new TestServlet with the dynamic class
  loader and have set up my ejb-ref's in my web.xml file but i keep
  getting an error that says 'java:comp/env' only available 
  from within a
  J2ee container  when i try to test my ejb.  Is there a 
  property that I
  am supposed to be setting up somewhere or do I have to add 
  some code to
  the TestServlet?  I am at a loss on this one.  Please help.
  Thanks,
  Tim
  
  
  
  





RE: EJB pool management

2001-11-16 Thread Trujillo, Kris
Title: RE: EJB pool management



If 
your EJB is not the only thing that will be updating a table then you have to 
deploy the ejb with "exclusive-write-access=false" in the 
orion-ejb-jar.xml. Checkout the documentation on the orion-ejb-jar.xml at 
http://www.orionserver.com/docs/orion-ejb-jar.xml.html. 
This basically turns off caching off the EJB.

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, November 16, 
  2001 11:07 AMTo: Orion-InterestSubject: RE: EJB pool 
  management
  I am sure there is a way, it is just not documented as the 
  orionconsole.jar has provisions for invalidating the 
  pools, and adjusting their sizes. 
  it will probably be an ormi: call of some sort? 
  -Original Message- From: 
  Sergey G. Aslanov [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 6:38 AM To: 
  Orion-Interest Subject: EJB pool management 
  
  Hi all 
   Who knows, can I manage Orion's EJB instances pool from 
  code? For example,  if data in DBMS was changed 
  without help of EJB and I want to update  it in 
  pool. What have I to do? 
  -- Sergey G. Aslanov CBOSS Group, Web-technologies department 
  mailto:[EMAIL PROTECTED] tel: +7 095 7555655 


RE: loadbalancer.jar: what does it do, really?

2001-11-16 Thread jroberson
Title: RE: loadbalancer.jar: what does it do, really?





sticky loadbalancing is not such a good idea for orion as it will cause errors if the server is down and the loadbalancer tries to route to that instance. This is a MAJOR problem if another web server is in front of the orion instance and the loadbalancer can not see that orion is down.

the loadbalancer.jar does sticky ip by default itself and we have had to turn it off when because of the above issues. 


-Original Message-
From: Curt Smith [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 9:56 AM
To: Orion-Interest
Subject: loadbalancer.jar: what does it do, really?



I'd like to use a my Cisco loadbalancer that can do session
sticky affinity based balancing instead of loadbalancer.jar. 
Is there doc or can someone list the functions of loadbalancer.jar 
so that I might safely know if my desire is possible?


I've heard that folks have used other HW based load balancers
successfully or where there issues?


Thanks, curt



Curt Smith
[EMAIL PROTECTED]
(w) 404-463-0973
(h) 404-294-6686 





RE: Microsoft JDBC Driver - Issues w/ Data Source

2001-11-16 Thread SAURUGGER,PETER (A-PaloAlto,ex2)

In a previous project we had to look at mssql as one of the database servers
under consideration.

Don't know, with the exception of the order of the arguments in the tag and
that I didn't need to use // in front of the machine name (which could be
specific to the driver) I can't see anything different; I have the driver in
orion/lib, too.

Here is a working example:

data-source
class=com.evermind.sql.DriverManagerDataSource
name=jSupport
location=jdbc/sql7jSupportDS
xa-location=jdbc/xa/sql7jSupportXADS
ejb-location=jdbc/sql7jSupportEJBDS
connection-driver=weblogic.jdbc.mssqlserver4.Driver
username=...
password=..
url=jdbc:weblogic:mssqlserver4:localhost:1433

inactivity-timeout=30
/

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 8:25 AM
To: Orion-Interest
Subject: Microsoft JDBC Driver - Issues w/ Data Source


I'm having some issues with using the Microsoft SQL Server JDBC Driver with
Orion.

Let me give you some context:

Although I have some past experience with Orion (servlets, beans, jsp), I've
never used its Data Sources, so I know next to nothing about them.  And,
although the community and documentation have improved of late, Orion's
documentation is still pretty sparse.  When it came time to spend some time
with EJB, I moved over to JBoss, which has stronger documentation, for a
while, and while on JBoss, I started making use of the Microsoft SQL Server
driver beta, which has proved to be quite reasonable (which is not too
surprising, since it's the Merant driver).

Due to some performance issues, I wanted to see how the application we're
working on would run under Orion, so I downloaded the latest, and started to
try and configure it.  The basic steps were still pretty easy, but now I'm
stuck on the data source - no matter what I do, I can't seem to get Orion to
recognize the SQL Server driver.

Has anyone tried it yet?  Am I missing something obvious?

I put the driver JARs (three of them: msbase, msutil, mssqlserver) in
orion/lib.  I modified the data-sources.xml to use the driver, as follows:
data-source

name=MicrosoftSqlServer

location=jdbc/SqlServerDS


connection-driver=com.microsoft.jdbc.sqlserver.SQLServerDriver

url=jdbc:microsoft:sqlserver://panthro:1433;DatabaseName=dbVoicenetDevGeoff
;SelectMethod=cursor
username=user
password=password

inactivity-timeout=30
class=com.evermind.sql.DriverManagerDataSource

/

When orion starts, it says the following:
Error initializing data-source 'jdbc/SqlServerDS': DriverManagerDataSource
driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver' not found

What does this mean?  It can't find the driver?  The JARs are in orion lib,
I've checked that several times, including that the driver name is right,
and the class is in the JAR.  I can't swear that Orion is loading the JARs,
because it doesn't put that out to the console or log files, so I don't
really know that it's doing that, but I'm assuming it is.

It does say 'DriverManagerdataSource driver', so perhaps the driver isn't
what it's expecting.  Should I be using another class?  Based on the
descriptions in the API docs and the Hypersonic example, this seems like a
reasonable class to use.

Suggestions?  Anyone know where I can go from here?

Thanks,

- Geoffrey Wiseman

__
Geoffrey Wiseman: Internet Applications Manager
Medium One
t. 416.977.2101 x. 529
http://www.mediumone.com/
__
Think it.  Build it.  Work it.






Mail Delivery Status Notification

2001-11-16 Thread Postmaster

MAIL ESSENTIALS SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 10:40:23 -0800
Subject: Mail Delivery Status Notification


has been deleted by Mail Essentials for the following reason(s):

Message contains attachments: Message.eml, Message.eml, Message.eml, Message.eml, 
Message.eml, Message.eml


Mail essentials

---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

MAIL ESSENTIALS SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 01:41:56 -0800
Subject: Mail Delivery Status Notification


has been deleted by Mail Essentials for the following reason(s):

Message contains attachments: Message.eml, Message.eml, Message.eml, Message.eml, 
Message.eml


Mail essentials

---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

MAIL ESSENTIALS SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 15 Nov 2001 20:18:57 -0800
Subject: Mail Delivery Status Notification


has been deleted by Mail Essentials for the following reason(s):

Message contains attachments: Message.eml, Message.eml, Message.eml, Message.eml


Mail essentials

---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

MAIL ESSENTIALS SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 06:40:09 +0530
Subject: Mail Delivery Status Notification


has been deleted by Mail Essentials for the following reason(s):

Message contains attachments: Message.eml, Message.eml, Message.eml


Mail essentials

---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 04:34:58 +0530
Subject: Mail Delivery Status Notification


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: Message.eml, ATT, Message.eml
Message contains attachments: test.tar.gz


DishnetDSL


---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: 16 Nov 2001 02:38:45 +0530
Subject: Mail Delivery Status Notification


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: Message.eml
Message contains attachments: test.tar.gz


DishnetDSL


---BeginMessage---

This is a multi-part message in MIME format.

---End Message---

DishnetDSL SENDER NOTIFICATION

The following message:

TO:  [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: Thu, 15 Nov 2001 13:03:07 -0700
Subject: Repost: Serious bug in Oracle transactions and Orion


has been stripped of all/certain attachments by DishnetDSL Mail server due to security 
reasons.

DishnetDSL allows only the following attachments:

1. .doc
2. .txt
3. .xls
4. .ppt
5. .pdf
6. .zip

Message contains attachments: test.tar.gz


DishnetDSL


---BeginMessage---

Repost:

I'm pretty sure I just tracked down a serious bug in transactions with an
Oracle database (I'm running 8.1.7 with the 8.1.7 jdbc drivers (also
tested the 9i drivers), and can
duplicate the problem both with thin and oci) on Orion 1.5.2 and Orion
1.5.3.

Background:
I have a stateless session bean that has a method with trans-attribute of
Required that looks up 2 entity beans and updates them. The
trans-attribute of all methods in the entity beans is Mandatory. If the
second update fails, then the first update appears to have not committed.
Now the sticker, when I shutdown Orion (both through ctrl-c and admin.jar)
the first update is committed to the database. 

Furthermore, I changed my session bean to stateful and implemented the
SessionSynchronization interface and found out that it's hanging after the
beforeCompletion() method is called (it never calls the
afterCompletion()).

I simplified my test case by moving the entity bean updates to be inside a
UserTransaction in a jsp page. The first update still commits when the
server is shut down.

I'm going to post this on OTN as well, but I just thought you guys would
like to know. If you see a hole in any of my code, please let me know.
Attached is the test cases I detailed above. I included the server config
files.

I used the same exact test cases on a postgresql database and all worked
fine. I'd actually really like to be proven wrong on this one, as it's a
serious problem.

The test case has an ant script, the only thing you need to 

Re: loadbalancer.jar: what does it do, really?

2001-11-16 Thread Curt Smith



[EMAIL PROTECTED]">
  the loadbalancer.jar does sticky ip by default itself
and we have had to turn it off when because of the above issues.
  
How did you solve your problem?
  
Looking for thoughts on my problem; 2 boxes available for clustering.
I have a Cisco Director (SP?).  But I don't have a 3rd box in production
to run the loadbalancer.jar on.
It would be a single point of failure anyway so How would a resilient
architecture be assembled
from what I have available?
  
One option that I see is to NOT cluster, and deploy several instances of
Orion across 2 boxes. Use
my Cisco Director HW loadbalancer to direct requests across the Orion instances.
If an instance failes
or locks up, Director is smart enough to stop routing requests to that Orion
instance.
  
This config just drops the customer's requests on that box or instance, and
delivers scalability across
two boxes.  To me, this is preferable to a single box where if it fails
customers won't get service until
support comes in the next morning... :\
  
thanks, curt
  
  [EMAIL PROTECTED]">