Create a new lib folder

2003-05-29 Thread Mark Irvine LCGI
Hi,

I am trying to get the send mail example working, and previous questions
I asked, discovered that the mail.jar and activation.jar files need to
be in a lib folder.  It is also my understanding that this lib folder
can be local to the application of global.  When the file are in the
common\lib folder everything is ok.  However when I put them in the
local lib folder (inside the web-inf folder) the example does not work.
Can I have a local lib folder?

Mark


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



Tomcat Startup Hanging

2003-05-29 Thread Mark Irvine LCGI
Hi,

When starting Tomcat using catalina run, the startup process appears to
hang:

Using CATALINA_BASE:   C:\jakarta-tomcat
Using CATALINA_HOME:   C:\jakarta-tomcat
Using CATALINA_TMPDIR: C:\jakarta-tomcat\temp
Using JAVA_HOME:   C:\j2sdk1.4.1
28-May-2003 20:19:57 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24-LE-jdk14
28-May-2003 20:20:00 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080

Should the DOS window not disappear?

Mark


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



RE: Tomcat Startup Hanging

2003-05-29 Thread Mark Irvine LCGI
Jason,

Many thanks for the reply it seems to have worked.

In doing this the shutdown method also stops reporting a java.net
exception, does the javaw just simply hide the error messages?
Apologies if this seems a stupid question, but I am very new to this.

Mark

-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED] 
Sent: 28 May 2003 20:31
To: Tomcat Users List
Subject: Re: Tomcat Startup Hanging


On Thu, 29 May 2003 03:25, Mark Irvine LCGI wrote:
 Hi,

 When starting Tomcat using catalina run, the startup process appears 
 to
 hang:

 Should the DOS window not disappear?

 Mark

This is frequently discussed, it is because by default it uses java.exe
and 
not javaw.exe and is by design to change this have a look at the
following 
thread:

http://marc.theaimsgroup.com/?l=tomcat-userm=105323976930076w=2

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
[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: Create a new lib folder

2003-05-29 Thread Mark Irvine LCGI
Yoav,

I have read the some of the text at the URL you sent.  However, and I
think it was you who help me with a previous problem I had with the
sendmailservlet example.  You suggested coping the mail and activation
jar file to a local lib - however the page still through an exception.
It would only work if the files were both in the common\lib folder.

Have you ever seen this before?

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: 28 May 2003 20:44
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Create a new lib folder



Howdy,
You can, and it's encouraged.  The app development guide has details and
an example:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Mark Irvine LCGI [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 2:19 PM
To: [EMAIL PROTECTED]
Subject: Create a new lib folder

Hi,

I am trying to get the send mail example working, and previous
questions
I asked, discovered that the mail.jar and activation.jar files need to 
be in a lib folder.  It is also my understanding that this lib folder 
can be local to the application of global.  When the file are in the 
common\lib folder everything is ok.  However when I put them in the 
local lib folder (inside the web-inf folder) the example does not work.

Can I have a local lib folder?

Mark


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



Startup Problem - Newbie

2003-05-28 Thread Mark Irvine LCGI
Hi,

When I try to start Tomcat using the Start and Stop files provided the
following error is generated:

28-May-2003 09:18:34 org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
28-May-2003 09:18:34 org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
28-May-2003 09:18:34 org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
28-May-2003 09:18:35 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with Ajp13Connector
at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:227
)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:402)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:854)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:828)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:372)
at
org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(Ser
verLifecycleListener.java:226)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:218
3)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24-LE-jdk14
28-May-2003 09:18:37 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080

Appart from follow the instructions on how to use IIS and Tomcat, I have
changed nothing from the default state.

Any suggestions would be welcome,

Mark


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



RE: Startup Problem - Newbie

2003-05-28 Thread Mark Irvine LCGI
Hi,

Thanks for the relpy.  Probably a stupid question but what do the Mbean
tags do?

Mark

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 28 May 2003 09:33
To: [EMAIL PROTECTED]
Subject: RE: Startup Problem - Newbie


comment the Mbean tags in the server.xml and restart and you should be
fine ... :)

-Original Message-
From: Mark Irvine LCGI [mailto:[EMAIL PROTECTED]
Sent: 28 May 2003 09:24
To: [EMAIL PROTECTED]
Subject: Startup Problem - Newbie


Hi,

When I try to start Tomcat using the Start and Stop files provided the
following error is generated:

28-May-2003 09:18:34 org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
28-May-2003 09:18:34 org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
28-May-2003 09:18:34 org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
28-May-2003 09:18:35 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with Ajp13Connector
at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:227
)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:402)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:854)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:828)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:372)
at
org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(Ser
verLifecycleListener.java:226)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:218
3)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24-LE-jdk14
28-May-2003 09:18:37 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080

