RE: Strange error

2005-05-11 Thread Fredrik Liden
Thanks for responding Mark,

It's so weird, I'm starting to think it's a bug in Intellij. 
When I delete the output directory and regenerate everything again I
don't get the error but then when I run it again I get this error.
It's soo annoying!

Fredrik

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 11, 2005 11:41 AM
To: Tomcat Users List
Subject: Re: Strange error


You need to look at line 125 of WebApplicationListener in the 
org.objectstyle.cayenne.conf package and see which object might be null 
that you have assumed isn't.

Mark

Fredrik Liden wrote:
> Does anyone have any idea what this error means?
> I'm using jdk 1.5, tomcat 5.5.9 and intellij.
> 
> Thanks!
> 
> Connected to server
> ERROR [/]: Session event listener threw exception 
> java.lang.NullPointerException  at
>
org.objectstyle.cayenne.conf.WebApplicationListener.sessionCreated(WebAp
> plicationListener.java:125)
>  at
>
org.apache.catalina.session.StandardSession.tellNew(StandardSession.java
> :379)
>  at
>
org.apache.catalina.session.StandardSession.setId(StandardSession.java:3
> 51)
>  at
>
org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:7
> 87)
>  at
>
org.apache.catalina.session.StandardManager.createSession(StandardManage
> r.java:290)
>  at
> org.apache.catalina.connector.Request.doGetSession(Request.java:2206)
>  at
org.apache.catalina.connector.Request.getSession(Request.java:2017)
>  at
>
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.jav
> a:822)
>  at
>
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.jav
> a:833)
>  at
>
org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.ja
> va:148)
>  at
>
org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.jav
> a:123)
>  at
>
org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFacto
> ryImpl.java:104)
>  at
>
org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.j
> ava:61)
>  at org.apache.jsp.Login_jsp._jspService(org.apache.jsp.Login_jsp:35)
>  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>  at
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
> va:322)
>  at
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>  at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:252)
>  at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
>  at irf.filters.FrontFilter.doFilter(FrontFilter.java:51)
>  at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:202)
>  at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
>  at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:213)
>  at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:178)
>  at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :126)
>  at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :105)
>  at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:107)
>  at
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
> 48)
>  at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
> 6)
>  at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
> onnection(Http11Protocol.java:744)
>  at
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
> .java:527)
>  at
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
> erWorkerThread.java:80)
>  at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:684)
>  at java.lang.Thread.run(Thread.java:595)
> 
> -
> 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: Strange error

2005-05-11 Thread Mark Thomas
You need to look at line 125 of WebApplicationListener in the 
org.objectstyle.cayenne.conf package and see which object might be null 
that you have assumed isn't.

Mark
Fredrik Liden wrote:
Does anyone have any idea what this error means?
I'm using jdk 1.5, tomcat 5.5.9 and intellij.
Thanks!
Connected to server
ERROR [/]: Session event listener threw exception
java.lang.NullPointerException
 at
org.objectstyle.cayenne.conf.WebApplicationListener.sessionCreated(WebAp
plicationListener.java:125)
 at
org.apache.catalina.session.StandardSession.tellNew(StandardSession.java
:379)
 at
org.apache.catalina.session.StandardSession.setId(StandardSession.java:3
51)
 at
org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:7
87)
 at
org.apache.catalina.session.StandardManager.createSession(StandardManage
r.java:290)
 at
org.apache.catalina.connector.Request.doGetSession(Request.java:2206)
 at org.apache.catalina.connector.Request.getSession(Request.java:2017)
 at
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.jav
a:822)
 at
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.jav
a:833)
 at
org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.ja
va:148)
 at
org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.jav
a:123)
 at
org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFacto
ryImpl.java:104)
 at
org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.j
ava:61)
 at org.apache.jsp.Login_jsp._jspService(org.apache.jsp.Login_jsp:35)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:322)
 at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
 at irf.filters.FrontFilter.doFilter(FrontFilter.java:51)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
6)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:744)
 at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
 at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
 at java.lang.Thread.run(Thread.java:595)
-
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: strange error when processing stylesheets: tomcat, jdk1.4, windows, xalan

2004-07-01 Thread Jacob Kjome
Quoting Martin Monsorno <[EMAIL PROTECTED]>:

> Martin Monsorno <[EMAIL PROTECTED]> writes:
> 
> > Hi *,
> >
> > I get the following error when trying to transform a xml document with
> > a XSLT stylesheet:
> >
> > ; SystemID: jndi:/localhost/ipas/xsl/minutes_pdf.xsl; Line#: 298;
> Column#: 66
> > javax.xml.transform.TransformerException: Unknown error in XPath
> > at org.apache.xpath.XPath.bool(XPath.java:411)
> > at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:198)
> > ...
> >
> > In the stylesheet, I test for an empty string:
> >
> > 
> >
> > The error occurs:
> >
> > - with ANY test condition that tests for an empty string
> >   (e.g. with "string-length(./entry) = 0"
> > - with having xalan.jar, xml-apis.jar and xercesImpl.jar in my
> >   WEB-INF/lib from any xalan versions of 2.5.0, 2.5.2, 2.6.0
> > - with Tomcat 4.1.29 on Windows 2000 and JDK 1.4x
> > - NOT with JDK 1.3

Well, this should be obvious by now.  JDK1.4+ ships with Xalan.  As such, it is
an "endorsed" library.  You shouldn't be putting endorsed libraries in
WEB-INF/lib.  Since Tomcat adds Xerces and xml-apis to common/endorsed, they
become "endorsed" libraries as well.  Tomcat classloaders will actively ignore
endorsed libraries sitting in WEB-INF/lib.  As such, your own versions of the
libraries are doing nothing whatsoever being there.  If you want to update
Tomcat with the latest Xerces and xml-apis, delete the existing ones from
common/endorsed and add yours there.  You can also add Xalan there, but probably
should add it to JAVA_HOME/jre/lib/endorsed (create the directory if it doesn't
already exist).  I suggest you use the "2jars" release to avoid making BCel
(which Xalan ships with... and old version at that) an endorsed library.  If
things don't work after this, then I'm at a loss.

> > - NOT on Linux
> > - NOT with resin
> 
> Ah, yes, and it does NOT occur when running the transforming by
> directly calling xalan from the command line and not via TomCat!
> 


Jake


> 
> --
> Martin
> 
> -
> 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: strange error when processing stylesheets: tomcat, jdk1.4, windows, xalan

2004-07-01 Thread Dan Barron
Have you tried just testing (title) instead of (./title)?  The added "./" 
seems unneceassry.

At 02:25 AM 7/1/2004, you wrote:
Hi *,
I get the following error when trying to transform a xml document with
a XSLT stylesheet:
; SystemID: jndi:/localhost/ipas/xsl/minutes_pdf.xsl; Line#: 298; 
Column#: 66
javax.xml.transform.TransformerException: Unknown error in XPath
at org.apache.xpath.XPath.bool(XPath.java:411)
at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:198)
...

In the stylesheet, I test for an empty string:

