> From: François Conil [mailto:[EMAIL PROTECTED]
> 2) I created a tomcat user and tomcat group, chowned the whole tomcat
> directory to tomcat:tomcat and launched the tomcat server without any
> particular switch after having su-ed to the tomcat user.
>
> The www.site.com:8080/ default page wor
> From: Ikonne, Ike [mailto:[EMAIL PROTECTED]
> Does Tomcat provide support for php scripting language?
Yes, you could build PHP as a CGI program and run it using Tomcat's CGI
support, but this would be pretty slow. There is no facility that I
know of to integrate PHP with Tomcat. Otherwise, as
> From: David Kerber [mailto:[EMAIL PROTECTED]
> I don't know javascript hardly at all, but would it work to write a
> little script and use an onClose event to trigger a logout request?
Yes, unless the browser crashes, the user disconnects from the internet
before closing the browser, or the br
> From: Victor Hugo Germano [mailto:[EMAIL PROTECTED]
> The problems is, when do i have to kill the session?? Even when the
> browser is closed, the session continues at the memory...
Remember that HTTP is a stateless protocol. Tomcat does not (and
cannot) know that the browser has been closed.
> From: Scott Purcell [mailto:[EMAIL PROTECTED]
> Actually Peter,
>
> I have no javascript links on my page. The site is a struts site, and
> all links are regular links with no odd, or peculiar issues.
OK.
I'd be able to make better guesses if I could see the site - apologies
if I've missed a
> From: Scott Purcell [mailto:[EMAIL PROTECTED]
> When I submitted the site to google, this is the page I submitted. Why
> wouldn't my site get spidered?
- Google can't read the links because they're embedded in a nice pretty
dynamic Javascript-y menu system;
- You're returning an odd encoding a
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Tomcat is just adhering to the Sun Java specification naming
> conventions. Packages should be lowercase.
The OP's described package names *are* all lower-case, and the class
names are uppercase.
- Peter
> From: korbben [mailto:[EMAIL PROTECTED]
> Which Linux distribution can i choose for production
> environment ?
My recommendation would be 'the one you already have most experience
with or where you know the most people who can support you'. Distro
wars are common; but I've not yet found any d
> From: Pitre, Russell [mailto:[EMAIL PROTECTED]
> "Please select
> the path of a J2SE 5.0 JRE installed on your system:", I then chose
> "C:\JAVA\jrockit-R26.0.0-jdk1.5.0_04\jre\bin\jrockit" as the path.
Thinking aloud here, but wouldn't the path be just to c:\...\jre ?
- Peter
> From: David Kerber [mailto:[EMAIL PROTECTED]
> Basically, I'd like to know if a filter can be used to change
> a context
> path, or are they restricted to acting within a given context?
Filters are spec-compliant and per-context. Valves are Tomcat-specific
and can be per-instance. You could
> From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
> Starting the Tomcat as Windows Service it cannot find
> printers
What user is the service running as? Also note that profiles are never
loaded for processes running as Windows services, so any profile
information that may be set for a given u
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> For process reasons the source code of
> the libs will not be available
Then LGPL is unsuitable.
> The jars would be free for copy, modification, usage, all the gpl
> stuff, but not available in sourcecode.
Apache and LGPL are often unnecessari
> From: David Kerber [mailto:[EMAIL PROTECTED]
> Ok, I see that, and it's kind of scary! That seems like a
> pretty poor
> design for the compiler not to handle that kind of change.
It ain't the compiler - the JSP compiler never gets invoked because the
mapping is case-sensitive, and the mappi
> From: Tim Lucia [mailto:[EMAIL PROTECTED]
> If you ask for /path/to/some.JSP, you will see the source
> code of the jsp,
> since the jsp compiler is mapped to *.jsp (and not *.JSP).
Presumably [I haven't tested this] detection of accesses to WEB-INF and
META-INF will also fail, exposing the we
> From: Long [mailto:[EMAIL PROTECTED]
> Has anyone develop in Tomcat and deploy to Websphere?
Bodington (http://sf.net/projects/bodington) is developed and tested on
Tomcat (4.x, 5.0.x and 5.5.x - we have a mixed development team). We
deploy on a variety of containers; I believe at least one in
> From: Andrew English [mailto:[EMAIL PROTECTED]
> Were do I need to look to figure out what SQL server
> tomcat/jboss 2.4 is pointing at?
Could be anywhere. A generic approach that will probably get you quite
a long way is to run:
netstat -an | find "1433"
And seeing what the far-en
> From: Andrew English [mailto:[EMAIL PROTECTED]
> Is there anyway to force close the javaservice.exe on
> windows? When I tried to do it under Taskmanager (as
> Administrator) it tells me "could not be completed.. access denied".
If it's running as LocalSystem, not to my knowledge - you don't
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Nowak
> Probably important:
> ===
[lots of technical details about kit and container config]
Very important
==
Your application. Have you profiled it for memory leaks that would
cause a OOME? Have you tested
> From: lk [mailto:[EMAIL PROTECTED]
> I'm not sure my solutions is correct: I have 3 different
> directory, and
> each directory contains a complete binary distribution of tomcat.
> And I have to startup each tomcat instance.
> Is it the good way?
It's not a *bad* way, as you can upgrade each
> From: lk [mailto:[EMAIL PROTECTED]
> I would like to know if it is possible to run multiple
> instances of tomcat.
> I've read the documentation and I found out that I can configure
> multiple workers to serve multiple instances of Tomcat.
> But I haven't understood if in this way the contexts
> From: Paul Roberts [mailto:[EMAIL PROTECTED]
> I was wondering, over and above encrypting the communications
> channel how does HTTPS help to prevent session ID hijacking?
To my knowledge, it doesn't (better heads than me may wish to contradict
me here). But keeping a randomly-generated sessi
> From: Paul Roberts [mailto:[EMAIL PROTECTED]
> I have a question regarding IP address and session ID's.
>
> If a user on IP Address 1 connects to the Tomcat server and is given
> session ID A, what happens if that session ID is hijacked by
> someone on
> IP address 2 and then used for a furthe
> From: Andrew English [mailto:[EMAIL PROTECTED]
> Is there anyway to check this theory?
> -Original Message-
> From: Peter Crowther [mailto:[EMAIL PROTECTED]
[...]
> I suspect an operations issue. Has someone configured a revision
> control system (such as CVS or
> From: Andrew English [mailto:[EMAIL PROTECTED]
> I have looked for the filenames.* on all the servers
> including the linux
> ones and not come up with anything except for what's on the
> two servers.
I suspect an operations issue. Has someone configured a revision
control system (such as CV
> From: Daniel Guggi [mailto:[EMAIL PROTECTED]
> I ran into a session-issue with a webapp. There are situations when it
> would be nice for a user (same browser/same machine/same
> webapp) to have
> the possibility to login twice and thus have two different
> JSESSIONIDs.
If you use cookies to
> From: Riccardo Roasio [mailto:[EMAIL PROTECTED]
> it seems to start but if i try to see http://10.2.254.103 (
> the address
> of the machine) from a browse it says impossible to connect...
Try http://10.2.254.103:8080 - port 8080 is the default port on which
Tomcat starts, not port 80.
> From: Jeffery G. Summers [mailto:[EMAIL PROTECTED]
> Our webserver is an IBM P615C AIX 5.2 box.
Whose JVM and what version?
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
> From: Roel De Nijs [mailto:[EMAIL PROTECTED]
> I have a tomcat with ± 10 web-applications. Is there a
> maximum or some guidance in the number of web-apps you can
> put in one instance of Tomcat?
Tomcat itself uses relatively little memory per-webapp (a few megabytes,
depending on version).
> From: Jess Holle [mailto:[EMAIL PROTECTED]
> Nice terminology quandry that the app server marketeers have
> dug for us.
>
> They've painted a world of "J2EE == EJB" and "J2EE == the only (good)
> way to do Java in the enterprise" and transitively "EJB == the only
> (good) way to do Java in t
> From: Hooper, Paul [mailto:[EMAIL PROTECTED]
> I am a new Tomcat user and am having some difficulties starting the
> server
[...]
> Using JRE_HOME: /export/home/liondev/software/java_1.4.2_10
5.5 needs *either* a Java 1.5 VM *or* the JDK 1.4 Compatability Package
available from the downlo
> From: SOA Work [mailto:[EMAIL PROTECTED]
Check the Servlet Spec (version 2.4 is at
http://www.jcp.org/aboutJava/communityprocess/final/jsr154/
) for questions of this kind.
>From memory in both cases (so treat with caution):
> 1.) am I allowed to call main methods or programms in my web
> ap
> From: Snow white [mailto:[EMAIL PROTECTED]
> We use a
> cookie to maintain the state that determines what is sent to the
> client, and we update the cookie in every response of this URL
> request.
So, presumably, your app already breaks if a user uses the 'Refresh'
button on the page, even pre-
> From: Chris Pat [mailto:[EMAIL PROTECTED]
> do I
> really need to a dedicated NIC for each of the static
> IPs I want run SSL sites on?
No. The configuration mechanism depends on your OS, however.
Windows boxes can have at least 20 IP addresses bound to one adapter. Get the
adapter prop
> From: vishwas kharajge [mailto:[EMAIL PROTECTED]
> Our requirement is to provide 200 concurrent hits per second
> There are 300K users registration on the server
> For this what is the requirement?
Hiring someone who can do the calculations.
> How much bandwidht it require for giving above con
> From: Rafal Zawadzki [mailto:[EMAIL PROTECTED]
> Why not use squid?
One view: Why go through another user-level process when you can simply
redirect the socket connections via iptables for fewer CPU cycles and
less RAM?
Another view: squid may be faster at serving static content, so
interposin
> From: vishwas kharajge [mailto:[EMAIL PROTECTED]
> howmany concurrent users does tomcat support?
Depends very largely on your webapp. How efficient is it? How many
operations per minute is each user making? Does it require session
state, or can you get away without it? Can it be clustered?
> From: George Sexton [mailto:[EMAIL PROTECTED]
> I'm running around 700,000 pages a month on a pure tomcat
> installation with no problems.
Just for interest, George, is that on similar hardware / software to
your benchmark at
http://www.mhsoftware.com/caldemo/manual/en/pageFinder.html?page=622
> From: Shawn Snodgrass [mailto:[EMAIL PROTECTED]
> Having weird install problems need a quick sanity check,
> version 5.0.28 will
> run on 64 bit architecture right?
>
> Tomcat Version = 5.0.28
>
> Architecture = AMD64
>
> OS = Linux ES 3.0
>
> Libraries = All 64 bit
What JVM are you using?
> From: George Sexton [mailto:[EMAIL PROTECTED]
> Since most people use threaded mail readers that go from oldest to newest,
> this isn't much of a problem for most people.
... I'm sorry? Which 'this' were you referring to here? It wasn't in context,
so I'm afraid I can't tell for sure. I'll
> From: Carl Olivier [mailto:[EMAIL PROTECTED]
> A lot of people on this forum Top Post.
>
> Is this really such a big issue?
I can sum it up with the following quote:
-- snip --
A: Top posting.
Q: What's the most confusing thing about mailing list messages?
-- snip --
If I'm reading through
> -Original Message-
> From: e-Denton Subscriber [mailto:[EMAIL PROTECTED]
[...]
> java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main
> (Unsupported major.minor version 49.0)
I suspect the tools.jar in your classpath is from Java 1.5, not Java
1.4. Certainly *something*
> From: Carl Olivier [mailto:[EMAIL PROTECTED]
[...]
> if (!toDel.delete()) {
> Thread.sleep(1000); //try get around file lock/release
> issue? (? Stab in the dark maybe!)
[...]
Heh. Is someone working on Windows here? There's a known issue that
the JVM holds onto file handl
> From: Satish MG [mailto:[EMAIL PROTECTED]
> I am using Tomcat 5.0.28. Now I have to port the Tomcat to
> Java 5.0. Even though Tomcat 5.5.X is Java 5 compatible with Java 5,
> I wanted Tomcat 5.0.28 on Java 5. So I wanted to Know whether Tomcat
> 5.0.28 is compatible with Java 5. If not Which ve
> From: Cristian S [mailto:[EMAIL PROTECTED]
> Frankly I have no ideea what's the point of loading almost
> 400M of data in memory in a HashMap.
> Maybe this very approach has a design flaw when it comes to JAVA.
If it's expensive to generate / load that data and the app has tight
response time
> From: Ajay Arjandas Daryanani [mailto:[EMAIL PROTECTED]
> i've written a authorization filter for Tomcat. The question is: is
> there any convention about package naming? Can I use, for example,
> 'package es.mydomain.myname;'? Or it's better to use 'package
> filters;'?
The conventional Java
> From: William Mok [mailto:[EMAIL PROTECTED]
> java.net.SocketException: Too many open files
What operating system? Naively, that looks like the good ol' UNIX limit
on the number of file descriptors available to a process - if so, read
up on how to change the descriptor table size for your kern
> From: Mark [mailto:[EMAIL PROTECTED]
> So there is no way to provide this functionality using just
> servlets :(
You could sort-of hack something together using meta-refresh directives
on the pages so that the browser knew to refresh the page just as the
server timed out the session, but you n
> From: Kosarev A.V. [mailto:[EMAIL PROTECTED]
> Whether I can configure tomcat so that for each context worked on
> behalf of various linux system users?
Tomcat runs in a single Java virtual machine, and that entire JVM
process runs under a single user ID. To my knowledge (I'm sure others
From: John Cartwright [mailto:[EMAIL PROTECTED]
Does anyone have a suggestion on how to maintain a separate session for
each browser tab and window? Currently the same session is shared for
each frame, window, tab of a given brower instance and context.
I only wish this were possible - it wo
> From: Gangaa D [mailto:[EMAIL PROTECTED]
> So How do I get Trusted Root Certification
> Authorities?
If you have control over all the browsers that will be accessing your
application: put your self-signed certificate into each of their trusted
stores.
If you don't have control over some of the
> From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED]
> Is it possible using LDAP, whether it is using custom JAAS code or a
> third party product such as Vintela's VSJ
> (http://www.vintela.com/products/vsj/), to do the following:
>
> "... prevent, control or limit the simultaneous active usage
>
> From: Goay Zee Ling (ACM/MIS) [mailto:[EMAIL PROTECTED]
> I just tried using the tomcat connector
> and faced some problem too. I have posted a question "tomcat connector
> isapi_redirect.dll not available" to this list.
>
> Do you have any idea on this?
I don't - I use separate IP addresses
> From: Goay Zee Ling (ACM/MIS) [mailto:[EMAIL PROTECTED]
> Hi. I have a simple question.
... But not a simple answer given your configuration.
> On the server, I have both IIS 5.1 and tomcat 5.0.
> With both running respective application, is it possible to remove the
> port number for calling
> From: Luis Torres [mailto:[EMAIL PROTECTED]
> Very nice work. Any plans to release details on how you did
> it?
One could do something similar by:
- Subscribe to the list.
- Archive the messages in (say) mbox format.
- Write yourself a little script that pulls out message headers, in
partic
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> yes this is very very cool. i'm in london though - on the map
> i'm in cambridge .. i think are corporate ISP is there though ;)
It appears to be analysing the 'Received from' headers in the email and
finding the one closest to the head of t
> > From: Anna Seekamp [mailto:[EMAIL PROTECTED]
> > The jvm (1.4.2 Suse-Linux) starts with:
> > -server -Xmx1500m -Xms1500ms
> >
> > We have 9 webapps.
> > One webapp has 50% load.
> > The other share the rest.
> > If we put 7 webapps online, we
> > ran into problems. After a few hours we get Out
> From: Jan Andersson [mailto:[EMAIL PROTECTED]
> I'll try again: How do I do to run Tomcat 5.0 as a Windows
> service using a
> specific user? I've tried using the Configure Tomcat
> application, tab Log
> On, but Tomcat is anyway started with "SYSTEM" as user.
Jan, have you tried using the
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> I don't think it's true
> that UTF-8 can handle ALL european character very well.
If it can't, the Unicode consortium (http://www.unicode.org/) will be
pretty worried, as UTF-8 is an encoding of Unicode...
- Peter
--
901 - 958 of 958 matches
Mail list logo