We have installed tomcat in a linux machine, and when we invoke http://:8080/ from that linux machine, it is showing properly.
But, when we try to access the same URL from another machine in the same
LAN, then nothing is coming up.
Please help.
The 2nd machine is able to ping the linux machine's
Ken Johanson wrote:
After doing a kill, then startup I now get:
java.lang.Exception: Invalid Server SSL Protocol
at org.apache.tomcat.jni.SSLContext.make(Native Method)
at
org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:693)
at
org.apache.coyote.http11.Ht
Peter Crowther wrote:
2009/10/15 Ken Johanson
SEVERE: Error starting endpoint
java.lang.Exception: Socket bind failed: [98] Address already in use
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)
..
(no listener is actually running on 98; this is just generic Sun msg
Hi Andrew.
Check this BZ47343.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47343
Perhaps, it is the same as this BugReport.
This bug is corrected by 6.0.21.
Best Regards.
--
View this message in context:
http://www.nabble.com/Redeploy-problem-in-6.0.20-tp25915514p25919112.html
Sent f
On Thu, Oct 15, 2009 at 10:25 AM, Anand HS wrote:
> Hi, I use tomcat 6.0.16 and when evaluating different start up options , I
> came across the fact that you can start tomcat by either catalina start or
> catalina run.
> using "start" spawned the server start up in a new console where as "run"
>
On Wed, Oct 14, 2009 at 5:09 PM, Manlio Malaidini wrote:
> I'll check bugzilla and eventually file a bug, thanks.
Bug filed as 48007
https://issues.apache.org/bugzilla/show_bug.cgi?id=48007
MM
-
To unsubscribe, e-mail: users-u
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Can a JNDI resource be in a webapp's lib folder
>
> I think this is a reasonable desire, and I'm not sure why Tomcat's
> architecture does not allow this. Honestly, using the webapp's
> ClassLoader to create JNDI reso
Christopher Schultz wrote:
>Probably not. DBCP calls setAutoCommit(true) by default in order to
>reset the connection as it goes back into the pool. Any pending
>transaction is committed (!) when that happens, so there shouldn't be
>any in-progress transactions lingering around.
>
>If you set auto
On Thu, Oct 15, 2009 at 1:46 PM, Christopher Schultz
wrote:
> You could also ask on some Java-oriented Oracle forums.
Oracle has a user community called Mix -- https://mix.oracle.com/ --
where you could post your issue (requires registration but otherwise
free).
/* It's JRuby on Rails but not,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ziggy,
On 10/15/2009 3:31 PM, Ziggy wrote:
> I have read about this a bit and i think that all JNDI resources must be in
> $CATALINA_HOME/common/lib which explains why If i put the driver in the
> application's lib folder it cant access it because the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Curtis,
On 10/13/2009 5:08 PM, Curtis Garman wrote:
> Has anyone else experienced loosing spaces between printing jstl
> variables. I've got something that is printing
>
> ${firstName} ${lastName} --> Curtis Garman
>
> but instead the space in betw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Raghu,
On 10/15/2009 1:33 AM, raghu gs wrote:
> My question is, when i put a normal java code to display the time and
> timezone of the system, it just displays the timezone in IST without any
> problem.
So, you still won't actually try to figure out
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill,
On 10/15/2009 2:24 PM, Bill Davidson wrote:
> That does make me wonder though if there are Connection's getting sent
> back to the pool that had a pending transaction without a commit/rollback
> and if that could be making any cursors on that co
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill,
On 10/15/2009 2:15 PM, Bill Davidson wrote:
> Christopher Schultz wrote:
>>Is it possible that your server just doesn't want to allocate 245 * 4
>>cursors, and that you are just hitting that barrier?
>
> cursor != connection
Right... but presu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 10/15/2009 1:07 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: how to replace apache's mod_alias
>>
>> Create a file under CATALINA_BASE/conf/[service]/[host]/myapp-web.xml
I recently upgraded from Tomcat 6.0.18 to 6.0.20 (using jdk1.6.0_14 on
Solaris 10). I have a webapp that stores its database configuration in
the context xml file (/private/tomcat/conf/Catalina/localhost/devl.xml).
Periodically, I must update the context xml file when the database
password has
I am trying to set up a JNDI resource of an Oracle database connection. I
have set the connection details in my application's context file in
$CATALINA_BASE/webapps//META-INF/context.xml
I put the jdbc driver in $CATALINA_BASE/common/lib and everything works
fine. The problem is i dont want to put
Hi Wireshark group.
I narrowed down the redundant packets last night/this morning. I have notified
the Sun group about the issue and am still looking at it closer.
Thanks for the help this has been a huge issue for me and now for Sun perhaps.
Best Regards,
-Tony
--- On Thu, 10/15/09, Tony Anec
Thanks Charles and Chris -- that works!
Dennis
On Oct 15, 2009, at 2:06 PM, Caldarale, Charles R wrote:
From: Dennis Christopher [mailto:dchristop...@pixion.com]
Subject: Re: how to replace apache's mod_alias
Next, and maybe I didnt follow directions properly, I added the
directory conf/local
Martin Gainty wrote:
>are you running as a Transaction?
In some cases, but a lot of these lingering cursors are on very simple
queries, with no insert/update/delete involved. As I said before,
I'm finding lingering cursors on things as simple as "SELECT * FROM
some_table WHERE id = ?".
That doe
Christopher Schultz wrote:
>Is it possible that your server just doesn't want to allocate 245 * 4
>cursors, and that you are just hitting that barrier?
cursor != connection
Oracle is set up to allow up to 300 cursors per session (connection).
I could up that limit, but it probably won't fix the
Also, there was some enlightening information about how the JVM decides
which timezone to use here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6456628
I did not read the java source to verify the description there is
accurate, but none the less, the description was helpful to me.
Hop
Then how come Tomcat alone can respect the UTC enablement in
/etc/sysconfig/clock?
That is a good question, and not the same as what I observed on my system.
I guess maybe try removing the timezone line from that file and restart Tomcat
to see if the clock file is even a player here. This
> From: Dennis Christopher [mailto:dchristop...@pixion.com]
> Subject: Re: how to replace apache's mod_alias
>
> Next, and maybe I didnt follow directions properly, I added the
> directory conf/localhost which then contained myapp-web.xml with
> the (pathless) context below.
Close, but that need
Hmm. I thought that correction would make it work, but still no go.
I don't have any structure under conf, and usually add contexts in
server.xml . I tried this first, giving path="/myapp-web".
But this didnt work. It seems by the logic of what we are trying, i.e.
making the docBase = /librar
Curtis Garman wrote:
I've only every declared in in META-INF/context.xml
It's fine to define Resource completely in context.xml.
But if one uses GlobalNamingResources (as OP does) he has to declare
mapping in context.xml as I described.
Anyway, it works for me all the times :-)
Of course, in
Hi, I use tomcat 6.0.16 and when evaluating different start up options , I
came across the fact that you can start tomcat by either catalina start or
catalina run.
using "start" spawned the server start up in a new console where as "run"
started in the same console.
Other than this is there any ob
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: how to replace apache's mod_alias
>
> Create a file under CATALINA_BASE/conf/[service]/[host]/myapp-web.xml
> that contains the following:
>
>
That should be docBase, not appBase.
- Chuck
THIS COMMUNICATION MAY
Hmm...yeah or I could do ${firstName} ${lastName} or something
but the problem is the solution is only treating the symptom and not
the cause...and therefore I don't know how to determine when and where
it might happen in the future...I just happened to spot it this time
and would be able to hack i
I solved the issue Christopher,
It was a configuration on IBM AIX to bind the multicast address
(228.0.0.4) to the IP of network interface using smitty Admin Console.
Thanks for your reply.
Imad Hachem | Asst.Product Development Manager
e-Banking Department
Path Solutions
Tel: +961 1 697444
My suggestion: set trimSpace to true on both servers.
Then use ${firstName}{' '}${lastName}
regards
Am 13.10.2009 um 23:08 schrieb Curtis Garman:
Has anyone else experienced loosing spaces between printing jstl
variables. I've got something that is printing
${firstName} ${lastName} --> Cur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dennis,
(No need to CC me directly at all; I get all the messages through the
mailing list).
On 10/15/2009 12:03 PM, Dennis Christopher wrote:
> the user accesses my jsps via http://host/my-app.
>
> The jsps include references of the form below, as
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Imad,
On 10/15/2009 12:03 PM, Imad Hachem wrote:
> As per the ifconfig command, it seems BROADCAST and MULTICAST are
> enabled on my AIX 5.3 Network interface:
Yes, it appears that all of your interfaces have MULTICAST enabled.
> Is there another pl
Chris,
the user accesses my jsps via http://host/my-app.
The jsps include references of the form below, as request dumper valve
tells me:
/myapp-web/styles/images/mylogo.jsp
where myapp-web is a directory elsewhere on the system.
so the full path reference style is never done as such.
Den
Dear Caldarale,
As per the ifconfig command, it seems BROADCAST and MULTICAST are
enabled on my AIX 5.3 Network interface:
bash-3.00# ifconfig -a
en0:
flags=5e080863,c0
inet 192.168.12.103 netmask 0xfe00 broadcast 192.168.13.255
tcp_sendspace 131072 tcp_recvspace 65536
en1:
f
Chris:
That worked.
Thanks for the help,
Neil
--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system.
> Try
On Thu, 15 Oct 2009 09:24:13 -0500, Caldarale, Charles R wrote:
>> From: news [mailto:n...@ger.gmane.org] On Behalf Of Ken T. Subject:
>> Shared email resource
>>
>> In /etc/tomcat6/web.xml, I have:
>
> Shouldn't that be /etc/tomcat6/conf/web.xml? Are you running a real
> Tomcat, or a 3rd-party
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Neil,
On 10/14/2009 10:43 PM, Neil Aggarwal wrote:
> I then added this to my httpd.conf file in the global directives:
>
> # Mount the jk status application
>
> JkMount jkstatus
> Order allow,deny
> Allow from all
>
Try replacing the above w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dennis,
On 10/15/2009 11:15 AM, Dennis Christopher wrote:
> My application is a context element '/myapp' accessed via address>/myapp.
>
> Within the app's jsps are references to files in a folder 'myapp-web'
> whose real location on the server file
Thanks for the reply Chris.
what I want to do:
I am running Tomcat as a standalone server on OSX. My application had
been previously set up with apache serving in front of Tomcat.
My application is a context element '/myapp' accessed via address>/myapp.
Within the app's jsps are references
On Thu, Oct 15, 2009 at 10:39, Christopher Schultz
wrote:
> That's port 8443, not port 98. Where's your real defined?
98 isn't a port number, it's an error code. It stands for "Address
already in use".
--
Len
-
To unsubscribe,
Why would you use the 32 bit ISAPI filter? You should use the 64bit ISAPI
filter.
If you're running IIS7 in 32 bit mode, THEN you should use 32 bit filter. If
you do that, make sure the registry entries for configuration are in the
WOW64 registry node.
George Sexton
MH Software, Inc.
http://www.m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dennis,
On 10/13/2009 11:30 AM, Dennis Christopher wrote:
> Is there any documentation
> on how to replace the alias elements in httpd.conf with corresponding
> elements in Tomcat's configuration?
Not directly. But if you describe what you want to do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jan,
On 10/15/2009 2:42 AM, Jan Pernica wrote:
> You cannot use port < 1024 as non-root. Use apache and AJP to connect
> tomcat running on eg. 8080.
The previous statement is *totally incorrect*. There are multiple ways
to run on privileged ports wit
I've only every declared in in META-INF/context.xml ...but I've also
experienced another problem before that you may be having and that is
truncating the resource name...it will take your valid name and chop
off part of it (seems to truncate at / ) and then complain that it
couldn't find the resour
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Conrad,
On 10/15/2009 9:44 AM, conrad-tomcat.users.2...@tivano.de wrote:
>> If you could post your httpd configuration for your worker/prefork stuff
>> AND your mod_jk configuration, it might be helpful.
>
> ===workers.properties===
All that looks o
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Imad,
On 10/15/2009 9:43 AM, Imad Hachem wrote:
> I have installed the latest Tomcat version "Tomcat-6.0.20" and I am
> still getting the same Error.
>
> Is there anything to do on the IBM AIX level or at the level of Tomcat
> Settings or Startup scr
> From: news [mailto:n...@ger.gmane.org] On Behalf Of Ken T.
> Subject: Shared email resource
>
> In /etc/tomcat6/web.xml, I have:
Shouldn't that be /etc/tomcat6/conf/web.xml? Are you running a real Tomcat, or
a 3rd-party repackaged one? If the latter, it's difficult to tell where the
proper
Thats a cool feature... thanks Peter!!!
Sharda
On Thu, Oct 15, 2009 at 9:11 AM, wrote:
> Hi,
>
> On Thu, Oct 15, 2009 at 08:53:03AM -0500, sharda k wrote:
> > I was under the impression that restarting webserver would kill all user
> > sessions. But with my tomcat install, restarting Tomcat do
Ken T. wrote:
I'm having some difficulty setting up a shared email resource under
Tomcat and I can't seem to find the answer anywhere online. Everything
seems to be working under Tomcat, but for some reason my application
can't find the JNDI name..
You have to include mapping in Context
Hi,
On Thu, Oct 15, 2009 at 08:53:03AM -0500, sharda k wrote:
> I was under the impression that restarting webserver would kill all user
> sessions. But with my tomcat install, restarting Tomcat does not kill user
> sessions. I am still able to continue with the initially started sessions.
> Is th
I'm having some difficulty setting up a shared email resource under
Tomcat and I can't seem to find the answer anywhere online. Everything
seems to be working under Tomcat, but for some reason my application
can't find the JNDI name..
In server.xml I have:
Snip-
I was under the impression that restarting webserver would kill all user
sessions. But with my tomcat install, restarting Tomcat does not kill user
sessions. I am still able to continue with the initially started sessions.
Is this a typical tomcat behaviour or a bug?
I have Tomcat 5.5 running on W
Hi,
Am Mittwoch, 14. Oktober 2009 schrieb Christopher Schultz:
>
> Although those threads say "runnable", they're really blocked at the OS
> level waiting to receive data from the mod_jk connector. These threads
> are actually idle, waiting for requests from httpd to come through the
> pipe.
>
> Y
Dear Caldarale,
I have installed the latest Tomcat version "Tomcat-6.0.20" and I am
still getting the same Error.
Is there anything to do on the IBM AIX level or at the level of Tomcat
Settings or Startup scripts?
Thanks for your help.
Error faced:
SEVERE: Unable to start clu
> From: Vadim Volkov [mailto:chain@gmail.com]
> Subject: Re: How to install Tomcat 5.5.28 32-bit version on Windows 64-
> bit version?
>
> I strongly needs in 32-bit JRE and 32-bit Tomcat
> service on 64-bit Windows.
Could you please tell us why? I can't imagine any reason one would want a
Hi,
I've successfully configured apache-tomcat-6.0.18 with JRE 1.6.0_13 for
PKCS11 with keystore on smart card token but failed to use keystore on HSM
which is in my case "Eracom PSO:PL50"
I've statically add a provider in java.security file
security.provider.10=sun.security.pkcs11.SunPKCS11
$
Hi Christopher. Thanks for replying.
On Wed, Oct 14, 2009 at 10:04 PM, Christopher Schultz
wrote:
> Are you using 32-bit JVM? If so, then you must use the 32-bit service
> loader.
I'm using 32-bit JVM (JDK 1.5.0_21) on 64-bit Windows.
Form Tomcat 5.5.28 changelog: "Add the 64-bit windows servic
2009/10/15 Ken Johanson
> SEVERE: Error starting endpoint
> java.lang.Exception: Socket bind failed: [98] Address already in use
>at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)
> ..
> (no listener is actually running on 98; this is just generic Sun msg when
> not all
On Wed, Oct 14, 2009 at 6:15 PM, Mark Thomas wrote:
> Have you tried
> JkOptions +DisableReuse
>
>
And if that solves the problem setup connection timeout .
http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html
Evgeny
Suneel Saguturu wrote:
> Hi Mark,
>
> Thanks for replying, I don't know how to take the thread dump &
> how to look for non-daemon threads?
Google is your friend.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.a
61 matches
Mail list logo