Re: JNDI and Active Directory.....

2003-06-29 Thread David Bo Jensen
I am not an expert but can it be, because you haven't specified any contextFactory? What kind of ldap are you using?s What means userSearch=(userPrincipalName={0}) ? Torsdag 26 juni 2003 22:12 skrev Pitre, Russell: Server.xml: Realm

Tomcat, Eclipse, Debug, JPDA

2003-06-29 Thread Pfingstl Gernot
I tried to debug my webapplication on my (local)tomcat with eclipse and JPDA. Both (JDK and Eclipse) seems to allow JPDA, but I always got an Failed to connect to remote VM. Connection refused error from eclipse. My Environment: Win2000, JDK 1.3.1 (Sun), Tomcat 4.1.18, Eclipse 2.1 and 2.0 I

Re: Tomcat, Eclipse, Debug, JPDA

2003-06-29 Thread Christian Traber
Pfingstl Gernot wrote: I tried to debug my webapplication on my (local)tomcat with eclipse and JPDA. Both (JDK and Eclipse) seems to allow JPDA, but I always got an Failed to connect to remote VM. Connection refused error from eclipse. Try the tomcat plugin for eclipse:

JMX question

2003-06-29 Thread Mayer Crystal
I apologize if a similar question has been asked before, but I couldn't find anything like this in the archive. What I am trying to do is as follows: I have a filter which is attached to a servlet which is preloaded. When tomcat starts up, it loads the servlet and its filters into memory and

Re: JMX question

2003-06-29 Thread Tim Funk
Hmmm. You might (emphasis might because I have no clue at this point in time) need to make you webapp privileged so in your webapp declaration you have: Context ... privileged=true/ -Tim Mayer Crystal wrote: I apologize if a similar question has been asked before, but I couldn't find anything

Problem installing Apache-SOAP on Tomcat 4.1.24 using Java 1.4.1_02

2003-06-29 Thread john d barreto
Hi Everybody, I'm trying to get SOAP working on Tomcat 4.1.24. I have j2se 1.4.1 installed on my Win98 machine. Has anyone ever tried this? When I launch http://localhost/soap/servlet/rpcrouter; (I've changed the default port to port 80 instead of port 8080), I get the following message:

RE: Problem installing Apache-SOAP on Tomcat 4.1.24 using Java 1.4.1_02

2003-06-29 Thread Jose Osorio
First of all, isn't port 80 reserved for http sevices? This may conflict with tomcat. Secondly, check your environment to make sure the point to the proper installation directories where you loaded tomcat axis. Also, if you have other installations of SOAP implementations, these may conflict

RE: Problem installing Apache-SOAP on Tomcat 4.1.24 using Java 1.4.1_02

2003-06-29 Thread john d barreto
Jose, I'm avoiding Axis. I tried to use it, but the documentation is not adequate, the only book on Axis (the Wrox book) did not receive good reviews, and Apache-SOAP has served me sufficiently well. Apache-SOAP is more than adequate. I am not going to rely on documentation that only shows the

RE: Problem installing Apache-SOAP on Tomcat 4.1.24 using Java 1.4.1_02

2003-06-29 Thread Jose Osorio
Axis is the next generation of Apache-SOAP. The later is being deprecated. The Wrox book is basic but good enough to give you the basics for more rigoruous work. The sample code is also good. The error messages that you listed do point a problem to bootstrap classes not being located, which

why tomcat append WEB_0002dINF... to the precompiled jsp package

2003-06-29 Thread Billy Ng
Hi folks, I am using ant to precompile the jsp files. Let's say the in package name is com.mycompany.jsp and the jsp file is in the /jsp/admin/logon. After the jsp compiled to java, the package name becomes com.mycompany.jsp.WEB_0002dINF.jsp.admin.logon Why? Thanks! Billy Ng

Re: JMX question

2003-06-29 Thread Bill Barker
Less dangerous is to move the jmx jar(s) from server/lib to common/lib. It's in server/lib since older versions of JMX lacked a way to prevent a rogue Servlet from accessing all of the Tomcat internals via JMX. Tim Funk [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hmmm. You might

Re: JMX question

