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

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

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 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

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

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 using Tomcat 5.5

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

Re: TNS entry JNDI

2006-06-07 Thread Scott Purcell
: TNS entry JNDI Are you having a database connection problem or problem getting the reference from JNDI in your code? 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

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(!-- hostname + ia.getHostName() + --); % - Original Message - From: David Goodenough [EMAIL

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 http://mysite.com/ omitting the www portion of the URL. As I stated yesterday, my site needs the www.mysite.com http://www.mysite.com/

Site Configuration on 5.5.15 Pt 2

2006-05-08 Thread Scott Purcell
Analyst Commercial Refrigerator Door Company 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

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:

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

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.

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 pages robots are indexing

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

2006-03-27 Thread Scott Purcell
://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? I am running Standalone Tomcat

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 pattern for the AccessLogValve that you give it a name. So where can I define a pattern for my needs, give it a name, then use it? Does anyone have an example of that?

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 Javascript-y menu system

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 guesses if I could see the site

RE: Here is site, not getting spidered.

2006-03-27 Thread Scott Purcell
: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; is repeated inside the head block. Probably not a big deal. How long has the site been up? -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Monday

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

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

RE: Tomcat 5.5 Possible Context Question

2006-02-28 Thread Scott Purcell
, and it looks much better 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

Update: Robots cannot read JSP?

2006-02-17 Thread Scott Purcell
not 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 Purcell wrote: Tim, Thanks

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: Host name=localhost

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 webapp not understanding

RE: default webapp not understanding

2006-02-14 Thread Scott Purcell
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 Purcell [mailto

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/mywebapp. No - get rid

Robots cannot read JSP?

2006-02-11 Thread Scott Purcell
=description content= meta name=keywords content= /head body bgcolor=#FF script language = javascript //!-- function invokeWebApp() { top.location.href = http://www.theuniquepear.com/unique/index.jsp;; } invokeWebApp(); // -- /script hello /body /html -Tim Scott Purcell

configure tomcat 5.x to see index without redirects?

2006-02-11 Thread Scott Purcell
I have created a site http://www.theuniquepear.com 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

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,

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

RE: Re: Verisign SSL on Tomcat 5.5.9

2006-02-08 Thread Scott Purcell
Users List Subject: RE: Re: Verisign SSL on Tomcat 5.5.9 From: Scott Purcell [mailto:[EMAIL PROTECTED] Subject: RE: Re: Verisign SSL on Tomcat 5.5.9 I struggled with the install for weeks, and after screwing around, found out it was once executable that was in my install (Tomcat

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

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 security-constraint element in the web.xml file. Anyway, I have found a huge bug, that is driving me crazy. I can submit the data from a purchase using IE and all is good. But with Netscape

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

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,

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:

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

Re: SSL InvalidKeystore Format?

2005-12-03 Thread Scott Purcell
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 have SSL. Thank you so much. But of course this draws me

Fw: Verisign Certificate Still Giving Me Troubles:

2005-12-03 Thread Scott Purcell
assuming that you are still using the APR connector. If you 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

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

RE: SSL InvalidKeystore Format?

2005-12-01 Thread Scott Purcell
have issues. If you want to try, you can follow the above steps on some 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

Re: SSL InvalidKeystore Format?

2005-12-01 Thread Scott Purcell
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 --- Scott Purcell [EMAIL PROTECTED] wrote: Hello Dhaval, I was reading the article below, and it looks you you

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 !-- Define a SSL HTTP/1.1 Connector

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

RE: SSL Certificate Beginner Question

2005-11-30 Thread Scott Purcell
] To: Tomcat Users List users@tomcat.apache.org 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 https? I do not know where to begin on this? Begin with the Servlet Spec. -- SRV

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

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

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

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: users@tomcat.apache.org Sent: Tuesday, November 29, 2005 7:47 PM Subject: confusion of tomcat

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: SSL Certificate Beginner Question

2005-11-29 Thread Scott Purcell
] To: Tomcat Users List users@tomcat.apache.org 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 https? I do not know where to begin on this? Begin with the Servlet Spec. -- SRV.12 (Security

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

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 security constraint element. Thanks I will give that a try and post back. Do I need the security element if I just try

Re: SSL Certificate Beginner Question

2005-11-29 Thread Scott Purcell
List users@tomcat.apache.org 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 SSL. OK, here's a direct link

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

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: Scott

Re: Help Configuring Engine/Host/Context

2005-11-22 Thread Scott Purcell
users@tomcat.apache.org 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. You do not need an extra Host

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

Re site problems, here is server.xml

2005-11-21 Thread Scott Purcell
=/mySite / /Host /Engine /Service /Server -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Monday, November 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

RE: Re site problems, here is server.xml

2005-11-21 Thread Scott Purcell
Scott Purcell wrote: Engine name=Catalina defaultHost=localhost Host name=www.mySite.com appBase=webapps/ unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path= docBase=/mySite / /Host /Engine So, what's

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 it