tomcat/jboss 3.2.3 jni

2005-01-25 Thread Farkas Lajos
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 error).

Do i have to set up something else , in order to make it work?
In a java aplication, the jni is working perfecly.

Thank you,
Laji Farkas



Re: setting up tomcat/JBOSS with apache

2004-12-18 Thread Laconia Data Systems
If you want to configure your webapp from within Apache HTTPServer I would
look at ProxyPass
e.g.
#Include in Proxy parameters to TOMCAT
#ProxyPass /myapp  http://localhost:8081/myapp
ProxyPass  /InvoiceEntry http://localhost:8081/InvoiceEntry
#ProxyPassReverse  /myapp  http://localhost:8081/myapp
ProxyPassReverse   /InvoiceEntry http://localhost:8081/InvoiceEntry

- Original Message - 
From: B Wiley [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 1:58 AM
Subject: setting up tomcat/JBOSS with apache



 Hello, I'm confused on something basic. I understand how to set up mod_jk2
 and configure an app something like http://localhost/myApp/test.jsp such
 that the app myApp is sitting in the java container but can I have myApp
 sitting on apache i.e. /var/www/htdocs/myApp and configure a handler in
 httpd.conf that just forwards .jsp,servlets to the java container? All I
 see online and in every example is how mod_Jk helps you knock out the
:8080
 but the apps have to be sitting in webapps.

 The reason I'm asking is I was hosting a site on a resin server and that
 server seems to have the setup I was describing, you can keep your apps on
 apache and just configure the http.conf.

 Thanks for anything, correct me please if I'm confused , i sure am
confused


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: setting up tomcat/JBOSS with apache

2004-12-16 Thread B Wiley
nobody???
Hello, I'm confused on something basic. I understand how to set up mod_jk2 
and configure an app something like http://localhost/myApp/test.jsp such 
that the app myApp is sitting in the java container but can I have myApp 
sitting on apache i.e. /var/www/htdocs/myApp and configure a handler in 
httpd.conf that just forwards .jsp,servlets to the java container? All I 
see online and in every example is how mod_Jk helps you knock out the 
:8080 but the apps have to be sitting in webapps.

The reason I'm asking is I was hosting a site on a resin server and that 
server seems to have the setup I was describing, you can keep your apps on 
apache and just configure the http.conf.

Thanks for anything, correct me please if I'm confused , i sure am confused
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: setting up tomcat/JBOSS with apache

2004-12-16 Thread Wendy Smoak
From: B Wiley [EMAIL PROTECTED]
 All I
 see online and in every example is how mod_Jk helps you knock out the
 :8080 but the apps have to be sitting in webapps.

No, they don't.  For example the 'manager' webapp that ships with Tomcat
does not live under 'webapps'.

The reason I'm asking is I was hosting a site on a resin server and that
server seems to have the setup I was describing, you can keep your apps on
apache and just configure the http.conf.

Seems like it's more trouble than it's worth, to me.  But if you can come up
with URL patterns that need to be handed off to Tomcat, plus convince Apache
not to serve anything under WEB-INF directly, then I'm sure you could get it
to work.

What problem are you trying to solve by doing this?  (And what does it have
to do with JBOSS?  I skipped it initially because I don't use JBOSS, but
your question only seems to deal with Tomcat/Apache/JK configuration.)

-- 
Wendy Smoak


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: setting up tomcat/JBOSS with apache

2004-12-16 Thread B Wiley
Hello Wendy, tomcat sits inside jboss and handles the jsps and servlets. I 
guess this could just be a tomcat/apache question.

The reason I'm asking is because I know for a fact when you use RESIN 
(another j2ee container) . You can have your jsps and servlets sitting 
ANYWHERE on the server, like in the same place your static content is and 
setup apache to send those requests to resin and setup resin to listen for 
them ANYWHERE.

But when I use JBOSS with tomcat I have to have my jsp's and servlets 
sitting in the webapps folder specifically and map to them there.

Okay let me rephrase everything. I have a file in my 
/var/www/htdocs/index.jsp and I want tomcat to see it there directly not in 
webapps under tomcat. I don't want the index.jsp in webapps/root/index.jsp 
then map it to apache2 with mod_jk - I don't think it can be done by just 
adding a handler to httpd.conf...

Thanks for giving this some thought, I'm probably in the wrong mailing list 
and not making any sense
thanks

At 10:47 AM 12/16/2004, you wrote:
From: B Wiley [EMAIL PROTECTED]
 All I
 see online and in every example is how mod_Jk helps you knock out the
 :8080 but the apps have to be sitting in webapps.
No, they don't.  For example the 'manager' webapp that ships with Tomcat
does not live under 'webapps'.
The reason I'm asking is I was hosting a site on a resin server and that
server seems to have the setup I was describing, you can keep your apps on
apache and just configure the http.conf.
Seems like it's more trouble than it's worth, to me.  But if you can come up
with URL patterns that need to be handed off to Tomcat, plus convince Apache
not to serve anything under WEB-INF directly, then I'm sure you could get it
to work.
What problem are you trying to solve by doing this?  (And what does it have
to do with JBOSS?  I skipped it initially because I don't use JBOSS, but
your question only seems to deal with Tomcat/Apache/JK configuration.)
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


setting up tomcat/JBOSS with apache

2004-12-15 Thread B Wiley
Hello, I'm confused on something basic. I understand how to set up mod_jk2 
and configure an app something like http://localhost/myApp/test.jsp such 
that the app myApp is sitting in the java container but can I have myApp 
sitting on apache i.e. /var/www/htdocs/myApp and configure a handler in 
httpd.conf that just forwards .jsp,servlets to the java container? All I 
see online and in every example is how mod_Jk helps you knock out the :8080 
but the apps have to be sitting in webapps.

The reason I'm asking is I was hosting a site on a resin server and that 
server seems to have the setup I was describing, you can keep your apps on 
apache and just configure the http.conf.

Thanks for anything, correct me please if I'm confused , i sure am confused
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


System suggestions? Eclipse / Tomcat / JBoss

2004-07-21 Thread Sternbergh, Cornell
Hi everybody

Short version:
Anybody have suggestions for:
IDE
HTTP Server
App Server (with EJB support)

Long version:
At work we use IBM Visual Age for Java (VAJ), Domino as an HTTP server
(don't ask) and Websphere as an application server.

We've been investigating the possibility of switching Eclipse for VAJ
instead of upgrading to the next version.  We imported our site into
Eclipse and it compiled well, we deployed it to a test Domino/Websphere
successfully.

I've been investigating setting up a variation at home, an IDE, HTTP
server, App server, that could be used for our
developing/maintaining/running our site, for the purpose of learning
more and perhaps coming up with better/cheaper alternatives to VAJ /
Websphere.  Beginning with Apache, I discovered Tomcat as an app server
(as Apache is only an HTTP server).  But I understand that Tomcat
doesn't do EJB's and I've encountered JBoss.

I'm looking for Open Source software, it's cheap.  But also, software
that's well established in the community, so that it's not likely to
fade away.

Anybody have suggestions for nice, robust, not too difficult, etc.
software?



Thanks
Cornell Sternbergh
PennDOT / BIS

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: System suggestions? Eclipse / Tomcat / JBoss

2004-07-21 Thread Michael DiChiappari
It sounds like you are on the right track.  If you are doing EJBs, then you 
can use JBoss.  Tomcat is just a servlet container.  You may also want to 
consider (when its ready) Apache/Jakarta's J2EE app server.  I think it is 
called Geronimo.

JBoss comes in different flavors.  We have used the one with Tomcat built 
in (to handle servlets).Eventually we will want to hook this up to Apache.

We have NOT had much success in getting Tomcat to work well with Apache.  I 
would advice against going down that path (especially if you are on 
Linux).  Someday we will probably try to get JBoss to work with Apache and 
I dread the day.  I am hoping the JBoss documentation and support people 
will be helpful.  Unfortunately, the Jakarta Tomcat group is one of the 
worst open source efforts I have seen.  My guess is that the do-ocracy has 
turned into a political mess there, with the most ineffective people 
providing the interface to the (developer) public.

There are lots of commercial alternatives to JBoss.  For developer 
purposes, you can download and utilize just about any J2EE app server for 
free.  The following companies provide developer versions of their app 
servers: BEA (Weblogic), Macromedia (JRun), and Oracle (iAS).  The 
appealing thing about using one of these, is that you can say that you have 
experience on them.  Since they seem to be used by larger, more established 
companies, that may translate into some dollars for you when seeking a new 
job (unless JBoss can break into these markets).

If you are doing EJBs, then you'll need more than Eclipse.  We have used 
the MyEclipse plugin and it is very nice.  It is a commercial product and 
we licensed it for something like $29 per user (about 1/100th the cost of 
JBuilder!).  It includes all the stuff (XDoclet, etc...) for deploying a 
bean (setting up the deplopyment descriptors) and doing servlets/JSPs.  I 
have heard good things about another J2EE pluging called Lomboz.  You may 
want to check that out.

The thing I like about Eclipse is that it hides a lot of Java technologies 
from you.  Thinks like Ant and XDoclet are a feat to learn on their 
own.  However, the development environment hides most of these items from you.

Good luck.
Mike

Hi everybody
Short version:
Anybody have suggestions for:
IDE
HTTP Server
App Server (with EJB support)
Long version:
At work we use IBM Visual Age for Java (VAJ), Domino as an HTTP server
(don't ask) and Websphere as an application server.
We've been investigating the possibility of switching Eclipse for VAJ
instead of upgrading to the next version.  We imported our site into
Eclipse and it compiled well, we deployed it to a test Domino/Websphere
successfully.
I've been investigating setting up a variation at home, an IDE, HTTP
server, App server, that could be used for our
developing/maintaining/running our site, for the purpose of learning
more and perhaps coming up with better/cheaper alternatives to VAJ /
Websphere.  Beginning with Apache, I discovered Tomcat as an app server
(as Apache is only an HTTP server).  But I understand that Tomcat
doesn't do EJB's and I've encountered JBoss.
I'm looking for Open Source software, it's cheap.  But also, software
that's well established in the community, so that it's not likely to
fade away.
Anybody have suggestions for nice, robust, not too difficult, etc.
software?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: System suggestions? Eclipse / Tomcat / JBoss

2004-07-21 Thread Sternbergh, Cornell
Thanks

IBM also provides, or did, single user versions of Websphere, free, for
developer use, good for unit testing.  But the production, and system
test, servers would have to run full price software.

-Original Message-
From: Michael DiChiappari [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 21, 2004 09:18
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: System suggestions? Eclipse / Tomcat / JBoss


It sounds like you are on the right track.  If you are doing EJBs, then
you 
can use JBoss.  Tomcat is just a servlet container.  You may also want
to 
consider (when its ready) Apache/Jakarta's J2EE app server.  I think it
is 
called Geronimo.

JBoss comes in different flavors.  We have used the one with Tomcat
built 
in (to handle servlets).Eventually we will want to hook this up to
Apache.

We have NOT had much success in getting Tomcat to work well with Apache.
I 
would advice against going down that path (especially if you are on 
Linux).  Someday we will probably try to get JBoss to work with Apache
and 
I dread the day.  I am hoping the JBoss documentation and support people

will be helpful.  Unfortunately, the Jakarta Tomcat group is one of the 
worst open source efforts I have seen.  My guess is that the do-ocracy
has 
turned into a political mess there, with the most ineffective people 
providing the interface to the (developer) public.

There are lots of commercial alternatives to JBoss.  For developer 
purposes, you can download and utilize just about any J2EE app server
for 
free.  The following companies provide developer versions of their app 
servers: BEA (Weblogic), Macromedia (JRun), and Oracle (iAS).  The 
appealing thing about using one of these, is that you can say that you
have 
experience on them.  Since they seem to be used by larger, more
established 
companies, that may translate into some dollars for you when seeking a
new 
job (unless JBoss can break into these markets).

If you are doing EJBs, then you'll need more than Eclipse.  We have used

the MyEclipse plugin and it is very nice.  It is a commercial product
and 
we licensed it for something like $29 per user (about 1/100th the cost
of 
JBuilder!).  It includes all the stuff (XDoclet, etc...) for deploying a

bean (setting up the deplopyment descriptors) and doing servlets/JSPs.
I 
have heard good things about another J2EE pluging called Lomboz.  You
may 
want to check that out.

The thing I like about Eclipse is that it hides a lot of Java
technologies 
from you.  Thinks like Ant and XDoclet are a feat to learn on their 
own.  However, the development environment hides most of these items
from you.

Good luck.
Mike



Hi everybody

Short version:
Anybody have suggestions for:
IDE
HTTP Server
App Server (with EJB support)

Long version:
At work we use IBM Visual Age for Java (VAJ), Domino as an HTTP server
(don't ask) and Websphere as an application server.

We've been investigating the possibility of switching Eclipse for VAJ
instead of upgrading to the next version.  We imported our site into
Eclipse and it compiled well, we deployed it to a test Domino/Websphere
successfully.

I've been investigating setting up a variation at home, an IDE, HTTP
server, App server, that could be used for our
developing/maintaining/running our site, for the purpose of learning
more and perhaps coming up with better/cheaper alternatives to VAJ /
Websphere.  Beginning with Apache, I discovered Tomcat as an app server
(as Apache is only an HTTP server).  But I understand that Tomcat
doesn't do EJB's and I've encountered JBoss.

I'm looking for Open Source software, it's cheap.  But also, software
that's well established in the community, so that it's not likely to
fade away.

Anybody have suggestions for nice, robust, not too difficult, etc.
software?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: System suggestions? Eclipse / Tomcat / JBoss

2004-07-21 Thread Peter Lin
In case I gave you a rosy picture of websphere and MQSeries, there are
known bugs with MQSeries jms client. It is one of the most scalable
messaging systems, but it is not without bugs like all software. a
good friend of mine has encountered several (3) bugs with IBM's jms
client, which required a specific patch from IBM.

the best way to know is obviously run a test for your needs and see if
jboss meets the requirements :)

peter


On Wed, 21 Jul 2004 10:25:12 -0400, Sternbergh, Cornell
[EMAIL PROTECTED] wrote:
 Thanks
 
 IBM also provides, or did, single user versions of Websphere, free, for
 developer use, good for unit testing.  But the production, and system
 test, servers would have to run full price software.
 
 
 
 -Original Message-
 From: Michael DiChiappari [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 21, 2004 09:18
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: System suggestions? Eclipse / Tomcat / JBoss
 
 It sounds like you are on the right track.  If you are doing EJBs, then
 you
 can use JBoss.  Tomcat is just a servlet container.  You may also want
 to
 consider (when its ready) Apache/Jakarta's J2EE app server.  I think it
 is
 called Geronimo.
 
 JBoss comes in different flavors.  We have used the one with Tomcat
 built
 in (to handle servlets).Eventually we will want to hook this up to
 Apache.
 
 We have NOT had much success in getting Tomcat to work well with Apache.
 I
 would advice against going down that path (especially if you are on
 Linux).  Someday we will probably try to get JBoss to work with Apache
 and
 I dread the day.  I am hoping the JBoss documentation and support people
 
 will be helpful.  Unfortunately, the Jakarta Tomcat group is one of the
 worst open source efforts I have seen.  My guess is that the do-ocracy
 has
 turned into a political mess there, with the most ineffective people
 providing the interface to the (developer) public.
 
 There are lots of commercial alternatives to JBoss.  For developer
 purposes, you can download and utilize just about any J2EE app server
 for
 free.  The following companies provide developer versions of their app
 servers: BEA (Weblogic), Macromedia (JRun), and Oracle (iAS).  The
 appealing thing about using one of these, is that you can say that you
 have
 experience on them.  Since they seem to be used by larger, more
 established
 companies, that may translate into some dollars for you when seeking a
 new
 job (unless JBoss can break into these markets).
 
 If you are doing EJBs, then you'll need more than Eclipse.  We have used
 
 the MyEclipse plugin and it is very nice.  It is a commercial product
 and
 we licensed it for something like $29 per user (about 1/100th the cost
 of
 JBuilder!).  It includes all the stuff (XDoclet, etc...) for deploying a
 
 bean (setting up the deplopyment descriptors) and doing servlets/JSPs.
 I
 have heard good things about another J2EE pluging called Lomboz.  You
 may
 want to check that out.
 
 The thing I like about Eclipse is that it hides a lot of Java
 technologies
 from you.  Thinks like Ant and XDoclet are a feat to learn on their
 own.  However, the development environment hides most of these items
 from you.
 
 Good luck.
 Mike
 
 Hi everybody
 
 Short version:
 Anybody have suggestions for:
 IDE
 HTTP Server
 App Server (with EJB support)
 
 Long version:
 At work we use IBM Visual Age for Java (VAJ), Domino as an HTTP server
 (don't ask) and Websphere as an application server.
 
 We've been investigating the possibility of switching Eclipse for VAJ
 instead of upgrading to the next version.  We imported our site into
 Eclipse and it compiled well, we deployed it to a test Domino/Websphere
 successfully.
 
 I've been investigating setting up a variation at home, an IDE, HTTP
 server, App server, that could be used for our
 developing/maintaining/running our site, for the purpose of learning
 more and perhaps coming up with better/cheaper alternatives to VAJ /
 Websphere.  Beginning with Apache, I discovered Tomcat as an app server
 (as Apache is only an HTTP server).  But I understand that Tomcat
 doesn't do EJB's and I've encountered JBoss.
 
 I'm looking for Open Source software, it's cheap.  But also, software
 that's well established in the community, so that it's not likely to
 fade away.
 
 Anybody have suggestions for nice, robust, not too difficult, etc.
 software?
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat/Jboss running on Lynix

2004-06-04 Thread Kommuru, Bhaskar
Why Jboss3.2.3 (came with built-in tomcat) runs so many child process on
Lynix?
Are those all the processes run on the same JVM or different?
Where can we change this setting (number of processes to run on lynix)?

Please need help

__

For information about the Standard Bank group visit our web site 
www.standardbank.co.za
__

Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relating to the official business of 
Standard Bank Group Limited  is proprietary to the group. 
It is confidential, legally privileged and protected by law. 
Standard Bank does not own and endorse any other content. Views and opinions are those 
of the sender unless clearly stated as being that of the group. 
The person addressed in the e-mail is the sole authorised recipient. Please notify the 
sender immediately if it has unintentionally reached you and do not read, 
disclose or use the content in any way.
Standard Bank can not assure that the integrity of this communication has been 
maintained nor that it is free of errors, virus, interception or interference.
___

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Réf. : Tomcat/Jboss running on Lynix

2004-06-04 Thread meissa . Sakho

when you start jboss, which config set are you running (the default,
minimal or all) ?

___
NATEXIS ASSET MANAGEMENT
Meissa SAKHO
01 58 19 45 71. . . . . . . . . . . . (84571)
[EMAIL PROTECTED]




Kommuru, Bhaskar [EMAIL PROTECTED]
04/06/2004 15:23
Veuillez répondre à Tomcat Users List


Pour :  'Tomcat Users List' [EMAIL PROTECTED]
cc :
Objet : Tomcat/Jboss running on Lynix


Why Jboss3.2.3 (came with built-in tomcat) runs so many child process on
Lynix?
Are those all the processes run on the same JVM or different?
Where can we change this setting (number of processes to run on lynix)?

Please need help

__

For information about the Standard Bank group visit our web site
www.standardbank.co.za
__

Disclaimer and confidentiality note
Everything in this e-mail and any attachments relating to the official
business of Standard Bank Group Limited  is proprietary to the group.
It is confidential, legally privileged and protected by law.
Standard Bank does not own and endorse any other content. Views and
opinions are those of the sender unless clearly stated as being that of
the group.
The person addressed in the e-mail is the sole authorised recipient.
Please notify the sender immediately if it has unintentionally reached you
and do not read,
disclose or use the content in any way.
Standard Bank can not assure that the integrity of this communication has
been maintained nor that it is free of errors, virus, interception or
interference.
___

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de
son contenu. Toute utilisation ou diffusion non autorisee est
interdite. Si vous n'etes pas destinataire de ce message, merci de le
detruire et d'avertir l'expediteur.

The integrity of this message cannot be guaranteed
on the Internet. Natexis Banques Populaires can not therefore be
considered responsible for the contents.Any unauthorized use or dissemination is 
prohibited.
If you are not the intended recipient of this message, then please delete it and
notify the sender.

RE: Réf. : Tomcat/Jboss running on Lynix

2004-06-04 Thread Kommuru, Bhaskar
Thanks for trying to help me. I ran with default



when you start jboss, which config set are you running (the default,

minimal or all) ?

___
NATEXIS ASSET MANAGEMENT
Meissa SAKHO

01 58 19 45 71. . . . . . . . . . . . (84571)
[EMAIL PROTECTED]




Kommuru, Bhaskar [EMAIL PROTECTED]
04/06/2004 15:23
Veuillez répondre à Tomcat Users List



Pour :  'Tomcat Users List' [EMAIL PROTECTED]
cc :

Objet : Tomcat/Jboss running on Lynix


Why Jboss3.2.3 (came with built-in tomcat) runs so many child process on
Lynix?
Are those all the processes run on the same JVM or different?
Where can we change this setting (number of processes to run on lynix)?

Please need help


__

For information about the Standard Bank group visit our web site

www.standardbank.co.za

__


Disclaimer and confidentiality note

Everything in this e-mail and any attachments relating to the official

business of Standard Bank Group Limited  is proprietary to the group.

It is confidential, legally privileged and protected by law.

Standard Bank does not own and endorse any other content. Views and

opinions are those of the sender unless clearly stated as being that of

the group.

The person addressed in the e-mail is the sole authorised recipient.

Please notify the sender immediately if it has unintentionally reached you

and do not read,

disclose or use the content in any way.
Standard Bank can not assure that the integrity of this communication has

been maintained nor that it is free of errors, virus, interception or

interference.

___

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de
son contenu. Toute utilisation ou diffusion non autorisee est
interdite. Si vous n'etes pas destinataire de ce message, merci de le
detruire et d'avertir l'expediteur.

The integrity of this message cannot be guaranteed
on the Internet. Natexis Banques Populaires can not therefore be
considered responsible for the contents.Any unauthorized use or
dissemination is prohibited.
If you are not the intended recipient of this message, then please delete it
and

notify the sender.
__

For information about the Standard Bank group visit our web site 
www.standardbank.co.za
__

Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relating to the official business of 
Standard Bank Group Limited  is proprietary to the group. 
It is confidential, legally privileged and protected by law. 
Standard Bank does not own and endorse any other content. Views and opinions are those 
of the sender unless clearly stated as being that of the group. 
The person addressed in the e-mail is the sole authorised recipient. Please notify the 
sender immediately if it has unintentionally reached you and do not read, 
disclose or use the content in any way.
Standard Bank can not assure that the integrity of this communication has been 
maintained nor that it is free of errors, virus, interception or interference.
___

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat/JBoss problems with SNMP apps

2004-03-04 Thread Eulogio Robles
I have a very strange problem with an application  running on Apache + 
Tomcat/JBoss :

I have several classes that use AdvnetNet SNMP packages. One of them 
sends snmpSet() to several remote devices. If I run the class from a 
console Java application, it works ok (running on the save host where 
Tomcat is residing). But If I call it from a JSP page, the snmpSet() 
returns a timeout trying to communicate with IP w.x.y.z error. I tried 
a workaround : instead of using the Adventnet class, I used a 
Runtime.getRuntime().exec() call to execute a command line 
/usr/bin/snmpset command. Again, if I run the snmpset command from a 
shell prompt, it works ok. But if I run it from a JSP page, I get a 
communication timeout (cannot reach the remote IP). I wrote a small Perl 
CGI script that runs the same snmpset command, and it works just fine on 
the same host.

So, the problem is, why is Tomcat blocking or re-routing the SNMP SET calls?

Best regards,

E. Robles

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: jk2 connector config to connect to multiple tomcat-jboss instances

2003-10-08 Thread jerome moliere
Boulatian, Misak wrote:

Hi Jeromy,
 

Hi misak,

I am sorry. I thought my attachments made to the list. Here I am including
them directly here. Please look at it and let me know if I have done
anything wrong. When I point my browser to the link:
http://[web-server-ip]/test1 it works. When I point my browser to the link:
http://[web-server-ip]/test2 I get the following tomcat blue screen:
HTTP Status 500 - No Context configured to process this request



type Status report

message No Context configured to process this request

description The server encountered an internal error (No Context configured
to process this request) that prevented it from fulfilling this request.


And mapping error config logs go to the jboss's first instance's server.log.
 

in fact what is your aim ?
do you want to be able to switch from  T1 to T2 or T3 for one request to 
the next one ?
because this is what i suggested while deploying a load balancer 
Do you your 3 instances behave exctly from the same manner or do you 
want to deploy different web-apps on these 3 tomcat instances ?

Jerome



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: jk2 connector config to connect to multiple tomcat-jboss instances

2003-10-08 Thread Boulatian, Misak
 in fact what is your aim ?
 do you want to be able to switch from  T1 to T2 or T3 for one request to 
 the next one ?
 because this is what i suggested while deploying a load balancer 
 Do you your 3 instances behave exctly from the same manner or do you 
 want to deploy different web-apps on these 3 tomcat instances ?
 
 Jerome

Hi Jerome,

I do not need to load-balance between the three. My aim is to deploy three
completely separate web apps on these three jboss-tomcat bundles.
Thanks,
Misak

_
This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

jk2 connector config to connect to multiple tomcat-jboss instances

2003-10-07 Thread Boulatian, Misak



Hi,I am trying to setup jk2 connector on a 
single apache instance to connect to multiple jboss instances running on the same 
machine usingjboss-port-bindings.xml. Based onjboss-port-bindings.xml I have three instances 
having the following ports for jk2 connector: 8009, 8109, 8209. In the 
workers2.properties, I've created appropriate mappings (I am including as an 
attachment). The problem is: jk2 connects to only one port: whichever comes first. I am not able to 
connect on more than one ports. I am also including my jboss-port-bindings.xml file which is referenced 
through jboss-service.xml to allow multiple instances to run (which is 
successful).version of jboss: jboss-3.2.1_tomcat-4.1.24version of 
apache: 2.0.45version of java: 1.4.1_03

I appreciate the 
help.
Thanks,
Misak
This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: jk2 connector config to connect to multiple tomcat-jboss instances

2003-10-07 Thread jerome moliere
Boulatian, Misak wrote:

Hi,

I am trying to setup jk2 connector on a single apache instance to 
connect to multiple jboss instances running on the same machine 
using jboss-port-bindings.xml. Based on jboss-port-bindings.xml I have 
three instances having the following ports for jk2 connector: 8009, 
8109, 8209. In the workers2.properties, I've created appropriate 
mappings (I am including as an attachment). The problem is: jk2 
connects to only one port: whichever comes first. I am not able to 
connect on more than one ports. I am also including my 
jboss-port-bindings.xml file which is referenced through 
jboss-service.xml to allow multiple instances to run (which is 
successful).

version of jboss: jboss-3.2.1_tomcat-4.1.24
version of apache: 2.0.45
version of java: 1.4.1_03
hi misak,
do you use any load balancing mechnaism (round robin) to balance around 
your different ports ?
to setup such thing in JK2 you should define your 3 tomcat instances (in 
fact jboss bundle with different port numbers) then adding one other which
is the load balancer...

HTH
Jerome


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: jk2 connector config to connect to multiple tomcat-jboss instances

2003-10-07 Thread Boulatian, Misak
Hi Jerome,

 hi misak,
 do you use any load balancing mechnaism (round robin) to balance around 
 your different ports ?
 to setup such thing in JK2 you should define your 3 tomcat instances (in 
 fact jboss bundle with different port numbers) then adding one other which
 is the load balancer...

Thanks for responding. At this point I am not using load-balancing. Please
look at my workers2.properties file. The jboss-port-bindings.xml does
configure three jboss-tomcat bundles with different ajp ports. All of them
work. The problem is jk2 only connects to the port which is specified first
in the workers2.properties file. For the others I get tomcat error message:
undefined context. Do I need to define load-balancing in order to make it
work?

Thanks,
Misak

_
This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: jk2 connector config to connect to multiple tomcat-jboss instances

2003-10-07 Thread jerome moliere
Boulatian, Misak wrote:

Hi Jerome,

 

hi misak,
do you use any load balancing mechnaism (round robin) to balance around 
your different ports ?
to setup such thing in JK2 you should define your 3 tomcat instances (in 
fact jboss bundle with different port numbers) then adding one other which
is the load balancer...
   

Thanks for responding. At this point I am not using load-balancing. Please
look at my workers2.properties file.
sorry but can't find any properties file (removed by mailman program ? 
or mozilla 'bug ?)

The jboss-port-bindings.xml does
configure three jboss-tomcat bundles with different ajp ports. All of them
work.
correct

The problem is jk2 only connects to the port which is specified first
in the workers2.properties file. For the others I get tomcat error message:
undefined context.
how do you obtain this message ? any logs or test procedure welcomed

Do I need to define load-balancing in order to make it
work?
 

yes if you want to let apache choose the port for you then stick to the 
session (keeping the same server after any session opening)

Jerome



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: jk2 connector config to connect to multiple tomcat-jboss instances

2003-10-07 Thread Boulatian, Misak
Hi Jeromy,

I am sorry. I thought my attachments made to the list. Here I am including
them directly here. Please look at it and let me know if I have done
anything wrong. When I point my browser to the link:
http://[web-server-ip]/test1 it works. When I point my browser to the link:
http://[web-server-ip]/test2 I get the following tomcat blue screen:

HTTP Status 500 - No Context configured to process this request




type Status report

message No Context configured to process this request

description The server encountered an internal error (No Context configured
to process this request) that prevented it from fulfilling this request.





And mapping error config logs go to the jboss's first instance's server.log.
Thanks,
Misak

--
workers2.properties:
--
#
# JK2 connector configuration (APP_SERVER_IP is an entry in the /etc/hosts
file).
#

# In production uncomment it out
[logger.apache2]
level=DEBUG

[shm]
file=/usr/local/apache-2/logs/shm.file
size=1048576

###
#
# jk status
#
###
[status:status]
info=Status group, displays runtime information

[uri:/jkstatus/*]
group=status:status

###
#
# Setup instance 1
#
###
[channel.socket:APP_SERVER_IP:8009]
port=8009
host=APP_SERVER_IP

# define the group
[ajp13:APP_SERVER_IP:8009]
channel=channel.socket:APP_SERVER_IP:8009

# Uri mapping
[uri:/localhost/test1/*.jsp]
group=ajp13:APP_SERVER_IP:8009

# Uri mapping
[uri:/localhost/test1/*.do]
group=ajp13:APP_SERVER_IP:8009

# Uri mapping
[uri:/localhost/test1manager/*.jsp]
group=ajp13:APP_SERVER_IP:8009

# Uri mapping
[uri:/localhost/test1manager/*.do]
group=ajp13:APP_SERVER_IP:8009

###
#
# Setup instance2
#
###
[channel.socket:APP_SERVER_IP:8109]
port=8109
host=APP_SERVER_IP

# define the group
[ajp13:APP_SERVER_IP:8109]
channel=channel.socket:APP_SERVER_IP:8109

# Uri mapping
[uri:/localhost/test2/*.jsp]
group=ajp13:APP_SERVER_IP:8109

# Uri mapping
[uri:/localhost/test2/*.do]
group=ajp13:APP_SERVER_IP:8109

# Uri mapping
[uri:/localhost/test2manager/*.jsp]
group=ajp13:APP_SERVER_IP:8109

# Uri mapping
[uri:/localhost/test2manager/*.do]
group=ajp13:APP_SERVER_IP:8109


#
# Setup instance3
#
###
[channel.socket:APP_SERVER_IP:8209]
port=8209
host=APP_SERVER_IP

# define the group
[ajp13:APP_SERVER_IP:8209]
channel=channel.socket:APP_SERVER_IP:8209

# Uri mapping
[uri:/localhost/test3/*.jsp]
group=ajp13:APP_SERVER_IP:8209

# Uri mapping
[uri:/localhost/test3/*.do]
group=ajp13:APP_SERVER_IP:8209

# Uri mapping
[uri:/localhost/test3manager/*.jsp]
group=ajp13:APP_SERVER_IP:8209

# Uri mapping
[uri:/localhost/test3manager/*.do]
group=ajp13:APP_SERVER_IP:8209
--
EOF of workers2.properties:
--

--
jboss-port-bindings.xml:
--
!DOCTYPE service-bindings [
  !ELEMENT service-bindings (server+)

  !ELEMENT server (service-config+)

  !ATTLIST server name CDATA  #REQUIRED

  !ELEMENT service-config (delegate-config? , binding+)

  !ATTLIST service-config  name CDATA  #REQUIRED
  delegateClass CDATA  #IMPLIED 

  !ELEMENT binding EMPTY

  !ATTLIST binding  name CDATA  #IMPLIED
   host CDATA  #IMPLIED
   port CDATA  #IMPLIED 
  !ELEMENT delegate-config ANY
  !ATTLIST delegate-config  hostName CDATA  #IMPLIED
   portName CDATA  #IMPLIED 
]

 !--
 

**
 *
*
 *  port-bindings.xml
*
 *
*
 *The jboss-port-bindings.xml file defines different port configurations
*
 *for running multiple JBoss
*
 *instances in parallel on the same machine. To run multiple
*
 *instances:
*
 *
*
 *- Modify jboss-service.xml file to uncomment ServiceBindingManager
*
 *  portion as in the following example:
*
 *
*
 *mbean code=org.jboss.services.binding.ServiceBindingManager
*
 *  name=jboss.system:service=ServiceBindingManager
*
 *  attribute name=ServerName${jboss.server.name}/attribute
*
 *  attribute name=StoreURL
*
 * file:${jboss.server.base.dir}/jboss-port-bindings.xml
*
 *

Tomcat + JBoss

2003-07-16 Thread Harsh Nagpal
On Mon, 2003-07-14 at 18:10, John Turner wrote: 
 
 mod_jk
 
 http://www.google.com/search?hl=enie=UTF-8oe=UTF- 
 8q=solaris+apache+tomcat+connector
 
 http://jakarta.apache.org/tomcat/faq/connectors.html
 
 John
 
 On Mon, 14 Jul 2003 18:24:44 +0800, Cui Xiaojing-a13339 
 [EMAIL PROTECTED] wrote:
 
  Hello All,
 
  In our server(OS is Solaris 2.6), we have installed Tomcat 4.1.24 and 
  Apache 1.3. Can we realize the connection between Tomcat 4.1.24 and 
  Apache 1.3? If yes, could you please give us a direction about using 
  which component to connect them and how to config the connection? Thanks 
  a lot.
 
  Regards,
  Xiaojing
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 -- 
 Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache, Tomcat/JBoss, SSL, redirection

2003-06-11 Thread David Salbego
As I have not received any hints, is there a better list I should be posting this type 
of question to?  Like I said, I think the question is reasonable but I might be 
overlooking something completely obvious.  

thanks again for your assistance,

--Dave

At 04:25 PM 6/10/2003, David Salbego wrote:
Hello All,

New to the list, did some searching in the archives and didn't see an answer offhand 
but I may have missed it (my apologies!)

Config:

Server: HP-UX_Apache-based_Web_Server/2.0.45 (Unix) mod_perl/1.99_08 Perl/v5.6.1 
PHP/4.2.3 mod_ssl/2.0.45 OpenSSL/0.9.6i DAV/2 mod_jk/1.2.0

The above is from the Apache web server running on the HP-UX machine we are doing the 
development on.  

I have integrated Apache, mod_jk, Tomcat 4.1, and JBoss 3.0.7 together and they run 
fine.  I did not compile anything; HP supplies a pre-configured suite of products 
(Apache and Tomcat, among others); I simply installed JBoss 3.0.7 (w/ Tomcat) and 
pointed JBoss to use HP's pre-installed Tomcat instead of its own.  
Test applications show the whole deal is working, but we have problems when we 
attempt to use SSL.

In a nutshell, it appears mod_jk is the culprit:  when going to a JkMount'd directory 
(and not supplying a filename in the URL), mod_jk appears to redirect the web client 
to the wrong location (everything is correct except the _protocol_, i.e. http is 
returned instead of https)

Example:

https://www.myserver.com/testapp/index.jsp

works fine.

https://www.myserver.com/testapp/

redirects to:

http://www.myserver.com:443/testapp/index.jsp

and the above returns the standard You are talking plain HTTP to
an SSL-enabled web server...  error.

Logs from mod_jk:

[Fri Jun 06 15:02:00 2003]  [jk_uri_worker_map.c (502)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /testapp/
[Fri Jun 06 15:02:01 2003]  [jk_uri_worker_map.c (477)]: Attempting to map URI 
'/testapp/'
[Fri Jun 06 15:02:01 2003]  [jk_uri_worker_map.c (502)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /testapp/
[Fri Jun 06 15:02:01 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response: 
Header[0] [Location] = [http://www.myserver.com:443/testapp/index.jsp]


I can supply any needed config files but I didn't want to include them in this 
initial email.

Is the problem I'm seeing due to the way the programs were compiled and packaged by 
HP?  The HP admin would highly prefer to use these pre-packaged solutions as opposed 
to compiling from source, although we can do that if we have to.

Has anyone else seen this problem?

Please CC: me directly as well as I have this list filtered into a mailbox I cannot 
read every day.

Thanks for your help,

--Dave



David Salbego  ([EMAIL PROTECTED])
Unix Infrastructure Group Manager
Computing and Instrumentation Solutions
Argonne National Laboratory
Phone: +1 630.252.7837  Fax: +1 630.252.9689 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


David Salbego  ([EMAIL PROTECTED])
Unix Infrastructure Group Manager
Computing and Instrumentation Solutions
Argonne National Laboratory
Phone: +1 630.252.7837  Fax: +1 630.252.9689 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache, Tomcat/JBoss, SSL, redirection

2003-06-11 Thread Nikola Milutinovic
 As I have not received any hints, is there a better list I should be posting this 
 type of question to?
  Like I said, I think the question is reasonable but I might be overlooking 
 something completely obvious.

Don't give up on us :-)

The error you describe is strange, I've read it just now and I'm puzzled. Could you 
try to eliminate mod_jk from the picture?

Run a normal Coyote HTTPS on port 8083 and try the same thing. The redirection is 
Tomcat's job and maybe it is getting wrong info from mod_jk.

Nix.



Apache, Tomcat/JBoss, SSL, redirection

2003-06-10 Thread David Salbego
Hello All,

New to the list, did some searching in the archives and didn't see an answer offhand 
but I may have missed it (my apologies!)

Config:

Server: HP-UX_Apache-based_Web_Server/2.0.45 (Unix) mod_perl/1.99_08 Perl/v5.6.1 
PHP/4.2.3 mod_ssl/2.0.45 OpenSSL/0.9.6i DAV/2 mod_jk/1.2.0

The above is from the Apache web server running on the HP-UX machine we are doing the 
development on.  

I have integrated Apache, mod_jk, Tomcat 4.1, and JBoss 3.0.7 together and they run 
fine.  I did not compile anything; HP supplies a pre-configured suite of products 
(Apache and Tomcat, among others); I simply installed JBoss 3.0.7 (w/ Tomcat) and 
pointed JBoss to use HP's pre-installed Tomcat instead of its own.  
Test applications show the whole deal is working, but we have problems when we attempt 
to use SSL.

In a nutshell, it appears mod_jk is the culprit:  when going to a JkMount'd directory 
(and not supplying a filename in the URL), mod_jk appears to redirect the web client 
to the wrong location (everything is correct except the _protocol_, i.e. http is 
returned instead of https)

Example:

https://www.myserver.com/testapp/index.jsp

works fine.

https://www.myserver.com/testapp/

redirects to:

http://www.myserver.com:443/testapp/index.jsp

and the above returns the standard You are talking plain HTTP to
an SSL-enabled web server...  error.

Logs from mod_jk:

[Fri Jun 06 15:02:00 2003]  [jk_uri_worker_map.c (502)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /testapp/
[Fri Jun 06 15:02:01 2003]  [jk_uri_worker_map.c (477)]: Attempting to map URI 
'/testapp/'
[Fri Jun 06 15:02:01 2003]  [jk_uri_worker_map.c (502)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /testapp/
[Fri Jun 06 15:02:01 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response: 
Header[0] [Location] = [http://www.myserver.com:443/testapp/index.jsp]


I can supply any needed config files but I didn't want to include them in this initial 
email.

Is the problem I'm seeing due to the way the programs were compiled and packaged by 
HP?  The HP admin would highly prefer to use these pre-packaged solutions as opposed 
to compiling from source, although we can do that if we have to.

Has anyone else seen this problem?

Please CC: me directly as well as I have this list filtered into a mailbox I cannot 
read every day.

Thanks for your help,

--Dave



David Salbego  ([EMAIL PROTECTED])
Unix Infrastructure Group Manager
Computing and Instrumentation Solutions
Argonne National Laboratory
Phone: +1 630.252.7837  Fax: +1 630.252.9689 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Apache Alias Error (Apache+Tomcat+JBoss)

2003-02-24 Thread Manu Kits
Hi:

I am using Apache 1.3.26 + JBoss(embedded with Tomcat).
I configured my MOD_JK.SO and my Apache + Tomcat connection is working 
fine.

I have following on my HTTPD.CONF file:
--
LoadModule jk_module libexec/mod_jk.so
JkWorkersFile /jboss/catalina/conf/jk/workers.properties
JkMount /mig/* ajp13
--
I run my applicatin as https://My_IP_ADDR-ESS/mig/ and it wors fine...

Now I want to configure ALIAS for this MIG Web Application and added 
following to my HTTPD.CONF:
--
Alias /mig/ /jboss/server/default/deploy/mig/
Directory /jboss/server/default/deploy/mig/
   Options Indexes FollowSymLinks
   AllowOverride None
   Order allow, deny
   Allow from all
/Directory
--

Now when I run my https://My_IP_ADDR-ESS/mig/

I get follwoing ERROR:
--
Forbidden
You don't have permission to access /mig/ on this server.
--
Does any one know how to fix this?

THANKS!

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache Alias Error (Apache+Tomcat+JBoss)

2003-02-24 Thread Manu Kits
There was a typo in my last posting... Here is the modified posting...
~~~
Hi:
I am using Apache 1.3.26 + JBoss(embedded with Tomcat).
I configured my MOD_JK.SO and my Apache + Tomcat connection is working 
fine.

I have following on my HTTPD.CONF file:
--
LoadModule jk_module libexec/mod_jk.so
JkWorkersFile /jboss/catalina/conf/jk/workers.properties
JkMount /mig/* ajp13
--
I run my applicatin as https://My_IP_ADDR-ESS/mig/ and it wors fine...

Now I want to configure ALIAS for this MIG Web Application and added 
following to my HTTPD.CONF:
--
Alias /mig/ /jboss/server/default/deploy/mig/
Directory /jboss/server/default/deploy/mig/
  Options Indexes FollowSymLinks
  AllowOverride None
  Order allow, deny
  Allow from all
/Directory
--

Now when I run my https://My_IP_ADDR-ESS/mig/

I get follwoing ERROR:
--
Forbidden
You don't have permission to access /mig/ on this server.
--
Does any one know how to fix this?

THANKS!

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Simple WAR on Apache + Tomcat + JBoss

2003-02-17 Thread Dennis Cartier
Hi Manjo,

Your web.xml is fine. Accessing http://servername/mig/HelloWorldExample
should work. The error you are getting sounds like it is coming from Apache.
This is most likely due to the positioning of the JkMount statement that
Jeff mentioned. Make sure is within your main directory section where the
default index and other resources are served from. If you place it there,
then you should not have to modify the order of deny, allow.

Once you get this working, you will learn that the color of the error gives
you a basis of the source. The error messages produced by Tomcat are light
blue, Apache tends to be black and white. This gives you the hint on where
to start looking for the source of the trouble.

Dennis

-Original Message-
From: Manoj Kithany [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 3:35 PM
To: [EMAIL PROTECTED]
Subject: RE: Simple WAR on Apache + Tomcat + JBoss


Hi Dennis,

Thank you for your reply.

My /mig/WEB-INF/web.xml follows:
---
?xml version=1.0 encoding=UTF-8?

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app
   servlet
servlet-nameHelloWorldExample/servlet-name
servlet-classHelloWorldExample/servlet-class
/servlet

servlet-mapping
servlet-nameHelloWorldExample/servlet-name
url-pattern/HelloWorldExample/*/url-pattern
 /servlet-mapping


session-config
session-timeout
30
/session-timeout
/session-config
welcome-file-list
welcome-file
index.jsp
/welcome-file
welcome-file
index.html
/welcome-file
welcome-file
index.htm
/welcome-file
welcome-file
welcome.html
/welcome-file
welcome-file
test.jsp
/welcome-file
/welcome-file-list
/web-app


Thanks!
From: Dennis Cartier [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Simple WAR on Apache + Tomcat + JBoss
Date: Fri, 14 Feb 2003 14:19:54 -0500

Please post your web.xml from the WEB-INF dir in mig.war

-Original Message-
From: Manoj Kithany [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 12:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Simple WAR on Apache + Tomcat + JBoss


I checked the mod_jk.log file and found following...


[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/mig/'
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13
-/mig/
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/mig/'
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13
-/mig/
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/mig/test.jsp'
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c
(558)]:jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13
-*.jsp

-

 From the LOG file above it seems that INTEGRATION is successful BUT
when
I access http://MY.IP.ADDR.ESS/mig/test.jsp it shows FOLLOWING ERROR on
BROWSER:--
-
Forbidden
You don't have permission to access /mig/test.jsp on this server
---

Any guideline on this is appreciated!


 From: Manoj Kithany [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Simple WAR on Apache + Tomcat + JBoss
 Date: Fri, 14 Feb 2003 15:29:11 +
 
 Hi:
 
 I have a simple WAR file 'mig.war' and want to see if that wokrs on
 Architecture - Apache + JBoss(Tomcat).
 
 I have my mig.war file in /jboss/server/default/deploy
 
 I have my mod_jk.so connector in /usr/local/apache/libexec directory
 
 My httpd.conf has following information at end:
 -
 LoadModule jk_module  libexec/mod_jk.so
 JkWorkersFile /jboss/catalina/conf/jk/workers.properties
 JkLogFile /usr/local/apache/logs/mod_jk.log
 JkLogLevel info
 
 JKMount /examples/servlet/* ajp13
 JKMount /examples/*.jsp ajp13
 
 JKMount /mig/servlet/* ajp13
 JKMount /mig/*.jsp ajp13
 JKMount /mig/* ajp13

RE: Simple WAR on Apache + Tomcat + JBoss

2003-02-17 Thread Dennis Cartier
Hi Manjo,

I just spotted your post in the JBoss forums. You showed more of your
httpd.conf in that one. The problem is definitely in the placement of your
JkMount directives. You have to move them inside either a directory
directive or a virtual host directive.

As well the alias and the directory directive pointing to
/jboss/server/default/deploy is not required. Just move the JkMounts to
inside the default directory section, and it will all start working. I
Promise.

Dennis

-Original Message-
From: Manoj Kithany [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 3:35 PM
To: [EMAIL PROTECTED]
Subject: RE: Simple WAR on Apache + Tomcat + JBoss


Hi Dennis,

Thank you for your reply.

My /mig/WEB-INF/web.xml follows:
---
?xml version=1.0 encoding=UTF-8?

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app
   servlet
servlet-nameHelloWorldExample/servlet-name
servlet-classHelloWorldExample/servlet-class
/servlet

servlet-mapping
servlet-nameHelloWorldExample/servlet-name
url-pattern/HelloWorldExample/*/url-pattern
 /servlet-mapping


session-config
session-timeout
30
/session-timeout
/session-config
welcome-file-list
welcome-file
index.jsp
/welcome-file
welcome-file
index.html
/welcome-file
welcome-file
index.htm
/welcome-file
welcome-file
welcome.html
/welcome-file
welcome-file
test.jsp
/welcome-file
/welcome-file-list
/web-app


Thanks!
From: Dennis Cartier [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Simple WAR on Apache + Tomcat + JBoss
Date: Fri, 14 Feb 2003 14:19:54 -0500

Please post your web.xml from the WEB-INF dir in mig.war

-Original Message-
From: Manoj Kithany [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 12:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Simple WAR on Apache + Tomcat + JBoss


I checked the mod_jk.log file and found following...


[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/mig/'
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13
-/mig/
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/mig/'
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13
-/mig/
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/mig/test.jsp'
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c
(558)]:jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13
-*.jsp

-

 From the LOG file above it seems that INTEGRATION is successful BUT
when
I access http://MY.IP.ADDR.ESS/mig/test.jsp it shows FOLLOWING ERROR on
BROWSER:--
-
Forbidden
You don't have permission to access /mig/test.jsp on this server
---

Any guideline on this is appreciated!


 From: Manoj Kithany [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Simple WAR on Apache + Tomcat + JBoss
 Date: Fri, 14 Feb 2003 15:29:11 +
 
 Hi:
 
 I have a simple WAR file 'mig.war' and want to see if that wokrs on
 Architecture - Apache + JBoss(Tomcat).
 
 I have my mig.war file in /jboss/server/default/deploy
 
 I have my mod_jk.so connector in /usr/local/apache/libexec directory
 
 My httpd.conf has following information at end:
 -
 LoadModule jk_module  libexec/mod_jk.so
 JkWorkersFile /jboss/catalina/conf/jk/workers.properties
 JkLogFile /usr/local/apache/logs/mod_jk.log
 JkLogLevel info
 
 JKMount /examples/servlet/* ajp13
 JKMount /examples/*.jsp ajp13
 
 JKMount /mig/servlet/* ajp13
 JKMount /mig/*.jsp ajp13
 JKMount /mig/* ajp13
 -
 
 My workers.properties file contains
 -
 workers.tomcat_home=/jboss/catalina
 workers.java_home=/usr/java130
 ps=/
 
 worker.list=ajp13
 worker.ajp13.port=8009

Simple WAR on Apache + Tomcat + JBoss

2003-02-14 Thread Manoj Kithany
Hi:

I have a simple WAR file 'mig.war' and want to see if that wokrs on 
Architecture - Apache + JBoss(Tomcat).

I have my mig.war file in /jboss/server/default/deploy

I have my mod_jk.so connector in /usr/local/apache/libexec directory

My httpd.conf has following information at end:
-
LoadModule jk_module  libexec/mod_jk.so
JkWorkersFile /jboss/catalina/conf/jk/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info

JKMount /examples/servlet/* ajp13
JKMount /examples/*.jsp ajp13

JKMount /mig/servlet/* ajp13
JKMount /mig/*.jsp ajp13
JKMount /mig/* ajp13
-

My workers.properties file contains
-
workers.tomcat_home=/jboss/catalina
workers.java_home=/usr/java130
ps=/

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=MY.IP.ADDR.ESS
worker.ajp13.type=ajp13
---

My tomcat4-service.xml file has following:
---
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 
debug=1/
--

By the way why should Port be 8009...? should it be 8080?

Can anyone see if the above process is proper?

When I try http://MY.IP.ADDR.ESS on my browser, it shows my Welcome Apache 
Page...which shows Apache is working fine.

Later when I try http://MY.IP.ADDR.ESS/mig is says Page Not Found Error

When I add Port 8080 as http://MY.IP.ADDR.ESS:8080/mig
it works fine...

How can I know if my Apache + Tomcat Integration is working fine and that 
Apache REDIRECTS my JSP/Servlets to Tomcat?



Should I start my Jboss first or Apache first?

THANK YOU ALL!







_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Simple WAR on Apache + Tomcat + JBoss

2003-02-14 Thread Dennis Cartier
Hi Manjo,

It mostly looks OK to me. I run Tomcat 4.1.18 with JBoss 3.0.6.

Observations:

Of the following 3 lines, the last makes the previous 2 redundant

JKMount /mig/servlet/* ajp13
JKMount /mig/*.jsp ajp13
JKMount /mig/* ajp13

When you attempt to hit Tomcat through Apache, append a trailing slash like
you have in your mount command.

Use:
http://MY.IP.ADDR.ESS/mig/

Not:
http://MY.IP.ADDR.ESS/mig

If you want to be able to forward request with out the trailing slash, make
your mount:
JKMount /mig* ajp13

This can result in unexpected behaviour if you have other paths that are
similar
Eg. http://MY.IP.ADDR.ESS/mig == http://MY.IP.ADDR.ESS/migrate


Dennis


-Original Message-
From: Manoj Kithany [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 10:29 AM
To: [EMAIL PROTECTED]
Subject: Simple WAR on Apache + Tomcat + JBoss


Hi:

I have a simple WAR file 'mig.war' and want to see if that wokrs on
Architecture - Apache + JBoss(Tomcat).

I have my mig.war file in /jboss/server/default/deploy

I have my mod_jk.so connector in /usr/local/apache/libexec directory

My httpd.conf has following information at end:
-
LoadModule jk_module  libexec/mod_jk.so
JkWorkersFile /jboss/catalina/conf/jk/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info

JKMount /examples/servlet/* ajp13
JKMount /examples/*.jsp ajp13

JKMount /mig/servlet/* ajp13
JKMount /mig/*.jsp ajp13
JKMount /mig/* ajp13
-

My workers.properties file contains
-
workers.tomcat_home=/jboss/catalina
workers.java_home=/usr/java130
ps=/

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=MY.IP.ADDR.ESS
worker.ajp13.type=ajp13
---

My tomcat4-service.xml file has following:
---
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=5 maxProcessors=75 acceptCount=10
debug=1/
--

By the way why should Port be 8009...? should it be 8080?

Can anyone see if the above process is proper?

When I try http://MY.IP.ADDR.ESS on my browser, it shows my Welcome Apache
Page...which shows Apache is working fine.

Later when I try http://MY.IP.ADDR.ESS/mig is says Page Not Found Error

When I add Port 8080 as http://MY.IP.ADDR.ESS:8080/mig
it works fine...

How can I know if my Apache + Tomcat Integration is working fine and that
Apache REDIRECTS my JSP/Servlets to Tomcat?



Should I start my Jboss first or Apache first?

THANK YOU ALL!







_
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Simple WAR on Apache + Tomcat + JBoss

2003-02-14 Thread Manoj Kithany
I checked the mod_jk.log file and found following...


[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/mig/'
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c 
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 
-/mig/
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/mig/'
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c 
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 
-/mig/
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/mig/test.jsp'
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c 
(558)]:jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 
-*.jsp

-

From the LOG file above it seems that INTEGRATION is successful BUT when 
I access http://MY.IP.ADDR.ESS/mig/test.jsp it shows FOLLOWING ERROR on 
BROWSER:--
-
Forbidden
You don't have permission to access /mig/test.jsp on this server
---

Any guideline on this is appreciated!


From: Manoj Kithany [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Simple WAR on Apache + Tomcat + JBoss
Date: Fri, 14 Feb 2003 15:29:11 +

Hi:

I have a simple WAR file 'mig.war' and want to see if that wokrs on 
Architecture - Apache + JBoss(Tomcat).

I have my mig.war file in /jboss/server/default/deploy

I have my mod_jk.so connector in /usr/local/apache/libexec directory

My httpd.conf has following information at end:
-
LoadModule jk_module  libexec/mod_jk.so
JkWorkersFile /jboss/catalina/conf/jk/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info

JKMount /examples/servlet/* ajp13
JKMount /examples/*.jsp ajp13

JKMount /mig/servlet/* ajp13
JKMount /mig/*.jsp ajp13
JKMount /mig/* ajp13
-

My workers.properties file contains
-
workers.tomcat_home=/jboss/catalina
workers.java_home=/usr/java130
ps=/

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=MY.IP.ADDR.ESS
worker.ajp13.type=ajp13
---

My tomcat4-service.xml file has following:
---
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 
debug=1/
--

By the way why should Port be 8009...? should it be 8080?

Can anyone see if the above process is proper?

When I try http://MY.IP.ADDR.ESS on my browser, it shows my Welcome Apache 
Page...which shows Apache is working fine.

Later when I try http://MY.IP.ADDR.ESS/mig is says Page Not Found Error

When I add Port 8080 as http://MY.IP.ADDR.ESS:8080/mig
it works fine...

How can I know if my Apache + Tomcat Integration is working fine and that 
Apache REDIRECTS my JSP/Servlets to Tomcat?



Should I start my Jboss first or Apache first?

THANK YOU ALL!

_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Simple WAR on Apache + Tomcat + JBoss

2003-02-14 Thread Dennis Cartier
Please post your web.xml from the WEB-INF dir in mig.war

-Original Message-
From: Manoj Kithany [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 12:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Simple WAR on Apache + Tomcat + JBoss


I checked the mod_jk.log file and found following...


[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/mig/'
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13
-/mig/
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/mig/'
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13
-/mig/
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/mig/test.jsp'
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c
(558)]:jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13
-*.jsp

-

From the LOG file above it seems that INTEGRATION is successful BUT
when
I access http://MY.IP.ADDR.ESS/mig/test.jsp it shows FOLLOWING ERROR on
BROWSER:--
-
Forbidden
You don't have permission to access /mig/test.jsp on this server
---

Any guideline on this is appreciated!


From: Manoj Kithany [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Simple WAR on Apache + Tomcat + JBoss
Date: Fri, 14 Feb 2003 15:29:11 +

Hi:

I have a simple WAR file 'mig.war' and want to see if that wokrs on
Architecture - Apache + JBoss(Tomcat).

I have my mig.war file in /jboss/server/default/deploy

I have my mod_jk.so connector in /usr/local/apache/libexec directory

My httpd.conf has following information at end:
-
LoadModule jk_module  libexec/mod_jk.so
JkWorkersFile /jboss/catalina/conf/jk/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info

JKMount /examples/servlet/* ajp13
JKMount /examples/*.jsp ajp13

JKMount /mig/servlet/* ajp13
JKMount /mig/*.jsp ajp13
JKMount /mig/* ajp13
-

My workers.properties file contains
-
workers.tomcat_home=/jboss/catalina
workers.java_home=/usr/java130
ps=/

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=MY.IP.ADDR.ESS
worker.ajp13.type=ajp13
---

My tomcat4-service.xml file has following:
---
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=5 maxProcessors=75 acceptCount=10
debug=1/
--

By the way why should Port be 8009...? should it be 8080?

Can anyone see if the above process is proper?

When I try http://MY.IP.ADDR.ESS on my browser, it shows my Welcome Apache
Page...which shows Apache is working fine.

Later when I try http://MY.IP.ADDR.ESS/mig is says Page Not Found Error

When I add Port 8080 as http://MY.IP.ADDR.ESS:8080/mig
it works fine...

How can I know if my Apache + Tomcat Integration is working fine and that
Apache REDIRECTS my JSP/Servlets to Tomcat?



Should I start my Jboss first or Apache first?

THANK YOU ALL!

_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Simple WAR on Apache + Tomcat + JBoss

2003-02-14 Thread Jeff Tulley
I saw this same thing just the other day.  It had to do with how we
configured Apache security.  We had moved our JkMounts from one Virtual
Host into the main (:80) section, which had different security
lockdowns(deny from all).  Because of this, Apache was trying to
evaluate the URL first, and then denying it, not giving Tomcat a chance.
  We also saw the mod log messages and never figured out why it was
seemingly successful yet still we got the forbidden:

Now, my case might be a little different than yours.  I was trying to
have apache serve up our static content.  We had the following:

JkMount /nps/webacc/* ajp13
JkMount /nps/webacc ajp13
JkMount /nps/*.jsp ajp13
JkMount /nps/servlet/* ajp13

Alias /nps SYS:/tomcat/4/webapps/nps

Directory SYS:/tomcat/4/webapps/nps
Options Indexes FollowSymLinks
/Directory

I think we had to change the Directory tag to look more like this:

Directory SYS:/tomcat/4/webapps/nps
Options FollowSymLinks
Order allow,deny
Allow from all
/Directory

This opened back up permissions on just this directory.  Of course,
without the Alias directive things also worked, so I don't know if this
fits your case or not.

-Original Message-
From: Manoj Kithany [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 14, 2003 12:42 PM
To: [EMAIL PROTECTED] 
Subject: Re: Simple WAR on Apache + Tomcat + JBoss


I checked the mod_jk.log file and found following...


[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (477)]: Attempting to
map
URI '/mig/'
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match
ajp13
-/mig/
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (477)]: Attempting to
map
URI '/mig/'
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match
ajp13
-/mig/
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (477)]: Attempting to
map
URI '/mig/test.jsp'
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c
(558)]:jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match
ajp13
-*.jsp

-

From the LOG file above it seems that INTEGRATION is successful
BUT
when
I access http://MY.IP.ADDR.ESS/mig/test.jsp it shows FOLLOWING ERROR
on
BROWSER:--
-
Forbidden
You don't have permission to access /mig/test.jsp on this server
---

Any guideline on this is appreciated!


From: Manoj Kithany [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED] 
Subject: Simple WAR on Apache + Tomcat + JBoss
Date: Fri, 14 Feb 2003 15:29:11 +

Hi:

I have a simple WAR file 'mig.war' and want to see if that wokrs on
Architecture - Apache + JBoss(Tomcat).

I have my mig.war file in /jboss/server/default/deploy

I have my mod_jk.so connector in /usr/local/apache/libexec directory

My httpd.conf has following information at end:
-
LoadModule jk_module  libexec/mod_jk.so
JkWorkersFile /jboss/catalina/conf/jk/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info

JKMount /examples/servlet/* ajp13
JKMount /examples/*.jsp ajp13

JKMount /mig/servlet/* ajp13
JKMount /mig/*.jsp ajp13
JKMount /mig/* ajp13


Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., the leading provider of Net business solutions
http://www.novell.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Simple WAR on Apache + Tomcat + JBoss

2003-02-14 Thread Manoj Kithany
Hi Dennis,

Thank you for your reply.

My /mig/WEB-INF/web.xml follows:
---
?xml version=1.0 encoding=UTF-8?

!DOCTYPE web-app
   PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN 
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app
  servlet
   servlet-nameHelloWorldExample/servlet-name
   servlet-classHelloWorldExample/servlet-class
   /servlet

   servlet-mapping
   	servlet-nameHelloWorldExample/servlet-name
	url-pattern/HelloWorldExample/*/url-pattern
/servlet-mapping


   session-config
   session-timeout
   30
   /session-timeout
   /session-config
   welcome-file-list
	welcome-file
   index.jsp
   /welcome-file
	welcome-file
   index.html
   /welcome-file
	welcome-file
   index.htm
   /welcome-file
	welcome-file
	welcome.html
	/welcome-file
	welcome-file
	test.jsp
	/welcome-file
   /welcome-file-list
/web-app


Thanks!
From: Dennis Cartier [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Simple WAR on Apache + Tomcat + JBoss
Date: Fri, 14 Feb 2003 14:19:54 -0500

Please post your web.xml from the WEB-INF dir in mig.war

-Original Message-
From: Manoj Kithany [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 12:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Simple WAR on Apache + Tomcat + JBoss


I checked the mod_jk.log file and found following...


[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/mig/'
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13
-/mig/
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/mig/'
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13
-/mig/
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/mig/test.jsp'
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c
(558)]:jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13
-*.jsp

-

From the LOG file above it seems that INTEGRATION is successful BUT
when
I access http://MY.IP.ADDR.ESS/mig/test.jsp it shows FOLLOWING ERROR on
BROWSER:--
-
Forbidden
You don't have permission to access /mig/test.jsp on this server
---

Any guideline on this is appreciated!


From: Manoj Kithany [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Simple WAR on Apache + Tomcat + JBoss
Date: Fri, 14 Feb 2003 15:29:11 +

Hi:

I have a simple WAR file 'mig.war' and want to see if that wokrs on
Architecture - Apache + JBoss(Tomcat).

I have my mig.war file in /jboss/server/default/deploy

I have my mod_jk.so connector in /usr/local/apache/libexec directory

My httpd.conf has following information at end:
-
LoadModule jk_module  libexec/mod_jk.so
JkWorkersFile /jboss/catalina/conf/jk/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info

JKMount /examples/servlet/* ajp13
JKMount /examples/*.jsp ajp13

JKMount /mig/servlet/* ajp13
JKMount /mig/*.jsp ajp13
JKMount /mig/* ajp13
-

My workers.properties file contains
-
workers.tomcat_home=/jboss/catalina
workers.java_home=/usr/java130
ps=/

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=MY.IP.ADDR.ESS
worker.ajp13.type=ajp13
---

My tomcat4-service.xml file has following:
---
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=5 maxProcessors=75 acceptCount=10
debug=1/
--

By the way why should Port be 8009...? should it be 8080?

Can anyone see if the above process is proper?

When I try http://MY.IP.ADDR.ESS on my browser, it shows my Welcome 
Apache
Page...which shows Apache is working fine.

Later when I try http://MY.IP.ADDR.ESS/mig is says Page Not Found Error

When I add Port 8080 as http://MY.IP.ADDR.ESS:8080/mig
it works fine...

How can I know if my Apache + Tomcat

AHP13 Error (Apache/Tomcat/JBoss)...?

2003-02-14 Thread Manoj Kithany




Hi:

I am using APache + JBoss + Tomcat and INTEGRATED these with MOD_JK 
connector.

I have a WAR file mig.war which is stored in /jboss/server/default/deploy/

When I try to access my hellowworld JSP page (test.jsp) as 
www.host-name/mig/test.jsp, I get following message

---
14:54:52,638 INFO  [Engine] Ajp13Processor[8009][1]  An incoming request is 
being assigned
14:54:52,638 INFO  [Engine] Ajp13Processor[8009][1]   The incoming request 
has been awaited
14:54:52,639 INFO  [STDOUT] [Ajp13] setSocket()
14:54:52,639 INFO  [STDOUT] [Ajp13] receiveNextRequest()
14:54:52,639 INFO  [STDOUT] [Ajp13] receive()
14:54:52,639 INFO  [STDOUT] [Ajp13] receive:  total read = 413
14:54:52,639 INFO  [STDOUT] [Ajp13] Received 2 JK_AJP13_FORWARD_REQUEST
14:54:52,639 INFO  [Engine] Ajp13Processor[8009][1] invoking...
14:54:52,691 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for 
servlet jsp threw exception
javax.servlet.ServletException: sun/tools/javac/Main
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
   at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
   at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
   at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
   at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
.
14:54:52,708 ERROR [Engine] - Root Cause -
java.lang.NoClassDefFoundError: sun/tools/javac/Main
   at 
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java(Compiled 
Code))
   at 
org.apache.jasper.compiler.Compiler.compile(Compiler.java(Compiled Code))
   at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
   at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
   at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
   at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
   at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
   at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
   at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
   at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
.
14:54:52,751 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [Engine] Ajp13Processor[8009][1] done invoking, finishing 
request/response
14:54:52,753 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [Engine] Ajp13Processor[8009][1] finished handling 
request.
14:54:52,753 INFO  [STDOUT] [Ajp13] recycle()
14:54:52,753 INFO  [STDOUT] [Ajp13] receiveNextRequest()
---


Can anyone point out what is the problem?

My HTTPD.CONF file has:
--
LoadModule jk_module  libexec/mod_jk.so
JkWorkersFile /jboss/catalina/conf/jk/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info

JKMount /mig/servlet/* ajp13
JKMount /mig/*.jsp ajp13
JKMount /mig/* ajp13
-

THANKS!



_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AJP13 Error (Apache/Tomcat/JBoss)...?

2003-02-14 Thread Manoj Kithany
Sorry ...sending againthere was a typo in earlier email. I am getting 
AJP13 Error as explained below:
-

Hi:

I am using APache + JBoss + Tomcat and INTEGRATED these with MOD_JK 
connector.

I have a WAR file mig.war which is stored in /jboss/server/default/deploy/

When I try to access my hellowworld JSP page (test.jsp) as 
www.host-name/mig/test.jsp, I get following message

---
14:54:52,638 INFO  [Engine] Ajp13Processor[8009][1]  An incoming request is 
being assigned
14:54:52,638 INFO  [Engine] Ajp13Processor[8009][1]   The incoming request 
has been awaited
14:54:52,639 INFO  [STDOUT] [Ajp13] setSocket()
14:54:52,639 INFO  [STDOUT] [Ajp13] receiveNextRequest()
14:54:52,639 INFO  [STDOUT] [Ajp13] receive()
14:54:52,639 INFO  [STDOUT] [Ajp13] receive:  total read = 413
14:54:52,639 INFO  [STDOUT] [Ajp13] Received 2 JK_AJP13_FORWARD_REQUEST
14:54:52,639 INFO  [Engine] Ajp13Processor[8009][1] invoking...
14:54:52,691 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for 
servlet jsp threw exception
javax.servlet.ServletException: sun/tools/javac/Main
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
  at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
  at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
  at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
.
14:54:52,708 ERROR [Engine] - Root Cause -
java.lang.NoClassDefFoundError: sun/tools/javac/Main
  at 
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java(Compiled 
Code))
  at org.apache.jasper.compiler.Compiler.compile(Compiler.java(Compiled 
Code))
  at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
  at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
  at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
  at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
  at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
  at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
  at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
.
14:54:52,751 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [Engine] Ajp13Processor[8009][1] done invoking, finishing 
request/response
14:54:52,753 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [Engine] Ajp13Processor[8009][1] finished handling 
request.
14:54:52,753 INFO  [STDOUT] [Ajp13] recycle()
14:54:52,753 INFO  [STDOUT] [Ajp13] receiveNextRequest()
---


Can anyone point out what is the problem?

My HTTPD.CONF file has:
--
LoadModule jk_module  libexec/mod_jk.so
JkWorkersFile /jboss/catalina/conf/jk/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info

JKMount /mig/servlet/* ajp13
JKMount /mig/*.jsp ajp13
JKMount /mig/* ajp13
-

THANKS!

_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional 

RE: AJP13 Error (Apache/Tomcat/JBoss)...?

2003-02-14 Thread Filip Hanik
yes, you have to modify the tomcat jboss service xml file to include the tools.jar in 
the classpath

bug in jboss, not tomcat!

Filip

-Original Message-
From: Manoj Kithany [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 2:40 PM
To: [EMAIL PROTECTED]
Subject: AJP13 Error (Apache/Tomcat/JBoss)...?


Sorry ...sending againthere was a typo in earlier email. I am getting 
AJP13 Error as explained below:
-

Hi:

I am using APache + JBoss + Tomcat and INTEGRATED these with MOD_JK 
connector.

I have a WAR file mig.war which is stored in /jboss/server/default/deploy/

When I try to access my hellowworld JSP page (test.jsp) as 
www.host-name/mig/test.jsp, I get following message

---
14:54:52,638 INFO  [Engine] Ajp13Processor[8009][1]  An incoming request is 
being assigned
14:54:52,638 INFO  [Engine] Ajp13Processor[8009][1]   The incoming request 
has been awaited
14:54:52,639 INFO  [STDOUT] [Ajp13] setSocket()
14:54:52,639 INFO  [STDOUT] [Ajp13] receiveNextRequest()
14:54:52,639 INFO  [STDOUT] [Ajp13] receive()
14:54:52,639 INFO  [STDOUT] [Ajp13] receive:  total read = 413
14:54:52,639 INFO  [STDOUT] [Ajp13] Received 2 JK_AJP13_FORWARD_REQUEST
14:54:52,639 INFO  [Engine] Ajp13Processor[8009][1] invoking...
14:54:52,691 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for 
servlet jsp threw exception
javax.servlet.ServletException: sun/tools/javac/Main
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
   at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
   at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
   at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
   at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
.
14:54:52,708 ERROR [Engine] - Root Cause -
java.lang.NoClassDefFoundError: sun/tools/javac/Main
   at 
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java(Compiled 
Code))
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java(Compiled 
Code))
   at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
   at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
   at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
   at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
   at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
   at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
   at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
   at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
.
14:54:52,751 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [Engine] Ajp13Processor[8009][1] done invoking, finishing 
request/response
14:54:52,753 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [Engine] Ajp13Processor[8009][1] finished handling 
request.
14:54:52,753 INFO  [STDOUT] [Ajp13] recycle()
14:54:52,753 INFO  [STDOUT] [Ajp13] receiveNextRequest()
---


Can anyone point out what is the problem?

My HTTPD.CONF file has:
--
LoadModule jk_module  libexec/mod_jk.so
JkWorkersFile /jboss/catalina/conf/jk/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info

JKMount /mig/servlet/* ajp13
JKMount /mig/*.jsp ajp13
JKMount /mig/* ajp13

Re: AJP13 Error (Apache/Tomcat/JBoss)...?

2003-02-14 Thread jmong
Not sure if this will help... but check the following...

cd JBOSS_HOME/server/default/deploy (if you're using the default 
instance)
check tomcat41-service.xml and check where its pointing to the 
catalina directory

if it says ../tomcat4.1x or something along those lines ... try 
specifying the full path to the server
JBOSS_HOME/tomcat4.1x I think

I use JBoss without the apache front end (I'll try that though) but I 
think the problem might be related to Tomcat not starting up properly.

HTH

Jan-Michael 

- Original Message -
From: Manoj Kithany [EMAIL PROTECTED]
Date: Friday, February 14, 2003 2:39 pm
Subject: AJP13 Error (Apache/Tomcat/JBoss)...?

 Sorry ...sending againthere was a typo in earlier email. I am 
 getting 
 AJP13 Error as explained below:
 -
 
 Hi:
 
 I am using APache + JBoss + Tomcat and INTEGRATED these with 
 MOD_JK 
 connector.
 
 I have a WAR file mig.war which is stored in 
 /jboss/server/default/deploy/
 When I try to access my hellowworld JSP page (test.jsp) as 
 www.host-name/mig/test.jsp, I get following message
 
 ---
 
 14:54:52,638 INFO  [Engine] Ajp13Processor[8009][1]  An incoming 
 request is 
 being assigned
 14:54:52,638 INFO  [Engine] Ajp13Processor[8009][1]   The incoming 
 request 
 has been awaited
 14:54:52,639 INFO  [STDOUT] [Ajp13] setSocket()
 14:54:52,639 INFO  [STDOUT] [Ajp13] receiveNextRequest()
 14:54:52,639 INFO  [STDOUT] [Ajp13] receive()
 14:54:52,639 INFO  [STDOUT] [Ajp13] receive:  total read = 413
 14:54:52,639 INFO  [STDOUT] [Ajp13] Received 2 
 JK_AJP13_FORWARD_REQUEST14:54:52,639 INFO  [Engine] 
 Ajp13Processor[8009][1] invoking...
 14:54:52,691 ERROR [Engine] StandardWrapperValve[jsp]: 
 Servlet.service() for 
 servlet jsp threw exception
 javax.servlet.ServletException: sun/tools/javac/Main
   at 
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485)  
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
   at 
 org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:243)
   at 
 org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
   at 
 org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
   at 
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at 
 org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:190)
 .
 14:54:52,708 ERROR [Engine] - Root Cause -
 java.lang.NoClassDefFoundError: sun/tools/javac/Main
   at 
 org.apache.jasper.compiler.SunJavaCompiler.compile
(SunJavaCompiler.java(Compiled 
 Code))
   at 
 org.apache.jasper.compiler.Compiler.compile(Compiler.java(Compiled 
 Code))
   at 
 org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)  
 at 
 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary
(JspServlet.java:177)
   at 
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
(JspServlet.java:189)
   at 
 org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:382)
   at 
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)  
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
   at 
 org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:243)
   at 
 org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
   at 
 org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
   at 
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at 
 org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:190)
 .
 14:54:52,751 INFO  [STDOUT] [Ajp13] send()
 14:54:52,752 INFO  [STDOUT] [Ajp13] send()
 14:54:52,752 INFO  [STDOUT] [Ajp13] send()
 14:54:52,752 INFO  [STDOUT] [Ajp13] send()
 14:54:52,752 INFO  [STDOUT] [Ajp13] send()
 14:54:52,752 INFO  [STDOUT] [Ajp13] send()
 14:54:52,753 INFO  [STDOUT] [Ajp13] send()
 14:54:52,753 INFO  [Engine] Ajp13Processor[8009][1] done invoking, 
 finishing 
 request/response
 14:54:52,753 INFO  [STDOUT] [Ajp13] send()
 14:54:52,753 INFO  [STDOUT] [Ajp13] send()
 14:54:52,753 INFO  [Engine] Ajp13Processor[8009][1] finished 
 handling 
 request.
 14:54:52,753 INFO  [STDOUT] [Ajp13] recycle()
 14:54:52,753 INFO  [STDOUT] [Ajp13] receiveNextRequest

Simple WAR file for Apache+Tomcat+JBoss

2003-02-13 Thread Manoj Kithany
Hi:

I have a simple WAR file 'mig.war' and want to see if that wokrs on 
Architecture - Apache + JBoss(Tomcat).

I have my mig.war file in /jboss/server/default/deploy

I have my mod_jk.so connector in /usr/local/apache/libexec directory

My httpd.conf has following information at end:
-
LoadModule jk_module  libexec/mod_jk.so
JkWorkersFile /jboss/catalina/conf/jk/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info

JKMount /examples/servlet/* ajp13
JKMount /examples/*.jsp ajp13

JKMount /mig/servlet/* ajp13
JKMount /mig/*.jsp ajp13
JKMount /mig/* ajp13
-

My workers.properties file contains
-
workers.tomcat_home=/jboss/catalina
workers.java_home=/usr/java130
ps=/

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=MY.IP.ADDR.ESS
worker.ajp13.type=ajp13
---

My tomcat4-service.xml file has following:
---
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 
debug=1/
--

By the way why should Port be 8009...? should it be 8080?

Can anyone see if the above process is proper?

When I try http://MY.IP.ADDR.ESS on my browser, it shows my Welcome Apache 
Page...which shows Apache is working fine.

Later when I try http://MY.IP.ADDR.ESS/mig is says Page Not Found Error

When I add Port 8080 as http://MY.IP.ADDR.ESS:8080/mig
it works fine...

How can I know if my Apache + Tomcat Integration is working fine and that 
Apache REDIRECTS my JSP/Servlets to Tomcat?



Should I start my Jboss first or Apache first?

THANK YOU ALL!






_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Apache 2, Tomcat, JBoss configuration

2002-10-08 Thread Jim Haggerty


Current versions:
FreeBSD 4.6.2-RELEASE
Apache 2.0.42 (although FreeBSD port now has 2.0.43)
Tomcat 4.0.5
JBoss 3.0.0 (NB: This installation is the package WITHOUT Tomcat)

Apache and Tomcat are getting along fine and I can access deployed webapps
through the warp connection (Is JK2 preferred over warp?) on both port 80
and 8080.

JBoss is alive and well on port 8082.

However, virtually ALL the documentation I have found regarding connecting
the three refers to the JBoss+Tomcat package (modify the server.xml in
${JBOSS_HOME}/catalina).  Does anyone have an example of connecting Apache -
Tomcat - JBoss WITHOUT JBoss+Tomcat?

Thanks,
Jim



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apache 2, Tomcat, JBoss configuration

2002-10-08 Thread Anthony Geoghegan

You have to use remote interfaces and turn off the TOMCAT JNDI server to use
the JBOSS JNDI server, otherwise it's fine.

Best Regards,
Anthony Geoghegan.
J2EE Developer
CPS Ireland Ltd.
- Original Message -
From: Jim Haggerty [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 5:31 PM
Subject: Apache 2, Tomcat,  JBoss configuration



 Current versions:
 FreeBSD 4.6.2-RELEASE
 Apache 2.0.42 (although FreeBSD port now has 2.0.43)
 Tomcat 4.0.5
 JBoss 3.0.0 (NB: This installation is the package WITHOUT Tomcat)

 Apache and Tomcat are getting along fine and I can access deployed webapps
 through the warp connection (Is JK2 preferred over warp?) on both port 80
 and 8080.

 JBoss is alive and well on port 8082.

 However, virtually ALL the documentation I have found regarding connecting
 the three refers to the JBoss+Tomcat package (modify the server.xml in
 ${JBOSS_HOME}/catalina).  Does anyone have an example of connecting
Apache -
 Tomcat - JBoss WITHOUT JBoss+Tomcat?

 Thanks,
 Jim



 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat/Jboss service.xml

2002-09-30 Thread Lea Allison

Hi

I am trying to configure the following in the tomcat/JBoss 3
tomcat4-service.xml file:

Context path=/themes docBase=/usr/local/XSL_Templates debug=0/

but it doesn't appear to work. Any help would be helpful!
Thanks
Lea

== 
This message contains confidential information and is intended solely for
the use of the individual or entity to whom it is addressed. If you are not
the named addressee you should not disseminate, distribute or copy this
email. Please inform the sender immediately if you have received this e-mail
by mistake and delete this email from your system. Email transmission cannot
be guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or be incomplete. The
sender therefore does not accept liability for any errors or omissions in
the contents of this message, which arise as a result of email transmission.
If verification is required please request a hard copy version. No contracts
may be concluded on behalf of Virgin Express SA/NV by means of email
communication. Finally, the recipient should check this e-mail and any
attachments for the presence of viruses. The company accepts no liability
for any damage caused by any virus transmitted by this email. 
==

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Simple Question on (Tomcat+JBoss) and Apache

2002-09-19 Thread Manoj Kithany

Hi,

I am using Apache 1.3.26 + Tomcat 4.0.4 (Catalina) which is embedded with 
JBoss.

When I start JBOSS, is Tomcat also started or do we have to explicity start 
Ctatalina...?

Any information is appreciated.

THANKS!

Manoj G. Kithany

_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




AW: Simple Question on (Tomcat+JBoss) and Apache

2002-09-19 Thread Stefan Groschupf

When I start JBOSS, is Tomcat also started or do we have to explicity start
Ctatalina...?

So far your catalina service archive is in the jboss deploy directory its
start with jboss.
trace the start output!
Hth,
Stefan



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: : Simple Question on (Tomcat+JBoss) and Apache

2002-09-19 Thread Manoj Kithany

Thanks Stefan,

My /jboss/server/default/deploy directory has following files:
counter-service.xml
ejb-management.jar
hsqldb-service.xml
jboss-local-jdbc.rar
jboss-xa.rar
jbossmq-destinations-service.xml
jbossmq-service.xml
jca-service.xml
jms-ra.rar
jms-service.xml
jmx-ejb-adaptor.jar
jmx-ejb-connector-server.sar
jmx-html-adaptor.sar
jmx-rmi-adaptor.sar
mail-service.xml
properties-service.xml
scheduler-service.xml
tomcat4-service.jar
tomcat4-service.xml
tomcat4-service.xml.save
user-service.xml

Thanks

Manoj G. Kithany


#From: Stefan Groschupf [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: AW: Simple Question on (Tomcat+JBoss) and Apache
Date: Fri, 20 Sep 2002 00:10:43 +0200

 When I start JBOSS, is Tomcat also started or do we have to explicity 
start
 Ctatalina...?

So far your catalina service archive is in the jboss deploy directory its
start with jboss.
trace the start output!
Hth,
Stefan


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




AW: : Simple Question on (Tomcat+JBoss) and Apache

2002-09-19 Thread Stefan Groschupf

counter-service.xml

auto keys
ejb-management.jar
enterprice beans, you some?

hsqldb-service.xml
you use hypersonic sql?

jboss-local-jdbc.rar
jboss-xa.rar
jbossmq-destinations-service.xml
jbossmq-service.xml
jca-service.xml
Jboss security.
jms-ra.rar
jms-service.xml
you use jms?
jmx-ejb-adaptor.jar
you use ejbs?
jmx-ejb-connector-server.sar
jmx-html-adaptor.sar
you want that someone can remote config xour machine on port 8082?
jmx-rmi-adaptor.sar
or via rmi?

mail-service.xml
you send mails?

properties-service.xml
jboss application property service
scheduler-service.xml
..

tomcat4-service.jar
tomcat4-service.xml
tomcat4-service.xml.save
delete it!
user-service.xml

If that's is a production system, please read the jboss beginner pdf @
sourceforge.net
Htht
Stefan



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: AW: : Simple Question on (Tomcat+JBoss) and Apache

2002-09-19 Thread Manoj Kithany

Hi Stefan,

Thanks again.

I am using Apache as Web Server, Tomcat as Application Server (for 
JSP/Servlets) and JBoss for EJB Container.

From the files listed in my last email, do you mena to say it is not proper 
combination...? Please clarify.

THANKS for your time!

Manoj G. Kithany




From: Stefan Groschupf [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: AW: : Simple Question on (Tomcat+JBoss) and Apache
Date: Fri, 20 Sep 2002 00:33:35 +0200

 counter-service.xml

auto keys
 ejb-management.jar
enterprice beans, you some?

 hsqldb-service.xml
you use hypersonic sql?

 jboss-local-jdbc.rar
 jboss-xa.rar
 jbossmq-destinations-service.xml
 jbossmq-service.xml
 jca-service.xml
Jboss security.
 jms-ra.rar
 jms-service.xml
you use jms?
 jmx-ejb-adaptor.jar
you use ejbs?
 jmx-ejb-connector-server.sar
 jmx-html-adaptor.sar
you want that someone can remote config xour machine on port 8082?
 jmx-rmi-adaptor.sar
or via rmi?

 mail-service.xml
you send mails?

 properties-service.xml
jboss application property service
 scheduler-service.xml
..

tomcat4-service.jar
tomcat4-service.xml
 tomcat4-service.xml.save
delete it!
 user-service.xml

If that's is a production system, please read the jboss beginner pdf @
sourceforge.net
Htht
Stefan



--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




AW: AW: : Simple Question on (Tomcat+JBoss) and Apache

2002-09-19 Thread Stefan Groschupf

From the files listed in my last email, do you mena to say it is not
proper
combination...? Please clarify.

Not all, but this depends on your ejb application.
When I have to port a application in to jboss. I normal copy the hole
default/deploy directory. Delete the content and start try to copy the old
files back in the deploy folder.
Start with tomcat  ejb  database stuff and of curse your ear and war file.
start - trace log - add needed services - start ...
Again, if it's a production system please read the jboss quick start guide.
I can tell you exactly what you need and _how to config_ until I don't know
you ejb application.

Stefan




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apache+Tomcat+JBoss Error (No Context configured)

2002-09-18 Thread David Cassidy

Manoj,

Whats in your application.xml file ?
(it defines what the context is ...)

When you deploy are there any error messages in the log file (JBoss one?)

David


Manoj Kithany wrote:

 Hi Mr. Phil,

 I am using Jboss+Tomcat Bundle.

 Thanks!

 Manoj G. Kithany



 From: Philippe de M. Sevestre [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: Apache+Tomcat+JBoss Error (No Context configured)
 Date: Tue, 17 Sep 2002 14:22:09 -0300

 Are you running the JBoss+Tomcat bundle or running
 them in two distinct VMs ?

 The drop-in deployment feature of wars in JBoss is
 only available when running the whole thing in a single VM.


 - Original Message -
 From: Manoj Kithany [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: segunda-feira, 16 de setembro de 2002 20:16
 Subject: Apache+Tomcat+JBoss Error (No Context configured)


  Hi Experts,
 
  Greetings!
 
  Can you provide me with the Simple HellowWorld JSP/Servlet?
  I want to TEST is my servers are working fine. I am using Apache
  1.3.26, Tomcat 4.0.4, JBoss 3.0.3
 
  Also, can you list the Directory structure of placing Class 
 files, JSP
  files, Servlet files, WAR/EAR/JAR files?
 
  In httpd.conf I have following for Apache to know about Tomcat:
  
  LoadModule jk_module  libexec/mod_jk.so
  JkWorkersFile /usr/local/apache1326/conf/workers.properties
  JKMount /examples/servlet/* ajp13
  JKMount /examples/*.jsp ajp13
  JKMount /uno/* ajp13
  
 
  In workers.properties I have following:
  
  workers.tomcat_home=/jboss/catalina
  workers.java_home=/usr/java130
  ps=/
  worker.list=ajp12, ajp13, ajp14
  worker.ajp13.port=8009
  worker.ajp13.host=168.179.100.241
  worker.ajp13.type=ajp13
  
 
  I have a simple JSP file uno.jsp as follows:
  
  %@ page import=java.text.*,java.util.*%
 
  Greetings from Manoj
 
  
  I created the WAR/EAR file (uno.ear; uno.war) and put those in
  /jboss/server/default/deploy directory.
 
  I then start my JBoss (Tomcat)first and then Apache and then point 
 my URL
 to
  http://IPADDRESS:8080/uno/uno.jsp on which I get following Error:
  
  Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to 
 process
  this request
  
 
  Do I have to follow the same procedure for Servlets?
 
  Do you know what this Error is about and how to tackle that.
 
  THANKS!
 
  Manoj G. Kithany



 _
 Join the worlds largest e-mail service with MSN Hotmail. 
 http://www.hotmail.com


 -- 
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: integrating apache-tomcat-jboss

2002-09-18 Thread David Cassidy

Nanijon,

Make sure that you have uncommented the ajp12 / ajp13 connector in your 
server.xml file.
it's inside the catalina directory inside conf.

This might help !

David


Nani Jon wrote:

Hi all:

I have the latest jboss-3.0.0_tomcat-4.0.3 bundle installed on a windows 2000 box. 
Everything is working fine. Now I want to throw apache into the mix to serve static 
content. I am having a heck of time integrating these guys. The info I found was 
basically for the integration of the stand alone version of tomcat and apache. I have 
not been able to find much of anything on jboss-tomcat with apache. The steps for the 
stand alone tomcat and apache don't seem to be working for the bundled catalina 
version with jboss. If any one can help or point me to the proper instructions, I 
would appreciate it.

Thanks,

Nanijon



-
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
  





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Apache+Tomcat+JBoss Error (No Context configured)

2002-09-17 Thread Turner, John


There are plenty of servlet and JSP examples, with source, in the examples
directory of Tomcat, including a HelloWorld servlet.

Your error message seems self-explanatory to me.  With all due respect, I
must suggest to you again (as others have) that you READ the documentation
available before posting questions to the list.  You cannot just create a
directory and drop a WAR file in it and expect Tomcat to work.  As your
error message says, you need a Context element in server.xml for that file.
Please consult the documentation and server.xml itself for help on how to
setup a Context element (hint: do the same thing as done for the /examples
Context).  Setting up a Context is basic issue #1 in Tomcat configuration,
it's worth learning.  If you configure your Context, and still cannot access
your application, then post back to the list with the error messages you
get.

John

 -Original Message-
 From: Manoj Kithany [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 16, 2002 7:17 PM
 To: [EMAIL PROTECTED]
 Subject: Apache+Tomcat+JBoss Error (No Context configured)
 
 
 Hi Experts,
 
 Greetings!
 
 Can you provide me with the Simple HellowWorld JSP/Servlet?
 I want to TEST is my servers are working fine. I am using Apache
 1.3.26, Tomcat 4.0.4, JBoss 3.0.3
 
 Also, can you list the Directory structure of placing Class 
 files, JSP 
 files, Servlet files, WAR/EAR/JAR files?
 
 In httpd.conf I have following for Apache to know about Tomcat:
 
 LoadModule jk_module  libexec/mod_jk.so
 JkWorkersFile /usr/local/apache1326/conf/workers.properties
 JKMount /examples/servlet/* ajp13
 JKMount /examples/*.jsp ajp13
 JKMount /uno/* ajp13
 
 
 In workers.properties I have following:
 
 workers.tomcat_home=/jboss/catalina
 workers.java_home=/usr/java130
 ps=/
 worker.list=ajp12, ajp13, ajp14
 worker.ajp13.port=8009
 worker.ajp13.host=168.179.100.241
 worker.ajp13.type=ajp13
 
 
 I have a simple JSP file uno.jsp as follows:
 
 %@ page import=java.text.*,java.util.*%
 
 Greetings from Manoj
 
 
 I created the WAR/EAR file (uno.ear; uno.war) and put those in
 /jboss/server/default/deploy directory.
 
 I then start my JBoss (Tomcat)first and then Apache and then 
 point my URL to
 http://IPADDRESS:8080/uno/uno.jsp on which I get following Error:
 
 Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured 
 to process
 this request
 
 
 Do I have to follow the same procedure for Servlets?
 
 Do you know what this Error is about and how to tackle that.
 
 THANKS!
 
 Manoj G. Kithany
 
 
 
 
 _
 MSN Photos is the easiest way to share and print your photos: 
 http://photos.msn.com/support/worldwide.aspx
 
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apache+Tomcat+JBoss Error (No Context configured)

2002-09-17 Thread Philippe de M. Sevestre

Are you running the JBoss+Tomcat bundle or running
them in two distinct VMs ?

The drop-in deployment feature of wars in JBoss is
only available when running the whole thing in a single VM.


- Original Message -
From: Manoj Kithany [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: segunda-feira, 16 de setembro de 2002 20:16
Subject: Apache+Tomcat+JBoss Error (No Context configured)


 Hi Experts,

 Greetings!

 Can you provide me with the Simple HellowWorld JSP/Servlet?
 I want to TEST is my servers are working fine. I am using Apache
 1.3.26, Tomcat 4.0.4, JBoss 3.0.3

 Also, can you list the Directory structure of placing Class files, JSP
 files, Servlet files, WAR/EAR/JAR files?

 In httpd.conf I have following for Apache to know about Tomcat:
 
 LoadModule jk_module  libexec/mod_jk.so
 JkWorkersFile /usr/local/apache1326/conf/workers.properties
 JKMount /examples/servlet/* ajp13
 JKMount /examples/*.jsp ajp13
 JKMount /uno/* ajp13
 

 In workers.properties I have following:
 
 workers.tomcat_home=/jboss/catalina
 workers.java_home=/usr/java130
 ps=/
 worker.list=ajp12, ajp13, ajp14
 worker.ajp13.port=8009
 worker.ajp13.host=168.179.100.241
 worker.ajp13.type=ajp13
 

 I have a simple JSP file uno.jsp as follows:
 
 %@ page import=java.text.*,java.util.*%

 Greetings from Manoj

 
 I created the WAR/EAR file (uno.ear; uno.war) and put those in
 /jboss/server/default/deploy directory.

 I then start my JBoss (Tomcat)first and then Apache and then point my URL
to
 http://IPADDRESS:8080/uno/uno.jsp on which I get following Error:
 
 Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process
 this request
 

 Do I have to follow the same procedure for Servlets?

 Do you know what this Error is about and how to tackle that.

 THANKS!

 Manoj G. Kithany




 _
 MSN Photos is the easiest way to share and print your photos:
 http://photos.msn.com/support/worldwide.aspx


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apache+Tomcat+JBoss Error (No Context configured)

2002-09-17 Thread Manoj Kithany

Hi Mr. Phil,

I am using Jboss+Tomcat Bundle.

Thanks!

Manoj G. Kithany



From: Philippe de M. Sevestre [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Apache+Tomcat+JBoss Error (No Context configured)
Date: Tue, 17 Sep 2002 14:22:09 -0300

Are you running the JBoss+Tomcat bundle or running
them in two distinct VMs ?

The drop-in deployment feature of wars in JBoss is
only available when running the whole thing in a single VM.


- Original Message -
From: Manoj Kithany [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: segunda-feira, 16 de setembro de 2002 20:16
Subject: Apache+Tomcat+JBoss Error (No Context configured)


  Hi Experts,
 
  Greetings!
 
  Can you provide me with the Simple HellowWorld JSP/Servlet?
  I want to TEST is my servers are working fine. I am using Apache
  1.3.26, Tomcat 4.0.4, JBoss 3.0.3
 
  Also, can you list the Directory structure of placing Class files, JSP
  files, Servlet files, WAR/EAR/JAR files?
 
  In httpd.conf I have following for Apache to know about Tomcat:
  
  LoadModule jk_module  libexec/mod_jk.so
  JkWorkersFile /usr/local/apache1326/conf/workers.properties
  JKMount /examples/servlet/* ajp13
  JKMount /examples/*.jsp ajp13
  JKMount /uno/* ajp13
  
 
  In workers.properties I have following:
  
  workers.tomcat_home=/jboss/catalina
  workers.java_home=/usr/java130
  ps=/
  worker.list=ajp12, ajp13, ajp14
  worker.ajp13.port=8009
  worker.ajp13.host=168.179.100.241
  worker.ajp13.type=ajp13
  
 
  I have a simple JSP file uno.jsp as follows:
  
  %@ page import=java.text.*,java.util.*%
 
  Greetings from Manoj
 
  
  I created the WAR/EAR file (uno.ear; uno.war) and put those in
  /jboss/server/default/deploy directory.
 
  I then start my JBoss (Tomcat)first and then Apache and then point my 
URL
to
  http://IPADDRESS:8080/uno/uno.jsp on which I get following Error:
  
  Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process
  this request
  
 
  Do I have to follow the same procedure for Servlets?
 
  Do you know what this Error is about and how to tackle that.
 
  THANKS!
 
  Manoj G. Kithany


_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




integrating apache-tomcat-jboss

2002-09-17 Thread Nani Jon


Hi all:

I have the latest jboss-3.0.0_tomcat-4.0.3 bundle installed on a windows 2000 box. 
Everything is working fine. Now I want to throw apache into the mix to serve static 
content. I am having a heck of time integrating these guys. The info I found was 
basically for the integration of the stand alone version of tomcat and apache. I have 
not been able to find much of anything on jboss-tomcat with apache. The steps for the 
stand alone tomcat and apache don't seem to be working for the bundled catalina 
version with jboss. If any one can help or point me to the proper instructions, I 
would appreciate it.

Thanks,

Nanijon



-
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes


RE: integrating apache-tomcat-jboss

2002-09-17 Thread Brian Topping



 -Original Message-
 From: Nani Jon [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 17, 2002 4:17 PM
 To: tomcat users
 Subject: integrating apache-tomcat-jboss
 
 
 
 Hi all:
 
 I have the latest jboss-3.0.0_tomcat-4.0.3 bundle installed 
 on a windows 2000 box.

For production, be sure that you get the latest-latest --
jboss-3.0.2_tomcat-4.0.4.

hth,

-b

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat + JBoss + JAAS

2002-09-10 Thread Nome real

Hi all,

We are trying to setup a technical architecture where the WebContainer ( Catalina ) 
and the EJB container ( 
JBoss ) are separated. So far, we have been successful in setting the connection 
between a servlet and an EJB 
from 2 different servers. Now, we want to setup a 'secure' connection, or basically 
define 'users/roles', so only 
authenticated servlets could connect to our EJBs. 

Another requirement is that we don't want to setup Principals/Roles programmatically 
on the servlets. So, we are 
trying to use a pre-defined JAASRealm inside the Webapp context. 

Is there any documentation/HOW-TO on how to do use JAASRealm ? Did anybody sucessfully 
connected 
Tomcat+JBoss using JAAS ?

Thanks

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat+Jboss+Apache

2002-07-15 Thread Sigurður Bjarnason

Hi

This i my first letter to the list..so please ..be nice..hehe :)

Ok i have a small problem with the  jboss-3.0.0RC2+Tomcat4.0.3 bundle
 I am using Apache 1.3.26 witch fires upp without an error ( It´s using mod_webapp.so )

Everything is up and running ! 

but when i fire up Apache, the Jboss+Tomcat bundle generate error wich look like this: 


16:43:21,956 ERROR [Engine] StandardContext[/examples]: Error configuring application 
listener of class listeners.ContextListener
java.lang.NoClassDefFoundError: javax/servlet/ServletContextAttributeListener
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:496)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:117)
at 
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1631)
at 
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:926)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1243)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3142)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3378)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
at 
org.apache.catalina.connector.warp.WarpConfigurationHandler.deploy(WarpConfigurationHandler.java:313)
at 
org.apache.catalina.connector.warp.WarpConfigurationHandler.handle(WarpConfigurationHandler.java:117)
at 
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:189)
at java.lang.Thread.run(Thread.java:498)
16:43:22,029 ERROR [Engine] StandardContext[/examples]: Error configuring application 
listener of class listeners.SessionListener
java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:496)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:117)
at 
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1631)
at 
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:926)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1243)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3142)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3378)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
at 
org.apache.catalina.connector.warp.WarpConfigurationHandler.deploy(WarpConfigurationHandler.java:313)
at 
org.apache.catalina.connector.warp.WarpConfigurationHandler.handle(WarpConfigurationHandler.java:117)
at 
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:189)
at java.lang.Thread.run(Thread.java:498)
16:43:22,092 INFO  [Engine] StandardContext[/examples]: Skipped installing application 
listeners due to previous error(s)
16:43:22,093 INFO  [Engine] StandardContext[/examples]: Context startup failed due to 
previous errors
16:43:22,162 ERROR [Engine] 
[org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (0)
16:43:22,165 ERROR [Engine] 
[org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (0)
16:43:22,167 ERROR [Engine] 
[org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (0)
16:43:22,169 ERROR [Engine] 
[org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (0)
16:43:22,171 ERROR [Engine] 
[org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (0)

Can anyone help plese.. i am stuck.. bigtime.. have spent 12 hours just findin faq.. 
but nothing.. you are my last hope :)

NOTE: i am using this help here 
http://www.pubbitch.org/jboss.html
Plesae take a look.. at the bottom of this page.. where the Apache 2.0.35 and JBoss 
3RC1 with embedded Tomcat 4.0.3  help is
so you get a better idea of how I set this up.

Best regards
Siggi










--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: (Tomcat + JBoss) or (Apache + Tomcat + JBoss) ?

2002-07-04 Thread Nikola Milutinovic

 Is there anyone that installed (Apache + Tomcat + JBoss) combination all
 together?
 What are the advantages of Using Apache with Tomcat-JBoss combination or 
 is Tomcat enough for complete web content serving?
 Should I run Apache with Tomcat + JBoss in a separate JVM?

Tomcat + JBoss will give you a complete JEE server, with web interface. Apache can 
help you off-load serving static stuff from your Tomcat. The dynamic part: JSP, 
Servlets (EJB and other JBoss mechanisms) will not be served by Apache.

Nix.



RE: (Tomcat + JBoss) or (Apache + Tomcat + JBoss) ?

2002-07-04 Thread Murat Buyukkal ([EMAIL PROTECTED])

 Is there anyone that installed (Apache + Tomcat + JBoss) combination all
 together?
 What are the advantages of Using Apache with Tomcat-JBoss combination or 
 is Tomcat enough for complete web content serving?
 Should I run Apache with Tomcat + JBoss in a separate JVM?

Tomcat + JBoss will give you a complete JEE server, with web interface. 
Apache can help you off-load serving static stuff from your Tomcat. 
The dynamic part: JSP, Servlets (EJB and other JBoss mechanisms) will not
be served by Apache.

It's ok. But I am just wondering that; Is it helpful that using Apache with
(Tomcat + JBoss) combination?
I mean serving the non-dynamic contents of a website through Apache instead
of using the Tomcat's internal web server. 
And additionaly using the EJB container of JBoss and Web Container of Tomcat
for non-static parts. 
Thus using all three products together on a single website?

Any idea?


Murat.



Re: (Tomcat + JBoss) or (Apache + Tomcat + JBoss) ?

2002-07-04 Thread Nikola Milutinovic

 Tomcat + JBoss will give you a complete JEE server, with web interface. 
 Apache can help you off-load serving static stuff from your Tomcat. 
 The dynamic part: JSP, Servlets (EJB and other JBoss mechanisms) will not
 be served by Apache.
 
 It's ok. But I am just wondering that; Is it helpful that using Apache with
 (Tomcat + JBoss) combination?

Functionality of Apache's HTTP/1.1 module and Tomcat's HTTP/1.1 is the same. The only 
difference is the performance of serving static objects.

 I mean serving the non-dynamic contents of a website through Apache instead
 of using the Tomcat's internal web server.

If you can separate your static content from the dynamic parts, you can easily make 
such an arrangement. If not, then the only hope for you is mod_jk (mod_jk2 is still in 
testing).

 And additionaly using the EJB container of JBoss and Web Container of Tomcat
 for non-static parts. 
 Thus using all three products together on a single website?

The answer to this question largely depends on your website organization and purpose. 
It could be that you can run both Apache and Tomcat, side by side, without any 
integration. Apache would listen on TCP:80 and Tomcat on TCP:8080. The presentations 
on both servers would have explicit links, like this:

http://www.domain.com:80/path/to/link.html
http://www.doamin.com:8080/another/path/to/link.jsp

If this looks ugly, you can try to integrate Tomcat under Apache, using mod_jk, 
mod_jk2 or mod_webapp. If you want Apache to serve static contenet belonging to your 
web application, then mod_jk is the way.

Nix.



RE: (Tomcat + JBoss) or (Apache + Tomcat + JBoss) ?

2002-07-04 Thread Murat Buyukkal ([EMAIL PROTECTED])

Thank you for your answer. Can the JBoss EJB container be easily added to
Tomcat + Apache (binded together with mod_jkxx) couple? if so how can we
build-up for running all three..? As far as I know, Tomcat_JBoss couple
bundled with together for enterprise usage. Can I integrate the Tomcat unit
of this couple with Apache via mod_jkxx module?

Thanks..

Murat.

-Original Message-
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 04, 2002 11:46 AM
To: Tomcat Users List
Subject: Re: (Tomcat + JBoss) or (Apache + Tomcat + JBoss) ?


 Tomcat + JBoss will give you a complete JEE server, with web interface.

 Apache can help you off-load serving static stuff from your Tomcat. 
 The dynamic part: JSP, Servlets (EJB and other JBoss mechanisms) will
not
 be served by Apache.
 
 It's ok. But I am just wondering that; Is it helpful that using Apache
with
 (Tomcat + JBoss) combination?

Functionality of Apache's HTTP/1.1 module and Tomcat's HTTP/1.1 is the same.
The only difference is the performance of serving static objects.

 I mean serving the non-dynamic contents of a website through Apache
instead
 of using the Tomcat's internal web server.

If you can separate your static content from the dynamic parts, you can
easily make such an arrangement. If not, then the only hope for you is
mod_jk (mod_jk2 is still in testing).

 And additionaly using the EJB container of JBoss and Web Container of
Tomcat
 for non-static parts. 
 Thus using all three products together on a single website?

The answer to this question largely depends on your website organization and
purpose. It could be that you can run both Apache and Tomcat, side by side,
without any integration. Apache would listen on TCP:80 and Tomcat on
TCP:8080. The presentations on both servers would have explicit links, like
this:

http://www.domain.com:80/path/to/link.html
http://www.doamin.com:8080/another/path/to/link.jsp

If this looks ugly, you can try to integrate Tomcat under Apache, using
mod_jk, mod_jk2 or mod_webapp. If you want Apache to serve static contenet
belonging to your web application, then mod_jk is the way.

Nix.



(Tomcat + JBoss) or (Apache + Tomcat + JBoss) ?

2002-07-03 Thread Murat Buyukkal ([EMAIL PROTECTED])

Is there anyone that installed (Apache + Tomcat + JBoss) combination all
together?
What are the advantages of Using Apache with Tomcat-JBoss combination or 
is Tomcat enough for complete web content serving?
Should I run Apache with Tomcat + JBoss in a separate JVM?

Thanks in advance.

Murat.



Tomcat / JBoss / JNDI lookup not working - HELP!

2002-06-03 Thread Miller, Andy

I have seperate instances of Tomcat and JBoss running on the same
machine.  I'm trying to do a JNDI lookup of a JMS queue that's
configured in JBoss from Tomcat but cannot get it to work.  I can see
the JNDI tree from the JBoss' JNDIView and all looks fine, here's a a
snapshot of the Global JNDI Namespace:
 

Global JNDI Namespace

  +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
  +- jmx:miller-dp:rmi (class: org.jboss.jmx.server.RMIConnectorImpl)
  +- TopicConnectionFactory[link - ConnectionFactory] (class:
javax.naming.LinkRef)
  +- UserTransactionSessionFactory (class:
org.jboss.tm.usertx.server.UserTransactionSessionFactoryImpl)
  +- RMIXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
  +- QueueConnectionFactory[link - ConnectionFactory] (class:
javax.naming.LinkRef)
  +- topic (class: org.jnp.interfaces.NamingContext)
  |   +- example (class: org.jboss.mq.SpyTopic)
  |   +- testTopic (class: org.jboss.mq.SpyTopic)
  |   +- bob (class: org.jboss.mq.SpyTopic)
  +- queue (class: org.jnp.interfaces.NamingContext)
  |   +- D (class: org.jboss.mq.SpyQueue)
  |   +- C (class: org.jboss.mq.SpyQueue)
  |   +- loggingQueue (class: org.jboss.mq.SpyQueue)
  |   +- B (class: org.jboss.mq.SpyQueue)
  |   +- A (class: org.jboss.mq.SpyQueue)
  |   +- controlQueue (class: org.jboss.mq.SpyQueue)
  |   +- testQueue (class: org.jboss.mq.SpyQueue)
  |   +- ex (class: org.jboss.mq.SpyQueue)
  |   +- DLQ (class: org.jboss.mq.SpyQueue)
  |   +- F (class: org.jboss.mq.SpyQueue)
  |   +- E (class: org.jboss.mq.SpyQueue)
  +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
  +- RMIConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
  +- UserTransaction (class:
org.jboss.tm.usertx.client.ClientUserTransaction)
  +- jmx (class: org.jboss.jmx.server.JMXAdaptorImpl)
  +- servercollector (class: org.jboss.management.ServerDataCollector)
  +- UILXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
  +- UILConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)

I've copied the JNDI Properties to the tomcat/common/classes directory,
and copied all the client JARS to the tomcat/classes/lib directory.
Froma JSP running under Tomcat,  I do a new InitialContext() and then do
a  lookup on QueueConnectionFactory I get:
 
javax.servlet.ServletException: Name QueueConnectionFactory is not bound
in this Context
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:463)
at
org.apache.jsp.test_0005fjndi$jsp._jspService(test_0005fjndi$jsp.java:17
3)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.java:202)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

When i I do execute the following code:
 
Hashtable env = ctx.getEnvironment();
Enumeration enum = env.keys();
System.out.println(displayEnv number of keys +env.size());
while (enum.hasMoreElements()) {
String key = (String)enum.nextElement();
Object value = env.get(key);
System.out.println(key+=+value);
}
I get:


java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
java.naming.provider.url=localhost:1099

java.naming.factory.url.pkgs=org.apache.naming:org.jboss.naming:org.jnp.
interfaces

 
What am I doing wrong??? I've been banging my head against a wall for
three days over this.  Does anyone have any clues??? Oh, btw, I tried
changing the JBoss JNDI port to 1066, but it made no difference. Thanks.
 
Andy Miller
[EMAIL PROTECTED]
HP Invent



Re: Tomcat / JBoss / JNDI lookup not working - HELP!

2002-06-03 Thread Håkon Hansen

On Mon, 3 Jun 2002 11:48:14 -0500
Miller, Andy [EMAIL PROTECTED] wrote:

 I have seperate instances of Tomcat and JBoss running on the same
 machine.  I'm trying to do a JNDI lookup of a JMS queue that's
 configured in JBoss from Tomcat but cannot get it to work.

I have not taken the time to fully analyze your problem, but I have 
had similar problems with JNDI lookups JBoss 3.0 / Tomcat 4.0. 

What I had to do, was to set the initial factory as a System property
before creating the InitialContext for the first time, like this:

System.setProperty(java.naming.factory.initial, 
org.jnp.interfaces.NamingContextFactory);


Good luck!


Yours, Haakon Hansen, Norway

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat / JBoss / JNDI lookup not working - HELP!

2002-06-03 Thread Miller, Andy

That was all it took! Thanks a million!

-Original Message-
From: Håkon Hansen [mailto:[EMAIL PROTECTED]] 
Sent: Monday, June 03, 2002 11:23 AM
To: Tomcat Users List
Subject: Re: Tomcat / JBoss / JNDI lookup not working - HELP!


On Mon, 3 Jun 2002 11:48:14 -0500
Miller, Andy [EMAIL PROTECTED] wrote:

 I have seperate instances of Tomcat and JBoss running on the same 
 machine.  I'm trying to do a JNDI lookup of a JMS queue that's 
 configured in JBoss from Tomcat but cannot get it to work.

I have not taken the time to fully analyze your problem, but I have 
had similar problems with JNDI lookups JBoss 3.0 / Tomcat 4.0. 

What I had to do, was to set the initial factory as a System property before creating 
the InitialContext for the first time, like this:

System.setProperty(java.naming.factory.initial, 
org.jnp.interfaces.NamingContextFactory);


Good luck!


Yours, Haakon Hansen, Norway

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat / JBoss / JNDI lookup not working - HELP!

2002-06-03 Thread Håkon Hansen

On Mon, 3 Jun 2002 12:32:11 -0500
Miller, Andy [EMAIL PROTECTED] wrote:

You are very welcome :-)


Yours, Haakon Hansen, Norway

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




tomcat + jboss on debian linux (testing)

2002-05-28 Thread Paul Massey


Hello,

I've been trying to get the tomcat  jboss combination
working properly together for a few days (downloaded from
jboss site). I'm having problems running some of the JBoss
example code which currently gives Exceptions concerning
some of the library files (javax/net/Socket).

I'm sure this is just a configuration problem (I've looked
through a fair number of websites for information). Does
anyone have a pointer to details on installing, setting up,
and configuring the tomcat+jboss combination specifically on
a Debian system?

Yours,

Paul.



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




IIS -- Tomcat -- Jboss

2002-05-16 Thread Dave Finch

Has anyone got an ISAPI filter to work with Tomcat and jBoss to work
together?
 
TIA
 
Dave Finch



Re: IIS -- Tomcat -- Jboss

2002-05-16 Thread Jarvis Ka

Hi Dave,

Have you tried to download the combined version of Tomcat and JBoss?

http://prdownloads.sourceforge.net/jboss/JBoss-2.4.4_Tomcat-4.0.1.zip
or 
http://prdownloads.sourceforge.net/jboss/JBoss-2.4.4_Tomcat-3.2.3.zip

They have a start up file that will automatically bring up both Tomcat and 
JBoss together.

Jarvis


 Has anyone got an ISAPI filter to work with Tomcat and jBoss to work
 together?
  
 TIA
  
 Dave Finch



=
Imagination is more important than knowledge...
-- Albert Einstein (1879 - 1955)
=


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




tomcat jboss

2001-12-04 Thread renyu teng


this is a little bit off the topic, anyway, could
anyone tell me where I could find a useful information
to run tomcat  jboss together? 

thank you.
teng

__
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: tomcat jboss

2001-12-04 Thread Javier Soques

www.jboss.org?

--- renyu teng [EMAIL PROTECTED] wrote:
 
 this is a little bit off the topic, anyway, could
 anyone tell me where I could find a useful
 information
 to run tomcat  jboss together? 
 
 thank you.
 teng
 
 __
 Do You Yahoo!?
 Buy the perfect holiday gifts at Yahoo! Shopping.
 http://shopping.yahoo.com
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: tomcat jboss

2001-12-04 Thread Reynir Hübner

you can download a package of the two and alot of info on it from
www.jboss.org
check it out.

-reynir


-Original Message-
From: renyu teng [mailto:[EMAIL PROTECTED]]
Sent: 4. desember 2001 12:59
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: tomcat  jboss



this is a little bit off the topic, anyway, could
anyone tell me where I could find a useful information
to run tomcat  jboss together? 

thank you.
teng

__
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: tomcat jboss

2001-12-04 Thread renyu teng


--- Javier Soques [EMAIL PROTECTED] wrote:
 www.jboss.org?

Hi,

I have gone through the web site, and I could find any
doc. telling me to how set up the conf. to run both,
and I have down the jboss embedded with tomcat, but it
doesn't even have readme, it is a little bit hard
for me to figure out.

regards
teng

 
 --- renyu teng [EMAIL PROTECTED] wrote:
  
  this is a little bit off the topic, anyway, could
  anyone tell me where I could find a useful
  information
  to run tomcat  jboss together? 
  
  thank you.
  teng
  
  __
  Do You Yahoo!?
  Buy the perfect holiday gifts at Yahoo! Shopping.
  http://shopping.yahoo.com
  
  --
  To unsubscribe:  
 
 mailto:[EMAIL PROTECTED]
  For additional commands:
  mailto:[EMAIL PROTECTED]
  Troubles with the list:
  mailto:[EMAIL PROTECTED]
  
 
 
 __
 Do You Yahoo!?
 Buy the perfect holiday gifts at Yahoo! Shopping.
 http://shopping.yahoo.com
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: tomcat jboss

2001-12-04 Thread Jim Cheesman

At 02:06 PM 04/12/01, you wrote:

--- Javier Soques [EMAIL PROTECTED] wrote:
  www.jboss.org?

Hi,

I have gone through the web site, and I could find any
doc. telling me to how set up the conf. to run both,
and I have down the jboss embedded with tomcat, but it
doesn't even have readme, it is a little bit hard
for me to figure out.


What I did:
1. Get tomcat running separately - configured, understood (more or less...)
2. Get JBoss running separately - configured, understood etc.
3. The JNDI stuff is pretty easy. (See 
http://127.0.0.1:8080/tomcat-docs/jndi-resources-howto.html if you've got 
tomcat up and running.)
4. Ask questions, once the above is done...

I'll admit it took me ages - mainly because of the database configuration 
stuff... don't even dream about doing it using the jdbc:odbc bridge!



I never did try the embedded version - the tomcat they were using was quite 
a few versions behind the latest release at the time.



Jim





--

   *   Jim Cheesman   *
 Trabajo: 
[EMAIL PROTECTED] - (34)(91) 724 9200 x 2360
   If you try and don't succeed, 
cheat. Repeat until caught. Then lie.



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: tomcat jboss

2001-12-04 Thread Cato, Christopher

 What I did:
 1. Get tomcat running separately - configured, understood 
 (more or less...)
 2. Get JBoss running separately - configured, understood etc.
 3. The JNDI stuff is pretty easy. (See 
 http://127.0.0.1:8080/tomcat-docs/jndi-resources-howto.html 
 if you've got 
 tomcat up and running.)
 4. Ask questions, once the above is done...
 
 I'll admit it took me ages - mainly because of the database 
 configuration 
 stuff... don't even dream about doing it using the jdbc:odbc bridge!
 
 I never did try the embedded version - the tomcat they were 
 using was quite 
 a few versions behind the latest release at the time.
 
 
 
 Jim

I've tried the embedded version and it works fine. Except from some XML
parser errors but what the heck... It works...

Chris

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: tomcat jboss

2001-12-04 Thread Janek Bogucki

If you want to use JBoss as an EJB server/container
and access those EJBs from Tomcat have a look here:

http://mikal.org/interests/java/tomcat/archive/view?mesg=48170

 --- renyu teng [EMAIL PROTECTED] wrote:  
 this is a little bit off the topic, anyway, could
 anyone tell me where I could find a useful
 information
 to run tomcat  jboss together? 
 
 thank you.
 teng
 
 __
 Do You Yahoo!?
 Buy the perfect holiday gifts at Yahoo! Shopping.
 http://shopping.yahoo.com
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
  


Nokia 5510 looks weird sounds great. 
Go to http://uk.promotions.yahoo.com/nokia/ discover and win it! 
The competition ends 16 th of December 2001.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




tomcat-jboss error

2001-10-02 Thread Papo Napolitano

I've a webapp running ok, but every time that a made a rebuild of it a got
the following error if I don't restart tomcat server.
Anybody can help ??

Error: 500
Location: /usermanager/index.html
Internal Servlet Error:

java.lang.IllegalStateException: Can't happen - classname is null, who added
this ?
 at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:261)
 at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
 at org.apache.tomcat.core.Handler.service(Handler.java:254)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
 at java.lang.Thread.run(Thread.java:484)

Regards papo




E-mail Chess powered by Tomcat/JBoss

2001-09-26 Thread Paul Rowe

Tomcat ROCKS!  Been using it for eons now and it is SOLID!

http://www.paulrowe.com/game.cgi






My Tomcat-Jboss HOWTO

2001-06-03 Thread Bas Cancrinus

Hi,

As a newbe to Tomcat I've had some difficulties to operate on remote 
EJB's deployed in Jboss from JSP's deployed in Tomcat. Therefore I've 
written a HOWTO and placed it at http://home.planet.nl/~cancr001/
Please review this document and add your comments to this thread.

Thanks,
Bas

-- 
Bas E. Cancrinus[EMAIL PROTECTED]
Product Manager RepTrack (TM)   http://www.reptrack.nl
Developer Cancrinus Search  http://www.csearch.nl





Re: My Tomcat-Jboss HOWTO

2001-06-03 Thread Boris Garbuzov

Thanks, Bas. I found your notes to be very useful. Seems I found a typo
too: x and gocha were probably meant to be the same name. I am the
very novice in all - Tomcat, JBoss and EJB in general. So excuise my
question. If JBoss runs with Tomcat in the same process, I do not have to
copy client libraries into web-apps directory? Boris.



AnEJB x = null;
...
 gocha = home.create();

Bas Cancrinus wrote:

 Hi,

 As a newbe to Tomcat I've had some difficulties to operate on remote
 EJB's deployed in Jboss from JSP's deployed in Tomcat. Therefore I've
 written a HOWTO and placed it at http://home.planet.nl/~cancr001/
 Please review this document and add your comments to this thread.

 Thanks,
 Bas

 --
 Bas E. Cancrinus[EMAIL PROTECTED]
 Product Manager RepTrack (TM)   http://www.reptrack.nl
 Developer Cancrinus Search  http://www.csearch.nl




Re: My Tomcat-Jboss HOWTO

2001-06-03 Thread Bas Cancrinus

Boris Garbuzov wrote:

 Thanks, Bas. I found your notes to be very useful. Seems I found a typo
 too: x and gocha were probably meant to be the same name. I am the
 
You're right: fixed.

 question. If JBoss runs with Tomcat in the same process, I do not have to
 copy client libraries into web-apps directory? Boris.
 
I don't know because I have no experience in native Tomcat-Jboss calls.
I'm sure somebody else on the list can answer your question.

Regards,
Bas

-- 
Bas E. Cancrinus[EMAIL PROTECTED]
Product Manager RepTrack (TM)   http://www.reptrack.nl
Developer Cancrinus Search  http://www.csearch.nl







Apache/Tomcat/JBoss: Where/how to deploy J2EE application?

2001-05-05 Thread David M. Karr

This is probably a simple question if you've already done it, but if you're
trying to deploy a WEB/EJB application in a system using Apache, Tomcat, and
JBoss (all separate), where exactly do you deploy it?  Can you still deploy it
as a single EAR in one place?  Do you have to take any special steps in
configuring either piece?  Or do you have to deploy a WAR with Apache/Tomcat
and an ejb-jar with JBoss?

-- 
===
David M. Karr  ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)




Tomcat+jboss

2001-02-19 Thread zhouhao



how to integrate Tomcat3.2 with jboss, and support 
servlet/jsp,EJB and JMS?


Thanks


Re: Tomcat+jboss

2001-02-19 Thread Gabriel Ciuloaica



from jboss web site you can download a version of 
jboss with tomcat embeded or jetty embeded.

gabi

  - Original Message - 
  From: 
  zhouhao 
  To: [EMAIL PROTECTED] 
  Sent: Sunday, February 20, 2000 4:09 
  AM
  Subject: Tomcat+jboss
  
  how to integrate Tomcat3.2 with jboss, and support 
  servlet/jsp,EJB and JMS?
  
  
  Thanks


RE: Tomcat + Jboss - porting Pet Store

2000-12-08 Thread Parayali, Jayesh 1065
Title: RE: Tomcat + Jboss - porting Pet Store





I checked the code... it says ignore this message.
Check out PoolTcpEndPoint.java


-Original Message-
From: Madhu Narasa [SMTP:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 2:20 PM
To: [EMAIL PROTECTED]
Subject: Tomcat + Jboss - porting Pet Store


I am running Tomcat 3.2 with Jboss and trying to port
the PetStore example (J2EE Sun RI, example).


I am almost done except that I see a lot of
Connection reset errors after every page request.
After searching through the archives, I see others
have had the same problems in different contexts but
there seems to be no solution to the problem.


The dev lists suggest the following (that is being
considered for 3.3 dev)
http://w4.metronet.com/~wjm/tomcat/2000/Jul/msg00910.html


Commenting out the following lines -
sout.write( buffer, 0, bufferCount );
sout.flush();


in the method endHeaders() of HttpResponseAdapter.java


The above fix did eliminate errors of the type -
2000-12-08 11:39:27 - Ctx( /estore ): IOException in:
R( /estore + /template.js + null) Connection reset by
peer: socket write error


but the stack trace reported below continued.


Any help is appreciated.


Thanks,
Madhu



 Complete Stack --
[Tomcat] java.net.SocketException: Connection reset by
peer: socket write error
[Tomcat] at
java.net.SocketOutputStream.socketWrite(Native Method)
[Tomcat] at
java.net.SocketOutputStream.write(SocketOutputStream.java:83)
[Tomcat] at
org.apache.tomcat.service.http.HttpResponseAdapter.doWrite(HttpResponseAdapter.java:164)
[Tomcat] at
org.apache.tomcat.core.BufferedServletOutputStream.doWrite(BufferedServletOutputStream.java:121)
[Tomcat] at
org.apache.tomcat.core.BufferedServletOutputStream.reallyFlush(BufferedServletOutputStream.java:246)
[Tomcat] at
org.apache.tomcat.core.ResponseImpl.flushBuffer(ResponseImpl.java:417)
[Tomcat] at
org.apache.tomcat.facade.HttpServletResponseFacade.flushBuffer(HttpServletResponseFacade.java:295)
[Tomcat] at
org.apache.jasper.runtime.JspWriterImpl.flus(JspWriterImpl.java:209)
[Tomcat] at
_0002fbanner_0002ejspbanner_jsp_3._jspService(_0002fbanner_0002ejspbanner_jsp_3.java:306)
[Tomcat] at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
[Tomcat] at
javax.servlet.http.HttpServlet.servic(HttpServlet.java:853)
[Tomcat] at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
[Tomcat] at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
[Tomcat] at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:
391)
[Tomcat] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[Tomcat] at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
[Tomcat] at
org.apache.tomcat.core.Handler.service(Handler.java:286)
[Tomcat] at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
[Tomcat] at
org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl.java:345)
[Tomcat] at com.sun.estore.taglib.InsertTag.doEndTag(InsertTag.java:67)


__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/





RE: Tomcat + Jboss - porting Pet Store

2000-12-08 Thread Madhu Narasa

From what I gather, the comment -
// TCP stacks can throw SocketExceptions when the 
// client disconnectsso can be ignored.

Addresses the case wherein the browser is closing the
socket (eg. clicking on stop before completion of the
request). 

I am ok with the server throwing an exception in the
above case but throwing an exception for every request
seems like a problem to me.

Regards,
Madhu


--- "Parayali, Jayesh 1065"
[EMAIL PROTECTED] wrote:
 I checked the code... it says ignore this message.
 Check out PoolTcpEndPoint.java
 



__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/



RE: Tomcat + Jboss - porting Pet Store

2000-12-08 Thread Parayali, Jayesh 1065
Title: RE: Tomcat + Jboss - porting Pet Store





this happens even if u just refresh... after completion of the request


-Original Message-
From: Madhu Narasa [SMTP:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 3:32 PM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat + Jboss - porting Pet Store


From what I gather, the comment -
// TCP stacks can throw SocketExceptions when the 
// client disconnectsso can be ignored.


Addresses the case wherein the browser is closing the
socket (eg. clicking on stop before completion of the
request). 


I am ok with the server throwing an exception in the
above case but throwing an exception for every request
seems like a problem to me.


Regards,
Madhu



--- Parayali, Jayesh 1065
[EMAIL PROTECTED] wrote:
 I checked the code... it says ignore this message.
 Check out PoolTcpEndPoint.java





__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/





Tomcat + Jboss - porting Pet Store

2000-12-08 Thread Madhu Narasa

I am running Tomcat 3.2 with Jboss and trying to port
the PetStore example (J2EE Sun RI, example).

I am almost done except that I see a lot of
"Connection reset errors" after every page request.
After searching through the archives, I see others
have had the same problems in different contexts but
there seems to be no solution to the problem.

The dev lists suggest the following (that is being
considered for 3.3 dev)
http://w4.metronet.com/~wjm/tomcat/2000/Jul/msg00910.html

Commenting out the following lines -
sout.write( buffer, 0, bufferCount );
sout.flush();

in the method endHeaders() of HttpResponseAdapter.java

The above fix did eliminate errors of the type -
2000-12-08 11:39:27 - Ctx( /estore ): IOException in:
R( /estore + /template.js + null) Connection reset by
peer: socket write error

but the stack trace reported below continued.

Any help is appreciated.

Thanks,
Madhu


 Complete Stack --
[Tomcat] java.net.SocketException: Connection reset by
peer: socket write error
[Tomcat]at
java.net.SocketOutputStream.socketWrite(Native Method)
[Tomcat]at
java.net.SocketOutputStream.write(SocketOutputStream.java:83)
[Tomcat]at
org.apache.tomcat.service.http.HttpResponseAdapter.doWrite(HttpResponseAdapter.java:164)
[Tomcat]at
org.apache.tomcat.core.BufferedServletOutputStream.doWrite(BufferedServletOutputStream.java:121)
[Tomcat]at
org.apache.tomcat.core.BufferedServletOutputStream.reallyFlush(BufferedServletOutputStream.java:246)
[Tomcat]at
org.apache.tomcat.core.ResponseImpl.flushBuffer(ResponseImpl.java:417)
[Tomcat]at
org.apache.tomcat.facade.HttpServletResponseFacade.flushBuffer(HttpServletResponseFacade.java:295)
[Tomcat]at
org.apache.jasper.runtime.JspWriterImpl.flus(JspWriterImpl.java:209)
[Tomcat]at
_0002fbanner_0002ejspbanner_jsp_3._jspService(_0002fbanner_0002ejspbanner_jsp_3.java:306)
[Tomcat]at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
[Tomcat]at
javax.servlet.http.HttpServlet.servic(HttpServlet.java:853)
[Tomcat]at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
[Tomcat]at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
[Tomcat]at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:
391)
[Tomcat]at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[Tomcat]at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
[Tomcat]at
org.apache.tomcat.core.Handler.service(Handler.java:286)
[Tomcat]at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
[Tomcat]at
org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl.java:345)
[Tomcat]at com.sun.estore.taglib.InsertTag.doEndTag(InsertTag.java:67)

__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/