SV: Orion and JSP

2002-05-14 Thread magnus . rydin

There is a beginners guide available at
www.orionserver.com/docs/beginners-guide.xml
That helps you get started with the Orion Application Server.

With regards,
Magnus Rydin

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] För Krishnan, Sri
 Skickat: den 14 maj 2002 00:16
 Till: Orion-Interest
 Ämne: Orion and JSP
 
 
 Hi,
   I am trying to use jsp s with Orion. Can anyone let me know 
 how do I get the JSP compiled and displayed on the web 
 browser ?. I know that OC4J compiles the JSP, just could not 
 figure out how to get the orion do that.
 
 Thanks alot for your help
 Sri
 





SV: Starting Orion as a service in Solaris 8

2002-05-03 Thread Magnus Rydin

How did it fail? 
What error message did you get?
What does the logs tell you?

With regards,
Magnus Rydin

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] För Vu Le Hung
 Skickat: den 3 maj 2002 09:44
 Till: Orion-Interest
 Ämne: Starting Orion as a service in Solaris 8
 
 
 Hi all,
 I've been trying to start Orion as a service in SunOS 5.8 as 
 follow but it failed:
   - Create an executable script file 
 /etc/rc.d/init.d/orion containing following lines
   #!/bin/sh
   #Change to orion directory
   cd /usr/local/orion
   #Start orion application server
   java -jar orion.jar
 After booting up the system, I can goto Orion welcome page by 
 typing http://myhost/ but I cannot get any JSP pages 
 displayed properly. Any ideas ? Maybe the servlet engine did 
 not start ? Thanks for your help in advance.
 
 Yours,
 
 Vu
 
 
 
 
 
 
 
 





SV: Remove me

2002-05-02 Thread Magnus Rydin

Please use the unsubscribe function at our site for unsubscription or
send a mail to [EMAIL PROTECTED] with a body of
unsubscribe to unsubscribe, do not bother the readers of this list
with unsubscribe requests.

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] För rajender anand
 Skickat: den 2 maj 2002 14:35
 Till: Orion-Interest
 Ämne: Remove me
 
 
 Please remove me from the orion interest list
 
 thanks
 rajender anand 
 _
 Click below to visit monsterindia.com and review jobs in India or 
 Abroad
 http://monsterindia.rediff.com/jobs
 





Unsubscription and autoreplies

2002-05-01 Thread Magnus Rydin

Please use the unsubscribe function at our site for unsubscription or
send a mail to [EMAIL PROTECTED] with a body of
unsubscribe to unsubscribe, do not bother the readers of this list
with unsubscribe requests.

Please turn off auto-reply functionality for messages sent from this
list if you are using your mail-clients auto-reply functionality. There
is no standard header to identify an auto-reply by, and therefore its
hard for us to scan for such messages successfully (besided the varity
of words used in subject by different clients, there is also varity
amongst different locale versions of these clients and so on).

With regards,
Magnus Rydin






SV: detailed description of data-source.xml

2002-04-30 Thread Magnus Rydin
Title: Meddelande



You 
can find details at
http://www.orionserver.com/docs/data-sources.xml.html
or
http://www.orionserver.com/docs/datasource-configuration/datasource-configuration.xml

With 
regards,
Magnus 
Rydin

  
  -Ursprungligt meddelande-Från: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]] För 
  [EMAIL PROTECTED]Skickat: den 30 april 2002 
  10:27Till: Orion-InterestÄmne: detailed description of 
  data-source.xml 
  Hi all, 
  may somebody recommend where I can find 
  detailed description of data-source.xml, especially with Orion 
  specific. 
  Thank you in advance 
  ITC-M, SIS Company Mr. Valeri Kireitchik Head 
  of Application Software Department 
  
  Fujitsu Siemens Computers Qualified 
  Partner Microsoft Certified Partner Oracle Partner Program Member 
  Surganova 24-406 220012 
  Minsk Republic of Belarus ph.: +375 
  (17) 262 50 23 fax: +375 
  (17) 262 55 91 http://www.sis-group.com/ 


SV: (No subject)

2002-04-25 Thread Magnus Rydin

Please use the unsubscribe function at our site for
unsubscription/subscription or send a mail to
[EMAIL PROTECTED] with a body of unsubscribe or
subscribe

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] För 
 [EMAIL PROTECTED]
 Skickat: den 25 april 2002 12:21
 Till: Orion-Interest
 Ämne: (No subject)
 
 
 
 remove me please 
 





SV: https session-timeout problem

2002-04-11 Thread Magnus Rydin

Hi Emil,
This is an old issue with IE and SSL.
To get away from those issues, use HTTP sessions instead of SSL sessions
on your protected site.
This is enabled by having an entry like shared=true in the binding entry
in your web-site.xml.
See the xml descriptor at:
http://www.orionserver.com/docs/web-site.xml.html
Or The tip given in this section:
http://www.orionserver.com/docs/web-module-binding/web-module-binding.xm
l#manualBind



-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] För Orion Newsgroup
Skickat: den 11 april 2002 13:25
Till: Orion-Interest
Ämne: https session-timeout problem


Subject: https session-timeout problem
From: Emil Birgersson [EMAIL PROTECTED]
 ===
Hello!
I have a strange problem. I use a couple of session variables (shopping
cart, username) and I changed the session-timeout propertie to let's say
60 minutes. This worked fine until I made my site secure, the session is
timing out after ten minutes or less, it seems like the session-timeout
propertie has no effect at all after I added my SSL cert to the site.
What can I do, I really need to increase the session-timeout propertie.
Thanks.

 /Emil






SV: [orion-interest]CMP/BMP and standard JDBC, speed is of essence

2002-04-09 Thread Magnus Rydin

Hi,

Have a look at the ATM sample shipped with the latest build, it uses
them for the logs.

With regards,
Magnus Rydin

-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] För Jeff Schnitzer
Skickat: den 9 april 2002 09:30
Till: Orion-Interest
Ämne: RE: [orion-interest]CMP/BMP and standard JDBC, speed is of essence


 From: Simon Stewart [mailto:[EMAIL PROTECTED]]
 
 Forgive me, but what about the case where you just set the 
 prim-key-class to be java.lang.Object and don't specify a managed 
 primary key field in your ejb-jar.xml file? While that's not the 
 world's most advanced method for automatically generating primary 
 keys, it's there, and it does work
 
 Of course, I have no idea how to refer to this autogenerated primary 
 key using EJB-QL, but that's beside the point ;)

Does that really work?  Can you get access to the value of the key
later?  I've combed over that part of the spec, but it's terribly vague
about how deferred keys are supposed to work.  I've never seen a
container that documented them, I have never seen an example of them
being used, and (until now) I have never known anyone to have tried
them.

Jeff Schnitzer
[EMAIL PROTECTED]





SV: How can I configuring a non-war web app without putting it under Orion dir?

2002-03-30 Thread Magnus Rydin

See this document:
http://www.orionserver.com/docs/web-module-binding/web-module-binding.xm
l#standAlone

-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] För DORAN, GRANT
Skickat: den 29 mars 2002 18:25
Till: Orion-Interest
Ämne: How can I configuring a non-war web app without putting it under
Orion dir?


Hi,

I have been trying to find documentation on how to configure
orion to run a web application from a directory that isn't under
orion\applications. The examples that I find in the documentation are
either war files or under orion.
I can't zip the application up as some of the files are
referenced by dlls.
I'm not having much luck getting the xml config file right.
Is there any documentation on how to set this up?
Is there an example anywhere?

Thanks

Grant Doran


This email and any accompanying documents are intended only for the
named recipient, are confidential and may be privileged. If you are not
the intended recipient please notify us immediately by
mailto:[EMAIL PROTECTED] and you must not copy, disclose or
otherwise use this message. Unauthorised use is strictly prohibited and
may be unlawful. The content of this email represents the view of the
individual and not the company. The company reserves the right to
monitor the content of all emails in accordance with lawful business
practice.

Whilst attachments are virus checked before transmission, Britannic
Assurance plc does not accept any liability in respect of any virus
which is not detected.

Britannic Assurance plc, No.3002 is registered in England and maintains
its registered office at 1 Wythall Green Way, Wythall, Birmingham B47
6WG.
Telephone: 0870 887 0001
Fax: 0870 887 0002
Website: www.britannicassurance.com

Britannic Assurance plc, Britannic Unit Linked Assurance Limited,
Britannic ISA Managers Limited and Britannic Unit Trust Managers Limited
are regulated by the Financial Services Authority. Each of these
companies is a member of the Britannic marketing group which only
advises on and sells its own life assurance, pension, unit trust and ISA
products.






SV: setProperty blanks and *

2002-03-25 Thread Magnus Rydin

Hi Dave,
This is according to the specification.
See the JSP specification chapter 2.13.2.1

With regards,
Magnus Rydin

-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] För Dave Ford
Skickat: den 22 mars 2002 19:22
Till: Orion-Interest
Ämne: jsp:setProperty blanks and *


Take the following query string:

x=y=abc //x is empty string

And the following JSP tag:

jsp:setProperty name=myFoo property=*/

Problem:

myFoo.setY is called but myFoo.setX is not called. Suppose I want to
change the value of myFoo.x to an empty string. How would I achieve
this? This seems to make the * feature almost useless. Or am I missing
something?

Dave Ford
Smart Soft - The Developer Training Company http://www.smart-soft.com





SV: Login Security

2002-03-03 Thread Magnus Rydin
Title: Meddelande



Hi 
Tom,

Im 
currently finishing the Security Primer document that will give you step by step 
instructions for setting up security for web-modules amongst other things. As 
this document is not finished yet, I would urge you to check out Suns tutorials 
on this subject (or any other tutorial you can find) as this is (apart from 
managing users) part of the J2EE specification.

WR
Magnus 
Rydin

  
  -Ursprungligt meddelande-Från: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]] För Tom Holmes 
  Jr.Skickat: den 2 mars 2002 21:52Till: 
  Orion-InterestÄmne: Login Security
  I've been using Orion since the 1.4.x version and 
  I love it so far. I have used it for deploying JSP, Servlets, and 
  JavaBeans under the default web-app. I've even learned how to create 
  virtual hosts with Orion.Now I am learning more about 
  web-apps, EAR files, and WAR files on Orion and BEA WebLogic.
  
  However, my main question is about Login Security 
  with Orion, it looks daunting to say the least.
  
  Let's say I have two different 
  web-sites: 
  http://www.mywebsite.com/mywebapp 
  and http://www.mywebsite.com/mydirectory
  Both of these can be browsed to, but I want one 
  of these to pop-up a dialog box to ask for username and password. I 
  suspect, that this can only be done with the actual 'mywebapp' and not with 
  the directory that is just off the default-web-app.
  
  Ok, so lets say I have two virtual hosts like 
  this:
  http://hosta.mywerbsite.com/ 
  and http://hostb.mywebsite.com
  Both of these can also be browsed to, but I want 
  of these to have security so that a dialog box pops-up and asks for username 
  and password.
  
  In both these scenarios, I am looking to add 
  login security, and U am not sure if there are two different ways of doing 
  this with Orion. If any help can be provided, or if you know of 
  anyplace where I can look. Please let me know.
  
  Thanks for you help.
  
   
  Tom


SV: disappear postings (was Re: Uploading files to Orion webserver with MultipartParser API)

2002-02-27 Thread Magnus Rydin

We are desperately trying to find time to update the software that runs
this list. We have now made this one of our higher priorities, as this
list is our primal channel of communication with our community.

Disapearing postings sounds very alarming and makes us raise the
priority of updating this mailing list even higher.

We are trying our best to bring you full EJB 2.0 as soon as possible,
and I am sure that you, our users, also rates full EJB 2.0 compliance
higher than the performance of this list as long as you know that the
mailing list software will soon be updated.

With Regards,

Magnus Rydin
IronFlare AB



-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] För Simon Stewart
Skickat: den 27 februari 2002 17:37
Till: Orion-Interest
Ämne: OT: disappear postings (was Re: Uploading files to Orion webserver
with MultipartParser API)


On Wed, Feb 27, 2002 at 09:17:41AM -, Justin Crosbie wrote:
 P.S. this is my second attempt at posting this, it appears the list 
 does not pick up everything that is posted.

I've noticed this too. Can't remember seeing a comment that this list is
moderated anywhere, but perhaps we should ignore the man behind the
curtain?

Cheers,

Simon

-- 
Anyone who goes to a psychiatrist ought to have his head examined.
-- Sam Goldwyn





SV: jndi.properties and ApplicationClientInitialContextFactory

2002-02-26 Thread Magnus Rydin

Hi there,

You would pay for the 1 server and not for the 10 clients.

Hopefully we will find time to generate a small client.jar to use
instead of the larger jar files in the near future.

WR
Magnus Rydin
IronFlare

-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] För Brendan McKenna
Skickat: den 26 februari 2002 09:06
Till: Orion-Interest
Ämne: Re: jndi.properties and ApplicationClientInitialContextFactory 


Hi,

Does the requirement to install orion.jar with every instance of

the client application mean that you have to (in a commercial
environment) 
purchase an Orion license for each seperate instance of the client you 
want to run.  In other words, if I want to run 10 instances of my
client, plus 1 of the server itself, how many licenses do I need to buy,
1 or 11?



Brendan
-- 
Brendan McKenna   [EMAIL PROTECTED]
Senior Partner
Hallway Software Design Corp.






SV: (repost) FW: A word of warning: SwiftMQ and Resource providers.

2002-02-20 Thread Magnus Rydin

For the record,
in our tests we were using both 1.3.1_02 and 1.4.0_b92 together with
Swift 2.1.3

WR

-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] För Ray Harrison
Skickat: den 20 februari 2002 13:40
Till: Orion-Interest
Ämne: RE: (repost) FW: A word of warning: SwiftMQ and Resource
providers.


Also, I just tested the ATM as per Magnus' suggestion and it worked
there as well. Have you tried it with SwiftMQ 3.0 (I know they just got
rid of their free licenses)? I will try it later with version 2.x.
Cheers Ray
--- Ray Harrison [EMAIL PROTECTED] wrote:
 I am using 1.3.1_02 and SwiftMQ 3.0 beta.
 
 --- Geoff Soutter [EMAIL PROTECTED] wrote:
  Hmm. Strange.
  
  I'm definitely using 1.5.4, you can see it in the console output I 
  included below. I tried doing an autoupdate and trying it again, 
  made no difference. I even did a recursive diff against the .zip 
  version and the autoupdate version and they are identical (despite 
  the fact autoupdate claimed it was overwriting most of the files).
  
  There must be a logical explanation ... but I can't see it ...
  
  I'm using jdk 1.3.1_02 and SwiftMQ 2.1.3. Is that the versions you 
  guys are using?
  
  geoff
  
  PS, I'm not using Topics myself, I was only providing a FYI for 
  those that cared...
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] On Behalf Of Ray 
  Harrison
  Sent: Wednesday, 20 February 2002 10:04 AM
  To: Orion-Interest
  Cc: [EMAIL PROTECTED]
  Subject: Re: (repost) FW: A word of warning: SwiftMQ and Resource
  providers.
  
  
  Interesting - I *don't* get that error any longer with 1.5.4, though

  I did with 1.5.3.
  --- Geoff Soutter [EMAIL PROTECTED] wrote:
   Argh. Mailing lists that are not reliable annoy the  out of 
   me.
   
   -Original Message-
   From: Geoff Soutter [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, 19 February 2002 9:32 AM
   To: 'Orion-Interest'
   Subject: RE: A word of warning: SwiftMQ and Resource providers.
   
   
   Hi Magnus,
   
   All I did was follow the instructions in the resource providers
   document 
  
  (http://www.orionserver.com/docs/resource-providers/resource-provide
  rs.x
   ml)
   
   As soon as I added the resource-provider tag you quoted below, 
   and
   restarted orion, I got:
   
   C:\apps\orion\154java -jar orion.jar
   Error deploying 
   file:/C:/temp/newsfeed/build/newsfeed/newsfeed-ejb.jar
   homes: JMS Error: Queue 'testtopic' is not local! Can't create a 
   Consumer on it!
   2002-02-19 09:23:14,435 INFO   StartupServlet - startup completed
   Orion/1.5.4 initialized
   
   Which is exactly the same error as originally reported below.
   
   Cheers,
   
   Geoff
   
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]] On Behalf Of Magnus
   Rydin
   Sent: Monday, 18 February 2002 7:35 PM
   To: Orion-Interest
   Subject: RE: A word of warning: SwiftMQ and Resource providers.
   
   
   Geoff,
   
   It IS fixed in 1.5.4, so please let us know what fails for you. 
   Here
   is a sample setup:
   
   1. Set up and start SwiftMQ.
   
   2. In your /config/application.xml have a setup like the 
   following:
   resource-provider 
  
class=com.evermind.server.deployment.ContextScanningResourceProvider
   display-name=SwiftMQ resource name=SwiftMQ 
   description 
   SwiftMQ resource provider. 
   /description 
   property name=java.naming.factory.initial
   value=com.swiftmq.jndi.InitialContextFactoryImpl / 
   property name=java.naming.provider.url
  value=smqp://localhost:4001
   /
   property name=resource.names
   value=testtopic,testqueue@router1,plainsocket@router1 / 
   /resource-provider
   
   3. Start Orion, deploy the ATM sample (it uses a MDB with a topic)
   
   4. Configure the ATM sample to use your resource provider with
   something like the following in your orion-ejb-jar.xml: 
   message-driven-deployment name=mainLogger 
   destination-location=java:comp/resource/SwiftMQ/testtopic
  
connection-factory-location=java:comp/resource/SwiftMQ/plainsocket@ro
   ut
   er1
 ejb-ref-mapping name=ejb/mainLog /
 /message-driven-deployment
   
   Could you please let me know where/how this fails for you?
   
   WR
   
   
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]] On Behalf Of Geoff
   Soutter
   Sent: den 18 februari 2002 02:50
   To: Orion-Interest
   Subject: RE: A word of warning: SwiftMQ and Resource providers.
   
   FYI, this was not fixed in 1.5.4.
   
   Naughty Magnus! :-)
   
   Geoff
   
   
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]] On Behalf Of Ray
   Harrison
   Sent: Monday, 14 January 2002 8:50 AM
   To: Orion-Interest
   Subject: Re: A word of warning: SwiftMQ and Resource providers.
   
   
   According to Magnus R, the problem will be fixed in the next 
   release.
   I don't know if you can use SwiftMQ

RE: A word of warning: SwiftMQ and Resource providers.

2002-02-17 Thread Magnus Rydin

Geoff,

It IS fixed in 1.5.4, so please let us know what fails for you.
Here is a sample setup:

1. Set up and start SwiftMQ.

2. In your /config/application.xml have a setup like the following:
resource-provider
class=com.evermind.server.deployment.ContextScanningResourceProvider
display-name=SwiftMQ resource name=SwiftMQ  
description 
SwiftMQ resource provider. 
/description 
property name=java.naming.factory.initial
value=com.swiftmq.jndi.InitialContextFactoryImpl / 
property name=java.naming.provider.url value=smqp://localhost:4001
/ 
property name=resource.names
value=testtopic,testqueue@router1,plainsocket@router1 / 
/resource-provider

3. Start Orion, deploy the ATM sample (it uses a MDB with a topic)

4. Configure the ATM sample to use your resource provider with something
like the following in your orion-ejb-jar.xml:
message-driven-deployment name=mainLogger
destination-location=java:comp/resource/SwiftMQ/testtopic
connection-factory-location=java:comp/resource/SwiftMQ/plainsocket@rout
er1
ejb-ref-mapping name=ejb/mainLog /
/message-driven-deployment

Could you please let me know where/how this fails for you?

WR


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Geoff Soutter
Sent: den 18 februari 2002 02:50
To: Orion-Interest
Subject: RE: A word of warning: SwiftMQ and Resource providers.

FYI, this was not fixed in 1.5.4. 

Naughty Magnus! :-)

Geoff


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Ray Harrison
Sent: Monday, 14 January 2002 8:50 AM
To: Orion-Interest
Subject: Re: A word of warning: SwiftMQ and Resource providers.


According to Magnus R, the problem will be fixed in the next release. I
don't know if you can use SwiftMQ / Topics with the Oracle code base
(OC4J), but maybe worth a shot. Hopefully soon from the good folks at
Orion!
--- Graham Bennett [EMAIL PROTECTED] wrote:
 On Tue, Nov 20, 2001 at 12:29:54PM +0200, Lachezar Dobrev wrote:
 Recently looking at the Resource-Providers docs, and EAGER to use
 an external JMS for my MDBs I and a colleague decided to run the
 demos.  As quite a surprise the demo run ok. The MDB did
everything
 when a message was sent to the Queue.
  
 The BIG disappointment was, when we tried to do the same with the
 topic.  In short: It does not work.
 
  Error deploying 
  file:/D:/Temp/Orion/applications/Orion2SwiftMQ/Orion2SwiftMQ.jar
  homes: JMS Error: Queue 'testtopic' is not local! Can't create a 
  Consumer on it!
 
 has this now been fixed?  I'm getting the same error with SwiftMQ and 
 the latest build.
 
 cheers,
 
 --
 Graham Bennett
 [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/





SV: javax.naming.NameNotFoundException

2002-01-22 Thread Magnus Rydin

Hi Chris,

You only need a application-client.xml for your application-clients.

Your EJBs DO want to have references to any resources they are to use in
their ejb-jar.xml entries.
Why did you NOT put them there (ie what are you refering when you say that
you dont need to) ?

WR

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]För Chris Francis
 Skickat: den 22 januari 2002 12:21
 Till: Orion-Interest
 Ämne: FW: javax.naming.NameNotFoundException




 Hi All,
 I'm tearing my hair out trying to get this to work.
 I have a couple of entity beans and a session bean.
 Everything deploys OK. The session needs to access the
 two entities. I've seen the examples but they look to be
 the same as what I've got. The ejb's are not in a jar but
 all live in the same package hence directory. This means
 I shouldn't need ejb-ref tags within my ejb-jar.xml, and
 I shouldn't need a application-client.xml at all. However,
 it appears to make little difference as to whether they are
 there or not. So it's something else. The only thing is,
 I've run out of ideas! Anyone out there suggest something?

 Chris.





