Re: Make changes without losing session?

2000-07-06 Thread Robert Krueger


sessions should be OK across server restarts as long as they contain only 
serializable values or ejb references. you configure persistent sessions in 
orion-web.xml of the particular web module via the persistence-path 
attribute (see below).

orion-web-app
 deployment-version="1.1.8"
 development="true"
 persistence-path="../persistence/state.ser"
 jsp-cache-directory="../persistence"
 temporary-directory="./temp"
 servlet-webdir="/servlet/"
 


Also, I was wondering what the expected behavior is of doing a RESTART or
SHUTDOWN-then-startup.  Should all the user sessions still be valid when the
server comes back up?  They aren't for me, currently, but I assume that's
caused by the same problem as above.

If someone can enlighten me, I'd really appreciate it.
Thank you,
Brien Voorhees






(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: SSL - 100% CPU

2000-07-06 Thread Magnus Rydin
Title: RE: SSL - 100% CPU





We got 2 sites running SSL at this moment.
Didnt have any problems setting it up.


WR


Magnus Rydin
Cypoint Systems Innovation AB


 
 Could somebody that has a working SSL configuration confirm that it is
 possible to make it work.
 
 /Thanks,
 Mattias





RE: ORION and SSL

2000-07-06 Thread Magnus Rydin
Title: RE: ORION and SSL





Kirk,
yes, whenever your browser is going with https:// instead of http:// its SSL.
I think there are a *lot* of SSL docs out there, just check yahoo.
Normaly, you have one server running http:// on port 80 and another running https:// on port 443.
WR


Magnus Rydin
 -Original Message-
 From: Kalvar, Kirk [mailto:[EMAIL PROTECTED]]
 Sent: den 5 juli 2000 20:35
 To: Orion-Interest
 Subject: ORION and SSL
 
 
 Any place I can go to get more information on SSL and how it 
 works? I've
 seen https displayed in the URL and assumed that I was using 
 SSL between the
 server and the browser. Is that correct? How would you 
 activate SSL? Via a
 page or login?
 
 Thanks,
 
 Kirk S. Kalvar, Software Engineer
 DRS Electronic Systems Group
 
 
 





Re: What is definition of session-timeout ?

2000-07-06 Thread Ciaran McNulty

As far as I'm aware, it's teh time since the object was last used.  Simply
checking a value in the session seems to be enough to restart the timer.

Hope this helps (and is accurate)

-Ciaran


Dear Orion Interest Group:

I'm controlling the time-out of server side java beans using
the web.xml  session-timeout numOfMinutes /session-timeout
configuration parameter.

Does anyone know the definition of this parameter?  Is it:

  1.. Time-out from the last time the object was used?
  2.. Time-out from the moment the object was initially created?
Thanks in Advance


STeve Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]







Re: SSL - 100% CPU

2000-07-06 Thread Joseph B. Ottinger

Daniel, can you give us (well, me) a HOwto on this?

On Thu, 6 Jul 2000, Daniel Stahl wrote:

 Mattias Arbin writes:
   Hi,
   I now use 1.1.9 and get:
   E:\java\orionjava -jar orion.jar
   Error listening to SSLServerSocket: No available certificate corresponds to
   the
   SSL cipher suites which are enabled.
   Orion/1.1.9 initialized
   
   What could be bad with my certificate? I have done exactly what is told in
   the documentation. (See my previous post)
   How do I know which "SSL cipher suites" that "are enabled"?
   How does Orion know which certificate in the keystore to use? When I have
   several entries in the keystore, I get:
   Error starting HttpServer: Unable to intialize SSLServerSocketFactory
   'com.evermind.ssl.JSSESSLServerSocketFactory': Unrecoverable key error:
   Cannot recover key
   I feel pretty frustrated. SSL is a must in my case and right now these
   problems makes it impossible to use Orion in our project. Too bad, because
   Orion seems very nice.
   
   Could somebody that has a working SSL configuration confirm that it is
   possible to make it work.
   
 
 The trick is not to use keytool. We have just tested to make our own 
 com.evermind.ssl.SSLServerSocketFactory which rely on the pkcs#12 part
 of iaik jce. 
 We then feed jsse with pkcs#12 files instead of a keystore file. The
 initial test works great and because we supply a initial seed for 
 JSSE we get a great performance hit. Other then that it is pure
 JSSE. Try to make sure that you are using jsse1.0.1.
 The only thing we have not managed to figure out is how to make orion 
 use our SSLServerSocketFactory implementation. Because of classloader 
 problems you have to modify the orion.jar file and add our class. The
 only problem with this solution is that iaik is a commercial
 software. We have not been able to find a free implementation of pkcs#12.
 
 Best Regards
 /Daniel Stahl
 
 
 

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo  HOMES.COM Developer





