webapp instead of a single page?
Run a link checker against your app and voila, you not only know if
you have anything to fix, but all the JSPs are compiled.
Launch party!
--
Hassan Schroeder hassan.schroe...@gmail.com
On Tue, May 26, 2009 at 5:18 PM, veena pandit v.kri...@gmail.com wrote:
How to configure Hello.html in Tomcat?
Where do I place the following file? How to access it from the server?
Where did you try placing it, and what makes you think that wasn't
the right place?
--
Hassan Schroeder
distro.
And speaking of examples,
I placed it under tomcat root in a directory named web-apps
did you see any other files there?
Something to think about. :-)
--
Hassan Schroeder hassan.schroe...@gmail.com
On Tue, May 26, 2009 at 5:55 PM, veena pandit v.kri...@gmail.com wrote:
I saw that the tomcat example has a servlet example and a jsp example but no
html example.
Perhaps you need to download a current version; they all include
HTML files.
--
Hassan Schroeder
On Tue, May 26, 2009 at 7:22 PM, trojansnake12 boppn...@swbell.net wrote:
I am about at my wits' end here
I'm using ... gcj4.3 on the debian box.
Correlation? :-)
Place your bets, ladies and gentlemen, place your bets...
--
Hassan Schroeder hassan.schroe
=oracle.jdbc.OracleDriver
Shouldn't that be oracle.jdbc.driver.OracleDriver ??
and I also got jojdbc drivers: ojdbc14.jar,ojdbc5.jar,ojdbc6.jar in lib
folder.
And having multiple versions of the same class in your app is most
certainly not a good idea -- pick one :-)
HTH,
--
Hassan Schroeder
be bringing this up on a CentOS mailing list then? :-)
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h
I've installed the tomcat on the ubuntu machine, and by looking
at the logs tomcat is running, on port 80.
Maybe you can post the log of a startup attempt?
--
Hassan Schroeder hassan.schroe...@gmail.com
a taglib
declaration inside page markup?? I would put that at the start of
the page before any response output is set.
FWIW,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail
computer the browser gives me a connection refused and
something with error 10061.
Something?? A little bit more on specifics would be good.
Since I've installed the tomcat from remote I haven't tried to see if it is
working with localhost.
Why not? That would be a good first step.
--
Hassan
???
!-- The contents of this file will be loaded for each web application --
in tomcat/conf/context.xml
If you don't want all webapps affected, only apply reloadable to the
context.xml file for that one webapp.
And yes, it will restart the webapp as soon as it notices the change...
--
Hassan
happens. If you can connect there, it's probably your
server's firewall.
HTH,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional
but I
remain unclear about what this is for.
http://tomcat.apache.org/tomcat-6.0-doc/setup.html should help :-)
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr
META-INF directory.
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
your static site. Makes total sense.
YMMV :-)
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h
. No conversion necessary.
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
*generated* site.
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
links point to
*.jsp pages. So you would have to rename *and* change all internal
links -- every time you make a change and have to re-fetch.
OTOH, it's a small *one-time* change to your web.xml, so why do
anything else?
--
Hassan Schroeder hassan.schroe...@gmail.com
On Tue, May 12, 2009 at 10:13 AM, JDawg72 mr.j@hotmail.com wrote:
... but what has to happen when I need to add another
domain and application to this instance of Tomcat?
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
--
Hassan Schroeder
,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
successfully
on non-Windows platforms, eh? :-)
Q: Whats the point of referencing a specific keystore within server.xml
if it does take notice of it?
Referencing a specific keystore most assuredly works just fine --
your configuration has an error somewhere.
--
Hassan Schroeder
On Thu, May 7, 2009 at 5:56 AM, Alexander Diedler adied...@tecracer.de wrote:
Tomcat1.de and tomcat2.de point to the same Tomcat 6.0.18 server (edit
Windows hosts-File).
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
HTH,
--
Hassan Schroeder
to gathering performance stats
for Tomcat
Here's one from lambdaprobe running on my production server (on
Tomcat 6.0.x) -- UP for 328 days 19 hours 34 minutes
One example of *not* requiring weekly restarts :-)
FWIW,
--
Hassan Schroeder hassan.schroe...@gmail.com
log files contain the errors I should be looking
for.
Is it the catalina files or the stderr files?
Depends on how logging is set up, which is pretty flexible. Do tail -f
on all of the ones with current timestamps and wait for the app to go
to sleep again :-)
FWIW,
--
Hassan Schroeder
is not required by the spec.
2) Some browser plugins block the referrer header from being sent.
3) It's easily forged.
FWIW,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr
On Fri, May 1, 2009 at 7:52 AM, david owens ym...@yahoo.com wrote:
I don't currently specify a config.xml and it seems to
have something to do with that (docbase and appbase being
the same?).
Are you saying you have docBase == appBase?
If so, don't :-)
--
Hassan Schroeder
(latest Apple version)
FWIW,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
file I can just drop on my server
Have you looked at Google Analytics? Just a snippet of JS in each
page and you're done; could even be injected via a Filter for minimal
dev impact.
FWIW,
--
Hassan Schroeder hassan.schroe...@gmail.com
in a DB? Or alternatively, why isn't the image just
a servlet that returns the graphic part and records the request?
Either one would give you records you could post-process in a variety
of ways...
FWIW,
--
Hassan Schroeder hassan.schroe...@gmail.com
On Tue, Apr 28, 2009 at 1:30 PM, bhavik shah bhavik...@gmail.com wrote:
instead of that I want some generic name i.e. http://myname.com what kind of
configuration required for that?
google Domain Name System (DNS)
HTH,
--
Hassan Schroeder hassan.schroe...@gmail.com
- Virtual Hosts
both built in,
It may be interesting to get some of this into the official Tomcat
documentation.
and documented.
FWIW,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e
that. Pretty simple, really. :-)
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
On Wed, Apr 22, 2009 at 11:43 AM, Mighty Tornado
mighty.torn...@gmail.com wrote:
How can I make the request to port 8443 actually succeed?
Configure an https Connector.
--
Hassan Schroeder hassan.schroe...@gmail.com
=”oracle.jdbc.driver.OracleDriver”
url=”jdbc:oracle:thin:@.../
/Context
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users
present.
FWIW,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
what that means. Each virtual host will have a ROOT context;
what that contains is up to you.
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
-daemon.jar in the $CATALINA_HOME/bin folder.
/quote
Well, I haven't looked at those docs in a while, but ...
Why can't they even link to this project?
the tar file of jsvc source is included in the Tomcat bin directory...
--
Hassan Schroeder hassan.schroe
the complexity of httpd (see 2.a)
An easy goal to reach, luckily. :-)
FWIW,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional
host is causing you trouble. :-)
Give it its own IP and interface and it'll work as you want.
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
=
this.getServletConfig().getServletContext().getContext( /dev );
HTH,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e
:-)
Thanks for setting that straight!
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h
as an iterative *design* process is one of those things that
I think you just have to try until you achieve that 'a-HA!' moment :-)
YMMV!
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e
B-L's classic stance that
cool urls don't change -- don't reveal the technology being used by
using a file suffix that you may later want/need to change...
--
Hassan Schroeder hassan.schroe...@gmail.com
. No issues, it's
no different than running it on a different host.
FWIW,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e
On Sun, Feb 15, 2009 at 8:33 AM, Julien Martin bal...@gmail.com wrote:
I'll try the suggested solution and keep you posted...
You might also find the virtual hosting how-to in the docs useful.
FWIW,
--
Hassan Schroeder hassan.schroe...@gmail.com
Tomcat instance has started correctly? You can
get the default ROOT page? No errors in the logs?
3) if you're only deploying one hostname, why don't you just go back
to the original config, rename your app to ROOT.war and put it in
the base webapps dir?
--
Hassan Schroeder
, the universe is just messin' with ya
More specific details should be in your error logs.
HTH,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
there are other clues somewhere...)
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
or
META-INF directories.
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
.
And for the record I prefer mod_proxy_http because I can monitor
all active production connectors with standard http requests using
e.g. Nagios, as well as manually check with a browser.
So I'd definitely be interested in hearing more about any other known
vulnerabilities.
H*
--
Hassan Schroeder
httpd,
/not/ Apache Tomcat.
However, you can add headers via code in your JSPs, servlets, or
cover the whole app with a Filter.
HTH,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail
is under the default Host.
FWIW,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
all.
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
is not
accessible for him.
Or I am missing something?
Yes -- proxy does not mean redirect.
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
? You got a 404? 500 error? What do your httpd
logs say?
Does your configuration check pass?
Is localdomain.com resolvable from the webdomain system? Are
there any iptables rules or tcp wrappers on the localdomain.com
system that would block access?
--
Hassan Schroeder
they are configured, because i just have next
files in logs dir:
Should i enable it somehow?
? Logs appear to be enabled -- what do you find in them?
And again, does your configuration check pass?
--
Hassan Schroeder hassan.schroe...@gmail.com
/
(or /App/images/image.jpg, or whatever).
HTH,
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h
:-)
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
HttpServletRequest.getPathInfo()
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
a spontaneous read-only FS it meant the disk
was going bad.
You might want to manually fsck it (after running a backup!) :-)
--
Hassan Schroeder hassan.schroe...@gmail.com
-
To unsubscribe, e-mail: users
:-)
HTH!
--
Hassan Schroeder [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
Uh, yeah. Exactly what it says here:
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#MemoryRealm
:: along with not designed for production use. :-)
Check that page for alternatives.
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED
a bad feeling there might be a security
breach or something.
I have no idea what tools are available on a Windows server, but for
a simple check -- what do you see when you telnet to port 80?
--
Hassan Schroeder [EMAIL PROTECTED
.
HTH,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
://tomcat.apache.org/tomcat-5.5-doc/config/engine.html
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
in the *.properties files?
No, just start the second instance from a shell with the appropriate
value for CATALINA_HOME defined.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users
anything to do with this.
You need to design your apps to find external resources like proxy
configuration info.
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users
problem, however, is with the development environment:
I'd say you should either forget about using Apache httpd altogether
or make your dev environment match production.
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED
discrepancy :-)
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
,
for load-balancing (and HA).
From your original example, I can't begin to imagine your use case;
perhaps you can explain your goal?
H*
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail
Tomcat-related.
H*
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
not.
Trying something like
Did your editor just drop into mode.new().generateRandomStuff()?
Do you want to use port 8080 (http) or 8009 (ajp)?
Proxy balancer://whatever
BalancerMember http://localhost:3000
/Proxy
--
Hassan Schroeder [EMAIL PROTECTED
://whatever/
ProxyPassReverse / balancer://whatever/
HTH,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED
if this is definitive but I've never compiled
a tag file manually, nor restarted TC to see a change.
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e
the $CATALINA_HOME/conf/web.xml -- default setting
is true, so no action necessary unless you've changed that.
HTH,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users
and
then Tomcat throws it at your browser?
You need to write (or find) a proxy/reverse-proxy servlet.
Alternatively, you could use Apache httpd that purpose. More moving
parts, but possibly less work. :-)
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED
.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
port confusion and the unneeded AJP connector,
do you actually have both IP addresses configured on this box?
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
, for
no particular good reason :-)
Um, single point of failure? :-)
NFS /can/ be done robustly.
OK, I haven't encountered an NFS cluster in the wild, but apparently
they exist. So, yes, that'd be a solution, and would probably scale
better than using rsync.
--
Hassan Schroeder
not? It works nicely for a use case like this. And exec'ing
a process as needed beats spawning one every minute!
NFS, baby. NFS.
Um, single point of failure? :-)
--
Hassan Schroeder [EMAIL PROTECTED
On Tue, Sep 16, 2008 at 6:38 AM, Martin Spinassi
[EMAIL PROTECTED] wrote:
I don't know yet, I didn't try it yet, I was waiting to see if there is
a better solution than rsync them every minute.
Why not have your upload servlet invoke rsync when a new file has
been stored?
--
Hassan Schroeder
a script file containing the appropriate rsync arguments.
This works fine. I've even used rsync's dry-run mode to create a list
of files that differed between two systems (e.g. staging and production)
to generate a form page and allow the user to pick which ones to sync.
HTH,
--
Hassan Schroeder
a font into a webapp
No. A character, a codepoint, yes, not a font.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED
encoding, great. If not -- so sorry. Doesn't matter whether
you were using HTML entities or numeric representation: ? is it.
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail
=Inliness=1group=0verbose=1user-agent=W3C_Validator%2F1.591
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On Thu, Sep 11, 2008 at 2:53 PM, Johnny Kewl [EMAIL PROTECTED] wrote:
Hassan I not arguing, you know nothing about that font... how is your client
going to display it?
If the page contains an invalid code-point, as the error message
points out, then what should a browser display??
--
Hassan
:-)
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to handle multiple IP addresses --
just configure your system to respond to them :-)
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail
your Tomcat instance wouldn't shut down
(or at least, not right away).
Did you do a `ps` to see if the process was still active? If it is, a `kill -9`
is a lot quicker than a reboot :-)
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED
the creators of the third party api where they expect to
find the file in question?
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
:-)
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.com'
or something.
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
for submitting an
online order to a credit-card-authorization gateway, among others.
Look at the JavaDoc for java.net.Http(s)URLConnection.
HTH,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic
of the site on the specified port which are coming
From multiple DNS directions.
Assuming I understand what you're asking -- it does that by default.
What problem are you having?
--
Hassan Schroeder [EMAIL PROTECTED
the blurry
html's code and paste it in a plain html and open the file (without tomcat)
everything works fine.
I can't imagine how Tomcat could be influencing the display size of
images -- can you send a URL demonstrating this problem?
--
Hassan Schroeder [EMAIL PROTECTED]
swallowOutput=true
WatchedResourceWEB-INF/web.xml/WatchedResource
/Context
HTH,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
Tomcat's manager app. Caveat administrator!
+1 -- I see similar attempts in the logs of servers I'm running.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
, but is it in the classpath of your webapp? :-)
I'm gonna bet no...
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED
at straws, I may as well continue.
FWIW, I've had problems in the past with CVS corrupting binary files;
you might want to checksum a fresh copy and compare.
--
Hassan Schroeder [EMAIL PROTECTED
that familiar with CVS at the time. One to remember.
It was sure fun figuring out that a corrupt font file (yes!) was blowing
up an entire Flex/Java/Oracle application :-)
Anyway, I'm not coming up with any other ideas, so good luck!
--
Hassan Schroeder [EMAIL PROTECTED
301 - 400 of 916 matches
Mail list logo