XmlMapper Debug level
Hi all, I use Tomcat 4.0b5, when startup XmlMapper useDebug level 3, when I change server.xml like this: ** Server port="8005" shutdown="SHUTDOWN" debug="0" xmlmapper:debug level="0" / Service name="Tomcat-Standalone" . ** XmlMapper useDebug level 3 yet ! Thanks for somehelp. SongDongsheng
Re: Help needed to start tomcat 4 beta 4
Check server.xml: Connector className=org.apache.catalina.connector.http.HttpConnector port=8080 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0 connectionTimeout=6/ maybe you not set port=8080 - Original Message - From: wasims@comsats [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 23, 2001 10:28 PM Subject: Help needed to start tomcat 4 beta 4 I am trying to run tomcat 4 beta 4 on two different systems and am unable to do so on either of them I would really appreciate if I could get some advice on this. In both cases no change has been made to the server.xml file The first system is a Win 98 system with the following configuration Autoexec.bat: PATH C:\WINDOWS;C:\WINDOWS\COMMAND;D:\jdk1.3\bin; SET TOMCAT_HOME=c:\tc4b4 SET JAVA_HOME=D:\jdk1.3 SET CLASSPATH=. shell environment memory has been set via the dos window shortcut to 4096 On Running the startup.bat file 1) the following message appears Using CLASSPATH: ..\bin\bootstrap.jar;D:\jdk1.3 \lib\tools.jar 2) a 2nd Dos Window opens with the following message Starting service Tomcat-Standalone Apache Tomcat/4.0-b4 Starting service Tomcat-Apache Apache Tomcat/4.0-b4 Now when I try to access the following URL http://localhost:8080/ it is inaccessible The 2nd system is a Windows NT Workstation 4 SP 3 with the following configuration: COMPUTERNAME=FW ComSpec=D:\WINNT\system32\cmd.exe HOMEDRIVE=D: HOMEPATH=\ JAVA_HOME=D:\jdk1.3 LOGONSERVER=\\FW NUMBER_OF_PROCESSORS=1 OS=Windows_NT Os2LibPath=D:\WINNT\system32\os2\dll; Path=D:\WINNT\system32;D:\WINNT; D:\jdk1.3\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 5 Model 4 Stepping 4, GenuineIntel PROCESSOR_LEVEL=5 PROCESSOR_REVISION=0404 PROMPT=$P$G SystemDrive=D: SystemRoot=D:\WINNT TEMP=D:\TEMP TMP=D:\TEMP TOMCAT_HOME=D:\tc4b4 USERDOMAIN=FW USERNAME=Administrator USERPROFILE=D:\WINNT\Profiles\Administrator.002 windir=D:\WINNT D:\path PATH=D:\WINNT\system32;D:\WINNT; D:\jdk1.3\bin On Running the startup.bat file 1) the following message appears Using CLASSPATH: ..\bin\bootstrap.jar;D:\jdk1.3 \lib\tools.jar 2) a 2nd Dos Window opens with the following message Starting service Tomcat-Standalone Apache Tomcat/4.0-b4 Starting service Tomcat-Apache Apache Tomcat/4.0-b4 Now when I try to access the following URL http://localhost:8080/ it is inaccessible looking forward to a solution Anwar
Re: NT problem : Tomcat service stops when user logs out of NT
SSL support for Tomcat 3.2.1 with IISYou can compile this c file to DLL: *** /* cl /GD /LD -I D:\usr\jdk1.3\include -I D:\usr\jdk1.3\include\win32 JNI_OnLoad.c */ #include windows.h #include winbase.h #include stdio.h #include jni.h BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { return TRUE; } BOOL __stdcall HandleConsole(DWORD dwMsg) { switch (dwMsg) { file://case CTRL_C_EVENT : file://case CTRL_BREAK_EVENT : file://case CTRL_CLOSE_EVENT : file://case CTRL_SHUTDOWN_EVENT : case CTRL_LOGOFF_EVENT : return TRUE; } return FALSE; } JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *reserved) { SetConsoleCtrlHandler(HandleConsole, TRUE); return 0x10002; } *** and add the code to org.apache.catalina.startup.Bootstrap *** static { try { System.loadLibrary(DLS); System.err.println(Load library 'DLS' success); } catch(Throwable throwable) { System.err.println(Load library 'DLS' fail( + throwable.getMessage() + )); } } *** Then jvm will discard user logs out of NT signal,good luck ! - Original Message - From: Ronald G. Louzon To: '[EMAIL PROTECTED]' Sent: Thursday, May 24, 2001 12:38 AM Subject: NT problem : Tomcat service stops when user logs out of NT I know this is in the archives somewhere but I cannot find it. Is there a problem when running the Tomcat wrapper jk_nt_service.exe with JDK/JRE 1.3? If I remember correctly, the problem is that if you start the service and then you log out of NT, the service is shutdown. And, supposedly, this is not a problem when using JDK/JRE 1.3. If this is indeed a problem, are there any suggestions as to how to run tomcat as a service in the JDK/JRE 1.3 environment? Has anyone had luck with the JavaService app? thanks, ron DLS.dll bootstrap.jar
TC4/Catalina and Apache1.3.X with under Win32
Hi Folks, Has someone can give memod_webapp.dll,server.xml, httpd.conf examples ? Thanks for some help. SongDongsheng
Re: JSP requires tools.jar in JDK 1.3?
Yes, JSP requires tools.jar in JDK 1.3 for compile java files, but you can use jikes instead. - Original Message - From: Wai-Yip Tung [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 8:19 AM Subject: JSP requires tools.jar in JDK 1.3? Does JSP requires tools.jar in JDK 1.3? I intend to embed tomcat with our product. The issue is JRE is redistributable but it does not contain tools.jar. tools.jar itself doesn't seems to be redistributable. Has anyone got into this issue and has there any workaround? Thank you for information, Wai-yip
Re: Apache 1.3.19/Tomcat 4.0B5 conf
Ok, but after I deleted GB2312 declaration, It frozen yet, NO processor times used ! Can someone give me a server.xml httpd.conf example ?
Apache 1.3.19/Tomcat 4.0B5 conf
Ok, but after I deleted GB2312 declaration, It frozen yet, NO processor times used ! Can someone give me a server.xml httpd.conf example ? By the way, I compilemod_webapp.dll libapr.dll use VC6 in Win2K pro.
Apache 1.3.19/Tomcat 4.0B5 conf
Ok, but after I deleted GB2312 declaration, It frozen yet, NO processor times used ! Can someone give me a server.xml httpd.conf example ? By the way, I compilemod_webapp.dll libapr.dll use VC6 in Win2K pro.
Apache 1.3.19/Tomcat 4.0B5 conf
Ok, but after I deleted GB2312 declaration, It frozen yet, NO processor times used ! Can someone give me a server.xml httpd.conf example ? By the way, I compilemod_webapp.dll libapr.dll use VC6 in Win2K pro.
Apache 1.3.19/Tomcat 4.0B5 conf
Has someone successfully use Apache 1.3.19 with Tomcat 4.0b5 in WinNT/Win2K,and how can I use Tomcat-Apache Engine in %APACHE_HOME%\htdocs and all it's subdirectories ?
connectors conf
Hi, when I use Tomcat-4.0-b5 standalone test, no errors report, but when I use Tomcat-Apache connectors, the Apache-1.3.19 is frozen, and the logs display no errors occured. I use Win2K OS, here is my httpd.conf: * ServerType standalone ServerRoot "D:/usr/Apache" PidFile logs/httpd.pid ScoreBoardFile logs/apache_runtime_status Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MaxRequestsPerChild 0 ThreadsPerChild 50 LoadModule info_module modules/mod_info.soLoadModule status_module modules/mod_status.soLoadModule webapp_module modules/mod_webapp.dll ExtendedStatus On Port 80 ServerAdmin [EMAIL PROTECTED] ServerName egcs DocumentRoot "D:/usr/for_t4_test_root" Directory / Options FollowSymLinks AllowOverride None/Directory Directory "D:/usr/for_t4_test_root" Options Indexes FollowSymLinks MultiViews/Directory IfModule mod_userdir.c UserDir "D:/usr/Apache/users/"/IfModule IfModule mod_dir.c DirectoryIndex index.html/IfModule AccessFileName .htaccess Files ~ "^\.ht" Order allow,deny Deny from all/Files UseCanonicalName On IfModule mod_mime.c TypesConfig conf/mime.types/IfModule DefaultType text/plain IfModule mod_mime_magic.c MIMEMagicFile conf/magic/IfModule HostnameLookups Off ErrorLog logs/error.log LogLevel warn LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedLogFormat "%h %l %u %t \"%r\" %s %b" commonLogFormat "%{Referer}i - %U" refererLogFormat "%{User-agent}i" agent CustomLog logs/access.log common ServerSignature On IfModule mod_alias.c Alias /icons/ "D:/usr/Apache/icons/" Directory "D:/usr/Apache/icons" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all /Directory ScriptAlias /cgi-bin/ "D:/usr/Apache/cgi-bin/" Directory "D:/usr/Apache/cgi-bin" AllowOverride None Options None Order allow,deny Allow from all /Directory /IfModule IfModule mod_autoindex.c IndexOptions FancyIndexing AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ DefaultIcon /icons/unknown.gif ReadmeName README HeaderName HEADER IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t /IfModule IfModule mod_mime.c AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddLanguage da .dk AddLanguage nl .nl AddLanguage en .en AddLanguage et .ee AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage he .he AddCharset ISO-8859-8 .iso8859-8 AddLanguage it .it AddLanguage ja .ja AddCharset ISO-2022-JP .jis AddLanguage kr .kr AddCharset ISO-2022-KR .iso-kr AddLanguage no .no AddLanguage pl .po AddCharset ISO-8859-2 .iso-pl AddLanguage pt .pt AddLanguage pt-br .pt-br AddLanguage ltz .lu AddLanguage ca .ca AddLanguage es .es AddLanguage sv .se AddLanguage cz .cz AddLanguage ru .ru AddLanguage tw .tw AddLanguage zh-tw .tw AddCharset Big5 .Big5 .big5 AddCharset WINDOWS-1251 .cp-1251 AddCharset CP866 .cp866 AddCharset ISO-8859-5 .iso-ru AddCharset KOI8-R .koi8-r AddCharset UCS-2 .ucs2 AddCharset UCS-4 .ucs4 AddCharset UTF-8 .utf8 IfModule mod_negotiation.c LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw /IfModule AddType application/x-tar .tgz /IfModule IfModule mod_setenvif.c BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0/IfModule Location /server-status SetHandler server-status/Location Location /server-info SetHandler server-info/Location WebAppConnection warpConnection warp egcs:8008 WebAppInfo /jsp-info WebAppDeploy app warpConnection /app WebAppDeploy app2 warpConnection /app2 WebAppDeploy app3 warpConnection /app3 Here is my Server.xml: Server