SV: Remove

2002-01-18 Thread Magnus Rydin

Hi all,

We will soon update the software that is running this list.
At that time we will make sure to include a footer with useful links as well
as subscribe/unsubscribe information.
For now, use the link that Scott gave below and be sure to state the same
email address as you used to subscribe when you try to unsubscribe.

WR
Magnus Rydin

 -Ursprungligt meddelande-
 Fran: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]For Scott Farquhar
 Skickat: den 18 januari 2002 01:45
 Till: Orion-Interest
 Amne: Re: Remove


 Just for everyone's benefit - remove does not work.

 Please go to
http://www.orionserver.com/subscribe.html
 to unsubscribe from this mailing list.

 I have suggested to the Orion guys that they put a sig on every email
 suggesting this.

 Cheers,
 Scott

 --
 Scott Farquhar :: [EMAIL PROTECTED]

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



 Tasso wrote:

  - Original Message -
  From: Rob Worley [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Thursday, January 17, 2002 7:29 AM
  Subject: remove
 
 
 
 remove
 
 -Original Message-
 From: JoseMa [mailto:[EMAIL PROTECTED]]
 Sent: 17 January 2002 08:30
 To: Orion-Interest
 Subject: Re: Lookup EJB's in another application
 
 
 Hi Patrik,
 
 I had the same problem and I look for some information about how to
 resolv this problem. Although the aplications are in the same server the
 connection become as if they was in differents servers. I used the
 RMIContextFactory with the next code:
 
 
 Context context = null;
 Hashtable env = new Hashtable();
 
 
 
 
 env.put(java.naming.factory.initial,com.evermind.server.rmi.RMI
 InitialCon
 
 textFactory);
env.put(java.naming.provider.url, ormi://localhost:rmi
 port/application name);
 try
 {
   context = new InitialContext (env);
  context.lookup(EjbName);
 }
 catch (Exception e) {
 System.out.println(Conection error);
 }
 
 
 If you don't change the values of rmi.xml in the Orion config you don't
 
  need
 
 specify the rmi port. The applicacion name is the name that appear in
 server.xml and identify the application. Is possible that you need
 
  especify
 
 a username and password for connect to applicacion, I don't need it. For
 specify these parametrers you need to put the next:
 
 env.put(Context.SECURITY_PRINCIPAL, admin);
  env.put(Context.SECURITY_CREDENTIALS, password);
 
 I hope that this information can help you.
 
 Best regards,
 
 
 
 - Original Message -
 From: Patrik Strid [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, January 17, 2002 12:47 AM
 Subject: Lookup EJB's in another application
 
 
 
 Hi,
 
 If you have two applications in the same orion
 container. One application with web components and
 another with just EJB's. From the application with web
 components, I want to lookup an EJB that is deployed
 in the other application - is that possible via the
 InitialContext or do I have to call it via an URL and
 getting the extra RMI call?
 
 I can get it to work using a provider URL to the other
 application, but using the InitialContext, the local
 context - it cannot find the bean, or more correct,
 the JNDI name could not be found.
 
 Any help is appreciated !
 
 Thanks,
 Patrik
 
 __
 Do You Yahoo!?
 Send FREE video emails in Yahoo! Mail!
 http://promo.yahoo.com/videomail/
 
 
 
 
 
 







SV: Caching / Pooling of BMP Entity bean.

2002-01-17 Thread Magnus Rydin

Just to make sure:

are you updating the data by any other means than by setting the properties
on the bean?
WR

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]För Shah, Ritesh
 Skickat: den 16 januari 2002 23:03
 Till: Orion-Interest
 Ämne: Caching / Pooling of BMP Entity bean.


 Hi,
   I am getting a weird error. I am using oracle oc4j 1.0.2.2.
I am calling an entity bean  from session bean. The error I
 get is when I
 call an entity bean for the first time it gives me proper result then I
 update the data and from next call onward it gives me  the cached
 value that
 it loaded for the first time call. It even doesn't give me stored value. I
 try to trace it but I get the same error. From database it is retrieving
 proper value while doing ejbFindbyPrimarykey but doesn't give
 proper value.
 It never again call ejbload. That what I found by tracing it.

 Any help will be appreciated.

 Thanks
 -Ritesh





SV: IronFlare bug fixing policy

2002-01-16 Thread Magnus Rydin

Hi Geoff,

your bug report 695 seems to be a copy of bug 670 which has already been
fixed (not released though).

WR
Magnus Rydin

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]För Geoff Soutter
 Skickat: den 16 januari 2002 07:06
 Till: Orion-Interest
 Kopia: Orion Interest List
 Ämne: RE: IronFlare bug fixing policy


 Hi there EW,

 Thanks for the response.

 The one I've reported (so far) is 695
 (http://bugzilla.orionserver.com/bugzilla/show_bug.cgi?id=695).

 It doesn't include an .ear file or anything, but it seems to be it would
 be pretty trivial to track it down _if you had access to the source
 code_ - since I included the buggy portion of the generated wrapper it's
 clear to see where the bug is.

 In fact, I just did a search on the class files and I found the likely
 location of the bug. It's probably in _ql.class, since it's the only
 class which contains response.iterator() and it's this line which is
 throwing the NullPointerException. Grrr - closed source things annoy
 me!!

 So, seems like you're saying theres not much propect of bugs being fixed
 till the refactoring is over? Did they mention when this is likely to
 be? RSN I suppose :-)

 Cheers,

 Geoff

 BTW, seems like bugzilla is down at the moment?

  -Original Message-
  From: The elephantwalker [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, 16 January, 2002 4:03 PM
  To: Orion-Interest; [EMAIL PROTECTED]
  Subject: RE: IronFlare bug fixing policy
 
 
  Geoff,
 
  Magnus Rydin told me that what they need are good examples
  for each bug so that they are absolutely reproducible. If you
  look at some of the bugs that are still open, these bugs
  don't have iron clad examples that are reproducible.
 
  So each of these bugs needs to be cleared...which means
  Magnus R. has to work on reproducing them (if they aren't
  immediately reproducible), which of course takes time.
 
  What he didn't say but reported on the list is a major
  refactoring going on now in Orion to bring it into compliance
  with j2ee 1.3. This includes EJB 2.0, Servlet 2.3 (not just
  the draft), and JSP 1.2, Connections, etc.
 
  As we all know, fixing bugs which are going to disappear in a
  refactoring is a bit of a waste of time. Of course, if its a
  bug that affects you directly, you may feel differently.
 
  Which bug numbers did you report?
 
  regards,
 
  the elephantwalker
  www.elephantwalker.com
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of
  Geoff Soutter
  Sent: Tuesday, January 15, 2002 4:55 PM
  To: Orion-Interest
  Subject: IronFlare bug fixing policy
 
 
  Hi there,
 
  I reported a bug on BugZilla a few days back. It's reasonably
  serious - basically the generated wrapper for the finder
  method of an EJB is throwing NullPointerException when the
  EJB throws an exception, hiding the real cause of the
  problem. (And I just found another bug - ServletExceptions
  constructed with (string, exception) are reported without the
  String originally passed.)
 
  I haven't heard anything and the bug has not been touched apparently.
 
  Does anyone know what IronFlare's policy is regards fixing
  bugs? Do they tend to fix them quickly, or are they likely to
  just ignore bug reports?
 
 
  The reason I ask is that I'm happy to use something without
  much support, but if they refuse to fix bugs then I think
  I'll have to give up and try elsewhere...
 
  Cheers
 
  Geoff
 
 






SV: IronFlare bug fixing policy

2002-01-16 Thread Magnus Rydin

Your bug report 596 seems to be the same bug reported as bug 670.
This bug is resolved, although a build containing the fix is not yet
available.
WR

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]För Geoff Soutter
 Skickat: den 16 januari 2002 07:06
 Till: Orion-Interest
 Kopia: Orion Interest List
 Ämne: RE: IronFlare bug fixing policy


 Hi there EW,

 Thanks for the response.

 The one I've reported (so far) is 695
 (http://bugzilla.orionserver.com/bugzilla/show_bug.cgi?id=695).

 It doesn't include an .ear file or anything, but it seems to be it would
 be pretty trivial to track it down _if you had access to the source
 code_ - since I included the buggy portion of the generated wrapper it's
 clear to see where the bug is.

 In fact, I just did a search on the class files and I found the likely
 location of the bug. It's probably in _ql.class, since it's the only
 class which contains response.iterator() and it's this line which is
 throwing the NullPointerException. Grrr - closed source things annoy
 me!!

 So, seems like you're saying theres not much propect of bugs being fixed
 till the refactoring is over? Did they mention when this is likely to
 be? RSN I suppose :-)

 Cheers,

 Geoff

 BTW, seems like bugzilla is down at the moment?

  -Original Message-
  From: The elephantwalker [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, 16 January, 2002 4:03 PM
  To: Orion-Interest; [EMAIL PROTECTED]
  Subject: RE: IronFlare bug fixing policy
 
 
  Geoff,
 
  Magnus Rydin told me that what they need are good examples
  for each bug so that they are absolutely reproducible. If you
  look at some of the bugs that are still open, these bugs
  don't have iron clad examples that are reproducible.
 
  So each of these bugs needs to be cleared...which means
  Magnus R. has to work on reproducing them (if they aren't
  immediately reproducible), which of course takes time.
 
  What he didn't say but reported on the list is a major
  refactoring going on now in Orion to bring it into compliance
  with j2ee 1.3. This includes EJB 2.0, Servlet 2.3 (not just
  the draft), and JSP 1.2, Connections, etc.
 
  As we all know, fixing bugs which are going to disappear in a
  refactoring is a bit of a waste of time. Of course, if its a
  bug that affects you directly, you may feel differently.
 
  Which bug numbers did you report?
 
  regards,
 
  the elephantwalker
  www.elephantwalker.com
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of
  Geoff Soutter
  Sent: Tuesday, January 15, 2002 4:55 PM
  To: Orion-Interest
  Subject: IronFlare bug fixing policy
 
 
  Hi there,
 
  I reported a bug on BugZilla a few days back. It's reasonably
  serious - basically the generated wrapper for the finder
  method of an EJB is throwing NullPointerException when the
  EJB throws an exception, hiding the real cause of the
  problem. (And I just found another bug - ServletExceptions
  constructed with (string, exception) are reported without the
  String originally passed.)
 
  I haven't heard anything and the bug has not been touched apparently.
 
  Does anyone know what IronFlare's policy is regards fixing
  bugs? Do they tend to fix them quickly, or are they likely to
  just ignore bug reports?
 
 
  The reason I ask is that I'm happy to use something without
  much support, but if they refuse to fix bugs then I think
  I'll have to give up and try elsewhere...
 
  Cheers
 
  Geoff
 
 






Announcement

2002-01-11 Thread Magnus Rydin

-
Announcement
-

Although released before Christmas, its time we announce the availability of
two new documents:

DataSource Configuration
-
http://www.orionserver.com/docs/datasource-configuration/datasource-configur
atin.xml
Describes how to configure a DataSource in Orion. A categorized version is
also available at
http://kb.atlassian.com/content/orion/docs/datasource-configuration/datasour
ce-configuration.html

Database schema configuration
-
http://www.orionserver.com/docs/database-schema-configuration/database-schem
a-configuration.xml
Describes how to configure a database schema in Orion. A categorized version
is also available at
http://kb.atlassian.com/content/orion/docs/database-schema-configuration/dat
abase-schema-configuration.html

We hope you will enjoy these new documents. Any feedback on the
documentation or suggestions for other documents that you would like to see
can be sent to [EMAIL PROTECTED]

WR
The Orion Team





SV: Announcement

2002-01-11 Thread Magnus Rydin

The link to the DataSource Configuration document should of course be
http://www.orionserver.com/docs/datasource-configuration/datasource-configur
ation.xml

Sorry for the typo.

WR

Magnus Rydin
IronFlare AB


 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]För Magnus Rydin
 Skickat: den 11 januari 2002 09:08
 Till: Orion-Interest
 Ämne: Announcement


 -
 Announcement
 -

 Although released before Christmas, its time we announce the
 availability of
 two new documents:

 DataSource Configuration
 -
 http://www.orionserver.com/docs/datasource-configuration/datasourc
e-configur
atin.xml
Describes how to configure a DataSource in Orion. A categorized version is
also available at
http://kb.atlassian.com/content/orion/docs/datasource-configuration/datasour
ce-configuration.html

Database schema configuration
-
http://www.orionserver.com/docs/database-schema-configuration/database-schem
a-configuration.xml
Describes how to configure a database schema in Orion. A categorized version
is also available at
http://kb.atlassian.com/content/orion/docs/database-schema-configuration/dat
abase-schema-configuration.html

We hope you will enjoy these new documents. Any feedback on the
documentation or suggestions for other documents that you would like to see
can be sent to [EMAIL PROTECTED]

WR
The Orion Team





SV: user manager, principals shutdown

2002-01-10 Thread Magnus Rydin

Did you remove the permission for rmi:login?
By default this goes something like:

group name=users
descriptionusers/description
permission name=rmi:login /
/group

(the default administrator is also part of users)
or did you remove the permission for administrator to administrate?
By defaut this goes something like:

group name=administrators
descriptionadministrators/description
permission name=administration /
/group

or you delete your settings for namespace access in your
orion-application.xml?
It goes something like:

namespace-access
read-access
namespace-resource root=
security-role-mapping name=lt;jndi-user-rolegt;
group name=administrators /
/security-role-mapping
/namespace-resource
/read-access
write-access
namespace-resource root=
security-role-mapping name=lt;jndi-user-rolegt;
group name=administrators /
/security-role-mapping
/namespace-resource
/write-access
/namespace-access

Hope this helps,

WR
Magnus Rydin
IronFlare AB

 -Ursprungligt meddelande-
 Fran: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]For Tim Courtney
 Skickat: den 9 januari 2002 04:09
 Till: Orion-Interest
 Amne: user manager, principals  shutdown


 I need some help fixing something I broke.

 I stepped through the user manager tutorial on orionsupport (
 http://uk.orionsupport.com/articles/usermanager.html ) and managed to
 put BASIC authentication on a certain directory on my site.

 But since then, it seems I deleted the information that allows the
 shutdown command
  java -jar admin.jar ormi://localhost admin x -shutdown

 this command looks up the username/password in the custom UserManager
 and always returns
  Security error: Invalid username/password for default (admin)

 I would prefer that the server admin  the users in the custom
 UserManager be kept separate.

 is my principals.xml meant to have two different groups?

 can the server admin user remain in the xml config as it is when first
 running orion?
 user username=admin password=x deactivated=false

 my application.xml:
 user-manager class=com.orionsupport.security.MyUserManager /

 should there be two different entries here??? one for the BASIC authen,
 and one for server admin ?

 my web.xml:
security-role
role-nameadministrators/role-name
/security-role

login-config
auth-methodBASIC/auth-method
realm-nameadmin tool/realm-name
/login-config
  security-constraint
web-resource-collection
url-pattern/admin//url-pattern
/web-resource-collection
auth-constraint
role-nameadministrators/role-name
/auth-constraint
/security-constraint

 my principals.xml: (however the user is just ignored, and the
 MyUserManager is always used to validate both users)
 principals
groups
group name=administrators
descriptionadmin tool users/description
permission name=administration /
permission
 name=com.evermind.server.AdministrationPermission /
/group
/groups
users
user username=admin password=admin deactivated=false
descriptionThe default administrator/description
group-membership group=administrators /
/user
/users
 /principals

 I hope all that made sense

 thanks
 tim






SV: Persistance between HTTP and HTTPS

2001-12-06 Thread Magnus Rydin



Some 
browsers requests new SSL sessions in very short interval, which is 
bad.
To 
solve this, use http sessions (cookies) over SSL by setting 
shared=true.
WR

  -Ursprungligt meddelande-Från: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]För 
  [EMAIL PROTECTED]Skickat: den 6 december 2001 
  17:44Till: Orion-InterestÄmne: RE: Persistance between 
  HTTP and HTTPS
  Don't know if it's related, but we've found that while we're using 
  HTTPS on Orion, the sesions would, seemingly at random, sometimes vanish on 
  us. Reasons unknown, and we haven't tracked it down 
  yet.
  
   - Geoffrey
  
-Original Message-From: Steve Best 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 05, 
2001 8:07 PMTo: Orion-InterestSubject: Persistance 
between HTTP and HTTPS
Greetings, we are currently experiencing what 
appears to be a lack of persistance between HTTP and HTTPS, when moving 
between the two on our site, and only in-frequently. Has anyone ever 
experienced this problem before?

Thanks,Steve BestSystems 
AdministratorSimple Devices415-637-9651 (cell)

"A little nonsense now and then, is relished by 
the wisest 
men." 
Willy 
Wonka_This 
message has been checked for all known viruses by the MessageLabs Virus 
Scanning Service. For further information visithttp://www.messagelabs.com/stats.asp_This 
  message has been checked for all known viruses by the MessageLabs Virus 
  Scanning Service. For further information visithttp://www.messagelabs.com/stats.asp


SV: Filters in Orion 1.5.3

2001-11-26 Thread Magnus Rydin

Hm, why do you want to know if everyone on this list is reading your
posting?
(you wanted a receipt)
WR

 -Ursprungligt meddelande-
 Fran: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]For Scott Farquhar
 Skickat: den 26 november 2001 15:14
 Till: Orion-Interest
 Amne: Re: Filters in Orion 1.5.3


 This is to do with a change of the servlet spec between the 2.2 and 2.3
 spec.

 javax.servlet.Config was removed.

 Try looking at the API for 2.3  recompiling your source against the 2.3
 RI / orion 1.5.3.

 Cheers,
 Scott

 --
 Scott Farquhar :: [EMAIL PROTECTED]

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


 Lachezar Dobrev wrote:

 My personal bet: Shitty Autoupdate.
 Try autoupdating from 1.5.2 again.
 
 BTW. Test on 1.5.2. This may clarofy things up.
 
 
 Lachezar.
 
 
 
 Hi all
 
   My web-app doesn't work on Orion 1.5.3 with this error:
 
 
 500 Internal Server Error
 java.lang.NoClassDefFoundError: javax/servlet/Config
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Unknown Source)
 at com.evermind[Orion/1.5.3 (build 10509)]._co._ssc(.:6388)
 at com.evermind[Orion/1.5.3 (build 10509)]._bxb._crd(.:258)
 at com.evermind[Orion/1.5.3 (build 10509)]._bxb._ukb(.:170)
 at com.evermind[Orion/1.5.3 (build 10509)]._cn._uab(.:576)
 at com.evermind[Orion/1.5.3 (build 10509)]._cn._fm(.:189)
 at com.evermind[Orion/1.5.3 (build 10509)]._bs.run(.:62)
 
 
   After switching off all used filters in web.xml all works fine.
   Did someone collide with this problem?
 
 
 --
 Sergey G. Aslanov
 CBOSS Group,
 Web-technologies department
 mailto:[EMAIL PROTECTED]
 tel: +7 095 7555655
 
 
 
 
 
 







SV: Class-Path entries in Manifest.mf for EJBs

2001-11-22 Thread Magnus Rydin

Hi Marc,

the spec states that you use the standard jar extensssion mechanism for
utiliy jars.
Put the helper/utility jars on the same level as your ejb.jar:s and be sure
to reference them from the manifests of your ejb.jars.

WR

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]För Marc Eilens
 Skickat: den 22 november 2001 10:20
 Till: Orion-Interest
 Ämne: Class-Path entries in Manifest.mf for EJBs


 Hello,

 I've got a problem deploying my EAR file on ORION.
 I packed my two EJBs together with a WAR file into the EAR file. The two
 EJBs share references to classes in a library jar.
 As far as I understand the packaging of EARs I can create a 'lib'
 subfolder
 in the EAR and add Class-Path entries in the Manifest files of the EJBs.

 The EAR deploys well on JBoss, but not on ORION.

 This is my structure in the EAR:

 |- bsebos.jar
 |- som.jar
 |- ie.war
 |- appclient.jar (just including an xml descriptor to expose the two beans
 in JNDI)
 |- lib
 |- ois.jar
 |- bo.jar
 |- sales.jar
 |- META-INF
 |- MANIFEST.MF
 |- application.xml

 The Manifest file of the bsebos.jar for example looks as follows:
 
 Manifest-Version: 1.0
 Created-By: 1.3.0 (Sun Microsystems Inc.)
 Class-Path: ../lib/ois.jar ../lib/bo.jar ../lib/sales.jar
 

 I did not create Orion-specific descriptors. I think they will be
 generated
 automatically on deployment if not existing, aren't they?
 Does anybody had the same problem or knows what I have to do?

 I somehow got it to work a few days ago, somehow, but I don't know what to
 do to get it working again. I changed my build scripts a bit and
 built a new
 EAR file and it just won't deploy. I always get this error:
 
 Auto-unpacking C:\orion\applications\ie.ear... done.
 Auto-unpacking C:\orion\applications\ie\ie.war... done.
 Auto-deploying IE3.6 (New server version detected)...
 Error in application IE3.6: Error loading package at
 file:/C:/orion/applications/ie/som.jar, Error loading class
 'mpress.ois.modules.sales.order.ejb.SalesOrderManagerEJB':
 java.lang.NoClassDefFoundError: impress/ois/bo/ejb/CEManagerEJB
 Error in application IE3.6: Error loading package at
 file:/C:/orion/applications/ie/bsebos.jar, Error loading class
 'impress.ois.modules.session.ejb.OISSessionEJB':
 java.lang.NoClassDefFoundError: impress/ois/base/session/ISession
 Installed IE3.6...
 

 These classes are packed in the jars located in the lib directory
 in the EAR
 file and are specified to be included in the classpath in the
 Manifest files
 of the EJBs.
 So theoretically, it should work, but it doesn't. They aren't deployed
 correctly.

 Additionally, something's not ok with the applicatin client jar, too. As
 said already, I got it to work a few days ago. Then, upon
 deployment, ORION
 changed my appclient.jar and added an xml descriptor and a jndi.properties
 to this jar. This also doesn't happen anymore.

 So, I'm currently quite confused and appreciate any help.

 Regards,
 Marc

 Marc Eilens
 Research  Development
 Engineering

 IMPRESS SOFTWARE AG

 mailto:[EMAIL PROTECTED]
 http://www.IMPRESS.com






