Re: startup dosent work anymore since updated on xp!

2004-02-20 Thread Martin Gainty
Bonjour Francois:
On the one hand you are using CALL
as if you are synchronously executing a BATch file
but you are passing START parameter
I thought CALL and START were mutually exclusive ?!?!?
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechn
ol/winxppro/proddocs/call.asp
quoi penser?
Marty Gainty
- Original Message -
From: FRANCOIS Dufour [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 20, 2004 10:22 AM
Subject: Re: startup dosent work anymore since updated on xp!



 well its look like this



 @echo off
 if %OS% == Windows_NT setlocal
 rem
 --
-
 rem Start script for the CATALINA Server
 rem
 rem $Id: startup.bat,v 1.3.4.2 2002/01/30 18:10:40 patrickl Exp $
 rem
 --
-

 rem Guess CATALINA_HOME if not defined
 if not %CATALINA_HOME% ==  goto gotHome
 set CATALINA_HOME=.
 if exist %CATALINA_HOME%\bin\catalina.bat goto okHome
 set CATALINA_HOME=..
 :gotHome
 if exist %CATALINA_HOME%\bin\catalina.bat goto okHome
 echo The CATALINA_HOME environment variable is not defined correctly
 echo This environment variable is needed to run this program
 goto end
 :okHome

 set EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat

 rem Check that target executable exists
 if exist %EXECUTABLE% goto okExec
 echo Cannot find %EXECUTABLE%
 echo This file is needed to run this program
 goto end
 :okExec

 rem Get remaining unshifted command line arguments and save them in the
 set CMD_LINE_ARGS=
 :setArgs
 if %1== goto doneSetArgs
 set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
 shift
 goto setArgs
 :doneSetArgs

 call %EXECUTABLE% start %CMD_LINE_ARGS%

 :end




 [EMAIL PROTECTED]
 administrateur http://entre-nous.qc.tc





 From: SMaric [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: startup dosent work anymore since updated on xp!
 Date: Fri, 20 Feb 2004 13:12:10 -
 
 Try opening the bat file using Notepad
 If you see some 'un-printable' chars, then you need to
 close the file
 open it in wordpad
 save it
 close it
 
 If this is the problem
 You will need to do this for several of the bat files throughout the
tomcat
 directory tree
 
 use Explorer to search for *.bat  work your way through each one
 
 
 
 
 FRANCOIS Dufour [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
   hi to all
   sombody could help mee whit that?
  
   i cant use the startup.bat since updated is there a way to fix that
   even after reinstalling it?
   ive maded myself shortcut to start it by there and to shut it down by
   shutdown.bat
   dosent work anymore
   is it a bug?
   but the shortcut from program files still work seem strange!
  
   thanks for your precious time
  
   [EMAIL PROTECTED]
   administrateur http://entre-nous.qc.tc
  
   _
   MSN Messenger : discutez en direct avec vos amis !
   http://messenger.fr.msn.ca/
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

 _
 MSN Search, le moteur de recherche qui pense comme vous !
 http://fr.ca.search.msn.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: Web Activity Monitoring

2004-02-11 Thread Martin Gainty
Peter
There are the HTTP Variables
example:
http://www.lib.washington.edu/asp/browser/servar.asp

How would you want to capture this information?

Regards,
Marty Gainty

- Original Message - 
From: Pete Stokes [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 8:45 AM
Subject: Web Activity Monitoring


 Does an1 know of open source stuff that will monitor hits (distribution
 over day/week///), browser type, etc ?

 Similar to www.speed-trap.com

 Thanks,
 Pete.





***
 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 system manager.
 This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.


***
 For any information on the Quinn Group of Companies please visit :-

 http://www.quinn-group.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: Insufficient Error messages on jsp error

2004-02-02 Thread Martin Gainty
Dan
I would recommend setting up an ANT http://ant.apache.org/ script with
jsp-precompiling right after you freshen source from source control (and
before general java compile step)..this is an absolutely necessary
methodology you should utilise if you will be doing enterprise wide
development.
For that reason I use IDEs for incremental local builds only.
Regards,
Martin
P.S.
Offline topic for Dan-What did you think of the Monster ad during the
Superbowl??

- Original Message -
From: Daniel Gibby [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, February 02, 2004 3:20 PM
Subject: Re: Insufficient Error messages on jsp error


 Maybe this has to do with the level of debug you have on.

 Daniel Gibby

 Lukas sterreicher wrote:

 Hello.
 
 Since I upgraded to Tomcat 5 it's been bugging me that on errors in jsp
files
 (I think both compile and runtime) I just get an error like:
 
 [ServletException in:/programtracklist.jsp] null'
 
 and
 
 2004-01-16 14:58:44 ApplicationDispatcher[/yarf] Servlet.service() for
servlet jsp threw exception
 java.lang.ThreadDeath
  at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1253)
  at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1213)
  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
  at org.apache.log4j.spi.LoggingEvent.init(LoggingEvent.java:145)
  at org.apache.log4j.Category.forcedLog(Category.java:372)
 
 in the logfile, wheras in Tomcat 4 on exactly the same error it gives the
following error
 that one can work with to fix the error:
 
 [ServletException in:/programtracklist.jsp] Unable to compile class for
JSP An error occurred at line: 162 in the jsp file: /programtracklist.jsp
Generated servlet error:
 [javac] Compiling 1 source file E:\Programme\Apache Group\Tomcat
4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot
resolve symbol
 symbol : method setValue (int) location: class
org.apache.struts.taglib.html.HiddenTag
_jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track()); ^ 1
 error '
 
 2004-01-16 15:03:08 Error compiling file: E:\Programme\Apache
Group\Tomcat 4.1\work\Standalone\localhost\yarf\/programtracklist_jsp.java
[javac] Compiling 1
 source file
 
 E:\Programme\Apache Group\Tomcat
4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot
resolve symbol
 symbol  : method setValue (int)
 location: class org.apache.struts.taglib.html.HiddenTag
 
_jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track());
 ^
 1 error
 
 2004-01-16 15:03:08 ApplicationDispatcher[/yarf] Servlet.service() for
servlet jsp threw exception
 org.apache.jasper.JasperException: Unable to compile class for JSP
 
 An error occurred at line: 162 in the jsp file: /programtracklist.jsp
 
 Generated servlet error:
 [javac] Compiling 1 source file
 
 E:\Programme\Apache Group\Tomcat
4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot
resolve symbol
 symbol  : method setValue (int)
 location: class org.apache.struts.taglib.html.HiddenTag
 
_jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track());
 ^
 1 error
 
 
  at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:120)
  at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93)
  at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
 
 
 Can you tell me why this is?
 Is it possible to configure tomcat 5 to display an error message
 as before in Tomcat 4?
 
 Thanx in Advance,
 Lukas sterreicher
 
 
 
 -
 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]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: port info