2003-06-29 Thread Mayer Crystal
Tim, I understand that this will allow me to reference the classes, but does it force the JMX server to be loaded in the application context? For example, if my filter executes the following code: ArrayList servers = MBeanServerFactory.findMBeanServer( null ); will servers be non-null

Re: JMX question

2003-06-29 Thread Bill Barker
It forces it to be loaded in the common loader, which is a parent to both the server loader and the application context loader. Running a simple test Servlet shows that putting the JMX jar in common/lib for 4.1.x does allow it access to MBeanServers, even on non-trusted apps. Without digging

RE: How to use HTTP1.0 by default

2003-06-29 Thread Mayne, Peter
Title: RE: How to use HTTP1.0 by default Er, isn't that what I said in my first two sentences? Rereading what I wrote, it could have been phrased a little clearer, I suppose. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham,

RE: Log4j problem mixing 2 apps

2003-06-29 Thread Mayne, Peter
Title: RE: Log4j problem mixing 2 apps Don't put log4j in the classpath for Eclipse. Instead, right-click on your project, select Properties, and goto Java Build Path. Add the log4j library to the build path. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1,

Re: why tomcat append WEB_0002dINF... to the precompiled jsp package

2003-06-29 Thread Tim Funk
Why not? When a page is precompiled (or even compiled at run time) - all that is required is a valid java class name. (By the spec). So it could be legal for tomcat to translate every jsp into a class called more.Cowbell.java. This is ok since every JSP is loaded under its own class loader.

Tomcat 5 - Jetspeed JSP Portlets do not display

2003-06-29 Thread grenoml
I have the following setup: J2SE 1.4.2-beta Tomcat 5.0.3 Jetspeed 1.4-b4 I installed the JPortal tutorials and I can add JSP Portlets to my panes, but there are problems. The JSP Portlet title bar shows up on the pane but none of its contents will display. This happens for any JSP Portlet

Re: Tomcat 5 - Jetspeed JSP Portlets do not display

2003-06-29 Thread Yoav Shapira
Howdy, Are there any errors in the tomcat logs? In the Jetspeed logs? Considering the developers of Jetspeed themselves use tomcat to develop and test, I'd be surprised if there were out-of-the-box problems. Yoav Shapira --- grenoml [EMAIL PROTECTED] wrote: I have the following setup: J2SE

Dreaded

2003-06-29 Thread taf
Everything was working fine this afternoon. This evening nothing works. I'm now getting the dreaded java.lang.NoClassDefFoundError: sun/tools/javac/Main. Just before this, I was getting an abstract error method, failing to find TLD information. There weren't any library tags in the page

RE: Tomcat on Linux HOWTO

2003-06-29 Thread Michael Cardon
Our network went down Friday night... Hopefully it will be back up Monday morning. I would appreciate any feed back and suggestion you might have. I liked the way you did your HOWTO and patterned mine after yours. Thanks. -Original Message- From: Chong Yu Meng [mailto:[EMAIL PROTECTED]

Re: why tomcat append WEB_0002dINF... to the precompiled jsp package

2003-06-29 Thread Billy Ng
I know it make more sense to do appending . But the funny part is it won't append the src path in 4.1.12. It appends the src path in 4.1.24. The inconsistentency confused me. Billy Ng - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent:

Re: Dreaded

2003-06-29 Thread Bill Barker
It looks, at first glance, that you are running a system with only the JRE, and not the JDK. To compile JSP pages, you need the JDK, and need to point JAVA_HOME to the JDK root, not the JRE root (e.g. JAVA_HOME=/usr/java, not JAVA_HOME=/usr/java/jre). I'm very interested in potential 3.3.x

repost : How to perform a forced reload of Tomcat ?

2003-06-29 Thread Antony
Hi, I am using Tomcat 4.1.18 , j2sdk 1.4.1, win2k. It is a remote server physical access is very limited. I am using it as the development server. Two developers are using the same server. The problem is if by mistake the enter key or the refresh key is kept preseed or if a database lock

repost : How to catch the error of jsp:useBean tag.

2003-06-29 Thread Antony
Hi, How to catch the error if it is caused by jsp:useBean tag ?. I am getting an error on the tag. The error message prints org.apache.jasper.JasperException: name of class. No Error details. How to deal with such errors ? Antony