SV: SV: A word of warning: SwiftMQ and Resource providers.

2001-11-21 Thread Magnus Rydin

I'll verify this and make sure that the fix will be available with the next
build.
WR

 -Ursprungligt meddelande-
 Fran: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]For Ray Harrison
 Skickat: den 21 november 2001 17:39
 Till: Orion-Interest
 Amne: Re: SV: A word of warning: SwiftMQ and Resource providers.


 Magnus,
 This does occur using 1.5.3

 Cheers
 Ray
 --- Magnus Rydin [EMAIL PROTECTED] wrote:
  Are you using 1.5.3?
  We noticed this prior to releasing 1.5.3 and fixed it, I was under the
  impression that this worked fine?
  WR
 
   -Ursprungligt meddelande-
   Fren: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]Fvr Lachezar Dobrev
   Skickat: den 20 november 2001 11:30
   Till: Orion-Interest
   Dmne: A word of warning: SwiftMQ and Resource providers.
  
  
  Recently looking at the Resource-Providers docs, and EAGER
 to use an
   external JMS for my MDBs I and a colleague decided to run the demos.
  As quite a surprise the demo run ok. The MDB did everything when a
   message was sent to the Queue.
  
  The BIG disappointment was, when we tried to do the same with
   the topic.
  In short: It does not work.
  It seems, that Orion is looking for the resource type.
   Although it should
   check if the resource is of the NEEDED type, it rather checks if the
   resource is of ANY type.
  SwiftMQ implements a Topic as a subclass of it's Queue
 implementation:
  
  the plainsocket@router1 class is as follows:
  
   class com.swiftmq.jms.ConnectionFactoryImpl
 |- interface javax.jms.QueueConnectionFactory
 |- interface javax.jms.TopicConnectionFactory
 '- interface java.io.Serializable
  
  the testqueue@router1 class is as follows:
  
   class com.swiftmq.jms.QueueImpl
 |- interface javax.jms.Queue
 |- interface java.io.Serializable
 '- interface com.swiftmq.jms.DestinationImpl
  
  the testtopic class is as follows:
  
   class com.swiftmq.jms.TopicImpl
   | '- interface javax.jms.Topic
   |
   '- (super) class com.swiftmq.jms.QueueImpl
 |- interface javax.jms.Queue
 |- interface java.io.Serializable
 '- interface com.swiftmq.jms.DestinationImpl
  
  
  As you can see a Topic is also a Queue.
  So when trying to deploy the MDB one gets:
  
   Error deploying
   file:/D:/Temp/Orion/applications/Orion2SwiftMQ/Orion2SwiftMQ.jar
   homes: JMS
   Error: Queue 'testtopic' is not local! Can't create a Consumer on it!
  
  
  But... That doesn't help. I'm quite disappointed. I almost got it.
  
  Lachezar.
  
 
 


 __
 Do You Yahoo!?
 Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
 http://geocities.yahoo.com/ps/info1





SV: Announcement

2001-11-19 Thread Magnus Rydin

Im sorry,
that should have been
http://www.orionserver.com/docs/resource-providers/resource-providers.xml
WR


 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]För Magnus Rydin
 Skickat: den 16 november 2001 20:44
 Till: Orion-Interest
 Ämne: Announcement


 Announcement
 
 2 new documents available:

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

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

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

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

 WR
 The Orion Team






SV: Announcement

2001-11-19 Thread Magnus Rydin

Hi Rob,

Again, im sorry about the typo, the correct URL is:
http://www.orionserver.com/docs/resource-providers/resource-providers.xml

WR

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]För Rob van den Eijnde
 Skickat: den 19 november 2001 06:54
 Till: Orion-Interest
 Kopia: [EMAIL PROTECTED]
 Ämne: RE: Announcement


 Magnus,

 Thanks for keeping us informed like this. It seems however that the
 'resource provider' link does not work. Could you kindly have a
 look a this
 ? I am very curious to the contents.

 Regs,

 Rob

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Magnus Rydin
 Sent: vrijdag 16 november 2001 20:44
 To: Orion-Interest
 Subject: Announcement


 Announcement
 
 2 new documents available:

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

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

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

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

 WR
 The Orion Team






Announcement

2001-11-16 Thread Magnus Rydin

Announcement

2 new documents available:

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

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

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

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

WR
The Orion Team





SV: load-on-startup

2001-11-14 Thread Magnus Rydin

When you set your Servlet to autostart, it will be autostarted as soon as
the Web-module is started.
Normally, this would be when a user makes a request to this Web-module.
Is is therefore also needed to set the Web-module to autostart so that the
Web-module is started when the Server is started.

WR

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]För Namor Taror
 Skickat: den 15 november 2001 04:12
 Till: Orion-Interest
 Ämne: load-on-startup


 It seems that orion loads a servlet only when load-on-start in
 the web.xml
 is present and also the load-on-startup is set to true in the
 default-web-site.xml file. My understanding was that it should be
 sufficient
 to set the load-on-startup in the web.xml. Has anybody has a similar
 experience?

 -roman

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






SV: EJB in Orion?

2001-11-13 Thread Magnus Rydin



No.

  -Ursprungligt meddelande-Frn: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Fr 
  [EMAIL PROTECTED]Skickat: den 13 november 2001 
  14:53Till: Orion-Interestmne: QL:EJB in 
  Orion?Is the QL:EJB part 
  of EJB 2.0 spec supported in Orion at this point? Jonathan BrickerLilly Research LabsJava 
  ATG


SV: MDB in orion 1.5.2 using Queue

2001-10-19 Thread Magnus Rydin

Hi.

1) In 1.5.3 Orion will tell you if you havent implemented MessageDrivenBean
and MessageListener in your MDB.

2) Orion will use the default JMS resource if you dont specify a
destination-location etc in orion-ejb-jar.xml.

ResourceProviders, made public in 1.5.2, lets you use 3rd party resources in
a very simple way. A document on this issue is in progress and will be
released shortly, with examples, samples and details.

A MDB document is also in progress, but other documents have higher prio
right now.
WR



 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]För Romen Law
 Skickat: den 19 oktober 2001 03:39
 Till: Orion-Interest
 Ämne: RE: MDB in orion 1.5.2 using Queue


 ello,

 Thanks for all the replies.

 I must apologise: my MDB using Queue was working all along. It's
 just that I
 was using System.out.println() for logging so I couldn't see it on the
 console. But after using log4j I could see it. Well, there is
 first time for
 everything.

 I did find two things though:
 1. someone posted before saying that in Orion you should not make MDB
 implement MessageListener, otherwise it will not work. I found that to be
 false.

 2. I still do need to modify the destination-location in
 orion-ejb-jar.xml.
 If I don't it still works provided that I only have one Queue or Topic
 defined in jms.xml. Orion seems to use that one disregarding the
 queue name
 you specify in the sender.

 cheers
 romen







SV: orion xml's

2001-10-18 Thread Magnus Rydin

The EARDeployer tool will help out with this when its final.
WR

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]För The elephantwalker
 Skickat: den 18 oktober 2001 10:33
 Till: Orion-Interest
 Ämne: RE: orion xml's


 Morten,

 At least the dd's are in xml, when Orion started they were the only ones
 that used xml descriptors. The way to do this is with gui's that are
 integrated with orion. Orion does have some gui's for generating this
 configuration files...but my experience with them has been miserable.

 Most of us use auto-generated files as a start...its true that these have
 some things which aren't necessary for configuration (I mean who needs to
 know the wrapper class name?).

 My experience is that you can strip out the auto-generated bits which have
 nothing to do with configuration (version= , date= ,wrapper class
 =, etc.),
 and this has no impact on the deployment...and in fact may hinder the
 deployment. For example, if you put in the version stuff, I have
 found that
 the ejb will double-deploy

 What we need is a good gui for doing this...anybody good with jdom and
 swing?

 regards,

 the elephantwalker
 www.elephantwalker.com


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Morten Wilken
 Sent: Thursday, October 18, 2001 1:00 AM
 To: Orion-Interest
 Subject: orion xml's


 Am i the only one who thinks that the idea that you have to edit the
 autogenerated files like orion-ejb-jar.xml etc. is a bit problematic?

 sure it can be done and it works, but i would be much happier if i could
 have 2 sets of xml files, the ones you edit (and you could put in your
 versioning system), and another set that orion generates, and
 that you never
 have to fiddle with.

 it seems an odd mix the way it is right now, as if it was meant to be
 seperated, but somehow it wasn't followed through

 i could be wrong, and missing the point of the structure entirely

 comments appreciated
 sincerely
 morten wilken








NEWS FLASH

2001-10-18 Thread Magnus Rydin

Orion 1.5.3, the latest experimental release, is now available for download.
We anticipate very high loads on our server when people rush to download, so
please have patience if the download is slow.

The Orion Team





SV: 1.5.3 is out, but what is so new?

2001-10-17 Thread Magnus Rydin

Hi all.
1.5.3 is *not* officially out yet, but will be very soon.
As we previously said in our weekly mail, the 1.5.3 release will not hold
that many new features. We have spent a lot of time and energy on changing
Orion core in order to be able to move forward more quickly. After 1.5.3 is
*officially* released, we will get back to frequent releases.
Local interfaces will most likely be in the release after 1.5.3.

WR
Magnus Rydin





SV: ejb 2.0 relations in orion

2001-10-09 Thread Magnus Rydin

Hi.
You currently need to have your CMR fields as cmr-field in ejb-jar.xml.
That should fix your problem.
WR

 -Ursprungligt meddelande-
 Fran: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]For Ray Harrison
 Skickat: den 9 oktober 2001 16:37
 Till: Orion-Interest
 Amne: Re: ejb 2.0 relations in orion
 
 
 Orion only supports a partial ejb2.0 spec - an older one at that. 
 I don't believe it supports
 many-many out of the boxmore ejb2.0 coming up!
 --- Christoph Sturm [EMAIL PROTECTED] wrote:
  Hi all!
  
  I'm trying to get some cmp2.0 beans with relations running on orion
  1.5.2.
  
  
  I have two beans: Article and Category, and a m:n relation between
  them.
  
  in CategoryBean.java i have:
  public abstract java.util.Collection getArticles();
  and in ArticleBean:
  public abstract java.util.Collection getCategories();
  
  and in ejb_jar.xml:
  
 relationships
ejb-relation
   ejb-relation-namearticle-category/ejb-relation-name
  
   ejb-relationship-role
  
 
  
 ejb-relationship-role-namemany-category-has-many-article/ejb-re
 lationship-role-name
  multiplicityMany/multiplicity
  !--relationship-role-source--
  role-source
 ejb-nameArticle/ejb-name
  /role-source
  !--/relationship-role-source--
  cmr-field
 cmr-field-namecategories/cmr-field-name
 cmr-field-typejava.util.Collection/cmr-field-type
  /cmr-field
   /ejb-relationship-role
  
   ejb-relationship-role
  
 
  
 ejb-relationship-role-namemany-article-has-many-category/ejb-re
 lationship-role-name
  multiplicityMany/multiplicity
  !--relationship-role-source--
  role-source
 ejb-nameCategory/ejb-name
  /role-source
  !--/relationship-role-source--
  cmr-field
 cmr-field-namearticles/cmr-field-name
 cmr-field-typejava.util.Collection/cmr-field-type
  /cmr-field
   /ejb-relationship-role
  
/ejb-relation
 /relationships
  
  orion keeps complaining:
  Method public abstract java.util.Collection 
 redact.ejb.beans.CategoryBean.getArticles()
  can not be declared abstract.
  
  TIA
   chris
  
  
 
 
 __
 Do You Yahoo!?
 NEW from Yahoo! GeoCities - quick and easy web site hosting, just 
 $8.95/month.
 http://geocities.yahoo.com/ps/info1




SV: Orion caches http responses and never hits the jsp??

2001-09-27 Thread Magnus Rydin

This is your browser caching the pages, not the server.
Either turn off cache:ing in your browser, or add something like the
following to your pages:
% response.setHeader(Cache-Control,no-cache);%

There is also loads of meta-tags to use i your pages to prevent browser
cache:ing.
WR

 -Ursprungligt meddelande-
 Fran: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]For Curt Smith
 Skickat: den 28 september 2001 05:18
 Till: Orion-Interest
 Amne: Orion caches http responses and never hits the jsp??


 I had marveled at Orion's great JSP performance stats
 vs WLS and others.

 While pulling my hair out debugging my MVC web tier (type 2)
 I noticed that when my request was the same (same values on
 a submit page) the jsp was never hit, where if I always changed
 my form values it would proceed to hit my MVC controller component
 and thus excersize my machinery.

 For static pages this is a wonderful feature.

 For debugging and dynamic content and scenarios this is either
 agravating for debugging or plain wrong if my MVC will generate
 different response for the same request dependant on context that
 the Orion cache can't know about.

 How do I turn off this cache behavior?


 Very nice J2EE container Orion!

 thanks,

 curt








SV: STRANGE (and BIG!!!) PROBLEM

2001-09-26 Thread Magnus Rydin



My bet 
is that you have something strange in your ejb-jar.xml that causes Orion to 
start eating memory like popcorn.
It 
would be great to hear the typo that led to this situation once you've found 
it.
WR

  -Ursprungligt meddelande-Från: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]För Mirel 
  RataSkickat: den 26 september 2001 18:50Till: 
  Orion-InterestÄmne: Re: STRANGE (and BIG!!!) 
  PROBLEM
  
  
It's a little bit strange... I'm implementing security on 
my application and customizing my xml descriptors. All went ok (I had Basic 
Authentication) and I wanted to implement security also in the EJBs methods. 
I change the ejb-jar.xml source and this text appears :

Auto-deploying UbicuaCMP.jar (Classes were 
updated)... The compiler has run outof memory. Consider using the 
"-J-mxnumber" command line option to increase the maximum heap 
size.Error compiling D:\Orion155\ubicua/UbicuaCMP.jar: Syntax error in 
sourceOrion/1.5.2 initialized

I work with 512MB memory... so I don´t think is a problem 
of lack of memory... I try to use also the "-J-mxnumber" 
command but it doesnt work !. Can anybody explain where and how 
works this command ? (a sample example will be wellcomed 
  !)


Announcement: new documentation available

2001-09-25 Thread Magnus Rydin

This week:
 - upcoming build
 - new documents available
 - upcoming documents

---
Upcoming build
---
First of all, a great THANK YOU to this community for hanging in there
during this tough period.
Within a few days we will publish a new build.
Starting with this build we will go back to releasing builds more
frequently.
The reason for the delay of this build was caused by the need of core
changes due to the major changes that the specifications has undergone in
the last couple of months. Core parts had to be rewritten in order to move
forward with the new specifications without loosing the position as one of
the fastest Containers out there.

---
New Documents available
---
This week we released the following documents:

- Application-deployment instructions
  including instructions for deployment through Console, admin.jar, Ant and
manual procedure

http://www.orionserver.com/docs/application-deployment/application-deploymen
t.xml

- Web-module binding instructions
  Including instructions for binding through Console, admin.jar, Ant and
manual procedure
  http://www.orionserver.com/docs/web-module-binding/web-module-binding.xml

- Access-log formatting instructions
  Including common formats
  http://www.orionserver.com/docs/access-log-format/access-log-format.xml

- Deployment-mode instructions
  Including auto-compile, reloading and debugging
  http://www.orionserver.com/docs/development-mode/development-mode.xml

The documents are linked in from the main document at
http://www.orionserver.com/docs/
but can also be accessed directly using the links given for each document
above.

We have conformed to a new documentation format that is close to the style
presented by Ernst Jollem in his excellent Orion Primers. Please let us know
if the styles used does not conform with the browser you are using.

In a short period of time we hope to have converted most of the existing
documents to XML so that we can then supply our users with the option to
browse/download the documentation as PDF:s.

---
Upcoming documents
---
- RMI Configuration
- Remote access of EJB
- Application clients
- Security
- JMS
- Using Orion with IBM Visual Age (James and Ron McGee)
- SSL clustering
- EJB clustering
- HTTP clustering details
- Using ResourceProvider
- MDB

Please send us any request for documentation that you would like to see to
[EMAIL PROTECTED]

---
WR
The Orion team







Documents.

2001-09-17 Thread Magnus Rydin

Hey all!

Right now we are hard at work producing documents for Orion.
If there are some special documents that _you_ feel should be put _highest_
on our priority list, please send me a personal mail about it
([EMAIL PROTECTED]).

The following documents are about to be published first, as we get the most
questions on these subjects:

- Application Deployment
- Web-application binding
- Accessing EJBs remote
- RMI Configuration
- Development mode
- Application client tutorial


Many thanks to all those users we met up with during the JAOO conference in
Denmark, its really nice to get so much positive feedback. A real
productivity rush.

Starting this week, we will make an effort to publish any news to this list,
including releases of new builds, documents etc.

I hope you've all noticed the latest article by Karl Avedal on our site,
regarding using refactoring methods when developing JSP pages.

WR
Magnus Rydin






SV: Orion and Sax/JDom

2001-09-06 Thread Magnus Rydin

To follow the java extenssion mechanism, you should have a class-path entry
in the EJB jar file that points to the other jar file bundled with the ear.
WR

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]För The elephantwalker
 Skickat: den 6 september 2001 01:27
 Till: Orion-Interest
 Ämne: RE: Orion and Sax/JDom


 Steve,

 You can include your library files in the ear file. We do it all of the
 time.

 Create a directory called lib at the root of the ear.

 In the orion-application.xml file, specify the library directory
 like this:

   library path=lib /

 Make sure that this is after the persistance tag and before the principals
 tag.

 This works for us in version 1.5.2.

 I don't even think you need this tag...but it doesn't hurt.

 regards,

 the elephantwalker



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Stephen
 Davidson
 Sent: Wednesday, September 05, 2001 4:25 AM
 To: Orion-Interest
 Subject: re: Orion and Sax/JDom


 Greetings.

 I was having some similiar issues with classes from Xerces/Xalan.  We
 found an effective workaround was by copying/linking the xerces.jar and
 xalan.jar files into the lib directory under Orion.

 I am thinking that this may be part of the same issue where utility jars
 in ear files are not being read.  This is something I currently have an
 open support call with Orion for. (Workaround was the same, copy the
 utility jars to the lib directory...)

 -Steve








SV: Strange jsp-error.

2001-08-22 Thread Magnus Rydin

Hi.
Try to remove the files from your persistence dir for the web-app and see if
that solves it.
WR

-Ursprungligt meddelande-
Fran: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]For Michiel Meeuwissen
Skickat: den 17 augusti 2001 15:43
Till: Orion-Interest
Amne: Strange jsp-error.



Hello,

Does anybody know what the following error means?

Error creating jsp-page instance: java.lang.VerifyError: (class:
__jspPage0_mmbase_edit_change_node_jsp, method: _jspService signature:
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
nse;)V)
Register 31 contains wrong type

(using Orion 1.5.2)

It does not occur in all jsp-pages, but I've no idea what's happening,
neither how to solve it.

  Michiel



--
Michiel Meeuwissen - NOS internet
Mediacentrum kamer 203 - tel. +31 (0)35 6773065
http://www.mmbase.org
http://www.purl.org/NET/mihxil/






SV: When user hits STOP..any way to trap that and terminate an ongoin g request..

2001-08-16 Thread Magnus Rydin

Just keep the users state server side and you're home.
WR

-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]För Aaron Tavistock
Skickat: den 14 augusti 2001 02:50
Till: Orion-Interest
Ämne: RE: When user hits STOP..any way to trap that and terminate an
ongoin g request..


This is a fairly classic web issue and unfortunately there is simply no way
to tell if the client has hit the stop button.  No matter what happens your
going to be stuck running that long query no way out...

But on the resubmit issue and using the session to flag a large transaction,
I would worry about this alot.  For one, what if the user really didn't want
that massive query, now they are being penalized until their query is
completed.

Personally I think the Jakarta Struts folks came up with a fairly decent way
of curbing reposters.  Basically they add a hidden field to every form with
a unique token, that token is recorded when the form is submitted, and
thereafter the same form will not be accepted.  So the user can't just hit
back and then OK, but they can go through the normal route to search again.




-Original Message-
From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 1:23 PM
To: Orion-Interest
Subject: When user hits STOP..any way to trap that and terminate an ongoin g
request..


Hi al,

I am almost positive the answer is no, but I thought I'd see if anyone has
come up with a solution. All too often, we have some users that submit a
large query, then hit the STOP button on the browser, then change something
and submit again. In the meantime, their original query is still executing
on the server-side. Sure..Orion throws an exception when it tries to send
the response back and the connection to the browser is gone. But I am
wondering if there is any way at all to just kill that particular request.
Like..is there some way the app server or web server can send pings every
say, 100ms to the browser to make sure its connection is still alive..and if
not, just kill the request in some manner. Perhaps by having a special
interface that an application can implement, so that a particular method can
be called if the server detects that the connection to the browser is dead
before the response has gone back. In this way, that method call can get
ahold of the session, and perhaps get ahold of a connection being used,
close it, etc.

