I ended up with something interesting with tomcat.
I basically have two , in the first one I put
*.do and in the second one, I put
/admin/*. Tomcat just did what I want, the user
with role matching the first constraint does not have access to anything
/admin/*. It works in both Tomcat 5.5 and 6.
Hi,
Yes, it worked with only that connector ... the requests that came from http
over apache and went to the AJP connector were redirected by te port defined as
redirectPort in the connector...so changing this to 443 as in the second scheme
you propose did the job...thanks for helping and agai
"Markus Schönhaber" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Zemian Deng wrote:
>
>> When setting up tomcat during boot startup on a linux/unix, is there more
>> advantage using jsrv that comes with Tomcat as describe here:
>> http://tomcat.apache.org/tomcat-6.0-doc/setup.htm
"Paul Hammes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I have a webapplication wich is distributed in one war for different
> customers.
> Unfortunately there are customer specific settings I normally would like
> to define in the enclosed web.xml.
> Because thi
i think if you really will do this you can
make a warper to the session object in the tomcat app. and store all
the data in the database (select by the ip,username or id) - you have to
pass this as parameter - (or en(/de)code your url in other way)
?id=$$BLABLA$$
---
Jens Kapitza
-
> Hi,
>
> If I add cookie="false" in Context, it's geting worse and the session in
> the original browser does not work properly.
> In my program to keep track of data I use a JavaBean and then pass in
> session like:
>
> session.setAttribute("appBean" , Mybean);
> The appBean session should be
Dear Nick,
We are using Tomcat 6 and want to be able to dynamically create/
simulate
third level domain for each user (like blog engines do).
tom.myportal.com
dick.myportal.com
harry.myportal.com
Does this help, maybe?
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
--
Dear Irwan Hadi,
Just curious if anybody knows how to disable tomcat from logging to
catalina.out, possibly by editing the server.xml file?
check out ${tomcat}/conf/logging.conf
True that we can link catalina.out to /dev/null or truncate the file
every
now and then, but we prefer to use a
Hi,
If I add cookie="false" in Context, it's geting worse and the session in
the original browser does not work properly.
In my program to keep track of data I use a JavaBean and then pass in
session like:
session.setAttribute("appBean" , Mybean);
The appBean session should be accessible when
Just curious if anybody knows how to disable tomcat from logging to
catalina.out, possibly by editing the server.xml file?
True that we can link catalina.out to /dev/null or truncate the file every
now and then, but we prefer to use a more sane approach, than just
truncating the file...
Thanks
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Julio,
Julio César Chaves Fernández wrote:
> I'm sorry but i read the previous question and now that i notice i
> doesn't make any sense given that apache is connecting tomcat by AJP
> connector ... the question would be if there is a way to redirect
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Julio,
Julio César Chaves Fernández wrote:
> Well, when i access the application over the AJP connector it does
> what it's supposed to ... redirect it by the redirect port defined in
> the connector on the server.xml file.
Good.
> Its just that ht
Zico wrote:
Plus, if you want to check our site; here it is: http://dspace.bracu.ac.bd
Can you see the *8*?
What kind of 8 this is? Here, i want to add that, i have searched a lot for
this alien unexpected 8 in the source code of various pages like,
index.html, header-default.html, headers-st
Mr. chuck
I am facing similar problem like Mr.Popo Sama.
In my home I installed Tomcat 6.0.18 in Windows XP and using jdk-6. I
do not have any problem. My Home machine is Pentium-IV.
But in My office similar Pentium machine and same operating system I
installed 6.0.18 and later on tried 6.0.16 and
Thank you all. With the help of this group, at last i can configured various
tomcat related problem in our dspace server.
But,hey, guys, i am facing another peculiar problem now.
Everything is ok. Users are inserting the address of our university dspace
server, it becomes ok. But, there is an *alie
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
## see PatternLayout
## %d{ISO8601} = -MM-dd HH:mm:ss,SSS
## %d{ABSOLUTE} = HH:mm:ss,SSS
## %-5p = level, left aligned, minimum 5 characters
## %c{1} = last part of the name of the logger
## %m = message
## %n = newline (platform dep
No, it will not work. If you compile with a new compiler you need a
new JRE to run it.
You can tell Eclipse to compile the code for an older JRE. The setting
is in Project > Properties > Java Compiler.
--
Len
On Tue, Aug 19, 2008 at 09:44, sam wun <[EMAIL PROTECTED]> wrote:
> Hi,
>
> when I cr
Hi,
I'm sorry but i read the previous question and now that i notice i doesn't make
any sense given that apache is connecting tomcat by AJP connector ... the
question would be if there is a way to redirect a request over http for an
application that has a confidential transport guarantee defi
Hi,
Well, when i access the application over the AJP connector it does what it's
suppossed to ... redirect it by the redirect port defined in the connector on
the server.xml file. Its just that https is over port 443, so when it redirects
by port 8463 defined in the AJP connector it gets a tim
Hi,
when I create a web project in windows Eclipse (3.4), I use jre6.
But in my tomcat server (linux), it s using jre5.
Do I have to make the jre version to be the same for both platforms?
Because if I package it in a war file in windows, the lib jar files are
all in jre6 version.
Then when
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Praveena,
Ch Praveena wrote:
> I have run a very basic helloworld program. But, when I am
> accessing the jsp file, I am getting the following exception stack trace.
>
> javax.servlet.ServletException: java.lang.VerifyError: (class:
> org/apache/jasp
Zemian Deng wrote:
> When setting up tomcat during boot startup on a linux/unix, is there more
> advantage using jsrv that comes with Tomcat as describe here:
> http://tomcat.apache.org/tomcat-6.0-doc/setup.html
>
> VS
>
> Just a plain shell script that calls catalina.sh ?
With jsvc Tomcat is a
Hi all,
I have run a very basic helloworld program. But, when I am
accessing the jsp file, I am getting the following exception stack trace.
javax.servlet.ServletException: java.lang.VerifyError: (class:
org/apache/jasper/runtime/JspApplicationContextImpl, method:
createELResolver sign
Hi,
I triedto follow the tutorial shown in the link below
http://java.sys-con.com/node/152270
but I amstuck with the mysql location.
I haveinstalled mysql database engine in a linux server.
Thetutorial I am following on is started in windows Vista with Eclipse 3.4,
it assumed we installed
Hello list,
When setting up tomcat during boot startup on a linux/unix, is there more
advantage using jsrv that comes with Tomcat as describe here:
http://tomcat.apache.org/tomcat-6.0-doc/setup.html
VS
Just a plain shell script that calls catalina.sh ?
--
Sweet - a Scala web framework:
http://
How can i simply log the date and the time in each line?
I found several examples around, but none of them works
Regards
--
View this message in context:
http://www.nabble.com/Log4j-Date-time-logging-tp19048064p19048064.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---
session.invalidate();
doesn't seems to be enough
Regards
--
View this message in context:
http://www.nabble.com/j_security_check-Tomcat-bad-redirection-tp19047465p19047484.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
--
Hello,
When I do the login with wrong username & password i have a redirection on
the same(login) page. After that i try to login with correct user & pass and
have a bad redirection:
Http status
http://localhost:8080/{webapp}/secure/j_security_check
Is there any way to restart the whole tomcat
Adam Jenkins wrote:
> Hi All,
> I'be been tearing my hair out for a couple of weeks over this one and would
> appreciate any assistance anyone could give. It's a bit of a unique
> scenario, so it'll take me a little while to explain:
> We have a legacy struts app, forwarding to a jsf app (detail
André Warnier wrote:
> Len Popp wrote:
>> No, when a browser sends a POST request the request params are *not*
>> sent as part of the request URI. They are sent in the body of the
>> request. With Content-Type: application/x-www-form-urlencoded the
>> request body looks like this:
>>
>> param1=a¶m2
kohanm wrote:
>
> Hi,
> I have Tomcat 5.5 installed and a Java web applicaion is running.
> How could* *I *se*t up Tomcat that if I copy and past the URL of the web
> application to anoather browser the session could be tranferred to the new
> browser, in other words:
> Session can be transfe
31 matches
Mail list logo