Re: tomcat and servlet directories

2001-10-31 Thread Bob Kersten

Hi,

I've installed TomCat 3.2 and it's serving .JSP files as it supposed
to. But now I have a new project which I have to work my way into, and
it's not working as it should. Look at the following tree:

/webxt
/webxt/data
/webxt/servlet

When I run a make (which works fine) my /servlet directory contains a
lot of .class files. In the /data directory there's an index.html file
which links to, let's say, '/webxt/servlet/userConfig' (note; without the
.class extension, heck, without ANY extension). There is actually a
userConfig.class file in this directory, so logically it has something to
do with that file. I can point my browser to the /webxt/servlet directory
and manually click the userConfig.class file, but it then starts
downloading the file. I'm not quite sure what's missing in my
configuration files and what I need to do to get this environment working.

I'm running Tomcat along with Apache, and as I said, it serves
standalone .jsp files just fine. Is there someone who can point out to me
what I need to do now?

Thnx in advance,
 Bob.


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




tomcat and servlet directories

2001-10-31 Thread Bob Kersten

Hi,

I've installed TomCat 3.2 and it's serving .JSP files as it supposed
to. But now I have a new project which I have to work my way into, and
it's not working as it should. Look at the following tree:

/webxt
/webxt/data
/webxt/servlet

When I run a make (which works fine) my /servlet directory contains a
lot of .class files. In the /data directory there's an index.html file
which links to, let's say, '/webxt/servlet/userConfig' (note; without the
.class extension, heck, without ANY extension). There is actually a
userConfig.class file in this directory, so logically it has something to
do with that file. I can point my browser to the /webxt/servlet directory
and manually click the userConfig.class file, but it then starts
downloading the file. I'm not quite sure what's missing in my
configuration files and what I need to do to get this environment working.

I'm running Tomcat along with Apache, and as I said, it serves
standalone .jsp files just fine. Is there someone who can point out to me
what I need to do now?

Thnx in advance,
 Bob.


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




followsoftlinks

2001-10-01 Thread Bob Kersten

Hi,

I've installed Tomcat on FreeBSD using Apache to serve the static HTML
files and it seems to work all fine. I've replaced the directory ROOT in
the /webapps/ directory with a softlink to the Apache's root dir and that
also seems to work. I have to create a contect for each directory in this
root directory in order for the WEB-INF directory to be recognized by
Tomcat and added to the tomcat-apache.conf. Isn't there a directive such
as "followsymlinks" in apache so that Tomcat searches the entire path in
the rootdir for directorys and WEB-INF stuff?

Thnx in advance,
 Bob.




Re: need a lot of help

2001-03-13 Thread Bob Kersten

Hi,

 CA> Have you looked at [..]

Yes, I've read those, but that doesn't work. Tomcat still gives me
an Class "dbapi.dbHandler not found" error. I've created a JBuilder
project in h:\local\browser\WEB-INF and after compilation the
'classes' and 'src' directories are present in this directory. I've
created a context in Tomcat which docbase is h:\local\browser, but
still it can't use the classes.

What more needs to be done? Anyone?

Mvg,
 Bop.


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




need a lot of help

2001-03-13 Thread Bob Kersten

Hi,

After reading several doc's, faq's and other things, I still can't
figure it out. I've created a package with JBuilder 3.5 which includes
several classes. After compiling this package, I have a directory with
the name of my package, which holds files with an .class extension.
Where do I put these files? I want to be able to create a .JSP page
which uses these classes.

I'm using Tomcat 3.2.1 and the Java SDK standard edition 1.3.0 which
I've installed in c:\tomcat_3.2.1\jdk. How do I use this class and
where do I place the various files?

Thanx in advance,
 Bop.


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




using beans

2001-03-08 Thread Bob Kersten

Hi,

