.
Take a look at Marco Schmidt's site:
http://schmidt.devlib.org/java/save-jpeg-thumbnail.html
http://schmidt.devlib.org/java/save-screenshot.html
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
be placing the JSF api and
implementation .jar files in 'shared/lib' as discussed here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/class-loader-howto.html
Having never done it, I'm not certain that's the right answer... I prefer my
webapps to be self-contained.
--
Wendy Smoak
'NameCallback' and 'PasswordCallback' at present.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
', and turning off listings as advised by an earlier post in this
thread fixed the problem.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
that insists on all kinds of
special configuration. I maintain the project as an expanded directory
structure that overlays a Tomcat install.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
an active community developing and using it:
http://myfaces.apache.org/mailinglists.html
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the Tomcat install and put the
files in the right place.
Unzip it in the same place you unzipped the Tomcat 5.5.9 .zip file.
(Alternately, unzip it somewhere else and copy the files into your Tomcat
install directory, being careful to start at the right place so it will
overlay properly.)
--
Wendy Smoak
suggested README file to the ticket.
Meanwhile, the answer is now part of the list archives, so the next person
who happens along should be able to find it.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED
?TomcatJspExamples
You'll have to figure out what to put in jaas.conf and find a LoginModule
for LDAP, but other than that the pieces should fit together the same way.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED
you can put
export JAVA_OPTS=-D ...
at the top of catalina.sh. I do the same thing for some properties related
to Sun's Krb5LoginModule, and it works fine.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED
From: Wendy Smoak [EMAIL PROTECTED]
I have a standalone Tomcat 5.0 instance, and a third-party webapp that has
support for authentication via LDAP. Of course, we don't have LDAP, we
have Kerberos. It should be a simple matter to plug in a different Realm,
right?
Replying to myself
inUserInRole against the Subject that the LoginModule returns (By placing
it
in the session)
If you want some code, taken from Wendy Smoak ...
... who took it from one of Craig's tomcat-user posts. ;)
http://wiki.wsmoak.net/cgi-bin/wiki.pl?TomcatRequestWrapper
--
Wendy Smoak
order that the browser sent them.
What are you doing that depends on the order of the request params?
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it into
the relevant specification, you depend on that behavior at your own risk.
This isn't something that can be handled by the container-- even if Tomcat
stops rearranging the request params, you have no control over the browser
implementation.
--
Wendy Smoak
://www.jcp.org/en/home/index
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html
[1]
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/spec/com/sun/security/auth/module/Krb5LoginModule.html
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED
). Subscription info is here:
http://struts.apache.org/mail.html
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
for transport dt_shmem at address: jdbconn
(IIRC, on Linux it defaults to the other option, involving a socket.) There
is some info here:
http://jakarta.apache.org/tomcat/faq/development.html#rd
HTH
--
Wendy Smoak
it lists both 'run -security'
and 'start -security' separately I have to wonder if 'run jpda' is even a
valid option.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
/tomcat.html
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the 'contextDestroyed' method, and do your
cleanup there.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
From: QM [EMAIL PROTECTED]
On Thu, Jun 02, 2005 at 05:37:23PM -0700, Wendy Smoak wrote:
: Any idea why String.contains(String) wouldn't work within Tomcat 4.1
on
: HP-UX and Java 1.5?
Doesn't Tomcat 4.1 even support JDK 1.5?
Tomcat 4.1 works fine under JDK 1.5 on Windows 2000... I see
1.5,
but I keep having to remove them from my code so it will work once I deploy
to the HP-UX production server. (The development box is Win2000/Tomcat
4.1/Sun Java 1.5, and everything works fine there.)
Thanks,
Wendy Smoak
From: Wendy Smoak [EMAIL PROTECTED]
Any idea why String.contains(String) wouldn't work within Tomcat 4.1 on
HP-UX and Java 1.5?
Now I'm *completely* mystified...
test.jsp:
% out.println( ABC.contains( A ) ); %
works fine (prints 'true' on the page).
Has anyone EVER seen behavior
1 wwwother63426 May 20 15:11
profileGivingSummary_jsp.java
# grep replace profileGivingSummary_jsp.java
#
There are no instances of 'replace' in the JSP. So WHAT is it complaining
about?!
Thanks for any ideas, I swear this worked yesterday...
--
Wendy Smoak
? (The machine has 4G.) I need to limp along for
another couple of weeks until our scheduled maintenance outage time.
Thanks,
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I can't tell if
it was ever resolved
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg144736.html
Yet AGAIN, something that works fine on my Windows development box is
failing when I move it to the production web server which is running HP-UX.
Thank you,
Wendy Smoak
it NOT to explode the .war file in the first place.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
'
directory associated with this webapp to make sure you're starting fresh.
(I assume such a thing exists in version 5, I'm still using 4.1.)
You're close, just change one thing at a time until you figure it out.
--
Wendy Smoak
that's what you're using.
Where did you get the 'servlet.jar' file that you were using? Maybe it does
contain the right stuff, but those strange NoClassDefFound errors you were
getting made me suspicious.
--
Wendy Smoak
compiling against the same version of servlet.jar (or
the equivalent) that you're running with?
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hold down shift and click
reload to force it to request the page again?
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to be deprecated without suggesting a
replacement:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/apache/catalina/connector/HttpRequestWrapper.html
Should I use something else?
--
Wendy Smoak
do you know, are you printing out the session id? If you're just going
by the fact that you're not getting the correct list of errors, could the
browser have cached the contents of the popup window?
--
Wendy Smoak
- Original Message -
From: Wendy Smoak [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, April 11, 2005 9:59 AM
Subject: Wrapping a Request (was Re: Tomcat user 'roles' question)
Bill Barker wrote:
You could use a Valve, but it sounds like for what
(Apologies for the repost a minute ago... wrong button.)
From: Wendy Smoak [EMAIL PROTECTED]
Wrapping the request sounds like a good way to go, but I'm on Tomcat 4.1
and
the HttpRequestWrapper appears to be deprecated without suggesting a
replacement:
http://jakarta.apache.org/tomcat/tomcat
some key? I'm really only
after the programmatic security of isUserInRole(...) here, but would like to
stick to the standard way of doing things as much as possible.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Google
turns up starts in with configuring a JDBC or JNDI realm, and I don't think
that part of it will ever work with this database. Would I end up defining
my own kind of a Realm?
Confused,
--
Wendy Smoak
-
To unsubscribe, e
?
I also tried configuring it for java.lang.Exception, but no luck there,
either.
I _can_ get a good error page if I configure it for the 'root cause'
DAOException, I'm just confused as to why I can't trap the ServletException.
Thank you,
Wendy Smoak
http://wiki.wendysmoak.com/cgi-bin/wiki.pl
, that's a great idea. :) I didn't think of using both
exception-type and status-code.
Actually most of my 'regular' exceptions are configured in
struts-config.xml, but I've been unsuccessful in catching the really
horribly bad ones, and I'd rather not show stack traces if I can avoid it.
--
Wendy
to shared.
You can't share the Struts libraries across multiple webapps. (Well, you
can, but it probably won't work, and it's not a supported configuration--
the developers specifically warn against it.)
Scroll down to section 5.5:
http://struts.apache.org/userGuide/configuration.html
--
Wendy Smoak
I don't know if anyone has mentioned it already, but JSpell HTML
(http://www.jspell.com) is really good. Not free, though...
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
the sixth time, Tomcat died with an OutOfMemory error. Has
anyone else had this happen? I chalked it up to the JVM on HP-UX being
weird again, but decided to avoid doing that on the production server in the
future.)
--
Wendy Smoak
problem, but at least one version of IE
wouldn't display non-HTML content after a form POST over SSL. Here's a
workaround:
http://wiki.wendysmoak.com/cgi-bin/wiki.pl?NonsecureContent
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL
...)
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
existing apps by
replacing the common version, nor confusing the class loader by having both
the old and new versions on the classpath.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
thinks it's already tomorrow.)
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
# TZ=GDT; export TZ; echo $TZ; java Foo
GDT
Thu Jan 20 19:54:56 GMT 2005 - correct there, not here!
(Java 1.5 on HP-UX 11.00)
Tim, thanks for taking the time to help with this.
--
Wendy Smoak
-
To unsubscribe, e-mail
successfully using error-page? What are we doing wrong?
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
problem, though I'm trying to
trap certain types of Exceptions (rather than error codes) and send the user
to a certain .jsp.
Post the relevant parts of [I assume] web.xml and hopefully someone can help
us both. :)
--
Wendy Smoak
was the way to do it (I've also tried JSP's directly in the
root of the webapp in case the WEB-INF part was causing trouble) but I still
get an HTTP Status 500 and stack trace when a ServletException is thrown.
What am I doing wrong?
Thanks,
Wendy Smoak
From: Larry Meadors [EMAIL PROTECTED]
On Tue, 18 Jan 2005 15:51:01 -0700, Wendy Smoak [EMAIL PROTECTED]
wrote:
If a ServletException is thrown from a Filter, is there a way to show a
nice error page?
is this before or after the call to the filter chain?
The exception is thrown before I
recommending this approach and being told it wasn't portable.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
/JK configuration.)
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
remember being warned when I put things
under WEB-INF, that it wouldn't work everywhere. Since I never plan to use
anything but Tomcat, it wasn't a problem.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED
-questions.html
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
with the Servlet code.
Your Servlet shouldn't know or care where the files are, it should just call
'read' or 'write' and let the data access layer deal with the details.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED
lag
behind.
Crisis averted for the moment! Thanks again for your help.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
. Try dropping your .class file and html page into webapps\examples\
instead and see if it works. [I'm still on 4.1, no idea about 5.0.]
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
(ChannelSocket.java:615)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
at java.lang.Thread.run(Thread.java:534)
- Root Cause -
java.lang.OutOfMemoryError
--
Wendy
that comes with HP-UX won't
work, you have to either use GCC or buy HP's compiler.
Not much help, but just trying to keep another HP-UX user company. ;)
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
one copy of web.xml. In addition
to the global web.xml, I also have one for each context. Is there a reason
why you can't do whatever you're trying to do in the web.xml that lives in
.../webapps/yourContext/WEB-INF/ ?
--
Wendy Smoak
of your code should be packaged.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
in
the specification, and found that containers are allowed to restrict you
from creating Thread objects, (Servlet 2.3, SRV.1.2) though I don't think
Tomcat does.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED
still need help, post the working and non-working URLs, the exact
error message, and whatever you've done in web.xml (and server.xml, though
that usually does not have to be touched.)
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL
address thing you
mentioned in your first message?
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the .war file if the directory structure
already exists. I use the Manager app to remove the existing webapp, (which
deletes the .war file and the directory structure,) then deploy the new .war
file, which expands and starts.
--
Wendy Smoak
to
deploy to the production server.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/html-manager-howto.html
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, but ignore me if not...
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
files since they move things around every time
they do a release.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
on the
Tomcat 5.0 version of that page, however...
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
. Resource_s_?
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-UX and they have not yet officially blessed Tomcat 5.
That, and Tomcat 4 works perfectly well, I haven't found sufficient
motivation to test everything on TC5 and start developing with the new
features yet.
--
Wendy Smoak
From: John Villar [EMAIL PROTECTED]
i don't think that every T4 user has HP-UX
No... by my count, I think there are three of us. :)
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
with
commercial packages.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
want to do it myself.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, you should be able to replace
the version they've provided with a newer one. We do it on HP-UX because HP
lags behind providing the latest and greatest Tomcat. It might take some
configuration, but it's all Java so it _ought_ to run anywhere.
--
Wendy Smoak
in OpenVMS. We're also out on the
fringe with HP-UX, it's just different enough from normal Unix to give us
fits. But you're almost guaranteed to miss something if you try to
upgrade your Tomcat by dropping things in here and there.
--
Wendy Smoak
it be a *text*?
Servlet Specification:
http://java.sun.com/products/servlet/download.html
The Specification will explain exactly what the container is required to do
for you, what it may do, and some things it must not do.
--
Wendy Smoak
at the same time, or just
one or the other? And at some point you mentioned Apache-Tomcat... are you
intending to use the Apache HTTP server in front of Tomcat?
PSA: please trim your posts!
--
Wendy Smoak
-
To unsubscribe, e-mail
From: Nelson, Jerry W
The CLASSPATH is set correctly
And the error message says:
Perhaps JAVA_HOME does not point to the JDK
CLASSPATH is not the same thing as JAVA_HOME.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL
that *contains* 'bin', not all the way down
to the bin directory [that one goes in your PATH].
This is a JDK installation question, nothing much to do with Tomcat.
(BTW, Tomcat ignores the system CLASSPATH and forms its own based on the
contents of various directories.)
--
Wendy Smoak
you're not getting the 'JRE' which is only the Runtime
Environment and doesn't include the compiler.
http://java.sun.com/j2se/1.4.2/download.html
Please reply off list if you need more help, this isn't Tomcat related...
--
Wendy Smoak
up.
Can someone enlighten me or point me in the right direction? Thanks!
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the name to uppercase when they saved it. Windows [I assume]
isn't case sensitive, but Java is.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
separately after it receives the page, even if you managed to get the
right URL in your img tag, the container will refuse to serve the image.
I suggest putting it in ...ROOT/images/logo.gif, then try your img tag
again without the full path.
--
Wendy Smoak
and work
fine. I'm guessing you're on Windows, and it didn't see the rename
properly.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to the examples and
check them out.
Let us know if that part works...
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
important to you? Tomcat works just fine standalone... you can
even change server.xml so that Tomcat listens on port 80. This is what I do
on my development box, although we do use Apache+Tomcat in production.
--
Wendy Smoak
for trouble doing it
this way. In addition you're going to have to configure the connector
between Apache and Tomcat, not always a straightforward task.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
front to configure whatever
you choose.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
There are several options available if you're using JDBC-- I think Hibernate
is one? I wrote my own and followed the J2EE Data Access Objects pattern.
So in my Actions I have code along the lines of:
Person person = personDAO.read( 12345 );
HTH,
--
Wendy Smoak
to do, someone here can probably help you do it.
If someone's really bored, maybe a grid that shows what
OS/Apache/connector/Tomcat combinations are known to work would be a good
project. :)
--
Wendy Smoak
-
To unsubscribe, e
, NOT the one with /servlet/ in it.
Check the DTD for the required order of tags in web.xml.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
isn't starting, there will
most likely be an error message in one of the logs.
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the 'manager' app
is set up.
--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
just as well that you leave it off and learn to edit web.xml. A
bit harder up front, but much better in the long run.
--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management
-
To unsubscribe, e-mail
for your Servlet.
Here's the example web.xml file from the Tomcat 5 docs:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/web.xml.txt
--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management
/
--
--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
don't understand
your question. What do you mean by 'edit'?
--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
1 - 100 of 214 matches
Mail list logo