Well, I would guess that it loads quickly when you're not connected if
it's cached on your disk.
I've had intermittent problems with tomcat running slow before and
usually re-deploying does the trick. If that fails I restart tomcat. If
that still doesn't work I suggest checking that any
Hi All,
My web application is using up all connections after running for a while.
It's quite obvious that I'm not using the connection pool as it was designed
to be used. The only way I can get these connections back is by restarting
the Tomcat. I have ojdbc14.jar in the following directories:
Hi,
You still need to create a connection cache with that datasource, so
something like :
OracleConnectionPoolDataSource ocpds = new OracleConnectionPoolDataSource();
...
OracleConnectionCache oracleConnectionCache = new
OracleConnectionCacheImpl(ocpds);
You can then call the
Probably you are not closing all the objects. It depends on pool used and
app server but is a good idea (and more portable) to close all the
objects. Many pools crash if you only close (return) the connections.
after using the rs object (ResultSet) -- rs.close()
after using the st object
Hi,
I'm a newbie, and I need to learn more about connection pool. Can you
suggest a tutorial or a web site where I can find more information?
TIA
Giuseppe
Hi,
You still need to create a connection cache with that datasource,
so something like :
OracleConnectionPoolDataSource ocpds =
Hello
Now that I've got my Ant build/deploy scripts working nicely, I'm tempted to
start running my applications out of packed WAR files.
I cannot figure out if there is a *portable* way to specify paths for where
my Log4J log files should be saved.
I assume I could use the 'catalina.home'
On a side note, try using bind variables (prepared statements) in your sql statements.
This way, you don't have to escape anything, gain performance and avoid sql-injection
attacks.
Slavik.
-Original Message-
From: Karl Coleman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004
Hi,
I added a shutdown hook in my app, which works fine when I run it in
standalone mode, but which does not seem to get called when Tomcat stops.
The shutdown hook operates according to following the following semantics:
Might be wrong on this but why not setup environment variables and reflect
those in ant? That way you should
be portable, providing those env vars exist.
BTW, take off the tomcat greeting page from your machine ;)
-Original Message-
From: Harry Mantheakis [mailto:[EMAIL PROTECTED]
Sent:
Possible problems could be:
- Connnections not getting closed
- The max concurrent request for tomcat had been reached (check the number of
connections in server.xml)
- AC
-Original Message-
From: Rudi Doku [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 2:34 PM
To: Tomcat
Hi There,
Why not use the ServletContextListener interface to do all of your cleanup
stuff when the contextDestroyed method is called ?
Pete
-Original Message-
From: Elie Medeiros [mailto:[EMAIL PROTECTED]
Sent: 03 March 2004 10:44
To: [EMAIL PROTECTED]
Subject: addShutdownHook
Could someone please help and explain to stupid me?
I'm developing using ant deploying/undeploying a lot at the moment and
I want to have access to my MySql connectionpool that I've registerd as
a GlobalNamingResource in server.xml. The problem is that I can't access
it (Cannot load JDBC
You need to use the .close method for every connection.
If your new connection is called conn then it's conn.close();
Check your max connections in server.xml (probably for port 8009) but if
you're not closing your connections this will only delay a crash not
stop it.
I suggest the java.sun.com
sorry, correction: the Resource under GlobalNamingResources is named
jdbc/mysql_devdb.
David Tiselius wrote:
Could someone please help and explain to stupid me?
I'm developing using ant deploying/undeploying a lot at the moment and I
want to have access to my MySql connectionpool that I've
mainly because i was trying to write a single class for both the tomcat
and standalone versions, and also to avoid making the business logic
dependent on a web environment. (ie to provide fail-safeness within the
business logic, rather than it being an external service that needs to
be checked)
Really,
I have looked in web.xml and I can't seem to locate anything that is related
to database connections. The only settings related to connections that I can
see are related to JDBC realms.
-Original Message-
From: Arnab Chakravarty [mailto:[EMAIL PROTECTED]
Sent: 03 March, 2004
Hi Ryan,
Thanks for the solution. I believe it's resolved my problem.
Rudi
-Original Message-
From: Ryan Lissack [mailto:[EMAIL PROTECTED]
Sent: 03 March, 2004 10:15 AM
To: 'Tomcat Users List'
Subject: RE: OracleConnectionPoolDataSource creates too many connections
Hi,
You still
You are probably using the invoker
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
-Tim
crombie wrote:
hi,
i'm re-introducing myself to tomcat after 2 yrs. for some reason i cannot get my
servlet apps to
run. i installed tomcat, got the welcome screen at port 8080 but when i put my
You have the servlet declaration but you are missing the servlet mapping.
See conf/web.xml for an example/
-Tim
George Hester wrote:
In my webapp in /WEB-INF/lib I put servlets-cgi.jar. I then added just this to the web.xml in \WEB-INF
servlet
servlet-namecgi/servlet-name
Hello All,
I try to get the number of active sessions for a particular application
with the getActiveSessions().
My problem is, that I get allways a 0 back.
What am I doing wrong?
Here is the sourcecode :
StandardManager manager = new StandardManager();
manager.setPathname(/app);
Hi,
We need to configure SSL on Tomcat4 server. The web service has to
authenticate the client using certificate.
We followed the document which has been attached along this mail.
1. If we use the admin tool to add new connecter for https (port
8443) tomcat is starting properly but the
Problem:
In my tomcat webapp a servlet manages a filedownload. Clicking on a
file-link results in the browser's
save as dialog.
Using tomcat alone (port 8080) everything works fine. Special characters
(like German umlaut) are shown
in ISO-8859-1.
Apache2/mod_jk seems to change the charset to
Hi All,
I create a session when a user is authenticated using the following code:
HttpSession session = request.getSession(true);
I do this in a loginservlet
When a user quits the application, there are redirected to a LogoutServlet
which redirects them to a jsp page, logout.jsp.
I have one
Hello,
i try to configure Apache 1.3.xx from cygwin and Tomcat 5.0 from windows to work
together with JK.
But i have a problem getting a binary version of mod_jk.
At this URL : http://apache.crihan.fr/dist/jakarta/tomcat-connectors/jk/binaries/
the freebsd directory is empty.
For cygwin i
Following my previous posting, I think I need to set the scope of my session
to application. How can I do this?
Met vriendelijke groet/Kind Regards,
Experian Nederland B.V.
Rudi Doku
Database Developer
Verheeskade 25
2521 BE Den Haag
phone: +31 (0) 70 440 4423
fax: +31 (0) 70 440 4040
e-mail:
I recommend reading chapters 9 13.
They will help you get a good understanding of how data get's saved across
state in a server side java app.
http://pdf.coreservlets.com/
On Wednesday 03 March 2004 08:22 am, Rudi Doku wrote:
Following my previous posting, I think I need to set the
I had a bunch of jar files under $JAVA_HOME/jre/lib/ext like IBM xml4j
parser etc. I removed them all, set $CLASSPATH to blank, and set
$CATALINA_HOME in /etc/profile. This fixed my problem.
Vijay Kandy
-Original Message-
From: Vijay Kandy
Sent: Friday, February 27, 2004 2:11 PM
To:
Hi,
You're probably removing the shutdown hook too early. Why are you
removing it at all?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Elie Medeiros [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 5:44 AM
To: [EMAIL PROTECTED]
Subject: addShutdownHook in
Hi,
I don't know, but consider using an HttpSessionListener to track this,
instead of tomcat's Manager, for a portable solution.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Andre Jahn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 7:32 AM
To: [EMAIL
Hi,
session.invalidate().
Problem is that when I use the tomcat manager application to view the
number of sessions connected to the application, there is still a
session, which in my opinion, means that the session has not been
invalidated.
Your opinion is wrong. The session objects aren't
Hi all,
I am trying
to configure a Datasource with tomcat 5.0, and I keep
on getting
Following exception :
org.apache.commons.dbcp.SQLNestedException: Cannot
create JDBC driver of class '
' for connect URL
'null', cause:
java.sql.SQLException: No
suitable driver
at
Hi,
Might be wrong on this but why not setup environment variables and
reflect
those in ant? That way you should
be portable, providing those env vars exist.
BTW, take off the tomcat greeting page from your machine ;)
That's one possible solution. Another is to setup a build.properties
file
Hi all,
Do
not want to spam, I forgot to mention that I was trying to connect to a
MYSQL database running on my machine
I found that there was a bug in previous
releases regarding configuration of datasource, so I created
The datasource
as global resource
Thanx and regards
Hi,
Try moving your TestDB datasource to your context declaration and out of
GlobalNamingResources.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 9:10 AM
To: [EMAIL PROTECTED]
Subject: problem in
Actually, the link was to the online version of the core servlets book.
I found it was a little easier to digest at first but in the end, there is no
substitute for reading the actual specs.
http://jcp.org/aboutJava/communityprocess/first/jsr053/index.html
On Wednesday 03 March 2004
Karl,
Using the regexp tag library I think it is still at version 1.0.
Because INSERT into tablename (field1) values ('I CAN'T DO THIS')
generates an error in SQL Server.
If you use a PreparedStatement, then you can send any string to the
statement object and it will do it's own escaping.
-chris
Nathan,
I am trying to migrate to Tomcat 5 from a different app server. Is
there a way to define url redirects? i.e. if a page moved off your
server to a different location and you do not want to make a redirect page.
You could write a servlet that's mapped to /*, and then have that
servlet
Nathan,
I am developing an imaging servlet under Tomcat 4.1.12 using JAI 1.1.2.
Every time I update my code to add new features, it will return with a
NoClassDefFoundError until I restart Tomcat. At that point, it finds
the 'missing' class and everything works as expected.
I'm no expert on JAI,
A-ha - it seems the shutdown hook does not get called when tomcat is run
as a service, but does seems to get called when run as standalone. In
that case it would seem that the problem would lie with the way the
service is configured (ie what it does to stop) compared to the
standalone version, I
try converting the filename to ISO-8859-1 as well
eg filename = new String(file.getName(), ISO-8859-1);
Your Code (modified):
response.setHeader(Content-Disposition, attachment; filename= +
new String(file.getName(), ISO-8859-1));
response.setContentLength((int)file.length());
Jerald,
session.setMaxInactiveTimeout(-1);
Yeah, this is a bad idea. The session will never go away by itself. This
*requires* the user to press a logout button, and for you to explicitly
call session.invalidate(). Users frequently do not log themselves out,
and their sessions will never
Rudi,
I have two things to add that nobody seems to have mentioned.
In my LoginServlet, I create a new PooledConnection, which I add to the
Servlet Context:
PooledConnection pc = ConnectionFactory.getInstance.getPooledConnection();
ServletContext ctx = getServletContext();
Flo,
i try to configure Apache 1.3.xx from cygwin and Tomcat 5.0 from windows to work
together with JK.
Okay. Isn't there a win32 binary?
http://apache.towardex.com/jakarta/tomcat-connectors/jk/binaries/win32/
(Look for files with 1.3.27 in their name -- those are for Apache 1.3.27).
But i have
I am using TOMCAT 5.0.19 and Apache 1.3.x. I configured my server.xml and
web.xml to use data source. When ever I excecute a servlet from browser I
get the folloeing message. For me it looks like my program is not able to
read tags in server.xml to get driver class info. Any help is really
Hi!
Mathew wrote:
For me it looks like my program is not able to
read tags in server.xml to get driver class info. Any help is really
appreciated.
If sure looks that way, but without further information one can't be sure.
It would really help matters if you could post the relevant parts of
your
Supply more information.
What does your server.xml and web.xml look like? (don't post the whole
file, just relevant parts).
Where is your driver jar located? (it should be common/lib)
That class of error (class '' for URL 'null') is fairly common, and
normally it's mis-configuration.
For the archives :
this is bug 27309 (
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27309 ) and has been
fixed in head.
-a
Aadi Deshpande wrote:
Hi,
I'm not sure if this or the taglibs-user is the right place for
posting this, but it looks to be a Tomcat error.
When trying to use a
Thak you for your response.. I appreciate your time ..
This is my server.xml
---
Host name=localhost debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
Context path=sunil docBase=sunil
Christopher Schultz wrote:
I've experienced even more random crashes (SEGV). It turned out to
be bad memory (or bus), and it only showed up under pretty heavy
load. :(
This is a little OT, but just out of curiosity, has anybody been
successful in gaining root/tomcat/whatever-uid shell by
Hi,
i am still trying to configure a datasource with tomcat..
I have a mysql instance running on my machine, (I can use without any
problem mysql console and mysql gui client), but in tomcat I am still
getting
Following exception..
org.apache.commons.dbcp.SQLNestedException: Cannot
I am also having the same problem. I just posted my sever.xml and web.xml
to the group. Any help is really appreciated
Hi,
i am still trying to configure a datasource with tomcat..
I have a mysql instance running on my machine, (I can use without any
problem mysql console and mysql
Under which directory should I place the jar file containing an
HttpSessionListener referenced in my web.xml? I currently have this in
a jar under web-inf/lib, but I am getting exceptions saying that this
class is not in my path.
Justin
Hi,
Under which directory should I place the jar file containing an
HttpSessionListener referenced in my web.xml? I currently have this in
a jar under web-inf/lib, but I am getting exceptions saying that this
class is not in my path.
WEB-INF/lib is the right place for all servlet spec
Ty.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 11:53 AM
To: Tomcat Users List
Subject: RE: Listener Jar File
Hi,
Under which directory should I place the jar file containing an
HttpSessionListener referenced in my web.xml? I
Hi
We want to achieve a 10-15% data reduction of the HTML being served by our
webserver (generated by JSP pages). This will have an impact on our
bandwidth charges from our ISP...
We can achieve this by by simply removing all the \n\r, \t characters
and replacing repeated occurences of
have you tried turning gzip compression? that should produce similar bandwidth
savings to stripping out extra carraige returns and double spaces.
you could always use the jasper plugin architecture to strip out excess stuff
peter lin
John Sidney-Woollett [EMAIL PROTECTED] wrote:
Hi
We
Hi
We want to achieve a 10-15% data reduction of the HTML being served by our
webserver (generated by JSP pages). This will have an impact on our
bandwidth charges from our ISP...
I cannot help you on this, but you should realise, that if you archive to
reduce you jsps output by 10%, this will
Peter Lin said:
have you tried turning gzip compression? that should produce similar
bandwidth savings to stripping out extra carraige returns and double
spaces.
We running Apache 1.3.x + JK + TC 5.0.x
What's better the gzip valve/filter in Tomcat, or try doing the
compression with an Apache
Steffen Heil said:
I cannot help you on this, but you should realise, that if you archive to
reduce you jsps output by 10%, this will affect you traffic only by about
2%.
We do have a server, which generated (according to access_log_*)
2.183.339.056 byte in 261.018 requests. But out
the reduction depends on your html right?
if you use a lot of tables, you're likely to see 5-10x compression. The easiest trick
is to save a couple of your biggest pages and zip them up. Compare the file size.
Now, if you have regular log reports, you can see which pages get requested the
I have an app. that uses Adventnet SNMP classes. If I perform a
snmpSet() call from inside a Tomcat or JBoss server, my application gets
a timeout error (I mean, the application is unable to communicate with a
remote network device via SNMP and the SNMP error is Request Timed Out
to w.x.y.z).
did you dowloaded java conecter j from mysl and copied it under under your
tomcat_home comon/lib
+alowed a user connection into mysql ?
[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc
From: Marco Mistroni [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL
I''ve been trying to start tomcat without success.
I dont know why every time I run startup.sh I get the following error:
java.lang.NoClassDefFoundError: javax/management/ListenerNotFoundException
at
javax.management.MBeanServerDelegate.init(MBeanServerDelegate.java:65)
at
did you set the java_home environnement variable?
[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc
From: Joao Araujo [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: What is the problem with tomcat 5.0
Date: Wed, 03 Mar 2004 13:39:45
You should never log to within the directory structure of your webapp if you
want your app to be portable. Provide configuration in web.xml as to where you
want the log file to go which an admin can override via proprietary
configuration. For instance, in Tomcat...
Context ...
Parameter
I have some plain text files that are formated but when tomcat 5 serves
the pages it loses all formating. This only happens on older browser
such as netscape 4.79.
I assume that tomcat sets the default mime type to text/html but I need
it to be text/plain.
Nathan
did you set the java_home environnement variable?
Yes. All off the variables described and possible of use.
It even displays the correct information.
Joao,
[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc
From: Joao Araujo [EMAIL PROTECTED]
Reply-To: Tomcat Users List
did you copy tool .jar file from inside your java_home?
[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc
From: Joao Araujo [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: What is the problem with tomcat 5.0
Date:
Hello dudes, do you know how can i authenticate a java programm to
use HTTP proxie throught a windows network? I´ve already done JavaPlugin and
built a java programm to make the job, but it didn´t workout, my HTTP proxie
is WebSense.
Regards,
Edson
yeah, i am. what is a good way to do abt this? create a index.html to
invoke the function and then edit the server.xml file and place the lines
notifying tomcat of the existence of the .class java files?
= -Original Message-
= From: Tim Funk [mailto:[EMAIL PROTECTED]
= Sent: Wednesday,
I thought FreeBSD works like cygwin but it seems wrong.
I tried the mod_jk_1_2_5_2_0_47.dll I got errors launching httpd :
Win32 error 126 (The specified module could not be found)
I needed to add ApacheCore.dll Win9xConHook.dll to the PATH
Then i got another error message : Win32 error 127 (The
If you've set JAVA_HOME properly, you should not need to copy tools.jar.
-Original Message-
From: FRANCOIS Dufour [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 1:31 PM
To: [EMAIL PROTECTED]
Subject: Re: What is the problem with tomcat 5.0
did you copy tool .jar
It seems like you need more education about servlets and jsps.
Sun has a tutorial at:
java.sun.com/webservices/docs/1.3/tutorial/doc/
By topic, look at chapters 3,4,15-19
-Tim
tsaiching wong wrote:
yeah, i am. what is a good way to do abt this? create a index.html to
invoke the function and
Hi,
What jars that didn't ship with tomcat are in your runtime classpath?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Joao Araujo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 1:40 PM
To: [EMAIL PROTECTED]
Subject: What is the problem with tomcat 5.0
I am still trying to fix this problem. I looked at
TOMCAT_HOME/commons/lib dircory and found out that I have
commons-dbcp-1.1.jar instead of commons-dbcp.jar. Do Ihave to remane to
commons-dbcp.jar. Same thing for commons-pool-1.1.jar too.
I am using TOMCAT 5.0.19 and Apache 1.3.x. I
Flo,
I thought FreeBSD works like cygwin but it seems wrong.
FreeBSD is a 'real' UNIX flavor, while cygwin provider UNIX-like
services and libraries on win32.
I tried the mod_jk_1_2_5_2_0_47.dll I got errors launching httpd :
Win32 error 126 (The specified module could not be found)
I needed to
Shapira,
Hi,
What jars that didn't ship with tomcat are in your runtime classpath?
I;ve nothing set on my classpath. I saw that tomcat override
whatever you set . The script
setclasspath.sh does the job. It does this.
CLASSPATH=$JAVA_HOME/lib/tools.jar
Those are my settiings
where is the oracle connection driver jar file ?
It needs to be in common/lib as well
-Original Message-
From: Mathew [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 2:18 PM
To: [EMAIL PROTECTED]
Subject: RE: Need help - Data Source problem
I am still trying to
As for naming, you could name that jar file dirty_laundry.jar and it
wouldn't matter. It's the classes that are found inside of it that
matter. the -1.1 is merely a help for you to know what version of
commons-dbcp you are using, which is, I understand, a matter of some
religious debate around
Hello, Joao:
jmx.jar contains javax/management/ListenerNotFoundException.class
and (for me) jmx.jar is in $TOMCAT_HOME/common/lib; perhaps it's
not installed on your system.
Here's a very simple yet useful Bourne shell script:
for jar in `ls *jar`
do
Hi,
What jars that didn't ship with tomcat are in your runtime classpath?
I;ve nothing set on my classpath. I saw that tomcat override
whatever you set . The script
setclasspath.sh does the job. It does this.
I'm aware of this script and what it does -- thanks ;) But that's not
Hi guys,
I'm pretty much a newbie when it comes to configuring Tomcat, and also with
building JSPs, although thanks to the useful examples and documentation,
I've been able to pick it up pretty quickly.
Anyways, I am interested in using the utilties provided in the
commons-fileupload-1.0.jar
Hi,
same import statement, and it worked fine. Does anyone have any
thoughts
as
to what else I can do to troubleshoot this problem further? I am
running
Tomcat-4.1.27.
I have a thought: start your own thread for your question and don't
hijack other peoples' ;)
Yoav Shapira
This e-mail,
What's the console output? how far did you get before you encounter that
specific error? Sounds to me like a mis-configuration of the context path
problem. You sure you have the right deploy descriptor in your war file?
-Original Message-
From: Timothy Stone [mailto:[EMAIL PROTECTED]
Hi,
The error, not explained in the Manager documentation anywhere BTW :
FAIL - Application at context path /foobar could not be started
Errors aren't typically explained in the documentation, as we rely on
stack traces and other information to diagnose and correct problems.
Feel free to
I've been struggling with the same problem. I read the bug report, but
it only adresses part of the problem, the part that doesn't retrieve the
session properly. I actually patched the code independently and have
discovered another problem, that somehow sessions are either getting
lost or
My apologies. I forgot to change the subject before posting.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 4:04 PM
To: Tomcat Users List
Subject: RE: Need help - Data Source problem
Hi,
same import statement, and it worked fine.
Hi guys,
I'm pretty much a newbie when it comes to configuring Tomcat, and also with
building JSPs, although thanks to the useful examples and documentation,
I've been able to pick it up pretty quickly.
Anyways, I am interested in using the utilties provided in the
commons-fileupload-1.0.jar
Hi,
Anyways, I am interested in using the utilties provided in the
commons-fileupload-1.0.jar file. I downloaded it to the
$CATALINA_HOME/common/lib folder. When I tried to import
org.apache.commons.fileupload.*, I get an error stating that the
package
If you're just starting out with tomcat,
Yansheng Lin wrote:
What's the console output? how far did you get before you encounter that
specific error? Sounds to me like a mis-configuration of the context path
problem. You sure you have the right deploy descriptor in your war file?
well, it some sort of directory problem. damn if I can
I'm trying to grab the current session ID and the request parameter map
from the current request and serialize them into a base64 string to
pass to a PHP application. Problem is, I keep running into the
following exception everytime I try to serialize anything imlementing
the Map
Thanks to everyone for the replies to my question!
Lots there for me to look into - JNDI, Alpha_2, and Chainsaw.
Phew!
Sorry, for *my* slow response: my ISP has dropped all my mail today, of all
days - so I went online to get your answers.
Regards
Harry Mantheakis
London, UK
Thanks to everyone for the replies to my question!
Lots there for me to look into - JNDI, Alpha_2, and Chainsaw.
Phew!
Sorry, for *my* slow response: my ISP has dropped all my mail today, of all
days - so I went online to get your answers.
Regards
Harry Mantheakis
London, UK
Timothy Stone wrote:
Yansheng Lin wrote:
What's the console output? how far did you get before you encounter that
specific error? Sounds to me like a mis-configuration of the context
path
problem. You sure you have the right deploy descriptor in your war file?
well, it some sort of
Hi,
What is the CoyoteWriter object I keep running inot, and how can I mark
it as transient?
It's the HTTP connector's writer, and you can't mark it as transient.
You would have to manually remove non-serializable attributes from a
copy of the Map before you try to serialize the copy.
Yoav
I need to access the session id from within a JSP and pass it, explicitly,
to a Flash-based client.
I am using the following code fragment as part of my JSP, but the value
returned for the session id is always blank.
Am I doing something wrong?
[EMAIL PROTECTED] contentType=text/xml
I have a classes111.jar file common/lib . Any other suggestion
where is the oracle connection driver jar file ?
It needs to be in common/lib as well
-Original Message-
From: Mathew [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 2:18 PM
To: [EMAIL PROTECTED]
Subject:
thanks a bunch! :)
and to all who replied. :)
= -Original Message-
= From: Tim Funk [mailto:[EMAIL PROTECTED]
= Sent: Wednesday, March 03, 2004 11:48 AM
= To: Tomcat Users List
= Subject: Re: re-newbie help
=
=
= It seems like you need more education about servlets and jsps.
=
= Sun has
Right now I get the exception even when I try to serialize a HashMap I
just created, without any data in it. I would guess that any request
parameters stored in the map returned by request.getParameterMap()
should be serializable right?
I don't understand how, f I'm serializing a new
Hello, and thank you for that,
Yes, I am timing the session out and trying to handle the result. I have:
HttpSession objSession = request.getSession(true);
String sessionStatus = (String) objSession.getAttribute(sessionStatus);
if (sessionStatus == null) {
1 - 100 of 120 matches
Mail list logo