So... i've installed Borland JBuilder 3.5 and I created a
JavaBean. Looking at the project directory, it created a .class file.
How do I use this file, and where do I place it? I've got in-line JSP
(servlet?) working with Tomcat, but I've never used a bean or
what-so-ever, so I don't exactly know where to place the files and how
to implement it.

Thnx,
Bop.


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




updating JSP pages

2001-02-23 Thread Bob Kersten

Hi,

When I first started using Tomcat (stand-alone on my Win98
machine) to compile my JSP pages, it would compile the JSP pages
everytime I updated them. After that, I installed Tomcat 3.2.1 on a NT
machine (as a service), along with IIS4.0, and I update the JSP files
from another computer. Now it won't recompile my JSP's automatically
anymore, not even when I update them. This is quite annoying, since I
don't know if the updates are effective or not.

What's the solution to this problem?

Bye,
 Bob.


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




installing TomCat on FreeBsd

2001-02-08 Thread Bob Kersten

Hi,

Is there a somewhat easier walk-through for installing TomCat
ona FreeBSD unix environment? The documentation that comes with
TomCat is just worthless, nothing works, everything is missing
and I haven't been able to complete the first few steps of the
manual.

What do I need, where can I get it, how do I install it, and
how do I configure it to run along with apache? I know it's in
the manual, but the manual is no good to me, sorry. Is there
anyone who can help me with this?

Ajuus,
  Bop.


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




messages on the server window

2001-02-01 Thread Bob Kersten

Hello,

I'd like to show certain (event) messages on the window where
Tomcat is running (thus: not send to the browser) I've seen this
in one of the JSP examples, but I don't know exactly how this is
done.

--
Ajuus,
  Bop.


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




weird error

2001-01-29 Thread Bob Kersten

Hello,

The server window shows the following error:

2001-01-29 02:13:33 - Ctx( /test/pictures ): IOException in: R(
/test/pictures + /priem-source.gif + null) Connection reset by
peer: socket write error

But regardless of the rror, everythings loads fine in my
client browser (even the picture, which is causing the error
(?)). What's causing this error, and how can I solve it.

--
Ajuus,
  Bop.


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




error: 500

2001-01-25 Thread Bob Kersten

Hello,

I've installed Tomcat 3.2.1 (stand-alone) and the JDK1.3, and
started Tomcat using justGo and it all works well. When I connect
to http://localhost:8080/ it displays the default tomcat
homepage. Then I tried to use some of the examples, and it
appears that only the servlet examples work, not the JSP
examples. Each time I want to start one of the JSP examples I get
an error: 500 (complete error message below). What exactly goes
wrong and how can I solve it?

---

Error: 500
Location: /examples/jsp/num/numguess.jsp
Internal Servlet Error:

javax.servlet.ServletException: sun/tools/javac/Main
 at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.ja
va:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java
:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextMana
ger.java:797)
 at
org.apache.tomcat.core.ContextManager.service(ContextManager.java
:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConne
ction(HttpConnectionHandler.java:210)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.j
ava:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.
java:498)
 at java.lang.Thread.run(Unknown Source)

Root cause:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
 at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompile
r.java:128)
 at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:245)
 at
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:46
2)
 at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.j
ava:146)
 at
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNece
ssary(JspServlet.java:152)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Js
pServlet.java:164)
 at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.ja
va:318)
 at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.ja
va:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java
:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextMana
ger.java:797)
 at
org.apache.tomcat.core.ContextManager.service(ContextManager.java
:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConne
ction(HttpConnectionHandler.java:210)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.j
ava:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.
java:498)
 at java.lang.Thread.run(Unknown Source)

Ajuus,
  Bop.


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




what do I need?

2001-01-24 Thread Bob Kersten

Hello,

Can someone please tell me which distributions I need in
order to run TomCat on both a Unix (server) and a Win98 (for
testing locally) machine. I've heard about a JDK that I need, and
maybe there's even more. I just like to know which files I need
in order to run TomCat on the above configurations.

Thanks in advance,

Bob.


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