RE: startup parameters in tomcat on windows 2000 server
Tomcat uses commons daemon to run as a service. tomcat5w.exe is really prunmgr.exe and tomcat5.exe is prunsrv.exe Instructions for configuring prunmgr.exe and prunsrv.exe are here: http://jakarta.apache.org/commons/daemon/procrun.html Robert The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
startup parameters in tomcat on windows 2000 server
Hi how do i pass startup parameters when starting tomcat as service in windows 2000 server, what i have to pass is as below -Dsun.io.useCanonCaches=false -Djava.security.auth.login.config=%CATALINA_HOME%\conf\login.conf When i add this to catalina.bat file and start as c:\tomcat5.0.28\bin\catalina start from command line it works fine, but when i start it from windows services it does not read those parameters, Where do i put these parameters so they get picked when tomcat starts from windows services Ashish __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory
Hi Greg, hi David! Sure, there is anoter factory you could use: The tomcat-built-in datasource factory. Unfortunately I do not know the classname of this factory, but I think it is somewhere in the library naming-factory-dbcp.jar which is located in common/lib. (The Tomcat-guys didn't want to add the complete jakarta-commons-pool and jakarta-commons-dbcp libraries because most of the classes inside these libraries are not needed by tomcat. So they extracted the required classes only and repacked them thogether with some other classes into naming-factory-dbcp.jar. To avoid confusions and errors, they also modified the package names - thats why you get a ClassNotFoundException when you configure the JNDI-context to use the org.apache.commons.dbcp.BasicDataSourceFactory). But I'm not sure if it is a good idea to extend one of those tomcat-internal datasource factories! This would REALLY tie your code close to tomcat! Apart from that: If you implement/extend an existing DataSource factory, you have to put your implementation inside the common/classes directory - otherwise tomcat won't find it when it initializes the JNDI-context! So why not put the commons-pool and commons-dbcp jars into common/lib too? So my suggestion: Extend BasicDataSourceFactory from commons-dbcp and put the two jars mentioned above into common/lib. Best regards, Tex Greg Guerin schrieb: Hi David, Mario, We actually specify the factory parameter because we extend the BasicDataSourceFactory so we can encrypt passwords in the resource definition. My question is: Is there already a way to do that using another factory I'm unaware of? It works fine, but we have to include the jars that Mario mentioned and it'd be nice to not have to tie our code that close to the container. Greg -Original Message- From: Mario Winterer [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 4:37 PM To: Tomcat Users List Subject: Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi David! I think, you do not need to explicitely define a bean factory because Tomcat 5 automatically uses dbcp for JNDI-DataSources (I think tomcat looks at the type of resource - in your case a javax.sql.DataSource - and uses the tomcat-internal dbcp-factory). In my project, I've configured a JNDI-DataSource using the Oracle thin driver and it works perfectly without specifying a bean factory and without adding any special libraries to my tomcat installation (apart from the oracle database driver which is in commons/lib). So try the following configuration: Resource name=jdbc/as400 auth=Container type=javax.sql.DataSource maxActive=20 maxIdle=10 maxWait=-1 removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true driverClassName=com.ibm.as400.access.AS400JDBCDriver url=jdbc:as400://a53pb3;naming=system;libraries=,pgmdbt,caelib;errors=full username=userid password=password / Again: You do not need any additional commons-libraries! Best regards, Tex Hi Mario, Thanks for getting back to me. Below is the context I set up. After doing my own digging, I realized I was missing some jakarta commons jar files. After getting these jars and restarting Tomcat the ClassNotFoundExceptions went away. What I find really puzzling though is why I didn't get the same ClassNotFoundException on my local machine that was running the same version of Tomcat but on Windows XP profession. Context debug=0 privileged=true !-- the jdbc driver's jar needs to go into $CATALINA_HOME/common/lib -- Resource name=jdbc/as400 auth=Container type=javax.sql.DataSource factory=org.apache.commons.dbcp.BasicDataSourceFactory maxActive=20 maxIdle=10 maxWait=-1 removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true driverClassName=com.ibm.as400.access.AS400JDBCDriver url=jdbc:as400://a53pb3;naming=system;libraries=,pgmdbt,caelib;errors=full username=userid password=password/ /Context Mario Winterer [EMAIL PROTECTED] 02/02/2005 07:19 PM Please respond to Tomcat Users List tomcat-user@jakarta.apache.org To Tomcat Users List tomcat-user@jakarta.apache.org cc Subject Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi! How did you define your JDBC DataSource? As far as I know, the original jakarta-commons-dbcp and jakarta-commons-pool-libraries are not included with Tomcat. Instead, just a subset of the required classes with modified package names (starting with 'org.apache.tomcat.dbcp') are packed in 'naming-factory-dbcp.jar' that can be found in commons/lib. But if you configure your JDBC DataSource correctly, this should not bother. Please post your resource-configuration! Best regards, Tex I'm running Tomcat 5.5.4 on Windows 2000 Server and encountered
RE: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory
Hi all, Most of the examples I've come across specify the factory parameter. And, after rereading the Tomcat docs, those additional three commons jar files are needed. I too, have gotten the datasource to work when I didn't specify the factory parameter, but my impression right now is that it's not pooling the datasources/connections when you don't specify it. Is there a way to see that Tomcat is actually pooling these connections/datasources? Greg Guerin [EMAIL PROTECTED] 02/03/2005 04:51 PM Please respond to Tomcat Users List tomcat-user@jakarta.apache.org To 'Tomcat Users List' tomcat-user@jakarta.apache.org cc Subject RE: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi David, Mario, We actually specify the factory parameter because we extend the BasicDataSourceFactory so we can encrypt passwords in the resource definition. My question is: Is there already a way to do that using another factory I'm unaware of? It works fine, but we have to include the jars that Mario mentioned and it'd be nice to not have to tie our code that close to the container. Greg -Original Message- From: Mario Winterer [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 4:37 PM To: Tomcat Users List Subject: Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi David! I think, you do not need to explicitely define a bean factory because Tomcat 5 automatically uses dbcp for JNDI-DataSources (I think tomcat looks at the type of resource - in your case a javax.sql.DataSource - and uses the tomcat-internal dbcp-factory). In my project, I've configured a JNDI-DataSource using the Oracle thin driver and it works perfectly without specifying a bean factory and without adding any special libraries to my tomcat installation (apart from the oracle database driver which is in commons/lib). So try the following configuration: Resource name=jdbc/as400 auth=Container type=javax.sql.DataSource maxActive=20 maxIdle=10 maxWait=-1 removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true driverClassName=com.ibm.as400.access.AS400JDBCDriver url=""> username=userid password=password / Again: You do not need any additional commons-libraries! Best regards, Tex Hi Mario, Thanks for getting back to me. Below is the context I set up. After doing my own digging, I realized I was missing some jakarta commons jar files. After getting these jars and restarting Tomcat the ClassNotFoundExceptions went away. What I find really puzzling though is why I didn't get the same ClassNotFoundException on my local machine that was running the same version of Tomcat but on Windows XP profession. Context debug=0 privileged=true !-- the jdbc driver's jar needs to go into $CATALINA_HOME/common/lib -- Resource name=jdbc/as400 auth=Container type=javax.sql.DataSource factory=org.apache.commons.dbcp.BasicDataSourceFactory maxActive=20 maxIdle=10 maxWait=-1 removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true driverClassName=com.ibm.as400.access.AS400JDBCDriver url=""> username=userid password=password/ /Context Mario Winterer [EMAIL PROTECTED] 02/02/2005 07:19 PM Please respond to Tomcat Users List tomcat-user@jakarta.apache.org To Tomcat Users List tomcat-user@jakarta.apache.org cc Subject Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi! How did you define your JDBC DataSource? As far as I know, the original jakarta-commons-dbcp and jakarta-commons-pool-libraries are not included with Tomcat. Instead, just a subset of the required classes with modified package names (starting with 'org.apache.tomcat.dbcp') are packed in 'naming-factory-dbcp.jar' that can be found in commons/lib. But if you configure your JDBC DataSource correctly, this should not bother. Please post your resource-configuration! Best regards, Tex I'm running Tomcat 5.5.4 on Windows 2000 Server and encountered the below error on Tomcat startup: Feb 2, 2005 10:50:49 AM org.apache.catalina.core.NamingContextListener addResource WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory, ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory My webapp uses JDBC DataSource's and the BasicDataSourceFactory for pooling so this problem of ClassNotFoundException is causing my webapp to not work properly. I have Tomcat 5.5.4 also installed on my local maching which has Windows XP on it, and there is absolutely no problem on startup and and my webapp. Does anyone no what's happening here? Why does Tomcat register the BasicDataSourceFactory with no problems in Tomcat 5.5.4 on Windows XP and
Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory
Look at your database. There should be at least the pool size of connections open when there is no activity. Whether or not you specify the factory depends on the factory being used. If it is a standard factory in Tomcat that Tomcat is already aware of, it is not needed. But if you use a set of drivers that use a different or special factory you will need to call it out. This information is in the docs but is a little scattered. Read all the pages on jndi, jdbc and global resources. Including: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html The other simple answer is what code are you using? If you are calling the DriverManager then no, but if you are calling DataSource ds = (DataSource) ctx.lookup(java:comp/env/jdbc/myDB); or similar then you are using Tomcats built in pooling. Otherwise you would get an error. Doug - Original Message - From: DAVID TURNER [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Friday, February 04, 2005 8:19 AM Subject: RE: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi all, Most of the examples I've come across specify the factory parameter. And, after rereading the Tomcat docs, those additional three commons jar files are needed. I too, have gotten the datasource to work when I didn't specify the factory parameter, but my impression right now is that it's not pooling the datasources/connections when you don't specify it. Is there a way to see that Tomcat is actually pooling these connections/datasources? Greg Guerin [EMAIL PROTECTED] 02/03/2005 04:51 PM Please respond to Tomcat Users List tomcat-user@jakarta.apache.org To 'Tomcat Users List' tomcat-user@jakarta.apache.org cc Subject RE: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi David, Mario, We actually specify the factory parameter because we extend the BasicDataSourceFactory so we can encrypt passwords in the resource definition. My question is: Is there already a way to do that using another factory I'm unaware of? It works fine, but we have to include the jars that Mario mentioned and it'd be nice to not have to tie our code that close to the container. Greg -Original Message- From: Mario Winterer [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 4:37 PM To: Tomcat Users List Subject: Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi David! I think, you do not need to explicitely define a bean factory because Tomcat 5 automatically uses dbcp for JNDI-DataSources (I think tomcat looks at the type of resource - in your case a javax.sql.DataSource - and uses the tomcat-internal dbcp-factory). In my project, I've configured a JNDI-DataSource using the Oracle thin driver and it works perfectly without specifying a bean factory and without adding any special libraries to my tomcat installation (apart from the oracle database driver which is in commons/lib). So try the following configuration: Resource name=jdbc/as400 auth=Container type=javax.sql.DataSource maxActive=20 maxIdle=10 maxWait=-1 removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true driverClassName=com.ibm.as400.access.AS400JDBCDriver url=jdbc:as400://a53pb3;naming=system;libraries=,pgmdbt,caelib;errors=full username=userid password=password / Again: You do not need any additional commons-libraries! Best regards, Tex Hi Mario, Thanks for getting back to me. Below is the context I set up. After doing my own digging, I realized I was missing some jakarta commons jar files. After getting these jars and restarting Tomcat the ClassNotFoundExceptions went away. What I find really puzzling though is why I didn't get the same ClassNotFoundException on my local machine that was running the same version of Tomcat but on Windows XP profession. Context debug=0 privileged=true !-- the jdbc driver's jar needs to go into $CATALINA_HOME/common/lib -- Resource name=jdbc/as400 auth=Container type=javax.sql.DataSource factory=org.apache.commons.dbcp.BasicDataSourceFactory maxActive=20 maxIdle=10 maxWait=-1 removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true driverClassName=com.ibm.as400.access.AS400JDBCDriver url=jdbc:as400://a53pb3;naming=system;libraries=,pgmdbt,caelib;errors=full username=userid password=password/ /Context Mario Winterer [EMAIL PROTECTED] 02/02/2005 07:19 PM Please respond to Tomcat Users List tomcat-user@jakarta.apache.org To Tomcat Users List tomcat-user@jakarta.apache.org cc Subject Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi! How did you define your JDBC DataSource? As far as I know, the original jakarta
Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory
Hi Mario, Thanks for getting back to me. Below is the context I set up. After doing my own digging, I realized I was missing some jakarta commons jar files. After getting these jars and restarting Tomcat the ClassNotFoundExceptions went away. What I find really puzzling though is why I didn't get the same ClassNotFoundException on my local machine that was running the same version of Tomcat but on Windows XP profession. Context debug=0 privileged=true !-- the jdbc driver's jar needs to go into $CATALINA_HOME/common/lib -- Resource name=jdbc/as400 auth=Container type=javax.sql.DataSource factory=org.apache.commons.dbcp.BasicDataSourceFactory maxActive=20 maxIdle=10 maxWait=-1 removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true driverClassName=com.ibm.as400.access.AS400JDBCDriver url=jdbc:as400://a53pb3;naming=system;libraries=,pgmdbt,caelib;errors=full username=userid password=password/ /Context Mario Winterer [EMAIL PROTECTED] 02/02/2005 07:19 PM Please respond to Tomcat Users List tomcat-user@jakarta.apache.org To Tomcat Users List tomcat-user@jakarta.apache.org cc Subject Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi! How did you define your JDBC DataSource? As far as I know, the original jakarta-commons-dbcp and jakarta-commons-pool-libraries are not included with Tomcat. Instead, just a subset of the required classes with modified package names (starting with 'org.apache.tomcat.dbcp') are packed in 'naming-factory-dbcp.jar' that can be found in commons/lib. But if you configure your JDBC DataSource correctly, this should not bother. Please post your resource-configuration! Best regards, Tex I'm running Tomcat 5.5.4 on Windows 2000 Server and encountered the below error on Tomcat startup: Feb 2, 2005 10:50:49 AM org.apache.catalina.core.NamingContextListener addResource WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory, ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory My webapp uses JDBC DataSource's and the BasicDataSourceFactory for pooling so this problem of ClassNotFoundException is causing my webapp to not work properly. I have Tomcat 5.5.4 also installed on my local maching which has Windows XP on it, and there is absolutely no problem on startup and and my webapp. Does anyone no what's happening here? Why does Tomcat register the BasicDataSourceFactory with no problems in Tomcat 5.5.4 on Windows XP and not on Windows 2000 Server? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory
Hi David! I think, you do not need to explicitely define a bean factory because Tomcat 5 automatically uses dbcp for JNDI-DataSources (I think tomcat looks at the type of resource - in your case a javax.sql.DataSource - and uses the tomcat-internal dbcp-factory). In my project, I've configured a JNDI-DataSource using the Oracle thin driver and it works perfectly without specifying a bean factory and without adding any special libraries to my tomcat installation (apart from the oracle database driver which is in commons/lib). So try the following configuration: Resource name=jdbc/as400 auth=Container type=javax.sql.DataSource maxActive=20 maxIdle=10 maxWait=-1 removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true driverClassName=com.ibm.as400.access.AS400JDBCDriver url=jdbc:as400://a53pb3;naming=system;libraries=,pgmdbt,caelib;errors=full username=userid password=password / Again: You do not need any additional commons-libraries! Best regards, Tex Hi Mario, Thanks for getting back to me. Below is the context I set up. After doing my own digging, I realized I was missing some jakarta commons jar files. After getting these jars and restarting Tomcat the ClassNotFoundExceptions went away. What I find really puzzling though is why I didn't get the same ClassNotFoundException on my local machine that was running the same version of Tomcat but on Windows XP profession. Context debug=0 privileged=true !-- the jdbc driver's jar needs to go into $CATALINA_HOME/common/lib -- Resource name=jdbc/as400 auth=Container type=javax.sql.DataSource factory=org.apache.commons.dbcp.BasicDataSourceFactory maxActive=20 maxIdle=10 maxWait=-1 removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true driverClassName=com.ibm.as400.access.AS400JDBCDriver url=jdbc:as400://a53pb3;naming=system;libraries=,pgmdbt,caelib;errors=full username=userid password=password/ /Context Mario Winterer [EMAIL PROTECTED] 02/02/2005 07:19 PM Please respond to Tomcat Users List tomcat-user@jakarta.apache.org To Tomcat Users List tomcat-user@jakarta.apache.org cc Subject Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi! How did you define your JDBC DataSource? As far as I know, the original jakarta-commons-dbcp and jakarta-commons-pool-libraries are not included with Tomcat. Instead, just a subset of the required classes with modified package names (starting with 'org.apache.tomcat.dbcp') are packed in 'naming-factory-dbcp.jar' that can be found in commons/lib. But if you configure your JDBC DataSource correctly, this should not bother. Please post your resource-configuration! Best regards, Tex I'm running Tomcat 5.5.4 on Windows 2000 Server and encountered the below error on Tomcat startup: Feb 2, 2005 10:50:49 AM org.apache.catalina.core.NamingContextListener addResource WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory, ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory My webapp uses JDBC DataSource's and the BasicDataSourceFactory for pooling so this problem of ClassNotFoundException is causing my webapp to not work properly. I have Tomcat 5.5.4 also installed on my local maching which has Windows XP on it, and there is absolutely no problem on startup and and my webapp. Does anyone no what's happening here? Why does Tomcat register the BasicDataSourceFactory with no problems in Tomcat 5.5.4 on Windows XP and not on Windows 2000 Server? - 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: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory
Hi David, Mario, We actually specify the factory parameter because we extend the BasicDataSourceFactory so we can encrypt passwords in the resource definition. My question is: Is there already a way to do that using another factory I'm unaware of? It works fine, but we have to include the jars that Mario mentioned and it'd be nice to not have to tie our code that close to the container. Greg -Original Message- From: Mario Winterer [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 4:37 PM To: Tomcat Users List Subject: Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi David! I think, you do not need to explicitely define a bean factory because Tomcat 5 automatically uses dbcp for JNDI-DataSources (I think tomcat looks at the type of resource - in your case a javax.sql.DataSource - and uses the tomcat-internal dbcp-factory). In my project, I've configured a JNDI-DataSource using the Oracle thin driver and it works perfectly without specifying a bean factory and without adding any special libraries to my tomcat installation (apart from the oracle database driver which is in commons/lib). So try the following configuration: Resource name=jdbc/as400 auth=Container type=javax.sql.DataSource maxActive=20 maxIdle=10 maxWait=-1 removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true driverClassName=com.ibm.as400.access.AS400JDBCDriver url=jdbc:as400://a53pb3;naming=system;libraries=,pgmdbt,caelib;errors=full username=userid password=password / Again: You do not need any additional commons-libraries! Best regards, Tex Hi Mario, Thanks for getting back to me. Below is the context I set up. After doing my own digging, I realized I was missing some jakarta commons jar files. After getting these jars and restarting Tomcat the ClassNotFoundExceptions went away. What I find really puzzling though is why I didn't get the same ClassNotFoundException on my local machine that was running the same version of Tomcat but on Windows XP profession. Context debug=0 privileged=true !-- the jdbc driver's jar needs to go into $CATALINA_HOME/common/lib -- Resource name=jdbc/as400 auth=Container type=javax.sql.DataSource factory=org.apache.commons.dbcp.BasicDataSourceFactory maxActive=20 maxIdle=10 maxWait=-1 removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true driverClassName=com.ibm.as400.access.AS400JDBCDriver url=jdbc:as400://a53pb3;naming=system;libraries=,pgmdbt,caelib;errors=full username=userid password=password/ /Context Mario Winterer [EMAIL PROTECTED] 02/02/2005 07:19 PM Please respond to Tomcat Users List tomcat-user@jakarta.apache.org To Tomcat Users List tomcat-user@jakarta.apache.org cc Subject Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi! How did you define your JDBC DataSource? As far as I know, the original jakarta-commons-dbcp and jakarta-commons-pool-libraries are not included with Tomcat. Instead, just a subset of the required classes with modified package names (starting with 'org.apache.tomcat.dbcp') are packed in 'naming-factory-dbcp.jar' that can be found in commons/lib. But if you configure your JDBC DataSource correctly, this should not bother. Please post your resource-configuration! Best regards, Tex I'm running Tomcat 5.5.4 on Windows 2000 Server and encountered the below error on Tomcat startup: Feb 2, 2005 10:50:49 AM org.apache.catalina.core.NamingContextListener addResource WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory, ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory My webapp uses JDBC DataSource's and the BasicDataSourceFactory for pooling so this problem of ClassNotFoundException is causing my webapp to not work properly. I have Tomcat 5.5.4 also installed on my local maching which has Windows XP on it, and there is absolutely no problem on startup and and my webapp. Does anyone no what's happening here? Why does Tomcat register the BasicDataSourceFactory with no problems in Tomcat 5.5.4 on Windows XP and not on Windows 2000 Server? - 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 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory
I'm running Tomcat 5.5.4 on Windows 2000 Server and encountered the below error on Tomcat startup: Feb 2, 2005 10:50:49 AM org.apache.catalina.core.NamingContextListener addResource WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory, ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory My webapp uses JDBC DataSource's and the BasicDataSourceFactory for pooling so this problem of ClassNotFoundException is causing my webapp to not work properly. I have Tomcat 5.5.4 also installed on my local maching which has Windows XP on it, and there is absolutely no problem on startup and and my webapp. Does anyone no what's happening here? Why does Tomcat register the BasicDataSourceFactory with no problems in Tomcat 5.5.4 on Windows XP and not on Windows 2000 Server?
Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory
Hi! How did you define your JDBC DataSource? As far as I know, the original jakarta-commons-dbcp and jakarta-commons-pool-libraries are not included with Tomcat. Instead, just a subset of the required classes with modified package names (starting with 'org.apache.tomcat.dbcp') are packed in 'naming-factory-dbcp.jar' that can be found in commons/lib. But if you configure your JDBC DataSource correctly, this should not bother. Please post your resource-configuration! Best regards, Tex I'm running Tomcat 5.5.4 on Windows 2000 Server and encountered the below error on Tomcat startup: Feb 2, 2005 10:50:49 AM org.apache.catalina.core.NamingContextListener addResource WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory, ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory My webapp uses JDBC DataSource's and the BasicDataSourceFactory for pooling so this problem of ClassNotFoundException is causing my webapp to not work properly. I have Tomcat 5.5.4 also installed on my local maching which has Windows XP on it, and there is absolutely no problem on startup and and my webapp. Does anyone no what's happening here? Why does Tomcat register the BasicDataSourceFactory with no problems in Tomcat 5.5.4 on Windows XP and not on Windows 2000 Server? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how I can to see the output in tomcat from windows 2000
Note: forwarded message attached. ---BeginMessage--- Hi, I would like to know how I can to see the output in tomcat for depure mi aplication. In linux I can see the catalina.out in /logs directory but in Windows 2000 I don´t know. Please help me! Thanks. ---End Message--- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how I can to see the output in tomcat from windows 2000
There should be a logs directory in your TOMCAT_HOME directory ... so, if you installed Tomcat to C:\Program Files\Apache Tomcat\ - then look for a logs directory there. You'll find the same catalina.out file and catalina.err file there. Alberto Marino wrote: Note: forwarded message attached. Nuevo Yahoo! Búsquedas http://es.rd.yahoo.com/mail_es/tagline/search/image/*http://62.97.113.245/comparalo/busquedas.html Subject: how I can to see the output in tomcat from windows 2000 From: Alberto Marino [EMAIL PROTECTED] Date: Mon, 26 Jul 2004 16:57:17 +0200 (CEST) To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi, I would like to know how I can to see the output in tomcat for depure mi aplication. In linux I can see the catalina.out in /logs directory but in Windows 2000 I don´t know. Please help me! Thanks. Nuevo Yahoo! Búsquedas http://es.rd.yahoo.com/mail_es/tagline/search/image/*http://62.97.113.245/comparalo/busquedas.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how I can to see the output in tomcat from windows 2000
Sorry, in mi /logs directory only there are localhost_log.2004-XX-XX.txt files but not anyone Ruth, Brice [EMAIL PROTECTED] wrote:There should be a logs directory in your TOMCAT_HOME directory ... so, if you installed Tomcat to C:\Program Files\Apache Tomcat\ - then look for a logs directory there. You'll find the same catalina.out file and catalina.err file there. Alberto Marino wrote: Note: forwarded message attached. Nuevo Yahoo! Búsquedas Subject: how I can to see the output in tomcat from windows 2000 From: Alberto Marino Date: Mon, 26 Jul 2004 16:57:17 +0200 (CEST) To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi, I would like to know how I can to see the output in tomcat for depure mi aplication. In linux I can see the catalina.out in /logs directory but in Windows 2000 I don´t know. Please help me! Thanks. Nuevo Yahoo! Búsquedas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -
RE: how I can to see the output in tomcat from windows 2000
I know mine is on XP but my friend runs on 2000. You should have an stdout.log localhost_log... files in the Jakarta.../logs directory. Try doing a search under Jakarta... for files modified today. Perhaps you inadvertently put it in some other directory a maybe under another name. -Original Message- From: Alberto Marino [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 12:52 PM To: Tomcat Users List Subject: Re: how I can to see the output in tomcat from windows 2000 Sorry, in mi /logs directory only there are localhost_log.2004-XX-XX.txt files but not anyone Ruth, Brice [EMAIL PROTECTED] wrote:There should be a logs directory in your TOMCAT_HOME directory ... so, if you installed Tomcat to C:\Program Files\Apache Tomcat\ - then look for a logs directory there. You'll find the same catalina.out file and catalina.err file there. Alberto Marino wrote: Note: forwarded message attached. Nuevo Yahoo! Búsquedas Subject: how I can to see the output in tomcat from windows 2000 From: Alberto Marino Date: Mon, 26 Jul 2004 16:57:17 +0200 (CEST) To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi, I would like to know how I can to see the output in tomcat for depure mi aplication. In linux I can see the catalina.out in /logs directory but in Windows 2000 I don´t know. Please help me! Thanks. Nuevo Yahoo! Búsquedas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/ - 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: how I can to see the output in tomcat from windows 2000
Yes, I have files like localhost_log.2004-07-24.txt but this files don´t show java output. For example, when you have in your code System.out.println(.) I don´t know where must see for the output. In linux I know that there are a file like catalina.out that show this output but in Windows 2000 I dont´t know. John Najarian [EMAIL PROTECTED] wrote:I know mine is on XP but my friend runs on 2000. You should have an stdout.log localhost_log... files in the Jakarta.../logs directory. Try doing a search under Jakarta... for files modified today. Perhaps you inadvertently put it in some other directory a maybe under another name. -Original Message- From: Alberto Marino [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 12:52 PM To: Tomcat Users List Subject: Re: how I can to see the output in tomcat from windows 2000 Sorry, in mi /logs directory only there are localhost_log.2004-XX-XX.txt files but not anyone Ruth, Brice wrote:There should be a logs directory in your TOMCAT_HOME directory ... so, if you installed Tomcat to C:\Program Files\Apache Tomcat\ - then look for a logs directory there. You'll find the same catalina.out file and catalina.err file there. Alberto Marino wrote: Note: forwarded message attached. Nuevo Yahoo! Búsquedas Subject: how I can to see the output in tomcat from windows 2000 From: Alberto Marino Date: Mon, 26 Jul 2004 16:57:17 +0200 (CEST) To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi, I would like to know how I can to see the output in tomcat for depure mi aplication. In linux I can see the catalina.out in /logs directory but in Windows 2000 I don´t know. Please help me! Thanks. Nuevo Yahoo! Búsquedas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/ - 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: how I can to see the output in tomcat from windows 2000
How are you starting Tomcat? If you're starting tomcat from the cmdline, then it will send STDOUT STDERR to the console. If you're starting it as a service, then it should create stdout.log and stderr.log in the TOMCAT_HOME/logs directory. If you're running Tomcat from Eclipse, or other IDEs, then STDOUT STDERR typically get redirected to the IDE's console. Caveat - if the Host in server.xml and/or your Context definition contain a logging element, then most logging will get redirected to that log file, I believe. Alberto Marino wrote: Yes, I have files like localhost_log.2004-07-24.txt but this files don´t show java output. For example, when you have in your code System.out.println(.) I don´t know where must see for the output. In linux I know that there are a file like catalina.out that show this output but in Windows 2000 I dont´t know. John Najarian [EMAIL PROTECTED] wrote:I know mine is on XP but my friend runs on 2000. You should have an stdout.log localhost_log... files in the Jakarta.../logs directory. Try doing a search under Jakarta... for files modified today. Perhaps you inadvertently put it in some other directory a maybe under another name. -Original Message- From: Alberto Marino [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 12:52 PM To: Tomcat Users List Subject: Re: how I can to see the output in tomcat from windows 2000 Sorry, in mi /logs directory only there are localhost_log.2004-XX-XX.txt files but not anyone Ruth, Brice wrote:There should be a logs directory in your TOMCAT_HOME directory ... so, if you installed Tomcat to C:\Program Files\Apache Tomcat\ - then look for a logs directory there. You'll find the same catalina.out file and catalina.err file there. Alberto Marino wrote: Note: forwarded message attached. Nuevo Yahoo! Búsquedas Subject: how I can to see the output in tomcat from windows 2000 From: Alberto Marino Date: Mon, 26 Jul 2004 16:57:17 +0200 (CEST) To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi, I would like to know how I can to see the output in tomcat for depure mi aplication. In linux I can see the catalina.out in /logs directory but in Windows 2000 I don´t know. Please help me! Thanks. Nuevo Yahoo! Búsquedas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how I can to see the output in tomcat from windows 2000
Alberto Marino wrote: Yes, I have files like localhost_log.2004-07-24.txt but this files don´t show java output. For example, when you have in your code System.out.println(.) I don´t know where must see for the output. In linux I know that there are a file like catalina.out that show this output but in Windows 2000 I dont´t know. I'm running TC (4.1.30 ATM) on Windows 2000 and a 'catalina.out' is created in the standard logs directory. Note: it's *not* created if you use `catalina.bat run` rather than ` start`, in which case your System.out is to that window... I suspect you've got a typo in your config somewhere. FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Setting up Tomcat in Windows 2000 Advanced Server
Dear Tomcat users, I've recently installed JDK 1.4.2 and Tomcat 4.1.27 on Windows 2000 Advanced Server. But it doesn't seem to work. This is what happened: 1. I set up three accounts in the computer (the default acct 'administrator', 'aa', 'bb'), all with Administrator permissions 2. I set up JDK and Tomcat on 'aa' 3. I set the path, JAVA_HOME, CATALINA_HOME as required. 4. I started Tomcat 5. I typed http://localhost:8080 or even http://aa:8080. It doesn't work How come? Regards, Anson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Setting up Tomcat in Windows 2000 Advanced Server
Hahahha!! I've solved my own problem again!! ..sorry about that guys -Original Message- From: Anson Zeall [mailto:[EMAIL PROTECTED] Sent: Sunday, September 07, 2003 11:25 AM To: Tomcat Users List Subject: Setting up Tomcat in Windows 2000 Advanced Server Dear Tomcat users, I've recently installed JDK 1.4.2 and Tomcat 4.1.27 on Windows 2000 Advanced Server. But it doesn't seem to work. This is what happened: 1. I set up three accounts in the computer (the default acct 'administrator', 'aa', 'bb'), all with Administrator permissions 2. I set up JDK and Tomcat on 'aa' 3. I set the path, JAVA_HOME, CATALINA_HOME as required. 4. I started Tomcat 5. I typed http://localhost:8080 or even http://aa:8080. It doesn't work How come? Regards, Anson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat-4.0.2 | Windows 2000 | Apache 1.3.19 mod_webapp
Hi, i tried to load the mod_webapp on my apache web server using this configuration features but it doesn't really works. Actually, apache doesn't compile anything ... Thanks for help in apache httpd.conf ### LoadModule webapp_module modules/mod_webapp.so Listen 889 NameVirtualHost my_ip:889 VirtualHost MY_IP:889 ServerAdmin [EMAIL PROTECTED] DocumentRoot F:/tomcat-4.0.2/webapps DirectoryIndex index.html / ServerName catalina_apache_port889 ErrorLog logs/catalina_apache_port889/error_log.txt CustomLog logs/catalina_apache_port889/access_log.txt common WebAppConnection WarpConnector warp MY_IP:8085 WebAppDeploy rootWarpConnector /ROOT /VirtualHost an in the tomcat server.xml : # Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8085 minProcessors=5 maxProcessors=75 enableLookups=true appBase=webapps acceptCount=10 debug=0/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=catalina_apache_port889 debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tip: Avoiding A 404 With *.jsp In Virtual Directories Using IIS 5 Tomcat On Windows 2000
Hi; I just spent some more time hair pulling for something I'm sure other people will experience. I am posting my solution here so that it will end up in the archives. I have IIS 5, Tomcat 3.2, jdk 1.3.1 working together on windows 2000. I like to keep all of my work in C:\Projectsmany good reasons to do this. I set up C:\Projects as a virtual directory in IIS. I kept getting a 404 whenever I tried to access my test.jsp page. I solved the problem by adding this line to server.xml in my Tomcat\conf dir, and then rebooting tomcat: Context path=/Projects docBase=C:/InetPub/wwwroot/Projects debug=0 reloadable=true/ Good Luck Steve Steve Russell Web Developer III ValueOptions - Lifescape 703-205-6589 [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender by email, delete and destroy this message and its attachments. **
Re: Error whilst executing Tomcat on Windows 2000
Hi, Scott How many times did you start up Tomcat before this? You might have another Tomcat instance, or another process, listening on the same port. Regards, Noel Lecaros Ian Scott wrote: Can you help with this ? It may be something I have done or haven't done. The following text is displayed when tomcat is started using the supplied startup.bat. -- Starting tomcat install=C:\JBuilder4\tomcat home=C:\JBuilder4\tomcat classPath=C:\JBuilder4\tomcat\classes;C:\JBuilder4\tomcat\lib\webserver.jar ;C:\JBuilde r4\tomcat\lib\jasper.jar;C:\JBuilder4\tomcat\lib\xml.jar;C:\JBuilder4\tomcat \lib \servlet.jar;C:\JBuilder4\jdk1.3\lib\tools.jar;C:\JBuilder4\tomcat\classes;C :\JB uilder4\tomcat\lib\webserver.jar; Context log: path=/admin Automatic context load docBase=C:\JBuilder4\tomcat\webapps\admin Context log: path=/admin Adding context path=/admin docBase=C:\JBuilder4\tomcat\webapps\admin FATAL:java.net.BindException: Address in use: JVM_Bind java.net.BindException: Address in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397) at java.net.ServerSocket.init(ServerSocket.java:170) at java.net.ServerSocket.init(ServerSocket.java:121) at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default ServerSocketFactory.java:97) at org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(SimpleTcpEndpoint. java:186) at org.apache.tomcat.service.SimpleTcpConnector.start(SimpleTcpConnector.java:1 42) at org.apache.tomcat.core.ContextManager.start(ContextManager.java:253) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:157) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163) -- Thank you for taking the time. Ian Scott This email message and any accompanying attachments may contain information that is confidential and is subject to legal privilege. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Mobilesoft Pty Ltd. Before opening any attachments, please check them for viruses and defects.
Error whilst executing Tomcat on Windows 2000
Can you help with this ? It may be something I have done or haven't done. The following text is displayed when tomcat is started using the supplied startup.bat. -- Starting tomcat install=C:\JBuilder4\tomcat home=C:\JBuilder4\tomcat classPath=C:\JBuilder4\tomcat\classes;C:\JBuilder4\tomcat\lib\webserver.jar ;C:\JBuilde r4\tomcat\lib\jasper.jar;C:\JBuilder4\tomcat\lib\xml.jar;C:\JBuilder4\tomcat \lib \servlet.jar;C:\JBuilder4\jdk1.3\lib\tools.jar;C:\JBuilder4\tomcat\classes;C :\JB uilder4\tomcat\lib\webserver.jar; Context log: path=/admin Automatic context load docBase=C:\JBuilder4\tomcat\webapps\admin Context log: path=/admin Adding context path=/admin docBase=C:\JBuilder4\tomcat\webapps\admin FATAL:java.net.BindException: Address in use: JVM_Bind java.net.BindException: Address in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397) at java.net.ServerSocket.init(ServerSocket.java:170) at java.net.ServerSocket.init(ServerSocket.java:121) at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default ServerSocketFactory.java:97) at org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(SimpleTcpEndpoint. java:186) at org.apache.tomcat.service.SimpleTcpConnector.start(SimpleTcpConnector.java:1 42) at org.apache.tomcat.core.ContextManager.start(ContextManager.java:253) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:157) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163) -- Thank you for taking the time. Ian Scott This email message and any accompanying attachments may contain information that is confidential and is subject to legal privilege. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Mobilesoft Pty Ltd. Before opening any attachments, please check them for viruses and defects.
RE: Error whilst executing Tomcat on Windows 2000
hey ian. i think you might be trying to start tomcat on port 80 or port 8080, which will be used by iis, either shut down iis or change the port in the server.xml file. alternativley u can connect iis and tomcat but its probably too prone to problem.. regards, warren. -Original Message- From: Ian Scott [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 8 May 2001 3:08 PM To: '[EMAIL PROTECTED]' Subject: Error whilst executing Tomcat on Windows 2000 Can you help with this ? It may be something I have done or haven't done. The following text is displayed when tomcat is started using the supplied startup.bat. -- Starting tomcat install=C:\JBuilder4\tomcat home=C:\JBuilder4\tomcat classPath=C:\JBuilder4\tomcat\classes;C:\JBuilder4\tomcat\lib\webserver.jar ;C:\JBuilde r4\tomcat\lib\jasper.jar;C:\JBuilder4\tomcat\lib\xml.jar;C:\JBuilder4\tomcat \lib \servlet.jar;C:\JBuilder4\jdk1.3\lib\tools.jar;C:\JBuilder4\tomcat\classes;C :\JB uilder4\tomcat\lib\webserver.jar; Context log: path=/admin Automatic context load docBase=C:\JBuilder4\tomcat\webapps\admin Context log: path=/admin Adding context path=/admin docBase=C:\JBuilder4\tomcat\webapps\admin FATAL:java.net.BindException: Address in use: JVM_Bind java.net.BindException: Address in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397) at java.net.ServerSocket.init(ServerSocket.java:170) at java.net.ServerSocket.init(ServerSocket.java:121) at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default ServerSocketFactory.java:97) at org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(SimpleTcpEndpoint. java:186) at org.apache.tomcat.service.SimpleTcpConnector.start(SimpleTcpConnector.java:1 42) at org.apache.tomcat.core.ContextManager.start(ContextManager.java:253) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:157) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163) -- Thank you for taking the time. Ian Scott This email message and any accompanying attachments may contain information that is confidential and is subject to legal privilege. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Mobilesoft Pty Ltd. Before opening any attachments, please check them for viruses and defects.
RE: Tomcat at Windows 2000
try to run this from cmd -Original Message- From: Chris Andreou [SMTP:[EMAIL PROTECTED]] Sent: 16 kwietnia 2001 20:28 To: '[EMAIL PROTECTED]' Subject: RE: Tomcat at Windows 2000 Set the Http Server on Tomcat and it will show the error (standalone) and the window will not close -Original Message- From: Daniel de Almeida Alvares [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 8:16 AM To: [EMAIL PROTECTED] Subject: Tomcat at Windows 2000 Hi, I am trying to run Jakarta at Windows 2000, but I am having my jakarta window closed as soon as it starts !!! What kind of problem is that ? at Win98 I wasnt having any problem and it was working well Can anybody helps me ??? Regards Daniel Daniel Alvares Santos - SP - Brazil
RE: Tomcat at Windows 2000
Set the Http Server on Tomcat and it will show the error (standalone) and the window will not close -Original Message- From: Daniel de Almeida Alvares [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 8:16 AM To: [EMAIL PROTECTED] Subject: Tomcat at Windows 2000 Hi, I am trying to run Jakarta at Windows 2000, but I am having my jakarta window closed as soon as it starts !!! What kind of problem is that ? at Win98 I wasnt having any problem and it was working well Can anybody helps me ??? Regards Daniel Daniel Alvares Santos - SP - Brazil
Tomcat at Windows 2000
Hi, I am trying to run Jakarta at Windows 2000, but I am having my jakarta window closed as soon as it starts !!! What kind of problem is that ? at Win98 I wasnt having any problem and it was working well Can anybody helps me ??? Regards Daniel Daniel Alvares Santos - SP - Brazil
RE: Tomcat at Windows 2000
Instead of running startup.bat, try running tomcat.bat run - this will start Tomcat in the same DOS prompts as its launched from. You problem is most likely one of two things: 1. Something is already using the ports Tomcat is trying to use (8080 and 8007). Microsoft has included netstat with 2000 so that you can tell what addresses are in use 2. Something with the JVM/jar files is wrong and Tomcat can't find one of its critical JARs (this would include having two XML parsers for Tomcat 3.2). In either case, the error message will tell you what the problem is and the solution should be straight forward. Randy -Original Message- From: Daniel de Almeida Alvares [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 9:16 AM To: [EMAIL PROTECTED] Subject: Tomcat at Windows 2000 Hi, I am trying to run Jakarta at Windows 2000, but I am having my jakarta window closed as soon as it starts !!! What kind of problem is that ? at Win98 I wasnt having any problem and it was working well Can anybody helps me ??? Regards Daniel Daniel Alvares Santos - SP - Brazil
Re: Tomcat at Windows 2000
But I can run JSWDK's startserver command with no problems it s using 8080 port. [] Daniel ___ Daniel de Almeida Alvares Santos - SP - Brasil [EMAIL PROTECTED] - Original Message - From: "Randy Layman" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 11, 2001 9:54 AM Subject: RE: Tomcat at Windows 2000 Instead of running startup.bat, try running tomcat.bat run - this will start Tomcat in the same DOS prompts as its launched from. You problem is most likely one of two things: 1. Something is already using the ports Tomcat is trying to use (8080 and 8007). Microsoft has included netstat with 2000 so that you can tell what addresses are in use 2. Something with the JVM/jar files is wrong and Tomcat can't find one of its critical JARs (this would include having two XML parsers for Tomcat 3.2). In either case, the error message will tell you what the problem is and the solution should be straight forward. Randy -Original Message- From: Daniel de Almeida Alvares [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 9:16 AM To: [EMAIL PROTECTED] Subject: Tomcat at Windows 2000 Hi, I am trying to run Jakarta at Windows 2000, but I am having my jakarta window closed as soon as it starts !!! What kind of problem is that ? at Win98 I wasnt having any problem and it was working well Can anybody helps me ??? Regards Daniel Daniel Alvares Santos - SP - Brazil
RE: Tomcat at Windows 2000
The server.xml file that you have is misconfigured - the class name is org.request.SimpleMapper1. (Anyone know why the server.xml configuration on recent downloads is wrong?) Randy -Original Message- From: Daniel de Almeida Alvares [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 9:26 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Tomcat at Windows 2000 Ok... thanks !!! I did that and had this: C:\jakarta-tomcat\bintomcat run Including all jars in c:\jakarta-tomcat\lib in your CLASSPATH. Using CLASSPATH: c:\jakarta-tomcat\classes;c:\jakarta-tomcat\lib\ant rta-tomcat\lib\jasper.jar;c:\jakarta-tomcat\lib\jaxp.jar;c:\jakarta- arser.jar;c:\jakarta-tomcat\lib\servlet.jar;c:\jakarta-tomcat\lib\we .;c:\jdk13\lib;c:\jdk13\lib\tools.jar;c:\jswdk101\lib\servlet.jar;c: omp.jar;c:\jdk13\lib\tools.jar ERROR reading c:\jakarta-tomcat\conf\server.xml At Line 48 /Server/ContextManager/RequestInterceptor/ className=org. t.request.SimpleMapper debug=0 FATAL: configuration error java.lang.ClassNotFoundException: org.apache.tomcat.request.SimpleMa at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method at java.net.URLClassLoader.findClass(URLClassLoader.java:188 at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.j at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapp at com.sun.xml.parser.Parser.maybeElement(Parser.java:1391) at com.sun.xml.parser.Parser.content(Parser.java:1499) at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400) at com.sun.xml.parser.Parser.content(Parser.java:1499) at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400) at com.sun.xml.parser.Parser.parseInternal(Parser.java:492) at com.sun.xml.parser.Parser.parse(Parser.java:284) at javax.xml.parsers.SAXParser.parse(SAXParser.java:155) at javax.xml.parsers.SAXParser.parse(SAXParser.java:126) at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.ja at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:187) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) any sugestions (yesterday I spent all morning and didnt find a solution !!) Regards Daniel ___ Daniel Alvares Santos - SP - Brasil [EMAIL PROTECTED] - Original Message - From: "Benot Jacquemont" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; "'Daniel de Almeida Alvares'" [EMAIL PROTECTED] Sent: Wednesday, April 11, 2001 10:24 AM Subject: RE: Tomcat at Windows 2000 I use Tomcat on W2K Pro, and it works fine. Anyway, the reason why your window closes, is because an error occurs. You should try to open a command line window, go to the TOMCAT_HOME\bin directory and try tomcat run instead of startup. You will see the error. Benot Hi, I am trying to run Jakarta at Windows 2000, but I am having my jakarta window closed as soon as it starts !!! What kind of problem is that ? at Win98 I wasnt having any problem and it was working well Can anybody helps me ??? Regards Daniel Daniel Alvares Santos - SP - Brazil
Re: Tomcat at Windows 2000
I changed thatbut now I am having FATAL: configuration error java.lang.ClassNotFoundException: org.apache.tomcat.request.SecurityCheck and dont have this class (SecurityCheck) here [] Daniel - Original Message - From: "Randy Layman" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 11, 2001 10:04 AM Subject: RE: Tomcat at Windows 2000 The server.xml file that you have is misconfigured - the class name is org.request.SimpleMapper1. (Anyone know why the server.xml configuration on recent downloads is wrong?) Randy -Original Message- From: Daniel de Almeida Alvares [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 9:26 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Tomcat at Windows 2000 Ok... thanks !!! I did that and had this: C:\jakarta-tomcat\bintomcat run Including all jars in c:\jakarta-tomcat\lib in your CLASSPATH. Using CLASSPATH: c:\jakarta-tomcat\classes;c:\jakarta-tomcat\lib\ant rta-tomcat\lib\jasper.jar;c:\jakarta-tomcat\lib\jaxp.jar;c:\jakarta- arser.jar;c:\jakarta-tomcat\lib\servlet.jar;c:\jakarta-tomcat\lib\we .;c:\jdk13\lib;c:\jdk13\lib\tools.jar;c:\jswdk101\lib\servlet.jar;c: omp.jar;c:\jdk13\lib\tools.jar ERROR reading c:\jakarta-tomcat\conf\server.xml At Line 48 /Server/ContextManager/RequestInterceptor/ className=org. t.request.SimpleMapper debug=0 FATAL: configuration error java.lang.ClassNotFoundException: org.apache.tomcat.request.SimpleMa at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method at java.net.URLClassLoader.findClass(URLClassLoader.java:188 at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.j at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapp at com.sun.xml.parser.Parser.maybeElement(Parser.java:1391) at com.sun.xml.parser.Parser.content(Parser.java:1499) at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400) at com.sun.xml.parser.Parser.content(Parser.java:1499) at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400) at com.sun.xml.parser.Parser.parseInternal(Parser.java:492) at com.sun.xml.parser.Parser.parse(Parser.java:284) at javax.xml.parsers.SAXParser.parse(SAXParser.java:155) at javax.xml.parsers.SAXParser.parse(SAXParser.java:126) at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.ja at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:187) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) any sugestions (yesterday I spent all morning and didnt find a solution !!) Regards Daniel ___ Daniel Alvares Santos - SP - Brasil [EMAIL PROTECTED] - Original Message - From: "Benot Jacquemont" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; "'Daniel de Almeida Alvares'" [EMAIL PROTECTED] Sent: Wednesday, April 11, 2001 10:24 AM Subject: RE: Tomcat at Windows 2000 I use Tomcat on W2K Pro, and it works fine. Anyway, the reason why your window closes, is because an error occurs. You should try to open a command line window, go to the TOMCAT_HOME\bin directory and try tomcat run instead of startup. You will see the error. Benot Hi, I am trying to run Jakarta at Windows 2000, but I am having my jakarta window closed as soon as it starts !!! What kind of problem is that ? at Win98 I wasnt having any problem and it was working well Can anybody helps me ??? Regards Daniel Daniel Alvares Santos - SP - Brazil
Tomcat on Windows 2000
Hi, Every time I try to start tomcat I get the following exception: Exception in thread "main" java.lang.ExceptionInInitializerError: java.util.MissingResourceException: Can't find bundle for base name org.apache.tomcat.startup. LocalStrings, locale en_GB at java.util.ResourceBundle.throwMissingResourceException(Unknown Source) at java.util.ResourceBundle.getBundleImpl(Unknown Source) at java.util.ResourceBundle.getBundle(Unknown Source) at org.apache.tomcat.util.StringManager.init(StringManager.java:115) at org.apache.tomcat.util.StringManager.getManager(StringManager.java:261) at org.apache.tomcat.startup.Tomcat.clinit(Tomcat.java:26) I have seen this message quite often in the mailing list archives, but haven't seen a solution. I am using JDK 1.3, and my classpath is set as follows: Using classpath: c:\!work\tomcat\jakarta-tomcat\classes;c:\!work\tomcat\jakarta-tomcat\lib\we bserver.jar;c:\!work\tomcat\jakarta-tomcat\lib\jasper.jar;c:\!work\ tomcat\jakarta-tomcat\lib\xml.jar;c:\!work\tomcat\jakarta-tomcat\lib\servlet .jar;c:\jdk1.3\lib\tools.jar;c:\!work\tomcat\jakarta-tomcat\classes;c:\!work \tomcat\ jakarta-tomcat\lib\webserver.jar;c:\!work\tomcat\jakarta-tomcat\lib\jasper.j ar;c:\!work\tomcat\jakarta-tomcat\lib\xml.jar;c:\!work\tomcat\jakarta-tomcat \lib\ser vlet.jar;c:\jdk1.3\lib\tools.jar Thanks, Iwan. Iwan Roberts Project Manager Liberty Information Technology Direct Line: ++44 (0) 28 9044 5552 Clarendon House Fax: ++44 (0) 28 9044 5511 9-21 Adelaide StreetSwitchboard: ++44 (0) 28 9044 5500 Belfast, Northern Ireland BT2 8DJ Email: [EMAIL PROTECTED] Disclaimer: The contents of this e-mail and attached files in no way reflect any policies of Liberty Information Technology Ltd.
Fw: from sravan (India) Help regarding IIS5.0 Tomcat in Windows 2000.
Hi Good Morning, Our requirement is to connect to Tomcat3.2.1 from IIS 5.0 in Windows 2000. ( we are able to connect to Tomcat3.2.1 from IIS 5.0 in Windows NT) same way i tried with windows 200 its not working. Queries : 1) Is it possible ? 2) If possible, please let me know the procedure. Thanx in advance. Regards Sravan
Re: configuring Tomcat on Windows 2000 and IIS
Hi Carlos, if you want to add another context to your webapps, you need to follow the instructions given into the tomcat-iis-howto.html document (search for the "Adding additional contexts" paragraph), i.e. : 1)add your context to the ISAPI redirector editing the uriworkermap.properties file as described in the document 2)restart IIS as described in the step 5 of my previous mail and it will (or at least it should :-) serve the new context Clearly you must already have added the context to Tomcat (for the /admin context you don't nedd to do that, thus simply add the context to the ISAPI redirector). Sal. - Original Message - From: Carlos Diaz To: [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 10:44 AM Subject: RE: configuring Tomcat on Windows 2000 and IIS Hi, This configuration works only with the examples app, but ¿how it could work with other apps? e.g.: /admin It is impossible run if the context is diferent to examples. Thanks -Mensaje original-De: Salvatore Borrelli [mailto:[EMAIL PROTECTED]]Enviado el: miércoles, 21 de marzo de 2001 10:16Para: [EMAIL PROTECTED]Asunto: Re: configuring Tomcat on Windows 2000 and IIS Hi, these are the steps you should follow: 1.run the InternetServices Manager MMC (i.e. ...\winnt\system32\iis.msc) 2. open yourIIS server icon, right click the Web Server to which you whish to add the ISAPI(e.g. Default Web Site), then choose Properties 3. from the Web Site Properties dialog window, choose the "ISAPI Filters" property page andthen click the Add button to open the Filter Properties dialog box 4.insert a name for the ISAPI Redirector filter (I inserted the name "jakarta", suggested in the Tomcat documentation), and the full path of the filter (which under my system is$TOMCAT_HOME\bin\win32\i386\isapi_redirect.dll), then press OK to add the redirector to IIS ISAPI filters 5. restart IIS (right click on the Web Server icon and choose Restart IIS from the popup-menu) 6. reopen the ISAPI Filters tab to check that the redirector status containsan up green arrow icon. If it does, you've done ... Hope this helps, Sal. - Original Message - From: Hwa-Su Kim To: [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 3:19 AM Subject: configuring Tomcat on Windows 2000 and IIS Hi, I've been trying to configure the ISAPI Redirector on Windows 2000 server. I followed the instruction that comes with Tomcat, tomcat_install\doc\tomcat-iis-howto.html. My question is how do I add isapi_redirect.dll as a filter using the IIS management console (configuring the ISAPI Redirector - step 8). I've tried to add Filter DLLs using regedit, but I don't think it worked. How would I set this up in Windows 2000. Where can I see the green up-pointing arrow? Thanks for your help. Hwa-Su Kim
Re: configuring Tomcat on Windows 2000 and IIS
Hi, these are the steps you should follow: 1.run the InternetServices Manager MMC (i.e. ...\winnt\system32\iis.msc) 2. open yourIIS server icon, right click the Web Server to which you whish to add the ISAPI(e.g. Default Web Site), then choose Properties 3. from the Web Site Properties dialog window, choose the "ISAPI Filters" property page andthen click the Add button to open the Filter Properties dialog box 4.insert a name for the ISAPI Redirector filter (I inserted the name "jakarta", suggested in the Tomcat documentation), and the full path of the filter (which under my system is$TOMCAT_HOME\bin\win32\i386\isapi_redirect.dll), then press OK to add the redirector to IIS ISAPI filters 5. restart IIS (right click on the Web Server icon and choose Restart IIS from the popup-menu) 6. reopen the ISAPI Filters tab to check that the redirector status containsan up green arrow icon. If it does, you've done ... Hope this helps, Sal. - Original Message - From: Hwa-Su Kim To: [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 3:19 AM Subject: configuring Tomcat on Windows 2000 and IIS Hi, I've been trying to configure the ISAPI Redirector on Windows 2000 server. I followed the instruction that comes with Tomcat, tomcat_install\doc\tomcat-iis-howto.html. My question is how do I add isapi_redirect.dll as a filter using the IIS management console (configuring the ISAPI Redirector - step 8). I've tried to add Filter DLLs using regedit, but I don't think it worked. How would I set this up in Windows 2000. Where can I see the green up-pointing arrow? Thanks for your help. Hwa-Su Kim
Re: configuring Tomcat on Windows 2000 and IIS
Thanx Sal, Through your response for the mail i came to know how to add ISAPI filter. But I am getting the red arrow pointing downwards. I followed all the steps from the document Tomcat IIS How To. Can you suggest me any solution for the same. Regards, Rajesh Salvatore Borrelli wrote: Hi, these are the steps you should follow:1. run the Internet Services Manager MMC (i.e. ...\winnt\system32\iis.msc)2. open your IIS server icon, right click the Web Server to which you whish to add the ISAPI (e.g. Default Web Site), then choose Properties3. from the Web Site Properties dialog window, choose the "ISAPI Filters" property page and then click the Add button to open the Filter Properties dialog box4. insert a name for the ISAPI Redirector filter (I inserted the name "jakarta", suggested in the Tomcat documentation), and the full path of the filter (which under my system is $TOMCAT_HOME\bin\win32\i386\isapi_redirect.dll), then press OK to add the redirector to IIS ISAPI filters5. restart IIS (right click on the Web Server icon and choose Restart IIS from the popup-menu)6. reopen the ISAPI Filters tab to check that the redirector status contains an up green arrow icon. If it does, you've done ...Hope this helps,Sal. - Original Message - From: Hwa-Su Kim To: [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 3:19 AM Subject: configuring Tomcat on Windows 2000 and IIS Hi,I've been trying to configure the ISAPI Redirector on Windows 2000 server. I followed the instruction that comes with Tomcat, tomcat_install\doc\tomcat-iis-howto.html. My question is how do I add isapi_redirect.dll as a filter using the IIS management console (configuring the ISAPI Redirector - step 8). I've tried to add Filter DLLs using regedit, but I don't think it worked. How would I set this up in Windows 2000. Where can I see the green up-pointing arrow?Thanks for your help.Hwa-Su Kim
RE: configuring Tomcat on Windows 2000 and IIS
Hi, This configuration works only with the examples app, but ¿how it could work with other apps? e.g.: /admin It is impossible run if the context is diferent to examples. Thanks -Mensaje original-De: Salvatore Borrelli [mailto:[EMAIL PROTECTED]]Enviado el: miércoles, 21 de marzo de 2001 10:16Para: [EMAIL PROTECTED]Asunto: Re: configuring Tomcat on Windows 2000 and IIS Hi, these are the steps you should follow: 1.run the InternetServices Manager MMC (i.e. ...\winnt\system32\iis.msc) 2. open yourIIS server icon, right click the Web Server to which you whish to add the ISAPI(e.g. Default Web Site), then choose Properties 3. from the Web Site Properties dialog window, choose the "ISAPI Filters" property page andthen click the Add button to open the Filter Properties dialog box 4.insert a name for the ISAPI Redirector filter (I inserted the name "jakarta", suggested in the Tomcat documentation), and the full path of the filter (which under my system is$TOMCAT_HOME\bin\win32\i386\isapi_redirect.dll), then press OK to add the redirector to IIS ISAPI filters 5. restart IIS (right click on the Web Server icon and choose Restart IIS from the popup-menu) 6. reopen the ISAPI Filters tab to check that the redirector status containsan up green arrow icon. If it does, you've done ... Hope this helps, Sal. - Original Message - From: Hwa-Su Kim To: [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 3:19 AM Subject: configuring Tomcat on Windows 2000 and IIS Hi, I've been trying to configure the ISAPI Redirector on Windows 2000 server. I followed the instruction that comes with Tomcat, tomcat_install\doc\tomcat-iis-howto.html. My question is how do I add isapi_redirect.dll as a filter using the IIS management console (configuring the ISAPI Redirector - step 8). I've tried to add Filter DLLs using regedit, but I don't think it worked. How would I set this up in Windows 2000. Where can I see the green up-pointing arrow? Thanks for your help. Hwa-Su Kim
Re: configuring Tomcat on Windows 2000 and IIS
Thanx everybody I got the index page for the jsp. Thanx to everyone for there responses. Regards, Rajesh Salvatore Borrelli wrote: Hi, these are the steps you should follow:1. run the Internet Services Manager MMC (i.e. ...\winnt\system32\iis.msc)2. open your IIS server icon, right click the Web Server to which you whish to add the ISAPI (e.g. Default Web Site), then choose Properties3. from the Web Site Properties dialog window, choose the "ISAPI Filters" property page and then click the Add button to open the Filter Properties dialog box4. insert a name for the ISAPI Redirector filter (I inserted the name "jakarta", suggested in the Tomcat documentation), and the full path of the filter (which under my system is $TOMCAT_HOME\bin\win32\i386\isapi_redirect.dll), then press OK to add the redirector to IIS ISAPI filters5. restart IIS (right click on the Web Server icon and choose Restart IIS from the popup-menu)6. reopen the ISAPI Filters tab to check that the redirector status contains an up green arrow icon. If it does, you've done ...Hope this helps,Sal. - Original Message - From: Hwa-Su Kim To: [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 3:19 AM Subject: configuring Tomcat on Windows 2000 and IIS Hi,I've been trying to configure the ISAPI Redirector on Windows 2000 server. I followed the instruction that comes with Tomcat, tomcat_install\doc\tomcat-iis-howto.html. My question is how do I add isapi_redirect.dll as a filter using the IIS management console (configuring the ISAPI Redirector - step 8). I've tried to add Filter DLLs using regedit, but I don't think it worked. How would I set this up in Windows 2000. Where can I see the green up-pointing arrow?Thanks for your help.Hwa-Su Kim
configuring Tomcat on Windows 2000 and IIS
Hi, I've been trying to configure the ISAPI Redirector on Windows 2000 server. I followed the instruction that comes with Tomcat, tomcat_install\doc\tomcat-iis-howto.html. My question is how do I add isapi_redirect.dll as a filter using the IIS management console (configuring the ISAPI Redirector - step 8). I've tried to add Filter DLLs using regedit, but I don't think it worked. How would I set this up in Windows 2000. Where can I see the green up-pointing arrow? Thanks for your help. Hwa-Su Kim
Re: Installing tomcat on Windows 2000
--- Pete Ehli [EMAIL PROTECTED] skrev: Ok Erik was right and I was wrong - Classpath should not have spaces and set your enviorment variables via startup.bat - I apologize to Erik for such a rude response. Accepted, Pete. erik ___ Do You Yahoo!? Del dine bilder med andre p http://no.photos.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Installing tomcat on Windows 2000
Ok Erik was right and I was wrong - Classpath should not have spaces and set your enviorment variables via startup.bat - I apologize to Erik for such a rude response. Thanks to everyone for their input and responses. -- Pete -- - Original Message - From: "David Halsted" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 19, 2001 6:24 PM Subject: Re: Installing tomcat on Windows 2000 Yeah, if you leave Tomcat to generate its own classpath you can switch between Tomcat installations on the same machine just by switching TOMCAT_HOME around. I was asked to build an installer that included Tomcat recently and this was quite handy, since I built the installer on the same machine I was using for development; it was quite easy to switch back and forth between the installed version and the development version. Dealing with IIS (not my idea) was a different story . . . Dave Halsted - Original Message - From: Stefan Langer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 19, 2001 3:02 PM Subject: RE: Installing tomcat on Windows 2000 Just on the side. I totally agree with Erik. Classpath should never be set globally since it just tends to screw up deployment later on. (Especially in distributed enviroments being developed on one machine only.) And it is not true that the classpath has to be set globally. Just look in the tomcat.bat or startup.bat and add the classpath there. If I recall correctly this should be done with the variables JAVA_HOME and TOMCAT_HOME. (Please correct me if I'm wrong) Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Installing tomcat on Windows 2000
Just on the side. I totally agree with Erik. Classpath should never be set globally since it just tends to screw up deployment later on. (Especially in distributed enviroments being developed on one machine only.) And it is not true that the classpath has to be set globally. Just look in the tomcat.bat or startup.bat and add the classpath there. If I recall correctly this should be done with the variables JAVA_HOME and TOMCAT_HOME. (Please correct me if I'm wrong) Stefan
Re: Installing tomcat on Windows 2000
Yeah, if you leave Tomcat to generate its own classpath you can switch between Tomcat installations on the same machine just by switching TOMCAT_HOME around. I was asked to build an installer that included Tomcat recently and this was quite handy, since I built the installer on the same machine I was using for development; it was quite easy to switch back and forth between the installed version and the development version. Dealing with IIS (not my idea) was a different story . . . Dave Halsted - Original Message - From: Stefan Langer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 19, 2001 3:02 PM Subject: RE: Installing tomcat on Windows 2000 Just on the side. I totally agree with Erik. Classpath should never be set globally since it just tends to screw up deployment later on. (Especially in distributed enviroments being developed on one machine only.) And it is not true that the classpath has to be set globally. Just look in the tomcat.bat or startup.bat and add the classpath there. If I recall correctly this should be done with the variables JAVA_HOME and TOMCAT_HOME. (Please correct me if I'm wrong) Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Installing tomcat on Windows 2000
I'm running into trouble installing on windows 2000. I'm following the tomcat_ug document. Although I am setting the JAVA_HOME env vairable, tomcat start still complains saying the variable isn't set. I have turned echo on but it doesn't appear to be set. Also, do I need ApacheModuleJServe.dll or not? The tomcat_ug document doesn't say I do, but other FAQ documents indicate that this is required. Regards, Michael Yellen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Installing tomcat on Windows 2000
Although I am setting the JAVA_HOME env vairable try setting this variable inside the script (bin/tomcat.bat) ApacheModuleJServe.dll definitely not. If you want to connect Apache and Tomcat later you will need mod_jk.dll Filip ~ Namaste - I bow to the divine in you. ~ Filip Hanik Technical Architect [EMAIL PROTECTED] - Original Message - From: "Michael Yellen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 2:42 PM Subject: Installing tomcat on Windows 2000 I'm running into trouble installing on windows 2000. I'm following the tomcat_ug document. Although I am setting the JAVA_HOME env vairable, tomcat start still complains saying the variable isn't set. I have turned echo on but it doesn't appear to be set. Also, do I need ApacheModuleJServe.dll or not? The tomcat_ug document doesn't say I do, but other FAQ documents indicate that this is required. Regards, Michael Yellen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Installing tomcat on Windows 2000
Just to install tomcat, you don't need apache... probably you are setting it in command prompt. so it's restricting itself to that window. what I suggest is, it's better to put JAVA_HOME in global environment variable list. I think you know how to set environment variables in "system". just set it(goto"\controlpanel\system"). probably it should work Regds, Raghu -Original Message- From: Michael Yellen [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 2:42 PM To: '[EMAIL PROTECTED]' Subject: Installing tomcat on Windows 2000 I'm running into trouble installing on windows 2000. I'm following the tomcat_ug document. Although I am setting the JAVA_HOME env vairable, tomcat start still complains saying the variable isn't set. I have turned echo on but it doesn't appear to be set. Also, do I need ApacheModuleJServe.dll or not? The tomcat_ug document doesn't say I do, but other FAQ documents indicate that this is required. Regards, Michael Yellen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Installing tomcat on Windows 2000
I use win 2000 and tomcat - you need to set three envorment variables JAVA_HOME C:\jdk1.3.0_01 CLASSPATH C:\jdk1.3.0_01\lib\tools.jar TOMCAT_HOME C:\Program Files\Tomcat these have to be set in control panel - system icon - advanced tab - enviorment variables button. of course these variables depend on what version of jdk and where tomcat is. This is the only way I could get tomcat to work - any question email me directly Good Luck -- Pete -- - Original Message - From: "Michael Yellen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 2:42 PM Subject: Installing tomcat on Windows 2000 I'm running into trouble installing on windows 2000. I'm following the tomcat_ug document. Although I am setting the JAVA_HOME env vairable, tomcat start still complains saying the variable isn't set. I have turned echo on but it doesn't appear to be set. Also, do I need ApacheModuleJServe.dll or not? The tomcat_ug document doesn't say I do, but other FAQ documents indicate that this is required. Regards, Michael Yellen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Installing tomcat on Windows 2000
JAVA_HOME C:\jdk1.3.0_01 CLASSPATH C:\jdk1.3.0_01\lib\tools.jar TOMCAT_HOME C:\Program Files\Tomcat these have to be set in control panel - system icon - advanced tab - enviorment variables button. Avoid setting CLASSPATH globally. It's not necessary either; tools.jar will be added to the classpath used when tomcat is started, anyway. Also avoid directory names with spaces in them. You never know when that is going to cause trouble. Whoever came up with the idea that such a central catalog in windows should have a space in it, and even that the name should vary depending on your preferred language did us all a misfavour. Hopefully not intended ;) erik erik ___ Do You Yahoo!? Del dine bilder med andre p http://no.photos.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: Installing tomcat on Windows 2000
I agree with Erik. tools.jar is included into CLASSPATH in tomcat.bat, and spaces in paths may not be a problem, but definitely are a problem in applications (e.g. the Nokia WAP Toolkit for Windows won't run if installed into a directory that contains spaces). So it is a good idea to try the alternative 8.3 name of the directories (e.g. progra~1) instead. Wrox may produce good books, but some of the recommendations in Professional JSP are - at least in my humble opinion - not the best. Regards Christian -Original Message- From: Pete Ehli [mailto:[EMAIL PROTECTED]] These paths are out of the Book "Professional JSP" wrox title and you obviously don't understand how environment variables are set in windows. Yes there are spaces and yes we are talking "windows" this is not Unix! I myself tried to set these variables in the autoexec.bat file and Tomcat would not run. ONLY when they are set GLOBALLY via the control panel does tomcat run (for me at least in windows 2000) and if you set these variables via the autoexe.bat file in windows 98 they would still have spaces --( yes you can write them with dos names but why bother) again this is WINDOWS -- I wish everyone would use Linux or Unix but it is a windows world. Ohh and the book says that the classpath must point to tools.jar What java book have you written lately that states otherwise. And also it depends what type of file you are writing to .xml .bat which dictates if you quotes around the path "C:\Program Files\Tomcat" but we are not talking files we are talking an OS and how that OS directory structure is set up. - Original Message - From: "Erik G. Dybdahl" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 10:37 PM Subject: Re: Installing tomcat on Windows 2000 JAVA_HOME C:\jdk1.3.0_01 CLASSPATH C:\jdk1.3.0_01\lib\tools.jar TOMCAT_HOME C:\Program Files\Tomcat these have to be set in control panel - system icon - advanced tab - enviorment variables button. Avoid setting CLASSPATH globally. It's not necessary either; tools.jar will be added to the classpath used when tomcat is started, anyway. Also avoid directory names with spaces in them. You never know when that is going to cause trouble. Whoever came up with the idea that such a central catalog in windows should have a space in it, and even that the name should vary depending on your preferred language did us all a misfavour. Hopefully not intended ;) erik erik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Installing tomcat on Windows 2000
These paths are out of the Book "Professional JSP" wrox title and you obviously don't understand how environment variables are set in windows. Yes there are spaces and yes we are talking "windows" this is not Unix! I myself tried to set these variables in the autoexec.bat file and Tomcat would not run. ONLY when they are set GLOBALLY via the control panel does tomcat run (for me at least in windows 2000) and if you set these variables via the autoexe.bat file in windows 98 they would still have spaces --( yes you can write them with dos names but why bother) again this is WINDOWS -- I wish everyone would use Linux or Unix but it is a windows world. Ohh and the book says that the classpath must point to tools.jar What java book have you written lately that states otherwise. And also it depends what type of file you are writing to .xml .bat which dictates if you quotes around the path "C:\Program Files\Tomcat" but we are not talking files we are talking an OS and how that OS directory structure is set up. - Original Message - From: "Erik G. Dybdahl" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 10:37 PM Subject: Re: Installing tomcat on Windows 2000 JAVA_HOME C:\jdk1.3.0_01 CLASSPATH C:\jdk1.3.0_01\lib\tools.jar TOMCAT_HOME C:\Program Files\Tomcat these have to be set in control panel - system icon - advanced tab - enviorment variables button. Avoid setting CLASSPATH globally. It's not necessary either; tools.jar will be added to the classpath used when tomcat is started, anyway. Also avoid directory names with spaces in them. You never know when that is going to cause trouble. Whoever came up with the idea that such a central catalog in windows should have a space in it, and even that the name should vary depending on your preferred language did us all a misfavour. Hopefully not intended ;) erik erik ___ Do You Yahoo!? Del dine bilder med andre p http://no.photos.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Installing Tomcat on Windows 2000
Colleagues, I have downloaded the file jakarta-tomcat-3.2.1.zip from "http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/" and tried to install it onto my PC; several colleagues from the list have tried to advice me to get around the problems I have, but so far tomcat still doesn't work with me! The problem is: whenever issuing the commend: "tomcat run", I always got following errors: D:\jakarta-tomcat-3.2.1\bintomcat run Exception in thread "main" java.lang.ExceptionInInitializerError: java.util.Miss ingResourceException: Can't find bundle for base name org.apache.tomcat.resource s.LocalStrings, locale en_GB at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle .java:707) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:679) at java.util.ResourceBundle.getBundle(ResourceBundle.java:546) at org.apache.tomcat.util.StringManager.init(StringManager.java:115) at org.apache.tomcat.util.StringManager.getManager(StringManager.java:26 0) ??? So what is this error message about and how to get around it??? Thanks for your advice in advance! Shicheng - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Installing Tomcat on Windows 2000
Hello, Make sure that you have set a %TOMCAT_HOME% entry into your environmental variables (ex c:\tomcat\bin ). Make sure you have set a %JAVA_HOME% environmental variable. (ex c:\jdk1.3 ) These two variables will have to be created as they are not default to win 2000. I believe that you said that you checked your %CLASSPATH% , that is important. (the only entry I have for tomcat in my %CLASSPATH% is c:\tomcat\bin\servlet.jar ) Make sure that your JDK is in the %CLASSPATH% (are you able to javac etc. without typing the classpath?) Very important to NOT "close off" your paths with a ";". Print out your documentation from the tomcat/docs folder. (the HTML pages (29 pages)) The "Minimalist User's Guide" and "Tomcat IIS Howto" are good. While your at it also print out all of the other documents as you should get familiar with them. Go through the documents carefully and deliberately. Good luck, Craig -Original Message- From: Shicheng TIAN(CMS) [mailto:[EMAIL PROTECTED]] Sent: Monday, January 15, 2001 6:08 AM To: [EMAIL PROTECTED] Subject: Installing Tomcat on Windows 2000 Colleagues, I have downloaded the file jakarta-tomcat-3.2.1.zip from "http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/" and tried to install it onto my PC; several colleagues from the list have tried to advice me to get around the problems I have, but so far tomcat still doesn't work with me! The problem is: whenever issuing the commend: "tomcat run", I always got following errors: D:\jakarta-tomcat-3.2.1\bintomcat run Exception in thread "main" java.lang.ExceptionInInitializerError: java.util.Miss ingResourceException: Can't find bundle for base name org.apache.tomcat.resource s.LocalStrings, locale en_GB at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle .java:707) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:679) at java.util.ResourceBundle.getBundle(ResourceBundle.java:546) at org.apache.tomcat.util.StringManager.init(StringManager.java:115) at org.apache.tomcat.util.StringManager.getManager(StringManager.java:26 0) ??? So what is this error message about and how to get around it??? Thanks for your advice in advance! Shicheng - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]