Re: Tomcat JSP problem

2005-10-04 Thread Schalk Neethling

Liubomir

I have experienced the same problem.

Are you including any servlets in this JSP? Or are you using any 
filters? Any java type that has been pre-compiled locally, is what I am 
basically asking? If so, you will have a major/minor mismatch.Best to 
develop and compile to the same version you have running on the server.


Liubomir Dokov wrote:


Hi, I am using Tomcat and I have the following problem: when I develop
and test my
applications on my local computer everything is OK. But a few days
ago, when I
uploaded my .war file to the server where I host my domain something
is wrong. A request to the first(index.jsp) page returns nothing in
response. No exceptions, nothing. Just a blank page. I am using Tomcat
5.0.28 and JDK 1.5.0_02. On the server they have Tomcat 4.1 and JDK
1.4. I tried them locally and they work fine as well. Does anyone have
idea what's wrong? Months ago I had a similar issue with another web
application when upgrading
from Tomcat 5.0.28 to 5.5.8. It was working with 5.0.28 and a blank
page with the new one.

Another thing to consider is that I am using
Windows XP and on the server they are using Linux (Fedora Core). Could
this have something to do with my problem? Please, help!
 

 



--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Business.Solution.Developers
emotionalize.conceptualize.visualize.realize
Landlines
Tel: +27125468436
Fax: +27125468436
Web
email:[EMAIL PROTECTED]
Global: www.volume4.com
Messenger
Yahoo!: v_olume4
AOL: v0lume4
MSN: [EMAIL PROTECTED]

We support OpenSource
Get Firefox!- The browser reloaded - http://www.mozilla.org/products/firefox/

The information transmitted is intended solely for the individual or entity to 
which it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of or taking action in 
reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you have received this email in error, please 
contact the sender and please delete all traces of this material from all 
devices.



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



Tomcat 5.5.9 bugs?

2005-10-02 Thread Schalk

Greetings All

Does anyone know of bugs in the 5.5.9 release of Tomcat with regards to 
recompiling Jsp's or incorrectly send SQL statements?


The reason I ask is, I do some development of Jsp's in Dreamweaver and 
use the synchronization utility to synchronize my local files with the 
files within Tomcat. Now, after having done this and refreshing the 
page, or triggering the link, Tomcat still runs the old file. If I 
delete everything from the work directory then it recompiles the Jsp and 
shows the new Jsp.


Also, I have a .jsp file used a resource for SQL queries. Once a page is 
run that calls one of these SQL queries, I continually get a SQL error 
that some column was not found. However, if I run the exact same query 
directly on the SQL server or via phpMyAdmin, the query executes 
successfully without any error.


Any aware of these issues? Or is there something else that might be 
causing these problems? Thank you in advance.


--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Business.Solution.Developers



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



Re: using my own classes in my web-app

2004-09-06 Thread Schalk Neethling
Have you registered your servlets via the web.xml?
Sjoerd van Leent wrote:
Peter Jarunek wrote:
Hello,
I'm new to Tomcat and need a help. I'd like to use my own classes in 
my JSPs, but I can not reach them from my JSPs. I added them (already 
compiled .class files) into WEB-INF/classes directory of my war file, 
but the JSP doesn't work. It shows the message of unknown class. How 
to use them?

Thanks for your answer! Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

Did you try to use any packages?
Regards,
Sjoerd
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Design.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
Global: www.volume4.com
South-Africa: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: web.xml

2004-09-02 Thread Schalk Neethling
Yanbin
Where are you placing your servlets and jsp's? Also, please post your 
web.xml

Yanbin Ma wrote:
Hi,
I am very new to tomcat. I have a question about web.xml.
I was using all jsp files without a web.xml under WEB-INF folder.
Everything worked fine, until I added some servlet java classes and
web.xml to register them. Then tomcat cannot find my jsp any more. 

What should I do to solve this? Thanks!
Regards,
Yanbin


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

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
Global: www.volume4.com
South-Africa: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Tomcat 5.5

2004-09-01 Thread Schalk Neethling
Hey there
Is release 5.5 of Tomcat a stable - production release?
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
Global: www.volume4.com
South-Africa: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: JSP WhiteSpace

2004-08-21 Thread Schalk Neethling
Are you talking about about white spaces in the code or the rendered 
page itself?

Parsons Technical Services wrote:
Then they are using a very odd or out dated browser. Thus a very small
percentage of the users will have problems.
Doug Parsons
www.parsonstechnical.com
- Original Message - 
From: A [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, August 21, 2004 12:22 PM
Subject: Re: JSP WhiteSpace

 

Well what happens if your users cannot accept zipped
content - your pretty much screwed then if you choose
this method.  I woul dprefer a way of doing this
without compressing the output.
Any ideas?
--- Tim Funk [EMAIL PROTECTED] wrote:
   

Use mod_gzip. (If using apache, or tomcat 5 also
supports compressing on the
HTTP connector) The whitespace becomes a non-issue
and your *really* save
bandwidth.
-Tim
Jack Kada wrote:
 

Developers,
I have completed a JSP project but when i view the
source of the HTML pages there are loads of
   

whitespace
 

in between tables rows.
I am using Tomcat 5 and in the mailing list read
   

that
 

there is a parameter called trimSpaces().  I tried
this but it had no effect on the webpage.
If i could remove whitespace without touching JSP
   

code
 

i would save a lot of bandwidth.
   

 

-
   

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

___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
-
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]
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: JSP WhiteSpace

2004-08-21 Thread Schalk Neethling
So if I understand correctly then this is the view users have of the 
page. Have you tried using CSS to control the way the table behaves?

A wrote:
In the compiled JSP page - I dont want to remove white
space from the code for the sake of readability
--- Schalk Neethling [EMAIL PROTECTED] wrote:
 

Are you talking about about white spaces in the code
or the rendered 
page itself?

Parsons Technical Services wrote:
   

Then they are using a very odd or out dated
 

browser. Thus a very small
   

percentage of the users will have problems.
Doug Parsons
www.parsonstechnical.com
- Original Message - 
From: A [EMAIL PROTECTED]
To: Tomcat Users List
 

[EMAIL PROTECTED]
   

Sent: Saturday, August 21, 2004 12:22 PM
Subject: Re: JSP WhiteSpace

 

Well what happens if your users cannot accept
   

zipped
   

content - your pretty much screwed then if you
   

choose
   

this method.  I woul dprefer a way of doing this
without compressing the output.
Any ideas?
--- Tim Funk [EMAIL PROTECTED] wrote:
  

   

Use mod_gzip. (If using apache, or tomcat 5 also
supports compressing on the
HTTP connector) The whitespace becomes a
 

non-issue
   

and your *really* save
bandwidth.
-Tim
Jack Kada wrote:


 

Developers,
I have completed a JSP project but when i view
   

the
   

source of the HTML pages there are loads of
  

   

whitespace


 

in between tables rows.
I am using Tomcat 5 and in the mailing list read
  

   

that


 

there is a parameter called trimSpaces().  I
   

tried
   

this but it had no effect on the webpage.
If i could remove whitespace without touching
   

JSP
   

  

   

code


 

i would save a lot of bandwidth.
  

   



 

-
 

  

   

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


 

___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter
   

now.
   

http://promotions.yahoo.com/goldrush
   

-
 

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]
   


 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered
to be sensitive or confidential and may not be
forwarded or disclosed to any other party without
the permission of the sender. If you received this
message in error, please notify me immediately so
that I can correct and delete the original email.
Thank you.

   

-
 

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



___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: CLASSPATH in Windows XP

2004-08-20 Thread Schalk Neethling
My first thought on this will be that the space, i.e. Servidor web, 
might be the cause. Not all installation does have a problem with but, I 
know some apps does have a problem with folders that contain spaces.

HTH!
Javier wrote:
Hello, I have Tomcat 5 running in Windows XP. Now I want to install Apache
SOAP and AXIS not copying the jar files into Tomcat5/common/lib but setting
their paths in CLASSPATH, like installation instructions of SOAP and AXIS
says. It doesnt work (copying the files all works fine). This is my
CLASSPATH:
C:\Servidor web\AXIS 1.1\lib\axis.jar;C:\Servidor web\XML Security
1.1.0\libs\xmlsec.jar;C:\Servidor web\Xerces
2.5.0\xmlParserAPIs.jar;C:\Servidor web\Xerces
2.5.0\xml-apis.jar;C:\Servidor web\Xerces 2.5.0\xercesImpl.jar;C:\Servidor
web\JAVA Mail 1.3.2ea\mail.jar;C:\Servidor web\JAF
1.0.2\activation.jar;C:\Servidor web\SOAP
2.3.1\lib\soap.jar;C:\WINDOWS\System32\QTJava.zip

Does Tomcat use this CLASSPATH? How can I tell Tomcat to use that?

Thanks.
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


re: servlet question

2004-08-14 Thread Schalk Neethling
Hey all!
I have a servlet called login. I have it mapped in my web.xml as follows:
servlet
   servlet-namelogin/servlet-name
   servlet-classorg.volume4.authentication.login/servlet-class
/servlet
servlet-mapping
   servlet-namelogin/servlet-name
   url-pattern*.login/url-pattern
/servlet-mapping
My WEB-INF structure is as follows
WEB-INF/classes/org/volume4/authentication/login.class
Does anyone have an idea as to why when I call login as process.login 
from a form it is not run? I have placed some System.out.println(); in 
there but, it seems that the servlet is not called at all. I basically 
just get a blank screen. When I look at the tomcat logs no errors are 
recorded here either.

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: servlet question

2004-08-14 Thread Schalk Neethling
Directly on Tomcat
David Short wrote:
Are you running this through apache redirected to tomcat or straight from
tomcat?
Try loading the servlet at tomcat startup to see if the servlet is
recognized.
i.e. load-on-startup1/load-on-startup
last in the servlet/servlet tag set.
I had the same issue and discovered that my pattern in apache wasn't right.
However, if you're not using apache, I don't know what to say.  The syntax
looks correct.
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:05 PM
To: Tomcat Users List
Subject: re: servlet question
Hey all!
I have a servlet called login. I have it mapped in my web.xml as follows:
servlet
   servlet-namelogin/servlet-name
   servlet-classorg.volume4.authentication.login/servlet-class
/servlet
servlet-mapping
   servlet-namelogin/servlet-name
   url-pattern*.login/url-pattern
/servlet-mapping
My WEB-INF structure is as follows
WEB-INF/classes/org/volume4/authentication/login.class
Does anyone have an idea as to why when I call login as process.login
from a form it is not run? I have placed some System.out.println(); in
there but, it seems that the servlet is not called at all. I basically
just get a blank screen. When I look at the tomcat logs no errors are
recorded here either.
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

-
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]
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: servlet question

2004-08-14 Thread Schalk Neethling
localhost:8080
David Short wrote:
Are you running this through apache redirected to tomcat or straight from
tomcat?
Try loading the servlet at tomcat startup to see if the servlet is
recognized.
i.e. load-on-startup1/load-on-startup
last in the servlet/servlet tag set.
I had the same issue and discovered that my pattern in apache wasn't right.
However, if you're not using apache, I don't know what to say.  The syntax
looks correct.
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:05 PM
To: Tomcat Users List
Subject: re: servlet question
Hey all!
I have a servlet called login. I have it mapped in my web.xml as follows:
servlet
   servlet-namelogin/servlet-name
   servlet-classorg.volume4.authentication.login/servlet-class
/servlet
servlet-mapping
   servlet-namelogin/servlet-name
   url-pattern*.login/url-pattern
/servlet-mapping
My WEB-INF structure is as follows
WEB-INF/classes/org/volume4/authentication/login.class
Does anyone have an idea as to why when I call login as process.login
from a form it is not run? I have placed some System.out.println(); in
there but, it seems that the servlet is not called at all. I basically
just get a blank screen. When I look at the tomcat logs no errors are
recorded here either.
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

-
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]
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: servlet question

2004-08-14 Thread Schalk Neethling
Attached is the servlet, can you see any problems here? It compiles fine.
David Short wrote:
Are you running this through apache redirected to tomcat or straight from
tomcat?
Try loading the servlet at tomcat startup to see if the servlet is
recognized.
i.e. load-on-startup1/load-on-startup
last in the servlet/servlet tag set.
I had the same issue and discovered that my pattern in apache wasn't right.
However, if you're not using apache, I don't know what to say.  The syntax
looks correct.
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:05 PM
To: Tomcat Users List
Subject: re: servlet question
Hey all!
I have a servlet called login. I have it mapped in my web.xml as follows:
servlet
   servlet-namelogin/servlet-name
   servlet-classorg.volume4.authentication.login/servlet-class
/servlet
servlet-mapping
   servlet-namelogin/servlet-name
   url-pattern*.login/url-pattern
/servlet-mapping
My WEB-INF structure is as follows
WEB-INF/classes/org/volume4/authentication/login.class
Does anyone have an idea as to why when I call login as process.login
from a form it is not run? I have placed some System.out.println(); in
there but, it seems that the servlet is not called at all. I basically
just get a blank screen. When I look at the tomcat logs no errors are
recorded here either.
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

-
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]
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.
/*
 * login.java
 *
 * Created on January 18, 2004, 9:47 PM
 */

package org.volume4.authentication;

import java.io.*;
import java.util.*;
import java.net.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;

/**
 *
 * @author  Design_DEMON
 * @version
 */