The error occurs:
- with ANY test condition that tests for an empty string
  (e.g. with "string-length(./entry) = 0"
- with having xalan.jar, xml-apis.jar and xercesImpl.jar in my
  WEB-INF/lib from any xalan versions of 2.5.0, 2.5.2, 2.6.0
- with Tomcat 4.1.29 on Windows 2000 and JDK 1.4x
- NOT with JDK 1.3
- NOT on Linux
- NOT with resin
It's these kind of errors that makes being a programmer a real fun!
Does anyone have a tip on what to do?
--
Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: strange error when processing stylesheets: tomcat, jdk1.4, windows, xalan

2004-07-01 Thread Martin Monsorno
Martin Monsorno <[EMAIL PROTECTED]> writes:

> Hi *,
>
> I get the following error when trying to transform a xml document with
> a XSLT stylesheet:
>
> ; SystemID: jndi:/localhost/ipas/xsl/minutes_pdf.xsl; Line#: 298; Column#: 66
> javax.xml.transform.TransformerException: Unknown error in XPath
> at org.apache.xpath.XPath.bool(XPath.java:411)
> at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:198)
> ...
>
> In the stylesheet, I test for an empty string:
>
> 
>
> The error occurs:
>
> - with ANY test condition that tests for an empty string
>   (e.g. with "string-length(./entry) = 0"
> - with having xalan.jar, xml-apis.jar and xercesImpl.jar in my
>   WEB-INF/lib from any xalan versions of 2.5.0, 2.5.2, 2.6.0
> - with Tomcat 4.1.29 on Windows 2000 and JDK 1.4x
> - NOT with JDK 1.3
> - NOT on Linux
> - NOT with resin

Ah, yes, and it does NOT occur when running the transforming by
directly calling xalan from the command line and not via TomCat!


-- 
Martin

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



RE: Strange error

2004-05-07 Thread Yansheng Lin
What event listeners?

-Original Message-
From: Nathan Maves [mailto:[EMAIL PROTECTED] 
Sent: May 5, 2004 08:15
To: Tomcat Users List
Subject: Re: Strange error


The object is a custom object.  The only difference I can find is that  
this object has some event listeners attached to it.  It is an  
implementation of a Tree object.  The only java objects that it uses  
are Map, TreeMap and few other util classes.

Nathan

On May 5, 2004, at 7:18 AM, QM wrote:

> On Tue, May 04, 2004 at 02:30:16PM -0600, Nathan Maves wrote:
> : What could cause this error in Tomcat 5.0.19.
> :
> : 2004-05-04 14:21:02 StandardContext[/manager]HTMLManager:
> : ManagerServlet.reload[/ReportViewer]
> : java.lang.ThreadDeath
> : at
> :  
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoade 
> r
> : .java:1270)
> : [snip]
> : It happens when I place an object in the session and then click  
> reload
> : from the webapp manager.
>
>
> Any object, or a particular object?
> (especially a custom object)
>
> Does said object do anything with threads, such as calling ::stop()?
>
> -QM
>
> -- 
>
> software  -- http://www.brandxdev.net
> tech news -- http://www.RoarNetworX.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]


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



Re: Strange error

2004-05-05 Thread Nathan Maves
The object is a custom object.  The only difference I can find is that  
this object has some event listeners attached to it.  It is an  
implementation of a Tree object.  The only java objects that it uses  
are Map, TreeMap and few other util classes.

Nathan

On May 5, 2004, at 7:18 AM, QM wrote:

On Tue, May 04, 2004 at 02:30:16PM -0600, Nathan Maves wrote:
: What could cause this error in Tomcat 5.0.19.
:
: 2004-05-04 14:21:02 StandardContext[/manager]HTMLManager:
: ManagerServlet.reload[/ReportViewer]
: java.lang.ThreadDeath
: at
:  
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoade 
r
: .java:1270)
: [snip]
: It happens when I place an object in the session and then click  
reload
: from the webapp manager.

Any object, or a particular object?
(especially a custom object)
Does said object do anything with threads, such as calling ::stop()?

-QM

--

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.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: Strange error

2004-05-05 Thread QM
On Tue, May 04, 2004 at 02:30:16PM -0600, Nathan Maves wrote:
: What could cause this error in Tomcat 5.0.19.
: 
: 2004-05-04 14:21:02 StandardContext[/manager]HTMLManager:  
: ManagerServlet.reload[/ReportViewer]
: java.lang.ThreadDeath
: at  
: org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader 
: .java:1270)
: [snip]
: It happens when I place an object in the session and then click reload  
: from the webapp manager.


Any object, or a particular object?
(especially a custom object)

Does said object do anything with threads, such as calling ::stop()?

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



RE: strange error messages in tomcat log and mod_jk2 log

2003-12-16 Thread Altankov Peter
My production server setup is Apache/1.3.19 (built on HP-UX)mod_ssl/mod_jk/tomcat 
4.1.29 on a separate machine
I have a moderate loads of 5-10 hits per second and no really big responses (no more 
than 300k)
What I know so far is that this is caused by an attempt by the coyote connector to 
write in a already closed by the mod_jk socked.
The hints I have so far:
1. some proxy servers in the middle might explicitly close lenghty collections
2. lotso ppl blame users pressing "stop" button in browser!?
3. I follwed some forum thread somewhere (cant remember now) where the guys had 
observed as a weird bahaviour of Windows IE. They had narrowed the log entry 
appearances to a hit to a page where the request was submited like this:

They were saying that the IE evaluates the onclick and submits the form, at the same 
time requests the blah/blah.html document, and THEN decides that the blah/blah.html 
document is not needed and just closes the socket. The guys also were saying that such 
a behaviour was not observed while tested with Mozzila and Opera browsers. They have 
been able to avoid it just by making the onclick event handler return false:

Though, I have not tested it myself.


-Original Message-
From: Chris Joelly [mailto:[EMAIL PROTECTED] 
Sent: 15 ÐÐÑÐ 2003 Ð. 10:31
To: Tomcat Users List
Subject: Re: strange error messages in tomcat log and mod_jk2 log


Hi!

thanx for your reply. hm. it's a very strange thing.

some questions:

are you running your application under heavy load?
are the responses very big in size?
do you use the apache2/mod_jk2/tomcat4 config on a windows nt4 box? does a dialogbox 
appear on the server with an error message stateing that the apache.exe caused an 
internal error, and after pressing Ok the apache2 server continues to run?

maybe we can find some similarities.

we have no idea what direction to look for, and the problem is very critical because a 
very big application is crashing every few minutes, so a production environment 
couldn't be setup... :-((

thx, Chris

Am Fri, Dec 12, 2003 at 01:46:13PM +0200, Altankov Peter meinte:
> Hi!
> Im gettting a similar traces in catalina.out:
> 
> Dec 11, 2003 8:00:03 PM org.apache.jk.server.JkCoyoteHandler action
> SEVERE: Error in action code
> java.net.SocketException: Broken pipe
> at java.net.SocketOutputStream.socketWrite0(Native Method)
> at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
> at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
> at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457)
> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654)
> at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:435)
> at org.apache.coyote.Response.action(Response.java:222)
> at org.apache.coyote.Response.finish(Response.java:343)
> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:314)
> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
> at 
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
> at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
> at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
> at java.lang.Thread.run(Thread.java:536)
> 
> Acompanied with this in mod_jk.log:
> [Thu Dec 11 20:38:39 2003]  [jk_ajp13_worker.c (381)]: Error 
> ajp13_process_callback - write failed (in my config they run on 
> separate UNIX boxes and unfortunately the one is 38 minutes ahead in 
> time )
> 
> I have no clue what might be causing it. Posted it coupleof times but 
> got no comments. Although my tomcat don?t seem to crash, I don?t 
> consider it?s a normal situation.
> 
> Any ideas someone?
> Thanks in advance!

