My god, I'm sorry.
I posted the directory structure wrong.
Web-inf is the root of the project
WEB-INF/web.xml
WEB-INF/content/*.jsp
WEB-INF/src
What I posted earlier wouldn't have been a problem at all. Looking at the
time, I think my mind was still on autopilot
The problem is with the
Folks
I restarted this thread because I inadvertently hijacked another.
Peter Crowther said:
You can't. This is a client-side problem. As your first link says:
Use a key in the querystring, tied to a cookie or a form, if session
state across windows is a necessity.
Can you expand on how
Chris,
Essentially it is a remember me. Many thanks for the comments - I'm
beginning to see the forest from the trees and all that JAAS ;)
Thanks,
Iain
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: 11 October 2007 18:25
To: Tomcat Users List
Subject:
From: Adam Lipscombe [mailto:[EMAIL PROTECTED]
If I pass the
session ID from the calling window to the
spawned window, what do I do with it? Look up the session
cookie with JavaScript? Then what?
Ideally I want the child window to share the same session.
Thinking about this, there's a
http://tomcat.apache.org/faq/connectors.html#integrate
It depends.
If you (or your admins) can't do a good job of securing apache. Then one
could argue - that you be LESS secure if your ran apache in front of Tomcat.
Personally - the only reason I would run apache in front of Tomcat
because
From: HODAC, Olivier [mailto:[EMAIL PROTECTED]
In my application, I have to perform stuff when the server
starts. Where do I have to put this code?
Define and use a servlet context listener. This will run as your webapp
starts up.
Hello,
sorry for this newby question.
I am developping my first webapp, and I need to do things at the server
launching step.
I understood that when a client sends the first request to the server, it loads
the required classes and instanciates them. So, I have to wait for the first
- Original Message -
From: Pitre, Russell [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, October 12, 2007 3:19 PM
Subject: Second webapp lib folder
Sun Java 1.5
Tomcat 5.5.17
I have a requirement to integrate Java Crystal Reporting engine into our
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stephen,
Stephen More wrote:
If I implement application-managed security ( I need to use cookies
for Remember Me ), is there a way to make it such that
HttpServletRequest.getRemoteUser() and
HttpServletRequest.isUserInRole(java.lang.String
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny Kewl wrote:
Right or Wrong this is what I did
Ugh, your solution is truly awful. It's much easier to let the session
management work the way it was intended: either with a cookie (no
worries!) or though a url-encoded jsessionid
- Original Message -
From: Stephen More [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Friday, October 12, 2007 2:35 PM
Subject: application-managed security model and isUserInRole getRemoteUser
If I implement application-managed security ( I need to use cookies
for Remember Me
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Glen,
Glen Vermeylen wrote:
I posted the directory structure wrong.
Web-inf is the root of the project
WEB-INF/web.xml
WEB-INF/content/*.jsp
WEB-INF/src
That makes more (less?) sense. Now I know what you were trying to say.
Yes, that's weird
thanks for the answer.
What are the permissions on each of:
/usr
/usr/share
/usr/share/tomcat6
/usr/share/tomcat6/webapps
/usr/share/tomcat6/webapps/my_app
all have the following permission
drwxr-xr-x 12 root root
tomcat and apache2 are run as root (I know they should'nt, shame on
me :/)
Johnny Kewl wrote:
- Original Message - From: Carl Mosca [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Friday, October 12, 2007 4:29 PM
Subject: embedded Tomcat (5.5.23) application logging (java.util.logging)
This was a recent related topic here but I did not understand the
- Original Message -
From: Filip Hanik - Dev Lists [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, October 12, 2007 8:02 PM
Subject: Re: embedded Tomcat (5.5.23) application logging
(java.util.logging)
Johnny Kewl wrote:
- Original Message
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny Kewl wrote:
If you ever figure out why the command line works but the System
properties don't... let me know
It's probably because, by the time your System.setProperty code runs,
the logger has already been set up. What you need to
- Original Message -
From: Carl Mosca [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Friday, October 12, 2007 4:29 PM
Subject: embedded Tomcat (5.5.23) application logging (java.util.logging)
This was a recent related topic here but I did not understand the issue to
quite the
I think what you could do is rename all the Jars to say
Crystal_OriginalName.jar and then you can at least ID them
That would be an easy solution!
Thanks
Russ
-Original Message-
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Sent: Friday, October 12, 2007 9:47 AM
To: Tomcat Users List
Sun Java 1.5
Tomcat 5.5.17
I have a requirement to integrate Java Crystal Reporting engine into our
intranet app. There are 69 .jar files for the Crystal reporting engine!
Count them, 69 .jar files. I'm really hesitant to drop all of these
.jar files into the /WEB-INF/lib folder and forget
- Original Message -
From: Adam Lipscombe [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, October 12, 2007 10:09 AM
Subject: How to share tomcat sessions across multiple IE windows
Folks
I restarted this thread because I inadvertently hijacked another.
- Make sure the url provided to window.open() is properly encoded by
server so that it includes the sessionId if necessary.
use for that
java.lang.String encodeURL(java.lang.String url)
from the HttpServletResponse interface server side.
- Check, if cookies are disabled on client, that the
har har. glad i could give everyone on this thread a good chuckle.
anyway... I didn't want to rattle off more crud, so instead I collected as
best I could, information that might elucidate my issue more:
and everyone was right, my jar file did NOT live in \server.
Application: Reporting
I tried appending JSESSIONID=id to all urls that are displayed in the new
window.
That seems to to work.
It's the first time I've encountered it (or even
heard it mentioned) in several years of writing and testing apps with
pop-ups and multiple IE instances.
Yes me too. A weird one.
This was a recent related topic here but I did not understand the issue to
quite the same as what I am seeing.
I've got an Tomcat embedded in an application and the two hosted web
applications are running OK.
Logging is working OK in the host application and from Tomcat itself. I am
not getting
Georg Zeiser wrote:
We want to run a java enterprise application on Tomcat. But we don't know
what is better, Tomcat (6.0.14) as standalone or Tomcat behind an Apache
(2.0.59 or 2.2.x) with mod_jk.
If a customer has Apache already installed, we will use the configuration
with mod_jk. But
If I implement application-managed security ( I need to use cookies
for Remember Me ), is there a way to make it such that
HttpServletRequest.getRemoteUser() and
HttpServletRequest.isUserInRole(java.lang.String role) will respond
with values from the actual logged in user ?
I see an old thread
- Original Message -
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, October 12, 2007 3:32 PM
Subject: Re: How to share tomcat sessions across multiple IE windows
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny
this is an example
private static org.apache.juli.logging.Log log=
org.apache.juli.logging.LogFactory.getLog(
IntrospectionUtils.class );
as soon as that statement is executed, the logging gets initialized.
as you can see, it is a static field, so when you run Tomcat embedded,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Albert,
Albert Greinoecker wrote:
Is there anything interesting in httpd's error.log file?
Symbolic link not allowed: /usr/share/tomcat6
There you go. You have Options FollowSymLinks listed for
/usr/share/tomcat6/webapps/my_app, but not for
I've got some problem with using regular expression to describe uri. I would
like to redirect all files (adresses) with .jsp types. According to example
on http://www.servletsuite.com/servlets/redirectflt.htm the syntax is:
uri=some_url
How can I define expression affected all .jsp files. I try
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lukas,
lukasK wrote:
I've got some problem with using regular expression to describe uri. I would
like to redirect all files (adresses) with .jsp types. According to example
on http://www.servletsuite.com/servlets/redirectflt.htm the syntax is:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
A C,
A C wrote:
Application: Reporting application we'll call reporting.war , which
unpacks to a directory size of ~ 100MB of jars/classes/static content/etc.
Aah, that's a different story. Certainly, not all 100MB is being loaded
into memory and
You can determine the anount of remaining RAM and then set MaxRows and
FetchSize to the number of Rows e.g.
http://www.docjar.com/docs/api/java/lang/Runtime.html
//determine how much memory is free for allocating Obects on the heap
long remainingRAM = java.lang.Runtime.getRuntime().freeMemory();
I'm missing something else. I tried this last night (but couldn't recall
what I bumped into).
Where is the log handler expected to be?
I get this message:
Can't load log handler org.apache.juli.FileHandler
I think that's in commons-logging.jar (which should be available).
I had my logging.properties files mixed up.
Now I am back where I started: I have logging from the hosting app but not
either of the two apps I am hosting.
The logging from the app works both when I code the logging properties and
when I supply them from the command line.
What I am wondering is
Is there anything that has to be done after the individual wars (context)
are registered?
On 10/12/07, Carl Mosca [EMAIL PROTECTED] wrote:
I had my logging.properties files mixed up.
Now I am back where I started: I have logging from the hosting app but not
either of the two apps I am
What is the most efficient (=fastest) way of copying large ( 1GB [yes,
that's a Giga]) files around the network in java when running under
tomcat 5.5.x? Do I use a FileInputStream and FileOutputStream with a
large byte[] array? Or what?
D
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool application server
---
- Original Message -
From: Filip Hanik -
38 matches
Mail list logo