2004-01-12 Thread Martin Gainty
0.0.0.0  your default network address
Take care when specifying this in your IP Address field
-Martin
- Original Message -
From: FRANCOIS Dufour [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 12, 2004 3:32 PM
Subject: RE: port info


 well put :8080 at your redirection site exemple redirect
 adress(0.0.0.0:8080/yourapp/file)
 [EMAIL PROTECTED]
 crazy-wilys webmaster





 From: Ro, Jean S [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Subject: port info
 Date: Mon, 12 Jan 2004 12:25:53 -0800
 
 Hi,
 
 I use the following url:
 
 http://mydomainname.com:8081/mywebapp/
 
 But I don't want the user to see the port information so I want to remove
 it
 from url:
 
 http://mydomainname.com/mywebapp/
 
 How do I do that?
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

 _
 MSN Messenger : discutez en direct avec vos amis !
 http://messenger.fr.msn.ca/


 -
 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 Fine Tune Config

2003-12-28 Thread Martin Gainty
Construct the WAR and copy to webapps
Tomcat will deploy for you
check out this blurb from IBM about WAR

A War typically contains

  a.. Servlets
  b.. JavaServer Pages (JSP) files
  c.. Utility classes
  d.. Static documents, such as HTML files, images, and sound.
  e.. Client-side applets, beans, and classes
  f.. Descriptive meta-information
Martin
- Original Message -
From: Graham Kendall [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 28, 2003 1:26 PM
Subject: Tomcat 5 Fine Tune Config


 I have already created some servlets and copied them into the

 webapps/ROOT/WEB-INF/classes/servletname/

 directory in my Tomcat directory, with associated *.htm and *.jsp files in
 the

 webapps/ROOT/

 file.

 What do I have to do so that I can have these servlets working when they
are
 copied into the

 webapps/servletname/

 file in Tomcat 5??

 Many Thanks

 Graham Kendall








 -
 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: Re: Tomcat XML example

2003-07-21 Thread Martin Gainty
Display Error Reported in bugzilla [21740]

Martin

- Original Message -
From: Christian FEARD [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 20, 2003 2:47 AM
Subject: Re: Tomcat XML example


 Martin,

 try putting ':jsp' after 'xmlns'

 christian
 






 Martin Gainty [EMAIL PROTECTED]
 Sent by: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
 20-07-03 00:24
 Please respond to A mailing list about Java Server Pages specification and
 reference


 To: [EMAIL PROTECTED]
 cc:
 Subject:Tomcat XML example


 ?xml version=1.0?
 jsp:root xmlns=http://java.sun.com/JSP/Page;
   version=1.2
 jsp:directive.page contentType=text/html/
 jsp:directive.page import=java.util.Date, java.util.Locale/
 jsp:directive.page import=java.text.*/

 jsp:declaration
   String getDateTimeStr(Locale l) {
 DateFormat df =
 SimpleDateFormat.getDateTimeInstance(DateFormat.MEDIUM,
 DateFormat.MEDIUM, l);
 return df.format(new Date());
   }
 /jsp:declaration

 html
 head
   titleExample JSP in XML format/title
 /head

 body
 This is the output of a simple JSP using XML format.
 br /

 divUse a jsp:scriptlet to loop from 1 to 10: /div
 jsp:scriptlet
 // Note we need to declare CDATA because we don't escape the less than
 symbol
 ![CDATA[
   for (int i = 1; i=10; i++) {
 out.println(i);
 if (i  10) {
   out.println(, );
 }
   }
 ]]
 /jsp:scriptlet

 !-- Because I omit br's end tag, declare it as CDATA --
 ![CDATA[
   brbr
 ]]

 div align=left
   !-- If we don't use span or jsp:text or any other tag to enclose
 the
 label,
then the date/time string is printed BEFORE the label.  Is this a
 Tomcat 4.0.1 bug? --
   div
 Use a jsp:expression to write the date and time in the browser's
 locale:
   /div
   jsp:expressiongetDateTimeStr(request.getLocale())/jsp:expression
 /div


 jsp:text
   pThis sentence is enclosed in a jsp:text element./p
 /jsp:text

 /body
 /html
 /jsp:root

 produces this output:
 The XML page cannot be displayed
 Cannot view XML input using XSL style sheet. Please correct the error and
 then click the Refresh button, or try again later.


 --
--

 Reference to undeclared namespace prefix: 'jsp'. Line 3, Position 17

   version=1.2

 Advice?

 Martin


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
 For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.

 Some relevant archives, FAQs and Forums on JSPs can be found at:

  http://java.sun.com/products/jsp
  http://archives.java.sun.com/jsp-interest.html
  http://forums.java.sun.com
  http://www.jspinsider.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]