Redirection and Context Question

2004-07-08 Thread Worley Brent - bworle
I'm trying to do a redirection using Javascript on Tomcat 5.0.24 (standalone, no apache server). The code redirects index.html to login.htm. Here is what I have: script language=JavaScript location.replace('login.htm'); /script When I do this, it appears to go into a near-endless loop

SECOND TRY: Redirection and Context Question

2004-07-08 Thread Worley Brent - bworle
I'm trying to do a redirection using Javascript on Tomcat 5.0.24 (standalone, no apache server). The code redirects index.html to login.htm. Here is what I have: script language=JavaScript location.replace('login.htm'); /script When I do this, it appears to go into a near-endless loop

Context Questions

2004-06-24 Thread Worley Brent - bworle
First, I want to say thanks to everyone that has helped with my transition from Resin to Tomcat. Here is my question: I want to deploy my webapp in a different directory (XYZ) but I want it to load under the default context /. Do I need to specify this in my context.xml (Context path=

Tomcat 5 Debug Questions

2004-06-21 Thread Worley Brent - bworle
I have a couple of questions about the debugging options on Tomcat 5: 1. What are the different levels of debugging used within the server.xml file, and is there a description of what each level will bring? 2. I'm looking for a document or instructions to do remote debugging on Tomcat 5. I

JNDI Question

2004-06-21 Thread Worley Brent - bworle
Forgive me for being a newbie, but here is a question regarding JNDI. I have my server.xml configured and my web.xml configured for a resource named xyz. xyz is a custom object factory contained within class files (currently under WEB-INF/classes/xyz/). The error I'm getting is this: Caused

Xslt and Tomcat

2004-06-17 Thread Worley Brent - bworle
java.lang.NoClassDefFoundError: org/dom4j/Document I got this error using XTags. I have a feeling that I might not have the Xerces libs in the right place. Can someone confirm this? Thanks, Brent ** The information contained

Classpath problems on Tomcat

2004-06-17 Thread Worley Brent - bworle
From what I understand about Tomcat all of my application specific classes and libs are picked up after the bootstrap and system libs are grabbed. However, we are running into this problem: We have a package defined and several classes within this package. When we compile the source files they

Second Try: Can anyone explain this?

2004-06-16 Thread Worley Brent - bworle
I posted this earlier and received a few leads on what to do, but nothing worked. I'm hoping a second look and explanation will help. The page that is causing the error (search.jsp) uses a taglib to load xslt.tld (%@ taglib prefix=acx uri=WEB-INF/tld/xslt.tld %). The .tld file defines a tag

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Worley Brent - bworle
anyone explain this? And I answered it here: http://marc.theaimsgroup.com/?l=tomcat-userm=108723827315299w=2 -Tim Worley Brent - bworle wrote: I posted this earlier and received a few leads on what to do, but nothing worked. I'm hoping a second look and explanation will help. The page

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Worley Brent - bworle
to the code to specify it to a package. Brent -Original Message- From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 1:32 PM To: 'Tomcat Users List' Subject: Second Try: Can anyone explain this? I posted this earlier and received a few leads on what to do

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Worley Brent - bworle
is always placed into a package. Becuase of this, you can't have packageless classes. You alternative is to hack jasper to not use the package statement but doing so will be harder than fixing your code. -Tim Worley Brent - bworle wrote: Someone told you to put JspXslt.class in a package

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Worley Brent - bworle
the Xslt class as-is, in its jar, in WEB-INF/lib, and instead of importing Xslt import org.apache.jasper.Xslt (and change the tld file's class attribute name to match). Yoav Shapira Millennium Research Informatics -Original Message- From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] Sent

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Worley Brent - bworle
List Subject: RE: Second Try: Can anyone explain this? Hi, Oh well, that was worth a shot. You did the two steps I suggested, it didn't work, that's too bad. Yoav Shapira Millennium Research Informatics -Original Message- From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] Sent

XSLT and web.xml

2004-06-15 Thread Worley Brent - bworle
If I have a custom tag defined on one of my pages, do I need to specify anything in web.xml for Tomcat (5.0.24)? Thanks, Brent ** The information contained in this communication is confidential, is intended only for the use of

Can someone explain this?

2004-06-14 Thread Worley Brent - bworle
Can someone explain this error to me? Am I using an older standard for XSLT? Here is the line that is pointed to in the .jsp file: acx:xslt xslt=%=request.getRealPath(WEB-INF/xsl/searchinput.xsl)% Thanks, Brent --- org.apache.jasper.JasperException: Unable to compile

RE: Can someone explain this?

2004-06-14 Thread Worley Brent - bworle
the required classes on your page. I haven't used tag libs yet so I am not 100% on this point. Hope this helps, Stephen -Original Message- From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] Sent: 14 June 2004 14:48 To: 'Tomcat Users List' Subject: Can someone explain this? Can

RE: Can someone explain this?

2004-06-14 Thread Worley Brent - bworle
at the top of your page. The error is definitely the java compiler not finding the JspXslt class, and not an XSLT error. Stephen -Original Message- From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] Sent: 14 June 2004 17:09 To: 'Tomcat Users List' Subject: RE: Can someone explain

