Win2K + Netbeans 3.3 + Tomcat 3.2 (build-in)

2001-12-18 Thread Igor Fedulov


Hi guys:

I'm new to this list and I have just one question. Could somebody explain
me why I'm getting this error:
java.lang.NullPointerException
at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:471)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:136)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at
org.netbeans.modules.web.tomcat.JspServlet.doLoadJSP(JspServlet.java:248)
at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at
org.netbeans.modules.web.tomcat.JspServlet.service(JspServlet.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java: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(ContextManager.java:797)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)


When running Tomcat from Netbeans and I don't have this problem when for
example running the same webapp using Resin 2.0.1? Where should I look for
the cause?

-- 
Best regards,
--
HTTP is a stateless protocol, and the Internet is a stateless development
environment
--
Igor Fedulov
E-mail : [EMAIL PROTECTED]
Work Ph: 773.775.1595
Home Ph: 773.281.8938
Cell Ph: 773.580.5935




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Code request; Code to reveal a DB schema

2001-12-19 Thread Igor Fedulov

> *Totally* DB specific.  For Oracle try searching
http://technet.oracle.com;
> for anything else try asking on a database list? ;-)

For code examples I would poke around Netbeans code they have some cool
functionality in Runtime tab of the explorer, i.e. database browser of some
kind. Try to download the sources from netbeans.org and poke around. Other
then that I would just research java.sql.DatabaseMetaData class, it will do
it for you (assuming that driver implements all supporting interfaces
correctly).

Igor


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




Is it a BUG? (Tomcat Web Server v3.2 (final))

2002-02-05 Thread Igor Fedulov


Hello All:

I'm new to this list, so please forgive me if I post something which was
posted before. I tried to search
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/ and come up
with nothing.

Environment:
1. Netbeans 3.3.1 with built in Tomcat 3.2 server
2. web.xml fragment:


SecurePages
Security constraint for resources in
the secure directory
/secure/*
POST
GET



only let the system user login

admin



SSL not required
NONE



FORM

/LoginForm.html

/LoginError.html



Admin ROLE
admin

3. Problem:

a. request such as http://localhost:8080/secure getting routed to
/LoginForm.html as described in web.xml which is cool and what I want.
b. request such as http://localhost:8080//secure returns directory
listing of secure directory without auth...

If this is fixed or known bug please let me know.

Thanks!

-- 
Best regards,
--
HTTP is a stateless protocol, and the Internet is a stateless development
environment
--
Igor Fedulov
E-mail : [EMAIL PROTECTED]
Work Ph: 773.775.1595
Home Ph: 773.281.8938
Cell Ph: 773.580.5935




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Is it a BUG? (Tomcat Web Server v3.2 (final))

2002-02-05 Thread Igor Fedulov


> This is a known bug in 3.2 and 3.2.1.  I think it was fixed
> in Tomcat 3.2.2.  It is not a problem in Tomcat 3.3 and
> Tomcat 4.x versions as well.

Thanks! Now I have to find out if it's possible to upgrade built in tomcat
in Netbeans to 3.3...


> > -Original Message-
> > From: Igor Fedulov [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 05, 2002 3:31 PM
> > To: [EMAIL PROTECTED]
> > Subject: Is it a BUG? (Tomcat Web Server v3.2 (final))
> >
> >
> >
> > Hello All:
> >
> > I'm new to this list, so please forgive me if I post
> > something which was
> > posted before. I tried to search
> > http://www.mail-archive.com/tomcat-user@jakarta.apache.org/
> > and come up
> > with nothing.
> >
> > Environment:
> > 1. Netbeans 3.3.1 with built in Tomcat 3.2 server
> > 2. web.xml fragment:
> > 
> > 
> >
> > SecurePages
> > Security constraint for
> > resources in
> > the secure directory
> > /secure/*
> > POST
> > GET
> > 
> >
> > 
> > only let the system user login
> > 
> > admin
> > 
> >
> > 
> > SSL not required
> > NONE
> > 
> > 
> > 
> > FORM
> > 
> >
> > /LoginForm.html
> >
> > /LoginError.html
> > 
> > 
> > 
> > Admin ROLE
> > admin
> > 
> > 3. Problem:
> >
> > a. request such as http://localhost:8080/secure getting routed to
> > /LoginForm.html as described in web.xml which is cool and what I want.
> > b. request such as http://localhost:8080//secure returns directory
> > listing of secure directory without auth...
> >
> > If this is fixed or known bug please let me know.
> >
> > Thanks!
> >
> > --
> > Best regards,
> > --
> > HTTP is a stateless protocol, and the Internet is a stateless
> > development
> > environment
> > --
> > Igor Fedulov
> > E-mail : [EMAIL PROTECTED]
> > Work Ph: 773.775.1595
> > Home Ph: 773.281.8938
> > Cell Ph: 773.580.5935
> >
> >
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>

-- 
Best regards,
--
HTTP is a stateless protocol, and the Internet is a stateless development
environment
--
Igor Fedulov
E-mail : [EMAIL PROTECTED]
Work Ph: 773.775.1595
Home Ph: 773.281.8938
Cell Ph: 773.580.5935




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Tomcat 4.01 war not extracting

2002-02-05 Thread Igor Fedulov


> I put a .war into the webapps folder, restarted Tomcat 4.01, but it
> didn't extract it... any ideas?

File permissions maybe? webapps folder permissions? Ownership? Who as
server is running?

Best regards,
--
HTTP is a stateless protocol, and the Internet is a stateless development
environment
--
Igor Fedulov
E-mail : [EMAIL PROTECTED]
Work Ph: 773.775.1595
Home Ph: 773.281.8938
Cell Ph: 773.580.5935




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>