public class login extends HttpServlet {
public String DRIVER, URL, USER, PASS, username, userid, password, user_role;
/** Initializes the servlet.
 */
public void init() throws ServletException {
ServletContext context = getServletContext();
DRIVER = context.getInitParameter(driver);
URL = context.getInitParameter(dburl);
USER = context.getInitParameter(dbuser);
PASS = context.getInitParameter(dbpass);
}
  

/** Processes requests for both HTTP codeGET/code and codePOST/code 
methods.
 * @param request servlet request
 * @param response servlet response
 */
protected void processRequest(HttpServletRequest request, HttpServletResponse 
response)
throws ServletException, java.io.IOException {
response.setContentType(text/html);
PrintWriter out = response.getWriter();
Connection con = null;

try {  
  username = request.getParameter(username);
  userid = request.getParameter(userid);
  password = request.getParameter(password);
  
  System.out.println(username);
  System.out.println(userid);
  System.out.println(password);
  
  Class.forName(DRIVER);
  con = DriverManager.getConnection(URL,USER,PASS);   
  PreparedStatement stmt = con.prepareStatement(
  SELECT * from mi_users WHERE username= ' + username + '  +
  AND userid = ' + userid + '  +
  AND password= ' + password + ');
  
  ResultSet rs = stmt.executeQuery();
  
  boolean foundUser = false;
  
  while(rs.next()) {
  foundUser = true;   
  
  HttpSession session = request.getSession(true);
  session.setMaxInactiveInterval(1800);
  session.setAttribute

Re: servlet question

2004-08-14 Thread Schalk Neethling
I am running TC 5.0.25 on WindowsXP, my test environment. All other 
servlets are running fine on other webapps.

David Short wrote:
I don't think the servlet is the issue, since it's not even getting
executed.  Is your context path set up correctly in your servlet.xml or
tomcat\conf\catalina\localhost\context.xml file (tomcat 5).
Which version of tomcat are you running and on what os?
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:22 PM
To: Tomcat Users List
Subject: Re: servlet question
Attached is the servlet, can you see any problems here? It compiles fine.
David Short wrote:
 

Are you running this through apache redirected to tomcat or straight from
tomcat?
Try loading the servlet at tomcat startup to see if the servlet is
recognized.
i.e. load-on-startup1/load-on-startup
last in the servlet/servlet tag set.
I had the same issue and discovered that my pattern in apache wasn't right.
However, if you're not using apache, I don't know what to say.  The syntax
looks correct.
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:05 PM
To: Tomcat Users List
Subject: re: servlet question
Hey all!
I have a servlet called login. I have it mapped in my web.xml as follows:
servlet
  servlet-namelogin/servlet-name
  servlet-classorg.volume4.authentication.login/servlet-class
/servlet
servlet-mapping
  servlet-namelogin/servlet-name
  url-pattern*.login/url-pattern
/servlet-mapping
My WEB-INF structure is as follows
WEB-INF/classes/org/volume4/authentication/login.class
Does anyone have an idea as to why when I call login as process.login
   

from a form it is not run? I have placed some System.out.println(); in
 

there but, it seems that the servlet is not called at all. I basically
just get a blank screen. When I look at the tomcat logs no errors are
recorded here either.
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in
   

error,
 

please notify me immediately so that I can correct and delete the original
email. Thank you.

-
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]

   

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

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

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: servlet question

2004-08-14 Thread Schalk Neethling
Attached is my servlet and complete web.xml
David Short wrote:
I don't think the servlet is the issue, since it's not even getting
executed.  Is your context path set up correctly in your servlet.xml or
tomcat\conf\catalina\localhost\context.xml file (tomcat 5).
Which version of tomcat are you running and on what os?
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:22 PM
To: Tomcat Users List
Subject: Re: servlet question
Attached is the servlet, can you see any problems here? It compiles fine.
David Short wrote:
 

Are you running this through apache redirected to tomcat or straight from
tomcat?
Try loading the servlet at tomcat startup to see if the servlet is
recognized.
i.e. load-on-startup1/load-on-startup
last in the servlet/servlet tag set.
I had the same issue and discovered that my pattern in apache wasn't right.
However, if you're not using apache, I don't know what to say.  The syntax
looks correct.
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:05 PM
To: Tomcat Users List
Subject: re: servlet question
Hey all!
I have a servlet called login. I have it mapped in my web.xml as follows:
servlet
  servlet-namelogin/servlet-name
  servlet-classorg.volume4.authentication.login/servlet-class
/servlet
servlet-mapping
  servlet-namelogin/servlet-name
  url-pattern*.login/url-pattern
/servlet-mapping
My WEB-INF structure is as follows
WEB-INF/classes/org/volume4/authentication/login.class
Does anyone have an idea as to why when I call login as process.login
   

from a form it is not run? I have placed some System.out.println(); in
 

there but, it seems that the servlet is not called at all. I basically
just get a blank screen. When I look at the tomcat logs no errors are
recorded here either.
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in
   

error,
 

please notify me immediately so that I can correct and delete the original
email. Thank you.

-
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]

   

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

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

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.
/*
 * login.java
 *
 * Created on January 18, 2004, 9:47 PM
 */

package org.volume4.authentication;

import java.io.*;
import java.util.*;
import java.net.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;

/**
 *
 * @author  Design_DEMON
 * @version
 */
public class login extends HttpServlet {
public String DRIVER, URL, USER, PASS, username, userid, password, user_role;
/** Initializes the servlet.
 */
public void init() throws ServletException {
ServletContext context = getServletContext();
DRIVER = context.getInitParameter(driver);
URL = context.getInitParameter(dburl);
USER = context.getInitParameter(dbuser);
PASS = context.getInitParameter(dbpass);
}
  

/** Processes requests for both HTTP codeGET/code and codePOST/code 
methods.
 * @param request servlet request
 * @param response servlet response
 */
protected void processRequest(HttpServletRequest

Re: servlet question

2004-08-14 Thread Schalk Neethling
In 'tomcat\conf\catalina\localhost\' there is no context.xml file but 
there is a manageit.xml file, which is the webapp in question. 
server.xml does not contain any of the other info regarding my other 
webapps which are running fine so I do not think this is where the 
problem lies.

David Short wrote:
Is your context path set up correctly in your servlet.xml or
tomcat\conf\catalina\localhost\context.xml file for this webapp?
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:30 PM
To: Tomcat Users List
Subject: Re: servlet question
I am running TC 5.0.25 on WindowsXP, my test environment. All other
servlets are running fine on other webapps.
David Short wrote:
 

I don't think the servlet is the issue, since it's not even getting
executed.  Is your context path set up correctly in your servlet.xml or
tomcat\conf\catalina\localhost\context.xml file (tomcat 5).
Which version of tomcat are you running and on what os?
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:22 PM
To: Tomcat Users List
Subject: Re: servlet question
Attached is the servlet, can you see any problems here? It compiles fine.
David Short wrote:

   

Are you running this through apache redirected to tomcat or straight from
tomcat?
Try loading the servlet at tomcat startup to see if the servlet is
recognized.
i.e. load-on-startup1/load-on-startup
last in the servlet/servlet tag set.
I had the same issue and discovered that my pattern in apache wasn't
 

right.
 

However, if you're not using apache, I don't know what to say.  The syntax
looks correct.
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:05 PM
To: Tomcat Users List
Subject: re: servlet question
Hey all!
I have a servlet called login. I have it mapped in my web.xml as follows:
servlet
 servlet-namelogin/servlet-name
 servlet-classorg.volume4.authentication.login/servlet-class
/servlet
servlet-mapping
 servlet-namelogin/servlet-name
 url-pattern*.login/url-pattern
/servlet-mapping
My WEB-INF structure is as follows
WEB-INF/classes/org/volume4/authentication/login.class
Does anyone have an idea as to why when I call login as process.login
 

from a form it is not run? I have placed some System.out.println(); in

   

there but, it seems that the servlet is not called at all. I basically
just get a blank screen. When I look at the tomcat logs no errors are
recorded here either.
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in
 

error,
   

please notify me immediately so that I can correct and delete the original
email. Thank you.

-
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]


 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in
   

error,
 

please notify me immediately so that I can correct and delete the original
email. Thank you.

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

   

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

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

-
To unsubscribe, e-mail

RE: Servlet.service error

2004-08-12 Thread Schalk Neethling
Hey there all!
I am running Tomcat 5.0.25 on Windows XP. I have set-up a .jsp in my 
web.xml so that I can all it as I do servlets:

servlet
 servlet-namefooter/servlet-name
   jsp-file/secure/includes/footer.jsp/jsp-file
/servlet
servlet-mapping
 servlet-namefooter/servlet-name
 url-pattern*.footer/url-pattern
/servlet-mapping
When I call a page that includes this .jsp as follows:
jsp:include page=process.footer flush=true /
I get the following error in the Tomcat log:
2004-08-12 14:43:41 ApplicationDispatcher[/lawillustrated] 
Servlet.service() for servlet footer threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP

No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar 
from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat 
restart.
If using an alternate Java compiler, please check its installation and 
access path.

I did copy the tools.jar from my Java sdk to common/lib and also have 
set my Environment Variables to my JAVA_HOME/lib/ for both user and 
system. Restarted my system as well as Tomcat. Still get exactly the 
same result. All other .jsp's that are not mapped in the web.xml work 
fine without any errors. Any idea as to what is going wrong? Thanks!

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: Trouble running Tomcat 5 in XP

2004-08-12 Thread Schalk Neethling
When installing Tomcat did you select the option to install Tomcat as a 
service?

Shei Delfin wrote:
Hi,
I just installed Tomcat 5 on WinXP.  When trying to start the
Tomcat service, I get the following error Service Not Found
I have j2sdk1.4.2_03 and Tomcat 5
What am I doing wrong?
Thanks,
Sheila


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

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: Servlet.service error

2004-08-12 Thread Schalk Neethling
Hey all!
Does anyone have a suggestion here, or I am missing something simple?
Schalk Neethling wrote:
Hey there all!
I am running Tomcat 5.0.25 on Windows XP. I have set-up a .jsp in my 
web.xml so that I can all it as I do servlets:

servlet
 servlet-namefooter/servlet-name
   jsp-file/secure/includes/footer.jsp/jsp-file
/servlet
servlet-mapping
 servlet-namefooter/servlet-name
 url-pattern*.footer/url-pattern
/servlet-mapping
When I call a page that includes this .jsp as follows:
jsp:include page=process.footer flush=true /
I get the following error in the Tomcat log:
2004-08-12 14:43:41 ApplicationDispatcher[/lawillustrated] 
Servlet.service() for servlet footer threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP

No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually 
$JAVA_HOME/lib/tools.jar from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat 
restart.
If using an alternate Java compiler, please check its installation and 
access path.

I did copy the tools.jar from my Java sdk to common/lib and also have 
set my Environment Variables to my JAVA_HOME/lib/ for both user and 
system. Restarted my system as well as Tomcat. Still get exactly the 
same result. All other .jsp's that are not mapped in the web.xml work 
fine without any errors. Any idea as to what is going wrong? Thanks!

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: Servlet.service error

2004-08-12 Thread Schalk Neethling
Ok, here is something new. Usually I would just create my includes as a 
standard page and included it into other pages without any problems. 
Now, after I stripped out all the usual html stuff and just left the 
code that was needed to form the page, in this case a single table, the 
include is working. As soon as I replace the other html elements it 
stops to work and I get the original error in the log.

Could this be because I am coding in XHTML and the head element is 
causing a conflict?
i.e. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;

Schalk Neethling wrote:
Hey there all!
I am running Tomcat 5.0.25 on Windows XP. I have set-up a .jsp in my 
web.xml so that I can all it as I do servlets:

servlet
 servlet-namefooter/servlet-name
   jsp-file/secure/includes/footer.jsp/jsp-file
/servlet
servlet-mapping
 servlet-namefooter/servlet-name
 url-pattern*.footer/url-pattern
/servlet-mapping
When I call a page that includes this .jsp as follows:
jsp:include page=process.footer flush=true /
I get the following error in the Tomcat log:
2004-08-12 14:43:41 ApplicationDispatcher[/lawillustrated] 
Servlet.service() for servlet footer threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP

No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually 
$JAVA_HOME/lib/tools.jar from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat 
restart.
If using an alternate Java compiler, please check its installation and 
access path.

I did copy the tools.jar from my Java sdk to common/lib and also have 
set my Environment Variables to my JAVA_HOME/lib/ for both user and 
system. Restarted my system as well as Tomcat. Still get exactly the 
same result. All other .jsp's that are not mapped in the web.xml work 
fine without any errors. Any idea as to what is going wrong? Thanks!

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: better error message a web.xml has errors

2004-08-12 Thread Schalk Neethling
I may be in error here but, the client/team from which app the web.xml 
is causing the error should see that their site is not working. Where 
the other sites where the web.xml was parsed correctly should see their 
sites working. If I am correct in this it would be a matter of 
contacting all clients, or testing yourself if possible, and ask them to 
see whether their site/app is running.

The one that is not, is probably the one with the error in their web.xml 
and then they can fix the problem and place the servlet tag in the 
right place.

Emerson Cargnin wrote:
I have a server that has more than 30 apps from different teams.
When starting tomcat i got the erro below
6310 [main] ERROR digester.Digester  - Parse Error at line 188 column 
-1: Element web-app does not allow servlet here.
org.xml.sax.SAXParseException: Element web-app does not allow 
servlet here.
at org.apache.crimson.parser.Parser2.error(Parser2.java:3160)

The problem is that I can not identify what app yhas the error.
That's just a suggestion for the dev team.
Or I missed something?

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


RE: web.xml

2004-08-11 Thread Schalk Neethling
Hey there everyone!
When deploying a webapp on Tomcat I know that all of the webapp specific
config stuff goes into web.xml but, I want to know if there is a way
that one can create a seperate .xml file that will contain an
application specific config information, for example my-app.xml. The
situation I want to use in for is for example having a website that has
some configuration information loaded into it's web.xml file. Then I
want to integrate a seperate application(a cms system) into this
application but I do not want to have to manually edit the 'root'
applications web.xml and would rather want the cms's configuration
contained in it's own .xml called something like cms.xml.
Is this possible?
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in
error, please notify me immediately so that I can correct and delete the
original email. Thank you.


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


Re: web.xml and servlets used in an app

2004-08-06 Thread Schalk Neethling
As the default invoker servlet is now disabled by default you have to 
register your servlets in web.xml so in short, yes. If I am not correct 
here somebody please correct me so I can also update my knowledge but 
this is how I understand it currently.

Deepa Ramamurthy wrote:
Hello!
Do I have to map all the servlets that my application uses in web.xml?
I am using Tomcat 5.0 on Windows.
I didn't have to do this on Tomcat 4.1 on Linux.
Thanks.
Deepa
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


RE: Tomcat error

2004-08-04 Thread Schalk Neethling
Hey there all
I get the following line when running my servlet on Tomcat version 5.0.25:
java.lang.UnsupportedClassVersionError: org/volume4/searchEngine/lawSearch 
(Unsupported major.minor version 49.0)
What exactly does this mean and how do I go about fixing this? Thanks!
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: Tomcat error

2004-08-04 Thread Schalk Neethling
Thanks for your reply, I understand. This is definitely the cause.
Shapira, Yoav wrote:
Hi,
You can have as many versions of the JDK installed on your system as you
want.  Tomcat will use the one pointed out by the JAVA_HOME variable.
Whatever JDK Tomcat uses should be the same or a later version than the
JDK you use to compile your class.  Class version 49.0 is JDK 1.5 I
believe, so if you compile your classes with JDK 1.5 you have to set
Tomcat to use JDK 1.5 as well (which is officially not supported yet but
actually works fine).  

Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 9:40 AM
To: Shapira, Yoav
Subject: Re: Tomcat error
Yoav
Thanks, I assume I can have more then one version of the jdk installed
on my system correct? Is this error caused by Tomcat or that there is
   

an
 

older version of the jdk on the server?
Shapira, Yoav wrote:
   

Hi,
Make sure you compile the class with JDK 1.4 or earlier, not JDK 1.5.
Yoav Shapira
Millennium Research Informatics

 

-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 8:16 AM
To: Tomcat Users List
Subject: RE: Tomcat error
Hey there all
I get the following line when running my servlet on Tomcat version
   

5.0.25:
 

java.lang.UnsupportedClassVersionError:
   

org/volume4/searchEngine/lawSearch
 

(Unsupported major.minor version 49.0)
What exactly does this mean and how do I go about fixing this?
   

Thanks!
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive
   

or
 

confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in
error, please notify me immediately so that I can correct and delete
   

the
 

original email. Thank you.

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


This e-mail, including any attachments, is a confidential business
 

communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
   

intended
 

recipient, please immediately delete this e-mail from your computer
   

system
 

and notify the sender.  Thank you.
   


 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in
error, please notify me immediately so that I can correct and delete
   

the
 

original email. Thank you.
   



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: Progamatically setting values of FORM elements

2004-07-30 Thread Schalk Neethling
Have you looked at either Struts, JSTL or the Java Server Faces. I am 
sure somewhere in there will be a solution.

Luc Foisy wrote:
Is there any way I can have my java set the values of FORM elements.
Rather than storing the values in the java code and generating the complete form 
element containing that value.
Something like adding something to the response that will give that item a value.
For my particular need, I want to set a number of checkbox elements on or off. I do 
have the ability to predict the element names...
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: Progamatically setting values of FORM elements

2004-07-30 Thread Schalk Neethling
What is the reason for not wanting to use web.xml?
Luc Foisy wrote:
No concept of HTML. But it does have concept of parameters. When you submit a form, 
the form contents are placed in a parameter. (in ServletRequest)
There is no way that I know of to do the reverse, set those parameters on the response 
and it will apply to the form elements.
The browser stores the element values somewhere, just thought it might have been 
floating around somewhere I could get it.
I thought someone would know something I did not.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, July 30, 2004 3:43 PM
To: Tomcat Users List
Subject: RE: Progamatically setting values of FORM elements

Hi,
No, the Servlet API has no concept of HTML.
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: Luc Foisy [mailto:[EMAIL PROTECTED]
Sent: Friday, July 30, 2004 3:41 PM
To: Tomcat Users List
Subject: RE: Progamatically setting values of FORM elements
   

From the responses, I am guessing there is not a way to do this with
only
 

the Servlet API?
I am not currently using struts and learning to use them, implementing
   

them
 

at this time, I think would be too much of a headache.
I'll have to find an alternate solution that fits into our own
   

framework.
 

Thanks...
-Original Message-
From: Luc Foisy
Sent: Friday, July 30, 2004 1:10 PM
To: Tomcat User List (E-mail)
Subject: Progamatically setting values of FORM elements
Is there any way I can have my java set the values of FORM elements.
Rather than storing the values in the java code and generating the
   

complete
 

form element containing that value.
Something like adding something to the response that will give that
   

item a
 

value.
For my particular need, I want to set a number of checkbox elements on
   

or
 

off. I do have the ability to predict the element names...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.
-
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]
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: My first WebApplication

2004-07-29 Thread Schalk Neethling
]
 

   

-
 

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]
 

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



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.
-
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]
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: Just cannot deploy a servlet! :( Although it can be invoked from .jsp!

2004-07-29 Thread Schalk Neethling
What is the URL by which you are trying to call up the servlet?
Vladislav Y. Ryabyshkin wrote:
Hello!
Hope I am not sending a faq.
I run Tomcat 4.1.18, JVM 1.4.1_02-b06. It works, I can view examples 
servlets.

But I cannot make a hand-made Hello World servlet available via URL!
I created a directory webapps/mytest2/WEB-INF/classes, containing the 
MyTestServlet2.class (it is this Hello World class) and I have the 
webapps/mytest2/WEB-INF/web.xml file and an entry in conf/server.xml.

Still this is what I get from the logs:
...
2004-07-29 12:52:54 StandardContext[/mytest2]: Mapping 
contextPath='/mytest2' with requestURI='/mytest2/MyTestServlet2' and 
relativeURI='/MyTestServlet2'
2004-07-29 12:52:54 StandardContext[/mytest2]:   Trying exact match
2004-07-29 12:52:54 StandardContext[/mytest2]:   Trying prefix match
2004-07-29 12:52:54 StandardContext[/mytest2]:   Trying extension match
2004-07-29 12:52:54 StandardContext[/mytest2]:   Trying default match
2004-07-29 12:52:54 StandardContext[/mytest2]:  Mapped to servlet 
'default' with servlet path '/MyTestServlet2' and path info 'null' and 
update=true
...
And a 404-Error.

There is a mystery though.
If I construct an index.jsp with a
jsp:forward page=/mytest2/MyTestServlet2/, I get it working 
('extension match' in the log succeeds). But I don't want a JSP, I 
need a servlet directly-mapped!

Can anyone please suggest what do I do wrong? Something silly perhaps, 
but it took plenty of time, and I am at a loss.

I'd appreciate any help, good luck,
Vlad.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: Java Class is not compiling

2004-07-28 Thread Schalk Neethling
Sayeed
Try changing:
set CLASSPATH=C:\Apache\Tomcat\common\lib\servlet.jar
TO
set CLASSPATH=C:\Apache\Tomcat\common\lib\servlet-api.jar
shiv juluru wrote:
ok sayeed,
just open ur command prompt and give
cmdset 
classpath=%classpath%;C:\Apache\Tomcat\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar;C:\j2sdk1.4.2_04\dt.jar;C:\j2sdk1.4.2_04\jre\lib\rt.jar;.
now compile ur java file (ex: javac sayeed)
if it works,it's may be the problem with classpath that u have given.
Sayeed [EMAIL PROTECTED] wrote:
dear sir and Shivjuluru
these are my Paths:
set JAVA_HOME=C:\j2sdk1.4.2_04
set CATALINA_HOME=C:\APACHE\TOMCAT
set CLASSPATH=C:\Apache\Tomcat\common\lib\servlet.jar
but still when I compile my servlet file (sayeed) it give the same erros:
C:\Apache\Tomcat\webapps\ch03\WEB-INF\calsses\com\wrox\projsp\ch03\myfirstwe
bapp javac sayeed.java
sayeed.java:5: package javax.servlet.http does not exist
import javax.servlet.http.HttpServlet;
^
sayeed.java:6: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
- Original Message -
From: shiv juluru 
To: Tomcat Users List 
Sent: Wednesday, July 28, 2004 12:12 PM
Subject: Re: Java Class is not compiling

 

give servlet.jar path to ur classpath ,that jar file may be in
   

tomcat_root/common/lib folder
 

Sayeed wrote:Sir
I am new to Tomcat.
I am now making my first Servlet and trying to creat a class (sayeed).
It give me errors as under :
---
Also another thing what is the PACKAGE which have to write in first line
   

of
 

my servlet(sayeed):
package com.wrox.projsp.ch03.myfirstwebapp;
Can anyone please help me in detail. I have however downloaded Javax
directory from sun.java.com- where this directory i have to put? i am
   

using
 

j2sdk1.4.2.
Thanx in advance.
Saeed
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: Java Class is not compiling

2004-07-27 Thread Schalk Neethling
Download J2EE from the following URL:
http://java.sun.com/j2ee/1.4/download.html#sdk
Aris Javier wrote:
You should download j2sdkee version or the enterprise version of
java.. 

=)
-Original Message-
From: Nitschke Michael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 27, 2004 3:30 PM
To: Tomcat Users List
Subject: RE: Java Class is not compiling

It seams you are new to Java too.
The error messages say that the compiler could not find the jar file
javax.jar, or servlet.jar depends on your java version. The package
statement at the first line is necessary to group java classes in
domains that have the same functionality or fit tematiclly together.
Like 
com.company.database  // all database relevant classes
com.company.gui		// all gui relevant classes.

Furthermore i would recommend that you read a javabook or take the java
trial at java.sun.com, it imparts the basics of java and some higher
approaches.
mfg
Michael Nitschke
-Original Message-
From: Sayeed [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 27, 2004 9:19 AM
To: Tomcat Users List
Subject: Java Class is not compiling

Sir
I am new to Tomcat.
I am now making my first Servlet and trying to creat a class (sayeed).
It give me errors as under :
C:\Apache\Tomcat\webapps\ch03\myfirstwebappjavac sayeed.java
sayeed.java:5: package javax.servlet.http does not exist
import javax.servlet.http.HttpServlet;
 ^
sayeed.java:6: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
---
Also another thing what is the PACKAGE which have to write in first line
of my servlet(sayeed):
package com.wrox.projsp.ch03.myfirstwebapp;
Can anyone please help me in detail. I have however downloaded Javax
directory from sun.java.com- where this directory i have to put? i am
using j2sdk1.4.2.
Thanx in advance.
Saeed
-
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]
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: Multiple Webbapps, single login.jsp??

2004-07-26 Thread Schalk Neethling
Jonathan
You can probably do this by giving each user a specific role that will 
allow him/her access to only certain areas and when logging in determine 
the user's role and authorization right and forward them to the 
appropriate webapp. I do this with my client portal to ensure a client 
only gets access to their data and not someone else's.

HTH
Jonathan wrote:
Is it possible to use a single login.jsp for multiple webapps?
Basically I have a V-Domain setup using /www/mydomain.com/ as it's 
docroot.
I want to deploy multiple web apps (forums app, image gallery, etc) 
and secure some of them using form based authentication.

I understand most of the configuration, but I would really like to use 
a single login.jsp.
These are all part of one big website.  I have single signon enabled, 
but I down't want to have to write the same exact login.jsp for each 
webapp since the login.jsp will contain a bunch of stuff (menus and 
such).

Does anyone know how to do this, or am i just going about organizing 
the website/webapps wrong?

Thanks!
- Jonathan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: Another question (Placement)

2004-07-22 Thread Schalk Neethling
As far as I know, no. You would have to have Tomcat installed and 
connected to Apache via mod_jk2 and then have all of the JSP's inside a 
directory inside the webapps directory in Tomcat. i.e. 
TOMCAT_ROOT/webapps/yourapp/file.jsp

Phillip Blancher wrote:
Long story short, I am to set this box up for a friend who is getting 
a JSP site to do work on. I have never looked at programming in JSP 
before.

That said. If I were programming a site in JSP, I would place the JSP 
files in the same place as the HTML files and such?

So if I normally placed things like index.php, index.html in 
d:\webserver\apache\htdocs, then I would place the file test.jsp in 
the same place right?

Phil
_
MSN® Calendar keeps you organized and takes the effort out of 
scheduling get-togethers. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: where to put config.xml

2004-07-20 Thread Schalk Neethling
You can find out more info on the exact cause of the error by looking at 
Tomcat's error/general log located at:
TOMCAT_HOME/logs/

