[ANN] EAR auto-deployer

2002-02-12 Thread Olivier Refalo

Hi,

I developped a simple EAR deployment tool for Orion.
Just drag/drop the enterprise archive in a specific folder and it gets
deployed automatically.

http://www.crionics.com/projects/eclipse/orion.html

Enjoy!
OR

PS: This is not for production use. Many improvements can be made.

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com




Re: Jbuilder 5 VisualCafe 4.5 PlugIns

2001-06-28 Thread Olivier Refalo


What kind of plugin ?!?!

If it's a matter a deploying the j2EE application, with jBuilder 5
enterprise, you can create an ear file.
Let orion know about it and everytime you build your project, orion will
smoothly redeploy your application.

It works like a charm.
Regards,
OR


--- Brynolf Andersson [EMAIL PROTECTED] wrote:
 Hi all,
 anyone out there that has built a plug-in for Orion to Jbuilder 5 and/or
 
 Visual Cafe 4.5 ??
 
 Thanks
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com
 
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/




Re: Oracle 9ias Container for J2ee (oc4j)

2001-06-02 Thread Olivier Refalo

Well... This is really really suspicious...
Check out the doc... but man... it's Orion !!!

Very good news... I can finaly argue with my manager who was complaining
about support...

OR.

--- Phillip Ross [EMAIL PROTECTED] wrote:
 Yesterday Oracle announced their new 9ias OC4J product, fast,
 light-weight,
 highly-scalable, easy-to-use and complete J2EE environment written
 entirely in
 java...
 
 (http://otn.oracle.com/tech/java/oc4j/htdocs/oc4j_fov.html)
 
 The feature overview looks like suspiciously like orion server's feature
 overview, and the distribution looks suspiciously like orion's
 distribution :)
 
 java -jar ./j2ee/home/orion.jar -version
 Oracle9iAS (1.0.2.2) Containers for J2EE
 
 
 So is this a big win for Ironflare or what???
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail - only $35 
 a year!  http://personal.mail.yahoo.com/
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




IIS, Orion, virtual host

2001-04-25 Thread olivier

Hi,

For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and
x.x.x.21. (modification in the connection setting and the hosts file)
I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80.
Is is because the port are the same that I can't start both of them at the
same time (they complain that the address is in use).

Or is it possible and I don't know how to do it ???

Thanks,

olivier





RE: orion http server performance/load handling

2001-04-25 Thread olivier

For one thing, this isn't a fair comparison as you're using different
numbers of layers
asp-db
vs
jsp(I assume?)-ejb-db
I know it is not fair.
But the result contracdict what I was expecting (orion slower because of
more work/layers, but IIS crashing earlier because direct access).

I have to review my code. The answer could be here.

Olivier

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Hani Suleiman
Sent: 25 April 2001 13:35
To: Orion-Interest
Subject: Re: orion http server performance/load handling


For one thing, this isn't a fair comparison as you're using different
numbers of layers

asp-db

vs

jsp(I assume?)-ejb-db

but I agree that the connection url not found error is disturbing. Why
not submit a test app to bugzilla, I'm sure the orion folk would be
interested in fixing this (since it does sound like a bug)

Hani

On Wed, 25 Apr 2001, olivier wrote:

 Hi,

 I have developped 2 little web app using ASP/IIS for one,
 struts/JSP/EJB/Orion for the other. They both access the same database
using
 the same store proc, the pages are the same...
 However the EJB access the database, transform the resultset into objects
 arrays, while in the ASP the access is direct from the page and result are
 not converted into objects.

 I have written a simple client that create some thread, each thread
executes
 several connection, all simultaneously.
 Orion is faster up to 150 connections.
 But at 200, Orion cannot respond to all requests (error like connection
URL
 not found), on the first ones (quite a lot though), while IIS keeps
running,
 slowly but running.

 Are their any settings I could change to get it better. ?


 Cheers,

 Olivier












RE: IIS, Orion, virtual host

2001-04-25 Thread olivier

this is the error message I have:
Error starting HTTP-Server: Address in use: JVM_Bind


-Original Message-
From: Ron White [mailto:[EMAIL PROTECTED]]
Sent: 25 April 2001 13:22
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: RE: IIS, Orion, virtual host


What exactly is the error message? There are a couple of different ones
pertaining to different config files.

Thanks,
Ron White

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of olivier
Sent: Wednesday, April 25, 2001 3:51 AM
To: Orion-Interest
Subject: IIS, Orion, virtual host


Hi,

For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and
x.x.x.21. (modification in the connection setting and the hosts file)
I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80.
Is is because the port are the same that I can't start both of them at the
same time (they complain that the address is in use).

Or is it possible and I don't know how to do it ???

Thanks,

olivier






RE: orion http server performance/load handling

2001-04-25 Thread olivier

The error I get is:
java.net.ConnectException: Connection refused: no further information

I have changed my test so I don't access any page involving database
connection (JDBC access). It is the same. Around 200, problems.

Olivier

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Victor Salaman
Sent: 25 April 2001 14:01
To: Orion-Interest
Subject: RE: orion http server performance/load handling


I suspect this is a problem with your jdbc access layer...

