RE: Reloading Class Files

2001-09-20 Thread Mike Cannon-Brookes

Sure, simply at development=true to your orion-web.xml file.

See http://www.orionserver.com/docs/orion-web.xml.html

-mike


Mike Cannon-Brookes :: [EMAIL PROTECTED] 

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



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Dave Ford
 Sent: Thursday, September 20, 2001 12:35 PM
 To: Orion-Interest
 Subject: Reloading Class Files
 
 
 Is there a way to make Orion reload the latest version of the class EVERY
 TIME. Specifically I'm referring to Beans that are used by JSP files.
 
 This is to make development more convenient so I don't have to 
 restart Orion
 after every change.
 
 Thanks,
 
 Dave Ford
 Smart Soft - The Java Training Company
 http://www.smart-soft.com
 
 




network adapter could not establish the connection...Oracle connectivity error

2001-09-20 Thread vasanth kumar

hi
  i get this network adapter adapter could not establish the connection 
error whenever i go for connecting any piece of code with oracle.it's pretty 
calm with other databases.solve me with this problem please.
  thanks and regards.


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





RE: Help me

2001-09-20 Thread John . Miller



Did 
youcopy tools.jar (from your jdk) into your Orion 
directory?

  -Original Message-From: nguyen dinh uong 
  [mailto:[EMAIL PROTECTED]]Sent: 20 September 2001 
  12:28To: Orion-InterestSubject: Help 
  me
  I have to meet some error when I deploy /demo/ejb I hope You can help 
  me First error .This is appear when I use java -jar orion.jar 
  /*Auto-deploying product (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/product/: Error instantiating compiler: 
  Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the 
  orion dir or add a librarypath="the/path/to/tools.jar" / and 
  restartAuto-deploying cart (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/cart/: Error instantiating compiler: 
  Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the 
  orion dir or add a library path="the/path/to/tools.jar" / and 
  restartAuto-deploying usermanager (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/usermanager/: Error instantiating 
  compiler: Javac not installed, copy tools.jar from your sun JDK dir's lib 
  dir to the orion dir or add a library path="the/path/to/tools.jar" 
  / and restartAuto-deploying product... Error instantiating application 
  'ejbsamples' at file:/C:/orion/demo/ejb/: Error auto-deploying 
  application-client at product: No location specified and no suitable 
  instance of the type 'Product' found for the ejb-ref 
  MyProductOrion/1.4.5 initialized*/Second error .when I use command 
  java -classpath ../../../orion.jar;../../../ejb.jar;../../../jndi.jar;. 
  CartClient/*Exception in thread "main" java.lang.SecurityException: 
  Invalid username/password for ejbsamples 
  (admin) at 
  com.evermind.server.rmi.ba.gl(JAX) 
  at 
  com.evermind.server.rmi.ba.gl(JAX) 
  at 
  com.evermind.server.rmi.ba.f4(JAX) 
  at com.evermind.server.rmi.RMIServer.f4(JAX, Compiled 
  Code) at 
  com.evermind.server.rmi.RMIContext.lookup(JAX) 
  at 
  com.evermind.server.administration.LazyResourceFinder.f4(JAX) 
  at com.evermind.server.administration.LazyResourceFinder.getEJBHome(JAX)
   at 
  com.evermind.server.Application.aq8(JAX, Compiled 
  Code) at 
  com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(JAX, 
  Compiled Code) at 
  javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671) 
  at 
  javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242) 
  at 
  javax.naming.InitialContext.init(InitialContext.java:218) 
  at 
  javax.naming.InitialContext.init(InitialContext.java:174) 
  at CartClient.main(CartClient.java:17)
  */I don't know I'll have to continune how Thank you very much 
  Uo^ng Dinh Nguyen 
  - 
  Get your private, free Email by Vietnamese at http://vol.vnn.vn 



Problems accessing remote EJBs

2001-09-20 Thread Klaus Thiele

Hi all,
(it drives me crazy...)

i'm trying to access some ejbs from my webapp on another orion-server.

1) my application-client (with application-client.xml) works fine.
   
jndi_props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,com.evermind.server.ApplicationClientInitialContextFactory);
...
   initial = new InitialContext(jndi_props); = Ok.
   rootctx = (Context)initial.lookup(java:comp/env);
   System.out.println(rootctx: +rootctx.toString());  == shows the contents of 
application-client.xml (=Context), Ok.

2) same source but (servlet or jsp-page(attached))
   