Sayeed wrote:
Dear Sir/Madam
I do not know much about the Question - so sorry sir/madam as i am new to
this thing.
I do have however question from you.
I start learning JSP and ohter J2EE tools recently.
I buy a book of Professional JSP 2nd Edition.
Sir i am facing a problem:
I dowload jakarta_tomcat 4.1.30.exe from the website.
I already do have jdk1.3 at my PC ( iam using win98 OS).
Now after installing jakarta_tomcat to a folder c\apache\tomcat,
I create two environment variables into my Autoexe.bat file as under :
set JAVA_HOME=C:\jdk1.3
set CATALINA_HOME=C:\APACHE\TOMCAT
Now when I Start Tomcat - a DOS base window is opened and remained active
for few seconds and then close automatically. Also i try Startup.bat file at
MS DOS promt, it shows some lines as follows:
   C:\Apache\Tomcat\binstartup
   Using CATALINA_BASE:   C:\APACHE\TOMCAT
   Using CATALINA_HOME:   C:\APACHE\TOMCAT
   Using CATALINA_TMPDIR: C:\APACHE\TOMCAT\temp
   Using JAVA_HOME:   C:\jdk1.3
   C:\Apache\Tomcat\bin
And in the mid also a new DOS base window shows a name 'Java' opened for few
seconds and automatically closed.
Sir/Madam, whats the wrong with the tomcat? coz as per book instructions it
must shows a Catalina named window and remained active till I did not issue
a command Shutdown.
So please guide me what I should do in this connection in detail.
An early reply shall highly bhe appreicated.
Saeed
Programmer
- Original Message -
From: John Hill [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 4:38 PM
Subject: where to put config.xml
 

Hi
can anyone tell me where I should put the config.xml file for a web
application. IF I put it under META-INF , tomcat doesnt seem to find it.
   

Does
 

it need to be in a WAR file for this to occur ?
-
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]
 

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


Re: simple HelloWorld example - 404

2004-07-19 Thread Schalk Neethling
Where is your web.xml located? And if it is located inside foo/WEB-INF/ 
then have you tried accessing the servlet when you remove the web.xml?

