Re: FW: Issue with tomcat 6 connector

2011-03-22 Thread Krish
Hi All,

I used the inbuild reverse proxy feature in sun java system webserver 7.
This works perfect than the connector. Also very simple.

We can just redirect in UI. Wow. I tried it before but it was having few
issues with sso headers. Now all looks good.

All the pages are loading perfect.

Thanks for all your help.

Regards,
Krish

On Mon, Mar 21, 2011 at 10:12 AM, Krish kris...@gmail.com wrote:

 Hi,

 Can somebody help me with this issue. Appreciate your help or let me know
 what would be the best solution to implement this.

 Thanks.

   On Sun, Mar 20, 2011 at 11:17 PM, Krish kris...@gmail.com wrote:

  Martin,

 Thanks for the email.

 Please find the answers for your questions. Before that this is connector
 between sun one webserevr and Tomcat 6 not websphere.


 a)which OS will you be targetting?
 Windows 2003

 b)which JVM are you implementing?
 Sun Java 1.6

 c)which version Tomcat will you be targetting?
 Tomcat 6.0.20

 d)explain what you want to accomplish
 I am trying to establish a connector between sun java system webserver 7
 and tomcat 6. I used the below documentation to configure
  http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html
 Redirection is working fine but jsp is not serving. that is the only
 problem here. If you could help me in that that would be great.
   On Sun, Mar 20, 2011 at 2:23 PM, Martin Gainty mgai...@hotmail.comwrote:


 From: mgai...@hotmail.com

 To: users@tomcat.apache.org
 Subject: RE: Issue with tomcat 6 connector
 Date: Sun, 20 Mar 2011 08:59:57 -0400

 looks like you're trying to install WebSphere Application Server plugin

 first you want to gain an understanding of how connectors work so you
 should read:

 http://tomcat.apache.org/connectors-doc

 i would suggest one of 2 avenues:
 1)request the functionality you desire be installed to on existing jk
 connector but look at workers.properties and uriworkers.properties
 and determine first if the functionality currently exists to support your
 requirement.
 2)Use the configuration, layout identified by placement of folders and
 files and construct a new connector and build the connector
 on your OS

 a)which OS will you be targetting?
 b)which JVM are you implementing?
 c)which version Tomcat will you be targetting?
 d)explain what you want to accomplish

 cheers,
 Martin
 __
 Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité


 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
 Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
 Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
 dient lediglich dem Austausch von Informationen und entfaltet keine
 rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
 E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

 Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
 destinataire prévu, nous te demandons avec bonté que pour satisfaire 
 informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie 
 de ceci est interdite. Ce message sert à l'information seulement et n'aura 
 pas n'importe quel effet légalement obligatoire. Étant donné que les email 
 peuvent facilement être sujets à la manipulation, nous ne pouvons accepter 
 aucune responsabilité pour le contenu fourni.






  Date: Sat, 19 Mar 2011 21:13:13 -0700
  Subject: Re: Issue with tomcat 6 connector

  From: kris...@gmail.com
  To: mgai...@hotmail.com
  CC: users@tomcat.apache.org

 
  HI Martin,
 
  Thanks for the email.
 
  I hope you require my magus conf. Here you go.
 
  #
  # Copyright (c) 2010, Oracle and/or its affiliates. All rights
 reserved.
  #
  Init fn=load-modules shlib=j2eeplugin.dll
  Init fn=load-modules
  shlib=D:/Agent/144703-01/web_agents/sjsws_agent/lib/ames6.dll
 
 funcs=web_agent_init,validate_session_policy,append_post_data,process_notification
  Init fn=web_agent_init
 
 dsameconfdir=D:/Agent/144703-01/web_agents/sjsws_agent/Agent_002/config
  LateInit=yes
  Init fn=pool-init disable=false
  Init fn=load-modules funcs=jk_init,jk_service shlib=C:/Program
  Files/Oracle/WebServer7/https-dca-app-170/config/nsapi_redirect.dll
  shlib_flags=(global|now)
  Init fn=jk_init worker_file=C:/Program
  Files/Oracle/WebServer7/https-dca-app-170/config/workers.properties
  log_level=debug log_file=C:/Program
  Files/Oracle/WebServer7/https-dca-app-170/logs/nsapi.log
  shm_file=C:/Program
  Files/Oracle/WebServer7/https-dca-app-170/config/logs/jk_shm
 
  Krish
  On Sat, Mar 19, 2011 at 9:03 PM, Martin Gainty mgai...@hotmail.com
 wrote:
 
  
   you're routing jsp to jk-service
   what is jk-service
  
   Martin Gainty
   __
   Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
   Vertraulichkeitanmerkung/Note de déni et de confidentialité
   Ez az
   üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy
   jelentse azt nekünk

