load-on-startup doesn't work

2000-11-06 Thread Aleksi Kallio
I have a servlet that starts up my application when Orion (1.0.3 - yes, a very old one) is started. The problem is that nothing happens - init(ServletContext) doesn't get called. I have this in global-web-application.xml: servlet servlet-nameSoftware/servlet-name

Starting thread when Orion starts

2000-10-25 Thread Aleksi Kallio
I have a thread that needs to be running when Orion is up. How to implement it so that it automatically starts when Orion is started (ie. how Orion informs its bootup)?

Problem using JavaMail with Orion

2000-10-24 Thread Aleksi Kallio
500 Internal Server Error java.lang.NoClassDefFoundError: javax/activation/DataHandler This class comes with Orion and also is located in the Orion library path. What's wrong?

Routing a request to default web app to other web app

2000-09-12 Thread Aleksi Kallio
I have a standard web application, accessible from localhost/myapp. Is it possible to configure it to be usable from localhost/, so that the application itself remains in a separate directory in ../applications/ and can be distributed as an .ear-file.

Extending application deployment with own code

2000-09-12 Thread Aleksi Kallio
I've been trying to figure out how to add some functionality to Orion's web-app deployment (such as creating required databasestructures and setting up application specific stuff). Instead of sending a multitude of little questions I just ask: how to do it right? It should configurable from

Orion+MySQL crashes at night

2000-08-18 Thread Aleksi Kallio
We have Orion 1.1.37 with MySQL (mm.mysql driver). MySQL is used as a non-pooled data-source. Everything works fine, but when server is left running for the night, at the morning the DB connection has "crashed": java.sql.SQLException: Lost connection to server during query at

A very interesting problem with JSP's and Finland

2000-08-10 Thread Aleksi Kallio
There is a very funny bug in Orion. I think it is in JSPservlet, because it appears only when compiling jsp pages. I have the package fi.infomates in import clause, which leads to the following error: Ambigious name: fi is both a class and a package After a long search I succeeded to

Registering and using own file/mime types

2000-07-18 Thread Aleksi Kallio
I need to set up Orion to recognise my own file extension .tst (for test) and dispatch requests for that type to a specified servlet (Testlet). Just like jsp's etc... work now. I've tried a bunch of things. I made alias test for Testlet and made a servlet mapping for it. Also added

No Subject

2000-07-10 Thread Aleksi Kallio
Orion access disk resources somehow differently? It's the only program having difficulties with that mapped partition. Aleksi Kallio Infomates Software Technologies