it
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
with the way the text is sent in the request.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
in the request(over wire) cannot be encrypt. If
anyone does figure out a way to do this it would be interesting to know
(that's a hint to post it here...;).
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED
larger but I'm not exactly sure.
HTH
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
is MyClass.class do the following in your servlet:
import MyClass;
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
BTW, is there a reason this is that important to you? How many users
try to access a url using the file protocol instead of http?
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands
pattern among systems.
i.e. You _expect_ it to work the same on a SunOS box as on a Linux box
or a Windoze box. I don't think there is any confusion just
miscommunication in some cases.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe
. Secondly, all of this
information is provided in the docs therefore no reason to repeat it
here.
Sorry if this seems harsh but that's the facts. The true purpose, at
least in my opinion, of this list is for help with problems not tutorials.
---
Michael Wentzel
Software Developer
Software As We Think
what logging level to use but I believe changing the logging
verbosity can remove these messages.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles
the time to work through
it.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
doing some research around that area. I not real
familiar with 4.0 since we work primary with 3.x so that's as much
help as I can provide.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands
in the past so if you
encounter stumbling blocks(I can assure you someone has asked the question
before), please check one of the list archives and search for IIS or Apache
respectively.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe
into servlets, jsp, and Tomcat. This is a
very core theory in java and it doesn't seem like to fully understand the
core theories of java yet.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands
://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/
Haven't checked the link in a while but I believe that's where it is.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto
.
4. Is there any information in the tomcat logs? What is your configuration?
Tomcat standalone/with apache/with IIS, operating system, etc...?
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional
posts on the list in the past. If you take a look
at
the archives you'll find all the information you need.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED
)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:11
Are you able to log into that database directly through the oracle
admin tools using that username and password?
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto
use
one of the oracle JDBC drivers and forget the bridge. Several issues,
including threading, pop up when using the bridge. You can search the
archives if you need more info.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto
comes down to a couple things:
* do you want to fine tune your webserver?
* are you going to have a good deal of static content?
If you answer yes to one or both of these then I would personally suggest
using integration.
---
Michael Wentzel
Software Developer
Software As We Think - http
and disconnects the requested socket for that file and uses the cached
version instead).
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles
When I start tomcat and do a ps I see 18 java processes have
started. Is
this normal? Why are they all there?
Yes it is. If you want more information try doing a search on this topic in
the archives.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
is talking about
here take a look at the java file generated from you jsp and
it will explain it more.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles
Can I catch the event when a session is created from tomcat?
Yes, take a look at javax.servlet.HttpSessionBindingListener in servlet API.
This has been covered on this group before please look at the list archives.
---
Michael Wentzel
Software Developer
Software As We Think - http
. Binding Listeners and the Tomcat 4 implementation
of the listeners have been discussed before and can be referred to in
more detail in the archives. I believe someone mentioned doing this
with a SessionInterceptor and the binding listener a while back but
I'm not sure.
---
Michael Wentzel
be to search for a file
containing
the string 3379.
Good Luck.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
/load-on-startup
/servlet
Any suggestions?
You also need to add servlet mappings. The
/servlet/MyServlet mapping is in the spec for backwards
compatibility. Take a look at the example web.xml(s)
to see how mappings work.
---
Michael Wentzel
Software Developer
Software As We Think - http
do they belong in, do I have to make class files?, what
options to jspc.sh are needed ?
See the archives. This has been answered a couple times before.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
-howto.html)
Also, there are a couple stumbling blocks that most people happen
across on their first try which can be found in the list archives.
http://www.aswethink.com/employees/randy/tomcat/mailingList.html
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
, and general programming practicum before jumping into
Tomcat and JSP. If you don't have a good grasp on these basics it will
take you MUCH longer to generate efficient java/JSP code.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
Where do the /admin, /examples and /test contexts come from? I didn't
set them anywhere.
AutoConfig. You can comment out this handler in your server.xml to disable
it.
By default Tomcat creates a context for each dir in webapps/
---
Michael Wentzel
Software Developer
Software As We Think
username and
password.
am i right? which parameter have i to change to prevent
tomcat to do this?
Set your session timeout in your web.xml. Or you can set the session
timeout in your jsp as well.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
mailto
...
Anyone else have comments on this?
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
mailto:[EMAIL PROTECTED]
- Punisher of those who cannot spell dumb!
of the trival examples.
All the DTDs are in TOMCAT_HOME/conf/ folder.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
mailto:[EMAIL PROTECTED]
rl-pattern
/servlet/LoginController
/url-pattern
if you really want the servlet path in there.
and then change your ACTION to ../LoginController or
../servlet/LoginController
appropriately.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
mailto:[EMAIL
in some way, shape or form
a separate session will automatically be created for that new browser
instance(i.e. start a browser, go to the webapp, start another window by
clicking my desktop IE icon, go to the webapp in the new window...).
---
Michael Wentzel
Software Developer
Software As We
requests(if that is the manner in which jobs are going to get
scheduled)
and is load-on-startup enabled. Then in the init method fork a thread for
a Runnable Object which continually checks for tasks that need to be run
and processes them as needed.
---
Michael Wentzel
Software Developer
Software
it as
java.sql.Date d = new java.sql.Date();
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
in tomcat-user.
- Using DB Connection Pooling with Tomcat does belong here.
* First check archives(link can be found tomcat website).
* Then post it if you still have a question.
(Another good guideline is... Please post in plain text. Not HTML, etc.)
---
Michael Wentzel
Software Developer
be
willing to answer your
questions if you post in plain text.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
information you can provide the faster a solution can be found.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
Run 'tomcat.bat run' at command prompt instead of startup.bat.
This will allow you to see stack trace.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
}
%
which call confirmLogin.jsp
and on the top of each page i have a : %@ include
file="confirmLogin.jsp"
%
try adding
return;
after your sendRedirect(...)
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
what is the equivalent to session.setAttribute("aName",
anObject) but whith
an application scope
there's context.set|getAttribute(String, Object); for
webapp context scope attribs.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
additional servlet mappings
in your config files. Examples provided in standard config files.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
y requests to any of the services(doPost, doGet,
etc...). And also note that there is an instance created for each
servlet mapping you have configured plus the default
webapps/myapp/servlets/MyServlet.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
Can anybody tell what's the best solution for logging out.
I use Tomcat 3.2.1, Windows2000 and JDBCRealm.
session.invalidate();
simple yet effective.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
correctly).
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
esh. Without a name the input
element is essentially useless because you can not get the selected value
from
the request.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
to the best of my knowledge Syntax is the
problem.the actual systax for the radio but
of the
example web.xml files included with tomcat.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
. Some people may not have a HTML capable mail viewer.
This is a guideline listed on the tomcat website before subscribing to the
list. That is all.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
on. Anyone have any ideas? I've already spent entirely
too much time
on something that should be trivial. Thanks,
You might try checking your security permissions on the work folder and
make sure the user you are running tomcat under has enough permissions.
Just a guess.
---
Michael Wentzel
, but
Tomcat can't see
it for some reason. Any suggestions?
try href=./style1.css
We used relative references to solve this problem in our app
(i.e. ../style1.css for parent folder).
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
API is available on a per cpu basis at 2,500USD/cpu. Checks can be
made out to Michael Wentzel and sent directly to ME! ;)
Seriously though obviously you didn't check out the tomcat website
before posting this message. If you had you would have realized that
tomcat is released under
then as there are now.
There is just no definitive cure for laziness.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
This is a copy of the welcome message you get when subscribing to
this group. You can use one of two methods.
'ya know, I'm a huge proponent of NO html messages on the list
(especially since it's in the usage policy!), but maybe the welcome
message should be changed to an html message.
. The important environment vars
are of course classpath and tomcat_home.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
command line HTTP GET request
and see what comes back.
Sounds like tomcat isn't running though. Make sure nothing
is using this port already and use tomcat run instead of
tomcat start(if that should be your case) so you can view
things as they are happening.
Just a few starting points.
---
Michael
try an ant script. If you write it well you would only
have to have a single
one for all of your webapps. I'm not well versed in ant so I'll leave it to
you or someone else
to follow up on this one.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
, server.xml will not get reloaded so you can't add a new context.
(2) redeploy a without restarting the tomcat service?
check out the reloadable flag in server.xml. Once again, though, c could
not be made reloadable for the same reason as (1).
---
Michael Wentzel
Software Developer
Software As We
much more quickly and bog down the list much
less at the same time please check archives before posting
a question.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
to me like you're calling JspWriter.print[ln] without
passing any parameters.
i.e. %=out.println();%
Do a search for print() and println() and make sure you
have not forgotten to pass a parameter to this method.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
. Any
particular reason you wish to do this...? Just curious;)
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
or a forward.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
/servlet/ mapping. Have you tried
url-pattern/Venus//url-pattern
I usually put somekind of extension on my servlet mappings so I haven't
tried this but you might give that a try.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
on
all requests != the desired JSP. As a side note... if done this
way may I suggest configuring this in a props file to remove the
need for a recompile if things should change in the future.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
for the jsp name,
possibly a regexp for parsing what EXACTLY should get redir,
hosts list that should get redir, etc...
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
of people out there, you know who
you are;), who are just plain lazy and want to be given their answer
and don't want to search for themselves. Whether it be a 3 line msg
footer or an 8*{ {0 -1},
{1 0} } message archive;).
---
Michael Wentzel
Software Developer
Software As We
This is correct. Servlets are simply another class and should
be placed in webapps/name here/WEB-INF/classes/package name/.
Then add the appropriate servlet mapping(s).
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
I'm not sure but I put them under
the following:
int max = session.getMaxInactiveInterval();
code
session.setMaxInactiveInterval(Integet.MAX_VALUE);
// whatever needs to be done here...
session.setMaxInactiveInterval(max);
/code
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
note that one of the rules on this list is all messages
are to be posted in plain text so everyone can read them(no HTML).
Not only does this keep us long time residents happy but it will
get you questions answered much more quickly.
---
Michael Wentzel
Software Developer
Software As We Think
from the root server up and/or using telnet/ping to
check to see if a server is listening on the port.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
when passed through apache.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
!!!
===
If your machine has a network IP address you may try using that( i.e.
http://10.0.0.5:8080/ ) or otherwise try the loopback device
http://127.0.0.1:8080 to verify it is a IE network config issue.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
gotten to it
just yet.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
to answer you anyways.
This stuff, plus creating alternative mappings to servlets, is VERY well
documented IMHO.
OK, I've finished ranting on this matter.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
Undergraduate Student
Georgia Institute of Technology
What version of tomcat are you running?
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
this there will still be
people who
post in HTML but my objective is to reduce the number of these individuals
and while
I CAN read HTML messages I don't see the need for that kind of excessive
junk here and
understand the viewpoint of those who aren't able to read these messages.
---
Michael Wentzel
.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
will not have to be changed if it is moved to a OS with a
different file separator( using java.io.File.separator ).
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
to the
ODBC source through the control panel(using the test function at end of
configurator).
If this works explain in more detail, including source if possible, how you
make your connection in java.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
Brilliant! works perfectly. Now to write the logging program...
You might want to check out Randy's request logging interceptor
see attachment...
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
attch:
Since a number of people have asked
in the session for certain portions of your
app? ... It all depends on what you specs and app requirements state.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
the timeout.
www.bankofamerica.com does something similar to this for their online
banking
I believe.
Just a couple of possibilities.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
answered promptly by
other users. Free support, who can beat that!
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
that is stated in the webpage before you subscribe
to the list. Please, no cutesie backgrounds here! Save the fluff for the
M$ lists;)
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
extension that some users might find interesting.
Those interested can check it out at http://developer.java.sun.com/
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
. Is
there a way to enjoy Tomact services like thread pooling for those
requests? Should I package them in http and resend to the web server?
If I am following you correctly a RequestInterceptor could be used for this.
---
Michael Wentzel
Software Developer
Software As We Think - http
this(without passing the auth credentials
in the plain text url). I've been working on writing up a NTLMRealm
for a while but am having a rough time with getting the MFC stuff
to cooperate. If anyone's had better luck with this let me know.
---
Michael Wentzel
Software Developer
Software As We Think
a complex ORB model.
Resin.. Haven't worked with it can't say much.
JRun... Costs money and have to say it quite suspicious that
so many developers are moving from it to tomcat?!?!
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
archives before
asking questions on the list. If everyone would do this it would
drastically reduce the number of posts to this list.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
servlet-name
controller
/servlet-name
url-pattern
/controller
/url-pattern
/servlet-mapping
then use http://localhost:8080/controller (if you're in the root
context that is).
---
Michael Wentzel
Software Developer
Software As We Think
is a brokerage
call to Tomcat and the response gets redirected through
Apache. That's the main point(IMHO) of implementing Tomcat
with its' own webserver. So, in the case in which you have
nothing but servlet/jsp content you do not need an extra step.
---
Michael Wentzel
Software Developer
Software As We
Is it possible for the list admin to apply a '[tomcat-user] '
or similar
prefix to all mails sent from the mailing list?
This helps a lot in separating list traffic from other traffic.
The to: addr is [EMAIL PROTECTED] you should be
able to filter on that perfectly fine.
---
Michael
for the URL?
If you are using an href for the link then use
A HREF=test.jsp TARGET=_window/A
BTW, you can put anything you want in TARGET as long as it is
not a current frame or one of the default definitions( blank,
top, ...).
---
Michael Wentzel
Software Developer
Software As We Think - http
.
Do some research into RequestInterceptors. They can be very handy.
You could also write a servlet for this but that would be using
a sledge hammer to swat a fly(so to speak).
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
of instantiation of my servlet
and the time of
my init method?
I would just put in some logging code and find out where exactly
the time is being taken up in your servlet(if indeed this is where
it is actually munching clock cycles).
---
Michael Wentzel
Software Developer
Software As We Think - http
of username is when authenticate(String, String)
is called.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
-on-startup servlet
and you're ready to go. Just import the class and do
ClassWhatever.get|put(...);
This will remove lines of code from the servlet generated from your
jsp(autogenerated by the useBean tag).
You could also include remove() and clear() methods.
---
Michael Wentzel
Software
.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
1 - 100 of 250 matches
Mail list logo