-- 
mit freundlichen GrÃÃen / with kind regards
 
Ing. Christian JÃlly @ Solutions
unycom  Information Technology Services GmbH
A-8042 Graz | SchmiedlstraÃe 1 / III

Tel: ++43 (0)316 / 818 828 - 30
Fax: ++43 (0)316 / 818 828 - 38
[EMAIL PROTECTED]
http://www.unycom.com

Ein Physiker, ein Mathematiker und ein Windows-Programmierer fahren in einem Auto, als 
dieses plÃtzlich der Geist aufgibt. Der Physiker schlÃgt vor, mal das Benzin zu 
kontrollieren.  Der Mathematiker sagt, er verstehe nicht viel von Autos, aber man 
solle mal das KÃhlwasser ÃberprÃfen. Der Windows-Programmierer meint, er wÃrde 
zuerst alle Fenster schlieÃen, aussteigen, erneut einsteigen und dann alle Fenster 
wieder Ãffnen.

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




Re: strange error messages in tomcat log and mod_jk2 log

2003-12-15 Thread Chris Joelly
Hi!

thanx for your reply. hm. it's a very strange thing.

some questions:

are you running your application under heavy load?
are the responses very big in size?
do you use the apache2/mod_jk2/tomcat4 config on a windows nt4 box?
does a dialogbox appear on the server with an error message stateing
that the apache.exe caused an internal error, and after pressing Ok the
apache2 server continues to run?

maybe we can find some similarities.

we have no idea what direction to look for, and the problem is very
critical because a very big application is crashing every few minutes,
so a production environment couldn't be setup... :-((

thx, Chris

Am Fri, Dec 12, 2003 at 01:46:13PM +0200, Altankov Peter meinte:
> Hi!
> Im gettting a similar traces in catalina.out:
> 
> Dec 11, 2003 8:00:03 PM org.apache.jk.server.JkCoyoteHandler action
> SEVERE: Error in action code
> java.net.SocketException: Broken pipe
> at java.net.SocketOutputStream.socketWrite0(Native Method)
> at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
> at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
> at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457)
> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654)
> at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:435)
> at org.apache.coyote.Response.action(Response.java:222)
> at org.apache.coyote.Response.finish(Response.java:343)
> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:314)
> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
> at 
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
> at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
> at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
> at java.lang.Thread.run(Thread.java:536)
> 
> Acompanied with this in mod_jk.log:
> [Thu Dec 11 20:38:39 2003]  [jk_ajp13_worker.c (381)]: Error ajp13_process_callback 
> - write failed
> (in my config they run on separate UNIX boxes and unfortunately the one is 38 
> minutes ahead in time )
> 
> I have no clue what might be causing it. Posted it coupleof times but got no 
> comments.
> Although my tomcat don?t seem to crash, I don?t consider it?s a normal situation.
> 
> Any ideas someone?
> Thanks in advance!

-- 
mit freundlichen Grüßen / with kind regards
 
Ing. Christian Jölly @ Solutions
unycom  Information Technology Services GmbH
A-8042 Graz | Schmiedlstraße 1 / III

Tel: ++43 (0)316 / 818 828 - 30
Fax: ++43 (0)316 / 818 828 - 38
[EMAIL PROTECTED]
http://www.unycom.com

Ein Physiker, ein Mathematiker und ein Windows-Programmierer fahren in
einem Auto, als dieses plötzlich der Geist aufgibt. Der Physiker
schlägt vor, mal das Benzin zu kontrollieren.  Der Mathematiker sagt,
er verstehe nicht viel von Autos, aber man solle mal das Kühlwasser
überprüfen. Der Windows-Programmierer meint, er würde zuerst alle
Fenster schließen, aussteigen, erneut einsteigen und dann alle
Fenster wieder öffnen.

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



RE: strange error messages in tomcat log and mod_jk2 log

2003-12-12 Thread Altankov Peter
Hi!
Im gettting a similar traces in catalina.out:

Dec 11, 2003 8:00:03 PM org.apache.jk.server.JkCoyoteHandler action
SEVERE: Error in action code
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654)
at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:435)
at org.apache.coyote.Response.action(Response.java:222)
at org.apache.coyote.Response.finish(Response.java:343)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:314)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
at java.lang.Thread.run(Thread.java:536)

Acompanied with this in mod_jk.log:
[Thu Dec 11 20:38:39 2003]  [jk_ajp13_worker.c (381)]: Error ajp13_process_callback - 
write failed
(in my config they run on separate UNIX boxes and unfortunately the one is 38 minutes 
ahead in time )

I have no clue what might be causing it. Posted it coupleof times but got no comments.
Although my tomcat don’t seem to crash, I don’t consider it’s a normal situation.

Any ideas someone?
Thanks in advance!


-Original Message-
From: Chris Joelly [mailto:[EMAIL PROTECTED] 
Sent: 11 Декември 2003 г. 12:30
To: [EMAIL PROTECTED]
Subject: strange error messages in tomcat log and mod_jk2 log


Hello!

i found some strange error messages in both tomcat log and mod_jk2 log and i can't 
figure out whats going on:

tomcat log:

Dec 10, 2003 11:40:58 AM org.apache.jk.server.JkCoyoteHandler action

SEVERE: Error in action code

java.net.SocketException: Software caused connection abort: socket write error

 at java.net.SocketOutputStream.socketWrite0(Native Method)
 at java.net.SocketOutputStream.socketWrite (SocketOutputStream.java:92)
 at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
 at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:407)
 at org.apache.jk.common.ChannelSocket.invoke (ChannelSocket.java:599)
 at org.apache.jk.server.JkCoyoteHandler.action (JkCoyoteHandler.java:385)
 at org.apache.coyote.Response.action(Response.java:222)
 at org.apache.coyote.Response.finish(Response.java:343)
 at org.apache.coyote.tomcat4.OutputBuffer.close (OutputBuffer.java:326)
 at org.apache.coyote.tomcat4.CoyoteResponse.finishResponse 
(CoyoteResponse.java:500)
 at org.apache.coyote.tomcat4.CoyoteAdapter.service 
(CoyoteAdapter.java:224)
 at org.apache.jk.server.JkCoyoteHandler.invoke (JkCoyoteHandler.java:263)
 at org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java:360)
 at org.apache.jk.common.ChannelSocket.invoke (ChannelSocket.java:604)
 at org.apache.jk.common.ChannelSocket.processConnection 
(ChannelSocket.java:562)
 at org.apache.jk.common.SocketConnection.runIt (ChannelSocket.java:679)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run 
(ThreadPool.java:619)
 at java.lang.Thread.run(Thread.java:536)

Dec 10, 2003 11:40:58 AM org.apache.jk.server.JkCoyoteHandler action

SEVERE: Error in action code

java.net.SocketException: Software caused connection abort: socket write error

 at java.net.SocketOutputStream.socketWrite0(Native Method)
 at java.net.SocketOutputStream.socketWrite (SocketOutputStream.java:92)
 at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
 at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:407)
 at org.apache.jk.common.ChannelSocket.invoke (ChannelSocket.java:599)
 at org.apache.jk.server.JkCoyoteHandler.action (JkCoyoteHandler.java:385)
 at org.apache.coyote.Response.action(Response.java:222)
 at org.apache.coyote.Response.finish(Response.java:343)
 at org.apache.jk.server.JkCoyoteHandler.invoke (JkCoyoteHandler.java:268)
 at org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java:360)
 at org.apache.jk.common.ChannelSocket.invoke (ChannelSocket.java:604)
 at org.apache.jk.common.ChannelSocket.processConnection 
