Hello all
How was week end and i am posting postgresql question please help me
solve this problem
I am connecting postgresql and inserting some data and i made in pb_hdb.conf file to
host all all 127.0.0.0 a trust
and postgresql.conf to tcpip_socket =1
pls
help
You are mixing several differrent things:
- J2EE is a spec that consists of several technologies.
Most of these technologies can stand for them selves
and be used without the others. (Some of them are
related or even dependend to some extend)
- JBOSS is an implementation of that spec.
The postmaster needs to be started with the -i flag to accept TCP/IP
connections.
Check the Postgres documentation.
James.
[EMAIL PROTECTED] wrote:
***Exception:
org.postgresql.util.PSQLException: Connection refused. Check that the hostname and
port are correct and that the postmaster is
Hello all
i am Inserting data to postgresql question please help me solve this
problem i am not given any username ans password by the time of creating db what
should be the username and password and how shout i use -i option for starting
postmaster
pls help me
1. You are posting off-topic for the Tomcat list (I just happen to be a
postgres user)
2. RTFM, there are several references to your questions, with v simple
answers.
Starting the postmaster:
http://www.postgresql.org/docs/7.3/interactive/postmaster-start.html
Users Groups:
Hello,
I am trying to write a unit test for an application I didn't write.
There are classes in the classes directory I want to test directly.
The problem is that the application uses application and session
scoping for some of the classes, so they can reference the instance
without having
Hello folks, i´d like to know how can i define a alias for my JSP
pages, for example usually we do:
http://localhost/my-webapp/jsp/hello.jsp
How can i make ant´s jspc tag build my JSP pages with /jsp as a
default alias instead of / ( this infact isn´t a alias just a name
*) I am uploading a file using MultipartRequest class given by third party. Now my file
is uploading to specific position. My problem whenever the file is uploading, if any
problems comes in uploading immediately it should be monitor using a table or file.
That means
When i click upload the
Hi,
From:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg109699.html
On Tue, 11 Nov 2003, Bill Barker wrote:
At the moment, only MemoryRealm supports CLIENT-CERT auth (at least from the
Tomcat ships-with Realms). There are patches for JNDIRealm and JDBCRealm
floating around in Bugzilla,
Not sure, if you are referring to a post from me, when
I said that migration is difficult, but if so:
It *is* difficult (more or less, depending on your
configuration), because config files (server.xml)
change with every version, it seems, and the setup has
to be done all new with every new
Hi all,
I am trying to compile Tomcat 5. I downloaded the source and followed
the directions in building.html at jakarta site. Problem is I am using JDK
1.3.1. I is giving some error messages.
1, One is related to JAAS. I downloaded JAAS and JSSE. JSSE is put in
base.path(usr/share/java). I am
If someone would please take a look at my http.conf , server.xml and worker.properties
files below and let me know if you see anything
wrong, I would sure appreciate it very much.
First my platform:
Windows 2000 Server - - (No IIS - don't flame me on this please, this is a customer
Thanks for the great reply.
You are mixing several different things:
I agree. Sorry to be so thick, everyone. I hope I am not too far off topic
with this conversation thread, but I simply don't understand how JBoss
differs from the J2EE SDK.
- J2EE is a spec that consists of several
Michael Coughlan wrote:
I agree. Sorry to be so thick, everyone. I hope I am not too far off topic
with this conversation thread, but I simply don't understand how JBoss
differs from the J2EE SDK.
There is a specification for J2EE, and then Sun makes an
implementation of that specification,
Howdy,
There's no way, tomcat's JNDI is internal only. It wouldn't hurt you to
search this list's archives, as this question has been answered many
times in the past including at least once within the last two weeks.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From:
JBoss and J2EE SDK rely on the same tools for some
technologies. Others technologies are implemented
from scratch. From the J2EE perspective JBoss and
J2EE SDK are competitors that have different scopes.
(J2EE SDK the is not intended as a tool for production)
The heavy part (like EJB) is
While downloading/viewing a file from a jsp page, there are no
problems encountered by IE. But, when the same is opened on
Netscape 7.0 (and up), the file is opened up in the same window
and all the data is improperly rendered because NS cannot
interpret the file properly.
Are you familiar
Howdy,
I'm trying to implement a realm to a context within a virtual host but
I
can't
get it working. This is my server.xml for the virtual host:
Host name=my.host.name
Context path= docBase=/path_to_app /
Context path=/stats docBase=/path_to_stats
Realm
Howdy,
I suggest you start multiple threads for multiple questions, especially
two like these that are completely unrelated.
*) I am uploading a file using MultipartRequest class given by third
party.
O'Reilly, by any chance? ;)
Now my file
is uploading to specific position. My problem
I am looking for a better understanding on the Cluster tag in side of the host tag/
for virtual host.
what should the mcastAddr be ? should this be a internal IP address in side the
network?
mcastAddr=228.0.0.4
as long as this is the same across all web apps this is ok right?
mcastPort=45564
Howdy,
Not sure, if you are referring to a post from me, when
I said that migration is difficult, but if so:
It *is* difficult (more or less, depending on your
configuration), because config files (server.xml)
change with every version, it seems, and the setup has
to be done all new with every
(J2EE SDK the is not intended as a tool for production)
Thanks for the post. Can you please clarify?
Are you saying that the J2EE SDK is not production quality while JBoss is?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Perhaps this will help you decide which application server to use.
http://www.theserverside.com/reviews/matrix.jsp
This Matrix is excellent. Thanks, James.
I noticed that J2EE x Tomcat was not checked off?
For my project, I will need servlets with J2EE, JMS etc.
Why can't I simply use
Howdy,
Oh wow found out what happend.
Tomcat created the conf/Tomcat-Standalone/parks.com/.xml
due to my earlier server.xml changes
I just went back in to my conf dir and deleted the Tomcat-Standalone
directory
and then proceed to restart tomcat.
guess what that worked. Could that be a bug? or
Howdy,
Looks like the Cluster code requires JDK 1.4, as java.lang.CharSequence
is new in JDK 1.4. Are you running a 1.4 JDK and still getting this
error?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Sunday, December
Howdy,
You may also want to use the attachment content-disposition header in
order to give the user a choice of opening/saving to disk. (Google
content-disposition header if you're not sure what it is or how to use
it).
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From:
Chris,
[Sat Dec 20 13:41:33 2003] [jk_uri_worker_map.c (500)]: Attempting to
map URI '/admin/something.html'
[Sat Dec 20 13:41:33 2003] [jk_uri_worker_map.c (618)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
Even if I comment out all JkMounts in httpd.conf, this problem
Howdy,
What's your Resource tag in server.xml for mail/MyMail look like?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Cord Awtry [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 21, 2003 9:24 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.18 MailSession Problem
Hello
Howdy,
You need the commons-digester library to use the balancer webapp.
There's a copy in $CATALINA_HOME/server/lib if you can't find one.
However, your specific error is NOT a ClassNotFoundException. It
indicates a different version of the Digester library is on the runtime
classpath. Have
Michael Coughlan wrote:
It seems to me that I might want to blow away my Tomcat install and unpack
JBoss (with Tomcat).
You should look at what you will need, in terms of features, and what
you can spend, and then decide. Sun's implementation also uses Tomcat
as do at least some of the other
Michael Coughlan wrote:
Thanks for the post. Can you please clarify?
Are you saying that the J2EE SDK is not production quality while JBoss is?
I believe the reference implementation is not meant for production,
from Sun, but for $2k or $10k/cpu you can buy one that is.
Sun want's to sell their Sun ONE software, so the
licence for the free J2EE SDK is restricted. (For
internal use and development)
(But this is getting quite off topic for this list)
-Original Message-
From: Michael Coughlan [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003
Howdy,
You can use MockObjects for this type of thing, assuming that you mean
the ServletContext and similar scopes.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: James Black [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 7:11 AM
To: Tomcat Users List
Lenny,
My problem is that when I enter www.mysite.com the source from my
index.jsp is displayed.
This is almost always a misconfiguration of JkMount directives.
It appears that the virtualhost setup in my
http.conf is finding the mysite directory in Tomcat, but for some
reason cannot display the
Howdy,
I answered this question in a bit more detail last week, so you may want
to search the archives (a generally good idea before posting).
The WebDAV servlet is included with the tomcat distribution (and has
been enhanced in fact for tomcat),
$CATALINA_HOME/server/lib/servlets-webdav.jar.
Christopher Schultz wrote:
JkMount /mscarloans/*.jsp ajp13
This line maps all JSP files in the /mscarloans/ tree to be sent to
Tomcat for processing. There doesn't appear to be any other JkMount
for this VirtualHost. I think you want thic changed to something like:
JkMount /*.jsp ajp13
Shapira, Yoav wrote:
You can use MockObjects for this type of thing, assuming that you mean
the ServletContext and similar scopes.
We are using a commercial application that is buggy. I am trying to
test it to see if a new version is better or not than the current
version, but I can't test
Howdy,
I've added this to the FAQ (Miscellaneous section).
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Shapira, Yoav
Sent: Monday, December 22, 2003 9:00 AM
To: Tomcat Users List
Subject: RE: Accessing JNDI Context from outside Tomcat
Howdy,
There's no way,
Bill,
Yes, I should have thought of the --StdOutFile and --StdErrorFile arguments.
However, specifying them does no good. The files are created, but they are empty.
Merrill
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hello all!
We seem to have some problems with cookies on our Linux cluster.
If you request a URL and you get redirected to server 1 it gives you a cookie.
If you request another URL on the same site and you get redirected to server 2
in the same cluster it gives you yet another cookie instead of
Howdy,
When this is done, will cactus work, or will I need to write my own
jsp page, instantiate the classes needed myself, then run the unit
test,
so that everything is set up for it?
I have never thought of the difficulty of unit testing when using
servlet contexts.
It is indeed a
Thank you very much for your response. Unfortunately we are using jdk 1.3. Do you
know if it is possible for me to simply add the charsequence class into my jar? It
will be a very big headache to move to 1.4.
Thanks,
Matt
-Original Message-
From: Shapira, Yoav
I have this strange error in tomcat4 :
java.security.AccessControlException: access denied
(java.util.PropertyPermission catalina.base read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
at
Howdy,
Thank you very much for your response. Unfortunately we are using jdk
1.3.
Do you know if it is possible for me to simply add the charsequence
class
into my jar? It will be a very big headache to move to 1.4.
I do happen to know that no it's not possible for you to add that class
(it's
Howdy,
I added a note about the JDK 1.4 requirement to the clustering how-to
page. It'll show up next time we refresh the site.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Sunday, December 21, 2003 10:01 PM
To:
Sun want's to sell their Sun ONE software, so the
licence for the free J2EE SDK is restricted. (For
internal use and development)
(But this is getting quite off topic for this list)
Thanks for the reply. Now it's clear to me.
As James stated in his last email Sun's implementation also uses
Yoav,
You've been an incredible help. Thank you very much. It seems my only options are to
skip the clustering or move to 1.4 (I don't know how long it would take Filip to get
clustering working on 1.3 but I doubt I have the time).
Thanks again,
Matt
-Original Message-
Howdy,
You've been an incredible help. Thank you very much. It seems my only
options are to skip the clustering or move to 1.4 (I don't know how
long it
would take Filip to get clustering working on 1.3 but I doubt I have
the
time).
No problem, glad to help.
I wouldn't overestimate the
Howdy,
I also added this information (in a more brief form) to the tomcat FAQ
last week.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Michael Coughlan [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 10:32 AM
To: Tomcat Users List
Subject: RE: (OT) Why
This is obviously not a Tomcat problem.
Please ask your question in a forum for your operating system (probably
the best place) or in a PostgreSQL forum.
You may also want to refer to this document:
http://www.catb.org/~esr/faqs/smart-questions.html
-Original Message-
From: [EMAIL
Yep. I've restarted apache many times, and have noticed other unrelated
changes taking effect. I only have one apache instance on the machine.
My Jk section in httpd.conf looks like this:
# Load mod_jk
#
LoadModule jk_module /usr/local/apache/libexec/mod_jk.so
AddModule mod_jk.c
Bill:
Eventually the browser will drop the connection, and then if
the Servlet
tries to write anything, then an IOException will be thrown. However
allowing the following code on your server will DoS:
while(true) {
Thread.Sleep(1000);
}
This is precisely my question: Is there
Howdy,
This is precisely my question: Is there a way to set a
timeout on a thread and kill it if it takes that amount of time?
Sure there is, in general java programming. But there's no portable way
for a webapp to do that with internal tomcat threads.
Yoav Shapira
This e-mail, including
anybody have any luck with this under mod_jk2
need sticky to work still not having any luck, request keep going back n
forth and not sticking..
-steve
javen fang wrote:
http://www.ubeans.com/tomcat/
--- Yuval Zantkeren [EMAIL PROTECTED] wrote:
Hi,
I'm running 2 Tomcats 4.1.27 on the
I have a team of developers, each with a $HOME/tomcat/ directory. They
are authenticating against nss-LDAP, so they are not in /etc/passwd. I
would like for them to be able to drop wars in ~/tomcat/ and have them
deploy without manually adding Contexts. I've tried this...
=
Host
Howdy,
First of all, what is the expected and/or desired behavior for the three
URLs you tested?
What happens if you copy the contents of the unpacked test war into the
~jbeamon directory?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: John Beamon [mailto:[EMAIL
Hi everyone,
This has been covered before, I know. But there doesn't seem to be a
common agreement on what the problem (and therefore solution) is.
Our Tomcat 4.1.24 instance has spontaneously decided to no longer
recognize JSP changes! I say spontaneously, because we were running
fine, in
Return Receipt
Your FW: Installation quesiton
document
:
Return Receipt
Your RE: help in tomcat 5 and MS SQL 2000
document
:
configuration
tomcat1 and tomcat 2 load balanced with mod_jk with apache
in the tomcat server.xml file i have clustering enabled and i have the following for
10 different hosts. The web.xml file for each host has the
distributable/
Cluster
no, you are experiencing a bug, one of you sessions is invalidated, and when
the system tries to copy it over, it fails.
I will add in the check to not copy over invalid sessions.
Filip
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday,
I'm working on a JDK1.3 version of the clustering, hopefully the next stable
release
Filip
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 22, 2003 7:33 AM
Subject: RE: Please Help!! Tomcat 5 Clustering
Yoav,
You've been an incredible help.
I'm having trouble serving up a fairly simple embedded applet from the
O'reilly Servlet Programming tutorials.
Tomcat can't seem to find the applet that I request from loginpage.html
using this line of HTML.
applet CODE=DaytimeApplet CODEBASE=/ WIDTH=300 HEIGHT=180/applet
The HTML page is served
I noticed in teh httpd.conf file, this mod_jk setting:
JkMount /examples/*.jsp ajp13
instead of
JkMount /examples/* ajp13
If there is no DirectoryIndex file (like index.html or index.htm) and
Indexes is not a configured option of an Apache Directory directive,
the You don't have
I have Linux server running Tomcat 4.1.24 with several virtual hosts. I
want to disable directory listings in all but one specific virtual host.
Does anybody know if this is possible?.
The only thing I could do was to disable or enable entirely the
directory listings by setting the listings
Howdy,
I have Linux server running Tomcat 4.1.24 with several virtual hosts. I
want to disable directory listings in all but one specific virtual
host.
Does anybody know if this is possible?.
The only thing I could do was to disable or enable entirely the
directory listings by setting the
thanks for the quick reply Filip.
as a side note i seem to consistly get this message running on slackware 9.1
distro. not sure if that may help.
thanks aging,
Daniel Schulken
- Original Message -
From: Filip Hanik [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday,
Michael Coughlan said:
I'm having trouble serving up a fairly simple embedded applet from the
O'reilly Servlet Programming tutorials.
Tomcat can't seem to find the applet that I request from loginpage.html
using this line of HTML.
applet CODE=DaytimeApplet CODEBASE=/ WIDTH=300
I'm having trouble serving up a fairly simple embedded applet from the
O'reilly Servlet Programming tutorials.
Nevermind.
I now see the debudding information at the bottom of the browser:
error.java.long.NoClassDefFoundError:com/oreilly/servlet/HttpMessage
I need to point out the Oreilly com
let me get a fix out this week, and we shall see if we get a difference :)
Filip
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, December 22, 2003 11:25 AM
Subject: Re: Error in clustering in tomcat 5
thanks for the quick reply Filip.
Hello,
In my opinion installing the jk2 connector is not trivial, so we build
an nsis installer for our customer to automate this.
If anybody is interested, he can download the binary at:
http://www.shiftomat.com/opensource/setupJk202.exe
And the source code at:
I'm running Tomcat 5.0.16 and a JSP that connects to a MySQL DB. The data in the DB is
ok, because i fetched that information with a quick php application and it displays
correctly the accents and such. But when i access the information with this JSP, it
puts question marks instead of those
This sounds like a font issue, not a JSP issue. You're probably looking at the
generated page with a browser that does not have that font loaded.
Justin
-Original Message-
From: Leandro Costa [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 4:46 PM
To: [EMAIL PROTECTED]
I have the same website in a Tomcat 4.0.1 server (that i didn't configure), and it
works ok.. the browser that i used is MSIE.
BTW, The JSP gets the info from a MySQL database, it's dynamic content.
Does anybody know what to do ?
Regards,
Leandro Costa
On Mon, 22 Dec 2003 16:51:15 -0500
Hart,
Leandro,
that sounds like an encoding issue either when retrieving the data from the
DB, or when displaying in the jsp. In the jsp page try to use % page
Content-Type=text/html; charset=iso-8859-1 %. It is also possible that
String object uses wrong encoding that doesn't include ñ. See API for
I don't know anything about Java, we host a site that has some JSPs. The thing is, i
copied the jdk from the another machine and i installed a newer version of Tomcat. The
other machine runs 4.0.1 and this one, 5.0.16. So, for example i don't know where to
find that java.lang.String that you
The expected behavior was outlined below.
I would like for them to be able to drop wars in ~/tomcat/ and have
them deploy without manually adding Contexts.
I found the extracted contents under work/Standalone/localhost/ from an
earlier experiment. Copying them under ~jbeamon/tomcat/ made the
Hi,
I have configured Apache 1.3 with mod_jk on SuSE Linux SLES8 on a zSeries.
mod_jk will only connect to tomcat on the localhost.
detail
One Linux instance runs the Web Server and one runs Tomcat 4.1.27
In order to test the config I installed tomcat on the web server machine and
mapped the
mcastAddr=228.0.0.4
as long as this is the same across all web apps this is ok right?
should only be the same across the cluster, ie, I don't believe you want to
replicate sessions between different virtual hosts, makes no sense, right?
Filip
-Original Message-
From: [EMAIL PROTECTED]
Hello,
I am trying to set up connection pooling with Tomcat 4.1.29 and Oracle 9i
I am getting the below error:
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for
connect URL 'null', cause:java.sql.SQLException: No suitable driver
Please tell me what to do to
Hello,
I am new to tomcat and I saw that the connectors can be used to
connect/integrate tomcat with iis, but all the documentation I find is
for older versions of tomcat. Can someone please point me to recent
documentation or explain the process to me.
Hi Dani,
Useful script - thanks.
Regarding:
Somewhere in this forum I read, I have to put IIS 6.0
in IIS 5.0 isolation mode to work properly with jk2.
Why? Did I miss something?
Perhaps you saw my post asking if JK2 ran in IIS 6 without having IIS 5
Isolation Mode checked in the Services
I ran into a problem implementing clustering and then I changed the multicast address
from the default - 228.0.0.4 to 224.0.0.1 and it worked. This website was pretty
useful. Apparently there are reserved addresses for this type of thing (i.e. Group
Membership Reporting).
Hello All,
Now I am trying to access data in a table of a database of a instance of SQL Server
2000 throng MS JDBC Driver. It is successful by using below code:
try {
Class.forName(com.microsoft.jdbc.sqlserver.SQLServerDriver);
con
One of the other developers added the attached .bat file to make it easier
to install as a service (I renamed the attachment to '.txt', since a lot of
mail servers strip '.bat' attachments :). rename it back to '.bat', and see
if it help.
Usage: service.bat install/remove [service_name]
Hello All,
I got it. Thanks.
Regards,
Xiaojing
-Original Message-
From: Cui Xiaojing-a13339 [mailto:[EMAIL PROTECTED]
Sent: 20031223 12:15
To: Tomcat Users List
Subject: Need your Direction
Hello All,
Now I am trying to access data in a table of a database of a instance of SQL Server
Thanks for the script, Bill. I've been looking for something that actually
works and this finally doesalmost
The script is missing one important thing. It doesn't include
%JAVA_HOME%\lib\tools.jar in the --ImagePath which causes JSP compilation
to fail. Attached is a modified script
87 matches
Mail list logo