Hi,
On MacOS X, I'm trying to run a web service which looks like this:
package com.jlynx.soap;
class service
{
public String test()
{
return Hello;
}
}
This class is part of a servlet which is installed as jlynx_servlet.
In the soap admin utility, I deploy this service
: Problem with classpaths
On Sat, Nov 13, 2004 at 10:33:24AM +0530, [EMAIL PROTECTED]
wrote:
: I've placed all my classes in
: CATALINA_HOME/webapps/myapp/WEB-INF/classes
: I've placed all my jars including the jgl3.1.0.jar(that contains
: com.objectspace.jgl.Sequence) in
CATALINA_HOME/webapps
On Sat, Nov 13, 2004 at 10:33:24AM +0530, [EMAIL PROTECTED] wrote:
: I've placed all my classes in
: CATALINA_HOME/webapps/myapp/WEB-INF/classes
: I've placed all my jars including the jgl3.1.0.jar(that contains
: com.objectspace.jgl.Sequence) in CATALINA_HOME/webapps/myapp/WEB-INF/lib
:
: and
Hi,
I'm using tomcat 4.1 for our application, the problem i'm facing is that
tomcat is often unable to find the classes present in my application and
also certain classes like javax.servlet.HttpServlet,
com.objectspace.jgl.Sequence etc... However, I've placed all the classes
and jars in the
Hello,
Is it possible to have different classpaths based on context definitions
in server.xml?
I'm asking because I have an 3rd-party JAR file which comes in two
versions: testing and production. Unfortunately the vendor has named
both JAR files the same -- it's just the classes inside
14:33:23 -0400
To: [EMAIL PROTECTED]
Subject: per-context classpaths?
Hello,
Is it possible to have different classpaths based on context definitions
in server.xml?
I'm asking because I have an 3rd-party JAR file which comes in two
versions: testing and production. Unfortunately
/to/webapp-prod ...
At 14:33 20.07.2003 -0400, you wrote:
Hello,
Is it possible to have different classpaths based on context definitions
in server.xml?
I'm asking because I have an 3rd-party JAR file which comes in two
versions: testing and production. Unfortunately the vendor has named
both JAR
Hello.
I am trying to reference a few JAR files and a property file from an out-of-process
Tomcat application.
The Tomcat 4.1 documentation says that unpacked classes and resources will be loaded
out of the WEB-INF/classes directory and packed resources are loaded out of
WEB-INF/lib of your
I have a question on java classpaths. If I have a set of java classes and want to use
them I put them into tomcat/shared/classes directory. my question is these java
classes require jar's of there own can I simply put these into the shared/lib folder
and will tomcat look after it all.
Regards
If have classes in shared/classes and they depend on other classes (that
are in jars), you can place the jars in shared/lib without a problem.
-Tim
Richard Jones wrote:
I have a question on java classpaths. If I have a set of java classes and want to use them I put them into tomcat/shared
what error are your getting?
-Original Message-
From: Sam Seaver [mailto:samseaver;hotmail.com]
Sent: Wednesday, October 16, 2002 8:12 PM
To: [EMAIL PROTECTED]
Subject: Re: classpaths again
No I'm importing it in the JSP tag %@page import sam.xml.* %
S
JC Rules
OK I have a package created by JAXB called sam.xml within my WEB-INF/classes
folder, this is an uncompressed package, thus it's the directories
'sam/xml/*.class'
in my jsp page within the same web application, I call:
%@page import javax.xml.bind.*,sam.xml.* %
it finds the javax stuff
Can you give more information about how you try to get sam.xml file?
Are you using something like:
yourClass.class.getResource(sam.xml)
or getResourceAsStream ?
-- Jeanfrancois
Sam Seaver wrote:
OK I have a package created by JAXB called sam.xml within my
WEB-INF/classes folder, this
No I'm importing it in the JSP tag %@page import sam.xml.* %
S
JC Rules
From: Jean-Francois Arcand [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: classpaths again
Date: Wed, 16 Oct 2002 20:02:00 -0400
Can you give more
and server classes.
Cheers,
Larry
-Original Message-
From: Joshua D. Drake [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 4:43 PM
To: Tomcat Users List
Subject: Re: PLEASE: Setting Virtual Hosts ClassPaths with Tomcat 3.3
Hello,
is the WEB-INF an independant
: Joshua D. Drake [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 07, 2002 2:10 PM
To: [EMAIL PROTECTED]
Subject: PLEASE: Setting Virtual Hosts ClassPaths with Tomcat 3.3
Hello,
I am running RedHat 7.3, Apache 1.3.26 and Tomcat-3.3.1. I am having
problems getting Tomcat to pick up new
: Saturday, September 07, 2002 2:10 PM
To: [EMAIL PROTECTED]
Subject: PLEASE: Setting Virtual Hosts ClassPaths with Tomcat 3.3
Hello,
I am running RedHat 7.3, Apache 1.3.26 and Tomcat-3.3.1. I am having
problems getting Tomcat to pick up new
classpaths for virtual hosts. We can successfully run jsp
Hello,
I am running RedHat 7.3, Apache 1.3.26 and Tomcat-3.3.1. I am having
problems getting Tomcat to pick up new
classpaths for virtual hosts. We can successfully run jsp files from the
virtual hosts but once we try to add a class
(for JavaBeans in this case) it fails. Here is the exact
-Original Message-
From: Muñoz Ordenes Andrés (Casa Matriz) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 4:42 PM
To: 'Tomcat Users List'
Subject: RE: Classpaths
-Mensaje original-
De: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Enviado el: Thursday, June 06, 2002
thanks a lot!!!
Atte.
Andrés Muñoz O.
Fono: 690 3155
-Mensaje original-
De: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Enviado el: Friday, June 07, 2002 11:13 AM
Para: 'Tomcat Users List'
Asunto: RE: Classpaths
Since you are using Tomcat 3.3, see:
http://jakarta.apache.org
Hi...
How can i do for add classes to Tomcat Classpath?... i have an application
with a X class that isn't linked cause i can't move it into lib's
directory... :(
Regards
Atte.
Andrés Muñoz O.
Fono: 690 3155
_
Andrés Muñoz Ordenes
Ingeniero de Software
CODELCO Jazz
Howdy,
How can i do for add classes to Tomcat Classpath?... i have an
application
The short answer: in many many ways ;)
The long answer: depends on where you want the classes to be visible.
If you just want them for one web-app, add them to that web-app's
/WEB-INF/classes directory. Or
-Mensaje original-
De: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Enviado el: Thursday, June 06, 2002 4:39 PM
Para: Tomcat Users List
Asunto: RE: Classpaths
Howdy,
How can i do for add classes to Tomcat Classpath?... i have an
application
The short answer: in many many ways
- Original Message -
From: Muñoz Ordenes Andrés (Casa Matriz) [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, June 07, 2002 12:41 AM
Subject: RE: Classpaths
-Mensaje original-
De: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Enviado el: Thursday, June 06, 2002
To Andrés Muñoz:
I believe this is the right answer for your question.
It is for Tomcat 4, but perhaps if you examine in you 3.x how tomcat.bat
calls cpappend.bat you'll find your way...
Regards, Sergey
- Original Message -
From: Tia Haenni [EMAIL PROTECTED]
To: Tomcat Users List
and application2 need to have seperate
classpaths (due to conflicting codebases). Is there any way to deploy
multiple contexts to compile from different classpaths? Right now my
classpaths are being set in the tomcat startup script - I would like to have
something like:
Context path=/Application1 docBase=D
Put the dependent external jar files in /application1/WEB-INF/lib
and /application2/WEB-INF/lib.
Jeff
- Original Message -
From: Ryan P. Davidsen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 10, 2002 4:14 PM
Subject: Multiple webapps, multiple classpaths
I am currently
different codebases
that are currently set in the classpath used in the startup.bat
-Original Message-
From: Jeff Larsen [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 4:34 PM
To: Tomcat Users List
Subject: Re: Multiple webapps, multiple classpaths
Put the dependent external jar files
I have Apache 1.3 and Tomcat 3.3 installed. I'm using Tomcat to run
servlets, having used JSERV in the past. My question is, how does tomcat
decide where to look for the class to run?
Secondly, if it runs the class, how can I set the classpath for it?
With JServ it was easy. I set lots of
The documentation in 3.3 on classpaths is quite good, with an excellent
graphic describing classloaders and how/where things get loaded.
http://localhost:8080/doc/tomcat-ug.html#configuring_classes
Would also suggest familiarity with the Servlet and JSP specs (ie, an
understanding of WEB-INF
Ok, I'll re-read it again. I've solved my problem of it not picking up my
own servlet. I hadn't got a jkmount directive redirecting requests.
One question on this,
If I make the following request
http://localhost/examples/servlet/SnoopServlet examples is mentioned in a
jkmount directive and I
Hello,
I specified wrapper.classpath in tomcat.properties
file fora certain run and it could
not findmy classes. Then I stopped
tomcat and set classpath to the same destination
directory and started tomcat in the same
window. This time my program worked.
Any clarifications about these
I can setup and run two tomcats fine but I can't get
them to use seperate classpaths.
They also write to the same work directory.
Any thoughts?
Thanks,
Jim Fitz
I can setup and run two tomcats fine but I can't get
them to use seperate classpaths.
They also write to the same work directory.
This is because you are running with the same environment vars.
You will need to create two separate bat/sh files. take a
look at the bat files in bin
FOR YOU.
-Original Message-
From: Mr.Y.SHIVAKANT [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 9:03 AM
To: [EMAIL PROTECTED]
Subject: Re: A QUESTION ABOUT CLASSPATHS
-Original Message-
From: Nick Stoianov [EMAIL PROTECTED]
To: [EMAIL PROTECTED
the classes I need like the HttpServlet, etc.
And that seemed to work. But later I was working on packages, and they said
to do some other classpaths for working with packages, and now I am all
screwed up.
My Question:
Can I look at what CLASSPATHS are set? If so, how?
How do I work with packages
Hi,
I'm running Tomcat/mod_jk on Linux/Apache. I have set up the CLASSPATH
variable to point to the classes directory. However when I execute a servlet
that requires classes I get ERROR:500 Internal Server Error saying that the
class can not be found.
Any idea what I can be doing wrong? Is there
37 matches
Mail list logo