The Apache folks don't seem to distribute Linux/PPC libraries, just
Linux/Intel; and SuSE doesn't package Apache/Tomcat on PPC.
So, while you can use the Java classes and any other files you've already
downloaded, you'll need to build mod_jk.so (and any other libraries you
need) yourself.
You
Thanks Bill for your prompt reply,
At the URL you've given I can see the source for tomcat and the API
but not mod_jk.. is the source for mod_jk bundled within the tomcat
file?
Sorry, it's in jakarta-tomcat-3.2.3-src.*, under src/native/ .
Will I need to build tomcat as well or just
snip /
.equals(passwd)
rather than
passwd.equals( )
snip /
No you shouldn't. That's totally evil. For a start, you're
creating another String object by doing
snip/
remark
As is a constant string, it is created just once. So there
is not much overhead.
True, other
- JDBCRealm, how to use in an applet
(Did you really mean use JDBCRealm in an applet? Tomcat doesn't run
applets, only servlets,...)
Did you read the online Tomcat docs?
http://jakarta.apache.org/tomcat/
(Pick the version of Tomcat you're using under Documentation on the left
side.)
Or
Yes, as you say. You'll need a separate server.xml file for each instance,
setting the ports uniquely across all instances.
-- Bill K.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 7:38
PROTECTED]]
Sent: Thursday, August 09, 2001 9:50 AM
To: [EMAIL PROTECTED]
Subject: Re: Using Tomcat with MSAccess
Kyle Wayne Kelly
(504)391-3985
http://www.cs.uno.edu/~kkelly
- Original Message -
From: William Kaufman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday
Tomcat doesn't do JDBC. Tomcat comes with optional classes (like JDBCRealm)
which do, but those are extensions.
So the answer is, it comes with all the JDBC drivers it needs, which is
none. If _your_ code uses JDBC, _you'll_ need to get the driver(s) you want
yourself.
Try adding a url-pattern element to your web.xml. The servlet spec
details the format of web.xml:
http://java.sun.com/products/servlet/download.html
-- Bill K.
-Original Message-
From: Yuval [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
1) This isn't a Tomcat question: if you'd done the same in a java
application, you'd have found the same thing. There are forums, newsgroups,
and mailing lists for Java questions.
2) You're confusing environment variables with properties. Properties are
defined either by loading them from a
I have developed a servlet web application which
connects to a database to retrieve information. I
noticed that if within my servlet I destroy the
connection to the database there is no way to
reconnect to the database .
Maybe this is a JSP thing (I'm not too familiar with those), and
it. Simply refreshing the servlet page
doesn;t seem to work.
--- William Kaufman [EMAIL PROTECTED] wrote:
I have developed a servlet web application
which
connects to a database to retrieve information. I
noticed that if within my servlet I destroy the
connection to the database
problem in a little more detail, I figured this
must
be the issue. I guess this leads to another
question.
Once you destroy a servlet, can you reinitialize
it.
If so how?
thanks,
-Amos
--- William Kaufman [EMAIL PROTECTED] wrote:
This is not really a jdbc
Change tomcat.(bat/sh) to move the log file(s) to a new location before
starting the java process. Or, change it to invoke your own Java main
routine which moves the files before calling
org.apache.tomcat.startup.Tomcat.execute().
-- Bill K.
The important bit is:
ezmlm-reject: fatal: Sorry, I don't accept messages of MIME
Content-Type
'multipart/alternative' (#5.2.3)
The lesson here is, use plain text, like it says in the welcome message
we're all sent when we sign on to the mailing list.
In Outlook, you can set this in the
1) Tomcat, by default, connects on port 8080. If you want to change that,
edit your server.xml.
2) It sounds like your HTML is malformed or empty. Use the View source
menu in the browser to see what you're spitting out.
-- Bill K.
-Original
There's also the possibility of letting the browser resize it for you, by
setting the width and height attributes of the IMG tag. Browsers don't
scale images well, but it's a whole lot easier than doing it yourself.
(Also note that AWT can't run on Unix without an X server, nor can it run if
You should be able to set this in your web.xml file, with the
session-timeout tag.
Take a look at the servlet spec, at
http://java.sun.com/products/servlet/download.html .
-- Bill K.
-Original Message-
From: Andrew Jarman [mailto:[EMAIL
What is the default password for the admin context?
It's in tomcat/conf/tomcat-users.xml .
where can I find documentation on implementing security with tomcat?
Start with the servlet specification at
http://java.sun.com/products/servlet/ . You could also look at JDBCRealm
(sources and
First question: Did you try running this in a browser debugger? MS has one
for IE (search for JScript debugger), and Netscape 4 has one.
parent.document.critere
document.critere isn't defined, unless you're defining it somewhere else.
And, is this actually, really the HTML you're using?
Are you encoding the cross-protocol links (with
HttpServletResponse.encode[Redirect]URL())?
The only reason I ask is that it seems strange that it does OK with cookies
but not with URL encoding: the code paths are similar, so I'd expect it to
fail with both or succeed with both.
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/JDBCRealm.howto
-- Bill K.
-Original Message-
From: Mehul S Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 6:00 AM
To: Tomcat User archive
Subject: Wat is JDBC realm basically
It should be
http://localhost:8080/servlet/baseball
^^^
If you want to use
http://localhost:8080/baseball
you'll need to define your own web.xml, aliasing your servlet to /baseball
like,
cut here
web-app
servlet
servlet-name
Depending on your JVM, you may be able to do a break (Ctrl+Break on
Windows, Ctrl+Y on several Unixes) in the window running Tomcat (or any Java
application) to get a stack trace. Dunno how (or even if) it can be done on
Macs.
Failing that, you could use jdb to connect to the Tomcat process,
I'm not sure I understand what you're trying to accomplish, but the JSDK
explains how to use load-on-startup. Look at the JSDK spec, at,
http://java.sun.com/products/servlet/download.html
or web.dtd, at,
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
Tomcat isn't timing out--your browser is. It gives up if it doesn't get a
response from the server in a certain amount of time. And I don't think you
can change that setting on any browser I've seen.
You could try calling ServletOutputStream.flush() each time you write data:
hopefully, that
I can think of a few ways to deal with it:
1) Disallow double-clicking on the client, ever. Add
ondblclick=javascript: return false;
to the anchor tag(s). (The servlet engine never knows whether the user
single- or double-clicked. If you need that specific information, you
always
We've got it working exactly as you say, but only if the data is delimited
with _tabs_, not _commas_.
-- Bill K.
-Original Message-
From: Erin Lester [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 2:21 PM
To: [EMAIL PROTECTED]
From the HTTP spec at http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2068.html
:
] 10.2.7 206 Partial Content
] The server has fulfilled the partial GET request for the resource.
That means you called HttpServletResponse.setContentLength() with a number
bigger than the actual amount of data
(You know, this has nothing at all to do with Tomcat, or even servlets,...)
Use a PreparedStatement, and call setString().
-- Bill K.
-Original Message-
From: Andrea Mari [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 6:58 AM
To:
Page not found is browser-speak for your servlet blew chunks.
Take a look at the window Tomcat is running in: unless you wrote a good deal
of code to avoid it, you should see a stack trace which tells you where your
code broke.
If there's no stack trace, chances are your servlet is locked up.
Then i would like to know if there is a program to clean up
objects. Like a garbage collection on the system.
Of course there is: it's Java. The JDK will garbage-collect released
objects. The problem is, you aren't releasing them.
You need to figure out _why_ you're caching them: is it on
Tomcat terminates when the user who starts tomcat logs off
the server.
man nohup.
-- Bill K.
-Original Message-
From: Neil Anderson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 3:57 AM
To: [EMAIL PROTECTED]
Subject: Tomcat
Assuming you mean the getRequestURI() (not URL) method of
HttpServletRequest (not Servelt),...
What exactly is the compiler complaining about? What's the error it's
producing?
-- Bill K.
-Original Message-
From: Tia Haenni [mailto:[EMAIL
Looking at the source (available from
http://jakarta.apache.org/builds/jakarta-tomcat/release/) it looks like the
only way this would happen is if it doesn't have the ServletConfig passed
into its init() method.
Are you intercepting the call to init() in your servlet? If so, are you
making sure
Note that a good deal of this time might be spent in
HttpServletRequest.getSession(): the 3.2.1 implementation is much slower
than the 3.2.2 version. You might want to time your calls and, if that's
where the slow-down is, upgrade to 3.2.2.
-- Bill K.
Looking at the source code, he's just throwing the execption to himself as a
debugging message. You could turn it off by dropping your debug level to
20, but I wouldn't worry too much about it.
-- Bill K.
-Original Message-
From: [EMAIL
OK, no one's answered this yet, so,...
First, I don't know if it's killing a thread is the right approach. Should
I do that, without shutdown Tomcat ?
So, why are you creating an infinite loop? I mean, if you didn't, you
wouldn't have to kill it.
If you're generally asking how one can kill
I've got random java.sql.SQLException: Io exception: Socket closed error
in my web application, which uses Tomcat 3.2.2 and struts. It happens
only when a link is clicked without the page fully loaded. I don't get
any exception while the page is fully loaded.
That exception tells you
Maybe you didn't really kill off Tomcat, but just the DOS box it was running
in,... (I've seen it happen after closing the DOS box, but not after
Ctrl+C'ing the program.)
Try bringing up the Task Manager, and make sure there aren't any instances
of a java image name running.
I think it's more accurate to say, Don't call anything that would read the
upload stream--for instance, you could ask about the headers or the URL, but
don't ask about the parameters.
If this is the problem you're having, check the console window that Tomcat
is running in:
You want ServletConfig.getInitParameter(); you can get the ServletConfig
with Servlet.getServletConfig(), or intercept it on the servlet's init()
call.
-- Bill K.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:
Start
tomcat on port 80 instead of 8080. (This is listed in your
server.xml.)
Note
that you may have to start it with administrator/root privileges, since ports
below 1024 are access-controlled.
-- Bill K.
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL
Look at HttpSessionBindingListener:
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpSess
ionBindingListener.html
-- Bill K.
-Original Message-
From: Pankaj Chhaparwal [mailto:[EMAIL PROTECTED]]
Sent: Friday, June
Try adding,
servlet-mapping
servlet-name
controller
/servlet-name
url-pattern
/something
/url-pattern
/servlet-mapping
to your web.xml. Then,
http://localhost:8080/something
should work.
ServletContext.getResourceAsStream():
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletContex
t.html#getResourceAsStream(java.lang.String)
(I believe it shows up starting in JSDK version 2.1, or Tomcat 3.2.)
-- Bill K.
Look at the web.dtd file in tomcat/conf--specifically, the url-pattern
tag. The complete spec is at http://java.sun.com/products/servlet/ .
-- Bill K.
-Original Message-
From: Eric MARTIN [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001
These look like two different issues:
1) Oracle is running out of cursors.
a) Make sure you close every ResultSet, Statement and Connection when
you're done with them. One trick you can use on Oracle is to log into the
database in SQL*Plus as SYS while your application is running, and do,
I have some jsp files, which work under JRun on our intranet, but when I
put
them on our server on the internet and open them with a browser, I get a
javascript error message in the status bar at the bottom of the browser
window.
Try debugging the javascript. Both Microsoft (for IE) and
javax.servlet.ServletContext:
getMajorVersion(), getMinorVersion()
(returns the version of the JSDK it implements)
getServerInfo()
(returns a text description of the Tomcat version)
-- Bill K.
-Original Message-
From: Amer Mallah
From the JSDK 2.2 spec, available at
http://java.sun.com/products/servlet/download.html :
The load-on-startup element indicates that this servlet should be
loaded on the startup of the web application. The optional contents of
these element must be a positive integer indicating the order in
Eh,... It might have a different name on your version of Oracle, or be under
a different schema. Try running,
SELECT OWNER, VIEW_NAME
FROM ALL_VIEWS
WHERE VIEW_NAME LIKE '%OPEN%CURSOR%';
and see what pops up.
-- Bill K.
the recordset and
statement one way?)
At 07:33 PM 6/21/2001 +0300, you wrote:
you can use v$parameter view for getting OPEN_CURSORS paremeter value.
or in sql plus or svrmgrl type
show parameter OPEN_CURSORS
-Original Message-
From: William Kaufman [mailto:[EMAIL PROTECTED]]
Sent
(You know, I just mailed this text _this_morning_,...)
javax.servlet.ServletContext:
getMajorVersion(), getMinorVersion()
(returns the version of the JSDK it implements)
getServerInfo()
(returns a text description of the Tomcat version)
-- Bill
Well, from your description, it sounds like it's a Netscape issue, not a
Tomcat issue. Which process is taking the CPU? (Look at the process list
in the Windows Task Manager.)
If it's actually Tomcat sucking CPU, activate the window Tomcat is running
in, and hit Ctrl+Break: that will give you
http://java.sun.com/products/servlet/2.2/javadoc/index.html
Look for Header in javax.servlet.http.HttpServletRequest and
javax.servlet.http.HttpServletResponse.
-- Bill K.
-Original Message-
From: Joe Dalessandro [mailto:[EMAIL PROTECTED]]
Sent:
Are you sure they're not double-clicking the submission control? Are these
the kind of users who know the difference between a single-click and a
double-click?
Is it only happening with one user and not another? (Can you tell that from
your logs?)
(I find that many users single-click buttons
- is war-file a jar-file?
Yes, except it's got some extra entries, and it ends in .war. See the
servlet spec, at http://java.sun.com/products/servlet/2.2/ , for more
information on the WAR file format.
- which command/tool can I use to do it?
jar.
The only time you need to set a variable to null is when the variable itself
sticks around (e.g., a class variable, or an instance variable on some
object on a class variable). You never have to null out local variables.
This is a general Java question, not a Tomcat question. If my answer
1) Do you have cookies turned on in your browser?
2) Did you call HttpServletResponse.encode[Redirect]URL() on all your links?
(See the javadoc for that method.)
-- Bill K.
-Original Message-
From: James Manna [mailto:[EMAIL PROTECTED]]
Sent:
MS Word documents should use application/msword. (See the registry of
MIME types at
ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types .)
-- Bill K.
-Original Message-
From: Hemant Singh [mailto:[EMAIL PROTECTED]]
Sent: Monday,
public static String getYear(String str){
synchronized(str){
newStr = str.substring(0,4);
return newStr;
}
}
While your use of synchronize is correct, _this_ synchronization is not
necessary at all. java.lang.String is unmodifiable: there's nothing you can
do with it
Are you sure it's the _session_ timeout, not the browser's connection
timeout?
The session timeout defaults to 30 minutes. That should be plenty of time
to load anything, even a Word document at 9600 baud,...
More likely, the browser is timing out when it doesn't get a response
quickly enough.
I think the reason no one responded was, you didn't say _what_ problem you
had.
If you're getting an exception/error somewhere, post the stack trace, and
the line of code where it happened.
If it's just that the servlet didn't reload, it might be a problem with the
timestamp on the file (esp.
Location: /servlet/MyServlet Internal Servlet
Error:java.lang.ArrayIndexOutOfBoundsException: 10
at MyServlet.doPost(MyServlet.java:157)
This isn't a Tomcat issue: _your_ code is throwing an
ArrayOutOfBoundsException, at line 157.
Moreover, the code you posted doesn't look like it'd throw
See this posting:
http://marc.theaimsgroup.com/?l=tomcat-userm=98770302314327w=2
-- Bill K.
-Original Message-
From: Daniel de Almeida Alvares [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 7:03 AM
To:
1) If the cookies are not found in the directory , where are they ?
In memory. The cookie is set with an expiration of -1, which suggests to
the browser that it shouldn't bother writing it to disk.
2) If I disable cookies in the browser , still session tracking will work
?
Your servlet
And to remind folks, the archives are at two locations:
http://marc.theaimsgroup.com/?l=tomcat-user
http://tomcat.mslinn.com/ (under Listservs)
-- Bill K.
-Original Message-
From: Randy Layman [mailto:[EMAIL
Do you mean you're trying to do an FTP download _of_ Java _in_ Java?
I wouldn't attempt this: there's one form (the license agreement) followed
by another form (the FTP download site selection). And Sun would probably
consider bypassing the forms (if possible) as legally questionable,
Look at the method attribute of the form element in HTML, and form
submission:
http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13
-- Bill K.
-Original Message-
From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL
On the browser side:
http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13
On the servlet side:
http://java.sun.com/products/servlet/download.html
-- Bill K.
-Original Message-
From: Nael Mohammad [mailto:[EMAIL
You might need to specify the content type to convince Netscape that the
content is HTML (while IE just looks for an html tag).
Try,
HttpServletResponse resp;
resp.setContentType(text/html);
before streaming the XSL results.
You can also try adding,
xsl:output
Hemant's right, that performance is often dependent on many things,... but
doing new Boolean is guaranteed to be slower.
If you look at the source of java.lang.Boolean, you'll see that the your
version of the code is identical to what Boolean itself does: therefore,
using Boolean is no win (and
Most likely, your problem is the same as the one spelled out here:
http://marc.theaimsgroup.com/?l=tomcat-userm=98770302314327w=2
-- Bill K.
-Original Message-
From: Rod Frey [mailto:[EMAIL PROTECTED]]
Sent: Monday, June
I can only get it to work if I include 'servlet' like the following:
http://localhost/Gillette/servlet/Venus?SerialId=ZVXZVContactId=1
...
web.xml:
servlet
servlet-nameVenus/servlet-name
servlet-classGVservlet/servlet-class
/servlet
Which is the name of your
RequestInterceptorclassName="org.apache.tomcat.request.AccessInterceptor"
debug="0" /
From
that class' javadoc:
* Access control - find
if a request matches any web-resource-collection* and set the
"required" attributes.** The spec requires additive
checking ( i.e. there is no "best
The AWT classes need an x-server to work with images.
Worse yet, the server has to be unlocked: you can't connect to a locked
server.
-- Bill K.
-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent:
-mail
-Ben
-Original Message-
From: William Kaufman [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 8:05 PM
To: Tomcat Users (E-mail)
Subject: Using JDBCRealms
(Tomcat version 3.2.1.)
I'm trying to use JDBCRealm to manage access to some static
files
Yes, there is. Don't do it.
What are you actually trying to accomplish?
-- Bill K.
-Original Message-
From: Rui Oliveira [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 12:19 PM
To: [EMAIL PROTECTED]
Subject:
It
means what it sounds like: the method isn't defined in the version of
HttpSession that's on your CLASSPATH.
I
thinkthat method was added in JSDK 2.1. What version are you
compling against?
-- Bill K.
-Original Message-From: haneesh
[mailto:[EMAIL PROTECTED]]Sent:
I need the url to not have the 'servlet' in it. Anybody know
how to do this?
Add a servlet-mapping tag to your web.xml file. The DTD for that file
(for JSDK 2.2 / Tomcat 3.2) is available at
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
and in the JSDK 2.2 specification.
Also, how
I'm not sure I get you, but, can't you just alias the servlet's URL using
the url-pattern tag in your web.xml?
(Take a look at the DTD for web.xml, at,
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
or in the JSDK spec.)
-- Bill
-first, is it possible to use a JDBC IV sheme with Tomcat
Yes.
-if so, how is it possible? How is it made?
The same way you use any JDBC implementation.
In other words, where can i find documentation about that?
The obvious place would be Sun's JDBC home page:
Try
http://myserver:8080/servlet/dummy.HelloWorld
1) 8080 is the default port for Tomcat: you can change it in server.xml.
2) All servlets (by default--settable in web.xml) appear under /servlet.
3) After that comes the full class name.
Take a
look at web.xml--specifically, the context-param
element.
-- Bill K.
-Original Message-From: Ronald G. Louzon
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, May 22, 2001 7:33
AMTo: '[EMAIL PROTECTED]'Subject: Context
loading of .properties files
I
have several
Look at the error-page element in web.xml; the DTD is in the JSDK spec,
and at
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
-- Bill K.
-Original Message-
From: Andrew Chou [mailto:[EMAIL PROTECTED]]
Sent: Monday, May
(I'm not sure what this question has to do with cookies,...)
I use JDBCRealm and I'd like to have the connection times out after a
certain period of time. Currently, it seems that once you have logged
in, as long as you don't exit from your browser, the servlets
can be run forever. Is there
javax.servlet.http.HttpServletRequest.getRemoteUser().
-- Bill K.
-Original Message-
From: mohamed imdadullah [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 9:17 AM
To: [EMAIL PROTECTED]
Subject: Difficult
So what's the value of text? Does it include some kind of line break
character, or doesn't it?
(You might want to try something like,
for (int i = 0; i != text.length(); i++)
{
char c = text.charAt(i);
if (Character.isSpace(c) c != ' ')
System.err.println(Char + i
javax.servlet.http.HttpServletRequest.isRequestedSessionIdValid().
-- Bill K.
-Original Message-
From: Alin Simionoiu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 11:34 AM
To: [EMAIL PROTECTED]
Subject: Re:
Orignal poster, correct me if I'm wrong, but it sounds like the _browser_ is
on Unix, not necessarily the _server_. Asking about the line separator on
the server will always return the same value, regardless of the browser; in
fact, I can't think of any way to find out the proper line separator
You mean HttpSessionBindingListener? (I can't find any other reference to
Listener in tomcat/conf/* or the JSDK 2.2 spec; nor can I find that class
in the Tomcat sources.)
That's not related to web.xml, and I find it pretty easy to use. What
troubles are you having?
: Re: Browser Closed
Corect.
But this is true for existing session.
Want I'm trying to find is something like : isSessionValid(Session)
Alin
- Original Message -
From: William Kaufman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 1:11 PM
Subject: RE
Call HttpServletRequest.encodeURL() or encodeRedirectURL() on each URL you
put in the page.
-- Bill K.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 5:34 AM
To: [EMAIL
Please read the fine Jargon File, at http://www.tf.hut.fi/cgi-bin/jargon .
-- Bill K.
-Original Message-
From: Sachin Phatak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 4:08 AM
To: [EMAIL PROTECTED]
Subject:
Yes, there is. But it's not really a good idea.
What you ought to do instead is to specify these properties in your web.xml
file as a context-param element, like,
webapp
!-- ... --
context-param
param-nameTomcatHome/param-name
param-valuec:/tomcat/param-value
/context-param
This is IE being goofy. Look at this email from the Tomcat mailing list
archives:
http://marc.theaimsgroup.com/?l=tomcat-userm=98770302314327w=2
-- Bill K.
-Original Message-
From: Sankaranarayanan Ganapathy
Don't start Tomcat in a new window.
In tomcat.bat, there's be a line like,
start Tomcat java org.apache.tomcat.startup.Tomcat ...
Strip everything before java. Then, when you run tomcat.bat, any errors
will show up in your current window.
You'll need to package your data in a MIME message. There may be something
in the O'Reilly package for that; if not, you can use JavaMail, available
at,
http://java.sun.com/products/javamail/index.html
Look specifically at the javax.mail.internet package, and all the Mime*
classes.
Tomcat has its own ClassLoader implementations (in 3.2,
org.apache.tomcat.loader.*) which can pull the classes from the webapps
directory. Look up java.lang.ClassLoader for more info.
-- Bill K.
-Original Message-
From:
PATIENT: Doctor, it hurts when I raise my arm.
DOCTOR: Well, then, stop raising your arm.
(Translation: don't use amp;, use . amp; is only necessary in
XHTML, which few browsers support.)
-- Bill K.
-Original
1 - 100 of 181 matches
Mail list logo