jndi_props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,com.evermind.server.rmi.RMIInitialContextFactory);
...
   initial = new InitialContext(jndi_props);  = Ok.
   rootctx = (Context)initial.lookup(java:comp/env);
   System.out.println(rootctx: +rootctx.toString());
   == Exception: java:comp/env not found

Did i miss something? - where to get the Context? - whats wrong?

3) same as 2)  but calling 
   initial = new InitialContext();  = local access
   rootctx = (Context)initial.lookup(java:comp/env);
   System.out.println(rootctx: +rootctx.toString());  == shows 
webapp.war/web.xml (=Context), Ok.

tia
  klaus

btw:
  rmi.xml:  server host=196.129.237.124 port=23791 username=admin 
password=secure/
  orion-application.xml: ejb-module remote=true path=ejb-jar.jar /
works (for all ejbs) if _both_ servers are 1.5.2 or oc4j-1.0.2.2.1.
but then there are other bugs

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

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


%@ page language=java%

%@ page import=java.util.Properties %
%@ page import=java.util.Hashtable %
%@ page import=javax.naming.Context %
%@ page import=javax.naming.InitialContext %
%@ page import=javax.rmi.PortableRemoteObject %
%@ page import=javax.ejb.* %
%@ page import=com.PIAG.ejb.entity.* %
%@ page import=com.PIAG.ejb.session.* %

%
response.setHeader(Pragma, No-cache);
response.setHeader(Cache-Control, no-cache);
response.setDateHeader(Expires, 1);
%

html
  head
titleTestIt/title
  /head
  body
%
  Context  initial = null;
  Context  rootctx = null;
  SettingsHome setHome = null;
  Settings set = null;
  Hashtable jndi_props = new Hashtable();

  
jndi_props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,com.evermind.server.rmi.RMIInitialContextFactory);
  jndi_props.put(javax.naming.Context.SECURITY_PRINCIPAL,admin);
  jndi_props.put(javax.naming.Context.SECURITY_CREDENTIALS,secure);
  
