jspsmartupload

2002-07-07 Thread Brian Wolf

I am tryning to configure the "jspsmartupload" package.

Can anyone tell me what this might be caused by
-thanks , brian

Error: 500
Location: /examples/jsp/jspsmartupload/jsp/sample1.jsp
Internal Servlet Error:

javax.servlet.ServletException: Total File Size exceeded (1110).
 at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:461)
 at 
jsp.jspsmartupload.jsp._0002fjsp_0002fjspsmartupload_0002fjsp_0002fsample_00031_0002ejspsample1_jsp_0._jspService(_0002fjsp_0002fjspsmartupload_0002fjsp_0002fsample_00031_0002ejspsample1_jsp_0.java:125)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
 at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
 at java.lang.Thread.run(Thread.java:539)

Root cause: 
java.lang.SecurityException: Total File Size exceeded (1110).
 at com.jspsmart.upload.SmartUpload.upload(SmartUpload.java:310)
 at 
jsp.jspsmartupload.jsp._0002fjsp_0002fjspsmartupload_0002fjsp_0002fsample_00031_0002ejspsample1_jsp_0._jspService(_0002fjsp_0002fjspsmartupload_0002fjsp_0002fsample_00031_0002ejspsample1_jsp_0.java:99)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
 at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
 at java.lang.Thread.run(Thread.java:539)





newbie

2002-07-10 Thread Brian Wolf

Hi, 

I am trying to access my tomcat server from outside. I can access  locally fine,
as when I run the servlet examples.

Request Information Example
Method:  GET  
Request URI:  /examples/servlet/RequestInfoExample  
Protocol:  HTTP/1.1  
Path Info:  null  
Remote Address:  209.23.8.113  

However, when I try to access through the remote address, as is indicated ,

http://209.23.8.113/index.html  

I get cannot find server error

Thanks, Brian





Re: newbie

2002-07-10 Thread Brian Wolf

Thanks all, thanks John!

- Original Message -
From: "John Rishea" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 10, 2002 3:56 PM
Subject: RE: newbie


> Brian,
> I got to your default tomcat page just fine by using
> http://209.23.8.113:8080/index.html.  Tomcat, by default, listens on that
> port.
>
> __
> John Rishea
> Avaya Inc.
>
> -Original Message-
> From: Brian Wolf [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 10, 2002 1:45 PM
> To: [EMAIL PROTECTED]
> Subject: newbie
>
>
> Hi,
>
> I am trying to access my tomcat server from outside. I can access  locally
> fine,
> as when I run the servlet examples.
>
> Request Information Example
> Method:  GET
> Request URI:  /examples/servlet/RequestInfoExample
> Protocol:  HTTP/1.1
> Path Info:  null
> Remote Address:  209.23.8.113
>
> However, when I try to access through the remote address, as is indicated
,
>
> http://209.23.8.113/index.html
>
> I get cannot find server error
>
> Thanks, Brian
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



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




newbie

2002-07-11 Thread Brian Wolf

Hi,

Was wondering about classpath's for servlets?Location: /examples/servlet/lsapack
Internal Servlet Error:

java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Class.java:1581

 The other thing I don't understand is 
there is no directory /examples/servlet on my machine

-Brian




newbie - finding class files

2002-07-11 Thread Brian Wolf

Hi

I am having problems with  servlets finding class files. On Windows 98 
I have the classpath and path environmental variables set to c:\jdk1.4\bin 
and c:\jdk1.4 respectively. The Servlet works fine when converted to a
command line application.

-Brian

---
 

Error: 500
Location: /examples/servlet/processOptions
Internal Servlet Error:

java.lang.NoClassDefFoundError: com/sun/java/util/collections/AbstractSequentialList
 at org.jdom.input.SAXBuilder.createContentHandler(SAXBuilder.java)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java)





classes direcory

2002-07-12 Thread Brian Wolf

Hi 

My understanding is that all class files used by servlets in \webapps\examples
are stored and found in \webapps\examples\WEB-INF\classes. However, on my windows 98 
with Tomcat and I am calling this servlet:

C:\tomcat\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes

I have this class file located here:

C:\tomcat\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes\com\sun\java\util\collections\AbstractSequentialList.class