Re: HELP: Reoccurring ArrayIndexOutOfBoundsException from Orion

2000-07-06 Thread james_dodd




We have been experiencing this error for months on Solaris 2.6.

We found that specifying Jikes as the compiler lessened the frequency of this
error (although this may have been a perception), and that after a server-bounce
things worked OK again.

Still worrying, though...  Would like to know what this is about too.

James Dodd

ZDNet





Steven Punte [EMAIL PROTECTED] on 07/05/2000 06:42:09 PM

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: James Dodd/ZDNet/LON/ZDEUR)

Subject:  HELP:  Reoccurring ArrayIndexOutOfBoundsException from Orion



Dear Orion Interest Group:

Has anyone experienced this error below?  My team is repeatedly
running into this, but I cannot create the problem in a deterministic
manner.  We are using no arrays, so the error is from somewhere inside
Orion.  Once this error occurs, all JSPs on all application become
non-functinoal.

Any help appreciated!

7/5/00 10:19 AM ebusinessWebApp: Servlet error
java.lang.ArrayIndexOutOfBoundsException: 13274200
at com.evermind.server.http.EvermindHttpJspPage.service(Compiled Code)
at com.evermind.server.http.HttpApplication.tb(Compiled Code)
at com.evermind.server.http.JSPServlet.service(Compiled Code)
at com.evermind.server.http.df.o3(Compiled Code)
at com.evermind.server.http.df.forward(Compiled Code)
at com.evermind.server.http.dm.o9(Compiled Code)
at com.evermind.server.http.dm.o8(Compiled Code)
at com.evermind.util.e.run(Compiled Code)

STeve Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]




Dear Orion Interest Group:

 Has anyone experienced this 
error below? My team is repeatedly 

 running into this, but 
I cannot create the problem in a 
deterministic
 manner. We are using no 
arrays, so the error is from somewhere inside 

 Orion. Once this error occurs, 
all JSPs on all application become
 non-functinoal.

 Any help appreciated!

7/5/00 10:19 AM ebusinessWebApp: Servlet 
errorjava.lang.ArrayIndexOutOfBoundsException: 
13274200 at 
com.evermind.server.http.EvermindHttpJspPage.service(Compiled 
Code) at 
com.evermind.server.http.HttpApplication.tb(Compiled 
Code) at 
com.evermind.server.http.JSPServlet.service(Compiled 
Code) at 
com.evermind.server.http.df.o3(Compiled 
Code) at 
com.evermind.server.http.df.forward(Compiled 
Code) at 
com.evermind.server.http.dm.o9(Compiled 
Code) at 
com.evermind.server.http.dm.o8(Compiled 
Code) at 
com.evermind.util.e.run(Compiled Code)
STeve Puntee-Business Software 
ArchitectTechnologent Inc[EMAIL PROTECTED]



calling user servlets

2000-07-06 Thread Klaus Thiele

Hello,

in "config/global-web-application.xml" there is following definition:
  orion-web-app
servlet-webdir="/servlet"

i think, because of this definition i am able to call
  http://myhost/servlet/_servlet_class_ 
(which calls default-web-app/WEB-INF/classes/_servlet_class_ )

i want to call
  http://myhost/MYAPP/servlet/_servlet_class_  ?
what to do?

thanks a lot
  klaus

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

 "There's got to be more to life than compile-and-go."




Re: Base URI

2000-07-06 Thread james_dodd




I've got a similar problem - I want to get the context part of the URL (the
'root' attribute in the 'web-app' element in default-web-site.xml).

The J2EE API documentation illuminates the HttpServletRequest method
getContextPath() as returning this information.  Unfortunately when compiling
against Orion.jar I get a 'no such method' error.

How else can I retrieve at runtime the context in which a given servlet is
deployed?

Regards,

James Dodd

ZDNet





"Mattias Karlsson (QDT)" [EMAIL PROTECTED] on 07/06/2000
10:03:46 AM

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: James Dodd/ZDNet/LON/ZDEUR)

Subject:  Base URI



Hi,

I'm new to Orion and this list so I sorry if this is a really stupid question...

