hi there,
i happen to see this. http://demo.zohovo.com a web based tool for office
On 8/14/05, Robert F Hall [EMAIL PROTECTED] wrote:
Evgeny,
Thanks for the clarification. I've written several java apps that run
in Tomcat, with browser based front ends and never thought of them
as java
Hi,
I really hope you folk can help me, cause I'm tearing my hair out.
Apache 2.0.54
Tomcat 5.5.9
JK 1.2.14.1
I have Apache serving multiple VHosts. I want to (eventually) integrate
different versions of Tomcat into different VHosts, but for now, I'd
settle for just 5.5.9 working with my
Hi
Havent found any close links in google so my last resort would be here..
Has anyone tried autologin using j_security_check?
This is the scenario. I wish to pop open a window with the login page.
However I want to autologin the account opening the window. I used
in $CATALINA_BASE/conf/server.xml merge these settings:
Engine name=Catalina defaultHost=localhost
Host name=localhost appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
Aliasfoo.com/Alias
/Host
Host name=file1.foo.com
Hey Michael,
I look inside the tomcat source and find that we don't set the cookie
hostname attribute.
That means that the calling client/browser must made the hostname
handling. I also
thing the redirect way is currently right direction.
Peter
Paul Singleton schrieb:
Michael Teter wrote:
Kyle wrote:
I have Apache serving multiple VHosts. I want to (eventually)
integrate different versions of Tomcat into different VHosts, but for
now, I'd settle for just 5.5.9 working with my default Apache VHost.
Apache works dandy alone on :80.
Tomcat works just fine on :8080.
I have the
Darryl,
thanks the reply.
Responses inline
Darryl L. Miles wrote:
Kyle wrote:
I have Apache serving multiple VHosts. I want to (eventually)
integrate different versions of Tomcat into different VHosts, but for
now, I'd settle for just 5.5.9 working with my default Apache VHost.
Apache
From: J R [mailto:[EMAIL PROTECTED]
Are there 64 bit counterparts? If not, would the 32
bit ones definitely work?
Assuming you have a Java virtual machine that runs on your system, the
Tomcat Java classes will run unchanged. The 'virtual' in 'virtual
machine' means that compiled Java
Kyle wrote:
But I have not yet managed to get
www.host.domain.com/prefix-examples/this_or_that_example to work
without returning a 500 Error.
First is it apache or tomcat that is returning the 500 ?
I'll leave the 500 question till I can be certain of the answer. I
thought it could
I have a tomcat5 installation running on a RHEL ES3 box which I am
having some issues with.
I have a symlink back to an images directory which is outside the
context. This works fine and I can read the images etc.
The problem occurs when I redeploy the context through the manager
webapp:
Can anyone help me how can i change the error page http1.1 500 on tomcat
?
Ebru KAYA
error-page
error-code503/error-code
location/errors/503.html/location
/error-page
in web.xml
Ebru KAYA wrote:
Can anyone help me how can i change the error page http1.1 500 on tomcat
?
Ebru KAYA
-
To
Warning: This message has had one or more attachments removed
Warning: (file.scr).
Warning: Please read the DiE-Attachment-Warning.txt attachment(s) for more
information.
test
This is a message from the MailScanner E-Mail Virus Protection Service
Just remember to add it after the /welcome-file-list tag.
error-page
error-code503/error-code
location/errors/503.html/location
/error-page
in web.xml
Ebru KAYA wrote:
Can anyone help me how can i change the error page http1.1 500 on tomcat
?
Ebru KAYA
Hi Richard,
the problem is that your classpath for the jasper path is not correct.
So this Null Pointer exception actually means that some class was not found.
Note that you need all the tomcat libraries in your jaser classpath, as well
as your libs as well.
I post you my script, which is working
The one caveat I have seen is when you use third-party software that
is compiled; chances are it was compiled with 32-bit system libraries
and will not take advantage of the 64-bit data structure. If you can,
spend the time compiling the third-paty software using 64-bit JDK.
Ben Ricker
On
hello!
I'm trying to configure two webapps (slide and jetspeed2) for
single-sign-on in the same tomcat instance. Both apps use JAAS and come
with their own JAAS login modules. Is it possible to configure these
(any?) two apps to share login info with JAAS. I started reading the
JAAS docs
You need to change your connector element(s) in server.xml
Mark
Arun Prasad R wrote:
thanks Mark,Hiroshi
but how do i specify this in tomcat configuration. in which config file i
need to change. what are the changes to be done to achive this.
pls help. im newbie
arun
On 8/12/05,
I guess I was hoping there was some server-level redirect.
I'm not sure how I would put the meta redirect in all my pages. My
app is a complicated mess (my fault - my lack of skill).
The issue is that my users are clicking a PayPal Subscribe button,
which sends them off to PayPal. Part of the
I'm not sure if this is the only or best way but you could create virtual hosts
within your server.xml, one for each domain. Then obviously your code will only
exist in one of the domains and the other you can do the redirect stuff.
-Original Message-
From: Michael Teter [mailto:[EMAIL
I would imagine the other way to do this is to implement a filter
looking for people trying to reach blahblah.com and returning a 302
redirect to www.blahblah.com. That would give them all the proper
cookie from the start and could be implemented accross all your webapp
resources at once.
Ignore my last mail, this way is better.
Ta
Matt
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: 16 August 2005 13:42
To: Tomcat Users List
Subject: Re: session problems: www.blahblah.com versus blahblah.com
I would imagine the other way to do this is to implement
Ok,
One step at a time. Thanks so far Darryl.
I now have it working across the internal network, but not externally.
The next step is what do I now need to do so that I can see the
jsp/servlets-examples pages externally??
Also, as I understand it, this format means that TC 5.5.9 will be the
Hi Edmund.
I am sorry but I don't know much about SSO.
However I can tell you about JAAS in Tomcat. In 5 certainly there are
issues. Essentially when you call the LoginModule to invoke your JAAS config
it works but it does not authenticate the proper session Subject. What you
end up doing (Or
Mark Benussi wrote:
Hi Edmund.
I am sorry but I don't know much about SSO.
However I can tell you about JAAS in Tomcat. In 5 certainly there are
issues. Essentially when you call the LoginModule to invoke your JAAS config
it works but it does not authenticate the proper session Subject. What
Does the RemoteHostValve work? There are no examples in the Tomcat 5
docs and the tomcat 4 docs have the following..
Valve className=org.apache.catalina.valves.RemoteHostValve
allow=*.mycompany.com,www.yourcompany.com/
Any regex starting with * fails in Tomcat 5 and you can also see
Can I use ikeyman or keytool or both?
Cuz, I need to use SSL like 8443 so bad...
Paul Kimbrel [EMAIL PROTECTED] wrote:
Something I forgot to mention. When you are generating your certificate,
it will ask for your first and last name. Enter the name of the server
your appliation will be running
WOW that looks like a lot lot of unneeded complication.
I do not know if this is absolutely correct for every situation. But it
is my experience that if you are just doing JSP pages you do not need
the web.xml at all. It is only needed if you need to call a servlet,
define a resource like
Brian Cook wrote on 08/16/2005 10:36 AM:
WOW that looks like a lot lot of unneeded complication.
I do not know if this is absolutely correct for every situation. But it
is my experience that if you are just doing JSP pages you do not need
the web.xml at all. It is only needed if you need
1.Filter to go in web.xml
/**
* [EMAIL PROTECTED] javax.servlet.Filter Filter} to overide the
HttpServletRequest and
* overide isUserInRole() using the
* [EMAIL PROTECTED] com.ibt.framework.security.tomcat.HttpServletRequestWrapper
HttpServletRequestWrapper}
*
* @author Mark Benussi
*/
Try reading this,
http://www.ex-parrot.com/~pete/tomcat-vhost.html
It's a receipe for setting up tomcat to do virtual hosting and behave more
like apache with regard to virtual hosts.
Yours,
Pete Stevens
On Tue, 16 Aug 2005, Mahesh S Kudva wrote:
Hi
I have setup Tomcat+Apache2+mod_jk. I
Vsevolod (Simon) Ilyushchenko wrote:
The error is from Tomcat - if I go to port 8080, I also see it. My issue
is that I can't figure out how to turn debug messages on via log4j - I'm
sure I'd see something interesting there.
Uh, yeah. Seems like it'd be a good idea to reinstall the orginal
I would try removing the context.xml file, if there is one, and
replace the web.xml with a default one. Then restart Tomcat.
If you still get the 404 error when calling just JSP pages and there are
no errors in the catalina.out file then the problem is very likely in
the syntax of the URL
Mark Benussi wrote:
1.Filter to go in web.xml
/**
* [EMAIL PROTECTED] javax.servlet.Filter Filter} to overide the
HttpServletRequest and
* overide isUserInRole() using the
* [EMAIL PROTECTED] com.ibt.framework.security.tomcat.HttpServletRequestWrapper
HttpServletRequestWrapper}
*
* @author
Greetings:
I set tomcat 5.5.9 running in port 8080 so it can be started without
using the root user. However, when I start tomcat using linux rc.local
at system start up (/apps/tomcat-5/bin/startup.sh), it seems that the
tomcat instance is started under root.
Question: Where do i set the user
If I understand this setup correctly, you would be running one instance
of Tomcat for all of your
virtual hosts. This has the disadvantage that if one virtual host needs
to be restarted, you will need
to restart Tomcat for all of your virtual hosts.
An alternative is to let Apache handle
J R wrote:
Are there 64 bit counterparts? If not, would the 32
bit ones definitely work?
Uhm, too many pronouns. Ones? You mean the binaries? Java .class
files are all binary bytecode, the bytecode is architecture independent
and well defined. All you need is a Java Virtual Machine
What is happening here? I'm running tomcat 5.5.7 as Windows service. It's
working with tomcat 5.0 as service. Why 5.5.7 does not have start scripts?
Thanks.
Peiyun
---
java.lang.ClassCastException: org.apache.struts.taglib.html.MessagesTei
Hi
I am having the same problem. I tried to use Pete's recipe, but all I get is
the default Tomcat page. I am setting up on win2003.
Thanks
Michael
-Oprindelig meddelelse-
Fra: Pete Stevens [mailto:[EMAIL PROTECTED] På vegne af Pete Stevens
Sendt: 16. august 2005 17:07
Til: Tomcat
Thanks... I didn't realize that Tomcat was pure Java.
Being tortured through several CS classes that use
Java.. I am familiar with its platform capabilities.
Thanks a bunch!
JR
--- Peter Crowther [EMAIL PROTECTED]
wrote:
From: J R [mailto:[EMAIL PROTECTED]
Are there 64 bit counterparts?
On 8/16/05, Bernhard Slominski [EMAIL PROTECTED] wrote:
Hi Richard,
the problem is that your classpath for the jasper path is not correct.
So this Null Pointer exception actually means that some class was not found.
Note that you need all the tomcat libraries in your jaser classpath, as well
From: Mark Benussi [EMAIL PROTECTED]
However I can tell you about JAAS in Tomcat. In 5 certainly there are
issues. Essentially when you call the LoginModule to invoke your JAAS
config
it works but it does not authenticate the proper session Subject.
Can you explain more about this? I just
From: J R [mailto:[EMAIL PROTECTED]
Thanks... I didn't realize that Tomcat was pure Java.
There's the odd shell script and batch file to assist; other than that,
it's pure Java. Certainly there's nothing that needs a
platform-specific compiler before it'll run, just the JVM.
Being tortured
Hi,
I have Tomcat redirector plugin DLL, isapi_redirector.dll (1.2.14)
plugin installed in IIS. I am using this redirector to connect IIS with
JBoss. I have configured isapi to redirect uri with /tc/* using
workers.properties and uriworkermap.properties. Also, Using the IIS
management console,
Note that the extension URI seems to point to a slightly different dll than the
one configured.
extension_uri=/tomcat/isapi_redirect.dll
isapi_redirector.dll (1.2.14)
-Original Message-
From: Nayak, Usha- Kalpana [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 16, 2005 1:23 PM
To:
Hi,
I seem to have no problem connecting to JBoss with request like POST,
GET, SEARCH. So I am thinking everything is configured correctly.
My virtual directory tomcat maps to E:\\isapi_redirect1.2.14.
Properties on Default Web Site -ISAPI Filters, click on filter
installed
Filter Name :
Do you have a line in Apache:
NameVirtualHost *:80
I dont think ServerName should have the port number after it. This and
ServerAlias are Host: header matching values.
I suspect your only remaining problem now is to get Apache and
Tomcat to see the same website document roots for the
Hi:
Where can I download the compatibility package for the tomcat 5.5.9 and
jdk1.4.2? Please advise. Thanks.
qd
This is a PRIVATE message. If you are not the intended recipient, please
delete without
Charles Meier wrote:
If I understand this setup correctly, you would be running one
instance of Tomcat for all of your
virtual hosts. This has the disadvantage that if one virtual host
needs to be restarted, you will need
to restart Tomcat for all of your virtual hosts.
An alternative is
From: Qin Ding [mailto:[EMAIL PROTECTED]
Subject: Compatibilty Package
Where can I download the compatibility package for the tomcat
5.5.9 and jdk1.4.2?
This is called hide in plain sight. It's the download named Compat on
the main Tomcat download page
i got tomcat5, apache1.3 and jk1.2.14. i'm very confused with JkMount. in my
http.conf, i have:
VirtualHost our_server:80
ServerName our_server
DocumentRoot ${tomcat_home}/webapps/test1
JkAutoAlias ${tomcat_home}/webapps
JkMount /test1/* worker1
/VirtualHost
Duong BaTien wrote:
I set tomcat 5.5.9 running in port 8080 so it can be started without
using the root user. However, when I start tomcat using linux rc.local
at system start up (/apps/tomcat-5/bin/startup.sh), it seems that the
tomcat instance is started under root.
Question: Where do i set
Hi Wendy,
Sure I can explain what happens but not why.
When you call the LoginModule with an optional Subject and CallBack the code
works fine for me, i.e. it calls the LoginModule and I do everything I need,
placing the Principals into the Subject.
However... and this is where I don't want to
Alan Cooper wrote:
I have a tomcat5 installation running on a RHEL ES3 box which I am
having some issues with.
I have a symlink back to an images directory which is outside the
context. This works fine and I can read the images etc.
The problem occurs when I redeploy the context through
Hoping for some help from the tomcat experts on this list.
I want to ensure all objects stored in sessions are serializable.
I read that I can put the distributable/ tag in my web.xml file to
'enforce' this.
But I don't see any enforcing happening. I assumed it would throw
exceptions at runtime
Apologies - I omitted the tomcat version: 5.0.28
On 8/16/05, Nishant Deshpande [EMAIL PROTECTED] wrote:
Hoping for some help from the tomcat experts on this list.
I want to ensure all objects stored in sessions are serializable.
I read that I can put the distributable/ tag in my web.xml
Thanks. I will take a look at it.
BaTien
On Tue, 2005-08-16 at 20:31 +0100, Darryl L. Miles wrote:
Duong BaTien wrote:
I set tomcat 5.5.9 running in port 8080 so it can be started without
using the root user. However, when I start tomcat using linux rc.local
at system start up
Danico Lee wrote:
i got tomcat5, apache1.3 and jk1.2.14. i'm very confused with
JkMount. in my http.conf, i have:
VirtualHost our_server:80
ServerName our_server
DocumentRoot ${tomcat_home}/webapps/test1
JkAutoAlias ${tomcat_home}/webapps
JkMount /test1/* worker1
Hello,
We are finding outselves hosting more and more individual webapps, all
running on Tomcat 5.5.9 w/ JDK 1.5. Each of these webapps is developed
and deployed on a separate schedule, and the number and frequency of app
deployments is increasing.
The frequency is so much that the uptime
Hi,
Just an update: Got JK2(isapi_redirector2.dll) installed and I seem to
have no problem with OPTIONS request too.
What's the difference between isapi_redirector2.dll v/s
isapi_redirector.dll (version 1.2.14)? Besides JK2 is deprecated.
Thanks.. Please let us know.
Usha
We have two webapps that communicate via jndi and
we need to have app2 wait for app1 to load before continuing.
Is there a way to force the order in which the webapps
are started?
Joe Lindsay
email: [EMAIL PROTECTED]
Are you sure the ${tomcat_home} works in Apache. Try putting the full
path name there.
I've never thought the httpd.conf undergoes any substitution expansion
before parsing, let alone also have substitution expansion work within a
quoted string literal as well.
i'm sorry. i was too lazy to
The technique I use is this:
Run the HTTP connector on port 8080.
Forward port 80 to port 8080.
To re-start the system:
edit the server.xml and run the HTTP connector on port 7080
Change the shutdown port to 8006
Start tomcat, and wait till it comes up.
Re-run the firewall script to forward
Hi,
Can somebody tell me what the difference between
the proxy_ajp and mod_jk is.
thanks,
Christine
--- Mladen Turk [EMAIL PROTECTED] wrote:
Xuekun Hu wrote:
Hi,
From performance point, which connector will be
used for TOMCAT
intergration with Apache? proxy_ajp or mod_jk?
I
On Tue, Aug 16, 2005 at 03:23:16PM -0700, Joe R. Lindsay wrote:
: We have two webapps that communicate via jndi and
: we need to have app2 wait for app1 to load before continuing.
: Is there a way to force the order in which the webapps
: are started?
You could run the apps in separate Tomcat
I've only used keytool - and it worked like a charm for me.
-Original Message-
From: Tom Spence [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 16, 2005 9:23 AM
To: Tomcat Users List
Subject: Re: TomCat 5.5.9 - 8443
Can I use ikeyman or keytool or both?
Cuz, I need to use SSL like
Hi,
I am trying to approximate the amount of memory my server will need running
tomcat. I understand that a lot depends on how the appication handles
resources, however at this point I am trying to figure out what will be the
mimimum needed. In my case I have virtual hosting setup, with all
proxy_ajp is mod_jk successor in Apache2.1/2.2 core.
You can find more info:
http://httpd.apache.org/docs-2.1/mod/mod_proxy.html
http://httpd.apache.org/docs-2.1/mod/mod_proxy_ajp.html
http://httpd.apache.org/docs-2.1/mod/mod_proxy_balancer.html
Thx, Xuekun
On 8/17/05, Christine Ho [EMAIL
Darryl L. Miles wrote:
Do you have a line in Apache:
NameVirtualHost *:80
I dont think ServerName should have the port number after it. This and
ServerAlias are Host: header matching values.
Darryl,
yes I do.
However the ServerName directive I have been referring to in all msgs is
From: Oleg [mailto:[EMAIL PROTECTED]
Subject: Calculating required memory
Would I be correct to estimate that Tomcat will atleast need
n(number of users/applications) * mb(total size of shared/lib)
In a word, no - disk space occupied by class files has no correlation
with memory consumed
You may be right in a perfect world, but well... I don't think
we'll get there this week.
I have a 3rd party app that I am dependent on and I'd prefer
to avoid the cost of rmi across multiple Tomcat instances.
I don't give up easily so I am going to try to use the Tomcat
manager app and just
hi Nishant,
You might want to put all your session variable inside HashMap or other
datatypes that implements Serializable, rather than put it just in a single
variable. Refer to the javadocs, what are those Serializable data types are.
Or maybe you can build your own class with something like
72 matches
Mail list logo