No I'm stating that I had to reboot to get apache 'not running' on port 8080
and it seemed unusual, because I ran the shutdown scripts. Has this problem
occured to anyone?
2008/9/8 Steve Ochani [EMAIL PROTECTED]
1.I´ve updated server.xml to change the default port from 8080 to
80,
- Original Message -
From: new_bie_tomcat [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Monday, September 08, 2008 6:59 AM
Subject: UnauthorizedAccessException error while running WMI in tomcat
I have written the following code in Java to access registry of a remote
machine.
Ok, first of all, i'm quite sure that exception does not exist in Java nor in
Tomcat! (as far as I know it's not in the apis), yet it does exists in .Net. So
my gess is that it's a .Net exception after all
and you are just reading it from the console.
you may want to try giving more privileges
Hi Mark,
Thanks a lot for your reply. I am not able to find out exactly where to
change the permission. I am using Tomcat 5.5. I have logged in to the
machine, using the same user login as the remote machine. Both of the
machine are in the same domain. In tomcat Properties Log on Tab i have
Thanks for your reply.You are absolutely right. This error is a .NET
Exception.I am not able to figure out exactly where in Tomcat i need to
provide the priviledge.I have logged in to the machine with the same login
id as the remote machine. In the Tomcat logon tab i have mentioned the same
login
hi..
Thanks a lot for your reply. I am not able to figure out exactly where in
Tomcat i need to provide the priviledge.I have logged in to the machine with
the same login id as the remote machine. In the Tomcat logon tab i have
mentioned the same login id and password. But still i am getting
--- On Mon, 9/8/08, new_bie_tomcat [EMAIL PROTECTED] wrote:
From: new_bie_tomcat [EMAIL PROTECTED]
Subject: Re: UnauthorizedAccessException error while running WMI in tomcat
To: users@tomcat.apache.org
Date: Monday, September 8, 2008, 3:06 AM
Hi Mark,
Thanks a lot for your reply. I am
Hi Johny,
first of all you can't force people to use their brain, if someone is
building a portal or site which needs to be indexed
and is using single-entry-point framework, that means he hasn't
checked his requirements before he started to work or hasn't consulted
the seo guys/forums/mailing
But this doesn't give you the right to bash the framework
Have to agree, shouldnt have mentioned it ;)
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Johnny Kewl/Len Popp
You are right. It is in the html code. I was looking for differences in
the code when the problem was that the code was IDENTICAL. The html was
referencing a directory which did not exist on the second server. Rather
than displaying an error it was behaving as if it were set
Hi,
Can anybody please tell me how I can monitor by SNMP tomcat sites
without querying the admin module which I disabled for security reasons?
Is there any MIBS that I can use?
Thanks in advanced
On Monday 08 September 2008 04:20:31 Konstantin Kolinko wrote:
What is that address? Judging from the behavior, it occurs that it makes
request back to itself.
That's actually a possibility. I checked the variable's value, and that had
the correct value, so it shouldn't happen. What might
- Original Message -
From: Thangavel Sankaranarayanan [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, September 08, 2008 12:49 PM
Subject: Intermitant DB Problem in tomcat:java.sql.SQLException: Io
exception: Connection reset by peer: JVM_recv in socket
Hi,
If this is not a problem with tomcat and it is something to do with
application (or) or with java or 0racle!!Please suggest me for some user
list!!! Thanks in Advance!!
Regards,
Thangavel Sankaranarayanan
Hi ,
I am getting the following error when connecting to oracle database,
Has any one seen this kind of errors before? is this the problem with
tomcat in loosing the connections??
I am getting this error once in 5 hrs and i get a HTTPStatus500 error and
when a user tries again it gets okay and
Two questions:
1. Is the db server on the same box as the tomcat server? If not, have
you ruled out network hardware issues between the db server and tomcat?
2. Does your db pool definition have the attribute
validationQuery=select 1? That would pre-test your connections before
returning
There is a ia64 dll for tomcat native library for a windows 64 platform.
I used to know amd64 or x64, but unfamiliar with ia64.
What platform is that?
Thank you,
Regards
Nareg Garabedian
This is a copy and paste from wikipedia. *Itanium* is the brand name
for 64-bit Intel http://en.wikipedia.org/wiki/Intel microprocessors
http://en.wikipedia.org/wiki/Microprocessor that implement the *Intel
Itanium architecture* (formerly called *IA-64*). Intel has released two
processor
Last time I mailed the list, I was inquiring about implementing a custom
connector or something along those lines to support a binary protocol along
with HTTP. This approach proved flawed for various reasons, if not virtually
impossible to do with the connector, processor, handler architecture
- Original Message -
From: Nar Karapetyan [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Monday, September 08, 2008 3:19 PM
Subject: Can you help me to figure out what is ia64?
There is a ia64 dll for tomcat native library for a windows 64 platform.
I used to know amd64 or x64,
Silvio Rainoldi wrote:
When I try to write a file in a folder in the server I get this error:
org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing
of multipart/form-data request failed. /home/www/virtual/test/images/htdocs/
Please help me in setting up a Validation Querry!!!
I am not aware of it!!
Regards,
Thangavel Sankaranarayanan
David Smith
[EMAIL PROTECTED]
On Sun, Sep 7, 2008 at 11:12 PM, Jon [EMAIL PROTECTED] wrote:
No I'm stating that I had to reboot to get apache 'not running' on port 8080
and it seemed unusual, because I ran the shutdown scripts.
Running the shutdown script doesn't guarantee anything -- there are
any number of reasons why
I've partially given it to you already. I'm assuming for the purposes
of this thread you have tomcat 5.5.x or tomcat 6.0.x and are using the
tomcat provided database pooling. Find the Resource ... / element in
your webapp's context xml file where you defined your database pool and
add an
We have just started using Tomcat. We are using version 5.5.26.
I was able to set up Tomcat and get it running with our application. I
also have enabled SSL:
Connector port=18443 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25
maxSpareThreads=75
Hi David,
Thanks !!!
Is the validationQuery applicable to tomacat 4.x.
I am using tomcat 4.x in windows2000
Regards,
Thangavel Sankaranarayanan
David Smith
I think so. Tomcat 4.1.x relies on DBCP 1.0 whose docs aren't readily
available anymore. If you can find the source for DBCP 1.0, you could
take a look in the source code and get that answer. Or you could just
try it on your test system and see if it works. :-)
The manner the validation
Hi David,
In my webapps directory ,i can find Conext.xml (nameof context.xml).in my
context.xml the following is defined..
where do i need to configure it ,David??
Context path=/mpp docBase=D:/projects/mpp/dealer/release071010
debug=0 privileged=true
Realm
Darryl-
you're encountering a content-length restriction
one workaround is to transmit as a MTOM binary attachment
I believe the current hard-limit is 1GB for attachment size
http://wso2.org/library/264
complete guide is available at
http://ws.apache.org/axis2/1_0/mtom-guide.html
HTH
Martin
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 5.5.27 stable.
Apache Tomcat 5.5.27 incorporates numerous security updates and bug fixes.
Please refer to the change log for the list of changes:
http://tomcat.apache.org/tomcat-5.5-doc/changelog.html
Downloads:
I've had a stable development environment running Tomcat 6.0 within
Eclipse 3.3.
I did something stupid to configuration and now I can't get away from
this error as soon as the server starts.
java.lang.reflect.InvocationTargetException
at
implement a logger so you can trace whats going on
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
also in %TOMCAT_HOME/conf/server.xml crankup the debug attribute on your
Connector statement
debug=5
http://tomcat.apache.org/tomcat-4.0-doc/config/http11.html
and you'll see lots of messages
I sent this in over the weekend and didn't get a response so let me try
this again a bit differently.
The Sun JDK 5.0 JMX tutorial shows that it is possible and simple to
create JMX client and JMX server in separate JVMs and have them talk to
each other.
The first article cited by Mr. Hall
Hi,
Regarding:
https://issues.apache.org/bugzilla/show_bug.cgi?id=45015
Have things like the follwoing been tested:
input value=${quot;booquot;} /
input value=${quot;booquot; foo's} /
input value='${quot;booquot;}' /
input value='${quot;booquot;} foo' /
I guess I am more concerned about
Robert Koberg wrote:
Hi,
Regarding:
https://issues.apache.org/bugzilla/show_bug.cgi?id=45015
Have things like the follwoing been tested:
input value=${quot;booquot;} /
input value=${quot;booquot; foo's} /
input value='${quot;booquot;}' /
input value='${quot;booquot;} foo' /
I
I can not get the redirect logging coming out?
I am using tomcat 5.5.26
I use redirect 1.2.26
I set up me registry using
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector]
@=
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0]
Johnny Kewl wrote:
Going to add this to my other no no's like those people that insist on
building entire site only in JSP pages...
I'm not sure I get your meaning here. Do you mean really just JSP's
with no Java classes (beans or otherwise) that aren't in the JSP's
themselves?
Yeah. That
-Original Message-
From: Steve Cohen [mailto:[EMAIL PROTECTED]
Sent: Monday, September 08, 2008 1:34 PM
To: Tomcat Users List
Subject: stupid tomcat/eclipse question
I've had a stable development environment running Tomcat 6.0 within
Eclipse 3.3.
I did something stupid to
On Sep 8, 2008, at 1:59 PM, Mark Thomas wrote:
Robert Koberg wrote:
Hi,
Regarding:
https://issues.apache.org/bugzilla/show_bug.cgi?id=45015
Have things like the follwoing been tested:
input value=${quot;booquot;} /
input value=${quot;booquot; foo's} /
input value='${quot;booquot;}' /
Actually I believe tomcat 4.1 still predominantly used server.xml for
context definitions. Take a look in there for a ResourceParams ...
... /ResourceParams element under your webapp's Context ... ...
/Context element. I could be wrong about that -- it's been a *very*
long time since I've
Robert Koberg wrote:
I make use of the above technique quite a bit to keep my source content
well-formed (I generate the JSPs with XSL). E.g.
input type=radio${$obj.foo eq 1 ? 'quot; checked=quot;checked' : ''}/
I will test it out when I get a chance.
Great. If you find new failure
Thanks! Turned out that the problem was I had put some application jars
(which were duplicated in WEB-INF/lib) on the runtime classpath. Your
post got me to thinking that maybe these weren't necessary. Not only
weren't they necessary but removing them made the problem go away.
Addition by
I've just realized I have a problem with my application running in
Tomcat related to Spanish-language text input by the users.
When running my application on an Ubuntu 7.10 platform, I have no
problems with Spanish language characters. When I run the same
application on the production RHEL 5
It is my understanding that theoretically, separate Tomcat engines can be
configured on the same server, as long as they are created within separate
JVMs (is it possible to have them installed on the same physical server?!).
We have an application which is currently installed within a single
David,Actually Resource element is used when we want to map a datascr to a
JNDI Resource and call from aoos.But in my case there is no JNDI naming of
datasource or database!!
all parameters are hard coded .
In that case wat can i do!!!
I have modified my code slightly to look like ths!!! will this
I have apache acting as a proxy for my tomcat and I'm wondering how I can get
this one application 'myapp' to show up without having the directory name in
the url.
So what I'm looking to do is have it as www.mysite.com instead of
www.mysite.com/myapp.
Thanks in advance.
Markus
David,
Ignore the previous code!!This is the right one:will this code make the
difference?
catch(Exception exp)
{
theLog.error(Exception while getting a Datasource
connection..Trying again...);
theLog.error(exp);
int i=1;
Hi Markus,
You can configure your worker tomcat in such a way that the needed /-worker
is mapped to the desired port and server.Similarly i think you can map the
Context as well!!I hope so!!
Regards,
Thangavel Sankaranarayanan
any reason why you're not using DBCP ?
if you dont mind using a connection pool take a look at examples provided at
http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/doc/ManualPoolingDataSourceExample.java?revision=132018view=markup
also if you want your instance variables to automatically
Can this be hacked? like http://localhost/files/../../somefile
--
View this message in context:
http://www.nabble.com/Tomcat-6-and-images-tp19260262p19379214.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
Assuming you are deploying by dropping myapp.war into webapps:
1. Delete webapps/ROOT ;
2. Rename myapp.war to ROOT.war (case is important here)
3. Deploy your new ROOT.war in webapps.
4. Since ROOT is the default that tomcat will run when it can't
match the incoming request,
How would I add to the build.xml file so that when ant builds it, it creates
this code in my web.xml file?
error-page
error-code404/error-code
location/404.html/location
/error-page
Not sure if this is an element or something else and what to add it under.
Ok. Do you hold on to your connections across requests or close them at
the end? If they are held, then it'd be a good idea to fire off a cheap
and easy select 1 query before doing any work. If it throws an
exception, close it up and get another. If on the other hand these
connections are
Can anyone please help with the question below?
I'm pretty much clueless...
I think I followed the HOWTO but it seems to be not working... so I must
have missed something...
Thanks!!
On Thu, Sep 4, 2008 at 5:22 PM, Haim Cohen [EMAIL PROTECTED] wrote:
Hi
I'm new to Tomcat and I'm trying to
Finally figured out how to do what I wanted to do.
Turns out I had no need at all of creating an MBean in my client. Duh!
I never understood why I needed to do that but that is what the sample did.
All I needed to do was call the MBeanServerConnection.invoke() method
with a suitable object
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jesse,
Jesse Klaasse wrote:
However, it isn't working as it should be. I actually see the PRE and
POST lines in the Ajax output, however, most of the time there is nothing
between them. And when I print the response length, it's 0 most of the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregor,
Gregor Schneider wrote:
The only options I'm having seem to be
- subclass FormAuthenticator and patch Tomcat
Agreed: yuk.
- use a JAAS-implementation, but I got no Idea if this will work,
besides, you'll have to deal with the
See Thread at: http://www.techienuggets.com/Detail?tx=6039 Posted on behalf of
a User
try:
/manager/html instead!
In Response To:
Hi list,
I'm trying to use the manager webapp for the custom Ant tasks on Tomcat
6.0.9 with Sun Solaris 10. I've gone into the tomcat-users.xml file and
The error clearly indicates that servlet-api.jar is missing from the
classpath. It should be located under CATALINA_HOME\lib in case of TC 6.
-Original Message-
From: Steve Cohen [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, 8 Sep 2008 11:03 pm
Subject:
59 matches
Mail list logo