Re: FW: Issue with tomcat 6 connector

2011-03-21 Thread Krish
Martin,

Thanks for the email.

Please find the answers for your questions. Before that this is connector
between sun one webserevr and Tomcat 6 not websphere.


a)which OS will you be targetting?
Windows 2003
b)which JVM are you implementing?
Sun Java 1.6
c)which version Tomcat will you be targetting?
Tomcat 6.0.20
d)explain what you want to accomplish
I am trying to establish a connector between sun java system webserver 7 and
tomcat 6. I used the below documentation to configure
http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html
Redirection is working fine but jsp is not serving. that is the only problem
here. If you could help me in that that would be great.
On Sun, Mar 20, 2011 at 2:23 PM, Martin Gainty mgai...@hotmail.com wrote:


 From: mgai...@hotmail.com

 To: users@tomcat.apache.org
 Subject: RE: Issue with tomcat 6 connector
 Date: Sun, 20 Mar 2011 08:59:57 -0400

 looks like you're trying to install WebSphere Application Server plugin

 first you want to gain an understanding of how connectors work so you
 should read:

 http://tomcat.apache.org/connectors-doc

 i would suggest one of 2 avenues:
 1)request the functionality you desire be installed to on existing jk
 connector but look at workers.properties and uriworkers.properties
 and determine first if the functionality currently exists to support your
 requirement.
 2)Use the configuration, layout identified by placement of folders and
 files and construct a new connector and build the connector
 on your OS

 a)which OS will you be targetting?
 b)which JVM are you implementing?
 c)which version Tomcat will you be targetting?
 d)explain what you want to accomplish

 cheers,
 Martin
 __
 Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité


 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
 Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
 Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
 dient lediglich dem Austausch von Informationen und entfaltet keine
 rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
 E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

 Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
 destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
 l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci 
 est interdite. Ce message sert à l'information seulement et n'aura pas 
 n'importe quel effet légalement obligatoire. Étant donné que les email 
 peuvent facilement être sujets à la manipulation, nous ne pouvons accepter 
 aucune responsabilité pour le contenu fourni.






  Date: Sat, 19 Mar 2011 21:13:13 -0700
  Subject: Re: Issue with tomcat 6 connector

  From: kris...@gmail.com
  To: mgai...@hotmail.com
  CC: users@tomcat.apache.org

 
  HI Martin,
 
  Thanks for the email.
 
  I hope you require my magus conf. Here you go.
 
  #
  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  #
  Init fn=load-modules shlib=j2eeplugin.dll
  Init fn=load-modules
  shlib=D:/Agent/144703-01/web_agents/sjsws_agent/lib/ames6.dll
 
 funcs=web_agent_init,validate_session_policy,append_post_data,process_notification
  Init fn=web_agent_init
  dsameconfdir=D:/Agent/144703-01/web_agents/sjsws_agent/Agent_002/config
  LateInit=yes
  Init fn=pool-init disable=false
  Init fn=load-modules funcs=jk_init,jk_service shlib=C:/Program
  Files/Oracle/WebServer7/https-dca-app-170/config/nsapi_redirect.dll
  shlib_flags=(global|now)
  Init fn=jk_init worker_file=C:/Program
  Files/Oracle/WebServer7/https-dca-app-170/config/workers.properties
  log_level=debug log_file=C:/Program
  Files/Oracle/WebServer7/https-dca-app-170/logs/nsapi.log
  shm_file=C:/Program
  Files/Oracle/WebServer7/https-dca-app-170/config/logs/jk_shm
 
  Krish
  On Sat, Mar 19, 2011 at 9:03 PM, Martin Gainty mgai...@hotmail.com
 wrote:
 
  
   you're routing jsp to jk-service
   what is jk-service
  
   Martin Gainty
   __
   Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
   Vertraulichkeitanmerkung/Note de déni et de confidentialité
   Ez az
   üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy
   jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
   készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és
   semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek
   könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
   ezen üzenet tartalma miatt.
  
   Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
   Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede
 unbefugte
   Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese
 Nachricht
   dient lediglich dem Austausch von Informationen und entfaltet keine
   rechtliche Bindungswirkung. Aufgrund