Ofcourse, you can use some client-side javascript to disable a button
after its been clicked. We have done this, and we also inserted a
transition page in particular areas where long queries might occur. In
this case, the user sees an animated gif and a message that tells them not
to hit stop or back. Ofcourse..you're still going to get those users that do
this. My personal opinion is that if they call in, we tell them they are
stupid, they should unplug their computer and quit their job because they
can't follow instructions. Ofcourse..that wont fly, especially if they are a
big money client. Besides, its ethically wrong to screw your clients over.
;)

So, one possible idea I have had is to do the following. Each user has a
session when they log in. Upon any request, a flag is set in the session
of that user, indicating a transaction is starting. If the user hits STOP,
then submits while that transaction is still going on, the server will see
the flag is set, and send back a response indicating that a transaction is
currently happening and they have to wait for it to be done before another
submit can occur. There is a plus side to this..it prevents any user to
doing more than one thing. The down side is, it is possible using the File
- New - Window to open up another window with the same cookie/sessionID
and the user could actually go to a different module and do MORE work at the
same time. This would allow, for example a large query to be performing in
one module and they could go do some work in another module. My method of a
flag would prevent this type of multiple-module capability. The solution,
ofcourse is to allow one flag per module, thus only one transaction per
module could be performed, which is what I intend to implement to at least
keep the user experience at a satisfactory level while preventing tons of
form submissions from inundating the server.

So anyone had this experience and resolve it in some manner?

Thanks.





Re: What happened to this mailing list???

2001-08-06 Thread Magnus Rydin



I think the list was down for a few 
days.
No worries.
WR

  - Original Message - 
  From: 
  Simon Harris 
  To: Orion-Interest 
  Sent: Monday, August 06, 2001 4:16 
  PM
  Subject: What happened to this mailing 
  list???
  
  The mailing list seems to have gone quiet. Is 
  there something we should know about?


Re: Test

2001-08-05 Thread Magnus Rydin

Another test