jndi_props.put(javax.naming.Context.PROVIDER_URL,ormi://196.129.237.124:23791/testapp);
  //jndi_props.put(dedicated.connection,true);
  %
   %= javax.naming.Context.INITIAL_CONTEXT_FACTORY%: %= 
jndi_props.get(javax.naming.Context.INITIAL_CONTEXT_FACTORY)%br
   %= javax.naming.Context.PROVIDER_URL%: %= 
jndi_props.get(javax.naming.Context.PROVIDER_URL)%brbr
  %
  try {
 //initial = new InitialContext();
 initial = new InitialContext(jndi_props);
 rootctx = (Context)initial.lookup(java:comp/env);
 %
  %=initial.toString()%br
  %=rootctx.toString()%br
 %
  } catch (Exception e) {
 %
  Oops1: %=e.getMessage()%br
 %
  }

  try {
 Object objref   = rootctx.lookup(ejb/Settings);
 //Object objref   = initial.lookup(java:comp/env/ejb/Settings);
 setHome = (SettingsHome)PortableRemoteObject.narrow(objref, 
SettingsHome.class);
 %
  %=objref.toString()%br
 %
  } catch (Exception e) {
 %
  Oops2: %=e.getMessage()%br
 %
  }

  Properties props = null;

  try {
 set = setHome.create(ZAPPA, Settings.LOGA);
 %
  %=set.toString()%br
 %

 /* props = set.getProperties();
 %
  props=%=props.toString()%br
 % */

 set.setValue(ak,NET);
 set.setValue(pnr,1);
 set.setValue(vertnr,1);
 set.setValue(naname,Duck);
 set.setValue(vorname,Donald);

 props = set.getProperties();
 %
  props=%=props.toString()%br
 %

 set.save();
 set.remove();
  } catch( Exception e ) {
 %
  Oops3: %=e.getMessage()%br
 %
  }


%
  /body
/html



RE: network adapter could not establish the connection...Oracle connectivity error

2001-09-20 Thread Prashant Gaikwad

You need to install oracle client in the client m/c is u are usinfg type 4
driver OCI. This allows your client to use sqlnet for DB connetion. Check if
you are able to connect to DB via SQLPLUS. How ever If u are usinf type 2
driver u don't need to have oracle client installed.


-Original Message-
From: vasanth kumar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 2:11 PM
To: Orion-Interest
Subject: network adapter could not establish the connection...Oracle
connectivity error


hi
  i get this network adapter adapter could not establish the connection 
error whenever i go for connecting any piece of code with oracle.it's pretty

calm with other databases.solve me with this problem please.
  thanks and regards.


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





Re: Help me

2001-09-20 Thread muthukumarasamy rajamanickam

Please read the error itÂ’s having all the solution to
fix your problem

--- nguyen dinh uong [EMAIL PROTECTED] wrote:

HR
PI have to meet some error when I deploy /demo/ejb
BRI hope You can help me BRFirst
error .This is appear when I use BRjava -jar
orion.jar BR/*BRAuto-deploying product
(No previous deployment found)... Error compiling
file:/CBR:/orion/demo/ejb/product/:
Error instantiating compiler: Javac not installed,
coBRpy tools.jar from your sun JDK
dir's lib dir to the orion dir or add a
lt;libraryBRpath=the/path/to/tools.jar /gt;
and restartBRAuto-deploying cart (No previous
deployment found)... Error compiling
file:/C:/oBRrion/demo/ejb/cart/: Error instantiating
compiler: Javac not installed, copy
tooBRls.jar from your sun JDK dir's lib dir to the
orion dir or add a lt;library
path=BRthe/path/to/tools.jar /gt; and
restartBRAuto-deploying usermanager (No
previous deployment found)... Error compiling
filBRe:/C:/orion/demo/ejb/usermanager/:
Error instantiating compiler: Javac not instaBRlled,
copy tools.jar from your sun JDK
dir's lib dir to the orion dir or add a
lt;BRlibrary path=the/path/to/tools.jar /gt;
and restartBRAuto-deploying product... Error
instantiating application 'ejbsamples' at
file:/BRC:/orion/demo/ejb/: Error auto-deploying
application-client at product: No
locatBRion specified and no suitable instance of the
type 'Product' found for the
ejb-rBRef MyProductBROrion/1.4.5
initializedBR*/BRSecond error .when I use command
BRjava -classpath
../../../orion.jar;../../../ejb.jar;../../../jndi.jar;.
CartClientBR/*BRException in thread main
java.lang.SecurityException: Invalid
username/password for ejbsamples
(admin)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
com.evermind.server.rmi.ba.gl(JAX)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
com.evermind.server.rmi.ba.gl(JAX)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
com.evermind.server.rmi.ba.f4(JAX)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
com.evermind.server.rmi.RMIServer.f4(JAX, Compiled
Code)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; at
com.evermind.server.rmi.RMIContext.lookup(JAX)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
com.evermind.server.administration.LazyResourceFinder.f4(JAX)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
com.evermind.server.administration.LazyResourceFinder.getEJBHome(JAX)/P
Pnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; at
com.evermind.server.Application.aq8(JAX,
Compiled
Code)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; at
com.evermind.server.ApplicationClientInitialContextFactory.getInitialBRContext(JAX,
Compiled
Code)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6BR71)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242BR)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
javax.naming.InitialContext.init(InitialContext.java:218)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
javax.naming.InitialContext.lt;initgt;(InitialContext.java:174)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at CartClient.main(CartClient.java:17)/P
P*/BRI don't know I'll have to continune how
BRThank you very much BRUo^ng Dinh
Nguyen /P

-

Get your private, free Email by Vietnamese at
http://vol.vnn.vn





Regards
Muthu Rajamanickam
e-mail:[EMAIL PROTECTED]
Phone:832-567-7859

__
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/




RE: Help me

2001-09-20 Thread Kesav Kumar



For 
error 1) You have to copy tools.jar to c:\orion directory
For 
error 2) You have to provide jndi.properties for accessing client. You 
have to provide username/password for JNDI lookup.

Kesav Kumar Kolla Voquette Inc 650 356 3740(W) 
510 889 6840(R) VoquetteDelivering Sound Information 
Send Instant 
Message 

  -Original Message-From: nguyen dinh uong 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, September 20, 2001 4:28 
  AMTo: Orion-InterestSubject: Help 
