WARNING. You sent a potential virus or unauthorised code

2002-04-22 Thread alert

The MessageLabs Virus Control Centre discovered a possible
virus or unauthorised code (such as a joke program or trojan)
in an email sent by you.

Please read this whole email carefully. It explains what has
happened to your email, which suspected virus has been caught,
and what to do if you need help.



Some details about the infected message


To help identify the email:

The message sender was
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

(if this is not your email address, the message sender possibly
belongs to a mailing list to which you both subscribe.)

The message was titled Introduction on ADSL
The message date was Mon, 22 Apr 2002 13:15:23 +0200
The message identifier was [EMAIL PROTECTED]
The message recipients were
[EMAIL PROTECTED]


To help identify the virus:

Scanner 1 (F-Secure) reported the following:

F-Secure Anti-Virus for i386-linux Release 4.13 build 3360
Frisk Software International F-PROT engine version 3.10 build 701

288706_2MAUDIO-X-MIDI_CTALT.pif infection: W95/Klez.H@mm

   2 files scanned
   1 infections found


The message was diverted into the virus holding pen on
mail server server-11.tower-4.messagelabs.com (id 288706_1019488175)
and will be held for 30 days before being destroyed.



What should you do now?


If you sent the email from a corporate network, you should first
contact your local Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you sent the email from a personal or home account, you will
need to disinfect your computer yourself. To do this you will
need an anti-virus program. We suggest using one of the leading
industry anti-virus packages such as McAfee, F-Secure or Cybersoft,
which cost £15-£30 per copy.



Getting more help

We strongly recommend that you read the Support FAQs at
http://www.messagelabs.com/support/FAQs.htm
These will answer many of the most common queries.

If you subscribe to the MessageLabs SkyScan AV Service, please contact
your IT Helpdesk/Support department for further assistance.

If you do not subscribe to the MessageLabs SkyScan AV Service please
contact SCC Internet Services on:-

+ 44 (0) 121 7662951

You may contact one of our Messaging Technicians at MessageLabs
Helpdesk 7 days a week , 6am - 12pm on:-

+44 (0)9067 579 001

All calls will be charged at £0.75p per minute.

If you believe this message to be a false alarm, you can email
SCC Internet Services at:-

[EMAIL PROTECTED]

Please quote the following Virus Pen ID when contacting Support.

If replying by email, please forward this entire email.


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





WARNING. You tried to send a potential virus or unauthorised code

2002-04-22 Thread alert

The MessageLabs SkyScan Anti-Virus service discovered a possible virus
or unauthorised code (such as a joke program or trojan) in an email sent
by you.

The email has now been quarantined and was not delivered.

Please read the whole of this email carefully.  It explains what has
happened to your email, which suspected virus has been caught and what
to do if you need help addressing the problem.

To help identify the quarantined email:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message recipients were 
[EMAIL PROTECTED]

The message title was Introduction on ADSL 
The message date was Mon, 22 Apr 2002 13:15:23 +0200
The virus or unauthorised code identified in the email is
F-Secure Anti-Virus for i386-linux Release 4.13 build 3360
Frisk Software International F-PROT engine version 3.10 build 701

620193_2MAUDIO-X-MIDI_CTALT.pif infection: W95/Klez.H@mm

   2 files scanned
   1 infections found


Some viruses forge the sender address. For more information please
visit the link to the virus FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-10.tower-15.messagelabs.com (pen id 620193_1019491577)
and will be held for 30 days before being destroyed

Corporate Users:
If you sent the email from a corporate network, you should first
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to MessageLabs
SkyScan AV service, a proactive anti-virus service working around the 
clock, around the globe, please complete our enquiry form.

Personal or Home users:
If you sent the email from a personal or home account, you will need
to disinfect your computer yourself.  Please contact your anti-virus
software vendor for support.

You may like to read the virus FAQ's at:
http://www.messagelabs.com/page.asp?id=628
which will answer most virus related questions.


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





InterScan NT Alert

2002-04-22 Thread Viruswall

Sender, InterScan has detected virus(es) in your e-mail attachment.

