What should this variable contain if I want to use mentioned
versions of jdk and tomcat? the docs only contain stuff like
"Configure the CLASSPATH environment variable as well, if
required."
Cynic:
A member of a group
There appears to be a serious problem with the classpath/classloader with
Tomcat 3.2.1.
It may be related to the Jasper engine, which outputs a dynamic classpath
name that includes all of the classes and jars in the WEB-INF directory, as
expected. But is the same classloader used when servlets
rough
my IDE, which includes the entire CLASSPATH when starting Tomcat. But, in
order to get it to work outside of my IDE, as a normal process, I've decided
I need to modify the CLASSPATH either through setclasspath.bat or
catalina.bat.
The problem is that as soon as I put C:\work\project-na
JAVA_HOME=%APP%\jdk
SET TOMCAT_HOME=%APP%\tomcat
SET CATALINA_HOME=%TOMCAT_HOME%
PATH=%PATH%;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
SET CLASSPATH=.;%JAVA_HOME%;%JAVA_HOME%\lib\tools.jar;%TOMCAT_HOME%
However, after rebooting, etc., I get the following from C:\set
TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
How Tomcat finds classes:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
John
> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 10:25 AM
> To: Tomcat Users List
> Subject: How does Tomcat se
omehow?
I see also that tools.jar is loaded from $JAVA_HOME/lib, but still, when is
rt.jar loaded?
Brandon
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 9:33 AM
To: 'Tomcat Users List'
Subject: RE: How does Tomcat set the
> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> According to this document, bootstrap.jar contains the basic
> runtime classes
> provided by the Java Virtual Machine. That does not seem
> correct. In Sun's
> JDK, rt.jar contains most of the basic runtime classes
and correct
me if I'm wrong.
John
> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 11:16 AM
> To: Tomcat Users List
> Subject: RE: How does Tomcat set the classpath???
>
>
> John,
>
> According to this docum
jar files in the IBM JDK
since some are different than the ones in the SUN JDK.
Just looking for confirmation on that. I'm trying to avoid making changes
to the startup scripts to make future upgrades go smoother, but it is
starting to appear that those classpath changes to the script
I'm pretty sure there are people using Tomcat with other JVM's besides
Sun's.
John
> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 12:31 PM
> To: Tomcat Users List
> Subject: RE: How
> From: "Brandon Cruz" <[EMAIL PROTECTED]>
> Sent: Wednesday, January 29, 2003 7:24 AM
> Subject: How does Tomcat set the classpath???
> I notice that tomcat 4.1.x explicitly sets $JAVA_HOME/lib/tools.jar and
the
> bootstrap.jar file to the classpath, but th
Where abouts is the classpath set in tomcat 4.1.18???
I reckon it doesnt know about the class for the loader and hence a reason
why it might be throwing an exception.
Does anybody know where I can add extra classes to the classpath for Tomcat
4.1.18??
Need to add driver classes. They are already
Tomcat ignores system CLASSPATH at startup and creates its own.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
-Tim
Chad Lemmen wrote:
I've got Tomcat 4.1.24 starting at boot on my Linux box with a script in
/etc/rc.d/init.d. The script looks like this
#!/b
It's not a system CLASSPATH I have set. I put the jar files I want in the
CLASSPATH in $CATALINA_HOME/shared/lib. Tomcat does recognize these if I
start Tomcat manually, but not if I have Tomcat staring at boot time with
the script in /etc/rc.d/init.d
On Fri, 13 Jun 2003, Tim Funk
Is it just your servlet that doesn't work, or all servlets? (and jsps)
Are you using different userids when run from boot time vs command line?
What happens if your startup command is moved to inittab? (Or other wacky
equivalent)
-Tim
Chad Lemmen wrote:
It's not a system CLASSPATH
Do you set your CLASSPATH in your Shell script? or in .login or something like that?
Cos then that will work for a manual start, but not for the /init.d one. You'll have
to set up the classpath in that script.
-Tom
- Original Message -
From: Tim Funk
To: Tomcat Users
t time vs command line?
> What happens if your startup command is moved to inittab? (Or other wacky
> equivalent)
>
> -Tim
>
> Chad Lemmen wrote:
> > It's not a system CLASSPATH I have set. I put the jar files I want in the
> > CLASSPATH in $CATALINA_HOME/shared/li
ther wacky
equivalent)
-Tim
Chad Lemmen wrote:
It's not a system CLASSPATH I have set. I put the jar files I want in the
CLASSPATH in $CATALINA_HOME/shared/lib. Tomcat does recognize these if I
start Tomcat manually, but not if I have Tomcat staring at boot time with
the script in /etc/rc
wacky
equivalent)
-Tim
Chad Lemmen wrote:
It's not a system CLASSPATH I have set. I put the jar files I want
in the
CLASSPATH in $CATALINA_HOME/shared/lib. Tomcat does recognize
these if I
start Tomcat manually, but not if I have Tomcat staring at boot
time with
the script in /etc/rc.d/
?
> >> As root Tomcat continues to run.
> >>
> >> On Sat, 14 Jun 2003, Tim Funk wrote:
> >>
> >>
> >>> Is it just your servlet that doesn't work, or all servlets? (and jsps)
> >>> Are you using different userids when run fr
Johann Uhrmann wrote:
[...]
The taskdef tag and the jasper2 tag do not care about the
path set in compile.classpath. Instead, the CLASSPATH variable
from the shell is used.
How do I make ant (or especially those two tags) recognize the
path in "compile.classpath"?
[...]
Anybody?
It
I guess that about a hundred people will respond to this. Tomcat, for
reasons better known to itself, ignores your classpath. The easiest
solution is to put your JAR in the Tomcat common\lib directory.
Alternatively, you can put them in WEB-INF\lib.
Question to any Tomcat developers reading
Hi Chistopher,
I got this figured out with out placing the classes in any of the
CATALINA_HOME sub directories by deleting the CLASSPATH set in the
setclasspath.bat file. Check out the setclasspath.bat file. you wont
have the classpath appended there. It just replaces the classpath what
ever
Hi,
I have a question on setting the classpath for Windows and Linux. Right
now, I'm using a really stupid way (but works for the moment =P) to compile
my java files; copying all the related jar files with my J2SE libraries. I
know this ain't the right method. So, I would like to a
Hello,
When i run tomcat in a debugger, i get the following error when it is
trying to compile ANY jsp:
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
it works fine , if it is not wrunning in debug mode.
alex k
Hi,
my application has to use DB2 JDBC that is in the CLASSPATH. How can I get
tomcat-4.1.24 to search for entries from CLASSPATH?
I understand that I could probably copy the entries from CLASSPATH into
.../WEB-INF/lib, but this JDBC driver does use native libraries, thus I
would not like to
Hi,
my application has to use DB2 JDBC that is in the CLASSPATH. How can I get
tomcat-4.1.24 to search for entries from CLASSPATH?
I understand that I could probably copy the entries from CLASSPATH into
.../WEB-INF/lib, but this JDBC driver does use native libraries, thus I
would not like to
in my server.xml,
hey please go and check in this additional classpath too for this
particular web app. is this possible?
(Im using tomcat 5.0.7)
in my server.xml,
hey please go and check in this additional classpath too for this
particular web app. is this possible?
sperException: Unable to compile class for JSP
An error occurred at line: 1 in jsp file: /savename.jsp
Generated sevlet error:
[javac] Compiling 1 source file
<...>/work/Catalina/localhost/test/org/apache/jsp/savename_jsp.java:42
symbol : class UserData
l
Hi there,
I'have been trying to set the classpath of the webapp out of the directory
of this webapp. This is for me little important, since some classes I'd like
to use (I have to use) in other webapps. I want to have only one file of
this class -- I don't want to copy classes betw
urphy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 4:58 PM
To: [EMAIL PROTECTED]
Subject: JDBCRealm configuration and JBDC Driver classpath
I am trying to configure form based authentication using a JDBCRealm.
I do not have access to the $CATALINA_HOME/common/endorsed folder or
s
On Wednesday 19 November 2003 10:52 am, Andreas Mohrig wrote:
> 1. As far as I know it is not possible to define a Realm outside of
> server.xml. If you do not have access to that file, I see no way you can
> use container managed security, which is a prerequisite for form based
> authentication (
> Can anyone advise of a work-around, or let me know if I have overlooked
You might want to look at http://www.securityfilter.org/
It mimics CMS, but it can be rolled up inside your application.
Jon
-
To unsubscribe, e-mail: [E
Thanks for your comments.
I am beginning to suspect that my options are limited and may have to resort
to application managed security which I have tried to avoid up to now.
Alternatively I could try persuade my ISP to include the jar in the
container classpath (wishful thinking!)
By the way
]
Sent: Wednesday, November 19, 2003 6:31 PM
To: Tomcat Users List
Subject: RE: JDBCRealm configuration and JBDC Driver classpath
Thanks for your comments.
I am beginning to suspect that my options are limited and may have to resort
to application managed security which I have tried to avoid up to
Jon, thank you.
I will certainly implement this option if my plea to my ISP falls on deaf
ears.
Andrew
-Original Message-
From: Jon Anderson [mailto:[EMAIL PROTECTED]
Sent: 19 November 2003 17:16
To: Tomcat Users List
Subject: Re: JDBCRealm configuration and JBDC Driver classpath
I want to print out the classpath that's associated with my web app
not the system one but the one that tomcat is using for the web app
after it's seen classes and lib. Is this possible?
ARe you putting the .jar in the lib directory as opposed to the classes
directory? That's where it should go.
-Yoav
-Original Message-
From: André Alves [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 11:36 AM
To: [EMAIL PROTECTED]
Subject: problem with classpath and
The .jar should go directly in the WEB-INF/lib directory.
[EMAIL PROTECTED] on 01/23/2001 10:36:41 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: problem with classpath and .jar files
I have the following problem: I created a structure of directories to
place mine
irectory? That's where it should go.
>
> -Yoav
>
> -Original Message-
> From: André Alves [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 23, 2001 11:36 AM
> To: [EMAIL PROTECTED]
> Subject: problem with classpath and .jar files
>
>
> I have the followi
Did you create the jar with directories?
-Original Message-
From: André Alves [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 11:46 AM
To: [EMAIL PROTECTED]
Subject: RE: problem with classpath and .jar files
I'm putting the .jar file into WEF-INF/classes/my.jar... I to
directory.
>
>
>
>
>
> [EMAIL PROTECTED] on 01/23/2001 10:36:41 AM
> Please respond to [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> cc:
> Subject: problem with classpath and .jar files
>
> I have the following problem: I created a structure of directories
> to
> place mine .
M
> To: [EMAIL PROTECTED]
> Subject: RE: problem with classpath and .jar files
>
>
> I'm putting the .jar file into WEF-INF/classes/my.jar... I too try
> put the .jar into lib directory, but it's no work too...
> --- "Morahg, Yoav" <[EMAIL PROTECTED]> esc
In winnt I placed .jar below of the /WEB-INF/classes/ and only
configured in wrapper.properties classpath for .jar and the program
functioned perfectly. I made this same configuration in redhat, but
it did not work. Somebody knows which can be the cause of this?
--- Jeffry Guttadauro <[EM
.jars go in the WEB-INF/lib directory, not WEB-INF/classes.
-Yoav
-Original Message-
From: André Alves [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 1:18 PM
To: [EMAIL PROTECTED]
Subject: Re: problem with classpath and .jar files
In winnt I placed .jar below of the /WEB
lease respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Re: problem with classpath and .jar files
In winnt I placed .jar below of the /WEB-INF/classes/ and only
configured in wrapper.properties classpath for .jar and the program
functioned perfectly. I made this same configuration in redhat
in the
WEB-INF/lib directory, not WEB-INF/classes.
>
> -Yoav
>
> -Original Message-
> From: André Alves [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 23, 2001 1:18 PM
> To: [EMAIL PROTECTED]
> Subject: Re: problem with classpath and .jar files
>
>
>
23, 2001 1:18 PM
> To: [EMAIL PROTECTED]
> Subject: Re: problem with classpath and .jar files
>
>
> In winnt I placed .jar below of the /WEB-INF/classes/ and only
> configured in wrapper.properties classpath for .jar and the program
> functioned perfectly. I made this same con
<[EMAIL PROTECTED]>
>To: "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>
>Cc:
>Bcc:
>Subj: RE: problem with classpath and .jar files
>Type: IPM.Note
>Sent: Tuesday, January 23, 2001 12:35 PM
I don't think
${catalina.home}/common/classes/log4j.properties
is a valid classpath element.
An excerpt from the java tools doc says:
"How the Java Launcher Finds User Classes:
User classes are classes which build on the Java platform. To find user
classes, the launcher refers to the
a run -security 2> access.err > access.out
to be useful for debugging security issues.
J
Jon Wingfield wrote:
I don't think
${catalina.home}/common/classes/log4j.properties
is a valid classpath element.
An excerpt from the java tools doc says:
"How the Java Launcher Finds User Cl
directory but I am just trying
to get it to work at this point.
I also added the following to my tomcat3.conf although it is my
understanding that tomcat3 doesn't
care about shell variables for the classpath:
CLASSPATH=/home/vhosting/sfl/htdocs/classes:/home/vhostings/sfl/htdocs
export CLASSPATH
eudi 12 septembre 2002 17:11
À : [EMAIL PROTECTED]
Objet : Apache 2, mod_jk2, inprocess, w2k, classpath ?
Hello,
I'm trying to setup my Apache 2.0.40 with mod_jk2 and tomcat 4.1.10
When using the AJP13 connector or http connectors then things work
fine.
But when I specify to use the inp
Hi!
I'm wondering how I should do to make tomcat use the paths that are in
my CLASSPATH?
Regards,
/ Emma
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
hi ralph,
thanks for your quick reply.
with classpath i mean somewhere in the package of my
web application (context). this would match the first
path you pointed out in your answer
(webapps/{Context}/WEB-INF/classes/com/foo/My.properties).
actually i have no special reason i choose
> Von: petra staub [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 1. August 2002 16:45
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: Reading properties file from ClassPath
> (ServletContextListener)
>
> with classpath i mean somewhere in the package of my
> web application
Hi,
>There should be an easy way to extend tomcats classpath.
I disagree ;) Tomcat should support the servlet spec, which it does.
The servlet spec says your webapp should be a war containing all the
jars. You would have to duplicate the jars in that case.
Tomcat is nice enough to also
<[EMAIL PROTECTED]>
> Subject: RE: Howto add shared libs to tomcat's classpath?
>
> We have several 3rd party products that install onto the same machine are
> are used by other applications than just tomcat.
>
> These apps install themselves into their expected locations,
I understand. And it makes sense. But...
I agree that monkeying around with the system classpath is not the optimal
solution!
But, that's what i thought the classpath section was for in
tomcat.properties.
So, exactly what is/does this section do? It seemed like a great way to add
addit
tion nowdays is
> the one you ask (how to make additional JARs available) -- the problems
> people had about breaking the CLASSPATH for Tomcat, or for their other
> Java based applications, have gone totally away, because how it actually
> works is trivially simple to understand, and easy
Has anybody out there gotten Tomcat to run as an NT service using JDK 1.3 with a
classpath larger than 256 characters? If so how. I would like to avoid writing or
modifying C programs if possible.
Are you sure you're taking care of all of the classpath references in
tomcat.bat?
An alternative way to do this is to upgrade to 4.0rc2 which doesn't
provide any xml support, freeing the web app developer to use whichever
parser whey want.
hth
dim
On Mon, 17 Sep 2001, Peoter Veliki w
Greetings. I'm new to this list. Go easy on me. :-)
Last Monday, Roland Berger posted a message to this list titled "CLASSPATH
for web apps" (I found his posting in the web archive at mikal.org). In his
email he asks why Tomcat 3.2.3 is not loading up log4j.jar from his
WEB-IN
Source)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:484)
My JAVA=/usr/lib/j2sk1.3.0 (i used the java JSDK)
i have forced the CLASSPATH=$JAVA_HOME/lib/tools.jar
and that does'nt work.
Help me please
Phi
ll JSP which lists the classpath and I notice it prints
out as
/var/tomcat/common/lib (missing the 4). Does anyone know where this is
set?
ot;)%>
The java.class.path returned is
Java class path:
/usr/java/j2sdk1.4.0/lib/tools.jar:/var/tomcat/common/lib/:/var/tomcat4/
bin/bootstrap.jar
Notice the missing 4 in the common/lib classpath.
It is interesting that the bootstr
tStream fin = new
> FileInputStream("DBConnMgr.properties");
> props.load(fin);
> %>
>
> <%=props.getProperty("admin.log")%>
>
> The java.class.path returned is
> Java class path:
>
/usr/java/j2sdk1.
Title: Re: Why does Tomcat spend too much time before process a request?
You
can specify multiple Jars / .Class files by separating them with semicolons. No
additional -classpath should be used:
javac
-classpath c:\jakarta-tomcat\lib\servlet.jar;c:\jakarta-tomcat\lib\xerces.jar
*.java
put the zip file under "/lib" folder that you find under your tomcat
installation.Should work without having to set the classpath because tomcat puts
everything under /lib in classpath autmoatically when it starts up .
-Original Message-
From: Scott Brinker [mailto:[EMAIL
Alas, it's still not finding it. I now have the classes12.zip in the
following locations:
/jakarta-tomcat-4.0-b5/lib
/jakarta-tomcat-4.0-b5/common/lib
/jakarta-tomcat-4.0-b5/webapps/test/WEB-INF/lib
...(the latter being my web app), in addition to the CLASSPATH environment
variable
web app), in addition to the CLASSPATH environment
> variable. Any other thoughts?
>
Can you confirm it is a valid archive ("jar -t classes12.zip")?
--
John Alex Hebert
[EMAIL PROTECTED]
System Engineer
(Apparently Tomcat appends only
.jar's to its classpath, not .zip's, and must not pay attention to the
system CLASSPATH variable.)
Thanks John, Srinivas,
Scott
CAT_HOME%
set _CLASSPATH=%CLASSPATH%
--->
Modify the last line as -
set _CLASSPATH=%CLASSPATH%;D:\oracle\ora81\jdbc\lib\classes12.zip
Let me know if this helps.
-Srinivas
-Original Message-
From: John Hebert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 3:46 PM
To: [EMAIL PROTEC
ly 17, 2001 3:52 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Oracle JDBC in CLASSPATH for Tomcat 4.0
What i told you definitely works at least for the .jar files;from what you
say it looks like Tomcat isn't picking up .zip files (i personally haven't
tried it with .zip files).I wou
Just rename the files to be a .jar file.
--mikej
-=-
mike jackson
[EMAIL PROTECTED]
> -Original Message-
> From: Charles Lee [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 4:06 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Oracle JDBC in CLASSPATH for Tomcat 4.
>From memory this has come up before, and it is in the servlet 2.2 spec
that the servlet container will load "all jars" in the lib dirs - hence
excluding zips. I'm not sure how this affects the system classpath
though...
cheers
dim
On Tue, 17 Jul 2001, Sampige, Srinivas wro
CLASSPATH for Tomcat 4.0
Just rename the files to be a .jar file.
--mikej
-=-
mike jackson
[EMAIL PROTECTED]
> -Original Message-
> From: Charles Lee [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 4:06 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Oracle JDBC in CLASS
On Tue, 17 Jul 2001, Scott Brinker wrote:
>
> D:\oracle\ora81\jdbc\lib\classes12.zip
>
Tomcat 4 looks only for JAR files, not ZIP files.
Craig McClanahan
I running Tomcat 3.2.1 on Linux and when I look at the Jasper log file it
shows a classpath for each JSP page that includes the WEB-INF/classes and
all of the jar files in WEB-INF/lib.
This is great, but it doesn't seem like that classpath is available to the
javabeans that my JSPs use.
On Sat, 10 Mar 2001, David Wall wrote:
> There appears to be a serious problem with the classpath/classloader with
> Tomcat 3.2.1.
>
> It may be related to the Jasper engine, which outputs a dynamic classpath
> name that includes all of the classes and jars in the WEB-IN
s loaders created when Tomcat is
> running:
> - Bootstrap class loader (Java system classes)
> - Extensions class loader (JAR files from $JAVA_HOME/jre/lib/ext)
> - System class loader (contents of CLASSPATH at startup time)
> - Webapp class loader (contents of WEB-INF/classes and
AHA! You got me on the right track. It turns out that the JCE provider is
being loaded from the java.security file, so it's no doubt being loaded by
one of the system classloaders and then caused me grief. I removed the
automatic loading of the JCE provider and instead do a
Security.addProvider
JNDI queries.
Do you have any idea how to work with this in a Tomcat world? I'm not sure
how to cause this to load since I think it's that nasty situation in which a
lower-level classloader doesn't know how to move up. In this case, do you
think it's "okay" to put t
x27;m not
sure
> how to cause this to load since I think it's that nasty situation in which
a
> lower-level classloader doesn't know how to move up. In this case, do you
> think it's "okay" to put the JMS classes in the CLASSPATH for Tomcat?
I've
> seen tha
x27;m not
sure
> how to cause this to load since I think it's that nasty situation in which
a
> lower-level classloader doesn't know how to move up. In this case, do you
> think it's "okay" to put the JMS classes in the CLASSPATH for Tomcat? I've
> seen tha
ing:
> > - Bootstrap class loader (Java system classes)
> > - Extensions class loader (JAR files from $JAVA_HOME/jre/lib/ext)
> > - System class loader (contents of CLASSPATH at startup time)
> > - Webapp class loader (contents of WEB-INF/classes and WEB-INF/lib
> > fo
't know how to move up. In this case, do you
> think it's "okay" to put the JMS classes in the CLASSPATH for Tomcat? I've
> seen that it will work.
>
> Will there be a problem next with JDBC, in which the JDBC driver is also
> dynamically created? Perhaps tha
Hi,
Put your drivers in common/lib.
Tomcat uses it's own classpath - read the Class Loader HOW TO in the docs.
HTH :-)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 12. Februar 2003 12:39
To: [EMAIL PROTECTED]
Subject: Setting classpat
: Setting classpath for tomcat 4.1.18 - where to??
Hi,
Put your drivers in common/lib.
Tomcat uses it's own classpath - read the Class Loader HOW TO in the docs.
HTH :-)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 12. Februar 2003 12:39
To: [
nota confirma que esta mensagem foi verificada pelo MIMEsweeper
não tendo sido encontrados virus.
www.mimesweeper.com
***
You can set the classpath in catalina.bat file or setting an enviromment
variable in windows xp
-Original
Not sure what you mean, there's only one $CATALINA_HOME/common/lib.
John
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 12, 2003 6:55 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Setting classpath for tomc
k out that the classpath is being truncated
when it is running as a service.
the error thrown is:
java.io.IOException: CreateProcess: javac.exe -classpath ( it then
lists my classpath but truncates it before the end )
any ideas?
St
mysql\JDBC\
And have tried setting my classpath to point to that folder as below
Set CLASSPATH=C:\mysql\JDBC\;.
Method 2
Copied mysql-connector-java-3.0.8-stable-bin.jar to
C:\j2sdk1.4.1_02\common\lib
And simply set my classpath=.
Method 3
Copied mysql-connector-java-3.0.8-stable-bi
Hi,
Iam running tomcat in an embedded mode i.e. launching it from with in
my jvm and using it with Axis for SOAP processing. I am having a problem
with the classes and classpath. The SOAP implementation class files need to
be there /webapps/axis/WEB-INF/classes otherwise it doesn't
As much as it is painful at first, if you download and stumble through
using ANT, you will never look back with regret. ANT allows you to
configure the classpath that is sent to the java compiler. No need to
copy or move any jars around. It can be daunting at first, but like I
said, it
tools.jar is not in your classpath
- Original Message -
From: "Alex Korneyev" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, October 03, 2003 2:00 PM
Subject: com.sun.tools.javac.Main is not on the classpath error
Hello,
When i run tomcat in a debugge
tomcat doesn't use the classpath. You can copy your jar into /common/lib and
it will be shared by all your webapps.
see the classloader doc:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
Charlie
> -Original Message-
> From: Zsolt Koppany [ma
s startup scripts to append
$CLASSPATH to its own classpath. If you look at
$CATALINA_HOME/bin/catalina.sh, it's easy enough.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
>Sent: Saturday, October 11, 2003 12:56
I don't know what system you are using and how you are working with the other team. I
would share the shared directory (via NFS on UNIX).
François.
> Hi,
> but in development, where both projects may be updated all the time,
> I'd prefer to skip the extra overhead of either jaring all files,
> o
701 - 800 of 1018 matches
Mail list logo