me
  I have to meet some error when I deploy /demo/ejb I hope You can help 
  me First error .This is appear when I use java -jar orion.jar 
  /*Auto-deploying product (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/product/: Error instantiating compiler: 
  Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the 
  orion dir or add a librarypath="the/path/to/tools.jar" / and 
  restartAuto-deploying cart (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/cart/: Error instantiating compiler: 
  Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the 
  orion dir or add a library path="the/path/to/tools.jar" / and 
  restartAuto-deploying usermanager (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/usermanager/: Error instantiating 
  compiler: Javac not installed, copy tools.jar from your sun JDK dir's lib 
  dir to the orion dir or add a library path="the/path/to/tools.jar" 
  / and restartAuto-deploying product... Error instantiating application 
  'ejbsamples' at file:/C:/orion/demo/ejb/: Error auto-deploying 
  application-client at product: No location specified and no suitable 
  instance of the type 'Product' found for the ejb-ref 
  MyProductOrion/1.4.5 initialized*/Second error .when I use command 
  java -classpath ../../../orion.jar;../../../ejb.jar;../../../jndi.jar;. 
  CartClient/*Exception in thread "main" java.lang.SecurityException: 
  Invalid username/password for ejbsamples 
  (admin) at 
  com.evermind.server.rmi.ba.gl(JAX) 
  at 
  com.evermind.server.rmi.ba.gl(JAX) 
  at 
  com.evermind.server.rmi.ba.f4(JAX) 
  at com.evermind.server.rmi.RMIServer.f4(JAX, Compiled 
  Code) at 
  com.evermind.server.rmi.RMIContext.lookup(JAX) 
  at 
  com.evermind.server.administration.LazyResourceFinder.f4(JAX) 
  at com.evermind.server.administration.LazyResourceFinder.getEJBHome(JAX)
   at 
  com.evermind.server.Application.aq8(JAX, Compiled 
  Code) at 
  com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(JAX, 
  Compiled Code) at 
  javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671) 
  at 
  javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242) 
  at 
  javax.naming.InitialContext.init(InitialContext.java:218) 
  at 
  javax.naming.InitialContext.init(InitialContext.java:174) 
  at CartClient.main(CartClient.java:17)
  */I don't know I'll have to continune how Thank you very much 
  Uo^ng Dinh Nguyen 
  - 
  Get your private, free Email by Vietnamese at http://vol.vnn.vn 



Re: Problems accessing remote EJBs

2001-09-20 Thread Klaus Thiele

Hi Kesav,

thanks for help, but it does not work (1.5.2 and 1.0.2.2.1)

klaus


Am Donnerstag, 20. September 2001 16:17 schrieben Sie:
 This is what exactly I also observer long back.

 In your first senario every thing works fine

 If you want to access remote ejb from jsp/servlets there is a small
 difference.

 1)The lookup should not be java:comp/env/  the lookup should be
 directly to the ejb name.
 2)You should not use PortableRemoteObject.narrow() after lookup.


 Example.
 If your ejb name is ejb/MyEJB

 Inside jsp/servlet
 jndi_props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,com.ever
mind.se rver.rmi.RMIInitialContextFactory);
 
 Context ctx = new InitialContext(jndi_props);
 Home home = (Home)ctx.lookup(ejb/MyEJB);   //You get directly the
 reference to the home object
 Remote remote = homre.create();
 remote.invoke();



 Kesav Kumar Kolla
 Voquette Inc
 650 356 3740(W)
 510 889 6840(R)
 VoquetteDelivering Sound Information


 -Original Message-
 From: Klaus Thiele [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 20, 2001 3:02 AM
 To: Orion-Interest
 Subject: Problems accessing remote EJBs


 Hi all,
 (it drives me crazy...)

 i'm trying to access some ejbs from my webapp on another
 orion-server.

 1) my application-client (with application-client.xml) works fine.

 jndi_props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,com.ever
mind.se rver.ApplicationClientInitialContextFactory);
 ...
initial = new InitialContext(jndi_props); = Ok.
rootctx = (Context)initial.lookup(java:comp/env);
System.out.println(rootctx: +rootctx.toString());  == shows
 the contents of application-client.xml (=Context), Ok.

 2) same source but (servlet or jsp-page(attached))

 jndi_props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,com.ever
mind.se rver.rmi.RMIInitialContextFactory);
 ...
initial = new InitialContext(jndi_props);  = Ok.
rootctx = (Context)initial.lookup(java:comp/env);
System.out.println(rootctx: +rootctx.toString());
== Exception: java:comp/env not
 found

 Did i miss something? - where to get the Context? - whats wrong?

 3) same as 2)  but calling