Date:   Mon, 22 Apr 2002 18:25:52 +0200
Method: Mail
From:   [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
File:   Loading.exe
Action: clean failed - deleted
Virus:  WORM_KLEZ.G 




WARNING. You tried to send a potential virus or unauthorised code

2002-04-22 Thread alert

The MessageLabs SkyScan Anti-Virus service discovered a possible virus
or unauthorised code (such as a joke program or trojan) in an email sent
by you.

The email has now been quarantined and was not delivered.

Please read the whole of this email carefully.  It explains what has
happened to your email, which suspected virus has been caught and what
to do if you need help addressing the problem.

To help identify the quarantined email:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message recipients were 
[EMAIL PROTECTED]

The message title was The Garden of Eden 
The message date was Mon, 22 Apr 2002 12:42:09 +0300
The virus or unauthorised code identified in the email is
/var/qmail/queue/split/0/620196_2MAUDIO-X-MIDI_CTPlug.exe
Found the W32/Klez.gen@MM virus !!!


Some viruses forge the sender address. For more information please
visit the link to the virus FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-20.tower-15.messagelabs.com (pen id 620196_1019493809)
and will be held for 30 days before being destroyed

Corporate Users:
If you sent the email from a corporate network, you should first
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to MessageLabs
SkyScan AV service, a proactive anti-virus service working around the 
clock, around the globe, please complete our enquiry form.

Personal or Home users:
If you sent the email from a personal or home account, you will need
to disinfect your computer yourself.  Please contact your anti-virus
software vendor for support.

You may like to read the virus FAQ's at:
http://www.messagelabs.com/page.asp?id=628
which will answer most virus related questions.


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





WARNING. You tried to send a potential virus or unauthorised code

2002-04-22 Thread alert

The MessageLabs SkyScan Anti-Virus service discovered a possible virus
or unauthorised code (such as a joke program or trojan) in an email sent
by you.

The email has now been quarantined and was not delivered.

Please read the whole of this email carefully.  It explains what has
happened to your email, which suspected virus has been caught and what
to do if you need help addressing the problem.

To help identify the quarantined email:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message recipients were 
[EMAIL PROTECTED]

The message title was Introduction on ADSL 
The message date was Mon, 22 Apr 2002 13:15:23 +0200
The virus or unauthorised code identified in the email is
F-Secure Anti-Virus for i386-linux Release 4.13 build 3360
Frisk Software International F-PROT engine version 3.10 build 701

646469_2MAUDIO-X-MIDI_CTALT.pif infection: W95/Klez.H@mm

   2 files scanned
   1 infections found


Some viruses forge the sender address. For more information please
visit the link to the virus FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-13.tower-1.messagelabs.com (pen id 646469_1019494806)
and will be held for 30 days before being destroyed

Corporate Users:
If you sent the email from a corporate network, you should first
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to MessageLabs
SkyScan AV service, a proactive anti-virus service working around the 
clock, around the globe, please complete our enquiry form

Personal or Home users:
If you sent the email from a personal or home account, you will need
to disinfect your computer yourself.  Please contact your anti-virus
software vendor for support.

You may like to read the virus FAQ's at:
http://www.messagelabs.com/page.asp?id=628
which will answer most virus related questions.


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





WARNING. You tried to send a potential virus or unauthorised code

2002-04-22 Thread alert

The Star Internet anti-virus service, powered by MessageLabs, discovered
a potential virus or unauthorised code (such as a joke program or
trojan) in an email sent by you.

The email has now been quarantined and was not delivered.

To help identify the mail:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message was titled Starting
The message recipients were 
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message date is Mon, 22 Apr 2002 17:14:40 -0400
The virus or unauthorised code identified in the email is:
F-Secure Anti-Virus for i386-linux Release 4.13 build 3360
Frisk Software International F-PROT engine version 3.10 build 701

339554_2MAUDIO-X-MIDI_CTLoading.exe infection: W95/Klez.H@mm

   3 files scanned
   1 infections found


Some viruses forge the sender address.  For more information on this 
please use the link to the FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-14.tower-1.messagelabs.com (pen id 339554_1019495654)
and will be held for 30 days before being destroyed.

For more information please visit
http://www.star.net.uk/Support/Faq/FAQ.asp

Corporate Users:
If you sent the email from a corporate network, you should first 
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to the Star
Internet anti-virus service, a proactive anti-virus service working 
around the clock, around the globe, please complete our enquiry form

Personal or Home Users:
If you sent the email from a personal computer or home account,
you will need to disinfect your computer yourself.  Please contact
your anti-virus software vendor for support or obtain help from
http://www.star.net.uk/Support/Faq/FAQ.asp


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





RE: problems w/ multiple queues w/ MDBs

2002-04-22 Thread Shawn Pourchot

Orion's JMS is really buggy, it fails almost all the compatibility tests for
JMS.

We did a similar thing that you are experimenting with, only the MDB
response queue is a queue on OpenJMS.  I believe our first attempts to do
this on Orion completely failed.  I haven't tried it with 1.5.4, but until
someone says Orion passes all JMS tests I wouldn't bother.

I've found OpenJMS to be stable and we use it for all the topics and queues
accept a few which are attached MDB's.

http://openjms.exolab.org/

-Original Message-
From: Kosten, Steve [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 1:29 PM
To: Orion-Interest
Subject: problems w/ multiple queues w/ MDBs


Hi,

Was wondering if anyone ran into this problem and has insight they can
share.

I started experimenting w/ Message Driven Beans and  have deployed a MDB
that was attached to a Queue.  It worked and was performing my logic w/in
onMessage().  I wanted to have it reply to another Queue so created a second
Queue to reply to (simply by adding it to jms.xml)  and this was deployed
(as witnessed on the orion console).  The problem I'm encountering is that
my original messages are no longer received once I added the second queue
w/in jms.xml.  I haven't even changed any code.  By commenting out the new
Queue w/in jms.xml, my original MDB again works.  Any ideas on this?  

I'm running 1.5.2.

My jms.xml looks like

?xml version=1.0?
!DOCTYPE jms-server PUBLIC Orion JMS server
http://www.orionserver.com/dtds/jms-server.dtd;

jms-server port=9127


queue-connection-factory host=localhost
location=jms/QueueConnectionFactory username=admin password=admin
port=9127 /  
!--topic-connection-factory host=localhost
location=jms/TopicConnectionFactory username=admin password=admin
port=9127 / --


queue name=Test Message Driven Bean location=jms/testQueue
descriptionTest of MDB/description
/queue 


queue name=Reply Bean location=jms/replyQueue
descriptionreply Queue/description
/queue


!--topic name=Test Message Driven Bean for Topic
location=jms/testTopic
descriptionTest of MDB Topic/description
/topic


topic name=Stock Market location=jms/StockMarket
descriptionStock Market/description
/topic

topic name=Demo Topic location=jms/demoTopic
descriptionA dummy topic/description
/topic   
--

log
file path=../log/jms.log /
/log
/jms-server



Thanks,

Steve





WARNING. You tried to send a potential virus or unauthorised code

2002-04-22 Thread alert

The MessageLabs SkyScan Anti-Virus service discovered a possible virus
or unauthorised code (such as a joke program or trojan) in an email sent
by you.

The email has now been quarantined and was not delivered.

Please read the whole of this email carefully.  It explains what has
happened to your email, which suspected virus has been caught and what
to do if you need help addressing the problem.

To help identify the quarantined email:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message recipients were 
[EMAIL PROTECTED]

The message title was The Garden of Eden 
The message date was Mon, 22 Apr 2002 12:42:09 +0300
The virus or unauthorised code identified in the email is
/var/qmail/queue/split/0/339462_2MAUDIO-X-MIDI_CTPlug.exe
Found the W32/Klez.gen@MM virus !!!


Some viruses forge the sender address. For more information please
visit the link to the virus FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-10.tower-1.messagelabs.com (pen id 339462_1019499750)
and will be held for 30 days before being destroyed

Corporate Users:
If you sent the email from a corporate network, you should first
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to MessageLabs
SkyScan AV service, a proactive anti-virus service working around the 
clock, around the globe, please complete our enquiry form

Personal or Home users:
If you sent the email from a personal or home account, you will need
to disinfect your computer yourself.  Please contact your anti-virus
software vendor for support.

You may like to read the virus FAQ's at:
http://www.messagelabs.com/page.asp?id=628
which will answer most virus related questions.


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





WARNING. You tried to send a potential virus or unauthorised code

2002-04-22 Thread alert

The MessageLabs SkyScan Anti-Virus service discovered a possible virus
or unauthorised code (such as a joke program or trojan) in an email sent
by you.

The email has now been quarantined and was not delivered.

Please read the whole of this email carefully.  It explains what has
happened to your email, which suspected virus has been caught and what
to do if you need help addressing the problem.

To help identify the quarantined email:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message recipients were 
[EMAIL PROTECTED]

The message title was Starting 
The message date was Mon, 22 Apr 2002 17:14:40 -0400
The virus or unauthorised code identified in the email is
/var/qmail/queue/split/1/620174_2MAUDIO-X-MIDI_CTLoading.exe
Found the W32/Klez.gen@MM virus !!!


Some viruses forge the sender address. For more information please
visit the link to the virus FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-6.tower-15.messagelabs.com (pen id 620174_1019503202)
and will be held for 30 days before being destroyed

Corporate Users:
If you sent the email from a corporate network, you should first
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to MessageLabs
SkyScan AV service, a proactive anti-virus service working around the 
clock, around the globe, please complete our enquiry form.

Personal or Home users:
If you sent the email from a personal or home account, you will need
to disinfect your computer yourself.  Please contact your anti-virus
software vendor for support.

You may like to read the virus FAQ's at:
http://www.messagelabs.com/page.asp?id=628
which will answer most virus related questions.


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





Antigen found =*.exe file

2002-04-22 Thread ANTIGEN_GSDMBXIB
Title: Antigen found =*.exe file





Antigen for Exchange found Loading.exe matching =*.exe file filter.
The file is currently Removed. The message, Starting, was
sent from cmarono and was discovered in IMC Queues\Inbound
located at IBERMATICA/IBERCENTRAL/GSDMBXIB.





WARNING. You tried to send a potential virus or unauthorised code

2002-04-22 Thread alert

The MessageLabs SkyScan Anti-Virus service discovered a possible virus
or unauthorised code (such as a joke program or trojan) in an email sent
by you.

The email has now been quarantined and was not delivered.

Please read the whole of this email carefully.  It explains what has
happened to your email, which suspected virus has been caught and what
to do if you need help addressing the problem.

To help identify the quarantined email:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message recipients were 
[EMAIL PROTECTED]

The message title was Starting 
The message date was Mon, 22 Apr 2002 17:14:40 -0400
The virus or unauthorised code identified in the email is
/var/qmail/queue/split/0/339420_2MAUDIO-X-MIDI_CTLoading.exe
Found the W32/Klez.gen@MM virus !!!


Some viruses forge the sender address. For more information please
visit the link to the virus FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-12.tower-1.messagelabs.com (pen id 339420_1019507596)
and will be held for 30 days before being destroyed

Corporate Users:
If you sent the email from a corporate network, you should first
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to MessageLabs
SkyScan AV service, a proactive anti-virus service working around the 
clock, around the globe, please complete our enquiry form

Personal or Home users:
If you sent the email from a personal or home account, you will need
to disinfect your computer yourself.  Please contact your anti-virus
software vendor for support.

You may like to read the virus FAQ's at:
http://www.messagelabs.com/page.asp?id=628
which will answer most virus related questions.


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





Re: WARNING. You tried to send a potential virus or unauthorised code

2002-04-22 Thread Robert E. Moran

can you eliminate this???

[EMAIL PROTECTED] wrote:

The Star Internet anti-virus service, powered by MessageLabs, discovered
a potential virus or unauthorised code (such as a joke program or
trojan) in an email sent by you.

The email has now been quarantined and was not delivered.

To help identify the mail:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message was titled The Garden of Eden
The message recipients were 
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message date is Mon, 22 Apr 2002 12:42:09 +0300
The virus or unauthorised code identified in the email is:
/var/qmail/queue/split/0/339476_2MAUDIO-X-MIDI_CTPlug.exe
Found the W32/Klez.gen@MM virus !!!


Some viruses forge the sender address.  For more information on this 
please use the link to the FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-18.tower-1.messagelabs.com (pen id 339476_1019486287)
and will be held for 30 days before being destroyed.

For more information please visit
http://www.star.net.uk/Support/Faq/FAQ.asp

Corporate Users:
If you sent the email from a corporate network, you should first 
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to the Star
Internet anti-virus service, a proactive anti-virus service working 
around the clock, around the globe, please complete our enquiry form

Personal or Home Users:
If you sent the email from a personal computer or home account,
you will need to disinfect your computer yourself.  Please contact
your anti-virus software vendor for support or obtain help from
http://www.star.net.uk/Support/Faq/FAQ.asp


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





-- 
Robert E. Moran
Digital Constructs Inc.
759 North Park Avenue
Redding, CT 06896
Tel: 203-452-1116  Fax: 203-452-0416
www.dconstructs.com
E-mail [EMAIL PROTECTED]
Travel e-mail [EMAIL PROTECTED]
Confusion is a misapprehension of a higher order. - Henry Miller








Antigen found HTML/MimeExploit.IFRAME (CA(InoculateIT),CA(Vet)) virus

2002-04-22 Thread Antigen

Antigen for Exchange found Unknown infected with HTML/MimeExploit.IFRAME 
(CA(InoculateIT),CA(Vet)) virus.
The file is currently Removed.  The message, Starting, was
sent from cmarono  and was discovered in SMTP Messages\Inbound
located at INDRA/ARROYO/MADIMC2.






Re: timezone issue

2002-04-22 Thread Romen Law

ello,

Timezone is implemented as part of JDK, has nothing to do with the
application servers. I noticed that JDK1.3.0 had problems with timezone for
Sydney (Sydney had special daylight saving in year 2000 due to Olympic). But
JDK1.3.1 had fixed the problem.

cheers
romen

- Original Message -
From: Pierre Metrailler - shockfish / [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, April 22, 2002 8:02 PM
Subject: timezone issue


 Hi all,

 i've encountered a weird problem regarding timezones :

 My system timezone is set to Europe/Zurich, GMT+2, since we are in DST.

 Running a standalone java application and querying TimeZone.getDefault()
 returns the correct timezone, i.e. the one with the correct ID
 Europe/Zurich. The time is also correct.

 Querying TimeZone.getDefault() within Orion yields a timezone with ID
 Custom ! The offset is almost correct, excepted that it doesnt support
 the daylight saving. (GMT+1). (TimeZone.getDefault()).useDaylightTime()
 returns false, which is incorrect. Hence, the time is 1 hour late.

 In short, Orion does not properly build the right timezone from the system
 settings. Is there any way to address this problem ?

 Regards,

 Pierre

 ___
 Pierre Metrailler, Software Engineer  System Administrator
 S h o c k f i s h Ltd, Event Communication Systems
 PSE C - Parc Scientifique, CH-1015 Lausanne EPFL
 Switzerland

 public key http://shockfish.com/keys/pierre.asc

 Enabling face-to-face communication.








Does Orion support PHP? How to enable it?

2002-04-22 Thread wzfg



Hi,Friend,
As Httpd Server, Does Orion support PHP? if yes, 
How can I enable it?
Thanks a lot.


RE: XSL and Sitemesh on Orion

2002-04-22 Thread The elephantwalker



retry 
... 
-Original Message-From: The elephantwalker 
[mailto:[EMAIL PROTECTED]]Sent: Monday, April 22, 2002 8:59 
AMTo: Orion-Interest; [EMAIL PROTECTED]Subject: RE: 
XSL and Sitemesh on Orion
Dear Peter,
Theres a bug in sitemesh so that only jsp files work. I believe 
that xsl would have the same limitation. I reported this on sourceforge. There's 
an easy fix to this:http://sourceforge.net/tracker/index.php?func=detailaid=534456group_id=9890atid=109890andhttp://sourceforge.net/tracker/index.php?func=detailaid=534772group_id=9890atid=109890Of 
course you will need to make the changes in the sitemesh code, and re-build it, 
but that's a snap. I would attach the fix on elephantwalker, but I am unclear 
about the Opensymphony license...any way the links above give the exact changes 
necessary to make this work.Regards,the elephantwalkerwww.elephantwalker.com
-Original Message-From: 
[EMAIL PROTECTED][mailto:[EMAIL PROTECTED]]On 
Behalf Of Peter BeckSent: Monday, April 22, 2002 5:11 AMTo: 
Orion-InterestSubject: XSL and Sitemesh on OrionI am using 
OpenSymphony Sitemesh on Orion Application Server 1.5.4.The Orion XSL 
servlet (default config in global-web-application.xml)is used to transform 
XML files to HTML.The transformation works fine, but the transformed HTML is 
no longerpassed to the sitemesh filter and is displayed without 
layout.What can I do to make this work?Does anybody have a hint, 
please?Peter--Peter Beck, JOANNEUM RESEARCH 
Forschungsges.m.b.H.[EMAIL PROTECTED]


Hit blackjack with three 7's and win $5,000!!! Come check it out!

2002-04-21 Thread Michael Roberts



  

  I throughly apologize if you recieved this and have 
no
interest in our products... There's no need to send a letter to be 
removed...
You'll probley only be emailed once...
  

  
  


  
  
 The
  Slots Are Hot!($54,569.77)
  This weekend there is also over $15,000.00 
(usd)
  up for grabs! 
  Grinds
Palace Casino has now teamed up with GamblingFederation.com
to bring you the best ever casino content!!! Come and see our new 
look
and games and well give you up to $75!!! With more than 60 games and 
a
jackpot of over $50,000 you would be crazy not to come and check it 
out...
Play for money or play for free!!!
  So CLICK
HERE or goto http://www.grindspalace.com to find out 
how
you could be on your way to your dreams!!!
 
--
--

a reminder about...
Deposit 
Limits!
  Please note that all players in our Casino have limits imposed on 
the
amount of deposits that you can make. Limits are in the amount of 
transactions
that you can make in a month (no matter what value) and there is 
also
a $1000 daily deposit limit. If you would like to have your deposit 
limits
increased, please contact us with your email titled, Deposit 
Limit
and be sure to include your user name.
  
 
--
--

Thank you, to all players who took part in our Free $5 survey. We 
are
carefully going through each and every reply in order to make any 
necessary
changes that will help us serve you better. And remember, we will be 
selecting
the survey that has the greatest impact to improving our Customer 
Support
and that player will be awarded with a gift of $2,500.00!!! 
The
winner will be posted in an upcoming newsletter.
  Thank you very much and have a great week!

  
  Sincerely,
Grinds Palace Casino
[EMAIL PROTECTED]

  







JMS Connection Problem

2002-04-20 Thread Lomesh Contractor

Hi All,

My problem arises when I trying to communicate with JMS Server. I am
running my JMS server on Server A and am trying to connect to it from Server
B.

But, on doing this I am getting following exception . I have checked out
almost everything, but could not found the any clue.

Regards,
Lomesh

//

java.lang.SecurityException: Invalid username/password for bea (admin)
at com.evermind._cd._mu(Unknown Source)
at com.evermind._cd._mu(Unknown Source)
at com.evermind._cd._np(Unknown Source)
at com.evermind._ce._np(Unknown Source)
at com.evermind.server.rmi.RMIContext.lookup(Unknown Source)
at com.evermind._cf._np(Unknown Source)
at com.evermind._cf.lookup(Unknown Source)
at
com.evermind.server.administration.ApplicationResourceFinder.getLocation(Unk
nown Source)
at com.evermind._ck._ho(Unknown Source)
at com.evermind._ah.getEnvironmentContext(Unknown Source)
at com.evermind._cf._np(Unknown Source)
at com.evermind._cf.lookup(Unknown Source)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at elitecore.bea.web.HomePageController.init(Unknown Source)
at com.evermind._ah._axe(Unknown Source)
at com.evermind._ah._fpd(Unknown Source)
at com.evermind._ah._bae(Unknown Source)
at com.evermind._ah._bie(Unknown Source)
at com.evermind._ah.init(Unknown Source)
at com.evermind._ck._czc(Unknown Source)
at com.evermind._ae._czc(Unknown Source)
at com.evermind._ab._crc(Unknown Source)
at com.evermind._ab._at(Unknown Source)
at com.evermind._ae._an(Unknown Source)
at com.evermind._ae._at(Unknown Source)
at com.evermind.server.ApplicationServer._wh(Unknown Source)
at com.evermind.server.ApplicationServer._at(Unknown Source)
at com.evermind._in.run(Unknown Source)
at java.lang.Thread.run(Thread.java:484)
at com.evermind._if.run(Unknown Source)


//







WARNING. You tried to send a potential virus or unauthorised code

2002-04-20 Thread alert

The MessageLabs SkyScan Anti-Virus service discovered a possible virus
or unauthorised code (such as a joke program or trojan) in an email sent
by you.

The email has now been quarantined and was not delivered.

Please read the whole of this email carefully.  It explains what has
happened to your email, which suspected virus has been caught and what
to do if you need help addressing the problem.

To help identify the quarantined email:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message recipients were 
[EMAIL PROTECTED]

The message title was A very  humour game 
The message date was Sat, 20 Apr 2002 07:51:40 -0500
The virus or unauthorised code identified in the email is
F-Secure Anti-Virus for i386-linux Release 4.13 build 3360
Frisk Software International F-PROT engine version 3.10 build 701

339427_2MA-OCTET-STREAM_CTsetup.exe infection: W95/Klez.H@mm

   3 files scanned
   1 infections found


Some viruses forge the sender address. For more information please
visit the link to the virus FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-9.tower-1.messagelabs.com (pen id 339427_1019317471)
and will be held for 30 days before being destroyed

Corporate Users:
If you sent the email from a corporate network, you should first
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to MessageLabs
SkyScan AV service, a proactive anti-virus service working around the 
clock, around the globe, please complete our enquiry form

Personal or Home users:
If you sent the email from a personal or home account, you will need
to disinfect your computer yourself.  Please contact your anti-virus
software vendor for support.

You may like to read the virus FAQ's at:
http://www.messagelabs.com/page.asp?id=628
which will answer most virus related questions.


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





InterScan NT Alert

2002-04-20 Thread Viruswall

Receiver, InterScan has detected virus(es) in the e-mail attachment.

Date:   Sat, 20 Apr 2002 18:19:13 +0200
Method: Mail
From:   [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
File:   setup.exe
Action: clean failed - deleted
Virus:  WORM_KLEZ.G 




WARNING. You tried to send a potential virus or unauthorised code

2002-04-20 Thread alert

The Star Internet anti-virus service, powered by MessageLabs, discovered
a potential virus or unauthorised code (such as a joke program or
trojan) in an email sent by you.

The email has now been quarantined and was not delivered.

To help identify the mail:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message was titled A very  humour game
The message recipients were 
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message date is Sat, 20 Apr 2002 07:51:40 -0500
The virus or unauthorised code identified in the email is:
F-Secure Anti-Virus for i386-linux Release 4.13 build 3360
Frisk Software International F-PROT engine version 3.10 build 701

339455_2MA-OCTET-STREAM_CTsetup.exe infection: W95/Klez.H@mm

   3 files scanned
   1 infections found


Some viruses forge the sender address.  For more information on this 
please use the link to the FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-22.tower-1.messagelabs.com (pen id 339455_1019322505)
and will be held for 30 days before being destroyed.

For more information please visit
http://www.star.net.uk/Support/Faq/FAQ.asp

Corporate Users:
If you sent the email from a corporate network, you should first 
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to the Star
Internet anti-virus service, a proactive anti-virus service working 
around the clock, around the globe, please complete our enquiry form

Personal or Home Users:
If you sent the email from a personal computer or home account,
you will need to disinfect your computer yourself.  Please contact
your anti-virus software vendor for support or obtain help from
http://www.star.net.uk/Support/Faq/FAQ.asp


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





WARNING. You tried to send a potential virus or unauthorised code

2002-04-20 Thread alert

The MessageLabs SkyScan Anti-Virus service discovered a possible virus
or unauthorised code (such as a joke program or trojan) in an email sent
by you.

The email has now been quarantined and was not delivered.

Please read the whole of this email carefully.  It explains what has
happened to your email, which suspected virus has been caught and what
to do if you need help addressing the problem.

To help identify the quarantined email:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message recipients were 
[EMAIL PROTECTED]

The message title was A very  humour game 
The message date was Sat, 20 Apr 2002 07:51:40 -0500
The virus or unauthorised code identified in the email is
##== VIRUS POSSIBLE IN FILE: ./718134_2MA-OCTET-STREAM_CTsetup.exe
##== VIRUS ID: CVDL W32/Klez-G
##==  Number of files read: 4
##==  Number of possible virus infections:  1


Some viruses forge the sender address. For more information please
visit the link to the virus FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-2.tower-15.messagelabs.com (pen id 718134_1019327686)
and will be held for 30 days before being destroyed

Corporate Users:
If you sent the email from a corporate network, you should first
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to MessageLabs
SkyScan AV service, a proactive anti-virus service working around the 
clock, around the globe, please complete our enquiry form.

Personal or Home users:
If you sent the email from a personal or home account, you will need
to disinfect your computer yourself.  Please contact your anti-virus
software vendor for support.

You may like to read the virus FAQ's at:
http://www.messagelabs.com/page.asp?id=628
which will answer most virus related questions.


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





WARNING. You tried to send a potential virus or unauthorised code

2002-04-20 Thread alert

The Star Internet anti-virus service, powered by MessageLabs, discovered
a potential virus or unauthorised code (such as a joke program or
trojan) in an email sent by you.

The email has now been quarantined and was not delivered.

To help identify the mail:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message was titled Questionnaire
The message recipients were 
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message date is Sat, 20 Apr 2002 09:52:13 -0500
The virus or unauthorised code identified in the email is:
F-Secure Anti-Virus for i386-linux Release 4.13 build 3360
Frisk Software International F-PROT engine version 3.10 build 701

404075_2MAUDIO-X-MIDI_CTout.scr infection: W95/Klez.H@mm

   3 files scanned
   1 infections found


Some viruses forge the sender address.  For more information on this 
please use the link to the FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-11.tower-1.messagelabs.com (pen id 404075_1019330432)
and will be held for 30 days before being destroyed.

For more information please visit
http://www.star.net.uk/Support/Faq/FAQ.asp

Corporate Users:
If you sent the email from a corporate network, you should first 
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to the Star
Internet anti-virus service, a proactive anti-virus service working 
around the clock, around the globe, please complete our enquiry form

Personal or Home Users:
If you sent the email from a personal computer or home account,
you will need to disinfect your computer yourself.  Please contact
your anti-virus software vendor for support or obtain help from
http://www.star.net.uk/Support/Faq/FAQ.asp


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





Report to Recipient(s)

2002-04-20 Thread tor-smtp-r5/Omnilogic

Incident Information:-

Originator: [EMAIL PROTECTED]
Recipients: Orion-Interest [EMAIL PROTECTED]
Subject:A very  humour game

WARNING:  A new e-mail message has arrived from the Internet for you.
Unfortunately, the file setup.exe was attached and is infected with the
W32/Klez.gen@MM virus.  The server was not able to automatically clean the
file attachment so the message has been placed in a virus quarantine
database. Please contact the OmniLogic ITS Helpdesk at 1-888-566-TSSC or
via e-mail to techhelp if you have any questions about the quarantined
e-mail.





WARNING. You sent a potential virus or unauthorised code

2002-04-20 Thread alert

The MessageLabs Virus Control Centre discovered a possible
virus or unauthorised code (such as a joke program or trojan)
in an email sent by you.

Please read this whole email carefully. It explains what has
happened to your email, which suspected virus has been caught,
and what to do if you need help.



Some details about the infected message


To help identify the email:

The message sender was
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

(if this is not your email address, the message sender possibly
belongs to a mailing list to which you both subscribe.)

The message was titled Questionnaire
The message date was Sat, 20 Apr 2002 09:52:13 -0500
The message identifier was [EMAIL PROTECTED]
The message recipients were
[EMAIL PROTECTED]


To help identify the virus:

Scanner 1 (NAI Virus Scan) reported the following:

/var/qmail/queue/split/1/708306_2MAUDIO-X-MIDI_CTout.scr
Found the W32/Klez.gen@MM virus !!!


The message was diverted into the virus holding pen on
mail server server-16.tower-4.messagelabs.com (id 708306_1019334155)
and will be held for 30 days before being destroyed.



What should you do now?


If you sent the email from a corporate network, you should first
contact your local Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you sent the email from a personal or home account, you will
need to disinfect your computer yourself. To do this you will
need an anti-virus program. We suggest using one of the leading
industry anti-virus packages such as McAfee, F-Secure or Cybersoft,
which cost £15-£30 per copy.



Getting more help

We strongly recommend that you read the Support FAQs at
http://www.messagelabs.com/support/FAQs.htm
These will answer many of the most common queries.

If you subscribe to the MessageLabs SkyScan AV Service, please contact
your IT Helpdesk/Support department for further assistance.

If you do not subscribe to the MessageLabs SkyScan AV Service please
contact SCC Internet Services on:-

+ 44 (0) 121 7662951

You may contact one of our Messaging Technicians at MessageLabs
Helpdesk 7 days a week , 6am - 12pm on:-

+44 (0)9067 579 001

All calls will be charged at £0.75p per minute.

If you believe this message to be a false alarm, you can email
SCC Internet Services at:-

[EMAIL PROTECTED]

Please quote the following Virus Pen ID when contacting Support.

If replying by email, please forward this entire email.


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





Antigen found HTML/MimeExploit.IFRAME (CA(InoculateIT)) virus

2002-04-20 Thread ANTIGEN_GSDMBXIB
Title: Antigen found HTML/MimeExploit.IFRAME (CA(InoculateIT)) virus





Antigen for Exchange found Unknown infected with HTML/MimeExploit.IFRAME (CA(InoculateIT)) virus.
The file is currently Removed. The message, Questionnaire, was
sent from jerry and was discovered in IMC Queues\Inbound
located at IBERMATICA/IBERCENTRAL/GSDMBXIB.





Antigen found HTML/MimeExploit.IFRAME (CA(InoculateIT),CA(Vet)) virus

2002-04-20 Thread Antigen

Antigen for Exchange found Unknown infected with HTML/MimeExploit.IFRAME 
(CA(InoculateIT),CA(Vet)) virus.
The file is currently Removed.  The message, Questionnaire, was
sent from jerry  and was discovered in SMTP Messages\Inbound
located at INDRA/ARROYO/MADIMC2.






sendRedirect()

2002-04-19 Thread Sergey G. Aslanov

Hi all

   I have two web apps, one with root, other with with virtual
   directory:

web-app application=CBOSSwww name=web root=/ /
web-app application=CBOSSishop name=ishop-web root=/ishop /

   I wants to redirect to some page /lalala.html of app CBOSSishop and
   do sendRedirect(/lalala.html) in CBOSSishop, but
   orion redirects it to the root app CBOSSwww /lalala.html;jsessionid=...
   When i remove this line from default-web-site.xml:
web-app application=CBOSSwww name=web root=/ /
   and do redirect again, it successfully redirects it to
   /ishop/lalala.html;jsessionid=...!
   Is it a orion bug?
   Please help!


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





Re: JNDI question: client talking to EJBs on multiple app servers

2002-04-19 Thread Lachezar Dobrev

  Well... dedicated.connection=true is not documented :)))
  Second. There ARE drawbacks.
  The method you show in the message will lead you to resource leakage.
  Try reusing contexts for one and the same target.
  Anyway. The Answer is: YES, it WILL work.

  However. The classes, for the Home and remote interfaces for the beans you
are looking-up for have to be in the Bootstrap class-path (in most cases in
the boot jar, or specified on the commandline). Otherwise you will get a
ClassCastException ( MyClass implements MyInterface and not
MyInterface and the VM thinks these are different classes :((( ).

  Anyway. for a simple stand-alone client this works fine, as long as you
stay out of dynamic-class-loading and keep in mind, that each ne Context
gets another thread, socket and leads to resource shortage.

  Otherwise the code in your case would work just fine. :)))

  Lachezar

 Brilliant -- thanks. What I couldn't find was any documentation
 on what goes in the environment Hashtable. :)

 What does the dedicated.connection=true property do? If I were
 to do this:

   public FooRemote getRemote(String jndiURL)
   {
  Hashtable env = new Hashtable();
  env.put(Context.PROVIDER_URL, jndiURL);
  InitialContext context = new InitialContext(env);
  Object ref = context.lookup(EJB_NAME);
  FooHome home =
   (FooHome)PortableRemoteObject.narrow(ref, FooHome.class);
  FooRemote remote = home.create();
  return fooRemote;
   }

   public void doStuff()
   {
 FooRemote beanOne = getRemote(ormi://fred/app);
 FooRemote beanTwo = getRemote(ormi://wilma/app);
 // do stuff...
   }

 Will it work? Or is the remote going to get confused as to
 which server it points to?

 On Thu, 2002-04-18 at 00:53, Lachezar Dobrev wrote:
Hi.
A working model is to create two Initial Context-s for each server.
Use a dedicated.connection=true property to create the context.
The dedicated.connection however leads to resource leakage, and if
you
  keep creating more and more of them you will eventualy get
  java.lang.OutOfMemoryError: Can not create native thread at some
200-300
  contexts.
If you create an context for both servers, and then use them later you
  might not have this problem.
 
public static Context[] connections;
 
public void ejbCreate(){
  if ( connections != null ) return;
  Hashtable env = new Hashtable();
 
  // Use any of these.
  env.put(dedicated.connection, Boolean.TRUE );
  //env.put(dedicated.connection, true);
 
  // Set up user, pass,
  // factory (RMIInitialContextFactory).
  env.put(..., ); // Set up things
 
  connections = new Context[2];
 
  // For The first server
  env.put(Context.PROVIDER_URL, ormi://Comp1/App1);
  connections[0] = new InitialContext(env);
 
  // Now for the other server
  env.put(Context.PROVIDER_URL, ormi://Comp2/App2);
  connections[1] = new InitialContext(env);
}
 
public void connectServer1(){
  connections[0].lookup(MyBean1);
}
public void connectServer2(){
  connections[1].lookup(MyBean2);
}
 
 You DO understand this is Orion-specific, right?
 
Good luck. Lachezar.
 
   I've got the same beans deployed on two different app servers (each
   backed by a different database). I want my client to talk to both.
   Say the two app servers are running on machines named Fred and Wilma;
  
   I know I can choose which one I talk to by setting
  
 java.naming.provider.url=ormi://fred/app
  
   or
  
 java.naming.provider.url=ormi://wilma/app
  
   But how do I switch at run time? I don't want to keep changing the
   system property every time I get an InitialContext(), because the
   system property is a global setting and one piece of code might not
   know what another piece of code is doing. Is there a way to specify
   the JNDI url when you create an InitialContext?
  
  
  
 
 
 







How can I simplify a URL?

2002-04-18 Thread Alex Paransky

I have a url which looks like this:

http://www.myprofiles.com/view.do?profileId=127

I would like to be able to replace it with:

http://view.myprofiles.com/127

I know how to create a new website with view.myprofiles being serviced by
orion.  I am just not sure how to map the /127 to execute
/view.do?profileId=127.

I was thinking of mapping a servlet to / context, however, the concern I
have is that if there are any images I don't want to servlet to process
them.  Also, will the jsp:include work correctly with this scenario?

Thanks for any suggestions.

-AP_
http://www.alexparansky.com
Java/J2EE Architect/Consultant
http://www.myprofiles.com/member/view.do?profileId=127





Re: JNDI question: client talking to EJBs on multiple app servers

2002-04-18 Thread Lachezar Dobrev

  Hi.
  A working model is to create two Initial Context-s for each server.
  Use a dedicated.connection=true property to create the context.
  The dedicated.connection however leads to resource leakage, and if you
keep creating more and more of them you will eventualy get
java.lang.OutOfMemoryError: Can not create native thread at some 200-300
contexts.
  If you create an context for both servers, and then use them later you
might not have this problem.

  public static Context[] connections;

  public void ejbCreate(){
if ( connections != null ) return;
Hashtable env = new Hashtable();

// Use any of these.
env.put(dedicated.connection, Boolean.TRUE );
//env.put(dedicated.connection, true);

// Set up user, pass,
// factory (RMIInitialContextFactory).
env.put(..., ); // Set up things

connections = new Context[2];

// For The first server
env.put(Context.PROVIDER_URL, ormi://Comp1/App1);
connections[0] = new InitialContext(env);

// Now for the other server
env.put(Context.PROVIDER_URL, ormi://Comp2/App2);
connections[1] = new InitialContext(env);
  }

  public void connectServer1(){
connections[0].lookup(MyBean1);
  }
  public void connectServer2(){
connections[1].lookup(MyBean2);
  }

   You DO understand this is Orion-specific, right?

  Good luck. Lachezar.

 I've got the same beans deployed on two different app servers (each
 backed by a different database). I want my client to talk to both.
 Say the two app servers are running on machines named Fred and Wilma;

 I know I can choose which one I talk to by setting

   java.naming.provider.url=ormi://fred/app

 or

   java.naming.provider.url=ormi://wilma/app

 But how do I switch at run time? I don't want to keep changing the
 system property every time I get an InitialContext(), because the
 system property is a global setting and one piece of code might not
 know what another piece of code is doing. Is there a way to specify
 the JNDI url when you create an InitialContext?








Re: How can I simplify a URL?

2002-04-18 Thread Scott Farquhar

Just have one directory level.

eg:
http://view.myprofiles.com/p/127

Then map the servlet to /p*

That avoids problems with images.

Cheers,
Scott

Alex Paransky wrote:
 I have a url which looks like this:
 
 http://www.myprofiles.com/view.do?profileId=127
 
 I would like to be able to replace it with:
 
 http://view.myprofiles.com/127
 
 I know how to create a new website with view.myprofiles being serviced by
 orion.  I am just not sure how to map the /127 to execute
 /view.do?profileId=127.
 
 I was thinking of mapping a servlet to / context, however, the concern I
 have is that if there are any images I don't want to servlet to process
 them.  Also, will the jsp:include work correctly with this scenario?
 
 Thanks for any suggestions.
 
 -AP_
 http://www.alexparansky.com
 Java/J2EE Architect/Consultant
 http://www.myprofiles.com/member/view.do?profileId=127
 
 
 


-- 
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World





Re: how to use unchecked tag?

2002-04-18 Thread Ray Harrison
 You aren't missing anything. Orion 1.5.4 ignores this flag completely and was reported as bug #732 in bugzilla. This has been fixed for the next release but in the meantime you'll have to get creative - comment out the method-check section of the ejb-jar.xml, that sort of thing. Although if you are using security, as you seem to be, you may want to double-check your principals.xml file to verify that all is well with that - I never tried invoking methods from Swing clients but JSP clients after logging in worked just fine.
Cheers
Ray
 Anil D [EMAIL PROTECTED] wrote: 
Hi allI have a question regarding the use of tag in ejb-jar.xml. The docs says if we specify a method as unchecked in the ejb-jar.xml no user name and password nee d to be given while invoking that method. But when I run such a method(from a Swing client) the login screen is shown and evenif I give a valid username and password it throws an exception saying that "admin is not authorized to call this method."What am I missing?I am using orion 1.5.4TIA AnilDo You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

Re[2]: How can I simplify a URL?

2002-04-18 Thread Robert Virkus

Hallo Axel,

you also can set up a virtual server like www1.myprofiles.com
in which you can run your applications.
(http://kb.atlassian.com/content/orionsupport/articles/vhosts.html)

Then map /* of your main-domain (www.myprofiles.com) to your servlet and redirect
every request to your virtual server.
(response.sendRedirect(http://www1.myprofiles.com/view.do?profileId=127;); )
Put pictures and so on on your virtual server, then you have no probs.

Greetings
   Robert


Thursday, April 18, 2002, 12:03:44 PM, you wrote:


SF Just have one directory level.

SF eg:
SF http://view.myprofiles.com/p/127

SF Then map the servlet to /p*

SF That avoids problems with images.

SF Cheers,
SF Scott

SF Alex Paransky wrote:
 I have a url which looks like this:
 
 http://www.myprofiles.com/view.do?profileId=127
 
 I would like to be able to replace it with:
 
 http://view.myprofiles.com/127
 
 I know how to create a new website with view.myprofiles being serviced by
 orion.  I am just not sure how to map the /127 to execute
 /view.do?profileId=127.
 
 I was thinking of mapping a servlet to / context, however, the concern I
 have is that if there are any images I don't want to servlet to process
 them.  Also, will the jsp:include work correctly with this scenario?
 
 Thanks for any suggestions.
 
 -AP_
 http://www.alexparansky.com
 Java/J2EE Architect/Consultant
 http://www.myprofiles.com/member/view.do?profileId=127
 
 
 




Mit freundlichen Grüßen,
  Robert Virkus
  Director Mobile Solutions

-- 
Robert Virkus
scaraboo GmbH
mobile Entertainment
Georg-Wulf-Str.4-6
28199 Bremen
Germany
phone  +49 - (0)421 - 59 67 549
fax+49 - (0)421 - 59 67 567
mobile +49 - (0)171 - 35 31 635
[EMAIL PROTECTED]
www.scaraboo.de
wap.scaraboo.de


Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten
Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung,
Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet
ist. Diese Nachricht ist ausschliesslich fuer den bezeichneten Adressaten
oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat
dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem
Absender der E-Mail in Verbindung zu setzen.

For legal and security reasons the information provided in this e-mail is
not legally binding. Upon request we would be pleased to provide you with a
legally binding confirmation in written form. Any form of unauthorised use,
publication, reproduction, copying or disclosure of the content of this
e-mail is not permitted. This message is exclusively for the person
addressed or their representative. If you are not the intended recipient of
this message and its contents, please notify the sender immediately.





RE: How can I simplify a URL?

2002-04-18 Thread Juan Pablo Lorandi

Ideas:

1) Create a filter to handle this.

OR

2) Use an error page for HTTP error 404 which redirects or includes

HTH,

Juan Pablo Lorandi
Chief Software Architect
Code Foundry Ltd.
[EMAIL PROTECTED]

Barberstown, Straffan, Co. Kildare, Ireland.
Tel: +353-1-6012050  Fax: +353-1-6012051
Mobile: +353-86-2157900
www.codefoundry.com


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of 
 Alex Paransky
 Sent: Thursday, April 18, 2002 7:07 AM
 To: Orion-Interest
 Subject: How can I simplify a URL?
 
 
 I have a url which looks like this:
 
 http://www.myprofiles.com/view.do?profileId=127
 
 I would like to be able to replace it with:
 
http://view.myprofiles.com/127

I know how to create a new website with view.myprofiles being serviced
by orion.  I am just not sure how to map the /127 to execute
/view.do?profileId=127.

I was thinking of mapping a servlet to / context, however, the concern
I have is that if there are any images I don't want to servlet to
process them.  Also, will the jsp:include work correctly with this
scenario?

Thanks for any suggestions.

-AP_
http://www.alexparansky.com
Java/J2EE Architect/Consultant
http://www.myprofiles.com/member/view.do?profileId=127







strange javax.naming.NameNotFoundException

2002-04-18 Thread Thomas Dandelot



Hi all,

I have an application which fills my database using 
CMP entity beans, it uses the ejb/Counter of Orion to create unique identifiers 
for my beans, and it works perfectly.
I also have a servlet which reads the data from my 
database using the same CMP entity beans, which works without any problems as 
well.

The problem is : when I launch my first program 
(which writes) and I use the servlet (which reads) at the same time, I get a 
exception : "javax.naming.NameNotFoundException: 
ejb/Counter not found in Application Client" in the code where I try to create 
an unique identifier. This code is :
int pk = (new 
Long(com.evermind.ejb.CounterUtils.getNextID("java:comp/env/ejb/Counter", 
"myBean"))).intValue();

But I DON'T get this exception if I wait for the 
first program to end before using the servlet ! And bothrun without any 
error when launched separately !

I need help, anyone has an idea ? 
Thanx

Thomas Dandelot



RE: JNDI question: client talking to EJBs on multiple app servers

2002-04-18 Thread Greg Davis

We have a similary situation where a tool we use needs to switch between
development,test,and production. We just setup a simple class to reset our
InitialContext by closing the old one and passing in the properties when the
switch is requested.  We created a property file like this:

development.applicationServer=com.evermind.server.ApplicationClientInitialCo
ntextFactory
development.applicationServerUrl=ormi://fred
development.appServerLogin=user
development.appServerPassword=1234
production.applicationServer=com.evermind.server.ApplicationClientInitialCon
textFactory
production.applicationServerUrl=ormi://wilma
production.appServerLogin=user
production.appServerPassword=1234

When we initialize the app we have a member variable jndiContext which is
used in the app.  The following is our method stripped down to give you the
basics. With it you can both set the memeber varaible and return the
context. You could use it either way.

  /**
   * Gets the context.
   * @param environment Should be the prefix in the properties file (i.e.
development,test,production)
   * @returns The jndiContext to the App Server.
   */
  protected Context getContext(String environment)
  {
if(jndiContext == null)
{
jndiContext.close();
}
  try
  {
String applicationServer = System.getProperty(environment +
.applicationServer);
String applicationServerUrl = System.getProperty(environment +
.applicationServerUrl);
String appServerLogin = System.getProperty(environment +
.appServerLogin);
String appServerPassword = System.getProperty(environment +
.appServerPassword);

Hashtable props = new Hashtable();
props.put(java.naming.factory.initial, applicationServer);
props.put(java.naming.provider.url, applicationServerUrl);
props.put(java.naming.security.principal, appServerLogin);
props.put(java.naming.security.credentials, appServerPassword);

jndiContext = new InitialContext(props);
  }
  catch(Exception e)
  {}
}
return jndiContext;
  }

Hope this helps...

Greg

-Original Message-
From: David Moles [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 4:06 PM
To: Orion-Interest
Subject: JNDI question: client talking to EJBs on multiple app servers


I've got the same beans deployed on two different app servers (each
backed by a different database). I want my client to talk to both.
Say the two app servers are running on machines named Fred and Wilma;

I know I can choose which one I talk to by setting

  java.naming.provider.url=ormi://fred/app

or

  java.naming.provider.url=ormi://wilma/app

But how do I switch at run time? I don't want to keep changing the
system property every time I get an InitialContext(), because the
system property is a global setting and one piece of code might not
know what another piece of code is doing. Is there a way to specify
the JNDI url when you create an InitialContext?







Re: How can I simplify a URL?

2002-04-18 Thread vertigrated

how does this obfuscation simplify the processing?
 I have a url which looks like this:
 
 http://www.myprofiles.com/view.do?profileId=127
 
 I would like to be able to replace it with:
 
 http://view.myprofiles.com/127
 
 I know how to create a new website with view.myprofiles being serviced by
 orion.  I am just not sure how to map the /127 to execute
 /view.do?profileId=127.
 
 I was thinking of mapping a servlet to / context, however, the concern I
 have is that if there are any images I don't want to servlet to process
 them.  Also, will the jsp:include work correctly with this scenario?
 
 Thanks for any suggestions.
 
 -AP_
 http://www.alexparansky.com
 Java/J2EE Architect/Consultant
 http://www.myprofiles.com/member/view.do?profileId=127
 
 




Re: Creating a Service for launching Orion in Windows 2000

2002-04-18 Thread Shal Jain

If you are using JNT to to launch orion as a service and assuming orion in
installed on d:\orion

the following line will install orion to run as a service named Orion_Server

jnt /InstallAsService:Orion_Server /SDd:\orion -jar orion.jar -out
d:\orion\log\stdout.log -err d:\orion\log\stderr.log

You need to then go ahead and manually start the service in the SCM.From
this point on, orion will restart when the os restarts.
I have this running under Win2K w/out any issues.





- Original Message -
From: Matt Siegfried [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, April 17, 2002 9:46 AM
Subject: Creating a Service for launching Orion in Windows 2000


 I have followed the steps I found in the posting on OrionServer.com to
 create a service that will automatically launch Orion, but I have not
 managed to make this work.  Currently the Dos window must stay open to
keep
 Orion initialized.  I do not want to have this dos window always open.
How
 can I solve this?  If anyone has done this before, I would really
appreciate
 all the information you could give to accomplish this.

 Thank you
 Matt







Re: JNDI question: client talking to EJBs on multiple app servers

2002-04-18 Thread David Moles

Brilliant -- thanks. What I couldn't find was any documentation
on what goes in the environment Hashtable. :) 

What does the dedicated.connection=true property do? If I were
to do this:

  public FooRemote getRemote(String jndiURL)
  {
 Hashtable env = new Hashtable();
 env.put(Context.PROVIDER_URL, jndiURL);
 InitialContext context = new InitialContext(env);
 Object ref = context.lookup(EJB_NAME);
 FooHome home = 
  (FooHome)PortableRemoteObject.narrow(ref, FooHome.class);
 FooRemote remote = home.create();
 return fooRemote;
  }

  public void doStuff()
  {
FooRemote beanOne = getRemote(ormi://fred/app);
FooRemote beanTwo = getRemote(ormi://wilma/app);
// do stuff...
  }

Will it work? Or is the remote going to get confused as to
which server it points to?

On Thu, 2002-04-18 at 00:53, Lachezar Dobrev wrote:
   Hi.
   A working model is to create two Initial Context-s for each server.
   Use a dedicated.connection=true property to create the context.
   The dedicated.connection however leads to resource leakage, and if you
 keep creating more and more of them you will eventualy get
 java.lang.OutOfMemoryError: Can not create native thread at some 200-300
 contexts.
   If you create an context for both servers, and then use them later you
 might not have this problem.
 
   public static Context[] connections;
 
   public void ejbCreate(){
 if ( connections != null ) return;
 Hashtable env = new Hashtable();
 
 // Use any of these.
 env.put(dedicated.connection, Boolean.TRUE );
 //env.put(dedicated.connection, true);
 
 // Set up user, pass,
 // factory (RMIInitialContextFactory).
 env.put(..., ); // Set up things
 
 connections = new Context[2];
 
 // For The first server
 env.put(Context.PROVIDER_URL, ormi://Comp1/App1);
 connections[0] = new InitialContext(env);
 
 // Now for the other server
 env.put(Context.PROVIDER_URL, ormi://Comp2/App2);
 connections[1] = new InitialContext(env);
   }
 
   public void connectServer1(){
 connections[0].lookup(MyBean1);
   }
   public void connectServer2(){
 connections[1].lookup(MyBean2);
   }
 
You DO understand this is Orion-specific, right?
 
   Good luck. Lachezar.
 
  I've got the same beans deployed on two different app servers (each
  backed by a different database). I want my client to talk to both.
  Say the two app servers are running on machines named Fred and Wilma;
 
  I know I can choose which one I talk to by setting
 
java.naming.provider.url=ormi://fred/app
 
  or
 
java.naming.provider.url=ormi://wilma/app
 
  But how do I switch at run time? I don't want to keep changing the
  system property every time I get an InitialContext(), because the
  system property is a global setting and one piece of code might not
  know what another piece of code is doing. Is there a way to specify
  the JNDI url when you create an InitialContext?
 
 
 
 
 
 






Simple example of Local interfaces andCMP using orion

2002-04-18 Thread @Basebeans.com

Subject: Simple example of Local interfaces andCMP using orion
From: alt.cybercafes [EMAIL PROTECTED]
 ===
Does anyone have a simple example or tutorial of container manage
persistance using orion. What i am try to understand is the following
1)  How to define multiple datasources (SQL Server, oracle etc),
2) How to link or reference my datasource to orion-ejb-jar.xml, ejb-jar.xml
3) How to reference my local interfaces from my sesion beans.

The sample does not have to be extensive , one db table with 3 columns (one
primary key), entity(local Interfaces), session, and Java client.

Patrick







problems w/ multiple queues w/ MDBs

2002-04-18 Thread Kosten, Steve

Hi,

Was wondering if anyone ran into this problem and has insight they can
share.

I started experimenting w/ Message Driven Beans and  have deployed a MDB
that was attached to a Queue.  It worked and was performing my logic w/in
onMessage().  I wanted to have it reply to another Queue so created a second
Queue to reply to (simply by adding it to jms.xml)  and this was deployed
(as witnessed on the orion console).  The problem I'm encountering is that
my original messages are no longer received once I added the second queue
w/in jms.xml.  I haven't even changed any code.  By commenting out the new
Queue w/in jms.xml, my original MDB again works.  Any ideas on this?  

I'm running 1.5.2.

My jms.xml looks like

?xml version=1.0?
!DOCTYPE jms-server PUBLIC Orion JMS server
http://www.orionserver.com/dtds/jms-server.dtd;

jms-server port=9127


queue-connection-factory host=localhost
location=jms/QueueConnectionFactory username=admin password=admin
port=9127 /  
!--topic-connection-factory host=localhost
location=jms/TopicConnectionFactory username=admin password=admin
port=9127 / --


queue name=Test Message Driven Bean location=jms/testQueue
descriptionTest of MDB/description
/queue 


queue name=Reply Bean location=jms/replyQueue
descriptionreply Queue/description
/queue


!--topic name=Test Message Driven Bean for Topic
location=jms/testTopic
descriptionTest of MDB Topic/description
/topic


topic name=Stock Market location=jms/StockMarket
descriptionStock Market/description
/topic

topic name=Demo Topic location=jms/demoTopic
descriptionA dummy topic/description
/topic   
--

log
file path=../log/jms.log /
/log
/jms-server



Thanks,

Steve




Kosten, Steve.vcf
Description: Binary data


Re: Creating a Service for launching Orion in Windows 2000

2002-04-18 Thread Brian Smith

Here is my srvstart.exe INI file for OC4J. I suppose one for Orion would 
be similar.

[OracleOC4J]
#to install the service: srvstart install OracleOC4J -c 
c:\oracle\conf\oc4j\service.ini
#to remove  the service: srvstart remove  OracleOC4J
#make sure that the system PATH inclues the folder
#containing the srvstart.exe
#the next item is all on one line
startup=e:\software\sun\jdk1.3.1_03\jre\bin\java -Xrs -jar 
c:\oracle\j2ee\home\orion.jar -config 
c:\oracle\j2ee\home\config\server.xml -err 
c:\oracle\j2ee\home\log\stderr.log -out c:\oracle\j2ee\home\log\stdout.log

startup_dir=c:\oracle\j2ee\home
shutdown_method=command
# the next item is all on one line
shutdown=e:\software\sun\jdk1.3.1_03\jre\bin\java -Xrs -jar 
c:\oracle\j2ee\home\admin.jar ormi://localhost/ admin password -shutdown

auto_restart=y
restart_interval=30





problems w/ multiple queues?

2002-04-18 Thread Kosten, Steve

Hi,

Was wondering if anyone ran into this problem and has insight they can
share.

I started experimenting w/ Message Driven Beans and  have deployed a MDB
that was attached to a Queue.  It worked and was performing my logic w/in
onMessage().  I wanted to have it reply to another Queue so created a second
Queue to reply to (simply by adding it to jms.xml)  and this was deployed
(as witnessed on the orion console).  The problem I'm encountering is that
my original messages are no longer received once I added the second queue
w/in jms.xml.  I haven't even changed any code.  By commenting out the new
Queue w/in jms.xml, my original MDB again works.  Any ideas on this?  

I'm running 1.5.2.

My jms.xml looks like

?xml version=1.0?
!DOCTYPE jms-server PUBLIC Orion JMS server
http://www.orionserver.com/dtds/jms-server.dtd;

jms-server port=9127


queue-connection-factory host=localhost
location=jms/QueueConnectionFactory username=admin password=admin
port=9127 /  
!--topic-connection-factory host=localhost
location=jms/TopicConnectionFactory username=admin password=admin
port=9127 / --


queue name=Test Message Driven Bean location=jms/testQueue
descriptionTest of MDB/description
/queue 


queue name=Reply Bean location=jms/replyQueue
descriptionreply Queue/description
/queue


!--topic name=Test Message Driven Bean for Topic
location=jms/testTopic
descriptionTest of MDB Topic/description
/topic


topic name=Stock Market location=jms/StockMarket
descriptionStock Market/description
/topic

topic name=Demo Topic location=jms/demoTopic
descriptionA dummy topic/description
/topic   
--

log
file path=../log/jms.log /
/log
/jms-server



Thanks,

Steve

[EMAIL PROTECTED]






NullPointerException (random error)

2002-04-18 Thread Chris Chang



Folks,

I got 
theattached exceptionrecently after I upgraded orion from 1.5.2 to 
1.5.4. Furthermore, this is a _random_ error, I could not reproduce 
it. I could not figure out the pattern to generate this error. Once 
I got this exception for a particular action (I'm using struts as well), I would 
get the same exception no matter what I do (e.g. logout and relogon) until I 
restarted the orion server. I already tried to switch back to 1.5.2, 
however, I still got the same exception, it might imply this is not an upgrade 
problem. It might not even the orion's problem, may be struts?? Any 
thoughts?Please advise.

I got 
another interesting scenario as follows regarding development 
mode:
For setting 
up my production environment, I disabled the development mode of orion. 
However, whenever I do a search (via a searching screen to specify all required 
parameters and displays the result in another page), it only works for the 
"first" time (after the server is started up). And, if I do the search 
again, it would return only one record (until I restart the server 
again)?? (I already turned on spy, the sql statement is correct). 
Once I enable the development mode again, I'm fine.


P.S.
FYI, besides 
the orion server upgrade, I changed my deployment structure as 
follows:

!--
orion 
directory with orion's jar only
--
[orion-dir]/1.5.4
 
/1.5.2
!--
application 
directory which includes lib, config, applications, application-deployment, lib, 
log, persistence, etc.
--
[app-dir]/config
/applications/my.ear
 
/applicaton-deployment
 ...


Thanks in 
advance!

Chris

500 Internal Server Errorjava.lang.NullPointerException	at com.evermind[Orion/1.5.4 (build 10585)].util.ByteString.init(.:88)	at com.evermind[Orion/1.5.4 (build 10585)]._cp.getRequestDispatcher(.:906)	at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1757)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)	at com.evermind[Orion/1.5.4 (build 10585)]._deb._lnc(.:514)	at com.evermind[Orion/1.5.4 (build 10585)]._deb._wmb(.:170)	at com.evermind[Orion/1.5.4 (build 10585)]._co._wbb(.:581)	at com.evermind[Orion/1.5.4 (build 10585)]._co._fs(.:189)	at com.evermind[Orion/1.5.4 (build 10585)]._bt.run(.!
:62)


Re: Creating a Service for launching Orion in Windows 2000

2002-04-18 Thread Scott Farquhar

There are many ways of running as a service documented here:

   http://kb.atlassian.com/content/orionsupport/articles/orserv.html

Cheers,
Scott

Matt Siegfried wrote:
 I have followed the steps I found in the posting on OrionServer.com to
 create a service that will automatically launch Orion, but I have not
 managed to make this work.  Currently the Dos window must stay open to keep
 Orion initialized.  I do not want to have this dos window always open.  How
 can I solve this?  If anyone has done this before, I would really appreciate
 all the information you could give to accomplish this.
 
 Thank you
 Matt
 
 


-- 
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World






InterScan NT Alert

2002-04-18 Thread Viruswall

Receiver, InterScan has detected virus(es) in the e-mail attachment.

Date:   Fri, 19 Apr 2002 00:44:03 +0200
Method: Mail
From:   [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
File:   border.exe
Action: clean failed - deleted
Virus:  WORM_KLEZ.G 




WARNING. You tried to send a potential virus or unauthorised code

2002-04-18 Thread alert

The Star Internet anti-virus service, powered by MessageLabs, discovered
a potential virus or unauthorised code (such as a joke program or
trojan) in an email sent by you.

The email has now been quarantined and was not delivered.

To help identify the mail:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message was titled Japanese lass' sexy pictures
The message recipients were 
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message date is Thu, 18 Apr 2002 16:16:54 -0300
The virus or unauthorised code identified in the email is:
F-Secure Anti-Virus for i386-linux Release 4.13 build 3360
Frisk Software International F-PROT engine version 3.10 build 701

339398_2MAUDIO-X-MIDI_CTborder.exe  infection: W95/Klez.H@mm

   3 files scanned
   1 infections found


Some viruses forge the sender address.  For more information on this 
please use the link to the FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-6.tower-1.messagelabs.com (pen id 339398_1019173159)
and will be held for 30 days before being destroyed.

For more information please visit
http://www.star.net.uk/Support/Faq/FAQ.asp

Corporate Users:
If you sent the email from a corporate network, you should first 
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to the Star
Internet anti-virus service, a proactive anti-virus service working 
around the clock, around the globe, please complete our enquiry form

Personal or Home Users:
If you sent the email from a personal computer or home account,
you will need to disinfect your computer yourself.  Please contact
your anti-virus software vendor for support or obtain help from
http://www.star.net.uk/Support/Faq/FAQ.asp


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





WARNING. You sent a potential virus or unauthorised code

2002-04-18 Thread alert

The MessageLabs Virus Control Centre discovered a possible
virus or unauthorised code (such as a joke program or trojan)
in an email sent by you.

Please read this whole email carefully. It explains what has
happened to your email, which suspected virus has been caught,
and what to do if you need help.



Some details about the infected message


To help identify the email:

The message sender was
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

(if this is not your email address, the message sender possibly
belongs to a mailing list to which you both subscribe.)

The message was titled Japanese lass' sexy pictures
The message date was Thu, 18 Apr 2002 16:16:54 -0300
The message identifier was [EMAIL PROTECTED]
The message recipients were
[EMAIL PROTECTED]


To help identify the virus:

Scanner 1 (F-Secure) reported the following:

F-Secure Anti-Virus for i386-linux Release 4.13 build 3360
Frisk Software International F-PROT engine version 3.10 build 701

288633_2MAUDIO-X-MIDI_CTborder.exe  infection: W95/Klez.H@mm

   3 files scanned
   1 infections found


The message was diverted into the virus holding pen on
mail server server-6.tower-4.messagelabs.com (id 288633_1019177251)
and will be held for 30 days before being destroyed.



What should you do now?


If you sent the email from a corporate network, you should first
contact your local Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you sent the email from a personal or home account, you will
need to disinfect your computer yourself. To do this you will
need an anti-virus program. We suggest using one of the leading
industry anti-virus packages such as McAfee, F-Secure or Cybersoft,
which cost £15-£30 per copy.



Getting more help

We strongly recommend that you read the Support FAQs at
http://www.messagelabs.com/support/FAQs.htm
These will answer many of the most common queries.

If you subscribe to the MessageLabs SkyScan AV Service, please contact
your IT Helpdesk/Support department for further assistance.

If you do not subscribe to the MessageLabs SkyScan AV Service please
contact SCC Internet Services on:-

+ 44 (0) 121 7662951

You may contact one of our Messaging Technicians at MessageLabs
Helpdesk 7 days a week , 6am - 12pm on:-

+44 (0)9067 579 001

All calls will be charged at £0.75p per minute.

If you believe this message to be a false alarm, you can email
SCC Internet Services at:-

[EMAIL PROTECTED]

Please quote the following Virus Pen ID when contacting Support.

If replying by email, please forward this entire email.


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





Antigen found =*.exe file

2002-04-18 Thread ANTIGEN_GSDMBXIB
Title: Antigen found =*.exe file





Antigen for Exchange found border.exe matching =*.exe file filter.
The file is currently Purged. The message, Japanese lass' sexy pictures, was
sent from inet and was discovered in IMC Queues\Inbound
located at IBERMATICA/IBERCENTRAL/GSDMBXIB.





WARNING. You tried to send a potential virus or unauthorised code

2002-04-18 Thread alert

The MessageLabs SkyScan Anti-Virus service discovered a possible virus
or unauthorised code (such as a joke program or trojan) in an email sent
by you.

The email has now been quarantined and was not delivered.

Please read the whole of this email carefully.  It explains what has
happened to your email, which suspected virus has been caught and what
to do if you need help addressing the problem.

To help identify the quarantined email:

The message sender was 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The message recipients were 
[EMAIL PROTECTED]

The message title was Japanese lass' sexy pictures 
The message date was Thu, 18 Apr 2002 16:16:54 -0300
The virus or unauthorised code identified in the email is
/var/qmail/queue/split/0/404049_2MAUDIO-X-MIDI_CTborder.exe
Found the W32/Klez.gen@MM virus !!!


Some viruses forge the sender address. For more information please
visit the link to the virus FAQ's at the bottom of this page.

The message was diverted into the virus holding pen on
mail server server-11.tower-1.messagelabs.com (pen id 404049_1019183564)
and will be held for 30 days before being destroyed

Corporate Users:
If you sent the email from a corporate network, you should first
contact your local IT Helpdesk or System Administrator for advice.
They will be able to help you disinfect your workstation.

If you would like further information on how to subscribe to MessageLabs
SkyScan AV service, a proactive anti-virus service working around the 
clock, around the globe, please complete our enquiry form

Personal or Home users:
If you sent the email from a personal or home account, you will need
to disinfect your computer yourself.  Please contact your anti-virus
software vendor for support.

You may like to read the virus FAQ's at:
http://www.messagelabs.com/page.asp?id=628
which will answer most virus related questions.


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com





Re: Unknown Source

2002-04-17 Thread Kesav Kumar

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Orion never had classes open they always obfuscate the class files.  You
would never see the stack trace meaningful.  Oc4j has proper classes so you
can get proper stack trace.

- - Original Message -
From: Adam Cassar [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, April 16, 2002 2:51 PM
Subject: Unknown Source


 Hi Guys,

 I am having a problem with v1.5.4 of Orion. In stack traces it displays
 the line number everywhere except for the EJB's!

 I know it used to work, any ideas on what to look for?



-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

iQA/AwUBPL0UwQFy+fQ1CDihEQKsTQCfdSFFA0FUBlsRW/3XY1zenXs8JuwAoKYT
HyzRIZ/9kPEUwnon5SKvcaH9
=BaR1
-END PGP SIGNATURE-





Re: FW: Bean to remote bean communication... (2nd try)

2002-04-17 Thread Scott Farquhar

You should use RMIInitialContextFactory. 
ApplicationClientInitialContextFactory is only for application clients.

Also - you cannot look up java:comp/env/ from outside the container. 
Don't bother prepending it.

If you are using remote=true for your ejbs, you do not need to look up 
the remote server yourself - this is done by the container.

The following document may be of help to you:
 
http://kb.atlassian.com/content/orion/docs/remote-access/remote-access.html

If you need further help - try asking a question on our forums:
   http://forums.atlassian.com

Cheers,
Scott

Chris Francis wrote:
 
 I originally posted this at elephantwalker but have had little response,
 hopefully someone here has some ideas...
 
 I'm trying to lookup a bean on a remote machine. I set up initial context in
 usual way using properties taken from the jndi.properties on the remote oc4j
 server. 
 In fact I want to lookup the bean from within a web-app (or ejb) installed
 on a local oc4j server. When I attempt it all I get is 
 NullPointerException: domain was null. 
 
 Does anyone know what this means?
 
 Some more info:
 I do the lookup programmatically. If I run it as a standalone client (not
 what I want to do) I get an error telling me the Factory can't find
 application-client.xml - this is not surprising as it's not on my classpath.
 Running from local container gives the error above. I have added an entry to
 orion-application.xml: 
 ejb-module remote=true path=myremoteapp-ejb /
 and entries for the beans deployed there into my local oc4j servers'
 application-client.xml
 
 Here's the code I'm using to do the lookup:
 Hashtable env = new Hashtable();
 env.put(java.naming.provider.url,
 ormi://remotemachineIP:rmiport/myremoteapp);
 env.put (java.naming.factory.initial,
 com.evermind.server.ApplicationClientInitialContextFactory);
 env.put(java.naming.security.principal, myremoteapp);
 env.put(java.naming.security.credentials, password);
 
 targetEJB_URI = java:comp/env/ + targetEJB_URI;
 EJBHome ejbRef = null;
 Context ic = new InitialContext(env);
 
 //ejbRef  = (EJBHome)PortableRemoteObject.narrow(ic.lookupLink
 (targetEJB_URI), EJBHome.class);
 ejbRef = (EJBHome) ic.lookupLink (targetEJB_URI);
 
 One other thing is if I use the RMIInitialContextFactory instead then the
 context lookup works if I'm running as a standalone client. I then only get
 a naming exception since it can't see application-client.xml
 
 Any help appreciated.
 
 Thanks, 
 
 Chris.
 
 


-- 
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World






RE: how do I setup a datasource for mssql ?

2002-04-17 Thread Roland van Woerkom

You mixed up the url and connectiondriver.

regards,
roland

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Namens Orion Newsgroup
Verzonden: dinsdag 16 april 2002 20:55
Aan: Orion-Interest
Onderwerp: how do I setup a datasource for mssql ?


Subject: how do I setup a datasource for mssql 1 2 3 4 5 6 7 8 9
From: alt.cybercafes [EMAIL PROTECTED]
 ===
I have tried setting up my the datasource like the following

data-source
  class=com.evermind.sql.DriverManagerDataSource
  name=Billing
  schema=database-schemas/ms-sql.xml
  location=jdbc/Billing
  xa-location=jdbc/Billing
  ejb-location=jdbc/Billing
  url=com.microsoft.jdbc.sqlserver.SQLServerDriver

connection-driver=jdbc:microsoft:sqlserver://myserver:1433;DatabaseName=Bil
ling
  username=applesauce
  password=1234
  inactivity-timeout=30
 /


 and I get the following errors
Error initializing data-source 'jdbc/Billing': DriverManagerDataSource
driver 'jdbc:microsoft:sqlser
ver://Appserver1:1433;DatabaseName=Billing' not found

What am I doing wrong?

thanks










Re: how do I setup a datasource for mssql ?

2002-04-17 Thread Lachezar Dobrev

  Change the url and the driver. You have miswritten them:

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

  Lachezar

 Subject: how do I setup a datasource for mssql 1 2 3 4 5 6 7 8 9
 From: alt.cybercafes [EMAIL PROTECTED]
  ===
 I have tried setting up my the datasource like the following

 data-source
   class=com.evermind.sql.DriverManagerDataSource
   name=Billing
   schema=database-schemas/ms-sql.xml
   location=jdbc/Billing
   xa-location=jdbc/Billing
   ejb-location=jdbc/Billing
   url=com.microsoft.jdbc.sqlserver.SQLServerDriver


connection-driver=jdbc:microsoft:sqlserver://myserver:1433;DatabaseName=Bil
 ling
   username=applesauce
   password=1234
   inactivity-timeout=30
  /

  and I get the following errors
 Error initializing data-source 'jdbc/Billing': DriverManagerDataSource
 driver 'jdbc:microsoft:sqlser
 ver://Appserver1:1433;DatabaseName=Billing' not found

 What am I doing wrong?

 thanks









SV: JNDI Reference to home of EJB failing?

2002-04-17 Thread Jesper Rasmussen

Are you looking up from an EJB?
if so do you have a reference in the ejb-jar for that bean to the bean
you are looking up?
like:
ejb-ref
 ejb-ref-nameejb/ItemHome/ejb-ref-name
 ejb-ref-typeEntity/ejb-ref-type
 homebeans.ItemHome/home
 remotebeans.Item/remote
 ejb-linkItemBean/ejb-link
 /ejb-ref 

I have the above and get a the reference like:
static private String Item_ref = ejb/ItemHome;
Context initial = new InitialContext();
Object objref = initial.lookup(java:comp/env/+Item_ref);
ItemHome itemHome =
(ItemHome)PortableRemoteObject.narrow(objref,

ItemHome.class);

oh btw im not quite sure about the ejb-link tag. It does not seem to
be necesary, but is was created by a tool, so i have just let it be.

cheers
Jesper
-Oprindelig meddelelse-
Fra: Ken Cooper [mailto:[EMAIL PROTECTED]]
Sendt: 17. april 2002 05:26
Til: Orion-Interest
Cc: [EMAIL PROTECTED]
Emne: JNDI Reference to home of EJB failing?


Attempting to get a reference to the home of a bean.

Context is setup as follows:

  Hashtable env = new Hashtable();
  env.put(Context.INITIAL_CONTEXT_FACTORY,
  com.evermind.server.rmi.RMIInitialContextFactory);
  env.put(Context.SECURITY_PRINCIPAL, admin);
  env.put(Context.SECURITY_CREDENTIALS, admin);
  env.put(Context.PROVIDER_URL,  
ormi://kecooper-lap:23792/Stateless1);
  Context ctx = new InitialContext(env);

Doing a lookup as per the following:

  Stateless1Home stateless1Home = 
(Stateless1Home)ctx.lookup(Stateless1);

All works well - no issues.
Problem is converting above lookup to a lookup of the following type:

 Object homeObject = ctx.lookup(java:comp/env/Stateless1);

The subsequent step would be to narrow the homeObject reference. However
I 
cannot get the reference. Using Oracles JDeveloper9i I get the following

error message:

 javax.naming.NameNotFoundException: java:comp/env/Stateless1 not
found

Need some help in determining hyow to fix this problem. I have modified 
several xml files, in particular ejb-jar.xml and orion-ejb-jar.xml to no

avail.

PLEASE let me know a possible solution as soon as possible.

THANKS - Ken Cooper

--
Kenneth Cooper, Jr.[EMAIL PROTECTED]
--


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx






RE: How do you tell orion not to autocommit?

2002-04-17 Thread Juan Pablo Lorandi

Excerpt from the API docs for method
java.sql.Connection.setAutoCommit(boolean autoCommit) follows

setAutoCommit
public void setAutoCommit(boolean autoCommit)
   throws SQLException
Sets this connection's auto-commit mode. If a connection is in
auto-commit mode, then all its SQL statements will be executed and
committed as individual transactions. Otherwise, its SQL statements are
grouped into transactions that are terminated by a call to either the
method commit or the method rollback. By default, new connections are in
auto-commit mode. The commit occurs when the statement completes or the
next execute occurs, whichever comes first. In the case of statements
returning a ResultSet, the statement completes when the last row of the
ResultSet has been retrieved or the ResultSet has been closed. In
advanced cases, a single statement may return multiple results as well
as output parameter values. In these cases the commit occurs when all
results and output parameter values have been retrieved.
Parameters:
autoCommit - true enables auto-commit; false disables auto-commit.
Throws:
SQLException - if a database access error occurs

HTH,


Juan Pablo Lorandi
Chief Software Architect
Code Foundry Ltd.
[EMAIL PROTECTED]

Barberstown, Straffan, Co. Kildare, Ireland.
Tel: +353-1-6012050  Fax: +353-1-6012051
Mobile: +353-86-2157900
www.codefoundry.com


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of 
 Keith Kwiatek
 Sent: Wednesday, April 17, 2002 12:17 PM
 To: Orion-Interest
 Subject: How do you tell orion not to autocommit?
 
 
 Hello,
 
 I am running orion with a datasource and  some jsp's with 
 some jdbc beans. When I insert/update/delete it seems to be 
 set to autocommit. How do I tell orion not to autocommit?
 
 Thanks,
 Keith
 
 
 





ObjectOutputStream error

2002-04-17 Thread Roxanne Tapia

Occasionally, when I try to send an object to my servlet, I get the 
message 413:  Request entity is too large, and the request never seems 
to get into the servlet code.

Is there anything I can do to change the size of acceptable objects? 
How would I chunk my output object to make it more acceptable?

Here is the code I'm using to write from my java application to the 
servlet.   This doesn't throw an exception, but I get the error I 
mentioned above as the return, instead of the object I'm expecing.

URL serverURL = new URL(http://+parmsServer+/ObjectServlet;);
servletConnection = serverURL.openConnection();
if (sessionID != null)
{
servletConnection.setRequestProperty( Cookie, sessionID);
}

// Don't use a cached version of URL connection.
servletConnection.setUseCaches (false);
servletConnection.setDefaultUseCaches (false);

servletConnection.setAllowUserInteraction(false);
servletConnection.setDoInput(true);

servletConnection.setDoOutput(true);

ObjectOutputStream outputToServlet = new
ObjectOutputStream( new BufferedOutputStream( 
servletConnection.getOutputStream()));

outputToServlet.writeObject( inParms);
outputToServlet.flush();
outputToServlet.close();

Thanks in advance,
Roxanne





RE: Showstopper: Orion deployment crash, NullPointerException

2002-04-17 Thread Greg Davis



Did 
you also remove the related files in the orion/persistence directory. I 
have had problems before when the .cache files don;t match up with the 
persistence ones. Just a thought. I haven't seen the error below 
before though

Later...

Greg

  -Original Message-From: Randahl Fink Isaksen 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, April 17, 2002 7:04 
  AMTo: Orion-InterestSubject: Showstopper: Orion 
  deployment crash, NullPointerException
  
  After introducing a lot of 
  different changes in my EJBs I decided to erase my 
  deployment directory (the folder /orion/application-deployments/rockit) in an attempt to 
  make orion carry out a 
  fresh and complete redeployment. Unfortunately now all I get is 
  this:
  
  Auto-deploying rockit-ejb.jar (No previous deployment found)... java.lang.NullPo
  interException
   
  at com.evermind._eh._dyc(.:109)
   
  at com.evermind._fc._izd(.:198)
   
  at com.evermind._fc._de(.:63)
   
  at com.evermind._fpb._de(.:31)
   
  at 
  com.evermind._eq._aa(.:280)
   at 
  com.evermind._ed._aa(.:270)
   at 
  com.evermind._ai._kmd(.:526)
   at 
  com.evermind._aj._kmd(.:287)
   at 
  com.evermind._aj._vxb(.:119)
   at 
  com.evermind.server.ApplicationServer._sxc(.:1308)
   at 
  com.evermind.server.ApplicationServer._ige(.:1265)
   at 
  com.evermind.server.ApplicationServer._vxb(.:1003)
   
  at com.evermind._cxb.run(.:89)
   
  at java.lang.Thread.run(Thread.java:536)
   
  at com.evermind._bt.run(.:47)
  
  It is kind of hard for me to 
  guess whats going on since the stack trace is 
  obfuscated, so as a long shot I am asking you guys if you have experienced 
  something similar to this?
  
  
  Yours 
  Randahl


Re: Fw: Cursos de E-Business (6 de Mayo)

2002-04-17 Thread KirkYarina

clueless sales droid, looks like, rather than a spammer.  Guess they have 
them in Paraguay (if I remember .pa correctly), too.

Unify must still be in business...



At 01:57 PM 4/14/02 +, you wrote:

_nice_idea_ to post an ~650mb jpeg (content with unknown language) to a 
mailing-list 8-|#.
very nice idea )/(()/()_:_:;_;:*Ä'+'*


Am Freitag, 12. April 2002 15:58 schrieb Ing. Moisés H. Suarez:
  - Original Message -
  From: jacsin
  To: [EMAIL PROTECTED]
  Sent: Monday, April 08, 2002 2:56 PM
  Subject: Cursos de E-Business (6 de Mayo)

--
Klaus Thiele - Personal  Informatik AG
mailto:[EMAIL PROTECTED]

  Your mouse has moved.
   Windows must be restarted for the change to take effect.





JNDI question: client talking to EJBs on multiple app servers

2002-04-17 Thread David Moles

I've got the same beans deployed on two different app servers (each
backed by a different database). I want my client to talk to both.
Say the two app servers are running on machines named Fred and Wilma;

I know I can choose which one I talk to by setting

  java.naming.provider.url=ormi://fred/app

or

  java.naming.provider.url=ormi://wilma/app

But how do I switch at run time? I don't want to keep changing the
system property every time I get an InitialContext(), because the
system property is a global setting and one piece of code might not
know what another piece of code is doing. Is there a way to specify
the JNDI url when you create an InitialContext?







Fwd: RE: Showstopper: Orion deployment crash, NullPointerException

2002-04-17 Thread Ray Harrison
 2nd Try...
 Randahl Fink Isaksen [EMAIL PROTECTED] wrote: 
From: "Randahl Fink Isaksen" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Subject: RE: Showstopper: Orion deployment crash, NullPointerExceptionDate: Wed, 17 Apr 2002 21:42:30 +0200Organization: ROCK IT











You are absolutely right – that’s it!

They have my full support for obfuscating their code, but it sure is hard to guess what is wrong, when the stack trace is all garbled… we are lucky to have this mailing list.


Thanks

Randahl.

-Original Message-From: Ray Harrison [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 17:59To: Orion-InterestCc: [EMAIL PROTECTED]Subject: Re: Showstopper: Orion deployment crash, NullPointerException

Randahl, 
I have experienced similar problems with 1.5.4 - is this your particular version? 
If so - 
Check your relationships in your ejb-jar.xml - M-N relationships don't work in 1.5.4, though it will work in the next release and can generate those sorts of errors. 
Also, if you have something like this with your 1-M unidirectional relationships where your collection is referenced in your *second* ejb-relationship-role (as follows) it will also generate thissort of error and you need to reverse the roles to avoid the NPE as a workaround: 
!-- This doesn't work -- 
 relationships ejb-relation ejb-relation-nameMany1s-Many2s/ejb-relation-name ejb-relationship-role ejb-relationship-role-nameMany2-has-many-many1s/ejb-relationship-role-name multiplicityMany/multiplicity relationship-role-source ejb-nameMany2/ejb-name /relationship-role-source /ejb-relationship-role ejb-relationship-role ejb-relationship-role-nameMany1-has-many-many2s/ejb-relationship-role-name multiplicityMany/multiplicity relationship-role-source ejb-nameMany1/ejb-name /relationship-role-source cmr-field cmr-field-namemany2s/cmr-field-name cmr-field-typejava.util.Collection/cmr-field-type /cmr-field /ejb-relationship-role /ejb-relation /relationships 
 
For the above, reverse the ejb-relationship-role entries so that the collection is referenced in the first entry. 
Hope this helps! 
Ray 
 Randahl Fink Isaksen [EMAIL PROTECTED] wrote: 

After introducing a lot of different changes in my EJBs I decided to erase my deployment directory (the folder /orion/application-deployments/rockit) in an attempt to make orion carry out a fresh and complete redeployment. Unfortunately now all I get is this:

Auto-deploying rockit-ejb.jar (No previous deployment found)... java.lang.NullPo
interException
 at com.evermind._eh._dyc(.:109)
 at com.evermind._fc._izd(.:198)
 at com.evermind._fc._de(.:63)
 at com.evermind._fpb._de(.:31)
 at com.evermind._eq._aa(.:280)
 at com.evermind._ed._aa(.:270)
 at com.evermind._ai._kmd(.:526)
 at com.evermind._aj._kmd(.:287)
 at com.evermind._aj._vxb(.:119)
 at com.evermind.server.ApplicationServer._sxc(.:1308)
 at com.evermind.server.ApplicationServer._ige(.:1265)
 at com.evermind.server.ApplicationServer._vxb(.:1003)
 at com.evermind._cxb.run(.:89)
 at java.lang.Thread.run(Thread.java:536)
 at com.evermind._bt.run(.:47)

It is kind of hard for me to guess whats going on since the stack trace is obfuscated, so as a long shot I am asking you guys if you have experienced something similar to this?


Yours Randahl




Do You Yahoo!?Yahoo! Tax Center - online filing with TurboTaxDo You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

how to use unchecked tag?

2002-04-17 Thread Anil D

Hi all
I have a question regarding the use of unchecked tag in ejb-jar.xml. The docs says 
if we specify a method as unchecked in the ejb-jar.xml no user name and password nee d 
to be given while invoking that method. But when I run such a method(from a Swing 
client) the login screen is shown and evenif I give a valid username and password it 
throws an exception  saying that admin is not authorized to call this method.

What am I  missing?

I am using orion 1.5.4

TIA 
Anil




FW: Bean to remote bean communication... (2nd try)

2002-04-16 Thread Chris Francis



I originally posted this at elephantwalker but have had little response,
hopefully someone here has some ideas...

I'm trying to lookup a bean on a remote machine. I set up initial context in
usual way using properties taken from the jndi.properties on the remote oc4j
server. 
In fact I want to lookup the bean from within a web-app (or ejb) installed
on a local oc4j server. When I attempt it all I get is 
NullPointerException: domain was null. 

Does anyone know what this means?

Some more info:
I do the lookup programmatically. If I run it as a standalone client (not
what I want to do) I get an error telling me the Factory can't find
application-client.xml - this is not surprising as it's not on my classpath.
Running from local container gives the error above. I have added an entry to
orion-application.xml: 
ejb-module remote=true path=myremoteapp-ejb /
and entries for the beans deployed there into my local oc4j servers'
application-client.xml

Here's the code I'm using to do the lookup:
Hashtable env = new Hashtable();
env.put(java.naming.provider.url,
ormi://remotemachineIP:rmiport/myremoteapp);
env.put (java.naming.factory.initial,
com.evermind.server.ApplicationClientInitialContextFactory);
env.put(java.naming.security.principal, myremoteapp);
env.put(java.naming.security.credentials, password);

targetEJB_URI = java:comp/env/ + targetEJB_URI;
EJBHome ejbRef = null;
Context ic = new InitialContext(env);

//ejbRef  = (EJBHome)PortableRemoteObject.narrow(ic.lookupLink
(targetEJB_URI), EJBHome.class);
ejbRef = (EJBHome) ic.lookupLink (targetEJB_URI);

One other thing is if I use the RMIInitialContextFactory instead then the
context lookup works if I'm running as a standalone client. I then only get
a naming exception since it can't see application-client.xml

Any help appreciated.

Thanks, 

Chris.




When to use java.util.Collection or java.util.Set

2002-04-16 Thread Randahl Fink Isaksen








Hi everybody





I noticed in the EJB 2.0
specification that most of the examples use java.util.Collection
when defining a relationship between two entities, even though java.util.Set is also allowed.



Why is that so?



I would expect java.util.Set
to be the most frequently used type, since in general you would not want
duplicates in a relationship. Think of a Person-owns-Car relationship for
instance  you are not interested in any duplicates here, since a Person
cannot own the same car twice so to speak (if one relationship says that person
P is the owner of car C, it does not provide you with any usefull
information to create yet another relationship between P and C).



Which cmr-field-types
do you use and why?





Randahl










how do I setup a datasource for mssql ?

2002-04-16 Thread @Basebeans.com

Subject: how do I setup a datasource for mssql 1 2 3 4 5 6 7 8 9
From: alt.cybercafes [EMAIL PROTECTED]
 ===
I have tried setting up my the datasource like the following

data-source
  class=com.evermind.sql.DriverManagerDataSource
  name=Billing
  schema=database-schemas/ms-sql.xml
  location=jdbc/Billing
  xa-location=jdbc/Billing
  ejb-location=jdbc/Billing
  url=com.microsoft.jdbc.sqlserver.SQLServerDriver

connection-driver=jdbc:microsoft:sqlserver://myserver:1433;DatabaseName=Bil
ling
  username=applesauce
  password=1234
  inactivity-timeout=30
 /

 and I get the following errors
Error initializing data-source 'jdbc/Billing': DriverManagerDataSource
driver 'jdbc:microsoft:sqlser
ver://Appserver1:1433;DatabaseName=Billing' not found

What am I doing wrong?

thanks








Unknown Source

2002-04-16 Thread Adam Cassar

Hi Guys,

I am having a problem with v1.5.4 of Orion. In stack traces it displays
the line number everywhere except for the EJB's!

I know it used to work, any ideas on what to look for? 





RE: When to use java.util.Collection or java.util.Set

2002-04-16 Thread Greg Davis



What 
if Person P steals car C? If I were the police I would want to know he 
stole it three times. :-) Although in most cases I would tend toward a Set 
before collections, Logging is one of the areas where P C being the key 
could exist multiple times and I would want the information. I would hope 
that you datasource would not have duplicate records in it anyway. 
:-)

  -Original Message-From: Randahl Fink Isaksen 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 16, 2002 9:12 
  AMTo: Orion-InterestSubject: When to use 
  java.util.Collection or java.util.Set
  
  Hi 
  everybody
  
  
  I 
  noticed in the EJB 2.0 specification that most of the examples use java.util.Collection when defining a relationship between 
  two entities, even though java.util.Set is also 
  allowed.
  
  Why is 
  that so?
  
  I would 
  expect java.util.Set to be the most frequently used 
  type, since in general you would not want duplicates in a relationship. Think 
  of a Person-owns-Car relationship for instance - you are not interested in any 
  duplicates here, since a Person cannot own the same car twice so to speak (if 
  one relationship says that person P is the owner of car C, it does not provide 
  you with any usefull information to create yet 
  another relationship between P and C).
  
  Which 
  cmr-field-types do you use and 
  why?
  
  
  Randahl
  


could somebody help me pls

2002-04-16 Thread Cristina Perma




 Hi,
 I have a database on firebird interbase and respectively a jsp file with a 
bean file . The bean must be the connection to the database, but I receive an 
error like in attached file:

   Know somebody why ??


__
Do you want a free e-mail for life ? Get it at http://www.clujnapoca.ro/




eroare.zip
Description: Zip compressed data


JNDI Reference to home of EJB failing?

2002-04-16 Thread Ken Cooper

Attempting to get a reference to the home of a bean.

Context is setup as follows:

  Hashtable env = new Hashtable();
  env.put(Context.INITIAL_CONTEXT_FACTORY,
  com.evermind.server.rmi.RMIInitialContextFactory);
  env.put(Context.SECURITY_PRINCIPAL, admin);
  env.put(Context.SECURITY_CREDENTIALS, admin);
  env.put(Context.PROVIDER_URL,  
ormi://kecooper-lap:23792/Stateless1);
  Context ctx = new InitialContext(env);

Doing a lookup as per the following:

  Stateless1Home stateless1Home = 
(Stateless1Home)ctx.lookup(Stateless1);

All works well - no issues.
Problem is converting above lookup to a lookup of the following type:

 Object homeObject = ctx.lookup(java:comp/env/Stateless1);

The subsequent step would be to narrow the homeObject reference. However I 
cannot get the reference. Using Oracles JDeveloper9i I get the following 
error message:

 javax.naming.NameNotFoundException: java:comp/env/Stateless1 not found

Need some help in determining hyow to fix this problem. I have modified 
several xml files, in particular ejb-jar.xml and orion-ejb-jar.xml to no 
avail.

PLEASE let me know a possible solution as soon as possible.

THANKS - Ken Cooper

--
Kenneth Cooper, Jr.[EMAIL PROTECTED]
--


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx





You Can Reverse the Aging Process 10-20 years with HGH.

2002-04-16 Thread ultimatehgh








 



 
Hello, [EMAIL PROTECTED],As seen on NBC, CBS, CNN, and even Oprah! 
The health discovery that actually reverses aging while burning 
fat, without dieting or exercise! This proven discovery has 
even been reported on by the New England Journal of Medicine. 
Forget aging and dieting forever! And it's Guaranteed!


Click here 


Would you like to lose weight while you sleep!
No dieting!
No hunger pains!
No Cravings!
No strenuous exercise!
Change your life forever! 





 
1.Body 
Fat Loss 
82% 
improvement.

 
2.Wrinkle 
Reduction 
61% 
improvement.

 
3.Energy 
Level 
84% 
improvement.

 
4.Muscle 
Strength 
88% 
improvement.

 
5.Sexual 
Potency 
75% 
improvement.

 
6.Emotional 
Stability 
67% 
improvement.

 
7.Memory 

62% 
improvement.


 

100% 
GUARANTEED!






 





 
 



















 

You 
are receiving this email as a subscriber
to the Opt-In America Mailing List. 
To remove yourself from all related maillists,
just  
Click Here 









Serialization from Orion back to Client via Session EJB

2002-04-14 Thread Jeff Lowcock

I have a number of code tables in the database, that will only ever be read only.  
Rather than creating the infrastructure of an Entity EJB for these tables I would like 
to simply call a session bean to return read only versions of these codes.

A typical class has the form

public class CodeClass
 implements Serializable
{
  private long  code;
  private Stringname;

 public longgetCode() { return code;}
 public String  getName() { return name;}
}

I've created a Session EJB that accesses the database using JDBC to return the entries 
to the bean.
This bean uses these entries to construct instances of CodeClass and inserts them into 
a Vector.

This vector is then returned as the result of the method call on the Session EJB.

The client receives an error from the server indicating that the CodeClass indicating 
the class could not be (de-)serialized.

The Client is 1.4.0, orion is 1.3.1 (Oracle extended version),  I've tested to ensure 
that this simple CodeClass can be read/written between 1.3.1 and 1.4.0 and there 
appears to be no problem there.

I'm a little stumped at this point, as the code seems to be very simple, compiles and 
doesn't run.  Is it the fact that I'm returning a Vector?  Or am I missing a step, 
or





Re: Deploy war file

2002-04-14 Thread Scott Farquhar

Although it describes adding a war and not an ear, this documentation 
may be of help:

http://kb.atlassian.com/content/orionsupport/articles/addwebapp.html

Just change application=default to application=Metricas in you 
default-web-site.xml file.

Cheers,
Scott

Montiel, Erika wrote:
 Hi, I tried to deploy a .war file
 in the application server. I asummed that
 when I deploy the .ear file the war is intalled, 
 but when I tried to run a servlet I can doit
 
 Could somebody help me with this?
 
 Thanks a lot
 
 I modified the server.xml and looks like this
 ?xml version=1.0?
 !DOCTYPE application-server PUBLIC -//Evermind//DTD Orion
 Application-server//EN
 http://xmlns.oracle.com/ias/dtds/application-server.dtd;
 
 application-server application-directory=../applications
  deployment-directory=../application-deployments
 
   library path=../tools.jar /
   rmi-config path=./rmi.xml /
   jms-config path=./jms.xml /
   log
   file path=../log/server.log /
   /log
   transaction-config timeout=3 /
   global-application name=default path=application.xml /
   application name=Metricas
 path=C:\j2ee\home\applications\Metricas.ear auto-start=true /
   global-web-app-config path=global-web-application.xml /
   web-site path=./default-web-site.xml /
   cluster id=-374524965 /
 /application-server
 
 


-- 
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World






Re: Fw: Cursos de E-Business (6 de Mayo)

2002-04-14 Thread Klaus Thiele


_nice_idea_ to post an ~650mb jpeg (content with unknown language) to a mailing-list 
8-|#.
very nice idea )/(()/()_:_:;_;:*Ä'+'*


Am Freitag, 12. April 2002 15:58 schrieb Ing. Moisés H. Suarez:
 - Original Message -
 From: jacsin
 To: [EMAIL PROTECTED]
 Sent: Monday, April 08, 2002 2:56 PM
 Subject: Cursos de E-Business (6 de Mayo)

--
Klaus Thiele - Personal  Informatik AG
mailto:[EMAIL PROTECTED]

 Your mouse has moved.
  Windows must be restarted for the change to take effect.






Re: Serialization from Orion back to Client via Session EJB

2002-04-14 Thread wim veninga

I've had some problems with client 1.4 and server 1.3.1.
Can't remember wich errors, but I think you have to use the same jdk on
client and server.
- Original Message -
From: Jeff Lowcock [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Sunday, April 14, 2002 12:06 PM
Subject: Serialization from Orion back to Client via Session EJB


 I have a number of code tables in the database, that will only ever be
read only.  Rather than creating the infrastructure of an Entity EJB for
these tables I would like to simply call a session bean to return read only
versions of these codes.

 A typical class has the form

 public class CodeClass
  implements Serializable
 {
   private long code;
   private String name;

  public long getCode() { return code;}
  public String getName() { return name;}
 }

 I've created a Session EJB that accesses the database using JDBC to return
the entries to the bean.
 This bean uses these entries to construct instances of CodeClass and
inserts them into a Vector.

 This vector is then returned as the result of the method call on the
Session EJB.

 The client receives an error from the server indicating that the CodeClass
indicating the class could not be (de-)serialized.

 The Client is 1.4.0, orion is 1.3.1 (Oracle extended version),  I've
tested to ensure that this simple CodeClass can be read/written between
1.3.1 and 1.4.0 and there appears to be no problem there.

 I'm a little stumped at this point, as the code seems to be very simple,
compiles and doesn't run.  Is it the fact that I'm returning a Vector?  Or
am I missing a step, or







Simple WAR file and JSP access?

2002-04-14 Thread Ken Cooper


Created the following directory/file structure

   |
   -|
   ||
WEB-INF   test.jsp
   |
   -|
   ||
classes  web.xml
   |
Servlets
   |
TestServlet.class

Created a WAR file and dropped the WAR file in orion_home\applications. 
Shutdown then started orion. The WAR WAR file was unpacked and created the 
unpacked directory structure as per the above. The entry:

web-module id=WARTest path=../../home/applications/wartest.war /

was made in application.xml

I can execute the servlet - no problems there. BUT the problem - how to get 
to the JSP. When it is executed I get a message saying 
...\j2ee\home\default-web-app\wartest\test.jsp (The system cannot find the 
path specified)

I am wanting to create a simple WAR file to deploy that may contain only 
servlets and JSPs and would like to not have to create an EAR file. How do I 
Access the JSP file?

THANKS for any help - Ken Cooper


--
Kenneth Cooper, Jr.[EMAIL PROTECTED]
--


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx





ORMI with RMIInitialContextFactory fails when server shutdowns

2002-04-14 Thread Shravan Chinnagangannagari
Title: ORMI with RMIInitialContextFactory fails when server shutdowns





Hi,


I am trying to lookup a ejb running on a remote app server, and I am using the following settings which are posted at the end of the page, 

PROBLEM :
when the remote server is running everything works fine, but when the remote server is down, the application/client fetches the local instance, though I am using the ormi and specifying to connect to the remote server, I face this problem when I work with a same EJB which is deployed in the two different servers and with the same application name. one more thing is I do not want to use the remote=true as the same ejb is needed in the local machine for another applications and pages

so I want to know how to stop the server to pick the local instance when the remote server is not running.



Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY, com.evermind.server.rmi.RMIInitialContextFactory);
p.put(Context.PROVIDER_URL, ormi://208.28.177.97:23791/hello-planet);
p.put(Context.SECURITY_PRINCIPAL, admin);
p.put(Context.SECURITY_CREDENTIALS, 123);
Context ctx = new InitialContext(p); 
Object obj = ctx.lookup(hello.ejb.Hello);



Regards
Shravan 





RE: Simple WAR file and JSP access?

2002-04-14 Thread Juan Pablo Lorandi

Just a stupid question, but I wonder if you have binded the war with a
web site???

Juan Pablo Lorandi
Chief Software Architect
Code Foundry Ltd.
[EMAIL PROTECTED]

Barberstown, Straffan, Co. Kildare, Ireland.
Tel: +353-1-6012050  Fax: +353-1-6012051
Mobile: +353-86-2157900
www.codefoundry.com


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of Ken Cooper
 Sent: Sunday, April 14, 2002 4:19 PM
 To: Orion-Interest
 Cc: [EMAIL PROTECTED]
 Subject: Simple WAR file and JSP access?
 
 
 
 Created the following directory/file structure
 
|
-|
||
 WEB-INF   test.jsp
|
-|
||
 classes  web.xml
|
 Servlets
|
 TestServlet.class
 
 Created a WAR file and dropped the WAR file in 
 orion_home\applications. 
 Shutdown then started orion. The WAR WAR file was unpacked 
 and created the 
 unpacked directory structure as per the above. The entry:
 
 web-module id=WARTest path=../../home/applications/wartest.war /
 
 was made in application.xml
 
 I can execute the servlet - no problems there. BUT the 
 problem - how to get 
 to the JSP. When it is executed I get a message saying 
 ...\j2ee\home\default-web-app\wartest\test.jsp (The system 
 cannot find the 
 path specified)
 
 I am wanting to create a simple WAR file to deploy that may 
 contain only 
 servlets and JSPs and would like to not have to create an EAR 
 file. How do I 
 Access the JSP file?
 
 THANKS for any help - Ken Cooper
 
 
 --
 Kenneth Cooper, Jr.[EMAIL PROTECTED]
 --
 
 
 _
 MSN Photos is the easiest way to share and print your photos: 
 http://photos.msn.com/support/worldwide.aspx
 
 





RE: I/O Exception w/ file posting - 2nd try

2002-04-13 Thread Juan Pablo Lorandi

Also, there is a Post File Acceptor available for download (for free) in
www.servlets.com

I've used it intensly with orion without problems

Juan Pablo Lorandi
Chief Software Architect
Code Foundry Ltd.
[EMAIL PROTECTED]

Barberstown, Straffan, Co. Kildare, Ireland.
Tel: +353-1-6012050  Fax: +353-1-6012051
Mobile: +353-86-2157900
www.codefoundry.com


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of Ofur-Bjarni
 Sent: Saturday, April 13, 2002 12:16 AM
 To: Orion-Interest
 Subject: RE: I/O Exception w/ file posting - 2nd try
 
 
 Hi,
 I don't know if you'll find this usefull since you don't want 
 to write your own, but implementing your own upload class is 
 not that difficult, this tutorial (see url below) (although 
 oriented around javamail) shows you how to do it and then you 
 can tweak it to your liking:
 
 http://softwaredev.earthweb.com/java/sdjjavase/article/0,,1239
 5_618471,00.ht
 ml
 
 
 cheers
 Bjarni
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Shal Jain
 Sent: 12. apríl 2002 10:20
 To: Orion-Interest
 Subject: I/O Exception w/ file posting - 2nd try
 
 
 
 (warning long post follows)
 UsingOrion 1.5.2.
 I have a bunch of users doing some very high volume uploads 
 of files ranging anywhere from 1Mb to about 70Mb. I am using 
 Orion's FilePostParser class to parse the input stream and 
 collect files and other data.
 
 Every so often (becoming regular now), I keep getting the 
 following sets of errors
 
 com.evermind.server.http.HttpIOException: Read timed out
  at com.evermind._crb.read(Unknown Source)
  at com.evermind.io.FilePostParser._afc(Unknown Source)
  at com.evermind.io.FilePostParser._ajc(Unknown Source)
  at com.evermind.io.FilePostParser.init(Unknown Source)
 
 
 com.evermind.server.http.HttpIOException: Connection reset by 
 peer: JVM_recv in socket input stream read  at 
 com.evermind._crb.read(Unknown Source)  at 
 com.evermind.io.FilePostParser._afc(Unknown Source)  at 
 com.evermind.io.FilePostParser._ajc(Unknown Source)  at 
 com.evermind.io.FilePostParser.init(Unknown Source) .
 
 java.lang.ArrayIndexOutOfBoundsException
  at com.evermind.io.FilePostParser._hy(Unknown Source)
  at com.evermind.io.FilePostParser._aec(Unknown Source)
  at com.evermind.io.FilePostParser._aic(Unknown Source)
  at com.evermind.io.FilePostParser._ahc(Unknown Source)
  at com.evermind.io.FilePostParser.hasMoreElements(Unknown 
 Source) ..
 
 
 The users are sitting on a T1 and my server is at a managed 
 hosting site which has OCxx coming in.  The servers 
 themselves have 100MBs LAN connnection to the switch. The 
 server is on a 1.2GHz dual proc with 1GB Ram.
 
 Have others seen such errors.  Are there any caveats to using 
 Orion's class. I am using the orion class in the following manner:
 
   Enumeration enumeration = new 
 FilePostParser(request.getInputStream(), request.getContentLength());
 (This line alone may generate the 2 different 
 flavors of HttpIOException listed above)
   ...
  while(enumeration.hasMoreElements()) {// another 
 source of
 error - mostly ArrayIndexOutOfBounds
  {
   Object element = enumeration.nextElement();
 
if ( element instanceof Map.Entry ) { // do something }
else if (element instanceof PostFileInputStream)
 
 ... // do a buffered read from stream using a 
 buffer of about 8K
 int size = inStream.read(fileBytesArray,0,BUFFSIZE);
 // -- another source of HttpIOException
}
   }
  }
 
 
  What's really causing the errors?  My understanding is that 
 for the enctype=multipart/form-data, its really a live input 
 stream which means that for a sufficiently large post not all 
 data will arrive in one chunk and the server will keep 
 getting data from the browser until its
 been sent.   I don't believe bandwitdth is an issue.
 Do I need to switch to the orielly version of  parser 
 classes.  (I don't really want to write my own)
 
 I'd appreciate any pointers/comments
 
 TIA
 
 -shal
 
 
 
 
 
 
 





Re: EJB Caching

2002-04-13 Thread Curt Smith

Assuming this Q is regarding a stateless session bean, does Orion's 
deployer/bean validator
allow bean's with static attributes to be deployed?   A lightly loaded 
system that did not pool
bean instances after each method call and only occassionally had two+ 
instances active at the
same time who used static variable and ran into concurancy problems 
might exibit behavior
that would cause a question like this??

Else it sounds imposible for a properly designed SLSB method to return 
same state
as a previous method?  Hmmm.  

Perhaps the bean code and more details are necessary here?

curt

Derek Akers wrote:

 Our application running on Orion uses a stateless EJB instance to 
 invoke threads that execute application logic.   We are having a 
 problem with these EJBs chaching themselves and returning values 
 from previously executed calls rather than executing the thread 
 desired by the present call.  This does not happen all the time, but 
 often enough to be worrisome.  Question is, is there any way to stop 
 this behaviour?

  

 Derek Akers

 Director of Product Development

 Eldan Software Limited

 (416) 341-0070

 www.eldan.com http://www.eldan.com/

 -

 We build software for people, not computers


-- 

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








Re: [orion-interest]Re: include orion-ejb-jar.xml in an ejb.jar ?

2002-04-12 Thread Lachezar Dobrev

  Hani, you have misunderstood me.
  My problem is not that orion does not overwrite the deployment file. This
is good. The problem is that orion on redeployment totaly ignores DDs, and
starts from scratch. I had to look for a mile to see, why my MDBs are not
subscribed on redeployment. Orion ignores both the xml in the jar and the
xml in the deployment dir.

  I also support the idea of NOT overwriting the current DDs.
  The bug I was talking about is long known from 1.4.8, and I hoped it to
be solved, but it emerges from time to time, mainly (if not only) with MDBs.

  Lachezar

 Wrong, this is not a bug, this is part of application assembly/deployment.

 The reason that orion does not wipe out the application-deployments files
is
 so that you can have different deployments of the same app in different
 systems, with different table names perhaps or column names (just as an
 example).

 For example, the list of disallowed fields is different across DB's, so if
 you're using CMP, you might have a field called parent, which is sometimes
 parent_ on some db's. Another example, you might have a db to which you do
 not have exclusive write access, so in that particular deployment, you
want
 to turn off that flag.

 Orion makes this possible by not destroying deployment specific files
every
 time you deploy something new. This means you can deliver updates to your
 application and each particular deployment need not worry about your
 shipping default settings clobbering their customisations. Makes sense?

 The only caveat with this is that orion will NOT do merges between the
 shipping and deployed file. So for example if you add a new bean, it's xml
 fragment will not be picked up from your shipping orion-ejb.xml, since a
 previous deployment already exists in application-deployments. In this
case
 you'd have to add in the bean manually to the deployed descriptor. Hope
this
 clears this issue up.

 So please think carefully before deciding to scream out bug, or at least
ask
 around!

 On 11/4/02 10:24 am, Lachezar Dobrev [EMAIL PROTECTED] wrote:

  Maybe I don't get it. What is the problem. When you redeploy the ear it
  should get the new DDs.
  However, I WILL recommend to delete the deployment dir before
  (re)deployment. Orion has a nasty bug, that ignores the DD in the
  jar/ear/war on redeployment. That is nasty. You should delete the
directory
  of the jar/ear/war deployment, before (re)deploying.
 
  I will also recommend to leave the EAR structure, and use plain
directory
  structure for your app. Use only ejb-jars.
 
  Again. If this is not your problem, elaborate more to solve it. I have
had
  quite some experience since 1.4.5 and can help in most cases.
 
  Lachezar
 
  o.k. it works!  Thanks for comments!
 
  Now we have got another problem, since the orion-ejb-jar.xml is placed
in
  the corresponding jar-file,
  orion detects an updated  orion-ejb-jar.xml every time i deployd the
  ear-file, wich contains theses jar-file.
  In my opinion this happens because the generated orion-ejb-jar.xml unde
  the
  orion deployment-directory is newer then
  the orion-ejb-jar.xml-file contained in the corresponding
  jar-file  (because it would be used as a template or sample).
  Even there are only changes in other jar-files, which contains
  session-beans, orion detected an new orion-ejb-jar.xml
  on every deployment.
  How could i prevent orion from detection of an new orion-ejb-jar.xml?
 
 
  At 13:50 10.04.2002 +0200, you wrote:
Hi.
Yes. You may include an orion-ejb-jar.xml in the jar file. Orion
  wiull
  read it on deployment, mix-in the missing values, and then use that
xml.
Since orion 1.4.8 the orion-ejb-jar.xml should be in the META-INF
  directory in the jar. Earlier versions had the deployment dd in
another
  directory.
 
A different problem is sharing the xml, and automaticaly including
it
  in
  the builded jars. JBuilder has the ability to include
custom-generated
  DDs
  in the generated jar. this is good, and is very well used in
conjuction
  with
  a CVS system. Other building tools may have different way to do that.
 
Lachezar.
 
  Hi,
 
  thank you for the comment on my last posting distibute beans in
  different
  jar!
 
  Here is another question:
 
  We develop in a small team. One person create the entity-beans with
  finder,
  interfaces , dd and so on
  If he creates an new finder, he has to create the where clause of
the
  SQL-Statement in the orion-ejb-jar-xml-file.
  Every developer runs his own orion-server for development, becaus we
  won't
  test agains a common server, because of the frequence of changes in
  the
  development process in a team.
  Is it possible to include the generated an corrected
  orion-ejb-jar-xml-file
  in the jar-file or the era-file, so that orion read it?
  Then the developer could create this file, commit it in CVS and the
  other
  developers could work with the new ejb.jar-file without copy an new
  orion-ejb-jar-xml-file 

Re: is Orion dead?

2002-04-12 Thread Joseph Ottinger

...except the wait is due to an internal refactoring that should yield
significant benefits. Yourconclusion was predicted by the list in general,
but I disagree; the team's still working on Orion, and I figure that
people will be more happy once the new versions come out. You'd hope it
would be incremental changes as it was in the past (anyone remember the
three-versions-a-day times?) but that's simply not realistic considering
the changes being put into place. Patience. Enjoy.

-
Joseph B. Ottinger [EMAIL PROTECTED]
http://enigmastation.comIT Consultant

On Thu, 11 Apr 2002, Jarrod Roberson wrote:

 At 03:41 PM 4/11/2002, you wrote:
 Whats the current state of Ironflare and Orion?
 
 Nothing has changed in the 'stable release' of Orion for almost a year, even
 though there are glaring bugs in http session clustering (not even fixed in
 1.5.4) and some significantly lacking components.   Ironflare was supposed
 to be in the pavillion at JavaONE, but oddly they had no write up
 (apparently they didn't submit one), and didn't actually show up (so their
 booth was empty).  There also seems to be a conspicuous infrequency to their
 responses here.
 
 I know that Oracle 9iAS is evolving and expanding, and I believe that
 IronFlare is doing a significant amount of work on the 9iAS code base (as
 consultants?).  But whats to become of Orion?  It almost appears that Oracel
 has consumed Orion completely and no development will happen on the old
 Orion.

 looks like someone finally figured it out!

 this is what happens when you get one big customer with a guaranteed
 revenue stream, can't much blame them myself.









Re: is Orion dead?

2002-04-12 Thread Simon Stewart

On Thu, Apr 11, 2002 at 12:41:22PM -0700, Aaron Tavistock wrote:
 Whats the current state of Ironflare and Orion?  

I asked Ironflare about support for EJB-QL a week or so ago, and got a
reply from Magnus saying:

EJB QL will be available shortly, exact when is hard to say, as it is
about to go into testing the coming week.
So the best we can tell you right now is soon.

Seems like they're still plugging away at getting Orion up to the
latest J2EE spec. As an aside, I'd imagine that any bug fixes that are
made to OC4J will be fed back into the main Orion tree --- it only
makes sense.

Cheers,

Simon, last of the innocents.

-- 
I had just received my degree in Calcium Anthropology... The study of
milkmen
 - Steven Wright




I/O Exception w/ file posting - 2nd try

2002-04-12 Thread Shal Jain


(warning long post follows)
UsingOrion 1.5.2.
I have a bunch of users doing some very high volume uploads of files ranging
anywhere from 1Mb to about 70Mb.
I am using Orion's FilePostParser class to parse the input stream and
collect files and other data.

Every so often (becoming regular now), I keep getting the following sets of
errors

com.evermind.server.http.HttpIOException: Read timed out
 at com.evermind._crb.read(Unknown Source)
 at com.evermind.io.FilePostParser._afc(Unknown Source)
 at com.evermind.io.FilePostParser._ajc(Unknown Source)
 at com.evermind.io.FilePostParser.init(Unknown Source)


com.evermind.server.http.HttpIOException: Connection reset by peer: JVM_recv
in socket input stream read
 at com.evermind._crb.read(Unknown Source)
 at com.evermind.io.FilePostParser._afc(Unknown Source)
 at com.evermind.io.FilePostParser._ajc(Unknown Source)
 at com.evermind.io.FilePostParser.init(Unknown Source)
.

java.lang.ArrayIndexOutOfBoundsException
 at com.evermind.io.FilePostParser._hy(Unknown Source)
 at com.evermind.io.FilePostParser._aec(Unknown Source)
 at com.evermind.io.FilePostParser._aic(Unknown Source)
 at com.evermind.io.FilePostParser._ahc(Unknown Source)
 at com.evermind.io.FilePostParser.hasMoreElements(Unknown Source)
..


The users are sitting on a T1 and my server is at a managed hosting site
which has OCxx coming in.  The servers themselves have 100MBs LAN
connnection to the switch. The server is on a 1.2GHz dual proc with 1GB Ram.

Have others seen such errors.  Are there any caveats to using Orion's class.
I am using the orion class in the following manner:

  Enumeration enumeration = new
FilePostParser(request.getInputStream(), request.getContentLength());
(This line alone may generate the 2 different flavors of
HttpIOException listed above)
  ...
 while(enumeration.hasMoreElements()) {// another source of
error - mostly ArrayIndexOutOfBounds
 {
  Object element = enumeration.nextElement();

   if ( element instanceof Map.Entry ) { // do something }
   else if (element instanceof PostFileInputStream)

... // do a buffered read from stream using a buffer of
about 8K
int size = inStream.read(fileBytesArray,0,BUFFSIZE);
// -- another source of HttpIOException
   }
  }
 }


 What's really causing the errors?  My understanding is that for the
enctype=multipart/form-data, its really a live input stream
which means that for a sufficiently large post not all data will arrive in
one chunk and the server will keep getting data from the browser until its
been sent.   I don't believe bandwitdth is an issue.
Do I need to switch to the orielly version of  parser classes.  (I don't
really want to write my own)

I'd appreciate any pointers/comments

TIA

-shal









Re: AJP12

2002-04-12 Thread Marcel Schutte

You can see this by adding:

web-site host=[ALL] port=80 display-name=Default Orion WebSite
protocol=AJP13

to you default-web-site.xml. Another undocumented protocol is JNI. Anybody
knows how that works?

Marcel

- Original Message -
From: Scott Farquhar [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, April 12, 2002 3:48 AM
Subject: Re: AJP12


 AJP12 was in Orion, but was disabled due to bugs.  Perhaps Oracle has
 fixed those bugs in their version  re-enabled it.

 I have no idea if Ironflare are planning to fix this.

 Cheers,
 Scott

 Aaron Tavistock wrote:
  Last year at JavaONE Karl told me that Orion supported AJP12.  I've
tried
  mod_jk in several ways, tried looking for a place to set an AJP
connector in
  Orion, and even poped open the orion.jar looking for a connector.  It
never
  worked - so I gave up many months ago.
 
  Now its becoming more important and I notice that the Oracle 9iAS
supports
  AJP12.  What gives?
 
  Karl?  Magnus?  AJP support?
 
 


 --
 Scott Farquhar :: [EMAIL PROTECTED]

 Atlassian :: http://www.atlassian.com
   Supporting YOUR J2EE World









Do I need a Web Server too?

2002-04-12 Thread Matt Siegfried

I am relatively new in this area...so bare with me...
I am about to purchase Orion as our application server.  The application I
will be running is 100% web based, J2EE.  Do I need a Web Server as well?
Or does Orion act as this too?  This will be running on a Windows 2k
platform.  If I need a Web Server, should I use Microsoft IIS?  It is rated
better then Apache for Windows platforms.

If I do not need both, which is better?  Web Server or App Server?

Thanks,
-M




Re: Re: is Orion dead?

2002-04-12 Thread gofreddo

Hi Joseph,

Any idea when the new version will be out?

Regards
Fred


 
 From: Joseph Ottinger [EMAIL PROTECTED]
 Subject: Re: is Orion dead?
 Date: 12/04/2002 18:04:37
 To: Orion-Interest [EMAIL PROTECTED]
 
 ...except the wait is due to an internal refactoring that should yield
 significant benefits. Yourconclusion was predicted by the list in general,
 but I disagree; the team's still working on Orion, and I figure that
 people will be more happy once the new versions come out. You'd hope it
 would be incremental changes as it was in the past (anyone remember the
 three-versions-a-day times?) but that's simply not realistic considering
 the changes being put into place. Patience. Enjoy.
 
 -
 Joseph B. Ottinger [EMAIL PROTECTED]
 http://enigmastation.comIT Consultant
 
 On Thu, 11 Apr 2002, Jarrod Roberson wrote:
 
  At 03:41 PM 4/11/2002, you wrote:
  Whats the current state of Ironflare and Orion?
  
  Nothing has changed in the 'stable release' of Orion for almost a year, even
  though there are glaring bugs in http session clustering (not even fixed in
  1.5.4) and some significantly lacking components.   Ironflare was supposed
  to be in the pavillion at JavaONE, but oddly they had no write up
  (apparently they didn't submit one), and didn't actually show up (so their
  booth was empty).  There also seems to be a conspicuous infrequency to their
  responses here.
  
  I know that Oracle 9iAS is evolving and expanding, and I believe that
  IronFlare is doing a significant amount of work on the 9iAS code base (as
  consultants?).  But whats to become of Orion?  It almost appears that Oracel
  has consumed Orion completely and no development will happen on the old
  Orion.
 
  looks like someone finally figured it out!
 
  this is what happens when you get one big customer with a guaranteed
  revenue stream, can't much blame them myself.
 
 
 
 
 
 
 

This message was sent through MyMail http://www.mymail.com.au






RE: Do I need a Web Server too?

2002-04-12 Thread John Owen

Orion can be used as a standalone web server or in conjunction with a
3rd party web server such as Apache or IIS. I can't comment on IIS as I
have always used Apache as my web server (except for this project where
Orion is used for everything).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Matt
Siegfried
Sent: Friday, April 12, 2002 7:22 AM
To: Orion-Interest
Subject: Do I need a Web Server too?


I am relatively new in this area...so bare with me...
I am about to purchase Orion as our application server.  The application
I will be running is 100% web based, J2EE.  Do I need a Web Server as
well? Or does Orion act as this too?  This will be running on a Windows
2k platform.  If I need a Web Server, should I use Microsoft IIS?  It is
rated better then Apache for Windows platforms.

If I do not need both, which is better?  Web Server or App Server?

Thanks,
-M





HELP! Error in connecting to EJB

2002-04-12 Thread pop m





I am using Orion 1.5.4 and 
SOAP 2.2 . I have written a simple stateless EJB and I want to call a 
method
via SOAP but always I am 
getting the next error from client:

Fault 
Code = SOAP-ENV:Server Fault String = Error in connecting 
to EJB
and my Orion app. server 
writes this:

Exception caught: 
javax.naming.NamingException: Error instantiating web-app JNDI-context: No 
location specified and no suitable instance of the type 
'hu.regens.ejb.graph' found for the ejb-ref graph

However, I have tried to 
configure the "classpaths" to see my own EJB classes but it didn't 
work.

Can somebody help me ? If 
you'll get me an answer please specify what/where should I do/configure/try ! 


P.S. I have tried everything, even whether my autoexec.bat has been 
modifiedas you see  below:

set 
classpath=.;.\classes;c:\java_classes;c:\jakarta-ant-1.4.1\lib\ant.jar;c:\jakarta-ant-1.4.1\lib\jaxp.jar;set 
classpath=%classpath%;c:\orion\applications\regens_app\regens_app-ejb.jar; 
(this contains my EJB classes)

set java_home=c:\jdk131rem set java_home=c:\j2sdk1.4.0set 
oracle_home=c:\orawin95set ant_home=c:\jakarta-ant-1.4.1rem set 
j2ee_home=c:\jdeveloper\j2ee\homeset j2ee_home=c:\orion

Thanks 
!


Re: is Orion dead?

2002-04-12 Thread Simon Stewart

I'm quietly waiting for Orion to adopdt the release often attitude
of the OS developers. Provided it comes with warnings along the lines
of this hasn;t been tested, you are beta testing our product I'm
happy. 

Perhaps the experimental version of Orion should be just that?  I'm
even happy if autoupdate.jar doesn't update to this experimental
version unless passed a flag --- I'd be happy to download and
configure by hand --- but some of the promised features are worth the
hassle, IMHO.

On Fri, Apr 12, 2002 at 03:36:04AM -0700, Ray Harrison wrote:
 
  Agreed. The team is definitely working on Orion and the next versions of the app 
server will be much improved. You'll love it. 
 Cheers
 Ray
   Joseph Ottinger [EMAIL PROTECTED] wrote: ...except the wait is due to an 
internal refactoring that should yield
 significant benefits. Yourconclusion was predicted by the list in general,
 but I disagree; the team's still working on Orion, and I figure that
 people will be more happy once the new versions come out. You'd hope it
 would be incremental changes as it was in the past (anyone remember the
 three-versions-a-day times?) but that's simply not realistic considering
 the changes being put into place. Patience. Enjoy.

Simon

-- 
Now I've got peanut butter in my armpit.  I'm wiping but it doesn't
seem to be coming out.  Do I take a shower or just fall asleep with
peanut butter in there?  -- Philip Kaplan




RE: Do I need a Web Server too?

2002-04-12 Thread Satter, Rabi

You can just use Orion. It includes a pretty good web server and jsp/servlet
engine.

-Original Message-
From: Matt Siegfried [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 7:22 AM
To: Orion-Interest
Subject: Do I need a Web Server too?


I am relatively new in this area...so bare with me...
I am about to purchase Orion as our application server.  The application I
will be running is 100% web based, J2EE.  Do I need a Web Server as well?
Or does Orion act as this too?  This will be running on a Windows 2k
platform.  If I need a Web Server, should I use Microsoft IIS?  It is rated
better then Apache for Windows platforms.

If I do not need both, which is better?  Web Server or App Server?

Thanks,
-M




Re: is Orion dead?

2002-04-12 Thread Hani Suleiman

Orion has/had such a mechanism in place, however, the reason this has been 
scaled back is due to user response. You might be able to understand that it's 
a preview, you might realise that it will have bugs and problems. This however 
does not extend to all users, and I suspect the vocal minority of those who 
whine and complain are those responsible for everyone else not having access to 
regular updates for testing and previews at last.

Quoting Simon Stewart [EMAIL PROTECTED]:

 I'm quietly waiting for Orion to adopdt the release often attitude
 of the OS developers. Provided it comes with warnings along the lines
 of this hasn;t been tested, you are beta testing our product I'm
 happy. 
 
 Perhaps the experimental version of Orion should be just that?  I'm
 even happy if autoupdate.jar doesn't update to this experimental
 version unless passed a flag --- I'd be happy to download and
 configure by hand --- but some of the promised features are worth the
 hassle, IMHO.
 
 On Fri, Apr 12, 2002 at 03:36:04AM -0700, Ray Harrison wrote:
  
   Agreed. The team is definitely working on Orion and the next versions of
 the app server will be much improved. You'll love it. 
  Cheers
  Ray
Joseph Ottinger [EMAIL PROTECTED] wrote: ...except the wait is due
 to an internal refactoring that should yield
  significant benefits. Yourconclusion was predicted by the list in
 general,
  but I disagree; the team's still working on Orion, and I figure that
  people will be more happy once the new versions come out. You'd hope it
  would be incremental changes as it was in the past (anyone remember the
  three-versions-a-day times?) but that's simply not realistic considering
  the changes being put into place. Patience. Enjoy.
 
 Simon
 
 -- 
 Now I've got peanut butter in my armpit.  I'm wiping but it doesn't
 seem to be coming out.  Do I take a shower or just fall asleep with
 peanut butter in there?  -- Philip Kaplan
 
 








RE: Oracle9i vs. Orion

2002-04-12 Thread Aaron Tavistock

Several of the Oracle9iAS developers told me that they bought a snapshot of
the Orion code base approximately one year ago - since that time there have
been significant modifications to the Oracle code base - which will never be
a merged with Orion.  

They did point out however that a reasonable amount of the work on the
Oracle code base was done by Ironflare and they said there is no significant
reason why Ironflare couldn't re-implement the same features in the Orion
code base.

So they are two seperate trees and 'technically' maintained by two seperate
groups.  Just the group maintaining Oracles tree happens to include the
entire group maintaining the Orion tree along with a bunch of Oracle
engineers as well.  :(

-Original Message-
From: Brian Chan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 9:59 PM
To: Orion-Interest
Subject: Oracle9i vs. Orion


How different is Oracle9i from Orion? I always thought it was the same thing
but renamed.

Are they essentially two different trees now maintained by different groups?

- Brian




RE: is Orion dead?

2002-04-12 Thread Aaron Tavistock

Sometimes one cannot wait too long.

I have a very significant growth issue that requires scaling up from 4 app
servers to 15 within the next 2 months.  Under the current limitations of
Orion it simply won't work - so far we've cobbled solutions around the
unreliable http session clustering and loadbalancing.  Unless theres some
change soon to deal with a lot of the big issues I can't imagine how I can
stay with Orion.  Definitely don't misunderstand me thats not intended to
sound threatening, I love Orion and want to stay with it.  I'm just pointing
out that my needs may require me to switch to something where http
clustering and loadalancing does work properly under high load.

AJP support would go a long way to help that - because mod_jk seems to do a
pretty decent job at handling stick sessions and removing machines from
rotation that have died.  

Any ideas on when the next iteration would be released?  Even a half way
step or a new experimental release would be a sign that things are evolving.


-Original Message-
From: Joseph Ottinger [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 1:05 AM
To: Orion-Interest
Subject: Re: is Orion dead?


...except the wait is due to an internal refactoring that should yield
significant benefits. Yourconclusion was predicted by the list in general,
but I disagree; the team's still working on Orion, and I figure that
people will be more happy once the new versions come out. You'd hope it
would be incremental changes as it was in the past (anyone remember the
three-versions-a-day times?) but that's simply not realistic considering
the changes being put into place. Patience. Enjoy.

-
Joseph B. Ottinger [EMAIL PROTECTED]
http://enigmastation.comIT Consultant

On Thu, 11 Apr 2002, Jarrod Roberson wrote:

 At 03:41 PM 4/11/2002, you wrote:
 Whats the current state of Ironflare and Orion?
 
 Nothing has changed in the 'stable release' of Orion for almost a year,
even
 though there are glaring bugs in http session clustering (not even fixed
in
 1.5.4) and some significantly lacking components.   Ironflare was
supposed
 to be in the pavillion at JavaONE, but oddly they had no write up
 (apparently they didn't submit one), and didn't actually show up (so
their
 booth was empty).  There also seems to be a conspicuous infrequency to
their
 responses here.
 
 I know that Oracle 9iAS is evolving and expanding, and I believe that
 IronFlare is doing a significant amount of work on the 9iAS code base (as
 consultants?).  But whats to become of Orion?  It almost appears that
Oracel
 has consumed Orion completely and no development will happen on the old
 Orion.

 looks like someone finally figured it out!

 this is what happens when you get one big customer with a guaranteed
 revenue stream, can't much blame them myself.









RE: is Orion dead?

2002-04-12 Thread Jeff Schnitzer

You know, this exact conversation has been surfacing every 4 months or
so for the last year and a half.  In particular, the internal
refactoring was what occupied the 6 months before the 1.5.4 release...
and now it looks like it's going on again.  Every time, a handful of
people (who apparently have some mysterious source of knowledge they
don't care to explain) say have patience, it's about to get a lot
better!

My patience ran out a couple weeks ago.  The 1.5.4 release has a
show-stopper (for me) broken version of HttpServletResponseWrapper, and
when I try to deploy my application I get a NullPointerException with a
stack trace obfuscated all the way up to Thread.run().  And this isn't
the first time I've had to hunt down problems with only a meaningless
exception as guide.

I have just fought my last obfuscated stack trace.  I'm tired of waiting
with no feedback.  I'm in the process of porting my applications to
JBoss 3.0, and so far I'm enormously pleased.  The pace of development
there is dizzying, and they are already ahead of Orion in terms of spec
compliance.  CVS commits and changes to the bug database are
automatically posted to the dev list so I can see the progress daily.

...and their mailing list software actually works.

Jeff Schnitzer
[EMAIL PROTECTED]
[I don't want to sound like I'm disparaging an obviously extraordinarily
bright software development team - but it looks to me like this project
has grown far beyond the reasonable scope of two or three developers.]

 -Original Message-
 From: Joseph Ottinger [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 12, 2002 1:05 AM
 To: Orion-Interest
 Subject: Re: is Orion dead?
 
 ...except the wait is due to an internal refactoring that should yield
 significant benefits. Yourconclusion was predicted by the list in
general,
 but I disagree; the team's still working on Orion, and I figure that
 people will be more happy once the new versions come out. You'd hope
it
 would be incremental changes as it was in the past (anyone remember
the
 three-versions-a-day times?) but that's simply not realistic
considering
 the changes being put into place. Patience. Enjoy.
 
 -
 Joseph B. Ottinger [EMAIL PROTECTED]
 http://enigmastation.comIT Consultant
 
 On Thu, 11 Apr 2002, Jarrod Roberson wrote:
 
  At 03:41 PM 4/11/2002, you wrote:
  Whats the current state of Ironflare and Orion?
  
  Nothing has changed in the 'stable release' of Orion for almost a
year,
 even
  though there are glaring bugs in http session clustering (not even
 fixed in
  1.5.4) and some significantly lacking components.   Ironflare was
 supposed
  to be in the pavillion at JavaONE, but oddly they had no write up
  (apparently they didn't submit one), and didn't actually show up
(so
 their
  booth was empty).  There also seems to be a conspicuous infrequency
to
 their
  responses here.
  
  I know that Oracle 9iAS is evolving and expanding, and I believe
that
  IronFlare is doing a significant amount of work on the 9iAS code
base
 (as
  consultants?).  But whats to become of Orion?  It almost appears
that
 Oracel
  has consumed Orion completely and no development will happen on the
old
  Orion.
 
  looks like someone finally figured it out!
 
  this is what happens when you get one big customer with a
guaranteed
  revenue stream, can't much blame them myself.
 
 
 
 
 





EJB Caching

2002-04-12 Thread Derek Akers
Title: Message



Our 
application running on Orion uses a stateless EJB instance to invoke threads 
that execute application logic. We are having a problem with these 
EJBs chaching themselves and returning values frompreviously executed 
calls rather than executing the thread desired by the present call. This 
does not happen all the time, but often enough to be worrisome. Question 
is, is there any way to stop this behaviour?

Derek Akers
Director of Product Development
Eldan Software Limited
(416) 341-0070
www.eldan.com
-
"We build 
software for people, not computers"


RE: Do I need a Web Server too?

2002-04-12 Thread Matt Siegfried

Should I only use Orion?  Or am I better off using both Orion and IIS?  If
so, what does having both provide me with?

Matt

Original Message-
From: John Owen [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 9:55 AM
To: Orion-Interest
Subject: RE: Do I need a Web Server too?


Orion can be used as a standalone web server or in conjunction with a
3rd party web server such as Apache or IIS. I can't comment on IIS as I
have always used Apache as my web server (except for this project where
Orion is used for everything).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Matt
Siegfried
Sent: Friday, April 12, 2002 7:22 AM
To: Orion-Interest
Subject: Do I need a Web Server too?


I am relatively new in this area...so bare with me...
I am about to purchase Orion as our application server.  The application
I will be running is 100% web based, J2EE.  Do I need a Web Server as
well? Or does Orion act as this too?  This will be running on a Windows
2k platform.  If I need a Web Server, should I use Microsoft IIS?  It is
rated better then Apache for Windows platforms.

If I do not need both, which is better?  Web Server or App Server?

Thanks,
-M





Deploy war file

2002-04-12 Thread Montiel, Erika

Hi, I tried to deploy a .war file
in the application server. I asummed that
when I deploy the .ear file the war is intalled, 
but when I tried to run a servlet I can doit

Could somebody help me with this?

Thanks a lot

I modified the server.xml and looks like this
?xml version=1.0?
!DOCTYPE application-server PUBLIC -//Evermind//DTD Orion
Application-server//EN
http://xmlns.oracle.com/ias/dtds/application-server.dtd;

application-server application-directory=../applications
 deployment-directory=../application-deployments

library path=../tools.jar /
rmi-config path=./rmi.xml /
jms-config path=./jms.xml /
log
file path=../log/server.log /
/log
transaction-config timeout=3 /
global-application name=default path=application.xml /
application name=Metricas
path=C:\j2ee\home\applications\Metricas.ear auto-start=true /
global-web-app-config path=global-web-application.xml /
web-site path=./default-web-site.xml /
cluster id=-374524965 /
/application-server




RE: I/O Exception w/ file posting - 2nd try

2002-04-12 Thread Ofur-Bjarni

Hi,
I don't know if you'll find this usefull since you don't want to write your
own, but implementing your own upload class is not that difficult, this
tutorial (see url below) (although oriented around javamail) shows you how
to do it and then you can tweak it to your liking:

http://softwaredev.earthweb.com/java/sdjjavase/article/0,,12395_618471,00.ht
ml


cheers
Bjarni

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Shal Jain
Sent: 12. apríl 2002 10:20
To: Orion-Interest
Subject: I/O Exception w/ file posting - 2nd try



(warning long post follows)
UsingOrion 1.5.2.
I have a bunch of users doing some very high volume uploads of files ranging
anywhere from 1Mb to about 70Mb.
I am using Orion's FilePostParser class to parse the input stream and
collect files and other data.

Every so often (becoming regular now), I keep getting the following sets of
errors

com.evermind.server.http.HttpIOException: Read timed out
 at com.evermind._crb.read(Unknown Source)
 at com.evermind.io.FilePostParser._afc(Unknown Source)
 at com.evermind.io.FilePostParser._ajc(Unknown Source)
 at com.evermind.io.FilePostParser.init(Unknown Source)


com.evermind.server.http.HttpIOException: Connection reset by peer: JVM_recv
in socket input stream read
 at com.evermind._crb.read(Unknown Source)
 at com.evermind.io.FilePostParser._afc(Unknown Source)
 at com.evermind.io.FilePostParser._ajc(Unknown Source)
 at com.evermind.io.FilePostParser.init(Unknown Source)
.

java.lang.ArrayIndexOutOfBoundsException
 at com.evermind.io.FilePostParser._hy(Unknown Source)
 at com.evermind.io.FilePostParser._aec(Unknown Source)
 at com.evermind.io.FilePostParser._aic(Unknown Source)
 at com.evermind.io.FilePostParser._ahc(Unknown Source)
 at com.evermind.io.FilePostParser.hasMoreElements(Unknown Source)
..


The users are sitting on a T1 and my server is at a managed hosting site
which has OCxx coming in.  The servers themselves have 100MBs LAN
connnection to the switch. The server is on a 1.2GHz dual proc with 1GB Ram.

Have others seen such errors.  Are there any caveats to using Orion's class.
I am using the orion class in the following manner:

  Enumeration enumeration = new
FilePostParser(request.getInputStream(), request.getContentLength());
(This line alone may generate the 2 different flavors of
HttpIOException listed above)
  ...
 while(enumeration.hasMoreElements()) {// another source of
error - mostly ArrayIndexOutOfBounds
 {
  Object element = enumeration.nextElement();

   if ( element instanceof Map.Entry ) { // do something }
   else if (element instanceof PostFileInputStream)

... // do a buffered read from stream using a buffer of
about 8K
int size = inStream.read(fileBytesArray,0,BUFFSIZE);
// -- another source of HttpIOException
   }
  }
 }


 What's really causing the errors?  My understanding is that for the
enctype=multipart/form-data, its really a live input stream
which means that for a sufficiently large post not all data will arrive in
one chunk and the server will keep getting data from the browser until its
been sent.   I don't believe bandwitdth is an issue.
Do I need to switch to the orielly version of  parser classes.  (I don't
really want to write my own)

I'd appreciate any pointers/comments

TIA

-shal










RE: Do I need a Web Server too?

2002-04-12 Thread Martin Wells


 
 Should I only use Orion?  Or am I better off using both Orion 
 and IIS?  If so, what does having both provide me with?
 


Orion by itself it significantly faster than being tunneled through
another web server. Unless you need something specific in IIS or Apache
(e.g. mod_perl) then go with Orion alone. It's also easier to configure
and maintain.


Regards,
Marty





<    1   2   3   4   5   6   7   8   9   10   >