Page timeout displaying database rows

2005-09-02 Thread Dave Kennedy
Env:
Linux: 
Apache 1.3.33
Tomcat 4.1.30
MySql  4.1.10

There is a page member_list.jsp which displays a grid of members.
After 20/75 members are displayed, html is displayed:
a class=CobaltDataLink
href=MemberMaint.jsp?fMemberID=83s_fStatusName=Activetype=notLoggedr
et_link=%2FtmJ%2Fme

This page was working!
- it seems to be an Apache/Tomcat config issue
Any tips on where to look?
Setting connectionTimeout=0 removes the message from Catalina.out, but
the page still does not display correctly.

!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=2
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/


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



Unable to compile class for JSP

2005-01-11 Thread Dave Kennedy
Hi,
 
This web page displays correctly
http://www.dksy.net:8080/examples/jsp/num/numguess.jsp

but all of the other examples on this page display the error below:
http://www.dksy.net:8080/examples/jsp/index.html
 
org.apache.jasper.JasperException: Unable to compile class for JSP
 
An error occurred at line: -1 in the jsp file: null
 
Generated servlet error:
[javac] Compiling 1 source file
.
 
Any help would be greatly appreciated


RE: Unable to compile class for JSP

2005-01-11 Thread Dave Kennedy
Server Env:
 Apache Tomcat 4.1.30
 JVM 1.4.2_04-b05
 Linux


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



RE: Unable to compile class for JSP

2005-01-11 Thread Dave Kennedy
--- Nested Exception ---
java.io.IOException: java.io.IOException: Cannot allocate memory
at java.lang.UNIXProcess.init(UNIXProcess.java:143)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute
.java:836)
at
org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:479)
at
org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:490)
at
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeEx
ternalCompile(DefaultCompilerAdapter.java:486)
at
org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExter
nal.java:81)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:976)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799)
at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:473)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:190)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:492)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:242
2)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:163)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:82
8)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:700)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58
4)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:534)

-Original Message-
From: Dave Kennedy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 11, 2005 3:25 PM
To: tomcat-user@jakarta.apache.org
Subject: Unable to compile class for JSP

Hi,
 
This web page displays correctly
http

RE: Tomcat server.xml configuration

2004-11-08 Thread Dave Kennedy
Hi Yoav,
I need to use the Engine element to host multiple separate domains.
I have read the documentation, but my configuration doesn't work
properly.
Can you share a production Tomcat 4 server.xml file so that I can learn
from it?

Thanks,
Dave

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 08, 2004 5:25 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Tomcat server.xml configuration



Hi,

How is server.xml configured on a virtual private server (VPS) web
host.

Where should appBase point for the virtual hosts?

That depends on what exactly you mean.  There are a couple of ways to go
about this.  One is what you posted: an Engine element in server.xml
with numerous Hosts.  For this case each appBase should be the directory
where the user for the host is putting their webapps.

Another way is to use the user webapp feature, which lets you do things
like http://a.b.com/~user1 and http://a.b.com/~user2 served out of user1
and user2's public_html directories respectively.  There are other
configuration options as well: see the Host config reference section
titled User Web Applications at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html.  For
this case, the appBase doesn't matter much: leave it as Tomcat's default
most likely.

Yoav



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


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




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



Tomcat server.xml configuration

2004-11-06 Thread Dave Kennedy
Hi,
How is server.xml configured on a virtual private server (VPS) web host.

Where should appBase point for the virtual hosts?

Does anyone have a sample server.xml with this configuration?

Thanks in advance,
Dave

Engine name=Standalone defaultHost=localhost debug=0

  Host name=localhost appBase=webapps  
  /Host
  Host name=domain2.com appBase=?
  /Host
  Host name=domain1.com appBase=?
  /Host

/Engine


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



Need reseller hosting with Tomcat support

2004-10-07 Thread Dave Kennedy
Can anyone recommend a very reputable company that provides reliable
unix reseller hosting with knowledgeable Tomcat support?

Thanks in advance


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



Configure Tomcat to default to index.jsp

2004-07-06 Thread Dave Kennedy
How is Tomcat configured to default to index.jsp?

Here is a test app, but it is necessary to give the entire path:
  http://myhome.com/helloworld/index.jsp

instead of:
  http:// myhome.com/helloworld/

What needs to be configured on Linux and Windows XP?



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



Web Host Reseller package with Tomcat support

2004-06-25 Thread Dave Kennedy
I am looking for a basic Web Host Reseller package with at least:

 - JSP/Servlet Support (Tomcat)
 - PhpMyAdmin
 - MySQL Database 
 - PHP Support

As an example http://www.rimuhosting.com is probably more than I
require.



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