Yes, I had installed some web app server.
On 6/24/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
Venna-
It appears that you *may have* installed another webapp server-
When you installed Oracle do you remember installing oc4j or any of the
Oracle App Servers along with the DB?
Martin --
This
even when i run tomcat from command prompt, tomcat does start and shuts down
automatically. And there are no errors on command prompt, it just shows the
environment variables that are set.
On 6/25/06, Sameer Acharya <[EMAIL PROTECTED]> wrote:
Oracle also installs its own jdk and may have chan
Hi there!
I'm making a forum application with JSP and Servlets, and I wanted to give
to the final user the opportunity to upload an avatar to be displayed into
his posts. I found the Commons fileUpload library and it works quite well,
except for a thing: I can't save the image on the server's file
Do not write data in the webapplication folder, this folder is supposed
to be overwritten when webapplication is redeployed and datas will be
lost. Instead choose a folder in system you dedicate to your
webapplication datas and store your avatars there.
Or best use a database :)
Andrea S
What all environment variables does it show?
Check JAVA_HOME variable and make sure it exists and points to the right
version of JDK.
Do you see anything in the localhost_logs file created by tomcat in the logs
folder?
Sanjeev
From: veena v [mailto:[EMAIL P
Hi all,
please can someone confirm whether I need to clarify anything in my
question or take a different approach since I have had no replies and am
anxious to make sure I am doing all I can to seek help in the correct
way. Please correct me if my approach is wrong!
many thanks
Iain
I D
Hi David and thanks for the quick reply. I'll try to use the database to
store the avatars but... I don't know how I can show those images in my JSP
pages :S Can you please tell me how to do that? Sorry for the noobie
question... :)
Andrea
2006/6/26, David Delbecq <[EMAIL PROTECTED]>:
Do not
Thanks a lot, Richard, my embedded Tomcat works now with Java 1.4.
Richard Mixon schrieb:
Tomcat 5.5 works fine with Java 1.4 - just be sure and download the 'JDK 1.4
Compatability Package:' at this link:
http://tomcat.apache.org/download-55.cgi
It is all of 1.6MB in size. Just follow
Hi,
I'm running a tomcat cluster with in-memory replication, two nodes in
fact, with around 15 webapps all of which are being replicated, and I'm
slightly surprised by the behaviour of the system when I start both
nodes simultaneously up from cold.
Basically as each node starts up it deploys the
Hi
Not sure if this is helpful to you. I had found this URL useful. The URL
shows how to setup a JNDI DataSource in Tomcat.
http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html
Also, check the Java Servlet specification for more information.
Regards
Tejas
-Original M
On Fri, 23 Jun 2006 16:43:16 +0100
Pid <[EMAIL PROTECTED]> wrote:
>
>
> Sean O'Reilly wrote:
> > On Fri, 23 Jun 2006 09:05:18 -0500
> > Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> > I am sure it would be easier to use mod_proxy_balancer and
> > mod_proxy_ajp but can't find any documenta
(I've manually configured the tcpListenAddress to be the node's main IP.
Obviously it's not 000.000.000.00.)
I've specified JvmRouteBinderValve, JvmRouteSessionIDBinderListener and
ClusterSessionListener.
Sean O'Reilly wrote:
> On Fri, 23 Jun 200
Sean O'Reilly wrote:
> Still having some problems with load balancing and state replication
> neither of which appear to be working. If i shutdown tomcat on the
> main server i can still get to the application directory from one of
> the other servers but get a 503 error if i try to run any of
One way is to send back a reference to a servlet that knows how to retrieve
the image. I.e., in your .jsp, say:
Where 1234 is the primary key (ID) field of the avatar in the DB. Have the
servlet set the response type to image/jpeg or image/png or whatever is
appropriate, and then stream the by
Hi Pid,
thanks again for your answer. I'm not sure, but is the way I'd like to
deploy my .war files so abnormal? :-) or how do you all know what version of
an application actually is deployed?
Btw, I'm not sure but was that in Tomcat 5.0 different, because I asked a
kollegue of mine if he has
Take a look at the user accounts in MySQL. Some things to consider:
1. MySQL authenticates clients based on the host as well as username and
password. Login to mysql manually and run this:
use mysql ;
select user, host from user where user='root' ;
If the host column has '%' or 'localhost.l
[CATALINA_HOME]/common/classes/log4j.properties:
log4j.rootLogger=ERROR, R
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=C:\Program Files\Apache Software Foundation\Tomcat
5.5\logs\tomcat.log
log4j.appender.R.MaxFileSize=10MB
log4j.appender.R.MaxBackupIndex=10
l
On Mon, 26 Jun 2006 11:46:43 +0100
Pid <[EMAIL PROTECTED]> wrote:
>
>
> Sean O'Reilly wrote:
>
> > Still having some problems with load balancing and state replication
> > neither of which appear to be working. If i shutdown tomcat on the
> > main server i can still get to the application direc
So if I understand ..Your 2 separate jdbc connections are acquiring Data ..
but then once both resultsets are acquired I would suggest you must
programatically merging the contents
before sending the (presumably HTML) formatted info back via the Response
stream
Do you have any requirements on
could well be.
depends on your setup...
>
> WARNING: Unable to asynchronously send session with
> id=[88798A041EC3F104045E5C22B47ADE77.jvm1-1151322148155] - message will
> be ignored. java.net.Connect
Hi Tejas,
thanks for the suggestions. Had already read over
http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html
without finding the answers but have re-read in case. No luck. Will go
over the Java Servlet spec again soon.
Iain
Tejas Bavishi wrote:
Hi
Not sure if
In that scenario I would un-install the First webapp server (OracleAppServer?)
as it seems there is a port conflict (sounds like port 8080 was acquired by
OracleAppServer)
First WebAppServer (assume this is OracleAppServer) has acquired the ports that
your second webapp server requires..
and the
I'm not going to claim agreement with the developers on the behavior of
the deploy path. I will say you could put version info into a
element of the WEB-INF/web.xml file if that's you're goal
and it'll show up in the manager webapp without butchering your url.
--David
tom ot wrote:
Hi Pid
Hi Martin,
/"So if I understand ..Your 2 separate jdbc connections are acquiring
Data .. " /
That's what I'm aiming at. The idea (just to begin with) is to print out
the contents of two very small test tables from different databases. I'm
able to use each separately but once I try to use bot
hi Tomcat experts,
I am a fresher. Just now joined in HCL. I am basically very poor in Server
side. Even from my first day itself, they spoke something technically about
tomcat. I dont know anything about tomcat. But i am doing projects with the
help of tomcat only. Will you anyone please send me
Hi Tim, and thanks for your answer. I did as you said and I made a servlet
that handles the users' avatars, but all I can get from the servlet is a
blank image. Here's the servlet code:
-BEGIN OF FILE-
package servlet;
import java.io.IOException;
import javax.servlet.ServletExc
Go to apache site
jakarta.apache.org
u will get all the information about the tomcat server and
other technologies related.Also try a googlwe search u can get a hell
lot of books bout tomcat in the market.but better u read the documents
at the apache site
On 6/26/06, Ravichandran Gopi
On 6/26/06, vineesh kumar <[EMAIL PROTECTED]> wrote:
Go to apache site
jakarta.apache.org
u will get all the information about the tomcat server and
other technologies related.Also try a googlwe search u can get a hell
lot of books bout tomcat in the market.but better u read the docum
Can anyone help further?
I've now skimmed the Java Servlet spec in all the areas I could think to
be relevant but without success. Can anyone give me an example of where
two different resources of the same type might be referenced for access?
Maybe if I could see how two other resources (not M
Hi,
I need to setup an enviroment using:
- Windows 2003 Enterprise x64
- IIS
- Apache Tomcat 5.0
ISAPI redirect can´t be configured with IIS at this enviroment. We tried many
times and a lot of versions ( 32 and 64 bits).
Can anyone help me about this issue ?
Is it possible run ASP pages a
The problem seems to occur by a double submission of the Post. That is, I
found that except of the “submit” button of the form that I use which
invokes the jsp, I am also using a small java script, which accidentally
submits the Post for one more time. I changed the java script and now it
seems th
We have our server.xml file set w/ the following entry:
Valve className="org.apache.catalina.valves.AccessLogValve"
directory="../logs" prefix="ws_access_log." suffix=".txt" pattern="combined"
However, there are still many log entries showing no referrers. Some are
from user spiders such as the fo
-Original Message-
From: I D B Major <[EMAIL PROTECTED]>
Date: Mon, 26 Jun 2006 09:44:37 +0100
> Hi all,
>
> please can someone confirm whether I need to clarify anything in my
> question or take a different approach since I have had no replies and
> am
> anxious to make sure I am doi
That usually indicates a direct access either by typing in the URL or
using a bookmark.
--David
Robert Kudyba wrote:
We have our server.xml file set w/ the following entry:
Valve className="org.apache.catalina.valves.AccessLogValve"
directory="../logs" prefix="ws_access_log." suffix=".txt" pa
Robert Kudyba wrote:
> We have our server.xml file set w/ the following entry:
> Valve className="org.apache.catalina.valves.AccessLogValve"
> directory="../logs" prefix="ws_access_log." suffix=".txt"
> pattern="combined"
>
> However, there are still many log entries showing no referrers. Some are
Hi Brian,
many thanks for the suggestions, I'm sure I'm now close, but I'm not
quite out of the trees yet. I have looked up the spec and followed your
suggestion to specify the datasource and I have changed one of the
context-params to simply dataSource. This means I now no longer get the
sam
could you send me a copy too ?
thank you very much...
My email is [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/mod_jk.so-problems-going-from-Apache-2.0.55-to-Apache-2.2.2-t1660137.html#a5047839
Sent from the Tomcat - User forum at Nabble.com.
Hi again,
Having renamed both the context-params I get the following error
org.apache.jasper.JasperException: Unable to get connection, DataSource invalid:
"java.lang.NullPointerException"
Which sort of implies that the default name of
'javax.servlet.jsp.jstl.sql.dataSource' must be used on
Brian
many thanks problem solved - I had changed server.xml to show that the
Resource jdbc/mydb was of type type="DataSource" not
type="javax.sql.DataSource" ! This solved it now works and shows output
from both databases.
Many, many thanks!
Cheers,
Iain
I D B Major wrote:
Hi again,
H
please could you send me a copy of this file
my email is [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/mod_jk.so-problems-going-from-Apache-2.0.55-to-Apache-2.2.2-t1660137.html#a5048166
Sent from the Tomcat - User forum at Nabble.com.
The servlet looks OK -- I didn't compile or run it or anything. When you
say a blank image -- are you requesting the servlet URL directly from the
browser? I'd snoop on the headers and see what comes back. It sounds like
it got a 404 or some other error.
1. Check http://your-host/path/.../servl
Additionally, many client-side Security/Anti-Virus software packages
automatically remove the referer header from requests.
Markus Schönhaber wrote:
Robert Kudyba wrote:
We have our server.xml file set w/ the following entry:
Valve className="org.apache.catalina.valves.AccessLogValve"
director
Hi folks,
I'm using Tomcat 5.0.28 with JVM 1.4.2 (running only Tomcat) under a Win
2000 Server, and it starts to give me the following message:
java.lang.OutOfMemoryError.
To prevent this I start Tomcat using this 2 parameters:
-Xms 521m
-Xmx 1024m
But this isn't enought, some times when the ser
Jon Wingfield wrote:
> Additionally, many client-side Security/Anti-Virus software packages
> automatically remove the referer header from requests.
Because it improves security. Apparently.
> Markus Schönhaber wrote:
>> Robert Kudyba wrote:
>>> We have our server.xml file set w/ the following
I'd suggest that you try the following JVM options in your Tomcat JAVA_OPTS
environment variable (before deploying these changes in production, test
these options in an isolated environment with stress testing tools if at all
possible):
JAVA_OPTS= -Xms1024m -Xmx1024m -verbose:gc -server
- By ma
ametsi wrote:
The problem seems to occur by a double submission of the Post. That is, I
found that except of the “submit” button of the form that I use which
invokes the jsp, I am also using a small java script, which accidentally
submits the Post for one more time. I changed the java script and
Hi,
I have a servlet and in this servlet I have a problem when sort an array. If
in Tomcat 5.5.4 (on windows) the order is very fast (about 2 seconds) , but in
tomcat 5.5.9 is slower (about 25 seconds). I don't Know why the same code has
diferent time.
The code is the next. The array h
Put them in a list and Collections.sort() them.
All you'll need to do is create a Class with all those fields implementing
Comparable, and implement the compareTo Method.
hope it helps
SC
On 6/26/06, password password <[EMAIL PROTECTED]> wrote:
Hi,
I have a servlet and in this servlet I h
What does this mean in my console?
SeverityDescription ResourceIn Folder LocationCreation Time
Id
1 The local variable name is never read LoginAction.java
NewPatron/JavaSource/com/patron/Actionline 18 June 23, 2006 2:28:03
PM623
This is my first web project. Th
probably not the right mailing list for that.
try: http://www.eclipse.org/community/
[EMAIL PROTECTED] wrote:
> What does this mean in my console?
>
> SeverityDescription ResourceIn Folder LocationCreation Time
> Id
> 1 The local variable name is never read LoginAction.ja
Hi all,
I want to integrate JMX support in the existing product. What I am lookign
for is, if there is anyway in Tomcat where we can programmatically control
other web applications from one webapp?
I came across a ManagerServlet example that lets you start or stop a web
application from within a
Howdy,
Not sure if I should be doing this here, or with the Jetspeed2 User Mailing
list, but I think here I could get a better understanding.
I currently have a Flash file which uses the ExternalInterface.call function to
call some JavaScript functions I have on a JSP page running in Jetspeed 2
Hi again Tim :)
Thanks for the reply, but I'll be able to get my hands again on my project
only tomorrow. I'll try what you say, then I'll mail you again.
Cheers!
Andrea
2006/6/26, Tim Lucia <[EMAIL PROTECTED]>:
The servlet looks OK -- I didn't compile or run it or anything. When you
say a bl
I have to loosely integrate another web application with mine so that both
web-apps are require a single authentication. When the client clicks on a
particular link in my application, the client gets transferred to the other
application (and viceversa). The other application is bundled with its ow
Running Tomcat 5.0 on Win 2003...
I set the following in web.xml:
debug
0
listings
false
1
404
/404.html
But when someone tried to list a directory, e.g., www.ourdomain.com/images,
al
That looks like a Java compile error (or warning). It says there's a
variable that is set but never used.
--
Len
On 6/26/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
What does this mean in my console?
SeverityDescription ResourceIn Folder LocationCreation Time
Id
1 The loc
Marco Aurélio Seraphim da Silva wrote:
There's something I can do to reduce the amount of memory used by the JVM,
or it's normal???
Actually, if you don't have many hits/day and if you don't have very
memory consuming application
you could avoid OutOfMemory exception by reducing -Xmx -Xms to
Tim Lucia wrote:
Have the
servlet set the response type to image/jpeg or image/png or whatever is
appropriate, and then stream the bytes out of the blob from the DB.
Hm, that is something interesting what I need also.
As I quickly wrote down that code it should be:
byte[] mybytes=// get
[EMAIL PROTECTED] wrote:
What does this mean in my console?
1 The local variable name is never read LoginAction.java
This is my first web project. Thank you for your help.
I think that is just warning that you have declared (and set) variable
which you are never used in the program
Hi all,
As I have also mentioned in one of my previous emails, I want to start/stop
a web application from another webapplication. In my efforts to achieve
this, I came across ManagerServlet. All my efforts to bring the similar
functions in my web-app failed.
So I went through the Tomcat API doc
OK,
Really simple/stupid question...why not use the Tomcat Manager to do
this? You can have the controlling webapp open a url to the manager and
have the controlling webapp pass a start/stop on the other webapp.
Not sure if you looked at it or not, but had to ask. Here is a link for
the ma
I have a url of this format http:
Where no matter what is equal to, I would like to be able to
direct the to tomcat/webapps/.war servlet. I have been trying
to do this with a valve on the engine hoping I could modify the request URL
before the tomcat engine decided which war file would ser
Hi Troy,
Thanks a lot for your reply.
I considered this option first before I delved deep into internals of
ManagerServlet. The thing is, I can Redirect the request to the
managerServlet to start or stop the service and it works as intended in a
sense that it starts or stops the web-app. But the
Hi!
The Tomcat's MySQL DBCP example mentioned that we have to copy the
JDBC Driver's jar $CATALINA_HOME/common/lib. Do we allowed to copy the
jar to WEB-INF/lib? And how can we do that?
-
To start a new topic, e-mail: users@tomc
64 matches
Mail list logo