initial = new InitialContext();  = local access
rootctx = (Context)initial.lookup(java:comp/env);
System.out.println(rootctx: +rootctx.toString());  == shows
 webapp.war/web.xml (=Context), Ok.

 tia
   klaus

 btw:
   rmi.xml:  server host=196.129.237.124 port=23791
 username=admin password=secure/
   orion-application.xml: ejb-module remote=true path=ejb-jar.jar
 / works (for all ejbs) if _both_ servers are 1.5.2 or
 oc4j-1.0.2.2.1. but then there are other bugs

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

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


Content-Type: text/html; charset=iso-8859-1; name=Anhang: 1
Content-Transfer-Encoding: quoted-printable
Content-Description: 


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

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




Wierd CMP Bug

2001-09-20 Thread Adam Cassar

Using a list-mapping with orion and using a vector to store the mapping
works if you add elements to the vector using .add, however when using 
.addElement orion will not store the vector. Wierd or am I missing something?
w




Re: Problems accessing remote EJBs

2001-09-20 Thread Stephen Davidson

Greetings, Kesav.

I have had to chase down a few instances of this myself.  A useful tool
I found was the orionconsole.jar.  It is still alpha, with lots of
missing functionality, but one thing that is working is the ability to
read Orion's JNDI tree.  A little hunting should tell you what the name
is and where your ejb is registered.  I found that unless everything is
perfectly specified in the XML files, Orion has a tendency to
auto-generate JNDI names that may not be what your code is looking for. 
This would be one way to verify what is going on.

-Steve


Klaus Thiele wrote:
 
 Hi Kesav,
 
 thanks for help, but it does not work (1.5.2 and 1.0.2.2.1)
 
 klaus
 
 Am Donnerstag, 20. September 2001 16:17 schrieben Sie:
  This is what exactly I also observer long back.
 
  In your first senario every thing works fine
 
  If you want to access remote ejb from jsp/servlets there is a small
  difference.
 
  1)The lookup should not be java:comp/env/  the lookup should be
  directly to the ejb name.
  2)You should not use PortableRemoteObject.narrow() after lookup.
 
 
  Example.
  If your ejb name is ejb/MyEJB
 
  Inside jsp/servlet
  jndi_props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,com.ever
 mind.se rver.rmi.RMIInitialContextFactory);
  
  Context ctx = new InitialContext(jndi_props);
  Home home = (Home)ctx.lookup(ejb/MyEJB);   //You get directly the
  reference to the home object
  Remote remote = homre.create();
  remote.invoke();
 
 
 
  Kesav Kumar Kolla
  Voquette Inc
  650 356 3740(W)
  510 889 6840(R)
  VoquetteDelivering Sound Information
 
 
  -Original Message-
  From: Klaus Thiele [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 20, 2001 3:02 AM
  To: Orion-Interest
  Subject: Problems accessing remote EJBs
 
 
  Hi all,
  (it drives me crazy...)
 
  i'm trying to access some ejbs from my webapp on another
  orion-server.
 
  1) my application-client (with application-client.xml) works fine.
 
  jndi_props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,com.ever
 mind.se rver.ApplicationClientInitialContextFactory);
  ...
 initial = new InitialContext(jndi_props); = Ok.
 rootctx = (Context)initial.lookup(java:comp/env);
 System.out.println(rootctx: +rootctx.toString());  == shows
  the contents of application-client.xml (=Context), Ok.
 
  2) same source but (servlet or jsp-page(attached))
 
  jndi_props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,com.ever
 mind.se rver.rmi.RMIInitialContextFactory);
  ...
 initial = new InitialContext(jndi_props);  = Ok.
 rootctx = (Context)initial.lookup(java:comp/env);
 System.out.println(rootctx: +rootctx.toString());
 == Exception: java:comp/env not
  found
 
  Did i miss something? - where to get the Context? - whats wrong?
 
  3) same as 2)  but calling
 initial = new InitialContext();  = local access
 rootctx = (Context)initial.lookup(java:comp/env);
 System.out.println(rootctx: +rootctx.toString());  == shows
  webapp.war/web.xml (=Context), Ok.
 
  tia
klaus
 
  btw:
rmi.xml:  server host=196.129.237.124 port=23791
  username=admin password=secure/
orion-application.xml: ejb-module remote=true path=ejb-jar.jar
  / works (for all ejbs) if _both_ servers are 1.5.2 or
  oc4j-1.0.2.2.1. but then there are other bugs
 
  --
  Klaus Thiele - Personal  Informatik AG
  mailto:[EMAIL PROTECTED]
 
   Your mouse has moved.
