AW: Q: How can i turn the automatic reload of the config files off?

2002-04-03 Thread Jan Heise


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

to answer my own question:

edit orion/autoupdate.properties
removed config

works.

jan

- --
Jan Heise / Tel. +49-163-4803237 / [EMAIL PROTECTED]

- -Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Jan Heise
Gesendet: Montag, 1. April 2002 17:42
An: Orion-Interest
Betreff: WG: Q: How can i turn the automatic reload of the config
files
off?



- -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi all,

i'd like to turn of the automatic reload of the following
config files:
- - - config/server.xml
- - - config/application.xml

I'm using orion 1.5.2 under debian-linux and every time
i reconfigure/add webapps in one of the above files, orion
tries to reconfigure itself, fails and instead goes down.
and this in a very nasty way (i have to use kill -9 and be
quite fast to find out a proc id of one of the java
processes. otherwise the vm eats up all resources on the
machine. i used the following vm's: blackdown, ibm and sun 1.3

interestingly, this is not a problem using win2k.
orion reconfigures properly.

I'd like to turn automatic reconfiguration off so i can edit
the config files and afterwards run my own /etc/init.d/orion restart
script.

tia, jan

- - --
Jan Heise / Tel. +49-163-4803237 / [EMAIL PROTECTED]


- -BEGIN PGP SIGNATURE-
Version: PGP 7.0.4

iQA/AwUBPKh/yp/YNqVvLvLkEQIGgwCeOoorJcv0FBj4a7HgAXuAYRgVYE0AoI7h
XGKg6G7alvKvCQH5FuXkn2U+
=2nF7
- -END PGP SIGNATURE-



-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4

iQA/AwUBPKrph5/YNqVvLvLkEQKMuACfcauWXWnQ86N7JdsXQi+LaC3//xIAn1Az
clegFYJi6YWMmjs57l9rzFRM
=0m6u
-END PGP SIGNATURE-





WG: Q: How can i turn the automatic reload of the config files off?

2002-04-01 Thread Jan Heise

 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi all,

i'd like to turn of the automatic reload of the following
config files:
- - config/server.xml
- - config/application.xml

I'm using orion 1.5.2 under debian-linux and every time
i reconfigure/add webapps in one of the above files, orion
tries to reconfigure itself, fails and instead goes down.
and this in a very nasty way (i have to use kill -9 and be
quite fast to find out a proc id of one of the java
processes. otherwise the vm eats up all resources on the
machine. i used the following vm's: blackdown, ibm and sun 1.3

interestingly, this is not a problem using win2k.
orion reconfigures properly. 

I'd like to turn automatic reconfiguration off so i can edit
the config files and afterwards run my own /etc/init.d/orion restart
script.

tia, jan

- --
Jan Heise / Tel. +49-163-4803237 / [EMAIL PROTECTED] 


-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4

iQA/AwUBPKh/yp/YNqVvLvLkEQIGgwCeOoorJcv0FBj4a7HgAXuAYRgVYE0AoI7h
XGKg6G7alvKvCQH5FuXkn2U+
=2nF7
-END PGP SIGNATURE-





AW: ClassCastException with struts

2002-03-01 Thread Jan Heise

 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi,

this sounds definitely like having some jars in the wrong place.
you should check for jars and configs in orion/lib that should not 
be there but should be local to each webapp. (WEB-INF/lib)
the struts jar has to be local to each webapp too.
there is no common config area for struts. 

hth, jan

- --
Jan Heise / Tel. +49-163-4803237 / [EMAIL PROTECTED] 

- -Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Lucas
Persona
Gesendet: Donnerstag, 28. Februar 2002 14:41
An: Orion-Interest
Betreff: ClassCastException with struts


Greetings,

  I've been trying Orion and I'm having some problems using multiple 
applications (or copy's from the same application).
  What I have is one application, used (and modified) by some guys.
  So, each one has his own web-app and application and a source / 
library directory.
  The problem seems to be with struts, that always throws a 
ClassCastException when the second application trys to run.
  Without using Struts, everything seems to work fine and each 
application runs separatly. I think that Struts uses some 'common 
area configuration' that can only be created and used by one instance
of a struts.
  Does anyone had the same problem or knows something to help on
that?

Thanks in advance and sorry for my English :)
Lucas


-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4

iQA/AwUBPH9Nd5/YNqVvLvLkEQJrEACgrqc+SNyN9+TlkTiOTZbF6FMHdFoAn3mT
Sh7hFPe5mL9z6uQOvZuXHfud
=2TZa
-END PGP SIGNATURE-





AW: Orion+Linux under heavy load

2002-02-08 Thread Jan Heise


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi,

they changed a lot of the threading/vm stuff with the release of
kernel 2.4.
i don't remember exactly the kernel-version for redhat 6.2 but i'm
sure
it is a 2.2 at maximum.

but i would also be interested in a comparision linux - freebsd.
jdk 1.3 is
now officially supported under freebsd too. someone's got any numbers
here?

jan

- --
Jan Heise / Tel. +49-163-4803237 / [EMAIL PROTECTED]

- -Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von josete
Gesendet: Donnerstag, 7. Februar 2002 20:58
An: Orion-Interest
Betreff: Re: Orion+Linux under heavy load


Wich problem do you say they've fixed? threads under linux? i've done
some
tests with a redhat 6.2.(sorry i can't remember exactly the kernel
version)
and jboss, and only at start time it was about three times slower
than the
same jboss in a windows 2000.
If with the new kernel versions it runs more efficiently, it would be
great
because i'm a linux fan that has been forced to use windows by this
problem... XD

- - Original Message -
From: Jorge Jimenez C [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, February 07, 2002 3:29 PM
Subject: Re: Orion+Linux under heavy load


 Don't  worry. That problem is already fixed in the latest linux
 kernel releases. I don't remember exactly release number but you
 can easily find it. I've made some tests with JBoss and it runs
 very well.

 JJ

 - Original Message -
 From: Peter Peltonen [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, February 07, 2002 7:57 AM
 Subject: Orion+Linux under heavy load


 
  When browsing through JBoss's documentation I found this remark:
 
  http://www.jboss.org/online-manual/HTML/ch11s02.html
  --snip--
  Be aware however that JBoss performance is very dependant on the
  underlying configuration. For example, informal tests show that
  on the same PC box, it can run twice as fast under Windows 2000 /
  Sun JVM than under Linux 2.2 / Sun JVM.
 
  Linux users probably already know that linux does not support
  real threads. Under heavy load, JBoss will for example crash with
  200 concurrent users under linux, whereas it can handle 1000 of
  them on the same box with Windows 2000. Of course, if you use
  Apache or Jetty in
front
  of JBoss to handle the thread pooling, this will not be a
  problem. --/snip--
 
  How about Orion, has anyone compared Win2k and Linux regarding
  speed?
 
  The last paragraph is really alarming -- is it really so that
  Linux is
not
  a wise choice as a production platform? Is this why UNIX is so
  popular
in
  production environments? Or is JBoss just coded poorly? How many
  users (sessions) can Orion handle, is there a difference in Win2k
  / Linux /
UNIX
  performance?
 
  Cheers,
  Peter
 
 





-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4

iQA/AwUBPGO5/p/YNqVvLvLkEQKEygCeLV4BM3MvOU9o+ol5jD+KggTfgpIAnRcz
0Z5oI7RviYShM7VBKZoCeTbM
=UlCt
-END PGP SIGNATURE-





german umlauts

2002-01-15 Thread Jan Heise

 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi all,

i have some weird behaviour, perhaps someone knows the solution:
when i'm posting a form with german umlauts to the servlet-engine,
the umlauts are lost in the processing, when using the blackdown
or sun-jdks under linux. with the ibm jdk, this problem does not
occur. (but i have some bugs that prevent me from using the 
ibm jdk) this error does not occur under win2k. it's definitely
connected with the jdk and not with the servlet engine (i tried 
jboss/tomcat also).

do i have to localize the jdk or something like that?


jan

- --
Jan Heise / Tel: +49-163-4803237 / E-Mail: [EMAIL PROTECTED] 

-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4

iQA/AwUBPEQhMJ/YNqVvLvLkEQKzuACgyG62e127lvDA/NFfYZcsYNTI1hIAn0kJ
k7yaM++WyM5ezR0ZZxgghG6T
=xB5j
-END PGP SIGNATURE-





AW: string mappings

2002-01-09 Thread Jan Heise


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi,

i remember, that i just altered the column from varchar
to text after the first deployment.

but perhaps there is a better solution.

jan

- --
Jan Heise / Tel: +49-163-4803237 / E-Mail: [EMAIL PROTECTED]

- -Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Morten
Wilken
Gesendet: Mittwoch, 9. Januar 2002 11:50
An: Orion-Interest
Betreff: string mappings


hi all,
i have a situation where i need to make an entitybean with a subject
line
and a body text
in the class both these are implemented as Strings, but i need to map
the
subject to a short varchar (ie 50 chars) and the body text to a
larger one
(but not so large that i need to map it to a blob).. how do i
differentiate
between the 2 in the db schema?

sincerely
Morten Wilken



-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4

iQA/AwUBPDxM0Z/YNqVvLvLkEQIx9gCffhBbxjLFonxcwCMFaWInTtY81lIAoLkZ
/AWF3VMJGrxW0cWBrwPHAIgT
=uEjj
-END PGP SIGNATURE-





AW: Form-based login

2001-10-02 Thread Jan Heise

hi juha,

regarding your last paragraph, i think this is the intention
of the servlet-spec - and the only real usage. all other
types of login should be done differently but not via
j_security_check.

jan


--
Jan Heise / Tel: +49-163-4803237 / E-Mail: [EMAIL PROTECTED] 

-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Juha
Paananen
Gesendet: Dienstag, 2. Oktober 2001 15:52
An: Orion-Interest
Betreff: Form-based login


Hi!

In WebLogic 6, the j_security_check recognizes a parameter
j_target_url. I don't think this is part of the J2EE spec, but a
WebLogic feature instead. Do you know if there's an equivalent to this
in Orion? At least, this j_target_url doesn't seem to work. 

I need this in a website where there is always (at least, when user has
not logged in) a small login form visible in the left column, and this
form should be submitted to j_security_check and then a specific
welcome page should be displayed. If I just post the form to
j_security_check, I get an error message in the browser You are not
authorized to view this page.. 

The only way I've managed to make the form-based login to work, is by
surfing to some page that has a security-constraint. In this case, Orion
takes me to the login form and then to the originally requested page,
just as it is supposed to do..

Thanks,

Juha






ejbdoclet 1.2 orion 1.5.2

2001-08-30 Thread Jan Heise

hello orion users,

i try to use ejbdoclet 1.2 with orion. i successfully used
ejbdoclet for my jboss-projects and i tried to port one of 
them to orion.
two questions arouse: i did not find how i can create the
full orion-ejb.xml deployment descriptors and orion did not 
like my ejbs blblaBean must not be declared abstract.

any solutions for this or do i have to write the deployment
descriptors by hand?

tia, jan

--
Jan Heise / Tel: +49-163-4803237 / E-Mail: [EMAIL PROTECTED]