To troubleshoot make simple program accessing the data directly with
just the jdbc driver and test.

-Original Message-
From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 8:35 AM
To: Orion-Interest
Subject: Re: orion http server performance/load handling


For one thing, this isn't a fair comparison as you're using different
numbers of layers

asp-db

vs

jsp(I assume?)-ejb-db

but I agree that the connection url not found error is disturbing. Why
not submit a test app to bugzilla, I'm sure the orion folk would be
interested in fixing this (since it does sound like a bug)

Hani

On Wed, 25 Apr 2001, olivier wrote:

 Hi,

 I have developped 2 little web app using ASP/IIS for one,
 struts/JSP/EJB/Orion for the other. They both access the same database
using
 the same store proc, the pages are the same...
 However the EJB access the database, transform the resultset into
objects
 arrays, while in the ASP the access is direct from the page and result
are
 not converted into objects.

 I have written a simple client that create some thread, each thread
executes
 several connection, all simultaneously.
 Orion is faster up to 150 connections.
 But at 200, Orion cannot respond to all requests (error like
connection URL
 not found), on the first ones (quite a lot though), while IIS keeps
running,
 slowly but running.

 Are their any settings I could change to get it better. ?


 Cheers,

 Olivier













RE: IIS, Orion, virtual host

2001-04-25 Thread olivier

I wanted to create virtual host to avoid having to type IP:port in the
browser.
I know it works if I use different ports. I was using loopback (127.0.0.1:80
and 127.0.0.1:8080). But I would like to avoid that.
In IIS, you can have 2 sites running on the same port, as long as they have
2 different addresses.

But it looks like it is something I have done wrong anyway...can't see what
though.

Thanks,

Olivier

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Paul Medcraft
Sent: 25 April 2001 14:16
To: Orion-Interest
Subject: RE: IIS, Orion, virtual host



You can't have two applications on one machine listening on the same port,
although they could both use the same IP. Try setting them both to use x.20
and put orion on a different port.

Paul

 -Original Message-
 From: olivier [mailto:[EMAIL PROTECTED]]
 Sent: 25 April 2001 13:30
 To: Orion-Interest
 Subject: RE: IIS, Orion, virtual host


 this is the error message I have:
 Error starting HTTP-Server: Address in use: JVM_Bind


 -Original Message-
 From: Ron White [mailto:[EMAIL PROTECTED]]
 Sent: 25 April 2001 13:22
 To: Orion-Interest
 Cc: [EMAIL PROTECTED]
 Subject: RE: IIS, Orion, virtual host


 What exactly is the error message? There are a couple of
 different ones
 pertaining to different config files.

 Thanks,
 Ron White

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of olivier
 Sent: Wednesday, April 25, 2001 3:51 AM
 To: Orion-Interest
 Subject: IIS, Orion, virtual host


 Hi,

 For some reason, I have set 2 IP addresse to my machine (NT).
 x.x.x.20 and
 x.x.x.21. (modification in the connection setting and the hosts file)
 I have configured IIs to use x.20, on port 80, and Orion x.21
 on port 80.
 Is is because the port are the same that I can't start both
 of them at the
 same time (they complain that the address is in use).

 Or is it possible and I don't know how to do it ???

 Thanks,

 olivier




http://www.iii.co.uk
Interactive Investor International is a leading UK Internet personal
finance service that provides individuals with the capability to identify,
compare, monitor and buy online a number of financial products and services.

Interactive Investor Trading Limited, a subsidiary of Interactive Investor
International plc, is regulated by the SFA.





RE: IIS, Orion, virtual host

2001-04-25 Thread olivier

Now I have tried with a different port (IIS is on 80)
web-site host=x.x.x.20 port=8080 display-name=Default Orion WebSite
virtual-hosts=mySite.Java

I still have this JVM_Bind error, but if I type http://mySite.java:8080, I
get something.
...
still don't see what is wrong.