(ChannelSocket.java:562)
 at org.apache.jk.common.SocketConnection.runIt (ChannelSocket.java:679)
 

Re: strange error messages in tomcat log and mod_jk2 log

2003-12-12 Thread Chris Joelly
Hello again!

has anybody expirienced the same error messages in his log files? i
can't figure out whats going on and need help soon, because the server
crashes very often :-| 

thxalot, Chris

-- 
mit freundlichen Grüßen / with kind regards
 
Ing. Christian Jölly @ Solutions
unycom  Information Technology Services GmbH
A-8042 Graz | Schmiedlstraße 1 / III

Tel: ++43 (0)316 / 818 828 - 30
Fax: ++43 (0)316 / 818 828 - 38
[EMAIL PROTECTED]
http://www.unycom.com

Wie man sein Kind nicht nennen sollte: 
  Otto Motor 

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



Re: Strange error message

2003-09-29 Thread Josh G
Jon Wingfield wrote:

Are you using Batik?

If so:
org.mozilla.javascript.Scriptable.class is found in the js.jar of the 
Batik 1.5 distribution. Have you deployed that jar?

HTH,

Jon
Yeah we eventually figured out it was a noclassdeffound error, of course 
if tomcat had actually told me it could have saved me half a day of 
tracking down queer errors (well there's one i tracked down, the other 
is too strange and I'm working around it).

Cheers,
-Josh
--
[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]


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


Re: Strange error message

2003-09-29 Thread Jon Wingfield
Are you using Batik?

If so:
org.mozilla.javascript.Scriptable.class is found in the js.jar of the 
Batik 1.5 distribution. Have you deployed that jar?

HTH,

Jon

Josh G wrote:

What does this mean?

javax.servlet.ServletException: org/mozilla/javascript/Scriptable

It's somehow getting out of a block of code encased in a try-catch of 
Exception, but of course doesn't give me a line number or any actual 
information, and com.mozilla.javascript.Scriptable isn't even a class, 
it's an interface.

Anyway, I've got no idea what's going on, and in a fair hurry to get it 
fixed. Any pointers much appreciated.

Cheers,
-Josh




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


RE: Strange error message

2003-09-29 Thread Shapira, Yoav

Howdy,
Is there a full stack trace or other messages in the log?  Could it
simply be a class not found exception for that interface, which is being
used by a 3rd party library your webapp relies upon?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Josh G [mailto:[EMAIL PROTECTED]
>Sent: Monday, September 29, 2003 2:36 AM
>To: [EMAIL PROTECTED]
>Subject: Strange error message
>
>What does this mean?
>
>javax.servlet.ServletException: org/mozilla/javascript/Scriptable
>
>It's somehow getting out of a block of code encased in a try-catch of
>Exception, but of course doesn't give me a line number or any actual
>information, and com.mozilla.javascript.Scriptable isn't even a class,
it's
>an interface.
>
>Anyway, I've got no idea what's going on, and in a fair hurry to get it
>fixed. Any pointers much appreciated.
>
>Cheers,
>-Josh
>
>--
>[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]
>
>
>
>-
>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]



RE: strange error

2003-07-08 Thread Haymes, Burton
STOP SENDING
ME E MAILS YOU GUYS HAVE THE WRONG PERSON PLEASE CONTACT TOMCAT
-Original Message-
From: BERND PIER [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 4:23 AM
To: Tomcat Users List
Subject: Re: strange error


what tomcat version did you use. i got a similary error when i shutdown 
an older version of tomcat something like 4.1.24 or so. i have installed 
the newest tomcat version and this works fine.
bernd
Bodycombe, Andrew schrieb:

>Sounds like you may have a corrupted .jar file.
>
>-Original Message-
>From: harsh [mailto:[EMAIL PROTECTED] 
>Sent: 08 July 2003 10:18
>To: Tomcat Users List
>Subject: strange error
>
>
>
>I ran the tomcat for second time and now when i try to stop
>it behaves like this..
>
>[EMAIL PROTECTED] bin]# ./shutdown.sh
>Guessing CATALINA_HOME from catalina.sh to ./..
>Setting CATALINA_HOME to ./..
>Using CLASSPATH:
>./../bin/bootstrap.jar:/usr/local/j2sdk1.4.0_01/lib/tools.jar
>Using CATALINA_BASE: ./..
>Using CATALINA_HOME: ./..
>Using JAVA_HOME: /usr/local/j2sdk1.4.0_01
>Exception during startup processing
>java.lang.reflect.InvocationTargetException
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9
>)
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l
>.java:25)
>at java.lang.reflect.Method.invoke(Method.java:324)
>   at java.lang.reflect.Method.invoke(Method.java:324)
>at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>Caused by: java.lang.ClassFormatError:
>org/apache/xerces/readers/DefaultEntityHandler$NullReader
>(Illegal Class name "java/lang/Exce`tion")
>at java.lang.ClassLoader.defineClass0(Native Method)
>at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
>   at
>java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
>at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
>at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
>at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
>at java.security.AccessController.doPrivileged(Native Method)
>at
>org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
>at org.apache.catalina.startup.Catalina.stop(Catalina.java:817)
>at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
>at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>   
>and more like thisIf someone could understand the possible cause..
>
>regards.
>
>---
-
>--
>harsh
>http://www.cse.iitb.ac.in/~harsh
>---
-
>--
>
>
>
>
>-
>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: strange error

2003-07-08 Thread BERND PIER
what tomcat version did you use. i got a similary error when i shutdown 
an older version of tomcat something like 4.1.24 or so. i have installed 
the newest tomcat version and this works fine.
bernd
Bodycombe, Andrew schrieb:

Sounds like you may have a corrupted .jar file.

-Original Message-
From: harsh [mailto:[EMAIL PROTECTED] 
Sent: 08 July 2003 10:18
To: Tomcat Users List
Subject: strange error



I ran the tomcat for second time and now when i try to stop
it behaves like this..
[EMAIL PROTECTED] bin]# ./shutdown.sh
Guessing CATALINA_HOME from catalina.sh to ./..
Setting CATALINA_HOME to ./..
Using CLASSPATH:
./../bin/bootstrap.jar:/usr/local/j2sdk1.4.0_01/lib/tools.jar
Using CATALINA_BASE: ./..
Using CATALINA_HOME: ./..
Using JAVA_HOME: /usr/local/j2sdk1.4.0_01
Exception during startup processing
java.lang.reflect.InvocationTargetException
   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 java.lang.reflect.Method.invoke(Method.java:324)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Caused by: java.lang.ClassFormatError:
org/apache/xerces/readers/DefaultEntityHandler$NullReader
(Illegal Class name "java/lang/Exce`tion")
   at java.lang.ClassLoader.defineClass0(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
   at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
   at java.security.AccessController.doPrivileged(Native Method)
   at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
   at org.apache.catalina.startup.Catalina.stop(Catalina.java:817)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:179)

and more like thisIf someone could understand the possible cause..
regards.


--
harsh
http://www.cse.iitb.ac.in/~harsh