RE: Can someone explain this?

2004-06-14 Thread Worley Brent - bworle
? -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 1:09 PM To: Tomcat Users List Subject: Re: Can someone explain this? On Monday 14 June 2004 02:11 pm, Worley Brent - bworle wrote: I'd love to, but I do not have documentation on what packages

Porting from Resin to Tomcat

2004-06-08 Thread Worley Brent - bworle
We are porting an application from Resin running on WinNT/IIS to Tomcat on Linux. However, we are noticing a lot of errors coming up on Tomcat that do not occur on Resin. Is there anyone on the list that has ported an app between the two platforms? What are some known issues in the porting?

RE: Porting from Resin to Tomcat

2004-06-08 Thread Worley Brent - bworle
Neither tomcat nor resin are running your classes. The VM does. So there really is no difference. Tell us, which errors come up, maybe we can help. - We are getting a variety of errors, its hard to tell what is causing which. After I log into our application (it is a secured app), if the

RE: Porting from Resin to Tomcat

2004-06-08 Thread Worley Brent - bworle
installations. You did a clean install of tomcat, right? And you didn't copy over the servlet, jsp, or jasper jars, did you? Yoav Shapira Millennium Research Informatics -Original Message- From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 11:15 AM To: 'Tomcat Users

RE: Porting from Resin to Tomcat

2004-06-08 Thread Worley Brent - bworle
Does this WEB-INF folder (in its lib directory obviously) contain servlet.jar, servlet-api.jar, jsp-api.jar, any jasper jars (e.g. jasper-compiler.jar), or any other jars that are also packaged with tomcat in its common/lib directory/ No, it doesn't. Just checked. It will tell you some

RE: Porting from Resin to Tomcat

2004-06-08 Thread Worley Brent - bworle
: Worley Brent - bworle [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 10:45 AM To: 'Tomcat Users List' Subject: RE: Porting from Resin to Tomcat Does this WEB-INF folder (in its lib directory obviously) contain servlet.jar, servlet-api.jar, jsp-api.jar, any jasper jars (e.g. jasper-compiler.jar

RE: Porting from Resin to Tomcat

2004-06-08 Thread Worley Brent - bworle
Have you validated your web.xml? Resin allows many configuration shortcuts and order differences. No, but I would appreciate any more information you have on this. Brent ** The information contained in this communication is

Naming Question

2004-06-03 Thread Worley Brent - bworle
I'm using Tomcat 5.1.24 on Linux and coming across the following scenario: I have a class named Search that does very few things, but it does create a Context object. MyObj l = null; Throwable t = null; try { InitialContext ic = new InitialContext(); l =

RE: Naming Question

2004-06-03 Thread Worley Brent - bworle
Brent - bworle [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 1:17 PM To: 'Tomcat Users List' Subject: Naming Question I'm using Tomcat 5.1.24 on Linux and coming across the following scenario: I have a class named Search that does very few things, but it does create a Context object

RE: Naming Question

2004-06-03 Thread Worley Brent - bworle
03, 2004 1:05 PM To: Tomcat Users List Subject: RE: Naming Question Hola, Examples and directions are at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.htm l. Yoav Shapira Millennium Research Informatics -Original Message- From: Worley Brent - bworle [mailto

RE: Naming Question

2004-06-03 Thread Worley Brent - bworle
Hi, For development purposes, we are wanting to keep files away from common areas (there might be 2 or 3 of us working on this application at a time). Is there a way to declare this in a manner to let is load from WEB-INF/lib and not common/lib? -Original Message- From: Shapira, Yoav

NoClassDefFoundError

2004-05-27 Thread Worley Brent - bworle
Hi everyone, I'm fairly new to Java and Tomcat. I hope this problem can be easily explained. I am using Tomcat 5.0.24. I have an application, packaged it in a WAR file, and deployed it. This application has a login page. After logging in, the application redirects to a page named search.jsp.

RE: NoClassDefFoundError

2004-05-27 Thread Worley Brent - bworle
the classes in the package available to all the classes in that package, and that isn't the case. Each class still must have an import of what they need, whether it's an entire package with the .* notation, the specific class your using. From: Worley Brent - bworle [EMAIL PROTECTED] Reply-To: Tomcat