I have an application under ..orion/applications/myApp

My problem is that orion reports (in my case) the wrong Base URI
I have a Servlets that pick up all request under /myApp/service.

When I call req.getRequestURI() (where req = HttpServletRequest) i my servlet it
reports
"/service" but for cross-server-porpose I need it to be "/myApp/service"

Help me to get around this problem.
This is the way my "orion-xmls" look like.:
(server.xml) - application name="myApp" path="application.xml" /
(application.xml) - web-module id="myApp" path="../applications/myApp" /
(deafult-web-site.xml) - web-app application="myApp" name="myApp"
root="/MyApp" /

Thanks,
Mattias Karlsson











RE: HELP: Reoccurring ArrayIndexOutOfBoundsException from Orion

2000-07-06 Thread james_dodd




I would be surprised if it were a syntax error, as the problem is sporadic, and
crops up/disappears between server bounces despite no changes having been
perpetrated on the JSP code.

Regards,

James Dodd

ZDNet





Tom Wnuk [EMAIL PROTECTED] on 07/05/2000 08:19:07 PM

Please respond to [EMAIL PROTECTED]

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: James Dodd/ZDNet/LON/ZDEUR)

Subject:  RE: HELP:  Reoccurring ArrayIndexOutOfBoundsException from Orion



I was just getting a similar error but it was due to an existing jsp page
that was using a tag incorrectly.  In my case they we're using %@ some java
code % which Orion didn't like and it threw an out-of-bounds exception on a
String.

There's probably an JSP syntax error somewhere in your code.

Note to Orion developers:
One thing that would be more helpful, trace messages in the console window
or even to a log file.  Sometimes you'll get an error w/o a stack trace and
all you get is an 'unable to display the page' message, not very helpful.
How about msgs upon startup so we can determine what's been loaded or not,
etc..

Does anyone know if tracing exists in Orion and if so, how do you turn it
on?

Tom
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Steven Punte
  Sent: Wednesday, July 05, 2000 10:42 AM
  To: Orion-Interest
  Subject: HELP: Reoccurring ArrayIndexOutOfBoundsException from Orion


  Dear Orion Interest Group:

  Has anyone experienced this error below?  My team is repeatedly
  running into this, but I cannot create the problem in a deterministic
  manner.  We are using no arrays, so the error is from somewhere inside
  Orion.  Once this error occurs, all JSPs on all application become
  non-functinoal.

  Any help appreciated!

  7/5/00 10:19 AM ebusinessWebApp: Servlet error
  java.lang.ArrayIndexOutOfBoundsException: 13274200
  at com.evermind.server.http.EvermindHttpJspPage.service(Compiled
Code)
  at com.evermind.server.http.HttpApplication.tb(Compiled Code)
  at com.evermind.server.http.JSPServlet.service(Compiled Code)
  at com.evermind.server.http.df.o3(Compiled Code)
  at com.evermind.server.http.df.forward(Compiled Code)
  at com.evermind.server.http.dm.o9(Compiled Code)
  at com.evermind.server.http.dm.o8(Compiled Code)
  at com.evermind.util.e.run(Compiled Code)

  STeve Punte
  e-Business Software Architect
  Technologent Inc
  [EMAIL PROTECTED]





I was 
just getting a similar error but it was due to an existing jsp page that was 
using a tag incorrectly. In my case they we're using %@ some java code 
% which Orion didn't like and it threw an out-of-bounds exception on a 
String. 

There's probably an JSP syntax error somewhere in your 
code.

Note 
to Orion developers:
One 
thing that would be more helpful, trace messages in the console window or even 
to a log file. Sometimes you'll get an error w/o a stack trace and all you 
get is an 'unable to display the page' message, not very helpful. 
How about msgs upon startup so we can determine what's been loaded or not, 
etc..

Does 
anyone know if tracing exists in Orion and if so, how do you turn it 
on?