--


-
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: strange error

2003-07-08 Thread Bodycombe, Andrew
Sounds like you may have a corrupted .jar file.

-Original Message-
From: harsh [mailto:[EMAIL PROTECTED] 
Sent: 08 July 2003 10:18
To: Tomcat Users List
Subject: strange error



I ran the tomcat for second time and now when i try to stop
it behaves like this..

[EMAIL PROTECTED] bin]# ./shutdown.sh
Guessing CATALINA_HOME from catalina.sh to ./..
Setting CATALINA_HOME to ./..
Using CLASSPATH:
./../bin/bootstrap.jar:/usr/local/j2sdk1.4.0_01/lib/tools.jar
Using CATALINA_BASE: ./..
Using CATALINA_HOME: ./..
Using JAVA_HOME: /usr/local/j2sdk1.4.0_01
Exception during startup processing
java.lang.reflect.InvocationTargetException
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 java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Caused by: java.lang.ClassFormatError:
org/apache/xerces/readers/DefaultEntityHandler$NullReader
(Illegal Class name "java/lang/Exce`tion")
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:817)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)

and more like thisIf someone could understand the possible cause..

regards.


--
harsh
http://www.cse.iitb.ac.in/~harsh

--




-
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: Strange error for a new user...

2003-03-04 Thread Wendy Smoak
Barry wrote:
> G:\Tomcat 4.1\work\Standalone\localhost\_\begjsp3\process_jsp.java:64:
cannot resolve symbol
> symbol  : method getParamenterValues (java.lang.String)
> location: interface javax.servlet.http.HttpServletRequest
> String[] toppings = request.getParamenterValues("toppings");
> ^
> 1 error

Looks to me like you've misspelled 'Parameters'.  Assuming there _is_ a
getParameters method... I've only ever used getParameter.

-- 
Wendy Smoak


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

RE: Strange error message - need help

2003-02-13 Thread Ralph Einfeldt
I can see just one attachment with the unsubscribe 
info of the tomcat list but no web.xml. (Unless my 
mailreader is doing something strange)

> -Original Message-
> From: Heger, Karlheinz [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 13, 2003 12:54 PM
> To: '[EMAIL PROTECTED]'
> Subject: Strange error message - need help
> 
> I attach my web.xml file. As far as I can check against 
> documentation it should be o.k..
> 

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




RE: Strange error

2003-02-10 Thread Felipe Schnack
  I was wrongly reusing the statement, and in a specific situation I was
closing it too... thank you all for your tips :-)

On Mon, 2003-02-10 at 12:57, Andy Eastham wrote:
> Felipe,
> 
> Just one additional idea:
> 
> Are you executing another command on the same connection?  This destroys the
> result set.
> 
> Eg, if you are trying to loop over the result set, and are using the same
> connection to do an update or delete on this or another table, you will get
> this sort of error.
> 
> Andy
> > -Original Message-
> > From: Sean Dockery [mailto:[EMAIL PROTECTED]]
> > Sent: 10 February 2003 14:04
> > To: Tomcat Users List
> > Subject: Re: Strange error
> >
> >
> > Either your database connection is timing out or else you are
> > trying to use
> > a ResultSet obtained from a Statement which, in turn, was obtained from a
> > Connection which you have closed yourself.
> >
> > Sean Dockery
> > [EMAIL PROTECTED]
> > Certified Java Web Component Developer
> > Certified Delphi Programmer
> > SBD Consultants
> > http://www.sbdconsultants.com
> >
> > - Original Message -
> > From: "Felipe Schnack" <[EMAIL PROTECTED]>
> > To: "pgsql-jdbc" <[EMAIL PROTECTED]>; "Tomcat Users List"
> > <[EMAIL PROTECTED]>
> > Sent: Monday, February 10, 2003 04:45
> > Subject: Strange error
> >
> >
> >   Please, somebody can help me? I'm getting this error message and I
> > don't know why... I'm using PostgreSQL 7.3 and Tomcat 4.1.18 connection
> > pooling mechanism
> >
> > Connection is closed.  Operation is not permitted.
> > at
> > org.postgresql.jdbc1.AbstractJdbc1ResultSet.next(AbstractJdbc1Resu
> > ltSet.java
> > :63)
> > at
> > org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java)
> > at com.w2.infra.db.DbVector.next(DbVector.java:141)
> >
> > --
> >
> > Felipe Schnack
> > Analista de Sistemas
> > [EMAIL PROTECTED]
> > Cel.: (51)91287530
> > Linux Counter #281893
> >
> > Centro Universitário Ritter dos Reis
> > http://www.ritterdosreis.br
> > [EMAIL PROTECTED]
> > Fone/Fax.: (51)32303341
> >
> >
> > -
> > 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]
> 
-- 

Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893

Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341


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




RE: Strange error

2003-02-10 Thread Andy Eastham
Felipe,

Just one additional idea:

Are you executing another command on the same connection?  This destroys the
result set.

Eg, if you are trying to loop over the result set, and are using the same
connection to do an update or delete on this or another table, you will get
this sort of error.

Andy
> -Original Message-
> From: Sean Dockery [mailto:[EMAIL PROTECTED]]
> Sent: 10 February 2003 14:04
> To: Tomcat Users List
> Subject: Re: Strange error
>
>
> Either your database connection is timing out or else you are
> trying to use
> a ResultSet obtained from a Statement which, in turn, was obtained from a
> Connection which you have closed yourself.
>
> Sean Dockery
> [EMAIL PROTECTED]
> Certified Java Web Component Developer
> Certified Delphi Programmer
> SBD Consultants
> http://www.sbdconsultants.com
>
> - Original Message -
> From: "Felipe Schnack" <[EMAIL PROTECTED]>
> To: "pgsql-jdbc" <[EMAIL PROTECTED]>; "Tomcat Users List"
> <[EMAIL PROTECTED]>
> Sent: Monday, February 10, 2003 04:45
> Subject: Strange error
>
>
>   Please, somebody can help me? I'm getting this error message and I
> don't know why... I'm using PostgreSQL 7.3 and Tomcat 4.1.18 connection
> pooling mechanism
>
> Connection is closed.  Operation is not permitted.
> at
> org.postgresql.jdbc1.AbstractJdbc1ResultSet.next(AbstractJdbc1Resu
> ltSet.java
> :63)
> at
> org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java)
> at com.w2.infra.db.DbVector.next(DbVector.java:141)
>
> --
>
> Felipe Schnack
> Analista de Sistemas
> [EMAIL PROTECTED]
> Cel.: (51)91287530
> Linux Counter #281893
>
> Centro Universitário Ritter dos Reis
> http://www.ritterdosreis.br
> [EMAIL PROTECTED]
> Fone/Fax.: (51)32303341
>
>
> -
> 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: Strange error