- Original Message - 
From: Karl Avedal [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Sunday, August 05, 2001 12:21 PM
Subject: Test


 Another test mail, please ignore.
 
 -Karl
 
 
 





Re: SV: LDAP and EJBs

2001-07-15 Thread Magnus Rydin

Another try..

OK.. fourth try to get this posted on the OI list..

The LdapDelegate session bean proposed by Patrik would probably have to
implement SessionSynchronization and take care of the rollback in the
afterCompletion(boolean successfull) method. Just make sure that you keep
track of if an entry has been written or not.

That would leave us with something like:
snip
LdapDelegateEJB implements SessionBean, SessionSynchronization {
...
public void writeLdapEntry(){
...
entryWritten=true;
}
public void afterCompletion(boolean successfull){
if(!successfull){
if(entryWritten){
//clean-up the made
}
}
}
...
}
 /snip

For an example, check out the good old ATM sample's
UserManagementSessionEJB.
WR

- Original Message -
From: Joni Suominen [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, July 10, 2001 9:29 AM
Subject: Re: SV: LDAP and EJBs


Thanks Patrik!
There's one issue which still puzzles me. Do I have to write my own
rollback code for LDAP operations when a transaction rolls back? I
browsed the JNDI API and SPI and I couldn't figure out if JNDI somehow
supports transactions (like JDBC does with begin(), rollback() and
commit()).

If my code is following for instance:

UpdatingFacadeEJB implements SessionBean {
public void doTheUpdate() {
   ldapDelegate.writeLdapEntry();
   rdbmsDelegate.writeRdbmsRow();
}
}

Let's say that ldapDelegate.writeLdapEntry() succeeds but
rdbmsDelegate.writeRdbmsRow() fails by throwing an EJBException. In this
case can the container's transaction manager somehow rollback the LDAP
operations done earlier in ldapDelegate.writeLdapEntry() method?

--
Joni
[EMAIL PROTECTED]


 Patrik Andersson wrote:

 You would have one sessionbean being business delegate in front of the
 EntityBean manipulating the RDBMS and another managing the LDAP
 directory service. Then you would have a Facade in front of both these
 sessionbeans with one method that does the whole trick with
 transactional attributes set up to require a transaction before
 entering the method.

 interface UpdatingFacade : SessionBean {
   void doTheUpdate() throws RemoteException;
 }

 interface LdapDelegate : SessionBean {
   void writeLdapEntry() throws RemoteException;
 }

 interface RdbmsDelegate : SessionBean or EntityBean {
   void writeRdbmsRow() throws RemoteException;
 }

 Then you want an error in the writeLdapEntry() aswell as the
 writeRdbmsRow() to throw an EJBException breaking the transaction
 begun by doTheUpdate() method. Both writeXxx methods must require that
 a transaction already exists before being called. The doTheUpdate()
 method  can really have it either way, as long as there is an active
 transaction associated to the thread calling it.

 regards,
 Patrik Andersson

 -Ursprungligt meddelande-
 Från: Joni Suominen [mailto:[EMAIL PROTECTED]]
 Skickat: den 6 juli 2001 08:32
 Till: Orion-Interest
 Ämne: LDAP and EJBs

 Hi everyone!
 I have a use case where I need to interface an LDAP directory and a
 relational database within a same transaction. That is, to create a
 new
 row to RDBMS from session bean using entity bean and to create an LDAP

 entry from the same session bean using Sun's LDAP provider through
 JNDI.

 1. Is this possible?

 2. Can I use container managed transactions?

 Thanks a lot!

 --
 Joni
 [EMAIL PROTECTED]






Re: Help on List

2001-07-09 Thread Magnus Rydin

Maybee you stated the wrong email address for unsubscription?
WR

- Original Message - 
From: Abhilash Koneri [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 4:27 AM
Subject: Help on List


 HI,
 I need to unsubscribe from this list and subscribe to a different mail
 id. I managed
 the secoud part. But how do I go about the former?? (The unsubscribe
 button on the orionserver home
 page does not work).
 
 regards,
 abhilash
 





SV: Anyone using TogetherSoft TCC with Orion?

2001-06-26 Thread Magnus Rydin



How do 
you model EJB 2.0 relations with Together?
WR

  -Ursprungligt meddelande-Från: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Skickat: den 26 juni 2001 
  05:31Till: Orion-InterestÄmne: Re: Anyone using 
  TogetherSoft TCC with Orion?We are using TogetherJ with Orion. I'm not sure I can help you 
  but for hot deployment we just make an .ear file and move it to the 
  applications directory. Orion does the rest. All done in a make 
  file.  From our 
  makefile: ### begin: rules for 
  creating application jar. DIST_DIR=$(APP_HOME)/dist EJB_TMP_DIR=$(APP_HOME)/ejb_tmp deploy:  
 cp $(APP_NAME).ear $(ORION_HOME)/applications 
  dist:  pre_dist ejb_jar war 
  @echo 
  "-" @echo "Creating $(APP_NAME) EAR ..." 
  @cd $(DIST_DIR); 
  \ $(JAR) 
  cf ../$(APP_NAME).ear *;   
@echo "-" rm -rf $(DIST_DIR); 
  pre_dist:FORCE 
  @echo 
  "-" @echo "Preparing EAR ..." @mkdir -p 
  $(DIST_DIR)/META-INF;   
@cp application.xml $(DIST_DIR)/META-INF; @echo 
  "-" war:$(DIST_DIR) @echo 
  "-" @echo "Creating WEB Archive 
  (WAR)..." 
  @rm -rf web/WEB-INF/classes/com; @cd web/WEB-INF/classes; \ cp -rf $(APP_HOME)/lib/* 
  .; @cp -rf 
  web web_tmp;
   @cd web_tmp; \   
find . -name CVS -prune -exec rm -rf {} \; @cd web_tmp; \ 
  $(JAR) cf 
  $(DIST_DIR)/$(APP_NAME).war *;  
 @rm -rf web_tmp; @echo 
  "-" ejb_jar:$(DIST_DIR) ejb-jar.xml 
  @echo 
  "-" @echo "Creating EJB JAR..." 
  @mkdir -p 
  $(EJB_TMP_DIR);
   @cd $(EJB_TMP_DIR); \  
 cp -rf $(APP_HOME)/lib/* .; @mkdir -p 
  $(EJB_TMP_DIR)/META-INF;   
@cp $(APP_HOME)/ejb-jar.xml $(EJB_TMP_DIR)/META-INF/; 
  @cd 
  $(EJB_TMP_DIR); \
   $(JAR) cf $(DIST_DIR)/$(APP_NAME)Ejb.jar *; @rm -rf 
  $(EJB_TMP_DIR);
   @echo "-" $(DIST_DIR): mkdir -p $(DIST_DIR); $(EJB_TMP_DIR): mkdir -p $(EJB_TMP_DIR); 
  deploy_web: cd web; \ rm -f *~; \ 
  cp -rf * 
  $(ORION_HOME)/applications/$(APP_NAME)/$(APP_NAME) ### end: rules for creating application jar. 
  Jonathan BrickerLilly Research 
  LabsJava ATG 
  


  
  "Ronald F. Lens" 
[EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 
06/25/01 02:09 PM Please respond to Orion-Interest 
  To:   
 Orion-Interest 
[EMAIL PROTECTED] cc:

 Subject:Anyone using TogetherSoft TCC 
with Orion?Hi all,Does anyone have any experience using TogetherSoft TCC 
  v5 (or 4.x) withorion? I'm still struggling to get the deployment tool to 
  work with orion.I got pretty close using the EJB 2.0 generic version in 
  TogetherSoft butit doesn't provide all the bells and whistles you'd like 
  (like hotdeployment).Any help would be greatly 
  appreciated.Ronald-- "A thinking computer, isn't that like 
  a swimming ship?"


SV: Classpath and library path ERROR ??? -- PLEASE again ???

2001-06-25 Thread Magnus Rydin
Title: SV: Classpath and library path ERROR ??? -- PLEASE again ???





I guess thats orion-application.xml right?


Another way would be to include the jar in the .ear file, and make one of the ejb .jar:s manifest files point it out. This is according to my interpretation of the specification, so Im pretty sure this will work with most J2EE servers out there.

WR


 -Ursprungligt meddelande-
 Från: Ye He [mailto:[EMAIL PROTECTED]]
 Skickat: den 22 juni 2001 09:09
 Till: Orion-Interest
 Ämne: Re: Classpath and library path ERROR ??? -- PLEASE again ???
 
 
 i speicify my CLASSPATH thru applications.xml's
 library path=.. / tag, using absolute path. i'm on
 SuSE 7.1 (kernel 2.4.0) with IBM jdk 1.3.0
 
 --- Eddie [EMAIL PROTECTED] wrote:
  Helllu ??
  
  What do you need to do to get an answer from this newsgroup
  when you are
  really in trouble ?? :(
  
  I still haven't be able to include a jar file in the
  orion-application.xml,
  that can be used by my application. It is able to use my jar
  when I put it
  in the $ORION_HOME/lib dir, but that's not what I want, as
  every application
  needs his own copy.
  
  I like to hear from Linux users how they did this, as I
  noticed that all the
  people that talked about it in the newsgroup, where all
  Windoze hackers. (I
  use: redhat 7.0 with sun jdk and orion 1.5.1)
  
  PLEASE some help, see below for more info ??
  
  Eddie :(
  
  
  
  - Original Message -
  From: Eddie
  To: Orion-Interest
  Sent: Tuesday, June 19, 2001 11:20 AM
  Subject: Re: Classpath and library path ERROR ??? -- PLEASE
  again ???
  
  
  Thanks,
  
  Indeed the library tag wasn't on the correct place in the
  orion-application.xml.
  However, after placing it in the correct place it still
  doesn't work:
  
  .
  web-module id=web path=web /
  persistence path=persistence /
  
  library path=./lib /
  library path=./lib/log4j-core.jar /
  library path=./lib/log4j.jar /
  
  principals path=principals.xml /
  log
  file path=application.log /
  /log
  namespace-access
  
  ---
  
  I also tried the orion-web.xml:
  
  
  orion-web-app
  deployment-version=1.5.1
  development=true
  jsp-cache-directory=./persistence
  temporary-directory=./temp
  servlet-webdir=/servlets/
  
  classpath path=./lib/log4j-core.jar /
  ejb-ref-mapping name=ejb/UserManagerHome /
  ...
  
  
  But didn't had much luck, which didn't suprise me, as I am
  using the lib
  files in my ejb's.
  I am sure that the jar files can be find by Orion, as it
  complaints when it
  can't find the files.
  
  But are you using Linux ?? I have a friend that has exatly the
  same problems
  on his linux machine!! .-- :(
  Shoudn't I put it all in a ear file ?? and if so, where ??
  
  Hope you have some ideas as I don't have them anymore. Neither
  do I know how
  to debug this, as Orion doesn't show that it loads the jar
  file...or where
  it looks..
  Hmmm... frustrating..
  Eddie
  - Original Message -
  From: elephantwalker
  To: Orion-Interest
  Sent: Monday, June 18, 2001 6:20 PM
  Subject: RE: Classpath and library path ERROR ??? -- PLEASE
  again ???
  
  
  The dtd for orion-application.xml says about library:
  
  !-- A relative/absolute path/URL to a directory or a
  .jar/.zip to add as a
  library-path for this server. Directories are scanned for
  jars/zips to
  include at startup. --
  !ELEMENT library (#PCDATA)
  !ATTLIST library path CDATA #IMPLIED
  
  
  The main orion-application element is:
  
  !ELEMENT orion-application
 
 (ejb-module*,web-module*,client-module*,security-role-mapping*,
  persistence?, library*, principals?, mail-session*,
  user-manager?, log?,
  data-sources?, namespace-access?)
  
  
  Note the order. If library is not in the right order (after
  persistence and
  before principals), this won't work.
  
  But this is application, which is for the overall server. You
  might try the
  orion-web.xml for specific support of a codebase of a war
  file:
  
  !-- Specifies a codebase where classes used by this
  application
  (servlets/beans, etc) can be found. --
  !ELEMENT classpath (#PCDATA)
  !ATTLIST classpath path CDATA #IMPLIED
  
  
  This should be the first element in your orion-web-app
  element.
  
  regards,
  
  the elephantwalker
  
  
  
  
  
  
  
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of
  Eddie
  Sent: Monday, June 18, 2001 8:15 AM
  To: Orion-Interest
  Subject: Re: Classpath and library path ERROR ??? -- PLEASE
  again ???
  
  
  Hellu,
  
  I am have still having problems with the problem below. Can
  someone PLEASE
  help me with this ???
  
  Eddie
  
  
  - Original Message -
  From: Eddie
  To: Orion-Interest
  Sent: Friday, June 15, 2001 1:08 PM
  Subject: Classpath and library path ERROR ???
  
  
  OK,
  
  I want to include a jar file in my application, so I put it in
  $APPLICATION_ROOT/lib
  and in the orion-application.jar I 

SV: Oracle deal gag... but on a different note.

2001-06-13 Thread Magnus Rydin
Title: SV: Oracle deal gag... but on a different note.





Please, drop this damn thread.
The list is obviosly not censured, just a bit sucky.
No one will wake up next to a swedish meatball smeared with cowberry jam and mashed potatoes..
Stop accusing people of being paranoid etc, it only floods my mailbox.
Im sure IF will respond to the original issues given time (are they back from JavaOne yet?).


WR


 -Ursprungligt meddelande-
 Från: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]]
 Skickat: den 12 juni 2001 10:57
 Till: Orion-Interest
 Ämne: RE: Oracle deal gag... but on a different note.
 
 
 On Tue, 12 Jun 2001, Jay Armstrong wrote:
 
  Sure, I can understand this -- good thing we have 
 orionsupport.com, which
  isn't affiliated with Ironflare. This is why I've never 
 been willing to
  advertise anything on orionsupport, and why I'm not 
 directly affiliated in
  any way with Ironflare - because I want the freedom to 
 some day post
  something like Orion totally sucks in area XYZ (not 
 mentioning anything
  like JMS, for example, am I?) without worrying about 
 receiving a warning
  from the Swedish Mafia. 
  
  You see, Joseph, it's this kind of humor that makes people 
 think of waking
  up next to their favorite racehorse's head.
  
 
 Not sure what your point is, here, pardner. After all, I was 
 saying this
 is why Orionsupport isn't directly affiliated, so that we 
 wouldn't have to
 worry about that in any case... and then you say something 
 that leads me
 to believe you took the exact wrong meaning. You've been doing that a
 lot; this kind of dedication takes a peculiar sort of effort.
 
   The buck stops here sign is on Karl's and Magnus' 
 desk, right? I hope
   they don't usually ride in the same car together all time. :)
  Well, I didn't know they HAD desks - I can see Satan doing 
 all his work on
  a futon for some reason - but at this point, we don't know how much
  responsibility Oracle has taken. *shrug* We'll see.
  They may not have desks yet, but they can probably afford 
 to order big,
  hand-carved, mahogony ones now. 
 
 I hope so! They deserve them. At any rate, I have a little more
 information about the deal now than I did; your dire warnings 
 are, IMHO,
 unfounded. Sure, there are some nasty implications for those 
 poor souls
 still waiting for Godot^WIronflare to provide Oracle-level support for
 Orion, but even those are merely implications and not a fomral reality
 yet.
 
  From your previous comment about looking at Oracle, let me 
 cite an example
  about supporting integrated products. A couple of years 
 ago, I found an
  error in Adrian Cockroft's book, Sun Performance and 
 Tuning regarding the
  formulas for shared memory and semaphore settings in etc/system. Of
  course, Adrian (creator of the VirtualAdrian tools) is a 
 god and I'm just a
  troll (as someone recently pointed out), but even trolls 
 get lucky now and
  then.
 
 Are you a BLIND troll, that's the real question.
 
 [snip, snippety snip snip snip!] 
 
  My point is that the dance between Orion and Oracle could be just as
  complex. 
 
 Sure, could be. But isn't. :) I'm not trying to hold some 
 special knowldge
 over your head, and it's quite possible that what I know is public
 knowledge, but until I confirm that, I ain't saying.
 
  Karl/Magnus have not, apparently, hired the people on the 
 Ironflare side to
  free them up to address such questions. Just because 
 Oracle has a support
  infrastucture, call center, help desk, etc, does not mean 
 that Oracle has
  anyone who can deal with the really tough problems. 
 
 Doubt THAT - the whole reason they licensed Orion is because 
 they found
 that they were getting the real tough problems and their lousy
 infrastructure wasn't set up for it. Not a matter of THEIR SKILL, mind
 you, but of the original thought that went into their misbegotten app
 server crap.
 
  Before getting flamed again, I am NOT picking on 
 Orion/Oracle here. I
  believe orion-interest and orionsupport are more responsive 
 and accurate,
  generally, than the big companies. I would still have 
 great confidence in
  just about any Orion/Oracle combination. We shall, as you 
 say, *shrug* see.
 
 You sure? Why do you?
 
  I would like to see Oracle at least attempt to hire some of 
 the people
  around the world who contributed their valuable time to 
 debugging Orion
  free of charge. NOT ME. I'm not looking for a job with Orionacle.
 
 Me either... but I'm not sure if this is your actual gripe. 
 If it is, hey,
 um, wow... you're over-reacting by a lot, IMHO.
 
 ---
 Joseph B. Ottinger [EMAIL PROTECTED]
 http://adjacency.org/ IT Consultant
 
 





SV: Censorship or slow server ?

2001-06-12 Thread Magnus Rydin
Title: SV: Censorship or slow server ?





I've had some posting problems the last 7 days.
Try again, the software will soon be updated.
WR


 -Ursprungligt meddelande-
 Från: Tony Fonager [mailto:[EMAIL PROTECTED]]
 Skickat: den 12 juni 2001 04:56
 Till: Orion-Interest
 Ämne: Censorship or slow server ?
 Prioritet: Hög
 
 
 I posted a message to this list 25 hours ago, exposing some 
 bad experiences
 with Orion.
 
 How come this has not shown up yet, 25 hours later ... ???
 
 Or has the moderator of this list removed my message, as it was a bit
 negative ??
 
 
 
 -
 Regards,
 Tony Fonager
 
 http://www.netcoders.dk
 





SV: Dynamic finders

2001-06-11 Thread Magnus Rydin
Title: SV: Dynamic finders





Yes.
If you want to go pure, you could do something like:
a) get them all and then filter them in your code
b) get the largest hit first, then filter them with the collections returned by your other finders (requires one finder per dynamic value of original query). This filterting should probably be located in a Session bean.

c) generate finder methods for all possible queries and have a Session bean select the one you want


Having been in your shoes, I dropped religion and went with tech. :)


WR


 -Ursprungligt meddelande-
 Frn: Dvornikov Victor [mailto:[EMAIL PROTECTED]]
 Skickat: den 10 juni 2001 00:03
 Till: Orion-Interest
 mne: RE: Dynamic finders
 
 
 Although it may be technically correct, but from conceptual database
 modeling point of view the comparison ($1 is null... ) is 
 questionable. 
 
  -Original Message-
  From: Magnus Rydin [SMTP:[EMAIL PROTECTED]]
  Sent: ???  08  2001 14:37
  To: Orion-Interest
  Subject: SV: Dynamic finders
  
  something like 
  .. ($1 is null OR $1=$field) AND ... 
  
   -Ursprungligt meddelande- 
   Fran: Stefan Paun [ mailto:[EMAIL PROTECTED]] 
   Skickat: den 8 juni 2001 07:16 
   Till: Orion-Interest 
   Amne: Dynamic finders 
   
   
   
   
   Does anybody have a solution for implementing a finder that 
   takes some 
   parameters, but searches taking into account only the ones 
   that are not 
   null? 
   Basically, this would be used to support a search page in 
   which the user 
   can choose to fill or not some fields of the search criteria. 
   I know that probably the best way to do this is using a 
   Session Bean and 
   JDBC, but is there a way to implement it using CMP Entity 
 finders (in 
   EJB1.1)? 
   
   Thanks, 
   Stefan 
   
   
  
 





SV: Dynamic finders

2001-06-08 Thread Magnus Rydin
Title: SV: Dynamic finders





something like
.. ($1 is null OR $1=$field) AND ...


 -Ursprungligt meddelande-
 Från: Stefan Paun [mailto:[EMAIL PROTECTED]]
 Skickat: den 8 juni 2001 07:16
 Till: Orion-Interest
 Ämne: Dynamic finders
 
 
 
 
 Does anybody have a solution for implementing a finder that 
 takes some
 parameters, but searches taking into account only the ones 
 that are not
 null?
 Basically, this would be used to support a search page in 
 which the user
 can choose to fill or not some fields of the search criteria.
 I know that probably the best way to do this is using a 
 Session Bean and
 JDBC, but is there a way to implement it using CMP Entity finders (in
 EJB1.1)?
 
 Thanks,
 Stefan
 
 





SV: Common classes between ejb.jar web.war

2001-06-07 Thread Magnus Rydin
Title: SV: Common classes between ejb.jar  web.war





Is WL happy with just including the helper .jar:s in the .ear, or does it require it to be part of an ejb jar in order for it to be found by the cl ?

WR


 -Ursprungligt meddelande-
 Från: Andre Vanha [mailto:[EMAIL PROTECTED]]
 Skickat: den 4 maj 2001 14:06
 Till: Orion-Interest
 Ämne: RE: Common classes between ejb.jar  web.war
 
 
 I believe the ejb-jar file is the correct place. I believe 
 in orion, as in
 weblogic, the ejb classloader is the parent of each web app 
 classloader,
 making classes packaged in you ejb jar available to all web 
 apps (within the
 application). You could also package your classes in a seperate
 jar/directory and point to it from orion-application.xml
 (application-deployments/%AppName%) using a lib tag.
 
 Hope this helps,
 
 Andre
 
 
 
  -Original Message-
  From: Lou Farho [mailto:[EMAIL PROTECTED]]
  Sent: Friday, May 04, 2001 12:30 PM
  To: Orion-Interest
  Subject: Common classes between ejb.jar  web.war
  
  Where should one put classes that are shared between their 
 ejbs and their
  web interface?
  Do you create a jar file and put it in the ear? Put in 
 orion's lib dir?
  
  
  Thanks,
  Lou Farho
 





SV: Common classes between ejb.jar web.war

2001-06-07 Thread Magnus Rydin
Title: SV: Common classes between ejb.jar  web.war





So WL doesnt let your web-app freely access classes in your ejb module?


 -Ursprungligt meddelande-
 Frn: Dvornikov Victor [mailto:[EMAIL PROTECTED]]
 Skickat: den 7 juni 2001 05:52
 Till: Orion-Interest
 mne: RE: Common classes between ejb.jar  web.war
 
 
 The workable solution is to copy the shared classes to ejb 
 directory and to
 web one. I works perfectly.
 
  -Original Message-
  From: Magnus Rydin [SMTP:[EMAIL PROTECTED]]
  Sent: ??? ? 07  2001 09:42
  To: Orion-Interest
  Subject: SV: Common classes between ejb.jar  web.war
  
  Is WL happy with just including the helper .jar:s in the 
 .ear, or does it
  require it to be part of an ejb jar in order for it to be 
 found by the cl
  ?
  
  WR 
  
   -Ursprungligt meddelande- 
   Fran: Andre Vanha [ mailto:[EMAIL PROTECTED]] 
   Skickat: den 4 maj 2001 14:06 
   Till: Orion-Interest 
   Amne: RE: Common classes between ejb.jar  web.war 
   
   
   I believe the ejb-jar file is the correct place. I believe 
   in orion, as in 
   weblogic, the ejb classloader is the parent of each web app 
   classloader, 
   making classes packaged in you ejb jar available to all web 
   apps (within the 
   application). You could also package your classes in a seperate 
   jar/directory and point to it from orion-application.xml 
   (application-deployments/%AppName%) using a lib tag. 
   
   Hope this helps, 
   
   Andre 
   
   
   
-Original Message- 
From: Lou Farho [ mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 04, 2001 12:30 PM 
To: Orion-Interest 
Subject: Common classes between ejb.jar  web.war 

Where should one put classes that are shared between their 
   ejbs and their 
web interface? 
Do you create a jar file and put it in the ear? Put in 
   orion's lib dir? 


Thanks, 
Lou Farho 
   
  
 





SV: ATM example - deployment error - PLEASE some HELP

2001-05-28 Thread Magnus Rydin
Title: SV: ATM example - deployment error - PLEASE some HELP





Ed.
1) did you install Orion properly?
2) Do you have a line that goes:
 jms-config path=./jms.xml /
in your [ORION-DIR]/config/server.xml ?
3) Does your [ORION-DIR]/config/jms.xml looks anything like this:
?xml version=1.0?
!DOCTYPE jms-server PUBLIC Orion JMS server http://www.orionserver.com/dtds/jms-server.dtd
jms-server port=9127
 queue name=Demo Queue location=jms/demoQueue
  descriptionA dummy queue/description
 /queue
 topic name=Demo Topic location=jms/demoTopic
  descriptionA dummy topic/description
 /topic
 log
  file path=../log/jms.log /
 /log
/jms-server


WR



 -Ursprungligt meddelande-
 Från: Ed Bras [mailto:[EMAIL PROTECTED]]
 Skickat: den 26 maj 2001 13:34
 Till: Orion-Interest
 Ämne: Re: ATM example - deployment error - PLEASE some HELP
 
 
 Hi Joel,
 
 Thanks but isn't a bit weird what you do beneath: commenting 
 the line in the 
 server.xml that actualy starts the jms server ?? (that's what 
 you do not ?).
 Does this really helps ???
 
 Eddie
 
 
 From: Joel B. Kinney [EMAIL PROTECTED]
 Reply-To: Orion-Interest [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Subject: Re: ATM example - deployment error - PLEASE some HELP
 Date: Wed, 23 May 2001 21:03:19 -0400 (EDT)
 
 I had a similar problem running it on orion1.4.5.
 I put this in server.xml, reference the list archive, after 
 I commented it
 out the atm example worked.
 !-- JMS-server config link, uncomment to activate the JMS service--
 !-- jms-config path=./jms.xml / --
 
 Joel
 
 
 
 On Wed, 23 May 2001, Eddie wrote:
 
   SV: abstract-schema-nameI am trying to develop an JMS 
 EJB, but I have 
 bad luck with it.
   If I try to deploy the atm example out of the box, just 
 as explained on 
 the orion web site, I get the same error as with my tiny, 
 simple, short... 
 JMS EJB:
   
   Error deploying 
file:/opt/Orion_1.4.7/applications/atm/atm-ejb.jar 
homes: No javax.jms.ConnectionFactory found at the specified 
destination-location (jms/TopicConnectionFactory) for MessageDrivenBean 
com.acme.atm.ejb.MainLoggerEJB
  ---
 
  How do I solve this, as this DRIVES me crazy as I can't find the JNDI 
reference anywhere in my application/atm ;( 
 
  Eddie
  PS: I haven't changed anything to the jms.xml file.
  PS: Isn't there a good JMS EJB Orion example available somewhere ??? I 
looked at some places and found examples for WebLogix and others, but 
nothing on the orrionsupport site. I like to write one, as the JMS gives 
every time the same error in the newsgroups but I can't find a good 
solution in the newsgroup :(-
 
 




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





SV: abstract-schema-name

2001-05-23 Thread Magnus Rydin
Title: SV: abstract-schema-name





Yes, you need to state a abstract-schema-name for your entity EJBs.
This was probably not implemented at the time of 1.4.5.
WR


 -Ursprungligt meddelande-
 Från: Grama Bogdan [mailto:[EMAIL PROTECTED]]
 Skickat: den 23 maj 2001 00:53
 Till: Orion-Interest
 Ämne: abstract-schema-name
 
 
 In Orion 1.5.1 I get this:
 
 Error in application agrumi: Error loading package at
 file:/C:/orion/application
 s/agrumi/agrumi-ejb.jar, abstract-schema-name not specified for entity
 'ejb.it.f
 insiel.tea.ILYOWI.Soggetto', it must be specified for EJB 2.0 
 style CMP
 beans
 Orion/1.5.1 initialized
 
 Not in 1.4.5. Any ideea?
 





SV: Running a Class at Server Startup

2001-05-17 Thread Magnus Rydin
Title: SV: Running a Class at Server Startup





You could autostart a Servlet that kicks another class?


 -Ursprungligt meddelande-
 Från: S.Badrinarayanan [mailto:[EMAIL PROTECTED]]
 Skickat: den 17 maj 2001 00:59
 Till: Orion-Interest
 Ämne: Running a Class at Server Startup
 
 
 Hi
 
 Is it possible to run a class when the orion server initially 
 starts up?
 
 I am looking for something like the following using Weblogic:
 weblogic.system.startupClass.initialise=class-name
 weblogic.system.startupArgs.initialise=arguments
 
 thx
 sb
 
 
 Chequemail.com - a free web based e-mail service that also pays!!!
 http://www.chequemail.com
 





SV: Orin cpu usage ???

2001-05-17 Thread Magnus Rydin
Title: SV: Orin cpu usage ???





The most normal CPU situation is bad DB usage.
I would check that area first, using whatever tools you have available to analyze your DB.
WR


 -Ursprungligt meddelande-
 Från: Eddie [mailto:[EMAIL PROTECTED]]
 Skickat: den 17 maj 2001 01:11
 Till: Orion-Interest
 Ämne: Re: Orin cpu usage ???
 
 
 Can someone please answer this question !!!???
 The problem I am having is the Orion sometimes hangs, it uses 
 a lot of cpu
 and I can't figure out why, so I need some advices on how I 
 can monitor
 this.
 
 Please... ??
 
 Eddie
 
 - Original Message -
 From: Eddie [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Wednesday, May 16, 2001 11:42 AM
 Subject: Orin cpu usage ???
 
 
  Can someone please tell me how to monitor the cpu usage of 
 Orion in detail
  per component/item/application ?
 
  When I use orionconsole I can only view the overall memory 
 usage of all
  application, but that's it. With top I see it is using a 
 lot of cpu
 time:
  about 50 percent.
  But I want more information, how do I get that ??
 
  Eddie
 
 
 
 





SV: Running a Class at Server Startup

2001-05-17 Thread Magnus Rydin
Title: SV: Running a Class at Server Startup



Well, 
Randahl, he could always turn it into a application-client.
Or he 
could use a Servlet to start a single instance of a regular java 
application.
Dont 
be so sour when I only try to help.

  -Ursprungligt meddelande-Från: Randahl Fink Isaksen 
  [mailto:[EMAIL PROTECTED]]Skickat: den 17 maj 2001 
  05:01Till: Orion-InterestÄmne: RE: Running a Class at 
  Server Startup
  Well, Magnus, that is a constructive suggestion, but 
  what if he wanted to do something which a servlet is restricted from doing? Is 
  there a way to simply startup a regular java application allong with 
  Orion?
  
  
  Randahl
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Magnus 
RydinSent: 17. maj 2001 11:07To: 
Orion-InterestSubject: SV: Running a Class at Server 
Startup
You could autostart a Servlet that kicks another 
class? 
 -Ursprungligt meddelande-  Från: S.Badrinarayanan [mailto:[EMAIL PROTECTED]] 
 Skickat: den 17 maj 2001 00:59  Till: Orion-Interest  Ämne: Running 
a Class at Server StartupHi  
 Is it possible to run a class when the orion 
server initially  starts up?   I am looking for something like the 
following using Weblogic:  
weblogic.system.startupClass.initialise=class-name  weblogic.system.startupArgs.initialise=arguments 
  thx  sb   
 Chequemail.com - a free web based e-mail 
service that also pays!!!  http://www.chequemail.com  



SV: unable to configure form-based authentication correctly

2001-05-15 Thread Magnus Rydin
Title: SV: unable to configure form-based authentication correctly





No, the distinction between groups and roles are correct.
The mapping should be in the /deploy-dir/orion-application.xml and map the roles to groups, as done.
If you check out the deploy dir of the ATM you will notice that Orion has automatically mapped the role users to the group users per default.

Now, the mapping should look like:
 security-role-mapping name=r_user
  group name=g_users /
 /security-role-mapping


You probably want this outside your namespace-access/ tag though.
WR


 -Ursprungligt meddelande-
 Från: elephantwalker [mailto:[EMAIL PROTECTED]]
 Skickat: den 14 maj 2001 11:15
 Till: Orion-Interest
 Ämne: RE: unable to configure form-based authentication correctly
 
 
 AFIK the role name and the group name have to be the same. 
 You use r_users
 and g_users. This could be the problem. ATM app uses role=users and
 group=users.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of 
 Humphrey Sheil
 Sent: Monday, May 14, 2001 10:20 AM
 To: Orion-Interest
 Subject: unable to configure form-based authentication correctly
 
 
 Hi
 
 I am unable to achieve a basic goal with orion: to force form-based
 authentication using the simplest form of authentication (userids and
 passwords stored in principals.xml).
 
 I have read all the posts on this subject on the mailing 
 list, but to no
 avail. I also tried the security primer on jollem.com, but 
 the author of
 this primer told me that this tutorial is not yet working. I 
 also saw the
 posts by Bill Winspure on Fri, 11 May 2001, but the mail 
 archive hasn't got
 the zip file attached to the mail.
 
 My application works fine without authentication, so there 
 are no other
 non-security related things affecting this.
 
 My procedure to add form-based auth.
 
 
 1. I add three new attributes to my web.xml:
 
 !-- attribute 1. declare the role I want to access my pages --
 
 security-role
 role-namer_user/role-name
 /security-role
 
 
 !-- attribute 2. now tell the container what and how I want 
 protected --
 !-- note that the role-name attribute matches my 
 security-role attribute
 above --
 
 security-constraint
 web-resource-collection
 web-resource-nameProtected Area/web-resource-name
 !-- Define the context-relative URL(s) to be protected --
 url-pattern/*/url-pattern
 !-- If you list http methods, only those methods 
 are protected --
 http-methodDELETE/http-method
 http-methodGET/http-method
 http-methodPOST/http-method
 http-methodPUT/http-method
 /web-resource-collection
 auth-constraint
 !-- Anyone with one of the listed roles may access 
 this area --
 role-namer_user/role-name
 /auth-constraint
 /security-constraint
 
 
 
 !-- attribute 3. let the container know that I want to 
 use form-based
 auth., and redirect to login.jsp --
 !-- the form in login.jsp conforms to the servlet 2.2 
 spec. naming
 conventions --
 login-config
 auth-methodFORM/auth-method
 realm-nameExample Form-Based Authentication Area/realm-name
 form-login-config
 form-login-pagelogin.jsp/form-login-page
 form-error-pageerror.jsp/form-error-page
 /form-login-config
 /login-config
 
 
 2. I edited the principals.xml contained in 
 $ORION_HOME/config to contain
 my user and group:
 
 
 group name=g_user/
 
 
 user username=testuser password=xxx
 group-membership group=g_user /
 /user
 
 
 3. I built and deployed the application at this point, and 
 started orion
 server (with a fresh application-deployment directory).
 
 
 Next, I went to my application sub-directory under
 $ORION_HOME/application-deployments.
 
 Here I edited orion-application.xml and added two 
 security-role-mapping
 attributes, one each in the read-access and write-access sections as
 follows:
 
 
 namespace-access
 read-access
 namespace-resource root=
 security-role-mapping
 name=lt;jndi-user-rolegt;
 group name=administrators /
 /security-role-mapping
 security-role-mapping name=lt;r_usergt;
 group name=g_user /
 /security-role-mapping
 /namespace-resource
 /read-access
 write-access
 namespace-resource root=
 security-role-mapping
 name=lt;jndi-user-rolegt;
 group name=administrators /
 /security-role-mapping
 security-role-mapping name=lt;r_usergt;
 group name=g_user /
 /security-role-mapping
 /namespace-resource
 /write-access
 
 
 (notes: I tried this with and without the lt; gt;. I also 
 tried adding
 just one security-role-mapping).
 
 
 
 The form-based auth. still does not work. I am presented 
 with the login
 form correctly when I try to access a protected resource, but 
 my username
 and password is always rejected.
 
 Is this functionality working in orion server 1.4.5?
 
 What have I missed in my steps above?
 
 Has anybody gotten this to work?
 
 
 Thanks in advance
 
 Humphrey
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com
 
 
 





SV: 1.4.8 and JMS

2001-05-15 Thread Magnus Rydin
Title: SV: 1.4.8 and JMS





I can confirm that the ATM demo still works with Orion/1.4.8 (build 10374).
WR


 -Ursprungligt meddelande-
 Från: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
 Skickat: den 14 maj 2001 19:17
 Till: Orion-Interest
 Ämne: 1.4.8 and JMS
 
 
 Has anyone successfully used JMS Topics after 1.4.5. I have tried on
 all versions since and the clients do not receive any messages.
 
 Vidur
 
 --
 Vidur Dhanda
 Active Solutions
 tel: 617/566-1252
 cell: 617/821-7115
 [EMAIL PROTECTED]
 www.active-solutions-inc.com
 
 
 





SV: CLUSTERING PROBLEM FINALLY SOLVED!! web-module

2001-05-11 Thread Magnus Rydin
Title: SV: CLUSTERING PROBLEM FINALLY SOLVED!! web-module





Hi.
 
 web-module id=myapp path=../applications/myapp/ /
 None of us here have EVER read ANYTHING in the orion docs that say you must have an entry for your web app in 
 config/application.xml. Where is config/application.xml mentioned in the orion primer??? Where is it mentioned 
 in application-creation-howto.html??? It isn't!!


The application-creation-howto document was intended to show how to deploy a full application to Orion, not how to tie a web-application to the default application. This have been mentioned on this list numerous times, together with responses on how to do this.

The application-creation-howto.html will be updated with either a section about how to tie a web-application to the default application, or will be given a link to this information.

Im still a bit bewildered about the fact that you have to tie your web-application to the default application in order for the clustering to work. It doesnt make sence to me. Hopefully someone can shed some light on this.

WR





SV: Re: RE: Simple Java Doubts

2001-05-10 Thread Magnus Rydin
Title: SV: Re: RE: Simple Java Doubts





THEY just informed me that the Frog is leaping through tiny blue loops. SOMEONE tells me that the Bavarian Illuminati has teamed up with BORG and are involved in this affair in SOME WAY.

Fnord!



 -Ursprungligt meddelande-
 Från: Johan Fredriksson [mailto:[EMAIL PROTECTED]]
 Skickat: den 10 maj 2001 01:03
 Till: Orion-Interest
 Ämne: Re: Re: RE: Simple Java Doubts
 
 
 Resistance is futile, you will be assimilated.
 
 Johan
 - Original Message - 
 From: John Hogan [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Wednesday, May 09, 2001 9:55 PM
 Subject: Re: Re: RE: Simple Java Doubts
 
 
  Santosh,
  
  Is the original disclaimer a secret plot to own all content on the 
  orion list? Somehow doesn't seem appropriate.
  
  ***
  Disclaimer :
  The information contained and transmitted in this e-mail is
  confidential information, and is intended only for the
  named recipient to which it is addressed. The content of
  this e-mail may not have been sent with the authority of
  the company. If the reader of this message is not the
  named recipient or a person responsible for delivering it
  to the named recipient, you are notified that the review,
  dissemination, distribution, transmission, printing or copying,
  forwarding, or any other use of this message or any part of
  it, including any attachments, is strictly prohibited. If you
  have received this communication in error, please delete
  the e-mail and destroy all record of this communication.
  Thank you for your assistance.
  
 **
  
  
  
   Begin Original Message 
  
  From: John Hogan [EMAIL PROTECTED]
  Sent: Wed, 9 May 2001 08:03:18 -0400
  To: Orion-Interest [EMAIL PROTECTED]
  Subject: Re: RE: Simple Java Doubts
  
  
  On response 2, if the remote client is actually a web server, the 
  scheme will work nicely. No polling would be necessary, an http 
  request would only be issued on event.
  
  John Hogan
  
  _
  
  Get your free E-mail at http://www.ireland.com
  
  
  
   End Original Message 
  
  
  
  _
  
  Get your free E-mail at http://www.ireland.com
 
 





SV: Message driven beans

2001-05-09 Thread Magnus Rydin
Title: SV: Message driven beans





check out the ATM example shipped with Orion.
WR


 -Ursprungligt meddelande-
 Från: Moul, Russell G [mailto:[EMAIL PROTECTED]]
 Skickat: den 8 maj 2001 08:24
 Till: Orion-Interest
 Ämne: Message driven beans
 
 
 I've just started using Orion, I got basic EJB's working with 
 no problems. I have had no luck getting a message driven 
 bean to respond to a message topic. I was able to get 
 clients to exchange messages (this was done without making 
 changes to jms.xml - weird!) however as soon as I try to use 
 the message driven bean I'm required to update the jms.xml 
 file with the topic-connection-factory. This allows my 
 bean to be deployed but my client, which publishes the 
 messages ceases to work.
 
 Bottom line - do message driven beans and jms work? If 
 someone has simple working example I would appreciate an .ear 
 file (and accompanying jms.xml).
 
 Thanks
 
 Russ Moul
 Technology Development and Deployment
 Engineering Information Technology
 Phantom Works
 (253) 657-0723
 
 





SV: Building an application

2001-04-11 Thread Magnus Rydin
Title: SV: Building an application





Why do you include taskforce.ear as an web-application in the global application ? (application.xml) ?


 -Ursprungligt meddelande-
 Från: olivier [mailto:[EMAIL PROTECTED]]
 Skickat: den 11 april 2001 02:09
 Till: Orion-Interest
 Ämne: RE: Building an application
 
 
 Thanks everyone,
 
 Switching off the friendly message, help me figuring out.
 
 It is now working.
 I had to modify 3 config files (instead of 2...see at the 
 bottom of this
 mail):
 application.xml:
  web-module id=taskforce 
 path=../applications/taskforce.ear /
 default-web-site.xml
  web-app application=taskforce name=taskforce 
 root=/taskforce/
 server.xml
  application name=taskforce 
 path=../applications/taskforce.ear/
 
 Does it look allright or redondant ???
 
 
 Is there a way to access a log class in Orion (is is standard 
 to all EJB
 servers ?)
 
 Thanks again,
 
 Olivier
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of 
 SCOTT FARQUHAR
 Sent: 11 April 2001 00:29
 To: Orion-Interest
 Subject: RE: Building an application
 
 
 Two things that might be of interest:
 
  !-- The default web-app for this site, bound to the root --
  default-web-app application=default name=defaultWebApp /
 
 in default-web-site.xml . I assume that you can map an 
 application to root
 by changing that?
 
 Turn off friendly error messages in Internet Explorer
 (tools-options-advanced-show friendly http error messages).
 
 A 500 could mean anything. Once you get the stack trace you 
 might be able
 to determine what the problem is.
 
 Scott
 
 
  [EMAIL PROTECTED] 04/11/01 04:21am 
 Dan,
 
 The error I have is 500 (http internal server error), when I type
 http://localhost/taskforce
 If I type http://localhost, I have the orion home page.
 
 This the tree of the applications directory, once expanded by orion.
 
 D:\JAVA\ORION\APPLICATIONS
 taskforce.ear
 \---taskforce
  taskforce.war
  userEJB.jar
 +---META-INF
  application.xml
 \---taskforce
  index.html
 +---images
 +---META-INF
 \---WEB-INF
 +---classes
 | +---net
 | | \---tnt
 | | +---user
 | | | \---model
 | | +---util
 | | \---web
 | | +---control
 | | \---taglib
 | \---org
 | \---apache
 | \---struts
 | \---resources
 +---lib
 \---tlds
 
 The server.xml and default-web-site.xml have been modified as 
 mentionned at
 the bottom of this mail.
 
 I have tried to modify the context root to / but it did not change.
 
 I have just noticed that you can set the root=/taskforce in
 default-web-site.xml
  web-app application=taskforce name=taskforce-web 
 root=/taskforce/
 and also in the /META-INF/application.xml of you
 ear(context-root/taskforce/context)
 
 I suppose they must be the same (which is the case for me). 
 What is the role
 of each ?
 
 I guess there are 2 possible source of error
 1) the way I have update the server.xml and default-web-site.xml
  (default-web-site.xml)
  web-app application=taskforce name=taskforceWebApp 
 root=/taskforce/
 
  (server.xml)
  application name=taskforce 
 path=../applications/taskforce.ear /
 
 2) the directory structure (see above)
 
 
 Thanks,
 
 Olivier
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Lopez
 Sent: 10 April 2001 07:05
 To: Orion-Interest
 Subject: Re: Building an application
 
 
 Hi Oliver,
 Last week I was plating with the same thing and I was successful with
 pretty much the same configuration that you have, except that in
 application.xml I set the context root to /
 (context-root//context-root). Which error are you getting 
 ? 404? Can
 you see your .ear file unpackaged?
 regards,
 Dan
 
  olivier wrote:
 
  Hi,
 
  I am new to Orion, and I have recently been trying to build an
  application (ear) with not much success. Basically, Orion seems to
  deploys all the components, but I can't get the first page 
 to open on
  the browser.
  I am using struts as a framework, with the fix I have seen on this
  site (remove the dtd from the jar and put them under classes), and
  struts does not seem to be the problem now (especially 
 since my first
  page is an index.html)
 
  The ear is in orion\applications
 
  userEjb.jar
  taskforce.war
  \META-INF
  application.xml
 
  source of application.xml for the ear
  application
  display-nametaskforce/display-name
  descriptionApplication description/description
  module
  web
  web-uritaskforce.war/web-uri
  context-root/taskforce/context-root
  /web
  /module
  module
  ejbuserEjb.jar/ejb
  /module
  /application
 
  I put this in default-web-site
  web-app application=taskforce name=taskforceWebApp
  root=/taskforce/
  this in server.xml
  application name=taskforce 
 path=../applications/taskforce.ear /
 
 
  I have tried with the news.ear coming with orion, but same problem.
 
  Any clue?
 
  Thanks,
 
  olivier
 
 
 
 





SV: When trying to parse jsp inside a servlet - 404

2001-04-10 Thread Magnus Rydin
Title: SV: When trying to parse jsp inside a servlet - 404





Hi.
Are there really a named servlet called jsp in your web-application?
WR


 -Ursprungligt meddelande-
 Från: Eduard Witteveen [mailto:[EMAIL PROTECTED]]
 Skickat: den 9 april 2001 10:19
 Till: Orion-Interest
 Ämne: When trying to parse jsp inside a servlet - 404
 
 
 Hello,
 
 I have the following method in a class derived from HttpServlet:
 
 public synchronized void service(HttpServletRequest req, 
 HttpServletResponse res) throws ServletException,IOException {
  RequestDispatcher disp = 
 getServletContext().getNamedDispatcher(jsp);
 disp.forward(req, res);
 }
 
 and i keep getting a 404(file not found), but i have 
 associated the file with a url-pattern, which differs from 
 /*.jsp, so the file is there.
 How do i involk the com.evermind.server.http.JSPServlet, to 
 parse this given request.
 
 p.s. im actually trying to use jsp as a preprocessor for 
 generation of scripts which will then be converted to a 
 binairy reponse. I hope im correct when i use the 
 RequestDispatcher.include() with a 
 ServletResponse(implementation), which i will convert to a String. 
 
 -- 
 Eduard Witteveen Systeemontwikkelaar NOS Internet
 Mediacentrum Kamer 203, tel. +31(0)35 6773059
 
 Sed quis custodiet ipsos custodes? : The sixth Satire from Juvenal
 





SV: servlet-Tag

2001-04-10 Thread Magnus Rydin
Title: SV: servlet-Tag





I think that tag died with JSP 1.0.
WR


 -Ursprungligt meddelande-
 Från: Maximilian Eberl [mailto:[EMAIL PROTECTED]]
 Skickat: den 10 april 2001 08:14
 Till: Orion-Interest
 Ämne: servlet-Tag
 
 
 Does Orion support the servlet-Tag in HTML-pages and what is the 
 correct syntax ?
 I couldn't find anything about this in FAQ and documentation.
 
 Max
 
 





SV: Error deserializing session

2001-04-09 Thread Magnus Rydin
Title: SV: Error deserializing session





Sounds like you have stuff in your session that can't be serialized. 
Was it during restart or session timeout?
WR


 -Ursprungligt meddelande-
 Fran: Sergei Batiuk [mailto:[EMAIL PROTECTED]]
 Skickat: den 8 april 2001 05:26
 Till: Orion-Interest
 Amne: Error deserializing session
 
 
 Hello all,
 
 What does the following error mean? It looks more like a 
 warning, since I
 did not encounter any abnormal behavior with orion. Is it 
 serious? What
 might have caused it?
 
 Error deserializing session: java.io.WriteAbortedException: 
 Writing aborted
 by e
 xception; java.io.NotSerializableException: com.evermind.sql.ak
 
 
 
 





SV: wrong servlet executed bug in 1.4.7

2001-04-09 Thread Magnus Rydin
Title: SV: wrong servlet executed bug in 1.4.7





Is the bug that you dont get an 404 when following the link?
Or is /servlet/ missing from your post here (Servlet source)?
WR


 -Ursprungligt meddelande-
 Från: Russ White [mailto:[EMAIL PROTECTED]]
 Skickat: den 9 april 2001 06:20
 Till: Orion-Interest
 Ämne: wrong servlet executed bug in 1.4.7
 
 
 logged bug #394
 
 the following occurs only under 1.4.7
 
 I created two simple servlets.
 
 Servlet1  Servlet2
 
 One simply creates a link to the other one.
 
 When I run the first servlet like so
 http://host/servlet/com.sequenet.test.servlet.Servlet1 and 
 click on the link
 to the second servlet Orion simply runs the first servlet again.
 
 code follows
 
 Servlet #1
 
 package com.sequenet.test.servlet;
 import javax.servlet.*;
 import javax.servlet.http.*;
 import java.io.*;
 
 /**
 * Title: Main Project
 * Description: This is my main project.
 * Copyright: Copyright (c) 2001
 * Company: Sara Lee
 * @author Russ White
 * @version 1.0
 */
 
 public class Servlet1 extends HttpServlet {
 public void init(ServletConfig config) throws ServletException {
 super.init(config);
 }
 
 public void service(HttpServletRequest request, HttpServletResponse
 response)
 throws IOException, ServletException {
 response.setContentType(TEXT/HTML);
 response.getWriter().print(htmlhead/headbody+
 Servlet1bra href=\com.sequenet.test.servlet.Servlet2\+
 link to Servlet2/a+
 /body/html);
 }
 }
 
 Servlet #2
 
 package com.sequenet.test.servlet;
 import javax.servlet.*;
 import javax.servlet.http.*;
 import java.io.*;
 
 /**
 * Title: Main Project
 * Description: This is my main project.
 * Copyright: Copyright (c) 2001
 * Company: Sara Lee
 * @author Russ White
 * @version 1.0
 */
 
 public class Servlet2 extends HttpServlet {
 public void init(ServletConfig config) throws ServletException {
 super.init(config);
 }
 
 public void service(HttpServletRequest request, HttpServletResponse
 response)
 throws IOException, ServletException {
 response.setContentType(TEXT/HTML);
 response.getWriter().print(htmlhead/headbody+
 Servlet2bra href=\com.sequenet.test.servlet.Servlet1\+
 link to Servlet1/a+
 /body/html);
 }
 }
 
 





SV: Orion CMP

2001-04-06 Thread Magnus Rydin
Title: SV: Orion CMP





check out /orion/database
there you find the hSQL files.
WR


 -Ursprungligt meddelande-
 Från: Ashok Banerjee [mailto:[EMAIL PROTECTED]]
 Skickat: den 5 april 2001 12:13
 Till: Orion-Interest
 Ämne: Orion CMP
 
 
 Where does Orion store its CMP data? I know it uses HSQL and I believe
 HSQL - where are the HSQL datafiles physically located?
 
 If I change in data-source.xml does that mean my CMP data is also now
 going to go to a different database? I modified data-sources.xml
 as below and yet I keep getting
 
 D:\Orion\orion\demo\ejb\productjava -classpath
 .;..\..\..\orion.jar;..\..\..\ej
 b.jar;..\..\..\jndi.jar ProductClient
 Communication error: Error reading application-client 
 descriptor: Error
 looking
 up EJBHome: Lookup error: java.net.ConnectException: 
 Connection refused:
 no furt
 her information; nested exception is:
 java.net.ConnectException: Connection refused: no further
 information
 
 Any further information on configuring orion to use Oracle DB as
 persistent store would help.
 Cheers,
 Ash
 --
 --
 
 ?xml version=1.0?
 !DOCTYPE data-sources PUBLIC Orion data-sources
 http://www.orionserver.com/dtds/data-sources.dtd
 
 data-sources
 !--
 An example/default DataSource that uses an ordinary
 JDBC-driver (in this case hsql) to create the connections.
 This tag creates all the needed kinds
 of data-sources, transactional, pooled and EJB-aware sources.
 The source generally used in application code is the EJB
 one - it provides transactional safety and connection pooling.
 --
 !-- data-source
 class=com.evermind.sql.DriverManagerDataSource
 name=Hypersonic
 location=jdbc/HypersonicCoreDS
 xa-location=jdbc/xa/HypersonicXADS
 ejb-location=jdbc/HypersonicDS
 connection-driver=org.hsql.jdbcDriver
 username=sa
 password=
 url=jdbc:HypersonicSQL:./database/defaultdb
 inactivity-timeout=30
 /--
 data-source
 class=com.evermind.sql.DriverManagerDataSource
 name=Oracle
 location=jdbc/OracleCoreDS
 xa-location=jdbc/xa/OracleXADS
 ejb-location=jdbc/OracleDS
 connection-driver=oracle.jdbc.driver.OracleDriver
 username=orion
 password=orion
 url=jdbc:oracle:thin:@mysun-box:1521:mydb
 inactivity-timeout=30
 /
 
 /data-sources
 
 
 





SV: request.getHeaders() totally broken

2001-04-05 Thread Magnus Rydin
Title: SV: request.getHeaders() totally broken





Hi.
You better report this to Bugzilla.
For the second part (multiple header statements), Isnt that suposed to go into a single header?
Accept: a,b,c,d ?


WR



 -Ursprungligt meddelande-
 Från: Gerald Gutierrez [mailto:[EMAIL PROTECTED]]
 Skickat: den 4 april 2001 15:02
 Till: Orion-Interest
 Ämne: request.getHeaders() totally broken
 
 
 
 It seems that request.getHeaders() is completely broken in 
 Orion 1.4.7. If I
 call:
 
 request.getHeaders(Accept)
 
 And the HTTP request has the HTTP header:
 
 Accept:
 
 (that is Accept header with no value), Orion happily goes 
 into an infinite
 loop and then eventually breaks out with an OutOfMemoryError. 
 If, instead, I
 give it the headers:
 
 Accept: a
 Accept: b
 Accept: c
 Accept: d
 
 then getHeaders() just gives me the value of the first header (i.e. an
 enumeration with one element, with the value a) and ignores 
 all the rest.
 
 This cannot be intended behaviour. Has anyone else noticed this bug?
 
 
 
 
 
 
 
 





SV: Including jar files in my web app ?

2001-04-05 Thread Magnus Rydin
Title: SV: Including jar files in my web app ?





This is strange..
I have no problem with having a couple of jars in /WEB-INF/lib



 -Ursprungligt meddelande-
 Från: Court Demas [mailto:[EMAIL PROTECTED]]
 Skickat: den 5 april 2001 00:36
 Till: Orion-Interest
 Ämne: Re: Including jar files in my web app ?
 
 
 I just had a similar problem. Orion saw classes *either* in 
 WEB-INF/classes
 *or* in WEB-INF/lib.
 
 My solution was to either unpack all classes into 
 WEB-INF/classes (removing the
 lib directory), or create one huge JAR file in WEB-INF/lib 
 (removing the
 classes directory).
 
 I hope there's a better solution!
 
 court
 
 
 Eddie wrote:
 
  I don't seem be able to tell Orion 1.4.7 te read my bla.jar 
 that is located
  in the WEB-INF/lib ??
 
  To me it's not really clear how to do that. The bla.jar is 
 there but it
  keeps giving an ClassDefNotFound error.
  I also tried it with tablib (which is basically for JSP 
 only not ???) but
  that neither worked:
  ---
  taglib
  taglib-uribla/taglib-uri
  taglib-location/WEB-INF/lib/bla.jar/taglib-location
  /taglib
  ---
 
  What am I doing wrong ? and how can I see more in detail 
 where is looking ??
 
  A,
  Eddie
 
  
  bash-2.04$ pwd
  /home/development/sgs/web/WEB-INF/lib
  bash-2.04$ ll
  total 428
  -rwxr--r-- 1 program users 369846 Apr 4 17:01 bla.jar
  bash-2.04$
  -
 
 





SV: Deploy EAR/WAR via HTTP upload

2001-04-04 Thread Magnus Rydin
Title: SV: Deploy EAR/WAR via HTTP upload



Write 
a servlet that utilizes admin.jar ?
WR

  -Ursprungligt meddelande-Från: Mark A. Richman 
  [mailto:[EMAIL PROTECTED]]Skickat: den 4 april 2001 
  04:38Till: Orion-InterestÄmne: RE: Deploy EAR/WAR via 
  HTTP upload
  Thanks, but I 
  was thinking along the lines of an HTML form that I upload an EAR to. Then a 
  JSP or Servlet would deploy the archive.
  
  Regards,Mark A. RichmanEmpire Software, Inc.Expert 
  Software Development  Consulting+ Internet/Intranet/Extranet+ 
  E-Commerce  B2B+ Java, C/C++, Visual Basic+ XML, SOAP, and Web 
  Services+ Linux  Open-Source Solutions+ Database 
  Applications+ ...and MUCH more!http://www.empsoft.com[EMAIL PROTECTED]Tel: 
  954-234-9049 
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Magnus 
RydinSent: Wednesday, April 04, 2001 1:40 AMTo: 
Orion-InterestSubject: SV: Deploy EAR/WAR via HTTP 
upload
/orion/admin.jar commands : 
-deploy - (re)deploys an application. Sub-switches 
are:  -file - Enterprise Archive to 
deploy  -deploymentName - Name of the 
application deployment  -targetPath - 
The path on the remote OS to place the archive at. If not specified the 
applications directory is used 
-bindWebApp [application deployment name] [web-app name] 
[web-site name] [context root] - binds a web app to the specified site + 
root
Is it possible to deploy an EAR/WAR if uploaded via 
HTTP? If so, how? Regards, Mark A. Richman Empire Software, 
Inc. Expert Software Development  
Consulting 


SV: Orion OpenTool to JBuilder 4?

2001-04-03 Thread Magnus Rydin
Title: SV: Orion OpenTool to JBuilder 4?





One such effort was started, but was closed due to some problems encountered that Borland/Inprise didnt care to respond to.

AFAIK, that effort died there.
Please go ahead, I would really like such a tool :)
WR


 -Ursprungligt meddelande-
 Från: Robert S. Sfeir [mailto:[EMAIL PROTECTED]]
 Skickat: den 2 april 2001 11:02
 Till: Orion-Interest
 Ämne: Orion OpenTool to JBuilder 4?
 
 
 I've been trying to find ANY information about pluging in 
 Orion as part of 
 the servers inside JBuilder using the OpenTool API. Doesn't 
 look like 
 anyone's written one. I've sent an email to the Orion folks, 
 no response.
 
 I have a source code example here that shows how to do this 
 with Tomcat, 
 and it doesn't look like I need THAT much more work to 
 convert it over to 
 make it work with Orion, I just don't want to spin my wheels 
 doing it if 
 someone has already done this.
 
 I know you can use Orion from the run menu, but there seem to 
 be other 
 benefits from having it as an application server in JBuilder, 
 primarily for 
 deployment purposes.
 
 Thanks.
 R
 
 
 Robert S. Sfeir
 Director of Software Development
 PERCEPTICON corporation
 San Francisco, CA 94123
 w - http://www.percepticon.com/
 e- [EMAIL PROTECTED]
 t - (415) 749-2900 x205
 
 





SV: Friendly error messages from Microsoft get in the way (was Er ror pages defined in web.xml not found / activated)

2001-04-03 Thread Magnus Rydin
Title: SV: Friendly error messages from Microsoft get in the way (was Er	ror pages defined in web.xml not found / activated)





Never underestimate the creativity of M$ :)
Just thinking that milions of people gladly install their OS obfuscator worldwide .. :)
I bet Bill is part of the Discordian Society :)



 -Ursprungligt meddelande-
 Från: Frank Eggink [mailto:[EMAIL PROTECTED]]
 Skickat: den 2 april 2001 11:51
 Till: Orion-Interest
 Ämne: RE: Friendly error messages from Microsoft get in the 
 way (was Er
 ror pages defined in web.xml not found / activated)
 
 
 At least for development I can switch them off. Users (and 
 helpdesk) will have to live with it.
 
 I never knew people could think of developing error message 
 obfuscators :-(
 
 On Monday, April 02, 2001 7:14 PM, Juan Lorandi (Chile) 
 [SMTP:[EMAIL PROTECTED]] wrote:
  the error code is sent on the very first line of the 
 response header-- and
  orion doesn't allow you to control that
  
   -Original Message-
   From: Frank Eggink [mailto:[EMAIL PROTECTED]]
   Sent: Monday, April 02, 2001 3:56 AM
   To: Orion-Interest
   Subject: Friendly error messages from Microsoft get in 
 the way (was
   Error pages defined in web.xml not found / activated)
   
   
   Well ...
   
   How can you spend your weekend?!?
   
   
   The problem I described looks to be caused by wat's called 
   'friendly error 
   messages' from the Internet Explorer. All runs fine with 
 Netscape. 
   Microsoft replaces standard 404 'can not find page' errors 
   with their own 
   page, which is considered (by them) to be more user friendly.
   
   Still I do not understand how the Explorer gets the 
   information there is a 
   404 error. Could this be somewhat less wanted feature of 
   Orion? I certainly 
   would like to have control over this error message.
   
   FE
   
   On Friday, March 30, 2001 5:48 PM, Frank Eggink 
   [SMTP:[EMAIL PROTECTED]] wrote:
Hi,
   
I'm having a problem. I have defined error pages in my web.xml
   
I've defined:
   
error-page
 error-code404/error-code
 location/errors/error404.jsp/location
/error-page
   
Now I expect to see the error page when I request a non 
   existing page 
   like
http://localhost/my-app/non-existing-page.html, which does 
   not happen. 
   I'm
obviously overlooking something, but what??
   
[When I define the error page in a jsp page with %@
errorpage=/errors/error404.jsp % it does work. So it can 
   find the page,
which gives me the impression I've setup something wrong. What??
   
   
FE
   
Frank Eggink
Swift Applications
[EMAIL PROTECTED]
+31 6 28847325 (voice)
+31 33 4532464 (fax)
   

   
  
 





SV: MS Server Objects

2001-04-03 Thread Magnus Rydin
Title: SV: MS Server Objects





One solution would be to use JIntegra for this dirty business.
Another option would be to purify your COM objects and turn them into java classes free of sin.
Repent! Repent! :)



Hello,
I wonder if a Microsoft Server object can be created with orion.
We have lots of MTS objects to create Active Reports.
In order to reuse those objects, do we really have to go for ASP?
Can orion, jsp, or servlet handle Microsoft objects?
Thanks very much.

Simon





SV: Deploy EAR/WAR via HTTP upload

2001-04-03 Thread Magnus Rydin
Title: SV: Deploy EAR/WAR via HTTP upload





/orion/admin.jar commands :


-deploy - (re)deploys an application. Sub-switches are:
 -file - Enterprise Archive to deploy
 -deploymentName - Name of the application deployment
 -targetPath - The path on the remote OS to place the archive at. If not specified the applications directory is used


-bindWebApp [application deployment name] [web-app name] [web-site name] [context root] - binds a web app to the specified site + root

Is it possible to deploy an EAR/WAR if uploaded via HTTP? If so, how?
Regards,
Mark A. Richman
Empire Software, Inc.
Expert Software Development  Consulting





SV: errors using Taglib

2001-04-03 Thread Magnus Rydin
Title: SV: errors using Taglib





Try putting your classes in /WEB-INF/classes or /WEB-INF/lib instead.
WR


 -Ursprungligt meddelande-
 Från: cmp user [mailto:[EMAIL PROTECTED]]
 Skickat: den 3 april 2001 17:13
 Till: Orion-Interest
 Ämne: errors using Taglib
 
 
 Hi
 I am trying to use my own custom taglibs in one of the
 jsp pages.
 Orion_HOME directory c:\temp\Orion
 I copied a jsp file customjsp.jsp into
 Orion_home\default-web-app\examples\jsp\myjsp\
 directory
 I customized the web.xml in
 Orion_home\default-web-app\WEB-INF directory
 to include
 taglib
 taglib-uri/webapp/DataTags.tld/taglib-uri
 taglib-location/WEB-INF/DataTags.tld/taglib-location
 /taglib
 I have/copied the DataTags.tld in
 Orion_home\default-web-app\WEB-INF directory
 
 and this tld uses the classes in mytag.zip
 
 I have included this zip file in my classpath
 as 
 java -cp mytag.zip -jar orion.jar
 when starting the Orion.
 
 when I run my jsp thru the browser i get
 
 java.lang.IllegalArgumentException: Class
 datatags.ViObjTEI not found
 void
 com.evermind.server.http.d3.su(javax.servlet.ServletRequest,
 javax.servlet.http.HttpServletResponse)
 boolean
 com.evermind.server.http.ef.s1(com.evermind.server.Application
 ServerThread,
 com.evermind.server.http.EvermindHttpServletRequest,
 com.evermind.server.http.EvermindHttpServletResponse,
 java.io.InputStream, java.io.OutputStream, boolean)
 void
 com.evermind.server.http.ef.do(java.lang.Thread)
 void com.evermind.util.f.run()
 
 appericiate your help
 
 cmpsuer
 
 
 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail. 
 http://personal.mail.yahoo.com/
 





SV: Understanding the login for ATM

2001-04-02 Thread Magnus Rydin
Title: SV: Understanding the login for ATM





Hi.
when the bean is not found in the session scope, an java.lang.InstantiationException is thrown.
In the web.xml, errors/errorAccountManager.jsp is defined as an errorpage for this exception.
In this file, the accountManager gets declared.


At the time of writing the app, I was feelinga bit lazy and wanted to limit the amount of tags to write in each page, so I came up with this little solution.

WR


 -Ursprungligt meddelande-
 Från: Frank Eggink [mailto:[EMAIL PROTECTED]]
 Skickat: den 30 mars 2001 08:55
 Till: Orion-Interest
 Ämne: Understanding the login for ATM
 
 
 Hi,
 
 I'm having difficulties understanding the login of the ATM.
 
 In the index.jsp the 'accountManager' get declared using a 
 'jsp:useBean' tag. Where does the accountManager is instantiated?
 
 I it must be somewhere between the login and the first use in 
 the index.jsp page.
 
 
 FE
 
 
 
 Frank Eggink
 Swift Applications
 [EMAIL PROTECTED]
 +31 6 28847325 (voice)
 +31 33 4532464 (fax)
 
 





SV: [hsqldb-ANNOUNCE]New HypersonicSQL Project and Upcoming Release

2001-04-02 Thread Magnus Rydin
Title: SV: [hsqldb-ANNOUNCE]New HypersonicSQL Project and Upcoming Release





Yes! Its still alive! :)
Great :)
WR


 -Ursprungligt meddelande-
 Från: Michael J. Cannon [mailto:[EMAIL PROTECTED]]
 Skickat: den 1 april 2001 15:50
 Till: Orion-Interest
 Ämne: [hsqldb-ANNOUNCE]New HypersonicSQL Project and Upcoming Release
 
 
 We have revived Thomas Mueller's HypersonicSQL Database Project
 (HypersonicSQL/hsql at SourceForge: URL:
 http://sourceforge.net/projects/hsql), last release hsql 
 v.1.43 (available
 at http://ftp1.sourceforge.net/hsqldb/hsql_143.zip) as the 
 hsqldb Database
 Engine Project on SourceForge (hsqldb Database Engine Project at
 SourceForge: URL:
 http://sourceforge.net/projects/hsqldb , Home Page (for now): URL:
 http://hsqldb.sourceforge.net) with the following goals:
 
 1.) to maintain and keep current the history of Thomas 
 Mueller's landmark
 BSD-licensed project. To this end, the license will continue 
 BSD-style,
 rather than GPL or other OSI-compatible license. In plain 
 English, we aim
 to be the most free and open database product currently on 
 the market and
 will continue the project both 'free-graits' and 'free-libre' with no
 licensing required, other than as stated in the preceding 
 works (check the
 source for the license/copyright and we should have it up on 
 the web by the
 time many of you read this.)
 2.) to archive the project's history to include all 
 available patches and
 bugfixes in the source and documentation prior to the inception of the
 current Project, hsqldb. To this end, we will seek to 
 maintain in cvs a
 1.43 trunk of the code, to be included in all subsequent 
 releases. Once we
 are reasonably sure we have the history as well encapsulated 
 as we can, we
 will consign this trunk to the 'Attic' in cvs for historical 
 or possible
 rejuvenation, should the need arise.
 3. to deliver, in as much as is possible, in step with Sun 
 Microsystems
 (TM) and its Java(TM) product and the JCP, reliable, 
 production-ready code
 for use by the wider community, maintaining the 'free-gratis' and
 'free-libre' status of the code under the BSD-style license 
 mentioned above.
 To that end, we will initiate two additional branches in the 
 cvs source
 tree: 1.7 (for J2EE(TM), J2ME(TM), and attendant technology 
 and platform
 compatibility issues; leading towards hsqldb v.2.x sometime 
 in July of this
 year) and 1.9 (for Java(TM) v.1.4+, JDBC(TM) 3+ and 
 subsequent technology
 issues; leading to hsqldb v.3.x; release date as yet unspecified).
 
 To further the above goals, we have released a Release 
 Candidate of hsqldb
 v.1.60, available by anonymous FTP at
 ftp://hsqldb.sourceforge.net/pub/hsqldb/ . Please feel free 
 to download and
 examine this code, submit Featur Requests, and comment on any 
 Bugfixes,
 Patches, etc. at the Project Summary Page on SourceForge
 (http://sourceforge.net/projects/hsqldb).
 
 Please be aware that v.1.6 is to be a Developers' Release 
 only, meant to
 incorporate existing patches and bugfixes, as well as some 
 minimal added
 functionality. It will not include the extensive 
 documentation and examples
 you may be used to due to Development Team time constraints 
 and our efforts
 in archival and inclusion of previous work, as yet unarchived. That
 additional functionality will be included in v.1.62, to be 
 released within a
 month of v.1.60.
 
 Tentative Final Release of the new Project (hsqldb v.1.60) is 
 scheduled for
 Thursday, April 5th, 2001, pending approval of the Core 
 Development Team.
 
 Contact with the Development Team can be made through the 
 Project Manager at
 the link below. We (the Development Team) are in something 
 of a state of
 flux, while we organize, so please pardon our dust. 
 Corporate users of
 HypersonicSQL and others with questions about licensing may 
 direct those
 questions to the Project Manager at the link below.
 
 Michael J. Cannon
 mailto: [EMAIL PROTECTED]
 Project Manager
 hsqldb.org
 
 Copyright and Trademark Notice: Java(TM) and all derivative works are
 copyright and trademarks of Sun Microsystems. Details may be 
 found at their
 website. All others, are copyright and trademarks of thir respective
 holders.
 
 





SV: Errorpage

2001-03-29 Thread Magnus Rydin



You 
probably want to change that to read:
...
error-page
 error-code404/error-code
 location/bb/se/batborsen_error.html/location
/error-page

error-page
 exception-typejavax.servlet.jsp.JspException/exception-type
 location/bb/se/batborsen_error.html/location
/error-page

error-page
 error-code500/error-code
 location/bb/se/batborsen_error.html/location
/error-page

...
An 
error-page directive should hold *either* an error-code/ or an 
exception-type/ directive.
Check 
the Servlet 2.2 spec at page 67, which goes:

snip
The 
error-page element contains mapping between an error code or exception type to 
the path of a resource in the web application.

!ELEMENT error-page ((error-code | exception-type), 
location
/snip

WR


  -Ursprungligt meddelande-Från: Johan Fredriksson 
  [mailto:[EMAIL PROTECTED]]Skickat: den 29 mars 
  2001 07:11Till: Orion-InterestÄmne: 
  Errorpage
  I don't get it to work!!
  
  this is what my webxml looks like...
  
   
  error-page 
  error-code404/error-code 
  exception-typejavax.servlet.jsp.JspException/exception-type 
  location/bb/se/batborsen_error.html/location 
  /error-page 
  error-page 
  error-code500/error-code 
  exception-typejavax.servlet.jsp.JspException/exception-type 
  location/bb/se/batborsen_error.html/location 
  /error-page
  
  the file is referring to
  
  http://www.batborsen.com/bb/se/batborsen_error.html
  
  which works...
  
  but whenever I get an exception on the site I get 
  the file download dialog and IE says it cannot download the file.
  
  If I request a non existing html resource, I get 
  a blank page.
  
  See http://www.batborsen.com/bb/se/imtolame.html
  
  And if I force a nullpointerexception ina 
  servlet
  
  http://www.batborsen.com/bb/servlet/Search1?
  
  (this causes a nullpointer don't forget question 
  mark!)
  
  I get the file download dialog.
  
  Someone mentioned the file has to be larger than 
  512b, it is currently (1626 bytes).
  
  Please help me!
  
  
  Johan 
Fredriksson


SV: Simple web app development

2001-03-29 Thread Magnus Rydin



Its 
not so hard.
All 
you have to do is read one of the many postings on this subject throughout this 
list ;)

If you 
dont want to build an ear for your web-application, you can add it to 
orion/config/application.xml with the following line:

web-module id="mytest" path="C:\work\mytest" 
/

Then 
you just deploy your web-app to the default site by editing 
orion/config/default-web-site.xml and add the following 
line:

web-app application="default" name="mytest" 
root="/mytest"/

WR

-Ursprungligt meddelande-Från: 
Bryant Bunderson [mailto:[EMAIL PROTECTED]]Skickat: den 29 
mars 2001 17:56Till: Orion-InterestÄmne: Simple web app 
development

  I am developing several smallServlet / JSP 
  Web applications and testing them under different servers. I don't have a clue 
  how to get Orion to recognize my application unless I package it all up into 
  an EAR file and put it into the applications directory. What I want to do is 
  to point Orion to my work directory and have it run the app from there. I do 
  that now with other servers and it works just fine.
  
  For the sake of this message, I have created the 
  following structure on my Windows 2000 box.
  
  C:\work\mytest
  C:\work\mytest\index.html
  C:\work\mytest\web-inf
  C:\work\mytest\web-inf\web.xml
  
  The index.html file says 'Hello, world!' and the 
  web.xml file has the following in it:
  
  ?xml version="1.0"?
  !DOCTYPE web-app PUBLIC "-//Sun Microsystems, 
  Inc.//DTD Web Application 2.2//EN" 
  "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"
  web-app
  display-nameTest 
  Application/display-name
  /web-app
  To run the app from Tomcat I add the following 
  line to conf/server.xml:
  
  Context path="/mytest" docBase="C:/work/mytest" 
  debug="0" reloadable="true" /
  To run the app from Resin I add the following line to 
  conf/resin.conf:
  web-app id='mytest' 
  app-dir='/work/mytest'/web-app
  To runthe app from Weblogic I add the following line 
  to weblogic.properties:
  weblogic.httpd.webApp.mytest=c:/work/mytest
  I do not have a clue how to point Orion to this simple app 
  and have it run. I have tried on and off over several months with no success. 
  Why is this so hard to do?
  Bryant
  


SV: Sharing EJB's

2001-03-29 Thread Magnus Rydin
Title: SV: Sharing EJB's





I've never seen Orion deploy two copies of the ejb.jar just because you have two web-applications.
Check the ATM sample application, it holds one HTML and one WAP web-application that both uses the same ejb.


If I understand you correctly,
manipulating an entity from one web-app does not affect the same entity when viewed from the other web-app?
I can't reproduce it. 


WR


 -Ursprungligt meddelande-
 Från: Michael Gantz [mailto:[EMAIL PROTECTED]]
 Skickat: den 29 mars 2001 18:52
 Till: Orion-Interest
 Ämne: Sharing EJB's
 
 
 This should be an easy one because I think I'm simply missing 
 the point.
 
 I have an application.xml along the lines of:
 
 
 .
 
 module
 ejbMyEjb/ejb
 /module
 
 module
 web
 Web application One definition here
 /web
 /module
 
 
 module
 web
 Web application Two definition here
 /web
 /module
 
 ..
 
 
 
 I want both web applications to share the EJB instances, but 
 they don't. 
 Orion seems to deploy the EJB.jar twice, once for each 
 application. This 
 means when I find entity bean instances with the same primbary key in 
 both applications they aren't refereing to the same instance 
 in memory, 
 i.e. changes in memory don't show up.
 
 Is this the correct behaviour? And if it is, how do I get the 
 applications to share the bean?
 
 I searched all over the web and all the books I have and none show 
 examples of two applications in a '.ear' file. If I use the Orion 
 earassembler.jar application it produces the same 
 application.xml file I 
 made by hand, for whatever that's worth.
 
 I realize this is probably more of a general J2EE question 
 (at least I 
 hope it is!), but you folks on this list seem really sharp, 
 so I thought 
 you could help.
 
 Thanks in advance.
 





SV: Please help me....

2001-03-28 Thread Magnus Rydin
Title: SV: Please help me





You've got viruses.


Please don't send me any more private mails on this subject. Such mails should be directed to the Orion List, JSP List or [EMAIL PROTECTED]

WR



-Ursprungligt meddelande-
Från: waheed_rahuman [mailto:[EMAIL PROTECTED]]
Skickat: den 28 mars 2001 02:21
Till: Orion-Interest
Ämne: Please help me




Hi all,


I need a clarification regarding orion, my application is an ecommerce website
which is build fully with JSP .


When i tried to send form fields with form method='post' action='second.jsp' from first.jsp.
second.jsp is not receiveing any fields and giving me a blank page with Done in the status bar.


The total number of line in the first.jsp is more than 3500 lines
and in second.jsp total number of line is more than 2500 lines.


Does the number lines will do with this.


When method='get' same jsp file works good.


This is only happens in the site (that is in my remote orion server)
When i tried in the local machine its working good what i can do for this
any suggestion




Just of this problem i want to switch my server to JRun 
Is is it right...What you will do when you are in the same situation.
Please let me know how i can solve this problem.


Does anythird party API available for this post method.


If my question was not clear please let me know i will send you 
once again clearly.


Please help me in this regards..I am expecting your reply.


Advance thankings for your valuable reply.


Best regards
waheed











SV: Problem with Filters and RequestDispatcher in Orion 1.4.5

2001-03-23 Thread Magnus Rydin
Title: SV: Problem with Filters and RequestDispatcher in Orion 1.4.5



Orion 
invokes Fitlers on any request, which is the way it should work 
IMHO.
And 
yes, you need to move your loginPage and failedLoginPage out of the /html/* in 
order for the filter not to be invoked when opening those 
pages.
This 
is the way it should work (IMHO) per the current spec.
WR

  -Ursprungligt meddelande-Från: Anders Janmyr 
  [mailto:[EMAIL PROTECTED]]Skickat: den 23 mars 2001 
  04:02Till: Orion-InterestÄmne: SV: Problem with Filters 
  and RequestDispatcher in Orion 1.4.5
  My 
  filter and it's mapping is shown below. Tomcat does not invoke the filter when 
  the RequestDispatcher is used.
  Since the RequestDispatcher is internal it would seem 
  that it should not invoke the filters. This is however not specified in the 
  Servlet2.3 spec.
  
  As 
  you can see in this configuration the LoginPage is in the protected directory. 
  If I move it out everything works properly unless I try to include a file from 
  the protected directory. Then the filter is invoked again.
  I 
  don't think this is the way it should work.
  
  
  Anders
  
   
  filter 
  filter-nameHtmlLoginFilter/filter-name 
  filter-classcom.netpuls.servlet.LoginFilter/filter-class 
  init-param 
  param-nameloginPage/param-name 
  param-value/html/login.jsp/param-value 
  /init-param 
  init-param 
  param-namefailedLoginPage/param-name 
  param-value/html/failedLogin.jsp/param-value 
  /init-param 
  init-param 
  param-nameloginHandler/param-name 
  param-valuecom.netpuls.np.WebUser/param-value 
  /init-param /filter
   
  filter-mapping 
  filter-nameHtmlLoginFilter/filter-name 
  url-pattern/html/*/url-pattern 
  /filter-mapping
  
-Ursprungligt meddelande-Från: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]För Magnus 
RydinSkickat: den 23 mars 2001 09:46Till: 
Orion-InterestÄmne: SV: Problem with Filters and 
RequestDispatcher in Orion 1.4.5
How does your filter mapping look? Does Tomcat ivoke filters on forward/include? WR 
 -Ursprungligt meddelande-  Från: Anders Janmyr [mailto:[EMAIL PROTECTED]] 
 Skickat: den 23 mars 2001 00:25  Till: Orion-Interest  Ämne: Problem 
with Filters and RequestDispatcher in Orion 1.4.5
Hello,   I am trying 
to use filters for authenticating users. My filter uses  RequestDispatcher.forward to show a login page when the user 
needs to  authenticate himself.   This results in the filter beeing 
invoked again. It seems that the  
RequestDispatcher in orion (both forward and include) invokes 
 the filter  again. 
Tomcat does not do this. What is the correct behavior?  The spec does  not say how it should 
be working.   Any 
help would be appreciated.   Anders   



SV: killing a session

2001-03-22 Thread Magnus Rydin
Title: SV: killing a session





Oh man! You just copied his message!
Didnt you see his footer? :)


