Hi everybody,
usual list-newbie disclaimer
I have searched the archives to no avail for this particular answer...i
think my problem may or may not be subtly unique from others' problems.
I have been using tomcat 3.x for a long time but have never encountered this
self-inflicted problem. If I
i know that IE on the Mac (any version) doesn't actually dump session data
until you've QUIT the browser, not just closed the window.
IE on windows displays the behavior indicated in the previous
responseit's based on parent-child relationships between windows.
IE on win32:
1. File--New
the write access to the
username/password stored in the browser? Thanks!
-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 5:06 PM
To: Tomcat Users List
Subject: Re: How to logout for the browser based authentication?
i know that IE
hi -- i had this problem a while back -- i don't know that you've explained
it clearly, but it sounds like the same problem i had.
The limitation is in the servlet specification itself. Mapping is not
designed to work this way...I remember being really disappointed when I read
the servlet
check out the
net use
command -- you can just use a batch file (.bat)
On 4/23/02 12:21 PM, Jack Li [EMAIL PROTECTED] wrote:
Hello All,
Does anybody know how to map a network drive by writing a java program or
other program languages? My OS is w2k and web server is IIS and Tomcat 4.
this is HTTP
AFAIK the only way a browser can send BASIC authentication credentials is:
1) you send them a 401 and the browser prompts the user
2) you format all your links as http://user:[EMAIL PROTECTED]/ but i am not
even sure if all browsers will correctly use this, at least in the fashion
why don't you just put your classes in packages? did you think about that?
this should give you your biggest clue:
org.apache.jsp.TrackerStateBean not found
it's assuming a default package of org.apache.jsp for unqualified class
names.
phillip
On 4/24/02 9:38 AM, Steve D George [EMAIL
i sent you one email already, but i will tell you this again, i have
experienced many oddities in the servlet lifecycle with tomcat 3.
2.x. I strongly suggest you try (at least in a test environment)
3.3 or 4.x as in my experience these are much cleaner WRT the life
cycle problems you're
fair enough. some response questions in light of the new information you've
provided:
1) what exactly does your servlet depend on in int() and destroy() that is
so vital?
2) i asked this before but it probably wasn't clear: does Tomcat never
re-init the servlet once it's been destroyed? if it
is Redhat 7.2.
On 4/22/02 12:19 PM, Phillip Morelock [EMAIL PROTECTED]
wrote:
I am using virtual hosting on Tomcat 3.x standalone but I can't seem to make
my scenario work:
www.xxx.com/memphis
and
www.xxx.net/memphis
Basically the only difference between the two (they're literally the same
my polite suggestion is:
use servelts for these kinds of tasks -- it's much easier to control and
visualize how things should flow -- just use JSP to display information
they need, use the Servlet as its meant to be used, as a controller.
just IMHO, good luck.
cheers
fillup
On 4/25/02 6:38
try using a WEB-INF directory in your app.
On 4/25/02 7:10 PM, pducuron (kgb) [EMAIL PROTECTED]
wrote:
I'm upgrating to tomcat 4.0.3 from 3.2.1, I placed my application into
/webapps but when tomcat compiles my jsp pages it can't find classes I have
imported in my jsp page.
error:
===
on that should have been turned off?
Thanks everybody for your patience and for not flaming me too badly.
This was a very important and interesting problem to me.
;)
cheers
Phillip
P.S. My precise tomcat version is 3.2.4, my environment is Redhat
7.2.
On 4/22/02 12:19 PM, Phillip
HI, FYI:
IllegalAccessExceptions generally mean you're improperly using
public/private/protected/package
private, etc., modifiers in your code. (Generally, that is...could
be something else).
It looks like your default constructor is marked as package private,
change it to public and see
I just noticed something quite by accident because I accidentally mistyped
my TOMCAT_OPTS inside of the tomcat.sh file. (3.2.4, standalone, linux, jdk
1.3).
I don't know if this is common knowledge or not, but I thought I would
share with the group: the TOMCAT_OPTS affects not only the VM that
At Tuesday, 30 April 2002, you wrote:
Here are some suggestions:
- Are the log files being written ANYWHERE? Or not at all?
- What if you use a relative path (such as logs)?
- Are the permissions set correctly for your directory?
- What if you DON'T use the trailing / on the directory name?
nothing to worry about.
those are code red (or maybe Nimda?) requests. it's a virus trying to
propagate or take advantage of itself.
if you had an upatched IIS on Windows you should be worried. I get 50 of
these before lunch.
cheers
fillup
On 5/2/02 6:10 PM, Jakarta Tomcat Newsgroup
AFAIK you can't do this.
with HTTP file uploads you have to store the data immediately or it is lost.
You have to store the file part to a temp file, then do all your work, then
come back and move the file and give it your new name, or delete it if your
transaction didn't go through.
On
import com.fis.Controller.*;
should read:
import com.fis.controller.*;
in Composer.java,
package com.fis.Controller;
should read:
package com.fis.controller;
EVERYthing needs to be case-sensitive.
cheers
fillup
On 5/3/02 2:52 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I've put a
Unfortunately I believe that's what static initialization is.
It's not totally clear whether this will help you, but here's a link
that describes the order things are done in:
http://www.javaworld.com/javaworld/jw-11-2001/jw-1102-java101.html
cheers
fillup
At Tuesday, 7 May 2002, you wrote:
environment? os?
are you on windows with a tomcat path that has spaces in it?
or for that matter on any system with tomcat path that has spaces in it?
On 5/9/02 10:49 AM, Robert Priest [EMAIL PROTECTED] wrote:
I am having a problem whenever I start tomcat with the startup script and I
are trailing semicolons necessary?
sorry, been a while since i used windows, but i didn't know the traililng
semis were required.
and the classpath one is completely unnecessary.
rt.jar and tools.jar will be found if JAVA_HOME is properly set, and
tomcat/bin is not a classpath location.
let
not only that, but98 just can't handle 100 users anyway.
it's not a multi-user operating system. it's not made for that.
good luck
fillup
On 5/9/02 1:04 PM, Wagoner, Mark [EMAIL PROTECTED] wrote:
I doubt Win98 can handle it. I know NT workstation places a limit on 10
simultaneous
Make a http servlet.
Override the init() method.
Do your setup inside init.
In your web-xml, in that servlet's definition, make a load-on-startup tag
to see examples, search google for
load-on-startup web.xml
cheers
fillup
On 5/9/02 1:46 PM, Soomar, Muki (R.) [EMAIL PROTECTED] wrote:
http://jakarta.apache.org/tomcat
On 5/10/02 11:30 AM, puneet sachar [EMAIL PROTECTED] wrote:
Guys i just lost my Cd in whicg i have tomcat
Can anyone tell form where i get the latest version of
tomcat and process how to install it
Its very urgent frinz.
I need ur help
Puneet
Hi Toru,
I'm using jdbc-odbc driver to connect to SQL server.
Regards
Rajesh
That's your problem
This is NOT a production quality driver, it's a JDBC type 1 hack. It's got
known problems and Sun specifically tells you to use it for testing only.
I recommend MS's beta SQL Server driver
turned on the RequestValueDumper... but no luck. I have absolutely no
idea why I can't map http://localhost:8080/bookie to my servlet.
servlet-mapping
servlet-nameBookieServlet/servlet-name
url-pattern/bookie/url-pattern
/servlet-mapping
is it as simple as it should be??
The official way to do it is to set a
TOMCAT_OPTS
or
CATALINA_OPTS
variable with the string that you would normally feed the VM. (like -Xms or
whatever). TOMCAT is for 3.x, CATALINA is for 4.x
cheers
fillup
On 5/16/02 3:57 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
my understanding
Phillip Morelock
subscriptions@phillipmo To: Tomcat Users
List [EMAIL PROTECTED]
relock.com cc:
Subject: Re: Heap Size
for Tomcat
05/16
fillup
On 5/16/02 6:45 PM, Jacob Hookom [EMAIL PROTECTED] wrote:
So the correct solution is to modify the startup/shutdown command line
or to setup TOMCAT_OPTS/CATALINA_OPTS?
Thanks again for the replies!
Jake Hookom
-Original Message-
From: Phillip Morelock [mailto:[EMAIL
generally you should be using as few exceptions as possible...because they
are very expensive.
But if the API's you are using throw exceptions, and such, you should
definitely catch them at the bean level, and return negative or false values
to the jsp or whatever, and just use simple
you need to set your mime-types appropriately.
On 5/17/02 3:37 PM, Hoang C. Truong [EMAIL PROTECTED] wrote:
Hi,
I save a powerpoint document under one of a webapp.
When I tried to access this document, binaries stream
was displayed instead of the powerpoint document.
Does anyone have any
config files)
cheers
fillup
On 5/17/02 4:25 PM, Hoang C. Truong [EMAIL PROTECTED] wrote:
Hi,
How do I do that? Is it in server config file? I am
running tomcat4.0.1. I dont't have this problem on
Apache web server. Thanks for your quick response.
-Hoang
--- Phillip Morelock
[EMAIL
that should work without any web.xml involvement.
The web.xml maps ONLY what you map, everything else is resolved with your
static content if it's not found in the servlet-mappings.
On 5/20/02 5:11 PM, Vladimir [EMAIL PROTECTED] wrote:
Is there any way to make a servlet-mapping that
that redirects or forwards
to what you want / to be. When / is requested, if nothing is mapped, it
will look for index.jsp -- just use the RequestDispatcher to forward to what
you want to process the request.
fillup
-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
Sent
alright. leaving aside the issue of your subject line...
I, too, am not reading all that code until I get a better idea of what
you're actually asking. For instance, do you know the following?
only ONE instance of a servlet is created in the servlet container. That
means that every request
this might get you started...
run the following commands and send your output:
netstat -a
lsof | grep java
although that second one might have a lot of outputin which case look
over that to see which files, devices, and ports the JVM has open.
fillup
On 5/21/02 4:58 PM, Cindy Ballreich
Hi
Let me guess -- IE 5/6 on win32???
Yep, you're running into a little friend we call Security Zones. Just
another MS thing, man. Ignore this unless localhost functionality is
critical, in which case you might be screwed. You're on the local intranet
zone i think or maybe even the local
weird...
download the tomcat sources and check out the class
org.apache.jasper.compiler.JikesJavaCompiler
See the method compile()
and note the comment on line 193, and 203 --
//XXX - add encoding once Jikes supports it
odd -- i would advise you check out the sources in this package
so is it working and giving the debug message, or is it not working at all?
if you're looking for a starting point i would recommend
org.apache.jasper.compiler.Compiler also if you're looking for source spots.
On 5/22/02 12:17 PM, Phillip Morelock [EMAIL PROTECTED]
wrote:
weird
!--DefaultContext cookies = true crossContext = true
override = true /
/Host
this starts a comment -- you probably forgot to remove the comment tag.
this comment does not end until:
!-- A HTTP Connector on port 8080 --
Connector className =
On 5/22/02 12:41 PM, Joe
sudo rm -r jakarta-tomcat-4.0.3-src
then provide your account password.
when you're logged in as an administrator.
On 5/22/02 1:56 PM, daniel bleich [EMAIL PROTECTED] wrote:
I am trying to find help online on installing Tomcat on Mac OS X. I
must have made a mistake in trying to
you might consider using tomcat 3 instead then -- a lot less overhead for
non-2.3 apps. i use it for that purpose explicitly.
fillup
On 5/22/02 6:40 PM, Zhidong Yu [EMAIL PROTECTED] wrote:
Following call stack is dumped from Tomcat server. You can see it is so
deep. What's all these
On 5/22/02 9:45 PM, kelly, Burrowa [EMAIL PROTECTED] wrote:
you might
consider using tomcat 3 instead then -- a
lot less overhead for
non-2.3 apps. i use it for that purpose explicitly.
Just curious, what are non-2.3 apps?
Meaning apps that don't take advantage of the latest and
special reasons so I have to use Tomcat 4. Is there
any better idea?
-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:55 AM
To: Tomcat Users List
Subject: Re: A optimizing problem, need your help.
you might consider using tomcat 3
which version of the C++ libraries do you have?
freebsd 4.5 is the newest-greatest, right? (forgive me, been a while)
On 5/23/02 1:33 AM, Joseph G. Mercado [EMAIL PROTECTED] wrote:
Hi,
Im trying to run tomcat 3.3 on a freebsd 4.5 box with jdk1.2.2 running.
When i run sh tomcat.shs start
are you following microsoft's directions? they worked for me on jboss at
least.
On 5/23/02 8:04 AM, Adam Greene [EMAIL PROTECTED] wrote:
I'm trying to get the Microsoft SQL Driver to work in doing DataSources. It
has a class called
you should absolutely minimize the amount of things you keep in the session,
IMHO. The database is made for scaling like this, session objects are not.
Basically the database will be able to handle concurrent uses better than
cramming data into the session.
I store very little information in
your browser needs to be mime-typed AND your tomcat application needs to be
mime-typed
you can set tomcat's mime-types in your web.xml file. search google for
tomcat web.xml mime types
As far as your browser -- many browsers are not preconfigured to view png
images alone -- this happens to me
only if it's got 2 processors
;-^)
funny!
but in case the original person isn't sure what you meant -- YES since
tomcat is highly multithreaded (or multi-lightweight-processed on linux that
would be ;) and can run threads in parallel, and the threads are implemented
at the C++ level in
request.getHeader()
see the documentation for HttpServletRequest
On 5/23/02 12:27 PM, Donie Kelly [EMAIL PROTECTED] wrote:
Hi all
How do I get the username and password from the http authentication
headers...
Thanks
Donie
--
To unsubscribe, e-mail: mailto:[EMAIL
to base64 decode the result. I was hoping there
was a nice way ;)
Donie
-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
Sent:23 May 2002 20:38
To:Tomcat Users List
Subject:Re: Getting USERNAME/PASSWORD from HTTP headers
request.getHeader
to base64 decode the result. I
was hoping there
was a nice way ;)
Donie
-Original Message-
From: Phillip Morelock
[mailto:[EMAIL PROTECTED]]
Sent:23 May 2002 20:38
To:Tomcat Users List
Subject:Re: Getting USERNAME/PASSWORD from HTTP headers
request.getHeader
i've got a ghetto-fabulous solution -- just put an index.html there with a
0-delay refresh or a javascript refresh.
I actually do it with a php script that sends a redirect header instead,
because for some reason apache's default index.php thing will still work
(if you have PHP installed, that
chances are you have a syntax error in your jsp
it's calling this an attribute -- which means you probably forgot to close a
tag or something, maybe a semicolon.
fillup
On 5/23/02 1:57 PM, Mauricio Tia Ni Gong Lin [EMAIL PROTECTED] wrote:
Hi everybody,
When I try to access the
:
Alias / e:/mycodebase/index.jsp
But it just returned my index.jsp, unprocessed, to the browser... bummer
-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 3:47 PM
To: Tomcat Users List
Subject: Re: index.jsp not getting sent via
servlet
servlet-nameDateServlet/servlet-name
servlet-classcom.test.date.DateServlet.class/servlet-class
/servlet
take off .class
fillup
On 5/23/02 2:07 PM, Young Neil [EMAIL PROTECTED] wrote:
I'm using Tomcat 4.0.3 and I'm having a problem getting it to find servlets
that are in jar
try the sun jdk and find if there's a difference, would be the first thing
on my list. Should be an easy sniff test or whatever.
fillup
On 5/23/02 3:09 PM, Joakim Ryden [EMAIL PROTECTED] wrote:
Hey guys -
I just installed tomcat 4.0.3 on two identical (software wise) spanking new
Hey there,
Don't worry about this at all -- have seen this question probably ten times
in the last month. You seem to be doing everything correctly.
I don't remember any of the solutions, but here's what **I** do and it never
fails.
ALWAYS always always (in my opinion) jar your classes, and
does using a servlet's destroy method not guarantee enough finality?
a hack might be to have a servlet's destroy method wait for a time period
and then do your cleanup (if you want to ensure your other servlets have
been destroyed). It's a hack, but it might work.
If there's a better answer, I
you need to import the bean before you can use it - finally remembered this.
it's been discussed a lot on this list. i think -- or maybe i'm remembering
something else.
try making a line at the top of your jsp that says:
%@ page language=java contentType=text/html import=LogonData %
If you put
From the error message, your class LogonData is part of the
org.apache.jsp packages.
If that is right, you will need to put the class file LogonData.class in c:
\tomcat\webapps\ROOT\WEB_INF\classes\org\apache\jsp
Sorry to be a pedant, but this is not true. Tomcat looks for classes that
I'm going to post this to the list because a few people have asked off-list
about how to make packages for their classes. Once you learn to do this, and
put all your classes in packages, it clears up a lot of basic problems,
such as the mysterious why can't my JSP find my class? problem.
It's
http://examples.oreilly.com/jserverpages/
There is a GREAT SQL abstraction package that gives the appearance of a
DataSource. This package rocks.
fillup
On 5/24/02 9:02 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hallo Ralph,
thanks for your hint, but I haven't found any reference
On 5/24/02 7:39 AM, Eric Everman [EMAIL PROTECTED] wrote:
Could this be a package issue as well (see Tomcat can't find my
classes)? Classes places in the /classes folder must be in nested folders
matching the package name. When you reference this class, you must use the
package name, for
Putting a database connection into each session is a very bad idea.
If you get 10 users with open sessions, this means you'll have 10 open, idle
database connections most of the time. If you have 20 sessions...I'll put
it this way -- I have an application that has been running for months with
I'm not familiar with Cactus, but integrated testing/debugging of any
official kind would be quite nice.
fillup
On 5/24/02 10:15 AM, Vincent Massol [EMAIL PROTECTED] wrote:
I'm reposting in the secret hope that I got no response to this email I
sent last week because no one saw it in the
please provide source code, or maybe at least the relevant lines.
what is the fully qualified class name of your servlet?
also if you send source code please include any import or package
statement lines.
fillup
On 5/24/02 11:03 AM, Scott C Strecker [EMAIL PROTECTED] wrote:
I am trying to
search google for
tomcat load-on-startup web.xml
hit I'm feeling lucky...then Find (ctrl-f or cmd-f) the phrase
load-on-startup
on that page. the rest of it is not relevant.
fillup
On 5/24/02 11:13 AM, Richard Diaz [EMAIL PROTECTED] wrote:
where/how do I run my servlet that loads my
(name) + br);
}
out.println(/body/html);
}
}
--- END OF CODE
Phillip Morelock wrote:
please provide source code, or maybe at least the relevant lines.
what is the fully qualified class name of your servlet?
also if you send
I have a hunch that you're serving one of these out of the default webapps
directory.
If so, read on:
remove the default context -- put nothing under webapps.
Then make separate document base contexts for each (like
firstdomainwebapps and seconddomainwebapps) and configure these in
server.xml
just reading your email, i think you should look at how you spell each
instance of this word:
setsDatasource
in some places it's setsDataSource
cheers
fillup
--
Hi,
I am having trouble obtain datasource to get a connection, I've looked over
the mailing archives and followed the
HTTP sessionsbrowsers are configured to associate cookies with domain
names. They will not transmit a cookie to a domain other than the
originating domain (at least they shouldn't). It has nothing to do with IP
address, only domain name. I am not sure I understand your question, but if
I
On 5/25/02 6:20 AM, jfc100 [EMAIL PROTECTED] wrote:
Can someone tell me how tomcat stores session objects or at least where
I could find out this info without looking at the src?
without looking at the source? why not? it's Free, and it's the most
authoritative answer you can get.
user jump between two domains(though they are in reality same
machine same tomcat) without his knowlege.
-Jiger
From: Phillip Morelock [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Tomcat refusing jsessionid's
Date
Have you built the Tomcat source javadoc tree? Maybe you don't want to wade
knee-deep in source...understandable, I guess. But at least build yourself
the javadoc from the sources and read that stuff. Also see the high-level
architecture image (or maybe pdf?) on the jakarta site.
fillup
I just quickly checked the site and there are also a couple of tomcat
internals articles and the full javadoc for Tomcat 4 is already posted
there as well.
/f/
--
Have you built the Tomcat source javadoc tree? Maybe you don't want to wade
knee-deep in source...understandable, I guess. But at
. Sounds like you are
already familiar with all this, though.
cheers and good luck
fillup
On 5/26/02 1:23 PM, jfc100 [EMAIL PROTECTED] wrote:
Phillip Morelock wrote:
On the TC 3 documentation page there is an excellent tomcat internals
documentbut maybe you already saw that? I myself am
I don't know about the ~ stuff but I do know the probable reason you have
to be root to do what you're doing:
To bind to a port 1024 on linux you must be root. If you've bound tomcat
to a port lower than 1024, you'll have to be root to start it.
As far as being able to load new classes, have
You should really use the lifecycle listener approach and roll your own
hashtable- or list-based implementation, depending on your needs. Going for
the internals is cool, but it is a non-portable hack.
HttpSessionListener is the way to go, IMHO.
fillup
On 5/27/02 3:13 PM, Mats Nyberg [EMAIL
there
is
someone out there the has a more definitive answer.
Thanks
Scott
Phillip Morelock wrote:
java.lang.NoClassDefFoundError: org/apache/tomcat/util/http/ServerCookie
at
org.apache.tomcat.util.http.Cookies.addCookie(Cookies.java:180, Compiled
Code)
That's odd -- I can't
1. Follow the documentation on the website to get tomcat running in
standalone mode (the main install document).
2. Go to http://localhost:8080/
3. Click on the documentation link. You'll see. Of course, all of this
stuff is on the jakarta website anyway...
fillup
#1 is available at:
This is happening because browsers associate cookies with the name of the
server, whereas Session ID's among tomcat contexts do not cross over.
Since the cookie / identifier for the session is something like JSESSIONID
and is associated in the client browser with your server, this property gets
:02 PM, James Williamson [EMAIL PROTECTED] wrote:
- Original Message -
From: Phillip Morelock [EMAIL PROTECTED]
It's a feature of the Servlet specification if you will...actually it's
somewhat of an accident of nature, given the way browsers are specified to
work WRT cookies
Although if you are new to Tomcat I would suggest you work with it in
stand-alone mode for a while. Several people have reported that Tomcat by
itself is a fairly robust web server. You can always add Apache later
without effecting your app.
No sense making things more complicated from
You are using the same name for the parameter to the constructor and the
instance variable for your inner class.
fillup
On 5/29/02 10:55 AM, Mark Shurgot [EMAIL PROTECTED] wrote:
I am having the strangest problem with Tomcat and inner classes. In a few
JSP pages, we use inner classes
Just for your edification, FYI the other ones you are currently using are
for TOMCAT's classes, not yours. This previous reply is correct.
fillup
On 5/29/02 11:06 AM, Mark Shurgot [EMAIL PROTECTED] wrote:
You should use $CATALINA_HOME/commom/classes and $CATALINA_HOME/common/lib
In theory at least, no, nobody can view your files.
Tomcat protects its config files and anything under WEB-INF .
Does this mean it's 100% impossible? Certainly not. On the internet,
nothing is impossible.
Mostly, don't make some stupid configuration mistake (like mapping your
TOMCAT/conf
variable is identified by this.
-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 11:02 AM
To: Tomcat Users List
Subject: Re: Memory Leak?
You are using the same name for the parameter to the constructor and the
instance variable
It might help if you described what you're doing in a little more detail.
What are these classes you want commonly accessible?
Are they in jars? Packed correctly, etc.?
Please elaborate.
fillup
On 5/29/02 11:07 AM, Christian J. Dechery [EMAIL PROTECTED] wrote:
I tried that too... if I do
Ha!
Looks like i had it backwards...
Thank goodness for documentation ;)
fillup
On 5/29/02 11:51 AM, Christian J. Dechery [EMAIL PROTECTED] wrote:
According to Tomcat's config, I should places classes and packages in /classes
and /lib, not /common/classes and /common/lib.
Altough
pay attention to the order of classloaders -- i would jar your classes and
put them with the oracle classes, to ensure they're loaded in the same
space. I have said this till I'm blue in the face, but so many problems
mysteriously go away when you use jars instead of just throwing class
files in
the way to pass things in is -d
this is how you can have the same build.xml on several systems...just use -d
to pass in specific env vars.
fillup
On 5/29/02 3:49 PM, Martin van den Bemt [EMAIL PROTECTED] wrote:
!-- Note: this is a kludge until we figure out how to pass this value
in --
Two comments below.
fillup
Are you closing your Oracle connections? Are there too many open connections?
I am using an Oracle implementation of connection pool. Every user that log on
system get an connection from that pool. The connection will not br released
until this user close the
Get one of the jars you packed yourself.
Type
jar tf myjar.jar
and send your output.
fillup
On 5/29/02 4:28 PM, Richard Diaz [EMAIL PROTECTED] wrote:
All I am trying to do is eliminate the Servlet
Exception wrong name error I am getting ever since I
moved my class files into a jar
what happens if you directly use the input stream instead?
req.getInputStream( )
cheers
fillup
On 5/29/02 1:57 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Can someone tell me why I get a reader time out when I try to get the body
of a request and that body is empty? Why wouldn't the
import the class by making this the top line in your jsp:
%@ page language=java contentType=text/html import=ListMessagesTag %
The real answer is that you should take some time to learn about packages
and jars, but for just getting started, etc., the above *should* fix your
current problem.
java
On 5/29/02 11:56 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
name of the process of tomcat??
thanks
jc
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
Use a servlet's init() method and have it load at startup.
search google:
tomcat web.xml load-on-startup
fillup
On 5/30/02 1:05 AM, rob [EMAIL PROTECTED] wrote:
I have a number of threads that I would like to launch when tomcat
loads. until recently I was just using the first request to
add the taglib
above...
PARSE error at line 1 column 1
org.xml.sax.SAXParseException: The markup in the document preceding the
root element must be well-formed.
I do use packages/jars/wars.
-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
Sent: May 29
1 - 100 of 167 matches
Mail list logo