Tom

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Steven 
  PunteSent: Wednesday, July 05, 2000 10:42 AMTo: 
  Orion-InterestSubject: HELP: Reoccurring 
  ArrayIndexOutOfBoundsException from Orion
  Dear Orion Interest Group:
  
   Has anyone experienced this 
  error below? My team is repeatedly 
  
   running into this, but 
  I cannot create the problem in a 
  deterministic
   manner. We are using no 
  arrays, so the error is from somewhere inside 
  
   Orion. Once this error occurs, 
  all JSPs on all application become
   non-functinoal.
  
   Any help appreciated!
  
  7/5/00 10:19 AM ebusinessWebApp: Servlet 
  errorjava.lang.ArrayIndexOutOfBoundsException: 
  13274200 at 
  com.evermind.server.http.EvermindHttpJspPage.service(Compiled 
  Code) at 
  com.evermind.server.http.HttpApplication.tb(Compiled 
  Code) at 
  com.evermind.server.http.JSPServlet.service(Compiled 
  Code) at 
  com.evermind.server.http.df.o3(Compiled 
  Code) at 
  com.evermind.server.http.df.forward(Compiled 
  Code) at 
  com.evermind.server.http.dm.o9(Compiled 
  Code) at 
  com.evermind.server.http.dm.o8(Compiled 
  Code) at 
  com.evermind.util.e.run(Compiled Code)
  STeve Puntee-Business Software 
  ArchitectTechnologent Inc[EMAIL PROTECTED]



RE: Base URI

2000-07-06 Thread Magnus Rydin
Title: RE: Base URI





request.getContextPath() should work fine.
Are you using a extremely old version of Orion?


 The J2EE API documentation illuminates the HttpServletRequest method
 getContextPath() as returning this information. 
 Unfortunately when compiling
 against Orion.jar I get a 'no such method' error.





RE: Base URI

2000-07-06 Thread james_dodd




Oh, I think I've figured the problem: my development environment (NetBeans)
might be finding it's internal J2EE jars before Orion's.  Compiling on the
command line with an explicit classpath seems to fare better...

Regards,

James Dodd

ZDNet





Magnus Rydin [EMAIL PROTECTED] on 07/06/2000 11:17:49 AM

To:   James Dodd/ZDNet/LON/ZDEUR@ZD Europe, Orion-Interest
  [EMAIL PROTECTED]
cc:   Orion-Interest [EMAIL PROTECTED]

Subject:  RE: Base URI



request.getContextPath() should work fine.
Are you using a extremely old version of Orion?

 The J2EE API documentation illuminates the HttpServletRequest method
 getContextPath() as returning this information.
 Unfortunately when compiling
 against Orion.jar I get a 'no such method' error.


Title: RE: Base URI





request.getContextPath() should work fine.
Are you using a extremely old version of Orion?


 The J2EE API documentation illuminates the HttpServletRequest method
 getContextPath() as returning this information. 
 Unfortunately when compiling
 against Orion.jar I get a 'no such method' error.







AW: Strange exception - further details

2000-07-06 Thread Jens Stutte


Hi, 
some further deatils:

The exception reported in the last mail was generated, if the server is
running on linux, 
java version "1.2.2", Classic VM (build 1.2.2-L, green threads, javacomp)
and the client on a windows box, java version "1.3.0", Java(TM) 2 Runtime
Environment, Standard Edition (build 1.3.0-C), Java HotSpot(TM) Client VM
(build 1.3.0-C, mixed mode) - both using the same classes via a shared
network directory. Because i did not know, what to do, i switched the
situation - client on linux jdk 1.2.2, server on windows jdk 1.3.
Now the exception changes to:

java.lang.VerifyError: (class: __Proxy0, method: clinit signature: ()V)
Accessing value from uninitialized register 0
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java, Compiled Code)
at com.evermind.reflect.Proxy.ama(JAX)
at com.evermind.reflect.Proxy.al9(JAX)
at com.evermind.reflect.Proxy.al7(JAX)
at com.evermind.server.rmi.a8.f4(JAX)
at com.evermind.server.rmi.a5.resolveObject(JAX)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java,
Compiled Code)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java,
Compiled Code)
at com.evermind.server.rmi.a8.gj(JAX)
at com.evermind.server.rmi.a8.run(JAX)
at java.lang.Thread.run(Thread.java:475)
java.lang.NullPointerException:
at com.evermind.reflect.Proxy.al9(JAX)
at com.evermind.reflect.Proxy.al7(JAX)
at com.evermind.server.rmi.a8.f4(JAX)
at com.evermind.server.rmi.a5.resolveObject(JAX)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java,
Compiled Code)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java,
Compiled Code)
at com.evermind.server.rmi.a8.gj(JAX)
at com.evermind.server.rmi.a8.run(JAX)
at java.lang.Thread.run(Thread.java:475)
de.netmedia.ejb.interfaces.exceptions$NMBeanHomeNotFoundException
at
de.netmedia.ejb.interfaces.NMejbConnection.getHome(NMejbConnection.java:176)
at
de.netmedia.ejb.interfaces.NMejbConnection.getHome(NMejbConnection.java:186)
at
de.netmedia.ejb.interfaces.NMejbAccess.init(NMejbAccess.java:47)
at
de.netmedia.ejb.base.binarybean.NMejbBinaryAccess.init(NMejbBinaryAccess.j
ava:47)
at de.netmedia.ejb.test.clienttest.addWords(clienttest.java:92)
at de.netmedia.ejb.test.clienttest.main(clienttest.java:246)
de.netmedia.ejb.interfaces.exceptions$NMBeanHomeNotFoundException
at
de.netmedia.ejb.interfaces.NMejbConnection.getHome(NMejbConnection.java:176)
at
de.netmedia.ejb.interfaces.NMejbConnection.getHome(NMejbConnection.java:186)
at
de.netmedia.ejb.interfaces.NMejbAccess.init(NMejbAccess.java:47)
at
de.netmedia.ejb.base.binarybean.NMejbBinaryAccess.init(NMejbBinaryAccess.j
ava:47)
at de.netmedia.ejb.test.clienttest.addWords(clienttest.java:92)
at de.netmedia.ejb.test.clienttest.main(clienttest.java:246)


