If you get this log
27-DEC-2004 16:58:11 *
(CONNECT_DATA=(SID=test)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))) *
(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.4)(PORT=33244)) * establish *
Perhaps you have to try jdbc:oracle:thin:@10.0.0.4:33244:test with thin
driver and jdbc:oracle:oci:@service_name
thanks to all 4 ur input. i will try the suggestions and get back to
you, if needed.
rgds
atishay
On Wed, 5 Jan 2005 15:17:40 +0800, Jerome Jar [EMAIL PROTECTED] wrote:
Or you may edit the file $CATALINA_HOME/webapps/ROOT/WEB-INF/web.xml,
and remove the servlet mapping of
Sorry if this is a little off topic. I have been developing Java web
application for my employer for a while, but these are all running on our
company's intranet only. Now someone is asking me to develop an eCommerce
site. I don't know how to charge him. Can someone please give me some ideas
of
What country are you based in?
Original Message Follows
From: epyonne [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
Subject: [OT]web development fee
Date: Wed, 5 Jan 2005 06:51:50 -0600
Sorry if this is a little off topic. I have been
-Original Message-
From: LERBSCHER Jean-Pierre
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 05, 2005 3:14 AM
To: 'Tomcat Users List'
Subject: RE : Oracle 9i client connection to 8i database
If you get this log
27-DEC-2004 16:58:11 *
-Original Message-
From: LERBSCHER Jean-Pierre
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 05, 2005 3:14 AM
* Perhaps you have to try
jdbc:oracle:oci:@service_name with oci driver.
-Original Message-
From: Michael Echerer [mailto:[EMAIL PROTECTED]
Sent:
I am in the United States. Thanks.
-Original Message-
From: Mark Benussi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 05, 2005 6:54 AM
To: [EMAIL PROTECTED]; tomcat-user@jakarta.apache.org
Subject: RE: [OT]web development fee
What country are you based in?
Original Message
Epyonne,
Thank you for marking this thread [OT].
By replying to an existing thread instead of starting a new message,
you've hijacked someone else's thread. A lot of people will not read
your message because of this.
Ask again with a new message.
-Ben
On Wed, 2005-01-05 at 07:51, epyonne
I have been using Tomcat for quite some time now, and am still a bit shakey
on some of the configuration details. I am currently using Tomcat5 and I
want to my servlet to process all .jar and .jnlp files.
I have my servlet mapping set up in the web.xml:
servlet-mapping
Thanks. I had already done this but maybe not communicated them as
concisely.
Thanks
Charles
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 6:23 PM
To: Tomcat Users List
Subject: Re: Speed issues with SQL Server 2000 and
Thanx QM,
This if funny ironically enough the documentation says:
--deployOnStartup--
This flag value indicates if web applications from this host should be
automatically deployed by the host configurator.
The flag's value defaults to true.
Yep, that correct it defults to ture. But as you
Hi all
*Our setup:*
- Solaris 8
- Apache httpd 2.0.50
- Jakarta Tomcat Connectors mod_jk 1.2.4/1.2.5/1.2.6/1.2.8
- Tomcat 4.1.31
*How we want it to work:*
1. For all configured webapps (via JkMount directives) mod_jk should
forward the requests to Tomcat
2. For all jsp-pages (via a JkMount
To use thin driver, you just have to put jdbc library on your classpath
(ojdbc14.jar for oracle9), depending on your configuration, deploy this jar
in common/lib, or war file.
You can try this code. I did not compile it but I think that it must run.
import java.sql.*;
import java.util.*;
public
I was wonder if I could have more than one *|appBase|* per host.
or what if I wanted my host to have more then one *|appBase. How
would I configure this or can it be configure at all???
May I could make two host with the same virtual host Name???
EX:
Host name=localhost debug=0
Since I am using Outlook Express, I did not realize that I was attaching to
someone else thread and I apologize for that. I am starting a new thread here
and hopefully someone can help me.
I have been developing Java web application for my employer for a few years,
but these are all running on
Dennis Lundberg wrote:
*Problems:*
With mod_jk 1.2.4 this works as expected. With versions 1.2.5, 1.2.6 and
1.2.8, number 3 above doesn't work. A request for /examples/ returns a
404 from Tomcat. Looking in the mod_jk log shows that it is trying to
serve the file index.jsp, but that file
watch out for free support - most people make this mistake and it ends up
sucking up all their time.
Charge a time and materials fee when shit hits the fan such as out of disk
space etc, a shopping cart isn't working.
Make it their responsibility to QA the site, and when they are done, have them
Epyonne,
First off, I don't think that you hijacked anyone's thread, but this list
seems to be very sensitive to that (and perhaps more affected by it than
other lists I have seen).
From my experience there are a couple of options you can pursue:
1) You could build the application from the
All,
There have been a number of unintentional thread hi-jackings recently
and I wanted to clarify why it seems to be increasing, how it can happen
and how to avoid it.
Why the increase?
=
I don't think there has been an increase. What has increased is the use
of good thread
Is there anything else I need to watch out for?
If you're not a web-designer, avoid taking charge of the look and feel
of the site.
I've always done best when I've told the client to use a design house
for the look and feel and then give the static files the me so I can
build the app around
Arg... My bad
The test has been done, but a jar was remaining in the WEB-INF
Antony Paul wrote:
May be there are two jar files or unzipped class files of the same
class. Check for it also.
rgds
Antony Paul
On Thu, 23 Dec 2004 16:22:33 +0100, Lionel Pasquier
[EMAIL PROTECTED] wrote:
I have a number of applications running under Tomcat root contexts, on
various different servers/ports. Under Apache, I can use the
JkMount /* workername
directive under a virtual directory to allow me to do virtual hosting, under
Apache, which allows me to specify that a particular hostname
Are you using JK or JK2 as the redirector in IIS? You might want to
indicate what version of IIS as some people have reported trouble using
JK in IIS 6 unless they run in IIS 5 isolation mode.
I use JK2 with multiple virtual hosts, and each host is handled by a
different worker. I'm sure JK can
Resend correcting a typo:
[channel.socket:web1:8010]
port=8010
host=web1.bvu.edu
[ajp13:web1:8010]
channel=channel.socket:web1:8010
[uri:web1.bvu.edu/servlet/*]
worker=ajp13:web1:8010
[channel.socket:web2:8009]
port=8009
host=web2.bvu.edu
[ajp13:web2:8009]
Mladen,
No luck, alas. Same error. But thank you for the pointer, all the same.
[EMAIL PROTECTED] make
Making all in common
make[1]: Entering directory
`/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
/bin/sh /usr/bin/libtool --silent --mode=compile gcc
-I/usr/include/httpd -g -O2
Daniel,
Thanks for the response. No, what I develop for my employer is not eCommerce
related. They are mostly for internal processing. Some of my web application
are used by our call centers.
Among the 3 options that you have stated, I think I will go with either #1
or #3. If I go with #3, do
From: Thomas Tinnes [mailto:[EMAIL PROTECTED]
Subject: Re: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error
-I/usr/src/redhat/BUILD/httpd-2.0.46/prefork/srclib/apr/include
/usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include -g -O2
I think the problem is directly above: there's no
Thomas Tinnes wrote:
Mladen,
No luck, alas. Same error. But thank you for the pointer, all the same.
Seems that the space is not a problem, but
you have a strange entry:
-I/usr/src/redhat/BUILD/httpd-2.0.46/prefork/srclib/apr/include
/usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include ...
Hello everybody,
I have configured jk2 successfully finally to work with apache and
tomcat.
#!Question 1
I have included the following in my server.xml file:
Context path=/ccasas docBase=/home/ccasas/wwwdocs debug=0
reloadable=true crossContext=true
/Context
This allows me to see my jsp
Charles P. Killmer wrote:
Thanks. I had already done this but maybe not communicated them as
concisely.
Thanks
Charles
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 6:23 PM
To: Tomcat Users List
Subject: Re: Speed issues
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Subject: RE: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error
P.S. I believe there should be a space before each -I, but it
may be optional.
Make that AFTER each -I.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR
I have configured Tomcat 5.0.27 on the localhost to accept https
connections (I have configured an unsigned cert under the alias
tomcat to allow this).
I can then get to the root Tomcat page at https://localhost:8443/.
If my browser happens to have a signed cookie in it (this cookie is a
Please Read your Documentation at this page
http://myserver:8080/tomcat-docs/config/host.html
and that should answer your question.
Read the section that says:
User Web Applications
Casas, Claudia wrote:
Hello everybody,
I have configured jk2 successfully finally to work with apache and
tomcat.
On Wed, 5 Jan 2005, Thomas Tinnes wrote:
Mladen,
No luck, alas. Same error. But thank you for the pointer, all the same.
[EMAIL PROTECTED] make
Making all in common
make[1]: Entering directory
file or directory
make[1]: *** [jk_ajp12_worker.lo] Error 1
make[1]: Leaving directory
I'm having a problem getting a webapp running in my instance of tomcat.
I have attached all the relevant info below.
What I'm trying to do is use a sym link in a dir that points to a
generic version of my app. That way I can have numerous versions of
that app on my machine and instead of having
Hope this helps.
--
Server Configuration Reference
The Context Container
--allowLinking--
If the value of this flag is true, symlinks will be allowed inside the
web application,
pointing to resources outside the web application base path. If not
specified,
the
Thanks! Tomcat now works for every user directory! : )
But I still do not know how to make apache forward my jsp request to
tomcat.
I used to include Jkmount option in my httpd.conf, but now I have not
idea.
I have read about a JkSet but not sure how to use it. I have also read
that you can have
Hi, Erik,
Instead of adding your context entries directly to server.xml,
I recommend adding tiny little context.xml file snippets under
TOMCAT_HOME/conf/Catalina/localhost.
tomcat/conf
|-- Catalina
| `-- localhost
| |-- ROOT.xml
| |-- manager.xml
| `-- julius-app.xml
|--
I tried setting that parameter to false and still the same slow issue.
The fields in the database are all char or varchar. No unicode.
Charles
-Original Message-
From: Victor Cardona [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 05, 2005 11:44 AM
To: Tomcat Users List
Subject:
This should help atleat I hope:
Your httpd.conf should look something like this at the bottom.
Location /*.jsp
JkUriSet worker ajp13:localhost:8009
/Location
Have a beautiful day.
Casas, Claudia wrote:
Thanks! Tomcat now works for every user directory! : )
But I still do not know how
Anybody want to take a shoot at this
Dwayne Ghant wrote:
I was wonder if I could have more than one *|appBase|* per host.
or what if I wanted my host to have more then one *|appBase. How
would I configure this or can it be configure at all???
May I could make two host with the same virtual
Also Try :
www.salary.com
I think you would like it.
epyonne wrote:
Daniel,
Thanks for the response. No, what I develop for my employer is not eCommerce
related. They are mostly for internal processing. Some of my web application
are used by our call centers.
Among the 3 options that you have
Dwayne,
Where do I set the allowLinking attribute?
Erik
--- Dwayne Ghant [EMAIL PROTECTED] wrote:
Hope this helps.
--
Server Configuration Reference
The Context Container
--allowLinking--
If the value of this flag is true, symlinks will be allowed
On Wed, 05 Jan 2005 11:24:21 -0600, David Boyer wrote
Resend correcting a typo:
[channel.socket:web1:8010]
port=8010
host=web1.bvu.edu
[ajp13:web1:8010]
channel=channel.socket:web1:8010
[uri:web1.bvu.edu/servlet/*]
worker=ajp13:web1:8010
[channel.socket:web2:8009]
port=8009
Try pinging the server with Microsoft SQL Server from the server running
tomcat. You might
use a traceroute to see where the network bottleneck may exist.
What are your ping times. Are you experiencing network latency? Are
you going through a
Firewall? I am using JTDS and I have not
In your Context tag.
Erik Weibust wrote:
Dwayne,
Where do I set the allowLinking attribute?
Erik
--- Dwayne Ghant [EMAIL PROTECTED] wrote:
Hope this helps.
--
Server Configuration Reference
The Context Container
--allowLinking--
If the value of this flag is true,
I am using Tomcat 5.5.4 with jdk1.5.0_01.
I am currently reading a book about Tomcat 5.
Title: Professional Apache Tomcat 5
ISBN: 0-7645-5902-8
According to page 53 Chapter 5, Basic Tomcat Configuration it shows
the node Service (Catalina) expanded to view view and edit
Connectors, Hosts, Logger
Charles P. Killmer wrote:
Thanks. I had already done this but maybe not communicated them as
concisely.
Thanks
Charles
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 6:23 PM
To: Tomcat Users List
Subject: Re: Speed issues
The admin app appears to be broken in 5.5.4. I have tried 5.5.6 but it
also seems to be having issues commiting changes. If you are just
starting out try using 5.0.30 which is likely to be voted stable next week.
PJ
Troy Simpson wrote:
I am using Tomcat 5.5.4 with jdk1.5.0_01.
I am currently
http://jakarta.apache.org/tomcat/connectors-doc-archive/jk2/index.html
Also, there's a sample or two included with the source code.
I should point out that JK2 is officially unsupported. Unless you
specifically need JK2, I'd suggest JK 1.2.8.
[EMAIL PROTECTED] 01/05 2:21 pm
On Wed, 05 Jan
I have just configured the jk2 connector according to Chapter 12,
Tomcat and Apache Server (Professional Apache Tomcat 5) and I am
getting these message in the Apache2 Error log. It appears that I am
able to get to jsp-examples via Apache2/jk2/Tomcat.
What do they mean?
How do I resolve this?
Does anyone know which track is more prevalent, 5.0.x or 5.5.x?
Am I correct in saying that 5.5.x is under development and 5.0.x is in
maintence mode?
Thanks,
Troy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Can Tomcat 5.5.x and Macromedia JRun4 run under the same Apache2 instances?
I am trying to configure the following on Sun Solaris 8
Apache2 2.0.50
Macromedia JRun4
Tomcat 5.5.x (or 5.0.x).
Thanks,
Troy
-
To unsubscribe, e-mail:
Thank you Mladen for your quick response. I think I understand things
more clearly now. One must keep the httpd stuff separate from the Tomcat
stuff. It's working better now, but there is one thing that I can't get
to work like I would like it to.
But first I think I need to explain a bit more
Hello,
A while back, I was learning Tomct 4.1.31. Anyway, back then I used a web-based
admin tool to load war files, etc.
I did not save my notes, and I forgot what the url was to launch this admin
helper.
Could someone help me out with this?
Thanks,
Scott
Hello,
Just a follow up to let you know how this got resolved.
First, thanks to all my respondents. It all helped.
I tried using ./buildconf.sh, but got the same result. The Rosetta Stone
came from Mladden when it was pointed out that the second value of
-DHAVE_APR hadn't a -I before the second
For a default install, using a browser on the same box as tomcat:
http://localhost:8080/manager/html
You will need to edit conf/tomcat-users.xml to add a user that has the
manager role.
Mark
Scott Purcell wrote:
Hello,
A while back, I was learning Tomct 4.1.31. Anyway, back then I used a
I am trying to establish a connection pool in Tomcat 4.1 to SQL Server
2000. Looking at the SQL Server trace utility, it appears Tomcat
connects with the correct username/password and then the following
exception is thrown:
java.lang.UnsupportedOperationException at
I am trying to configure database pooling in Tomcat 4.1.31. I found some
excellent documentation here
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
I followed this exactly for mysql (top article).
I created the DBTest web-app precisely, and all folders
It appears that you are dealing with a connection issue to the database
server. Since you are not running any queries, the data is not an issue.
There may still be other issues that are slowing things down. Once the
connection is established, is the connection response normal. That is why I
Hey Charles,
I have implement a database driver that I found online
do you think it will help you out???
Charles P. Killmer wrote:
I bought the Core Servlets and Java Server Pages and read it over the
weekend. Happy New Year to me. I did get out to a few parties though.
;) I am having trouble
Has anyone been able to get the OracleDataSourceFactory working with
Tomcat 5? It seems that no matter how I set up the Resource element in
my context the factory returns a null data source. Any help would be
appreciated.
Bernard Durfee
-Original Message-
From: Dwayne Ghant
Hi all,
I am new comer. I have installed Tomcat 5.0 successfully, it shows me the
welcome page when I set the URL at http://localhost:8080 . Also, it only show
up on the local machine, not on the internet. However, I would like to put my
computer name instead of localhost:8080 on it, so
I think you might have to set the DNS server.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Try editing your etc/hosts file.
-Original Message-
From: D Lee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 05, 2005 3:21 PM
To: tomcat-user@jakarta.apache.org
Subject: localhost:8080 only
Hi all,
I am new comer. I have installed Tomcat 5.0 successfully, it shows me the
Hi,
I am running window 2003 server.. I have try that suggestion from John and put
in my ip address then localhost. But it's still not working.
John Najarian [EMAIL PROTECTED] wrote:
If you are running tomcat on Windows edit the c:\windows\system32\etc\hosts
file
-Original Message-
Change the configuration file and tell it to run on port 80 (standard
http port). Search for the string 8080 to help you find the right
location.
Any hostname that resolves to your machine will work from the public
internet. Localhost will only ever work for you.
If your machine can't be reached
Can you tell me the name of the configuration files and where are they located?
do they end with .cfg?
Thanks
bandito [EMAIL PROTECTED] wrote:
Change the configuration file and tell it to run on port 80 (standard
http port). Search for the string 8080 to help you find the right
location.
Any
On Wed, Jan 05, 2005 at 08:35:34AM -0500, Mark Claassen wrote:
: I am currently using Tomcat5 and I
: want to my servlet to process all .jar and .jnlp files.
: [snip]
: My problem is that I want this to process all files, not just those in
: MySerlvet/
: [snip]
: How can I bundle this up as a
Our web app needs to talk to oracle. All is well if the app runs on the db
server. But at a client site and on our now on own network, if the app is on
a different box, it can't get an oracle connection. It works fine on 2 boxes
at other client sites.
A related item seems to be that since the
On Wed, Jan 05, 2005 at 08:26:48AM -0600, epyonne wrote:
: Since I am using Outlook Express, I did not realize that I was attaching to
: someone else thread and I apologize for that. I am starting a new thread here
: and hopefully someone can help me.
It's got naught to do with your mailer,
On Wed, Jan 05, 2005 at 04:23:13PM -0500, Troy Simpson wrote:
: Can Tomcat 5.5.x and Macromedia JRun4 run under the same Apache2 instances?
That depends:
Tomcat doesn't really run under Apache; there are Apache modules (jk,
jk2, etc) that let Apache transparently pass requests to a Tomcat engine
It sounds like your using a type2 driver. Switch to the type 4 driver and you
don't need and Oracle binaries (except the jar file) and things might work a
little better.
-Tim
Brad Rhoads wrote:
Our web app needs to talk to oracle. All is well if the app runs on the db
server. But at a client
I think this depends largely on the type of connection you are making. If you
are using the OCI driver (type 2), I believe you need the oracle client
installed on the web application machine.
If you are using the thin driver (type 4), I don't think you need the client
software to be
Try the type 4 driver and make sure that you're not NAT'ing the addresses
anywhere. Oracle doesn't like NATs, you'll need a sqlnet proxy in order for
something like that to work. I've used Cisco PIX firewalls which have a
sqlnet proxy built in.
--mikej
-=-
mike jackson
[EMAIL PROTECTED]
Thanks. It's working now.
bandito [EMAIL PROTECTED] wrote:Change the configuration file and tell it to
run on port 80 (standard
http port). Search for the string 8080 to help you find the right
location.
Any hostname that resolves to your machine will work from the public
internet. Localhost
On Wed, Jan 05, 2005 at 11:35:33AM -0800, Dwayne Ghant wrote:
: Anybody want to take a shoot at this
Sure, I'll take a stab.
A little patience, please -- some (many?) of us have day gigs in which
it's none too proper to answer list questions on company time.
: I was wonder if I could have
I believe that I have read that mod_jk2 was to stop being supported as
of 11/15/04. It might be something to think about if you start seeing
more bugs. I have reverted all of my boxes to mod_jk which serves
just as fast for me.
-j
On Wed, 05 Jan 2005 11:32:01 -0800, Dwayne Ghant [EMAIL
Just today, in fact, I have gotten this to work but with apache 1.3,
sort of. I'm using the mini-jrun4 that is packaged with coldfusion.
The other caveat that makes me say sort of is because I only got it
to work for that one very narrow use of jrun4 (although perhaps the most
popular one).
I have 2 sets of programms running on Tomcat 5.0
1)one set is using normal servlet program architecture.2)another is using
struts technology. This together makes whole application. Eventually the whole
application will be in struts, but currently i have half in servlet and half in
struts.
Software
JDK1.5
jakarta-tomcat-5.5.2
Requirement
After the user Logins in the Server through JDBCRealm Authentication I want to
store the user Details in the session
I know there is something called request.getUserPrincipal().getName()
But i need to store the whole companydetails in the Session
I'd appreciate a hand if possible as finding a way to do this is driving
me nuts.
I want to hide the context URL in an Apache2/mod_jk1.2.8/Tomcat4.1
configuration.
eg:
my virtual definition for the server purple.example.com contains the
line:
JkMount /examples/*.jsp ajp13
This means that the
I have heard of http://www.merchantspace.com/product/index.jsp. I haven't
used it though. A search on Google will likely give you a handful to choose
from. Also you might consider taking ideas from the Java Pet Store.
The hourly rate depends on a lot of things. I can't make a good
Epyonne,
Please email me directly, I have sent you a reply, but the email
returned unsent.
Drew.
On Wed, 2005-01-05 at 22:02, Daniel Watrous wrote:
I have heard of http://www.merchantspace.com/product/index.jsp. I haven't
used it though. A search on Google will likely give you a handful
Dennis Lundberg wrote:
/www/
/htdocs/
/examples1/
/examples2/index.html
/examples3/index.jsp
/WEB-INF/web.xml
/webapps/
/webapp1/index.jsp
/webapp2/index.jsp
Now httpd is set up like this:
DocumentRoot /www/htdocs
Tomcat
David Nillesen wrote:
JkMount /examples/*.jsp ajp13
This means that the URL in a client is
http://purple.example.com/examples/index.jsp
I'd actually like to map that into the URL:
http://purple.example.com/index.jsp
Search the archive from last month
(Dec. 29, Thread 'Forwarding *all* webapps with
86 matches
Mail list logo