Email troubles

2001-04-07 Thread Niels Wagner

Hi ,

I'm sorry, but I receive al lot of mail where the mail delivery programm
complains with 


Diagnostic-Code: 501 5.1.8 [EMAIL PROTECTED]... Domain of sender
address [EMAIL PROTECTED] does not exist

I receive only the status text and not the message, which i'm interested in.

I could also help you solving this problem. But since i cannot receive your
email here, you could contact me  over [EMAIL PROTECTED]

Thank you
Niels



Building Tomcat-3.2.1

2001-03-18 Thread Niels Wagner

Hi everybody,

i downloaded the source of tomcat 3.2.1 and tried to build it. I followed the
README and got ant, jaxp (1.0.1), jsse ...

My setup:

SuSE Linux 7.0, IBMJava2-13.

Environment variables
export JAKARTA_HOME=/opt
export TOMCAT_HOME=/opt/jakarta-tomcat-3.2.1
export JAVA_HOME=/opt/IBMJava2-13
export JNDI_HOME=/usr/lib
export JSSE_HOME=/usr/lib
export JMX_HOME=/usr/lib
export REGEXP_HOME=/usr/src/packages/SOURCES/jakarta-regexp-1.2/build
export SERVLETAPI_HOME=/opt/dist/servletapi
export JAXP_HOME=/opt/jaxpi-1.0.1
export
CLASSPATH=/opt/IBMJava2-13/:/opt/IBMJava2-13/lib:/usr/lib:/opt/IBMJava2-13/lib/tools.jar:/opt/jaxp-1.0.1/jaxp.jar:/opt/dist/ant/lib/ant.jar:/opt/IBMJava2-13/jre/lib/rt.jar:/opt/jaxp-1.0.1/parser.jar:/usr/lib/jsse.jar:/opt/dist/servletapi/lib/serlvet.jar
export COCOON_HOME=/var/cocoon

The error i get when building:

Buildfile: /opt/jakarta-tomcat-3.2.1-src/build.xml

prepare:
 [copy] Copying 1 files to /opt/build/tomcat/conf
 [copy] Copying 1 files to /opt/build/tomcat/lib

tomcat:
[javac] Compiling 6 source files to /opt/build/tomcat/classes
[javac]
/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/net/SSLSocketFactory.java:67:
Class javax.net.ServerSocketFactory not found in import.
[javac] import javax.net.ServerSocketFactory;
[javac]^
[javac]
/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletResponseFacade.java:84:
class org.apache.tomcat.facade.HttpServletResponseFacade must be declared
abstract. It does not define void resetBuffer() from interface
javax.servlet.ServletResponse.
[javac] final class HttpServletResponseFacade  implements
HttpServletResponse
[javac] ^
[javac]
/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/ServletContextFacade.java:82:
class org.apache.tomcat.facade.ServletContextFacade must be declared abstract.
It does not define java.util.Set getResourcePaths() from interface
javax.servlet.ServletContext.
[javac] final class ServletContextFacade implements ServletContext {
[javac] ^
[javac]
/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/ServletContextFacade.java:82:
class org.apache.tomcat.facade.ServletContextFacade must be declared abstract.
It does not define java.lang.String getServletContextName() from interface
javax.servlet.ServletContext.
[javac] final class ServletContextFacade implements ServletContext {
[javac] ^
[javac]
/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletRequestFacade.java:83:
class org.apache.tomcat.facade.HttpServletRequestFacade must be declared
abstract. It does not define java.lang.StringBuffer getRequestURL() from
interface javax.servlet.http.HttpServletRequest.
[javac] final class HttpServletRequestFacade implements HttpServletRequest {
[javac] ^
[javac]
/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletRequestFacade.java:83:
class org.apache.tomcat.facade.HttpServletRequestFacade must be declared
abstract. It does not define void setCharacterEncoding(java.lang.String) from
interface javax.servlet.ServletRequest.
[javac] final class HttpServletRequestFacade implements HttpServletRequest {
[javac] ^
[javac]
/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletRequestFacade.java:83:
class org.apache.tomcat.facade.HttpServletRequestFacade must be declared
abstract. It does not define java.util.Map getParameterMap() from interface
javax.servlet.ServletRequest.
[javac] final class HttpServletRequestFacade implements HttpServletRequest {
[javac] ^
[javac]
/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/runtime/PageContextImpl.java:99:
class org.apache.jasper.runtime.PageContextImpl must be declared abstract. It
does not define void handlePageException(java.lang.Throwable) from class
javax.servlet.jsp.PageContext.
[javac] public class PageContextImpl extends PageContext {
[javac]  ^
[javac] Note: 2 files use or override a deprecated API.  Recompile with
"-deprecation" for details.[javac] 8 errors, 1 warning

BUILD FAILED

/opt/jakarta-tomcat-3.2.1-src/build.xml:94: Compile failed, messages should have
been provided.

Total time: 28 seconds


I suppose the javax stuff is in the jaxp/parser jars. I tried Version 1.1 and
1.0.1 from sun.


Any ideas ?

Thanks in advance


Niels



Re: MySQL driver - java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver

2001-02-26 Thread Niels Wagner

Hi,
 I try to use MySQL to access the database.
 I set the drivername = "org.gjt.mm.mysql.Driver";
 and set   URL = "jdbc:odbc:test";
I'm not using exactly the same configuration (Tomcat 4.0,cocoon) but my urls
look like url=jdbc:mysql://localhost/db_name

 and I included the "c:\mm.mysql-2.0.2-bin.jar" in the CLASSPATH, I got
 the classNotFoundException.
I'm using Linux, but I had to 'jar -xf ... ' the downloaded jar-file and copy
the mysql.jar (in the extracted directory) to the lib-directory of tomcat and
cocoon and put it in my classpath. I hope this helps you, but I installed the
driver only yesterday and didn't have time to find the exact location. Maybe
this is a little overkill, but it works.


Bye

Niels Wagner

---
ping-tec
N. Wagner

Saumarkt 8a

91781 Weienburg

Tel.: 09141/923721
Fax.: 09141/923722
Mobil: 0177/6329448
[EMAIL PROTECTED]

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