and gets thrown already on bean home retrieval (which worked the other way
round, the first _access_ to the home failed).

Ran i into some incompatibility between jdk 1.2.2 and jdk 1.3 ? My next test
will be trying to use the same jdks, unfortunately i cannot run client and
server on the same machine...

Very weird...

 -Ursprüngliche Nachricht-
 Von: Jens Stutte [mailto:[EMAIL PROTECTED]]
 Gesendet am: Donnerstag, 6. Juli 2000 12:44
 An: Orion-Interest
 Cc: '[EMAIL PROTECTED]'
 Betreff: Strange exception
 
 Hi,
 
 i ran into a real showstopper. My EJBs deploy all correct, 
 and some of them
 can be accessed. But accessing one particular Bean generates 
 the following
 exception on the client side:
 
 javax.ejb.CreateException
 at com.evermind.server.rmi.a8.invokeMethod(JAX)
 at com.evermind.server.rmi.a_.invoke(JAX)
 at com.evermind.server.rmi.a0.invoke(JAX)
 at __Proxy0.create(Unknown Source)
 at
 de.netmedia.ejb.base.binarybean.NMejbBinaryAccess.create(NMejb
 BinaryAccess.j
 ava:89)
 at 
 de.netmedia.ejb.test.clienttest.addWords(clienttest.java:100)
 at de.netmedia.ejb.test.clienttest.main(clienttest.java:246)
 
 The client is using the physical identical classes as the 
 server, so that
 there can be no discrepances. The server does not report 
 anything, it gets
 not even touched it seems... What's more, i cannot locate a 
 __Proxy0.class
 in any of the orion directories, is it part of some jar? The 
 name looks like
 it was generated.
 What may cause this exception? This happens both with orion 
 1.1.8 and 1.1.9.
 Yesterday (nearly) the same bean worked well, so i fear that 
 something in my
 settings/classes screw up - but i cant figure out the reason (and the
 exception is not very descriptive).
 
 Any help would be very appriciated, thanx
 
 Jens Stutte
 
 
 
 [EMAIL PROTECTED], http://www.netmedia.de
 
 NetMedia GmbH
 

unscribe

2000-07-06 Thread Oikkonen Antero

unscribe [EMAIL PROTECTED]




Re: calling user servlets

2000-07-06 Thread Klaus Thiele

Am Don, 06 Jul 2000 schrieb Klaus Thiele:

 i want to call
   http://myhost/MYAPP/servlet/_servlet_class_  ?
 what to do?

