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
.
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
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
. 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]
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
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]
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
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]
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
, 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
-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
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
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
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
calling the servlet is only
making a single request. The first request for each PDF has a Referer and a
request.getRequestURI() each subsequent(duplicate) request does not have a
Referer. Any suggestions would be appreciated.
TC 3.2
Win2K
Sun JDK 1.2
---
Michael Wentzel
Software Developer
a href=http
stand-alone or with Apache/IIS/...?
What's your config(JDK ver/distrib, OS, Tomcat ver, xml configs)?
What are the exact messages you are receiving?
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
simply
remove the HttpConnectionHandler from your server.xml.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
Do you mean on port 8080?
Jeff
That's the only HttpConnector you mentioned you
were using
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
be
the default install. This servlets goes through and finds directories in
the webapps directory which do not already have a context defined for them
and creates one.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
the browser, auto-detect works fine.
Any idea how I can resolve this?
It may help to define the meta charset
( http://www.drclue.net/F1.cgi/HTML/META/META.html )
I haven't done this myself but give it a try.
---
Michael Wentzel
Software Developer
Software As We Think - http
1*/
}
if ( /*somethings true 2*/ ) {
/*perform task 2*/
}
// ...
}
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
between states and a wait state. Otherwise the process, depending
on the performance of your separate scheduled jobs and the frequency of
them, could pretty much lock the processor down. This is meant as a
rudamentary example. This is the generic model of a scheduling
thread/server.
---
Michael
. Haven't tried
this myself but it's worth a try.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
depends on exactly what you're trying to accomplish and which
method best fits your needs.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
) to figure out where everything's going wrong.
Also, do you have any roles set up or are your constraints global?
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
applications in which a
developer would need to do so.
In addition, it really not a good idea to store a
password in a session(even if encrypted). It's just
a bad practice in general.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
:
session.setAttribute(j_password, sPassword);
will provide a hook for password changes.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
and if you want a
managed authentication free from having to develop
one for yourself.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
preference
and/or what your client/boss says they want to use.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
server.xml to be
Context path=/
docBase=webapps/ServletTest
crossContext=false
debug=0
reloadable=true
/Context
where the important thing to note is the path, or you can change the request
to be http://localhost:8080/ServletTest/ServletTest.
---
Michael
is the main difference between them ?
In all seriousness, I think you need to read the docs and search the
archive to get your answer for these questions. These resources will
provide plenty of information for you to figure out what's going on
with.
---
Michael Wentzel
Software Developer
. static content stuff not served by tomcat)
2. Test tomcat alone(i.e. direct access using specifying tomcats port in
url)
If both work the problem is with your config of the connections.
If either or both fail then you've got some other problems.
---
Michael Wentzel
Software Developer
Software As We
:/webapps/Context
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
over the past couple of months, but I haven't
paid real close attention to those.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
using a static java.util.Map and a
unique id for each unique doc generated.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
looked fine make sure there are no extra spaces in the class
name for the
web.xml. Also, can you get any servlet mappings to work for servlets in
packages?
If so I would review your web.xml again very closely and look for
missing/extra tags or characters.
---
Michael Wentzel
Software Developer
...
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
for every call.
The source for JDBCRealm should be in
TOMCAT_HOME/src/org/apache/tomcat/request/.
You can modify it to your hearts content. This is definitely
something that could be managed in a pool or something along
those lines.
---
Michael Wentzel
Software Developer
Software As We Think - http
the number of people who actually respond to your post.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
.
Note: The reason I post this to the list is so everyone is aware that
this is the way a mailing list SHOULD be utilized.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
accessing
database.but it disappears if i use only servlets accessing database.
the msgbox showed the following:
What JDBC driver are you using?
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
yourself, but I think this is kind of sloppy.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
be encapsulated into a bean or tag. Just a
couple of ideas.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
-login-config
/login-config
You can have as many resources as you wish and multiple roles.
This all is quite well documented in the documentation and if you
look at example files included with tomcat. Please refer to these
files for information if you have questions.
---
Michael Wentzel
I'm trying to set up a SSL for a specific area of my site for credit card
transactions. How do I do this?
By searching the archives!
Hate to sound like a broken record but it's true!
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
annoying. Any ideas on the situation??
Is your context set to be reloadable?
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
this is going to remove
caching of static objects, such as images, and would reduce
performance on the client-side, but it is a option for debugging
purposes.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
? In
TOMCAT_HOME/conf/server.xml. The server.xml file is parsed at startup
and therefore the Realm is created before the context(s) have been
loaded.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
always alter you startup script to so that the TOMCAT CLASSPATH
contains the fully qualified oracle jar.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
) this is the only
way to do it, unless you want to rewrite some of tomcats class
loading/classpath setting mechanism(s).
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
it is unnecessary. The only reason I really see for Access is DB
portability to other machine, and for most individuals this is not an
issue.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
)
thatpostings to the list should be plain text(no html).
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
are
working with.
I think, maybe, it's time to go back and read the docs... ;)
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
and the behavior that leads you to believe this is
what is happening? What JDK( Sun/IBM/1.? ) are you using?
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
javax.servlet.http.HttpSessionBindingListener and the valueUnbound
method in this class.
---
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
in
a ftp server... username=anonymous [EMAIL PROTECTED]
JMHO.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
.
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
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
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
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
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
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
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
.
---
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
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
!!!
===
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
1 - 100 of 250 matches
Mail list logo