Re: FW: Issue with tomcat 6 connector
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
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/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
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
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