But I get this error:

Error: 500
Location: /examples/servlet/processOptions
Internal Servlet Error:

java.lang.NoClassDefFoundError: com/sun/java/util/collections/AbstractSequentialList
 at org.jdom.input.SAXBuilder.createContentHandler(SAXBuilder.java)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java)
 at processOptions.doPost(processOptions.java:83)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
 at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
 at java.lang.Thread.run(Thread.java:539)

Thanks, Brian




error 500

2002-07-13 Thread Brian Wolf

When I call this method (org.jdom.Element.getChildren()Ljava/util/List;)  directly in 
the servlet, it works, however when I call it from a another class that is called by 
the servlet, I get this: 

java.lang.NoSuchMethodError: org.jdom.Element.getChildren()Ljava/util/List;
 at Param.parseStartingDocumentFilesFile(Param.java:604)
 at lsapack.(lsapack.java:42)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:42)
 at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:30)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:263)
 at java.lang.Class.newInstance0(Class.java:301)
 at java.lang.Class.newInstance(Class.java:254)
 at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
 at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
 at org.apache.tomcat.core.Handler.service(Handler.java:254)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
 at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
 at java.lang.Thread.run(Thread.java:539)

-Brian




network disconnect

2002-07-13 Thread Brian Wolf

Hi

What do I do if I want a process to be intiated by a servlet, but to run even if the 
server becomes temporarily disconnected from the newwork, using Tomcat and Windows 98?

thanks \brian





Re: classpath problem

2002-07-14 Thread Brian Wolf

Andrew,

Thanks, it seems to have resolved itself. Not sure how, but  I have noticed
a problem with conflicting jar files, ie in this case one was distributed
for JDK1.4 and another for JDK1.2

Brian

- Original Message -
From: "Andrew Conrad" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 1:34 PM
Subject: RE: classpath problem


> Are these classes apart of a package?  Did you build the package
> directory structure to match in the %CATALINA$\common\classes?
>
>
> Have you tried the $CATALINA$\shared\classes folder?  How about a
> webapp's  WEB-INF\classes folder?  Testing these to see if you can get
> any of them to work might help you solve your problem.
>
>
> - Andrew
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 12, 2002 12:36 PM
> To: [EMAIL PROTECTED]
> Subject: classpath problem
>
>
> All,
>
> I have installed Tomcat 4.0.2.  All examples work fine, jsp's and
> servlets.
>
> when i removed my old version of Tomcat / apache, i obviously saved all
> of
> my existing apps.  I have now pointed Tomcat to these by specifying new
> Contexts in my server.xml.  All is fine... nearly.
>
> My problem is that my classpath is not being picked up.  Reading the
> docs,
> i found that $CATALINA_HOME/common/classes is where i should put my non
> application specific, common classes.  I have done this but to no avail,
>
> these classes which should be visible to my apps according to the
> documentation are not found and a NoClassDefFound error results.
>
> I have tried putting my "common" classes in the following directories :
>
> $CATALINA_HOME/common/classes
> $CATALINA_HOME/classes
>
> They are not picked up.  Needless to say i have restarted the service,
> rebooted and hit my computer many times.
>
> Any help would be appreciated
>
> Thanks
>
> Mehdi
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



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




memory management

2002-07-31 Thread Brian Wolf

Can anyone tell me how to increase the amount of memory available to a 
servlet running in tomcat?

Thanks in advance!
Brian



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




Re: memory management

2002-08-02 Thread Brian Wolf

Thanks Michel,

But how do I get tomcat to invoke these options? I don't see it in the
configuration files.
\Brian
> Brian,
>
> % path/to/your/jdk/bin/java -X
>
> will print out the help for non-standard command line argument extensions
> for the JVM.
>
> You can increase the amount of heap space and other good stuff available
to
> the whole JVM.
>
> AFAIK, Tomcat sets no limit on the amount of memory a servlet consumes.
>
> Regards,
> Michael
>
> - Original Message -
> From: "Brian Wolf" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 31, 2002 9:45 PM
> Subject: memory management
>
>
> > Can anyone tell me how to increase the amount of memory available to a
> > servlet running in tomcat?
> >
> > Thanks in advance!
> > Brian
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>



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