EJB 3.0 and Hibernate

2007-03-12 Thread Scott Purcell
Hello, Looking at incorporating the Java Persistence API (EJB 3.0) and was wondering if Tomcat 5.5 supports this. It looks like we need container managed services and was wondering if we can use Tomcat instead of JBoss? Thanks, Scott

RE: Tomcat and MySQL sync problems

2007-01-29 Thread Scott Purcell
If I remember correctly, MySQL basically disconnects and shutdowns after a certain amount of time. I remember doing something with a "reload="true" in the datasource to prevent this. Hopefully someone else may clue you in better, but you may want to check the datasource props and see if this is va

RE: Best way to include common html

2007-01-09 Thread Scott Purcell
Possibly a framework for templating. Tiles, SiteMesh they are created for exactly what you are looking for. Of course you can use JSP includes ... but the frameworks do a better job IMOHO. -Original Message- From: Scott Cowley [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 09, 2007 2:

RE: Help: Enabling SSL

2006-12-15 Thread Scott Purcell
nt or have received this message in error, please notify us immediately by reply email and permanently delete the original transmission from all of your systems and hard drives, including any attachments, without making a copy. -Original Message----- From: Scott Purcell [mailto:[EMAIL PROTECTED] Se

RE: Help: Enabling SSL

2006-12-15 Thread Scott Purcell
Seems like the same thing that was going on with myself the other day on 5.5.20 Tomcat. In Tomcat/bin directory is there a dll called tcnative-1.dll? Here is an email from Charles who helped me: If you used the .exe download for Tomcat, you may have APR installed. Its SSL configuration is rather

Tomcat 5.5.17 SSL

2006-12-13 Thread Scott Purcell
I am running a instance of Tomcat in which there is one web site that is running SSL and a cert from Verisign. The server.conf has the entry for the real DNS name and the certificate configured and all is good. This site is a production site. I just purchased another box for development purpos

Tomcat 5.5 Context? Configuration

2006-07-05 Thread Scott Purcell
Hello, Over the holiday, I created a war file for a small application and deployed it to $TOMCAT_HOME/webapps Inside the war file was a index.jsp page. So when I called the application for the first time from a browser I did like so. http://localhost:8080/webappname/index.jsp -> and it

log4J confusion, need clarification

2006-06-28 Thread Scott Purcell
Hello, I am creating a new application, and I would like to be able to add logging statements to my code that will run within the Tomcat container. This log, would be just for my web application code. Then I would like to also be able to have a log of this context. In that log I would like to s

RE: Tomcat 5.5 JNDI Question Using Admin

2006-06-28 Thread Scott Purcell
: Tomcat 5.5 JNDI Question Using Admin You need a ResourceLink in the Host or Context, to make the global resource available. Does the Context xml file contain this? Scott Purcell wrote: > Hello, > > > > I am receiving errors when configuring a JNDI resource for my database >

Tomcat 5.5 JNDI Question Using Admin

2006-06-28 Thread Scott Purcell
Hello, I am receiving errors when configuring a JNDI resource for my database using Tomcat 5.5 on a Windoz box. I used the admin interface and entered the following data: in admin screen under Data Sources JNDI Name= jdbc/BuilderDB Driver com.mysql.jdbc.Driver Data Source URL=jdbc:mysql:/

Re: TNS entry JNDI

2006-06-07 Thread Scott Purcell
e? > > On 6/7/06, Scott Purcell <[EMAIL PROTECTED]> wrote: > > > > > > > > I am running Tomcat 5.x and have been using Oracle 9i. We are now > > running Oracle 10g and it only uses TNS names. Here is my context > > element: The one commented out used

TNS entry JNDI

2006-06-07 Thread Scott Purcell
I am running Tomcat 5.x and have been using Oracle 9i. We are now running Oracle 10g and it only uses TNS names. Here is my context element: The one commented out used to work for 9i, and the other one is for the tns names. I am having trouble finding information about Tomcat and TNS names for c

Re: How to embed server hostname in JSP page on clustered Tomcat

2006-05-13 Thread Scott Purcell
Not sure if you got a response to this, but this has worked for myself. <%@ page import="java.net.InetAddress" %> <% InetAddress ia = InetAddress.getLocalHost(); out.println(""); %> - Original Message - From: "David Goodenough" <[EMAIL PROTECTED]> To: Sent: Friday, May 12

URL with WWW problem

2006-05-09 Thread Scott Purcell
Hello, Tomcat 5.5 standalone. Yesterday I had a thread stating that sometimes users, and google may refer to my site something like http://mysite.com omitting the www portion of the URL. As I stated yesterday, my site needs the www.mysite.com

Site Configuration on 5.5.15 Pt 2

2006-05-08 Thread Scott Purcell
ompany 941 . 371 . 8110 x 205 -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 9:21 AM To: users@tomcat.apache.org Subject: Site Configuration on 5.5.15 I am running Tomcat 5.5.15 on a PC running Windows XP. I have been battling this problem fo

Tomcat: The Definitive Guide Question

2006-05-05 Thread Scott Purcell
Hello, I am running Tomcat 5.5 and figured its about time to grab a book so I can understand the product better. The one that received good reviews appears to be the OReilly Definitive Guide. But it covers 4.0 Tomcat. Is there a 5.0 Oreilly book coming out? Or does this current book covering 4

Site Configuration on 5.5.15

2006-05-05 Thread Scott Purcell
I am running Tomcat 5.5.15 on a PC running Windows XP. I have been battling this problem for 6 months, and could use some help. I purchased a URL for my web site. I created the site in a folder under the root document called "unique". As I was building the site, I would hit the site like so: h

Access Log Question

2006-04-12 Thread Scott Purcell
Hello, When configuring my Tomcat 5.5, I have added a "context" element to my server.xml for a certain site. Within that tag, I added logging for an access log. The access log rolls each day and shows the IP from user and the page, image, link he is accessing along with a http status code.

RE: Here is site, not getting spidered.

2006-03-27 Thread Scott Purcell
t the line: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> is repeated inside the block. Probably not a big deal. How long has the site been up? > -Original Message- > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Sent: Monday, March 27, 2006 11:00 AM > T

Here is site, not getting spidered.

2006-03-27 Thread Scott Purcell
Not Getting Spidered or Indexed > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Actually Peter, > > I have no javascript links on my page. The site is a struts site, and > all links are regular links with no odd, or peculiar issues. OK. I'd be able to make better guesse

RE: Site Not Getting Spidered or Indexed

2006-03-27 Thread Scott Purcell
: Site Not Getting Spidered or Indexed > From: Scott Purcell [mailto:[EMAIL PROTECTED] > When I submitted the site to google, this is the page I submitted. Why > wouldn't my site get spidered? - Google can't read the links because they're embedded in a nice pretty dynamic

Tomcat Valve, how to Create Pattern

2006-03-27 Thread Scott Purcell
Tomcat 5.5 OS=Win2000 I would like to change the pattern for a valve in my server.xml. The API shows when you have the element

RE: Adding user-agent and possibly refer to log4j Tomcat 5.5

2006-03-27 Thread Scott Purcell
5.5 http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html The last paragraph of the Access Log valve section mentions the "combined" pattern. HTH, Jon Scott Purcell wrote: > Thanks Jon, > > After reviewing your response ... I believe this fix is for a Apache > server

Adding user-agent and possibly refer to log4j Tomcat 5.5

2006-03-27 Thread Scott Purcell
, Jon Scott Purcell wrote: > I really would like to find out how my (and if my site) is being > indexed. I am using Tomcat 5.5 and I am running a ecommerce site. I have > had nothing but trouble getting seen in search engines, so I would like > to be able to somehow trace what page

Would like to track googlebots, or spiders from site

2006-03-22 Thread Scott Purcell
Not necessarily a tomcat problem, but I have created a webapp on Tomcat 5.x. I would like to be able to track any robot activity in a log file, but not really sure where to begin looking for this functionality? If this is possible, is there a debug level that could be used so I could find out w

RE: Tomcat 5.5 Possible Context Question

2006-02-28 Thread Scott Purcell
calling the url-entry. Thanks, Scott -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 28, 2006 10:26 AM To: Tomcat Users List Subject: RE: Tomcat 5.5 Possible Context Question > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject:

Tomcat 5.5 Possible Context Question

2006-02-28 Thread Scott Purcell
Running Tomcat 5.5.15 on Win 2000. Originally we were running Tomcat 4.x?. So in order to upgrade our administrator loaded 5.5.15 and copied (copied) the webapps from the 4.x to the 5.5.15. There are currently four sites running, and I can hit the index.html for each context. But I cannot i

Update: Robots cannot read JSP?

2006-02-17 Thread Scott Purcell
being able to read files other > than .htm or .html. The problem is only browsers execute javascript. > Think of curl or the search engines as a browser without javascript > enabled. What would you get in IE or Firefox if you disabled javascript? > > -- David > > Scott Pur

RE: default webapp not understanding

2006-02-14 Thread Scott Purcell
To: Tomcat Users List Subject: RE: default webapp not understanding > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: RE: default webapp not understanding > > If I deploy the webapp in ROOT, then the structure would look > like this: > $TOMCAT_HOME/webapps/root/myweba

RE: default webapp not understanding

2006-02-14 Thread Scott Purcell
ex.html to the mywebapp/index.html correct? This is where it gets confusing. Thanks, -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 10:46 AM To: Tomcat Users List Subject: RE: default webapp not understanding > From: Scott Pu

RE: default webapp not understanding

2006-02-14 Thread Scott Purcell
5.5x on xp. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 10:46 AM To: Tomcat Users List Subject: RE: default webapp not understanding > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: default weba

default webapp not understanding

2006-02-14 Thread Scott Purcell
Hello, I am having trouble understanding what is meant by the default webapp. Here goes. I have a site which I have a dns entry for. After reading the docs, I put the application under $TOMCAT_HOME/webapps/mywebapp In the server.xml I added this snippet: Now when I hit my site

configure tomcat 5.x to see index without redirects?

2006-02-11 Thread Scott Purcell
I have created a site using struts over the past couple of months. I am running Tomcat 5x and Struts 1.2x. If you read below, I am doing a couple of redirects to get the user to my real site. I would like to know if I can configure Tomcat to just go to that site? Or

Robots cannot read JSP?

2006-02-11 Thread Scott Purcell
uot;">http://www.theuniquepear.com/unique/index.jsp"</a>;; } invokeWebApp(); // --> hello -Tim Scott Purcell wrote: > I have had trouble getting search engines to see my site. I built it with struts, and use some tags from the index.html page to get business logic, to finally g

Access log to see where robots go.

2006-02-10 Thread Scott Purcell
I have had trouble getting search engines to see my site. I built it with struts, and use some tags from the index.html page to get business logic, to finally get to my page. The url is http://www.theuniquepear.com Anyway, upon talking to some co-workers, they suggested I watch my access log, s

RE: Re: Verisign SSL on Tomcat 5.5.9

2006-02-08 Thread Scott Purcell
which pages get https and which get normal http. This eliminates the need to control everything through the mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 10:04 AM To: Tomcat Users List Subject: RE: Re: Verisign SSL on Tomcat 5.5.9 > From: Scott Purcell [mailto:[EMAIL PROTEC

RE: Re: Verisign SSL on Tomcat 5.5.9

2006-02-08 Thread Scott Purcell
Hello Sycamore ... I was able to get verisign SSL (free trial) cert and real cert working on 5.5x Tomcat on a XP box. I struggled with the install for weeks, and after screwing around, found out it was once executable that was in my install (Tomcat) that was screwing things up. I am at work now .

Two DNS Entries Two Sites?

2006-02-06 Thread Scott Purcell
Hello, Running Tomcat 5.5 @ home and running a website which has a DNS entry in it. I made the site the default webapp, and configured it in the server.xml. A week ago, I created another context (in the server.xml) for a dev-site, of my live site, and I am using that for QA. I want to run a se

Help Error Code -12227

2006-02-05 Thread Scott Purcell
Hello, I am running Tomcat 5.5, Verisign, and PayPal. Basically the whole site is set up with SSL via a

Please Help Setting Up Site

2006-01-28 Thread Scott Purcell
Hello, I have been screwing around with a few Tomcat 5.5 problems for some time, and cannot seem to resolve them, and could use some help. First off. 1) I have a real web site that needs to be shown to the world. I have purchased a DNS entry and created the site. I am running on port 80.

reload when class file is updated

2006-01-20 Thread Scott Purcell
Hello, I am working on a webapp that was originally a war file. The war extracted to abc context. Some background: The war file when deflated (automatically) created a /abct/META-INF/context.xml and inside had the abc context information. I added reloadable=true like so there inside the M

How does Tomcat log by default?

2006-01-06 Thread Scott Purcell
I am playing around with a Hibernate project, and created a war file. I have a clean 5.5 Tomcat running on XP. The project I created is not using log4j. It has a bunch of System.out.println statements, and the tutorial says to look at the Tomcat log to see how this hibernate project connects, et

Configuration Question

2006-01-04 Thread Scott Purcell
I am running Tomcat 5.5x on a Win2000 box. I purchased a DNS name, and I have that configurated in the server.xml. So when a user hits my site like so: http://www.xxx.com it calls the site and all is good. But here is my problem. On some search engines for whatever reason, the url shows this: h

Many Thanks SSL

2005-12-05 Thread Scott Purcell
I truly do not know what to say about all the information given to me these past couple of days in regards to my SSL problem. I cannot say enough to the people who have pitched in and helped me throughout the weekend. I feel I will be able to get this up and running today or tonight when I get

Fw: Verisign Certificate Still Giving Me Troubles:

2005-12-03 Thread Scott Purcell
are using the Java connector, then simply import the > intermediate cert into your keystore (and ignore the above). > > "Scott Purcell" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > Hello, > > A few people helped me out last week, to

Re: SSL InvalidKeystore Format?

2005-12-03 Thread Scott Purcell
Could you clarify? I am unsure what you mean. I am really stuck on this, and could use a hand. - Original Message - From: "James Rome" <[EMAIL PROTECTED]> To: Sent: Saturday, December 03, 2005 2:42 PM Subject: Re: SSL InvalidKeystore Format? > The accepted CAs are in /jre/lib/secur

Re: SSL InvalidKeystore Format?

2005-12-03 Thread Scott Purcell
. Nate's message explains a lot about key, certificate > and encoding. > >I am not quite sure wheter this key+certificate will work with APR+SSL since they were > generated using keytool. But you can try. > >Let us know if it works or not. > > Regards, > D &

Re: SSL InvalidKeystore Format?

2005-12-03 Thread Scott Purcell
t about it so that I also can update myself and you have correct and better answer. Hope it helps you understanding SSL a bit further. Regards, D --- Scott Purcell <[EMAIL PROTECTED]> wrote: > Hard to believe ... but Dhaval the below steps actually worked, and my > site appears to h

Re: SSL InvalidKeystore Format?

2005-12-01 Thread Scott Purcell
/ssl/server.cert > SSLCertificateKeyFile conf/ssl/server.key > > which is the same parameter that Remy has suggested. If I have found this article early, I may > be able to solve the issue. But again since I figured it out, I like it now. > > Regards. > D > > > > ---

RE: SSL InvalidKeystore Format?

2005-12-01 Thread Scott Purcell
other windows xp machine. It worked for me so it should work for you. If you start from scratch, it may take about 30-40 mins to setup above things. Let me know how it goes. Regards, D --- Scott Purcell <[EMAIL PROTECTED]> wrote: > Well, after wasting much time trying to get the

SSL InvalidKeystore Format?

2005-12-01 Thread Scott Purcell
Well, after wasting much time trying to get the SSL running on 5.5.12, on XP, and finding out about the bad tcnative-1.dll, I thought I was out of the woods on my SSL configuration. But it appears I have one last issue (hopefully) Since I renamed the tcnative-1.dll, I am getting logs in regards t

SSL Information 5.5.12

2005-11-30 Thread Scott Purcell
First off, thank you Wendy for the link for searching the archives http://www.nabble.com/SSL-Setup-t536274.html#a1446749 After two days of posting that I was having issues with SSL on Tomcat 5.5.12 and that I would get no log files, etc, I searched up and down the archives, and found the problem

admin tool?

2005-11-30 Thread Scott Purcell
I am using Tomcat 5.5.12 on XP. I am having a bad time trying to get SSL up and working. Anyway, after days of searching, I have found some threads where people are using the "admin" tool or something like this, to install the certificates, etc. Problems with this install start off at no logs ge

mailing list question

2005-11-30 Thread Scott Purcell
Is there a searchable Tomcat mailing list? I posted a question a while back and was hoping to re-read it? I found many sites, but none look like the real Tomcat mailing list. The latest google search brought me here http://mail-archives.apache.org/mod_mbox/tomcat-dev/200511.mbox/date and that

RE: SSL Certificate Beginner Question

2005-11-30 Thread Scott Purcell
n URL. So I am not sure how > that all works. > > I hope this may help someone feed me back some relevant information. > Scott > > - Original Message - > From: "Hassan Schroeder" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Tue

Need More Error Logs .. How to

2005-11-30 Thread Scott Purcell
I am trying to get SSL running on Tomcat 5.5.12 on XP. As I am playing around, trying different server.xml changes, I am trying to find some type of log to help assist me in what is not working. Anyway, it is a new Tomcat install, and under $TOMCAT_HOME/logs I see stderr, stdout and some localho

SSL Port Question Config

2005-11-30 Thread Scott Purcell
I am trying to configure my Tomcat 5.5.12 running on XP to use SSL. I have received my certificate from 'Verisign' and put it into my keystore like the docs state. After that I followed the Tomcat docs, and uncommented out this bit from the conf/server.xml and added my keystoreFile and k

Re: SSL Certificate Beginner Question

2005-11-29 Thread Scott Purcell
> To: "Tomcat Users List" Sent: Tuesday, November 29, 2005 10:43 PM Subject: Re: SSL Certificate Beginner Question > Scott Purcell wrote: > > Real helpful ... I searched on SRV.12 and it brought up a bunch of links > > that have nothing to do with Tomcat config of

Re: SSL Certificate Beginner Question

2005-11-29 Thread Scott Purcell
Yes Thanks David, I did add the "keystoreFile=XXX" and "keystorePass="xxx". But it still hangs. Since I was on Windows I used a full path to the file. I forgot about the https://localhost:8443? Just curious. I know when I asked for the cert, Verisign asked me for my dns name, so maybe the simple

Get More Logging

2005-11-29 Thread Scott Purcell
I posted earlier about having some issues trying to get SSL configured on my Tomcat 5.5.12. Anyway, I changed some settings in my server.xml for my keystore, and see no errors being thrown under the logs/ directory. I checked stdout, stderr, but see no errors. I know that if I am using the wro

Re: SSL Certificate Beginner Question

2005-11-29 Thread Scott Purcell
Scott - Original Message - From: "Hassan Schroeder" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, November 29, 2005 9:37 PM Subject: Re: SSL Certificate Beginner Question > Scott Purcell wrote: > > > How do I configure some of my pages to use htt

SSL Certificate Beginner Question

2005-11-29 Thread Scott Purcell
Hello, I am running Tomcat Standalone on a XP system. Anyway, I have finished up with Verisign, and I my certificate installed and ready to go but now the real quesiton. How do I configure some of my pages to use https? I do not know where to begin on this? Anyone able to assist? Thanks

Re: confusion of tomcat downloading

2005-11-29 Thread Scott Purcell
What OS are you wanting to install Tomcat on? And did you want to just run Tomcat Standalone, or put it inside Apache? - Original Message - From: "blueberry lake" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 29, 2005 7:47 PM Subject: confusion of tomcat downloading On page http://t

RE: admin module for Tomcat 5

2005-11-23 Thread Scott Purcell
effectively. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 23, 2005 9:09 AM To: Tomcat Users List Subject: Re: admin module for Tomcat 5 What operating system are you using? > > From:

admin module for Tomcat 5

2005-11-23 Thread Scott Purcell
Hello, I am running Tomcat 5, and I have been having troubles configuring a web-app in a virtual environment. Anyway, I see there is an admin module, and I believe it may assist in this. I downloaded the admin module for Tomcat 5, but do not know where or how to install it. I tried unzipping i

url to search mailing list

2005-11-22 Thread Scott Purcell
What is the url to search the mailing list? Thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help Configuring Engine/Host/Context

2005-11-22 Thread Scott Purcell
uot;Tomcat Users List" Sent: Monday, November 21, 2005 10:27 PM Subject: RE: Help Configuring Engine/Host/Context > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: Help Configuring Engine/Host/Context > > I have one webapp that I need to configure to a DNS Entry.

Help Configuring Engine/Host/Context

2005-11-21 Thread Scott Purcell
Hello, I am completely lost in trying to configure my Tomcat 5.5. I have read the docs under "Context", "Engine", "Host", and am having trouble putting the information to use. I have one webapp that I need to configure to a DNS Entry. Below is my server.xml. My DNS is www.theuniquepear.com and

RE: Re site problems, here is server.xml

2005-11-21 Thread Scott Purcell
Scott Purcell wrote: > > > unpackWARs="true" autoDeploy="true" >xmlValidation="false" xmlNamespaceAware="false"> > > > > So, what's the issue? You have a defaultHost in

Re site problems, here is server.xml

2005-11-21 Thread Scott Purcell
er 21, 2005 10:43 AM To: Tomcat Users List Subject: Re: Tomcat 5.5 configure site to web problems Scott Purcell wrote: > But after that, I am having more problems. Each time a user goes > to the site, they get two JSESSIONIDS, and have to click on the > first buttons two times? Uh, right.

Tomcat 5.5 configure site to web problems

2005-11-21 Thread Scott Purcell
Hello, I am having some real problems with configuring my site to the internet. I created a site on my PC, using Tomcat 5.5, and throughout development/testing I would call the site like so: http://localhost/mySite and all was good. I purchased a DNS name from Register.com and configured my Tomc