Windows must be restarted for the change to take effect.
 
 
 Content-Type: text/html; charset=iso-8859-1; name=Anhang: 1
 Content-Transfer-Encoding: quoted-printable
 Content-Description:
 
 
 --
 Klaus Thiele - Personal  Informatik AG
 mailto:[EMAIL PROTECTED]
 
  Your mouse has moved.
   Windows must be restarted for the change to take effect.

-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208




Questions about Orion

2001-09-20 Thread Vlad Vinogradsky

I am evaluating the Orion server for use in a production web site which
would be hosted by a hosting services provider. It would run on a
Windows 2000 box alongside other web sites serviced by IIS and will
manage data in SQL Server 2000 database. I have a few questions I wasn't
able to find answers to and I wonder if you can help me with them.

1. I wonder if anybody had any negative experience using Orion server on
Windows 2000 or with SQL Server 2000? I-Net jdbc products are going to
be used.

2. Any comments on performance, scalability and availability of the
Orion server on Windows 2000?

3. What VM is best to use to run Orion server?

4. Does it have auto start and restart features? Do you have to have an
interactive logon session to start it?

5. What security context does it run in?

6. What is Orion server security track record? Has it ever been
compromised or taken out by DOS attacks?

7. Any comments on IronFlare's technical support? It looks like there is
no live tech support - just email.

All input is welcome.

Thanks,

Vlad





RE: Questions about Orion

2001-09-20 Thread The elephantwalker

Vlad,

Here are the answers as I know them:

1. SQL Server 2000 database -- That's a tough one. I don't know any IT
managers recommending this beast. But if you got to live with it ... make
sure you test the jdbc drivers with all necessary uses of sql including
things like LIMIT, CLOB, BLOB as well as 100's of open connections. These
are the key database needs for a appserver servicing the web.

2. Orion uses the Java 1.3 jvm from Sun, IBM or others. As they say, if it
runs on one, it runs on all.

3. We use IBM's jvm with absolutely no problems.

4. Scalability is determined by your clustering needs. Orion clusters
httpsessions in islands of two to four servers. Statefull Session Beans are
not clustered, but entity beans and slsb's are easily set up in a clustered
environment. Orion is easily the fastest jsp/servlet engine on the planet,
and along with some very good performance numbers on the ejb side, you can
out do other app servers by a factor of 3 to 1. By the way, Orion by itself
can out do IIS by six to one! Oracle thought so much of the Orion
performance, they licensed the software as the core of their j2ee
application server.


5. j2ee security is used on Orion, you can implement your own user security,
or link up with ldap, or use the builtin usermanagers for databases. SSL is
also a feature of Orion, but I would recommend locking down your web server
with SSL, or use a hardward accelerator, and proxying Orion outside the dmz.
This is how most firms implement appservers.

6. Like anything, if you run it on Windows, it will be compromised. We have
not had any security troubles with Linux RedHat 7.1 and orion.

7. Ironflare doesn't really provide the technical support that some need.
With Ironflare's encouragement, companies like Flowsheet Technologies and
others provide subscription based customer support for Orion. Join our site,
www.elephantwalker.com, its free, and sign up for a subscription when you
need some help. We also provide a course for Orion in the San Francisco Bay
Area.

regards,

the elephantwalker
www.elephantwalker.com







-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Vlad
Vinogradsky
Sent: Thursday, September 20, 2001 8:22 PM
To: Orion-Interest
Subject: Questions about Orion


I am evaluating the Orion server for use in a production web site which
would be hosted by a hosting services provider. It would run on a
Windows 2000 box alongside other web sites serviced by IIS and will
manage data in SQL Server 2000 database. I have a few questions I wasn't
able to find answers to and I wonder if you can help me with them.

1. I wonder if anybody had any negative experience using Orion server on
Windows 2000 or with SQL Server 2000? I-Net jdbc products are going to
be used.

2. Any comments on performance, scalability and availability of the
Orion server on Windows 2000?

3. What VM is best to use to run Orion server?

4. Does it have auto start and restart features? Do you have to have an
interactive logon session to start it?

5. What security context does it run in?

6. What is Orion server security track record? Has it ever been
compromised or taken out by DOS attacks?

7. Any comments on IronFlare's technical support? It looks like there is
no live tech support - just email.

All input is welcome.

Thanks,

Vlad






about Authentication

2001-09-20 Thread mars

Dear ,
I have a question  about use   from   certificate
I got a problem .I don't know how to set the BASIC Authentication for my web
via the Orion server.

Thank's

mars