Ok, I've searched and searched, but I cannot figure out the answer. I
am using Tomcat container provided connection pooling; connecting to
an Oracle XE server and I need to insert a CLOB. It would appear that
doing this task is dependent upon which RDBMS vendor you're working
with?
Can anyone he
[snip very helpful suggestions]
Holy crap guys! This is awesome, I've never had this much response
from the users@ (and be it an off-topic too!)
Once I get the code in hand, that's when the fun will begin!
thanks everyone
-- brian
--
On Fri, Mar 28, 2008 at 10:27 AM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> My first guess (and that's all it is, a guess!) is that you're trying to
> insert something coming from the client into a SQL query and for whatever
> reason it's being transmitted differently from IE than FF and is
Ok, here is a weird one. I don't believe it is related to Tomcat
specifically, but I'd like to tap the community and see if someone
else has ever experienced this issue.
I am troubleshooting an app, which was originally designed using
Firefox. Now that we are testing with IE (IE 6 and 7), we are
On Tue, Mar 18, 2008 at 9:58 AM, Murat Birben <[EMAIL PROTECTED]> wrote:
> tcp0 0 :::8080 :::*
> LISTEN
>
Ok, that's good, it can listen on all IPs
Now, do you know if you are running SELinux or if your firewall is
configured as Peter suggest
On Tue, Mar 18, 2008 at 9:45 AM, Murat Birben <[EMAIL PROTECTED]> wrote:
> My server OS is centos and I've apache 2.2 and tomcat6 installed on my
> machine. I can display my php pages as abc.xyz.com and display my jsp pages
> on LAN as abc.xyz.com:8080/asd but my jsp pages cannot be display fro
Oops, I stand corrected, as I see further along in the thread that
JAVA_HOME is pointing to where I suggested.
See I knew I shouldn't have jumped in here! :)
-- brian
On 9/13/07, Brian Munroe <[EMAIL PROTECTED]> wrote:
> On 9/11/07, Hassan Schroeder <[EMAIL PROTECTED]> wr
On 9/11/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote:
>
> ?? On my Mac (OS X.4.10) $JAVA_HOME is:
>
> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0
>
Hi everyone.
I don't mean to cloud the discussion with a possible non-issue, but
for fun, I just tried defining my JAVA_HOME as y
On 9/6/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> Finally Martin Fowler said "dependency injection", and nobody ever had
> to worry about programs making any kind of sense ever again. And it was
> Good (for hourly contractors!)
>
That's it, I'm going back to Perl CGI application develop
On 9/6/07, David Smith <[EMAIL PROTECTED]> wrote:
> I'd think your best bet is to clean out all the dead
> in-house code and then thin out the dependencies until it stops
> building. If nothing else, refactor your code to pair down the multiple
> versions of libraries.
>
Oh, don't you worry, me
Can someone explain a little bit about classloading really quick?
Let me preface this with: I am maintaining an application which I did
not develop.
Looking at the WEB-INF/lib directory, it has around 76 different jar
files, some actually used in the application, some (well, most) not.
They eithe
On 9/6/07, Lionel Crine <[EMAIL PROTECTED]> wrote:
> Of course, you ll have to define the JNDI variable in a different way.
> But most important, you'll don't have to change your java classes
> because the JNDI tree will stay the same.
Yep, that is what I am pushing for (JNDI)
-- brian
---
On 9/2/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> Correct. It appears that "Container" is the default, but setting it
> explicitly certainly won't hurt.
>
Gotcha, thanks.
-- brian
-
To start a new topic, e-mail: u
On 9/2/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> Not really. The Realm configuration documents how clients login to
> applications, not how Tomcat (or your app) login to external resources.
> The Security Manager describes how to place limits on what application
> code can do within T
On 9/2/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> The auth attribute is the equivalent of element inside a
> web.xml setting, as defined in the servlet spec. The
> valid values are Application or Container.
>
Chuck:
So I guess I should probably read the "Realm Configuration HOW-T
On 9/2/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote:
>
> To be honest, I can't find any other documentation on that -- what
> alternative values might be, or their effect. And I just gave it a quick
> try with no setting and LambdaProbe's data sources page shows a
> blank for "Auth" -- but acces
Mike, just an FYI:
This morning I tried my little 'hello, world' recipe on Tomcat 6;
aside from having to place the driver jar file in $CATALINA/lib,
everything else works the same.
Hope it helps you
-- brian
-
To start a new t
On 9/1/07, Brian Munroe <[EMAIL PROTECTED]> wrote:
> On 9/1/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote:
>
> >
> > If you're talking about TC6, there is no common/lib or shared/lib;
> > $CATALINA_HOME/lib is correct...
> >
>
> Oh crap, I wa
On 9/1/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote:
>
> If you're talking about TC6, there is no common/lib or shared/lib;
> $CATALINA_HOME/lib is correct...
>
Oh crap, I was going off my 5.5 install!
Thanks!
-- brian
-
To
On 8/31/07, Mike Cronin <[EMAIL PROTECTED]> wrote:
> I am having a problem setting up a connection-pool via JNDI on Tomcat 6.0.14
> utilizing Oracle 10g. Currently I have a for my DataSource
> referenced within a element within the server.xml file. The
> classes12.jar file which contains the Ora
On 8/31/07, tk-2506 <[EMAIL PROTECTED]> wrote:
>
> Any idea what's going on???
>
The developers forgot to bump the sub version number in build.properties?
Do you really need to use the 4.x series?!
-- brian
-
To start a new to
On 8/31/07, Tim Funk <[EMAIL PROTECTED]> wrote:
> Do you really want code that has nothing to do with the servlet api
> dependent on ServletContext? Plugging in a new jndi lookup for testing
> is much easier.
>
Forgive my ignorance here, but do you mean, say, in a bean? That
doesn't inherit the
I just started to help maintain an application that I didn't
originally develop. It is using elements and
getInitParameter() to access application configuration items in
web.xml.
I have always used elements and JNDI to store and read
these items, respectively. Refactoring the code to use 's
co
On 8/30/07, Mark Thomas <[EMAIL PROTECTED]> wrote:
[snip]
> Brian McArdle wrote:
[snip]
There is also Apache Announce? Granted it isn't Tomcat specific, but
it is lower traffic then dev or users.
http://www.apache.org/foundation/mailinglists.html
-- brian
---
On 8/29/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
>
> The CLASSPATH environment variable is certainly not ignored by Tomcat.
> Here's part of the startup script from TC 5.5:
>
> # Add on extra jar files to CLASSPATH
> if [ -n "$JSSE_HOME" ]; then
> CLASSPATH="$CLASSPATH":"$JSSE_HOME"/lib/
On 8/29/07, David Smith <[EMAIL PROTECTED]> wrote:
> One other thought and I don't know how possible this is but it's there
> for your consideration. Would you happen to have a connector defined
> with the same port number as the shutdown port def.? It wouldn't be
> bound until tomcat starts and
On 8/29/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> The biggest problem with CLASSPATH is that it tends to be set and then
> forgotten, causing classloading problems during subsequent Java
> executions. The resulting confusion (especially if it involves the
> wrong version of a class,
On 8/29/07, Hristian <[EMAIL PROTECTED]> wrote:
>
> How could this be if the port if shows as free on netstat?
>
Misinterpretation of netstat output? Don't take that the wrong way,
I'm just trying to be helpful. Can you send the output to the mailing
list?
I'd follow Sonal's suggestion, becaus
On 8/28/07, Hristian <[EMAIL PROTECTED]> wrote:
> I'm having the same problem, none of these ports are busy. First I tried on
> it's Windows Server 2003 OS, it had this problem, then we deleted the Win
> Server and installed Windows XP. I have no idea...
Are you still having the problem on XP? W
On 8/29/07, David Smith <[EMAIL PROTECTED]> wrote:
> able to find the endorsed directory, you should probably get a new copy
> of the jars from your .tar.gz or .zip download and replace the jars.
Who knows what else is wrong. My vote is for just get a fresh copy of Tomcat.
-- brian
---
On 8/28/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> The CLASSPATH environment variable should never be used when running
> Tomcat. (For that matter, it shouldn't be used in any Java environment
> these days.)
>
Chuck: I don't mean to hijack this thread with unrelated topics, but
can
On 8/27/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> I'm really curious about one thing: if the OP has a 64-bit environment,
> why is he being so stingy with heap space?
>
In the OP, what I found interesting was that the default heap size
wasn't enough to start Tomcat? According to S
On 8/27/07, hezjing <[EMAIL PROTECTED]> wrote:
> I started to believe that this may not be Tomcat's problem.
>
> It is showing the latest JSP after I I took out all the configuration
> and libraries of Struts, Hibernate, Log4j and etc.
>
> I will post my question to the other mailing list, and I ap
On 8/27/07, Manivannan Palanichamy <[EMAIL PROTECTED]> wrote:
> My problem is: I am trying to install java & tomcat on a server (redhat
> linux, 64 bit), which runs on shared memory. I need to limit down java start
> up memory, by passing arguments like $javac -J -Xmx118m & $java -Xmx118m so
> tha
BTW, with the configuration I showed below, the JSP does not get
translated to a *.java file until I first access the page.
On 8/26/07, Brian Munroe <[EMAIL PROTECTED]> wrote:
> On 8/26/07, hezjing <[EMAIL PROTECTED]> wrote:
> > Hi!
> >
> > If I understood the
On 8/26/07, hezjing <[EMAIL PROTECTED]> wrote:
> Hi!
>
> If I understood the comment in web.xml correctly, by default, the
> JspServlet is initialized with the following parameters
>
> development=true
> modificationTestInterval=4
>
> Aren't this sufficient to reload the JSP after 4 seconds the JSP
On 8/26/07, Brian Munroe <[EMAIL PROTECTED]> wrote:
> I am experiencing an annoying (but not show-stopping) issue while
> trying to use the Catalina ReloadTask Ant task.
>
Ok, I think I've isolated the problem, and it has nothing to do with
the ReloadTask. More in regards t
I am experiencing an annoying (but not show-stopping) issue while
trying to use the Catalina ReloadTask Ant task.
I am currently using Ant 1.7, JDK 1.5 (OS X) and Tomcat 5.5.23.
Whenever I make a modification to a JSP, I usually do an 'ant reload'
to push the changes to the build/ directory and f
On 8/25/07, Manivannan Palanichamy <[EMAIL PROTECTED]> wrote:
> I need to pass javac (compilation) arguments to tomcat. Just as JAVA_OPTS is
> there for jvm arguments, is there any env var/ other ways to pass arguments
> to javac of tomcat?
Hum, 'javac of tomcat' - Do you mean the JSP Compiler,
On 8/20/07, Brian Munroe <[EMAIL PROTECTED]> wrote:
>
> There might be some security settings you may need to tweak. What
> those are, I have no Idea.
>
Or after a Google search, because I was curious, IE7 doesn't like SHA-1:
http://blogs.atlassia
On 8/20/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> autossh, but that would fall under your tunneling category.
> I think those are only options, I can't think of anything else
yep, unfortunately. Thanks anyways.
I will probably just end up using IPSec.
-- brian
-
On 8/20/07, Mark Thomas <[EMAIL PROTECTED]> wrote:
> Looks like time to start looking at the network traffic to figure out
> what is going wrong.
>
Either that, or my guess is Vista is being "helpful" and not allowing
sites with self-signed or untrusted SSL certificates to pass through
to the use
I am well aware after STW that the 2 best suggestions for securing
traffic between Apache httpd and Tomcat over AJP (either using
mod_jk_proxy or mod_jk), is:
1. Use either IPSec, stunnel, etc.
2. Don't use AJP and proxy https between Tomcat and Apache.
Any other options? I'd really like to e
On 8/17/07, Bill Barker <[EMAIL PROTECTED]> wrote:
>
> This is on the list of things for the Servlet 3.0 spec
> (http://www.jcp.org/en/jsr/detail?id=315), but that means you will have to
> wait for Tomcat 7.0.x to get the "fix". All of the Servlet 2.x specs
> specify a non-generic Enumeration for
On 8/17/07, Lizard Lizard <[EMAIL PROTECTED]> wrote:
> I found the problem. Something else was listening on port 8005. I
> changed it to 8006 in the XML config file and all worked smoothly from
> then on. Thank you for your help; without netstat, I'd never have
> managed to puzzle this out.
Ok, g
On 8/17/07, Vigorito, Nicholas E. <[EMAIL PROTECTED]> wrote:
>
> - If the suid bit is set for the owner of a directory (looks like drws
> when shown via ls -l) what does that mean? I can find what it means for
> a file but not a directory.
>
Here is a much better explanation then I would be able
On 8/17/07, Lizard Lizard <[EMAIL PROTECTED]> wrote:>
> SEVERE: StandardServer.await: create[8005]:
> java.net.BindException: Address already in use: JVM_Bind
>
> It claims the address is already in use, but netstat shows nothing on
> that address. Stopping the apache server itself did not change
On 8/17/07, Lizard Lizard <[EMAIL PROTECTED]> wrote:
> I am sure more information is needed to diagnose this problem, and I
> will happily provide it.
>
> Thank you for any support you can offer.
>
2 things to check.
1. Do the tomcat logs tell you anything? Located in /logs
2. From a command
On 8/16/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> The ServletContext.getRealPath() call will fail if the webapp is in an
> unexpanded .war or running on a platform without a normal file system
> (e.g., a mobile phone). Better to use
> ServletContext.getResourceAsStream(), which will
On 8/16/07, Robert Segal <[EMAIL PROTECTED]> wrote:
> So as an alternative I know the second method will work but was curious
> if anyone has tried the first method.
>
I doubt the 1st method is valid, since you are basically inventing new
deployment descriptor elements, and I know for sure that E
This is more of a Servlet API question, but pertains to Tomcat
nonetheless. I am using Tomcat 5.5.23 with JDK 1.6.
I am having a problem with Generics and request.getParameterNames().
I keep getting a unchecked cast warning (just a warning, but still).
I was going to just use the @SuppressWarnin
On 7/31/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> Look here for details:
> http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.h
> tml
Heh, II was wondering about that. I just gleamed that and found this gem:
Drivers for older Oracle versions may be distributed
On 7/31/07, Propes, Barry L <[EMAIL PROTECTED]> wrote:
> What version of TC are you using? I wouldn't put the jar file there, no!
>
I am using 5.5.23. Wouldn't put it where? shared/lib?
> Try in %TC HOME%\common\lib, whereever that is.
>
I did, and it works, but from my understanding of the c
I am connecting my application to a Oracle XE database and I am having
a weird issue with classloading.
According to the classloading documentation [1] I should be placing
the Oracle JDBC jar file ojdbc14.jar in $CATALINA_HOME/shared/lib, but
when I do that, my application throws a Cannot load JDB
On 7/20/06, Blah2006 <[EMAIL PROTECTED]> wrote:
MACHINE 2:
- Microsoft Windows XP Professional, Version 2002, Service Pack 2
[Tue Jul 18 16:33:33 2006] [info] jk_open_socket::jk_connect.c (444):
connect to 1.2.3.4:8009 failed with errno=60
I think erno=60 is a timeout error code. Are you
On 7/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
No
Vignette
why? are you in a similar situation?
if so how did you go about increasing heapsize
and what appserver are you using
Well, luckily our system isn't heavily loaded, we bumped it to
-Xms1024 -Xmx1024 and everything is working sm
On 7/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I understand.
The webapp is a content management site which has been producing out of memory
errors.
The server has 16GB RAM which is quite significant.
Not trying to hijack the thread here, but would this content
management product be
On 7/12/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
I'm about done with this thread, but I just gotta send one more
e.g. httpd.conf
ServerName /usr/local/tomcat/dev/webapps/bmtest/admin
ServerAlias admin1
...
ServerAlias is for setting an alternative host nam
On 7/12/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
This solution works if you're front-ending with Apache-
I have seen CGI/Perl do this to specifically route incoming requests to
CGI/Perl site 1 to their folder
(and consequent access to site2 to Tomcat)
Do you have any configuration file ex
On 7/12/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
allows you to access seemlingly disprate sites thru Virtual Hosts check out
http://httpd.apache.org/docs/1.3/vhosts/examples.html#serverpath
I am pretty sure Alias will only work *if* you (Dave) don't need to
process it through Tomcat. It
On 7/11/06, Richard Mixon <[EMAIL PROTECTED]> wrote:
Thanks to all those who replied with respect to the orginal thread.
Please do not hijack and existing thread. Start a new thread. You have
thoroughly mucked up this thread on "mod_jk 1.2.16 rele4ase candidate: ready
to test".
Richard, I w
On 7/3/06, Rainer Jung <[EMAIL PROTECTED]> wrote:
version 1.2.16 of the Apache Tomcat mod_jk web server connector has been
tagged. This version contains numerous bug fixes and some new
improvements over our last release 1.2.15. Please test and share your
experience.
If no critical bugs will be
On 7/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I am using Suse Linux 9.0 and I might be behind a firewall. I
will try to see if I can open up this port.
Also if you do a 'netstat -a | grep -i listen' as root, it may show
you what is running on which ports. If you see anything like
On 7/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Yes, I could ping "xyz.ab.edu" from my pc, but not
"xyz.ab.edu:8181" (8181 is the port number on which tomcat is
receiving requests). If I use "telnet localhost 8181" from
xyz.ab.edu, it lets me in... but "telnet xyz.ab.edu 8181"
doesnt wo
On 7/10/06, David Smith <[EMAIL PROTECTED]> wrote:
No, that won't work. Copying jar files from server/lib will cause
classloader problems. There is a simpler way:
1. Rename manager.xml in conf/Catalina/localhost to manager-5028.xml
2. Change the path attribute in manager-5028.xml to manager-5
dPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:534)
thanks
-- brian
On 7/8/06, Brian Munroe <[EMAIL PROTECTED]> wrote:
I am trying to set up an environment that has both a Tomcat 5.5.17 and
a Tomcat 5.0.28 instance running, accessed via Apache 2.0.58 + mod_
On 7/9/06, Mr Alireza Fattahi <[EMAIL PROTECTED]> wrote:
Hi,
We want to configure tomcat 5.5.17 with mod_jk and change server.xml as below:
The above was mentioned at
"http://tomcat.apache.org/connectors-doc/howto/apache.html"; to create a
mod_jk.conf-auto file.
Alireza,
I just read the
I am trying to set up an environment that has both a Tomcat 5.5.17 and
a Tomcat 5.0.28 instance running, accessed via Apache 2.0.58 + mod_jk.
Can anyone recommend a URL layout to access the different Tomcat managers?
My current configuration looks like this
In httpd.conf
-
JkMou
On 3/1/06, ash ag <[EMAIL PROTECTED]> wrote:
> BUILD FAILED
> /opt/Ant/apache-ant-1.6.1/build.xml:47: javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException : No trusted certificate found
> Total time: 0 seconds
>
> How can i configure the certificate in this case.
>
Are
On Oct 31, 2005, at 7:19 AM, Goverts IV, Paul wrote:
I am having problems compiling connector for Tomcat 5.5.12 and apache2
on Solaris 10. I am compiling using gcc 3.4.3 (supplied with solaris
10) and I am building the connector for the apache2 that is supplied
with solaris 10. Here is the ou
70 matches
Mail list logo