thanks a lot.
i had "tomatoes on my eyes" :(((

klaus

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

 "There's got to be more to life than compile-and-go."




Client application

2000-07-06 Thread Rick Bos

I have orion running on Solaris and have successfully created an EJB
and Servlet application.

I now want to write a Java Swing application running on my Windows
machine that accesses this EJB 
running on Solaris.

Do you have an example ot this ?
What jar files do I need to include to do this ?

I included :

ejb.jar, jndi.jar, jaxp.jar and orion.jar from the orion directory.

I get this error when I do the lookup :

javax.xml.parsers.FactoryConfigurationError:
com.sun.xml.parser.DocumentBuilderFactoryImpl
at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.
java:80)
at com.evermind.xml.d.getJavaxDocument(JAX)
at com.evermind.xml.XMLUtils.getDocument(JAX)
at com.evermind.server.XMLConfig.hj(JAX)
at
com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext
(JAX)




orion-web.xml: development=true

2000-07-06 Thread Steven Punte

Dear James:

Thanks for the hint.

I assume you mean file:
 "~orion/application-deployments/default/appName/orion-web.xml

Also, if I set development=true, where will the transformed jsp to
java files be stored?

Thanks in advance:


STeve Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]


- Original Message -
From: [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, July 06, 2000 6:52 AM
Subject: RE: HELP: Reoccurring ArrayIndexOutOfBoundsException from Orion





 Orion has two JSP compilers - one outputs bytecode and the other (I think)
 outputs source, which is then compiled..

 I'm willing to wager that if you use the latter compiler, the problem will
 disappear.

 To change compilers, add the attribute

  development="true"

 to the element 'orion-web-app' in
 /orion/applications/your_app/your_app-web/WEB-INF/orion-web.xml

 Regards,

 James Dodd

 ZDNet







Re: orion-web.xml: development=true

2000-07-06 Thread james_dodd





If your JSP was under 'X/Y/mypage.jsp', then the .java file will appear in
path-to-your-web-app/WEB-INF/persistence/X/Y/mypage.java.

This is definitely true for Solaris 2.6, but I can't vouch for NT.

Regards,

James Dodd






Steven Punte [EMAIL PROTECTED] on 07/06/2000 04:52:14 PM

To:   James Dodd/ZDNet/LON/ZDEUR@ZD Europe, Orion-Interest
  [EMAIL PROTECTED]
cc:

Subject:  orion-web.xml: development="true"



Dear James:

Thanks for the hint.

I assume you mean file:
 "~orion/application-deployments/default/appName/orion-web.xml

Also, if I set development=true, where will the transformed jsp to
java files be stored?

Thanks in advance:


STeve Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]


- Original Message -
From: [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, July 06, 2000 6:52 AM
Subject: RE: HELP: Reoccurring ArrayIndexOutOfBoundsException from Orion





 Orion has two JSP compilers - one outputs bytecode and the other (I think)
 outputs source, which is then compiled..

 I'm willing to wager that if you use the latter compiler, the problem will
 disappear.

 To change compilers, add the attribute

  development="true"

 to the element 'orion-web-app' in
 /orion/applications/your_app/your_app-web/WEB-INF/orion-web.xml

 Regards,

 James Dodd

 ZDNet











Re: orion-web.xml: development=true

2000-07-06 Thread Brien Voorhees

You should be able to find them in
"~orion/application-deployments/default/appName/persistence/" .

Brien Voorhees


- Original Message -
From: "Steven Punte" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, July 06, 2000 8:52 AM
Subject: orion-web.xml: development="true"


 Dear James:

 Thanks for the hint.

 I assume you mean file:
  "~orion/application-deployments/default/appName/orion-web.xml

 Also, if I set development=true, where will the transformed jsp to
 java files be stored?

 Thanks in advance:


 STeve Punte
 e-Business Software Architect
 Technologent Inc
 [EMAIL PROTECTED]


 - Original Message -
 From: [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, July 06, 2000 6:52 AM
 Subject: RE: HELP: Reoccurring ArrayIndexOutOfBoundsException from Orion


 
 
 
  Orion has two JSP compilers - one outputs bytecode and the other (I
think)
  outputs source, which is then compiled..
 
  I'm willing to wager that if you use the latter compiler, the problem
will
  disappear.
 
  To change compilers, add the attribute
 
   development="true"
 
  to the element 'orion-web-app' in
  /orion/applications/your_app/your_app-web/WEB-INF/orion-web.xml
 
  Regards,
 
  James Dodd
 
  ZDNet
 
 








404 Not Found w/JSP

2000-07-06 Thread Tom Wnuk

All,

I moved my Orion installation from my Win2k machine to my RH 6.2 Linux
computer.  Simply jar'd it up and unjar'd on the other side.  After a couple
minor changes, fired it up and my EJb's are working just fine.  

I am having a problem with JSP though.  It compiles and loads the first jsp
page w/o a problem.  When I try and move to the next JSP page I receive a
'404 Not Found' message in the browser and the URL is:
http://10.111.111.2:8080/fmi/doLogin.jsp;jsessionid=PNMLEOPINIEF

On my Win2k machine I don't get the 'jsessionid=' data (tried it by renaming
the jsp file to break the process).  I am using sessions for these JSP
pages.

This same configuration worked fine in Win2k but fails on Linux.  I've set
all of the file and dir permissions to world readable  writable just to
eliminate that as a potential problem.  I also assume all of Orion's
defaults and have not created any orion-* specific XML configuration files
-- didn't need to on Win2k for this testing.

I'm sure it's a simple configuration setting but I have no idea what's
causing it.  I never see any session data stored anywhere on my Win2k box so
I don't know where it's being stored.  Keep in mind, I'm assuming all
defaults.

Has anyone seen this before?

Thanks 
Tom

Tom Wnuk
[EMAIL PROTECTED]
[EMAIL PROTECTED]


 winmail.dat


Virtual Hosts

2000-07-06 Thread Sarathy Mattaparti

Hi,
I'm trying to setup virtual hosts on my box. i have 3 domain names.. 
anybody knows how to setup virtual hosts ?

Please help me.

Thanks
Sarathy

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



Return-Path: [EMAIL PROTECTED]
Received: (qmail 98173 invoked by uid 0); 6 Jul 2000 23:06:20 -
Message-ID: [EMAIL PROTECTED]
Received: from 216.103.157.190 by www.hotmail.com with HTTP;
Thu, 06 Jul 2000 16:06:19 PDT
X-Originating-IP: [216.103.157.190]
From: "Sarathy Mattaparti" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Virtual Host
Date: Thu, 06 Jul 2000 19:06:19 EDT
Mime-Version: 1.0
Content-Type: text/plain; format=flowed

Hi,
 I'm trying to setup virtual hosts on my box. i have 3 domain names..
anybody knows how to setup virtual hosts ?

Please help me

Thanks
Sarathy

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





RE: 404 Not Found w/JSP

2000-07-06 Thread Tom Wnuk

Update:  
Whatever I changed before moving to Linux does also exist on my Win2k
machine.  

I should be able to track it down but if anyone has seen this it would be
helpful.

Tom

  -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, July 06, 2000 2:36 PM
 To:   Orion-Interest
 Subject:  404 Not Found w/JSP
 
 All,
 
 I moved my Orion installation from my Win2k machine to my RH 6.2 Linux
 computer.  Simply jar'd it up and unjar'd on the other side.  After a
 couple minor changes, fired it up and my EJb's are working just fine.  
 
 I am having a problem with JSP though.  It compiles and loads the first
 jsp page w/o a problem.  When I try and move to the next JSP page I
 receive a '404 Not Found' message in the browser and the URL is:
 http://10.111.111.2:8080/fmi/doLogin.jsp;jsessionid=PNMLEOPINIEF
 
 On my Win2k machine I don't get the 'jsessionid=' data (tried it by
 renaming the jsp file to break the process).  I am using sessions for
 these JSP pages.
 
 This same configuration worked fine in Win2k but fails on Linux.  I've set
 all of the file and dir permissions to world readable  writable just to
 eliminate that as a potential problem.  I also assume all of Orion's
 defaults and have not created any orion-* specific XML configuration files
 -- didn't need to on Win2k for this testing.
 
 I'm sure it's a simple configuration setting but I have no idea what's
 causing it.  I never see any session data stored anywhere on my Win2k box
 so I don't know where it's being stored.  Keep in mind, I'm assuming all
 defaults.
 
 Has anyone seen this before?
 
 Thanks 
 Tom
 
 Tom Wnuk
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 

 winmail.dat


RE: Tools.jar doesn't works in lib statement

2000-07-06 Thread Kit Cragin



I have 
a similar problem. I tried an additional library tag instead of the ';' 
separated list but it didn't work. I also tried a relative path name separated 
by a ';' (you might try that). Otherwise copying it to the orion dir 
works.

Kit 
Cragin
VP of 
Product Development
Mongoose Technology, Inc.
www.mongoosetech.com

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of 
  hanasakiSent: Thursday, July 06, 2000 9:54 PMTo: 
  Orion-InterestSubject: Tools.jar doesn't works in lib 
  statementIt works fine for jsp's in the orion directory 
  but doesn't work when I do: 
  application.xml: library 
  path="../lib;c:\jdk1.3\lib\tools.jar" / 
  Did I put it in the correct file? Correct Syntax? 



Re: Make changes without losing session?

2000-07-06 Thread Brien Voorhees

Thanks much for the help, Robert.  I added the "persistence-path" entry and
sessions now persist across restarts and shutdowns!  Unfortunately if I make
a change to one of my servlets (and/or presumably beans) when the session is
next accessed a ClassCastException is thrown.  If I do a restart after
changing a servlet then it seems to work ok.  I assume I shouldn't have to
do a restart after any servlet/bean changes.  Any ideas?

Thanks again for your help,
Brien Voorhees

Here's the exact error, by the way :
500 Internal Server Error
java.lang.ClassCastException: com.quicksweep.User
at com.quicksweep.ContestServlet.doGet(ContestServlet.java:17)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.evermind.server.http.dg.o2(JAX)
at com.evermind.server.http.dg.forward(JAX)
at com.evermind.server.http.dp.o8(JAX)
at com.evermind.server.http.dp.o7(JAX)
at com.evermind.util.e.run(JAX)


- Original Message -
From: "Robert Krueger" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, July 06, 2000 12:12 AM
Subject: Re: Make changes without losing session?



sessions should be OK across server restarts as long as they contain only
serializable values or ejb references. you configure persistent sessions in
orion-web.xml of the particular web module via the persistence-path
attribute (see below).

orion-web-app
 deployment-version="1.1.8"
 development="true"
 persistence-path="../persistence/state.ser"
 jsp-cache-directory="../persistence"
 temporary-directory="./temp"
 servlet-webdir="/servlet/"
 


Also, I was wondering what the expected behavior is of doing a RESTART or
SHUTDOWN-then-startup.  Should all the user sessions still be valid when
the
server comes back up?  They aren't for me, currently, but I assume that's
caused by the same problem as above.

If someone can enlighten me, I'd really appreciate it.
Thank you,
Brien Voorhees






(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de








Re: SSL - 100% CPU

2000-07-06 Thread Daniel Stahl

Mattias Arbin writes:
  Hi,
  I now use 1.1.9 and get:
  E:\java\orionjava -jar orion.jar
  Error listening to SSLServerSocket: No available certificate corresponds to
  the
  SSL cipher suites which are enabled.
  Orion/1.1.9 initialized
  
  What could be bad with my certificate? I have done exactly what is told in
  the documentation. (See my previous post)
  How do I know which "SSL cipher suites" that "are enabled"?
  How does Orion know which certificate in the keystore to use? When I have
  several entries in the keystore, I get:
  Error starting HttpServer: Unable to intialize SSLServerSocketFactory
  'com.evermind.ssl.JSSESSLServerSocketFactory': Unrecoverable key error:
  Cannot recover key
  I feel pretty frustrated. SSL is a must in my case and right now these
  problems makes it impossible to use Orion in our project. Too bad, because
  Orion seems very nice.
  
  Could somebody that has a working SSL configuration confirm that it is
  possible to make it work.
  

The trick is not to use keytool. We have just tested to make our own 
com.evermind.ssl.SSLServerSocketFactory which rely on the pkcs#12 part
of iaik jce. 
We then feed jsse with pkcs#12 files instead of a keystore file. The
initial test works great and because we supply a initial seed for 
JSSE we get a great performance hit. Other then that it is pure
JSSE. Try to make sure that you are using jsse1.0.1.
The only thing we have not managed to figure out is how to make orion 
use our SSLServerSocketFactory implementation. Because of classloader 
problems you have to modify the orion.jar file and add our class. The
only problem with this solution is that iaik is a commercial
software. We have not been able to find a free implementation of pkcs#12.

Best Regards
/Daniel Stahl





Base URI

2000-07-06 Thread Mattias Karlsson (QDT)

Hi,

I'm new to Orion and this list so I sorry if this is a really stupid question...

I have an application under ..orion/applications/myApp

My problem is that orion reports (in my case) the wrong Base URI
I have a Servlets that pick up all request under /myApp/service.

When I call req.getRequestURI() (where req = HttpServletRequest) i my servlet it 
reports
"/service" but for cross-server-porpose I need it to be "/myApp/service"

Help me to get around this problem.
This is the way my "orion-xmls" look like.:
(server.xml) - application name="myApp" path="application.xml" /
(application.xml) - web-module id="myApp" path="../applications/myApp" /
(deafult-web-site.xml) - web-app application="myApp" name="myApp" root="/MyApp" /

Thanks,
Mattias Karlsson