2003-02-10 Thread Shapira, Yoav
Howdy,
Make sure not to release a connection before you're done processing result sets ;)  
Same thing for closing statements, etc.


Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Felipe Schnack [mailto:[EMAIL PROTECTED]]
>Sent: Monday, February 10, 2003 6:45 AM
>To: pgsql-jdbc; Tomcat Users List
>Subject: Strange error
>
>  Please, somebody can help me? I'm getting this error message and I
>don't know why... I'm using PostgreSQL 7.3 and Tomcat 4.1.18 connection
>pooling mechanism
>
>Connection is closed.  Operation is not permitted.
>   at
>org.postgresql.jdbc1.AbstractJdbc1ResultSet.next(AbstractJdbc1ResultSet.jav
>a:63)
>   at
>org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java)
>   at com.w2.infra.db.DbVector.next(DbVector.java:141)
>
>--
>
>Felipe Schnack
>Analista de Sistemas
>[EMAIL PROTECTED]
>Cel.: (51)91287530
>Linux Counter #281893
>
>Centro Universitário Ritter dos Reis
>http://www.ritterdosreis.br
>[EMAIL PROTECTED]
>Fone/Fax.: (51)32303341
>
>
>-
>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: Strange error

2003-02-10 Thread Sean Dockery
Either your database connection is timing out or else you are trying to use
a ResultSet obtained from a Statement which, in turn, was obtained from a
Connection which you have closed yourself.

Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com

- Original Message -
From: "Felipe Schnack" <[EMAIL PROTECTED]>
To: "pgsql-jdbc" <[EMAIL PROTECTED]>; "Tomcat Users List"
<[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 04:45
Subject: Strange error


  Please, somebody can help me? I'm getting this error message and I
don't know why... I'm using PostgreSQL 7.3 and Tomcat 4.1.18 connection
pooling mechanism

Connection is closed.  Operation is not permitted.
at
org.postgresql.jdbc1.AbstractJdbc1ResultSet.next(AbstractJdbc1ResultSet.java
:63)
at
org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java)
at com.w2.infra.db.DbVector.next(DbVector.java:141)

--

Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893

Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341


-
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: Strange error when importing class in JSP under TC4.1.18

2003-01-18 Thread Craig R. McClanahan


On Sat, 18 Jan 2003, Charles So wrote:

> Date: Sat, 18 Jan 2003 20:50:21 +0800
> From: Charles So <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Strange error when importing class in JSP under TC4.1.18
>
> Dear all,
>
> I am tearing my hair out trying to solve this problem... it seems to be
> a problem with TC.
>

If you're running JDK 1.4.1 or later, it's not Tomcat -- it's the JDK that
doesn't like this.

JDK 1.4.1 tightened up rules that have always been in the Java Language
Specification (but never enforced by javac) that you can't import an
unpackaged class.  That's exactly what you are trying to do here.

Place your classes in packages and they'll work fine.

Craig


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Strange Error

2002-09-05 Thread Rob Grundel

I'm not sure if this sheds any light on the situation...BUT...
I am running this servlet on another server and I just installed all the
components onto the new server and now it will only work if I type in the
path into the browser but not if a form action OR a redirect.

We are testing on multiple browsers. But thank you. :)

Robbie Grundel


=== 
This email may be confidential and/or privileged. Only the intended
recipient may access or use it. 
We use virus scanning software but exclude all liability for viruses or
similar in any attachment. 
Copyright in this email and any document created by Pitt & Sherry Consulting
Engineers will 
remain vested in Pitt & Sherry Consulting Engineers and will not transfer to
you. 
If you have received this email by mistake, please telephone (613) 6323 1900
(reverse charges), 
or forward message to [EMAIL PROTECTED] 
=== 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Strange Error

2002-09-05 Thread Randall R Schulz

Rob,

If you don't want to use a better browser, you should at least reconfigure 
your IE to give you more complete and accurate error mesages. I'm sure the 
method varies from version to version of Windows and IE, but I'll tell you 
how it's done on Win2K Pro with IE 6:

Open your "Internet Properties" control panel. This can be done in the 
"Control Panel" folder in a Windows Explorer windo or via the "Control 
Panel" sub-menu in your system's "Start" menu.

Once you have the "Internet Properties" control panel open, switch to the 
"Advanced" tab (the right-most one). Look for the option "Show friendly 
HTTP error messages" and disable it. What's friendly to a real person is 
not necessarily friendly to a S/W developer...

If that doesn't disclose enough information to solve the problem, report 
back with more detailed error messages.

By the way, if you're developing software for general public release or for 
release to a user community not under some sort of single-browser dictate, 
you should test your software with a variety of browsers. I use Netscape 
4.7x, Mozilla and Opera and IE. That's a rather minimal set, actually. For 
Mac users, there's iCab, too and in general there's a larger set of 
browsers than many people realize. At least test on a few unless you know 
your user community is using a restricted set of browsers.

Good luck.

Randall Schulz


At 19:17 2002-09-05, Rob Grundel wrote:
>Hi,
>
>I am having a very strange error @ the moment where I can access a servlet
>on Tomcat (4.0.4 Standalone on WinNT) by directly typing the address of the
>servlet into a web browser however if I access the servlet as a form
>processor (action on a form) the browser tells me that "The page cannot be
>displayed." (standard IE error)
>
>I have checked everything in the web.xml file over and over again. Has
>anybody else had this problem. Is it to do with host names. Please get back
>to me quickly. It is kind of urgent.
>
>Cheers
>
>Rob Grundel
>Software Engineer
>Pitt & Sherry IT
>[EMAIL PROTECTED]
>ph: (03) 63231931
>mob ph: 0417762243
>
>
>
>===
>This email may be confidential and/or privileged. Only the intended
>recipient may access or use it.
>We use virus scanning software but exclude all liability for viruses or
>similar in any attachment.
>Copyright in this email and any document created by Pitt & Sherry Consulting
>Engineers will
>remain vested in Pitt & Sherry Consulting Engineers and will not transfer to
>you.
>If you have received this email by mistake, please telephone (613) 6323 1900
>(reverse charges),
>or forward message to [EMAIL PROTECTED]
>===
>
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 


Randy 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Strange Error

2002-09-05 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Sep 06, 2002 at 12:17:02PM +1000, Rob Grundel wrote:
> Hi,

hello.

> I am having a very strange error @ the moment where I can access a servlet
> on Tomcat (4.0.4 Standalone on WinNT) by directly typing the address of the
> servlet into a web browser however if I access the servlet as a form
> processor (action on a form) the browser tells me that "The page cannot be
> displayed." (standard IE error)

this is not very helpful.  i would suggest you use a browser that
doesn't hide errors.  also, what do the logs say?

stab in the dark:  you defined doget() in your servlet but not
dopost() and your form does a post.  stab #1: if you have defined
dopost() perhaps there is an error in it.  we would have to see your
logs to tell you anything more.

> === 
> This email may be confidential and/or privileged. Only the intended
> recipient may access or use it. 
> We use virus scanning software but exclude all liability for viruses or
> similar in any attachment. 
> Copyright in this email and any document created by Pitt & Sherry Consulting
> Engineers will 
> remain vested in Pitt & Sherry Consulting Engineers and will not transfer to
> you. 
> If you have received this email by mistake, please telephone (613) 6323 1900
> (reverse charges), 
> or forward message to [EMAIL PROTECTED] 
> === 

and after reading that, i don't know if i really want to help you any
more.  this is considered impolite on a mailing list.  perhaps your
employer makes this manditory.  perhaps you should persuade them
otherwise.

- -- 
Peter Abplanalp
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9eBusggA8sH0iRXQRAkcKAJ4/55wjoQx/geyblNhtO11WqlJZiwCfVAaB
c6Z+Z9mxiXhqfLIfc541Vo4=
=bCzU
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: strange error..

2002-03-27 Thread Randy Layman