Oh damn! Now I did so too.


j/k
MR


 -Ursprungligt meddelande-
 Från: Allen Fogleson [mailto:[EMAIL PROTECTED]]
 Skickat: den 21 mars 2001 17:45
 Till: Orion-Interest
 Ämne: RE: killing a session
 
 
 HttpSession ses = request.getSession(true);
 ses.invalidate();
 
 Al
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Fernando
 DeLeon
 Sent: Wednesday, March 21, 2001 6:28 PM
 To: Orion-Interest
 Subject: killing a session
 
 
 how do u kill a session ?? :D
 
 
 





SV: Tag libraries

2001-03-22 Thread Magnus Rydin



What 
is the exact error message?
I 
normally have 3-5 taglibs in an application, and havent ever had a problem with 
it.
WR

  -Ursprungligt meddelande-Från: Thanh, Dao Chung 
  Thanh [mailto:[EMAIL PROTECTED]]Skickat: den 22 mars 
  2001 00:50Till: Orion-InterestÄmne: Tag 
  libraries
  Dear 
  Team
  
  I have Orion 
  1.4.7/JDK1.3/Windows 2000 and I have a problem when I try 
  to useseveral tag libraries in one JSP page.
  Here are my 
  code:
  
  in the JSP 
  page:
  
   %@ taglib uri="vsece-taglib" prefix="vsece" 
  % %@ taglib uri="vsdev-taglib" prefix="vsdev" 
  %
  in 
  WEB-INF/web.xml
  
   
  taglib 
  taglib-urivsece-taglib/taglib-uri 
  taglib-location/WEB-INF/lib/vsece-taglib.jar/taglib-location 
  /taglib
  
   
  taglib 
  taglib-urivsdev-taglib/taglib-uri 
  taglib-location/WEB-INF/lib/vsdev-taglib.jar/taglib-location 
  /taglib
  
  and the .jar files 
  are in WEB-INF/lib directory.
  
  But Orion seams 
  that it doesn't realize my second tag library. Would you tell me where I have 
  failed?
  
  Thanks in 
  advanced
  


