If /product_view.jsp is at the root of your tree (a top level document),
surely it can not know how to go up above the root. This is by design.
I say it's at the root of the tree of the virtual host based on the
parse error "/product_view.jsp(2,0)"
dik
On 12/12/2006 1:22 AM also sprach Wang Peng
Chuck
Here's the results of java -version
java version "1.4.2"
gij (GNU libgcj) version 4.0.2 20051125 (Red Hat 4.0.2-8)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO warranty; not even for MERCHANTABILITY or FITNESS
> From: Mon Cab [mailto:[EMAIL PROTECTED]
> Subject: RE: java.lang.ClassNotFoundException:
> com.sun.image.codec.jpeg.JPEGImageEncoder
>
> I believe its Suns JRE.
Doing "java -version" from a shell prompt will tell you.
> But I have heard that on UNIX there is no access to awt
> (& presumable
Hi
I am trying to store a file in my webapp (Tomcat on Fedora) and am
using
File serverFile = new File(file_pathname);
serverFile.createNewFile();
FileOutputStream os = new FileOutputStream(serverFile);
os.write(fileData);
os.close();
but I a
I believe its Suns JRE. But I have heard that on UNIX there is no
access to awt (& presumable other image packages), due to UNIX being
"headles server". Does this make any sense? Would the packages in the
JRE distribution for UNIX?
--- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote:
> > Fr
> From: Mon Cab [mailto:[EMAIL PROTECTED]
> Subject: RE: java.lang.ClassNotFoundException:
> com.sun.image.codec.jpeg.JPEGImageEncoder
>
> Apologies (nice).
No worries. There is a Chris Schultz who is a frequent contributor to
this list.
> Java version is 1.4.2 on Fedora. Is that what you mea
Chuck
Apologies (nice). Java version is 1.4.2 on Fedora. Is that what you
mean?
--- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote:
> > From: Mon Cab [mailto:[EMAIL PROTECTED]
> > Subject: RE: java.lang.ClassNotFoundException:
> > com.sun.image.codec.jpeg.JPEGImageEncoder
> >
> > Thanks
Hello,
I am using tomcat 5.5.20, apache 2.0 and mod_jk.so to building a jsp
server on a RHEL 4.
And there is a very strange problem here:
There is a file named "headerCon.jsp" in the document root of a virtual
host. And there is a folder named product. There is a file named
product_view.jsp in t
Hi
I am trying to store a file in my webapp (Tomcat on Fedora) and am
using
File serverFile = new File(file_pathname);
serverFile.createNewFile();
FileOutputStream os = new FileOutputStream(serverFile);
os.write(fileData);
os.close();
but I a
> From: Mon Cab [mailto:[EMAIL PROTECTED]
> Subject: RE: java.lang.ClassNotFoundException:
> com.sun.image.codec.jpeg.JPEGImageEncoder
>
> Thanks Chris.
Chris? That's my ex-wife...
So what JVM do you have installed?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROP
Thanks Chris. I pulled the codec package from this and put it in its
own jar, and added to the tomcat/common/lib dir. Its working now.
--- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote:
> > From: Mon Cab [mailto:[EMAIL PROTECTED]
> > Subject: java.lang.ClassNotFoundException:
> > com.su
> From: Mon Cab [mailto:[EMAIL PROTECTED]
> Subject: java.lang.ClassNotFoundException:
> com.sun.image.codec.jpeg.JPEGImageEncoder
>
> Caused by: java.lang.ClassNotFoundException:
> com.sun.image.codec.jpeg.JPEGImageEncoder
This class is normally part of the Sun JRE download in rt.jar. It
app
Hello all,
I've been trying to debug a problem with caching of Tomcat requests for
a few days now, and can't seem to find an answer. Hopefully someone here
can help.
The system right now consists of Squid 2.6-stable5 on a front end server
setup as an accelerator with basic authentication, pointin
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Deploying shared .jar's
>
> Was that feature changed in the 5.0 and later versions? My 4.1.x
> version allows me to put files into $CATALINA_HOME/common/lib and
> have them available to all webapps which are deployed in their ow
Hi
I am running a tomcat web application on Linux, and am getting the
following error
2006-12-10 21:23:46 StandardWrapperValve[action]: Servlet.service() for
servlet action threw exception
java.lang.NoClassDefFoundError: while resolving class: myapp.Photo
bla bla
Caused by: java.lang.
While I haven't had a chance to actually try it yet, I would imagine
just change the JAVA_HOME to point to 6 and start. You could try it and
let us know what happens.
--David
Eric Chow wrote:
Hello,
How can run Tomcat5.5 in Java6 ?
--
Larry Isaacs wrote:
Hi Dave,
I believe one of the primary reasons that the
conf/catalina.properties file exists is so things like this are
configurable. If:
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
doesn't do what you want, change it to:
shared.loader=
Eric Chow wrote:
Hello,
How can run Tomcat5.5 in Java6 ?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Hello,
How can run Tomcat5.5 in Java6 ?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Dave,
I believe one of the primary reasons that the
conf/catalina.properties file exists is so things like this are
configurable. If:
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
doesn't do what you want, change it to:
shared.loader=${catalina.home}/shared
Chris,
Thanks very much for the suggestion.
I'm not using connection pooling at this stage. I have deployed my web
service scoped as an Application. It only uses one connection, and the
classes maintain some medium sized data structures which I do not want to
have to re-create each time the ser
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
> When you use this "-Dcatalina.base=$CATALINA_BASE" argument, Tomcat will
> calculate all relative references for files in the following directories
> based on the value of $CATALINA_BASE instead of $CATALINA_HOME:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Wood wrote:
> Ok, I have found the problem. A firewall between my tomcat server and a
> MySQL server was closing the database connection.
[snip]
> The execution continued and an exception was thrown,
> where in the catch{} section I was
Ok, I have found the problem. A firewall between my tomcat server and a
MySQL server was closing the database connection. I was checking if this
was closed in the web service, using the Connection.isClosed() method, but
that does not work as expected and was returning true even though the
connec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
B,
[EMAIL PROTECTED] wrote:
> Has anyone experienced memory leaks in there web app
> when using mod_jk?
What kind of leak are you observing? Something on the Apache httpd side,
or something in Tomcat? In either case, what is the (specific) behavior?
Caldarale, Charles R wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
Subject: Re: Deploying shared .jar's
With the way I read it now, anything I try to put under
catalina_home/shared/lib won't be visible to the webapps in
the various catalina_base folders. Is this correct?
Yes. L
You may want to offer something (PAY) for such help, I am sure you'll get
someone soon.
On 12/11/06, Steve Ingraham <[EMAIL PROTECTED]> wrote:
Sadly, I just checked my backup system. It is set up to backup the data
but not the application.
I am afraid I am in deep dodo as I know enough about
Sadly, I just checked my backup system. It is set up to backup the data
but not the application.
I am afraid I am in deep dodo as I know enough about Tomcat, Java and
Linux to be the cause of this type of a problem but not enough to fix
it. If anyone out there can talk to me and look at what I h
> From: David Kerber [mailto:[EMAIL PROTECTED]
> Subject: Re: Deploying shared .jar's
>
> With the way I read it now, anything I try to put under
> catalina_home/shared/lib won't be visible to the webapps in
> the various catalina_base folders. Is this correct?
Yes. Look at RUNNING.txt in you
Any chance you can restore the system from a backup? You'll be back to
square one (100% usage on /usr), but at least you'll know what not to
touch! Once your restore is complete, copy the log files to somewhere
that has space, then truncate them ("cat > logfile"). Then restart
Tomcat and your da
> From: Steve Ingraham [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat errors
>
> I also attempted to move some files from /usr/src and from
> /usr/local/src/apache-tomcat-5.5.15/webapps.
Do you have a backup of the file system prior to your shuffling things
around? If you can examine the backu
whatever files you removed from : /usr/local/src/apache-tomcat-5.5.15
/webapps
you need to return...
On 12/11/06, Steve Ingraham <[EMAIL PROTECTED]> wrote:
Thank you for your reply. I am afraid I am not familiar with
JSP/Java/Servlet's at all. I was "playing" with it only in the context
that
Thank you for your reply. I am afraid I am not familiar with
JSP/Java/Servlet's at all. I was "playing" with it only in the context
that I have a Linux RedHat server that had a /usr/ directory that was
full. This caused a failure when our users attempted to access our
database via their web brow
For one, you playing with tomcat so I'll presume you're familiar with
JSP/Java/Servlet, your problem isn't tomcat, you Veiw.jsp is using an object
(oneCol) which is missing a getta method that is used for introspection.
Maybe there is a tag in the page that implicitly refereces the datefield
prope
This error was not occurring before. I am afraid I am not familiar with
Tomcat enough to know the answers to your questions. How do I check
View.jsp? I have been trying to revert the changes back by placing the
files I moved back to where I thought they belonged. Whatever I am
attempting to mov
Yes, I have restarted Tomcat several times now.
Steve Ingraham
Director of Information Services
Oklahoma Court of Criminal Appeals
[EMAIL PROTECTED]
405 522-5343
-Original Message-
From: Nelson, Tracy [mailto:[EMAIL PROTECTED]
Sent: Monday, December 11, 2006 3:34 PM
To: Tomcat Users Li
Hi All,
I have installed Jdk 1.5.0_09 and Tomcat 5.5.20 on Windows.
I d'like to tune the service and make a separate instance of
Tomcat (ie CATALINA_BASE).
According the Windows Service How-To, i have suppress
The default Service using tomcat5.exe //DS//Tomcat5
I'm trying to reinstall one using
Did you restart Tomcat after removing and replacing the occa.war file?
If not, you may want to do so, just to restore everything to a known
state.
---
Tracy Nelson / Nelnet Business Solutions
402 / 617-9449
| -Original Message-
| From: Steve Ingraham [mailto:[EMAIL PROTECTED]
| Sent: Mond
javax.servlet.ServletException: ServletException in
'/caser/extension/View.jsp': No getter method for property
attributes.datefield of bean oneCol
The above error means the bean oneCol doesn't have a getta method. you have
to declare a method of the sort getDateFieldif that problem was not
o
I need some assistance with a Tomcat application problem. I have a
MySQL database that is accessed by users via web browser using
Apache-Tomcat 5.5.15. Our system was designed and implemented specific
to our court by a person who is no longer working here.
Today Tomcat was failing when users at
Doesn't look like they have a direct download of the 64 bit version.
You don't need to reinstall Tomcat, you would need to run Tomcat through
the new service exe.
I don't have a 64 bit windows system, so I can't compile it for you.
Sinkinson,Andrew [NCR] wrote:
If I understand correctly I ne
Caldarale, Charles R wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
Subject: Re: Deploying shared .jar's
My webapps can't see classes in the .jar that is in the shared/lib
folder; I get the ClassNotFound errors when I try.
Check your conf/catalina.properties file and make sure thi
Single connections create bottlenecks and slow down throughput when the
site get's busy. DBCP allows for multiple managed connections for
faster performance. Plus it can take care of when connections die and
create new ones automatically.
There are shades of grey as well. I have one solutio
If I understand correctly I need to download a 64 bit service.exe that
is installed in the Windows\system32 directory.
Then re-install tomcat5.5.20 and all should be good.
Do you have the direct link to the service.exe that would work?
-Original Message-
From: Scott Carr [mailto:[EMAIL
You would need to have a 64 bit version of the Service exe.
http://wrapper.tanukisoftware.org/doc/english/introduction.html
The above site has a Service wrapper that can be compiled on a 64 bit
system.
Sinkinson,Andrew [NCR] wrote:
I have installed a 64 bit version of java.
Java(TM) 2 Runti
I have installed a 64 bit version of java.
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_10-b03, mixed mode)
When I install tomcat 5.5.20 the service will not start. Here is the
error:
[2006-12-11 15:11:26] [924 prunsrv.c]
There are more than one connections.
I have a number of Beans, each bean will have a number of prepared stmts.
For different stmts in one bean (one stmt mapped to one webservice call
indeed), do I need to use different connection ?
My plan was to share an open-connection within a bean, pooled co
Ran wrote:
Hi all,
How does DBCP compare to application managed, single connection which stays
open to share ?
Do you realy need only one connection?
If you need more than one connection you must manage something like a
connection pool.
DBCP can help you also in application debug (logging con
Hi all,
How does DBCP compare to application managed, single connection which stays
open to share ?
Thanks,
ran
Of course you should take the 64-bit VM to achieve best performance :-)
regards
Leon
On 12/11/06, Sinkinson,Andrew [NCR] <[EMAIL PROTECTED]> wrote:
Hi All,
I am currently in the process of setting up a Windows 2003 AMD 64 bit
server. I would like to know if it is possible to run Tomcat 5.5 as
Hi,
Mladen Turk provided Windows Binaries for win32 (Apache mod_jk, IIS
isapi plugin and Netscape nsapi plugin) and for win64 (AMD+IA64 isapi
plugin):
http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries
Thanks Mladen and happy testing to everybody.
Regards,
Rainer
---
Has anyone experienced memory leaks in there web app
when using mod_jk?
If so, how'd you fix the leaks?
Thanks, B
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
--
> From: David Kerber [mailto:[EMAIL PROTECTED]
> Subject: Re: Deploying shared .jar's
>
> My webapps can't see classes in the .jar that is in the shared/lib
> folder; I get the ClassNotFound errors when I try.
Check your conf/catalina.properties file and make sure this line is
present:
shared.l
Sinkinson,Andrew [NCR] wrote:
Hi All,
I am currently in the process of setting up a Windows 2003 AMD 64 bit
server. I would like to know if it is possible to run Tomcat 5.5 as a
service and as a 64 bit application. Does anybody have any experience
with this? Any help would be greatly apprecia
Hi All,
I am currently in the process of setting up a Windows 2003 AMD 64 bit
server. I would like to know if it is possible to run Tomcat 5.5 as a
service and as a 64 bit application. Does anybody have any experience
with this? Any help would be greatly appreciated.
THX,
Andrew
olivier nouguier wrote:
hi,
By http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
Shared is the parent classloader of webapp.
AFAIK the consequence of this in that a class loaded from webapp
classloader
can see other classes (whenever they come from shared, webapp or
common),
bu
hi,
By http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
Shared is the parent classloader of webapp.
AFAIK the consequence of this in that a class loaded from webapp classloader
can see other classes (whenever they come from shared, webapp or common),
but the reverse is not true, a
From what I've read in the Tomcat 5.5 docs, I should be able to deploy
a .jar that is shared across multiple webapps on Windows by putting it
in the (tomcat)/shared/lib folder, but I've never gotten that to work.
I've always had to put that jar in the web-inf/lib folder of each of the
webapps
Hi
Can anyone please tell me how can I configure the strong etag, weak
etag of a static resouce in tomcat?
I see this in html capture, I would like to know how can i get rid of
the 'W/' in etags.
http://64.27.165.81/j.htm
GET /j.htm HTTP/1.1
Host: 64.27.165.81
User-Agent: Mozilla/5.0 (Windows
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: [OT] Multi processor issue
>
> There is an OS called Clouds where threads could actually
> migrate between machines in a cluster. I suppose the "thread"
> doesn't really "migrate", but all of the associated data (or
> handles to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
> If you're suggesting that one thread may change its process
> association, that is theoretically possible on some OS implementations
> (anybody remember Multics?)
There is an OS called Clouds where threads could actually migrate
between mach
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dong,
JiaDong Huang wrote:
> Let's step back and see the whole picture, more widely. Let's presume
> the symptom as: the company's Web developers have done the same test
> with MT on single CPU and nothing wrong found. And the issue only
> happens wit
> From: Stephan Schöffel [mailto:[EMAIL PROTECTED]
> Subject: tomcat service issue
>
> can someone tell me how this path looks like and how to change
> it so i can use the same paths as i did starting manually?
You should be able to use the Startup tab of tomcat5w.exe to set the working
path, b
> From: Marziou, Gael [mailto:[EMAIL PROTECTED]
> Subject: RE: Multi processor issue
>
> I propose to implement a bug catcher in Tomcat ParameterMap by storing
> the thread that called the constructor amd then check its invariance
> when calling other methods (e.g. isLocked) of this class, if the
> From: JiaDong Huang [mailto:[EMAIL PROTECTED]
> Subject: RE: Multi processor issue
>
> So it is just a case of simple MT issue - multiple threads have
> accessed/operated on a class/object that is not MT safe.
I wouldn't label the situation as "simple" - threading issues frequently
are not.
Thanks for all replies, you have convinced me that we should investigate
further.
I propose to implement a bug catcher in Tomcat ParameterMap by storing
the thread that called the constructor amd then check its invariance
when calling other methods (e.g. isLocked) of this class, if the
invariance
hi there,
i altered tomcat internals to read different files at startup. this
works fine when starting up tomcat manually since the startup.bat and
the read file are in the bin directory.
but when running tomcat as a service, it does not find the file. somehow
it uses a different path while
Thanh Vinh Nguyen wrote:
> Hi
> Using Tomcat web server.:
>
> Do you know why it is called Tomcat (where does that name come from)?
http://tomcat.apache.org/faq/meta.html
Mark
-
To start a new topic, e-mail: users@tomcat.apache
> From: JiaDong Huang [mailto:[EMAIL PROTECTED]
> I thought they had
> done certain code review and did not find any MT safe issue.
They had (and I naively took them at their word), and they didn't find
any such issue. However, as Chuck points out so effectively, "we didn't
find any issues" isn'
Appreciate your reply analyzing my guessing cases.
So it is just a case of simple MT issue - multiple threads have
accessed/operated on a class/object that is not MT safe. I thought they had
done certain code review and did not find any MT safe issue.
If an effective stress test had been done on
Hi All,
I am trying to run multiple webapps using a single instance of Tomcat. Each
has its own index.jsp. However, I noticed that regardless of the accessed
context, Tomcat always returned the index.jsp corresponding to only of them.
After some investigation, I found that jasper was generating
71 matches
Mail list logo