Am I correct that your "servlet" doesn't extend
javax.servlet.Servlet or javax.servlet.http.HttpServlet?  If so, that is
your problem - servlets must extend Servlet or one of its subclasses.

Randy

> -Original Message-
> From: Shashank [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 27, 2002 11:17 AM
> To: Tomcat Users List
> Subject: strange error..
> 
> 
> Hi !
> 
> I have a servlet "A", that extends an abstract class that extends 
> another class.
> 
> I checked out every piece of code executing is correct.
> 
> but when I create an object of this class A, it gives trange error,
> 
> java.lang.ClassCastException: [Ljava.lang.Object;
> at 
> com.sun.j2ee.blueprints.petstore.control.web.handlers.CartHandler.cre
> atePurchaseItemEvent(CartHandler.java:150)
> 
> What kind of error is this, I am puzzled ??
> 
> take care,
> Shashank
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: strange error

2001-12-14 Thread Peter Georgiou

Hi

I don't know how this error appeared.  I'm running Tomcat 4 on win2k, and I
get the following error in my console when I start tomcat:

Starting service Tomcat-Standalone
Apache Tomcat/4.0
ERROR reading java.io.FileInputStream@7a29a1
At Line 57 /web-app/servlet/

Starting service Tomcat-Apache
Apache Tomcat/4.0

Toncat runs, but does not work, can someone please help me with this?

Thanks

Peter



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Strange Error at JspParseEventListener.java:1146

2001-10-31 Thread Larry Isaacs

This error doesn't show where the real error is.  The
JspParseEventListener.processTaglibDirective() suggests there
is a problem related to a tag library your web application is
using.  My guess is that "java.lang.AbstractMethodError"
means the problem probably isn't in the JSP page being
invoked.  Perhaps you could start with a blank JSP page
and start adding stuff from the one that doesn't work and
see at what point it stops working.  Hopefully that will
give you a clue about where the problem is.

Larry

> -Original Message-
> From: Tegid [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 31, 2001 12:28 PM
> To: [EMAIL PROTECTED]
> Subject: Strange Error at JspParseEventListener.java:1146
> 
> 
> I recently installed and configured Apache and Tomcat with 
> the rule that
> all jsp pages get forwarded to Tomcat.  I brought up the examples and
> everything worked fine.  However, when I attempted to deploy an
> application that is being worked on I got the error:
> 
> Internal Servlet Error:
> java.lang.AbstractMethodError
> at
> org.apache.jasper.compiler.JspParseEventListener.processTaglib
> Directive(JspParseEventListener.java:1146)
> at
> org.apache.jasper.compiler.JspParseEventListener.handleDirecti
> ve(JspParseEventListener.java:755)
> at
> org.apache.jasper.compiler.DelegatingListener.handleDirective(
> DelegatingListener.java:121)
> at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:243)
> at org.apache.jasper.compiler.Parser.parse(Parser.java:1126)
> at org.apache.jasper.compiler.Parser.parse(Parser.java:1091)
> at org.apache.jasper.compiler.Parser.parse(Parser.java:1087)
> at
> org.apache.jasper.compiler.ParserController.parse(ParserContro
> ller.java:213)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
> at
> org.apache.tomcat.facade.JasperLiaison.jsp2java(JspInterceptor
> .java:690)
> at
> org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInter
> ceptor.java:631)
> at
> org.apache.tomcat.facade.JspInterceptor.requestMap(JspIntercep
> tor.java:446)
> at
> org.apache.tomcat.core.ContextManager.processRequest(ContextMa
> nager.java:968)
> at
> org.apache.tomcat.core.ContextManager.internalService(ContextM
> anager.java:875)
> at 
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
> at
> org.apache.tomcat.modules.server.Ajp13Interceptor.processConne
> ction(Ajp13Interceptor.java:213)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:477)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:519)
> at java.lang.Thread.run(Thread.java:484)
> 
> (sorry about the length)
> 
> I'm really not sure where this is coming from.  We had everything
> installed on Tomcat 1.2 and with this install moved to 1.3.
> 
> I'd appreciate any help that I could get.
> 
> Thanks,
> 
> Trevor Vaughan
> 
> <->
> "How many Prolog programmers does it take to change a lightbulb?"
> "No."
> 
> 
> --
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Strange error

2001-02-27 Thread Alex Fernández

This is the Tomcat-user list, perhaps you should try on the JavaWebServer-user
list.

Un saludo,

Alex.

Shailendra wrote:

> hi
>
> no ans for my question.
> nobody know the solution...
> nobody want to help ...
> please
> if you know somthing please mail
>
> shailendra
>
> - Original Message -
> From: Shailendra <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 26, 2001 10:48 AM
> Subject: Strange error
>
> > hi
> >
> > i am using javawebserver2.0 with patch3
> > i have written some jsp pages all are working fine except one.
> > In that one the servlet ingine create the java file but not able to crete
> a
> > class file for that and it doesnt give any error on java webserver console
> > in browser it shows internal server error code 500.
> > So i manually go to the directory
> >
> >
> C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_examples\_jsp\_samples\_
> > myfolder>
> >
> > and givinen javac _myfile.java
> > (_myfile.java is created by JSP ingine)
> >
> > this will lead to successful compilation of java file, after that when i
> > invoke the jsp file it works fine
> >
> > so please can any body help me to overcome the problem
> >
> > that file is working perfectlly in JSWDK1-2-1 and even in javawebserver
> > except not able to create class file when i made changes in jsp file(even
> > for first time).
> >
> > i tried this without patch also but fails to overcome.
> >
> > is there anybody  for help..?
> >
> >
> > shailendra
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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




Re: Strange error

2001-02-27 Thread Shailendra

Chris Haynes
soory
i could not understand your ans.

have you checked the file permissions on the .class file?
where to check ?
what to check for .class permission?

in this jsp i am not dealing with file system of server


shailendra   


- Original Message - 
From: Chris Haynes <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 5:39 PM
Subject: Re: Strange error


> Shailendra,
> Have you checked the file permissions on the .class file?
> Could be that you have permission to write to this file when you do it
> manually ,
> but the user associated with the JWS does not have write permission.
> 
> Chris Haynes
> Evesham,
> England
> 
> 
> - Original Message -
> From: "Shailendra" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 01, 1997 2:42 AM
> Subject: Re: Strange error
> 
> 
> > hi
> >
> > no ans for my question.
> > nobody know the solution...
> > nobody want to help ...
> > please
> > if you know somthing please mail
> >
> > shailendra
> >
> > - Original Message -
> > From: Shailendra <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, February 26, 2001 10:48 AM
> > Subject: Strange error
> >
> >
> > > hi
> > >
> > > i am using javawebserver2.0 with patch3
> > > i have written some jsp pages all are working fine except one.
> > > In that one the servlet ingine create the java file but not able
> to crete
> > a
> > > class file for that and it doesnt give any error on java webserver
> console
> > > in browser it shows internal server error code 500.
> > > So i manually go to the directory
> > >
> > >
> >
> C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_examples\_jsp\_sam
> ples\_
> > > myfolder>
> > >
> > > and givinen javac _myfile.java
> > > (_myfile.java is created by JSP ingine)
> > >
> > > this will lead to successful compilation of java file, after that
> when i
> > > invoke the jsp file it works fine
> > >
> > > so please can any body help me to overcome the problem
> > >
> > > that file is working perfectlly in JSWDK1-2-1 and even in
> javawebserver
> > > except not able to create class file when i made changes in jsp
> file(even
> > > for first time).
> > >
> > > i tried this without patch also but fails to overcome.
> > >
> > > is there anybody  for help..?
> > >
> > >
> > > shailendra
> > >
> > >
> >
> > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, email:
> [EMAIL PROTECTED]
> >
> >
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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




