tomcat402+iplanet4.1

2002-02-28 Thread Thutika, Swamy

Hi All,
  I could succesfully connect iplanet4.1 with tomcat33a with ajp3
connector(on windows nt). I user nsapi_redirector that came is under binary
distribution.

  I am using tomcat as ouofprocess engine.

  But when i do the same thing between tomcat402 and iplanet4.1 , i get the
following errors when accessing examples url from iplanet


**
  [Thu Feb 28 08:51:19 2002]  [jk_connect.c (115)]: jk_open_socket, try to
connect socket = 444
[Thu Feb 28 08:51:21 2002]  [jk_connect.c (124)]: jk_open_socket, after
connect ret = -1
[Thu Feb 28 08:51:21 2002]  [jk_connect.c (143)]: jk_open_socket, connect()
failed errno = 61
[Thu Feb 28 08:51:21 2002]  [jk_ajp13_worker.c (196)]: In
jk_endpoint_t::connect_to_tomcat, failed errno = 61
[Thu Feb 28 08:51:21 2002]  [jk_ajp13_worker.c (635)]: Error connecting to
the Tomcat process.
[Thu Feb 28 08:51:21 2002]  [jk_ajp13_worker.c (848)]: In
jk_endpoint_t::service, send_request failed in send loop 0
[Thu Feb 28 08:51:21 2002]  [jk_connect.c (108)]: Into jk_open_socket
[Thu Feb 28 08:51:21 2002]  [jk_connect.c (115)]: jk_open_socket, try to
connect socket = 452
[Thu Feb 28 08:51:22 2002]  [jk_connect.c (124)]: jk_open_socket, after
connect ret = -1
[Thu Feb 28 08:51:22 2002]  [jk_connect.c (143)]: jk_open_socket, connect()
failed errno = 61
[Thu Feb 28 08:51:22 2002]  [jk_ajp13_worker.c (196)]: In
jk_endpoint_t::connect_to_tomcat, failed errno = 61
[Thu Feb 28 08:51:22 2002]  [jk_ajp13_worker.c (635)]: Error connecting to
the Tomcat process.
[Thu Feb 28 08:51:22 2002]  [jk_ajp13_worker.c (848)]: In
jk_endpoint_t::service, send_request failed in send loop 1
[Thu Feb 28 08:51:22 2002]  [jk_connect.c (108)]: Into jk_open_socket
[Thu Feb 28 08:51:22 2002]  [jk_connect.c (115)]: jk_open_socket, try to
connect socket = 460
[Thu Feb 28 08:51:24 2002]  [jk_connect.c (124)]: jk_open_socket, after
connect ret = -1
[Thu Feb 28 08:51:24 2002]  [jk_connect.c (143)]: jk_open_socket, connect()
failed errno = 61
[Thu Feb 28 08:51:24 2002]  [jk_ajp13_worker.c (196)]: In
jk_endpoint_t::connect_to_tomcat, failed errno = 61
[Thu Feb 28 08:51:24 2002]  [jk_ajp13_worker.c (635)]: Error connecting to
the Tomcat process.
[Thu Feb 28 08:51:24 2002]  [jk_ajp13_worker.c (848)]: In
jk_endpoint_t::service, send_request failed in send loop 2
[Thu Feb 28 08:51:24 2002]  [jk_ajp13_worker.c (549)]: Into
jk_endpoint_t::done





As i didn't find naspi_redirector.dll under tomcat402 binary , i am using
the 33a redirector.

Could somebody help me resolve this?

Thanks in advance,

Swamy

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




RE: tomcat waiting in linux

2002-02-28 Thread Thutika, Swamy

 I used to get the same display when i run the tomcat33a / tomact402. I
removed the
 Apache service set up from server.xml. Everything works fine even after
that.
 My feeling is that the examples erver.xml has this server predfeined within
it.

 HTH,
 Swamy  

-Original Message-
From: John Niven [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 11:32 AM
To: 'Tomcat Users List'
Subject: RE: tomcat waiting in linux


Robert

 -Original Message-
 From: tlug [mailto:[EMAIL PROTECTED]] 
 Sent: 27 February 2002 21:21
 To: [EMAIL PROTECTED]
 Subject: tomcat waiting in linux
 
 I am running
   Java 1.4 from sun for linux
  RedHat 7.2
  and TomCat 4.0.2 from the rpm file
 
 I get the following message on my screen
 Using CATALINA_BASE:   /var/tomcat4
 Using CATALINA_HOME:   /var/tomcat4
 Using CATALINA_TMPDIR: /var/tomcat4/temp
 Using JAVA_HOME:   /usr/java/j2sdk1.4.0
 Starting service Tomcat-Standalone
 Apache Tomcat/4.0.2
 Starting service Tomcat-Apache
 Apache Tomcat/4.0.2
That looks OK to my newbie-ish eyes.  Put another way, that's what I get on
a Windows box, and my setup works OK.

 which looks wrong since I am trying to run it just 
 Standalone.  Does it come pre configured to run with apache?
I'll defer answering that to someone who knows what they're talking about ;)
but like I say, I get the Starting servive Tomcat-Apache lines on my
console at startup.

 I load up Konqueror and goto http://localhost:8080/ and 
 http://127.0.0.1:8080/ which comes back with  cannot connect 
 to localhost port 8080.  Tomcat should work fine with the 
 above verisons right?
You mentioned you installed Tomcat from the RPM?  If so, I think you may
need to use port 8180, not 8080 - check the archives.  Based on the
Starting services... messages above, I think Tomcat is running OK.  I'm
not a *nix person - is there a handy command to list activity on all ports
that you could run?  Check if there's an unusual port active in the 8000's
range.

 Thanks,
 Robert