SV: Orion and WARs

2001-03-22 Thread Magnus Rydin
Title: SV: Orion and WARs





Hm.
You have tried to add the .war as if it was an .ear.
Just add your .war to the /orion/config/application.xml instead.
WR


 -Ursprungligt meddelande-
 Från: Burr Sutter [mailto:[EMAIL PROTECTED]]
 Skickat: den 22 mars 2001 07:32
 Till: Orion-Interest
 Ämne: Orion and WARs
 
 
 Question: How do you use a WAR with Orion? If I update my 
 server.xml to
 point to a WAR like so
 application name=struts-logon path=../struts-logon.war /
 
 It complains about the lack of a META-INF and an 
 application.xml. A War
 doesn't normally require those folders/files, they are for 
 EARs. I'd like my
 WARs to be portable and other J2EE engines don't require a
 META-INF/application.xml in a WAR.
 
 I'm running Orion 1.4.5.
 
 It must be something simple.
 
 Burr
 [EMAIL PROTECTED]
 
 
 





SV: Orion and WARs

2001-03-22 Thread Magnus Rydin
Title: SV: Orion and WARs





Just a warning. That lesson is no longer updated/supported.
The information about deploying .war files will be moved into the /doc/ section instead.
WR


 -Ursprungligt meddelande-
 Fran: Lawrence Sewell [mailto:[EMAIL PROTECTED]]
 Skickat: den 22 mars 2001 09:20
 Till: Orion-Interest
 Amne: Re: Orion and WARs
 
 
 Question: How do you use a WAR with Orion?
 
 I used the info in 
 http://www.orionserver.com/tutorials/taglibs/lesson9/ to 
 deploy war files with Orion.
 
 