Re: Strange error

2001-02-27 Thread Chris Haynes

Shailendra,
Have you checked the file permissions on the .class file?
Could be that you have permission to write to this file when you do it
manually ,
but the user associated with the JWS does not have write permission.

Chris Haynes
Evesham,
England


- Original Message -
From: "Shailendra" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 01, 1997 2:42 AM
Subject: Re: Strange error


> hi
>
> no ans for my question.
> nobody know the solution...
> nobody want to help ...
> please
> if you know somthing please mail
>
> shailendra
>
> - Original Message -
> From: Shailendra <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 26, 2001 10:48 AM
> Subject: Strange error
>
>
> > hi
> >
> > i am using javawebserver2.0 with patch3
> > i have written some jsp pages all are working fine except one.
> > In that one the servlet ingine create the java file but not able
to crete
> a
> > class file for that and it doesnt give any error on java webserver
console
> > in browser it shows internal server error code 500.
> > So i manually go to the directory
> >
> >
>
C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_examples\_jsp\_sam
ples\_
> > myfolder>
> >
> > and givinen javac _myfile.java
> > (_myfile.java is created by JSP ingine)
> >
> > this will lead to successful compilation of java file, after that
when i
> > invoke the jsp file it works fine
> >
> > so please can any body help me to overcome the problem
> >
> > that file is working perfectlly in JSWDK1-2-1 and even in
javawebserver
> > except not able to create class file when i made changes in jsp
file(even
> > for first time).
> >
> > i tried this without patch also but fails to overcome.
> >
> > is there anybody  for help..?
> >
> >
> > shailendra
> >
> >
>
> 
-
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email:
[EMAIL PROTECTED]
>
>
> 
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


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




Re: Strange error

2001-02-27 Thread Shailendra

hi

no ans for my question.
nobody know the solution...
nobody want to help ...
please
if you know somthing please mail

shailendra

- Original Message -
From: Shailendra <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 26, 2001 10:48 AM
Subject: Strange error


> hi
>
> i am using javawebserver2.0 with patch3
> i have written some jsp pages all are working fine except one.
> In that one the servlet ingine create the java file but not able to crete
a
> class file for that and it doesnt give any error on java webserver console
> in browser it shows internal server error code 500.
> So i manually go to the directory
>
>
C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_examples\_jsp\_samples\_
> myfolder>
>
> and givinen javac _myfile.java
> (_myfile.java is created by JSP ingine)
>
> this will lead to successful compilation of java file, after that when i
> invoke the jsp file it works fine
>
> so please can any body help me to overcome the problem
>
> that file is working perfectlly in JSWDK1-2-1 and even in javawebserver
> except not able to create class file when i made changes in jsp file(even
> for first time).
>
> i tried this without patch also but fails to overcome.
>
> is there anybody  for help..?
>
>
> shailendra
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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




RE: strange Error 404

2000-10-31 Thread Wyn Easton

I would remove the original WebAppA's work
(%TOMCAT_HOME%\work\yourWebAppA)directory to be sure you are not
picking-up anything from there. Do this before you restart Tomcat after
you have done your directory renames.

--- Wolfgang Egger <[EMAIL PROTECTED]> wrote:
> Servus Wyn,
> 
> first thanx for your answer.
> 
> > -Original Message-
> > I'm sure the problem is with the URL used to access the servlet of
> > WebAppB.
> 
> I don't think so, because of the following behaviour:
> 
> Our WebServerDirStructure looks like this
> 
> /websites/WebAppA
> /websites/WebAppA/WEB-INF
> /websites/WebAppA/WEB-INF/classes
> ...
> /websites/WebAppB
> /websites/WebAppB/WEB-INF
> /websites/WebAppB/WEB-INF/classes
> ...
> 
> as written in my first mail the whole site WebAppA is working as
> expected,
> the WebAppB only shows Error 404
> If I remove /websites/WebAppA
> 
> and rename /websites/WebAppB with /websites/WebAppA,
> the whole WebAppB is working (with the URR bla/WebAppA/fasel)
> 
> Because of this I assume, that something in the configuration of
> tomcat
> doesn't like WebAppB.
> I have done a grep "WebAppA tomcat/conf/*" and a "grep WebAppB
> tomcat/conf/*".
> The result is, that all entries for WebAppA are the same as the
> entries for
> WebAppB. Near the same, because the string WebAppA is replaced by
> WebAppB in
> each entry.
> 
> Are there any other locations apart from tomcat/conf, where I have to
> do
> some configuration respectively WebAppB.
> 
> Greetings from Berlin
> 
>   Wolfgang
> 


=
Wyn Easton
[EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/



RE: strange Error 404

2000-10-30 Thread Wolfgang Egger

Servus Wyn,

first thanx for your answer.

> -Original Message-
> I'm sure the problem is with the URL used to access the servlet of
> WebAppB.

I don't think so, because of the following behaviour:

Our WebServerDirStructure looks like this

/websites/WebAppA
/websites/WebAppA/WEB-INF
/websites/WebAppA/WEB-INF/classes
...
/websites/WebAppB
/websites/WebAppB/WEB-INF
/websites/WebAppB/WEB-INF/classes
...

as written in my first mail the whole site WebAppA is working as expected,
the WebAppB only shows Error 404
If I remove /websites/WebAppA

and rename /websites/WebAppB with /websites/WebAppA,
the whole WebAppB is working (with the URR bla/WebAppA/fasel)

Because of this I assume, that something in the configuration of tomcat
doesn't like WebAppB.
I have done a grep "WebAppA tomcat/conf/*" and a "grep WebAppB
tomcat/conf/*".
The result is, that all entries for WebAppA are the same as the entries for
WebAppB. Near the same, because the string WebAppA is replaced by WebAppB in
each entry.

Are there any other locations apart from tomcat/conf, where I have to do
some configuration respectively WebAppB.

Greetings from Berlin

  Wolfgang




Re: strange Error 404

2000-10-30 Thread Wyn Easton

I'm sure the problem is with the URL used to access the servlet of
WebAppB.
Look at the Tomcat output after you get the first 404 error.
That should show you how Tomcat is trying to find the servlet.
The Tomcat output will show the "context" + "pasted in URL".
If your servlet is not at the combination of those two items,
it will not be found.
You could map your servlets if you want share them from one web app.
to another.


> we have two WebApps. They both use the same java-classes, only the
> *.html
> are different.
> 
> Both WebApps are installed with ant, both AebApps resp. their
> docbases are
> showing right entries when viewing them with bla:8080/admin. Runing
> diff and
> compairing /webAppA/WEB-INF/classes and
> /webAppB/WEB-INF/classes
> shows, that both paths have the same content or subdirs.
> 
> WebAppA is running as expected. All JSPs are compiled and started,
> same with
> sevlets.
> WebAppB is causing an Error 404 with the first servlet and only the
> *.html
> were found.
> 
> Does anyone have any idea, what is going wrong there?
> 
> Thanx in advance and have a nice day
> 
>Wolfgang
> 


=
Wyn Easton
[EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/