Hope that helps,
John

--
John Niven
Reply via Mailing List
 

--
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: petstore problem

2001-05-07 Thread Swamy

Yeap. Ran the populate script. 
Also used 'select * from users' to check if the inserts were successful.
Thanks.
Swamy
-Original Message-
From:   Noel E. Lecaros [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, May 07, 2001 4:11 AM
To: [EMAIL PROTECTED]
Subject:Re: petstore problem

HI, Swamy

Did you create the datastore by running the populate script?

Regards,
Noel Lecaros

Swamy wrote:
 
 Hi,
I have been trying to install the pet store implementation. After jumping
 a few hoops this last one has been testing me for a while now. Here is the
 environment :
 j2sdkee1.2.1,
 jdk1.3.0_02,
 Cloudscape_3.6,
 jboss-tomcat-2.2,
 jps1.1.1 and the patch from jboss
 on
 Windows 2000 server.
 
 Here is what I do :
 Step 1 : Start Cloudscape using the script in
 j2sdkee1.2.1\bin\cloudscape.bat -start
 Step 2 : Start jboss using jboss-tomcat-2.2\jboss-2.2\bin\run.bat
 Step 3 : On the browser I try
 http://localhost:8080/estore/control/language?language=English
 This results in a the following exception
 Internal Servlet Error:
 
 java.lang.RuntimeException: NamingException while looking up DB context  :
 EstoreDB not bound
  at
 com.sun.j2ee.blueprints.shoppingcart.catalog.model.CatalogModel.init(Catalog
 Model.java:42)
  at
 com.sun.j2ee.blueprints.petstore.control.web.ModelManager.getCatalogModel(Mo
 delManager.java:84)
  at
 com.sun.j2ee.blueprints.petstore.control.web.ModelManager.init(ModelManager.
 java:60)
  at
 com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainServlet.j
 ava:56)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
  at org.apache.tomcat.core.Handler.service(Handler.java:286)
  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:210)
  at
 org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
  at
 org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
  at java.lang.Thread.run(Thread.java:484)
 Now, if I refresh the screen. I get the first page right but on the console
 from where I started jboss I get this message
 2001-05-06 03:47:46 - ContextManager: JDBCRealm: JDBCRealm.authenticate:
 SELECTuser_pass FROM users WHERE user_name = ?
 2001-05-06 03:47:47 - ContextManager: JDBCRealm: Authentication unsuccessful
 for user null
 
 Thanks in advance.
 Swamy




Re: Help with starting Tomcat

2001-05-06 Thread Swamy



To set the JAVA_HOME golbally you should put the 
set in the autoexec.bat file.
Or you could do it in the command prompt as yopu 
were tring to do. Except add the 'c:\'
set JAVA_HOME=c:\jdk1.3.0_02

And then to run the bat file from the command 
prompt just type startup - no '.bat'

Good luck,
ss

  - Original Message - 
  From: 
  [EMAIL PROTECTED] 
  
  To: [EMAIL PROTECTED] 
  Sent: Sunday, May 06, 2001 2:42 PM
  Subject: Help with starting Tomcat
  Hello. Using 
  Tomcat 3.2.1. I've set the environment variable for TOMCAT_HOME (I 
  think), but I'm not sure how to set the environment variable for 
  JAVA_HOME. My jdk's root directory is installed at the following 
  directory on my W98SE platform: c:\jdk1.3.0_02. Therefore, 
  this is what I did to set the JAVA_HOME environment variable. At the 
  DOS c:\ prompt, I typed: "c:\set JAVA_HOME=jdk1.3.0_02" then pressed 
  enter. Then, when I go to execute "startup.bat" in the tomcat\bin 
  directory, I get the message "invalid command or file". But, when 
  I'm in Windows Exployer and double-click on startup.bat, I get a DOS 
  window message: "You must set JAVA_HOME to point at your Java Development 
  Kit installation". Any help with this is greatly appreciated. 
  


petstore problem

2001-05-06 Thread Swamy

Hi,
   I have been trying to install the pet store implementation. After jumping
a few hoops this last one has been testing me for a while now. Here is the
environment :
j2sdkee1.2.1,
jdk1.3.0_02,
Cloudscape_3.6,
jboss-tomcat-2.2,
jps1.1.1 and the patch from jboss
on
Windows 2000 server.

Here is what I do :
Step 1 : Start Cloudscape using the script in
j2sdkee1.2.1\bin\cloudscape.bat -start
Step 2 : Start jboss using jboss-tomcat-2.2\jboss-2.2\bin\run.bat
Step 3 : On the browser I try
http://localhost:8080/estore/control/language?language=English
This results in a the following exception
Internal Servlet Error:

java.lang.RuntimeException: NamingException while looking up DB context  :
EstoreDB not bound
 at
com.sun.j2ee.blueprints.shoppingcart.catalog.model.CatalogModel.init(Catalog
Model.java:42)
 at
com.sun.j2ee.blueprints.petstore.control.web.ModelManager.getCatalogModel(Mo
delManager.java:84)
 at
com.sun.j2ee.blueprints.petstore.control.web.ModelManager.init(ModelManager.
java:60)
 at
com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainServlet.j
ava:56)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 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:210)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)
Now, if I refresh the screen. I get the first page right but on the console
from where I started jboss I get this message
2001-05-06 03:47:46 - ContextManager: JDBCRealm: JDBCRealm.authenticate:
SELECTuser_pass FROM users WHERE user_name = ?
2001-05-06 03:47:47 - ContextManager: JDBCRealm: Authentication unsuccessful
for user null


Thanks in advance.
Swamy