Hi all,
I use tomcat with jboss 3.2.3, and i try to load a jni extension, but it is not
working.
When i start jboss, i set the java library path, and i put my extension there,
but, it can't
load the library (i think, because, when i try to access something from that ,
i get unsatisfied link er
affiliated with
either ApacheCon or COMDEX.)
We have also just announced a series of new courses as part of our
"Software that Works" curriculum.
All information can be found at http://www.galatea.com/training. You can
also contact me directly.
Regards,
Lajos
800.711.4901
--
Volker -
Just copy the contents that you want directly into httpd.conf (you might
have to merge settings). Then disable the Listeners in
httpd.conf.
Regards,
Lajos
Volker wrote:
Hi,
a few weeks ago I asked here how to make tomcat create a mod_jk.conf under
/conf/auto
Now - all things run
contact me directly at
[EMAIL PROTECTED] or at 800.711.4901.
There are only three slots left, so sign up now if you are interested!
Regards,
Lajos
--
Lajos Moczar
Open Source Support, Consulting and Training
oaded?
TIA
Lajos
--
Lajos Moczar
Open Source Support, Consulting and Training
Cocoon Developer's Handbook
(www.amazon.com/exec/obidos/tg/detail/-/
erver.xml and set that to "" - just comment out the other
one, since you really don't need it.
If that doesn't help, email me off the list.
Regards,
Lajos
galatea.com
Heather Buch wrote:
Hello,
My NameVirtualHost fails when I try to set the JkMount directives.
I am using
Replying late to this post ... but, I can highly recommend
http://www.smedia.info. Having done work for them in the past, I know
they have a very responsive and attentive staff. If you call them,
please tell them I referred you.
Regards,
Lajos
Joe Block wrote:
I'm sure this has probably
Point your Apache DocumentRoot to the same directory the you set in the
appBase attribute of your in server.xml. Then, make sure your
JkMount commands (if you are using mod_jk, that is) are specific to the
content you want Tomcat to serve, so that Apache will pick up the rest.
Regards,
Lajos
bout the people complaining about off-topic posts ;) )
Regards,
Lajos
Alexander Czernay wrote:
Hi Lajos,
thanks for your help. I read through your pages and it sounds to me like
I have to use the mod_rewrite technique to accomplish my goal. But I'm
afraid I don't know the rewrite mechanism en
Hi Alexander -
There are several ways you can do this - see my Cocoon notes at
http://www.galatea.com/flashguides/cocoon-tips-2.xml (or my book ;) ).
Probably the best is simply to make the cocoon webapp your default
context in server.xml:
Regards,
Lajos
Alexander Czernay wrote:
I
esn't work.
Regards,
Lajos
Manoj Kithany wrote:
Hi:
I am using Apache 1.3.26 with JBoss ... it is working fine.
Now I have installed SSL Certificates on my Servers and wondering how to
configure Apache for SSL?
Should I install mod_ssl or Apache-SSL? Are both these same ? which one
is r
Does your httpd.conf have AddModule directives? If so, add one for
mod_jk.c - that's solved the problem for me before
Lajos
Barley wrote:
I am using Apache 1.3 and Tomcat 4.1, RedHat 7.3.
Tomcat runs fine standalone. I am now trying to
integrate Tomcat with Apache using mod_jk.so. I
com
It goes in the conf directory of your Apache installation. The jk2
library will know where to find it.
Regards,
Lajos
Diego Algorta Casamayou wrote:
Hi.
In mod_jk I had the "JkWorkersFile /opt/jakarta/conf/workers.properties" directive to tell where the hell is workers.properti
thing to consider is that you might want to point your appBase to
root of your development directory structure, rather than having your
developers work within the Tomcat directory structure. Messy, yucky, bad.
Lajos
Filip Hanik wrote:
I totally agree with John,
Tomcat has such a small foot
Stick with mod_jk, still works better even with Apache 2.
Lajos
Mike Jackson wrote:
Should I be using mod_jk with apache 2.x? I thought that mod_jk2
was for apache 2.x mostly, and that mod_jk was geared more towards
use with apache 1.3.x.
For that matter I've had all sorts of fun ge
Simple: mod_jk is tried and true. Eventually, jk2 will become that (we
hope), and will bring increased flexibility. But, unless you really need
something provided by jk2, use jk.
Lajos
Diego Algorta Casamayou wrote:
Any experience with mod_jk2?
Does it everything mod_jk and mod_webapp can do
much RAM do you have? It may be due to your applications
more than Tomcat itself.
Regards,
Lajos
Sangam Dash wrote:
Hi
Thanks for the mail.
But do you know how to do that on windows machine?
The other thing is that when i add this one to the server.xml file the
tomcat runs out of memory a
n1.com and mydomain2.com must resolve to the same machine. If
not, the example won't work.
Regards,
Lajos
Sangam Dash wrote:
Hi
I am using tomcat for my websites.
I am not using apache.
I need to do have two websites running from the same machine with the
same tomcat instance.
i didnt
, I'd appreciate you letting me know what you did.
Regards,
Lajos
Chris Davies wrote:
Hi,
Ah, thanks. That worked. Actually, this was the first thing I tried, but I
realised I was defining the tags inside the localhost one. (Oops :)
Unfortunatly, it still leaves me with a problem. I rea
r.xml and httpd.conf offline.
Regards,
Lajos
Chris Davies wrote:
Hi,
Sadly this doesn't appear to work.
Both domains get redirected to Tomcat's docBase (in this case /www) and you get
a 404.
Am I formatting the tags wrong? Can you give me an example of how they
are supposed t
omcat, you can have one tag, with its docBase pointing
to /www, and two s - "cust1" and "cust2".
Regards,
Lajos
[EMAIL PROTECTED] wrote:
Hi,
I had a problem with getting Apache and Tomcat to share the same document root
cleanly, with Apache serving requests that were outs
Frank -
On Question 1, yes, you can skip those steps with 4.1.18. Don't know
about # 2, though.
Lajos
Frank Liu wrote:
http://www.pubbitch.org/jboss/mod_jk2.html talks about mod_jk2
and apache2, tomcat4.0.4 I have several questions:
1) Can I skip step 5-7 in that document if I use t
them by point your browser directly to the Tomcat port.
Regards,
Lajos
rf wrote:
When I use a tomcat-apache connector to redirect http
requests to port 80 to port 8080, can I still use port
8080 to connect to tomcat directly bypassing apache?
If yes, how do I not allow this? By running tomcat on
Right, and also make sure your have an [shm:] block in
workers2.properties otherwise jk2 can't start correctly.
Regards,
Lajos
Hannes Schmidt wrote:
Looks like your
/usr/local/apache2/conf/workers2.properties
is missing. Even if Apache is not installed in one directory (as is the case
Chris -
Have you seen http://www.pubbitch.org/jboss/mod_jk2.html? I'm also
putting the finishing touches on my own jk2 FlashGuides and will
announce them shortly.
Regards,
Lajos
chris schild wrote:
Robert (or anyone that may know)
I am interested in your documentation on apache2, jk2
Hi Mike -
In compiling openssl, I've had to pass -fPIC into ./config (or
./configure) on the command line. You might look at the files produced
by the config or configure utility and see if any of them have -KPIC
hardcoded.
Regards,
Lajos
Mike Jackson wrote:
I've been trying to
ted to Tomcat. That way, when a JSP
or servlet displays a page, all the paths to images, stylsheets and
scripts files will resolve to the server root which is happily handled
by Apache.
Hope that helps.
Lajos
Reynir Hübner wrote:
Hello,
Is it possible to set the configuration
Ouch, sorry. I don't have access to HPUX otherwise I'd build some
binaries ;)
Lajos
Ing. Gustavo Edelstein wrote:
Thanks for your promptly answer, Lajos. I've red those guides but my problem
is compiling mod_jk in HPUX 11.00
Best regards,
Ing. Gustavo A. Edelstein
Tech. Mg
Actually, I think you can dispense with the workers.tomcat_home setting.
Just place workers.properties somewhere where httpd.conf can access it.
Regards,
Lajos
Māris Orbidāns wrote:
we have Tomcat and Apache on different hosts.
Do we need to install Tomcat on Apache's host too ?
Apache
to be cleared up in recent versions.
Regards,
Lajos
Ing. Gustavo Edelstein wrote:
Hi Lajos,
Which is your platform ?
Thanks,
Ing. Gustavo A. Edelstein
Tech. Mgr.
Equiplus S.A.
www.equiplus.com
- Original Message -----
From: "Lajos" <[EMAIL PROTECTED]>
To: "Tomcat
Maris -
I have done this on several occasions with mod_jk without any problem. I
can't compare it to mod_proxy, since I rarely use it, but I suggest you
try mod_jk.
Regards,
Lajos
Māris Orbidāns wrote:
hello all
We have finished a large project which was based on Tomcat and S
Chris -
Since this is a hot topic, I'm adding a Flashguide to
http://www.galatea.com/flashguides specifically about jk2. I'll announce
as soon as it is up.
Regards,
Lajos
chris schild wrote:
Does anyone know of a url for documenation on jk2 & workers2?
I was hoping ther
Hm, you might be right on that - I've never actually done it. If you
have a single defined in Tomcat, and enable single-signon, you'll
get back a JSESSIONSSOID cookie. I would think that Tomcat could
handle that in any context within the , but again, I haven't
tested it.
have the
three virtual hosts defined in Apache and have individual JkMount
commands to make the correct context(s) avialable to each host. Just a
thought.
Regards,
Lajos
Victor Soares wrote:
Hello,
I have dug through the tomcat-user archives and have seen this question come up several times
Hm, that doesn't make sense. You are sure that it the memory is taken by
the JVM process and not something else? Another thing you could do is
limit the heap size with -Xmx, but I really don't think you need that.
Double check your process memory to verify that it really is Tomc
Gulay -
It entirely depends on what your webapps use. Tomcat by itself can run
fairly lean - say 20-60 MB of memory. But if your webapp is a hog, like
say Cocoon ;), you'll need a bunch of memory.
Regards,
Lajos
Gulay Top wrote:
I like to know how much memory does Tomcat 4.1 needs. W
Vivek -
In workers.properties, for the worker.ajp13.host setting, I would try to
put your machine name or IP address and restart everything. See if that
helps.
Regards,
Lajos
vivek karkun wrote:
Hello everyone,
I am having a problem with stronghold(apache 1.3) and
tomcat 4.1.18 using the
You can do:
JkMount /* ajp13
JkMount /*.jsp ajp13
where "ajp13" refers to the worker name in workers.properties. But if
you are doing that, why use Apache?
Regards,
Lajos
Richie Chauhan wrote:
I'm fairly new to all of this but try
1) JkMount /*.jsp local_ajp13
2) Directory
Vikrant -
I do it all the time - you need to check the syntax of your DTD
declaration. It should be:
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd";>
Regards,
Lajos
Vikrant Venkanna Dessai wrote:
i am
it a good idea.
Regards,
Lajos
Andres Montiel wrote:
Yup, I'm using Apache 2.0.40 :( Is there a way to make mod_jk work with
Apache 2.0.40?
- Andres
On Fri, 2003-01-24 at 15:19, Lajos Moczar wrote:
Andres -
What version of Apache are you using? Generally, you have to match the
mod_jk
Your host name should not include the port (":8080") - that is set by
the appropriate above the entries.
Regards,
Lajos
pcampaigne wrote:
I have returned my defaultHost="localhost". Here are the only entries that
I have altered:
and in the definition of the HTTP/1.1
Do it direct to my email.
Lajos
Sebastião Carlos Santos wrote:
Lajos,
You want me to order for the list or directly for the e-mail?
*** REPLY SEPARATOR ***
On 24/01/2003 at 11:13 Lajos Moczar wrote:
E-mail Premium BOL
Antivírus, anti-spam e até 100 MB de espaço
Hi -
Can you send me your server.xml? Also, The JkMount's below should be:
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
you have an extra space between the "/" and the pattern. But that still
may not work - I'll have to see your server.xml to see what
you defin
Andres -
What version of Apache are you using? Generally, you have to match the
mod_jk version to Apache. Apache 2.0.40 is not compatible with mod_jk
2.0.42/43.
Regards,
Lajos
Andres Montiel wrote:
I have already installed the rpm version of Tomcat (taken from
http://jakarta.apache.org
And make sure both your domains are setup correctly in /etc/hosts
(assuming you're on a 'nix). One problem I've seen is that if you don't
have the /etc/hosts correct, Tomcat will default to one of the ,
just like Apache will default to the first block.
Lajos
Tu
Good idea. But either way, it is a bad idea 'cause you want to keep 443
as a secure port and not get confused into having users send unencrypted
confidential data. I'm curious why he wants to do this ...
Lajos
Jakarta wrote:
or use a port forward (it's easy with iptables)
If you call https://www.domain.com you don't have to supply 443 - it is
understood. Otherwise, you can't do that (except by some rewrite). And
besides, why?
Lajos
Ravindra K. Bhat wrote:
Hi:
How can I replace my www.domain.com:443 with www.domain.com but still use
the same :443 por
I vaguely remember hearing about unexpected disconnects with ajsp12
after periods of activity, but I could be totally wrong. I would
definitely use ajp13, though that may not be your problem.
Lajos
Karikalan Kumaresan wrote:
Does anyone know why the following errors occurs when I try to
required some sort of manual adjustment - like the mod_jk.dll
path problem mentioned earlier today, or virtual host issues.
Regards,
Lajos
Sebastião Carlos Santos wrote:
Without problem. Everything is well.
In case I have configured Tomcat to generate mod_jk.conf automatically the configuration will
No, you don't. If you have a docBase say of /home/myapps, and an app
under there - /home/myapps/myapp, and no defined, Tomcat will
direct a URI beginning with /myapp to /home/myapps/myapp PROVIDED that
the dodBase of the is /home/myapps.
Lajos
vim m wrote:
Do you have to include Conte
.
In server.xml, change your name attribute to the server name you
are working with: "admged.ufu.br". Then, make sure you have a
configured to handle the "/admged" URI coming from Apache. I would suggest:
Regards,
Lajos
Sebasti?o Carlos Santos wrote:
I have a serv
on apache-tomcat integration and virtual hosts in apache-tomcat.
Regards,
Lajos
Helene Figueiredo wrote:
Hello,
I have read all the docs I could find in the web (thanks to John) and I
have always
a problem.
When I start first tomcat, it's ok. Then I start apache ssl, it's ok.
But wh
Igor -
You can change the http port from 8080 to 80, and the name from
localhost to myserver.mycompany.com.
Regards,
Lajos
Igor I. Tovstopyat-Nelip wrote:
Hi,
A simple and, maybe, a little incompetent question.
If I need to use not the URL http://localhost:8080/myapp but something
like
Shanmugam -
What exactly do you mean? By iterating thru your cookies, you can find
one named "JSESSIONIDSSO" which represents the global SSO session id.
Regards,
Lajos
shanmugampl wrote:
Hi All,
I have enabled SingleSignOn in tomcat 4.1.18. Is there any way to
retrieve the Si
JSESSIONIDSSO and which will have this 'global' session id.
Regards,
Lajos
Henry wrote:
> Hi FRIENDS:
>
> can anybody give me a concept about implement ONE SIGNIN at the same time?
>
> if I use servlet or jsp to implement it
>
> the way I consider about is below:
> 1
Chris -
As I am running out the door, I cannot reply specifically until later.
However, I have Tomcat virtual hosting info on my site:
www.galatea.com/flashguides - that might help 'cause I show some examples.
Regards,
Lajos
Chris Schild wrote:
John, Lajos,
Just to make sure that
Ok John, you can type faster than I can ;) I was half-way thru these
same instructions. Chris, this should all work - if not, give us a shout.
Lajos
Turner, John wrote:
Well, first off, you don't have any ROOT Contexts in that server.xml you
posted.
If you want http://my.domain.com/my.j
Chris -
Can you provide the relevant snippets of server.xml and web.xml? Off the
bat, I can't really suggest anything except to say that possibly you
need other tags defined in web.xml.
Cheers,
Lajos
Chris Schild wrote:
Can someone tell me (provide an example) of how to add directorie
Brian -
Have a look at http://www.galatea.com/flashguides for my integration
instructions. Or, post the relevant sections of your httpd.conf,
server.xml and workers.properties.
Regards,
Lajos
Brian Pisano wrote:
I am having trouble Integrating Tomcat with Apache
I am running:
Tomcat
I hear the same thing. Besides, you'll want to go with 2.0.43 as some
security issues were fixed post-2.0.40.
Regards,
Lajos
neal wrote:
Should the mod_jk-2.0.43.so be compatible with Apache 2.0.40? Its such a
minor build I would presume so but I'm getting an error message to th
Set CATALINA_OPTS = "-Xmx256" or whatever you want. Either set it in
your environment or at the top of catalina.bat (that's what I do).
Lajos
Nathan McMinn wrote:
OK, one quick question that I'm sure anybody here but me can answer.
I am running Tomcat as a service on win
Johnny -
I just had to deal with this exact same problem but could not come up
with a way other than to define each with a path set to
"/tomcat/".
Lajos
[EMAIL PROTECTED] wrote:
I'm using Apache + Tomcat 4.1.12.
In addition to Tomcat, my Apache serves static conten
Please post relevant sections of httpd.conf, server.xml,
workers.properties. Thanks.
Lajos
Ravindra K. Bhat wrote:
Hi,
After integrating tomcat and apache I am able to start them individually
without any errors but I am not able to get my servlets or tomcat folders
using the apache port (ie
Carey -
Put all tags together and then all tags
together AFTER the tags.
Regards,
Lajos
Lott, Carey wrote:
Instead of depending on the invoker servlet, I have added our servlets to
the web.xml file inside of the app's WEB-INF directory. However, now I am
getting the following error
Dan,
I have several FlashGuides that discuss these issues in detail at
http://www.galatea.com/flashguides. After you check them out, let me
know if you have any additional questions and I can probably help.
Cheers,
Lajos
Dan Finkelstein wrote:
I am trying to do the same thing -- getting SSL
On Unix, startup.sh > tomcat.out 2>&1. Windows something similar, I'm sure.
Lajos
Vijay Kandy wrote:
Hello All,
Tomcat 4 logs all System.out or System.err messages to Catalina.out by
default. How would I do this in a Tomcat 3.2.3 environment. As of now, it
prints on to the wi
Oh, well if his JkMount is /*.jsp like you suggested, then yeah, his
path should be "". But if he leaves it at /web/ged/*.jsp, then
it is ok. However, the docBase will still get him, I think.
Lajos
Turner, John wrote:
The Context path is going to be wrong, too. Shouldn't it
That's 'cause your docBase is set to /web/ged while your
docBase is set do ged. So Tomcat is looking for your app at
/web/ged/ged. Try setting the docBase to /web.
Lajos
Sebastião Carlos Santos wrote:
John,
I accomplished the change suggested by you in httpd.conf and however w
Servlet mappings are missing. You need something like:
login
/login
HelloWorldServlet
/HelloWorldServlet
after your tags in web.xml
Regards,
Lajos
eric wrote:
Greetings!
This has got to be so easy I'm missing something. :-((
I just installed the l
t say that either of these two
issues are the root cause of your problem - everything else looks good.
- Finally, can you point directly to Tomcat and get index.jsp to work right?
Lajos
Sebastião Carlos Santos wrote:
There are some days installed a servant web with Apache 1.3.27 and Tomcat 4.1
x27;t help, try posting the relevant sections of httpd.conf.
Also, tell us which of the above scenarios you are trying to support.
Finally, I have some Flashguides at www.galatea.com on the subject that
might help.
Regards,
Lajos
Helene Figueiredo wrote:
We are trying to configure tomcat on :
o
Jim -
Did you try
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/bin/?
There are some for 2.0.43 there.
Lajos
[EMAIL PROTECTED] wrote:
Is there a precompiled mod_jk for Apache 2_0_43?
or better yet where can I get the source for mod_jk that will compile the
g to do with your network - maybe you have to do a
traceroute to see where your packets are going.
Regards,
Lajos
Bill wrote:
Lajos
Hmmm...could you explain this more thoroughly? The virtual hosts you
mention are defined in the mod_jk.conf file. I dont understand how I
could removed that incl
Hosts.
Regards,
Lajos
Kevin Kovach wrote:
I'm not sure what the difference is but the sample workers.proerties
file here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/workershowto.html
has a mixture of 'worker' & 'workers'. Is that incorrect?
- Kevin
Denis
t has been continuously up for almost a year using jk.
Regards,
Lajos
neal wrote:
Is it known to be buggy on Linux or just Windows? It sounds like its fine
and even preferred according to some docs when using Linux/Apache 1.3.
Also, I discussed load balancing and it sounds like we're usin
put the right JkMount directives inside the appropriate
block(s). You may also want to change the name of your
tag in server.xml to match the expected virtual host..
Regards,
Lajos
Kemp Randy-W18971 wrote:
OK. I have the 2x and 4x versions of Apache and Tomcat, along with the
mod_jk2
One more point is that webapp is just plain buggy, while tried-and-true
mod_jk is quite reliable. If you are hosting anything
production-quality, I'd go with mod_jk every time.
Lajos
neal wrote:
For anyone interested I just confirmed via a book I bought from Borders that
WARP does not su
Personally, RH 7.2 + JDK 1.3.1 has never given me any problems. On
windows, 2000 & XP are equally stable with the same JVM version.
Lajos
Igor I. Tovstopyat-Nelip wrote:
Hi,
I have a question to people who have an experience with production level
deployments of Tomcat based apps on L
Someone may correct me, but AFAIK, a reload does not mean a re-read of
web.xml. At least that has been my experience with 4.0.x versions.
Regards,
Lajos
Erik Price wrote:
Lajos --
I take it all back. It appears that fully stopping my webapp and then
starting it again has done the trick. I
Erik -
I presume the action for your form is "login" and not "/login"? Perhaps
you can show use your form as well.
Lajos
Erik Price wrote:
I've got a JSP in the top level of my webapp which has a form that
submits to this URI: "login". In my web.xml, I ha
Wasin -
When you say "default directory", you mean $CATALINA_HOME/webapps/ROOT?
Lajos
Wasin Rujikietgumjorn wrote:
Dear Whom It May Concern,
I am a new user. Using tomcat 4.1.18. Right now I can access
localhost (http://localhost:8080). But I can not access my JSP
file(hel
Scott -
It may not be the http port that is messing you up. You need to check
all the Tomcat ports (using netstat) to see if anything is active. By
default, Tomcat uses ports 8005, 8080, 8008 and 8009. Of course, if you
have changed any of these look for the new ports instead.
Regards,
Lajos
see the errors.
Regards,
Lajos
Scott Purcell wrote:
Hello,
I have a new box that I am configuring.
I installed java jdk1.3.1_06 and set JAVA_HOME to C:\jdk1.3.1_06. and set the path to its existance. I can call java or javac and all is happy.
Then I downloaded jakarta-tomcat-4.0.6 on D:\
I unz
Allen -
I have some guides on my site, http://www.galatea.com/flashguides, the
describe the details of Apache-Tomcat integration. Let me know if they help.
Regards,
Lajos
Wilson, Allen wrote:
Has anyone successfully configured Tomcat to with with Apache using the AJP connector.
I am
being dynamically built, but it doesn't say what. I'm using libtool 1.4
and the apxs in the Apache 2.0 directory.
Any pointers/hints/ideas will be greatly appreciated.
Lajos
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]
85 matches
Mail list logo