RE: Tomcat 3.3.1 vs Tomcat 4.1.29

2004-02-18 Thread CLEMENT Eric
Sounds rigth. Any idea where I can get the good one?
Thanks

-Message d'origine-
De : Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 18 février 2004 15:51
À : Tomcat Users List
Objet : RE: Tomcat 3.3.1 vs Tomcat 4.1.29



That sounds as if there is jar file that contains an
outdated servlet api that doesn't contain
HttpServletRequest.removeAttribute()

> -Original Message-
> From: CLEMENT Eric [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 18, 2004 3:45 PM
> To: Tomcat Users List
> Subject: RE: Tomcat 3.3.1 vs Tomcat 4.1.29
>
> java.lang.NoSuchMethodError:
> javax.servlet.http.HttpServletRequest.removeAttribu
> te(Ljava/lang/String;)V

-
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 3.3.1 vs Tomcat 4.1.29

2004-02-18 Thread CLEMENT Eric
I set "debug" option.
This is what happen:

"""""
GRAVE: Une exception ou une erreur s'est produite dans le conteneur durant
le tr
aitement de la requÛte
java.lang.NoSuchMethodError:
javax.servlet.http.HttpServletRequest.removeAttribu
te(Ljava/lang/String;)V
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:321)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:564)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:245)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:199)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:564)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:195)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:151)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:164)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:149)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:564)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:156)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:564)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)

at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:20
6)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:828)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:700)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:584)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:534)


""""""


thanks



-Message d'origine-
De : STOCKHOLM, Raymond [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 18 février 2004 15:16
À : Tomcat Users List
Objet : RE: Tomcat 3.3.1 vs Tomcat 4.1.29


Check your JAVA_HOME env variable,
and please tell us WHAT happens.

To have more information when starting tomcat,
change startup.bat to replace "start" by "debug" on line 41 :
(call "%EXECUTABLE%" debug %CMD_LINE_ARGS%)

when prompt, type "run",
you should have more information...

-Message d'origine-
De : CLEMENT Eric [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 18 février 2004 15:00
À : [EMAIL PROTECTED]
Objet : Tomcat 3.3.1 vs Tomcat 4.1.29


Hello,
I've just downloaded and installed both release of Tomcat.
In the same environment(ie 6, Win XP and jsdk 1.4), Tomcat 3.3.1 is running,
Tomcat 4.1.29 doesn't (Tomcat 5.0.18 neither)
can anyone help me?

Eric Clément
230 Rue Marcelin Berthelot
ZI Toulon Est - La Garde - BP 68
83079 Toulon cedex 09 - France

Tél: 04-94-08-75-85
Fax: 04-94-08-09-38

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: Tomcat 3.3.1 vs Tomcat 4.1.29

2004-02-18 Thread CLEMENT Eric
Of course not.
But the first time I launched Tomcat 4.1.29, it was perfect, then I
installed J2eeSDK (downloaded from Sun Website). Then when I started again
Tomcat 4.1.29, nothing occured. But it's OK with Tomcat 3.3.1.
thanks

-Message d'origine-
De : Ben Souther [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 18 février 2004 15:11
À : Tomcat Users List
Objet : Re: Tomcat 3.3.1 vs Tomcat 4.1.29


Are you trying to run them both at the same time?




On Wednesday 18 February 2004 09:00 am, CLEMENT Eric wrote:
> Hello,
> I've just downloaded and installed both release of Tomcat.
> In the same environment(ie 6, Win XP and jsdk 1.4), Tomcat 3.3.1 is
> running, Tomcat 4.1.29 doesn't (Tomcat 5.0.18 neither)
> can anyone help me?
>
> Eric Clément
> 230 Rue Marcelin Berthelot
> ZI Toulon Est - La Garde - BP 68
> 83079 Toulon cedex 09 - France
>
> Tél: 04-94-08-75-85
> Fax: 04-94-08-09-38
>
> Mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--
Ben Souther
F.W. Davison & Company, Inc.



-
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 3.3.1 vs Tomcat 4.1.29

2004-02-18 Thread CLEMENT Eric
Hello,
I've just downloaded and installed both release of Tomcat.
In the same environment(ie 6, Win XP and jsdk 1.4), Tomcat 3.3.1 is running,
Tomcat 4.1.29 doesn't (Tomcat 5.0.18 neither)
can anyone help me?

Eric Clément
230 Rue Marcelin Berthelot
ZI Toulon Est - La Garde - BP 68
83079 Toulon cedex 09 - France

Tél: 04-94-08-75-85
Fax: 04-94-08-09-38

Mail: [EMAIL PROTECTED]


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



Parsing error processing resource path

2004-01-04 Thread Clement Low
Hi all,

I have the following error and i dunno where is the mistake.

Any hints? Thank you.



2004-01-05 11:43:51 StandardContext[/bmd2]Marking servlet action as
unavailable

2004-01-05 11:43:51 StandardContext[/bmd2]Servlet /bmd2 threw load()
exception

javax.servlet.UnavailableException: Parsing error processing resource path

at
org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.j
ava:1035)

at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.j
ava:1014)

at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
55)

at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)

at javax.servlet.GenericServlet.init(GenericServlet.java:256)

at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
44)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)

at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3948)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4271)

at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
66)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)

at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:316)

at org.apache.catalina.core.StandardHost.install(StandardHost.java:859)

at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:723
)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1002)

at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:393)

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:816)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518)

at org.apache.catalina.core.StandardService.start(StandardService.java:519)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:2343)

at org.apache.catalina.startup.Catalina.start(Catalina.java:581)

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.Bootstrap.start(Bootstrap.java:297)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)

2004-01-05 11:43:53 StandardContext[/jsp-examples]ContextListener:
contextInitialized()

2004-01-05 11:43:53 StandardContext[/jsp-examples]SessionListener:
contextInitialized()

2004-01-05 11:43:53 StandardContext[/servlets-examples]ContextListener:
contextInitialized()

2004-01-05 11:43:53 StandardContext[/servlets-examples]SessionListener:
contextInitialized()

2004-01-05 11:47:33 StandardContext[/manager]HTMLManager: init: Associated
with Deployer 'localhost'

2004-01-05 11:47:33 StandardContext[/manager]HTMLManager: init: Global
resources are available

2004-01-05 11:47:33 StandardContext[/manager]HTMLManager: list: Listing
contexts for virtual host 'localhost'

2004-01-05 11:47:36 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception

java.lang.NullPointerException

at org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:521)

at org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:436)

at org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:396)

at org.apache.struts.taglib.logic.RedirectTag.doEndTag(RedirectTag.java:294)

at org.apache.jsp.index_jsp._jspx_meth_logic_redirect_0(index_jsp.java:81)

at org.apache.jsp.index_jsp._jspService(index_jsp.java:57)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:284)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:204)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)

at
org.apache.catalina.core.StandardContextValve.invokeInternal(S

Re: Tomcat configuring for email

2003-06-06 Thread Clement
sorry i am at a lost... do u mean that an additional SMTP server/
program is needed??
- Original Message -
From: "John Corrigan" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, June 07, 2003 11:41
Subject: RE: Tomcat configuring for email


> Provided that localhost has an SMTP server then yes, e-mailing is "on."
The
> example .jsp does in fact send e-mails provided that everything else is
> configured correctly.
>
> -Original Message-
> From: Clement [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 06, 2003 8:30 PM
> To: Tomcat Users List
> Subject: Re: Tomcat configuring for email
>
>
> Hello.
> Sorry for the confusion. What i meant does tomcat have a built in
> emailing? As u replied there is .
> But is it on by default? when i try running the example inside , it
> seems to be a dummy one.
> What i am trying to do is to mail a user automatically everytime he
> makes a purchase.
> inside the default server.xml as shown below, is this the way to
enable
> emailing or is there more to it?
> Thanks..
>  value="15"/>
> override="false"/>
>type="javax.sql.DataSource"/>
>   
> usersa
> password
> driverClassName
>   org.hsql.jdbcDriver
> driverName
>   jdbc:HypersonicSQL:database
>   
>type="javax.mail.Session"/>
>   
> 
>   mail.smtp.host
>   localhost
> 
>   
> 
>
> - Original Message -
> From: "Phillip Qin" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Friday, June 06, 2003 23:17
> Subject: RE: Tomcat configuring for email
>
>
> > Don't understand your question. Tomcat has built-in mail session jndi
> > lookup. You can use it in your program. Is that what you want?
> >
> > -Original Message-
> > From: Clement [mailto:[EMAIL PROTECTED]
> > Sent: June 6, 2003 2:53 AM
> > To: Tomcat Users List
> > Subject: Tomcat configuring for email
> >
> > Hello...
> > I would like to check with for emailing purposes.. how do i enable
> > tomcat to send an email to a user? Can version 4.01 do this or do u need
a
> > newer version? ?
> > 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]
>
>

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



Re: Tomcat configuring for email

2003-06-06 Thread Clement
Hello.
Sorry for the confusion. What i meant does tomcat have a built in
emailing? As u replied there is .
But is it on by default? when i try running the example inside , it
seems to be a dummy one.
What i am trying to do is to mail a user automatically everytime he
makes a purchase.
inside the default server.xml as shown below, is this the way to enable
emailing or is there more to it?
Thanks..
  
  
  
  
usersa
password
driverClassName
  org.hsql.jdbcDriver
driverName
  jdbc:HypersonicSQL:database
  
  
  

  mail.smtp.host
  localhost

  


- Original Message -
From: "Phillip Qin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2003 23:17
Subject: RE: Tomcat configuring for email


> Don't understand your question. Tomcat has built-in mail session jndi
> lookup. You can use it in your program. Is that what you want?
>
> -Original Message-
> From: Clement [mailto:[EMAIL PROTECTED]
> Sent: June 6, 2003 2:53 AM
> To: Tomcat Users List
> Subject: Tomcat configuring for email
>
> Hello...
> I would like to check with for emailing purposes.. how do i enable
> tomcat to send an email to a user? Can version 4.01 do this or do u need a
> newer version? ?
> Thanks..
>
>

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



Tomcat configuring for email

2003-06-05 Thread Clement
Hello...
I would like to check with for emailing purposes.. how do i enable tomcat to send 
an email to a user? Can version 4.01 do this or do u need a newer version? ?
Thanks..


Multiple JVMs, mod_jk, and identical context names

2001-08-28 Thread Stuart Clement

Hi All,

I have the following scenario.

Suse Linux 7.0
JDK 1.3.0
Apache 1.3.19
Tomcat 3.2.1

I am using mod_jk and I have a workers.properties-custom file that creates two
more workers (ajp12_custom, ajp13_custom) on new ports (8011 & 8013
respectively). They are added to the worker.list and load balance list. This
file is referenced in my custom mod_jk configuration file (mod_jk.conf-custom)
as the correct worker file.

I also have two custom server.xml files which are used to startup and shutdown
using the -f flag to the startup.sh and shutdown.sh scripts. Each server.xml
file has two (2) application specific contexts, one of which is identical in
name only, between both files:

server.xml:
---

/custom_name1
/caffeine


server_custom.xml:


/custom_name2
/caffeine

The /caffeine context, whilst the same in name, needs to point to different
locations for each webapp. They cannot be shared.

Everything works correctly, apart from when the /caffeine context is accessed
in each webapp. I realised that I have a common mod_jk.conf-custom file that
of course only has the one /caffeine configuration block. In my haste I set
the connector for /caffeine context to be the new ajp13_custom, which only
works for one webapp and not the other.

So, the question is really... I'm not sure how to best do this?  I've tried
declaring two (2) mod_jk.conf files:

mod_jk.conf-caffeine
mod_jk.conf-custom

and set an Include statement for each virtual host declaration in my Apache
httpd.conf, instead of a global Include as I had previously, however I get the
following error when trying to start Apache:

Syntx error on line 8 of /usr/local/tomcat/conf/mod_jk.con-caffeine
LoadModule connot occur within  section
./apachectl start: httpd could not be started

This is the line that loads the mod_jk module  /libexec/mod_jk.so

Does anyone have any suggestions?

thanks in advance

Stu






Overriding jar files in /tomcat/lib

2001-08-22 Thread Stuart Clement

Hi all,

I'm running Tomcat 3.2.1 on Suse Linux 7.0 with JDK 1.3. I have an application
that runs with xalan-j_2_0_1 and Xerces-J-1.4.0 which support namespaces, and
the only way I can get tomcat to pick them up seems to be by removing jaxp.jar
and parser.jar and putting the new xalan and xerces jar files (as well as the
xalanj1compat.jar) in the /tomcat/lib/.. directory in their place.

I have tried putting them in my applications /lib directory as per the spec, but
tomcat only seems to pick up the other jars (jdbc drivers etc...) and I always
get an exception from tomcat saying that namespaces are not supported etc...

I have also tried adding them to my custom worker.properties file classpath
_before_ the standard includes, but that has not brought success either.

Am I missing something simple here, or is there an elegant way to do this?

cheers

Stu




jdbc.jar for BSDI

2001-06-30 Thread Clement

hi ppl

Thanks to Tim and James who responded to my search for jdbc.jar. My problem 
now is to find the driver for my BSDI server...:(

The link http://java.sun.com/products/jdk/1.2/  brings me to download the 
versions for Sun, Linux and Windows...

any idea where i can get a jdbc.jar which i can use on a BSDI 4.2 server?

Thanks again...

Cheers,

Clement
IT Consultant
LPIC, LCP
Technical Support Team
WebVisions Pte Ltd





jdbc.jar

2001-06-29 Thread Clement

Hi all

can i have a URL to download jdbc.jar  file? i need this jdbc driver...

Any help is greatly appreciated:)


Cheers,

Clement
IT Consultant
LPIC, LCP
Technical Support Team
WebVisions Pte Ltd