Scott D. Anderson wrote:
I'm a novice and I'm working through the Tomcat documentation.  
(I'm using Tomcat 5.)  I've gotten to step 3, 

http://localhost:8080/tomcat-docs/appdev/deployment.html
I'd previously compiled the HelloWorld example from the O'Reilly book on 
Java Servlet Programming by Hunter.  I then wanted to run it from the 
browser, so I set up something like the servlets-examples that also has a
HelloWorldExample, so I did the following:

1. created a foo directory under $CATALINA_HOME/webapps
2. created a WEB-INF directory under foo
3. created a classes directory under WEB-INF
4. copied the HelloWorld.java and HelloWorld.class files to
the classes directory and made them world readable.
5. chmod all directories 755
6. created a web.xml file from tomcat-docs/appdev/web.xml.txt
7. created an index.html file under foo that has a hyperref to 
servlet/HelloWorld
8. restarted Tomcat

I checked the log files and I've eliminated the parsing errors for the
web.xml file.  I'm able to visit the index.html file, but when I click on
the
link to servlet/HelloWorld I get a 404. 

Note that the web.xml.txt file says that I should be able to execute my
servlet just by accessing localhost:8080/foo/servlet/HelloWorld, yet I'm 
not able to do so.  I think that means that the problem isn't in my web.xml
file (even though that's the most complicated and error-prone step).

I also tried putting the HelloWorld.* files in
webapps/ROOT/WEB-INF/classes,
as directed in the Hunter book, but that didn't work either (404).
Anyone have any ideas on how to get this very simple example working?
Thanks,
Scott
--
Scott D. Anderson
Computer Science Department
Wellesley College
[EMAIL PROTECTED]



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

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or confidential 
and may not be forwarded or disclosed to any other party without the permission of the 
sender. If you received this message in error, please notify me immediately so that I 
can correct and delete the original email. Thank you.

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


RE: Tomcat 5.0 and JavaMail

2004-07-07 Thread Schalk
I have never had problems when including mail.jar and activation.jar in my
applications WEB-INF/lib/

I believe this makes it more portable to different hosts.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Aris Javier [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, July 08, 2004 1:54 AM
:: To: Tomcat Users List
:: Subject: RE: Tomcat 5.0 and JavaMail
:: 
:: you don't need to put activation.jar and mail.jar inside
:: catalina_home\common\lib\ you need to put them inside
:: java_home\jre\lib\ext...
:: 
:: regards...
:: aris
:: 
:: -Original Message-
:: From: Dale, Matt [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, July 07, 2004 11:23 PM
:: To: Tomcat Users List; e-Denton Subscriber
:: Subject: RE: Tomcat 5.0 and JavaMail
:: 
:: 
:: 
:: I've found that you also need activation.jar for JavaMail, do you have
:: this in common/lib too?
:: 
:: Ta
:: Matt
:: 
:: -Original Message-
:: From: e-Denton Subscriber [mailto:[EMAIL PROTECTED]
:: Sent: 07 July 2004 15:49
:: To: Tomcat Users List
:: Subject: Tomcat 5.0 and JavaMail
:: 
:: 
:: I had JavaMail working in Tomcat 4, but in Tomcat 5, I am having
:: trouble. I know it's something simple, perhaps you can see the problem.
:: Mail.jar is in Tomcat 5.0\common\lib.
:: 
:: I am getting this error:
:: 
:: javax.naming.NamingException: Cannot create resource instance:
:: 
:: Using this context in Tomcat 5.0\conf\Catalina\localhost\e_Denton.xml
:: 
:: Context displayName=Portal Application
::  debug=5
::  docBase=e-Denton
::  path=/e-Denton
::  reloadable=true
::  useNaming=true
:: 
:: Loader checkInterval=1 /
:: 
::  Resource name=mail/Session auth=Container
:: type=javax.mail.Session /  ResourceParams name=mail/Session
::   parameter
::namemail.smtp.host/name
::valuemars.webappcabaret.net/value
::   /parameter
::  /ResourceParams
:: ...
:: 
:: And this web.xml:
:: 
:: !-- JavaMail Resource --
::  resource-ref
::   description
::   Resource reference to a factory for javax.mail.Session
::   preconfigured to connect to the appropriate SMTP server.
::   /description
::   res-ref-namemail/Session/res-ref-name
::   res-typejavax.mail.Session/res-type
::   res-authContainer/res-auth
::  /resource-ref
:: 
:: Accessed like this:
:: 
::   try
::{
::Context initContext = new InitialContext();
::Context envContext  = (Context) initContext.lookup(java:comp/env);
::Session session = (Session) envContext.lookup(mail/Session);
::}
::   catch (javax.naming.NamingException ne)
:: 
:: 
:: 
:: 
:: 
:: 
:: -
:: 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: Configure Tomcat to default to index.jsp

2004-07-06 Thread Schalk
In the web.xml file that goes into your webapps WEB-INF/, there is a
welcome-file-list/ you can add the following:

welcome-file-list
welcome-file
index.jsp
/welcome-file
welcome-file
index.html
/welcome-file
  /welcome-file-list

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Dave Kennedy [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, July 07, 2004 2:13 AM
:: To: [EMAIL PROTECTED]
:: Subject: Configure Tomcat to default to index.jsp
:: 
:: How is Tomcat configured to default to index.jsp?
:: 
:: Here is a test app, but it is necessary to give the entire path:
::   http://myhome.com/helloworld/index.jsp
:: 
:: instead of:
::   http:// myhome.com/helloworld/
:: 
:: What needs to be configured on Linux and Windows XP?
:: 
:: 
:: 
:: -
:: 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: I need help about deploying a servlet in tomcat

2004-06-30 Thread Schalk
Did you compile the .java file and place the .class file in that folder?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, June 30, 2004 11:08 PM
:: To: [EMAIL PROTECTED]
:: Subject: I need help about deploying a servlet in tomcat
:: 
:: Dear friends,
:: 
:: I just installed tomcat 5 in my machine. I put it in the the folder
c:\Program
:: Files\Apache Group\Apache\Tomcat 5.0. I tried to run the servlet examples
and they
:: are ok. However, I would like to try my own servlet. I wrote the
HelloWorld.java and
:: put it in the folder C:\Program Files\Apache Group\Apache\Tomcat
:: 5.0\webapps\ROOT\WEB-INF\classes. I thought that I could just access it
by
:: http://localhost:8081/servlet/HelloWorld. I was hoping that the Tomcat
would
:: compile the java code automatically. However, it didn't happen and I got
the status
:: code 404, stating that the servlet couldn't be found.
:: 
:: These are the stuff that I did
:: 1. I set the environment variable CATALINA_HOME and CATALINA_BASE to
:: c:\Program Files\Apache Group\Apache\Tomcat 5.0
:: 2. I put the description of the servlet HelloWorld to the file web.xml in
the webapp
:: folder.
:: 
:: I really appreciate if I could get some helps. Thank you very much.
:: 
:: Cheers,
:: 
:: Brian
:: 
:: 
:: 
:: -
:: ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself
:: 
:: 
:: -
::  ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself



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



RE: I need help about deploying a servlet in tomcat

2004-06-30 Thread Schalk
Also can you post the code in your web.xml where you set-up the servlet and
where did you place the web.xml?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, June 30, 2004 11:08 PM
:: To: [EMAIL PROTECTED]
:: Subject: I need help about deploying a servlet in tomcat
:: 
:: Dear friends,
:: 
:: I just installed tomcat 5 in my machine. I put it in the the folder
c:\Program
:: Files\Apache Group\Apache\Tomcat 5.0. I tried to run the servlet examples
and they
:: are ok. However, I would like to try my own servlet. I wrote the
HelloWorld.java and
:: put it in the folder C:\Program Files\Apache Group\Apache\Tomcat
:: 5.0\webapps\ROOT\WEB-INF\classes. I thought that I could just access it
by
:: http://localhost:8081/servlet/HelloWorld. I was hoping that the Tomcat
would
:: compile the java code automatically. However, it didn't happen and I got
the status
:: code 404, stating that the servlet couldn't be found.
:: 
:: These are the stuff that I did
:: 1. I set the environment variable CATALINA_HOME and CATALINA_BASE to
:: c:\Program Files\Apache Group\Apache\Tomcat 5.0
:: 2. I put the description of the servlet HelloWorld to the file web.xml in
the webapp
:: folder.
:: 
:: I really appreciate if I could get some helps. Thank you very much.
:: 
:: Cheers,
:: 
:: Brian
:: 
:: 
:: 
:: -
:: ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself
:: 
:: 
:: -
::  ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself



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



RE: I need help about deploying a servlet in tomcat

2004-06-30 Thread Schalk
Is you CLASSPATH set-up for Java? i.e. CLASSPATH=c:\j2sdk1.4.2\lib\tools.jar

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, June 30, 2004 11:30 PM
:: To: Tomcat Users List
:: Subject: RE: I need help about deploying a servlet in tomcat
:: 
:: Dear Schalk,
:: 
:: When I tried to compile it there are  some errors which says the same
things when i
:: tried to compile the .java file from the servlet-examples folder. I guess
I missed
:: doing some configurations which I am not familiar with.
:: 
:: Schalk [EMAIL PROTECTED] wrote:
:: Did you compile the .java file and place the .class file in that folder?
:: 
:: Kind Regards
:: Schalk Neethling
:: Web Developer.Designer.Programmer.President
:: Volume4.Development.Multimedia.Branding
:: emotionalize.conceptualize.visualize.realize
:: Tel: +27125468436
:: Fax: +27125468436
:: email:[EMAIL PROTECTED]
:: web: www.volume4.co.za
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: :: -Original Message-
:: :: From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
:: :: Sent: Wednesday, June 30, 2004 11:08 PM
:: :: To: [EMAIL PROTECTED]
:: :: Subject: I need help about deploying a servlet in tomcat
:: ::
:: :: Dear friends,
:: ::
:: :: I just installed tomcat 5 in my machine. I put it in the the folder
:: c:\Program
:: :: Files\Apache Group\Apache\Tomcat 5.0. I tried to run the servlet
examples
:: and they
:: :: are ok. However, I would like to try my own servlet. I wrote the
:: HelloWorld.java and
:: :: put it in the folder C:\Program Files\Apache Group\Apache\Tomcat
:: :: 5.0\webapps\ROOT\WEB-INF\classes. I thought that I could just access
it
:: by
:: :: http://localhost:8081/servlet/HelloWorld. I was hoping that the Tomcat
:: would
:: :: compile the java code automatically. However, it didn't happen and I
got
:: the status
:: :: code 404, stating that the servlet couldn't be found.
:: ::
:: :: These are the stuff that I did
:: :: 1. I set the environment variable CATALINA_HOME and CATALINA_BASE to
:: :: c:\Program Files\Apache Group\Apache\Tomcat 5.0
:: :: 2. I put the description of the servlet HelloWorld to the file web.xml
in
:: the webapp
:: :: folder.
:: ::
:: :: I really appreciate if I could get some helps. Thank you very much.
:: ::
:: :: Cheers,
:: ::
:: :: Brian
:: ::
:: ::
:: ::
:: :: -
:: :: ALL-NEW Yahoo! Messenger - so many all-new ways to express
yourself
:: ::
:: ::
:: :: -
:: :: ALL-NEW Yahoo! Messenger - so many all-new ways to express
yourself
:: 
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]
:: 
:: 
:: 
:: -
::  ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself



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



RE: I need help about deploying a servlet in tomcat

2004-06-30 Thread Schalk
When trying to compile your HelloWorld.java file what error do you get?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, July 01, 2004 12:22 AM
:: To: Tomcat Users List
:: Subject: RE: I need help about deploying a servlet in tomcat
:: 
:: Well, I guess that I am totally lost:( This is the first time I use
Tomcat and I don't
:: know nothing about it. I already installed JDK and set the environment
variable such
:: as JAVA_HOME and set the class path very well. I used java before and
every thing
:: is fine. I am going to use the ROOT folder to store my servlets. There is
a web.xml
:: file in that folder and I only alter the information about the servlet
that I am going to
:: put, which is the HelloWorld. I only wrote the HelloWorld.java and put
them in the
:: ../ROOT/WEB-INF/classes folder. Actually I also tried to put the
HelloWorld.java to
:: the ../Servlet-Examples/WEB-INF/classes. I was hoping that when I invoke
the
:: http://localhost:8081/servlet/HelloWorld, it will automatically compile
the
:: HelloWorld.java and make the class. I tried to read the tomcat
documentation but I
:: am still not be able to make any progress.
:: 
:: Please give me a thorough and step-by-step guidance. Thank you very much.
:: 
:: Brian
:: 
:: 
:: 
:: -
::  ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself



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



RE: I need help about deploying a servlet in tomcat

2004-06-30 Thread Schalk
By this I mean compiling it outside of Tomcat i.e. from command line etc.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Schalk [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, July 01, 2004 12:33 AM
:: To: 'Tomcat Users List'
:: Subject: RE: I need help about deploying a servlet in tomcat
:: 
:: When trying to compile your HelloWorld.java file what error do you get?
:: 
:: Kind Regards
:: Schalk Neethling
:: Web Developer.Designer.Programmer.President
:: Volume4.Development.Multimedia.Branding
:: emotionalize.conceptualize.visualize.realize
:: Tel: +27125468436
:: Fax: +27125468436
:: email:[EMAIL PROTECTED]
:: web: www.volume4.co.za
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: :: -Original Message-
:: :: From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
:: :: Sent: Thursday, July 01, 2004 12:22 AM
:: :: To: Tomcat Users List
:: :: Subject: RE: I need help about deploying a servlet in tomcat
:: ::
:: :: Well, I guess that I am totally lost:( This is the first time I use
:: Tomcat and I don't
:: :: know nothing about it. I already installed JDK and set the environment
:: variable such
:: :: as JAVA_HOME and set the class path very well. I used java before and
:: every thing
:: :: is fine. I am going to use the ROOT folder to store my servlets. There
is
:: a web.xml
:: :: file in that folder and I only alter the information about the servlet
:: that I am going to
:: :: put, which is the HelloWorld. I only wrote the HelloWorld.java and put
:: them in the
:: :: ../ROOT/WEB-INF/classes folder. Actually I also tried to put the
:: HelloWorld.java to
:: :: the ../Servlet-Examples/WEB-INF/classes. I was hoping that when I
invoke
:: the
:: :: http://localhost:8081/servlet/HelloWorld, it will automatically
compile
:: the
:: :: HelloWorld.java and make the class. I tried to read the tomcat
:: documentation but I
:: :: am still not be able to make any progress.
:: ::
:: :: Please give me a thorough and step-by-step guidance. Thank you very
much.
:: ::
:: :: Brian
:: ::
:: ::
:: ::
:: :: -
:: ::  ALL-NEW Yahoo! Messenger - so many all-new ways to express
yourself
:: 
:: 
:: 
:: -
:: 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 do I find out which version of tomcat is installed?

2004-06-24 Thread Schalk
Load the root index file. Usually you will get this by simply going to
http://yourdomain.com:8080/

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Andrew Watters [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, June 24, 2004 1:42 PM
:: To: [EMAIL PROTECTED]
:: Subject: How do I find out which version of tomcat is installed?
:: 
:: I have full access to the tomcat directory but I can't find the version
:: number in any of the files. It's probably somewhere obvious but I just
:: can't see it.
:: 
:: Please help...
:: 
:: 
:: -
:: 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 do I run servlets on the root directory of localhost?

2004-06-14 Thread Schalk
How is your virtual host set-up in Apache?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Monday, June 14, 2004 10:56 PM
:: To: Tomcat Users List
:: Subject: Re: How do I run servlets on the root directory of localhost?
:: 
:: Hi all, this is exacly what im trying to do with my servlet for
:: webMathematica. It is located in $CATALINA_HOME/webapps/webMathematica.
:: However, I can't find the option in any config file to make that servlet
:: become the default for tomcat. Right now tomcat defaults to
:: $CATALINA_HOME/webapps/ROOT. I tried to copy the contents of the
:: webMathematica folder to root, and it loads, but all of the picture
mappings
:: ect are broken at that point. What I really want to have happen is when
:: someone goes to http://mathweb.library.unr.edu (this is the server this
is all
:: on) tomcat loads up webMathematica instead of ROOT servlet which just say
:: congrats you set up tomcat BLAH BLAH BLAH. I'm am so lost right now, any
help
:: is much appreciated. Thanks.
:: 
:: -Seth Carter-
:: 
:: 
:: 
:: -
:: 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 do I run servlets on the root directory of localhost?

2004-06-14 Thread Schalk
If you are not using Apache in conjunction with Tomcat you may want to look
at the server.xml for Tomcat located in the conf directory.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Monday, June 14, 2004 10:56 PM
:: To: Tomcat Users List
:: Subject: Re: How do I run servlets on the root directory of localhost?
:: 
:: Hi all, this is exacly what im trying to do with my servlet for
:: webMathematica. It is located in $CATALINA_HOME/webapps/webMathematica.
:: However, I can't find the option in any config file to make that servlet
:: become the default for tomcat. Right now tomcat defaults to
:: $CATALINA_HOME/webapps/ROOT. I tried to copy the contents of the
:: webMathematica folder to root, and it loads, but all of the picture
mappings
:: ect are broken at that point. What I really want to have happen is when
:: someone goes to http://mathweb.library.unr.edu (this is the server this
is all
:: on) tomcat loads up webMathematica instead of ROOT servlet which just say
:: congrats you set up tomcat BLAH BLAH BLAH. I'm am so lost right now, any
help
:: is much appreciated. Thanks.
:: 
:: -Seth Carter-
:: 
:: 
:: 
:: -
:: 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 do I run servlets on the root directory of localhost?

2004-06-14 Thread Schalk
How do you access the site currently with your config with Server 2003 and
IIS?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Monday, June 14, 2004 11:13 PM
:: To: 'Tomcat Users List'
:: Subject: RE: How do I run servlets on the root directory of localhost?
:: 
:: I am not using Apache although I wish we were, my boss believes in an all
:: windows enviroment, so this is on server 2003 with IIS, I havent set up
tomcat
:: with IIS yet, because of this problem. I will look at that file
server.xml but
:: I've been in there before (to change from port 8080 to 80) and didn't see
any
:: setting that looked like it would help.
:: 
:: -Seth Carter-
:: 
:: 
:: 
:: -
:: 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 do I run servlets on the root directory of localhost?

2004-06-14 Thread Schalk
I would suggest you look at the server.xml, I am not 100% sure but there
should be a place where the ROOT directory is set-up to be the default
directory that is served.

Sorry I cannot be of more help.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Monday, June 14, 2004 11:22 PM
:: To: Tomcat Users List
:: Subject: RE: How do I run servlets on the root directory of localhost?
:: 
:: Right now IIS isnt even running, I make changes to the tomcat files,
restart
:: tomcat and go to http://localhost ... It gave me the congrats you set up
:: tomcat page by default, and i can get to webMathematica right now by
going to
:: http://localhost/webMathematica , what I want is when I go to
http://localhost
:: it would bring up webMathematica.
:: 
:: -Seth Carter-
:: 
:: Quoting Schalk [EMAIL PROTECTED]:
:: 
::  How do you access the site currently with your config with Server 2003
and
::  IIS?
:: 
::  Kind Regards
::  Schalk Neethling
::  Web Developer.Designer.Programmer.President
::  Volume4.Development.Multimedia.Branding
::  emotionalize.conceptualize.visualize.realize
::  Tel: +27125468436
::  Fax: +27125468436
::  email:[EMAIL PROTECTED]
::  web: www.volume4.co.za
:: 
::  This message contains information that is considered to be sensitive or
::  confidential and may not be forwarded or disclosed to any other party
::  without the permission of the sender. If you received this message in
error,
::  please notify me immediately so that I can correct and delete the
original
::  email. Thank you.
:: 
::  :: -Original Message-
::  :: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
::  :: Sent: Monday, June 14, 2004 11:13 PM
::  :: To: 'Tomcat Users List'
::  :: Subject: RE: How do I run servlets on the root directory of
localhost?
::  ::
::  :: I am not using Apache although I wish we were, my boss believes in
an all
::  :: windows enviroment, so this is on server 2003 with IIS, I havent set
up
::  tomcat
::  :: with IIS yet, because of this problem. I will look at that file
::  server.xml but
::  :: I've been in there before (to change from port 8080 to 80) and
didn't see
::  any
::  :: setting that looked like it would help.
::  ::
::  :: -Seth Carter-
::  ::
::  ::
::  ::
::  ::
-
::  :: 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]



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



RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread Schalk
This brings up an interesting point. Is it possible to edit which is the
default app?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Wendy Smoak [mailto:[EMAIL PROTECTED]
:: Sent: Monday, June 14, 2004 11:37 PM
:: To: Tomcat Users List
:: Subject: RE: How do I run servlets on the root directory of localhost?
:: 
:: Seth Carter wrote:
::  i can get to webMathematica right now by going to
::  http://localhost/webMathematica , what I want is
::  when I go to http://localhost
::  it would bring up webMathematica.
:: 
:: Copying everything to the ROOT subdirectory, which you've already noted
:: is the default root webapp, should have worked.  Try completely stopping
:: Tomcat, renaming ROOT to something else, and then renaming
:: webMathematica to 'ROOT'.  Maybe something didn't copy over correctly.
:: 
:: When the images are not appearing, view the HTML source of the page and
:: see where it's trying to load them from, vs. where they actually are.
:: 
:: Or... Find this part of server.xml, uncomment it, and change the docBase
:: to wherever your files are.  Note that it's relative to 'webapps'.  This
:: is from 4.1.30, adjust as necessary for a different Tomcat version.
:: 
:: !-- Define properties for each web application.  This is only
:: needed
::  if you want to set non-default properties, or have web
:: application
::  document roots in places other than the virtual host's
:: appBase
::  directory.  --
:: 
:: !-- Tomcat Root Context --
:: !--
::   Context path= docBase=ROOT debug=0/
:: --
:: 
:: --
:: Wendy Smoak
:: Application Systems Analyst, Sr.
:: ASU IA Information Resources Management
:: 
:: -
:: 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 to show System Unavailable page when Tomcat is down

2004-06-14 Thread Schalk
Which database and ODBC are you using?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Stephen Huey [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, June 15, 2004 12:17 AM
:: To: [EMAIL PROTECTED]
:: Subject: how to show System Unavailable page when Tomcat is down
:: 
:: Though I'm capable of adding to the JSPs and servlets on an existing
:: site, I'm no web server guru, so I'm having a hard time with this
:: problem.  Our database vendor's ODBC driver has issues, so occasionally
:: we have to restart Tomcat (and maybe the driver) to get the website
:: running again, and since this is used by thousands of people every day,
:: they can get pretty annoyed when all they see in their browser is Page
:: cannot be displayed (and this can go on for anywhere from 5-15
:: minutes).
:: 
:: We need a way to show some redirect requests for the website to some
:: static HTML page when Tomcat is down.  Since Tomcat is running our
:: website, I'm really not sure of how to provide a solution for that (we
:: don't have multiple application servers--just one web server and one
:: database server).  Any thoughts would be greatly appreciated!
:: 
:: Thanks,
:: Stephen
:: 
:: -
:: 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: aliases from apache don't work using soft links

2004-06-14 Thread Schalk
Which version of mod_jk are you using? And which version of Apache?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, June 15, 2004 12:14 AM
:: To: Tomcat Users List
:: Subject: Re: aliases from apache don't work using soft links
:: 
:: Does anyone had this problem? or does anyone uses tomcat inside a soft
link?
:: 
:: thanks
:: 
:: Emerson Cargnin wrote:
::  Maybe this is a little offtopic, although highly related.
:: 
::  I was used to use a symlink to access tomcat, so I could change the
::  version just changing the softlink.
:: 
::  Eg: /opt/tomcat points to /opt/tomcats/jakarta-tomcat-5.0.25/
:: 
::  This worked fine, but when I updated my system from 5.0.19 to 5.0.25,
an
::  error showed up, and even changing back to 5.0.19 didn't solved.
:: 
::  error:
:: 
::  Symbolic link not allowed: /opt/tomcat
:: 
:: 
::  Thanks in advance
:: 
:: 
:: 
:: --
:: Emerson Cargnin
:: Analista de Sistemas
:: Setor de Desenvolvimento de Sistemas - TRE-SC
:: tel : (048) - 251-3700 - Ramal 3181
:: 
:: -
:: 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: tomcat starting up?

2004-06-14 Thread Schalk
Tomcat runs on 8080, i.e. (80), by default so check no other servers are
running and using this port. If you are using Apache in conjunction with
Tomcat you need to set-up an ajp connector.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Reid Peryam [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, June 15, 2004 12:13 AM
:: To: Tomcat Users List
:: Subject: tomcat starting up?
:: 
:: So when I try to connect to http://localhost:8080/ after starting up
Tomcat, I get a
:: dns connecting error in IE. The documentation support said that this
might be
:: because the port is being used by another process. If it is, how can I
detect another
:: port which is open for use? (the documentation tells how to change the
default...)
:: 
:: Reid



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



RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread Schalk
Wendy

I thought this was possible I was just throwing the question out there.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Wendy Smoak [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, June 15, 2004 12:34 AM
:: To: Tomcat Users List
:: Subject: RE: How do I run servlets on the root directory of localhost?
:: 
::  From: Schalk [mailto:[EMAIL PROTECTED]
::  This brings up an interesting point. Is it possible to edit
::  which is the default app?
:: 
:: Yes, you can change it in server.xml:
::  Context path= docBase=ROOT debug=0/
:: Change 'ROOT' to something else.
:: 
:: But that was in the message you replied to, so maybe I don't understand
:: your question.  What do you mean by 'edit'?
:: 
:: --
:: Wendy Smoak
:: Application Systems Analyst, Sr.
:: ASU IA Information Resources Management
:: 
:: 
:: 
:: -
:: 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: aliases from apache don't work using soft links

2004-06-14 Thread Schalk
Just an idea, I might be totally of, have you tried specifying the complete
'URL' to the directory?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, June 15, 2004 12:42 AM
:: To: Tomcat Users List
:: Subject: Re: aliases from apache don't work using soft links
:: 
:: tomcat 5.0.25
:: apache2-2.0.47-63
:: I use the mod_jk that cames with Suse 9. The RPM says it's
:: apache2-jakarta-tomcat-connectors-4.1.27-32, but it just goes with the
:: version of Tomcat. But I'm sure it worked before.
:: 
:: error message: Symbolic link not allowed: /opt/tomcat
:: 
:: Thanks
:: 
:: Schalk wrote:
::  Which version of mod_jk are you using? And which version of Apache?
:: 
::  Kind Regards
::  Schalk Neethling
::  Web Developer.Designer.Programmer.President
::  Volume4.Development.Multimedia.Branding
::  emotionalize.conceptualize.visualize.realize
::  Tel: +27125468436
::  Fax: +27125468436
::  email:[EMAIL PROTECTED]
::  web: www.volume4.co.za
:: 
::  This message contains information that is considered to be sensitive or
::  confidential and may not be forwarded or disclosed to any other party
::  without the permission of the sender. If you received this message in
error,
::  please notify me immediately so that I can correct and delete the
original
::  email. Thank you.
:: 
::  :: -Original Message-
::  :: From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
::  :: Sent: Tuesday, June 15, 2004 12:14 AM
::  :: To: Tomcat Users List
::  :: Subject: Re: aliases from apache don't work using soft links
::  ::
::  :: Does anyone had this problem? or does anyone uses tomcat inside a
soft
::  link?
::  ::
::  :: thanks
::  ::
::  :: Emerson Cargnin wrote:
::  ::  Maybe this is a little offtopic, although highly related.
::  :: 
::  ::  I was used to use a symlink to access tomcat, so I could change
the
::  ::  version just changing the softlink.
::  :: 
::  ::  Eg: /opt/tomcat points to /opt/tomcats/jakarta-tomcat-5.0.25/
::  :: 
::  ::  This worked fine, but when I updated my system from 5.0.19 to
5.0.25,
::  an
::  ::  error showed up, and even changing back to 5.0.19 didn't solved.
::  :: 
::  ::  error:
::  :: 
::  ::  Symbolic link not allowed: /opt/tomcat
::  :: 
::  :: 
::  ::  Thanks in advance
::  :: 
::  ::
::  ::
::  :: --
::  :: Emerson Cargnin
::  :: Analista de Sistemas
::  :: Setor de Desenvolvimento de Sistemas - TRE-SC
::  :: tel : (048) - 251-3700 - Ramal 3181
::  ::
::  ::
-
::  :: 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]
:: 
:: 
:: 
:: 
:: --
:: Emerson Cargnin
:: Analista de Sistemas
:: Setor de Desenvolvimento de Sistemas - TRE-SC
:: tel : (048) - 251-3700 - Ramal 3181
:: 
:: -
:: 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 do I run servlets on the root directory of localhost?

2004-06-12 Thread Schalk
Is your webapp located in c:/your-Tomcat-install-directory/webapps/yourapp/?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Jarl Skogsholm [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, June 13, 2004 12:35 AM
:: To: Tomcat Users List
:: Subject: How do I run servlets on the root directory of localhost?
:: 
:: http://localhost:8080/
:: 
:: I actually got this to work, but it images, etc can't be found.
:: 
:: Thanks for your help.
:: 
:: Jarl
:: 
:: -
:: 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 do I run servlets on the root directory of localhost?

2004-06-12 Thread Schalk
What happens if you just enter: http://localhost:8080/ 

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Schalk [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, June 13, 2004 12:51 AM
:: To: 'Tomcat Users List'
:: Subject: RE: How do I run servlets on the root directory of localhost?
:: Importance: High
:: 
:: Is your webapp located in
c:/your-Tomcat-install-directory/webapps/yourapp/?
:: 
:: Kind Regards
:: Schalk Neethling
:: Web Developer.Designer.Programmer.President
:: Volume4.Development.Multimedia.Branding
:: emotionalize.conceptualize.visualize.realize
:: Tel: +27125468436
:: Fax: +27125468436
:: email:[EMAIL PROTECTED]
:: web: www.volume4.co.za
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: :: -Original Message-
:: :: From: Jarl Skogsholm [mailto:[EMAIL PROTECTED]
:: :: Sent: Sunday, June 13, 2004 12:35 AM
:: :: To: Tomcat Users List
:: :: Subject: How do I run servlets on the root directory of localhost?
:: ::
:: :: http://localhost:8080/
:: ::
:: :: I actually got this to work, but it images, etc can't be found.
:: ::
:: :: Thanks for your help.
:: ::
:: :: Jarl
:: ::
:: :: -
:: :: 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: JSP source being shown (not being executed)

2004-06-08 Thread Schalk
Just a thought but, if you are running both Apache and Tomcat, Apache is
probably picking up the .html extension and tries to display the content of
the file which will result in it displaying the code.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Michael Mehrle [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, June 08, 2004 7:58 PM
:: To: Tomcat Users List
:: Subject: JSP source being shown (not being executed)
:: 
:: For some reason my JSP source is being shown - it's not being compiled
and
:: executed. It might be worthwhile mentioning that I am mapping some
servlet
:: context as *.html, which redirects to this jsp - but it worked in another
:: app of mine and inside my new app it doesn't work.
:: 
:: I'm running Tomcat 5.0.26 btw.
:: 
:: Any input would be welcome.
:: 
:: Michael
:: 
:: 
:: -
:: 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: JSP source being shown (not being executed)

2004-06-08 Thread Schalk
I stand under correction but, it may even be that this not allowed at all or
anymore. Try rather creating another extension for these files that you can
map to. Probably the easiest.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Michael Mehrle [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, June 08, 2004 8:44 PM
:: To: Tomcat Users List
:: Subject: Re: JSP source being shown (not being executed)
:: 
:: Actually, I'm not running Apache right now. This has something to do with
my
:: servlet context (*.html) not being sent to the JSP engine - it's treating
it
:: like regular HTML right now. Strange, since my other mappings seem to
work
:: fine (*.do).
:: 
:: Michael
:: 
:: 
:: - Original Message -
:: From: Schalk [EMAIL PROTECTED]
:: To: 'Tomcat Users List' [EMAIL PROTECTED]
:: Sent: Tuesday, June 08, 2004 11:23 AM
:: Subject: RE: JSP source being shown (not being executed)
:: 
:: 
:: Just a thought but, if you are running both Apache and Tomcat, Apache is
:: probably picking up the .html extension and tries to display the content
of
:: the file which will result in it displaying the code.
:: 
:: Kind Regards
:: Schalk Neethling
:: Web Developer.Designer.Programmer.President
:: Volume4.Development.Multimedia.Branding
:: emotionalize.conceptualize.visualize.realize
:: Tel: +27125468436
:: Fax: +27125468436
:: email:[EMAIL PROTECTED]
:: web: www.volume4.com
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: :: -Original Message-
:: :: From: Michael Mehrle [mailto:[EMAIL PROTECTED]
:: :: Sent: Tuesday, June 08, 2004 7:58 PM
:: :: To: Tomcat Users List
:: :: Subject: JSP source being shown (not being executed)
:: ::
:: :: For some reason my JSP source is being shown - it's not being compiled
:: and
:: :: executed. It might be worthwhile mentioning that I am mapping some
:: servlet
:: :: context as *.html, which redirects to this jsp - but it worked in
another
:: :: app of mine and inside my new app it doesn't work.
:: ::
:: :: I'm running Tomcat 5.0.26 btw.
:: ::
:: :: Any input would be welcome.
:: ::
:: :: Michael
:: ::
:: ::
:: :: -
:: :: 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]



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



RE: JSP source being shown (not being executed)

2004-06-08 Thread Schalk
If all .html files should go to this try using a filter instead.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Schalk [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, June 08, 2004 9:27 PM
:: To: 'Tomcat Users List'
:: Subject: RE: JSP source being shown (not being executed)
:: 
:: I stand under correction but, it may even be that this not allowed at all
or
:: anymore. Try rather creating another extension for these files that you
can
:: map to. Probably the easiest.
:: 
:: Kind Regards
:: Schalk Neethling
:: Web Developer.Designer.Programmer.President
:: Volume4.Development.Multimedia.Branding
:: emotionalize.conceptualize.visualize.realize
:: Tel: +27125468436
:: Fax: +27125468436
:: email:[EMAIL PROTECTED]
:: web: www.volume4.com
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: :: -Original Message-
:: :: From: Michael Mehrle [mailto:[EMAIL PROTECTED]
:: :: Sent: Tuesday, June 08, 2004 8:44 PM
:: :: To: Tomcat Users List
:: :: Subject: Re: JSP source being shown (not being executed)
:: ::
:: :: Actually, I'm not running Apache right now. This has something to do
with
:: my
:: :: servlet context (*.html) not being sent to the JSP engine - it's
treating
:: it
:: :: like regular HTML right now. Strange, since my other mappings seem to
:: work
:: :: fine (*.do).
:: ::
:: :: Michael
:: ::
:: ::
:: :: - Original Message -
:: :: From: Schalk [EMAIL PROTECTED]
:: :: To: 'Tomcat Users List' [EMAIL PROTECTED]
:: :: Sent: Tuesday, June 08, 2004 11:23 AM
:: :: Subject: RE: JSP source being shown (not being executed)
:: ::
:: ::
:: :: Just a thought but, if you are running both Apache and Tomcat, Apache
is
:: :: probably picking up the .html extension and tries to display the
content
:: of
:: :: the file which will result in it displaying the code.
:: ::
:: :: Kind Regards
:: :: Schalk Neethling
:: :: Web Developer.Designer.Programmer.President
:: :: Volume4.Development.Multimedia.Branding
:: :: emotionalize.conceptualize.visualize.realize
:: :: Tel: +27125468436
:: :: Fax: +27125468436
:: :: email:[EMAIL PROTECTED]
:: :: web: www.volume4.com
:: ::
:: :: This message contains information that is considered to be sensitive
or
:: :: confidential and may not be forwarded or disclosed to any other party
:: :: without the permission of the sender. If you received this message in
:: error,
:: :: please notify me immediately so that I can correct and delete the
:: original
:: :: email. Thank you.
:: ::
:: :: :: -Original Message-
:: :: :: From: Michael Mehrle [mailto:[EMAIL PROTECTED]
:: :: :: Sent: Tuesday, June 08, 2004 7:58 PM
:: :: :: To: Tomcat Users List
:: :: :: Subject: JSP source being shown (not being executed)
:: :: ::
:: :: :: For some reason my JSP source is being shown - it's not being
compiled
:: :: and
:: :: :: executed. It might be worthwhile mentioning that I am mapping some
:: :: servlet
:: :: :: context as *.html, which redirects to this jsp - but it worked in
:: another
:: :: :: app of mine and inside my new app it doesn't work.
:: :: ::
:: :: :: I'm running Tomcat 5.0.26 btw.
:: :: ::
:: :: :: Any input would be welcome.
:: :: ::
:: :: :: Michael
:: :: ::
:: :: ::
:: :: ::
-
:: :: :: 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]
:: 
:: 
:: 
:: -
:: 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: [OT] JSP/Servlet Hosting

2004-06-07 Thread Schalk
Hey there

 

I am getting a little concerned about Java's position as far as a
development language for the web. The reason I say this is because trying to
find good, reliable hosting at a competitive price, by competitive I mean
against the price of hosting PHP based sites, is almost impossible. You
either have a situation where the company claims to support Tomcat but then
only allows JSP's or they allow both JSP's and Servlets but not
servlet-mappings via web.xml.

 

The there are the companies who do claim to provide full support on VPS
plans but when it comes to getting Apache and Tomcat properly set-up things
go pear shaped and the whole thing falls apart. Finally when one does find a
company that meets all the criteria the price is usually at least $200+
above what the same site would cost to host if it was written in PHP. No
weird configurations or big name enterprise application server are included
in these plans.

 

Can anyone shed some light on this issue or am I to understand that PHP
should be your standard web development language and Java should only be
used for HUGE enterprise type application development?

 

Kind Regards

Schalk Neethling

Web Developer.Designer.Programmer.President

Volume4.Development.Multimedia.Branding

emotionalize.conceptualize.visualize.realize

Tel: +27125468436

Fax: +27125468436

email:[EMAIL PROTECTED]

web: www.volume4.com

 

This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

 



RE: Can't find classes

2004-06-02 Thread Schalk
Definitely, the easiest way to ensure you have access to your .jar file is
include them your webapps WEB-INF/lib/. This also makes your app more
portable.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Matthew Chen [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, June 02, 2004 11:08 PM
:: To: Tomcat Users List
:: Subject: RE: Can't find classes
:: 
:: Hi! David
:: 
::  I had similar problem when trying to use /share/lib, I am not sure
:: restarting Tomcat would help or not. But what I did is not trusting
:: /share/lib, instead put all jar in the war file itself when you build the
:: war. That way always works.
:: 
:: Regards,
:: 
:: matt
:: 
:: -Original Message-
:: From: David Rush [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, June 02, 2004 4:38 PM
:: To: Tomcat Users List
:: Subject: Can't find classes
:: 
:: Hi.  I'm running Tomcat 4.1.30 on a Win2k box.  I have two (non-default
:: to Tomcat) .jar files I'm trying to use, along with my own code.
:: Tomcat is installed under c:\tomcat4130.
:: My application-specific code is under
:: c:\pub\tomcat\ROOT\WEB-INF\classes, and I've edited server.xml to
:: reflect the non-default location.
:: Simple servlets were working there this morning.  I can still compile
:: without a problem.
:: I've put two needed jar files (one for ArcIMS and one for Oracle JDBC
:: stuff) in c:\tomcat4130\shared\lib and servlet.jar is (and always has
:: been) in c:\tomcat4130\common\lib.
:: When I started to need the ojdbc14.jar (Oracle) file, I stuck it in to
:: c:\tomcat4130\shared\lib, and moved my ArcIMS .jar file there, too, and
:: changed my CLASSPATH to include those files in their new location.
:: 
:: CATALINA_BASE='c:\tomcat4130'
:: CATALINA_HOME='c:\tomcat4130'
::
CLASSPATH='c:\tomcat4130\common\lib\servlet.jar;c:\tomcat4130\shared\lib\arc
::
ims_jconnect.jar;c:\tomcat4130\shared\lib\ojdbc14.jar;c:\pub\tomcat\ROOT\WEB
:: -INF\classes'
:: 
:: But now I can't do squat.
:: 
:: I'm getting this in my localhost_log... file:
:: 
:: 2004-06-02 14:25:40 WebappLoader[]: Deploying class repositories to work
:: directory C:\tomcat4130\work\Standalone\localhost\_
:: 2004-06-02 14:25:40 WebappLoader[]: Deploy class files /WEB-INF/classes
:: to c:\pub\tomcat\ROOT\WEB-INF\classes
:: 2004-06-02 14:25:40 WebappLoader[]: Deploy JAR
:: /WEB-INF/lib/arcims_jconnect.jar to
:: c:\pub\tomcat\ROOT\WEB-INF\lib\arcims_jconnect.jar
:: 2004-06-02 14:25:41 StandardManager[]: Seeding random number generator
:: class java.security.SecureRandom
:: 2004-06-02 14:25:42 StandardManager[]: Seeding of random number
:: generator has been completed
:: 2004-06-02 14:25:42 StandardWrapper[:default]: Loading container servlet
:: default
:: 2004-06-02 14:25:42 StandardWrapper[:invoker]: Loading container servlet
:: invoker
:: 2004-06-02 14:25:42 StandardWrapper[:jsp]: Marking servlet jsp as
:: unavailable
:: 2004-06-02 14:25:42 StandardContext[]: Servlet  threw load() exception
:: javax.servlet.ServletException: Wrapper cannot find servlet class
:: org.apache.jasper.servlet.JspServlet or a class it depends on
:: at
::
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:89
:: 1)
:: at
:: org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
:: at
::
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
:: 3427)
:: at
:: org.apache.catalina.core.StandardContext.start(StandardContext.java:3628)
:: at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
:: at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
:: at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
:: at
:: org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
:: at
:: org.apache.catalina.core.StandardService.start(StandardService.java:497)
:: at
:: org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
:: at
::
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
:: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
:: at
::
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
:: )
:: at
::
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
:: .java:25)
:: at java.lang.reflect.Method.invoke(Method.java:324)
:: at
::
org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245

RE: Can't find classes

2004-06-02 Thread Schalk
No, servlet.jar will always be in the Tomcat distributions common/lib/

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: David Rush [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, June 02, 2004 11:34 PM
:: To: Tomcat Users List
:: Subject: Re: Can't find classes
:: 
:: Even servlet.jar!?!?!?
:: 
:: David
:: 
:: Schalk wrote:
:: 
:: Definitely, the easiest way to ensure you have access to your .jar file
is
:: include them your webapps WEB-INF/lib/. This also makes your app more
:: portable.
:: 
:: Kind Regards
:: Schalk Neethling
:: Web Developer.Designer.Programmer.President
:: Volume4.Development.Multimedia.Branding
:: emotionalize.conceptualize.visualize.realize
:: Tel: +27125468436
:: Fax: +27125468436
:: email:[EMAIL PROTECTED]
:: web: www.volume4.com
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: :: -Original Message-
:: :: From: Matthew Chen [mailto:[EMAIL PROTECTED]
:: :: Sent: Wednesday, June 02, 2004 11:08 PM
:: :: To: Tomcat Users List
:: :: Subject: RE: Can't find classes
:: ::
:: :: Hi! David
:: ::
:: ::  I had similar problem when trying to use /share/lib, I am not sure
:: :: restarting Tomcat would help or not. But what I did is not trusting
:: :: /share/lib, instead put all jar in the war file itself when you build
the
:: :: war. That way always works.
:: ::
:: :: Regards,
:: ::
:: :: matt
:: ::
:: :: -Original Message-
:: :: From: David Rush [mailto:[EMAIL PROTECTED]
:: :: Sent: Wednesday, June 02, 2004 4:38 PM
:: :: To: Tomcat Users List
:: :: Subject: Can't find classes
:: ::
:: :: Hi.  I'm running Tomcat 4.1.30 on a Win2k box.  I have two
(non-default
:: :: to Tomcat) .jar files I'm trying to use, along with my own code.
:: :: Tomcat is installed under c:\tomcat4130.
:: :: My application-specific code is under
:: :: c:\pub\tomcat\ROOT\WEB-INF\classes, and I've edited server.xml to
:: :: reflect the non-default location.
:: :: Simple servlets were working there this morning.  I can still compile
:: :: without a problem.
:: :: I've put two needed jar files (one for ArcIMS and one for Oracle JDBC
:: :: stuff) in c:\tomcat4130\shared\lib and servlet.jar is (and always has
:: :: been) in c:\tomcat4130\common\lib.
:: :: When I started to need the ojdbc14.jar (Oracle) file, I stuck it in
to
:: :: c:\tomcat4130\shared\lib, and moved my ArcIMS .jar file there, too,
and
:: :: changed my CLASSPATH to include those files in their new location.
:: ::
:: :: CATALINA_BASE='c:\tomcat4130'
:: :: CATALINA_HOME='c:\tomcat4130'
:: ::
::
CLASSPATH='c:\tomcat4130\common\lib\servlet.jar;c:\tomcat4130\shared\lib\ar
c
:: ::
::
ims_jconnect.jar;c:\tomcat4130\shared\lib\ojdbc14.jar;c:\pub\tomcat\ROOT\WE
B
:: :: -INF\classes'
:: ::
:: :: But now I can't do squat.
:: ::
:: :: I'm getting this in my localhost_log... file:
:: ::
:: :: 2004-06-02 14:25:40 WebappLoader[]: Deploying class repositories to
work
:: :: directory C:\tomcat4130\work\Standalone\localhost\_
:: :: 2004-06-02 14:25:40 WebappLoader[]: Deploy class files
/WEB-INF/classes
:: :: to c:\pub\tomcat\ROOT\WEB-INF\classes
:: :: 2004-06-02 14:25:40 WebappLoader[]: Deploy JAR
:: :: /WEB-INF/lib/arcims_jconnect.jar to
:: :: c:\pub\tomcat\ROOT\WEB-INF\lib\arcims_jconnect.jar
:: :: 2004-06-02 14:25:41 StandardManager[]: Seeding random number
generator
:: :: class java.security.SecureRandom
:: :: 2004-06-02 14:25:42 StandardManager[]: Seeding of random number
:: :: generator has been completed
:: :: 2004-06-02 14:25:42 StandardWrapper[:default]: Loading container
servlet
:: :: default
:: :: 2004-06-02 14:25:42 StandardWrapper[:invoker]: Loading container
servlet
:: :: invoker
:: :: 2004-06-02 14:25:42 StandardWrapper[:jsp]: Marking servlet jsp as
:: :: unavailable
:: :: 2004-06-02 14:25:42 StandardContext[]: Servlet  threw load()
exception
:: :: javax.servlet.ServletException: Wrapper cannot find servlet class
:: :: org.apache.jasper.servlet.JspServlet or a class it depends on
:: :: at
:: ::
::
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:8
9
:: :: 1)
:: :: at
:: ::
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823

RE: Can't find classes

2004-06-02 Thread Schalk
What OS are you using?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: David Rush [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, June 02, 2004 11:48 PM
:: To: Tomcat Users List
:: Subject: Re: Can't find classes
:: 
:: Yes, that makes sense.  But it appears that my configuration is no
:: longer able to find servlet.jar, even though I've not moved it.
:: 
:: David
:: 
:: Benjamin Armintor wrote:
:: 
:: You can't have the servlet.jar in your web app's library. AFAIK, the
:: specification forbids it (having copies of the javax.servlet classes in
:: your context class loader).  In any case, Tomcat won't load it.
:: 
:: Benjamin J. Armintor
:: Systems Analyst
:: ITS-Systems: Mainframe Group
:: University of Texas - Austin
:: tele: (512) 232-6562
:: email: [EMAIL PROTECTED]
:: 
:: 
:: 
:: -Original Message-
:: From: David Rush [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, June 02, 2004 4:34 PM
:: To: Tomcat Users List
:: Subject: Re: Can't find classes
:: 
:: 
:: Even servlet.jar!?!?!?
:: 
:: David
:: 
:: Schalk wrote:
:: 
:: 
:: 
:: Definitely, the easiest way to ensure you have access to your .jar file
:: 
:: 
:: 
:: 
:: 
:: is include them your webapps WEB-INF/lib/. This also makes your app
:: more portable.
:: 
:: Kind Regards
:: Schalk Neethling
:: Web Developer.Designer.Programmer.President
:: Volume4.Development.Multimedia.Branding
:: emotionalize.conceptualize.visualize.realize
:: Tel: +27125468436
:: Fax: +27125468436
:: email:[EMAIL PROTECTED]
:: web: www.volume4.com
:: 
:: This message contains information that is considered to be sensitive or
:: 
:: 
:: 
:: 
:: 
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
:: error, please notify me immediately so that I can correct and delete
:: the original email. Thank you.
:: 
:: :: -Original Message-
:: :: From: Matthew Chen [mailto:[EMAIL PROTECTED]
:: :: Sent: Wednesday, June 02, 2004 11:08 PM
:: :: To: Tomcat Users List
:: :: Subject: RE: Can't find classes
:: ::
:: :: Hi! David
:: ::
:: :: I had similar problem when trying to use /share/lib, I am
not
:: 
:: 
:: sure
:: 
:: 
:: :: restarting Tomcat would help or not. But what I did is not trusting
:: :: /share/lib, instead put all jar in the war file itself when you
:: 
:: 
:: build the
:: 
:: 
:: :: war. That way always works.
:: ::
:: :: Regards,
:: ::
:: :: matt
:: ::
:: :: -Original Message-
:: :: From: David Rush [mailto:[EMAIL PROTECTED]
:: :: Sent: Wednesday, June 02, 2004 4:38 PM
:: :: To: Tomcat Users List
:: :: Subject: Can't find classes
:: ::
:: :: Hi.  I'm running Tomcat 4.1.30 on a Win2k box.  I have two
:: 
:: 
:: (non-default
:: 
:: 
:: :: to Tomcat) .jar files I'm trying to use, along with my own code.
:: :: Tomcat is installed under c:\tomcat4130.
:: :: My application-specific code is under
:: :: c:\pub\tomcat\ROOT\WEB-INF\classes, and I've edited server.xml to
:: :: reflect the non-default location.
:: :: Simple servlets were working there this morning.  I can still
:: 
:: 
:: compile
:: 
:: 
:: :: without a problem.
:: :: I've put two needed jar files (one for ArcIMS and one for Oracle
:: 
:: 
:: JDBC
:: 
:: 
:: :: stuff) in c:\tomcat4130\shared\lib and servlet.jar is (and always
:: 
:: 
:: has
:: 
:: 
:: :: been) in c:\tomcat4130\common\lib.
:: :: When I started to need the ojdbc14.jar (Oracle) file, I stuck it in
:: 
:: 
:: to
:: 
:: 
:: :: c:\tomcat4130\shared\lib, and moved my ArcIMS .jar file there, too,
:: 
:: 
:: and
:: 
:: 
:: :: changed my CLASSPATH to include those files in their new location.
:: ::
:: :: CATALINA_BASE='c:\tomcat4130'
:: :: CATALINA_HOME='c:\tomcat4130'
:: ::
:: CLASSPATH='c:\tomcat4130\common\lib\servlet.jar;c:\tomcat4130\shared\li
:: 
:: 
:: b\arc
:: 
:: 
:: ::
:: ims_jconnect.jar;c:\tomcat4130\shared\lib\ojdbc14.jar;c:\pub\tomcat\ROO
:: 
:: 
:: T\WEB
:: 
:: 
:: :: -INF\classes'
:: ::
:: :: But now I can't do squat.
:: ::
:: :: I'm getting this in my localhost_log... file:
:: ::
:: :: 2004-06-02 14:25:40 WebappLoader[]: Deploying class repositories to
:: 
:: 
:: work
:: 
:: 
:: :: directory C:\tomcat4130\work\Standalone\localhost\_
:: :: 2004-06-02 14:25:40 WebappLoader[]: Deploy class files
:: 
:: 
:: /WEB-INF/classes
:: 
:: 
:: :: to c:\pub\tomcat\ROOT\WEB-INF\classes
:: :: 2004-06-02 14:25:40 WebappLoader[]: Deploy JAR
:: :: /WEB-INF/lib/arcims_jconnect.jar to
:: :: c:\pub\tomcat\ROOT\WEB

RE: Remote Start / Stop of tomcat

2004-06-01 Thread Schalk
I second that, if you are on windows download 'Putty' and for uploading and
downloading files via SSH download 'psftp', it is by the same company. They
work absolutely great.

Just check with whom ever administers your server that SSH is installed.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Adam Buglass [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, June 01, 2004 10:28 AM
:: To: Tomcat Users List
:: Subject: RE: Remote Start / Stop of tomcat
:: 
:: Think of it as a secure telnet!
:: 
:: Do a google search for more info.
:: 
:: Also do a google search for Putty which is an SSH client for Windows.
:: It'll probably tell you all about SSH and it's one of (if not the) best
:: windows SSH client around.
:: 
:: (If you're using Unix try typing: ssh [remotehost.remotedomain] at the
:: prompt, of course changing the stuff in [] for the name of your server).
:: 
:: HTH.
:: Adam.
:: 
:: On Mon, 2004-05-31 at 11:16, [EMAIL PROTECTED] wrote:
:: 
:: 
::  What is SSH?
:: 
::  Thank you,
::  Best Regards,
::  Uma
:: 
:: 
::  -
::  To unsubscribe, e-mail: [EMAIL PROTECTED]
::  For additional commands, e-mail: [EMAIL PROTECTED]
:: --
:: Adam Buglass,  
:: The Golden Freeway.
:: 
:: Unit 1,
:: Wear Valley Business Centre,
:: 27 Longfield Road,
:: South Church Enterprise Park,
:: Bishop Auckland.
:: DL14 6XB
:: 
:: (01388) 778424
:: 
:: http://www.thegoldenfreeway.com
:: http://www.golduk.net
:: 
:: 
:: -
:: 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: Remote Start / Stop of tomcat

2004-06-01 Thread Schalk
Uma

After launching Putty, leave everything at their default setting and type in
your server's IP address. Click Open. On the first alert window that pops up
read the text and click either Yes or No.

Next it will ask you to type in your username and then password. While you
are typing the password you will not see the prompt move. This is ok; type
the password and press enter.

Then from my experience I basically go:
cd /usr/local/tomcat/bin/
startup.sh

or 

shutdown.sh

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, June 01, 2004 12:58 PM
:: To: Tomcat Users List
:: Subject: RE: Remote Start / Stop of tomcat
:: 
:: 
:: 
:: 
:: 
:: Hi Schalk,
:: I have downloaded putty and I am really struck on how to use it. I never
:: used Telnet before. Can you help me with the commands that are needed to
:: start / stop tomcat on remote machine please?
:: 
:: Thank you,
:: Best Regards,
:: Uma
:: 
:: 
:: 
::  Schalk
::  [EMAIL PROTECTED]
::  o.za
To
:: 
::  06/01/2004 02:58  'Tomcat Users List'
::  PM[EMAIL PROTECTED]
::
cc
:: 
::  Please respond to
::Tomcat Users
::List
::  [EMAIL PROTECTED]
::   rta.apache.org
Subject
::RE: Remote Start / Stop of tomcat
:: 
:: 
:: 
:: 
:: 
:: 
:: 
:: 
:: 
:: 
:: I second that, if you are on windows download 'Putty' and for uploading
and
:: downloading files via SSH download 'psftp', it is by the same company.
They
:: work absolutely great.
:: 
:: Just check with whom ever administers your server that SSH is installed.
:: 
:: Kind Regards
:: Schalk Neethling
:: Web Developer.Designer.Programmer.President
:: Volume4.Development.Multimedia.Branding
:: emotionalize.conceptualize.visualize.realize
:: Tel: +27125468436
:: Fax: +27125468436
:: email:[EMAIL PROTECTED]
:: web: www.volume4.com
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
:: error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: :: -Original Message-
:: :: From: Adam Buglass [mailto:[EMAIL PROTECTED]
:: :: Sent: Tuesday, June 01, 2004 10:28 AM
:: :: To: Tomcat Users List
:: :: Subject: RE: Remote Start / Stop of tomcat
:: ::
:: :: Think of it as a secure telnet!
:: ::
:: :: Do a google search for more info.
:: ::
:: :: Also do a google search for Putty which is an SSH client for
Windows.
:: :: It'll probably tell you all about SSH and it's one of (if not the)
best
:: :: windows SSH client around.
:: ::
:: :: (If you're using Unix try typing: ssh [remotehost.remotedomain] at the
:: :: prompt, of course changing the stuff in [] for the name of your
server).
:: ::
:: :: HTH.
:: :: Adam.
:: ::
:: :: On Mon, 2004-05-31 at 11:16, [EMAIL PROTECTED] wrote:
:: :: 
:: :: 
:: ::  What is SSH?
:: :: 
:: ::  Thank you,
:: ::  Best Regards,
:: ::  Uma
:: :: 
:: :: 
:: :: 
-
:: ::  To unsubscribe, e-mail: [EMAIL PROTECTED]
:: ::  For additional commands, e-mail: [EMAIL PROTECTED]
:: :: --
:: :: Adam Buglass,  
:: :: The Golden Freeway.
:: ::
:: :: Unit 1,
:: :: Wear Valley Business Centre,
:: :: 27 Longfield Road,
:: :: South Church Enterprise Park,
:: :: Bishop Auckland.
:: :: DL14 6XB
:: ::
:: :: (01388) 778424
:: ::
:: :: http://www.thegoldenfreeway.com
:: :: http://www.golduk.net
:: ::
:: ::
:: :: -
:: :: 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]



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



RE: Remote Start / Stop of tomcat

2004-05-31 Thread Schalk
Can you log-in to the machine via SSH?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Monday, May 31, 2004 11:01 AM
:: To: Tomcat Users List
:: Subject: RE: Remote Start / Stop of tomcat
:: 
:: 
:: 
:: 
:: 
:: Matt,
:: Thanks for the reply. Yes, thats not my problem here and I am looking for
:: starting / stopping my tomcat in the remote machine using some kind of
:: mechanism if available.
:: 
:: Thank you,
:: Best Regards,
:: Uma
:: 
:: 
:: -
:: 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: Secure web.xml and WEB-INF

2004-05-31 Thread Schalk
If you want to make sure, you can always include this in your httpd.conf or
mod_jk.conf depending on what route our go:

Location /myApp/WEB-INF/
AllowOverride None
deny from all
/Location

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Ryan Stewart [mailto:[EMAIL PROTECTED]
:: Sent: Monday, May 31, 2004 3:02 PM
:: To: [EMAIL PROTECTED]
:: Subject: Re: Secure web.xml and WEB-INF
:: 
:: -Original Message-
:: From: Bond, James Bond[EMAIL PROTECTED]
:: To: Tomcat Users List[EMAIL PROTECTED]
:: Date: Sun May 30 22:40:16 PDT 2004
:: Subject: Secure web.xml and WEB-INF
:: 
:: Hello. Please, give me some tips how to secure (deny for reading in
:: browser) access to web.xml and WEB-INF folder? Any suggestions are
welcome:)
:: Thanks
:: 
:: WEB-INF is inaccessible to the client as per the Java Servlet
Specification.
:: 
:: ___
:: Check-out GO.com
:: GO get your free GO E-Mail account with expanded storage of 6 MB!
:: http://mail.go.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: tomcat book

2004-05-21 Thread Schalk
I find O'Reilly's Tomcat Complete Reference very useful.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: wsedio [mailto:[EMAIL PROTECTED]
:: Sent: Friday, May 21, 2004 11:38 AM
:: To: Tomcat Users List
:: Subject: tomcat book
:: 
:: Hi all,
:: what is the best Tomcat book around?
:: 
:: It would be great if it also covers Tomcat 5 ...
:: 
:: Thanks.
:: 
:: -
:: 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]



5.0.24 HotFix Answer

2004-05-14 Thread Schalk
Hi there

 

What do I install the Hot Fix for Tomcat 5.0.24? Do I just overwrite the
/server/classes/org/apache/coyote/tomcat5/CoyoteAdapter.class?

Or is there something more that needs to be done?

 

Kind Regards

Schalk Neethling

Web Developer.Designer.Programmer.President

Volume4.Development.Multimedia.Branding

emotionalize.conceptualize.visualize.realize

Tel: +27125468436

Fax: +27125468436

email:[EMAIL PROTECTED]

web: www.volume4.com

 

This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

 



RE: Sendng automatic email with tomcat

2004-04-25 Thread Schalk
Masood

Drop me an email at [EMAIL PROTECTED] and I will send you some code.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Masood Reyhanei Hamedani [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, April 25, 2004 1:03 PM
:: To: [EMAIL PROTECTED]
:: Subject: Sendng automatic email with tomcat
:: 
:: Dear all
:: 
:: I have a registration webpage for a Mathematics seminar and I want to
send an reply
:: email for anyone that registers for it.
:: 
:: I know that, I must using Javamail with tomcat, but how?
:: 
:: Is there anyone to help me?
:: 
:: with thanks.
:: masood.
:: 
:: 
:: -
:: Do you Yahoo!?
:: Yahoo! Photos: High-quality 4x6 digital prints for 25¢



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



RE: coreservlets

2004-04-11 Thread Schalk
I have the first edition, it is pretty nice and very detailed. Have not
looked at the other book or the second edition but think the newer books
will be a better bet.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: electroteque [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, April 11, 2004 11:34 AM
:: To: Tomcat Users List
:: Subject: coreservlets
:: 
:: I found this place pretty extensive, I may buy the books, would anyone
:: recommend these ?
:: 
:: www.coreservlets.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: cannot get servlet mapping working under 3.3

2004-04-04 Thread Schalk
I would suggest you upgrade to Tomcat 5.0+ and mod_jk

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: C. Kukulies [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, April 04, 2004 9:55 PM
:: To: [EMAIL PROTECTED]
:: Subject: cannot get servlet mapping working under 3.3
:: 
:: I'm reconvalescing from a disc crash where lots of my existing
:: tomcat 3.1/apache 1.3.26 installation had crashed and I
:: reinstalled tomcat 3.3 with apache-1.3.27 now such that
:: the examples work when I connect to the server at port 8080.
:: But this is tomcat. Trying to connect to apache via the jserv
:: modules doesn't seem to work.
:: 
:: logs/stderr.log looks ok.
:: 
:: I have included apache/jserv/jserv.conf  at the end of httpd.conf
:: 
:: 
:: jserv.conf:
:: 
:: ###
:: 
:: 
:: ###
:: 
:: # Note: this file should be appended or included into your httpd.conf
:: 
:: # Tell Apache on win32 to load the Apache JServ communication module
:: #LoadModule jserv_module modules/ApacheModuleJServ.dll
:: 
:: # Tell Apache on Unix to load the Apache JServ communication module
:: # For shared object builds only!!!
:: LoadModule jserv_module /usr/local/libexec/apache/mod_jserv.so
:: 
:: IfModule mod_jserv.c
:: 
:: # Whether Apache must start Apache JServ or not (On=Manual Off=Autostart)
:: # Syntax: ApJServManual [on/off]
:: # Default: Off
:: ApJServManual Off
:: 
:: # Properties filename for Apache JServ in Automatic Mode.
:: # In manual mode this directive is ignored
:: # Syntax: ApJServProperties [filename]
:: # Default: ./conf/jserv.properties
:: ApJServProperties /usr/local/etc/apache/jserv/jserv.properties
:: 
:: # Log file for this module operation relative to Apache root directory.
:: # Set the name of the trace/log file.  To avoid possible confusion about
:: # the location of this file, an absolute pathname is recommended.
:: #
:: # This log file is different than the log file that is in the
:: # jserv.properties file. This is the log file for the C portion of Apache
:: # JServ.
:: #
:: # On Unix, this file must have write permissions by the owner of the JVM
:: # process. In other words, if you are running Apache JServ in manual mode
:: # and Apache is running as user nobody, then the file must have its
:: # permissions set so that that user can write to it.
:: # Syntax: ApJServLogFile [filename]
:: # Default: ./logs/mod_jserv.log
:: # Note: when set to DISABLED, the log will be redirected to Apache
error log
:: ApJServLogFile /var/log/mod_jserv.log
:: 
:: # Log Level for this module
:: # Syntax: ApJServLogLevel [debug|info|notice|warn|error|crit|alert|emerg]
:: # Default: info(unless compiled w/ JSERV_DEBUG, in which case it's
debug)
:: ApJServLogLevel debug
:: 
:: # Protocol used by this host to connect to Apache JServ
:: # (see documentation for more details on available protocols)
:: # Syntax: ApJServDefaultProtocol [name]
:: # Default: ajpv12
:: ApJServDefaultProtocol ajpv12
:: 
:: # Default host on which Apache JServ is running
:: # Syntax: ApJServDefaultHost [hostname]
:: # Default: localhost
:: #ApJServDefaultHost java.apache.org
:: 
:: # Default port that Apache JServ is listening to
:: # Syntax: ApJServDefaultPort [number]
:: # Default: protocol-dependant (for ajpv12 protocol this is 8007)
:: ApJServDefaultPort 8007
:: 
:: # The amount of time to give to the JVM to start up as well
:: # as the amount of time to wait to ping the JVM to see if it
:: # is alive. Slow or heavily loaded machines might want to
:: # increase this value.
:: # Default: 10 seconds
:: # ApJServVMTimeout 10
:: 
:: # Passes parameter and value to specified protocol.
:: # Syntax: ApJServProtocolParameter [name] [parameter] [value]
:: # Default: NONE
:: # Note: Currently no protocols handle this. Introduced for future
protocols.
:: 
:: # Apache JServ secret key file relative to Apache root directory.
:: # Syntax: ApJServSecretKey [filename]
:: # Default: ./conf/jserv.secret.key
:: # Warning: if authentication is DISABLED, everyone on this machine (not
just
:: # this module) may connect to your servlet engine and execute servlet
:: # bypassing web server restrictions. See the documentation for more
information
:: #ApJServSecretKey /usr/local/etc/apache/jserv/jserv.secret.key
:: ApJServSecretKey DISABLED
:: 
:: # Mount point for Servlet zones
:: # (see documentation

RE: cannot get servlet mapping working under 3.3

2004-04-04 Thread Schalk
As far as I know Jserv has been deprecated or is no longer in development
and has migrated over to mod_jk, open to correction though.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Schalk [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, April 04, 2004 10:04 PM
:: To: 'Tomcat Users List'
:: Subject: RE: cannot get servlet mapping working under 3.3
:: 
:: I would suggest you upgrade to Tomcat 5.0+ and mod_jk
:: 
:: Kind Regards
:: Schalk Neethling
:: Web Developer.Designer.Programmer.President
:: Volume4.Development.Multimedia.Branding
:: emotionalize.conceptualize.visualize.realize
:: Tel: +27125468436
:: Fax: +27125468436
:: email:[EMAIL PROTECTED]
:: web: www.volume4.com
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: :: -Original Message-
:: :: From: C. Kukulies [mailto:[EMAIL PROTECTED]
:: :: Sent: Sunday, April 04, 2004 9:55 PM
:: :: To: [EMAIL PROTECTED]
:: :: Subject: cannot get servlet mapping working under 3.3
:: ::
:: :: I'm reconvalescing from a disc crash where lots of my existing
:: :: tomcat 3.1/apache 1.3.26 installation had crashed and I
:: :: reinstalled tomcat 3.3 with apache-1.3.27 now such that
:: :: the examples work when I connect to the server at port 8080.
:: :: But this is tomcat. Trying to connect to apache via the jserv
:: :: modules doesn't seem to work.
:: ::
:: :: logs/stderr.log looks ok.
:: ::
:: :: I have included apache/jserv/jserv.conf  at the end of httpd.conf
:: ::
:: ::
:: :: jserv.conf:
:: ::
:: 
:: :: ###
:: ::
:: ::
:: 
:: :: ###
:: ::
:: :: # Note: this file should be appended or included into your httpd.conf
:: ::
:: :: # Tell Apache on win32 to load the Apache JServ communication module
:: :: #LoadModule jserv_module modules/ApacheModuleJServ.dll
:: ::
:: :: # Tell Apache on Unix to load the Apache JServ communication module
:: :: # For shared object builds only!!!
:: :: LoadModule jserv_module /usr/local/libexec/apache/mod_jserv.so
:: ::
:: :: IfModule mod_jserv.c
:: ::
:: :: # Whether Apache must start Apache JServ or not (On=Manual
Off=Autostart)
:: :: # Syntax: ApJServManual [on/off]
:: :: # Default: Off
:: :: ApJServManual Off
:: ::
:: :: # Properties filename for Apache JServ in Automatic Mode.
:: :: # In manual mode this directive is ignored
:: :: # Syntax: ApJServProperties [filename]
:: :: # Default: ./conf/jserv.properties
:: :: ApJServProperties /usr/local/etc/apache/jserv/jserv.properties
:: ::
:: :: # Log file for this module operation relative to Apache root
directory.
:: :: # Set the name of the trace/log file.  To avoid possible confusion
about
:: :: # the location of this file, an absolute pathname is recommended.
:: :: #
:: :: # This log file is different than the log file that is in the
:: :: # jserv.properties file. This is the log file for the C portion of
Apache
:: :: # JServ.
:: :: #
:: :: # On Unix, this file must have write permissions by the owner of the
JVM
:: :: # process. In other words, if you are running Apache JServ in manual
mode
:: :: # and Apache is running as user nobody, then the file must have its
:: :: # permissions set so that that user can write to it.
:: :: # Syntax: ApJServLogFile [filename]
:: :: # Default: ./logs/mod_jserv.log
:: :: # Note: when set to DISABLED, the log will be redirected to Apache
:: error log
:: :: ApJServLogFile /var/log/mod_jserv.log
:: ::
:: :: # Log Level for this module
:: :: # Syntax: ApJServLogLevel
[debug|info|notice|warn|error|crit|alert|emerg]
:: :: # Default: info(unless compiled w/ JSERV_DEBUG, in which case it's
:: debug)
:: :: ApJServLogLevel debug
:: ::
:: :: # Protocol used by this host to connect to Apache JServ
:: :: # (see documentation for more details on available protocols)
:: :: # Syntax: ApJServDefaultProtocol [name]
:: :: # Default: ajpv12
:: :: ApJServDefaultProtocol ajpv12
:: ::
:: :: # Default host on which Apache JServ is running
:: :: # Syntax: ApJServDefaultHost [hostname]
:: :: # Default: localhost
:: :: #ApJServDefaultHost java.apache.org
:: ::
:: :: # Default port that Apache JServ

RE: Unable to compile class for JSP

2004-04-04 Thread Schalk
Maybe you can provide a copy of the JSP?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Linda Smith [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, April 04, 2004 10:08 PM
:: To: [EMAIL PROTECTED]
:: Subject: Unable to compile class for JSP
:: 
:: 
:: I have included at the end of the message the
:: exception I get when following the JSP page link
:: from the Hello World example provided in the tomcat
:: documentation.
:: I get a very similar exception when trying to open one
:: of my own jsp-s, although the project builds
:: successfully.(using ant and ant install)
:: Other jsp examples provided with tomcat seem to work
:: fine.
:: i'm using fedora core 1 (linux) and j2sdk1.4.2_02
:: I have copied tools.jar to
:: $catalina_home/common/lib
:: I have also restarted tomcat, i've tried different
:: browsers, none of these solved the problem.
:: 
:: What have I left out?
:: 
:: Thanks for your time
:: 
:: exception
:: 
:: org.apache.jasper.JasperException: Unable to compile
:: class for JSP
:: 
::
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
59)
:: 
::
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
91)
:: 
:: org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
:: 
:: org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
:: 
:: javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
:: 
:: 
:: root cause
:: 
:: java.io.FileNotFoundException:
:: /home/ralu/jakarta-tomcat-5.0.19/work/Catalina/localhost/tomcat-
:: docs/org/apache/jsp/appdev/sample/web/hello_jsp.java
:: (No such file or directory)
:: java.io.FileOutputStream.open(Native Method)
:: 
:: java.io.FileOutputStream.init(FileOutputStream.java:179)
:: 
:: java.io.FileOutputStream.init(FileOutputStream.java:70)
:: 
:: org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:223)
:: 
:: org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
:: 
:: org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
:: 
::
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
53)
:: 
::
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
91)
:: 
:: org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
:: 
:: org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
:: 
:: javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
:: 
:: 
:: 
:: __
:: Do you Yahoo!?
:: Yahoo! Small Business $15K Web Design Giveaway
:: http://promotions.yahoo.com/design_giveaway/
:: 
:: -
:: 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: Unable to compile class for JSP

2004-04-04 Thread Schalk
You need import the bean and classes you intend to use in the JSP, this
might solve the problem.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Linda Smith [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, April 04, 2004 11:06 PM
:: To: Tomcat Users List
:: Subject: RE: Unable to compile class for JSP
:: 
:: note: using Tomcat 5.0.19
:: 
:: my files: Test.jsp
:: htmlbody
:: h2Welcome/H2
:: BR
:: h1
:: FORM TYPE=POST ACTION=web_search.SServlet
:: INPUT type=submit name=operation value=search
:: /FORM
:: /H1
:: /body/html
:: 
:: and Search.jsp
:: htmlhead
:: titleSearch page/TITLE
:: body
:: h2Welcome/H2
:: BR
:: h1
:: FORM TYPE=POST ACTION=web_server.SServlet
:: INPUT size=30 name=searchString
:: INPUT type=submit name=operation value=Search
:: /FORM
:: jsp:useBean id='agent' type='web_search.Results'
:: scope='request'
:: jsp:setProperty name='agent' property='sa' value='%=
:: request.getParameter(search_agent)%' /
:: jsp:setProperty name='agent' property='searchString'
:: param='searchString' /
:: /jsp:useBean
:: jsp:setProperty name='agent' property='noResults'
:: value='%= request.getParameter(no_results)%' /
:: jsp:setProperty name='agent' property='searchResult'
:: value='%= request.getParameter(search_result)%' /
:: jsp:getProperty name='agent' property='searchResult'
:: /
:: /H1
:: /body/html
:: 
:: 
:: the hello.jsp in
:: $catalina_home/webapps/tomcat-docs/appdev/sample/web
:: html
:: head
:: titleSample Application JSP Page/title
:: /head
:: body bgcolor=white
:: 
:: table border=0
:: tr
:: td align=center
:: img src=images/tomcat.gif
:: /td
:: td
:: h1Sample Application JSP Page/h1
:: This is the output of a JSP page that is part of the
:: Hello, World
:: application.  It displays several useful values from
:: the request
:: we are currently processing.
:: /td
:: /tr
:: /table
:: 
:: table border=0 border=100%
:: tr
::   th align=rightContext Path:/th
::   td align=left%= request.getContextPath()
:: %/td
:: /tr
:: tr
::   th align=rightPath Information:/th
::   td align=left%= request.getPathInfo() %/td
:: /tr
:: tr
::   th align=rightQuery String:/th
::   td align=left%= request.getQueryString()
:: %/td
:: /tr
:: tr
::   th align=rightRequest Method:/th
::   td align=left%= request.getMethod() %/td
:: /tr
:: tr
::   th align=rightServlet Path:/th
::   td align=left%= request.getServletPath()
:: %/td
:: /tr
:: /table
:: /body
:: /html
:: 
:: 
:: __
:: Do you Yahoo!?
:: Yahoo! Small Business $15K Web Design Giveaway
:: http://promotions.yahoo.com/design_giveaway/
:: 
:: -
:: 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: I know this is a stupid question

2004-03-29 Thread Schalk
I am just throwing this idea out there, maybe it helps maybe it does not.
Have you tried using Windows search and search for all index.jsp files on
your hard drive? I know this will probably return a lot of results but
perhaps scanning over them you may find an index.jsp that looks suspicious.

HTH!

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Donald Lee [mailto:[EMAIL PROTECTED]
:: Sent: Monday, March 29, 2004 4:50 AM
:: To: [EMAIL PROTECTED]
:: Subject: Re: I know this is a stupid question
:: 
:: Yes I did do all of this ( i may be newbie to tomcat but not that new to
:: web/application servers).  I tetsted this using both MSIE and Mozilla
:: Firefox.  I also do not experience the problem with my test.jsp that I
:: placed in the webapps\ROOT folder.  This seems to be isolated to only the
:: index.jsp.  I noticed in the WEB_INF\web.xml file designates servlet
:: mappings are being made to match up index_jsp.class with index.jsp
Since
:: I am not re-compiling anything I can only assume that no matter what
change
:: I make to index.jsp it will continue to read the index_jsp.class file
:: instead.  I plan to experiment with the web.xml and see if this resolves
the
:: issue.  This is version 5 of tomcat I am talking about, more specifically
:: the windows install version.
:: Thanks
:: Don
:: 
:: 
:: 
:: From: Bryan K. Cantwell [EMAIL PROTECTED]
:: Reply-To: Tomcat Users List [EMAIL PROTECTED]
:: To: Tomcat Users List [EMAIL PROTECTED]
:: Subject: Re: I know this is a stupid question
:: Date: Sun, 28 Mar 2004 19:00:12 -0600
:: 
:: If you are still seeing a page that litterally does not exist, then you
ARE
:: looking at a cached version of the page. Stop Tomcat, in Internet
Exploder
:: click tools-internet options-settings-every visit to the page and set
:: amount os disk space to the min (1MB) and ok. then click delete files
under
:: temp internet files... this will clear up the phantom page. then make
sure
:: u
:: go to tomcat_home/work and delete everything inside there. Then start
:: tomcat back up ...
:: 
:: bryancan
:: 
:: - Original Message -
:: From: Donald Lee [EMAIL PROTECTED]
:: To: [EMAIL PROTECTED]
:: Sent: Sunday, March 28, 2004 2:52 PM
:: Subject: Re: I know this is a stupid question
:: 
:: 
::   Yes, I did clear my work directory.  No diff.  The index.jsp just
would
:: not
::   change or even go away despite my deleting it.
::  
::  
::   From: Antonio Fiol Bonnín [EMAIL PROTECTED]
::   Reply-To: Tomcat Users List [EMAIL PROTECTED]
::   To: Tomcat Users List [EMAIL PROTECTED]
::   Subject: Re: I know this is a stupid question
::   Date: Sun, 28 Mar 2004 10:19:04 +0200
::   
::   Hi Don,
::   
::   As Bryan already told you, you should clear the work directory of
:: already
::   compiled versions.
::   
::   Antonio
::   
::   Donald Lee wrote:
::   
::   I have since downloaded version 4.1.30 and am not experiencing this
::   problem.  I have noticed that there are fewer sub-directories under
:: the
::   WEB-INF.  This leads me to believe that the jsp's were pre-compiled
in
::   version 5 and running more like servlets than a standard jsp.  With
no
:: way
::   for me to really understand how I go about pre-compiling and
deploying
::   jsps in this manner, I guess for now until I learn enough about all
:: the
::   changes in version 5, I will continue using version4.
::   Thanks
::   Don
::   
::   
::   
::   From: Donald Lee [EMAIL PROTECTED]
::   Reply-To: Tomcat Users List [EMAIL PROTECTED]
::   To: [EMAIL PROTECTED]
::   Subject: Re: I know this is a stupid question
::   Date: Sat, 27 Mar 2004 21:59:22 -0500
::   
::   Yes I turned off caching I even deleted the index.jsp and stopped
and
::   started tomcat.  I still get the Congratulations!
::   I can do this without specifying the index.jsp and if I specify
it.
:: I
::   know I am looking in the right folder because like I said, I can
run
:: a
::   test.jsp just fine and even update it without cycling tomcat.
This
:: is
::   version 5.0.19 windows installation.  It runs as a service.  I
:: installed
::   the jk2 connector but right now IIS is turned off and I am not
using
:: it.
::   Thanks
::   Don
::   
::   
::   
::   
::   From: Bryan K. Cantwell Reply-To: Tomcat Users List To:
Tomcat
::   Users List Subject: Re: I know this is a stupid question Date:
Sat,
:: 27
::   Mar 2004 19:34:55 -0600
::   
::   Is your browser chacheing? turn it off. clear the work directory
of
::   already

RE: jsp:include page question.

2004-03-27 Thread Schalk
Not 100% on this but, as far as I know the include has to start with a '/'.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Tom K [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, March 28, 2004 2:37 AM
:: To: [EMAIL PROTECTED]
:: Subject: jsp:include page question.
:: 
:: I ran across this post comparing Tomcat 4 to Tomcat 5 pertaining to a
:: jsp:include statement, and was wondering if anyone else has the same
:: problem?
:: HYPERLINK
:: http://www.mail-archive.com/[EMAIL PROTECTED]/msg120161.ht
:: mlhttp://www.mail-archive.com/[EMAIL PROTECTED]/msg120161.
:: html
:: 
:: I have a jsp:include that looks like this but passes params to a
:: servlet. I can't get it to work with Tomcat 5, did the specs change or
:: am I missing something?
:: 
:: 
:: jsp:include page=./myServlet
::   jsp:param name=type value=blob /
::   jsp:param name=id value=%=SearchFormBean.getUniqueDateId()%
:: /
::   jsp:param name=description value=someThing /
:: /jsp:include
:: 
:: 
:: Can you include a servlet with e.g. jsp:incude page=./myServlet  in a
:: jsp
:: 
:: TIA,
:: 
:: Tom K.
:: 
:: 
:: ---
:: Outgoing mail is certified Virus Free.
:: Checked by AVG anti-virus system (http://www.grisoft.com).
:: Version: 6.0.557 / Virus Database: 349 - Release Date: 12/30/2003
:: 



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



RE: Getting Context Parameters from server.xml

2004-03-25 Thread Schalk
Why not set your context param in your webapps web.xml? 

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Jon Wingfield [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, March 25, 2004 12:22 PM
:: To: Tomcat Users List
:: Subject: Re: Getting Context Parameters from server.xml
:: 
:: If you had
:: String name = config.getInitParameter(companyName);
:: it might work ;)
:: 
:: HTH,
:: 
:: Jon
:: 
:: Michael Jones wrote:
::  Hello-
:: 
::  I'm trying to store some values in my server.xml and then get them with
my
::  Servlet.
:: 
::  I followed the instructions at:
::  http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html
::  under the Context Parameters section.
:: 
::  In my servlet I got all init params and iterated over the enumeration.
The
::  parameter I defined in server.xml did not show up.
:: 
::  Has anyone gotten this feature to work? Am I missing something? Here
::  are a few code snippets:
:: 
::  server.xml in the Context tag for my webapp
::  Parameter name=companyName value=MyCompany override=false/
:: 
::  from my servlet
::  ServletConfig config = getServletConfig();
::  String name = getInitParameter(companyName);
::  System.err.println(CompanyName = ' + name + ');
:: 
::  Enumeration enum = config.getInitParameterNames();
::  while(enum.hasMoreElements())
::  {
:: System.err.println(enum.nextElement());
::  }
:: 
:: 
::  Thanks-
::  Michael
:: 
:: 
::  -
::  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: Java IDE for Tomcat

2004-03-25 Thread Schalk
You can also try Netbeans 3.6 RC1

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: LILES, DAVID (CONTRACTOR) [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, March 25, 2004 7:51 PM
:: To: Tomcat Users List
:: Subject: RE: Java IDE for Tomcat
:: 
:: I am currently using Eclipse 3 with TomCat 5 and so far it has been
working well for
:: me. I downloaded a plug-in that allows me to run TomCat from within my
Eclipse
:: IDE. It also allows for creating new TomCat projects which creates your
TomCat
:: environment for you, much like JBuilder does
:: 
:: -Original Message-
:: From: Tom Bednarz [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, March 25, 2004 11:38 AM
:: To: Tomcat Users List
:: Subject: Java IDE for Tomcat
:: 
:: 
:: Does anybody know if it is possible to integrate Tomcat 5 into JBuilder
:: 8 Enterprise?
:: 
:: Does anybody use Eclipse and Tomcat? Is it possible to use Tomcat 5 with
:: Eclipse (debugging servlets, JSP etc)?
:: 
:: Many thanks for your feedback on your experience.
:: 
:: Tom
:: 
:: -
:: 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: Securing a folder

2004-03-25 Thread Schalk
Try looking at your webapps, web.xml's security-constraint. That way you can
take the protection away from Apache and allow Tomcat to handle that.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Dean Searle [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, March 25, 2004 11:45 PM
:: To: Tomcat Users List
:: Subject: Securing a folder
:: 
:: Hello Everyone,
:: 
:: Not to sure how to phrase this but here I go anyways. I am attempting to
secure a
:: folder that is located within my application. This folder contains pdf's
that only need
:: to be accessible by tomcat, the site requires a password to enter. At
first if I did
:: www.domain.com/pdfs/somefile.pdf it would open up somefile.pdf. So I
tried this in
:: my http.conf file for the website:
:: 
:: Location /pdfs
::   order deny,allow
::   deny from all
::   allow from 127.0.0.1
:: /Location
:: 
:: But now tomcat cannot even retrieve the pdf's. Am I doing this right.
Could you
:: please point me to some doc's that might explain this more.
:: 
:: Not sure if this helps or not:
:: 
:: Windows 2000 Server SP4
:: Tomcat 4.1.24 LE
:: Apache 2.0.46
:: JDK 1.4.1_02
:: 
:: Thank you for time
:: 
:: Dean




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



web.xml

2004-03-24 Thread Schalk
Hi there

 

Is there a limit to how large the web.xml can be? i.e. The amount of servlet
and servlet-mappings etc.

 

Kind Regards

Schalk Neethling

Web Developer.Designer.Programmer.President

Volume4.Development.Multimedia.Branding

emotionalize.conceptualize.visualize.realize

Tel: +27125468436

Fax: +27125468436

email:[EMAIL PROTECTED]

web: www.volume4.com

 

This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

 



RE: Which Engine is Which

2004-03-23 Thread Schalk
Hi there

 

This is probably something I should know but, for clarification, is the
engine that processes jsp's different to the one that processes servlets?
Also what is the name of the engine that processes JSP's and, if different,
the name of the engine that processes servlets.

 

Thanks!

 

Kind Regards

Schalk Neethling

Web Developer.Designer.Programmer.President

Volume4.Development.Multimedia.Branding

emotionalize.conceptualize.visualize.realize

Tel: +27125468436

Fax: +27125468436

email:[EMAIL PROTECTED]

web: www.volume4.com

 

This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

 



RE: Which Engine is Which

2004-03-23 Thread Schalk
Thanks

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Adrian Lanning [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, March 23, 2004 5:54 PM
:: To: Tomcat Users List
:: Subject: Re: Which Engine is Which
:: 
:: Hi,
:: Let's define some terminology so we don't confuse ourselves.
:: Engine - when talking about Tomcat engine means engine as per
tomcat's
:: configuration file.
:: Servlet - programs that process / handle requests.
:: 
:: The program (servlet) that processes jsps is a servlet just like any
custom
:: servlet you write.
:: 
:: The only difference is that the servlet that handles jsps is defined for
you
:: TOMCAT_HOME/conf/web.xml as:
:: 
:: servlet
:: servlet-namejsp/servlet-name
::
servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
:: init-param
:: param-namefork/param-name
:: param-valuefalse/param-value
:: /init-param
:: init-param
:: param-namexpoweredBy/param-name
:: param-valuefalse/param-value
:: /init-param
:: load-on-startup3/load-on-startup
:: /servlet
:: 
:: !-- The mapping for the JSP servlet --
:: servlet-mapping
:: servlet-namejsp/servlet-name
:: url-pattern*.jsp/url-pattern
:: /servlet-mapping
:: 
:: servlet-mapping
:: servlet-namejsp/servlet-name
:: url-pattern*.jspx/url-pattern
:: /servlet-mapping
:: 
:: 
:: 
:: For your own servlets you define your own web.xml file with your own
:: mappings and place it in the WEB-INF directory of your app.
:: 
:: Hope that clears it up.
:: Adrian
:: 
:: 
:: - Original Message -
:: From: Schalk [EMAIL PROTECTED]
:: To: [EMAIL PROTECTED]
:: Sent: Tuesday, March 23, 2004 10:03 AM
:: Subject: RE: Which Engine is Which
:: 
:: 
:: Hi there
:: 
:: 
:: 
:: This is probably something I should know but, for clarification, is the
:: engine that processes jsp's different to the one that processes
servlets?
:: Also what is the name of the engine that processes JSP's and, if
different,
:: the name of the engine that processes servlets.
:: 
:: 
:: 
:: Thanks!
:: 
:: 
:: 
:: Kind Regards
:: 
:: Schalk Neethling
:: 
:: Web Developer.Designer.Programmer.President
:: 
:: Volume4.Development.Multimedia.Branding
:: 
:: emotionalize.conceptualize.visualize.realize
:: 
:: Tel: +27125468436
:: 
:: Fax: +27125468436
:: 
:: email:[EMAIL PROTECTED]
:: 
:: web: www.volume4.com
:: 
:: 
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: 
:: 
:: 
:: -
:: 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's default web.xml

2004-03-23 Thread Schalk
Hi there

 

Can anyone point to a place where I can see the basic layout of the Tomcat
web.xml. The located at TOMCAT_HOME/conf/web.xml

 

Kind Regards

Schalk Neethling

Web Developer.Designer.Programmer.President

Volume4.Development.Multimedia.Branding

emotionalize.conceptualize.visualize.realize

Tel: +27125468436

Fax: +27125468436

email:[EMAIL PROTECTED]

web: www.volume4.com

 

This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

 



RE: Tomcat's default web.xml

2004-03-23 Thread Schalk
The reason I ask this is, I am very comfortable with the web.xml structure
and use it on a daily basis but, I am currently developing a site for a
client hosted by a third party and there seems to be a problem with
processing JSP's.

When you click on a link to a JSP page, it start to load in the status bar
but the page never shows up. I have even left it to try and load it for more
that an hour with no success.

Therefore I am trying to see whether their web.xml is set-up correctly to
process JSP's.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Schalk [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, March 23, 2004 9:02 PM
:: To: [EMAIL PROTECTED]
:: Subject: Tomcat's default web.xml
:: Importance: High
:: 
:: Hi there
:: 
:: 
:: 
:: Can anyone point to a place where I can see the basic layout of the
Tomcat
:: web.xml. The located at TOMCAT_HOME/conf/web.xml
:: 
:: 
:: 
:: Kind Regards
:: 
:: Schalk Neethling
:: 
:: Web Developer.Designer.Programmer.President
:: 
:: Volume4.Development.Multimedia.Branding
:: 
:: emotionalize.conceptualize.visualize.realize
:: 
:: Tel: +27125468436
:: 
:: Fax: +27125468436
:: 
:: email:[EMAIL PROTECTED]
:: 
:: web: www.volume4.com
:: 
:: 
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: 




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



OT: Java Hosting

2004-03-10 Thread Schalk
Does anyone know of a good hosting company that hosts Java. All the
companies I have talked to seem to have some limitations, either you cannot
set-up your own custom servlet-mappings via web.xml, or the Tomcat version
is old, shared instances of Tomcat that does not allow me the freedom to
stop and start Tomcat as the need arises etc.

Any help in this regard would be much appreciated.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, March 10, 2004 7:10 PM
:: To: Tomcat Users List
:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: Thank you.
:: 
:: setting the LD_ASSUME_KERNEL=2.2.5 in the user profile works.
:: 
:: 
:: -Original Message-
:: From: Lerias, Hugo [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, March 10, 2004 11:57 AM
:: To: Lerias, Hugo; Tomcat Users List
:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: 
:: Take a look at this post:
:: http://www.linux-sxs.org/programming/ibm-java.html#APPENDIX_A
:: 
:: Cheers,
:: Hugo
:: 
:: -Original Message-
:: From: Lerias, Hugo
:: Sent: Mittwoch, 10. März 2004 17:55
:: To: 'Tomcat Users List'
:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: 
:: Are you trying to use IBM jdk 1.3 on red hat 9?
:: 
:: Hugo
:: 
:: -Original Message-
:: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
:: Sent: Mittwoch, 10. März 2004 17:42
:: To: [EMAIL PROTECTED]
:: Subject: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: 
:: Hi,
:: 
:: I am installing tomcat on RH9.
:: Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz
:: 
:: The installation works with JDK 1.4
:: 
:: but tomcat does not start when I try to use JDK 1.3.1
:: The browser returns the message Unable to connect to localhost with
:: http://localhost:8080/.
:: 
:: 
:: Any suggestions.
:: 
:: 
:: Asif
:: 
:: -
:: 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]




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



RE: Java Hosting

2004-03-10 Thread Schalk
Thanks

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, March 10, 2004 7:30 PM
:: To: Tomcat Users List
:: Subject: RE: Java Hosting
:: 
:: 
:: Hi,
:: 
:: Does anyone know of a good hosting company that hosts Java. All the
:: companies I have talked to seem to have some limitations, either you
:: cannot
:: set-up your own custom servlet-mappings via web.xml, or the Tomcat
:: version
:: is old, shared instances of Tomcat that does not allow me the freedom
:: to
:: stop and start Tomcat as the need arises etc.
:: 
:: Google? ;)  A search for java tomcat hosting brings up good hits,
:: including these that claim to offer you access to web.xml:
:: 
:: http://www.eroute.net/hostingFeatures.htm
:: http://www.metawerx.com.au/
:: http://www.jsp-servlet.net/tomcat_hosting.jsp
:: http://www.eapps.com/ManagedHosting/TomcatJSPGoogle.jsp
:: 
:: I haven't used any of them, so for all I know they could be
:: blood-sucking vampires, but their web sites look reasonable ;)
:: 
:: Yoav Shapira
:: 
:: 
:: 
:: 
:: This e-mail, including any attachments, is a confidential business
communication,
:: and may contain information that is confidential, proprietary and/or
privileged.  This
:: e-mail is intended only for the individual(s) to whom it is addressed,
and may not be
:: saved, copied, printed, disclosed or used by anyone else.  If you are not
the(an)
:: intended recipient, please immediately delete this e-mail from your
computer system
:: and notify the sender.  Thank you.
:: 
:: 
:: -
:: 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: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Schalk
Do you have this set-up as a taglib? If so, do you have the needed .tld file
to describe your tag library.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Colin McKinstry [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, March 11, 2004 12:24 AM
:: To: Tomcat Users List
:: Subject: RE: webapps\ROOT\WEB-INF\classes
:: 
:: Wendy wrote:
:: 
::  Did you add/change the import directive in the JSP?
:: 
:: Yes.
:: 
:: %@ page language=java import=com.stevensons.* %
:: 
:: jsp:useBean id=fruitItem class=Fruit scope=page
::  jsp:setProperty name=fruitItem property=*/
:: 
:: Etc.,
:: 
::  Perhaps
::  we'd better
::  start over.
:: 
::  You've added the package statement to Fruit.java, correct?  Then you
::  need to compile it, and place it in
::  WEB-INF/classes/com/stevensons .
:: 
:: Yes, and it is that location.
:: 
:: If
::  all that is done, please post the JSP code that Tomcat is complaining
::  about.
:: 
:: Exception
:: 
:: org.apache.jasper.JasperException: Cannot create bean of class Fruit
::  at
::
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
54)
:: 
:: (etc)
:: 
:: and
:: 
:: Root cause
:: 
:: javax.servlet.ServletException: Cannot create bean of class Fruit
::  at
org.apache.jsp.addToCatalog_jsp._jspService(addToCatalog_jsp.java:52)
:: 
:: (etc)
:: 
:: Thanks,
:: 
:: 
:: -
:: 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: OT: Java Hosting

2004-03-10 Thread Schalk
Thanks

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: phil campaigne [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, March 11, 2004 12:14 AM
:: To: Tomcat Users List
:: Subject: Re: OT: Java Hosting
:: 
:: Schalk wrote:
:: 
:: Does anyone know of a good hosting company that hosts Java. All the
:: companies I have talked to seem to have some limitations, either you
cannot
:: set-up your own custom servlet-mappings via web.xml, or the Tomcat
version
:: is old, shared instances of Tomcat that does not allow me the freedom to
:: stop and start Tomcat as the need arises etc.
:: 
:: Any help in this regard would be much appreciated.
:: 
:: Kind Regards
:: Schalk Neethling
:: Web Developer.Designer.Programmer.President
:: Volume4.Development.Multimedia.Branding
:: emotionalize.conceptualize.visualize.realize
:: Tel: +27125468436
:: Fax: +27125468436
:: email:[EMAIL PROTECTED]
:: web: www.volume4.com
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: :: -Original Message-
:: :: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
:: :: Sent: Wednesday, March 10, 2004 7:10 PM
:: :: To: Tomcat Users List
:: :: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: ::
:: :: Thank you.
:: ::
:: :: setting the LD_ASSUME_KERNEL=2.2.5 in the user profile works.
:: ::
:: ::
:: :: -Original Message-
:: :: From: Lerias, Hugo [mailto:[EMAIL PROTECTED]
:: :: Sent: Wednesday, March 10, 2004 11:57 AM
:: :: To: Lerias, Hugo; Tomcat Users List
:: :: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: ::
:: ::
:: :: Take a look at this post:
:: :: http://www.linux-sxs.org/programming/ibm-java.html#APPENDIX_A
:: ::
:: :: Cheers,
:: :: Hugo
:: ::
:: :: -Original Message-
:: :: From: Lerias, Hugo
:: :: Sent: Mittwoch, 10. März 2004 17:55
:: :: To: 'Tomcat Users List'
:: :: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: ::
:: ::
:: :: Are you trying to use IBM jdk 1.3 on red hat 9?
:: ::
:: :: Hugo
:: ::
:: :: -Original Message-
:: :: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
:: :: Sent: Mittwoch, 10. März 2004 17:42
:: :: To: [EMAIL PROTECTED]
:: :: Subject: Tomcat on linux : IBM JDK 1.3.1 -
:: ::
:: ::
:: :: Hi,
:: ::
:: :: I am installing tomcat on RH9.
:: :: Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz
:: ::
:: :: The installation works with JDK 1.4
:: ::
:: :: but tomcat does not start when I try to use JDK 1.3.1
:: :: The browser returns the message Unable to connect to localhost with
:: :: http://localhost:8080/.
:: ::
:: ::
:: :: Any suggestions.
:: ::
:: ::
:: :: Asif
:: ::
:: :: -
:: :: 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]
:: 
:: 
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]
:: 
:: 
:: 
:: 
:: Try kgbinternet.com.  They have very reasonable developer accounts with
:: tomcat and mysql or postgresql.  They have dedicated jvm's so you can
:: start and stop your own tomcat.  I have used them with good success.
::  The person to talk to is
:: Keith Bjorndahl at [EMAIL PROTECTED]
:: Good luck,
:: Phil Campaigne
:: 
:: 
:: 
:: -
:: 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: servlet help please

2004-02-17 Thread Schalk
Paste your servlet and servlet-mapping code here.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Jason Tesser [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, February 17, 2004 9:22 PM
:: To: Tomcat Users List
:: Subject: RE: servlet help please
:: 
:: Hi
:: 
::  Howdy,
:: 
::servlet-mapping
::servlet-nameMessageServlet1/servlet-name
::url-pattern/servlet/MessageServlet1/url-pattern
::/servlet-mapping
::  
::  The problem is when I add the above code to the xml file nothing
:: Under
::  servlets-examples will run.  What am I doing wrong?
:: 
::  You need to have a servlet element in your web.xml file defining
:: what
::  class MessageServlet1 is, e.g.
::  servlet
::servlet-nameMessageServlet1/servlet-name
::servlet-classcom.mycompany.SomeServlet/servlet-class
::  /servlet
:: 
::  It's preferable to put this servlet element before the servlet-mapping
::  one ;)
:: 
::  Yoav Shapira
:: 
:: ok got it :-)  Thanks now I am getting the following error
:: 
:: HTTP Status 500 -
:: 
:: 
:: 
:: 
:: type Exception report
:: 
:: message
:: 
:: description The server encountered an internal error () that prevented
:: it from fulfilling this request.
:: 
:: exception
:: 
:: javax.servlet.ServletException: No servlet class has been specified for
:: servlet MessageServlet1
:: 
:: org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
:: Base.java:509)
:: 
:: org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:: :164)
:: 
:: org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
:: 
:: org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:82
:: 8)
:: 
:: org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
:: onnection(Http11Protocol.java:700)
:: 
:: org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58
:: 4)
:: 
:: org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
:: .java:683)
::  java.lang.Thread.run(Thread.java:534)
:: 
:: 
:: note The full stack trace of the root cause is available in the Tomcat
:: logs.
:: 
:: -
:: 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]



Off Topic

2004-01-26 Thread Schalk
Where can I find info on the ojb? I have subscribed to the mailing list but
have not been able to submit to it successfully.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
:: Sent: Monday, January 26, 2004 11:22 PM
:: To: Tomcat Users List
:: Subject: RE: Classloading issue: common/lib/servlet-api.jar
:: 
:: 
:: Howdy,
:: - NoClassDefFoundError is different from ClassNotFoundException.  Make
:: sure you understand the difference.  Then make sure you remove extra
:: copies of the servlet APIs from the classpath, specifically if you have
:: j2ee.jar or servlet.jar somewhere.
:: 
:: - In addition to Senor Duffy's post, read the Classloader How-To in the
:: tomcat documentation.
:: 
:: Yoav Shapira
:: Millennium ChemInformatics
:: 
:: 
:: -Original Message-
:: From: Guy Rouillier [mailto:[EMAIL PROTECTED]
:: Sent: Monday, January 26, 2004 4:17 PM
:: To: Tomcat Users List
:: Subject: Classloading issue: common/lib/servlet-api.jar
:: 
:: I found this message in the archives from Michael Duffy that is
:: relevant
:: to my question:
:: 
:: 
:: When Tomcat starts, it assumes the CLASSPATH for your
:: Web app consists of:
:: 
:: (1) The rt.jar, of course,
:: (2) All the JARs in TOMCAT_HOME/common/lib, which are
:: visible to all apps,
:: (3) All the JARs in the TOMCAT_HOME/server/lib, which
:: are visible only to Tomcat,
:: (4) All the JARs in your WEB-INF/lib, which are
:: visible only to your app,
:: (5) All the .class files in your WEB-INF/classes,
:: which are visible only to your app.
:: 
:: That's it.
:: 
:: If your Web app needs a JAR, put it in the WEB-INF/lib
:: and you should be all set. - MOD
:: 
:: 
:: My page (which is running with a security manager, i.e, -security) is
:: getting the following error (partial stack trace):
:: 
:: java.lang.NoClassDefFoundError:
:: javax/servlet/http/HttpSessionBindingListener
:: at java.lang.ClassLoader.defineClass0(Native Method)
:: at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
:: at
:: java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123
:: )
:: 
:: I found that common/lib/servlet-api.jar contains this class, and if I
:: manually add it to the classpath (by editing catalina.sh), my page will
:: then work.  According to the note above, all jars on common/lib should
:: be automatically available to my pages.  I haven't touched
:: catalina.properties.
:: 
:: Any idea why this jar is not being picked up automatically out of
:: common/lib?  Thanks.
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]
:: 
:: 
:: 
:: 
:: This e-mail, including any attachments, is a confidential business
communication,
:: and may contain information that is confidential, proprietary and/or
privileged.  This
:: e-mail is intended only for the individual(s) to whom it is addressed,
and may not be
:: saved, copied, printed, disclosed or used by anyone else.  If you are not
the(an)
:: intended recipient, please immediately delete this e-mail from your
computer system
:: and notify the sender.  Thank you.
:: 
:: 
:: -
:: 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]



[Happy New Year ]

2003-12-31 Thread Schalk
Happy New Year to all and the very best for 2004!!

 

Kind Regards

Schalk Neethling

Web Developer.Designer.Programmer.CEO

Volume4.Development.Multimedia.Branding

emotionalize.conceptualize.visualize.realize

Tel: +27125468436

Fax: +27125468436

email:[EMAIL PROTECTED]

web: www.volume4.com

 

This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

 



RE: JSP config question from a newbie

2003-12-30 Thread Schalk
Steve

First off, ensure that you have both the latest J2SE and J2EE packages
installed. Then in your CLASSPATH point to both your J2SE as well as J2EE
installation directories.
ex. C:\j2sdk1.4\lib\tools.jar;c:\j2sdkee\lib

You should also set your JAVA_HOME and J2EE_HOME i.e. 
JAVA_HOME = c:\j2sdk1.4.2\
J2EE_HOME = c:\j2sdkee1.4\ 

This should solve all of your problems.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Steve Carson-Rowland [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, December 31, 2003 5:09 AM
:: To: [EMAIL PROTECTED]
:: Subject: JSP config question from a newbie
:: 
:: I am just trying to get up and running with JSP, and have installed
:: Tomcat 5.0. I am using Sams Teach Yourself JavaServer Pages. The code
:: in the book, and the instructions are all based on Tomcat 4.0.3.
:: 
:: (I am running Windows XP Professional).
:: 
:: When I try and compile the following:
:: ---
:: import java.io.*;
:: import javax.servlet.*;
:: import javax.servlet.http.*;
:: 
:: public class ch01_06 extends HttpServlet
:: {
:: public void doGet(HttpServletRequest request,
::   HttpServletResponse response)
:: throws IOException, ServletException
:: {
:: response.setContentType(text/html);
:: PrintWriter out = response.getWriter();
:: 
:: out.println(HTML);
:: out.println(HEAD);
:: out.println(TITLE);
:: out.println(A Web Page);
:: out.println(/TITLE);
:: out.println(/HEAD);
:: out.println(Hello there!);
:: out.println(/BODY);
:: out.println(/HTML);
:: }
:: }
:: 
:: ---
:: I get the following errors:
:: 
:: --
:: C:\Program Files\Apache Software Foundation\Tomcat
:: 5.0\webapps\ch01javac ch01_06.java
:: ch01_06.java:2: package javax.servlet does not exist
:: import javax.servlet.*;
:: ^
:: ch01_06.java:3: package javax.servlet.http does not exist
:: import javax.servlet.http.*;
:: ^
:: ch01_06.java:5: cannot resolve symbol
:: symbol  : class HttpServlet
:: location: class ch01_06
:: public class ch01_06 extends HttpServlet
::  ^
:: ch01_06.java:7: cannot resolve symbol
:: symbol  : class HttpServletRequest
:: location: class ch01_06
:: public void doGet(HttpServletRequest request,
::   ^
:: ch01_06.java:8: cannot resolve symbol
:: symbol  : class HttpServletResponse
:: location: class ch01_06
::   HttpServletResponse response)
::   ^
:: ch01_06.java:9: cannot resolve symbol
:: symbol  : class ServletException
:: location: class ch01_06
:: throws IOException, ServletException
:: ^
:: 6 errors
:: ---
:: 
:: I am guessing it is because my book tells me to set CLASSPATH to the
:: path for 'servlet.jar', but when I look in the 'lib' directory I only
:: see a 'servlet-api.jar' file. So I set the CLASSPATH to servlet-api.jar.
:: (When this didn't work I did try changing the path to 'servlet.jar' just
:: to check but same result).
:: 
:: But the code is written with import javax.servlet.*  - is this the
:: problem?
:: 
:: Because I am totally new to Java I can't figure out what to change. I
:: also can't find a 'what's changed from Tomcat 4.0 to 5.0' file to help
:: me understand.
:: 
:: Anyone offer any advice?
:: 
:: Thanks
:: 
:: Steve Carson
:: Brisbane
:: Australia



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



RE: what *really* happens when you reload or stop/start a webapp?

2003-12-30 Thread Schalk
I am pretty sure everything will return to default unless some save was
committed but, someone else may give a more detailed explanation.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Barrett
:: Sent: Wednesday, December 31, 2003 12:59 AM
:: To: [EMAIL PROTECTED]
:: Subject: what *really* happens when you reload or stop/start a webapp?
:: 
:: I've got a web services application that I'm running w/ axis in Tomcat.
:: According to the howtos for the manager stopping or reloading a webapp
:: will make it unavailable and it will search for new files to load,
:: specifically mentioning .class and .jar files.  But does it go further?
:: 
:: A more specific question:  If I
:: 1) had a jar in my webapp that had a class with a static field
:: 2) set that static field to some value via interacting with my webapp
:: 3) did a stop/start or reload
:: 
:: would everything get dumped and reset -- would that static variable go
:: back to it's original state when the class file is first loaded?
:: 
:: I should probably be asking a more specific question about classloaders
:: and sandboxes and whatnot, but I'm not sure how this stuff works in
:: tomcat and I'm not familiar w/ classloaders beyond their basic operation.
:: 
:: thanks,
:: +jeff
:: 
:: 
:: 
:: -
:: 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: URGENT PLEASE HELP ME........................................

2003-12-17 Thread Schalk
Pinguti

Can you post the xml code here or somewhere on the web where we can have a
look at it. I have not had any problems with Tomcat and web.xml.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Pinguti Sridevi [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, December 17, 2003 10:22 AM
:: To: anand; javagroup; parvez; tomcat
:: Subject: URGENT PLEASE HELP ME
:: 
:: I could able to run servlets in tomcat 4.1. I created
:: a folder called webdev in webapps in that i created WEB-INF and
:: classes. I stored web.xml in WEB-INF. as follows.
:: webapps/webdev/WEB-INF/classes
:: WEB-INF/web.xml
:: I configured web.xml with servletname,servletclass between webapps
:: tags. After restarting the server when i say
:: http://localhost:8080/webdev/servlet/myservletfile
:: It showing
:: 404 Requested URI not found.
:: I tried like the below also
:: http://localhost:8080/webdev/myservletfile
:: But still it is not getting.
:: Let me tell anybody that tomcat4.1 have any bug in reading web.xml
:: 
:: 
:: 
:: -
:: Do you Yahoo!?
:: New Yahoo! Photos - easier uploading and sharing



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



RE: [OFF-TOPIC] Tomcat web hosting

2003-12-08 Thread Schalk
Have a look at sevenc.co.za

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Pitre, Russell [mailto:[EMAIL PROTECTED]
:: Sent: Monday, December 08, 2003 11:24 PM
:: To: Tomcat Users List
:: Subject: [OFF-TOPIC] Tomcat web hosting
:: 
:: Hello All-
:: 
:: 
:: 
:: Sorry to bother you with another one of my questions..
:: 
:: 
:: 
:: Can anyone suggest a good and inexpensive web hosting service that
:: provides tomcat and mySQL support??
:: 
:: 
:: 
:: 
:: 
:: Russ




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



RE: [TOMCAT] 5.0.16

2003-12-05 Thread Schalk
Derek

My JAVA_HOME points to j2sdk1.4.2/lib/tools.jar

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Derek Mahar [mailto:[EMAIL PROTECTED]
:: Sent: Friday, December 05, 2003 4:43 PM
:: To: [EMAIL PROTECTED]
:: Subject: RE: [TOMCAT] 5.0.16
:: 
:: Where is your JVM installed?  Is your JAVA_HOME environment variable set
:: to this location?  The Tomcat 5.0.16 Windows installation worked fine
:: for me and had no trouble finding the JVM.
:: 
:: Derek
:: 
:: -Original Message-
:: From: Schalk [mailto:[EMAIL PROTECTED]
:: Sent: December 4, 2003 5:44 PM
:: To: [EMAIL PROTECTED]
:: Subject: [TOMCAT] 5.0.16
:: 
:: 
:: I have been running Tomcat 4.1.29 with no problems. When trying to
:: upgrade to Tomcat 5.0.16 via the .exe download the installation program
:: keeps saying JRE not found and cancel the installation. Anyone know why
:: this is happening?
:: 
:: 
:: 
:: Kind Regards
:: 
:: Schalk Neethling
:: 
:: Web Developer.Designer.Programmer.CEO
:: 
:: Volume4.Development.Multimedia.Branding
:: 
:: emotionalize.conceptualize.visualize.realize
:: 
:: Tel: +27125468436
:: 
:: Fax: +27125468436
:: 
:: email:[EMAIL PROTECTED]
:: 
:: web: www.volume4.co.za
:: 
:: 
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
:: error, please notify me immediately so that I can correct and delete the
:: original email. Thank you.
:: 
:: 
:: 
:: 
:: -
:: 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.0.16

2003-12-04 Thread Schalk
I have been running Tomcat 4.1.29 with no problems. When trying to upgrade
to Tomcat 5.0.16 via the .exe download the installation program keeps saying
JRE not found and cancel the installation. Anyone know why this is
happening?

 

Kind Regards

Schalk Neethling

Web Developer.Designer.Programmer.CEO

Volume4.Development.Multimedia.Branding

emotionalize.conceptualize.visualize.realize

Tel: +27125468436

Fax: +27125468436

email:[EMAIL PROTECTED]

web: www.volume4.co.za

 

This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.

 



RE: [ANN] Apache Tomcat 5.0.16 Stable released

2003-12-03 Thread Schalk
There seems to be a problem with the .exe installer. Even when pointed
directly to the jre (j2sdk1.4.2/lib/tools.jar) I still get the message, No
virtual machine found.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Adam Hardy [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, December 04, 2003 1:24 AM
:: To: Tomcat Users List
:: Subject: Re: [ANN] Apache Tomcat 5.0.16 Stable released
:: 
:: On 12/03/2003 11:24 PM Remy Maucherat wrote:
::  The Tomcat Team announces the immediate availability of Apache Tomcat
::  5.0.16 Stable.
:: 
::  Please refer to the changelog for the list of changes.
:: 
::  Downloads:
::  Binaries: http://jakarta.apache.org/site/binindex.cgi
::  Sources: http://jakarta.apache.org/site/sourceindex.cgi
:: 
::  The Apache Tomcat Team
:: 
:: 
:: Excellent! Congratulations to the Tomcat team.
:: 
:: Thanks,
:: Adam
:: --
:: struts 1.1 + tomcat 5.0.16! + java 1.4.2
:: Linux 2.4.20 Debian
:: 
:: -
:: 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: Preload JSP when it's startup

2003-11-28 Thread Schalk
One way would be to register the jsp/s in your web.xml and include the
load-on-startup/ tag. Your entry in the web.xml would look as follows:

servlet
servlet-namestart/servlet-name
jsp-filestart.jsp/jsp-file
load-on-startup1/load-on-startup
/servlet

For the following jsp, the load-on-startup will be 2 etc.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Friday, November 28, 2003 3:59 AM
:: To: [EMAIL PROTECTED]
:: Subject: Preload JSP when it's startup
:: 
:: As we know, first time when JSP is called, it's complied into Servlet and
:: the next time you call the same jsp, the respond time will be faster.
:: 
:: Thus, anywar for Tomcat to set to preload the JSP page when it's starting
:: up the server?
:: 
:: Thanks.



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



RE: how to add a context to server.xml?

2003-11-28 Thread Schalk
Hans

I personally have not used the admin or manager to make these entries and
have been doing them by hand. The entry in the server.xml will be something
like:
Context path=/meccafemme docBase=meccafemme debug=0
reloadable=true /

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Friday, November 28, 2003 11:17 AM
:: To: [EMAIL PROTECTED]
:: Subject: how to add a context to server.xml?
:: 
:: hello,
:: 
:: i installed a .war-file with manager. i noticed, that in server.xml
:: there was no entry for the corresponding context afterwards.
:: 
:: i wanted to do it with the tomcat-admin-page, i got the message, that my
:: alterations were saved. but then again: no context in server.xml.
:: 
:: must i do it by hand? (for a beginner not so fine!).
:: 
:: greetings
:: hans horwath, austria
:: 
:: 
:: 
:: -
:: 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 to add a context to server.xml?

2003-11-28 Thread Schalk
Hans

Do you use your web.xml file at all to do any servlet mappings etc.?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Friday, November 28, 2003 12:01 PM
:: To: Tomcat Users List
:: Subject: Re: how to add a context to server.xml?
:: 
:: hi,
:: 
:: thank you for your mail. i tried it out but found that it was no
:: solution (as i hoped) to my other problem (i posted it already): the
:: jsp:include... doesn't work. you asked me, if i used web.xml or
:: direct-call.
:: 
:: what can i do here else?
:: greetings
:: hans
:: 
:: Schalk schrieb:
:: 
:: Hans
:: 
:: I personally have not used the admin or manager to make these entries
and
:: have been doing them by hand. The entry in the server.xml will be
something
:: like:
:: Context path=/meccafemme docBase=meccafemme debug=0
:: reloadable=true /
:: 
:: Kind Regards
:: Schalk Neethling
:: Web Developer.Designer.Programmer.CEO
:: Volume4.Development.Multimedia.Branding
:: emotionalize.conceptualize.visualize.realize
:: Tel: +27125468436
:: Fax: +27125468436
:: email:[EMAIL PROTECTED]
:: web: www.volume4.co.za
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: :: -Original Message-
:: :: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: :: Sent: Friday, November 28, 2003 11:17 AM
:: :: To: [EMAIL PROTECTED]
:: :: Subject: how to add a context to server.xml?
:: ::
:: :: hello,
:: ::
:: :: i installed a .war-file with manager. i noticed, that in server.xml
:: :: there was no entry for the corresponding context afterwards.
:: ::
:: :: i wanted to do it with the tomcat-admin-page, i got the message, that
my
:: :: alterations were saved. but then again: no context in server.xml.
:: ::
:: :: must i do it by hand? (for a beginner not so fine!).
:: ::
:: :: greetings
:: :: hans horwath, austria
:: ::
:: ::
:: ::
:: :: -
:: :: 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]



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



  1   2   >