Paul,
Add this to the context for each application that needs the database.
Doug Parsons
www.parsonstechnical.com
- Original Message -
From: "Paul Mahoney" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday, March 15, 2004 2:28 PM
Subject: Problem using J
www.domainsite.com
At $6.99 a year it's hard to beat. I haven't found a better deal with all
the features they offer.
Doug
www.parsonstechnical.com
- Original Message -
From: "Yiannis Mavroukakis" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, March 12,
Adam,
Sound very similar to a problem I had a couple of days ago. Are you using
any loops in your code? Specifically while or do-while or endless for loops.
If so try changing them to a for loop with a high count say 10k-100k and see
what happens. I had a sort method that under the right condition
Latha,
For TC4 you need the web.xml to be this:
http://java.sun.com/dtd/web-app_2_3.dtd";>
testServlet
Testing
yourPackageName.testServlet
testServlet
/testServlet
In TC4 you have to have both (if I understand correctly) and when you map
you do
> Well in the localhost directory I have an .xml for each Web App
in
> the system, it contains a context tag (going from memory at the moment as
> I'm not in front of the server)
>
This is a new feature in TC5
> > i defined the resource in server.xml.
>
> Guess that will be something for me to tr
Harry,
Take a look at this page:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/globalresources.html
As noted on the page:
"This is equivalent to the inclusion of the following element in the web
application deployment descriptor (/WEB-INF/web.xml): "
The question is: Is the fragment bel
Now I am to the point of needing some clarification on JNDI.
Current config.
TC 4.1.29 Standalone
RH 9
Planned config
TC 5 (latest stable)
TAO Linux (Approx RH Enterprise)
I am running an application and using JNDI against MySQL. All is working
fine but!
1. I deploy via a war file. I must resta
Rama,
What Mathew is talking about is that Linux does not have services as windows
does. I think that the term you need to search for is daemon. Or google for
run Tomcat daemon.
Tomcat 5 has instructions for this on the setup page. I don't know if this
can be applied to TC4.
http://jakarta.apache
gain when I hit Send on this note.
>
> Rhino
>
> - Original Message -
> From: "Parsons Technical Services" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Sunday, March 07, 2004 7:41 PM
> Subject: Re: Spam on to
: "Parsons Technical Services" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, March 07, 2004 9:15 PM
Subject: Re: Spam on tomcat-user?
> Rhino,
>
> Got the same email you did. Now without any refer
Rhino,
Got the same email you did. Now without any reference words to see the
results.
Doug
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Rhino,
Thought I would test your theory here as well as throw in my own. Mandrake
is a root that was used in the Harry Potter series. It may be that your
email was harvested because of the relation. Unless someone has just set
this up I haven't had any issues in the past, other than some virus jun
Snotman,
For an example.
Search the archives for the thread "Servlets with JDBC connectivity".
Look for the messages from me.
Doug Parsons
- Original Message -
From: "Snotman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 1:08 AM
Subject
David,
1. What is the package line say in the classes contained in the mytest.jar?
2. What are the class names contained in the mytest.jar?
3. Have you checked spelling and capitalization?
Just checking the basics first.
Doug
www.parsonstechnical.com
- Original Message -
From: "Dav
Yoav,
The one on the left of the page does work. But if you look further down the
page in the main body there is another link for JK Documentation and it
points to
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/ which is
redirected to the http://jakarta.apache.org/site/binindex
When I went to look for a link on documentation I ran into this:
TC Main page
http://jakarta.apache.org/tomcat/
Documentation for TC4 goes to
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html
JK Documentation goes to
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
Good
TC
unplug,
I am running 4.1.29 in standalone. Try the page directly on TC.
Mine goes to the same page with either URL. I suspect that what may be
happening is that in the first case Apache is handing off the request to TC
which returns the html. In the second case Apache is serving the page up
direct
Andrew,
First what strikes me is that you say you are getting this error. Usually
with mapping issues, you get a resource not found.
Can you browse anything else on the hosting server?
Try putting just a static page up and see if you can get to it.
With mapping, a gotcha trick is the invoker. Do
an easier
> way to display "plan text" files by setting the content type (and not
> encode the content).
>
> -Original Message-
> From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
>
> Sent: den 24 februari 2004 23:28
> To: Tomcat Users List
> Subj
Johan,
If the purpose is just to see the code, then you can parse the stream and
replace each of the <> symbols with a substitute. This will cause the
browser to see everything as plain text.
Parse the stream. If character equals < then replace with < If character
equals > then replace with >
Wit
Okay, so I learned something. I was right but also wrong. As I said "my"
understanding which now is New and Improved. Use ifs not switches on jsp.
Got to write that down somewhere .
Sorry George.
Doug
- Original Message -
From: "George Hester" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECT
George,
OK, I'll bite. Why?
Not sure why you want to try this but from what I understand, no it won't
work. The clue is that the jsp page is converted to a servlet and any code
between the <% %> must stand on it own as valid code. When you split the
code you have created two segments that if ente
If I understand the notes correctly, if you simply include a welcome file
then TC will not serve up the directory listing. This is also how my setup
acts. It will not show the directory for my app which has an index file. And
the global web.xml is untouched.
See the notes in the global web.xml and
Phil,
Okay, I'll go for 4 cents and throw out another one. I do not use a pool for
my IDE. Unless you are load testing the code in the IDE then what advantage
is there to using a pool? My current setup uses a direct connection in the
IDE via DriverManager and uses the pool when deployed to TC. For
IF, and a big one at that, the only reason, in this case, that this is
needed is the connection pool how about the JNDI for the connection pool?
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html
Jus
http://jakarta.apache.org/tomcat/faq/misc.html#ip
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html
- Original Message -
From: "Eric VERGNAUD" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 18, 2004 9:35 PM
Subject: Server ip ad
AIL PROTECTED]>
To: "Parsons Technical Services" <[EMAIL PROTECTED]>
Sent: Wednesday, February 18, 2004 3:10 PM
Subject: Re: re :jsp error
> This is the code
> jsp is stored in root directory
>
>
>
>
> class file is stored classes in web inf of the root direc
dnesday, February 18, 2004 12:57 PM
Subject: Re: jsp error
> Hello Doug ,
> I hve not chnged any thing in the web .xml .The context
path is still the root.
> my os is windows 95
> regards
> mano
>
> Parsons Technical Services <[EMAIL PROTECTED]> wro
Phil,
True. I should have not said "all client side". How about client side
validation?
Point being as weather to handle it more from the client or server. All
depends on application.
Doug
> Hi!
>
> Parsons Technical Services wrote:
> > The
> > better way is to
Mano,
When you say that it runs ok after starting apache, do you also mean you are
accessing it from apache?
What is your setup and OS.
Post your web.xml and any errors.
A similar symptom occurred when the mappings were not correct.
Doug
www.parsonstechnical.com
- Original Message -
Pete,
When the user submits the page where is the user sent?
If he stays on the same page and the form stay populated you need to do some
checks for change in a field before allowing the page to submit again. The
better way is to clear the form or send them to another page. That's all
client side.
>
> Thanks.
> I tried that and got some break through.
> Now instead of "error code 2" ping 127.0.0.1, gives "Destination
> unreachable"
> and for ping localhost, it gives unknown host name.
>
> Also "ipcongif" still doesnt work.
>
>
Sunit,
This is moving off topic for the list, but here it goes.
First READ all of these instruction. You may find your problem without
having to go through all these steps.
Open Network Connections.
One at a time right click a network device and select properties.
Select uninstall.
Do this for a
You have:
>
>
> url
>
> jdbc:microsoft:sqlserver://localhost:1433
>
>
The value needs some additional information.
If you named your database as "robinhood" then you need the string to read:
jdbc:microsoft:sqlserver://localhost:1433/robinhood?autoReconnect=true
Nothing else jumped out at me
including the jsp, and both using Tomcat by itself and going through
Apache.
>
> Thanks for all who helped.
>
> Jerry
>
> Parsons Technical Services wrote:
>
> >My understanding of invoker and my attempt to explain invoker and
mapping.
> >Please correct any error I
My understanding of invoker and my attempt to explain invoker and mapping.
Please correct any error I have made.
Jerry Ford wrote:
> I don't fully understand the invoker servlet myself, but here's what I
> think I know:
>
> The invoker mapping only applies to servlets, not html or jsps, and the
>
Filip,
Does this symptom sound similar to problems with memory leaks?
Doug
- Original Message -
From: "Filip Hanik (lists)" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Deepak Hegde"
<[EMAIL PROTECTED]>
Sent: Saturday, February 14, 2004 11:12 PM
Subject: RE: how to
Jerry,
Try renaming EBook in the context and rename the directory to match.
OR
Remove the EBook app and then rename test to EBook.
Wonder if there is a typo somewhere.. EBook..Ebook..EBooK..etc.
It's a real bite what one letter can do.
Doug
- Original Message -
From: "Jerry Ford" <[
> I don't fully understand the invoker servlet myself, but here's what I
> think I know:
Nor do I. I am just going by what I have encountered and how I fixed it.
>
> The invoker mapping only applies to servlets, not html or jsps, and the
> servlets are working (at least through Apache). If the
Sorry had a typo:
resource not found
should be:
resource not available
Thinking one thing typing another.
Doug
- Original Message -
From: "Parsons Technical Services" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, F
> > Tomcat manager shows EBook is running. And, when I request it through
> > Apache, Tomcat does serve it up. When I request it through port 8080,
> > Tomcat says it's not available:
>
> I suggest for now you forget running via Apache totally, since if it is
> not working directly from Tomcat,
Jerry,
Hang in there. Most of us have been there. To me it felt like a game show
with everyone shouting out different answers all at once.
As for Didier and Dwanye, not nice. Think about when you were on the
other side and desperately looking for that one answer. How would you
feel about opening
ch do work.
>
> I restart Tomcat everytime I make a change.
>
> Still get the 404 when I call the jsp, even though the html files in the
> same directory work fine, as do the servlets in the same webapp space.
>
> Jerry
>
> Parsons Technical Services wrote:
>
> >
Jerry,
Just for a test, change the file name to end with .txt and see if the page
is displayed.
If it still fails. I would double check the permissions/ownership on that
file.
If it works, then try a restart. After a restart if it still fails, check
your configs
for an entry that might be blocki
Sunit,
Do you have a firewall enabled?
What other network based services are you running?(IIS, etc)
Is this machine on a network?(Gotta ask)
Can you ping yourself? ping localhost OR ping 127.0.0.0 OR ping
xxx.xxx.xxx.xxx the ip of your machine
Doug
- Original Message -
From: "Sunit Ban
Are there any error statements in the logs?
Also, versions and platform(s) you are on.
Has the server been restarted?
Can you get directly to tomcat (did you leave port 8080 up)?
Can you tell if the page is being generated by tomcat(sounds like it) or
apache?
Doug Parsons
www.parsonstechnical.com
Okay,
Grasping at straws now, but otherwise out of ideas.
1. Can you ping localhost successfully? If no change url to IP of machine.
2. Do you have a firewall running on the machine? Disable it.
3. Anyone had any problems with naming conventions? Change timesheets to
tmsheets. 8+3
4. When you
Merrill,
Humor me for a moment. This might be due to you trying different setups,
but, take
a minute to go through all your settings and names and make sure that they
are all set
to the same thing and the same case. In the line below it is refering to
timesheet.xml and
earlier you had timesheets.
I have another shoe to go so try this. Try changing the name to:
url
jdbc:mysql://localhost/timesheets?..
Lower case on the timesheets. I am running on linux. Not sure if it will
matter on windows.
Doug
- Original Message -
From: "Merrill Cornish" <[EMAIL PROTECTED]>
T
o: "Tomcat Users List" <[EMAIL PROTECTED]>
Cc: "Merrill Cornish" <[EMAIL PROTECTED]>
Sent: Wednesday, February 11, 2004 2:33 PM
Subject: Re: Another Try at MySQL Connection Pooling
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Parsons Technical
Merrill,
I may end up eating a little sole, but I have had shoe before.
Your name for the jdbc is wrong. It should be:
driverClassName
com.mysql.jdbc.Driver
Yeah, I know the notes said otherwise. They were written prior to MySQL
taking on the drivers officially.
As for
Anthony,
Phupha does not apxs on his machine. RD9 so nicely leaves it off. In order
to build mod_jk2, you must
install apache from source or another rpm that includes apxs. I have the
same issue. Currently I am running
Tomcat in standalone mode.
Doug
- Original Message -
From: "Anthon
Another approach is to have your application create an instance for each
session that will retrieve the mail for that session. Just ensure that the
resource you are accessing can handle it, or you will have problems either
way. (Note I am approaching this from a programming view. I am not familar
w
501 - 553 of 553 matches
Mail list logo