Re: FW: Issue with tomcat 6 connector

2011-03-21 Thread Konstantin Kolinko
2011/3/21 Krish kris...@gmail.com:
 Martin,

 Thanks for the email.

 Please find the answers for your questions. Before that this is connector
 between sun one webserevr and Tomcat 6 not websphere.


 a)which OS will you be targetting?
 Windows 2003
 b)which JVM are you implementing?
 Sun Java 1.6
 c)which version Tomcat will you be targetting?
 Tomcat 6.0.20
 d)explain what you want to accomplish
 I am trying to establish a connector between sun java system webserver 7 and
 tomcat 6. I used the below documentation to configure
 http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

You have:
 NameTrans fn=assign-name from=/*.jsp/ name=jknsapi

According to the examples on the above mentioned page you should not
have trailing / after *.jsp.


BTW, I think that you have seen it:
The file obj.conf seems to be sensitive to leading white space in
lines, especially in the Object element.
(It looks like the two last Object in your conf are intentionally
misconfigured with a typo in ppath attribute name).

 Redirection is working fine but jsp is not serving. that is the only problem
 here. If you could help me in that that would be great.
 On Sun, Mar 20, 2011 at 2:23 PM, Martin Gainty mgai...@hotmail.com wrote:

 --
 Krish


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: FW: Issue with tomcat 6 connector

2011-03-21 Thread Krish
Hi,

Thanks for the reply. I changed the obj.conf as u suggested. Still it is
same.

It is not recognizing any jsp file. It says 404 file not found error. It
only looks for html pages.

Regards,
Krish

On Sun, Mar 20, 2011 at 11:40 PM, Konstantin Kolinko knst.koli...@gmail.com
 wrote:

 2011/3/21 Krish kris...@gmail.com:
  Martin,
 
  Thanks for the email.
 
  Please find the answers for your questions. Before that this is connector
  between sun one webserevr and Tomcat 6 not websphere.
 
 
  a)which OS will you be targetting?
  Windows 2003
  b)which JVM are you implementing?
  Sun Java 1.6
  c)which version Tomcat will you be targetting?
  Tomcat 6.0.20
  d)explain what you want to accomplish
  I am trying to establish a connector between sun java system webserver 7
 and
  tomcat 6. I used the below documentation to configure
  http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

 You have:
  NameTrans fn=assign-name from=/*.jsp/ name=jknsapi

 According to the examples on the above mentioned page you should not
 have trailing / after *.jsp.


 BTW, I think that you have seen it:
 The file obj.conf seems to be sensitive to leading white space in
 lines, especially in the Object element.
 (It looks like the two last Object in your conf are intentionally
 misconfigured with a typo in ppath attribute name).

  Redirection is working fine but jsp is not serving. that is the only
 problem
  here. If you could help me in that that would be great.
  On Sun, Mar 20, 2011 at 2:23 PM, Martin Gainty mgai...@hotmail.com
 wrote:
 
  --
  Krish
  

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-- 
Krish


Re: FW: Issue with tomcat 6 connector

2011-03-21 Thread Krish
Hi,

Can somebody help me with this issue. Appreciate your help or let me know
what would be the best solution to implement this.

Thanks.

On Sun, Mar 20, 2011 at 11:17 PM, Krish kris...@gmail.com wrote:

  Martin,

 Thanks for the email.

 Please find the answers for your questions. Before that this is connector
 between sun one webserevr and Tomcat 6 not websphere.


 a)which OS will you be targetting?
 Windows 2003

 b)which JVM are you implementing?
 Sun Java 1.6

 c)which version Tomcat will you be targetting?
 Tomcat 6.0.20

 d)explain what you want to accomplish
 I am trying to establish a connector between sun java system webserver 7
 and tomcat 6. I used the below documentation to configure
  http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html
 Redirection is working fine but jsp is not serving. that is the only
 problem here. If you could help me in that that would be great.
   On Sun, Mar 20, 2011 at 2:23 PM, Martin Gainty mgai...@hotmail.comwrote:


 From: mgai...@hotmail.com

 To: users@tomcat.apache.org
 Subject: RE: Issue with tomcat 6 connector
 Date: Sun, 20 Mar 2011 08:59:57 -0400

 looks like you're trying to install WebSphere Application Server plugin

 first you want to gain an understanding of how connectors work so you
 should read:

 http://tomcat.apache.org/connectors-doc

 i would suggest one of 2 avenues:
 1)request the functionality you desire be installed to on existing jk
 connector but look at workers.properties and uriworkers.properties
 and determine first if the functionality currently exists to support your
 requirement.
 2)Use the configuration, layout identified by placement of folders and
 files and construct a new connector and build the connector
 on your OS

 a)which OS will you be targetting?
 b)which JVM are you implementing?
 c)which version Tomcat will you be targetting?
 d)explain what you want to accomplish

 cheers,
 Martin
 __
 Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité


 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
 Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
 Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
 dient lediglich dem Austausch von Informationen und entfaltet keine
 rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
 E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

 Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
 destinataire prévu, nous te demandons avec bonté que pour satisfaire 
 informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie 
 de ceci est interdite. Ce message sert à l'information seulement et n'aura 
 pas n'importe quel effet légalement obligatoire. Étant donné que les email 
 peuvent facilement être sujets à la manipulation, nous ne pouvons accepter 
 aucune responsabilité pour le contenu fourni.






  Date: Sat, 19 Mar 2011 21:13:13 -0700
  Subject: Re: Issue with tomcat 6 connector

  From: kris...@gmail.com
  To: mgai...@hotmail.com
  CC: users@tomcat.apache.org

 
  HI Martin,
 
  Thanks for the email.
 
  I hope you require my magus conf. Here you go.
 
  #
  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  #
  Init fn=load-modules shlib=j2eeplugin.dll
  Init fn=load-modules
  shlib=D:/Agent/144703-01/web_agents/sjsws_agent/lib/ames6.dll
 
 funcs=web_agent_init,validate_session_policy,append_post_data,process_notification
  Init fn=web_agent_init
 
 dsameconfdir=D:/Agent/144703-01/web_agents/sjsws_agent/Agent_002/config
  LateInit=yes
  Init fn=pool-init disable=false
  Init fn=load-modules funcs=jk_init,jk_service shlib=C:/Program
  Files/Oracle/WebServer7/https-dca-app-170/config/nsapi_redirect.dll
  shlib_flags=(global|now)
  Init fn=jk_init worker_file=C:/Program
  Files/Oracle/WebServer7/https-dca-app-170/config/workers.properties
  log_level=debug log_file=C:/Program
  Files/Oracle/WebServer7/https-dca-app-170/logs/nsapi.log
  shm_file=C:/Program
  Files/Oracle/WebServer7/https-dca-app-170/config/logs/jk_shm
 
  Krish
  On Sat, Mar 19, 2011 at 9:03 PM, Martin Gainty mgai...@hotmail.com
 wrote:
 
  
   you're routing jsp to jk-service
   what is jk-service
  
   Martin Gainty
   __
   Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
   Vertraulichkeitanmerkung/Note de déni et de confidentialité
   Ez az
   üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy
   jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
   készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és
   semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek
   könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
   ezen üzenet tartalma miatt.
  
   Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
   Empfaenger sein, so bitten wir

Re: Issue with tomcat 6 connector

2011-03-20 Thread Michael Ludwig
Krish schrieb am 19.03.2011 um 17:31 (-0700):

 I am using tomcat 6.0.20. In the frontend i have sun one webserver 7
 using nsapi_redirect-1.2.31 connector.
 
My OS is windows server 2003 32bit.
 
 I am trying to create a connector using the document below.

 http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

 my tomcat is ssl enabled and my sun one webserver 7 is http.

Unrelated, but why would you need SSL in Tomcat when you're fronting it
with Sun One Webserver?

 here is the configuration in obj.conf. I can get the tomcat base html
 pages. But jsp is not working.

Look at this mapping:

 NameTrans fn=assign-name from=/*.jsp/ name=jknsapi

Are you sure it applies to all JSPs? I'd presume it applies only to JSPs
directly beneatht the document root.

-- 
Michael Ludwig

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Issue with tomcat 6 connector

2011-03-20 Thread Krish
Hi Michael,

I can't even access the jsp's under document root as well. Only html's work.


I just followed this documentation. No jsp's work. That is the whole
problem.

Please let me know the correct configuration.

http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

Regards,
Krish




On Sun, Mar 20, 2011 at 1:43 AM, Michael Ludwig mil...@gmx.de wrote:

 Krish schrieb am 19.03.2011 um 17:31 (-0700):

  I am using tomcat 6.0.20. In the frontend i have sun one webserver 7
  using nsapi_redirect-1.2.31 connector.
 
 My OS is windows server 2003 32bit.
 
  I am trying to create a connector using the document below.
 
  http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html
 
  my tomcat is ssl enabled and my sun one webserver 7 is http.

 Unrelated, but why would you need SSL in Tomcat when you're fronting it
 with Sun One Webserver?

  here is the configuration in obj.conf. I can get the tomcat base html
  pages. But jsp is not working.

 Look at this mapping:

  NameTrans fn=assign-name from=/*.jsp/ name=jknsapi

 Are you sure it applies to all JSPs? I'd presume it applies only to JSPs
 directly beneatht the document root.

 --
 Michael Ludwig

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-- 
Krish


Re: Issue with tomcat 6 connector

2011-03-20 Thread André Warnier
Probably in some way, the same ever recurring issue of allowing Apache to bypass Tomcat 
and get to the JSP pages directly.




Krish wrote:

Hi Michael,

I can't even access the jsp's under document root as well. Only html's work.


I just followed this documentation. No jsp's work. That is the whole
problem.

Please let me know the correct configuration.

http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

Regards,
Krish




On Sun, Mar 20, 2011 at 1:43 AM, Michael Ludwig mil...@gmx.de wrote:


Krish schrieb am 19.03.2011 um 17:31 (-0700):


I am using tomcat 6.0.20. In the frontend i have sun one webserver 7
using nsapi_redirect-1.2.31 connector.

   My OS is windows server 2003 32bit.

I am trying to create a connector using the document below.

http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

my tomcat is ssl enabled and my sun one webserver 7 is http.

Unrelated, but why would you need SSL in Tomcat when you're fronting it
with Sun One Webserver?


here is the configuration in obj.conf. I can get the tomcat base html
pages. But jsp is not working.

Look at this mapping:


NameTrans fn=assign-name from=/*.jsp/ name=jknsapi

Are you sure it applies to all JSPs? I'd presume it applies only to JSPs
directly beneatht the document root.

--
Michael Ludwig

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org








-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Issue with tomcat 6 connector

2011-03-20 Thread Krish
Hi,

I am not able to get you. i am not using any apache here.

Regards,
Krish

On Sun, Mar 20, 2011 at 4:14 AM, André Warnier a...@ice-sa.com wrote:

 Probably in some way, the same ever recurring issue of allowing Apache to
 bypass Tomcat and get to the JSP pages directly.




 Krish wrote:

 Hi Michael,

 I can't even access the jsp's under document root as well. Only html's
 work.


 I just followed this documentation. No jsp's work. That is the whole
 problem.

 Please let me know the correct configuration.

 http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

 Regards,
 Krish




 On Sun, Mar 20, 2011 at 1:43 AM, Michael Ludwig mil...@gmx.de wrote:

 Krish schrieb am 19.03.2011 um 17:31 (-0700):

 I am using tomcat 6.0.20. In the frontend i have sun one webserver 7
 using nsapi_redirect-1.2.31 connector.

   My OS is windows server 2003 32bit.

 I am trying to create a connector using the document below.

 http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

 my tomcat is ssl enabled and my sun one webserver 7 is http.

 Unrelated, but why would you need SSL in Tomcat when you're fronting it
 with Sun One Webserver?

 here is the configuration in obj.conf. I can get the tomcat base html
 pages. But jsp is not working.

 Look at this mapping:

 NameTrans fn=assign-name from=/*.jsp/ name=jknsapi

 Are you sure it applies to all JSPs? I'd presume it applies only to JSPs
 directly beneatht the document root.

 --
 Michael Ludwig

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org






 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-- 
Krish


Re: Issue with tomcat 6 connector

2011-03-20 Thread André Warnier

Krish wrote:

Hi,

I am not able to get you. i am not using any apache here.


Sorry, I should have said front-end webserver.

I do not know the Sun webserver nor the nsapi connector per se, but I was referring to a 
common source of problems which consists of giving the front-end webserver direct access 
to the (tomcat) directory which houses the JSP pages for example, *without* going through 
the connector.





Regards,
Krish

On Sun, Mar 20, 2011 at 4:14 AM, André Warnier a...@ice-sa.com wrote:


Probably in some way, the same ever recurring issue of allowing Apache to
bypass Tomcat and get to the JSP pages directly.




Krish wrote:


Hi Michael,

I can't even access the jsp's under document root as well. Only html's
work.


I just followed this documentation. No jsp's work. That is the whole
problem.

Please let me know the correct configuration.

http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

Regards,
Krish




On Sun, Mar 20, 2011 at 1:43 AM, Michael Ludwig mil...@gmx.de wrote:

Krish schrieb am 19.03.2011 um 17:31 (-0700):

I am using tomcat 6.0.20. In the frontend i have sun one webserver 7

using nsapi_redirect-1.2.31 connector.

  My OS is windows server 2003 32bit.

I am trying to create a connector using the document below.

http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

my tomcat is ssl enabled and my sun one webserver 7 is http.


Unrelated, but why would you need SSL in Tomcat when you're fronting it
with Sun One Webserver?

here is the configuration in obj.conf. I can get the tomcat base html

pages. But jsp is not working.


Look at this mapping:

NameTrans fn=assign-name from=/*.jsp/ name=jknsapi
Are you sure it applies to all JSPs? I'd presume it applies only to JSPs
directly beneatht the document root.

--
Michael Ludwig

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org








-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Issue with tomcat 6 connector

2011-03-19 Thread Krish

 Hi,

 I am using tomcat 6.0.20. In the frontend i have sun one webserver 7 using
 nsapi_redirect-1.2.31 connector.


   My OS is windows server 2003 32bit.


 I am trying to create a connector using the document below.

 http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

 my tomcat is ssl enabled and my sun one webserver 7 is http.

 here is the configuration in obj.conf. I can get the tomcat base html
 pages. But jsp is not working.

 Appreciate your help in this.


 #

 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.

 #

 # You can edit this file, but comments and formatting changes

 # might be lost when you use the administration GUI or CLI.

 Object name=default

 AuthTrans fn=match-browser browser=*MSIE* ssl-unclean-shutdown=true

 NameTrans fn=ntrans-j2ee name=j2ee

 NameTrans fn=pfx2dir from=/mc-icons dir=C:/Program
 Files/Oracle/WebServer7/lib/icons name=es-internal

 NameTrans fn=assign-name from=/* name=jknsapi

 NameTrans fn=assign-name from=/*.jsp/ name=jknsapi

 NameTrans fn=assign-name from=/servlet/* name=jknsapi

 NameTrans fn=assign-name from=/twpoc/* name=jknsapi

 PathCheck fn=uri-clean

 PathCheck fn=check-acl acl=default

 PathCheck fn=find-pathinfo

 PathCheck fn=find-index-j2ee

 PathCheck fn=find-index index-names=index.html,index.jsp,home.html

 PathCheck fn=validate_session_policy

 ObjectType fn=type-j2ee

 ObjectType fn=type-by-extension

 ObjectType fn=force-type type=text/plain

 Service method=(GET|HEAD) type=magnus-internal/directory
 fn=index-common

 Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file

 Service method=TRACE fn=service-trace

 Error fn=error-j2ee

 AddLog fn=flex-log

 /Object

 Object name=j2ee

 Service fn=service-j2ee method=*

 /Object

 Object name=es-internal

 PathCheck fn=check-acl acl=es-internal

 /Object

 Object name=cgi

 ObjectType fn=force-type type=magnus-internal/cgi

 Service fn=send-cgi

 /Object

 Object name=jknsapi

 ObjectType fn=force-type type=text/plain

 Service fn=jk_service method=* worker=worker1

 /Object

 Object name=send-precompressed

 PathCheck fn=find-compressed

 /Object

 Object name=compress-on-demand

 Output fn=insert-filter filter=http-compression

 /Object

  Object ppath=*/dummypost/sunpostpreserve*

 Service type=text/* method=(GET|POST) fn=append_post_data

 /Object

 Object ppath=*/UpdateAgentCacheServlet*

 Service type=text/* method=(POST) fn=process_notification

 /Object

 Thanks



RE: Issue with tomcat 6 connector

2011-03-19 Thread Martin Gainty

you're routing jsp to jk-service 
what is jk-service

Martin Gainty 
__ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




 Date: Sat, 19 Mar 2011 17:31:35 -0700
 Subject: Issue with tomcat 6 connector
 From: kris...@gmail.com
 To: users@tomcat.apache.org
 
 
  Hi,
 
  I am using tomcat 6.0.20. In the frontend i have sun one webserver 7 using
  nsapi_redirect-1.2.31 connector.
 
 
My OS is windows server 2003 32bit.
 
 
  I am trying to create a connector using the document below.
 
  http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html
 
  my tomcat is ssl enabled and my sun one webserver 7 is http.
 
  here is the configuration in obj.conf. I can get the tomcat base html
  pages. But jsp is not working.
 
  Appreciate your help in this.
 
 
  #
 
  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
 
  #
 
  # You can edit this file, but comments and formatting changes
 
  # might be lost when you use the administration GUI or CLI.
 
  Object name=default
 
  AuthTrans fn=match-browser browser=*MSIE* ssl-unclean-shutdown=true
 
  NameTrans fn=ntrans-j2ee name=j2ee
 
  NameTrans fn=pfx2dir from=/mc-icons dir=C:/Program
  Files/Oracle/WebServer7/lib/icons name=es-internal
 
  NameTrans fn=assign-name from=/* name=jknsapi
 
  NameTrans fn=assign-name from=/*.jsp/ name=jknsapi
 
  NameTrans fn=assign-name from=/servlet/* name=jknsapi
 
  NameTrans fn=assign-name from=/twpoc/* name=jknsapi
 
  PathCheck fn=uri-clean
 
  PathCheck fn=check-acl acl=default
 
  PathCheck fn=find-pathinfo
 
  PathCheck fn=find-index-j2ee
 
  PathCheck fn=find-index index-names=index.html,index.jsp,home.html
 
  PathCheck fn=validate_session_policy
 
  ObjectType fn=type-j2ee
 
  ObjectType fn=type-by-extension
 
  ObjectType fn=force-type type=text/plain
 
  Service method=(GET|HEAD) type=magnus-internal/directory
  fn=index-common
 
  Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file
 
  Service method=TRACE fn=service-trace
 
  Error fn=error-j2ee
 
  AddLog fn=flex-log
 
  /Object
 
  Object name=j2ee
 
  Service fn=service-j2ee method=*
 
  /Object
 
  Object name=es-internal
 
  PathCheck fn=check-acl acl=es-internal
 
  /Object
 
  Object name=cgi
 
  ObjectType fn=force-type type=magnus-internal/cgi
 
  Service fn=send-cgi
 
  /Object
 
  Object name=jknsapi
 
  ObjectType fn=force-type type=text/plain
 
  Service fn=jk_service method=* worker=worker1
 
  /Object
 
  Object name=send-precompressed
 
  PathCheck fn=find-compressed
 
  /Object
 
  Object name=compress-on-demand
 
  Output fn=insert-filter filter=http-compression
 
  /Object
 
   Object ppath=*/dummypost/sunpostpreserve*
 
  Service type=text/* method=(GET|POST) fn=append_post_data
 
  /Object
 
  Object ppath=*/UpdateAgentCacheServlet*
 
  Service type=text/* method=(POST) fn=process_notification
 
  /Object
 
  Thanks
 
  

Re: Issue with tomcat 6 connector

2011-03-19 Thread Krish
HI Martin,

Thanks for the email.

I hope you require my magus conf. Here you go.

#
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
#
Init fn=load-modules shlib=j2eeplugin.dll
Init fn=load-modules
shlib=D:/Agent/144703-01/web_agents/sjsws_agent/lib/ames6.dll
funcs=web_agent_init,validate_session_policy,append_post_data,process_notification
Init fn=web_agent_init
dsameconfdir=D:/Agent/144703-01/web_agents/sjsws_agent/Agent_002/config
LateInit=yes
Init fn=pool-init disable=false
Init fn=load-modules funcs=jk_init,jk_service shlib=C:/Program
Files/Oracle/WebServer7/https-dca-app-170/config/nsapi_redirect.dll
shlib_flags=(global|now)
Init fn=jk_init worker_file=C:/Program
Files/Oracle/WebServer7/https-dca-app-170/config/workers.properties
log_level=debug log_file=C:/Program
Files/Oracle/WebServer7/https-dca-app-170/logs/nsapi.log
shm_file=C:/Program
Files/Oracle/WebServer7/https-dca-app-170/config/logs/jk_shm

Krish
On Sat, Mar 19, 2011 at 9:03 PM, Martin Gainty mgai...@hotmail.com wrote:


 you're routing jsp to jk-service
 what is jk-service

 Martin Gainty
 __
 Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
 Vertraulichkeitanmerkung/Note de déni et de confidentialité
  Ez az
 üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
 jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
 készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
 semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
 könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
 ezen üzenet tartalma miatt.

 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
 Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
 Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
 dient lediglich dem Austausch von Informationen und entfaltet keine
 rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
 E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
 Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
 destinataire prévu, nous te demandons avec bonté que pour satisfaire
 informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
 de ceci est interdite. Ce message sert à l'information seulement et n'aura
 pas n'importe quel effet légalement obligatoire. Étant donné que les email
 peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
 aucune responsabilité pour le contenu fourni.




  Date: Sat, 19 Mar 2011 17:31:35 -0700
  Subject: Issue with tomcat 6 connector
  From: kris...@gmail.com
  To: users@tomcat.apache.org
 
  
Hi,
  
   I am using tomcat 6.0.20. In the frontend i have sun one webserver 7
 using
   nsapi_redirect-1.2.31 connector.
  
 
 My OS is windows server 2003 32bit.
 
  
   I am trying to create a connector using the document below.
  
   http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html
  
   my tomcat is ssl enabled and my sun one webserver 7 is http.
  
   here is the configuration in obj.conf. I can get the tomcat base html
   pages. But jsp is not working.
  
   Appreciate your help in this.
  
  
   #
  
   # Copyright (c) 2010, Oracle and/or its affiliates. All rights
 reserved.
  
   #
  
   # You can edit this file, but comments and formatting changes
  
   # might be lost when you use the administration GUI or CLI.
  
   Object name=default
  
   AuthTrans fn=match-browser browser=*MSIE*
 ssl-unclean-shutdown=true
  
   NameTrans fn=ntrans-j2ee name=j2ee
  
   NameTrans fn=pfx2dir from=/mc-icons dir=C:/Program
   Files/Oracle/WebServer7/lib/icons name=es-internal
  
   NameTrans fn=assign-name from=/* name=jknsapi
  
   NameTrans fn=assign-name from=/*.jsp/ name=jknsapi
  
   NameTrans fn=assign-name from=/servlet/* name=jknsapi
  
   NameTrans fn=assign-name from=/twpoc/* name=jknsapi
  
   PathCheck fn=uri-clean
  
   PathCheck fn=check-acl acl=default
  
   PathCheck fn=find-pathinfo
  
   PathCheck fn=find-index-j2ee
  
   PathCheck fn=find-index index-names=index.html,index.jsp,home.html
  
   PathCheck fn=validate_session_policy
  
   ObjectType fn=type-j2ee
  
   ObjectType fn=type-by-extension
  
   ObjectType fn=force-type type=text/plain
  
   Service method=(GET|HEAD) type=magnus-internal/directory
   fn=index-common
  
   Service method=(GET|HEAD|POST) type=*~magnus-internal/*
 fn=send-file
  
   Service method=TRACE fn=service-trace
  
   Error fn=error-j2ee
  
   AddLog fn=flex-log
  
   /Object
  
   Object name=j2ee
  
   Service fn=service-j2ee method=*
  
   /Object
  
   Object name=es-internal
  
   PathCheck fn=check-acl acl=es-internal
  
   /Object
  
   Object name=cgi
  
   ObjectType fn=force-type type=magnus-internal/cgi
  
   Service fn=send-cgi
  
   /Object
  
   Object name=jknsapi
  
   ObjectType fn=force-type type=text/plain
  
   Service fn=jk_service method=* worker