Caldarale, Charles R wrote:
According to the bug report, this is only fixed in Mustang (6.0), not
5.0 (aka 1.5).
Ooh, my bad (misread of the fixed release..). Thanks..
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Jagadeesha T wrote:
I am using Tomcat 5.0 with JBoss 3.2.6. In a very rare cases I got the error as
java.lang.ClassCircularityError(myclass). Does anybody know wahy this error is coming.
There seems to be a well-known Java bug (1.3.x and 1.4.x, fixed in 1.5)
that affects JBoss 3.x:
NoKideen wrote:
is there anybody know how to do this ?
Running Tomcat as Non-Root under Linux listen for port 80
Google is your friend:
http://www.google.com/search?q=linux+port+80+non-root
-
To unsubscribe, e-mail:
Frank W. Zammetti wrote:
Yep, I had a coworker suggest using the OCI driver as well...
And you have to use the right JDBC driver as well.
At least up to the 9.* timeframe, Oracle used to release two JDBC
drivers: one was a thin-only driver with its JDBC distribution, and
one was the full
Darren Govoni wrote:
How can I have my servlet loaded on startup, but
after the web server is up and running? Not possible?
Well, you can always start a thread that does this initialization, and
return. Then, when the full Tomcat initialization is complete, your
thread will run to completion
George Sexton wrote:
If you really want to do this, then you will need to have your application
startup have a method that permits an operator to enter in the password for
the JDBC information at startup.
Whatever - the key is to be able to insert an application-defined
processing step between
Susan Hoddinott wrote:
Everytime I resubscribe to the user list I am bombarded with Spam.
So use an NNTP interface to the list, like I'm doing (on
news.gmane.org). It's sometimes a little less convenient to use, but the
benefits are that I don't have to flood my mailbox with the messages,
and I
Mladen Turk wrote:
Behrang Saeedzadeh wrote:
What are the benefits of running an application like Tomcat with as a
daemon (with JSVC) vs. running it like a normal application?
In one sentence:
Running as non-root on port 1024
In another sentence, starting up the service automatically on system
Peter Crowther wrote:
From: Graham Reeds [mailto:[EMAIL PROTECTED]
Also disable HyperThreading in the BIOS on the new Dell. HT
and Java is not a happy combination.
Interesting... do you have any recommended reading on that, Graham?
Love these urban-legend types of warnings (don't flash your
David Short wrote:
Does anyone know if there is an equivalent to the Oracle Initcap() function?
I am trying to write a database independent name capitalization routine.
In what language? Java?
public static String initCap(String s)
{
return (s == null || s.length() == 0) ? s :
Srinivas Rao Ch wrote:
Can somebody help me in finding the size of a file (and last modified
date also)with DOS batch commands only?
Try the site http://www.jsiinc.com/reghack.htm. Among the thousands of
FAQs there are common script requests like this, with canned scripts to
do the work which
QM wrote:
Which init() overload do you use?
init()
init( ServletConfig )
Using the latter, you should be able to call:
ServletConfig#getServletContext() -- getInitParameter()
Hah. Thank you! Yes, I mean the latter version.
I'd like to configure a set of web-app-level parameters for use by both
Java-based Servlets, and JSP pages. I thought of setting these up as
context-params at the web-app level in web.xml.
For JSPs, all is cool: %= application.getInitParameter(foo) %
returns these parameters.
For Servlets,
Frank W. Zammetti wrote:
I'm working on something for which I need to know what the os.name
property on various OS's is.
FAQ. See http://www.tolstoy.com/samizdat/sysprops.html.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Noel J. Bergman wrote:
Instead, use the PhantomReference-based code that I contributed to Jakarta
Commons.
The main reason why people (misguidedly) use deleteOnExit() is to be
able to generate temporary files that you can return URLs for (e.g. you
generate a .PDF report, and generate an HTTP
[EMAIL PROTECTED] wrote:
I am using Tomcat 5.5 on WindowsXP. Tomcat is installed as a service,
Somehow when Tomcat is installed as a Windows service, the shutdown
doesn't go through the orderly steps (i.e. servlet destroy()s aren't
called, and I suspect the process is just *killed* instead of
Sergey Karpov wrote:
During a call of stored procedure through DBCP there is a mistake of
reduction of type:
java.lang.ClassCastException
That's because you're assuming that dbcp returns you a naked vendor JDBC
Connection object. It doesn't - it returns you a pooled connection
wrapper with
Shapira, Yoav wrote:
swallowOutput is not a Context attribute, it's a Logger attribute:
change your context.xml to fix that.
Really? That's not what the doc says (or the source either). Just tested
on 5.0.2x. (At least, I defined a
DefaultContext swallowOutput=true/
in my Host, and standard
David Wall wrote:
Content-Disposition: attachment;filename=Some Agreement 2004-11-15.doc
This is the correct fix: format the header as per RFC 2231.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Mufaddal Khumri wrote:
As far as what the -server option will do for you , that depends on your
VM vendor.
The Sun JRE distributions typically don't include a server VM, so
-server will give an error. You'll have to download the JDK, and run
the JRE that is embedded within it
David Lee wrote:
2. catalina.policy:
grant codeBase
file:${catalina.home}/webapps/javaxml2/WEB-INF/classes/UpdateItemServle
t.class {
Shouldn't you be giving those permissions (except the Oracle one :-) to
mail.jar, rather than your servlet class? That's what is actually making
the reference,
Pramod Jain wrote:
a) with tomcat5w.exe, I go to startup tab and enter: start -config
C:\abc\my_server.xml
b) In Windows Services editor I go to Apache-Tomcat - Properties - Start Parameters
and enter: start -config
C:\abc\my_server.xml
Don't use double-quotes - those will be passed literally
Shapira, Yoav wrote:
Any JVM switch to make an internal JVM crash disappear is cruising for
a bruising.
Fully understood.
Most likely, it's missing OS-level patches for your system.
True, except that for the Linux case, we are running on one of the
supported OSes (RH EL 3.0WS, stock), and
Andoni wrote:
That's excellent. If I unsubscribe can I still read these? Can I reply?
Yes, you can reply. The first time you try to reply, gmane.org will send
you an autoreply. You have to reply to the auto-reply to authenticate
your mail address, and then you're up and running.
That's how I'm
Mike Cherichetti (Renegade Internet) wrote:
Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC= 0x
This is the Java VM aborting. You'll probably find core.* files littered
in the
Pawson, David wrote:
Does your parser support xml:base?
My parser? We're talking about the xerces parser embedded in Tomcat,
reading the configuration files for Tomcat and its webapps (not a parser
used by an application hosted by Tomcat).
If there's any way to control the instantiation or
Pawson, David wrote:
Try an entity instead of xinclude? Not many parsers are good
for xinclude as yet (a mainly uninformed statement). Entity
resolution is easier if the parser is setup correctly.
Oh, that's what we are doing now, but entity resolution doesn't have a
concept of relative paths.
Robert Koberg wrote:
Haven't tried it, but have you set the:
org.xml.sax.parser=org.apache.xerces.parsers.XIncludeParserConfiguration
Ah. No. Thanks for that clue. Let me go back at it..
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Shankar Unni wrote:
Haven't tried it, but have you set the:
org.xml.sax.parser=org.apache.xerces.parsers.XIncludeParserConfiguration
Ah. No. Thanks for that clue. Let me go back at it..
Alas, that didn't help. I tried setting both org.xml.sax.parser
Shankar Unni wrote:
Is it possible to configure Tomcat to be able to use XInclude to include
fragments of XML into Tomcat's own configuration files (server.xml, the
various webapp web.xml's, etc.)?
Bump? No one's tried this yet
[EMAIL PROTECTED] wrote:
The maximum string size for varchar2 is 8000K. I suggest you use LOB (CLOB
or NCLOB) datatypes.
This is all oracle-specific. Other DBs have different limits. MySQL has
a 255-char limit for Varchar (not varchar2, which is also
Oracle-specific, as is NCLOB).
Bottom line:
Is it possible to configure Tomcat to be able to use XInclude to include
fragments of XML into Tomcat's own configuration files (server.xml, the
various webapp web.xml's, etc.)?
If so, can anyone point me at any HOWTOs or helpful messages? I've tried
searching the archives, but everything I
32 matches
Mail list logo