"Natalie Forood" wrote in message
news:206003.52131...@web35302.mail.mud.yahoo.com...
> Hello,
>
> Can you tell me how I can get the IP address of the interface that is
> running Tomcat? I can't use localhost, I need the IP of the physical
> interface.
>
request.getLocalAddr() returns the IP
Mark Thomas wrote:
5. Patch DataSourceRealm (should just be a couple of changes to make the
checks case insensitive) and deploy your patched version to each of your
Tomcat instances. To do this you'd put your DataSourceRealm.class file
in CATALINA_HOME/lib/org/apache/catalina/realm
6. Make cas
A summary so far :
- the problem is : on one certain machine, when deploying any JSP which
imports a certain self-made library of classes, that JSP takes an
inordinate amount of time (one minute or more) to compile for a 5-line JSP
- after compilation, the JSP in question responds totally normal
Alan Chaney wrote:
> We have a site which has users log in to create/edit account
> information. Nothing unusual there. Currently this is implemented with a
> JDBCRealm and it all works OK.
I'd base your solution on the DataSourceRealm. JDBCRealm is very heavily
synchronised .
> So far, I can see
Hi
We have a site which has users log in to create/edit account
information. Nothing unusual there. Currently this is implemented with a
JDBCRealm and it all works OK.
However, we have a 'marketing requirement' to remove case sensitivity
(but NOT case preservation) from user names and passwo
You are right, should have been: request.getLocalAddr() - my bad.
Also, from the socket object you can always call
socket.getLocalAddress() on an outgoing connection. This is useful if
you want to make sure you are getting the IP for a particular network.
Yuval
On Feb 21, 2009, at 7:57 PM,
Yuval, wouldn't that give you the client's address? I thought she wanted the
server's ip address, with the added wrinkle that her server has multiple
network interfaces.
Yuval Perlov wrote:
request.getRemoteAddr();
You can only get your actual IP after opening a connection. Of course it
ca
I wanted to let you know it worked. The system.exit does get trapped.
java.lang.Error: Cleaner terminated abnormally
at sun.misc.Cleaner$1.run(Cleaner.java:130)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.Cleaner.clean(Cleaner.java:127)
> From: Isaac Oren [mailto:isaaco...@yahoo.com]
> Subject: RE: MS Windowas Vista can't open WAR files
>
> Log files are attached.
The mailing list strips most attachments, including yours. You'll need to post
the logs directly in the message.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTI
André Warnier wrote:
> Mark Thomas wrote:
>>> Should I add #1 and #2 to the FAQ-HowTo #38, or is it better to leave it
>>> as it is now (only mentioning the simple option 0) ?
>> Please do.
>>
> done.
> I haven't tried any of that stuff myself, so could someone make a quick
> accuracy check ?
Thanks Youssef,, nop.. 7-ZIP had no problems open the war file.. Vista
couldn't.. it odd but that's MS I guess..Vista open itslef other ZIP files with
no problems..
--- On Sat, 2/21/09, Youssef Mohammed wrote:
From: Youssef Mohammed
Subject: Re: MS Windowas Vista can't open WAR files
To: "T
Chuck thanks..
I did multiple trials running drools RBMS directly under Tomcat 5.5 but
couldn't make happen, at last I downloaded the standalone JBOSS +
drools-guvnor. This works fine. But when I take the same drools-guvnor war file
and place in the webapps of Tomact - Tomcat refuses to depl
> From: Isaac Oren [mailto:isaaco...@yahoo.com]
> Subject: MS Windowas Vista can't open WAR files
>
> I have downloaded a WAR file into a Vista machine, but the OS
> can't open the file as it does with normal ZIPed files
Use WinZip or the jar utility from the JDK if you want to look inside the .wa
Thanks so much to all who replied; I will try all your suggestions and report
back with what worked best in our setup.
Natalie
From: Yuval Perlov
To: Tomcat Users List
Sent: Friday, February 20, 2009 11:54:17 PM
Subject: Re: Getting the tomcat server IP
re
Mark Thomas wrote:
Should I add #1 and #2 to the FAQ-HowTo #38, or is it better to leave it
as it is now (only mentioning the simple option 0) ?
Please do.
done.
I haven't tried any of that stuff myself, so could someone make a quick
accuracy check ?
Thanks.
a WAR file is a normal zip. Yours is probably corrupted.
Regards, Youssef
On Sat, Feb 21, 2009 at 1:15 PM, Isaac Oren wrote:
>
>
> I have downloaded a WAR file into a Vista machine, but the OS can't open
> the file as it does with normal ZIPed files, also placing the WAR file as is
> in the web
André Warnier wrote:
> Mark Thomas wrote:
>> SpY0o2 wrote:
>>> hello, I've been trying to deploy an application to Tomcat 6.0.18. I
>>> would
>>> like to make it my default ROOT app (without renaming the app to
>>> ROOT), so
>>> that I can access my app by entering
>>> http://localhost:8080/ instea
Mark Thomas wrote:
SpY0o2 wrote:
hello, I've been trying to deploy an application to Tomcat 6.0.18. I would
like to make it my default ROOT app (without renaming the app to ROOT), so
that I can access my app by entering
http://localhost:8080/ instead of http://localhost:8080/myApps
Renaming
I have downloaded a WAR file into a Vista machine, but the OS can't open the
file as it does with normal ZIPed files, also placing the WAR file as is in the
webapp directory and try to access it doesn't work.. is there something I need
to do for special for Vista 9Tomca 5.5)Thanks, Isaac
SpY0o2 wrote:
hello, I've been trying to deploy an application to Tomcat 6.0.18. I would
like to make it my default ROOT app (without renaming the app to ROOT), so
that I can access my app by entering
http://localhost:8080/ instead of http://localhost:8080/myApps
See http://wiki.apache.org/t
SpY0o2 wrote:
> hello, I've been trying to deploy an application to Tomcat 6.0.18. I would
> like to make it my default ROOT app (without renaming the app to ROOT), so
> that I can access my app by entering
>
> http://localhost:8080/ instead of http://localhost:8080/myApps
Renaming the WAR to RO
21 matches
Mail list logo