How many file should I have to modify?
So far, I have:
default-web-site.xml
my-web-site.xml (to make sure that they don't use the same)
hosts (NT)
TCP/IP configuration

Olivier

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ron van Pol
Sent: 25 April 2001 16:24
To: Orion-Interest
Subject: RE: IIS, Orion, virtual host


Seems to me that there can run only one process on a particular port. Once
IIS is already running on port 80 Orion will be unable to bind to that port
since it is already in use by IIS. Same goes if you start orion before IIS.
Then IIS, will not be able to start since Orion already has port 80 in use.

Ron

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of olivier
 Sent: Wednesday, April 25, 2001 9:51 AM
 To: Orion-Interest
 Subject: IIS, Orion, virtual host


 Hi,

 For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and
 x.x.x.21. (modification in the connection setting and the hosts file)
 I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80.
 Is is because the port are the same that I can't start both of them at the
 same time (they complain that the address is in use).

 Or is it possible and I don't know how to do it ???

 Thanks,

 olivier










Orion-Struts (more question)

2001-04-12 Thread olivier

Hi,

Thanks to the trick I have seen on this site about how to make struts
working with Orion, I thought that was all good...not exactly.
I can use most of tags I need, except the bean:message one:
html:link
page="/editRegistration.do?action=create"Registration/html:link

(The trick is to remove the dtd from the struts.jar and put them in the
WEB-INF/classes of the application)

This throws the following exception:
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at org.apache.struts.util.RequestUtils.message(RequestUtils.java:285)

Any success from someone ??

Thanks,

Olivier






RE: Building an application

2001-04-11 Thread olivier

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







RE: Using applets in orion

2001-04-11 Thread olivier

Hi Fredrik,

This is working for me

I put this in a jsp. The appletArchive.jar is in the same directory as the
jsp.

APPLET code="com.Applet.class" archive="appletArchive.jar" height="407"
width="125"
  param name="param1" value="value1"
/APPLET

Olivier
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Fredrik Olsson
Sent: 11 April 2001 14:17
To: Orion-Interest
Subject: Using applets in orion


How do specify the path for an applet in the HTML code

- when the applet is a standalone class file
- when the applet is part of a jar archive

Whatever approach I try I have problems with the relative paths

Thankful for any hints

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






RE: Building an application

2001-04-11 Thread olivier

I had a quick look at log4J, but though it looked very complete, also bit
more difficult to use that the dumb servlet.log()...
I could not download the binaries from opensymphony.

But I when I get some time, I will have a better look at log4j anyway.

thanks.

Olivier
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan North
Sent: 11 April 2001 13:02
To: Orion-Interest
Subject: RE: Building an application


Logging is something that has been rather overlooked in java.  The proposed
Java 1.4 contains a logging api, but in the meantime, the log4j project at
jakarta.apache.org/log4j is an excellent framework suitable for most
architectures.  We use it all the time in servlets, EJBs, taglibs, etc and
it works very well.

The OpenSymphony open source project (www.opensymphony.com) contains a
class called com.opensymphony.util.Logger in oscore.jar (you can obtain and
build this through anonymous cvs) which conveniently hides all the things
you don't need to know about log4j.  You use it like this:

import com.opensymphony.util.Logger;

public class MyClass {
   private static final Logger logger = new Logger( MyClass.class );
   ...
   public void myMethod() {
 logger.debug( "This is a debug message" );
 logger.info( "This is info" );
 logger.warn( "Guess what this is?" );
 logger.error( "Bad news" );
 logger.fatal( "REALLY bad news" );
 ...


It reads in a properties file which is described in the log4j docs, and is
accessed by
the logger.config system property, eg:

java -Dlogger.config=/path/to/my/logger.properties MyClass

which allows you to switch logging on and off, and record only certain
priorities of logging, send debug to the console and error to syslog or the
Event Logger in NT, etc.

Very clean, simple and nice to use.

Hope that helps,
Dan/tastapod

ps. I have no commercial affiliation in opensymphony, but Logger is
possibly the class I use the most anywhere in java, after java.lang.String
:o)


At 10:09 11/04/2001 +0100, you wrote:
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 mus

Logging

2001-04-11 Thread olivier

Hi,

(That mail could be for Dan who seems to work with log4j.)

I am trying to use log4j to debug my application.
(I could not download opensymphony...the download link is disabled)

This is how I set it up:

  static Category LOG4J = Category.getRoot();
BasicConfigurator.configure();
Layout layout = new PatternLayout("%d{HH:mm:ss} %-5p %c %x - %m%n");

//not sure about the output. I have tried Syste.out as well
LOG4J.addAppender(new FileAppender(layout, System.err));

//no debugging if not set
if((debugPriority = System.getProperty("debugLevel")) == null)
  LOG4J.setPriority(Priority.toPriority("FATAL"));

if(LOG4J.isInfoEnabled()) LOG4J.info("Application started...");



I have 2 problems:
1) The statements are printed twice, but in different format:
The first one is the default one, the second one is the one I specify
0 [ApplicationServerThread] INFO root  - Application started...
20:12:37 INFO  root  - Application started...

2)As is it the log are printed on the console. Is is possible to redired
them to the application.log ???

Thanks,

Olivier





RE: Building an application

2001-04-10 Thread olivier

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





RE: Building an application

2001-04-10 Thread olivier

I suppose it is a orion configuration problem, as when I put the same ear
into the deploy directory of jboss, I can access the index.html page.

Is there a plan from the orion developper to implement a "drag and drop"
feature in Orion ?? :-)

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





Building an application

2001-04-09 Thread olivier
Title: SV: Error deserializing session



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 
earis 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


Fw:Orion 0.9.4l does not load /WEB-INF/lib/*.jar files

2000-03-17 Thread Olivier Refalo



I experienced the same problem with 
taglibstored in a jar archive.

OR.


process SUID

1999-12-09 Thread Olivier Refalo

Hi guys,
I am running Orion on my Linux system. For security reasons, I have to run
it under a UID which is not root. Unfortunatly, most Unix system prevent
normal users from creating sockets with a port below 1024.
For this reason, Orion has to be started as root and then, when
initialization is finished, forced to another UID.

Think it would be a good idea to add this functionality in the next
versions.

Attached to this message is a piece of code I found in Jetty (another good
servlet engine).

Regards,
OR.

 Setuid.zip