e somewhere
> to set a log file in the definition of the datasource. I assume I only
> need to set the logWriter once, so could I do it in the init method of a
> dumb servlet that gets preloaded? Or is there a better time and place to
> set the logWriter?
>
> Thank
Bill,
// Use JNDI lookup to locate the data source:
InitialContext ctx = new InitialContext(System.getProperties());
DataSource ds = (DataSource)ctx.lookup(dsName);
// Have the connection pool log to the specified log file:
ds.setLogWriter(myPrintWriter);
Where dsN
st give you a central place to build from, and because ant knows about
> .war packaging and supports FTP, theoretically (because I have not done
this
> myself) you can do all you're looking for with build scripts.
>
> - Original Message -
> From: "Attila Bodis&quo
Steffen,
Are the classes you are looking for packaged as JARs? I believe Orion will
only look for JARs under WEB-INF/lib. For standalone classes, you need to
put them under WEB-INF/classes.
Hope this helps,
Attila
- Original Message -
From: "Steffen Stundzig" <[EMAIL PROTECT
Hi,
This is a newbie question, I guess... Here is the situation:
I have a web application (a bunch of servlets, JSPs, and supporting classes)
I want to deploy to multiple Orion instances. Some of these instances are
for QA, some are inside the firewall, and some are outside the firewall. My
a
>From reading the JSP 1.1 spec (Sec. 2.13.6.1, p. 69):
This action has two mandatory attributes: name and value. Name
indicates the name of the parameter; value, which may be a request-time
expression, indicates its value.
It's not particularly clearly worded, but the implicat
Subrah,
I don't think that's possible with Orion. Note that you can set up
load-balancing across multiple IP addresses (one VM per IP address). The
howto is on the Orion site (as well as on www.orionsupport.com, I think).
But I don't think you can load-balance multiple Orion instances on the sa
Title:
Harley,
I am
new to all this, but I am curious why you are trying to bind your datasource
programmatically. Here's what I have in my
$ORION_HOME/config/data-sources.xml:
class="oracle.jdbc.pool.OracleConnectionPoolDataSource"
connection-driver="oracle.jdbc.driver.Oracl
Brandy,
It enables auto-compilation of JSPs in your web
applications. If you didn't have tools.jar in your Orion home directory,
then you would have to precompile all your JSPs (and recompile them by hand each
time you change them), which is a pain.
Cheers,
Attila
- Orig
Joni,
I am having the same problem using 1.4.5; strangely, I am able
to use -shutdown just fine as long as none of my servlets/JSPs do any JDBC
calls. Once I get deeper into my app where I start hitting the database,
Orion refuses to shut down in exactly the way you describe.
Attila
e. Clearly Orion
stores the original request URI somewhere (otherwise it wouldn't know where to
go after a successful login), but how can I get at this
information???
Any help would be
greatly appreciated!
Attila
Attila Bodis
Developme
I'd like. Clearly Orion stores the original request URI
somewhere (otherwise it wouldn't know where to go after a successful login), but
how can I get at this information???
Any help would be greatly
appreciated!
Attila
Attila
Bodis
Development Manager, Mobile
Ho
12 matches
Mail list logo