Hi there I'm having a problem getting tomcat 5.5 working with jsvc on a
server of mine as of this moment I have not managed to get it working
properly (I'm sending this to both commons-user and tomcat-user mailing
lists in hope to get good answers :-))
The hardware:
SunFire x4200 (http://www.su
Hi everybody
My system confi is :
Win XP , JDK 6 . My env variables are : PATH :C:\Program
Files\Java\jdk1.6.0\bin and CLASSPATH : . (Dot).
I have ran many java programs in my system without any problems. I have
installed tomcat 6 (by just using the Windows Service installer
Thank you for your help,
If i dont want to remov the jsp files so my solution is good ?
Another example is,
Uploaded images was stored in products/images under test, i change it to
d:\data\products\images buy
same solution, added this part to server.xml under the Host tag,
.
So when i run this
Thanks for the reply Mark. In my case that should not really be an issue so
I'll go for it.
Peter
Mark Thomas-14 wrote:
>
> Peter Coppens wrote:
>> Works fine, but what worries me is that I have to make this a priviliged
>> web
>> app now and I am unclear as to what the consequences of that a
> From: Arshan Varsi [mailto:[EMAIL PROTECTED]
> My system confi is :
> Win XP , JDK 6 . My env variables are : PATH :C:\Program
> Files\Java\jdk1.6.0\bin and CLASSPATH : . (Dot).
>
> I have ran many java programs in my system without any
> problems. I have installed tomcat 6 (by ju
Hi there
I'm doing some testing of redirection with a separate Apache web farm
serving front end redirection of specific tags to Tomcat server via an
ajp13 worker.
The problem I'm coming across is redirecting a DNS alias to a specific
tag on the same web server. I've been trying virtual ho
trimDirectiveWhitespaces is only applicable at servlet configuration
time. See $TOMCAT_HOME/conf/web.xml
-Tim
Peik Feng wrote:
Hi,
I have installed Tomcat 6.0.10 with JRE 1.6.0.
I tried to set trimDirectiveWhitespaces in page directive but it
doesn't take effect.
<%@ page trimDirectiveWhi
Use a servlet filter which is mapped to *.jsp - see Google for more
details on Servlet Filters. (javax.servlet.Filter)
-Tim
prt wrote:
Hi to all,
Where i have to config and what, to prevent direct access to my jsp files ?
Thanks everyone. Much appreciated.
I think part of my confusion was that when I create a directory to
deploy into, I have to remove subdirectories from the appBase because
it finds them first there before it looks in the ROOT directory I'm
deploying into.
This may be as intended but it was somew
Any reason why cant you put all pf the jsp inside WEB-INF folder
This way you can be sure that no one is able to access your jsp file
Regards
Guru
---
Gurumoorthy Raghupathy
Email : [EMAIL PROTECTED]
Intern
Hi
I've written about this problem already, but still I didn't find
solution. The problem is that my components on the pages somehow are saving
values that are assigned to them for the first time. So, when I am first
time at page A and set hidden field value to 3, then go to B, and then onc
Has anyone had any issue applying TZUpdater on the web server? Because of
the Extended Daylight Savings Time, I need to apply this patch on our web
servers where Tomcat are running, and I would like to hear if there is any
known problem.
Thanks.
epy.
Hello,
I try to implement a custom client certificate authentication, that does
some complicated LDAP-lookups in the background and gives an authenticated
value with request.getRemoteUser() back to the applications.
Peeking through the jcifs source, I chose to implement a filter. This
works,but
Hi,
SSL stuff happens before any actual HTTP data is sent.
It not possible to see request's URL at this stage.
Dima
Tuesday, March 6, 2007, 3:29:15 PM, you wrote:
JAA> Hello,
JAA> I try to implement a custom client certificate authentication, that does
JAA> some complicated LDAP-lookups in th
Hi,
I'm not trying to see the SSL stuff itself, but make the connector ask for a
client certificate.
This works with the security-constraint config mentioned below, if I
reference a role from the user-realm. As I do not have the users defined in
some realm, i try to find a was to make the connect
I had a weird thing happen yesterday:
I'm running TC 5.5.12 on Windows 2000 server. The jre is version
1.5.0_07. I did windows updates through IE, and used tzedit to update
the DST settings, then rebooted the server. Everything came back up
normally, but when I looked at the data being writ
Hi,
> The issue seems to be with the IE /Tomat handshake. When IE hits my
Tomcat site, it
> puts up a dialog with a title of "Choose a Digital Certificate". However
the list of
> certificates to choose from is empty.
> The certificates are loaded into my IE browser. It seem to work with
On 3/6/07, Tim Funk <[EMAIL PROTECTED]> wrote:
trimDirectiveWhitespaces is only applicable at servlet configuration
time. See $TOMCAT_HOME/conf/web.xml
There's a new directive and new jsp property which is supposed to do
the same as our trimSpaces (of course, it's far more complicated).
While i
Hello,
I just found it searching the list.
clientAuth="want"
Does what I need: It permits Users without clientcerts, but asks for them in
case they have some...
This together with my filter, that checks for the certs brings the desired
effect.
Mit freundlichen Grüßen,
Alexander Jung
> -Urs
You could put a case statement in the catalina.sh file where you change the
CATALINA_BASE directory based on user input:
echo "Enter the application you want to start "
read app
case "$app" in
app1)
export CATALINA_BASE=/usr/local/app1base
;;
app2)
export CATALINA_BASE=/usr/local/app2base
;;
def
Further to this I modified the httpd-vhosts.conf file, after discovering
that the main server will not serve the jkmount directives if virtual
hosts are active...hence the looping and no response...
NameVirtualHost 1.2.3.4:80
DocumentRoot d:/apache2/htdocs
ServerName fred.abc.co.uk
Jk
On 3/6/07, Darren Kukulka <[EMAIL PROTECTED]> wrote:
This worked but I want to hide the redirect URL,
and eliminate the doubled network traffic, I hope? :-)
Anyway,
DocumentRoot d:/apache2/htdocs
ServerName test.abc.co.uk
ProxyPass / http://fred.abc.co.uk/app1/
ProxyPassRev
Hi to all again,
I added filter object for all requests /*.
In the Filter class i check the ServletPath
(HttpServletRequest.getServletPath()) and
i check if is equals to alist of allowd paths. it is work just perfect.
But i think that is damage the performance, is it ?
Thank you.
--
View this
D'oh! I had an older copy of the spec without those notes.
-Tim
Rémy Maucherat wrote:
On 3/6/07, Tim Funk <[EMAIL PROTECTED]> wrote:
trimDirectiveWhitespaces is only applicable at servlet configuration
time. See $TOMCAT_HOME/conf/web.xml
There's a new directive and new jsp property which is
Thanks for the input, Dan.
Actually, I am aware of how permissions. The question is how to set
permissions, owner, group on a log file created by FileAppender when it
actually creates the log file.
For the moment, I have solved the problem by using a separate log file for
tomcat.
Daniel Stephe
On 3/6/07, Tim Funk <[EMAIL PROTECTED]> wrote:
D'oh! I had an older copy of the spec without those notes.
It's a very minor issue anyway (trimSpaces doesn't do all that much).
Rémy
-
To start a new topic, e-mail: users@tomcat
If your allowed list check is small and simple (and NOT synchronized) -
the performance impact is probably not noticeable.
If your list of URLS is large - then your check would be based on your
check algorithm. (http://en.wikipedia.org/wiki/Big_O_notation)
-Tim
prt wrote:
Hi to all again,
Look at your system properties [user.timezone]
-Tim
David Kerber wrote:
I had a weird thing happen yesterday:
I'm running TC 5.5.12 on Windows 2000 server. The jre is version
1.5.0_07. I did windows updates through IE, and used tzedit to update
the DST settings, then rebooted the server.
What file would that be in?
Tim Funk wrote:
Look at your system properties [user.timezone]
-Tim
David Kerber wrote:
I had a weird thing happen yesterday:
I'm running TC 5.5.12 on Windows 2000 server. The jre is version
1.5.0_07. I did windows updates through IE, and used tzedit to
upd
Ok, thanks. This gave me enough to go on that I could find the fix with
a bit of googling. Apparently it's something that occasionally happens
in Win2k when messing with timezones and updates. The workaround was to
just change the timezone to something different and then change it back,
and
There's no reason I know of to have .classpath or .project in the
webapp. The servlet spec doesn't define them and tomcat doesn't use
them. I would imagine these are specific to the development environment
you are working in.
I've seen posts from other people integrating PHP with Tomcat, but don
Its a system property - you can see it by with of the following in a
sample jsp:
out.println(System.getProperties().getProperty("user.timezone"))
or
System.getProperties().list(new java.io.PrintWriter(out));
-Tim
David Kerber wrote:
What file would that be in?
Hi,
My list is small only 5 URLS,
I save it in (String[]), that load in the Filter init method by init
parameter in the web.xml.
Every request i take the ServletPath and to this part in function,
boolean bRunURL;
for(int i = 0, max = sArrAlowd.length; i < max && !bRunURL; i++)
bRunURL = (sS
You won't even notice this code being run.
-Tim
prt wrote:
Hi,
My list is small only 5 URLS,
I save it in (String[]), that load in the Filter init method by init
parameter in the web.xml.
Every request i take the ServletPath and to this part in function,
boolean bRunURL;
for(int i = 0, max
Well so you say is good, thank you for your help.
I have another problem,
I save uploaded images(by users) in folder place at "D:\storeg\data\uf\".
So when the URL is "http://localhost/test/uf/xyz.jpg"; then is redirect to
"D:\storeg\data\uf\xyz.jpg"
And that so because i cunfigure in server.xm
Hello,
I am migrating an application to a new server. The web application is
installed on the new server, I still need to serve it on port 8080 since
some users are using it like this. But I also need to serve it on port
80. On the old server, apache was installed to redirect to
http://hostname:80
> From: Jean-Sebastien Pilon [mailto:[EMAIL PROTECTED]
> Subject: Redirect question
>
> I wish to get rid of apache from the design, is
> there any way I can set it up so it listens on
> port 80 and redirects to 8080 ?
Just duplicate your existing in server.xml and change to
port to 80. It's
Ok cool.. I just had a round with our umask and groups being setup
incorrectly. just a mess.
On 3/6/07, stevethames <[EMAIL PROTECTED]> wrote:
Thanks for the input, Dan.
Actually, I am aware of how permissions. The question is how to set
permissions, owner, group on a log file created by Fi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
prt,
prt wrote:
> I have another problem,
You should post a separate message in this case.
> I save uploaded images(by users) in folder place at "D:\storeg\data\uf\".
> So when the URL is "http://localhost/test/uf/xyz.jpg"; then is redirect to
> "D
Hi, Has anyone here ever had to use a cgi-bin directory to try and
connect to tomcat? ie, some script that when run under cgi-bin, connects
and forwards the info to tomcat? I cant find much on it, but it would be
really handy. (Have a web server that i cant install a connector in!).
Best Regar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jacob,
Jacob Rhoden wrote:
> Hi, Has anyone here ever had to use a cgi-bin directory to try and
> connect to tomcat? ie, some script that when run under cgi-bin,
> connects and forwards the info to tomcat?
Ugh. This sounds miserable. ;)
> I cant fi
Here's the thing about umask.
In the Unix file system, file permissions is an octal value with one digit
for each user type. When using chmod, these permissions can be set directly
and do not require a leading zero.
chmod 664 file
Each digit represents a user class and each bit within the digi
Hello all, after upgrading my jdk to 1.6 on my gentoo server running
tomcat 5.5 and started up i got this errors:
Starting tomcat5: lock file found but no process running for pid 9691,
continuing
/usr/bin/rebuild-jar-repository: error: Could not find jdbc-stdext Java
extension for this JVM
/us
> From: Hernâni Cerqueira [mailto:[EMAIL PROTECTED]
> Subject: Startup errors
>
> Hello all, after upgrading my jdk to 1.6 on my gentoo server running
> tomcat 5.5 and started up i got this errors:
These errors are from a 3rd-party script that apparently comes with gentoo's
repackaging of Tomc
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jacob,
Jacob Rhoden wrote:
Hi, Has anyone here ever had to use a cgi-bin directory to try and
connect to tomcat? ie, some script that when run under cgi-bin,
connects and forwards the info to tomcat?
Ugh. This
Hi. Sorry this seems so simple but I've been tearing my hair out. I want
to have my Tomcat application deployed to /AAA/BBB/CCC and browseable at
www.ABC.com. In the server.xml file I have a tag but I don't know
what I should put into the tag. I've been trying ... but Tomcat seems to think tha
I first tried that solution, i tried to install tomcat6 but i keep
getting "Could not reserve enough space for object heap" error. This is
kind of strange because my server is a vps with 8GB of shared memory,
with just 50mb free but more than 4GB are in cache so there should be no
problem.
Th
Hi,
Tomcat forbids directly access to files in your WEB-INF, which you can use
the feature to setup a simple solution to protect certain jsp files so you
can not direct access your jsp resource but use dispatched way to access ...
On 3/6/07, Raghupathy, Gurumoorthy <[EMAIL PROTECTED]>
wrote:
A
I updated my tomcat 5 to 6 (beta) which I didnt have this problem. Class
version problem sometimes caused by system time. have you changes your
system time? Or try to clean up all classes you had generated and compile
your java program again see how
On 3/6/07, Peter Crowther <[EMAIL PROTECTED]> w
Hi,
According to JSP Spec v2.1 (page 122/123):
JSP.3.3.8 Removing whitespaces from template text
Whitespaces in template text of a JSP page are preserved by default (See
SectionJSP.1.3.8, "White Space"). Unfortunately, this means that unwanted
extraneous whitespaces often make it into the respo
Hi,
Sorry for the previous incomplete post.
According to JSP Spec v2.1 (page 122/123), and also page 82-84
#
The trim-directive-whitespaces element is a subelement of jsp-property-group
(See SectionJSP.3.3.1, "JSP Property Groups"). It has no subelements. Its valid
values aretrue andfalse
Hi,
I setup Tomcat 5.5.17 in Linux Fedora Core 4 and develop a Web
Application under /webapps directory.
I have so many configuration files that need to be loaded into my web
application. These configuration files are in a self-defined format
and I wrote some Java classes to parse these configur
Instead of attaching information to a session context you can attach
information to an application context, whats more, instead of loading
the config each time a session is created, you can create what is called
a "Lifecycle listener" which will load the configuraiton file once, when
the applic
Kathy Lo:
I think you can use the interface
javax.servlet.ServletContextListener.In you implementation's method
contextInitialized(ServletContextEvent
sce),you can parse these configuration files and save the parsing result in
the application scope,for example:
sce.getServletContext().setAttrib
Hi:
I am trying to implement authentication and authorization using JAASRealm.
(I am following the instruction provided at -
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html). However, looks
like the role that I set (in the RolePrincipal) is not taking effect.
I have created a class ext
> From: shahab [mailto:[EMAIL PROTECTED]
> Subject: how to set role for JAASRealm
>
> I have also made entries in server.xml as follows (i set
> debug to 0 hoping for more debug info,
The value "0" provides minimal diagnostic information; "99" is what you
really want. Check all the logs to mak
Resending...
Are there tricks/gotchas to getting IIS 6 to properly pass the auth
check for manager and host_manager to the browser?
- We have enabled the manager and host-manager apps, and they work
through the http connector.
- We have other apps working via isapi redirector.
The difference b
I dont want to handle the display process, just to map it from the filter to
"D:\storeg\data\uf..".
But thank you for your solution.
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> prt,
>
> prt wrote:
>> I have another problem,
>
> You should post a separ
58 matches
Mail list logo