Appart from follow the instructions on how to use IIS and Tomcat, I have
changed nothing from the default state.

Any suggestions would be welcome,

Mark


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



SendMailServlet

2003-05-27 Thread Mark Irvine LCGI
Hi,

I recently installed Tomcat 4.1.24 along side IIS5.0 (W2K).  All of the
examples work fine with the exception of the SendMailServlet.  I have
already downloeaded the Jave Mail API and installed it.  I have also
tried to run the samples provided with the Java Mail API - they all work
fine.  There error message is as follows:

java.lang.NoClassDefFoundError: javax/mail/Message
at java.lang.Class.getDeclaredConstructors0(Native Method)
at
java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
at java.lang.Class.getConstructor0(Class.java:1762)
at java.lang.Class.newInstance0(Class.java:276)
at java.lang.Class.newInstance(Class.java:259)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:903)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:6
68)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:210)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:494)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
5)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
at java.lang.Thread.run(Thread.java:536)

Any help would be approciated,

Mark


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



RE: SendMailServlet

2003-05-27 Thread Mark Irvine LCGI
Hi,

The JavaMail was installed in a folder called javamail-1.3 in the C
drive.  The CLASSPATH was updated appropiately.

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: 27 May 2003 18:54
To: Tomcat Users List
Subject: RE: SendMailServlet



Howdy,
Where did you install the JavaMail jar?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Mark Irvine LCGI [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 1:44 PM
To: [EMAIL PROTECTED]
Subject: SendMailServlet

Hi,

I recently installed Tomcat 4.1.24 along side IIS5.0 (W2K).  All of the

examples work fine with the exception of the SendMailServlet.  I have 
already downloeaded the Jave Mail API and installed it.  I have also 
tried to run the samples provided with the Java Mail API - they all
work
fine.  There error message is as follows:

java.lang.NoClassDefFoundError: javax/mail/Message
   at java.lang.Class.getDeclaredConstructors0(Native Method)
   at
java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
   at java.lang.Class.getConstructor0(Class.java:1762)
   at java.lang.Class.newInstance0(Class.java:276)
   at java.lang.Class.newInstance(Class.java:259)
   at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.ja
v
a:903)
   at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:
6
68)
   at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
v
e.java:210)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
nvokeNext(StandardPipeline.java:643)
   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
80)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
v
e.java:191)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
nvokeNext(StandardPipeline.java:643)
   at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato
r
Base.java:494)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
nvokeNext(StandardPipeline.java:641)
   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
80)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24
1
5)
   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a
:180)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
nvokeNext(StandardPipeline.java:643)
   at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
a
lve.java:171)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
nvokeNext(StandardPipeline.java:641)
   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a
:172)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
nvokeNext(StandardPipeline.java:641)
   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
80)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.
java:174)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
nvokeNext(StandardPipeline.java:643)
   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
80)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
   at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
   at java.lang.Thread.run(Thread.java:536)

Any help would be approciated,

Mark


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



RE: SendMailServlet

2003-05-27 Thread Mark Irvine LCGI
Hi,

Many thanks for your reply.  This did change the error message to:

ENCOUNTERED EXCEPTION: java.lang.NoClassDefFoundError:
javax/mail/Session 
java.lang.NoClassDefFoundError: javax/mail/Session
at
org.apache.naming.factory.MailSessionFactory$1.run(MailSessionFactory.ja
va:163)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.naming.factory.MailSessionFactory.getObjectInstance(MailSessi
onFactory.java:147)
at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFact
ory.java:186)
at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:834)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:181)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:822)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at SendMailServlet.doPost(SendMailServlet.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:494)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
5)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
at java.lang.Thread.run(Thread.java:536)

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: 27 May 2003 20:09
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: SendMailServlet



Howdy,
What CLASSPATH?