SV: Tag libraries

2001-03-22 Thread Magnus Rydin



You 
can either reference a tag library descriptor or an tag library archive in 
web.xml.
Some 
application servers are lacking this basic functionality, but not 
Orion.
See 
the specifications for more details.
WR

  -Ursprungligt meddelande-Från: Burr Sutter 
  [mailto:[EMAIL PROTECTED]]Skickat: den 22 mars 2001 
  07:56Till: Orion-InterestÄmne: Re: Tag 
  libraries
  Normally taglib-location (in web.xml) points to a 
  .tld file, tag library descriptor also in web-inf.
  
  taglib-location/WEB-INF/xyz.tld/taglib-location
  
  I've not seen this point to a jar in web-inf/lib 
  before. Perhaps that works but I've not seen it.
  
  Burr
  [EMAIL PROTECTED]
  
- Original Message - 
From: 
Thanh, Dao Chung Thanh 

To: Orion-Interest 
Sent: Thursday, March 22, 2001 3:50 
AM
Subject: Tag libraries

Dear 
Team

I have Orion 
1.4.7/JDK1.3/Windows 2000 and I have a problem when I try 
to useseveral tag libraries in one JSP page.
Here are my 
code:

in the JSP 
page:

 %@ taglib uri="vsece-taglib" 
prefix="vsece" % %@ taglib uri="vsdev-taglib" 
prefix="vsdev" %
in 
WEB-INF/web.xml

 
taglib 
taglib-urivsece-taglib/taglib-uri 
taglib-location/WEB-INF/lib/vsece-taglib.jar/taglib-location 
/taglib

 
taglib 
taglib-urivsdev-taglib/taglib-uri 
taglib-location/WEB-INF/lib/vsdev-taglib.jar/taglib-location 
/taglib

and the .jar 
files are in WEB-INF/lib directory.

But Orion seams 
that it doesn't realize my second tag library. Would you tell me where I 
have failed?

Thanks in 
advanced



SV: Orion and WARs

2001-03-22 Thread Magnus Rydin
Title: SV: Orion and WARs





Well,
orion/config/application.xml is more or less a normal unpackaged application with a (little bit different) descriptor located in the orion/config/ directory instead of under /applications/default/META-INF.

So what the lines below do is att the web-modules the the global-application named default and then deploy these web-apps on the default-web-site.


 -Ursprungligt meddelande-
 Fran: KirkYarina [mailto:[EMAIL PROTECTED]]
 Skickat: den 22 mars 2001 12:36
 Till: Orion-Interest
 Amne: RE: Orion and WARs
 
 
 Sorry, but that's the wrong answer. The old struts deployed 
 directly from 
 their war files (we never tried anything newer), using the following:
 
 In $ORIONDIR/config/application.xml :
 
 web-module id=strutsDoc
 
 path=../../jakarta-struts-0.5/webapps/struts-documentation.war /
 
 web-module id=strutsExample
 path=../../jakarta-struts-0.5/webapps/struts-example.war /
 
 web-module id=strutsTest
 path=../../jakarta-struts-0.5/webapps/struts-test.war /
 
 
 and in $ORIONDIR/config/default-web-site.xml :
 
 web-app application=default
 name=strutsDoc root=/struts-documentation/
 
 web-app application=default
 name=strutsExample root=/struts-example/
 
 web-app application=default
 name=strutsTest root=/struts-test/
 
 HTH
 
 Kirk Yarina
 
 At 11:09 AM 3/22/01 -0800, you wrote:
 
 Orion only knows about EAR files. Wrap your WAR up in an EAR.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Burr Sutter
 Sent: Thursday, March 22, 2001 7:32 AM
 To: Orion-Interest
 Subject: Orion and WARs
 
 
 Question: How do you use a WAR with Orion? If I update my 
 server.xml to
 point to a WAR like so
 application name=struts-logon path=../struts-logon.war /
 
 It complains about the lack of a META-INF and an 
 application.xml. A War
 doesn't normally require those folders/files, they are for 
 EARs. I'd like my
 WARs to be portable and other J2EE engines don't require a
 META-INF/application.xml in a WAR.
 
 I'm running Orion 1.4.5.
 
 It must be something simple.
 
 Burr
 [EMAIL PROTECTED]
 
 





SV: Simultaneous Username/Password Detection

2001-03-22 Thread Magnus Rydin
Title: SV: Simultaneous Username/Password Detection





Or use the Orion tag ifInrole (see http://www.orionserver.com/tags/utiltags/)
WR


 -Ursprungligt meddelande-
 Från: Vaskin Kissoyan [mailto:[EMAIL PROTECTED]]
 Skickat: den 22 mars 2001 21:39
 Till: Orion-Interest
 Ämne: Re: Simultaneous Username/Password Detection
 
 
 The new Oreilly book JavaServer Pages has a great way of doing
 authentication with a tag and the existance of a validUser 
 bean in the
 session scope. It properly produces the original URL and is container
 independant.
 
 - Original Message -
 From: David Morton [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, March 22, 2001 9:47 PM
 Subject: Simultaneous Username/Password Detection
 
 
 
  I am building a system that protects content by username 
 and password. No
  problem there. The more complicated part of the system prevents two
 people
  using the same username and password at the same time on 
 our web site. I
  have a plan to do this, but I haven't seen if there are any common
  methods/techniques/strategies/design patterns to do this in a jsp
  environment. Nor do any of our developers have any 
 experience in doing
 this.
  Currently, I am just going to store server generated sessionId's and
  userId's with other necessary data/time checks..of 
 course the user
 must
  be able to take over use of that username and password 
 because the browser
  may crash...or they forget to hit logoutand also I must 
 flag when this
  happens too many times in a period of time as a red 
 flagobviously with
  an html web site, there is no 100% accurate way to only 
 have one user
 using
  the site at once, however, I can build it well enough that 
 95% of the
 users
  that are giving out their passwords won't because it is 
 annoying to keep
  re-logging in and being locked out for an hour if you trip 
 one of our red
  flags.thoughts? experiences?
  This is not for a porn site, however, I bet that porn people have
  something like this.
 
  David
 
 
 





SV: Customizing the web authentication service

2001-03-18 Thread Magnus Rydin
Title: Customizing the web authentication service



Take a 
look at 
http://www.orionsupport.com/articles/datasourceusermanager.html
WR

  -Ursprungligt meddelande-Från: Ben Warner 
  [mailto:[EMAIL PROTECTED]]Skickat: den 18 mars 2001 
  20:00Till: Orion-InterestÄmne: Customizing the web 
  authentication service
  Hi, 
  I'm trying to do something simple but I'm 
  frustrated by my lack of success in finding information about it. I have 
  scoured the list, the web, J2EE doco and would appreciate any information that 
  may help me. Thanks in advance.
  I'm running a J2EE application in orion using form 
  based authentication. The problem is that users are authenticated by the 
  webserver according to the contents of the principals.xml file for my 
  application. In my application users (including username  password) are 
  stored in the database and I don't want to use the principals.xml file to 
  store all my user logins.
  What I want is for the webserver to call my own 
  custom authentication method to authenticate the user and let me decide if the 
  login is valid or not and set the appropriate user principal in the session if 
  it is valid. I'm sure this has been done a million times... I must be looking 
  in the wrong places...
  Thanks again, bw. 


SV: Problems with JNDI lookups of ejb-ref-name defined in application-client.xml from a client application...

2001-03-16 Thread Magnus Rydin
Title: SV: Problems with JNDI lookups of ejb-ref-name defined in application-client.xml  from a client application...





Did you try looking up java:comp/env/ejb/id ?
WR


 -Ursprungligt meddelande-
 Från: Alex Paransky [mailto:[EMAIL PROTECTED]]
 Skickat: den 15 mars 2001 14:11
 Till: Orion-Interest
 Ämne: Problems with JNDI lookups of ejb-ref-name defined in
 application-client.xml from a client application...
 
 
 I have a client application which has META-INF with the following
 application-client.xml definition:
 
 application-client
 ejb-ref
 ejb-ref-nameejb/id/ejb-ref-name
 ejb-ref-typeSession/ejb-ref-type
 homecom.indnet.model.id.IdSessionHome/home
 remotecom.indnet.model.id.IdSession/remote
 ejb-linkId/ejb-link
 /ejb-ref
 /application-client
 
 In the client, I attempt to do the following:
 
 new InitialContext().lookup(ejb/id);
 
 The above fails with the naming exception, telling me that 
 ejb/id cannot be
 found:
 
 Exception in thread main 
 javax.naming.NameNotFoundException: ejb/id not
 found
 at com.evermind.server.rmi.RMIContext.lookup(JAX)
 at com.evermind.naming.jz.lookup(JAX)
 at javax.naming.InitialContext.lookup(InitialContext.java:350)
 at com.indnet.model.id.test.Client.main(Client.java:16)
 
 If I change my client line to read:
 
 new InitialContext().lookup(Id);
 
 Things work correctly. Id is the ejb-name used for my object:
 
 enterprise-beans
 session
 ejb-nameId/ejb-name
 homecom.indnet.model.id.IdSessionHome/home
 remotecom.indnet.model.id.IdSession/remote
 ejb-classcom.indnet.model.id.IdSessionBean/ejb-class
 session-typeStateless/session-type
  ...
 
 What is the purpose of application-client.xml if I cannot 
 create references
 and use the name specified in ejb-ref-name to lookup the 
 components? Or
 am I missing something?
 
 Thanks.
 -AP_
 
 
 





SV: Problem in Executing the First Example given in the Orion taglib-tutorial Documentation !!

2001-03-12 Thread Magnus Rydin



I 
noticed that lesson 1 says 'mytags.tld' at one location and 'taglib.tld' at 
another.
I will 
fix this this evening.
Could 
this be the source to your problems? 
If you 
have named your taglib file 'taglib.tld' make sure that you use that name when 
referencing it too.
WR

  -Ursprungligt meddelande-Från: srinivas 
  [mailto:[EMAIL PROTECTED]]Skickat: den 12 mars 2001 
  17:49Till: Orion-InterestÄmne: Re: Problem in Executing 
  the First Example given in the Orion taglib-tutorial Documentation 
  !!
  Hi Magnus Rydin, 
  Here is the file which u want to have a look on 
  it.
  Here is the taglib.tld file , Please check 
  whether it has any errors.
  
  Taglib.tld file
  
  
  ?xml version="1.0" encoding="ISO-8859-1" 
  ?  !DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD 
  JSP Tag Library 1.1//EN"  "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd" 
  
  
   taglib 
  tlibversion1.0/tlibversion  
  jspversion1.1/jspversion  
  shortnamemt/shortname  
  urihttp://www.orionserver.com/tutorials/uri  
  infoMy first Tag library/info 
  
   tag namehelloWorld/name 
   tagclasscom.acme.tag.HelloWorldTag/tagclass 
   bodycontentempty/bodycontent  
  infoA Hello world Tag/info  /tag
  
   /taglib
  
  
  -- end of file
  
  
  CH.Srinivas BabuJava Application DeveloperPh: 006027189333 Extn - 
  8224Mobile : 0060173837232
  
- Original Message - 
From: 
Magnus Rydin 
To: Orion-Interest 
Sent: Monday, March 12, 2001 3:50 
PM
Subject: SV: Problem in Executing the 
First Example given in the Orion taglib-tutorial Documentation !!

It 
sounds like your tag library descriptor has faults. Please include your 
taglib.tld and we can have a look at it.
WR

  -Ursprungligt meddelande-Från: srinivas 
  [mailto:[EMAIL PROTECTED]]Skickat: den 11 mars 2001 
  20:34Till: Orion-InterestKopia: [EMAIL PROTECTED]Ämne: 
  Problem in Executing the First Example given in the Orion taglib-tutorial 
  Documentation !!
  
  Hi,
  
  I have downloaded the Helloworld.jsp, 
  taglib.tld and helloworld .java compiled and got helloworld.class 
  .
  and created the same directory structure as 
  mentioned in the documentation of taglib-tutorial. I could able to compile 
  HelloWorld.java
  when i run the HelloWorld.jsp , it produces 
  the following error :
  
  500 Internal Server Errorjava.lang.IllegalArgumentException: Error parsing tag-library file:/D:/orion/applications/nbizdev/niagabiz-web/Web-inf/taglib.tld: XML declaration may only begin entities.
	at javax.servlet.jsp.tagext.TagLibraryInfo.init(TagLibraryInfo.java)
	at com.evermind.server.http.TagLibraryArchive.init(JAX)
	at com.evermind.server.http.TagLibraryArchive.r9(JAX)
	at com.evermind.server.http.d_.r3(JAX)
	at com.evermind.server.http.HttpApplication.r3(JAX)
	at com.evermind.server.http.eg.tn(JAX)
	at com.evermind.server.http.eg.sm(JAX)
	at com.evermind.server.http.JSPPage.sm(JAX)
	at com.evermind.server.http.HttpApplication.v4(JAX)
	at com.evermind.server.http.HttpApplication.w5(JAX)
	at com.evermind.server.http.JSPServlet.service(JAX)
	at com.evermind.server.http.d1.si(JAX)
	at com.evermind.server.http.d1.forward(JAX)
	at com.evermind.server.http.ed.sp(JAX)
	at com.evermind.server.http.ed.so(JAX)
	at com.evermind.util.f.run(JAX)
I tried a lot to find out the cause of this problem. But could not succeed. I wasted 2 full days in rectifying this problem. Please help me. this Problem is making me mad...thanks a lot.Srinivas
  
  
  
  
  
  
  


SV: Problem in Executing the First Example given in the Orion taglib-tutorial Documentation !!

2001-03-11 Thread Magnus Rydin



It 
sounds like your tag library descriptor has faults. Please include your 
taglib.tld and we can have a look at it.
WR

  -Ursprungligt meddelande-Från: srinivas 
  [mailto:[EMAIL PROTECTED]]Skickat: den 11 mars 2001 
  20:34Till: Orion-InterestKopia: 
  [EMAIL PROTECTED]Ämne: Problem in Executing the First Example 
  given in the Orion taglib-tutorial Documentation !!
  
  Hi,
  
  I have downloaded the Helloworld.jsp, taglib.tld 
  and helloworld .java compiled and got helloworld.class .
  and created the same directory structure as 
  mentioned in the documentation of taglib-tutorial. I could able to compile 
  HelloWorld.java
  when i run the HelloWorld.jsp , it produces the 
  following error :
  
  500 Internal Server Errorjava.lang.IllegalArgumentException: Error parsing tag-library file:/D:/orion/applications/nbizdev/niagabiz-web/Web-inf/taglib.tld: XML declaration may only begin entities.
	at javax.servlet.jsp.tagext.TagLibraryInfo.init(TagLibraryInfo.java)
	at com.evermind.server.http.TagLibraryArchive.init(JAX)
	at com.evermind.server.http.TagLibraryArchive.r9(JAX)
	at com.evermind.server.http.d_.r3(JAX)
	at com.evermind.server.http.HttpApplication.r3(JAX)
	at com.evermind.server.http.eg.tn(JAX)
	at com.evermind.server.http.eg.sm(JAX)
	at com.evermind.server.http.JSPPage.sm(JAX)
	at com.evermind.server.http.HttpApplication.v4(JAX)
	at com.evermind.server.http.HttpApplication.w5(JAX)
	at com.evermind.server.http.JSPServlet.service(JAX)
	at com.evermind.server.http.d1.si(JAX)
	at com.evermind.server.http.d1.forward(JAX)
	at com.evermind.server.http.ed.sp(JAX)
	at com.evermind.server.http.ed.so(JAX)
	at com.evermind.util.f.run(JAX)
I tried a lot to find out the cause of this problem. But could not succeed. I wasted 2 full days in rectifying this problem. Please help me. this Problem is making me mad...thanks a lot.Srinivas
  
  
  
  
  
  
  


SV: Warning: Dependent Objects

2001-03-08 Thread Magnus Rydin
Title: SV: Warning:  Dependent Objects





Personally,
I already hate the distinction between local and remote EJBs.
Any such distinction could be handled by a descriptor. It shouldnt force the developer to develop different classed depending on local or remote usage.. That sucks so bad my teeth hurt.

WR


 -Ursprungligt meddelande-
 Från: Jeff Schnitzer [mailto:[EMAIL PROTECTED]]
 Skickat: den 8 mars 2001 08:56
 Till: Orion-Interest
 Ämne: Warning: Dependent Objects
 
 
 Heads up:
 
 If you're using (or planning to use) Orion's support for EJB2.0
 dependent objects, you should take note of this thread on the
 ejb-interest list.
 
 Jeff
 
 -Original Message-
 From: Sean Neville [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 08, 2001 7:34 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Article on dependent objects
 
 
 Dependent objects have already been marked for removal from the spec;
 moreover, local entities -- probably at least as controversial -- have
 been
 introduced both as a partial replacement for pieces of the dependent
 object
 concept and to solve the need to permit parameter pass-by-reference.
 
 I would guess that the next pfd of the spec (and probably another
 article
 from Tyler, followed by another series of intelligent reviews 
 from Dan,
 Gene, and others on this list) should surface by late April, 
 but in the
 interests of spreading the info as early as possible to those 
 who don't
 happen to work for a vendor and thus already have this info (power to
 the
 people), here is a quick and completely unofficial 
 description of local
 vs.
 remote EJB's as posed to us in another discussion. It is obviously
 subject
 to change, and only the EJB and J2EE specs are in any way definitive.
 
 Local
 -
 Access only with scope of PM
 No Transaction attribute
 No Security check
 Can expose CMP and CMR fields and local refs
 PBR parameters
 Local exception model
 Signatures use full Java type system
 Typically fine grained methods
 High coupling due to PBV side affects and fine grained exposure
 
 Remote
 --
 Global access
 Requires Transaction attribute
 Requires Security check
 Prohibits exposure of CMP and CMR fields and local refs
 PBV parameters
 Container interposed exceptions
 Signatures restricted to RMI-IIOP compatible types
 Typically coarse grained methods
 As loosely coupled as a procedural object can get
 
 
 
 -Original Message-
 From: A mailing list for Enterprise JavaBeans development
 [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Christopherson
 Sent: Friday, March 02, 2001 12:47 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Article on dependent objects
 
 
 On Thu, 1 Mar 2001, Alex Smith wrote:
 
  Dan O'Connor [EMAIL PROTECTED] writes:
 
  Tyler Jewell, the BEA training director for Java and XML
  technologies, yesterday published an article called What's Wrong
  with the EJB 2 Specification at
  http://www.onjava.com/pub/a/onjava/2001/02/28/ejb.html. In this
  article, he identifies dependent objects as what is 
 wrong with the
  EJB 2 specification.
 
  Good article. I do agree that Tyler's objections are misplaced.
 
  First, I would like to correct what I believe was a fairly basic
  technical mistake in Tyler's article. He says, Dependent objects
  don't require primary keys. I would like to suggest that the
  opposite is the case, and I cite from 9.4.4.1 in the spec (proposed
  final draft): The dependent object class instance must have a
  primary key value that is unique across all instances of the
  dependent object class.
 
  This is a mistake in the spec rather than the article -- dependent
 objects
  should not have an identity of their own else they would no 
 longer be
  dependent. If you use a relational model to color your perception of
 the
  world, a dependent object may or may not have its own (i.e. not
 composed
  from the keys of its parent) primary key. Some data modeling
 methodologies
  recommend creating a unique physical key for each and every 
 entity, a
  practice I don't subscribe to. On the other hand if you 
 think in terms
 of
  objects, a dependent object belongs to the parent and 
 therefore cannot
 have
  an identity other than that of its parent.
 I'd say that the dependent object has no identity that is meaningful
 outside of the context of its parent. If you have three dependent
 instances of the same class associated with the same parent, they must
 have their own identities if you do not consider them 
 equivalent, right?
 
 
  I think the spec should provide support for dependent objects with a
 primary
  key but not require it.
 
  The rest of Dan's comments are right on target.
 
  Alex Smith
  Insight LLC
  _
  Get your FREE download of MSN Explorer at http://explorer.msn.com
 
 
 ==
 ==
 ===
  To unsubscribe, send email to [EMAIL PROTECTED] and 
 include in the
 body
  of the message 

SV: Orion with Apache.

2001-03-08 Thread Magnus Rydin
Title: SV: Orion with Apache.





Hi.
check out http://www.orionsupport.com/articles/apachefrontend.html
and please dont sent questions like these to my personal mail.
WR


 -Ursprungligt meddelande-
 Fran: Harsh Vinod Mohta [mailto:[EMAIL PROTECTED]]
 Skickat: den 8 mars 2001 23:04
 Till: Orion-Interest
 Amne: Orion with Apache.
 
 
 hi,
 
 Does Orion application Server provide support for Apache Web Server on
 WinNT platform?
 I would appreciate if you could suggest some pointers to
 information regarding integration of Orion with Apache Web Server on
 WinNT platform.
 
 Regards,
 Harsh
 
 
 
 





  1   2   3   >