You should put the mail.jar (and activation.jar file required by
JavaMail) into the WEB-INF/lib directory of the webapp that needs the
mail API.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Mark Irvine LCGI [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 3:07 PM
To: 'Tomcat Users List'
Subject: RE: SendMailServlet

Hi,

The JavaMail was installed in a folder called javamail-1.3 in the C 
drive.  The CLASSPATH was updated appropiately.

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 27 May 2003 18:54
To: Tomcat Users List
Subject: RE: SendMailServlet



Howdy,
Where did you install the JavaMail jar?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Mark Irvine LCGI [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 1:44 PM
To: [EMAIL PROTECTED]
Subject: SendMailServlet

Hi,

I recently installed Tomcat 4.1.24 along side IIS5.0 (W2K).  All

RE: SendMailServlet

2003-05-27 Thread Mark Irvine LCGI
Hi,

Thank you very much for your help - It Works!!!

However I'm still a little confused.  Before moving the mail.jar and
activation.jar files to the common\lib folder, they were in the
examples\WEB-INF\lib (I had to create the lib folder).  I checked the
entire tomcat directory and there was only one copy of each file, I even
removed the files in the C drive of the computer.  In this situation the
sendmailservlet did not work.  Do you have any idea why?  Having created
the lib folder must I edit an XML configuration file?

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: 27 May 2003 20:17
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: SendMailServlet



Howdy,

Many thanks for your reply.  This did change the error message to:

ENCOUNTERED EXCEPTION: java.lang.NoClassDefFoundError: 
javax/mail/Session
java.lang.NoClassDefFoundError: javax/mail/Session

Ah, now we're getting somewhere.  You have multiple copies of the
JavaMail API of different versions in your tomcat installation.  Ensure
you only have one copy of the JavaMail API around.  Also make sure
mail.jar and activation.jar are in the same classloader repository (i.e.
both in WEB-INF/lib, or both in common/lib, but not in separate places)
to be safe.

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]



WebappClassLoader: Resource servlet.class' is missing ??

2001-10-04 Thread Chuck . Irvine

We just recently upgraded to Tomcat 4.0. To enable class reloading for 
our webapp, I inserted:

  Context path=/fms docBase=fms debug=0 reloadable=true/

into the server.xml file. Reloading seems to work about 75% of the 
time. Other times we get a message of the form: 

  WebappClassLoader: Resource 
'/WEB-INF/classes/com/sprint/fms/servlet/GetCktWfmList.class' is missing

The missing class is always one of our servlet classes. The missing 
class is always right there where it ought to be. If we bounce tomcat, 
the missing class message goes away. 

Any ideas what might be wrong? Thanks

Chuck




Newbie Request: an Example Ant build.xml File

2001-08-03 Thread Chuck . Irvine

Being new to both Ant and Tomcat, I'm wondering if someone could point 
me to a good example of an Ant build.xml for for building and deploying 
servlets under Tomcat. Thanks for your help. (I looked for this in the 
faqs but couldn't find any relevant info.)

Chuck




tomcat on a home machine???

2001-06-27 Thread irvine

Hello

I have linux installed at home and have only a
modem connecting me to the internet through a
local service provider.

My questions are:

Is it possible for me to install and use tomcat
without a permenant connection.

If it is possible what files would need to be
configured to allow me to do so.

What url would I need to call to access tomcat's
homepage.

Apologies if this question has been asked b4.

T:Irvine




RE: Tomcat, IIS and virtual hosts

2001-05-03 Thread Duncan Irvine

I didn't spend too long on this, as we only needed the vhosts as a stop-gap
solution, and only needed three at that, but the only way I found to do it
was to have vhosts defined in both Apache and Tomcat.

Apache's vhosting knows the difference for the static pages, and any
.jsps/servlets for *any* of the servers are handed off to Tomcat without
vhosting.  Tomcat then knows the correct vhost as well, and serves the
relevant jsp.  I forget which (but I believe Apache) complained about the
mod_jk config appearing within a vhost definition.  I've no idea about IIS
unfortunately - I only use real web-servers!

The rest of the information you need is in the docs, and you should be able
to work it out yourself.  

There may be a better way to do it, but I didn't have the time to find it.

Hope this helps,
Duncan.

P.S. I can probably dig the old config files out if you need them, but I
don't have them to hand at the mo.


 -Original Message-
 From: Brian Murray [mailto:[EMAIL PROTECTED]]
 Sent: 03 May 2001 08:42
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat, IIS and virtual hosts
 
 
  Apache is a much better solution for virtual hosts than IIS
 
 He's using IIS and I'm using Apache.  What we have in common 
 is that we're both after examples of
 setting up Tomcat to work with virtual hosts.  I'm sorry if 
 that was not clear.
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - buy the things you want at great prices
 http://auctions.yahoo.com/
 



This message contains information which may be privileged
and confidential and subject to legal privilege. If you are not
the intended recipient, you may not peruse, use, disseminate,
distribute or copy this message. If you have received this 
message in error, please notify the sender immediately by 
e-mail, facsimile, or telephone and return or destroy the 
original message. Sopheon and its officers are not responsible
for any statements or material in this e-mail and in any attachment
to it which might give rise to any criminal or civil claim.




RE: Why Use apache

2001-05-02 Thread Duncan Irvine

I would suggest that Apache is also more secure - it's been around longer,
and has had more development, thus has had longer to mature.  If you hide
Tomcat behind Apache, then any bugs that may appear in Tomcat's URL parsing
(for example) are less of a worry.

Duncan.


 -Original Message-
 From: David M. Rosner [mailto:[EMAIL PROTECTED]]
 Sent: 02 May 2001 16:06
 To: [EMAIL PROTECTED]
 Subject: RE: Why Use apache
 
 
 If I have all my static html and graphics loading off of 
 other servers, is 
 there any reason to use Apache with Tomcat? Is the 
 combination more stable 
 or is performance better with both running?
 
 thanks
 
 -dave
 
 At 11:00 AM 5/2/2001, Ronan Derby wrote:
 tomcat isn't as good as apache at serving static html files 
 and images.
 also, with apache up and running you can do other stuff like 
 execute cgi
 scripts and so on.
 
 -Original Message-
 From: Skinner, Dallas M [mailto:[EMAIL PROTECTED]]
 Sent: 02 May 2001 15:48
 To: [EMAIL PROTECTED]
 Subject: Why Use apache
 
 
 Excuse me if this question is obvious.  If Tomcat can be run 
 in a standalone
 mode, why should it be used in conjunction with apache?
 
 Thanks
 
 Dallas Skinner
 



This message contains information which may be privileged
and confidential and subject to legal privilege. If you are not
the intended recipient, you may not peruse, use, disseminate,
distribute or copy this message. If you have received this 
message in error, please notify the sender immediately by 
e-mail, facsimile, or telephone and return or destroy the 
original message. Sopheon and its officers are not responsible
for any statements or material in this e-mail and in any attachment
to it which might give rise to any criminal or civil claim.




RE: Cache problem with IE

2001-03-13 Thread Duncan Irvine

I'm sure someone will jump on this from a great height if I'm wrong, but I
seem to recall that the cache settings are for intermediate caches - not the
browser.  The browser can cache pages as it sees fit - provided that it
checks to see if they've been updated, but the cache control settings are
there to stop intermediate caches from falsely reporting a page as not
having changed.

Duncan.


 -Original Message-
 From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
 Sent: 13 March 2001 16:13
 To: [EMAIL PROTECTED]
 Subject: Cache problem with IE
 
 
 Hi,
 
 with the code below I can get netscape not to cache a jsp page but it
 does not work with Internet-Explorer.
 Does anybody know why?
 
 
 response.setHeader("Cache-Control", "no-cache");
 response.setHeader("Pragma", "no-cache");\
 
 
 
 Zsolt
 
 -- 
 Zsolt Koppany
 Intland GmbH www.intland.com
 Schulze-Delitzsch-Strasse 16
 D-70565 Stuttgart
 Tel: +49-711-7871080 Fax: +49-711-7871017
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 



This message contains information which may be privileged
and confidential and subject to legal privilege. If you are not
the intended recipient, you may not peruse, use, disseminate,
distribute or copy this message. If you have received this 
message in error, please notify the sender immediately by 
e-mail, facsimile, or telephone and return or destroy the 
original message. Sopheon and its officers are not responsible
for any statements or material in this e-mail and in any attachment
to it which might give rise to any criminal or civil claim.


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




Jasper losing classpath?!?

2001-02-09 Thread Duncan Irvine

Hi all,
I've been merrily using Tomcat for some time now (v3.2.1) and have
just come accross a rather bizarre one... Jasper seems to 'forget' the
classpath after a while and refuses to compile new JSPs.  All is well after
startup, things run smoothly for an hour or two, and Tomcat will continue to
serve already compiled JSPs.  However, if I haven't used a given JSP after a
couple of hours (not sure of a specific time) it will not compile.  Jasper
throws a 'Class not Found' JasperException and that's it.  If Tomcat is
restarted the same JSP will compile and run quite happily.  Is this a known
problem with Jasper, or am I just doing something really dumb with the
config.

It's not a major problem, as I should think that the production box can be
'pre-hit'  to compile all the JSPs beforehand, and is unlikely to be updated
often enough to warrant dynamic recompilation, but it'd be nice to know.

Cheers,
Duncan.




This message contains information which may be privileged
and confidential and subject to legal privilege. If you are not
the intended recipient, you may not peruse, use, disseminate,
distribute or copy this message. If you have received this 
message in error, please notify the sender immediately by 
e-mail, facsimile, or telephone and return or destroy the 
original message. Sopheon and its officers are not responsible
for any statements or material in this e-mail and in any attachment
to it which might give rise to any criminal or civil claim.


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